Fossil

Timeline
Login

Timeline

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

994 check-ins using file src/blob.c version 95d307d8

2021-01-06
14:27
Fix an popen() error check in "fossil git export". (check-in: df5be59e user: drh tags: trunk)
13:00
chat: home/end navigation buttons now unconditionally start toggled off, as they're rarely useful. (check-in: b19081f3 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: 2f0bf9da user: stephan tags: trunk)
2021-01-05
23:47
Attempt to add the --mainbranch option to the "fossil git export" command. This does not appear to be working. Need advice from a Git expert. (check-in: 4c384ba2 user: drh tags: trunk)
20:24
On the /Admin/Chat page, play the new alert sound as it is selected. (check-in: baa40a00 user: drh tags: trunk)
20:07
Improvements to the way that the chat alert sound is configured. Remove the /chat-alert webpage. Access the sound files directly using /builtin. (check-in: 21a870d0 user: drh tags: trunk)
19:24
Remove a debugging printf() that was mistakenly left in the previous check-in. (check-in: 42efc629 user: drh tags: trunk)
19:23
Two new alert sounds. (check-in: 35b07813 user: drh tags: trunk)
19:05
Provide for two different chat-alert sounds in the /Admin/Chat configuration menu. (check-in: d8e69943 user: drh tags: trunk)
15:11
Fix the /file page so that it shows the text of files that are not identified as special binary types. (check-in: 1e008989 user: drh tags: trunk)
14:02
It's 2021 now, not 2020. (check-in: d0e81e59 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 /forumpost/f3a522489b. Removed mention of the configurable alerts from chat.md. (check-in: 381ad0c8 user: stephan tags: trunk)
13:20
Add build and zlib directories to the ignore-glob file, and change wbld to msvcbld in clean-glob file. (check-in: 443f4182 user: danield 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: 1469c150 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: 0fffa63b user: stephan tags: trunk)
05:40
Removed an unnecessary level of if(...). (check-in: 2d329da1 user: stephan tags: trunk)
05:26
Changed a link from relative to absolute to resolve broken link report from /forumpost/f428a9a9ce. (check-in: ca0eabfd 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: 4c34053c user: stephan tags: trunk)
05:11
Fixed /builtin to be able to deliver binary content. (check-in: be936254 user: stephan tags: trunk)
02:25
If the "fossil chat send" command fails, show an error message. (check-in: e514bb5b user: drh tags: trunk)
02:13
Fix the "fossil chat send" command so that it sends the lmtime query parameter so that the chat display shows an appropriate local time. (check-in: 62d67ed9 user: drh tags: trunk)
02:05
In the "fossil chat send" command, detect extra arguments and throw an error if they are seen. (check-in: 1814f528 user: drh tags: trunk)
01:32
Do not allow the "fossil chat send" command to transmit over an unencrypted channel unless the --unsafe option is used on the command-line. (check-in: 6da3a74d user: drh tags: trunk)
01:26
The "fossil chat send" command should throw an error if there are any unrecognized command-line options. (check-in: 904a5a56 user: drh tags: trunk)
01:23
Add the "fossil chat send" command. (check-in: 1e810490 user: drh tags: trunk)
2021-01-04
20:10
Add two new small WAV files, perhaps useful as audiable alert sounds, but not yet used for anything. (check-in: 2146a13d user: drh tags: trunk)
15:18
Fix rendering on the /file page that causes text files to be reported as binary. Caused by check-in [6643d4a0c1aabb85]. (check-in: e5d30a7c user: drh tags: trunk)
14:58
Chat docs: added notes about client-side message deletion and clarified hyperlink parsing a bit. (check-in: a6177fd4 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: e85b679d user: stephan tags: trunk)
14:04
chat: trim() leading/trailing spaces from message text before trying to send them. (check-in: b1d44f9e user: stephan tags: trunk)
12:26
Downsampled plunk.wav to 8 kb/s, 8000 Hz, mono. (check-in: d17f3d69 user: danield tags: trunk)
12:22
Removed reference to now-removed chat-received.wav. (check-in: f51da629 user: stephan tags: trunk)
12:14
Show the size of the file in the /file display of audio/* files. (check-in: dff13325 user: drh tags: trunk)
03:26
Minor cleanups in the chat-internal settings API and menu. (check-in: def06dc6 user: stephan tags: trunk)
2021-01-03
23:18
Revamp the trigger used to captures changes to the EVENT table for use in other subsystems. The trigger is now a TEMP trigger rather than a persistent trigger. Rebuild notice: You can upgrade through this change without trouble, as the schema will adjust automatically. However, if you downgrade back through this change you must run rebuild to recreate the persistent triggers. (check-in: 169ba8d4 user: drh tags: trunk)
17:04
Remove references to the obsolete "ping" feature from the chat documentation. (check-in: 017ec310 user: drh tags: trunk)
16:48
Fix the "fossil chat" command so that it works on Windows. (check-in: f572b62f user: drh tags: trunk)
16:40
Use the "plunk" sound for audiable alert in chat. Back out the "ping" processing logic. (check-in: f2fcdbc5 user: drh tags: trunk)
15:30
Fix the /file page so that it is able to play sound files that are checked into the repository. Example: /file/src/sounds/plunk.wav (check-in: 6643d4a0 user: drh tags: trunk)
12:59
Downsampled plunk.wav to 8k, shrinking it to 6kb. (check-in: 327a82f7 user: stephan tags: trunk)
12:51
Add the "plunk.wav" sound. (check-in: 91fe5513 user: drh 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: 729e1fc5 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: 99caeec6 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: a08dfbab user: stephan tags: trunk)
13:39
Provide suggested password in places where a users is required to invent a new password. (check-in: 49f68be8 user: drh tags: trunk)
12:58
Improvements to the test-random-password command. (check-in: 931b97e8 user: drh tags: trunk)
06:05
In chat multi-line mode, the 'placeholder' text now mentions that Ctrl-Enter sends the message. (check-in: 16ba05da 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: bc593ea0 user: stephan tags: trunk)
03:06
Updated link to the public JSON API docs. (check-in: acda62f5 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: e0b51eb2 user: stephan tags: trunk)
2021-01-01
22:07
Update the built-in SQLite to the latest 3.35.0 alpha which features faster startup time. (check-in: 67d79d23 user: drh tags: trunk)
2020-12-31
14:35
Add the "df=CHECKIN" query parameter to /timeline. "df" is shorthand for "Derived From". "df=CHECKIN" is equivalent to "d=CHECKIN&n1=all&nd". Update hyperlinks in documentation to use df= and/or n1=. (check-in: 78819fdb user: drh tags: trunk)
14:06
The n1=COUNT query parameter on /timeline is a one-time count that does not affect the display preferences cookie. (check-in: cd892ac3 user: drh tags: trunk)
13:26
The uf=HASH query parameter on /timeline shows all checkins that use the identified file unless there is also an n=COUNT query parameter. (check-in: dffcebea user: drh tags: trunk)
01:31
On the homepage, mention that multiple projects can be run using a Fossil server running on an inexpensive VPS or Raspberry Pi. (check-in: 6373e363 user: drh tags: trunk)
01:20
Fix check-in [34f5ea44038583fe] so that it only disables the limit on the number of entries in a timeline if both d= and bt= are both present. (check-in: c353212c user: drh tags: trunk)
2020-12-30
20:52
Update the built-in SQLite to the latest 3.35.0 alpha version. (check-in: 00e031bb user: drh tags: trunk)
05:15
chat: multi-line mode and chat-only-mode toggles are now locally persistent. (check-in: e2935846 user: stephan tags: trunk)
2020-12-29
23:24
Documentation tweaks. (check-in: 5d3ba8aa user: drh tags: trunk)
23:24
Reworded uvlist table summary, per forum suggestion /forumpost/8e3c4ae3d8 and personal itch. (check-in: 5797c7e8 user: stephan tags: trunk)
16:49
Minor doc typo. (check-in: 47655d39 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: 3c0c8954 user: stephan tags: trunk)
00:37
Replaced use of a deprecated DOM API. (check-in: b06442a6 user: stephan tags: trunk)
00:27
Added new 'chat' perm to /json/cap response. (check-in: e06315f9 user: stephan tags: trunk)
2020-12-28
09:46
Chat: fixed +1 being added to Date.getDate() call (copy/paste error). (check-in: 5fab875d 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: 49cc6f28 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: 0a5fd03e 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: b111d1ca 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: 0f59fba0 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: 423ee810 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: 299fd690 user: stephan tags: trunk)
21:00
Put the <form> outside of the chat-input-area <div>. Safari requires this. (check-in: ca60df92 user: drh 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: cdc6dec7 user: stephan tags: trunk)
18:56
chat: improved the 'is previous message currently visible' calculation for the 'should we scroll?' heuristic. (check-in: b3f2eee5 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: dc8f3a36 user: stephan tags: trunk)
18:00
Doc typo reported in the forum. (check-in: 1221a579 user: stephan tags: trunk)
17:44
Doc typo fix reported in the forum. (check-in: 988c5998 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: deb9963a user: stephan tags: trunk)
09:56
Some flicker reduction when batch loading chat messages. Minor chat layout tweaks. (check-in: 5e046b64 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: 23d6b457 user: stephan tags: trunk)
09:05
chat: ARIA-related attribute changes suggested in the forum. (check-in: ca7aae80 user: stephan tags: trunk)
08:32
chat: added buttons to jump to top/bottom of message list. Added a huge margin under the input area because Safari demands it. Improved the div.content auto-resize calculation to get a more precise fit. (check-in: 24080827 user: stephan tags: trunk)
07:45
chat: auto-scrolling of other peoples' posts into view works based on a heuristic of whether the *previous* post is in view or not (else we assume the user is back in the history), with the notable caveat that posts with inlined images play havok with this, in part because loading of images is async and we race against it. Moved the #debugMsg element out of div.content to keep it from unduly influencing our layout. (check-in: 6c28d7d6 user: stephan tags: trunk)
07:03
chat: fixed mis-scroll when toggling chat-only mode. Re-re-introduced the img preview size cap. (check-in: b09f7e99 user: stephan tags: trunk)
06:48
chat: next round of Safari-friendly baby steps, developed in conjunction with Safari user mgagnon via chat session. (check-in: a1161fa9 user: stephan tags: trunk)
04:50
chat: reintegrated partial changes from [b0ab6cbd3] and [670732a6]: remove skin-induced div.content margins in chat-only mode and cap image preview size to avoid screen overflow. Moved #dbgMessage element out of the way at app startup to avoid it potentially influencing our flexbox layout, and include that element in the to-hide list for chat-only mode. Edit: Martin G. reports that this one also causes Grief with Safari, but in different ways that before. (Closed-Leaf check-in: 7c3cf7a1 user: stephan tags: no-joy)
04:30
chat: re-integrated JS-based div.content resizer to do approximately what the preferred 'vh' CSS units would, but upon which Safari apparently chokes. Message area now gets a scrollbar. This works reasonably well on FF/Chrome on both Linux and Android. The jury is still out on Safari. Edit: Martin G. confirmed this one also suffers from the "collapsing messages" problem on Safari. (check-in: d488f5c6 user: stephan tags: no-joy)
03:39
Eliminated top-down chat mode altogether in an attempt to eliminate some complexity and cruft. Re-added the toast-on-new-invisible-message from [0a00a103]. (check-in: 421d6570 user: stephan tags: trunk)
01:58
chat: Safari has a severe allergic reaction to CSS vh units, so calculate the size of the affected DOM element in JS code at app startup and when the window resizes. (Closed-Leaf check-in: 8747d85e user: stephan tags: chat-safari-experiments, chat-safari-breaks-here)
01:07
CSS tweaks to attempt to counter some Safari message spacing problems - cannot test locally. Also limit the chat image preview to 40% of the viewport width/height, to avoid it taking up the whole screen for a large image. (check-in: 670732a6 user: stephan tags: chat-safari-experiments, chat-safari-breaks-here)
00:32
Force bottom-up chat mode, now that the toggle is removed but it might still be set in some localStorage storage. (Closed-Leaf check-in: a6650eb7 user: stephan tags: chat-safari-breaks-here)
00:27
Remove skin-installed div.content max-width limitations when running in chat-only mode, and expand to the full width. (check-in: b0ab6cbd user: stephan tags: chat-safari-breaks-here)
00:22
Disabled the top-down/bottom-up chat toggle, per chat discussion. Removed explicit setting of div.content margins, in chat,except in chat-only mode, so that we honor skin-level margin settings (resolves layout breakage in Xekri skin). (check-in: 22b0faad user: stephan tags: chat-safari-breaks-here)
2020-12-26
23:57
Found what seems to be a more or less viable solution for the chat layout in which the input area is effectively sticky while not actually being so. New messages do not scroll to the start of the list except for when a user locally posts a message, but instead, if a new message arrives and is scrolled out of view, a toast is shown to gently alert the user that a new message has arrived. (check-in: 0a00a103 user: stephan tags: chat-safari-breaks-here)
22:09
Disabled automatic scrolling when a new chat message arrives, as it is unnecessary when the user input fields are not sticky. To revisit later with sticky input fields. (check-in: b75ce865 user: stephan tags: trunk)
22:01
Added a CSS class to the xekri skin to keep the chat settings menu from having a transparent background. (check-in: 12b53919 user: stephan tags: trunk)
21:33
Fix the description of base-64 encoding in the delta_format.wiki document. (check-in: 5de02e09 user: drh tags: trunk)
21:26
Added lmtime to www/chat.md and typo fix. (check-in: 92d74f8f user: stephan tags: trunk)
20:57
chat: disable line-wrap on the message tabs. Removed an extraneous duplicated style entry. (check-in: adc90d82 user: stephan tags: trunk)
20:47
Typo fix. Moved chat.file to the end of the schema, per forum suggestion. (check-in: fd73e79b user: stephan tags: trunk)
20:33
Lowercased 'zulu' per chat discussion. (check-in: c7a017e1 user: stephan tags: trunk)
20:33
chat: removed extraneous T from sender-local timestamp. (check-in: 16b8e480 user: stephan tags: trunk)
20:30
Removed invalid Z suffix from the new lmtime string. (check-in: 7d4a3248 user: stephan tags: trunk)
20:26
Only apply sender-local time if it's in the message (older messages do not have it). (check-in: f2a58f10 user: stephan tags: trunk)
20:24
Integrated client-local timestamp into chat so that participants can see the local time in their colleagues' time zones. (check-in: 3c5e2bad user: stephan tags: trunk)
19:43
Added lmtime (local mtime) parameter to /chat-send calls, per chat discussion. (check-in: 152ac599 user: stephan tags: trunk)
18:08
Changed how chat-only mode figures out which elements to hide to account for skins which replace div.content with their own element. (check-in: e390b95b user: stephan tags: trunk)
18:03
Laxened up CSS selectors for div.content to account for skins which move that element into a sub-element. (check-in: 553ce288 user: stephan tags: trunk)
17:55
chat app now explicitly sets the body.chat CSS class, to account for skins which include a BODY tag in their header and therefore do not get one injected by the style API. (check-in: feaa3b16 user: stephan tags: trunk)
17:22
chat: disabled sticky mode of the input area for the time being due to grief in conjunction with message scrolling. When toggling between bottom/top modes, scroll to the input area. (check-in: ba3ebf0d user: stephan tags: trunk)
17:07
Removed some debug output. When toggling between bottom-up/top-down chat, scroll to the input widget (which flips between the top and the bottom of the page). (check-in: 34547542 user: stephan tags: trunk)
16:54
Typo fix which led to an exception and caused the timestamp popups to misbehave. (check-in: fc4782e7 user: stephan tags: trunk)
16:39
Worked around a browser-dependent scrolling quirk and fixed a logic bug in the recent PopupWidget.installHideHandlers() API change which caused the timestamp popups not to close. (check-in: 322627ed user: stephan tags: trunk)
16:24
Bottom-up chat mode. (check-in: 2572872b user: drh tags: trunk)
16:21
Disabled a dangling part of the search for a solution for the bottom-scrolling problem. (Closed-Leaf check-in: 7f4000a6 user: stephan tags: chat-mode-bottom-up)
16:20
Disabled position:sticky on the input area when in bottom-up chat mode pending resolution of a scrolling misbehaviour for messages with IMG tags. IMG.src is loaded async, so the scrolling is actually working but loading of the IMG.src is then pushing the message back down behind/under the input field. (check-in: 8e12b61b user: stephan tags: chat-mode-bottom-up)
15:40
Implement bottom-up and top-down chat layouts in chat-only mode and normal mode. There is a minor scroll-on-new-message quirk or two to resolve, but it otherwise seems to work. (check-in: dfc20f42 user: stephan tags: chat-mode-bottom-up)
13:46
Chat docs: minor typos and additions. (check-in: 10085418 user: stephan tags: trunk)
12:33
Make the /chat-poll timeout configurable using the chat-poll-timeout setting. (check-in: 8363e7b8 user: drh tags: trunk)
01:37
Settings menu now closes if a click or ESC happens outside of the menu. (check-in: 1f000368 user: stephan tags: chat-mode-bottom-up)
01:31
Initial go at a "bottom-up" (mobile-like) layout for chat, but it is only active in chat-only mode where we have more control over the layout. The default mode works like before, top-down. There are still minor usability/scrolling issues left to resolve but it seems to essentially work. (check-in: cffd66ff user: stephan tags: chat-mode-bottom-up)
2020-12-25
23:38
CSS docs and line-wrapped the new settings icon data URL. No functional changes. (check-in: ca42098a user: stephan tags: trunk)
23:02
Do not use <fieldset> and <legend> as Safari does not allow one to bind 'click' events. (check-in: 6849bb0b user: drh tags: trunk)
22:37
Removed some dead CSS. (Closed-Leaf check-in: c9ca5198 user: stephan tags: chat-widget-rework)
22:35
chat: refactored the messages from fieldsets to a custom widget. (check-in: 852bda77 user: stephan tags: chat-widget-rework)
22:13
Improved linkage to the chat documentation. (check-in: f5ab4888 user: drh tags: trunk)
22:08
Improved introduction to "forum.wiki" (check-in: 44ab80ea user: drh tags: trunk)
21:36
Reformulate the LEGEND elements to include an embedded anchor tag as an attempt to working around Safari's inability to click a LEGEND element. Edit: this approach didn't work - same effect as before on Safari. (Closed-Leaf check-in: 73c8ccd3 user: stephan tags: chat-safari-ts-popup)
20:48
chat: removed now-obsolete error checking for Date() parsing. Edit: moved from trunk and closed - an as-yet-unidentified Date() problem persists on Safari. (Closed-Leaf check-in: 379b4689 user: stephan tags: no-joy)
20:30
For the chat function, the server-to-client JSON uses strict ISO8601 time strings, including the "T" in the middle and the "Z" at the end. (check-in: 13c95f0c user: drh tags: trunk)
19:20
chat: added 'role'='button' attribute to various non-button button-like elements, per forum request. (check-in: 6506b6de user: stephan tags: trunk)
19:12
Improvements to chat documentation. (check-in: e525317e user: drh tags: trunk)
17:52
chat: added toggles for single/multi-line input (non-persistent) and monospace message font (persistent - affects message bodies and text input fields). (check-in: 9d24a284 user: stephan tags: trunk)
16:09
First attempt at documentation for Fossil chat. (check-in: bcfdc1a1 user: drh tags: trunk)
16:08
chat internal cleanups in prep for upcoming changes. Possibly fixed the cosmetic bug where the titlebar says '(0) ...' after receiving an empty list of messages in response to an auto-reconnect after a timeout. (check-in: e52d0fd5 user: stephan tags: trunk)
15:27
Chat settings menu tweaks based on chat session feedback. (check-in: 9e797bf9 user: stephan tags: trunk)
14:58
Added chat setting chat-inline-images: specifies whether /chat images default to display inline or as download links. Various code-adjacent tweaks. (check-in: 9d86a4af user: stephan tags: trunk)
14:36
In the default skin, add a Chat menu item for wide screens if Chat is enabled for the user. (check-in: 8049da83 user: drh tags: trunk)
13:00
When chat is in chat-only mode, the input area is now sticky at the top of the window. This required a bit of hackery involving its background color to keep it from being transparent (which causes the chat messages to be visible through it). (check-in: 429e5a9b user: stephan tags: trunk)
12:09
Change /chat-poll so that it times out after 7 minutes. This prevents the server from timing out the request and generating errors in the log. (check-in: 08533f90 user: drh tags: trunk)
11:32
chat setting: toggle whether 'my' messages are on the right or left, with the default depending on whether the window is wider than it is tall. (check-in: f1e91a20 user: stephan tags: trunk)
11:06
Moved chat.c inline CSS style to default.css. Various chat layout tweaks. (check-in: 467dbc8f user: stephan tags: trunk)
10:04
Added settings popup to chat. Currently only 1 setting - toggling the page header/footer on/off. (check-in: 617e23be user: stephan tags: trunk)
09:39
chat.js restructuring/cleanup - no functional changes. (check-in: 12682568 user: stephan tags: trunk)
2020-12-24
22:21
chat poll again uses "quiet" error handling to avoid posting toast error messages when it times out (which it does every 10 minutes or so when idle). (check-in: b6de299b user: stephan tags: trunk)
22:07
chat message deletion: admins now have both delete local and delete global options, in case they want to remove something from local view without deleting it for all users. (check-in: b12d69d9 user: stephan tags: trunk)
20:18
Initial impl of buttons to load older chat messages. The UI code is a bit more involved than might seem necessary, but is so largely because it needs to avoid UI/ajax race conditions. (check-in: 6d676f6e user: stephan tags: trunk)
19:28
A valid /chat-ping request should set the Access-Control-Allow-Origin in the reply header, to avoid client-side errors. (check-in: ffb40fd8 user: drh tags: trunk)
19:15
Automatically purge older chat messages using the chat-keep-count and chat-keep-days settings to determine which messages to delete. (check-in: 35fbf499 user: drh tags: trunk)
19:00
Show the number of chat messages and the amount of storage space used by chat on the /stat page. (check-in: 4da6a4cc user: drh tags: trunk)
18:46
Fix chat so that it detects hyperlinks at the end of a chat message. (check-in: 6f4fdfcd user: drh tags: trunk)
17:46
Fix a problem with web-browser launch on Windows for "fossil chat". (check-in: dcc854a9 user: drh tags: trunk)
17:10
Disable CSP for /chat with a ping= query parameter. This is a drastic measure to get the feature working. We can work on providing a better solution later. (check-in: 02961b80 user: drh tags: trunk)
15:58
Fix a harmless compiler warning. (check-in: b4862238 user: drh tags: trunk)
15:57
Add the "fossil chat" command that attempts to bring up a chat window in the default web browser and provide alerts through the TTY. (check-in: f62805ed user: drh tags: trunk)
15:10
The ping=TCPPORT query parameter to /chat causes a call to /chat-ping on localhost and the given port whenever new chat content arrives. Can be used for notifications. (check-in: ebdd91b9 user: drh tags: trunk)
13:44
Hyperlink processing for chat messages is now handled on the server side, where we have knowledge of interwiki links, wiki page names, and valid artifact hashes. (check-in: 822653c2 user: drh tags: trunk)
08:10
chat: revert title to its originalv alue when the tab becomes active after having been inactive. (check-in: 0c0be4b7 user: stephan tags: trunk)
08:07
Chat: if the current tab is not active when a message arrives, update the title to show the new message count. When the tab is active, revert the title. Note that deletions currently count towards new events, but that's arguable. (check-in: d7959205 user: stephan tags: trunk)
07:19
chat: ported in the hyperlink and @username parser from the older chat.tcl script. This is an intermediary workaround until we decide how/whether to do server-side markup handling. (check-in: c5095283 user: stephan tags: trunk)
06:18
Removed some debug output. (check-in: f315268e user: stephan tags: trunk)
05:58
Added UI to delete chat posts (tap on the message header). Made a change to the semantics of when fossil.PopupWidget's refresh() callback is triggered to account for the common case of having to show() the popup twice in a row without a hide() in between. (check-in: b7f106da user: stephan tags: trunk)
05:03
Initial impl for chat message deletion. The ajax bits are in place and message deletion propagates to other connected clients (if the message is owned by the poster or the user is an admin) but there's not currently a user interface. TODO: add related controls to the same popup used for the message timestamps. (check-in: 24727611 user: stephan tags: trunk)
03:34
The /chat page now redirects to the login page if needed. (check-in: 77d30586 user: drh tags: trunk)
01:04
Bungled merge. Was: The /chat page redirects to the login page if the user does not have appropriate permissions to use chat. (Closed-Leaf check-in: fee74ce5 user: drh tags: mistake)
2020-12-23
23:27
Several internal cleanups in chat app, e.g. replace document.createXYZ with simpler fossil.dom API. Eliminate assignment to innerHTML, which is widely considered unsafe. (check-in: 68da2459 user: stephan tags: trunk)
22:58
chat: minor UI refinements. (check-in: 8eb01c31 user: stephan tags: trunk)
22:16
Chat: disable pasting of text when then input field does NOT have focus and fix complete overwriting of input field when pasting and it DOES have focus. Whether or not we should paste to that field when it does not have focus is debatable and possibly violates the Principle of Least Surprise. (check-in: 87ff8fe3 user: stephan tags: trunk)
20:58
Add the /Admin/Chat page. Add settings to configure the initial history load size of /chat, and to configure purging of historical messages. (check-in: 15bc20f2 user: drh tags: trunk)
19:55
Turn off autocomplete on the chat entry form. (check-in: 5715978d user: drh tags: trunk)
18:27
Merge the development of the Fossil chatroom onto trunk. This feature is well isolated from the rest of the system and so we can safely continue development on trunk, which is more convenient for testing. (check-in: e8ba89b1 user: drh tags: trunk)
18:21
Fix the /chat-poll page so that it works even when called from "fossil ui". (Closed-Leaf check-in: 6f424a32 user: drh tags: chatroom-dev)
17:27
The /test_env page is not an error page. (check-in: f2a26bca user: drh tags: trunk)
16:19
Additional documentation on the /chat-poll page. (check-in: 2261b294 user: drh tags: chatroom-dev)
16:11
The althttpd webserver blocks the "/-50" part of the URL. So it has to be a query parameter. (check-in: 3d6267ed user: drh tags: chatroom-dev)
16:08
Upon initial connect to the chatroom, only load the most recent 50 messages. This magic number "50" ought to be configurable, but is hard-coded for the moment. We also need a way for the user to request more history. (check-in: c017a7b4 user: drh tags: chatroom-dev)
15:35
Add the /chat-delete page that can be used to by an XHR to delete a particular chat message. (check-in: 2480ce94 user: drh tags: chatroom-dev)
15:18
chat: when pasting an image and a file is already selected, make sure to clear out that selected file state to avoid conflicting data. (check-in: 63ec4a5b user: stephan tags: chatroom-dev)
15:12
chat: improved visual notification of drag/drop into the file input selector. (check-in: d5210076 user: stephan tags: chatroom-dev)
15:00
chat: reworked the drag/drop bits to take advantage of Firefox and Chrome already supporting drag/drop onto a file input element. (check-in: 7e48953c user: stephan tags: chatroom-dev)
14:29
The "fossil scrub --verily" command deletes all chat history. (check-in: 7779535f user: drh tags: chatroom-dev)
14:21
Made chat drop zone smaller by replacing its text with a helplet button. Added 'chat' table to the list of those NOT nuked by rebuild. (check-in: 85939ffc user: stephan tags: chatroom-dev)
13:51
Only right-align the self-posts if the outerWidth of the browser is less than 1000. Simplify the CSS by removing unused rules. (check-in: f3c8e838 user: drh tags: chatroom-dev)
10:41
Added a Cancel button to the drag/drop file/image field to clear the pending blob. Still need to hook it up to interact with the file input field, but that will have to wait a bit. (check-in: 018084c5 user: stephan tags: chatroom-dev)
10:28
Chat style tweaks. (check-in: 3e956a23 user: stephan tags: chatroom-dev)
10:23
chat: added drag/drop support for files. Images get previewed like those pasted from the clipboard. (check-in: 4c0146f1 user: stephan tags: chatroom-dev)
08:43
Removed some dead code. Updated some docs. (check-in: cf789fa7 user: stephan tags: chatroom-dev)
08:33
Chat clipboard paste: pasted text, regardless of event target, now goes to the input field and pasted images, regardless of the event target, now go into the image-submit slot. (check-in: 02fa19aa user: stephan tags: chatroom-dev)
08:21
Fixed incorrect chatMessage.fsize value being served with the message list JSON. (check-in: 8f736e84 user: stephan tags: chatroom-dev)
07:59
Rescoped the chat timestamp popup widget into a deeper scope (less visible/leaky). Moved the duplicated click-somewhere-to-close-popup handlers into PopupWidget.installClickToHide() method. (check-in: 6bccbc20 user: stephan tags: chatroom-dev)
07:45
Simplified some JSON quoting in chat.c. Bypass the paste-from-clipboard handling if the paste target is the input text field, to avoid a console-level error when the text cannot be parsed as an image. TODO: figure out how to handle the paste-image case properly when the event target is the text input field. (check-in: 2fe8d7c4 user: stephan tags: chatroom-dev)
07:12
Seem to have resolved the broken download names for chat-posted files. (check-in: b604154c user: stephan tags: chatroom-dev)
07:09
Implemented paste image into chat from clipboard. Fixed posted file download link but the files download with the same name as their message ID, which isn't very friendly. Not sure how to resolve that bit. (check-in: eb7845f3 user: stephan tags: chatroom-dev)
06:26
Chat message precise timestamps are now shown via a tap/click popup, rather than hoverhelp, for mobile compatibility. (check-in: 0101325f user: stephan tags: chatroom-dev)
05:44
Import fossil bootstrapping JS into the chat app, add current login name to window.fossil.user.name, and use that name as the initial 'me' value in chat.js (resolves the FIXME in that latter part). (check-in: 4e832e9f user: stephan tags: chatroom-dev)
05:28
Disable the detailed timestamp popup when browser doesn't support it. (example: Safari) (check-in: 5744428b user: mgagnon tags: chatroom-dev)
04:39
Re-added .message-content min-width which was lost when we rolled back [7e6d2f0a1]. (check-in: 67e5bd67 user: stephan tags: chatroom-dev)
04:19
Added complete timestamps (local and GMT) as title attribute of message headers. (check-in: 696135b6 user: stephan tags: chatroom-dev)
04:06
Attempt to fix the "NaN" date problem in chat. (check-in: aefa8e5d user: drh tags: chatroom-dev)
03:52
Experimentally removed the left/right split of me/everyone else messages, per chatroom discussion. Added a min-width to messages to keep the user name from being longer than short messages (unless the user name is really long). Update: The experiment didn't work out. Moved to a branch. (Closed-Leaf check-in: 7e6d2f0a user: stephan tags: no-joy)
02:58
Show only the HH:MM part of the date for each chat message. (check-in: bc65900d user: drh tags: chatroom-dev)
02:27
Add Chat to the /sitemap, so that it appears on the hamburger menu. (check-in: 0272d8bb user: drh tags: chatroom-dev)
02:24
Chat message background color determined by username. (check-in: adb93ca9 user: drh tags: chatroom-dev)
01:33
Basic chat functionality seems to be on-line again. (check-in: 441ee6af user: drh tags: chatroom-dev)
00:58
Get the /chat-send and /chat-poll interfaces working. (check-in: 25828eb5 user: drh tags: chatroom-dev)
2020-12-22
20:11
Begin trying to integrate the chatroom prototype into the Fossil core. New code is in src/chat.c and src/chat.js. Add the new "C" capability to enable access to chat. The new code compiles but is not yet functional. (This is an incremental check-in.) The original tools/chat.tcl Wapp script is still available for reference. (check-in: 217b0d25 user: drh tags: chatroom-dev)
20:06
Merge the styling changes from trunk into the chatroom-dev branch. (check-in: b8d6319b user: drh tags: chatroom-dev)
18:31
Add support for the "$current_feature" TH1 variable as a possibly better way to do page-specific of feature-specific styling. (check-in: 112c713b user: drh tags: trunk)
14:35
chat: added timestamps (browser-local time zone) to the chat messages. (check-in: 99689132 user: stephan tags: chatroom-dev)
13:05
chat: fixed links to /env and /self to use the file's current name instead of hard-coded to 'chat'. (check-in: 896d7d44 user: stephan tags: chatroom-dev)
12:30
Whitespace style fix (Closed-Leaf check-in: 358f7d80 user: wyoung tags: body-feature-class)
12:13
Removed the parameter from style_finish_page() since the resulting content div class is now redundant with respect to the body class. This potentially breaks CSS made against old class names that a prior commit on this branch changed, but such skins would be made against an unreleased version of Fossil, it's unlikely many are using that first version of the feature anyway, and most of the class names did *not* change unless you were targeting a "div" instead of "body" or just a generic class name. None of the shipping skins are affected. (check-in: 0e83ca88 user: wyoung tags: body-feature-class)
12:09
chat: a proactive fix for a potential null deref. Documented a not-immediately-obvious element. (check-in: cdb8f690 user: stephan tags: chatroom-dev)
12:02
chat: changed layout from table-based to one fieldset per row of chat (fieldset rather than a custom construct because browsers have special support for placement of the LEGEND tag which we cannot easily reproduce in other element). The overall look is approximately the same, but saves some space. (check-in: a0ebe0ea user: stephan tags: chatroom-dev)
11:59
Documented the use of $current_page in hand-rolled "body" tags in the customskin doc. (check-in: 18642176 user: wyoung tags: body-feature-class)
11:58
Calling the new style_set_current_feature() function to override the new TH1 variable $current_feature for Fossil UI pages where the page name isn't what we want used as the "body" CSS class. For the most part, this matches the value currently being passed to style_finish_page(), but a few have changed with the benefit of hindsight. Not all calls to style_finish_page() have a corresponding call to the new function since the default value for $current_page now suffices. (check-in: 8ac0830b user: wyoung tags: body-feature-class)
11:56
Using the new $current_feature variable in the Bootstrap skin's Header, it being the only stock skin to still provide its own <body>. Without this change, the prior commit won't take effect when using Bootstrap. (check-in: 556923fa user: wyoung tags: body-feature-class)
11:55
Created a new TH1 variable $current_feature set by default from the page URL's first component, but which may be overridden by code that knows a better feature name to use for that page. This is then used as the page's "body" class, making this the start of a replacement for the "content div" based feature class stuff done on branch default-css-cleanups. This is a better way to do it because it lets us target things outside the content div, such as the nav bar, the skin header, the skin footer, etc. (check-in: c671fc5d user: wyoung tags: body-feature-class)
10:37
chat: removed the ??empty?? marker for empty message strings, as they're perfectly legitimate when a file/image is uploaded. (check-in: 3a36b8e9 user: stephan tags: chatroom-dev)
10:32
chat: experimentally changed poll() to use setInterval() instead of setTimeout() to attempt to automatically re-activate a connection if it's killed due to a timeout or (maybe) system sleep/resume. (check-in: f2601541 user: stephan tags: chatroom-dev)
10:31
Comment fix to track a code change made in commit [3d6444fc]. (check-in: e6e8ea8f user: wyoung tags: trunk)
09:36
Moved the "artifact" vs "artefact" point in the JSON API doc intro into a new section within the contribution doc. (check-in: e50d2707 user: wyoung tags: trunk)
09:35
chat: removed an extraneous layer of DOM elements. CSS tweaks. (check-in: ce988f94 user: stephan tags: chatroom-dev)
09:22
Removed the "Multiple logins per user" caveat from the JSON API intro doc: that restriction was due to the IP address in the cookie, which is now long-removed. (check-in: 40715d84 user: wyoung tags: trunk)
09:21
Folded info about binary data, 64-bit ints, and timestamp values from a recent forum sub-thread into the JSON API intro doc. (check-in: 0f20b537 user: wyoung tags: trunk)
09:05
chat: initial implementation of marking @NAME references to make them more visible. (check-in: ee53e449 user: stephan tags: chatroom-dev)
08:45
Assorted improvements to the "Contributing to Fossil" doc. The most substantial is replacement of references to the old mailing list with references to the forum. Added more info about patches and bundles, etc. (check-in: 34205ea4 user: wyoung tags: trunk)
08:25
Minor hyperlink generation tweak in support of pending additional auto-link/auto-style features. (check-in: ee6c7081 user: stephan tags: chatroom-dev)
07:34
Cleanups in the auto-hyperlink code. (check-in: f04dde73 user: stephan tags: chatroom-dev)
07:11
chat: hyperlink URL-looking patterns in messages. (check-in: 729e279a user: stephan tags: chatroom-dev)
05:58
Generic JS cleanups: var scoping and missing semicolons. (check-in: 9ec28614 user: stephan tags: chatroom-dev)
05:15
Refactored the chat input area from a table to a flexbox-based layout. (check-in: ba5c9147 user: stephan tags: chatroom-dev)
03:51
Add the tools/chat.tcl Wapp script so that it can be collaboratively developed. This branch may wither and die. Or, the chatroom idea might be recoded in the Fossil trunk using C. Or it might continue as a separate Wapp extension. We'll see. But for now it is here on a branch so that people can hack at it. (check-in: 84b31f44 user: drh tags: chatroom-dev)
2020-12-21
18:20
Declare the character set in the default HTML header. (check-in: 1997b71c user: drh tags: trunk)
12:14
Rename "prefix" to "phase" and fix a C99-ism. (Closed-Leaf check-in: df99abda user: danield tags: timeline-cmd-formatting)
2020-12-20
05:08
Clarified the "fossil help remote" output. (check-in: 6d7b5c4a user: wyoung tags: trunk)
2020-12-19
15:59
On the User List admin page, show the user's subscriptions and provide a like to the subscription page (if any). (check-in: 8b287e8d user: drh tags: trunk)
14:16
Prepend the text "Note:" instead of a bullet on the timeline display of a technote. (check-in: 2d1ef1e1 user: drh tags: trunk)
2020-12-18
15:30
Enhance "fossil diff --numstat" to print a grand total line, and not display statistics for non-modified files. (Closed-Leaf check-in: f8a5a6a7 user: danield tags: diff-numstat-total)
15:05
Extend the timeline command to allow customized "pretty" formats. (check-in: 5d3239bf user: danield tags: timeline-cmd-formatting)
2020-12-17
23:58
Moved the -lpthread for --static builds from the end of EXTRA_LDFLAGS to the end of LIBS, since the latter ends up at the end of "LIB" in the Makefile. In other words, the prior formulation put -lpthread in the *middle* of the LIB line, not at the end as intended. (check-in: 08ad0f52 user: wyoung tags: trunk)
2020-12-16
20:14
Comment improvements to [6f9d265234 | the recent change] in auto.def. (check-in: 53caec95 user: wyoung tags: trunk)
14:28
Update to the latest SQLite 3.35 prerelease in order to fix harmless #ifdef errors and compiler warnings. (check-in: c9b6be2f user: drh tags: trunk)
2020-12-15
20:50
Merge from trunk (check-in: 7b9ca24c user: george tags: wiki-history)
14:21
Update the built-in SQLite to an early 3.35 version containing support for generalized upsert, math functions, and reduced memory usage for VACUUM of large blobs. (check-in: ea546514 user: drh tags: trunk)
01:13
Alternative to check-in [a098707051568156] for getting the --static option to ./configure working on pkg-config based systems. (check-in: 6f9d2652 user: drh tags: trunk)
00:52
Allow the use of json_each() and json_tree() in the SQL for ticket reports. (check-in: 5e7dc8a6 user: drh tags: trunk)
2020-12-14
20:38
Merge from trunk (check-in: 959699bf user: george tags: wiki-history)
20:34
Merge from trunk (check-in: df330b70 user: george tags: wiki-history)
14:27
If REQUEST_URI includes a query string (which it does for "fossil ui" and for Apache, but not for althttpd) then omit that string prior to using the REQUEST_URI when forming the "g=" query parameter for the login redirect in login_needed(). (check-in: d3276608 user: drh tags: trunk)
2020-12-13
19:37
Updates to the fossil-v-git documentation to reduce the amount of Git-bashing and to try to make the document less confrontational. (check-in: 358d7d8f user: drh tags: trunk)
05:32
Factored the iteration count out of the encrypted backup solution in backup.md, so it isn't repeated between the backup and restore cases. (check-in: fc300d5a user: wyoung tags: trunk)
2020-12-12
19:48
merged forks (check-in: 0872ecbe user: sdr tags: trunk)
19:37
Omit the TCP port from the SERVER_NAME environment variable for the "fossil ui" and "fossil server" commands. (check-in: c728509f user: drh tags: trunk)
19:06
fixed a typo in a comment (check-in: 02c3468b user: sdr tags: trunk)
17:29
serverext.wiki: added a note about the need to unset GATEWAY_INTERFACE before trying to recursively call the fossil binary. (check-in: e3fbbdc1 user: stephan tags: trunk)
15:25
For the CGI handler in the extension CGI mechanism, unrecognized header strings coming back from the CGI program are passed through unaltered to the HTTP reply. This allows the CGI program to set cookies. (check-in: 1cff8d31 user: drh tags: trunk)
14:53
In the previous check-in, REQUEST_SCHEMA should be REQUEST_SCHEME - with an "E" at the end, not an "A". (check-in: 282bdf01 user: drh tags: trunk)
14:05
Attempt to provide support for the REQUEST_SCHEMA and SERVER_NAME environment variables in CGI support. This is an alternative implementation of [0d72caae1592769e|check-in 0d72caae1592769e]. Discussion on forum thread cba707d7bd and cb17013d06. (check-in: f101e94d user: drh tags: trunk)
10:01
If fossil.fetch()'s beforesend() callback propagates an exception, it is now passed to the onerror() callback and aborts the fetch, rather than being silently ignored. (check-in: 1515f022 user: stephan tags: trunk)
08:15
Adds the Apache-style REQUEST_SCHEME environment variable to the /ext environment so that CGIs can determine whether they're running in HTTP or HTTPS. Later: See alternative implementation at [f101e94da1f80571] (Closed-Leaf check-in: 0d72caae user: stephan tags: ext-request-scheme)
01:20
Spell out the word "times" rather than use the unicode "x" character. (check-in: f0a86f3c user: drh tags: trunk)
01:12
Drop "efficiency" claims in fossil-v-git, as the term is not quite right to describe the point. Use "self-sufficient" instead. (check-in: 41b34915 user: drh tags: trunk)
2020-12-10
22:49
Merged the new commit splitting material in gitusers.md into the "There Is No Staging Area" section, which covers similar things. Now referring to this new version from the old location under the rebase topic. (check-in: 6369d7b3 user: wyoung tags: trunk)
22:15
Added recommendation for Patchouli in the gitusers doc, as an alternative to git rebase -i. (check-in: 0564a6a6 user: wyoung tags: trunk)
21:43
Bring branch up-to-date with respect to trunk. Note: this check-in was made as an example to demonstrate merging. (Closed-Leaf check-in: bbc52640 user: andygoth tags: modern-skin-markup-fixes)
21:33
Reworked section 5.0 of the rebaseharm doc to be less controversial. Charged words are quotes from the Git docs, not words we sling at it, etc. This also more clearly separates the "merge alternative" aspects of rebase from the history-mutating aspects. (check-in: 1a4b8e58 user: wyoung tags: trunk)
20:59
Recommending adding -N to "fossil diff" commands when piping thru diffstat in the gitusers.md doc. (check-in: a4e84fb5 user: wyoung tags: trunk)
20:55
Added info about --numstat to the "Diff Statistics" section of the gitusers doc. (check-in: 11e3366c user: wyoung tags: trunk)
20:47
Edit pass for clarity on the ckout-workflows doc (check-in: ea594514 user: wyoung tags: trunk)
20:20
Using the less jargony term "crawling" instead of "grovel" in the Fossil v Git article. (check-in: 3f6f7dea user: wyoung tags: trunk)
20:19
Replaced a few remaining "block chain" references with "Merkle tree" in the Fossil v Git article. (check-in: e6730652 user: wyoung tags: trunk)
2020-12-09
23:01
Extended prior change to cover the "Added" and "Deleted" cases. (check-in: f6ab24fd user: wyoung tags: trunk)
22:58
Added a missing trailing " in "Changes to wiki page FOO" entries in the timeline. (check-in: 62c030e0 user: wyoung tags: trunk)
16:17
Fix a typo in the change log. (check-in: 037c7947 user: drh tags: trunk)
16:15
Remove a harmless comparison from the decompress() SQL function implementation. (check-in: 87567ad8 user: drh tags: trunk)
00:09
Fix typo in the default new ticket script. (check-in: 1fbd2e15 user: drh tags: trunk)
2020-12-08
11:47
Fix help-text formatting error on the previous check-in. (check-in: e1d54eb7 user: drh tags: trunk)
2020-12-07
16:12
Add support for the "--nested" option to the clone subcommand, so the new clone/open in 1 step usage can be use insde a checkout. (check-in: f3d115d9 user: mgagnon tags: trunk)
2020-12-05
13:19
Updates to the change log. (check-in: c7dcf38c user: drh tags: trunk)
2020-12-04
19:22
Comment fix to go with previous UB NULL fix. (check-in: 4d88ef4f user: wyoung tags: trunk)
18:35
The variadic function builtin_fossil_js_bundle_or() was using 0 as a sentinel to detect end-of-list, but that isn't equivalent to NULL in a list of pointed-to objects in all C compilers, on all systems. Using a GCC/Clang function attribute to force a warning when 0 is passed instead of NULL, then fixed all resulting warnings. This fixes the SEGV reported in forum post 5feca9c36a on Mac OS X 10.11 with Clang from Xcode 7. Later versions of Clang on macOS don't have this problem, but it's still UB, so fixing it may solve some pain for us later on. (check-in: 815b4fc4 user: wyoung tags: trunk)
2020-12-03
12:12
Grammar fix (check-in: b13c82f0 user: wyoung tags: trunk)
11:58
Fix the "More ↑" link at the top of timelines. (check-in: f5e4ec69 user: drh tags: trunk)
2020-12-02
19:59
Add the "To Do List" wiki page as a primary document in the documentation index. (check-in: 0457c40a user: drh tags: trunk)
19:38
Fix minor calculation error on the yw= query parameter of the /timeline page. (check-in: 61086a92 user: drh tags: trunk)
19:16
Added a similar message to the OpenBSD httpd guide as in [bd8d4376]. (check-in: 7252f7a4 user: wyoung tags: trunk)
19:06
Clarified the intro to the new fail2ban section of the nginx-on-Debian doc. (check-in: 162b7abb user: wyoung tags: trunk)
18:52
On the /test-backlinks page, identify links originating in comments as coming from a check-in, as that is the usual case. (check-in: 3c284e7c user: drh tags: trunk)
18:51
Added section to the nginx-on-Debian server guide to cover client_max_body_size with `fossil uv sync`. (check-in: bd8d4376 user: wyoung tags: trunk)
17:53
Avoid unnecessary query parameters in hyperlinks generated by /timeline. (check-in: 53d3a755 user: drh tags: trunk)
17:30
Add Previous/Following Day/Week/Month links on timeline pages that use the ymd, yw, or ym query parameters. (check-in: 96cd802a user: drh tags: trunk)
15:29
Break out some of the obscure /timeline links on the /sitemap page into a separate /sitemap-timeline page. (check-in: 79f7808b user: drh tags: trunk)
14:14
Improvements to /sitemap: Break out the "Test Pages" entry into a separate /sitemap-test page. Add the "Site Map" entry for popups. (check-in: 86737df9 user: drh tags: trunk)
12:01
For the default skin, only show the Branches menu on wide displays, but do show Forum on all desktops. (check-in: bbfd6123 user: drh tags: trunk)
2020-12-01
16:42
Update the built-in SQLite to the official 3.34.0 release. (check-in: 5434159a user: drh tags: trunk)
14:24
Update links to althttpd so that they point to the new repository. (check-in: 6ef97bdb user: drh tags: trunk)
2020-11-30
21:46
Add the "fossil all git export" and "fossil all git status" commands. (check-in: 9d53f2f6 user: drh tags: trunk)
2020-11-29
21:03
Fixed a few errors in www/backup.md (check-in: bcff80c1 user: wyoung tags: trunk)
19:33
Allow the use of SQL functions in the schema for the ticket table. (check-in: 4740cf75 user: drh tags: trunk)
19:30
Make sure all appropriate SQL function security precautions are in place. (check-in: 994a7c72 user: drh tags: trunk)
12:50
Additional defenses to prevent the db_protect() and db_protect_pop() SQL functions from being misused. (check-in: 6ade3542 user: drh tags: trunk)
2020-11-28
13:36
Fix how Fossil handles 'import --git' into a repository that already exists when neither the '--increment' nor '--force' options are passed, as reported by Warren in forum post 29e358909c. The proposed fix required duplicating a file descriptor for stdin to accept keyboard input from the user and piped input from git fast-import, which necessitated machine-dependent ifdefs that have not yet been tested on Windows platforms. The fix revealed another bug that this commit also solves by avoiding duplicate artifacts being inserted into the blob table during fast_insert_content(), which can arise when importing into a repository that has used the recently implemented '--attribute' feature if manifests are generated from the same content but with different U cards. Due to a bug in Git's output, this required an additional temp table for tracking tag artifacts (see comments). Due to the complexity of this commit, and having not been tested yet on Windows platforms, further testing is needed. (Closed-Leaf check-in: a69f71a2 user: jamsek tags: import-git-dev)
12:51
Fix typo in the sync.wiki document. (check-in: 3cb82905 user: drh tags: trunk)
2020-11-27
13:08
Set an appropriate base URL for the /file page when it is using name= and ci= query parameters. (check-in: a7343c6a user: drh tags: trunk)
2020-11-25
21:51
Improve the "--help" option on commands so that it avoids ambiguity by only looking at commands in the help dictionary. (check-in: 3091605f user: drh tags: trunk)
21:45
Fix the "fossil timeline" command so that it works with the new EVENT.COMMENT format for wiki page changes. Ticket [4e558dbf3d2511ce]. (check-in: 471443b4 user: drh tags: trunk)
21:30
Enhance the Wiki change event display on the timeline so that it detects obsolete EVENT table comments and handles them appropriately. (check-in: 18891326 user: drh tags: trunk)
21:22
Change the way that wiki edits are stored in the Event table in order to address ticket [4e558dbf3d2511ce]. The Event.comment field for a wiki page change now stores just the raw name of the wiki page prefixed with a single character "+", "-", or ":" to indicate if the page was added, deleted, or modified, respectively. Formatting is handled by the timeline rendering. A "fossil rebuild" is required. The "timeline" command is not yet fixed. (check-in: 1a9b1c4d user: drh tags: trunk)
21:14
Eliminate unnecessary variable. (Closed-Leaf check-in: aca2988f user: andybradford tags: ambiguous-help)
20:59
Restore lost 's' from command-line option so documentation matches code. (check-in: 3eaaa565 user: andybradford tags: ambiguous-help)
20:55
When using "fossil command --help" restrict the ambiguous matching to just commands to avoid breaking prefixes that otherwise work fine as a command. For example, "fossil di" works fine as a command, but "fossil di --help" suddenly makes it ambiguous. (check-in: 99f650af user: andybradford tags: ambiguous-help)
2020-11-24
21:24
On the /timeline page, if the p= and bt= query parameters are both present but n= is omitted, then make n as large as it needs to be to cover all ancestors of p= back to the limiting checkin specified by bt=. (check-in: 34f5ea44 user: drh tags: trunk)
00:10
Update the built-in SQLite to the 3.34.0 first beta, for testing. (check-in: 39b114c1 user: drh tags: trunk)
2020-11-22
14:37
Backed out the "ul" left margin on the index page's float-right div. (check-in: 20b8a0ea user: wyoung tags: modern-skin-markup-fixes)
14:05
First in a potential series of many changes to doc markup in this repo (especially to www/*) to work better with the Inskinerator project's Modern override. This one changes an explicit HTML table in www/rebaseharm.md to a Markdown table so our CSS can take full effect. (check-in: facb9880 user: wyoung tags: modern-skin-markup-fixes)
13:18
Minor typo fix in /pikchrshow. (check-in: 09cd585f user: stephan tags: trunk)
12:35
Add support for the pikchr-scale and pikchr-fontscale variables in the details.txt of skins. Use these values to adjust the sizes of Pikchr images to better match alternative font sizes in the skin. (check-in: 08fe2bdc user: drh tags: trunk)
06:54
Added named anchors in the /fileedit doc page. (check-in: 66851cd6 user: wyoung tags: trunk)
2020-11-21
21:04
Performance optimization in the htmlize() utility routine. (check-in: 4c1d38f9 user: drh tags: trunk)
19:46
More aggressive reuse of prepared statements for improved performance. (check-in: f044cf2a user: drh tags: trunk)
14:34
Further performance improvements to the internal printf() implementation. (check-in: 3ad620df user: drh tags: trunk)
14:10
Performance optimization in the internal printf() implementation. (check-in: 008fc929 user: drh tags: trunk)
2020-11-20
19:44
Fix a C++-ism in the import code. (check-in: 87c4b7c4 user: drh tags: trunk)
19:28
Further pikchr improvements, specifically to the "fit" operator on cylinders. (check-in: 939a13d9 user: drh tags: trunk)
17:56
New pikchr.c with improved text layout for cylinders. (check-in: 7c665659 user: drh tags: trunk)
14:39
Fix a markdown rendering bug reported by forum post da5c5c4c31. (check-in: b4e50e9a user: drh tags: trunk)
00:53
Fix a typo in the hashpolicy.wiki document. (check-in: 3b363b30 user: drh tags: trunk)
2020-11-19
13:34
Fix incorrect parsing of RFC 822 user contact info when exporting to a Git repository as reported by Warren in forum post 29e358909c. (check-in: 9360b66a user: jamsek tags: trunk)
2020-11-18
14:47
Improved error messages from the forum when the forum artifact ID is incorrect. (check-in: 93a5d659 user: drh tags: trunk)
08:01
Moved the section on backups in the Email Alerts doc into the new backup doc, and expanded on the coverage of config backups there, since this splits the prior section. (check-in: 2b1c5bc8 user: wyoung tags: trunk)
2020-11-17
18:46
Merge-in trunk (check-in: f4a75745 user: george tags: wiki-history)
18:38
Merge-in styling improvements from trunk (check-in: bb159b9e user: george tags: wiki-history)
17:55
Merge version-2.13 (check-in: 98b44710 user: george tags: wiki-history)
2020-11-16
02:48
Noted the fact that Fossil 2.9+ remembers the HTTPS URI in sync when accessed via an HTTP to HTTPS redirect. (check-in: 6b472ae1 user: wyoung tags: trunk)
02:45
Linking to the new TLS info from the generic SSL doc (check-in: 08c52c35 user: wyoung tags: trunk)
02:42
Small tweaks to the Debian nginx doc. (check-in: 14406b7c user: wyoung tags: trunk)
02:30
Added section #fail2ban to the Debian nginx server guide. (check-in: 46d5fd16 user: wyoung tags: trunk)
02:05
Moved the www/tls-nginx.md doc contents into its companion doc www/server/debian/nginx.md and updated it for Ubuntu 20.04 LTS and Snap-based Certbot. (check-in: 0e63df14 user: wyoung tags: trunk)
00:41
Failed login attempts via /login now return HTTP status code 401 (Unauthorized), not 200. This has no user-visible effect in the returned page, but it allows fail2ban style log scanning. (check-in: 39d7eb0e user: wyoung tags: trunk)
2020-11-14
06:52
Add extra check in git_fast_import() so that 'import --git --incremental' queries the new 'fx_git' table if it exists in the repository database to attribute check-ins. (check-in: 8eeba7a8 user: jamsek tags: trunk)
06:34
Add documentation for the new '--attribute' option introduced with check-in [cd4fbdee00], 'fx_git' repository database table that's created when it's used, and subsequent operational changes to 'git export' and incremental 'import --git' calls. (check-in: dd15d28d user: jamsek tags: trunk)
2020-11-13
14:49
Improvements to "fossil import" to try to make it work better with breezy - based in part on suggestions in forum post be2aa46dcecf1802. (check-in: 806c6f60 user: drh tags: trunk)
2020-11-12
22:42
Nearly complete rewrite of the "Caps Affect Web Interfaces Only" section of the caps/index.md doc, disentangling the concepts for greater clarity. (check-in: 50eeced0 user: wyoung tags: trunk)
14:51
Forgot to remove redundant ternary operator after testing [cd4fbdee00]. (check-in: 52fb87ba user: jamsek tags: trunk)
14:26
Add new --attribute option to the 'fossil import --git' command that enables attributing commits to a username rather than the corresponding Git committer/author contact info of a given commit. Conversely, construct a full 'user <emailaddr>' Git committer string for commits when using 'fossil git export' by querying the new 'fx_git' table if it exists, or the 'info' column in the 'user' table. If no user specified emailaddr can be parsed, then use the generic 'user@noemail.net' string. (check-in: cd4fbdee user: jamsek tags: trunk)
14:25
Show the age of phantoms. Provide text hints on how to deal with phantoms on the /secaudit0 page. (check-in: 97cac02b user: drh tags: trunk)
11:54
Fix the page title for the /file method without a ci= query parameter. (check-in: cf72fc18 user: drh tags: trunk)
2020-11-11
18:23
Document the "pikchr-foreground:" setting in the details.txt file of skins. (check-in: 75668f48 user: drh tags: trunk)
12:40
Small clarity tweaks to the list of weaknesses for "git checkout master@{2020-03-17}" in the gitusers doc. (check-in: ed7c2c1b user: wyoung tags: trunk)
12:16
OCR fix in one of the new delta-format Pikchrs, reported by forum post db23980273. (check-in: 9199f771 user: wyoung tags: trunk)
2020-11-10
14:14
The "pikchr-foreground" color is applied directly and is not translated into dark-mode even if the "white-foreground" boolean is true. (check-in: 569a9932 user: drh tags: trunk)
13:40
If the "pikchr-foreground" property is set in the "details.txt" file of a skin, then the value of that property becomes the default foreground color for Pikchr diagrams. (check-in: 0853ab74 user: drh tags: trunk)
2020-11-09
21:21
Add a count of forum posts to the "fossil dbstat" command. (check-in: dd9cfe02 user: drh tags: trunk)
21:17
Omit phantom artifacts from the count on the "fossil dbstat" command. (check-in: 0ded2508 user: drh tags: trunk)
21:08
Set the white-foreground flag on the xekri skin. (check-in: eb95bc10 user: drh tags: trunk)
20:45
Improvements to the dark-mode color inversion algorthm in Pikchr. (check-in: 919fa97e user: drh tags: trunk)
19:21
Automatically invert Pikchr colors in dark mode skins, based on the "white-foreground" setting. (check-in: 71c4db59 user: drh tags: trunk)
2020-11-07
13:28
Styling improvements: (1) Change the "style_footer()" interface to "style_finish_page()" and give it a parameter which is the page type. (2) Enhance the CSS to make use of the page type. (check-in: 3d6444fc user: drh tags: trunk)
13:25
Rename the "style_body_and_footer()" interface to "style_finish_page()" and add a more detailed header comment to the implementation. (Closed-Leaf check-in: 942b2076 user: drh tags: default-css-cleanups)
12:51
Allow the "title" attribute in "<a>" tags in safe HTML. See forum post 81b7308aa7 (check-in: b8078aef user: drh tags: trunk)
2020-11-06
23:25
Proper explanation for the inconsistent results from the "git show" command examples in Case Study 1 of the gitusers doc. (check-in: 8b1eddef user: wyoung tags: trunk)
13:36
Create a change log entry for version 2.14. (check-in: 81ca92b8 user: drh tags: trunk)
09:21
Explain how Fossil ignores success/failure of a mirror run and only triggers the next run based on a repo change or --force. (check-in: ff63c1ee user: danshearer tags: trunk)
09:15
Point that a two-way git mirror is not the same as re-importing an exported tree although it would be easy to get confused. A two-way mirror is impossible, but thanks to recent commits, re-importing works fine. (check-in: 97959c89 user: danshearer tags: trunk)
2020-11-05
23:49
The CSS rule cleanups in [064c677a70] were mistargeting their elements now that their selector's parent piece is not their immediate parent. (check-in: a46b4ceb user: wyoung tags: default-css-cleanups)
23:46
Ditto forumHier: unused! (check-in: 2de7dbbf user: wyoung tags: default-css-cleanups)
23:42
Removed obsolete references to CSS class div.div.forumHierRoot: no current code uses these. (check-in: 361b9e4e user: wyoung tags: default-css-cleanups)
23:41
Using the new "forum" page type to simplify repetitive CSS rules. (check-in: 064c677a user: wyoung tags: default-css-cleanups)
23:15
Added a parameter to style_footer() and renamed it to match its actual function (style_body_and_footer()) so we can add a CSS class to each page that indicates which major Fossil feature served the page, so we can have module-specific CSS. (check-in: ef5424b6 user: wyoung tags: default-css-cleanups)
22:34
Moved a comment down in src/style.c and removed a part of it that seems to refer to inline CSS that's since moved to style.css. (check-in: a040a5d2 user: wyoung tags: default-css-cleanups)
22:32
Disentangled an incorrect intermingling of the "adunit" feature and the "content" div the begins the body area of each page. (check-in: e7fe61c1 user: wyoung tags: default-css-cleanups)
22:16
Assorted cleanups in skins/default/css.txt: reordered styles so like elements are grouped together, added separator comments to try and prevent this drift from happening again, and made the spacing consistent with the www/style.wiki rules. The goal is to make it easier to find rules when doing custom skin edits. (check-in: b8b15a36 user: wyoung tags: default-css-cleanups)
18:10
Increased the blank space at the end of checkin_names.wiki so the last two sections can be distinguished when targetted by HTML fragment identifiers. (check-in: d2a59b03 user: wyoung tags: trunk)
11:25
Clarify that a legitimate reason for removing data is receiving a legitimate legal request, as per https://fossil-scm.org/forum/forumpost/bbfb0e910e. Add the exception for non-versioned data (ie "fossil scrub"). This may need to be explained better. (check-in: 1001d867 user: danshearer tags: trunk)
03:08
Another attempt at addressing forum critiques about the gitusers doc's Case Study 1. Also had to update the example date we're searching for again, so I addeed a paragraph explaining why the example might break again. (check-in: 278a2b74 user: wyoung tags: trunk)
02:10
Reworked sections 2.7 and 2.8 in fossil-v-git to be clearer about history rewriting: commit + autosync vs. commit + push, rebase + drop vs. shunning, etc. (check-in: 18fc6971 user: wyoung tags: trunk)
2020-11-04
15:45
Flipped the examples in Case Study 1 in gitusers.md around so we approach the problem the same way the SO answer did. Also changed the target date, since on my local Git clone, the prior date is now giving me a non-merge commit for some reason. Rather than try to explain the discrepancy, I've just picked a different example. (check-in: 8f96db71 user: wyoung tags: trunk)
14:25
More gitusers.md doc improvements: promoted the "detached HEAD state" paragraph in Case Study 1 to a new section; clarified "fossil update" vs "fossil checkout" in relation to "git checkout"; applied forum feedback on Case Study 1. (check-in: 7e03f7b4 user: wyoung tags: trunk)
00:43
Add 'contact' subcommand to the 'fossil user' command. This enables changing contact information for a given user. If no argument is passed, this displays the current contact info of the passed in username. (check-in: 03f0a495 user: jamsek tags: trunk)
2020-11-02
18:11
Improvements to the URL-to-repository-filename converter. (check-in: 23679d72 user: drh tags: trunk)
14:58
Add the "test-url-basename" command for testing the url_to_repo_basename() function. Use this to try to reproduce the behavior reported on forum post 3e6f96bffc, without success. (check-in: 8d9ea283 user: drh tags: trunk)
09:04
Small tweaks to previous (check-in: 749d919a user: wyoung tags: trunk)
09:01
Explained --no-merges vs --first-parent in Case Study 1 of the gitusers doc. (check-in: d09431bb user: wyoung tags: trunk)
08:52
Assorted minor improvements to the gitusers doc. (check-in: 52bf1c0c user: wyoung tags: trunk)
08:02
Another small tweak (check-in: 1647a14e user: wyoung tags: trunk)
08:01
Small tweak to previous (check-in: 7fa0a229 user: wyoung tags: trunk)
07:33
Added a second case study to the gitusers.md doc: "Checking Out A Version By Date" (check-in: ca909620 user: wyoung tags: trunk)
05:20
Moved the "What Changed?" section of gitusers.md up into the "Log" section since "git whatchanged" is approximately the same as "git log --raw", so they should be covered near each other. Then expanded the Log section's discussion of symbolic checkin names into a new sub-section, adding more info on cryptic Git revision names. (check-in: f378f5dc user: wyoung tags: trunk)
04:17
Better explanation of why Fossil is faster than Git in "Log" section of gitusers doc, so it isn't dismissed as puffery. (check-in: b2c032ea user: wyoung tags: trunk)
04:06
Reworked the "Log" section of the gitusers.md doc from forum feedback, for clarity, and to add more info on command abbreviation. (check-in: 3c489671 user: wyoung tags: trunk)
01:44
Applied rouilj's tricks from the forum to the new "What Changed?" section of gitusers.md. (check-in: 2b274922 user: wyoung tags: trunk)
01:26
Fixed irregular indents in gitusers.md command examples (check-in: d1ebc8ef user: wyoung tags: trunk)
01:23
Cross-linked the fossil-v-git.wiki and gitusers.md docs. (check-in: 7e907a1d user: wyoung tags: trunk)
01:15
Edit pass on gituser.md. (check-in: dd3dd239 user: wyoung tags: trunk)
00:38
Typo fix in previous (check-in: a1626b30 user: wyoung tags: trunk)
00:38
Linking to the new docs from fossil-v-git.wiki, simplifying it a bit. (check-in: ff428f3e user: wyoung tags: trunk)
00:34
Added the "Git Worktrees" section to the gitusers doc, which acts as a complement to the "multiple check-out directories" section of the new ckout-workflow.md doc. It gives us a place to talk about git-worktree and git clone --separate-git-dir. (check-in: 31f8a835 user: wyoung tags: trunk)
2020-11-01
23:59
Moved the "Checkout Workflows" section of the gitusers doc up so we can shorten the section intro, and added brief comparisons between Fossil and Git specifically here, since the new ckout-workflows doc glosses those points now. (check-in: f2c5ab91 user: wyoung tags: trunk)
23:45
Updated the gitusers.md doc title in the index. (check-in: 13f8eb09 user: wyoung tags: trunk)
23:44
Minor tweaks to the gitusers doc to track the prior commit. (check-in: aa29ce14 user: wyoung tags: trunk)
23:35
Extracted the checkout workflows section of the gitusers.md doc to a new www/ckout-workflows.md doc, which talks about Git only as a common comparison. Linking to it from the gitusers.md doc, which now only talks about the Git-specific bits we had in that section. (check-in: b6b1b705 user: wyoung tags: trunk)
23:09
Applied a variant of drh's fix to the label spacing in the "museum" directory tree diagram in the gitusers doc. (check-in: 54001a4e user: wyoung tags: trunk)
23:03
Now covering the Fossil 2.14 "fossil clone URI" feature in the gitusers doc. (check-in: 77541c8b user: wyoung tags: trunk)
21:38
Added "git worktree remove" para to the gitusers doc (check-in: 26aa4eac user: wyoung tags: trunk)
21:36
Recast the section on dotfiles in the gitusers doc to cover "fossil close" and its implications more broadly. (check-in: 526446c2 user: wyoung tags: trunk)
21:14
Enhance the CGI extension documentation to point out that CGI extensions are accessible to all users and that access control is the responsibility of the individual extensions. (check-in: 30894085 user: drh tags: trunk)
21:12
Added the "What Changed?" section to the gitusers doc. (check-in: 7c511cae user: wyoung tags: trunk)
20:59
Added the "Showing Information About Commits" section to the gitusers doc. (check-in: 9cf1a166 user: wyoung tags: trunk)
20:46
Another compiler warning fix. (These warnings are coming from a separately machine, so I have to commit before I see them.) (check-in: 49150552 user: drh tags: trunk)
20:45
More compiler warning fixes. (check-in: 4c91a911 user: drh tags: trunk)
20:44
Fix a harmless compiler warning. (check-in: 2ba5ddb9 user: drh tags: trunk)
20:37
Factor out the logic that tries to deduce an appropriate repository name from a remote URL and put it in the url_to_repo_basename() routine of url.c. (check-in: f978fcdc user: drh tags: trunk)
20:22
Added the "Init In Place" section to the gitusers doc. (check-in: b564baa6 user: wyoung tags: trunk)
20:18
For the "clone" command, throw a fatal error if the FILENAME argument is omitted and we are unable to guess an appropriate filename from the URL. (check-in: 4fa02aff user: drh tags: trunk)
20:07
Broke the long "Repositories And Checkouts Are Distinct" section in the gitusers doc up into sections, reordered some things, and added a Pikchr showing my ~museum directory structure as an example. (check-in: 88a83307 user: wyoung tags: trunk)
20:06
Enhance the clone command so that if it includes either the "--workdir DIR" option, or if omits the local repository filename argument, and if the "--no-open" option is omitted, then the repository is opened after it is cloned. Hence the command "fossil clone https://whatever.com/x/y/repo" works more like Git in that it first clones into "repo.fossil" then opens the new repository in the "repo" subdirectory. (check-in: a8d78787 user: drh tags: trunk)
19:27
Added the "Summary Line Convention In Commit Comments" section to the gitusers doc. (check-in: 46a30e7e user: wyoung tags: trunk)
19:16
Expanded the "timeline is the log" section of gitusers.md with info from this forum post: https://www.fossil-scm.org/forum/forumpost/e891cce862 (check-in: c8b414ab user: wyoung tags: trunk)
18:40
Tightened the intro section of gitusers.md (check-in: dad5ce51 user: wyoung tags: trunk)
18:11
Reordered a few paragraphs in backup.md to place more important info earlier in the doc. (check-in: 8a0ea9b6 user: wyoung tags: trunk)
18:06
Several refinements to the backup.md doc, the most substantive of which is that it now warns that even the second method doesn't inherently solve the stale-repo problem in distributed cloning networks. (check-in: 8a539f14 user: wyoung tags: trunk)
17:52
Using `fossil sql --no-repository` instead of `sqlite3` in the restore step of backup.md. (check-in: ff7cedfe user: wyoung tags: trunk)
00:30
Increase the version number to 2.14 to begin the next release cycle. Update the built-in SQLite to the latest 3.34.0 alpha for testing. (check-in: e9b5a983 user: drh tags: trunk)
00:27
Update the latest release notation on the homepage. (check-in: 15e42c54 user: drh tags: trunk)
00:13
Version 2.13 "All Saints" (check-in: e7bba4ff user: drh tags: trunk, release, version-2.13)
2020-10-31
03:15
Covered the difference between "git log" and "fossil timeline" in the gitusers doc; made several other improvements while in there. (check-in: f6ad6fb1 user: wyoung tags: trunk)
2020-10-29
19:18
Fixed a use of "above" in a document to refer to text that was later moved to another document entirely. We now link to that doc instead. (check-in: 6a6fd6b9 user: wyoung tags: trunk)
19:07
Reworked the "Clones and Backups" section of www/caps/admin-v-setup.md now that we have www/backup.md. (check-in: dd65d143 user: wyoung tags: trunk)
16:30
Requires SQLite version 3.34.0 or later, due to the recursive CTE enhancement needed by /finfo. (check-in: 8813ae91 user: drh tags: trunk)
13:42
Minor fix to error handling in pikchr.c. (check-in: 5febff25 user: drh tags: trunk)
02:06
Update to the latest pikchr.c that fixes issues with the "close" attribute. (check-in: c9bc2b4a user: drh tags: trunk)
2020-10-28
16:13
When deleting a subscription, also provide the opportunity to delete the corresponding user. When deleting a user, always also delete subscriptions associated with that user. (check-in: b6b5a7dc user: drh tags: trunk)
2020-10-27
08:47
Add section "Naming of Files, Checkins, and Branches" (check-in: 590a8fca user: danshearer tags: trunk)
08:04
Correct typo; X swapped with Y (check-in: 986bde2b user: danshearer tags: trunk)
2020-10-26
19:49
Merge enhancements to the quickstart.wiki documentation page onto trunk. (check-in: f2abc2b0 user: drh tags: trunk)
16:44
Minor html emphasis fix (Closed-Leaf check-in: 2c9ccd77 user: danshearer tags: quickstart)
16:35
Minor mods, and use for command output (check-in: cfc68d13 user: danshearer tags: quickstart)
15:56
Add examples and expand on the workflow (check-in: 3e44368b user: danshearer tags: quickstart)
06:46
Added zsh fossil autocompletion, as discussed in https://fossil-scm.org/forum/forumpost/47a180c815. (check-in: e299531d user: stephan tags: trunk)
2020-10-22
17:35
Assorted minor fixes and tweaks to the check-in names doc (check-in: 68a78b89 user: wyoung tags: trunk)
2020-10-20
23:40
Fix a harmless compiler warning in the previous check-in. (check-in: 6c2b5baf user: drh tags: trunk)
23:37
The /file page for a file that is not part of the latest checkin tries to substitute the most recent checking that added the file. (check-in: 5cf5ad84 user: drh tags: trunk)
10:08
Small tweaks to the CAP Theorem doc (check-in: 67a4c1d3 user: wyoung tags: trunk)
00:20
For the graph drawing routines, make the graph row identifier a 64-bit integer type to avoid the possibility of integer overflow in /finfo where the row ids are a composite of the blob.rid and filename.fnid and hence might become large for repositories with many files and many check-ins. (check-in: ab71d95a user: drh tags: trunk)
2020-10-19
20:52
Update the built-in SQLite to fix a bug introduced by the previous update. (check-in: 0fac549b user: drh tags: trunk)
20:09
Do a better job of showing when a file is added, deleted, or renamed in the /finfo page. (check-in: a0bca481 user: drh tags: trunk)
18:24
Improvements to /finfo: Show all file rename events. The "rid" for each timeline entry must be a combination of the file-id "fid" and the filename-id "fnid" since either one of those two might change which should result in a new entry on the timeline. (check-in: 8c598d72 user: drh tags: trunk)
14:37
Use the new multi-recursive-term capability of CTEs in SQLite to fix the /finfo clade calculation, and to make /finfo run about 5x faster. (check-in: 47bfea07 user: drh tags: trunk)
13:25
Update the built-in SQLite to the latest 3.34.0 alpha that includes the ability to have multiple recursive terms in a recursive CTE. That new capability is expected to be helpful in improving the /finfo page. (check-in: 5328f821 user: drh tags: trunk)
2020-10-18
18:38
Fix harmless compiler warnings. Update the custom MinGW makefile. Make feature reporting consistent for 'markdown', which is now always enabled. (check-in: 750879ea user: mistachkin tags: trunk)
2020-10-17
18:47
Use the correct filename in hyperlinks in the new /finfo page. (check-in: 0af47722 user: drh tags: trunk)
14:57
Enhancements to the /finfo page so that it follows the file across name changes if the ci=HASH query parameter is used. (check-in: b54d9396 user: drh tags: trunk)
12:34
On the /finfo page, change the check-in range query parameters from ci= and orig= into from= and to=. This gets the ci= query parameter out of the way so that it can be reused. (check-in: 299800b2 user: drh tags: trunk)
2020-10-15
14:59
Expand the allowed date/time format for the "a=" and "b=" query parameters to the /finfo page, so that it is compatible with /timeline. (check-in: 04ef2df6 user: drh tags: trunk)
11:23
Fix typo in pikchr.md (check-in: 9bdc9ca4 user: drh tags: trunk)
2020-10-14
17:47
For the "fossil all" command, make --dont-stop the default. There is a new option --stop-on-error that sets the legacy behavior. Pause for 1/3rd of a second after any subprocess failure so that if the failures is due to SIGINT, a second SIGINT can have time to arrive before continuing. (check-in: bcd5addd user: drh tags: trunk)
12:15
Take positive cherrypick merges into account when computing the MLINK table for a check-in. (check-in: e0d8f733 user: drh tags: trunk)
2020-10-13
20:47
Fix the --baseurl option on "fossil server" so that it automatically strips off trailing / characters. (check-in: 9e816f0a user: drh tags: trunk)
13:50
Enhance the whatis command to show a description of the origin of phantoms. (check-in: d2502768 user: drh tags: trunk)
13:26
Improved identification of the source of phantoms when they are named in a cluster but nowhere else. (check-in: cd624d4f user: drh tags: trunk)
12:19
Update the built-in SQLite to the latest 3.34.0 alpha. (check-in: 2ec0dc29 user: drh tags: trunk)
08:35
Typo fix (check-in: 9c67804a user: wyoung tags: trunk)
08:32
Assorted minor tweaks to the new backup.md doc (check-in: fc2c1244 user: wyoung tags: trunk)
00:40
Soften the introduction to the "backup.md" documentation page, so that beginners do not get the impression that backups are critical for successful Fossil deployments. (check-in: c14a1f60 user: drh tags: trunk)
2020-10-12
19:56
More clarifications to cryptocurrencies vs the Fossil "blockchain". (check-in: 26005b81 user: wyoung tags: trunk)
19:45
Several clarity improvements to the discussion of cryptocurrencies in blockchain.md. (check-in: 70523a71 user: wyoung tags: trunk)
13:39
New document: pikchr.md (check-in: a92365d7 user: drh tags: trunk)
2020-10-11
06:51
Greatly expanded the simple definition of "blockchain" in the eponymous doc to include more details of common blockchain implementations to draw clearer parallels. This causes our conclusion to flip around from the prior version of this doc, but it's worth keeping the doc because it serves to compare and contrast Fossil to other systems. (check-in: 1ddb4008 user: wyoung tags: trunk)
01:19
Understand files ending in ".pikchr" to be Pikchr source text and render them appropriately. (check-in: e32214a4 user: drh tags: trunk)
2020-10-10
20:33
New pikchr.c that fixes the top and bottom margin that was lost in the previous check-in. (check-in: 0ec09ea8 user: drh tags: trunk)
20:24
Update pikchr.c with enhancements in text layout when using "big" or "small". (check-in: b80bd64b user: drh tags: trunk)
17:54
Merge in trunk (check-in: 7803cfef user: george tags: wiki-history)
16:34
Add a catch-all bullet for other miscellaneous changes to the change list for 2.13. (check-in: 40f0d5ab user: drh tags: trunk)
16:32
Improved interwiki link documentation. Enhance the /intermap page so that it shows the current intermap (read-only) to non-setup users, rather than completely exluding such users. (check-in: baeab56e user: drh tags: trunk)
15:52
Relax constraints on the SQL used to set up the ticket schema slightly: (1) Allow creating views whose names begin with "ticket" or "fx_". (2) Allow creating tables whose names begin with "fx_". (3) Allow data changes to tables whose names begin with "fx_". (check-in: 93c45cd4 user: drh tags: trunk)
12:05
Renamed fossil.page.wikiedit-wysiwyg-legacy.js to fossil.wikiedit-wysiwyg.js so that the excessively long name doesn't cause /dir to have, at most, 2 columns. Removed some dead code and added a tiny bit of docs. Updated changelog per forum request. (check-in: a759842a user: stephan tags: trunk)
00:01
Fix the fossil_stat() routine (broken by check-in [39a5df1fde741d08]) so that it responds correctly when the second argument is SymFILE. This is a fix for the problem described in Forum post 251ffc0584 (check-in: 4d445ead user: drh tags: trunk)
2020-10-09
21:09
Replace the two GIF images in the www/concepts.wiki document with Pikchrs. (check-in: bd9bf248 user: drh tags: trunk)
2020-10-08
14:49
Always consume the --nocgi command-line option even if it is not used. (check-in: 8594e7a6 user: drh tags: trunk)
08:48
Drew better analogies between Bitcoin's answer to the 51% attack and to GitHub in the new Anonymity section of the blockchain doc to show that Fossil doesn't even try to provide the sorts of behavior that allow fully anonymous contribution to a blockchain. (Closed-Leaf check-in: 87b1385d user: wyoung tags: fossil-as-blockchain)
08:10
Added a para to the prior section. (check-in: 69e0ea54 user: wyoung tags: fossil-as-blockchain)
08:00
Added the "Anonymity" section to the new blockchain doc. (check-in: b357dc2b user: wyoung tags: fossil-as-blockchain)
07:04
Small clarity fix in the new CAP theorem doc (check-in: 8a9facbb user: wyoung tags: trunk)
06:42
All but rewrote the Cryptocurrency section of the new blockchain.md doc to clarify the sorts of frauds each system has to prevent so that we can draw clearer analogies. (check-in: 154d848d user: wyoung tags: fossil-as-blockchain)
04:11
Merged trunk changes in (check-in: 95203913 user: wyoung tags: fossil-as-blockchain)
04:11
Added fragment identifiers to the new CAP theorem doc. (check-in: 991b0899 user: wyoung tags: trunk)
2020-10-07
07:07
Removed an extraneous space from pikchrshow DOM output. pikchr command error output now prepends a newline to pikchr-level errors to keep line number comment alignment intact for the first line. (check-in: c3b2671f user: stephan tags: trunk)
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: ce304629 user: stephan tags: trunk)
05:39
Increase maximum token size in Pikchr to 50000 bytes. Important for macros. (check-in: da1ff5c2 user: drh tags: trunk)
00:29
Removed several weak arguments from the blockchain.md doc and added a lot more info about cryptocurrencies to show the differences between them and Fossil. Tweaked much of the preexisting material. (check-in: 3d55f443 user: wyoung tags: fossil-as-blockchain)
2020-10-05
18:15
Recast the blockchain.md doc as "Is Fossil a Blockchain?" (answer: mostly no) and updated all references to it to either remove the term, use "repository" instead where that's sufficiently clear, or to say either "Merkle tree" or "hash tree" instead where we need to distinguish the hash tree itself from the rest of the repo DB file's contents. This depends on the prior CAP theorem doc, since part of the argument for Fossil not being a blockchain gets us down into those weeds.

EDIT: Moving it to a branch because we're still arguing the point on the forum. (check-in: 855578b6 user: wyoung tags: fossil-as-blockchain)

17:02
Added a new doc, "Fossil and the CAP Theorem." It distills some good info from the forum, so we can just point at it instead of recapitulating it. But it's being checked in now because an upcoming commit will refer to it. (check-in: 3ddd56d0 user: wyoung tags: trunk)
16:37
Added "Restoring From An Encrypted Backup" section to the new backup.md doc. (check-in: e0a38eb3 user: wyoung tags: trunk)
14:12
Fixed another dangling Markdown link (check-in: e5ad07dc user: wyoung tags: trunk)
14:10
URL fix (check-in: 56b13f2a user: wyoung tags: trunk)
13:59
Fixed the scp command in the new backup.md doc (check-in: e3e4bec3 user: wyoung tags: trunk)
13:55
Another typo fix in the backup.md doc (check-in: eb34dd52 user: wyoung tags: trunk)
13:45
Typo fix (check-in: 21a63c8c user: wyoung tags: trunk)
13:16
Assorted tweaks to the new material in the gitusers doc. (check-in: 09acf696 user: wyoung tags: trunk)
12:37
Added the "Autosync is Intransitive" section to the new backup doc. (check-in: 1299d677 user: wyoung tags: trunk)
12:24
A few small refinements to the new backup doc. (check-in: ea57a2f7 user: wyoung tags: trunk)
12:08
Greatly expanded the "Autosync" section of the gitusers doc. Among other things, it now references the new backup.md doc. (check-in: 3ddc1d94 user: wyoung tags: trunk)
12:07
Added info about private branches to the new backup.md doc. (check-in: 78c0c55a user: wyoung tags: trunk)
11:54
Added a new doc, "Backing Up a Remote Fossil Repository". (check-in: 5c2ef2a2 user: wyoung tags: trunk)
11:25
Change instances of %s(g.zTop) into %R. (check-in: a40e8a09 user: drh tags: trunk)
10:18
Greatly expanded the "Repositories And Checkouts Are Distinct" section of the gitusers.md doc. (check-in: 386fc49e user: wyoung tags: trunk)
10:13
uv ls/list doc patch from https://fossil-scm.org/forum/forumpost/cdc43ffe60. (check-in: ecac7c4e user: stephan tags: trunk)
2020-10-04
14:35
Exchanged most uses of %s(g.zTop) and such in the code with use of %R in Fossil's special printf() type functions. (The branch is named after just one of several of these, mprintf(), being one of the shortest names.) At the least, this is shorter, simpler code, but there is also some hope that it may fix some doubled slash problems someone is having on the forum. (https://www.fossil-scm.org/forum/forumpost/1ea72176e0) (Closed-Leaf check-in: 2907721a user: wyoung tags: prefer-mprintf-r)
2020-10-03
02:06
Clarity tweaks to the new "multiple origins" scenario in the gitusers doc. (check-in: 77bb3e4c user: wyoung tags: trunk)
01:53
Small tweaks to previous. (check-in: e67c413d user: wyoung tags: trunk)
01:38
Added a new "multiple origin servers" section to the gitusers doc to replace the obsolete one just removed. This not only shows off Fossil's new "fossil remote add" feature set, it acts as a sort of white paper comparing Git to Fossil in a common use case scenario. (check-in: e3cef726 user: wyoung tags: trunk)
01:35
Expanded on several points in the gitusers doc, added links to other docs, added named anchors to all of the top-level sections, and removed the obsolete section on "no multiple remotes" now that we have the "fossil remote add" feature. (check-in: 2306f816 user: wyoung tags: trunk)
2020-10-02
22:11
Clarified and expanded the "create branches at point of need" section of the gitusers.md doc. (check-in: 331dc0d3 user: wyoung tags: trunk)
21:59
Reflected the GitHub change of "master" to "main" into our gitusers.md doc. (check-in: b0ee3d5d user: wyoung tags: trunk)
20:28
Changed the name of docs at the end of the quickstart doc to match their actual titles. (check-in: 3449d9ce user: wyoung tags: trunk)
20:25
Converted obsolete anchors in the quickstart doc to fragment identifiers on the headers, and added fragment IDs to all of the h2 level headers that lacked one. (check-in: 8da7b15e user: wyoung tags: trunk)
14:23
Removed a bit of unnecessary copy/paste backwards compatibility from [15001dd013]. (check-in: aae387d9 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: 15001dd0 user: stephan tags: trunk)
2020-10-01
21:21
Clarity pass on the rebaseharm doc following the recent Hacker News thread, to address confusions that came up there. (check-in: 068e26af user: wyoung tags: trunk)
20:59
Removed point 4.0 from the rebaseharm doc: it said that rebase is a problem because Git makes the change immediately to the blockchain, but that's a problem with Git in general, due to its commit-then-push model, not a problem with rebase in particular. If Fossil had a rebase feature, there is no good reason to believe we would do this as well. Therefore, this point is a distraction from the main argument. Besides, we already cover it as fossil-v-git.wiki#testing. (check-in: 6e0dba25 user: wyoung tags: trunk)
20:37
The rebaseharm.md doc referred to rebase04.svg *twice*, so while all SVGs associated with the doc were replaced, the second became a broken link when the SVG files were removed. Simply duplicating the code with comments to try to stave off version drift for now. (check-in: a61ac66b user: wyoung tags: trunk)
18:34
Improvements to the "fossil import" command so that it can now (hopefully) interpret "breezy" files. (check-in: d82534b3 user: drh tags: trunk)
18:33
Fix an issue with the "R" (rename)" and "C" (copy) commands when interpreting git-fast-export files. (Closed-Leaf check-in: 8e5b0103 user: drh tags: breezy-fast-import)
16:01
Latest pikchr.c fixes an issue with "same" and lines that have a "to" attribute. (check-in: 42caafaf user: drh tags: trunk)
12:46
Fix an issue with the logic that prevents Fossil control artifacts from being imported as regular files. Probably unrelated to the breezy changes. Came up during testing. (check-in: 92ab2474 user: drh tags: breezy-fast-import)
12:13
An attempt to enhance the git-fast-export reader so that it can handle breezy-generated output files. (check-in: ddcd35d6 user: drh tags: breezy-fast-import)
2020-09-30
21:11
Update the built-in SQLite to the latest 3.33 alpha for testing. (check-in: 02c6b07e user: drh tags: trunk)
10:39
Improved processing of nested macros in Pikchr. (check-in: f7259ea0 user: drh tags: trunk)
10:30
Added "toggle" attributes to the pikchrs in the branching and rebase harm docs, so they act as inline examples of the tech. (check-in: 01f6ed9c user: wyoung tags: trunk)
08:38
Replaced www/encode10.gif in www/delta_encoder_algorithm.wiki with a Pikchr. (check-in: a9d0c2a6 user: wyoung tags: trunk)
02:01
Update Pikchr to the latest version that supports "solid". (check-in: 5251d44f user: drh tags: trunk)
00:30
Replaced hacky invisible box workarounds for default PIC spacing in delta_format.wiki doc with more idiomatic PIC code. (check-in: f345f7bc user: wyoung tags: trunk)
00:08
Replaced old GIF diagrams from the delta_format.wiki doc with Pikchrs. Also removed delta?.gif from test/commit-warning.test. (check-in: d7c074e7 user: wyoung tags: trunk)
00:05
Tweak to the "\n" text inside 2.1 Header of the new delta_format.wiki doc to make use of new Pikchr handling of backslashes. (Closed-Leaf check-in: b72cc795 user: wyoung tags: delta-format-pikchr)
00:02
Merged in trunk (check-in: 45ff53dd user: wyoung tags: delta-format-pikchr)
00:00
Replaced the invisible empty box hack for left margin in the new delta_format.wiki diagrams with use of the "leftmargin" global PIC property. (check-in: 1aaf9f85 user: wyoung tags: delta-format-pikchr)
2020-09-29
23:33
Removed unused www/CollRev?.gif and the references to it from test/commit-warning.test. Also removed obsolete references to already-removed www/branch??.gif. (check-in: ec816c91 user: wyoung tags: trunk)
11:44
Fix backslash processing in pikchr. (check-in: 7a9bf394 user: drh tags: trunk)
01:07
Removed www/rebase??.graphml, being the yEd inputs for generated SVGs replaced with Pikchrs in commit [38d6a8f3]. (check-in: f3c3a099 user: wyoung tags: trunk)
00:56
Converted www/delta?.gif to Pikchr diagrams. They're mostly faithful to the originals, but there's a bug that needs fixing in Pikchr (or worked around somehow here) before this can be merged to trunk. My posting to the pikchr forum also needs to be edited to point to a historical version of www/delta6.gif to avoid creating a dangling hyperlink when this is merged down. (check-in: e0dd267b user: wyoung tags: delta-format-pikchr)
2020-09-28
23:28
Removed www/branch??.graphml: these are the yEd input files for the old SVG diagrams in www/branching.wiki, which were replaced with Pikchrs in [9ec0ccee33]. (check-in: 387322d6 user: wyoung tags: trunk)
04:03
If I am reading this correctly, the JPEG and PNG bars are the ones increasing with each commit, not so much the TIFF bar due to using uncompressed TIFF (check-in: 309af345 user: andygoth tags: trunk)
02:29
Move change to intended location (shouldn't have been on branch) (check-in: fb6b093d user: andygoth tags: trunk)
02:29
Make it possible to delete a check-in, tag, or branch wiki page by setting it to zero length (Closed-Leaf check-in: 5b101aa7 user: andygoth tags: andygoth-html-caps)
02:15
Merge trunk, also change "Svg" to "SVG" (check-in: c319f52c user: andygoth tags: andygoth-html-caps)
02:14
Add support for displaying SVG files (check-in: 4a53f343 user: andygoth tags: trunk)
01:54
Capitalize "HTML" (check-in: 59d27ab4 user: andygoth tags: andygoth-html-caps)
00:14
In Pikchr: Add support for macros. Also if the width or height of an object are zero or less, then autofit the corresponding dimension. (check-in: 6dd3a5b7 user: drh tags: trunk)
2020-09-26
15:51
Briefly mention how to invoke Pikchr from the Markdown and Fossil Wiki rule cheatsheets. (check-in: 4083e5d3 user: drh tags: trunk)
11:24
Update the built-in pikchr.c to include the latest enhancements and fixes. (check-in: 1347e990 user: drh tags: trunk)
11:19
Fix to check-in [9e4ca8948a82ae5e]: Do not set "height:auto" for images in the default CSS, as doing so is not necessary for good mobile operation. (check-in: 1165ed88 user: drh tags: trunk)
10:42
Fix check-in [b07834b386f02f73] so that it correctly handles unquoted HTML attribute values. (check-in: af616bce user: drh tags: trunk)
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: f45cd279 user: stephan tags: trunk)
2020-09-21
14:21
Latest pikchr.c fixes a variable initialization problem and adds the xmlns attribute to the SVG markup. (check-in: 7de85417 user: drh tags: trunk)
2020-09-20
22:44
Update pikchr.c to allow "fraction of the way between" position forms to have a fraction less than 0.0 or greater than 1.0. (check-in: cab87e34 user: drh tags: trunk)
15:05
Fix the assert() statement in Pikchr so that it works on positions, not just places. (check-in: 24981713 user: drh tags: trunk)
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: 7e8cb38c user: stephan tags: dir-columns-revisited)
07:28
An experiment in improving the /dir column flow. (Not ready to merge.) (check-in: e5121a49 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: 11e7960e user: stephan tags: trunk)
14:03
Mention skip in bisect options list (check-in: 79499fc4 user: andygoth tags: trunk)
13:58
Clean up the fossil bisect summary per https://fossil-scm.org/forum/forumpost/00503372fc (check-in: 6e45212a user: andygoth 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: 16208415 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: 4ad86dd5 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: 2e828971 user: stephan tags: trunk)
11:04
Update the sqlite3.h file so that the source-id is the same as sqlite3.c (check-in: 09cea3cb user: drh tags: trunk)
04:29
Fix a minor problem with the "behind" attribute in Pikchr (check-in: e5e2dac0 user: drh tags: trunk)
04:09
Update pikchr.c with support for dist(P1,P2) and copying the layer using "same". (check-in: af52ad89 user: drh tags: trunk)
00:44
Convert the diagrams in the "Rebase Considered Harmful" document over to Pikchr. (check-in: 38d6a8f3 user: drh tags: trunk)
2020-09-18
22:55
New pikchr.c with improved estimates for bounding boxes on text. (check-in: bac677f7 user: drh tags: trunk)
21:11
Minor doc updates, removed some dead code. (check-in: 3ec33f98 user: stephan tags: trunk)
20:19
Remove overflow setting on pikchr-src elements. (check-in: 72f8372a 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: 3f2c0af2 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: 947c0390 user: stephan tags: trunk)
17:43
CSS workaround for centering pikchrs in Chrome. (check-in: d825fcc1 user: stephan tags: trunk)
16:58
Update the built-in pikchr.c and SQLite to the latest from both trees. (check-in: c3de0a99 user: drh tags: trunk)
13:18
Be careful to honor the auto-hyperlinks setting when it is off, and not display any hyperlinks. See forum post 5a7530639a for the bug report. (check-in: b190858e user: drh tags: trunk)
11:27
Fix minor formatting error in the HTML for hierarchical forum. (check-in: 7221e497 user: drh tags: trunk)
10:32
An alternate impl for centering pikchrs which does not rely on margin:auto. (check-in: 2963f440 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: 052d3748 user: stephan tags: trunk)
07:48
Made the return code of a bit of new code match its docs. (check-in: 539eb61f 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: 9b2b6f5b user: stephan tags: trunk)
05:07
Minor C-side fossil JS API simplification to ease upcoming changes. (check-in: 58d86b16 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: 43116c73 user: stephan tags: trunk)
03:28
Clarify the origin of JS in the generated HTML. (check-in: 68542449 user: drh tags: trunk)
02:54
Always include a \n after the opening safe_html() nonce when generating Pikchr output, for improved human readability of the generated HTML. (check-in: 39b2081e user: drh 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: cd22f0f0 user: stephan tags: trunk)
2020-09-17
23:44
pikchr command doc updates. (check-in: 82a0b517 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: 67060c50 user: stephan tags: trunk)
23:11
Renovated the pikchr click handling as discussed off-list with drh. (check-in: 938bb6c7 user: stephan tags: trunk)
21:09
Toggle Pikchr between SVG and source code using ctrl-click. Or if the Pikchr was created using the "toggle" tag, an plain old single-click will suffice. (check-in: d88444e2 user: drh tags: trunk)
19:31
Misuse of a potentially unsigned value, caught by clang. Only affected platforms where char is unsigned by default. (check-in: 5c92bbfc user: stephan tags: trunk)
19:30
Toggle between SVG and Pikchr source code using the "hidden" class and use ctrl-click rather than double-click. (check-in: 22ba9a41 user: drh tags: trunk)
19:20
Cleanup the double-click source display for Pikchr. (check-in: 5634dfeb user: drh tags: trunk)
18:04
Put the javascript for SVG/source toggling inside of the safe-html nonce so that it survives safing. (check-in: ebf5b595 user: drh tags: trunk)
17:58
Experimental double-click to toggle between SVG and pikchr source. (check-in: 3c786c6f user: drh tags: trunk)
17:17
Pedantic CSS tweaks. (check-in: 5b93a4da 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: d369f4f3 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: 2a2be013 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: 4f697731 user: stephan tags: trunk)
2020-09-16
22:25
Changelog update per forum request. (check-in: b816bae3 user: stephan tags: trunk)
20:49
In pikchr: fix minor details on drawing filled "file" objects and the "fit" operator on "cylinder" objects. (check-in: db02f9b8 user: drh tags: trunk)
19:01
New pikchr.c file that fixes alignment of chopped lines. (check-in: 7c28d11d user: drh tags: trunk)
15:30
Bug fixes in the pikchr.c tokenizer. (check-in: 36765403 user: drh tags: trunk)
13:58
Fix problems with the built-in "decompress()" SQL function. (check-in: 449ab5d6 user: drh tags: trunk)
13:45
Update the built-in SQLite and Pikchr to the latest code, for testing. (check-in: ecf679b2 user: drh tags: trunk)
13:21
Make an appropriate entry in the rcvfrom table when doing a git or svn import. See forum post 92db82a45e for details on the problem that this check-in attempts to fix. (check-in: 59ba20f8 user: drh 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: a1838297 user: stephan tags: trunk)
04:14
Update to the very latest pikchr.c file for testing. (check-in: a9c54aad user: drh tags: trunk)
2020-09-15
20:52
Allow files to be converted to symlinks and vice versa without an intermediate check-in to delete them (check-in: e0aebc21 user: andygoth tags: trunk)
19:23
Restore the ability to add symlinks located inside subdirectories (check-in: 9d75d6ae user: andygoth tags: trunk)
19:23
Remove some end-of-line whitespace and fix some very minor comment typos and capitalization errors (check-in: 05379255 user: andygoth tags: trunk)
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: 83f03e91 user: stephan tags: trunk)
15:43
Fix the markdown converter so that it recognizes HTML comments and passes them through into the raw_html_tag callback. (check-in: 881f8664 user: drh tags: trunk)
14:56
Provide a custom structure to the "opaque" pointer of the generic Markdown translator for use when translating Markdown into HTML. (check-in: b61dcef9 user: drh tags: trunk)
14:54
Restrict pikchr svg/source toggle to clicks, per forum feedback. (check-in: 4e757d8c user: stephan tags: trunk)
14:17
When parsing HTML attribute values in Fossil Wiki formatting, do not allow quoting characters inside of non-quoted values. (check-in: b07834b3 user: drh 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: db865174 user: stephan tags: trunk)
13:42
Make use of the new PIKCHR_INCLUDE_SOURCE flag via /pikchrshow and the pikchr CLI command. (check-in: 7da8813e user: stephan tags: trunk)
13:24
Include pikchr source text in the generated SVG. (check-in: 041390d3 user: drh tags: trunk)
12:59
Fix the file_mkfolder() function so that it works for files in the root directory. (check-in: 74c4732f user: drh tags: trunk)
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: 893bf2a1 user: stephan tags: trunk)
04:42
Found a couple snazzy icons for the pikchr view mode change button. (check-in: 927c90e8 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: e8f603f0 user: stephan tags: trunk)
21:40
pikchrshow: corrected clipboard copy contents for raw SVG mode (it was including containing DIV element). (check-in: bb56d3d5 user: stephan tags: trunk)
17:03
New pikchr.c that fixes an additional problem with "to" terms on line paths and that ensures that "dot" objects to not change the exit point. (check-in: 863d2722 user: drh tags: trunk)
16:29
New pikchr.c fixes an issue with handling of the "to" phrase on a line that already has an incomplete direction add. (check-in: 868c38e3 user: drh tags: trunk)
15:53
New pikchr.c that fixes the arc bounding box problem. (check-in: c17f5fe2 user: drh 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: 460376e6 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: a35126bf 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: 212d01c1 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: 4e6aeb5f 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: f5c04086 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: b74d1a3f 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: 475b3a7f user: stephan tags: trunk)
05:38
Minor pikchr command doc update. (check-in: 120558e5 user: stephan tags: trunk)
02:06
pikchrshow now supports stashing a single pikchr to/from browser-local storage to enable switching back and forth between example scripts while editing one's own script. Experimentally re-indented the C-side implementation to make its generated HTML hierarchy clearer. Over-the-wire size is now 4.8kb. (check-in: 49a04c97 user: stephan tags: trunk)
00:59
/wiki links which pointed to the Sandbox page now link to /wikiedit to accommodate recent changes in the sandbox handling. (check-in: 56a74463 user: stephan tags: trunk)
00:55
Typo fix and changelog pikchr update. (check-in: d9b42358 user: stephan tags: trunk)
00:42
Added pikchr CLI command to process pikchr scripts, optionally with embedded TH1. (check-in: 5173701d user: stephan tags: trunk)
00:27
pikchr command doc updates. (Closed-Leaf check-in: f2248f81 user: stephan tags: pikchr-th)
00:06
Changed th1 enable_htmlify call semantics. Fixed a bug introduced in [6f7f73b6] which entirely broke th1 rendering in skins. (check-in: 7996a794 user: stephan tags: pikchr-th)
2020-09-13
23:38
Added th1 (enable_htmlify bool) command so that pikchr th1 code in th1Docs has a way of toggling that g.th1Flag off and on. (check-in: 6f7f73b6 user: stephan tags: pikchr-th)
22:45
Import the latest pikchr.c code with boundary-point updates. (check-in: fbe96ea9 user: drh tags: trunk)
22:09
Added captureTh1 to www/th1.md, hyperlinked the entries of the th1 command list to their doc sections, and replaced "a name=..." with "a id=...", as the former is long since deprecated (has the same effect, though). (check-in: e7dcfc90 user: stephan tags: pikchr-th)
21:37
Added captureTh1 TH1 command which runs TH1 and captures any output as a string, which becomes the function's result. (check-in: c3991493 user: stephan tags: pikchr-th)
21:23
Centralized handling of the TH_INIT_NO_ENCODE (formerly NO_ESC) flag in sendText(). (check-in: b95861fb 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: a5eaa066 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: 80f7c6c0 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: dd4b87c0 user: stephan tags: pikchr-th)
18:27
Merged in trunk for latest pikchr. (check-in: 810b8272 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: 18abb60d user: stephan tags: pikchr-th)
17:51
Update pikchr.c to the lastest version will all of the latest bug fixes. (check-in: d9f61a9a 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: 8a4304ea user: stephan tags: pikchr-th)
11:31
Update pikchr.c to a version that avoids using the "&nbsp;" entity. (check-in: 931f782f user: drh tags: trunk)
01:15
/wikiedit preview AJAX route tentatively no longer requires WrWiki access, as being discussed over at pikchr:/forumpost/195000ac2f. (check-in: 18dee26e 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: a34e88e0 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: 27a26bb4 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: bff3df00 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: 2ffd9dd1 user: stephan tags: trunk)
20:56
Fix the ".end" and ".start" corners for block obects in the Pikchr formatter. (check-in: 66b2ae5a user: drh tags: trunk)
19:28
Re-imported pikchr's example scripts using the output from its new example-to-js converter. (check-in: 4d946271 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: 79023c92 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: 74791f88 user: stephan tags: trunk)
07:14
Added support for pikchr 'indent' alignment and expanded the fossil.dom.checkbox/radio() methods. (check-in: 57c7128b user: stephan tags: trunk)
06:20
Imported latest upstream pikchr examples into pikchrshow. (check-in: ef7912ce 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: 070716d8 user: stephan tags: trunk)
05:41
pikchrshow: discovered that Firefox cannot flexbox a LEGEND element properly, so worked around that. (check-in: c92ff2da user: stephan tags: trunk)
04:33
Work on the pikchrshow drag/drop handling. (check-in: 3ffd3be3 user: stephan tags: trunk)
03:59
Add the latest pikchr.c that supports the "go ... heading ..." syntax for specifying line paths. (check-in: be125040 user: drh tags: trunk)
03:34
pikchrshow: tapping the preview mode label now activates the neighboring copy button. (check-in: 3e10ece7 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: 62a5d0cf user: stephan tags: trunk)
02:58
Simplified pikchrshow markup alignment selection to a single checkbox. Related CSS/layout tweaks. (check-in: 240646ef 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: c3bb7cd2 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: be99269d user: stephan tags: trunk)
00:09
Updated /pikchrshow help and changes.wiki to mention pikchr. (check-in: bb31279a user: stephan tags: trunk)
00:00
Import the latest version of pikchr that supports the "file" object type. (check-in: b01fae60 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: c304b4ff user: stephan tags: trunk)
22:30
Minor code readability tweaks, nothing functional. (check-in: f73f1e36 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: 7ddd2781 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: d4bb5251 user: stephan tags: trunk)
21:52
fossil.dom: added label() and checkbox() methods. (check-in: ba912d94 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: 299e0643 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: 75d45175 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: 2dd0a40e 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: 2defbdb3 user: drh tags: trunk)
17:05
Improved comments on the safe_html_nonce() routine. (check-in: dfa0eee7 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: a0ef47e7 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: 2777682b user: drh tags: trunk)
15:20
Enhancements to the test-parse-manifest command to also test the manifest_is_well_formed() interface. (check-in: 76169644 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: 0f7eff9e user: drh tags: trunk)
12:20
Fix over-length source code lines in import.c. (check-in: 8d9d8654 user: drh tags: trunk)
01:37
Update to a new version of pikchr.c with improved text bounding box computation. (check-in: 1f2b6ced 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: 2b556f1c user: stephan tags: trunk)
2020-09-10
22:56
Update Pikchr to the latest code from the Pikchr website. (check-in: a5c685fa 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: d330c091 user: stephan tags: trunk)
22:15
Fix typo in the 'admin_sql' page. (check-in: e654b300 user: mistachkin tags: trunk)
21:51
Fix misplaced / missing db_unprotect() calls in the 'waliassetup' and 'setup_logo' pages. (check-in: f273832a user: mistachkin tags: trunk)
18:15
Allow the setup pages to change email-send-method. (check-in: 95e73516 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: 9ec0ccee user: drh tags: trunk)
16:52
Pikchr text formatting bug fix: Preserve "bold" and "italic" on multi-line text objects. (check-in: bf01b429 user: drh tags: trunk)
16:19
Merge in changes for the new /pikchrshow webpage. (check-in: 0b2f8388 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: d6639e46 user: drh tags: trunk)
15:02
Added a small gap to the top of /pikchrshow's content area. (Closed-Leaf check-in: 833dfc1b user: stephan tags: pikchrshow)
13:59
Ajaxified pikchrshow. (check-in: 075f6f8d 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: 91c13c34 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: 627ffe3c 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: 72ac2b86 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: c7d88f27 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: 3c7f7426 user: drh tags: pikchrshow)
01:08
Merge enhancements from trunk. (check-in: 3f1b8862 user: drh tags: pikchrshow)
01:06
Update the pikchr.c file from the latest source from the Pikchr website. (check-in: d2b69d16 user: drh tags: trunk)
00:54
Add the 'defHeader' command to TH1. (check-in: c1cb6886 user: mistachkin tags: trunk)
00:53
Enable Pikchr in Fossil Wiki using markup of the form: <verbatim type="pikchr">...</verbatim>. (check-in: 1fc2df90 user: drh tags: trunk)
2020-09-09
21:38
Added missing help docs to /pikchrshow. (check-in: b46175c5 user: stephan tags: pikchrshow)
21:16
Added missing new file :/. (check-in: cc68bc7b user: stephan tags: pikchrshow)
21:02
Quick-and-dirty /pikchrshow page which allows those with write- or wiki-write access to input pikchr code and see it rendered. (check-in: 63ed253c user: stephan tags: pikchrshow)
18:14
Added missing db_unprotect()/db_protect_pop() in (user new). (check-in: c294f6bf user: stephan tags: trunk)
17:10
Parse the "info string" for Pikchr blocks for one of "center", "indent", "float-left", or "float-right" and add a <div> to accomplished the desired display mode. (check-in: 155d0747 user: drh tags: trunk)
15:30
Enable pikchr mark-up inside of Markdown fenced code block that are labeled with language "pikchr". (check-in: a13082c2 user: drh tags: trunk)
15:25
Fix the build for Windows by adding macro M_PI if it is missing. (Closed-Leaf check-in: 0df84add user: drh tags: pikchr)
15:20
Attempt to integrate the PIC-like drawing formatter "Pikchr". (check-in: 17d89b9a user: drh tags: pikchr)
13:05
Added missing db_unprotect()/db_protect_pop() to the login-group command. (check-in: ca5a5c79 user: stephan tags: trunk)
2020-09-07
20:32
Add support for --extroot on windows. (check-in: 8aaaa4f5 user: drh tags: trunk)
14:08
The additional db_unprotect() work of check-in [b9fa7e28712c5981] was incomplete. Here is an attempt to finish the job. (check-in: 50f61b7a user: drh tags: trunk)
14:01
file_mkdir() should use the converted filename, not the original. (check-in: 45fc083b user: drh tags: trunk)
2020-09-06
14:49
Fix the skin editor so when loading the "Current In Use" skin, it actually pulls in the currently in use skin, even if that skins is an alternative skin specified on the command-line or the built-in default skin. (check-in: 5c90832d user: drh tags: trunk)
14:37
Disable the ETAG cache for the /draftN pages so that caching does not interfere with preview. (check-in: 03643a63 user: drh tags: trunk)
2020-09-04
17:00
Removed inherited box shadow from ardoise .timelineSelected, per forum request. (check-in: 3af6e7ce user: stephan tags: trunk)
2020-09-03
19:04
Make sure that any newlines in the CSP are converted into simple spaces before the CSP is added to an HTTP header. This *might* fix a problem reported on the forum. (check-in: e0f2283c user: drh tags: trunk)
2020-09-02
10:55
When rendering fossil-wiki forum posts, add a wrapper DIV around them so that the CSS which expects that for markdown and plain-text posts still applies. This fixes the sideways layout of fossil-wiki posts like that seen in forumpost/3d709776b8. Note that a simpler fix would be to add the wrapper element to wiki_render_by_mimetype(), but that might have undesired side effects in/via the many other uses of that function. (check-in: 7caaa287 user: stephan tags: trunk)
2020-08-30
20:29
Fix a db_unprotect() call in the Admin pages. (check-in: b9fa7e28 user: drh tags: trunk)
19:48
Make the wikiedit/fileedit edit-stash select element grow less agressively. (check-in: a645302b user: stephan tags: trunk)
19:18
Fixed a stroke width in that previous commit. (check-in: ef6cdb68 user: stephan tags: trunk)
19:16
Nigh-imperceptible alignment tweak on the help buttons. (check-in: 28b1718b user: stephan tags: trunk)
19:07
Explicit font color inheritance fix for .fossil-tooltip elements to fix it for a couple skins, and added some contrast to those widgets in the default skin. (check-in: e05bbdec user: stephan tags: trunk)
18:58
Reintroduced the legacy wysiwyg wiki editor as an optional element which can be plugged in via the skin if desired. Several semi-related "code-adjacent" tweaks and improvements. (check-in: 03a64a39 user: stephan tags: trunk)
18:43
Adapted SVG background from Florian for the .help-buttonlet CSS. (Closed-Leaf check-in: b2ece413 user: stephan tags: wikiedit-wysiwyg-legacy)
18:42
Added style for the new help-buttonlet widgets in the xekri skin, else they end up with a transparent background. (check-in: 8b0d0002 user: stephan tags: wikiedit-wysiwyg-legacy)
18:32
Code duplication reduction. (check-in: f107854c user: stephan tags: wikiedit-wysiwyg-legacy)
17:12
Replaced \u002f slash escapes with \x2f, thanks to a hint from Arseniy Terekhin. (check-in: 14554662 user: stephan tags: wikiedit-wysiwyg-legacy)
16:22
A couple framework-level CSS micro-tweaks uncovered by testing with different skins. (check-in: e982f18b user: stephan tags: wikiedit-wysiwyg-legacy)
16:07
Moar wysiwyg style fine-tuning. (check-in: 6f03a598 user: stephan tags: wikiedit-wysiwyg-legacy)
15:58
Inordinately much style/layout tweaking of the wysiwyg editor. (check-in: a11abadd user: stephan tags: wikiedit-wysiwyg-legacy)
15:57
fossil.dom.attr(target,key,val) now supports any number of key/value pairs to set in a single call. (check-in: a89f116e user: stephan tags: wikiedit-wysiwyg-legacy)
15:50
Fixed (removed) wrapping of .input-with-label elements. (check-in: b012ecb7 user: stephan tags: wikiedit-wysiwyg-legacy)
13:47
Some wysiwyg code reduction, balanced out by more docs ;). (check-in: 79cb2df7 user: stephan tags: wikiedit-wysiwyg-legacy)
13:20
Significant cleanups in and shortening of the legacy wysiwyg JS code. (check-in: b8297d34 user: stephan tags: wikiedit-wysiwyg-legacy)
10:42
An experiment in reactivating the legacy wysiwyg editor in the new wikiedit page. It works, but cannot currently be removed from the page once it's installed without reloading the page. (check-in: 629bc0e1 user: stephan tags: wikiedit-wysiwyg-legacy)
06:07
Fixed color quirk (unintentionally deriving a default color) in the Ardoise skin reported at /forumpost/9ac6b287d9. (check-in: 693bf6b2 user: stephan tags: trunk)
06:05
Add db_unprotect()/db_protect_pop() to /setup_skin_admin when the user selects one of the builtin skins to fix problem reported at /forumpost/72a1db2bdc. (check-in: 37c29059 user: stephan tags: trunk)
2020-08-29
14:22
Minor /wikiedit layout improvements and removed the probably-obvious '?' button from the auto-refresh checkbox. (check-in: f83c4fa4 user: stephan tags: trunk)
14:07
Plugged a leaky abstraction in wikiedit and fileedit which applied when connecting a 3rd-party editor widget and added an example of how to plug in TinyMCE to the fileedit docs. (check-in: 88703f00 user: stephan tags: trunk)
13:06
Run the before-commit hook after the check-in comment has been collected from the user and include the check-in comment in the information provided to the hook. (check-in: 4ff4e1c8 user: drh tags: trunk)
2020-08-28
18:38
Define the "hooks" setting and mark it as sensitive. (check-in: 23f95bfc user: drh tags: trunk)
18:28
Modify the before-commit hook so that it runs after the check-in comment has been collected from the user. Include the check-in comment in the commit-description file. (Closed-Leaf check-in: b4006e2e user: drh tags: comment-in-before-commit)
13:31
Minor tweaks to the /sitemap. (check-in: 35da20b5 user: drh tags: trunk)
13:22
Add the contact information page. (check-in: 0d70e093 user: drh tags: trunk)
12:22
The /wcontent page adds the "p" query parameter to links so that we can actually edit checkin/* and branch/* wiki pages. (check-in: 50e7a310 user: drh tags: trunk)
09:47
Unprotect the ssl-identity property when setting it. (check-in: e3636830 user: drh tags: trunk)
09:34
Use the timeline format for /whistory. (check-in: cef8425c user: drh tags: trunk)
2020-08-27
23:54
Typo fix: Turns out "edited" only has one "t". Who knew? (check-in: 91ff34dc user: drh tags: trunk)
17:56
Clarified the online docs for the "fossil remote REF" command form. It wasn't obvious before that you could give a NAME instead of a URL. (check-in: 292ba94e user: wyoung tags: trunk)
15:11
Additional interlinking and clarification of CGI documentation. (check-in: 43fb402b user: drh tags: trunk)
12:34
Do not assume that missing SCRIPT_NAME and PATH_INFO environment variables for CGI have a value which is an empty string. (check-in: 9601b6cf user: drh tags: trunk)
01:37
Fix the server-side clone so that it is able to operate on a read-only repository database. (check-in: 147bf47d user: drh tags: trunk)
2020-08-26
21:43
Improvements to help-text HTML formatting. (check-in: 517223ec user: drh tags: trunk)
16:11
Merge in trunk (check-in [9543ddbef2]) (check-in: b56460fc user: george tags: wiki-history)
15:52
Merge in trunk (check-in [f741baa6be]) (check-in: 5d4a57f2 user: george tags: wiki-history)
14:46
Update the built-in SQLite to the latest 3.34.0 alpha that includes support for the sqlite3_txn_state() interface, with an eye toward using sqlite3_txn_state() to help prevent "busy" errors coming from high-load Fossil servers. (check-in: e3ca34cb user: drh tags: trunk)
13:31
Merge in trunk (version-2.12.1) (check-in: 62c31630 user: george tags: wiki-history)
2020-08-25
16:23
Yet another improvement to the "Latest Release" section of the homepage. (check-in: 5d32221c user: drh tags: trunk)
16:14
Further improvements to the "Latest Release" section of the homepage. (check-in: f282632b user: drh tags: trunk)
16:10
Update the homepage with links to the latest release and the commits that have gone into it. (check-in: c508ed7a user: drh tags: trunk)
14:34
Improved titles for forum posts that show the original poster and the latest editor if they are different people. (check-in: 9543ddbe user: drh tags: trunk)
13:53
Tiniest style tweak for consistency (check-in: 7ea82586 user: andygoth tags: trunk)
13:47
Separately show original and edited user/date (check-in: 39a550c8 user: andygoth tags: trunk)
07:07
Removed some hard tabs in CSS injected by copy/paste from the browser dev tools. (check-in: 1bfa3686 user: stephan tags: trunk)
07:00
The fossil.XYZ.js-using pages now include all of those APIs when running in bundled JS mode, as that provides far lower aggregate over-the-wire and HTTP request counts. Added ? popup help buttons in wikiedit/fileedit to replace title-attribute hoverhelp (popup positioning can still be improved, though). (check-in: 34f7fd72 user: stephan tags: trunk)
06:32
Fix HTML formatting issues with a few built-in help pages. (check-in: 11384f18 user: drh tags: trunk)
06:18
Lots of tweaking to the "help buttonlet" popup position. Something to improve some rainy day. (Closed-Leaf check-in: 3f08a9d2 user: stephan tags: misc-js-experiments)
05:04
Updated javascript.md page to track recent developments. (check-in: 3a1d3cc2 user: wyoung tags: trunk)
00:01
Improvements to handling of line endings and BOM marks when doing a 3-way merge. (check-in: 88ff2642 user: drh tags: trunk)
2020-08-24
23:24
Merge miscellanous auxiliary defenses and security enhancements. This check-in is not needed to fix any problems that are not already fixed in version 2.12.1. It merely provides additional defense in depth. (check-in: f741baa6 user: drh tags: trunk)
22:57
If both files being merged by 'fossil merge' contain a UTF-8 byte order mark (BOM), keep it in the produced merged file. (Closed-Leaf check-in: 91182cd1 user: marciogabe tags: merge-crlf-bom)
22:46
Improved cross-page caching of wikiedit/fileedit bundle, reducing those pages to a single request of 10-13k once cache is warm. Fixed non-bundled JS distribution of fileedit and wikiedit. (check-in: 20c50cd1 user: stephan tags: misc-js-experiments)
22:45
Adjust 'fossil merge' command to use CR/LF line endings for conflict markings if both files being merged already use such line ending type. (check-in: 60ecf5d9 user: marciogabe tags: merge-crlf-bom)
22:20
Moved C routines which emit fossil.XYZ JS APIs from style.c to builtin.c, and renamed appropriately. Added flag to output_text_with_line_numbers() to disable emit of JS (needed for fileedit preview, at a minimum). The experimental emitting of all fossil.XYZ APIs at once is now limited to bundled mode, as that's the only place it's potentially of benefit. (check-in: c515e5fd user: stephan tags: misc-js-experiments)
20:49
Experimentally added '?' help buttons in wikiedit. Experimentally emit all fossil.XYZ APIs, rather than selected ones, to test whether that reduces overall transmission together with caching. DOM init-time timing workarounds to get confirmer buttons to pin their sizes properly. (check-in: 9edbb7ea user: stephan tags: misc-js-experiments)
20:24
Changed how fossil.confirmer pinSize option computes element width to be more robust in the face of CSS 'auto' width values. (check-in: 1f4143ba user: stephan tags: trunk)
12:35
For Hash or Wiki interwiki hyperlinks in Fossil Wiki without an alternative display, elide the initial interwiki tag from the display. (check-in: 2d1a493d user: drh tags: trunk)
04:44
Applied fix from [5244a548] to /json/wiki/list. (check-in: 5a568d8b user: stephan tags: trunk)
04:33
Reverted [37409e7dbe] in favor of [5244a548], which is cleaner, smaller, and works. (check-in: a7d8c58d user: stephan tags: trunk)
00:24
Merge changes from trunk. (Closed-Leaf check-in: 4a8bc878 user: drh tags: sec2020)
2020-08-23
22:11
Provide backlinks from Forum posts. Run rebuild to insert Forum backlinks into the BACKLINK table after applying this patch. (check-in: 2df0e5c4 user: drh tags: trunk)
20:06
Updates to the "fossil config" command documentation and the change log. (check-in: 79b1cd4b user: drh tags: trunk)
18:12
For the wiki_render_page_list_json() function, only include pages on the list if they have one or more artifacts. This seems to clears the bug described by "Wiki editor inop" forum post (check-in: 5244a548 user: drh tags: trunk)
16:02
Merge the interwiki enhancement from trunk. (check-in: 26ac4b1c user: drh tags: sec2020)
15:55
Add support for interwiki links. (check-in: f4dc114a user: drh tags: trunk)
15:52
Add the /intermap page for adjusting the interwiki mapping using a Web interface. (Closed-Leaf check-in: dab94dda user: drh tags: interwiki)
14:04
Add preliminary documentation for interwiki links. List the intermap on the /md_rules and /wiki_rules pages. (check-in: 1a4158ea user: drh tags: interwiki)
01:47
Fix syntax error in the previous commit. Dunno how I managed to check in a change that doesn't build.... (check-in: fa105da0 user: drh tags: interwiki)
01:43
Move much interwiki code into a new source files "interwiki.c". Add the "fossil interwiki" command for managing the list of remote wikis. (check-in: 08750733 user: drh tags: interwiki)
00:47
Fix a bugs in the interwiki configuration transfer logic. (check-in: c959dde1 user: drh tags: interwiki)
00:29
Typo fix in comment (check-in: 684fb15a user: wyoung tags: interwiki)
2020-08-22
23:21
The "Code" on an inter-wiki link must be ascii alphanumeric. Sync the inter-wiki config table entries on clone. (check-in: 55053678 user: drh tags: interwiki)
20:23
Rudimentary support for interwiki links. (check-in: 3ca23edc user: drh tags: interwiki)
19:07
Update the Fossil Wiki and Markdown cheat-sheets to include hyperlinks to one another. (check-in: 0ae2dbd4 user: drh tags: trunk)
16:26
Typo fix. Removed 13th quote, as the link is now 404, per note in the forum. (check-in: 659f6cd0 user: stephan tags: trunk)
16:24
Fix harmless compiler warnings. (check-in: a872067f user: drh tags: trunk)
16:10
More robust handling of missing CGI parameters. See discussion at forum thread e2e75f8aec. (check-in: d6f69343 user: drh tags: trunk)
15:35
Merge the latest enhancements from trunk. (check-in: 11c1566a user: drh tags: sec2020)
15:34
Improvements to the forum thread display. Additional details on the forum thread. (check-in: 5182a1bf user: drh tags: trunk)
15:31
Increment the cfgcnt when a forum items held for moderation is approved or disapproved, so that the timeline etag cache will expire. (check-in: c80762fa user: drh tags: trunk)
13:49
URL fixes in www/quotes.wiki; where a new URL can't be found, removed the quote as unsupportable. (check-in: 4c5445d9 user: wyoung tags: trunk)
12:04
Amend broken link to OpenBSD server doc from file name change: server/openbsd/httpd.md -> server/openbsd/fastcgi.md (check-in: 0fd7302d user: jamsek tags: trunk)
10:45
Merge Andy Goth's enhancements to the forum. (Closed-Leaf check-in: 50cdb741 user: drh tags: sec2020-forum-refactor)
03:25
Correct minor documentation typo (bytes -> bits) (check-in: 96f1a9f5 user: andygoth tags: trunk)
03:06
Guard against an infinite loop in certain pathological edit patterns (Closed-Leaf check-in: 71fe590e user: andygoth tags: andygoth-forum-refactor)
02:53
Link to the next edit rather than the final edit (check-in: 91a3a600 user: andygoth tags: andygoth-forum-refactor)
02:50
When showing the source of an edited post, show that exact version rather than the newest version (check-in: df916a9d user: andygoth tags: andygoth-forum-refactor)
02:38
Unify and regularize forum display code (check-in: 6999639b user: andygoth tags: andygoth-forum-refactor)
00:23
Update the custom MinGW makefile. (check-in: 6eb1f434 user: mistachkin tags: trunk)
2020-08-21
23:40
Internally rename "entry" to "post" for more consistent terminology (check-in: adefa86c user: andygoth tags: andygoth-forum-refactor)
23:20
Rework forum post serial IDs to include a revision number when edited. This fixes buggy sids displayed in thread https://fossil-scm.org/forum/forumpost/6737a387fe?t=c&threadtable. (check-in: dd47b8c3 user: andygoth tags: andygoth-forum-refactor)
22:58
Extend translator to support two- and three-argument printf specifiers, e.g. "%.*s(len)(str)" or "%*.*d(width)(prec)(val)" (check-in: df7b0c31 user: andygoth tags: andygoth-forum-refactor)
22:03
Remove mfirt (check-in: a8d90b1f user: andygoth tags: andygoth-forum-refactor)
21:52
Remove fprev (check-in: d585c347 user: andygoth tags: andygoth-forum-refactor)
21:50
Restore inadvertently deleted column (check-in: c76023e3 user: andygoth tags: andygoth-forum-refactor)
21:45
Replace firt with pIrt (check-in: ed56faad user: andygoth tags: andygoth-forum-refactor)
21:17
Remove nReply which is present only in debug outputs, correct column alignment in debug output (check-in: b932e49c user: andygoth tags: andygoth-forum-refactor)
20:34
Remove indenting that was leaking into the HTML output (check-in: bf98aa00 user: andygoth tags: andygoth-forum-refactor)
20:19
Add new fields to threadtable debug output (check-in: c4d6d757 user: andygoth tags: andygoth-forum-refactor)
19:42
Actually use pEditHead (check-in: 9e924011 user: andygoth tags: andygoth-forum-refactor)
19:41
Add pEditHead field to avoid repeatedly walking back to find the original post (check-in: 7114bdc8 user: andygoth tags: andygoth-forum-refactor)
19:34
Rename pEditLeaf to pEditTail (check-in: 145a6ef2 user: andygoth tags: andygoth-forum-refactor)
19:33
Rename pLeaf to pEditLeaf to be consistent with the other edit fields (check-in: 763d22b7 user: andygoth tags: andygoth-forum-refactor)
18:32
Additional checks to ensure that db_set() and db_set_int() do not modify a sensitive setting unless PROTECT_BASELINE is disabled. (check-in: ccdb5a9b user: drh tags: sec2020)
15:57
Add pEditNext field to permit walking forward as well as backward through the edit chain (check-in: a17f4955 user: andygoth tags: andygoth-forum-refactor)
15:54
Begin refactoring forum code to support orthogonal history and plaintext options. First step: rename pEdit to pEditPrev to make room for a pEditNext field. (check-in: 636f6596 user: andygoth tags: andygoth-forum-refactor)
15:08
Add missing db_unprotect() calls to backoffice. (check-in: c75dcc62 user: drh tags: sec2020)
15:05
Improved documentation of the database write protection logic. Added undocumented SQL command db_protect() and db_protect_pop() to the "sql" command. Panic on a protection stack overflow. (check-in: 75deba73 user: drh tags: sec2020)
14:40
Add missing bold markup (check-in: 273dd80e user: andygoth tags: trunk)
13:04
Add triggers to prevent changes to sensitive settings when PROTECT_SENSITIVE is engaged. (check-in: c9b9a77d user: drh tags: sec2020)
11:26
Remove incorrect leaf ambiguity warning when doing a "fossil commit --dry-run". (check-in: 1b52c414 user: drh tags: sec2020)
11:19
Fix the locate_unmanaged_files() routine so that it always see (and ignores) symbolic links. (check-in: 0938b565 user: drh tags: sec2020)
10:29
More improvements to the allow-symlinks help text. (check-in: f7f31147 user: drh tags: sec2020)
10:23
Improved on-line help for the allow-symlinks setting. (check-in: d3090e91 user: drh tags: sec2020)
10:10
Improve comments on symlink logic (check-in: 39a5df1f user: drh tags: sec2020)
01:09
Add a missing db_unprotect() to the "fossil all" command. (check-in: b9ae03f6 user: drh tags: sec2020)
01:01
Merge the latest changes from trunk into sec2020. (check-in: 1d61aae3 user: drh tags: sec2020)
2020-08-20
23:45
Change width per stephan's request (Closed-Leaf check-in: 53458bed user: andygoth tags: andygoth-ardoise-tweaks)
22:40
Using parameters to namespace functions in fossil*.js instead of the global "fossil" object. Squishes a complaint by GCC and makes the code a smidge smaller besides. (check-in: 0f03f78a user: wyoung tags: trunk)
21:15
Same as [31af8053] but in src/copybtn.js, upon which code fossil.copybutton.js was apparently based. This other file may be going away soon, but until then, it avoids a warning. (check-in: c0cb0b9d user: wyoung tags: trunk)
20:40
Gave the line-number popup (and related popups) a z-level below that of the default skin's hamburger menu. (check-in: bbef8ce3 user: stephan tags: trunk)
20:25
Added a "window." reference to a global variable in fossil.dom.js to make explicit where the variable is coming from. All the surrounding code does this, and the fix quiets a complaint from GCC. (check-in: 31af8053 user: wyoung tags: trunk)
20:05
Allow /wikiedit's page-list-fetch operation to silently skip over mysteriously missing (shunned but not yet rebuilt?) wiki pages, to resolve an issue on the core fossil site where such a missing/invisible page named 'Security Desk Technician' is causing /wikiedit to fail to load. (check-in: 37409e7d user: stephan tags: trunk)
19:52
Removed a pair of bogus "delete" calls in fossil.popupwidget.js, flagged by Google Closure Compiler. You can't delete the result of a function call, only object properties. (check-in: 0d7d54e8 user: wyoung tags: trunk)
19:51
Minor change to auto.def requested by https://bugs.debian.org/961772 (check-in: e6de5ec7 user: drh tags: trunk)
18:08
Show the artifact hash with a copy button on the header of /file pages. (check-in: 00eb7a05 user: drh tags: trunk)
16:25
Merge recent changes from trunk. (check-in: c93cb2ba user: drh tags: sec2020)
15:22
Update the change log and the latest-release link on the homepage. (check-in: 5983f5b9 user: drh tags: trunk)
13:27
Version 2.12.1 (Leaf check-in: b98ce23d user: drh tags: release, branch-2.12, version-2.12.1)
13:08
Rearrange code, tweak span colors (check-in: 1ffe4cde user: andygoth tags: andygoth-ardoise-tweaks)
13:01
2.12.1 release candidate with security fixes. (check-in: 40feec32 user: drh tags: branch-2.12)
12:31
Fix CSS priority issue (check-in: ed04edd8 user: andygoth tags: andygoth-ardoise-tweaks)
05:13
Spelling and grammar fixes to javascript.md. (check-in: 209f73cb user: wyoung tags: trunk)
04:18
Many improvements to the "Use of JavaScript in Fossil" document, www/javascript.md, inspired by the recent Ajaxifications and forum commentary on the topic. (check-in: 977ba78f user: wyoung tags: trunk)
04:17
Assorted minor improvements to the javascript.md doc. (Closed-Leaf check-in: dc1bc213 user: wyoung tags: js-policy-doc)
02:14
Minuscule tweaks to javascript.md (check-in: 5648dcfc user: stephan tags: js-policy-doc)
00:37
Command fixes in the new material within javascript.md (check-in: ba9480b0 user: wyoung tags: js-policy-doc)
00:11
Editing pass on javascript.md. (check-in: 202a6616 user: wyoung tags: js-policy-doc)
00:04
Report the use of FOSSIL_LEGACY_ALLOW_SYMLINKS in the output "fossil version -v". (Closed-Leaf check-in: 89d950ef user: drh tags: sec2020-2.12-patch)
2020-08-19
23:52
Moved "Blocking JavaScript" section of javascript.md down into the Q&A section. (check-in: 85c7bdb2 user: wyoung tags: js-policy-doc)
23:45
Moved my rewrite of Stephan's "Compatibility Concerns" section of javascript.md down into the Q&A section. (check-in: 02627949 user: wyoung tags: js-policy-doc)
23:41
Moved "Fossil Does Not Snoop On You" section of javascript.md down into a Q&A point. (check-in: b76427bb user: wyoung tags: js-policy-doc)
23:38
Moved the "No Third-Party JavaScript in Fossil" section of javascript.md down into the Q&A "debate" section. Also reworked some of the following question's answer to the C vs JavaScript matter. (check-in: 48ef6333 user: wyoung tags: js-policy-doc)
23:30
Moved the old "How Many Users Run with JavaScript Disabled Anyway?" section of javascript.md down into the "debate" section as one of the Q&A points. (check-in: bc5cf569 user: wyoung tags: js-policy-doc)
23:19
Merged the "Future Plans for JavaScript in Fossil" section of js-policy.md into javascript.md. This all but zeroes out the contents of the old doc, so I've removed it. Future changes go into javascript.md. (check-in: 4ad0d979 user: wyoung tags: js-policy-doc)
23:07
Hoist the "Compatiblity Concerns" section of js-policy.md into javascript.md. Another near-total rewrite, maintaining the original's points. (check-in: 7eef486c user: wyoung tags: js-policy-doc)
22:57
Merged Stephan's "in closing" statement after the argumentation section of js-policy.md into the "Philosophy & Policy" section of javascript.md. Another near-rewrite, while maintaining the overall points. (check-in: 12acdcf3 user: wyoung tags: js-policy-doc)
22:49
Added "Arguments Against JavaScript & Our Rebuttals" section to javascript.md, based on the similar section in this branch's new js-policy.md doc. It's nearly a rewrite, but all of the points remain. (check-in: 1e3ee576 user: wyoung tags: js-policy-doc)
21:24
Merged trunk changes in (check-in: 32ef4cfa user: wyoung tags: js-policy-doc)
21:19
Added a section to javascript.md on the new /fileedit feature. (check-in: 100b4868 user: wyoung tags: trunk)
21:08
The allow-symlinks setting is disabled by default and is not versionable, unless Fossil is compiled with the FOSSIL_LEGACY_ALLOW_SYMLINKS flag, in which case it follows the historic behavior. (check-in: cdc90f0c user: drh tags: sec2020-2.12-patch)
21:05
Updated the "Line Numbering" section of javascript.md to cover the new interactive line selection in Fossil 2.12. (check-in: f84d7a0e user: wyoung tags: trunk)
20:58
Updated the "Wiki Editor" section of javascript.md to cover the new `/wikiedit` implementation. (check-in: 31c40509 user: wyoung tags: trunk)
16:13
Silently ignore reserved filenames that occur inside of manifests, rather than throwing an error. No need for a setting to allow reserved filenames in manifests. (check-in: 2e19c5fe user: drh tags: sec2020)
15:46
Remove commands "test-nondir-path" and "test-is-reserved-name" and add the equivalent functionality to "test-file-environment". (check-in: 0cec61e4 user: drh tags: sec2020)
15:26
Remove the --symlinks option from the "fossil open" command. It is not needed. Users who want to enable symlinks can use the "fossil settings" command first. (check-in: ff811934 user: drh tags: sec2020)
15:21
Add the "fossil test-nondir-path" command for testing parts of the new symlink logic. (check-in: 13cfef33 user: drh tags: sec2020)
14:23
Harmonize artifact count and average between /stat and /artifact_stats. See https://fossil-scm.org/forum/forumpost/37514b1f67. (check-in: 38fa17e4 user: andygoth tags: trunk)
13:51
When diffing long sequences, the product of their lengths can overflow to a negative number, triggering optimalLCS() which is very expensive. Prevent this overflow. See https://fossil-scm.org/forum/forumpost/5f9365f9fe for discussion. (check-in: e2b7dca9 user: andygoth tags: trunk)
12:58
Merge additional symlink fixes. Back out comment-only changes from url.c. (check-in: 0ea17c2b user: drh tags: sec2020-2.12-patch)
12:26
Fix harmless compiler warnings. (check-in: feef8275 user: drh tags: sec2020)
12:22
Additional defenses against doing "fossil add" of files that are beneath symlinks. (check-in: 928b023c user: drh tags: sec2020)
12:08
Improved detection of attempts to write through a symlink. Now also works for "revert", "stash", and "undo/redo". (check-in: f63297b2 user: drh tags: sec2020)
09:57
Increase the version number to 2.12.1. (check-in: 32646b27 user: drh tags: branch-2.12)
08:40
It turns out we already have javascript.md, with similar aims, so now it's a matter of integrating this doc into that one. (check-in: 2e131efc user: stephan tags: js-policy-doc)
08:11
Fixed a poorly-placed wordwrap which looked like a new list entry to markup. (check-in: 571bf459 user: stephan tags: js-policy-doc)
08:00
Initial draft of a project policy doc explaining and justifying its use of JavaScript. (check-in: 93e4561b user: stephan tags: js-policy-doc)
01:33
Restore blank cell capability, fixes [95ce0e53] (check-in: dc94ebc2 user: andygoth tags: trunk)
01:07
Cherrypick key fixes from the sec2020 branch in order to devise a minimal patch to get us to version 2.12.1. (check-in: fe1264d3 user: drh tags: sec2020-2.12-patch)
00:56
Make a few tweaks to the Ardoise skin. See https://fossil-scm.org/forum/forumpost/a4bcfec897 for branch discussion. (check-in: 535f4eb8 user: andygoth tags: andygoth-ardoise-tweaks)
00:15
Do not allow the "fossil add" command to add files beneath a symlink. (check-in: a6abfb91 user: drh tags: sec2020)
2020-08-18
23:39
An alternative method for dealing with historical files named "_FOSSIL_" in the tree: Simply pretend they are not there. (Closed-Leaf check-in: 8f24c079 user: drh tags: ignore-reserved-filenames)
22:53
Line numbering forum feedback: removed toast message, replaced vague 'lines X-Y' label with 'Copy link to lines X-Y', removed udc=xxx from the generated URL. (check-in: 7c98df41 user: stephan tags: trunk)
21:03
Cherrypick [d2d8894bb2]: fossil.storage.clear() is now also sandboxed - no longer nuking all state for all repos on the same origin. (check-in: d0988e67 user: stephan tags: branch-2.12)
21:01
fossil.storage.clear() is now also sandboxed - no longer nuking all state for all repos on the same origin. (check-in: d2d8894b user: stephan tags: trunk)
20:58
Silently refuse to "fossil add" files that use reserved names. (check-in: 888da94e user: drh tags: sec2020)
20:51
Merged in [923affb930a27b], which reinstates localStorage but sandboxes access to fossil.storage on a per-repo basis. (check-in: 21fbd473 user: stephan tags: branch-2.12)
20:46
Re-enabled localStorage for fossil.storage but enhanced it to sandbox the keys used by the apps on a per-repo basis, so there is no longer any (immediately visible) cross-repo polution. The underlying localStorage/sessionStorage is still shared per origin/browser profile instance, but fossil.storage clients will only see the state from their own repo. (check-in: 923affb9 user: stephan tags: trunk)
20:19
Improved error message and response when trying to manifest a check-out that contains a file beneath a symbolic link directory. (check-in: 20d90dd4 user: drh tags: sec2020)
19:56
Add a security audit warning if the strict-manifest-syntax flag is switched off. (check-in: 3105bedf user: drh tags: sec2020)
19:49
Rework the "permissive-manifest-parser" idea to be simpler and to call it "strict-manifest-syntax". (check-in: 4df8c856 user: drh tags: sec2020)
19:10
Updated changelog and index for 2.12.1, with a tentative release date of Aug. 19th (that's tomorrow in 3 hours, CET). (check-in: c8e8ab9c user: stephan tags: branch-2.12)
18:44
Backported in [5b9a4c90594d8ea6], as explained in detail at https://fossil-scm.org/forum/forumpost/0f56c9edd9. (check-in: af383a7b user: stephan tags: branch-2.12)
18:19
Disabled localStorage as a backend option for the fossil.storage JS API after it was painfully discovered that multiple repos on the same hoster actually share that storage, as opposed to it being achored at the repo. That API now uses sessionStorage, if available, before falling back to transient instance-local storage. (check-in: 5b9a4c90 user: stephan tags: trunk)
17:25
permissive-manifest-parser setting is now marked as sensitive to keep an attacker from turning it on. (Closed-Leaf check-in: 1e34705e user: stephan tags: sec2020-deadend)
16:07
Added and applied permissive-manifest-parser setting to permit parsing of manifests which have F-cards containing now-illegal names. Required for rebuild of historical data and support of repositories we now know to contain such files. (check-in: 9e59cf18 user: stephan tags: sec2020-deadend)
14:02
Merge in the latest trunk changes. (check-in: 917917aa user: drh tags: sec2020)
14:00
Allow <del> and <ins> markup in wiki and in markdown. (check-in: ae9a9db5 user: drh tags: trunk)
13:54
Make -f an alias for --force on "fossil open". (check-in: 17c244de user: drh tags: trunk)
13:17
More missing db_unprotect() calls. (check-in: 06d3789a user: drh tags: sec2020)
12:17
When writing files to disk for a check-out, refuse to write through a symbolic link to a directory. Ticket [f9831fdef1d4edcc]. (check-in: a64e384f user: drh tags: sec2020)
02:58
More missing calls to db_unprotect(). (check-in: 3ced48bd user: drh tags: sec2020)
02:33
Yet another missed db_unprotect() call. (check-in: 2041072e user: drh tags: sec2020)
02:26
Fix missing enable of global_config in the "fossil all" command. (check-in: 16ec693d user: drh tags: sec2020)
01:54
Disable writes the CONFIG and USER tables by default. Permission to write to those tables is turned on as needed. Note - might have missed a few places so expect bugs. (check-in: ca9156aa user: drh tags: sec2020)
2020-08-17
22:34
Add more tests. (check-in: 92704d1c user: mistachkin tags: sec2020)
22:27
Simplify error message. (check-in: 1bb0b3a8 user: mistachkin tags: sec2020)
22:22
Fixes for reserved names case sensitivity, coding style adjustments, more tests. (check-in: fde20bc0 user: mistachkin tags: sec2020)
21:19
Reduced the line-number-mode font size back to normal. (check-in: a703b4ce user: stephan tags: trunk)
21:17
A couple minor skin doc typos. (check-in: 9e871e0d user: stephan tags: trunk)
20:51
Add tests for the reserved names. (check-in: df720b28 user: mistachkin tags: sec2020)
20:03
Identify security-sensitive settings. (check-in: 3bccd7ff user: drh tags: sec2020)
19:59
Every database connection now has a default authorizer, which calls out to an operation-specific authorizer if needed. (check-in: f98ef3c1 user: drh tags: sec2020)
18:57
Enhance the db_prepare() and db_static_prepare() utility routines so that they throw an error if handed more than one SQL statement. This might help prevent SQL injection attacks. (check-in: be0d95ad user: drh tags: sec2020)
18:20
Merge in reject-ckout-db branch. (check-in: 8c16884a user: stephan tags: sec2020)
17:50
Fixed [17d00c20dd9f] by adding NULL check on F- and E-card UUID tokens. (Closed-Leaf check-in: 458f30fc user: stephan tags: reject-ckout-db)
17:34
The allow-symlinks setting is no longer versionable and is off by default. The allow-symlinks setting no longer propagates with a clone. The help text for allow-symlinks discourages its use. There is a new --symlink flag on "fossil open" to permit the use of symlinks on an open, for the adventurous. Ticket [f9831fdef1d4edcc]. (check-in: ff98dd5a user: drh tags: sec2020)
17:34
Added checks of (-wal, -shm, -journal) db suffixes. (check-in: 4ed1a294 user: stephan tags: reject-ckout-db)
16:10
Moved is_fossil_ckout_db_name() from db.c to file.c and renamed it filename_is_ckout_db(). Integrated the check into manifest_parse(), but testing it requires temporarily #if'ing out the Z-card check, which is one of the first validations. (check-in: 6c19baa0 user: stephan tags: reject-ckout-db)
15:40
switch/case style tweak, per request. (check-in: 9784e5cd user: stephan tags: reject-ckout-db)
15:17
Part 1 of ticket [980a72dedd]: efficient check for determining whether a filename ends with a checkout db name. (check-in: ddd1273e user: stephan tags: reject-ckout-db)
15:11
Identify security-sensitive settings. (Closed-Leaf check-in: aa4c3afc user: drh tags: sec2020-config-protection)
14:09
Set an authorizer when running the ticket-table SQL. Ticket [56b82836ffba9952]. (check-in: fb413840 user: drh tags: sec2020)
09:16
Prohibit redirects from HTTP or HTTPS over to SSH or FILE. Fix for ticket [61613b0a9cf843b6]. (check-in: 253dbd15 user: drh tags: sec2020)
08:14
Fix typo, remove period for consistency with other help (check-in: 80ca317a user: andygoth tags: trunk)
07:02
Reinstate symlink capability. (Unintended change with prior symlink test?) (check-in: c840617b user: andygoth tags: trunk)
2020-08-16
23:09
Add the "test-symlink-list" command. (check-in: de38906f user: drh tags: trunk)
22:35
Pointed 'latest release' entry at the 2.12 changelog, per forum post. (check-in: dba21929 user: stephan tags: trunk)
19:08
Enhance the db_repository_filename() routine to return the canonical filename. (check-in: f304c569 user: drh tags: trunk)
17:47
Fix the manifest_reparent_checkin() routine so that the "parent" tag will actually work. (check-in: 2bdbbc8a user: drh tags: trunk)
17:18
Mention the "fossil backup" command in the 2.12 change log. (check-in: a02bcb03 user: drh tags: trunk)
16:49
Fixed file_extension() to behave like its docs say it does, which would have made [5a9ac6ca3e] unnecessary. (check-in: f95e47b6 user: stephan tags: trunk)
16:35
Fix the release version on the home page. (check-in: 4c450330 user: drh tags: trunk)
16:06
Fix segfault in /artifact introduced by check-in [b699040d701464ce] and reported on the forum. (check-in: 5a9ac6ca user: drh tags: trunk)
15:52
Reworked fossil.toast to support normal/warning/error-level toasts. Alas, animating a toast's appearance and disappearance proved to be beyond my current skills. (check-in: 4368f529 user: stephan tags: trunk)
15:51
Fixed a recursion bug in fossil.dom.append(e,array) (currently unused, but will be soon). (check-in: 2018954b user: drh tags: trunk)
15:51
Disable HTTPS redirect for the "test-http" command. That command is used by the "ssh:" transport method and redirects to https will break ssh: transport. (check-in: ea6365a8 user: drh tags: trunk)
15:49
Fixed a recursion bug in fossil.dom.append(e,array) (currently unused, but will be soon). (Closed-Leaf check-in: 154f6484 user: stephan tags: bad-merge)
15:47
Disable HTTPS redirect for the "test-http" command. That command is used by the "ssh:" transport method and redirects to https will break ssh: transport. (check-in: edf63d73 user: drh tags: bad-merge)
15:30
Close multi-remote-fix branch because the issue is now resolved. See https://fossil-scm.org/forum/forumpost/158a67cc53 for some information on what was going on. The solution was to reopen the configuration after it was being prematurely closed. (check-in: 4c16a249 user: andygoth tags: bad-merge)
15:20
Fix the "fossil clone" command so that it works with "file:" URLs. (check-in: 9d2b7cab user: drh tags: trunk)
15:03
Put the date on the 2.12 release. Start a change-log for 2.13. (check-in: 522e7204 user: drh tags: trunk)
14:45
Merge trunk, since cloning local filesystem repositories still does not work (Closed-Leaf check-in: 719dcd29 user: andygoth tags: multi-remote-fix)
14:31
Remove "(pending)" from 2.12 changelog now that 2.12 is released (check-in: dcc90ab5 user: andygoth tags: trunk)
14:08
When compiling with FOSSIL_DEBUG (from the --fossil-debug configure option) do not attempt to "compress" built-in javascript by removing comments and surplus whitespace. This makes the javascript easier to read in a debugger. (check-in: 41b9873b user: drh tags: trunk)
13:39
Improvements to line-numbered text output. (check-in: b699040d user: drh tags: trunk)
13:33
Fix scrolling bug in FF and Chrome. (check-in: 22f2d083 user: drh tags: trunk)
13:32
Increment the version number to 2.13 to start the next development cycle. (check-in: db5868e0 user: drh tags: trunk)
13:18
Version 2.12 (check-in: d075b619 user: drh tags: trunk, release, version-2.12)
10:05
Reverted [33610b04de8fdf56] because a subtle bug in Chrome and FF causes both browsers to break scrolling of elements if they are descendants, however deeply nested, of a fieldset element. The one known workaround for that is too fragile. This is not release-critical. (Closed-Leaf check-in: e5c3ffeb user: stephan tags: post-2.12-fixes)
08:13
Removed a now-unused CSS class. (Closed-Leaf check-in: 1cb792fd user: stephan tags: line-number-selection)
05:10
Several padding tweaks to ensure proper line/code alignment in all of the skins. (check-in: e0e5449a user: stephan tags: line-number-selection)
04:08
Gave the BLOCKQUOTE which surrounds file content the file-content CSS class and trimmed its margins a bit. Fixed the truncated-by-one file extension uses in the language-XYZ tag in non-line-numbered file content, caused by refactoring from this branch. (check-in: 62b682bd user: stephan tags: line-number-selection)
03:53
Added 'important' to 'hidden' CSS rules to ensure that its visibility-hindering attributes trump other classes' attributes. This fixes the .hidden-yet-visible toast message popup and makes .hidden more future-proof. (check-in: 22c592fc user: stephan tags: line-number-selection)
02:43
Made copy-to-clipboard toast message less verbose. Tapping anywhere on the clipboard buttons popup widget now activates the clipboard copy. (check-in: 739e4ee3 user: stephan tags: line-number-selection)
01:32
Removed some stray debug output. Added a window.CustomEvent polyfill "just in case." (check-in: af47d153 user: stephan tags: line-number-selection)
00:50
Removed the copy button's hard-coded post-copy behaviour (flashing) and instead fire a text-copied event. The line number selection now closes the popup widget after the copy button is triggered. Implemented a basic toast-message API using PopupWidget. (check-in: 8a6ccf9d user: stephan tags: line-number-selection)
2020-08-15
23:30
Renamed TooltipWidget to PopupWidget because's it's not *quite* a tooltip and we're soon going to need something closer to a genuine tooltip. Minor adjacent cleanups and code consolidation. (check-in: 3998ccef user: stephan tags: line-number-selection)
10:14
Shrink the line number column just a tick. (check-in: e5f79f4f user: stephan tags: line-number-selection)
09:58
Some CSS consolidation and got the horizontal scrollbars working on unusually wide code files. (check-in: 3d49b73f user: stephan tags: line-number-selection)
09:15
Added a few 'inherits' CSS properties to resolve font size mayem when hilightjs does its thing. (check-in: 618c6b13 user: stephan tags: line-number-selection)
08:43
Added missing fossil.copybutton.js. (check-in: b646e724 user: stephan tags: line-number-selection)
08:29
Optimized the mouse-based line number selection considerably, requiring far less DOM traversal. (check-in: 0096aa46 user: stephan tags: line-number-selection)
08:02
Doc improvements, minor cleanups. Made the URL-copy element's popup position less variable. Uplifted the flash-once and copy-to-clipboard code into the fossil.dom API. (check-in: 738bea54 user: stephan tags: line-number-selection)
07:41
Implemented dynamic mouse selection of source lines and clipboard tooltip to copy the line range URL. (check-in: 3942eb60 user: stephan tags: line-number-selection)
03:51
Reimplemented ln=... highlighting to mark the line numbers instead of the code, so that there is no interference with syntax highlighters. Adjusted two skins to use the newer line-marking CSS. (check-in: 14ac3e84 user: stephan tags: line-number-selection)
2020-08-14
19:25
Merged trunk to avoid style collisions later. Changed table.numbered-lines line-height from ex units to unitless, as Mozilla recommends. (check-in: 41f270de user: stephan tags: line-number-selection)
18:54
Consolidated the common styles of the bottom- and right-side forum post expansion toggles and resolved a layout quirk which could cause the right-side expander to sit too far to the left. (check-in: db1afa75 user: stephan tags: trunk)
17:57
Several forum style improvements based on forum feedback. (check-in: 2121b1f7 user: stephan tags: trunk)
14:38
fileedit: removed a call to blob_reserve() (optimization) because we have a report which seems to imply that it unconditionally fails on mingw 32-bit builds. (check-in: b99c069a user: stephan tags: trunk)