Pikchr

Timeline
Login

50 most recent check-ins that include changes to files matching 'tests/*'

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:41
Replaced the macro form of "diamond" in test71.pikchr with native Pikchr diamonds. Rigorous regression testing would flag a change like this for a difference in the SVG output, but we don't have that in this project; "make test" merely opens the result of rendering this file and others in an HTML page for visual inspection.

Another way of justifying this commit, therefore, is that it fixes syntax errors in the test output, owing to the recent elevation of "diamond" to a keyword. (check-in: 48f6026638 user: wyoung 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)
2023-08-12
19:20
It seems like the "same" operator should not mess with layout direction. See forum thread 75a2220c44. (check-in: 62b766efe8 user: drh tags: trunk)
2023-05-18
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-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)
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-07-17
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. 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 forum post 73eea815afda0715 but more work is needed. (check-in: 6210a902d5 user: drh tags: trunk)
2021-06-11
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-02-14
02:15
Add the special "this" objectname that refers to the object under construction. No documentation (yet). (check-in: 4a13f3a46e user: drh tags: trunk)
02:14
Add a test case for the "this" objectname. (Closed-Leaf check-in: b7966b5bfb user: drh tags: this-keyword)
2021-01-31
15:26
Fix rendering of cylinders with oversize radii. See forum post 983b36dbcf. (check-in: 812efbcda8 user: drh tags: trunk)
2020-11-20
18:50
Further improvements to text layout and "fit" with cylinder objects. (check-in: cca4fea4cf user: drh tags: trunk)
2020-11-13
18:20
Improved handling of dark mode in cases where the foreground and background colors are the same. (check-in: 2309e4b4bd user: drh tags: trunk)
2020-11-09
19:09
Add the PIKCHR_DARK_MODE flag. (check-in: d3409e5db7 user: drh tags: trunk)
2020-10-29
22:34
Using drh's invisible line trick to add a "fast reject path" label to an arrow in the new test71.pikchr. (check-in: d5d7cda1f2 user: wyoung tags: trunk)
21:16
Updated test71.pikchr with the improved version as published in the PiDP-8/I project's HACKERS.md file. (check-in: 1315f822fe user: wyoung tags: trunk)
12:42
Add Warren's flowchart as a test case. (check-in: 519c643ddf user: drh tags: trunk)
01:45
The "close" attribute uses the default fill color. (check-in: 05abb6ccce user: drh tags: trunk)
01:30
Fix the "close" attribute on lines so that it works even if the line radius is non-zero. (check-in: 727a6a56a3 user: drh tags: trunk)
2020-10-11
01:31
Rename all of the test files from ".txt" to ".pikchr" so that they can be viewed on-line in Fossil. (check-in: cfcc451af8 user: drh tags: trunk)
2020-10-10
20:23
Improvements to vertical text layout when the font size is big or small. (check-in: 6c7e991bdc user: drh tags: trunk)
2020-10-01
16:00
Make sure to reset the path on a "same" line that has a "to" attribute. (check-in: 6fad667e73 user: drh tags: trunk)
2020-09-30
10:35
The $1, $2, ..., $9 parameters can be used (alone) as arguments to submacros. (check-in: 610e58885f user: drh tags: trunk)
01:50
Add the "solid" property that sets line thinkness back to the default and disables any dashed or dotted properties. (check-in: d175d9c524 user: drh tags: trunk)
2020-09-29
11:43
Fix backslash processing on text annotations. (check-in: 56ae6cc97a user: drh tags: trunk)
2020-09-27
23:36
A width or height of zero or less causes an auto-fit to the surrounding text. (check-in: 80ac3e36cb user: drh tags: trunk)
23:00
Fixes and test cases for macros. (check-in: fb18d88c18 user: drh tags: trunk)
22:50
Fix error messages for macros. (check-in: fdd4d2be34 user: drh tags: trunk)
20:47
Improved error messages with things go wrong with macros. test61.txt is currently failing. New tests needed for context overflow. (check-in: b6fa1776c6 user: drh tags: trunk)
2020-09-23
18:11
Debugging feature: If the "debug_label_color" is set to a color name, then position of every label is drawn on the graph, in the specified color. If you also set "color=LightGray" this can be an very useful aid in keeping track of the main labels of a complex diagram. (check-in: 36476557fe user: drh tags: trunk)
2020-09-21
07:47
New feature: Function `intersect` of two lines. (Leaf check-in: 2beb671cae user: aku tags: new-feature-func-intersect)
2020-09-19
17:54
New variables to match "rightmargin": "leftmargin", "topmargin", and "bottommargin". (check-in: b4ce4c2d69 user: drh tags: trunk)
13:14
New test case for the use of "(thickness)" to refer to the thickness variable. (check-in: 7dd6f4a07e user: drh tags: trunk)
04:08
Add the dist(PLACE,PLACE) function. Fix "same" so that it also copies the layer. (check-in: 96e42d1ff4 user: drh tags: trunk)
2020-09-18
23:09
Fix text cases and the BWK phototypesetter example so that they work well with the new text size estimator. (check-in: 6c023b6ecf user: drh tags: trunk)
19:27
Fix bounding-box computations for rotated text. (check-in: fdf4a6d1c0 user: drh tags: trunk)
2020-09-16
20:03
Minor fixes for "fit" and for "fill" on file and cylinder objects. (check-in: 68d6363ec3 user: drh tags: trunk)
18:59
Fix the bounding box and center and text alignment on chopped lines. (check-in: 972d366695 user: drh tags: trunk)
12:59
New test case for .start and .end of closed lines. (check-in: f4dfa4ef84 user: drh tags: trunk)