Fossil

Timeline
Login

Timeline

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

50 events occurring around 681d5cdbfb503cc8.

2020-09-15
13:24
Include pikchr source text in the generated SVG. ... (check-in: 041390d3f8 user: drh tags: trunk)
12:59
Fix the file_mkfolder() function so that it works for files in the root directory. ... (check-in: 74c4732fd2 user: drh tags: trunk)
07:53 Edit [893bf2a146be9e9c|893bf2a146]: Edit check-in comment. ... (artifact: f601cc6072 user: stephan)
07:51
Consolidate pikchrshow page/pikchr command use of pikchr()/th1 into a shared routine. Though /pikchrshow does not currently allow th1-processed scripts, it might be interesting to enable for users with edit/checkin (or admin) rights. ... (check-in: 893bf2a146 user: stephan tags: trunk)
04:42
Found a couple snazzy icons for the pikchr view mode change button. ... (check-in: 927c90e88f user: stephan tags: trunk)
2020-09-14
23:42
The window.fossil bootstrapping code now adds the CSS class 'fossil-dark-style' to the body element if the skin has a true white-foreground setting. The initial use case for this is CSS-based color changing for pikchr SVGs, so that the same pikchrs work in light and dark themes. ... (check-in: e8f603f03a user: stephan tags: trunk)
21:40
pikchrshow: corrected clipboard copy contents for raw SVG mode (it was including containing DIV element). ... (check-in: bb56d3d5a2 user: stephan tags: trunk)
17:03
New pikchr.c that fixes an additional problem with "to" terms on line paths and that ensures that "dot" objects to not change the exit point. ... (check-in: 863d272205 user: drh tags: trunk)
16:29
New pikchr.c fixes an issue with handling of the "to" phrase on a line that already has an incomplete direction add. ... (check-in: 868c38e361 user: drh tags: trunk)
15:53
New pikchr.c that fixes the arc bounding box problem. ... (check-in: c17f5fe246 user: drh tags: trunk)
15:08
pikchr: experimentally only show the source/svg and copy buttons when the mouse is over the pikchr area or the user taps on it (which toggles the buttons). This allows us to make them a bit bigger and keeps them from blocking nearby UI elements when they're not needed. ... (check-in: 460376e6a4 user: stephan tags: trunk)
13:36
pikchr: documented what appears to be a fundamental incompatibility between our desire to open the source view in the same size/pos as the SVG view and how centering is handled. We seem to have two evils to choose from and currently use what seems to be the lesser of them. ... (check-in: a35126bf28 user: stephan tags: trunk)
11:17
When toggling pikchr SVG/src view, unset parent element's max-width for src view and re-install it for SVG view. This allows small images to have a sanely-sized source view. ... (check-in: 212d01c1ae user: stephan tags: trunk)
11:12
Had to move the pikchr svg/source buttons along the top to keep them from getting truncated off-screen in the forum. Added them to the forum. There are sizing problems of the source view for small pics because the parent element has a fixed max-width. ... (check-in: 4e6aeb5fb3 user: stephan tags: trunk)
10:48
Renamed fossil.pikchr-util.js to fossil.pikchr.js. Minor UI tweaks in the pikchr-related bits. ... (check-in: f5c040869d user: stephan tags: trunk)
09:19
Moved SVG/pikchr mode buttons to the left of the SVG so that their positions remain stable when switching images in pikchrshow or resizing them via window-resize in other views. CSS-animated the mode-change button toggle. ... (check-in: b74d1a3fd1 user: stephan tags: trunk)
09:05
Added UI control to toggle arbitrary pikchr SVG files between SVG and source views, along with a copy button to copy the source of the currently-selected view. Requires pikchr.c code which is not currently in the fossil tree, but once that code is imported, this feature will activate automatically. Currently only used by pikchrshow, but is trivial to activate in arbitrary pages. fossil.copybutton API now uses flashOnce as its default oncopy event handler, to simplify its most common usage. ... (check-in: 475b3a7fbb user: stephan tags: trunk)
05:38
Minor pikchr command doc update. ... (check-in: 120558e50d user: stephan tags: trunk)
02:06
pikchrshow now supports stashing a single pikchr to/from browser-local storage to enable switching back and forth between example scripts while editing one's own script. Experimentally re-indented the C-side implementation to make its generated HTML hierarchy clearer. Over-the-wire size is now 4.8kb. ... (check-in: 49a04c97b5 user: stephan tags: trunk)
00:59
/wiki links which pointed to the Sandbox page now link to /wikiedit to accommodate recent changes in the sandbox handling. ... (check-in: 56a744638a user: stephan tags: trunk)
00:55
Typo fix and changelog pikchr update. ... (check-in: d9b4235812 user: stephan tags: trunk)
00:46 Edit [5173701de4b4a3b7|5173701de4]: Edit check-in comment. ... (artifact: 4d92200557 user: stephan)
00:42
Added pikchr CLI command to process pikchr scripts, optionally with embedded TH1. ... (check-in: 5173701de4 user: stephan tags: trunk)
00:27
pikchr command doc updates. ... (Closed-Leaf check-in: f2248f819d user: stephan tags: pikchr-th)
00:08 Edit [7996a7940a7140bf|7996a7940a]: Edit check-in comment. ... (artifact: 681d5cdbfb user: stephan)
00:06
Changed th1 enable_htmlify call semantics. Fixed a bug introduced in [6f7f73b6] which entirely broke th1 rendering in skins. ... (check-in: 7996a7940a user: stephan tags: pikchr-th)
2020-09-13
23:38
Added th1 (enable_htmlify bool) command so that pikchr th1 code in th1Docs has a way of toggling that g.th1Flag off and on. ... (check-in: 6f7f73b6af user: stephan tags: pikchr-th)
22:45
Import the latest pikchr.c code with boundary-point updates. ... (check-in: fbe96ea9e8 user: drh tags: trunk)
22:09
Added captureTh1 to www/th1.md, hyperlinked the entries of the th1 command list to their doc sections, and replaced "a name=..." with "a id=...", as the former is long since deprecated (has the same effect, though). ... (check-in: e7dcfc90f0 user: stephan tags: pikchr-th)
21:37
Added captureTh1 TH1 command which runs TH1 and captures any output as a string, which becomes the function's result. ... (check-in: c3991493b9 user: stephan tags: pikchr-th)
21:23
Centralized handling of the TH_INIT_NO_ENCODE (formerly NO_ESC) flag in sendText(). ... (check-in: b95861fb8a user: stephan tags: pikchr-th)
19:40
Undid part of [dd4b87c0] which was just plain broken. Yes, we do need TH_INIT_NO_ESC, or something similar, to avoid puts HTML-escaping our pikchr quotes. ... (check-in: a5eaa0661e user: stephan tags: pikchr-th)
19:35
Renamed -th-nopic to -th-nosvg because nopic should arguably be nopik, but nopik looks/feels like a typo :/. #FirstWorldProblems ... (check-in: 80f7c6c025 user: stephan tags: pikchr-th)
18:42
It seems we might not need the new TH1_INIT_NO_ESC flag so long as we're just really careful with how we use puts. ... (check-in: dd4b87c0bc user: stephan tags: pikchr-th)
18:27
Merged in trunk for latest pikchr. ... (check-in: 810b8272fb user: stephan tags: pikchr-th)
18:26
Found a workaround for the th1 puts escaping, but am still wondering whether it's a viable long-term solution. ... (check-in: 18abb60d42 user: stephan tags: pikchr-th)
17:51
Update pikchr.c to the lastest version will all of the latest bug fixes. ... (check-in: d9f61a9ab2 user: drh tags: trunk)
16:35
Initial work on a pikchr CLI command which integrates TH1 for programmatic pikchr generation. DO NOT MERGE: the required changes to TH1 need more testing to ensure they do not introduce fallout in the skin output. Also, output redirection is still very imcomplete and TH1 error reporting does not yet do the right thing. ... (check-in: 8a4304eae2 user: stephan tags: pikchr-th)
11:31
Update pikchr.c to a version that avoids using the " " entity. ... (check-in: 931f782ff3 user: drh tags: trunk)
01:15
/wikiedit preview AJAX route tentatively no longer requires WrWiki access, as being discussed over at [https://pikchr.org/home/forumpost/195000ac2f | pikchr:/forumpost/195000ac2f]. ... (check-in: 18dee26eee user: stephan tags: trunk)
00:50
pikchrshow: added 'p' as alias for 'content' URL parameter in the interest of simplifying linking directly to small scripts from the pikchr user manual. ... (check-in: a34e88e007 user: stephan tags: trunk)
00:14
Sitemap: pointed wiki Sandbox at /wikiedit, instead of /wiki, to account for recent sandbox-handling changes. Added a Pikchr Sandbox (/pikchrshow) link under the Wiki section. ... (check-in: 27a26bb44d user: stephan tags: trunk)
00:00
/wikiedit can now be opened if the user has at least RdWiki permissions, primarily to allow access to the Sandbox for pikchr experimentation. A user without WrWiki still cannot save anything, and users without RdWiki cannot open it at all because it would give them access to the list of wiki pages, which they otherwise aren't privvy to without RdWiki. Also added a RdWiki check to the internal wikiedit ajax routes, as those could have potentially leaked pages to unprivileged users who decoded their internal ajax interfaces. ... (check-in: bff3df00b8 user: stephan tags: trunk)
2020-09-12
23:26
Adapted pixchrshow raw SVG preview to account for pixchr output containing an outer DIV. Resolves (for me, anyway) Inkscape import problem reported in the forum. ... (check-in: 2ffd9dd1bf user: stephan tags: trunk)
20:56
Fix the ".end" and ".start" corners for block obects in the Pikchr formatter. ... (check-in: 66b2ae5a58 user: drh tags: trunk)
19:28
Re-imported pikchr's example scripts using the output from its new example-to-js converter. ... (check-in: 4d946271f7 user: stephan tags: trunk)
12:21
Milestone: eliminated the remaining assign-to-DOMElement.innerHTML in the fossil.*.js APIs (ostensible security enhancement), thanks to the DOMParser interface. Fixed an obscure minor bug in /fileedit where a commit message which contained HTML tags could cause the page to misbehave if the 'response manifest' debugging option was turned on. ... (check-in: 79023c9273 user: stephan tags: trunk)
09:47
Minor improvements in fossil.dom and touchups in code which can make use of them. Found a way around using innerHTML assignment for rendering pikchr content. (TODO: genericize that and apply it to wikiedit/fileedit previews.) ... (check-in: 74791f8873 user: stephan tags: trunk)
07:14
Added support for pikchr 'indent' alignment and expanded the fossil.dom.checkbox/radio() methods. ... (check-in: 57c7128b95 user: stephan tags: trunk)
06:20
Imported latest upstream pikchr examples into pikchrshow. ... (check-in: ef7912ce4d user: stephan tags: trunk)