Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
69 check-ins using file www/th1.md version f6ffdb7bde
|
2020-09-13
| ||
| 22:45 | Import the latest pikchr.c code with boundary-point updates. check-in: fbe96ea9e8 user: drh tags: trunk | |
| 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 | |
| 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: 070716d835 user: stephan tags: trunk | |
| 05:41 | pikchrshow: discovered that Firefox cannot flexbox a LEGEND element properly, so worked around that. check-in: c92ff2daef user: stephan tags: trunk | |
| 04:33 | Work on the pikchrshow drag/drop handling. check-in: 3ffd3be3dc user: stephan tags: trunk | |
| 03:59 | Add the latest pikchr.c that supports the "go ... heading ..." syntax for specifying line paths. check-in: be12504054 user: drh tags: trunk | |
| 03:34 | pikchrshow: tapping the preview mode label now activates the neighboring copy button. check-in: 3e10ece71e 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: 62a5d0cfb9 user: stephan tags: trunk | |
| 02:58 | Simplified pikchrshow markup alignment selection to a single checkbox. Related CSS/layout tweaks. check-in: 240646ef7d 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: c3bb7cd22a 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: be99269dc3 user: stephan tags: trunk | |
| 00:09 | Updated /pikchrshow help and changes.wiki to mention pikchr. check-in: bb31279a19 user: stephan tags: trunk | |
| 00:00 | Import the latest version of pikchr that supports the "file" object type. check-in: b01fae602d 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: c304b4ffdf user: stephan tags: trunk | |
| 22:30 | Minor code readability tweaks, nothing functional. check-in: f73f1e36ad 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: 7ddd2781a0 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: d4bb5251b3 user: stephan tags: trunk | |
| 21:52 | fossil.dom: added label() and checkbox() methods. check-in: ba912d94b9 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: 299e06435d 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: 75d4517515 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: 2dd0a40e59 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: 2defbdb3f4 user: drh tags: trunk | |
| 17:05 | Improved comments on the safe_html_nonce() routine. check-in: dfa0eee7b8 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: a0ef47e79f 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: 2777682b63 user: drh tags: trunk | |
| 15:20 | Enhancements to the test-parse-manifest command to also test the manifest_is_well_formed() interface. check-in: 761696443a 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: 0f7eff9eeb user: drh tags: trunk | |
| 12:20 | Fix over-length source code lines in import.c. check-in: 8d9d8654a3 user: drh tags: trunk | |
| 01:37 | Update to a new version of pikchr.c with improved text bounding box computation. check-in: 1f2b6cedad 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: 2b556f1cc8 user: stephan tags: trunk | |
|
2020-09-10
| ||
| 22:56 | Update Pikchr to the latest code from the Pikchr website. check-in: a5c685fa0d 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: d330c09135 user: stephan tags: trunk | |
| 22:15 | Fix typo in the 'admin_sql' page. check-in: e654b300f6 user: mistachkin tags: trunk | |
| 21:51 | Fix misplaced / missing db_unprotect() calls in the 'waliassetup' and 'setup_logo' pages. check-in: f273832a73 user: mistachkin tags: trunk | |
| 18:15 | Allow the setup pages to change email-send-method. check-in: 95e735165e user: drh tags: trunk | |
| 17:18 | Replace the last separate SVG file in branching.wiki with in-line Pikchr. Also update pikchr.c to fix missing required whitespaces in the generated circle and ellipse markup. check-in: 9ec0ccee33 user: drh tags: trunk | |
| 16:52 | Pikchr text formatting bug fix: Preserve "bold" and "italic" on multi-line text objects. check-in: bf01b42928 user: drh tags: trunk | |
| 16:19 | Merge in changes for the new /pikchrshow webpage. check-in: 0b2f838887 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: d6639e466e user: drh tags: trunk | |
| 15:02 | Added a small gap to the top of /pikchrshow's content area. Closed-Leaf check-in: 833dfc1bcd user: stephan tags: pikchrshow | |
| 13:59 | Ajaxified pikchrshow. check-in: 075f6f8d80 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: 91c13c34be 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: 627ffe3cd8 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: 72ac2b86a9 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: c7d88f2754 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: 3c7f742639 user: drh tags: pikchrshow | |
| 01:08 | Merge enhancements from trunk. check-in: 3f1b8862cb user: drh tags: pikchrshow | |
| 01:06 | Update the pikchr.c file from the latest source from the Pikchr website. check-in: d2b69d16c6 user: drh tags: trunk | |
| 00:54 | Add the 'defHeader' command to TH1. check-in: c1cb6886cd user: mistachkin tags: trunk | |