pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/lowdown



Module Name:    pkgsrc
Committed By:   fcambus
Date:           Thu Feb  4 09:09:42 UTC 2021

Modified Files:
        pkgsrc/textproc/lowdown: Makefile PLIST distinfo

Log Message:
lowdown: update to 0.8.0.

ChangeLog:

Version 0.8.0, 2021-01-31

Recognise the volume, source, and section metadata. These are currently
only used by -Tman.

Convert all internal functions to return an error code on memory allocation
failure. Prior to this, these functions had a chance of exiting and
printing failure to stderr. Now, this is left as the responsibility of
the front-end. There's no significant API change except that all renderers
return a value.

Fix the difference engine in several subtle ways, improving the produced
scripts, and also fix crashes where similar text would match multiple
parts of the parse tree, resulting in assertions.

Re-write the -Tms and -Tman generator to use a completely different
internal algorithm. This algorithm, instead of formatting directly into
output, converts the AST into an array of output blocks marked either as
text, literal, macro, or font/colour change. An assembler for this array
manages newlines and spacing between blocks. This fixes all known instances
of unexpected line breaks and allows for significantly simplified handling
of text interspersed with macros (e.g., links, etc.). An API result of
this is that the tree passed to lowdown_nroff_rndr(3) is now const.

Recognise non-block and block lists for -Tlatex output.

Emit a UTF-8 preconv header to all -Tms and -Tman so that -Kutf8 need not
be passed to the formatter.

Remove the --nroff-hardwrap option, which needlessly complicates code
without benefit.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/textproc/lowdown/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/textproc/lowdown/PLIST
cvs rdiff -u -r1.13 -r1.14 pkgsrc/textproc/lowdown/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/lowdown/Makefile
diff -u pkgsrc/textproc/lowdown/Makefile:1.14 pkgsrc/textproc/lowdown/Makefile:1.15
--- pkgsrc/textproc/lowdown/Makefile:1.14       Mon Jan 25 09:48:36 2021
+++ pkgsrc/textproc/lowdown/Makefile    Thu Feb  4 09:09:42 2021
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.14 2021/01/25 09:48:36 fcambus Exp $
+# $NetBSD: Makefile,v 1.15 2021/02/04 09:09:42 fcambus Exp $
 
-DISTNAME=      lowdown-0.7.9
+DISTNAME=      lowdown-0.8.0
 CATEGORIES=    textproc
 MASTER_SITES=  https://kristaps.bsd.lv/lowdown/snapshots/
 

Index: pkgsrc/textproc/lowdown/PLIST
diff -u pkgsrc/textproc/lowdown/PLIST:1.7 pkgsrc/textproc/lowdown/PLIST:1.8
--- pkgsrc/textproc/lowdown/PLIST:1.7   Thu Dec 10 09:19:35 2020
+++ pkgsrc/textproc/lowdown/PLIST       Thu Feb  4 09:09:42 2021
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2020/12/10 09:19:35 fcambus Exp $
+@comment $NetBSD: PLIST,v 1.8 2021/02/04 09:09:42 fcambus Exp $
 bin/lowdown
 bin/lowdown-diff
 include/lowdown.h
@@ -26,13 +26,12 @@ man/man3/lowdown_latex_free.3
 man/man3/lowdown_latex_new.3
 man/man3/lowdown_latex_rndr.3
 man/man3/lowdown_metaq_free.3
+man/man3/lowdown_node_free.3
 man/man3/lowdown_nroff_free.3
 man/man3/lowdown_nroff_new.3
 man/man3/lowdown_nroff_rndr.3
 man/man3/lowdown_term_free.3
 man/man3/lowdown_term_new.3
 man/man3/lowdown_term_rndr.3
-man/man3/lowdown_tree_free.3
-man/man3/lowdown_tree_new.3
 man/man3/lowdown_tree_rndr.3
 man/man5/lowdown.5

Index: pkgsrc/textproc/lowdown/distinfo
diff -u pkgsrc/textproc/lowdown/distinfo:1.13 pkgsrc/textproc/lowdown/distinfo:1.14
--- pkgsrc/textproc/lowdown/distinfo:1.13       Mon Jan 25 09:48:36 2021
+++ pkgsrc/textproc/lowdown/distinfo    Thu Feb  4 09:09:42 2021
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.13 2021/01/25 09:48:36 fcambus Exp $
+$NetBSD: distinfo,v 1.14 2021/02/04 09:09:42 fcambus Exp $
 
-SHA1 (lowdown-0.7.9.tar.gz) = c6d289cfb1aacb8e16daabbdf85ce5e16a5f174e
-RMD160 (lowdown-0.7.9.tar.gz) = 389cbf1c384ef9fb18ecbf4feb1c41fc88ffd0a8
-SHA512 (lowdown-0.7.9.tar.gz) = ec642b285202c932394f84a29c04dfa21882abd4c2d0e80df0d9957c6dc1dc164933d274d034fc96501ca3c90dca42c82ad97f017b92e17f1f11388214458451
-Size (lowdown-0.7.9.tar.gz) = 190887 bytes
+SHA1 (lowdown-0.8.0.tar.gz) = 08cb4bbe000849350adf1b9f625446167bcacff6
+RMD160 (lowdown-0.8.0.tar.gz) = 8fe662a10b35448ac86b4a3f36e796bfc6eed1c1
+SHA512 (lowdown-0.8.0.tar.gz) = 53d59e1a82274fdbeb6b0c1ae7bb7abbd74475181ee3f3fed302f1990c8e2fd9e1cce114536151cf605ef47d1d0a3604ee9dafdef097218938d0cfa38d42c04f
+Size (lowdown-0.8.0.tar.gz) = 193798 bytes



Home | Main Index | Thread Index | Old Index