Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 02A2784D2D for ; Tue, 4 Jul 2023 02:29:17 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id 6yx3_5u5ZsQ5 for ; Tue, 4 Jul 2023 02:29:16 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 0D71A84D15 for ; Tue, 4 Jul 2023 02:29:16 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 0621BFA89; Tue, 4 Jul 2023 02:29:16 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_168843775577040" MIME-Version: 1.0 Date: Tue, 4 Jul 2023 02:29:15 +0000 From: "Amitai Schleier" Subject: CVS commit: pkgsrc/graphics/pikchr To: pkgsrc-changes@NetBSD.org Approved: commit_and_comment Reply-To: schmonz@netbsd.org X-Mailer: log_accum Message-Id: <20230704022916.0621BFA89@cvs.NetBSD.org> This is a multi-part message in MIME format. --_----------=_168843775577040 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: schmonz Date: Tue Jul 4 02:29:15 UTC 2023 Modified Files: pkgsrc/graphics/pikchr: Makefile distinfo Log Message: Update to 1.0.20230526. From the changelog: - Typo fix, reported on the forum. - Fixed assorted typos, clarity errors, and formatting problems in the docs. Most were reported on the forum by brickviking (here and here) but I found and fixed a few more while in there. - Remove the artificial enlargement of "mono" text, as that seems not to be necessary when the output is rendered by Fossil. Must be some kind of CSS issue. - Add support for the "monospace" (alias "mono") text attribute. - Adjust the font size and text length computations for monospace. (Closed-Leaf check-in: 22e2a2c622 user: drh tags: monospace) - "mono italic" test case added. - Experimental support for the "mono" and "monospace" text attributes. - Add the narrow.pikchr test case. This should have been part of [21ca6b843d65c404], I think. - Doc typo fix reported in /forumpost/4e01fef7d9. - Add a link to Adamantine Pick, a pikchr extension for the Obsidian knowledge-base app. - Avoid unnecessary rounding of coordinates in the generated SVG. Forum post b571590af6. - Add "External Link" entry for the Lua-based pikchr pandoc filter. - Add mdbook-pikchr to External Links section. - Mention the "behind" attribute in the differences and user manual documents. Forum post e172c0c950. - Minor emsdk doc update. - Added a link to David Weil's node.js pikchr module, sent to me off-list. - Discuss the PIKCHR_TOKEN_LIMIT in the differences page. - Update the built-in Lemon to the latest code from the SQLite project. - Added fiddle/README.md, which explains how to get the fiddle app up and running. - Pulled in minor fiddle changes from the fossil tree. - Changed the /fiddle build to name the output files pikchr.js/wasm instead of fiddle-module.js/wasm to avoid having to make manual edits when porting them over to fossil. - Allow any value for HEADING. Convert it to -360..360 before use. Forum post 56140a59018db001 - Add Ryan's spider-web Pikchr script as an example. - Help text typo fix and added a mention that all output goes to stdout, as suggested in [e3a1e165ab799e64]. No code changes. - Added a link to another 3rd-party integration of pikchr: the 8th programming language. - Expanded [43eb7d998415] to permit digits in HTML entities after the first character, to allow for sup2, frac12, and similar entities. Reported in [dcf1418ef16f]. - Minor doc correction and code style tweak to the previous checkin. No functional changes. - When outputing HTML-escaped text and an ampersand is encountered, only transform it to an HTML entity if it looks like it's not one already. HTML entities are left as is, noting that we do only a syntactic check and not a test for whether the entity is a standard/known one. This replaces [aca3d2dc1a00], reverting the doc changes made by that checkin. - Replaced ampersand-deg-semicolon escape sequences in pikchr string literals in various docs with a degree symbol to work around that escape sequence having been broken by [641b4ff2e552183c]. Extended the comment about ampersand escaping in pik_append_text(). No code changes. (Closed-Leaf check-in: aca3d2dc1a user: stephan tags: mistake) - Removed some duplicated docs, one copy of which was out of date. - Extended the wasm binding to optionally make use of all of the pikchr() arguments and return more info, e.g. width/height, in the result object. Fixed shift-enter behavior. - Minor fiddle app cleanups made while porting it to fossil. - Added build of gzip-compressed forms of the fiddle/ files, for use with althttpd's new gzip support. - Updated the fiddle TODOs. - fiddle: initial impl of auto-update of SVG while typing (enabled with new checkbox). Works but may need tweaks for the precise preferred timing (currently 800ms debounce) and skiping update for certain keys/situations. - fiddle: made the config checkboxes persistent. - fiddle: removed a superfluous layer of indirection. - Fiddle: accounted for case of empty pikchr script, which produces an HTML comment as output. Renamed the inherited sqlite-centric symbol names to pikchr-centric ones. - fiddle: simplified some duplicated if/else logic and made renderAutoScale=false the default. - Initial version of a wasm/JS pikchr "fiddle" app. Requires emscripten to build. Several TODOs remain but it essentially works. - Correctly adjust the bounding box when the size of a circle is set using "diameter". Fix for ticket [4449371aa4d8ed2b]. - Added new external project links which were posted to /forumpost/8b18c6b6bd. - Limit the number of tokens that can be processed in a single script to avoid an exponential macro-expansion attack, such as described by forum thread 6b9b95de35. - Typo fix in userman.md: s/three/five/ - Fix the built-in abs() function so that it actually works. Add a test case. - Add links on the homepage to Zellyn Hunter's port of pikchr to Go. - Add a test case for the ampersand problem fixed in the previous check-in. - Escape ampersands when emitting text nodes, per report in forum post 37584617be. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 pkgsrc/graphics/pikchr/Makefile cvs rdiff -u -r1.2 -r1.3 pkgsrc/graphics/pikchr/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_168843775577040 Content-Disposition: inline Content-Length: 1830 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/graphics/pikchr/Makefile diff -u pkgsrc/graphics/pikchr/Makefile:1.1 pkgsrc/graphics/pikchr/Makefile:1.2 --- pkgsrc/graphics/pikchr/Makefile:1.1 Fri Nov 26 09:38:52 2021 +++ pkgsrc/graphics/pikchr/Makefile Tue Jul 4 02:29:15 2023 @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.1 2021/11/26 09:38:52 schmonz Exp $ +# $NetBSD: Makefile,v 1.2 2023/07/04 02:29:15 schmonz Exp $ DISTNAME= pikchr -PKGVERSION= 1.0.20211104 -FOSSIL_TAG= b79ce27929e9cc79 +PKGVERSION= 1.0.20230526 +FOSSIL_TAG= 6d40a5f041311bbe PKGNAME= ${DISTNAME}-${PKGVERSION} CATEGORIES= graphics textproc MASTER_SITES= https://pikchr.org/home/tarball/${FOSSIL_TAG}/ Index: pkgsrc/graphics/pikchr/distinfo diff -u pkgsrc/graphics/pikchr/distinfo:1.2 pkgsrc/graphics/pikchr/distinfo:1.3 --- pkgsrc/graphics/pikchr/distinfo:1.2 Fri Nov 26 19:39:15 2021 +++ pkgsrc/graphics/pikchr/distinfo Tue Jul 4 02:29:15 2023 @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.2 2021/11/26 19:39:15 schmonz Exp $ +$NetBSD: distinfo,v 1.3 2023/07/04 02:29:15 schmonz Exp $ -BLAKE2s (pikchr-b79ce27929e9cc79/pikchr.tar.gz) = 00125e7b4de045b7454fa39b094e717f891de99e9ba35c2f6e97a9cb58dbd106 -SHA512 (pikchr-b79ce27929e9cc79/pikchr.tar.gz) = 2339ac1ce17b97698f32d022f92014ba01f279c7aa64e9f1ebbbc1808c58ed75fbb1f935cc8eccb883a7b627aa9de4eaac1ece1b444abc6f5769c2ff77c07d1f -Size (pikchr-b79ce27929e9cc79/pikchr.tar.gz) = 245370 bytes +BLAKE2s (pikchr-6d40a5f041311bbe/pikchr.tar.gz) = 0cb817bc20fd9d781c84614a70e0a15dd75cfd2502d7d09ca38c0ce047373b19 +SHA512 (pikchr-6d40a5f041311bbe/pikchr.tar.gz) = 92e953a15e824c8385619347ed6bc5267b755041db3206eac0b1a18fdfc8ad785ae91c841acddaa206446528f6b6bf36edfdb506ee001a5acd810919f0e7d981 +Size (pikchr-6d40a5f041311bbe/pikchr.tar.gz) = 265676 bytes SHA1 (patch-Makefile) = e3900e12fd25b89ebf848820594977a9776cbb75 --_----------=_168843775577040--