270 check-ins using file tests/test23.pikchr or tests/test23.txt version f5a4fc1eba
2021-12-24
| ||
04:09 | Escape ampersands when emitting text nodes, per report in 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. 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-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) | |
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) | |
2021-04-07
| ||
01:30 | Fix typo on the how-to-build diagrams. (check-in: 90b6d5b4a3 user: drh tags: trunk) | |
2021-03-04
| ||
01:51 | Fix a typo in the how-to-build document. (check-in: 545b29bf49 user: drh tags: trunk) | |
2021-03-02
| ||
16:22 | Update the skin change URLs to conform to the new skinning mechanism in Fossil. (check-in: c3b1c3e3ec user: drh tags: trunk) | |
13:59 | Make use of the new "skin=" query parameter instead of "skn_X" to change between skins in order to demonstrate dark mode. (check-in: b72af84f0d user: drh tags: trunk) | |
2021-02-22
| ||
12:06 | Change "path-element" to "path-attribute" in the grammar, for consistency. (check-in: 1eb90e5a01 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) | |
00:32 | Accept the object name "this" referring to the object under construction. See forum post 48cec7c89e for an explanation of why this might be useful. I'm still somewhat dubious, since not all attributes of "this" are necessarily defined at the point when it is invoked. Need to thing about this. (check-in: 3542e32d0b user: drh tags: this-keyword) | |
00:11 | Use darkmode rather than ardoise as the example dark-mode skin. (check-in: 94bfff470d user: drh tags: trunk) | |
2021-02-12
| ||
04:31 | Added -lm to linking instructions, per forum suggestion. (check-in: be1c126190 user: stephan tags: trunk) | |
2021-02-02
| ||
17:52 | Fix typo on the download page. (check-in: f98448c93d user: drh tags: trunk) | |
15:46 | Link to the Download page from the homepage. (check-in: daac1596e6 user: drh tags: trunk) | |
15:35 | Add a "download.md" page to the documentation. (check-in: 7b9178fd8a user: drh tags: trunk) | |
01:54 | Fix harmless compiler warnings. (check-in: 8d39358520 user: drh tags: trunk) | |
2021-01-31
| ||
17:56 | Do a better job of showing the context of syntax errors that appear at the very end of input. Forum post 7f904237ca (check-in: 2706287472 user: drh tags: trunk) | |
15:26 | Fix rendering of cylinders with oversize radii. See forum post 983b36dbcf. (check-in: 812efbcda8 user: drh tags: trunk) | |
2021-01-29
| ||
14:16 | Fix a problem with the "-" argument processing in the pikchr shell program. (check-in: 4eaa29827e user: drh tags: trunk) | |
2021-01-28
| ||
12:12 | Take advantage of the new /skn_X URL feature in Fossil to improve the dark-mode lines in the documentation. (check-in: 06af112054 user: drh tags: trunk) | |
2021-01-27
| ||
17:54 | Typo fix in the user manual. (check-in: 017d72dde1 user: drh tags: trunk) | |
2021-01-25
| ||
20:18 | If the "bgcolor" variable is set, then replace any 0xffffff color value with the the value in bgcolor. (check-in: ac6a4549de user: drh tags: trunk) | |
2021-01-24
| ||
17:36 | Enhance the command-line "pikchr" program so that if an input filename is "-" it reads standard input. (check-in: b702e4b762 user: drh tags: trunk) | |
2021-01-23
| ||
20:20 | Add a section on containers to the user manual, and also a conclusion. (check-in: d0943cba6c user: drh tags: trunk) | |
12:04 | Fixed a redundant word in doc/pathattr.md, reported on the forum. (check-in: d4a78482f4 user: wyoung tags: trunk) | |
2021-01-11
| ||
18:16 | Adjust the top-level README.md file so that it works on GitHub. (check-in: 00a3869623 user: drh tags: trunk) | |
2020-12-30
| ||
16:19 | Fix typo in the user manual. (check-in: b22d0e5f31 user: drh tags: trunk) | |
2020-12-23
| ||
09:48 | Editorial pass on doc/teardown01.md (check-in: a34c9dbd61 user: wyoung tags: trunk) | |
09:18 | Editorial pass on doc/sqlitesyntax.md: grammar and spelling fixes, clarity rewrites, capitalization fixes, hyperlink improvements... (check-in: d3fc14983b user: wyoung tags: trunk) | |
08:35 | Added named anchors to userman. Moved an existing one to the end of the "#" line so it doesn't interfere with plain-text readability. (check-in: b0046e98a4 user: wyoung tags: trunk) | |
2020-12-04
| ||
21:08 | Improved support for the "piktcl" TCL extension (check-in: e4b70f0e6f user: drh tags: trunk) | |
21:07 | Fix harmless compiler warning. Fix the Makefile so that it does not fail if the piktcl directory already exists. (Closed-Leaf check-in: a264ebcf89 user: drh tags: piktcl-package-build-fix) | |
20:27 | Extended Makefile with target `piktcl`. This target builds a Tcl package from the library. Fixed the missing `Tcl_PkgProvide()` call in the relevant initializer function. (check-in: c85d8111c2 user: aku tags: piktcl-package-build-fix) | |
2020-11-28
| ||
21:26 | Ignore excessive (and senseless) scale factors. (check-in: b8fa9aed02 user: drh tags: trunk) | |
2020-11-27
| ||
21:52 | Minor code changes to avoid harmless compiler warnings. (check-in: 8bf08592ca user: drh tags: trunk) | |
2020-11-25
| ||
21:22 | Typo fix in doc/integrate.md, reported on the SQLite forum. (check-in: f139cea44a user: wyoung tags: trunk) | |
2020-11-23
| ||
02:27 | Fix obsolete text in the integrate.md document. (check-in: c0fa17b2b7 user: drh tags: trunk) | |
2020-11-22
| ||
02:15 | Include the pikchr.h header file in the check-in, for the convenience of integrators. Enhancements to integration documentation. Fix errors in the "differences.md" page. (check-in: d8132dfeff user: drh tags: trunk) | |
01:31 | Fix a typo in the user manual. (check-in: a46e78b2a0 user: drh tags: trunk) | |
01:15 | Mention the fact that text annotations on cylinders are offset from the exact center of the cylinder. (check-in: f8b70e9bd1 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) | |
17:56 | Do not put the text label of a cylinder directly in the geometric center of the object, but rather shift it downward by 75% of the radius, as that makes the text appear to be more centered and have a more pleasing appearance. See forum post d623f2faa4. (check-in: d81581d8c8 user: drh tags: trunk) | |
2020-11-16
| ||
17:41 | Documentation tweaks. (check-in: 397b1b2198 user: drh tags: trunk) | |
2020-11-13
| ||
18:49 | Use the latest version of Lemon that fixes a harmless compiler warning. (check-in: 007eceb479 user: drh tags: trunk) | |
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) | |
13:45 | Add initial documentation for the "fgcolor" variable. (check-in: 465cf73aa0 user: drh tags: trunk) | |
2020-11-10
| ||
14:12 | If the "fgcolor" variable is set to a valid color, then convert all black foreground text into that color before and instead of implementing dark-mode color translation. This permits an application to add a line like "fgcolor=COLOR;" to the beginning of every Pikchr script in order to implement an alternative foreground color that works regardless of the dark-mode setting. (check-in: 4b36d1278e user: drh tags: trunk) | |
2020-11-09
| ||
20:44 | Improvements to dark-mode color inversion. (check-in: 5d1dfa831f user: drh tags: trunk) | |
19:09 | Add the PIKCHR_DARK_MODE flag. (check-in: d3409e5db7 user: drh tags: trunk) | |
2020-11-01
| ||
00:09 | Document outlining how Pikchr is used to generate SQLite syntax diagrams. (check-in: 7257380b2f 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) | |
22:28 | More improvement to userman.md: mostly spelling and grammar, but also added a few examples and documented "solid" for the first time. (check-in: 1bf8d9ee3d user: wyoung tags: trunk) | |
22:10 |
Updated the old "140 HTML colors" we map to RGB values to cover the
current standards thru CSS Color Module 4. Basically, this adds seven
new "grey" variants for the "gray"s we previously had plus the honorary
"Rebecca purple": https://en.wikipedia.org/wiki/Shades_of_purple#Rebecca_purple
This commit also fixes some capitalization in colors where compound nouns were "spelled" as two words with an intercap: honeydew, firebrick, cornflower, goldenrod, etc. These are single words, so they should not have the intercap. (check-in: b738db71f1 user: wyoung tags: trunk) | |
21:29 | Clarify where text annotations are located for a multi-segment line or arrow. (check-in: e5c7a219be user: drh 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) | |
21:08 | Assorted improvements to userman, mainly grammar, but some semantic improvement, as with the "anchor" term. (check-in: 427b07ef5f user: wyoung tags: trunk) | |
19:52 | Applied fixes and improvements to doc/differences.md proposed [on the forum](https://pikchr.org/home/forumpost/f6b7e5fbdch). (check-in: 1cac9cd8f2 user: wyoung tags: trunk) | |
13:35 | Ensure that the token length field is always initialized when processing macro errors. (check-in: 7364250d71 user: drh tags: trunk) | |
12:42 | Add Warren's flowchart as a test case. (check-in: 519c643ddf user: drh tags: trunk) | |
12:31 | Add the "Purpose and Scope" document. (check-in: 35f6eff153 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-28
| ||
18:42 | Tweaks to layout after making changes to the y-position of text based on its font size. (check-in: 1e17658696 user: drh tags: trunk) | |
18:28 | Add test to the user manual on how to prevent upside down aligned text on right-to-left arrows. (check-in: 6e137536da user: drh tags: trunk) | |
17:54 | Documentation on the arrowhead control attributes. (check-in: 7d0d48d750 user: drh tags: trunk) | |
2020-10-21
| ||
16:30 | Fix harmless compiler warnings. (check-in: ac0ee529a8 user: mistachkin tags: trunk) | |
2020-10-11
| ||
23:20 | Fix documentation typos. (check-in: b1d01d99f9 user: drh tags: trunk) | |
12:10 | Updated _txt2js.bash for file extension change .txt==>.pikchr. (check-in: 96d871d8f6 user: stephan tags: trunk) | |
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
| ||
22:33 | The documentation is now complete enough that we can take off the "under development" banner. (check-in: 1001eda7d2 user: drh tags: trunk) | |
21:12 | Continuing work on the user manual. Add the "chop.md" doc file and link it into the grammar spec. (check-in: 002a494715 user: drh tags: trunk) | |
20:31 | Restore top and bottom margins to auto-fit lost in the previous check-in. (check-in: 084a575436 user: drh tags: trunk) | |
20:23 | Improvements to vertical text layout when the font size is big or small. (check-in: 6c7e991bdc user: drh tags: trunk) | |
19:30 | Work on the user manual. (check-in: c503134e35 user: drh tags: trunk) | |
2020-10-07
| ||
10:56 | Set the exit code for the pikchr utility program even when running in --svg-only mode. (check-in: b747c5a29e user: drh tags: trunk) | |
08:28 | Applied [1278cb9154] to pikchr.y (was previously only applied to the generated pikchr.c). Also a thoroughly pedantic main() result code portability tweak. (check-in: 083f9c9bfd user: stephan tags: trunk) | |
05:31 | Increase the maximum token size to 50,000 bytes. (check-in: 1278cb9154 user: drh tags: trunk) | |
2020-10-06
| ||
20:05 | If the PIKCHR_PLAINTEXT_ERRORS flag is set, then render error messages as text/plain instead of as text/html. (check-in: 893ad17472 user: drh tags: trunk) | |
11:37 | The "pikchr" command-line tool returns non-zero following any error. (check-in: e13cade368 user: drh tags: trunk) | |
2020-10-02
| ||
18:55 | Talk about auto-fit in the fit.md document and in differences document. (check-in: 9748b7fea4 user: drh tags: trunk) | |
18:03 | Continuing work on the grammar definition: talk about the "define" and "assert" statements. Give examples of using "print". (check-in: 9af43143e3 user: drh tags: trunk) | |
2020-10-01
| ||
19:22 | Add an optional TCL interface, enabled using the -DPIKCHR_TCL compile-time option. (check-in: b1de53d92c user: drh tags: trunk) | |
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) | |
22:37 | Bug fix: Allow "with end" and "with start". (check-in: 057f4e9011 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) | |
18:58 | Fix a tokenizer issue. (check-in: f50877a402 user: drh tags: trunk) | |
18:46 | Add support for PIC-style macro processing. More testing needed. Documentation has yet to be updated. (check-in: 62d134dd59 user: drh tags: trunk) | |
16:45 | Refactor internal names for consistent usage of "Statement" of "Object" and avoiding the PIC-term of "Element". "Statement" means a unit of the input text. "Object" means a graphics object. There should be no changes in behavior or in the public interface. (check-in: 3067d5c115 user: drh tags: trunk) | |
2020-09-26
| ||
19:52 | Improvements to grammar rule diagrams. (check-in: 60669846b3 user: drh tags: trunk) | |
2020-09-24
| ||
17:15 | For an empty input file, just return a comment - no SVG element. (check-in: 8a236675c9 user: drh tags: trunk) | |
13:09 | Identify unknown variables - fixing a bug in previous check (check-in: 536ffedbc8 user: drh tags: trunk) | |
12:38 | Make it possible to set the fill color to "None" or "Off" (check-in: d7c76d88ee 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) | |
13:08 | Expanded the section on pikchr placement/alignment/toggling in usepikchr.md. (check-in: 6f8f2c917d user: stephan tags: trunk) | |
12:34 | Tiny typos. (check-in: fe48d9a808 user: stephan tags: trunk) | |
2020-09-21
| ||
17:56 | Update pikchr.c to conform to the latest pikchr.y (check-in: 60b9711a9d user: drh tags: trunk) | |
17:55 | Fix an error in a comment. No changes to code. (check-in: 9434594e58 user: drh tags: trunk) | |
14:15 | Fix a layout bug introduced by check-in [39b7f8faf3dc6d96] (check-in: 167da117a6 user: drh tags: trunk) | |
14:10 | Add an xmlns header to the <svg> element. (check-in: 4e5592c390 user: drh tags: trunk) | |
12:59 | Improved validation of the PElem.eWith value in the xOffset() method. Add the cZeroPoint for point (0,0) and use it as an initializer. (check-in: e46c7bdd64 user: drh tags: trunk) | |
12:51 | Fix uninitialized PElem.eWith value, possibly causing errors via the use of uninitialized values. (check-in: 39b7f8faf3 user: drh tags: trunk) | |
07:47 | New feature: Function `intersect` of two lines. (Leaf check-in: 2beb671cae user: aku tags: new-feature-func-intersect) | |
05:13 | typo fixes. (check-in: 1d26c4521f user: aku tags: trunk) | |
01:26 | Use a more compelling diagram on the homepage. (check-in: f1898914f1 user: drh tags: trunk) | |
00:35 | Add a source-code line in the How To Integrate document. (check-in: e2ec58ce06 user: drh tags: trunk) | |
00:30 | Put a copy of the "pikchr.c" source file into the source repository so that remote users of Pikchr do not need to run Lemon. (check-in: c56dbf600b user: drh tags: trunk) | |
00:12 | Add the "How To Integrate" document. (check-in: 499673ccbf user: drh tags: trunk) | |
2020-09-20
| ||
23:30 | Continuing work on the grammar documentation. (check-in: 136db5b9f6 user: drh tags: trunk) | |
22:43 | Allow "of the way between" position forms to have a fraction that is less than 0.0 or greater than 1.0. Grammar updates. (check-in: f6305ed99c user: drh tags: trunk) | |
16:41 | Homepage updates (check-in: 0eec937ba2 user: drh tags: trunk) | |
15:49 | Fix minor typos in pathattr.md (check-in: 0ad7e31820 user: drh tags: trunk) | |
15:39 |
Add the impossible trident to the examples.
# Impossible trident pikchr script # https://en.wikipedia.org/wiki/Impossible_trident # pikchr script by Kees Nuyt, license Creative Commons BY-NC-SA # https://creativecommons.org/licenses/by-nc-sa/4.0/ scale = .4 eh = 0.5cm ew = 0.2cm ed = 2 * eh er = 0.4cm lws = 4.0cm lwm = lws + er lwl = lwm + er ellipse height eh width ew L1: line width lwl from last ellipse.n line width lwm from last ellipse.s LV: line height eh down move right er down ed from last ellipse.n ellipse height eh width ew L3: line width lws right from last ellipse.n to LV.end then down eh right ew line width lwm right from last ellipse.s then to LV.start move right er down ed from last ellipse.n ellipse height eh width ew line width lwl right from last ellipse.n then to L1.end line width lwl right from last ellipse.s then up eh→ /pikchrshow | |
15:29 | Fix the spelling for Obstacle. (check-in: 487feb1617 user: drh tags: trunk) | |
15:28 | Add discussion of the "close" attribute to pathattr.md (check-in: d70ddb1b05 user: drh tags: trunk) | |
15:05 | More work on the pathattr.md document. Fix the assert() statement to work on any "position", not just places. (check-in: 1f921fa3af user: drh tags: trunk) | |
13:34 | Update the built-in Lemon code to the latest from the SQLite project. (check-in: ddf77efde1 user: drh tags: trunk) | |
13:30 | Add the --dont-stop flag to the command-line shell. (check-in: 31cac8431d user: drh tags: trunk) | |
01:00 | link typo fix (check-in: c17d8a6244 user: akupries tags: trunk) | |
00:58 | typo fixes (check-in: f9fc7cdd2c user: akupries tags: trunk) | |
00:24 | Work on the grammar.md document. (check-in: 4613dc881d user: drh tags: trunk) | |
2020-09-19
| ||
20:34 | typo fixes, slight clarifications (check-in: 7435ba3de4 user: akupries tags: trunk) | |
20:07 | New exercises at the end of the teardown01.md tutorial. (check-in: 9cf7b6a29b user: drh tags: trunk) | |
20:02 | Minor improvements to the teardown01.md tutorial. (check-in: 6a37d88b5b user: drh tags: trunk) | |
19:34 | Document that the "arc" object does not actually draw an arc, and justify this behavior. (check-in: f21d9fd617 user: drh tags: trunk) | |
18:37 | Improve comments to clarify the difference in ".end" points for closed lines. (check-in: 5a6868431f user: drh tags: trunk) | |
18:13 | New variables (such as "rightmargin") are mentioned and described in the "differences.md" document. There is also some discussion of the parsing ambiguity associated with "thickness", "color", and "fill". (check-in: 7f10ca0e9d user: drh tags: trunk) | |
17:54 | New variables to match "rightmargin": "leftmargin", "topmargin", and "bottommargin". (check-in: b4ce4c2d69 user: drh tags: trunk) | |
15:32 | Add the "teardown01" tutorial of one of the graph diagrams. (check-in: d83d90769e 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) | |
13:03 | Variables "color", "fill", and "thickness" are also keywords, which means they cannot be used in an expression. But, they are (as of this check-in) usable in an expression as long as they are enclosed in parentheses. (check-in: 21d6ab90ec user: drh tags: trunk) | |
05:00 | typo fixes (check-in: 6cbc20098c user: akupries tags: trunk) | |
04:47 | Improved header notes to the language grammar. (check-in: 8700a4bf20 user: drh tags: trunk) | |
04:28 | Do not crash on a bad "behind" argument. (check-in: 1ca8147fc3 user: drh tags: trunk) | |
04:15 | Enhancements to the rebase/merge graph example. (check-in: 2ae8e6e8ea 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) | |
22:54 | Improved estimates for the width of bounding boxes on text. (check-in: f9c0f4dcdc user: drh tags: trunk) | |
20:03 | When the scale variable is not 1.0, let SVG itself do the scaling for us, since it is way better at doing the font scaling. (check-in: 8bb62c9e24 user: drh tags: trunk) | |
19:27 | Fix bounding-box computations for rotated text. (check-in: fdf4a6d1c0 user: drh tags: trunk) | |
18:09 | Resync heads. (check-in: 9aac91e437 user: akupries tags: trunk) | |
18:08 | New example: SQLite Architecture Diagram. (check-in: 72b802e050 user: drh tags: trunk) | |
18:07 | Math fixes reported by JohnQSmith, with thanks (check-in: 17561bac7c user: akupries tags: trunk) | |
17:01 | Typo fix (check-in: 166b96f62f user: akupries tags: trunk) | |
16:10 | Omit the wiki sandbox link from the homepage, as it does not seem to be particularly instructive to new users. (check-in: 3a898eb862 user: drh tags: trunk) | |
15:42 | Add the examples page. (check-in: 51f1a72b72 user: drh tags: trunk) | |
15:18 | The pikchr command-line shell now outputs HTML that uses click to view the original source code. The --svg-only option is available to output pure SVG. (check-in: 75e399eb41 user: drh tags: trunk) | |
11:07 | Update code examples in diagrams.md to make use of the "source" tag. (check-in: eaee7e2181 user: drh tags: trunk) | |
00:11 | Typo fixes (check-in: d27aad291c user: akupries tags: trunk) | |
2020-09-17
| ||
21:29 | Explain how to click or ctrl-click to swap views in the userman.md document. (check-in: 2e5fb75ca9 user: drh tags: trunk) | |
18:15 | Typo and markup fix. (check-in: 356fb33e7b user: akupries tags: trunk) | |
17:44 | Typo fixes (check-in: 8dfbca2e45 user: akupries tags: trunk) | |
17:10 | Add a first cut at build documentation. (check-in: 06c6fee2bc user: drh tags: trunk) | |
15:27 | Add notes on text attributes. (check-in: 82690fa770 user: drh tags: trunk) | |
14:24 | Tweaks to user manual text. Make all of the diagrams "indent" rather than "center". (check-in: 08719aa710 user: drh tags: trunk) | |
2020-09-16
| ||
22:12 | Typo and slight style fixes (check-in: d449197872 user: akupries tags: trunk) | |
20:47 | First draft of the differences document seems roughtly complete. (check-in: 51cce0dd6c user: drh tags: trunk) | |
20:03 | Minor fixes for "fit" and for "fill" on file and cylinder objects. (check-in: 68d6363ec3 user: drh tags: trunk) | |
20:00 | Typo fix (check-in: 9f45d6b16e user: akupries tags: trunk) | |
19:32 | Continuing improvements to the differences.md document. Saving work due to an interrupt and context swap. (check-in: 2f68fd1144 user: drh tags: trunk) | |
19:15 | Typo fix (check-in: 4fdf4d371f user: akupries tags: trunk) | |
18:59 | Fix the bounding box and center and text alignment on chopped lines. (check-in: 972d366695 user: drh tags: trunk) | |
18:45 | Homepage and "differences.md" updates. (check-in: 403a686494 user: drh tags: trunk) | |
16:56 | Fix harmless compiler warnings in Lemon. (check-in: 74f5f43883 user: drh tags: trunk) | |
16:23 | Fix harmless compiler warnings. Add -Wextra to the makefile. Remove dead code. (check-in: 96f1706310 user: drh tags: trunk) | |
15:51 | Update the Makefile to enable ASAN and USAN for fuzzer builds. (check-in: 5f44fb98f1 user: drh tags: trunk) | |
15:30 | More tokenizer bug fixes. (check-in: 82755ddcd1 user: drh tags: trunk) | |
15:22 | Fix a bug in tokenizing hexadecimal integer literals. (check-in: 139ab37ee9 user: drh tags: trunk) | |
15:19 | Fix a bug in the tokenizer for an early end to numeric literals. (check-in: 6e27d5b47c user: drh tags: trunk) | |
15:12 | Bug fix in the tokenizer looking for ".x" and ".y" tokens. (check-in: 6a486324bb user: drh tags: trunk) | |
15:09 | Always pass the Pik class into the chopper method. (check-in: f47467165f user: drh tags: trunk) | |
12:59 | New test case for .start and .end of closed lines. (check-in: f4dfa4ef84 user: drh tags: trunk) | |
12:19 | Use stroke-linejoin=round on multi-segment lines. Fix the header on the boundary-point test case to say "11 boundary" points instead of 9, because there really are 11. (check-in: 6631b85842 user: drh tags: trunk) | |
12:09 | On a "same as" for a line, the path is copied, but if the target subsequently changes the path, the copied-in path is completely overwritten. (check-in: 9f39c4c772 user: drh tags: trunk) | |
10:35 | Bug fix: doing a "same" of a dashed object was making the new object dotted. (check-in: 2e7f9a2521 user: drh tags: trunk) | |
10:16 | Fix typos in the user manual. (check-in: 1c01b2b6b9 user: drh tags: trunk) | |
04:14 | Remove some obsolete code. Continuing work on the user manual. (check-in: c77dfc2203 user: drh tags: trunk) | |
02:39 | Improvements to comments to explain the differences in layout direction change behavior between PIC and Pikchr. (check-in: fa61426193 user: drh tags: trunk) | |
00:51 | Work on the user manual. (check-in: 3c2a8bdea5 user: drh tags: trunk) | |
2020-09-15
| ||
23:47 | Minor doc typo reported in the forum. (check-in: e0af8d9472 user: stephan tags: trunk) | |
20:40 | Fix a typo in a comment. (check-in: e4341aeb73 user: drh tags: trunk) | |
13:24 | Include the source text in the generated output if the PIKCHR_INCLUDE_SOURCE flag is provided to the pikchr() routine. Make that flag discoverable by makeheaders. Futher interface improvements are pending. (check-in: 8fa7c91a51 user: drh tags: trunk) | |
04:15 | Comment typo fixes. Remove unused fields from the Pik object. (check-in: a2f110ece0 user: drh tags: trunk) | |
03:41 | Many documentation updates (check-in: d64071beee user: drh tags: trunk) | |
00:50 | New grammar documentation updates. (check-in: d2a76cd560 user: drh tags: trunk) | |
2020-09-14
| ||
20:40 | Begin adding documentation on the various block object types. (check-in: 413cda247f user: drh tags: trunk) | |
20:38 | Merged in trunk. Changed pikchr svg metadata namespace URL to point to grammar.md. Lowercased namespace metadata XML nodes based on advice from around the net on the topic vis a vis compatibility with HTML5. (Closed-Leaf check-in: 4860729b9c user: stephan tags: pikchr-src-in-metadata) | |
19:21 | In the grammar documentation, make "object-class" a new non-terminal, rather than a token class. This provides the opportunity to add "Info" links on each class for more information. (check-in: f1a7b5b9a8 user: drh tags: trunk) | |
17:12 | Typo fix in documentation. (check-in: aadd7b158e user: drh tags: trunk) | |
17:02 | Dot objects cause no change the exit point from the previous object. (check-in: 26c4c8dc45 user: drh tags: trunk) | |
16:45 | Fix handling of a "to" without a "from". (check-in: 5a8158500f user: drh tags: trunk) | |
16:25 | The magic "#breakpoint" comment invokes pik_breakpoint() where one can set a breakpoint to simplify debugging. Fix a problem with "to" ignoring the prior "then". (check-in: 6d3f68fe79 user: drh tags: trunk) | |
16:07 | Fix handling of redundant points at the end of a line. (check-in: 58aa2dd42d user: drh tags: trunk) | |
15:52 | Fix bounding boxes for arc objects. (check-in: ad2ecdf550 user: drh tags: trunk) | |
14:33 | Fix documentation typos. (check-in: d4b0dc1178 user: drh tags: trunk) | |
07:21 | Removed extraneous pikchr:src node class attribute as there is indeed a (funky) way to select namespaced nodes in document.querySelector(). (Closed-Leaf check-in: 2866454aea user: stephan tags: mistake) | |
07:13 | Added a class attribute to the pikchr:src metadata node because JS does not seem to be able to select namespace-qualified nodes by node name. (Edit: not needed - branching off and closing it.) (check-in: d5f7032b0c user: stephan tags: mistake) | |
06:56 | Added Pik::mFlags, set via pikchr()'s 3rd arg. Added original pikchr source code in a metadata tag, which survives loading and re-saving via inkscape. That needs to be fixed to only emit when a certain flag is set, but how to properly add such flags to the public API is not clear. (check-in: ac8d73bc6a user: stephan tags: pikchr-src-in-metadata) | |
06:50 | Fixed another snprintf() warning from gcc and added a missing space before a style attribute upon which my local SVG viewer choked. (check-in: 42f0c4c6eb user: stephan tags: trunk) | |
05:33 | example scripts: added 'demo label:' comment line to each and extract that string from _txt2js.bash for use in the pikchrshow example script list. (check-in: 8d2e16b163 user: stephan tags: trunk) | |
05:25 | Fix the description comment on the PRel object. (check-in: dd8c6dbf50 user: drh tags: trunk) | |
05:17 | More updates to the grammar document. (check-in: 6ae3259846 user: drh tags: trunk) | |
04:14 | Minor fixes to grammar documentation. (check-in: dea257f745 user: drh tags: trunk) | |
04:03 | Consistently allow percentage changes to distances. (check-in: a28d73cd53 user: drh tags: trunk) | |
01:20 | Fix typos in the grammar document. (check-in: 5e0cfc83b4 user: drh tags: trunk) | |
01:13 | Work on the grammar definition. (check-in: 8b7324f385 user: drh tags: trunk) | |
2020-09-13
| ||
22:44 | Attempt to silence compiler warning having to do with snprintf(). (check-in: af9cc3457d user: drh tags: trunk) | |
22:39 | Test cases for boundary points on lines. (check-in: 1511967cfb user: drh tags: trunk) | |
21:05 | Test case updates. (check-in: 8ddae3e4d2 user: drh tags: trunk) | |
20:55 | Make ".center" work to describe the center of an object. (check-in: 6b7607e1bf user: drh tags: trunk) | |
18:43 | Boundary point name tests. (check-in: 691d7f2556 user: drh tags: trunk) | |
17:55 | Fix the // commenting so that it does not absorb the newline at the end. (check-in: ed8fe5b2c8 user: drh tags: trunk) | |
17:45 | Improvements to the grammar. Add the doc/grammar.md documentation file. (check-in: 9a88622de7 user: drh tags: trunk) | |
15:12 | Fix test cases. (check-in: 62bce3419e user: drh tags: trunk) | |
15:00 | Remove the non-standard "(x of place)" construct and similar. Fix up test cases. (check-in: 79c5ef49aa user: drh tags: trunk) | |
14:46 | Add the --no-echo option to the testing interface and use it for "make test". (check-in: ece95a43d0 user: drh tags: trunk) | |
14:29 | Simplified grammar for expressions. Added the assert() statement for testing purposes. (check-in: 50861552e7 user: drh tags: trunk) | |
11:30 | Output text spaces as U+0080 instead of " " since the entity is not valid for XML. See fossil forum post c8e3b12fd4 and follow-ups. (check-in: 1abeb30348 user: drh tags: trunk) | |
00:57 | userman.md: added a note about indentation of code after symbolic names not being syntactically significant. Experimentally linked a 'Try it' comment to /pikchrshow?content=the-script, which works fine for tiny scripts but would be exceptionally tedious for larger ones. (check-in: a669f814ec user: pi tags: trunk) | |
00:55 | Restore the "expr < position,position >" syntax as a shorthand for "expr of the way between position and position". (check-in: b47930d1e4 user: drh tags: trunk) | |
00:47 | Simplify the grammar for the "with" clause. Abandon the idea of being able to set multiple constraints using "with" (check-in: 11ca6d3f73 user: drh tags: trunk) | |
00:39 | Add the "behind <object>" syntax. (check-in: e0edd8bfda user: drh tags: trunk) | |
2020-09-12
| ||
23:14 | Use the hypot() function instead of sqrt() when computing distances between two points. (check-in: b4e618899c user: drh tags: trunk) | |
22:25 | Typos in user manual (check-in: 46136e0e28 user: drh tags: trunk) | |
22:17 | Updates to the homepage with links to currently available documentation. (check-in: 05ed1ffaaf user: drh tags: trunk) | |
20:55 | Continuing work on the user manual. (check-in: 96a40057b6 user: drh tags: trunk) | |
19:25 | Added examples/_txt2js.bash to convert .txt scripts to something usable by Fossil's pikchrshow page's example/curated scripts. A minor syntactic tweak to objects.txt was necessary for that conversion to work: pikchr lines which end in a backslash need a space before that backslash or JS will end up combining the 2 lines with no space between them, leading to a pikchr syntax error. (check-in: e42e629b76 user: stephan tags: trunk) | |
18:03 | A few initial words of a user manual. (check-in: efb0f4a0a2 user: drh tags: trunk) | |
18:03 | Allow access to .start and .end for block elements. (check-in: 314861073a user: drh tags: trunk) | |
03:57 | Add the "go dist heading angle" syntax for adding new vertexes to a line. This makes examples/objects.txt easier to understand. I suspect it will also make syntax diagrams easier to draw. (check-in: 3d4eed4f2d user: drh tags: trunk) | |
02:20 | Fixes to text spacing and alignment. Improvements to test cases and example cases. (check-in: f2f098afbd user: drh tags: trunk) | |
01:49 | Make "previous" an alias for "last" since "2cm right of previous" reads better than "2cm right of last". Begin adding examples. The current examples show a problem with text layout. (check-in: 424454a256 user: drh tags: trunk) | |
2020-09-11
| ||
23:56 | Improved text justification rules, especially for text inside of boxes. (check-in: 914e474cce user: drh tags: trunk) | |
20:54 | Add the "file" class. (check-in: 01221a9e5c user: drh tags: trunk) | |
19:42 | New attributes "thick" and "thin" and text attributes "big" and "small" (check-in: 9d069854e0 user: drh tags: trunk) | |
17:32 | Generate SVG in a viewBox to be more mobile-friendly. (check-in: b0fb277485 user: drh tags: trunk) | |
01:36 | Do a better job of estimating the bounding boxes on text. (check-in: 45e6c38f4e user: drh tags: trunk) | |
2020-09-10
| ||
22:58 | Improvements to the "element" grammar rule. (check-in: 15462b7240 user: drh tags: trunk) | |
22:55 | Make the default size of arrowheads a little shorter and a little wider. (check-in: 90042280b6 user: drh tags: trunk) | |
20:48 | Modularize the computation of text length, for possible use to improve computation of bounding boxes on text. (check-in: ad112120df user: drh tags: trunk) | |
20:34 | Support for the "fontscale" variable. (check-in: 30ffe8d589 user: drh tags: trunk) | |
18:56 | Make the README.md short so that it does not unnecessarily clutter up the "Files" screen. Provide a link to a separate "homepage.md" file. (check-in: bcd281da0c user: drh tags: trunk) | |
17:18 | Add necessary spaces to circles and ellipses (check-in: c629e766b1 user: drh tags: trunk) | |
16:51 | Fix a bug in text formatting wherein "bold" and "italic" is lost for multi-line text objects. (check-in: 810e25e4b9 user: drh tags: trunk) | |
16:12 | Allow up to 5 text strings on each object. Improved layout of those strings. Fix the variable assignment so that you can change and "print" the "thickness" variable. (check-in: b61a32b23e user: drh tags: trunk) | |