pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/md4c



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Apr 20 12:35:00 UTC 2026

Modified Files:
        pkgsrc/textproc/md4c: Makefile distinfo

Log Message:
md4c: updated to 0.5.3

0.5.3

Changes:

  * Avoid repeated prefix `language-` in code block language specification if
    the input already explicitly includes the prefix.

    Contributed by [Zach Newton](https://github.com/znewt99).

  * Permissive autolink extensions (`MD_FLAG_PERMISSIVExxxAUTOLINKS`) are now
    tiny bit more permissive, allowing `+` and `-` characters to be anywhere
    in the path portion of the URL. This also improves compatibility with GFM.

  * Make Unicode-specific code compliant to Unicode 18.0.

Fixes:

 * Fix quadratic time behavior caused by one-by-one walking over block lines
   instead of calling `md_lookup_line()`.

 * Fix quadratic time and output size behavior caused by malicious misuse of
   link reference definitions.

 * The strike-through extension (with flag `MD_FLAG_STRIKETHROUGH`) now follows
   same logic as other emphasis spans in respect to punctuation character and
   word boundaries.

 * Fix handling tab when removing trailing whitespace, especially in connection
   with ATX headers.

 * We now correctly abort the parser when a callback returns non-zero.
   (Previously it worked correctly only for negative values, values greater
   than zero were causing strange and inconsistent behavior.)

 * Fix handling a code span whose closer is on the next line and yet another
   text follows. In the case we erroneously outputted the closer code span mark
   as part of the text.

 * Fix `md_decode_utf16le_before__()`. (Only affected MD4C builds built with
   `-MD4C_USE_UTF16` on Windows.)

 * Do not try to interpret characters in a link URL as Markdown syntax
   characters.

 * Fix detection of closing code block fence if it has a trailing tabulator.

 * Fix invalid `free()` in an error path.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/textproc/md4c/Makefile \
    pkgsrc/textproc/md4c/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/md4c/Makefile
diff -u pkgsrc/textproc/md4c/Makefile:1.3 pkgsrc/textproc/md4c/Makefile:1.4
--- pkgsrc/textproc/md4c/Makefile:1.3   Sat Feb 10 16:34:13 2024
+++ pkgsrc/textproc/md4c/Makefile       Mon Apr 20 12:35:00 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2024/02/10 16:34:13 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2026/04/20 12:35:00 adam Exp $
 
-DISTNAME=      md4c-0.5.2
+DISTNAME=      md4c-0.5.3
 CATEGORIES=    textproc converters
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=mity/}
 GITHUB_TAG=    release-${PKGVERSION_NOREV}
Index: pkgsrc/textproc/md4c/distinfo
diff -u pkgsrc/textproc/md4c/distinfo:1.3 pkgsrc/textproc/md4c/distinfo:1.4
--- pkgsrc/textproc/md4c/distinfo:1.3   Sat Feb 10 16:34:13 2024
+++ pkgsrc/textproc/md4c/distinfo       Mon Apr 20 12:35:00 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2024/02/10 16:34:13 wiz Exp $
+$NetBSD: distinfo,v 1.4 2026/04/20 12:35:00 adam Exp $
 
-BLAKE2s (md4c-0.5.2.tar.gz) = 4bb0cb910ffcae990fd2cc6625130802baabd1a49b0e7fca8e81491d10026786
-SHA512 (md4c-0.5.2.tar.gz) = 30607ba39d6c59329f5a56a90cd816ff60b82ea752ac2b9df356d756529cfc49170019fae5df32fa94afc0e2a186c66eaf56fa6373d18436c06ace670675ba85
-Size (md4c-0.5.2.tar.gz) = 237973 bytes
+BLAKE2s (md4c-0.5.3.tar.gz) = 2908609b5e7d601f11fe476f4470d584670ddf0783f96ac2724e54f7ce41d935
+SHA512 (md4c-0.5.3.tar.gz) = 213d6b9fbad24b2bfb4fa0a8124cb4c20861da2cb57790882aa0e5ff8c18903450f1d9ffdbcc0547debd103137777059f27a526cd818294f698b5ffdbfe7fbcb
+Size (md4c-0.5.3.tar.gz) = 244633 bytes



Home | Main Index | Thread Index | Old Index