Mon Nov 12 12:43:58 UTC 2018 - Stephan Kulow <coolo@suse.com>
- updated to version 1.5.8
see installed CHANGELOG.adoc
== 1.5.8 (2018-10-28) - @mojavelinux
Enhancements::
* if set, add value of part-signifier and chapter-signifier attributes to part and chapter titles (#2738)
* allow position (float) and alignment (align) to be set on video block (#2425)
* substitute attribute references in attrlist of include directive (#2761)
* add Document#set_header_attribute method for adding method directly to document header during parsing (#2820)
* add helper method to extension processor classes to create lists and list items
* allow ordered and unordered lists to be nested to an arbitrary / unlimited depth (#2854)
* add `prefer` DSL method to extension registry and document processor to flag extension as preferred (#2848)
* allow manname and manpurpose to be set using document attributes; don't look for NAME section in this case (#2810)
* substitute attribute references in target of custom block macro (honoring attribute-missing setting) (#2839)
* interpret `<.>` as an auto-numbered callout in verbatim blocks and callout lists (#2871)
* require marker for items in callout list to have circumfix brackets (e.g., `<1>` instead of `1>`) (#2871)
* preserve comment guard in front of callout number in verbatim block if icons is not enabled (#1360)
* add more conventional styles to quote block when it has the excerpt role (#2092)
* colspecs can be separated by semi-colon instead of comma (#2798)
* change AbstractBlock#find_by to respond to StopIteration exception; stop traversal after matching ID (#2900)
* change AbstractBlock#find_by to honor return values :skip and :skip_children from filter block to skip node and its descendants or just its descendants, respectively (#2067)
* add API to retrieve authors as array; use API in converters (#1042) (*@mogztter*)
* add support for start attribute on source block to set starting line number when converting to DocBook (#2915)
* track imagesdir for image on node and in catalog (#2779)
* allow starting line number to be set using start attribute when highighting source block with Pygments or CodeRay (#1742)
* upgrade highlight.js to 9.13.1
Fixes::
* don't hang on description list item that begins with /// (#2888)
* don't crash when using AsciiDoc table cell style on column in CSV table (#2817)
* show friendly error if CSV data for table contains unclosed quote (#2878) (*@zelivans*)
* don't crash when attribute entry continuation is used on last line of file (#2880) (*@zelivans*)
* treat empty/missing value of named block attribute followed by other attributes (e.g., caption=,cols=2*) as empty string
* AbstractNode#set_option does nothing if option is already set (PR #2778)
* allow revnumber to be an attribute reference in revision info line (#2785)
* use ::File.open instead of ::IO.binread in Reader for Asciidoctor.js compatibility
* add fallback for timezone when setting doctime
* preserve UNC path that begins with a double backslash (Windows) (#2869)
* fix formatting of quote block (indentation) in manpage output (#2792)
* catalog inline anchors in ordered list items (#2812)
* detect closing tag on last line with no trailing newline (#2830)
* process `!name@` attribute syntax property; follow-up to #642
* change document extension processor DSL methods to return registered extension instance instead of array of instances
* use fallback value for manname-title to prevent crash in manpage converter
* consolidate inner whitespace in prose in manpage output (#2890)
* only apply subs to node attribute value if enclosed in single quotes (#2905)
* don't hide URI scheme if target of link macro is a bare URI scheme
* fix crash when child section of part is out of sequence and section numbering is enabled (#2931)
* fix crash when restoring passthroughs if passthrough role is enclosed in single quotes (#2882, #2883)
* don't eagerly apply subs to inline attributes in general
* make sure encoding of output file is UTF-8
* prevent warning about invalid `:asciidoc` option when using custom templates with Slim 4 (#2928)
* use Pathname#relative_path_from to compute relative path to file outside of base directory (#2108)
Improvements::
* change trailing delimiter on part number to colon (:) (#2738)
* interpret open line range as infinite (#2914)
* rename number property on AbstractBlock to numeral, but keep number as deprecated alias
* use CSS class instead of hard-coded inline float style on tables and images (#2753)
* use CSS class instead of hard-coded inline text-align style on block images (#2753)
* allow hyphen to be used custom block macro name as long as it's not the first character (#2620)
* use shorthands %F and %T instead of %Y-%m-%d and %H:%M:%S to format time
* read file in binary mode whenever contents are being normalized
* use .drop(0) to duplicate arrays (roughly 1.5x as fast as .dup)
* only recognize a bullet glyph which is non-repeating as an unordered list marker
* rename SyntaxDsl module to SyntaxProcessorDsl (internal)
* fail if name given to block macro contains illegal characters
* normalize all whitespace in value of manpurpose attribute
* make space before callout number after custom line comment character optional
* parse attrlist on inline passthrough as a shorthand attribute syntax or literal role (#2910)
* add support for range syntax (.. delimiter) to highlight attribute on source block (#2918)
* add support for unbounded range to highlight attribute on source block (#2918)
* automatically assign title and caption on image block if title is set on custom block source (#2926)
* use OS independent timezone (UTC or time offset) in doctime and localtime attributes (#2770)
* report correct line number for inline anchor with id already in use (#2769)
* generate manpage even if input is non-conforming or malformed (#1639)
* allow authorinitials for single author to be overridden (#669)
Documentation::
* translate README into German (#2829) (*@jwehmschulte*)
* sync French translation of README (*@mogztter*)
* add Swedish translation of built-in attributes (PR #2930) (*@jonasbjork*)
Build / Infrastructure::
* replace thread_safe with concurrent-ruby (PR #2822) (*@junaruga*)
* add test to ensure ampersand in author line is not double escaped (#2439, PR #2440)
* prevent footnote ID from clashing with auto-generated footnote IDs (#2019)
* fix alignment of icons in footnote (#2415, PR #2416)
* add graceful fallback if pygments.rb fails to return a value (#2341, PR #2342)
* escape specialchars in source if pygments fails to highlight (#2341)
* do not recognize attribute entry line if name contains colon (PR #2377)
* allow flow indexterm to be enclosed in round brackets (#2363, PR #2364)
* set outfilesuffix to match file extension of output file (#2258, PR #2367)
* add block title to dlist in manpage output (#1611, PR #2434)
* scale text to 80% in print styles (#1484, PR #2576)
* fix alignment of abstract title when using default stylesheet (PR #2732)
* only set nowrap style on table caption for auto-width table (#2392)
* output non-breaking space for man manual if absent in DocBook output (PR #2636)
* don't crash if stem type is not recognized (instead, fallback to asciimath)
Improvements / Refactoring::
* BREAKING: rename table spread role to stretch (#2589, PR #2591)
* use cursor marks to track lines more accurately; record cursor at the start of each block, list item, or table cell (PR #2701, PR #2547) (*@seikichi*)
* log a warning message if an unterminated delimited block is detected (#1133, PR #2612)
* log a warning when nested section is found inside special section that doesn't support nested sections (#2433, PR #2672)
* read files in binary mode to disable automatic endline coercion (then explicitly coerce to UTF-8) (PR #2583, PR #2694)
* resolve / expand parent references in start path passed to PathResolver#system_path (#2642, PR #2644)
* update PathResolver#expand_path to resolve parent references (#2642, PR #2644)
* allow start path passed to PathResolver#system_path to be outside jail if target brings resolved path back inside jail (#2642, PR #2644)
* don't run File.expand_path on Dir.pwd (assume Dir.pwd is absolute) (#2642, PR #2644)
* posixify working_dir passed to PathResolver constructor if absolute (#2642, PR #2644)
* optimize detection for footnote* and indexterm* macros (#2347, PR #2362)
* log a warning if a footnote reference cannot be resolved (#2669)
* set logger level to DEBUG when verbose is enabled
* coerce value of `:template_dirs` option to an Array (PR #2621)
* make block roles specified using shorthand syntax additive (#2174)
* allow paragraph to masquerade as open block (PR #2412)
* move callouts into document catalog (PR #2394)
* document ID defined in block attribute line takes precedence over ID defined inside document title line
* don't look for link and window attributes on document when resolving these attributes for an image
* when linkattrs is set, only parse attributes in link macro if equals is present
* skip line comments in name section of manpage (#2584, PR #2585)
* always activate extension registry passed to processor (PR #2379)
* skip extension registry activation if no groups are registered (PR #2373)
* don't apply lead styling to first paragraph if role is present (#2624, PR #2625)
* raise clearer exception when extension class cannot be resolved (#2622, PR #2623)
* add methods to read results from timings (#2578, PR #2580)
* collapse bottom margin of last block in AsciiDoc table cell (#2568, PR #2593)
* set authorcount to 0 if there are no authors (#2519, PR #2520)
* validate fragment of interdoc xref that resolves to current doc (#2448, PR #2449)
* put id attribute on tag around phrase instead of preceding anchor (#2445, PR #2446)
* add .plist extension to XML circumfix comment family (#2430, PR #2431) (*@akosma*)
* alias Document#title method to no args Document#doctitle method (#2429, PR #2432)
* upgrade missing or unreadable include file to an error (#2424, PR #2426)
* use custom cross reference text if xrefstyle attribute is set (full, short, basic) (#858, #1132)
* store referenceable nodes under refs key in document catalog (PR #2220)
* apply reftext substitutions (specialchars, quotes, replacements) to value returned by reftext method (PR #2220)
* add xreftext method to AbstractBlock, Section, and Inline to produce formatted text for xref (PR #2220)
* introduce attributes chapter-refsig, section-refsig, and appendix-refsig to set reference signifier for chapter, section, and appendix, respectively (PR #2220)
* add rel="noopener" to links that target _blank or when noopener option is set (#2071)
* add option to exclude tags when including a file (#1516)
* add meta for shortcut icon if favicon attribute is set (#1574)
* allow use of linenums option to enable line numbers on a source block (#1981)
* allow extension groups to be unregistered individually (#1701)
* catalog bibliography anchors and capture reftext (#560, #1562)
* automatically add bibliography style to unordered list in bibliography section (#1924)
* disable startinline option when highlighting PHP if mixed option is set on source block (PR #2015) (@ricpelo)
* configure Slim to resolve includes in specified template dirs (#2214)
* dump manpage when -h manpage flag is passed to CLI (#2302)
* add resolves_attributes method to DSL for macros (#2122)
* invoke convert on result of custom inline macro if value is an inline node (#2132)
* resolve attributes for custom short inline macros if requested (#1797)
* add convenience method to create section from extension; use same initialization logic as parser (#1957)
* add handles? method to DSL for IncludeProcessor (#2119)
* pass through preload attribute to video tag (#2046)
* add start and end times for audio element (#1930)
* set localyear and docyear attributes (#1372)
* pass cloaked context to block extension via cloaked-context attribute (#1606)
* add support for covers in DocBook 5 converter (#1939)
* accept named pipe (fifo) as the input file (#1948)