Fossil

Timeline
Login

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

200 most recent check-ins

2020-09-26
15:51
Briefly mention how to invoke Pikchr from the Markdown and Fossil Wiki rule cheatsheets. (Leaf check-in: 4083e5d3 user: drh tags: trunk)
11:24
Update the built-in pikchr.c to include the latest enhancements and fixes. (check-in: 1347e990 user: drh tags: trunk)
11:19
Fix to check-in [9e4ca8948a82ae5e]: Do not set "height:auto" for images in the default CSS, as doing so is not necessary for good mobile operation. (check-in: 1165ed88 user: drh tags: trunk)
10:42
Fix check-in [b07834b386f02f73] so that it correctly handles unquoted HTML attribute values. (check-in: af616bce user: drh tags: trunk)
2020-09-25
03:04
pikchrshow now squirrels away a copy of the raw response SVG, instead of fishing it out the DOM on demand, because in the latter case the browser converts u00a0 characters to nbsp elements, resulting in illegal SVG. (check-in: f45cd279 user: stephan tags: trunk)
2020-09-21
14:21
Latest pikchr.c fixes a variable initialization problem and adds the xmlns attribute to the SVG markup. (check-in: 7de85417 user: drh tags: trunk)
2020-09-20
22:44
Update pikchr.c to allow "fraction of the way between" position forms to have a fraction less than 0.0 or greater than 1.0. (check-in: cab87e34 user: drh tags: trunk)
15:05
Fix the assert() statement in Pikchr so that it works on positions, not just places. (check-in: 24981713 user: drh tags: trunk)
07:41
Removed multiplier from the font size calculation, as it does not work with monospace font. Changed /dir font to monospace only for testing purposes, as that one is our pathological column-width case. (Leaf check-in: 7e8cb38c user: stephan tags: dir-columns-revisited)
07:28
An experiment in improving the /dir column flow. (Not ready to merge.) (check-in: e5121a49 user: stephan tags: dir-columns-revisited)
2020-09-19
16:36
Moved pikchr_process() nonce so that it also applies for error output. Added missing 'error' CSS class to the error-report PRE tag. Added mention of Ctrl-Enter in pikchshow intro text. (check-in: 11e7960e user: stephan tags: trunk)
14:03
Mention skip in bisect options list (check-in: 79499fc4 user: andygoth tags: trunk)
13:58
Clean up the fossil bisect summary per https://fossil-scm.org/forum/forumpost/00503372fc (check-in: 6e45212a user: andygoth tags: trunk)
13:10
Documented a simpler pikchr-centering implementation for potential future use but did not activate it due to concerns about current browser-side availability. (check-in: 16208415 user: stephan tags: trunk)
12:49
Worked around an SVG rendering bug in Chrome by setting the width of all svg.pikchr to 100%, regardless of alignment (previously was only applied to centered SVGs). (check-in: 4ad86dd5 user: stephan tags: trunk)
12:45
Squelched an ominous but harmless error from wikedit when opened with a sandbox page name using any case other than 'Sandbox'. (check-in: 2e828971 user: stephan tags: trunk)
11:04
Update the sqlite3.h file so that the source-id is the same as sqlite3.c (check-in: 09cea3cb user: drh tags: trunk)
04:29
Fix a minor problem with the "behind" attribute in Pikchr (check-in: e5e2dac0 user: drh tags: trunk)
04:09
Update pikchr.c with support for dist(P1,P2) and copying the layer using "same". (check-in: af52ad89 user: drh tags: trunk)
00:44
Convert the diagrams in the "Rebase Considered Harmful" document over to Pikchr. (check-in: 38d6a8f3 user: drh tags: trunk)
2020-09-18
22:55
New pikchr.c with improved estimates for bounding boxes on text. (check-in: bac677f7 user: drh tags: trunk)
21:11
Minor doc updates, removed some dead code. (check-in: 3ec33f98 user: stephan tags: trunk)
20:19
Remove overflow setting on pikchr-src elements. (check-in: 72f8372a user: stephan tags: trunk)
20:01
Added pikchr block 'source-inline' modifier for the 'source' flag which tells the latter that the sources should be rendered inline (same position as the graphic), rather than left-aligned. (check-in: 3f2c0af2 user: stephan tags: trunk)
19:06
Reimplemented pikchr show/hide entirely in CSS, so it's now controlled by toggling the 'source' class on the outermost DIV element. Less JS and easier to implement in 3rd-party pikchr clients. (check-in: 947c0390 user: stephan tags: trunk)
17:43
CSS workaround for centering pikchrs in Chrome. (check-in: d825fcc1 user: stephan tags: trunk)
16:58
Update the built-in pikchr.c and SQLite to the latest from both trees. (check-in: c3de0a99 user: drh tags: trunk)
13:18
Be careful to honor the auto-hyperlinks setting when it is off, and not display any hyperlinks. See forum post 5a7530639a for the bug report. (check-in: b190858e user: drh tags: trunk)
11:27
Fix minor formatting error in the HTML for hierarchical forum. (check-in: 7221e497 user: drh tags: trunk)
10:32
An alternate impl for centering pikchrs which does not rely on margin:auto. (check-in: 2963f440 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: 052d3748 user: stephan tags: trunk)
07:48
Made the return code of a bit of new code match its docs. (check-in: 539eb61f 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: 9b2b6f5b user: stephan tags: trunk)
05:07
Minor C-side fossil JS API simplification to ease upcoming changes. (check-in: 58d86b16 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: 43116c73 user: stephan tags: trunk)
03:28
Clarify the origin of JS in the generated HTML. (check-in: 68542449 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: 39b2081e 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: cd22f0f0 user: stephan tags: trunk)
2020-09-17
23:44
pikchr command doc updates. (check-in: 82a0b517 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: 67060c50 user: stephan tags: trunk)
23:11
Renovated the pikchr click handling as discussed off-list with drh. (check-in: 938bb6c7 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: d88444e2 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: 5c92bbfc 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: 22ba9a41 user: drh tags: trunk)
19:20
Cleanup the double-click source display for Pikchr. (check-in: 5634dfeb 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: ebf5b595 user: drh tags: trunk)
17:58
Experimental double-click to toggle between SVG and pikchr source. (check-in: 3c786c6f user: drh tags: trunk)
17:17
Pedantic CSS tweaks. (check-in: 5b93a4da 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: d369f4f3 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: 2a2be013 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: 4f697731 user: stephan tags: trunk)
2020-09-16
22:25
Changelog update per forum request. (check-in: b816bae3 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: db02f9b8 user: drh tags: trunk)
19:01
New pikchr.c file that fixes alignment of chopped lines. (check-in: 7c28d11d user: drh tags: trunk)
15:30
Bug fixes in the pikchr.c tokenizer. (check-in: 36765403 user: drh tags: trunk)
13:58
Fix problems with the built-in "decompress()" SQL function. (check-in: 449ab5d6 user: drh tags: trunk)
13:45
Update the built-in SQLite and Pikchr to the latest code, for testing. (check-in: ecf679b2 user: drh tags: trunk)
13:21
Make an appropriate entry in the rcvfrom table when doing a git or svn import. See forum post 92db82a45e for details on the problem that this check-in attempts to fix. (check-in: 59ba20f8 user: drh tags: trunk)
08:04
pikchrshow, wikiedit, and fileedit now all respond to ctrl-enter in their editor to refresh the preview. The latter two, on their preview tabs, respond to ctrl-enter to switch back to the editor and give it focus. It's now possible to edit, preview, and switch back to the same editing position without the mouse :). (check-in: a1838297 user: stephan tags: trunk)
04:14
Update to the very latest pikchr.c file for testing. (check-in: a9c54aad user: drh tags: trunk)
2020-09-15
20:52
Allow files to be converted to symlinks and vice versa without an intermediate check-in to delete them (check-in: e0aebc21 user: andygoth tags: trunk)
20:10
Bug fixes in Pandoc identifier generation. Now closed. See branch wiki for discussion. (Closed-Leaf check-in: 77cbe291 user: drh tags: auto-toc)
19:50
Automatic table-of-contents generated for Markdown if there is a tag of the form: <!--markdown: toc=N --> where N is an integer that is the deepest level of content that will be added to the index. The TOC is inserted in place of the magic HTML comment. (check-in: 6142e11d user: drh tags: auto-toc)
19:23
Restore the ability to add symlinks located inside subdirectories (check-in: 9d75d6ae user: andygoth tags: trunk)
19:23
Remove some end-of-line whitespace and fix some very minor comment typos and capitalization errors (check-in: 05379255 user: andygoth tags: trunk)
18:20
Enable automatic paragraph numbering in Markdown using a special HTML comment: "<--markdown paragraph-numbers=on -->" (check-in: d9a70a1d user: drh tags: auto-toc)
16:40
fossil.pikchr.addSrcView() now tags each processed SVG element to avoid potentially processing the same one multiple times. Added fossil.pikchr support to /doc, /wiki, and /wikiedit/fileedit previews. This is harmless if there are no pikchrs or JS is disabled. (check-in: 83f03e91 user: stephan tags: trunk)
15:43
Fix the markdown converter so that it recognizes HTML comments and passes them through into the raw_html_tag callback. (check-in: 881f8664 user: drh tags: trunk)
14:56
Provide a custom structure to the "opaque" pointer of the generic Markdown translator for use when translating Markdown into HTML. (check-in: b61dcef9 user: drh tags: trunk)
14:54
Restrict pikchr svg/source toggle to clicks, per forum feedback. (check-in: 4e757d8c user: stephan tags: trunk)
14:17
When parsing HTML attribute values in Fossil Wiki formatting, do not allow quoting characters inside of non-quoted values. (check-in: b07834b3 user: drh tags: trunk)
14:13
Added post expand/collapse JS to forum post create/edit pages and activated pikchr source/svg toggle on those pages. This is all nice-to-have JS, not required, so won't break non-JS-capable clients. (check-in: db865174 user: stephan tags: trunk)
13:42
Make use of the new PIKCHR_INCLUDE_SOURCE flag via /pikchrshow and the pikchr CLI command. (check-in: 7da8813e user: stephan tags: trunk)
13:24
Include pikchr source text in the generated SVG. (check-in: 041390d3 user: drh tags: trunk)
12:59
Fix the file_mkfolder() function so that it works for files in the root directory. (check-in: 74c4732f user: drh tags: trunk)
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: 893bf2a1 user: stephan tags: trunk)
04:42
Found a couple snazzy icons for the pikchr view mode change button. (check-in: 927c90e8 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: e8f603f0 user: stephan tags: trunk)
21:40
pikchrshow: corrected clipboard copy contents for raw SVG mode (it was including containing DIV element). (check-in: bb56d3d5 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: 863d2722 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: 868c38e3 user: drh tags: trunk)
15:53
New pikchr.c that fixes the arc bounding box problem. (check-in: c17f5fe2 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: 460376e6 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: a35126bf 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: 212d01c1 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: 4e6aeb5f 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: f5c04086 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: b74d1a3f 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: 475b3a7f user: stephan tags: trunk)
05:38
Minor pikchr command doc update. (check-in: 120558e5 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: 49a04c97 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: 56a74463 user: stephan tags: trunk)
00:55
Typo fix and changelog pikchr update. (check-in: d9b42358 user: stephan tags: trunk)
00:42
Added pikchr CLI command to process pikchr scripts, optionally with embedded TH1. (check-in: 5173701d user: stephan tags: trunk)
00:27
pikchr command doc updates. (Closed-Leaf check-in: f2248f81 user: stephan tags: pikchr-th)
00:06
Changed th1 enable_htmlify call semantics. Fixed a bug introduced in [6f7f73b6] which entirely broke th1 rendering in skins. (check-in: 7996a794 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: 6f7f73b6 user: stephan tags: pikchr-th)
22:45
Import the latest pikchr.c code with boundary-point updates. (check-in: fbe96ea9 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: e7dcfc90 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: c3991493 user: stephan tags: pikchr-th)
21:23
Centralized handling of the TH_INIT_NO_ENCODE (formerly NO_ESC) flag in sendText(). (check-in: b95861fb 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: a5eaa066 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: 80f7c6c0 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: dd4b87c0 user: stephan tags: pikchr-th)
18:27
Merged in trunk for latest pikchr. (check-in: 810b8272 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: 18abb60d user: stephan tags: pikchr-th)
17:51
Update pikchr.c to the lastest version will all of the latest bug fixes. (check-in: d9f61a9a 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: 8a4304ea user: stephan tags: pikchr-th)
11:31
Update pikchr.c to a version that avoids using the "&nbsp;" entity. (check-in: 931f782f user: drh tags: trunk)
01:15
/wikiedit preview AJAX route tentatively no longer requires WrWiki access, as being discussed over at pikchr:/forumpost/195000ac2f. (check-in: 18dee26e 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: a34e88e0 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: 27a26bb4 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: bff3df00 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: 2ffd9dd1 user: stephan tags: trunk)
20:56
Fix the ".end" and ".start" corners for block obects in the Pikchr formatter. (check-in: 66b2ae5a user: drh tags: trunk)
19:28
Re-imported pikchr's example scripts using the output from its new example-to-js converter. (check-in: 4d946271 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: 79023c92 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: 74791f88 user: stephan tags: trunk)
07:14
Added support for pikchr 'indent' alignment and expanded the fossil.dom.checkbox/radio() methods. (check-in: 57c7128b user: stephan tags: trunk)
06:20
Imported latest upstream pikchr examples into pikchrshow. (check-in: ef7912ce user: stephan tags: trunk)
06:13
Added style_emit_noscript_for_js_page() to emit a NOSCRIPT tag and an error message if JS is not available, and call it from the pages which *required* JS in order to work. Added a note about potential browser-induced SVG blurring when using the pikchrshow dark mode option. (check-in: 070716d8 user: stephan tags: trunk)
05:41
pikchrshow: discovered that Firefox cannot flexbox a LEGEND element properly, so worked around that. (check-in: c92ff2da user: stephan tags: trunk)
04:33
Work on the pikchrshow drag/drop handling. (check-in: 3ffd3be3 user: stephan tags: trunk)
03:59
Add the latest pikchr.c that supports the "go ... heading ..." syntax for specifying line paths. (check-in: be125040 user: drh tags: trunk)
03:34
pikchrshow: tapping the preview mode label now activates the neighboring copy button. (check-in: 3e10ece7 user: stephan tags: trunk)
03:22
Replaced predefined pikchr script list with the new pikchr examples/*.txt (was tests/*.txt) and cache non-error preview responses for those scripts. This halves the over-the-wire size of fossil.page.pikchrshow.js. (check-in: 62a5d0cf user: stephan tags: trunk)
02:58
Simplified pikchrshow markup alignment selection to a single checkbox. Related CSS/layout tweaks. (check-in: 240646ef user: stephan tags: trunk)
02:24
Update pikchr.c to the latest. This also required a small correction to text alignment in figure 6 of branching.wiki (check-in: c3bb7cd2 user: drh tags: trunk)
00:46
pikchrshow: moved markup alignment selection into the fieldset legend and only show it when the preview is showing one of the markup types. (check-in: be99269d user: stephan tags: trunk)
00:09
Updated /pikchrshow help and changes.wiki to mention pikchr. (check-in: bb31279a user: stephan tags: trunk)
00:00
Import the latest version of pikchr that supports the "file" object type. (check-in: b01fae60 user: drh tags: trunk)
2020-09-11
23:56
Rearranged the pikchrshow controls a bit to make better use of space and reduce flickering of the preview mode label/controls. Adapted CSS for pikchr error reporting structure changes. Code renaming for consistency/clarity. fossil.copyButton() click handler is now a no-op if the pseudo-button element has the 'disabled' CSS class and added style to grey such a button out. (check-in: c304b4ff user: stephan tags: trunk)
22:30
Minor code readability tweaks, nothing functional. (check-in: f73f1e36 user: stephan tags: trunk)
22:24
pikchrshow: saved some space in the button bar and added help buttonlets to explain its two checkboxes. (check-in: 7ddd2781 user: stephan tags: trunk)
21:56
pikchrshow: drag/drop pikchr text files into the textarea. Added a selection list of test/demo scripts which currently includes all of the test scripts from the pikchr repo. That increases the over-the-wire size to 8kb but it caches well. (check-in: d4bb5251 user: stephan tags: trunk)
21:52
fossil.dom: added label() and checkbox() methods. (check-in: ba912d94 user: stephan tags: trunk)
19:58
In the branching.wiki document, make the figure numbers part of the Pikchr, thus avoiding the need for tables, and allowing the figures to scale on mobile devices. (check-in: 299e0643 user: drh tags: trunk)
19:45
New version of pikchr.c that support "thick" and "thin" attributes (which is just a convenience for "thickness 125%" and "thickness 66%" and new text attributes "big" and "small" (which is a new capability). All can be uttered twice for enhanced effect. (check-in: 75d45175 user: drh tags: trunk)
18:40
Fixed /pikchrshow layout at top/bottom, moved the UI controls to sit between the two main elements, and fixed the dark mode CSS selector broken by updates to pikchr's output. (check-in: 2dd0a40e user: stephan tags: trunk)
17:43
Pikchr-generated SVG uses "viewbox" instead of "width" and "height" in an effort to be more mobile-friendly. (check-in: 2defbdb3 user: drh tags: trunk)
17:05
Improved comments on the safe_html_nonce() routine. (check-in: dfa0eee7 user: drh tags: trunk)
16:41
The <verbatim type="pikchr"> markup of Fossil wiki now always puts the resulting image in a separate block, not allowing it to be in-line. (check-in: a0ef47e7 user: drh tags: trunk)
15:40
If the "fossil import --git" command encounters a file that looks like a well-formed Fossil artifact, append a line to the end of that file so that it is no longer a well-formed artifact before importing it. This prevents "manifest" files that found their way into Git from being reinterpreted by Fossil when the repository is reimported back into Fossil. (check-in: 2777682b user: drh tags: trunk)
15:20
Enhancements to the test-parse-manifest command to also test the manifest_is_well_formed() interface. (check-in: 76169644 user: drh tags: trunk)
14:15
Add the manifest_is_well_formed() routine which can quickly check to see if what we believe to be a data file is actually a control artifact of some kind. Add options to the "test-parse-all-blobs" command to verify this interface. (check-in: 0f7eff9e user: drh tags: trunk)
12:20
Fix over-length source code lines in import.c. (check-in: 8d9d8654 user: drh tags: trunk)
01:37
Update to a new version of pikchr.c with improved text bounding box computation. (check-in: 1f2b6ced user: drh tags: trunk)
00:06
Minor CSS and layout tweaks to /pikchrshow layout. Preview mode toggle is now disabled/enabled, rather than hidden/revealed, to help reduce UI jumpiness. (check-in: 2b556f1c user: stephan tags: trunk)
2020-09-10
22:56
Update Pikchr to the latest code from the Pikchr website. (check-in: a5c685fa user: drh tags: trunk)
22:31
pikchrshow: support 4 different preview modes, clipboard copy of previewed content, and markup alignment option (left/center). (check-in: d330c091 user: stephan tags: trunk)
22:15
Fix typo in the 'admin_sql' page. (check-in: e654b300 user: mistachkin tags: trunk)
21:51
Fix misplaced / missing db_unprotect() calls in the 'waliassetup' and 'setup_logo' pages. (check-in: f273832a user: mistachkin tags: trunk)
18:15
Allow the setup pages to change email-send-method. (check-in: 95e73516 user: drh tags: trunk)
17:18
Replace the last separate SVG file in branching.wiki with in-lin Pikchr. Also update pikchr.c to fix missing required whitespaces in the generated circle and ellipse markup. (check-in: 9ec0ccee user: drh tags: trunk)
16:52
Pikchr text formatting bug fix: Preserve "bold" and "italic" on multi-line text objects. (check-in: bf01b429 user: drh tags: trunk)
16:19
Merge in changes for the new /pikchrshow webpage. (check-in: 0b2f8388 user: drh tags: trunk)
16:15
Add in the latest Pikchr module with bug fixes and with support for up to 5 strings per object. (check-in: d6639e46 user: drh tags: trunk)
15:02
Added a small gap to the top of /pikchrshow's content area. (Closed-Leaf check-in: 833dfc1b user: stephan tags: pikchrshow)
13:59
Ajaxified pikchrshow. (check-in: 075f6f8d user: stephan tags: pikchrshow)
07:31
pikchrshow: place rendering to the right of the entry form if it will fit, else wrap it around to below the form. (check-in: 91c13c34 user: stephan tags: pikchrshow)
07:07
pikchrshow: always show the dark-mode checkbox but default to checked only in dark mode. Minor layout improvements. (check-in: 627ffe3c user: stephan tags: pikchrshow)
05:36
pikchrshow: when running in a white-foreground skin, offer a checkbox to toggle the dark-theme simulation on and off (defaulting to on). Hide the checkbox for light skins. (check-in: 72ac2b86 user: stephan tags: pikchrshow)
05:20
pikchrshow: when running under a skin with the white-foreground property, apply a CSS filter to the SVG to approximate a dark-theme look. (check-in: c7d88f27 user: stephan tags: pikchrshow)
03:10
Change 5 of the 6 diagrams in the "branching.wiki" document over to Pikchr. Edit: I meant for this checkin to go on trunk, but it ok for the change live on this branch until the branch merges. (check-in: 3c7f7426 user: drh tags: pikchrshow)
01:08
Merge enhancements from trunk. (check-in: 3f1b8862 user: drh tags: pikchrshow)
01:06
Update the pikchr.c file from the latest source from the Pikchr website. (check-in: d2b69d16 user: drh tags: trunk)
00:54
Add the 'defHeader' command to TH1. (check-in: c1cb6886 user: mistachkin tags: trunk)
00:53
Enable Pikchr in Fossil Wiki using markup of the form: <verbatim type="pikchr">...</verbatim>. (check-in: 1fc2df90 user: drh tags: trunk)
2020-09-09
21:38
Added missing help docs to /pikchrshow. (check-in: b46175c5 user: stephan tags: pikchrshow)
21:16
Added missing new file :/. (check-in: cc68bc7b user: stephan tags: pikchrshow)
21:02
Quick-and-dirty /pikchrshow page which allows those with write- or wiki-write access to input pikchr code and see it rendered. (check-in: 63ed253c user: stephan tags: pikchrshow)
18:14
Added missing db_unprotect()/db_protect_pop() in (user new). (check-in: c294f6bf user: stephan tags: trunk)
17:10
Parse the "info string" for Pikchr blocks for one of "center", "indent", "float-left", or "float-right" and add a <div> to accomplished the desired display mode. (check-in: 155d0747 user: drh tags: trunk)
15:30
Enable pikchr mark-up inside of Markdown fenced code block that are labeled with language "pikchr". (check-in: a13082c2 user: drh tags: trunk)
15:25
Fix the build for Windows by adding macro M_PI if it is missing. (Closed-Leaf check-in: 0df84add user: drh tags: pikchr)
15:20
Attempt to integrate the PIC-like drawing formatter "Pikchr". (check-in: 17d89b9a user: drh tags: pikchr)
13:05
Added missing db_unprotect()/db_protect_pop() to the login-group command. (check-in: ca5a5c79 user: stephan tags: trunk)
2020-09-07
20:32
Add support for --extroot on windows. (check-in: 8aaaa4f5 user: drh tags: trunk)
14:08
The additional db_unprotect() work of check-in [b9fa7e28712c5981] was incomplete. Here is an attempt to finish the job. (check-in: 50f61b7a user: drh tags: trunk)
14:01
file_mkdir() should use the converted filename, not the original. (check-in: 45fc083b user: drh tags: trunk)
2020-09-06
14:49
Fix the skin editor so when loading the "Current In Use" skin, it actually pulls in the currently in use skin, even if that skins is an alternative skin specified on the command-line or the built-in default skin. (check-in: 5c90832d user: drh tags: trunk)
14:37
Disable the ETAG cache for the /draftN pages so that caching does not interfere with preview. (check-in: 03643a63 user: drh tags: trunk)
2020-09-04
17:00
Removed inherited box shadow from ardoise .timelineSelected, per forum request. (check-in: 3af6e7ce user: stephan tags: trunk)
2020-09-03
19:04
Make sure that any newlines in the CSP are converted into simple spaces before the CSP is added to an HTTP header. This *might* fix a problem reported on the forum. (check-in: e0f2283c user: drh tags: trunk)
2020-09-02
10:55
When rendering fossil-wiki forum posts, add a wrapper DIV around them so that the CSS which expects that for markdown and plain-text posts still applies. This fixes the sideways layout of fossil-wiki posts like that seen in forumpost/3d709776b8. Note that a simpler fix would be to add the wrapper element to wiki_render_by_mimetype(), but that might have undesired side effects in/via the many other uses of that function. (check-in: 7caaa287 user: stephan tags: trunk)
2020-08-30
20:29
Fix a db_unprotect() call in the Admin pages. (check-in: b9fa7e28 user: drh tags: trunk)
19:48
Make the wikiedit/fileedit edit-stash select element grow less agressively. (check-in: a645302b user: stephan tags: trunk)
19:18
Fixed a stroke width in that previous commit. (check-in: ef6cdb68 user: stephan tags: trunk)
19:16
Nigh-imperceptible alignment tweak on the help buttons. (check-in: 28b1718b user: stephan tags: trunk)
19:07
Explicit font color inheritance fix for .fossil-tooltip elements to fix it for a couple skins, and added some contrast to those widgets in the default skin. (check-in: e05bbdec user: stephan tags: trunk)
18:58
Reintroduced the legacy wysiwyg wiki editor as an optional element which can be plugged in via the skin if desired. Several semi-related "code-adjacent" tweaks and improvements. (check-in: 03a64a39 user: stephan tags: trunk)
18:43
Adapted SVG background from Florian for the .help-buttonlet CSS. (Closed-Leaf check-in: b2ece413 user: stephan tags: wikiedit-wysiwyg-legacy)
18:42
Added style for the new help-buttonlet widgets in the xekri skin, else they end up with a transparent background. (check-in: 8b0d0002 user: stephan tags: wikiedit-wysiwyg-legacy)
18:32
Code duplication reduction. (check-in: f107854c user: stephan tags: wikiedit-wysiwyg-legacy)
17:12
Replaced \u002f slash escapes with \x2f, thanks to a hint from Arseniy Terekhin. (check-in: 14554662 user: stephan tags: wikiedit-wysiwyg-legacy)
16:22
A couple framework-level CSS micro-tweaks uncovered by testing with different skins. (check-in: e982f18b user: stephan tags: wikiedit-wysiwyg-legacy)
16:07
Moar wysiwyg style fine-tuning. (check-in: 6f03a598 user: stephan tags: wikiedit-wysiwyg-legacy)
15:58
Inordinately much style/layout tweaking of the wysiwyg editor. (check-in: a11abadd user: stephan tags: wikiedit-wysiwyg-legacy)
15:57
fossil.dom.attr(target,key,val) now supports any number of key/value pairs to set in a single call. (check-in: a89f116e user: stephan tags: wikiedit-wysiwyg-legacy)
15:50
Fixed (removed) wrapping of .input-with-label elements. (check-in: b012ecb7 user: stephan tags: wikiedit-wysiwyg-legacy)