Subject: CVS commit: pkgsrc/textproc/ruby-asciidoctor
From: Takahiro Kambe
Date: 2023-05-21 05:18:24
Message id: 20230521031824.7B29DFA87@cvs.NetBSD.org

Log Message:
textproc/ruby-asciidoctor: update to 2.0.20

2.0.19 (2023-05-17)

Development on Asciidoctor 2.1 has been on pause while we focus on
progressing the AsciiDoc Language Specification.  In the meantime, we
extracted some of the minor improvements and bug fixes from main and put
them into this patch release in the 2.0.x release line.

The most impactful fix is a switch from recursion to a while loop to prevent
a stack limit error when looking for the next line to process.  Those using
JRuby will appreciate that fact that a uri:classloader: prefix is treated as
an absolute path rather than a URL, which will allow those paths to be read
correctly and avoid misleading security warnings.

A few refinements where made to how the AsciiDoc source is parsed.  First,
constrained passthroughs inside a monospace span are now always processed as
expected.  When parsing a dlist, a nested list that starts with at least one
block attribute line is now attached correctly.  The partintro block is now
generated consistently, despite how it's defined in the AsciiDoc source.
Numeric character references are passed over when searching for the URL
fragment in the xref target.  An inline ref is cataloged even if the
resolved reftext is empty.  An include target may not start or end with a
space (to distinguish it from a dlist entry).  Finally, square brackets are
not swallowed when parsing an escaped URL macro.

Several improvements have been made when converting to man pages.  When
generating DocBook, the root <reftext> tag is correctly enclosed in an
<article> tag and reftext substitutions are applied to the value of the
mantitle attribute.  When converting to the man page format, the alt text of
a block image is processed correctly (i.e., "manified").  In the HTML
output, a monospace span in a section title is not converted to uppercase.

The default stylesheet has been updated so that the margin on the first and
last child of a sidebar is collapsed correctly and so the font size of a
term in a horizontal list matches the font size of a term in a regular
dlist.

The code has been updated to be compatible with recent software releases,
including Ruby 3.2, Haml 6, and Rouge 4.1.

Distribution

Changelog

Improvements
* Return empty string instead of nil if raw or verbatim block has no lines
* Don't uppercase monospace span in section title in manpage output (#4402)
* Simplify processing of implicit link (i.e., autolink) by separating
  implicit and explicit match
* Generate partintro block consistently (#4450)
* Add Kiswahili translation for built-in labels (PR #4454) (@bkmgit)

Compliance
* Fix call order so use of an include file with invalid encoding continues
  to raise error when using Ruby >= 3.2.0
* Fix test assertion for fallback Rouge stylesheet to be compatible with
  Rouge 4.1 (#4406) (@tmzullinger)
* Support notitle option on section as alternative to untitled to hide title
  (#4437)
* Add support for Haml 6 to template converter (#4429)

Bug Fixes
* Process constrained inline passthrough inside monospace span (#4458)
* Catalog inline ref defined using anchor macro even when resolved reftext
  is empty
* Use while loop rather than recursion to locate next line to process;
  prevents stack limit error (#4368)
* Avoid matching numeric character references when searching for # in xref
  target (#4393)
* Use correct selector to collapse margin on first and last child of sidebar
* Don't allow target of include directive to start with a space (to
  distinguish it from a dlist item) or to end with a space
* Manify alt text of block image in manpage output (#4401)
* Adjust font size of term in horizontal dlist to match font size of term in
  regular dlist
* Implicitly attach nested list that starts with block attribute lines to
  dlist entry (#4268)
* Don't swallow square brackets when processing escaped URL macro
* Treat uri:classloader: as an absolute path prefix when running on JRuby
  (#3929)
* Apply reftext substitutions to value of mantitle attribute in DocBook
  output (#4448)
* Enclose <reftext> tag in <article> tag in DocBook output for man page
  (#4452)
* Correctly handle compat role on monospace and constrained passthrough when
  box attrlist or formatted text is escaped

2.0.20 (2023-05-18)

After the 2.0.19 release, we discovered that the man page was not being
updated during the release.  This release has no changes other than t fix
the release process.  For changes related to 2.0.19, see
https://github.com/asciidoctor/asciidoctor/releases/tag/v2.0.19.

Distribution

Changelog

Bug Fixes
* Update release-version attribute in READMEs and man page during release
* Rebuild man page during release

Files:
RevisionActionfile
1.13modifypkgsrc/textproc/ruby-asciidoctor/Makefile
1.7modifypkgsrc/textproc/ruby-asciidoctor/PLIST
1.11modifypkgsrc/textproc/ruby-asciidoctor/distinfo