Fossil

Timeline
Login

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

162 events for the month beginning 2021-09-01 by user stephan

Following month ↑
2021-09-30
21:01
Documented the source of the extraneous end-of-line spaces when pasting from a console. Changed the markdown backslash-space-space workaround to backslash-n-spaces. ... (check-in: 87b0b12dc4 user: stephan tags: chat-input-rework)
20:37
Documented the reason for not setting a max-height on the new editor widget, and the side effects of that decision. ... (check-in: 71fbd1b01b user: stephan tags: chat-input-rework)
20:09
Figured out how to make the new input area resizable via CSS. ... (check-in: 91b653e845 user: stephan tags: chat-input-rework)
19:56
Re-enabled ctrl-enter-sends when enter-sends mode is active (was disabled during testing). Update the tooltip on the send button to reflect the current send mode. ... (check-in: 7d6c07496e user: stephan tags: chat-input-rework)
19:32
Forcibly disable drop support in the new editor widget, as the browser will otherwise allow the user to drop images to it, which is confusing and does not work with our ability to upload images. Found a way to implement placeholder text in the contenteditable field. ... (check-in: 86d6be3fe2 user: stephan tags: chat-input-rework)
17:24
Minor restructuring and docs in the enter/ctrl-enter handling. Trying to get ctrl-enter to add newlines when in enter-sends mode, but it's not working for reasons beyond my ken. ... (check-in: ab9fef759e user: stephan tags: chat-input-rework)
15:59
When stripping trailing spaces from lines to avoid the "console paste problem", leave markdown paragraph continuation markers intact. Robustified the config view layout in a trial-and-error attempt to defend against Safari-on-iPhone layout bugs. ... (check-in: cbc7f117e6 user: stephan tags: chat-input-rework)
03:43 Edit [a83defad3a950b15|a83defad3a]: Edit check-in comment. ... (artifact: 6606a0e03f user: stephan)
03:21
Provide a toast notification when ctrl-enter mode is toggled via keypress. ... (check-in: c448462596 user: stephan tags: chat-input-rework)
03:14
Split ctrl-enter/enter input modes and compact/spacious layout into two independent settings. ... (check-in: a83defad3a user: stephan tags: chat-input-rework)
02:11
Eliminated some of the new layout quirks caused by the change in /chat input field type. ... (check-in: bcfb758dc3 user: stephan tags: chat-input-rework)
2021-09-29
22:41
/chat button size refinement. ... (check-in: c24d2bb67c user: stephan tags: chat-input-rework)
22:30
Added mini-help hint text to /chat config view entries. ... (check-in: 3259251aeb user: stephan tags: chat-input-rework)
22:08
Significant reworking of chat input mode to use a single contenteditable element instead of two text input elements. This required considerable collateral cleanup in how the various settings are handled and communicated within the app. ... (check-in: b9c5792e34 user: stephan tags: chat-input-rework)
17:03
/chat: shift-enter when in preview mode now switches back to message list mode if the input field is empty. It was previously only possible to switch back via button or sending a message. ... (check-in: 79995e1355 user: stephan tags: trunk)
16:50
Merged in trunk for latest changes. ... (check-in: 09f86815c6 user: stephan tags: markdown-tagrefs)
16:45
Consolidated /wikiedit, /pikchrshow, /fileedit, and /chat to use shift-enter to run preview mode. The former 3 previously used ctrl-enter but it was poorly documented and probably not widely used like ctrl-enter is in chat (to send a message). ... (check-in: 13fabf3f4d user: stephan tags: trunk)
06:55
Merged in diff context loading fixes from Florian: off-by-one error for the single-line context case and a race condition for the click-queue. ... (check-in: 36bec9adac user: stephan tags: trunk)
2021-09-28
12:09
Query column miscount fix for (wiki list -t) as reported in [forum:5e6c3e3b78112df3]. ... (check-in: 3a2b13b8d0 user: stephan tags: trunk)
11:51
Another line-height tweak for the diff view to keep underscores from being truncated in Chromium. ... (check-in: ebf69b498e user: stephan tags: trunk)
11:22
/chat: experimental HTML5 history support for using the back button to return to a message from which a #nnn message ID was clicked. ... (check-in: 9df3fc6b0f user: stephan tags: markdown-tagrefs)
11:06
Merged in trunk. /chat changed jump-to-message animation to fade out/in, per requests. Added HTML5 history to /chat clicks on #NNN message references but it's disabled because it's behaving unexpectedly. ... (check-in: 99b23d0fa3 user: stephan tags: markdown-tagrefs)
09:45
Moved chat.js to fossil.page.chat.js, for consistency with the other single-page apps and to emphasize that it is not to be loaded on arbitrary pages. Changed chat's startup to wait until the page on-load event to avoid a related timing issue. ... (check-in: 3ec8c6c04d user: stephan tags: trunk)
2021-09-27
14:29
Hyperlink fix in changes.wiki ([forum:40ec3ab414]) and missing properties added to tester.tcl ([forum:9ca8f55c4c]). ... (check-in: 7ad4e1ad49 user: stephan tags: trunk)
2021-09-26
12:53
Merged in diff context multi-click load queue on behalf of Florian B., as discussed in/around [forum:c8919e12dd76bf23|forum post c8919e12dd76bf23]. ... (check-in: a49393a958 user: stephan tags: trunk)
2021-09-25
12:26
Added #NNN and #NNN.NNN references as a special case of hashtag, noting that it will currently match a prefix of #NNN.NNN.NNN. Taught /chat that clicking on such a reference should jump to the referenced message or toast the user that the message is not in the current history. ... (check-in: 4539bf8792 user: stephan tags: markdown-tagrefs)
11:35
/chat: when applying a filter, automatically switch to the messages view. Apply hashtag processing to the preview view. ... (check-in: b59a761bb2 user: stephan tags: markdown-tagrefs)
10:54
Improved the behavior in the face of multiple filters, applying only the most recent one. Added a button to clear filters which appears along the bottom of the message area if any filter is active. ... (check-in: 93bf25055a user: stephan tags: markdown-tagrefs)
08:17
More progress on the markdown #hashtag parsing. ... (check-in: ac5b66bb40 user: stephan tags: markdown-tagrefs)
07:20
Merged in latest trunk. test-markdown-render now accepts files and string literals. ... (check-in: 5618cceb7b user: stephan tags: markdown-tagrefs)
07:00
Added missing new mkd_renderer entry in markdown_extract_links() to skip over @/#tags. ... (check-in: 2e64642841 user: stephan tags: markdown-tagrefs)
2021-09-24
17:18
Added an optional widget to /chat which gives an overview of who is actively posting and enables filtering messages by users. ... (check-in: ce0d61bbae user: stephan tags: trunk)
17:11
Removed an accidental extraneous animation on every chat message sent. ... (Closed-Leaf check-in: 0fe5b6cb7e user: stephan tags: chat-user-filter)
17:07
One "last" style tweak, then i'm done. ... (check-in: 9e5acae7d5 user: stephan tags: chat-user-filter)
17:01
Several minor cleanups, fixes, and presentation tweaks. ... (check-in: 10107e4fbc user: stephan tags: chat-user-filter)
13:20
Minor doc corrections and cleanups. ... (check-in: a2588c570e user: stephan tags: chat-user-filter)
12:07
Disable chat animations during the bootstrapping process. Increated timestamp size a tick. Xekri CSS tweak to eliminate body-level scrollbars in chat-only mode. ... (check-in: 4ff16c0572 user: stephan tags: chat-user-filter)
10:14
Animation tweaks and more predictable scrolling when the user filter is cleared (always scroll to the button). ... (check-in: 3d4101d354 user: stephan tags: chat-user-filter)
09:42
Doc typos and sped up the message-in-context animation a tick. ... (check-in: 2b3a6ed846 user: stephan tags: chat-user-filter)
09:29
Changed the "message in context" animation to something more eye-catching and less stuttery. ... (check-in: fc27d6a333 user: stephan tags: chat-user-filter)
08:37
When chat view is filtered on a single user, the per-message popup now offers the option to jump to that message in the larger unfiltered context. When toggling the active user timestamps on, also toggle the active user setting on if it's not already on. ... (check-in: 5aac6ae058 user: stephan tags: chat-user-filter)
07:16
Added a description of the user activity list to www/chat.md. ... (check-in: d046ab687d user: stephan tags: chat-user-filter)
2021-09-23
20:11
Insignificant typos. ... (check-in: a4b9af1bb0 user: stephan tags: chat-user-filter)
15:51
Only update the recent activity view when it's active or activated, not when it's hidden/inactive. ... (check-in: 06196b1993 user: stephan tags: chat-user-filter)
15:32
Micro-tweaking of CSS to account for the fieldset substitution. ... (check-in: c00002656a user: stephan tags: chat-user-filter)
15:15
Replaced recent activity list fieldset element with a fieldset-like element because of Safari fieldset layout/sizing bugs. ... (check-in: dc3f028290 user: stephan tags: chat-user-filter)
14:43
CSS to attempt to work around Safari mobile shrinking the recent activity fieldset to smaller than its content. ... (check-in: fced72da86 user: stephan tags: chat-user-filter)
14:16
Minor style tweaks to account for quirks of specific skins. ... (check-in: 097733c0e9 user: stephan tags: chat-user-filter)
13:44
xekri skin: remove the outlandish saturation on chat message tabs and make user name color more legible in the recent activity list. ... (check-in: 3368434606 user: stephan tags: chat-user-filter)
13:26
Added a help buttonlet to the user activity list. ... (check-in: f39c8326e2 user: stephan tags: chat-user-filter)
12:49
Redistributed a tiny bit of spacing - looks less cramped this way. ... (check-in: 754f7a42cc user: stephan tags: chat-user-filter)
12:41
When batch loading chat messages, delay update of recent activity list until after the batch is done. Squeezed about 0.5em more space out of the screen. ... (check-in: 7c2f3eb31f user: stephan tags: chat-user-filter)
12:23
Corrected persistence of the timestamps toggle. Removed about 40 lines of dead CSS. ... (check-in: dddd42baa6 user: stephan tags: chat-user-filter)
12:03
Was supposed to be part of the previous commit :/. ... (check-in: a3ea94205b user: stephan tags: chat-user-filter)
12:00
Added toggle for the recent activity timestamps. ... (check-in: 9938acb049 user: stephan tags: chat-user-filter)
11:44
UI refinement of the chat user activity list. ... (check-in: 7aea432a47 user: stephan tags: chat-user-filter)
09:41
Proof of concept /chat "active user list" which keeps track only of users who have posted messages in the client's current list and allows filtering on those messages by tapping a user. Widget is hidden by default and can be toggled in the config area. There are still cases to figure out (e.g. new messages do not apply the current filter). ... (check-in: dafd549711 user: stephan tags: chat-user-filter)
04:53
In /ci_edit, add a footnote recommending against setting fixed color values. That feature predates skins by years and does not play well with arbitrary skins. ... (check-in: 9956fa6dde user: stephan tags: trunk)
04:46
Minor restructuring of the /file line number DOM elements to address text-mode browsers. [forum:c8fd094267a0f0d9| Forum post c8fd094267a0f0d9]. ... (check-in: 53ff9d0de0 user: stephan tags: trunk)
04:19 Edit [c3362100e297585a|c3362100e2]: Edit check-in comment. ... (artifact: 92ef03a9cf user: stephan)
03:46
/chat: give the input field focus when chat starts up. ... (check-in: c3362100e2 user: stephan tags: trunk)
2021-09-22
17:12
Possibly fixed a case where /chat's preview button will get stuck in a disabled state, but it's intermittent and difficult to trigger so am not 100% sure. ... (check-in: 2d385d94f5 user: stephan tags: trunk)
12:22
Micro-adjustments to /chat CSS to squeeze a tiny bit more space from the bottom of the screen. ... (check-in: 62deb8f794 user: stephan tags: trunk)
11:15
Simplified and consolidated how /chat internally manages its 3 separate main views, with an eye towards making it easy to add additional views. No user-visible changes. ... (check-in: 593d3a3a1e user: stephan tags: trunk)
08:46 Edit [15d58775a75f0946|15d58775a7]: Edit check-in comment. ... (artifact: 9c38d83547 user: stephan)
08:43
Revert part of the previous commit so that only buttons, not textareas an input fields, are affected. ... (check-in: 15d58775a7 user: stephan tags: trunk)
05:45
Darkmode skin tweak so that certain form elements, e.g. buttons, don't have _entirely_ invisible backgrounds. ... (check-in: 65233c9f33 user: stephan tags: trunk)
03:04
Diff context loading: replaced string.replaceAll() with a more portable construct, as reported in [forum:c1f198f6993cd603 | forum post c1f198f6993cd603]. ... (check-in: 4888719588 user: stephan tags: trunk)
2021-09-21
20:07
Internal cleanups of how /chat config area is built up. No significant visible changes. ... (check-in: 60206ef512 user: stephan tags: trunk)
19:45
Tweaked the /chat config options layout so that the entries start at the bottom of the view to put them in easier reach on tall screens, and moved the presumably most common options to the bottom so that they start out scrolled into view on smaller screens. ... (check-in: 3524f72e6b user: stephan tags: trunk)
18:17
Diff context chunk loader UI controls now show a load-pending message and any error messages directly next to the controls, rather than via toasts, per forum feedback. ... (check-in: ba40082691 user: stephan tags: trunk)
17:36
Removed a bogus unreached return statement. ... (check-in: 4b98f9e791 user: stephan tags: markdown-tagrefs)
17:34
More refinement of the token selection for #hashtag and @name references. ... (check-in: 3363ab42c0 user: stephan tags: markdown-tagrefs)
16:29
Merged in parallel trunk changes. ... (check-in: 9b07f400ce user: stephan tags: markdown-tagrefs)
16:28
Removed some extraneous console debug output. ... (check-in: 8663dde1df user: stephan tags: trunk)
16:10
Reimplemented chat message operations popup as an inlined DOM element to enable a confirmation option on the global delete button, per request from drh (and it's also more platform-portable). ... (check-in: fb9026e264 user: stephan tags: trunk)
15:02
Updated changelog for chat preview. Hyperlinks in preview mode now have target=_blank. Removed extraneous FORM element around chat input area, as it caused only grief with regards to Enter key handling (always activating the first button in the list, which is now the preview button). ... (check-in: 60ed1ff951 user: stephan tags: trunk)
14:34
/chat restored accidentally-removed configurable notification sounds. More layout tweaks on chat buttons. ... (check-in: cf81ddf97a user: stephan tags: trunk)
14:24
/chat: close config/preview area if user sends a message, to help avoid confusion and a corner-case layout bug. Minor layout tweaking of the single-line edit mode via collaborative /chat effort. ... (check-in: 03f33cd3c2 user: stephan tags: trunk)
13:34
/chat links now open in a new tab by default. Reduced min-width of input field to help out FF on Android. ... (check-in: cea66528e2 user: stephan tags: trunk)
13:25
/chat now uses full-fledged markdown instead of its former special-case markup. Added a message preview option to support that. ... (check-in: 6c1ac839e3 user: stephan tags: trunk)
13:18
In single-line edit mode, wrap the chat buttons if the screen is not "wide enough." Give the edit field a min-width of (experimentally) 24em. ... (Closed-Leaf check-in: 3ca1ec5248 user: stephan tags: chat-markdown)
13:10
Reduced side margin/padding on text input field to improve phone usability. ... (check-in: ac6e7ae9da user: stephan tags: chat-markdown)
13:00
Prettified chat buttons via collaborative chat session dogfooding. ... (check-in: 607854c90f user: stephan tags: chat-markdown)
11:52
/chat: tell the file selection widget not to wrap, so that the help button stays on the same line (reported from Martin G's phone). ... (check-in: 4fc065ba4a user: stephan tags: chat-markdown)
11:32
Moved the 350-ish lines/9k of chat-specific CSS into style.chat.css. ... (check-in: bd4dd24373 user: stephan tags: chat-markdown)
11:20
Initial go at a preview mode for /chat. Still some UI/UX decisions to be made. ... (check-in: f33eefe2bb user: stephan tags: chat-markdown)
08:01
Corrected th1 lappend to persist its result, as reported in [forum:97f8815dd3ddd7df|forum post 97f8815dd3ddd7df]. ... (check-in: cb531a5416 user: stephan tags: trunk)
04:09
/chat: add a button to the user/timestamp popup to toggle between parsed and plain-text rendering for that message, per /chat request. ... (check-in: 9a17e76ebf user: stephan tags: chat-markdown)
2021-09-20
11:28
/chat: add pikchr click handlers to incoming messages. ... (check-in: 326eccf245 user: stephan tags: chat-markdown)
2021-09-19
22:48
Removed about a hundred lines of dead code from the diff context loading bits. Reported by Florian B. in the forum. ... (check-in: 47438b7137 user: stephan tags: trunk)
08:15
/wikiedit, /fileedit, and /pikchrshow: tweak ctrl-enter preview toggle event handling to avoid spurious addition of CRNL to text area (patch from Warren in /chat). ... (check-in: d6e7917a3e user: stephan tags: trunk)
07:28
Applied patch from Warren at [forum:26371e6b32cb4ebc] to resolve the new behavior of markdown catching message prefixes of #NNN as a header. ... (check-in: 408d584e21 user: stephan tags: chat-markdown)
05:53
Updated change log and chat.md for the /chat switch to markdown. ... (check-in: 32bd273ebf user: stephan tags: chat-markdown)
04:11
/chat now uses markdown, instead of its minimal custom markup. Chat messages are rendered at send-time, not save-time, so this retroactively affects all messages. ... (check-in: 52d40548ed user: stephan tags: chat-markdown)
2021-09-18
21:25
Corrected display of 'hooks' setting in /setup_settings, per [forum:d1ac688c1b|forum post d1ac688c1b]. ... (check-in: 5d9a7442fa user: stephan tags: trunk)
03:52 Edit [c23aa77411fdb65e|c23aa77411]: Edit check-in comment. ... (artifact: a52627733a user: stephan)
03:40
Reimplemented /chat settings selection to be more usable, device-portable, and extensible. Re-enabled client-side selection of repo-specific chat nofication sounds. ... (check-in: 9c777150ed user: stephan tags: trunk)
03:26
/chat: Corrected storage of selected audio URI to account for multiple sounds. Updated change log and chat.md. ... (Closed-Leaf check-in: c23aa77411 user: stephan tags: chat-config-options)
02:36
/chat: re-enable inclusion of unversioned sound files (mp3, wav, ogg) in the list of chat notification sounds. ... (check-in: 2a59a9a15a user: stephan tags: chat-config-options)
2021-09-17
23:24
Removed dev-mode-only automatic toggle of config area. ... (check-in: 563ce12aca user: stephan tags: chat-config-options)
23:21
Replace /chat config popup with a friendlier and more flexible widget. Reintroduces ability to select from multiple alerts. Seems to work but needs more testing. [forum:d97c869900 | Forum post d97c869900]. ... (check-in: 6f5e04b340 user: stephan tags: chat-config-options)
2021-09-16
22:50
xekri skin: make /chat names and timestamps slightly more legible. ... (check-in: 919468b358 user: stephan tags: trunk)
17:12
Moved the [2d8a9046a1] CSS change into (table.diff pre), as the previous placement reportedly makes no difference. ... (check-in: bb2e6c6185 user: stephan tags: trunk)
17:05
Xekri skin: added same logo toggle as in [c4c64257cf], improved page layout in chat mode, and slightly modernized the header layout. Gave chat message area in all skins a very slight side padding. ... (check-in: 714ff82433 user: stephan tags: trunk)
15:39
Added diff context loading to the list of places we use JS in javascript.md. ... (check-in: 30a2b87c4e user: stephan tags: trunk)
15:38
Added text-size-adjust:none CSS to table.diff in an attempt to keep iPhones from scaling the code text size up, bringing it out of alignment with the line numbers. Whether this works remains to be seen. ... (check-in: 2d8a9046a1 user: stephan tags: trunk)
15:36
Eagle skin: added a toggle in the header to switch the logo link between the historical behavior (link to top of the current domain) and new (link to top of current repo), defaulting to the original behavior. [forum:f7a84dc19d51efa8|Forum post f7a84dc19d51efa8]. ... (check-in: c4c64257cf user: stephan tags: trunk)
2021-09-15
08:04
wiki list CLI command no longer lists deleted pages by default: use --all to include those (same parameter name as /wcontent uses for that purpose). [forum:cf4195f8bf6824fa | Forum post cf4195f8bf6824fa]. ... (check-in: 88e5336007 user: stephan tags: trunk)
2021-09-14
22:07
eagle skin: cleaned up the clock-update JS function and modernized the logo appearance a bit. /fileedit: fixed a help test typo. ... (check-in: 7912deb5fd user: stephan tags: trunk)
09:04
/wikiedit and /fileedit can now dynamically load more diff context. Discovered that the unified diff scrolling under the new diff model is not quite right and the magical CSS invocations to solve it properly elude me: for now they're scrolling (if needed) from a higher parent container level of the DOM than they should be, so the line numbers scroll along with the code. ... (check-in: ef69044cf9 user: stephan tags: trunk)
2021-09-13
21:08
diff CSS: more fine-tuning of line-height and INS/DEL padding to account for another browser and fill in the gaps of color caused by the inflated line-height. Work around a "slight wiggle" problem on some FF versions. Minor simplification of some nearby CSS. ... (check-in: 1e28e74720 user: stephan tags: trunk)
19:59
skins: replaced CSS attributes prefixed with old/obsolete/non-standard -moz/-ms/-mx/-webkit with their standard counterparts. ... (check-in: 9386c4c069 user: stephan tags: trunk)
19:24
Proactive fix for diff context loading init which would have been a bug once wikiedit and fileedit get connected to it. ... (check-in: 63eb9d3b00 user: stephan tags: trunk)
18:25
Diff-related style tweaks to Ardoise skin, per /chat discussion. ... (check-in: efebb41733 user: stephan tags: trunk)
04:55 Changes to wiki page "To Do List" ... (artifact: 4913a86a5d user: stephan)
04:20
Exposed the JS code which initializes diff context loading, for eventual use in /wikiedit and /fileedit (currently missing required metadata in the diff for those apps). Removed a now-extraneous PRE.udiff wrapper element in ajax response diffs. ... (check-in: 0cbfc02b4b user: stephan tags: trunk)
03:49 Edit [3d69a8a46ff33fbb|3d69a8a46f]: Edit check-in comment. ... (artifact: b7b44bacab user: stephan)
03:44
Removed a reference to a newly-removed fossil.info-diff.js builtin file. This resolves fatally breaking sites which use the jsmode bundled option. ... (check-in: 3d69a8a46f user: stephan tags: trunk)
2021-09-12
17:50
Resolution for uneven line alignment on mobile browsers, as reported in [forum:e6f4ee7de98b55c0 | forum post e6f4ee7de98b55c0]. ... (check-in: 49d69ff6c5 user: stephan tags: trunk)
2021-09-11
18:45 Edit [0f7740b6329e5338|0f7740b632]: Edit check-in comment. ... (artifact: 0c8046a9c4 user: stephan)
18:39
blob_append_json_literal() now escapes hard tab, newlines, and carriage returns. Fixes /jchunk loading of makefiles and potentially files with any stray carriage returns. ... (check-in: 0f7740b632 user: stephan tags: trunk)
18:01
darkmode skin: give SELECT elements a color combination which is visible, as reported in [forum:9a87b3e40d | forum post 9a87b3e40d]. ... (check-in: ee0b76a77e user: stephan tags: trunk)
17:44
diff context: never show the dual-mode up/down buttons at the very start or end of a file, only in the gaps between two chunks. ... (check-in: 7b1e2aaee1 user: stephan tags: trunk)
17:09
Enhance the various diff views (excluding diff -b output) to be able to dynamically load more context lines per mouse click. ... (check-in: 51c1efd403 user: stephan tags: trunk)
08:17
Diff-related CSS cleanups. ... (check-in: 1ca68f3ab4 user: stephan tags: diff-js-refactoring)
07:36
Worked around, rather accidentally, the Darkmode and Xekri skin weirdness - side effects of padding. Bootstrap is still a bit funky, depending at least partially on which media query is currently active. ... (check-in: 3480785e39 user: stephan tags: diff-js-refactoring)
05:48
jchunk-related style tweaks for Eagle and Khaki skins. ... (check-in: bbc534e7a4 user: stephan tags: diff-js-refactoring)
05:10
Several CSS tweaks to get the skins playing nicely. We still have some weird, as-yet unexplained quirks with Darkmode, Bootstrap, and Xekri (forced tables sizes are not being applied, or are inconsistent, despite styles being set). ... (check-in: 860f8f252c user: stephan tags: diff-js-refactoring)
03:20
Final chunk load mode implemented, but diff table widths have somehow been broken (too wide - not sure since when). This version is suitable for playing with and feedback, but not quite yet for trunk. ... (check-in: 5938083e48 user: stephan tags: diff-js-refactoring)
2021-09-10
23:12
Propagate the default value of diff_context_lines() through to window.fossil.config.diffContextLines for use by the jchunk UI. Per /chat discussion, jchunk will load 3x that many lines of context per button click. ... (check-in: 8f84424fff user: stephan tags: diff-js-refactoring)
23:01
Disabled diff context pos debug output. ... (check-in: 4f6b56d253 user: stephan tags: diff-js-refactoring)
22:55
Implemented "downwards" loading of diff context (appending to previous chunk). Fixed HTML escaping of loaded lines so that it works together with the existing colorized diff content. ... (check-in: 621ef5b7e8 user: stephan tags: diff-js-refactoring)
21:30
Removed some dead code. Internal cleanups and reorg in prep for upcoming changes. ... (check-in: bc5dc16e55 user: stephan tags: diff-js-refactoring)
16:08
Some JS code simplification and added dark-mode CSS filter to jchunk controls. ... (check-in: 65ae15e008 user: stephan tags: diff-js-refactoring)
15:53
Implemented diff.js arrow key scroll fix from [566b7f1165293655]. ... (check-in: c624ed868e user: stephan tags: trunk)
2021-09-09
22:41
When filling a whole gap with loaded jchunk lines, merge the previous and following TR elements together with the new content, providing a seamless fill, eliminating the extraneous scrollbars. This means we cannot style the newly-loaded chunk differently (like github does), but it looks much, much nicer than before. Partial-chunk loads are still pending. ... (check-in: 11a981ead0 user: stephan tags: diff-js-refactoring)
21:36
Implemented fetching and injection of chunks which are smaller than the configured load size, but the results do not play well with our scrolling workaround and need to be revisited after some sleep, perhaps appending/prepending the results directly to the previous/next TR instead of injecting a new one. ... (check-in: da8a0f82b5 user: stephan tags: diff-js-refactoring)
20:03
Style improvements. Hooked up the buttons but they don't yet fetch anything. ... (check-in: f0984389ba user: stephan tags: diff-js-refactoring)
18:50
More jchunk button style tweaks. ... (check-in: 7cc651c87f user: stephan tags: diff-js-refactoring)
18:31
Doc typos. ... (check-in: fa654e947a user: stephan tags: diff-js-refactoring)
18:28
Got jchunk loader buttons in place but they're currently non-functional. ... (check-in: 365ef58b8c user: stephan tags: diff-js-refactoring)
15:06
Refactored tr.diffsplit to hold enough information to allow partial chunk loads in either direction and to know where the next/previous chunks (if any) start/end. Actual loading is currently disabled, pending addition of controls which make use of this new state. ... (check-in: cedcd3585b user: stephan tags: diff-js-refactoring)
15:01
Fixed left/right arrow key scrolling in diff.js. ... (check-in: 566b7f1165 user: stephan tags: diff-js-refactoring)
06:37
jchunk integration now shows the LHS line numbers. RHS are still TODO. ... (check-in: e63ad6ff25 user: stephan tags: diff-js-refactoring)
05:31
TR-click event handling simplification. ... (check-in: c7f3d04244 user: stephan tags: diff-js-refactoring)
04:58
/jchunk code lines are now injected into the diff view but the line numbers are still TODO. ... (check-in: 49a60a580d user: stephan tags: diff-js-refactoring)
03:23
Fetching of /jchunk lines by clicking on the '...' separator of a diff is now working but the fetched lines still need to be integrated into the UI. ... (check-in: 41ef416e77 user: stephan tags: diff-js-refactoring)
2021-09-08
18:42
/jchunk now always uses a JSON response, even for permissions problems. Doc improvements for the jchunk interface. ... (check-in: 1fec5f4abc user: stephan tags: diff-js-refactoring)
18:17
Renamed /jtext to /jchunk. Added window.fossil.fetchArtifactLines() to interact with that API. ... (check-in: 9684425b0c user: stephan tags: diff-js-refactoring)
17:36
Merge in trunk for manifest_parse() output fix and "hidden" ajax routes. ... (check-in: f68b0b7187 user: stephan tags: diff-js-refactoring)
17:23
help: added optional 'hidden' flag to WEBPAGE/COMMAND/SETTING entries, which causes them to be elided from most listings. They can still be invoked by the help system if their name is used, but they won't be listed. This is primarily intended for internal-use ajax routes. ... (check-in: 701c6dc284 user: stephan tags: trunk)
11:11
Caught more instances of the previous commit's fix. ... (check-in: 992b62fa8b user: stephan tags: trunk)
11:03
Attempt to squelch stdout errors from manifest parsing when it encounters a non-manifest. Reported at [forum:/forumpost/d6a8e3b2a843c498 | forum post d6a8e3b2a843c498]. ... (check-in: 65dbc19eae user: stephan tags: trunk)
02:43
Minor tweaks in the diff-related JS and CSS. ... (check-in: fd7d2557aa user: stephan tags: diff-js-refactoring)
2021-09-07
23:08
Optimize diff.js's width updater to only perform DOM selection when it's first run. Also delay its execution until the onload event. ... (check-in: 077f3db109 user: stephan tags: diff-js-refactoring)
22:28
Ongoing refactoring and feature-adding related to the JS/ajax components of the new diff views. ... (check-in: 65aa2c9643 user: stephan tags: diff-js-refactoring)
22:24
Made diff view table 100% wide instead of 98%. The unsightly horizontal scrollbars still don't appear at that width and this eliminates an odd-looking gap on the right. ... (check-in: be9602d0df user: stephan tags: trunk)
21:55
diff.js: instead of polling for window size changes every 100ms, listen for window resize events. ... (check-in: c5f8e79990 user: stephan tags: trunk)
21:32
Re-added the file-toggle checkboxes to the diff views which were disabled via recent refactoring. ... (check-in: cf4b9fbd9c user: stephan tags: trunk)
21:12
json API: removed reference to recently-removed DIFF_CONTEXT_MASK. ... (check-in: 0c496d8ad3 user: stephan tags: trunk)
2021-09-05
19:31
Added just a tiny bit of left/right padding on the new diff tables so that the line numbers don't run right up to the edge of the border. ... (check-in: f25a987bae user: stephan tags: trunk)
Previous month ↓