Fossil

Timeline
Login

Timeline

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

50 events by user stephan occurring around 2020-09-17 23:44:08.

2020-10-07
06:59
pikchr_process() now makes use of the as-yet-not-public PIKCHR_PLAINTEXT_ERRORS flag to maintain control of the error output DOM structure. ... (check-in: ce3046290b user: stephan tags: trunk)
2020-10-05
10:13
uv ls/list doc patch from [https://fossil-scm.org/forum/forumpost/cdc43ffe60]. ... (check-in: ecac7c4ea7 user: stephan tags: trunk)
2020-10-02
14:23
Removed a bit of unnecessary copy/paste backwards compatibility from [15001dd013]. ... (check-in: aae387d956 user: stephan tags: trunk)
09:38
Added --hash flag to ls -v, for consistency with status/changes, per [https://fossil-scm.org/forum/forumpost/896de8f963]. ... (check-in: 15001dd013 user: stephan tags: trunk)
2020-10-01
15:05 Edit [7e8cb38ca25a9276|7e8cb38ca2]: Mark "Closed". Edit check-in comment. ... (artifact: be4f7901bf user: stephan)
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: f45cd27919 user: stephan tags: trunk)
2020-09-20
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. (Edit: closing, as this approach doesn't appear to provide any benefits over the current one.) ... (Closed-Leaf check-in: 7e8cb38ca2 user: stephan tags: dir-columns-revisited)
07:28
An experiment in improving the /dir column flow. (Not ready to merge.) ... (check-in: e5121a4934 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: 11e7960e51 user: stephan 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: 1620841523 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: 4ad86dd5f7 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: 2e828971b2 user: stephan tags: trunk)
2020-09-18
21:11
Minor doc updates, removed some dead code. ... (check-in: 3ec33f98f7 user: stephan tags: trunk)
20:19
Remove overflow setting on pikchr-src elements. ... (check-in: 72f8372a2c 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: 3f2c0af278 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: 947c039073 user: stephan tags: trunk)
17:43
CSS workaround for centering pikchrs in Chrome. ... (check-in: d825fcc11a user: stephan 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)
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)
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)
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)
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: a1838297f9 user: stephan tags: trunk)
2020-09-15
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: 83f03e91c4 user: stephan tags: trunk)
14:54
Restrict pikchr svg/source toggle to clicks, per forum feedback. ... (check-in: 4e757d8c48 user: stephan 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: db865174a0 user: stephan tags: trunk)
13:42
Make use of the new PIKCHR_INCLUDE_SOURCE flag via /pikchrshow and the pikchr CLI command. ... (check-in: 7da8813eef user: stephan 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)
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)