Fossil

Timeline
Login

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

96 check-ins using file src/shell.c version 1f19873861

2021-10-04
09:54
Refactor and improve the input logic for /chat. check-in: 469f1b0dfc user: drh tags: trunk
2021-10-03
21:19
Improved the attachment button's visibility in dark-mode skins. Closed-Leaf check-in: 1390dd986d user: stephan tags: chat-input-rework
20:15
Resized the attachment SVG to an integer number of pixels to avoid a tiny rounding error in some browsers which would truncate a pixel of the right edge. check-in: 083927f575 user: stephan tags: chat-input-rework
19:56
Rotated the paperclip 45 degrees (it's now horizontal) and restored the behavior that ctrl-enter will send a message if there is only an attachment with no text. check-in: b8a20e20ff user: stephan tags: chat-input-rework
19:44
Resized the attachment SVG - its bounding box was far, far wider than the glyph. check-in: c6cc5557c0 user: stephan tags: chat-input-rework
19:34
Experimentally replace paperclip Unicode glyph with an embedded SVG, as the glyph looks greyed out/inactive in some environments. check-in: cc709782b4 user: stephan tags: chat-input-rework
10:10
Swapped the order of the diff context load buttons to improve usability slightly, per forum feedback. check-in: 4e45fcc997 user: stephan tags: trunk
2021-10-02
18:13
Fix minor documentation typo. check-in: 8d88f08801 user: drh tags: trunk
14:35
Cherrypicked [658db85ce2], which was intended for trunk. check-in: 9dd8d5efc7 user: stephan tags: trunk
14:33
Removed now-invalid doc snippet, per [forum:f6a4695090|forum post f6a4695090]. check-in: 658db85ce2 user: stephan tags: chat-input-rework
04:57
Added a toggle to play the audio alert (or not) for one's own messages (default=off) and added docs describing each configurable setting. check-in: 8534eb75e1 user: stephan tags: chat-input-rework
04:21
Do not play notification sound for the sender's own messages. This change was made and reverted before so may be subject to further debate. check-in: 87c29eee98 user: stephan tags: chat-input-rework
02:09
Reordered two config menu entries. Removed the enter/ctrl-enter toggle toast because that info is now in the edit widget's placeholder text and the toast can block access to config view entries for a few seconds. check-in: b2d55ec947 user: stephan tags: chat-input-rework
2021-10-01
18:17
Eliminated extraneous gap at the bottom of the page caused by the empty file attachment preview element. Tweaked that element's layout a bit when it is visible. check-in: bca3d7f405 user: stephan tags: chat-input-rework
18:10
Worked around a button glyph misalignment on some older FF versions. check-in: 042fe8771f user: stephan tags: chat-input-rework
18:01
Added the chat input area resize option to compact mode so there is a recovery strategy if someone manages to paste a whole book into that field. check-in: 797e33ba6b user: stephan tags: chat-input-rework
17:40
Removed the cumbersome and platform-dependent file selection widget from view and now proxy its activation via a new toolbar button. Saves space and looks nicer. check-in: 2b07b66d59 user: stephan tags: chat-input-rework
17:14
In compact mode, move the buttons below the input field in order to stop truncation and button layout shifting as the input field automatically resizes during editing. Takes up more a bit more space but provides better UX. check-in: fe0760c95d user: stephan tags: chat-input-rework
15:49
Button size tweaks for compact mode, to make them slightly more accessible on mobile devices. check-in: 858e8153a7 user: stephan tags: chat-input-rework
14:14
Added file attachment widget toggle (on by default) and reversed order of config options (top-down instead of bottom-up) because that simply seems more intuitive. check-in: 40cdaeecd4 user: stephan tags: chat-input-rework
14:01
Fixed chat-view scrolling, which was broken by a flexbox settings change in [71fbd1b01ba42ee6]. check-in: e7e2e5e3c0 user: stephan tags: chat-input-rework
13:40
Chat button truncation fix on narrow windows. Updated change log for new chat features. check-in: d92a8f07b8 user: stephan tags: chat-input-rework
13:33
Shrank the chat buttons in compact mode because (spoiler alert) Safari. check-in: c08a707a40 user: stephan tags: chat-input-rework
13:23
Minor layout improvement in compact mode: input field now really looks like it's one line high instead of 1.x. check-in: 40119a06bc user: stephan tags: chat-input-rework
13:01
Improved the flow of the chat input buttons so that they don't move around as the input area grows and shrinks. Removed max-height from compact-mode input. This makes compact mode behave more like what was requested in /chat, so that it grows organically as the user types. check-in: 9191823207 user: stephan tags: chat-input-rework
12:48
Made monospace the default because that setting now also applies to the input area and this chat is often used for conveying code. Accounted for a couple bits of skin-specific weirdness. check-in: f9e2851a99 user: stephan tags: chat-input-rework
12:26
Reimplemented [607b11ddc6] to use a proper feature check approach rather than user agent string check. check-in: d96f6f195c user: stephan tags: chat-input-rework
12:13
Found a Chrome-only workaround to tell Chrome not to paste formatting into the chat editor field. check-in: 607b11ddc6 user: stephan tags: chat-input-rework
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: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
07:27
When generating a repository name from the URL, include parsing of port to avoid undesirable behavior discovered in [forum:4409f66dae988dc5] in which the parser doesn't handle single-label host names which include a port (with or without a final slash). check-in: 000f80213e user: andybradford 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
05:56
Fix an off-by-one error that prevents loading single-line diff context chunks at the top of the file(s). See [forum:5f407f5f1f | Forum Post 5f407f5f1f] for a test case. Closed-Leaf check-in: 72f3493802 user: florian tags: diff-js-fixes
05:47
Fix a race window bug with click-ahead bookkeeping: if loading of diff context chunks is super-fast (localhost and/or cached), but insertion into the document is significantly slowed (e.g. after ~100*15 diff context lines already added to the same block), clicks during document manipulation have a chance to be queued (good) and handled immediately (not necessarily bad) as soon as setTimeout() yields the UI thread, and then another chance to be doubly handled (definitely bad) by the scheduled queue processing. check-in: 6a371417c8 user: florian tags: diff-js-fixes
03:22
Fix bug mentioned in [forum:a4c682e21ce329fe] to make URL parser require properly formed URL containing a slash following the port. check-in: fb752a04f5 user: andybradford 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:57
Possible solution to the problem of buttons randomly jumping away from under the mouse cursor. Leaf check-in: b4dbdec8f1 user: florian tags: diff-js-fetchqueue
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
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
12:04
Experiment to implement a click-queue for the buttons dynamically loading diff context. See [forum:c8919e12dd | Forum Post c8919e12dd] for comments and potential TODOs. check-in: c714f2515e user: florian tags: diff-js-fetchqueue
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
19:47
Earlier detection of unresolved deltas due to an incomplete clone. check-in: 55a5b7014d user: drh tags: trunk
18:14
Improve the decision about when to stop doing HTTP round-trips while doing a clone so that the clone will continue as long as new content is being received and we have not yet seen the "clone_seqno 0" card. Proposed fix for the issue discussed in [forum:/forumpost/60d48c2896|forum thread 60d48c2896]. check-in: ea5afad31f user: drh tags: trunk
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
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
14:45
Another SQLite update to fix the build on older machines that lack CHAR_BITS as well as to fix a few harmless compiler warnings. check-in: 457a73e6ad user: drh tags: trunk