summaryrefslogtreecommitdiff
path: root/test/fixtures
AgeCommit message (Collapse)Author
2023-11-20resolves #4519 correct spelling of middle name of Edgar Allan Poe (PR #4520)ds26gte
2023-10-23verify templates can be used from classloader when using JRubyDan Allen
2023-04-30resolves #3929 treat uri:classloader: as absolute path prefix when running ↵Dan Allen
on JRuby (PR #4444)
2022-10-19upgrade TruffleRuby in CIDan Allen
2022-02-28if path is included both partially and fully, store it with true value ↵Dan Allen
(included fully) in includes table of document catalog
2021-10-18rename default branchDan Allen
2021-10-18fix URLs in docsDan Allen
- replace default branch with HEAD where possible (or drop reference, if possible) - use readme anchor to link to README for project on GitHub - use jsdelivr to reference file from repository on GitHub - remove unused badges in README files - make badge for chat consistent across README files
2020-10-23resolves #3765 download and embed custom remote stylesheet if allow-uri-read ↵Dan Allen
is set (PR #3766)
2020-07-17resolves #3638 warn instead of crashing if SVG to inline is empty (PR #3700)Guillaume Grossetie
2020-07-17resolves #3625 don't use module_function to define entry point methods in ↵Dan Allen
API (PR #3713) - define load, convert, load_file, convert_file as module methods (e.g., `def self.load`) - avoids conflict between `Asciidoctor.load` and `Kernel.load` when calling `include Asciidoctor` - add test that Rouge integration works in combination with `include Asciidoctor`
2019-12-07resolves #3436 only strip trailing whitespace from lines of include file if ↵Dan Allen
target ends with an AsciiDoc file extension (PR #3439)
2019-12-06resolves #3470 condense contents of AsciiDoc include file (PR #3502)Dan Allen
2019-11-28resolves #3491 allow template to override outline (PR #3493)Nik Everett
Allows plugging a template in to the html5 converter's outline node by replacing all direct calls to `convert_outline` with calls to the to the conversion named `outline`.
2019-10-01add test to verify BOM is stripped from include fileDan Allen
2019-09-27resolves #3248 allow encoding of include file to be specified using encoding ↵Dan Allen
attribute (PR #3419)
2019-04-04replace calls to File.extname with Helpers.extname (PR #3240)Dan Allen
2019-04-04resolves #3238 don't fail to load application if call to Dir.home fails (PR ↵Dan Allen
#3239)
2019-04-01resolves #3225 mark encoding of stdio objects used in CLI as UTF-8 (PR #3228)Dan Allen
2019-02-16enforce and report relative max include depth properly (PR #3075)Dan Allen
- enforce and report relative max include depth properly - depth=0 on include directive disables nested includes (instead of depth=1) - rename PreprocessorReader#exceeded_max_depth? to PreprocessorReader#exceeds_max_depth? - change PreprocessorReader#exceeds_max_depth? to return nil if includes are disabled - add api doc to PreprocessorReader#exceeds_max_depth?
2019-02-13resolves #1720 add header docinfo insertion slot (PR #3068)Dan Allen
* add docinfo insertion slot for header location to built-in converters
2019-02-07resolves #3056 create a template converter even if backend is not recognized ↵Dan Allen
(PR #3057)
2019-02-05resolves #3005 remove the converter for the docbook45 backend (PR #3040)Dan Allen
- remove the DocBook45Converter class - remove accomodations in DocBook5Converter for DocBook 4.5 - don't register the docbook45 backend name in the converter registry - drop docbook45 from the backend CLI option values - don't mention DocBook 4.5 in the man page - don't mention DocBook 4.5 in the CLI usage statement - update tests to use DocBook 5 instead of DocBook 4.5
2019-01-26resolves #2106 make syntax highlighter pluggable (PR #3016)Dan Allen
- define the Asciidoctor::SyntaxHighlighter module to handle all aspects of syntax highlighting - define built-in SyntaxHighlighter adapters for coderay, pygments, highlight.js, html-pipeline, and prettify - move all embedded syntax highlighting logic into SyntaxHighlighter adapters - allow SyntaxHighlighter adapter class to self register with a source highlighter name using register_for - load SyntaxHighlighter adapters lazily (except for highlight.js and html-pipeline) - add :syntax_highlighters and :syntax_highlighter_factory options to API to allow syntax highlighter resolution to be customized - instantiate SyntaxHighlighter adapter once header is finalized if source-highlighter attribute is set on document and basebackend is html - provide SyntaxHighlighter factory modules for registering syntax highlighter adapters (default, custom, and default proxy) - allow SyntaxHighlighter adapters to contribute docinfo at :head and :footer slots in HTML output document - move retrieval and writing of stylesheets for syntax highlighters to SyntaxHighlighter adapters - wire methods in Stylesheets class that pertain to syntax highlighting to SyntaxHighlighter adapters - remove hard-coded styles in Pygments output - update default stylesheets to support Pygments styles and drop CSS workarounds - don't fail if value of pygments-style attribute is not recognized; instead fallback to default style - don't remove nested pre tags in HTML produced by Pygments when linenums are enabled - update default stylesheet to avoid styling nested pre tags - rename pygments table class to pygments-table - change pygments base CSS selector from .listingblock .pygments to pre.pygments - allow color for generic text, line numbers, and line number border to inherit from Pygments style - align stylesheet for default CodeRay style with other syntax highlighters - set default background color for prettify using a selector with the lowest precedence - update and add tests - add tests for the Pygments integration - add pygments.rb dependency and enable Pygments integration tests if the environment variable PYGMENTS=true is set - move syntax highlighter tests to dedicated test file
2019-01-09resolves #3006 fix deprecated ERB trim mode (PR #3007)Dan Allen
- use 0 instead of < - augment test to verify behavior of trim mode - remove encoding setting from ERB template
2019-01-06use .adoc as AsciiDoc file extension in test suiteDan Allen
2018-10-27resolves #2770 use OS independent timezone in time attributes (PR #2784)Dan Allen
- use timezone offset instead of OS dependent timezone string - use UTC if offset is 0 - add tests
2018-10-26resolves #2108 use Pathname to resolve relative path for file outside base ↵Dan Allen
directory (PR #2748) - autoload pathname - use Pathname#relative_path_from to resolve path outside base directory - add test
2018-08-22remove trailing newline from fixtureDan Allen
2018-04-28use cursor from source file as context for messages about include tagsDan Allen
2018-04-24resolves #2705 populate source_location property on cell when sourcemap ↵Dan Allen
option enabled (PR #2708) - add source_location property to Table::Cell - add file and lineno methods to Table::Cell - when sourcemap option is enabled, set source_location property on cell - mark first line of table so line number for first cell is correct - add tests to verify source_location information on table cell is correct
2018-04-23populate source_location on list items if sourcemap is enabledGuillaume Grossetie
- set the source_location property on each list item in an item list - set the source_location property on each list term in a description list - set the source_location property on each list item in a description list
2018-04-21resolves #2361 warn if a specified include tag is unclosed (PR #2696)Dan Allen
- warn if a tag specified in the include directive is unclosed in the include file - add tests to verify warnings - fix unclosed tags in test fixtures - remove duplicate test
2018-04-20resolves #2369 change strategy for finding tags inside circumfix comments ↵Dan Allen
(PR #2683) - allow any content after a tag directive if offset by a space - add test to verify tag is found inside HTML inside a string in a source file
2018-04-19resolves #2200 don't convert inter-document xref to internal anchor if ↵Dan Allen
target included partially (PR #2686) - change the includes key in the document catalog from a Set to a Hash - don't track file included into the current file if included partially (partial-option attribute is set) - don't track file included into the current file unless it's AsciiDoc
2018-01-02add missing fixture fileDan Allen
2017-12-17resolves #2506 resolve nested includes in remote documents relative to URI ↵Dan Allen
(PR #2511) - match behavior of resolving local nested includes - consistently set dir on Reader to '.' if file is not defined
2017-09-22resolves #1394 preserve directories if source dir and destination dir are ↵Dan Allen
set (PR #2421)
2017-09-14eliminate remaining warnings in test suiteDan Allen
2017-06-20resolves #1729 add support for include tags in languages with only circumfix ↵Dan Allen
comments (#2199)
2017-05-18resolves #1516 add option to exclude tags when including file (PR #2196)Dan Allen
- in addition to including tags, add option to exclude tags using !name syntax - introduce wildcard for including all (*) or excluding all (!*) tags - introduce wildcard for selecting non-tagged lines (**) - don't select nested tags with wildcard if ancestor tag is excluded - warn if a mismatched or unexpected end tag is found - improve efficiency of detecting and processing tag directives - maintain a tag stack for handling nested tags - skip call to push_include if selected lines array is empty - ignore tag and tags attribute if empty (previously caused an infinite loop) - add tests for excluding tags
2016-11-28use smaller PDF document in test suiteDan Allen
2016-01-17resolves #1676 don't fail if SVG start tag name is followed by endlineDan Allen
2015-10-30resolves #1301 and #1224 add support for interactive & inline SVGsDan Allen
- use object element to embed SVG in HTML if interactive option is set - use format attribute on image macro to explicitly set image format - embed SVG data directly into HTML if inline option is set (including remote URI) - always use img element for SVG if safe mode is secure - add CSS to make object element with image/svg+xml data and svg behave like img element - add tests for SVG images - consolidate/cleanup code in converter
2014-12-20resolves #405 - add attribute to control which substitutions are performed ↵Guillaume Grossetie
on docinfo files - add docinfosubs attribute to control substitutions performed on docinfo files - don't parse attribute option to cli as an array (interfers with docinfosubs value) - add method to resolve docinfosubs - add tests for docinfosubs attribute
2014-11-10Allow docinfo to be in separate directory from contentGuillaume Grossetie
Resolves #511
2014-10-28resolves #1158 Enhance error message when reading binary input filesGuillaume Grossetie
2014-09-18resolves #1072 recognize include tag directives inside XML comments; add testDan Allen
2014-07-17resolves #1027 don't include lines that contain a tag directiveDan Allen
2014-07-15resolves #960 clean out old fixtures from test suiteDan Allen
2014-07-04resolves #530 support leveloffset on include directive and relative valuesDan Allen