Pikchr

Timeline
Login

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

50 most recent check-ins by user drh

2024-04-15
11:56
Add a contributors agreement. (check-in: f753d67e74 user: drh tags: trunk)
2024-04-01
10:17
Version 1.0.0. Because Homebrew needs a version number: [/forumpost/a99eeb89dca56e20|forum post a99eeb89dca56e20]. (check-in: 1adc7177fb user: drh tags: trunk, release, version-1.0.0)
2024-02-12
20:10
Fix (harmless) typos reported by [/forumpost/3a76eb4395|forum post 3a76eb4395]. (check-in: ae3317b0ec user: drh tags: trunk)
2024-02-09
21:28
For the "pikchr" command-line tool, the --dont-stop flag always results in a zero exit code. Fix the MSVC Makefile so that "nmake test" works. (check-in: ac94035c32 user: drh tags: trunk)
2024-02-08
20:41
Fix the autofit functionality for the diamond object. New test cases for the same. (check-in: ad1f8186cd user: drh tags: trunk)
19:57
Update a test case to include a diamond object. (check-in: fd78aef978 user: drh tags: trunk)
19:54
Update the built-in Lemon parser to the latest version. (check-in: 24c702e82c user: drh tags: trunk)
18:15
Merge the "diamond" enhancement to trunk. (check-in: bc3bd914a3 user: drh tags: trunk)
15:11
Add support for the "diamond" primitive. (check-in: 36751abee2 user: drh tags: diamond)
2023-08-30
10:38
Enhanced a test case so that it shows compass points for "file" objects. (check-in: d6f80b1ab3 user: drh tags: trunk)
2023-08-23
15:57
Fix text positioning of lines with negative thickness. (check-in: 5b5ad53f27 user: drh tags: trunk)
15:33
Zero-thickness objects draw the background but not the outline. (check-in: f30f1fe186 user: drh tags: trunk)
2023-08-12
19:20
It seems like the "same" operator should not mess with layout direction. See [/forumpost/75a2220c44|forum thread 75a2220c44]. (check-in: 62b766efe8 user: drh tags: trunk)
2023-05-18
16:57
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. (check-in: 03664a38cf user: drh tags: trunk)
14:16
Add support for the "monospace" (alias "mono") text attribute. (check-in: 65174bac21 user: drh tags: trunk)
14:10
Adjust the font size and text length computations for monospace. (Closed-Leaf check-in: 22e2a2c622 user: drh tags: monospace)
13:14
"mono italic" test case added. (check-in: fc34d765e1 user: drh tags: monospace)
13:07
Experimental support for the "mono" and "monospace" text attributes. (check-in: 0204bf9187 user: drh tags: monospace)
12:57
Add the narrow.pikchr test case. This should have been part of [21ca6b843d65c404], I think. (check-in: 2fa0a525f8 user: drh tags: trunk)
2022-12-07
11:14
Avoid unnecessary rounding of coordinates in the generated SVG. [/forumpost/b571590af6|Forum post b571590af6]. (check-in: 21ca6b843d user: drh tags: trunk)
2022-10-17
17:07
Mention the "behind" attribute in the differences and user manual documents. [/forumpost/e172c0c950|Forum post e172c0c950]. (check-in: 4c664f2898 user: drh tags: trunk)
2022-08-21
10:41
Discuss the PIKCHR_TOKEN_LIMIT in the differences page. (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
14:40
Allow any value for HEADING. Convert it to -360..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-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-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-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)
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
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)
15:48
Improvements to the test75 test case. (check-in: 50f5aaf22c user: drh tags: trunk)
15:29
Accept unicode arrow characters and/or HTML entity names as substitute spellings for the arrow tokens "<-", "->", and "<->". This avoids problems with using "<" in a pikchr script that is embedded inside of HTML. (check-in: e6916a054c user: drh tags: trunk)
2021-06-10
18:00
Provide keywords "rarr", "larr" and "leftrightarrow" as alternative spellings for tokens "->", "<-", and "<->" (the names are based on HTML entity names) to make it easier to embed Pikchr source text within a larger HTML document without running into quoting issues with the "<" and ">" characters. (Closed-Leaf check-in: 1e359f8ed5 user: drh tags: html-defense)