Fossil

Timeline
Login

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

50 most recent check-ins by user stephan

2021-01-18
04:32
Added --no-print-result flag to test-th-source to suppress output of final result, as the default behavior sometimes causes duplicate output of the last expression. (check-in: 817c643435 user: stephan tags: trunk)
2021-01-14
11:15
Fixed a couple C99-isms reported at [https://fossil-scm.org/forum/forumpost/487f05e382 | /forumpost/487f05e382]. (check-in: a7af387dd8 user: stephan tags: trunk)
2021-01-13
13:23
Added missing help text reference to --type f (forum post) in timetype --type flag. (check-in: 40799f8bbd user: stephan tags: trunk)
2021-01-10
11:40
Updated the 'common commands' list in fossil.1 (man page) to match the current help output. (check-in: 603e9b3865 user: stephan tags: trunk)
2021-01-08
06:22
Updated chat alert sounds from @sdr, lengthened to the point that FF can play them except that it's still being weird with bflat3.wav. Minor doc fixes. (check-in: c4179f454b user: stephan tags: trunk)
2021-01-06
13:00
chat: home/end navigation buttons now unconditionally start toggled off, as they're rarely useful. (check-in: b19081f3a3 user: stephan tags: trunk)
05:40
chat: reconnected the audible-alert persistent toggle to the new way of storing the sound file config. (check-in: 2f0bf9dabd user: stephan tags: trunk)
2021-01-05
14:02
It's 2021 now, not 2020. (check-in: d0e81e5941 user: stephan tags: trunk)
14:00
Removed the reference to the unversioned table from the chat alert list generation, since that table is optional and the alerts are currently disabled (problem reported in [https://fossil-scm.org/forum/forumpost/f3a522489b | /forumpost/f3a522489b]. Removed mention of the configurable alerts from chat.md. (check-in: 381ad0c846 user: stephan tags: trunk)
12:49
chat: switched back to binary notification sound on/off, without sound file selection, per chatroom discussion. The the file selection bits are simply if'd out. Removed alerts/g-minor-triad.wav per request. (check-in: 1469c150c4 user: stephan tags: trunk)
06:40
chat: fixed the 'may user delete this message?' check, which was comparing an incorrect property. Corrected response handling for remote deletion, broken by API changes made since it was implemented. (check-in: 0fffa63bbd user: stephan tags: trunk)
05:40
Removed an unnecessary level of if(...). (check-in: 2d329da189 user: stephan tags: trunk)
05:26
Changed a link from relative to absolute to resolve broken link report from [https://fossil-scm.org/forum/forumpost/f428a9a9ce | /forumpost/f428a9a9ce]. (check-in: ca0eabfdae user: stephan tags: trunk)
05:19
Moved chat audio notification files to src/alerts, per chatroom discussion. Chat audio is now configurable using a selection of builtin WAV files and audio files stored in /uv/alert-sounds/*.XYZ (==ogg, wav, mp3). The addition of a selection list means that closing the chat settings popup now requires tapping either a popup entry or the settings button - tapping in the page body won't do it because that handling collides with the selection list event handling. (check-in: 4c34053c58 user: stephan tags: trunk)
05:11
Fixed /builtin to be able to deliver binary content. (check-in: be93625468 user: stephan tags: trunk)
2021-01-04
14:58
Chat docs: added notes about client-side message deletion and clarified hyperlink parsing a bit. (check-in: a6177fd43d user: stephan tags: trunk)
14:15
chat: the 'New message...' toast now includes a button which scrolls to the bottom of the message area. (check-in: e85b679d99 user: stephan tags: trunk)
14:04
chat: trim() leading/trailing spaces from message text before trying to send them. (check-in: b1d44f9ea7 user: stephan tags: trunk)
12:22
Removed reference to now-removed chat-received.wav. (check-in: f51da629a8 user: stephan tags: trunk)
03:26
Minor cleanups in the chat-internal settings API and menu. (check-in: def06dc645 user: stephan tags: trunk)
2021-01-03
12:59
Downsampled plunk.wav to 8k, shrinking it to 6kb. (check-in: 327a82f769 user: stephan tags: trunk)
12:41
chat: when enabling audio notification, play the notification sound after a half-second delay. Slimmed down the option menu buttons a bit. (check-in: 729e1fc56d user: stephan tags: trunk)
11:08
chat: added preliminary audio notification support (may require toggling that capability on for a given server in the browser). Center-aligned chat error messages and removed the 'fossil' user name from them, for compatibility with upcoming timeline-style notifications. Added wav files to the binary-glob versioned setting. (check-in: 99caeec643 user: stephan tags: trunk)
2021-01-02
19:06
Improved chat.js error reporting a bit. Connection errors for send and history-fetch ops are now reported as error-style messags in the chat feed. (check-in: a08dfbabbd user: stephan tags: trunk)
06:05
In chat multi-line mode, the 'placeholder' text now mentions that Ctrl-Enter sends the message. (check-in: 16ba05da98 user: stephan tags: trunk)
05:26
Extended the is-json-mode check in [e0b51eb2e7] to include the 'http' command when looking for repolist-style paths. (check-in: bc593ea042 user: stephan tags: trunk)
03:06
Updated link to the public JSON API docs. (check-in: acda62f5d9 user: stephan tags: trunk)
02:56
Extended [dd490d17bec777c4] to also apply to the 'ui' command to resolve a JSON-mode assertion which happens when running ui --repolist reported at [https://fossil-scm.org/forum/forumpost/2cc2bbd4a2]. (check-in: e0b51eb2e7 user: stephan tags: trunk)
2020-12-30
05:15
chat: multi-line mode and chat-only-mode toggles are now locally persistent. (check-in: e293584683 user: stephan tags: trunk)
2020-12-29
23:24
Reworded uvlist table summary, per forum suggestion [https://fossil-scm.org/forum/forumpost/8e3c4ae3d8 | /forumpost/8e3c4ae3d8] and personal itch. (check-in: 5797c7e8e9 user: stephan tags: trunk)
16:49
Minor doc typo. (check-in: 47655d3996 user: stephan tags: trunk)
04:18
chat: send and poll can now report if the session is logged out, and client-side poll stops looping if that condition is detected. Both cases emit a message in the message area, from user 'fossil', with the CSS class 'error' and a link to the login page with a redirect back to the chat page. (check-in: 3c0c8954c7 user: stephan tags: trunk)
00:37
Replaced use of a deprecated DOM API. (check-in: b06442a621 user: stephan tags: trunk)
00:27
Added new 'chat' perm to /json/cap response. (check-in: e06315f976 user: stephan tags: trunk)
2020-12-28
09:46
Chat: fixed +1 being added to Date.getDate() call (copy/paste error). (check-in: 5fab875d32 user: stephan tags: trunk)
08:59
chat: when loading older messages, return scroll point to the position it was at when load was started, per chat room request. (check-in: 49cc6f28e8 user: stephan tags: trunk)
08:54
chat: replaced the (approximate) messages-since-hidden count in the page title (i.e. browser tab label) to an asterisk so that users don't feel compelled to verify that number against what they actually see in the list (which differs at times). (check-in: 0a5fd03e5c user: stephan tags: trunk)
02:55
chat: removed some dead code. If URL parameter ping=### is seen, assuming we're running from the 'chat' CLI command and automatically start up in chat-only mode. (check-in: b111d1ca74 user: stephan tags: trunk)
00:23
chat: corrected the scroll position tracking when toggling single/multi-line mode to work from arbitrary points within the scroll area. (check-in: 0f59fba08a user: stephan tags: trunk)
2020-12-27
22:01
chat: when toggling between single/multi-line mode, retain the message area scroll position, insofar as its size allows for (e.g. might not work if the history is too short to scroll). (check-in: 423ee8101a user: stephan tags: trunk)
21:22
Refactored the calc-elem-effective-height routine into the fossil.dom API for reuse elsewhere. Fixed (arguably) a minor layout quirk in the chat input field in multi-line mode. (check-in: 299fd6905f user: stephan tags: trunk)
20:33
chat: reworked the auto-resize algorithm to account for elements which "incorrectly" report a height of 0. Experimentally removed the 2em bottom gap at the end of the message reportedly required by Safari. (check-in: cdc6dec7c7 user: stephan tags: trunk)
18:56
chat: improved the 'is previous message currently visible' calculation for the 'should we scroll?' heuristic. (check-in: b3f2eee546 user: stephan tags: trunk)
18:29
chat: seem to have eliminated the tiny dead-zone between the label and checkbox in the settings menu. (check-in: dc8f3a3692 user: stephan tags: trunk)
18:00
Doc typo reported in the forum. (check-in: 1221a579ec user: stephan tags: trunk)
17:44
Doc typo fix reported in the forum. (check-in: 988c599810 user: stephan tags: trunk)
17:42
Chat: hide message home/end buttons by default in portrait mode and add a menu toggle for them, and swapped the button positions (seems more natural). Minor tweak to the div.content resize algo to make use of CSS calc(). (check-in: deb9963ac6 user: stephan tags: trunk)
09:56
Some flicker reduction when batch loading chat messages. Minor chat layout tweaks. (check-in: 5e046b64c7 user: stephan tags: trunk)
09:37
Added an ARIA role=alert to the fossil.toast.message/warning/error() popup, per form request. Toast API doc corrections. (check-in: 23d6b4570a user: stephan tags: trunk)
09:05
chat: ARIA-related attribute changes suggested in the forum. (check-in: ca7aae80ad user: stephan tags: trunk)