groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 01/10: Expand recent ChangeLog entries.


From: G. Branden Robinson
Subject: [groff] 01/10: Expand recent ChangeLog entries.
Date: Sat, 13 Apr 2024 17:51:40 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit bb8019873c57a106996ec4545d19c6e9636a2cf2
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sat Apr 13 10:40:38 2024 -0500

    Expand recent ChangeLog entries.
---
 ChangeLog             | 75 ++++++++++++++++++++++++++++++++++++++-------------
 contrib/mom/ChangeLog |  6 +++++
 2 files changed, 63 insertions(+), 18 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index e036b25c6..dbfc4655e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,31 +3,70 @@
        Correct and improve linear search introduced in commit
        cd9fde325f, 4th March.
 
-       * tmac/pdf.tmac: Various problems have been rectified, speed
-       improvements to the linear search, Keith protection against
-       illegal characters being used in string identifiers.
-
-       * contrib/mom/om.tmac: Switch to using Branden's linear search
-       so that we don't have to maintain two different methods.
-
-       Fixes <https://savannah.gnu.org/bugs/?65585>
+       * tmac/pdf.tmac: Add mark counter, `pdf:bm.nk`.
+       (pdfbookmark, pdf*href-M): ...and use it.
+       (pdf:lookup): Add string `pdf:lookup-value` to record the `.val`
+       attribute of a PDF bookmark, distinctly from its `.tag`.
+       (pdfnote, pdfbookmark, pdf*href-M, pdf*href): Use `\A` escape
+       sequence to validate *roff strings as (parts of) identifiers
+       {seen in Keith Marshall's "pdfmark.tmac"}.
+       (pdf*href-M, pdf*href, pdfbookmark): Stop using old `pdf:look`
+       method of bookmark tag lookup.  Drop conditionals on presence of
+       mom(7) `PRINTSTYLE` macro to select its use.
+       (pdfbookmark): Drop logic for cleaning bookmark tag of material
+       invalid in *roff identifiers, since the foregoing ensure that
+       we no longer use such in their construction.
+       (pdfmarksuspend, pdfmarkrestart): Drop management of mark
+       suspension state; "pdf.tmac" now subsumes this function.
+
+       Fixes <https://savannah.gnu.org/bugs/?65585>.
 
 2024-04-12  Deri James  <deri@chuzzlewit.myzen.co.uk>
 
-       Support UTF-16 Bookmarks.
-
-       * src/devices/grops: Add comment field to the font files
-       which specifies the UTF-16 code for the character.
-
-       * utils/afmtodit/afmtodit.pl: Add comment field holding the
-       UTF-16 code.
+       Support UTF-16-encoded PDF bookmarks.
+
+       * utils/afmtodit/afmtodit.pl: Generate comment field holding the
+       UTF-16 code for each groff character.
+
+       * font/devps/AB:
+       * font/devps/ABI:
+       * font/devps/AI:
+       * font/devps/AR:
+       * font/devps/BMB:
+       * font/devps/BMBI:
+       * font/devps/BMI:
+       * font/devps/BMR:
+       * font/devps/HB:
+       * font/devps/HBI:
+       * font/devps/HI:
+       * font/devps/HNB:
+       * font/devps/HNBI:
+       * font/devps/HNI:
+       * font/devps/HNR:
+       * font/devps/HR:
+       * font/devps/NB:
+       * font/devps/NBI:
+       * font/devps/NI:
+       * font/devps/NR:
+       * font/devps/PB:
+       * font/devps/PBI:
+       * font/devps/PI:
+       * font/devps/PR:
+       * font/devps/TB:
+       * font/devps/TBI:
+       * font/devps/TI:
+       * font/devps/TR:
+       * font/devps/ZCMI: Regenerate with updated aftmtodit.pl.
 
        * man/groff_font.5.man: Document use of comment field to hold
        UTF-16 code.
 
-       * src/devices/gropdf/gropdf.pl: Extract UTF-16 code from font
-       comment field (rather than a new field). And tweak to pdf
-       parser.
+       * src/devices/gropdf/gropdf.pl (LoadFont): Extract UTF-16 code
+       from font comment field (rather than a new field).
+       (ParsePDFValue): Validate input more strictly.
+       (do_x): Manage state more strictly; don't suspend a mark
+       {hotspot} when one is not active, and don't restart it when one
+       is not suspended.
 
 2024-03-26  G. Branden Robinson <g.branden.robinson@gmail.com>
 
diff --git a/contrib/mom/ChangeLog b/contrib/mom/ChangeLog
index 3a749a5a0..22e08631e 100644
--- a/contrib/mom/ChangeLog
+++ b/contrib/mom/ChangeLog
@@ -1,3 +1,9 @@
+2024-04-12  Deri James <deri@chuzzlewit.myzen.co.uk>
+
+       * om.tmac: Switch to using Branden's linear search so that we
+       don't have to maintain two different methods of looking up PDF
+       bookmarks.
+
 2024-03-04  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * mom.am ($(MOMPROCESSEDEXAMPLEFILES)): Add dependency on



reply via email to

[Prev in Thread] Current Thread [Next in Thread]