Pikchr

Timeline
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

50 most recent check-ins

2022-08-21
10:41
Discuss the PIKCHR_TOKEN_LIMIT in the differences page. (Leaf check-in: 0ed99dd6c1 user: drh tags: trunk)
2022-07-30
09:22
Update the built-in Lemon to the latest code from the SQLite project. (check-in: 96a8210609 user: drh tags: trunk)
2022-07-28
19:32
Added fiddle/README.md, which explains how to get the fiddle app up and running. (check-in: 8c932ccd43 user: stephan tags: trunk)
18:57
Pulled in minor fiddle changes from the fossil tree. (check-in: 0c517dfe5e user: stephan tags: trunk)
18:44
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. (check-in: 77485e8ed8 user: stephan tags: trunk)
14:40
Allow any value for HEADING. Convert it to 0..360 before use. [/info/56140a59018db001|Forum post 56140a59018db001] (check-in: ca92b3a952 user: drh tags: trunk)
00:32
Add Ryan's spider-web Pikchr script as an example. (check-in: ce9880de2f user: drh tags: trunk)
2022-06-20
06:51
Help text typo fix and added a mention that all output goes to stdout, as suggested in [e3a1e165ab799e64]. No code changes. (check-in: d9ee756594 user: stephan tags: trunk)
2022-06-17
12:29
Added a link to another 3rd-party integration of pikchr: the 8th programming language. (check-in: 684244a6ac user: stephan tags: trunk)
2022-06-14
17:41
Expanded [43eb7d998415] to permit digits in HTML entities after the first character, to allow for sup2, frac12, and similar entities. Reported in [dcf1418ef16f]. (check-in: a28bee7108 user: stephan tags: trunk)
15:25
Minor doc correction and code style tweak to the previous checkin. No functional changes. (check-in: b5a5779c8d user: stephan tags: trunk)
14:32
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. (check-in: 43eb7d9984 user: stephan tags: trunk)
09:33
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)
2022-06-06
23:51
Removed some duplicated docs, one copy of which was out of date. (check-in: 1ecd389f95 user: stephan tags: trunk)
23:48
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. (check-in: 701ca358b9 user: stephan tags: trunk)
17:43
Minor fiddle app cleanups made while porting it to fossil. (check-in: 667d6f9497 user: stephan tags: trunk)
13:09
Added build of gzip-compressed forms of the fiddle/ files, for use with althttpd's new gzip support. (check-in: f79fb1cec1 user: stephan tags: trunk)
2022-05-28
23:19
Updated the fiddle TODOs. (check-in: 4b3db84d9a user: stephan tags: trunk)
23:05
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. (check-in: 5180e89672 user: stephan tags: trunk)
11:57
fiddle: made the config checkboxes persistent. (check-in: 5a99e63fc1 user: stephan tags: trunk)
2022-05-27
20:48
fiddle: removed a superfluous layer of indirection. (check-in: 675a6dc497 user: stephan tags: trunk)
20:16
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. (check-in: d748a2a438 user: stephan tags: trunk)
19:32
fiddle: simplified some duplicated if/else logic and made renderAutoScale=false the default. (check-in: 1312a45b42 user: stephan tags: trunk)
19:28
Initial version of a wasm/JS pikchr "fiddle" app. Requires emscripten to build. Several TODOs remain but it essentially works. (check-in: 5403316e07 user: stephan tags: trunk)
2022-04-25
01:28
Correctly adjust the bounding box when the size of a circle is set using "diameter". Fix for ticket [4449371aa4d8ed2b]. (check-in: 3d15c0920a user: drh tags: trunk)
2022-04-22
13:58
Added new external project links which were posted to [/forumpost/8b18c6b6bd]. (check-in: 20ee883247 user: stephan tags: trunk)
2022-04-05
14:39
Limit the number of tokens that can be processed in a single script to avoid an exponential macro-expansion attack, such as described by [/forumpost/6b9b95de35|forum thread 6b9b95de35]. (check-in: 221988914e user: drh tags: trunk)
2022-03-31
00:26
Typo fix in userman.md: s/three/five/ (check-in: 152e4c065c user: stephan tags: trunk)
2022-03-28
13:37
Fix the built-in abs() function so that it actually works. Add a test case. (check-in: 18ae3a4ab5 user: drh tags: trunk)
2022-01-30
21:43
Add links on the homepage to Zellyn Hunter's port of pikchr to Go. (check-in: 5db3aa1d29 user: drh tags: trunk)
2021-12-24
12:47
Add a test case for the ampersand problem fixed in the previous check-in. (check-in: dd5c3cdc52 user: drh tags: trunk)
04:09
Escape ampersands when emitting text nodes, per report in [/forumpost/37584617be| forum post 37584617be]. (check-in: 641b4ff2e5 user: stephan tags: trunk)
2021-11-04
18:36
Fix a compiler warning: decimal constant is unsigned only in ISO C90" (check-in: b79ce27929 user: drh tags: trunk)
2021-07-22
00:03
Minor documentation tweaks. (check-in: d9e1502ed7 user: drh tags: trunk)
2021-07-21
12:17
Improved explanation of color names in Pikchr. (check-in: c740e5d417 user: drh tags: trunk)
2021-07-17
23:51
Add the fuzzer test case fixed in the previous check-in to the fuzzcases directory. (check-in: 2067198cda user: drh tags: trunk)
23:49
Fix a potential division by zero. Harmless in practice but still UB so we might as well fix it. (check-in: bf026695a0 user: drh tags: trunk)
19:36
Comment improvements. No changes to executable code. (check-in: 6f3e2f6141 user: drh tags: trunk)
19:25
The starting and ending objects of a line are remembered and used by the "chop" feature so that the line is chopped by the correct object in the case where two or more objects have the same center. [/forumpost/1d46e3a0bc|Forum post 1d46e3a0bc] (check-in: 2090a12c76 user: drh tags: trunk)
17:27
Improve the auto-chop algorithm so that the object that does the chopping must not contain the next point along the line. This is a partial fix to the bug reported by [/forumpost/73eea815afda0715|forum post 73eea815afda0715] but more work is needed. (check-in: 6210a902d5 user: drh tags: trunk)
2021-07-12
18:31
Fix the pik_round() function in pikchr.c. Needed to recompile pikchr.y. (check-in: 91a57c8b75 user: drh tags: trunk)
16:51
Makefile for MSVC. Fix the pik_round() routine so that it works with MSVC. (check-in: cf12e257ba user: drh tags: trunk)
16:24
Convert NaN into 0 for floating-point to integer conversion, to avoid harmless UBSAN warnings. (check-in: 340e69b9fc user: drh tags: trunk)
2021-07-09
16:53
Improved fuzzing. Reduce fuzzer warnings by adding pik_round() to do floating-point to integer conversion in a well-defined way. (check-in: f528c80c14 user: drh tags: trunk)
16:41
Avoid unnecessary calls to realloc() by correctly remembering the size of the output buffer from the previous allocation. (check-in: 62c4c4a65a user: drh tags: trunk)
2021-07-08
19:22
Fix a possible NULL pointer dereference that became possible due to the "this" enhancement of check-in [4a13f3a46ed297a6]. (check-in: 99d536494d user: drh tags: trunk)
18:59
Use a seperate routine to convert floating point values to integers that does proper truncation of the value if the input is out of range, in order to avoid (harmless) UBSAN warnings. (check-in: 4271de68b6 user: drh tags: trunk)
2021-06-11
20:40
Expanded the "Designed for the Web" bit in the differences doc, giving CSS color names and the new Unicode arrow direction token feature as examples of this focus. Previoulsy, it only talked about SVG-in-HTML. (check-in: 000a544f01 user: wyoung tags: trunk)
16:53
Provide default values for the PACKAGE_NAME and PACKAGE_VERSION macros if they are not provided on the command line. (check-in: 2cd4029e14 user: drh tags: trunk)
16:08
Mention the alternative spellings for "<-", "->" and "<->" in the language specification. (check-in: 38acd0abbc user: drh tags: trunk)