Fossil

Timeline
Login

Timeline

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

26 check-ins using file src/pikchr.c version abbb16e518

2020-09-18
13:18
Be careful to honor the auto-hyperlinks setting when it is off, and not display any hyperlinks. See [forum:5a7530639a|forum post 5a7530639a] for the bug report. ... (check-in: b190858e97 user: drh tags: trunk)
11:27
Fix minor formatting error in the HTML for hierarchical forum. ... (check-in: 7221e497fc user: drh tags: trunk)
10:32
An alternate impl for centering pikchrs which does not rely on margin:auto. ... (check-in: 2963f440e8 user: stephan tags: trunk)
09:21
Fixed a preview quirk which caused the pikchr click handlers to not get processed on wikiedit/fileedit previews after the first one. ... (check-in: 052d374809 user: stephan tags: trunk)
07:48
Made the return code of a bit of new code match its docs. ... (check-in: 539eb61f85 user: stephan tags: trunk)
07:37
The routines which emit fossil.XYZ.js modules now understand their dependencies, emit any deps in dependency order (recursively), and do not emit a given module more than once (simplifies usage and is an and overall improvement in cacheability). Added the pikchr click support to more pages. ... (check-in: 9b2b6f5b1c user: stephan tags: trunk)
05:07
Minor C-side fossil JS API simplification to ease upcoming changes. ... (check-in: 58d86b16bf user: stephan tags: trunk)
04:10
pikchr js: hide/show the SVG's parent element instead of the SVG, so that output from pikchr print commands is hidden when the source is shown. ... (check-in: 43116c73fd user: stephan tags: trunk)
03:28
Clarify the origin of JS in the generated HTML. ... (check-in: 6854244949 user: drh tags: trunk)
02:54
Always include a \n after the opening safe_html() nonce when generating Pikchr output, for improved human readability of the generated HTML. ... (check-in: 39b2081e6e user: drh tags: trunk)
01:21
pixchr layout changes requested at [https://pikchr.org/home/forumpost/504f54f61b]. See the comments about alt/ctrl/meta keys. ... (check-in: cd22f0f07d user: stephan tags: trunk)
2020-09-17
23:44
pikchr command doc updates. ... (check-in: 82a0b517a7 user: stephan tags: trunk)
23:25
Removed some console.debug() output and fixed extraneous breaks which caused markdown_to_html() to stop afer processing a single tag. ... (check-in: 67060c5090 user: stephan tags: trunk)
23:11
Renovated the pikchr click handling as discussed off-list with drh. ... (check-in: 938bb6c708 user: stephan tags: trunk)
21:09
Toggle Pikchr between SVG and source code using ctrl-click. Or if the Pikchr was created using the "toggle" tag, an plain old single-click will suffice. ... (check-in: d88444e265 user: drh tags: trunk)
19:31
Misuse of a potentially unsigned value, caught by clang. Only affected platforms where char is unsigned by default. ... (check-in: 5c92bbfca7 user: stephan tags: trunk)
19:30
Toggle between SVG and Pikchr source code using the "hidden" class and use ctrl-click rather than double-click. ... (check-in: 22ba9a41e4 user: drh tags: trunk)
19:20
Cleanup the double-click source display for Pikchr. ... (check-in: 5634dfeb2f user: drh tags: trunk)
18:04
Put the javascript for SVG/source toggling inside of the safe-html nonce so that it survives safing. ... (check-in: ebf5b59570 user: drh tags: trunk)
17:58
Experimental double-click to toggle between SVG and pikchr source. ... (check-in: 3c786c6fc3 user: drh tags: trunk)
17:17
Pedantic CSS tweaks. ... (check-in: 5b93a4da73 user: stephan tags: trunk)
17:13
pikchr source view: tentatively re-added the copy button (only in source view, not SVG), but it now switches back to SVG mode if it successfully copies the source code. ... (check-in: d369f4f389 user: stephan tags: trunk)
16:52
pikchr mode swap: tapping on an SVG switches modes and enables the mode-select button. Leaving source view mode requires activating that button (which works like before, but is only visible in source mode). ... (check-in: 2a2be01319 user: stephan tags: trunk)
16:31
Implemented most of the feedback from [https://pikchr.org/home/forumpost/f538d8e7f7], with the exceptions being documented in that thread. /pikchrshow now longer uses the mode-swap feature (seems superfluous there) and tapping anywhere in the body, outside of the source/svg container element, now turns off those buttons on all pikchrs where they are currently visible. Consolidated pikchr-rendering impl for markdown/fossil/pikchrshow/pikchr command. ... (check-in: 4f69773183 user: stephan tags: trunk)
2020-09-16
22:25
Changelog update per forum request. ... (check-in: b816bae3f2 user: stephan tags: trunk)
20:49
In pikchr: fix minor details on drawing filled "file" objects and the "fit" operator on "cylinder" objects. ... (check-in: db02f9b889 user: drh tags: trunk)