Fossil

Timeline
Login

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

333 check-ins using file tools/mkindex.c version 29c4349d

2022-10-28
00:18
Fix a typo in a comment. ... (check-in: a2ed1119 user: george tags: deltify-tkt-blobs)
00:11
Add more comments and a changelog item. No code changes. ... (check-in: e690df08 user: george tags: deltify-tkt-blobs)
2022-10-16
00:09
Highlight a ticket's change that corresponds to the URL's fragment of the /tkthistory page. ... (check-in: 7afd4db3 user: george tags: deltify-tkt-blobs)
2022-10-09
22:56
Rework the previous check-in to fix incorrect backlinks' sources for the case when values are appended to a field (i.e. a value of J-card starts with '+'). Consider a reference to 77ab05a0e9 from [caeb7d672df20] for an example which was handled incorrectly by [668e45baff99]. ... (check-in: 4d5ded5e user: george tags: deltify-tkt-blobs)
2022-10-03
01:41
Fix redundant back-references originating from outdated/superseded values within TICKET table. See forum thread a6ba08e926. ... (check-in: 668e45ba user: george tags: deltify-tkt-blobs)
01:31
Fix naming of columns on the /test-backlinks page. ... (check-in: 6a5604f4 user: george tags: deltify-tkt-blobs)
2022-09-20
14:13
On the /tkthistory page supply each ticket change item with a corresponding id attribute and make the 'History' button within a submenu of a /tinfo page to link back to that particular element on the /tkthistory page. ... (check-in: 4bb91f38 user: george tags: deltify-tkt-blobs)
13:56
Minor optimization and refactoring. ... (check-in: b2049d64 user: george tags: deltify-tkt-blobs)
2022-09-15
13:40
Improve /tkthistory page: render selected ticket fields as unified diffs. ... (check-in: b75a9d0f user: george tags: deltify-tkt-blobs)
2022-09-14
13:12
Remove redundant PRE tags on the /wdiff pages. ... (check-in: 0dd5451d user: george tags: deltify-tkt-blobs)
2022-08-30
01:49
Embroidered the "make container-run" target to make it more convenient. ... (check-in: bc09e28a user: wyoung tags: trunk)
2022-08-29
18:21
The container doc bit on raw sockets now covers the other three Busybox utilities we left out previously. Today's removal of ping and traceroute merely completes the set; it wasn't complete in itself. ... (check-in: b429bd71 user: wyoung tags: trunk)
18:07
Clarified the points in §5.2.1 of the Docker container build doc regarding the reason why the server parent process runs as root. ... (check-in: c2eaa60d user: wyoung tags: trunk)
17:54
Researched, tested, and documented the set of "docker create --cap-drop" options we can add to strip away unnecessary root privileges inside the container without harming normal operation. Belt-and-suspenders: if any bad actor ever got into the container with root privileges, this would help prevent them from affecting anything outside the container. Added that set to the "make container-run" target so they get applied by default in the easy case. ... (check-in: f715add9 user: wyoung tags: trunk)
17:32
Removed ping and traceroute commands from the Docker container. They require raw sockets support, which means if anyone broke into the container and managed a root privilege escalation, they could do a wide array of bad things on any network the container is bound to. ... (check-in: f00a88f8 user: wyoung tags: trunk)
16:01
Polishing pass on §5.2 of the container build doc, "Why Chroot?" ... (check-in: e9860314 user: wyoung tags: trunk)
14:27
Add a missing closing LI tag for the /tkthistory page. ... (check-in: 2d0b2bda user: george tags: deltify-tkt-blobs)
14:03
Minor optimization within getAllTicketFields() function. ... (check-in: c3e7ed30 user: george tags: deltify-tkt-blobs)
2022-08-28
17:58
Clarified the parent process user ID vs the child process in the explanation of how the chroot feature interacts with the custom user feature of the Docker container. ... (check-in: f9ddd38e user: wyoung tags: trunk)
17:52
Made a better distinction between bind mounts and Docker volumes in the new Docker section of the build doc. ... (check-in: 958a6af9 user: wyoung tags: trunk)
2022-08-24
06:52
Add a slight drop shadow to the /chat message widgets. Edit: we already had a drop shadow, just placed on a different sub-element. ... (Closed-Leaf check-in: b04740bd user: stephan tags: mistake)
2022-08-23
11:14
Correct a NULL being passed to strcmp() which caused any submit of JS script code in the skin editor to segfault. Reported in forum post 9d9f0580fd. ... (check-in: a8847839 user: stephan tags: trunk)
2022-08-22
18:27
Make it possible to store similar ticket change artifacts as deltas. This might be useful when a certain column of the TICKET table holds a lengthy text that may undergo frequent modifications.

This is an opt-in feature. It is activated only when TICKET table contains a phony INTEGER column "baseline for $name" where $name stands for the name of the actual column provisioned for the aforementioned frequently changing text. ... (check-in: 0f4a0fe8 user: george tags: deltify-tkt-blobs)

2022-08-19
04:42
Fix the logic to cancel default actions and further event bubbling to take effect for all handled keys. ... (check-in: 9cfd4e2b user: florian tags: timeline-keyboard-navigation)
2022-08-18
13:21
Add the "Timeline" submenu link on the setup_edit page, for ordinary users. Change the "Access Log" link on that same page so that it is only present for ordinary users - not special users like "reader" or "developer". ... (check-in: 6f70a236 user: drh tags: trunk)
2022-08-17
05:30
Removed a digression in the gitusers doc about Fossil's new clone-and-open mechanisms. That got moved to the ckout-workflows doc quite some time back, and we already point to it from that same section. There's no reason for the redundancy. Also cleaned up some grammar and typos while in there. ... (check-in: f43eaf01 user: wyoung tags: trunk)
2022-08-16
11:05
Changed the "fossil server --user" flag's argument back to "admin" from "fossil" for the container: I was confusing the Unix user name with the default Fossil repo user name. The new "adduser fossil" stuff doesn't help here; we still want it to be called "admin". ... (check-in: 72d820f3 user: wyoung tags: trunk)
11:04
ARM build fixes for the container:
  • QEMU couldn't cope with "make -j" on the BusyBox step (too many processes) so I changed it to -j11
  • Made the new executable compression step conditional, since there is no upx package in Alpine for either ARM flavor. There's a long bug thread for it on GitHub, which doesn't look to be getting resolved any time soon.
... (check-in: 8849abb7 user: wyoung tags: trunk)
09:39
Minor fixes to the Docker container build process ... (check-in: 454397b0 user: wyoung tags: trunk)
07:14
URL fix necessitated from the Dockerfile.in rename ... (check-in: 2f67bf94 user: wyoung tags: trunk)
07:03
Carved the Docker container image size down still further by stripping out all but two of the stock skins (d* so we get default and darkmode) and packing Fossil and BusyBox with UPX. ... (check-in: e20d044c user: wyoung tags: trunk)
06:49
Fixed an Obi Wan error in the new Fossil version prefix stuff in auto.def: it was extracting the first 13 characters of the hash, not the first 12. ... (check-in: 7ecd23e0 user: wyoung tags: trunk)
2022-08-15
23:21
Added the container-image and container-run top-level build targets to manage dependencies better and to auto-version the build products. ... (check-in: 67386c75 user: wyoung tags: trunk)
23:07
Put the "--user fossil" bit back into the fossil server command for the container. Just ran into a situations where it's still needed. ... (check-in: 4c8cc804 user: wyoung tags: trunk)
22:13
Polishing pass on the container repo storage section of the build docs. ... (check-in: 3e332637 user: wyoung tags: trunk)
22:02
Changed several of the Docker environment variables to build arguments so the user an override them at build time rather than container creation time, and documented them in build.wiki. Using this new mechanism to pull the Fossil source tarball in such a way that we can use the Docker artifact cache without getting stale builds. You can now pass one of the new build args to force the old behavior if you want it. This required generating Dockerfile from Dockerfile.in at configure time, to inject the current Fossil checkin ID. (This busts the Docker cache when the source tree changes.) ... (check-in: f9384383 user: wyoung tags: trunk)
15:32
Adding the BusyBox tarball to the container image with an ADD command rather than wget to avoid triggering GitHub throttling. Unlike the Fossil repo URL, it has a version number baked into it, so it's safe to give it over to Docker's caching behavior. ... (check-in: d06d7c46 user: wyoung tags: trunk)
14:48
Noted the container size shrinkage in the fossil-v-git doc ... (check-in: f21de33e user: wyoung tags: trunk)
14:42
The container now builds Busybox from source so we can remove utilities that are unhelpful inside the container. We leave a lot behind for expansion (e.g. the runit init system, crond, inetd…) but we remove things that have no possible justification, such as modprobe. We remove everything from /bin that's a shell builtin (echo, printf, test…) and we replace a few BusyBox commands (sha[13]sum) with wrapper shell scripts that call Fossil builtins. We cap that off by adding a "sqlite3" wrapper that calls "fossil sqlite3 --no-repository", just for fun. All together, this trims about a meg of fat. ... (check-in: 953f367e user: wyoung tags: trunk)
10:28
Add #ifdef's to fix the Windows build. ... (check-in: f572f752 user: florian tags: trunk)
10:25
Simplification and harmonisation of the help text. ... (check-in: 6d108417 user: florian tags: timeline-keyboard-navigation)
10:21
Also disable shortcut handling if the View Style drop-down list has keyboard focus. ... (check-in: f419c7eb user: florian tags: timeline-keyboard-navigation)
2022-08-14
19:53
The chown -R bit added to the Dockerfile touches /jail/bin/fossil, which causes "docker build" to promote it back into a new layer, nearly doubling the container size. Doing a chown now only on two directories, restoring it to its sub-9M size. ... (check-in: 00cc9c3e user: wyoung tags: trunk)
19:42
Fossil's chroot feature drops root permissions based on file ownership, but since the container was built with everything-root, its HTTP hit handling children would run as whatever host-side UID/GID pair you used for file ownership. What happened next was complex.

If you let the container create the repo internally, it would be owned as root, so it would drop root permissions for…root! This isn't super-bad, since Fossil is presumed secure and is double-jailed besides. The risk is, if anyone works out an RCE for Fossil, they might be able to get it to create raw sockets or do various other types of escapes despite the double-jail dance.

Attaching a Docker volume brings external permisssions into the container. We were recommending a "chown 0" command on the shared volume to make it similar to the in-container case, but that opens you to the same risks above. If you ignored this and used host-side UID/GID pairs, Fossil would then be left running under IDs that didn't exist internally, which could cause assorted weirdness.

We're now creating an explicit "fossil" user/group pair inside the container and recommending that Docker volumes use these IDs for copied-in files to batten down something that shouldn't've been left flapping.

Updated build.wiki to cover all this. ... (check-in: ba21bc0b user: wyoung tags: trunk)

19:33
Resolved timeline segfault reported in forum post 0bbb66eee4ba35db, triggered by entries with NULL checkin messages. ... (check-in: 20eab785 user: stephan tags: trunk)
18:48
Moved the SIGTERM handler up before the "fossil server" HTTP hit handler. We had it clustered with the other signal() calls, but those are to handle signals intended to occur only during CGI processing. This one will normally occur while we're blocked, waiting for the HTTP hit to occur, so it had no useful effect where it was. ... (check-in: d3c55fe0 user: wyoung tags: trunk)
18:01
Changed previous to call fossil_exit() instead of exit(3) so we close our databases before dying. ... (check-in: 7c857d22 user: wyoung tags: trunk)
17:59
The parent process now handles SIGTERM with an explicit exit(3) call when its PID is 1, as when it's running as "fossil server" in a Docker container. Without this, the container host's shutdown process takes a long time because it's waiting on PID 1 to die and eventually has to time out and kill it. ... (check-in: 1d09e607 user: wyoung tags: trunk)
16:19
Markup fix ... (check-in: cf149787 user: wyoung tags: trunk)
16:18
Clarified the fact that the "docker cp" command is changing the name of the repository DB file. ... (check-in: f0b15a37 user: wyoung tags: trunk)
16:15
Slight emphasis fix in previous ... (check-in: 1441c2e6 user: wyoung tags: trunk)
16:13
Edit pass on §5.1 of build.wiki, fixing a number of unclear bits, particularly with regard to images vs containers. ... (check-in: e2b9114b user: wyoung tags: trunk)
08:54
Merge with trunk to get the latest web UI fixes. ... (check-in: e3178722 user: florian tags: timeline-keyboard-navigation)
08:16
Comment and TODO updates. ... (check-in: cfed59c9 user: florian tags: timeline-keyboard-navigation)
08:07
Cancel default actions and further bubbling of handled keys, in case of conflicts with browser (extension) defaults. ... (check-in: 52579600 user: florian tags: timeline-keyboard-navigation)
08:03
Fix the shortcut handler to cycle between selected, check-out and ticked entries getting stuck, and give highest priority to ticked entries. ... (check-in: b6a656b5 user: florian tags: timeline-keyboard-navigation)
07:56
Remap keyboard shortcuts, and ensure only letter keys are combined with SHIFT, as non-letter keys may produce different key code pairs with and without SHIFT depending on the keyboard layout. ... (check-in: 33f9315d user: florian tags: timeline-keyboard-navigation)
2022-08-13
23:39
Using the preceding --chroot fixes to make the Docker container serve the repo from /jail/museum/repo.fossil rather than from the chroot dir, /jail. This then allows us to mount a Docker volume at /jail/museum, which has an independent persistence from the container proper, so we can now rebuild the container without destroying the presumably precious repo. Updated build.wiki to track this change and document the lessons gleaned from doing all of this. ... (check-in: f76e762f user: wyoung tags: trunk)
22:15
Moved the chdir() call within enter_chroot_jail() down below the new repo name canonicalization code to allow use of relative path names. Before, you had to give an absolute path to the repo, since we'd cd'd away from that directory before we started to validate the path. ... (check-in: e9462118 user: wyoung tags: trunk)
22:14
Moved the setting of g.fJail flag into the repo = "/" case since it exists only to communicate the chroot status to --repolist mode. (This confirms the speculation in the prior commit's comment: the prior behavior existed to serve repolist mode only.) ... (check-in: 324d232c user: wyoung tags: trunk)
21:21
Fixed the --chroot flag to "fossil server" and "fossil http" to allow it to work in conjunction with the single-repository case. Before, it blindly assumed --repolist mode. ... (check-in: 6f92ad99 user: wyoung tags: trunk)
2022-08-12
17:01
Fixed pointless use of interwiki link in the new section 2.2 material of fossil-v-git. ... (check-in: 73c95307 user: wyoung tags: trunk)
2022-08-11
10:02
Potential, minimally-tested fix for (remote add default URL) not working, as reported in forum post 5748fcb117a99b43. ... (check-in: c06f58b5 user: stephan tags: remote-add-fix)
06:42
Another attempt to make the CSS for the focus indicator work with any skin foreground and background colors and branch colors: instead of changing just the background color, the foreground color is also adjusted, so the indicator can still be recognized even if similar to a branch color. Besides, no more editing of SVG code is necessary to make adjustments. ... (check-in: a8d306be user: florian tags: timeline-keyboard-navigation)
06:17
Mention in the help text that ticking the second entry node opens the diff page. Again, thanks @rouilj! ... (check-in: 13e0f32e user: florian tags: timeline-keyboard-navigation)
06:12
Swap semantics of the "primary" and "secondary" highlighted entries to improve selection of the default focused entry. The "secondary" corresponds to the "To:" entry on /vdiff pages and hance is the last focused entry, so should also be the default when returning to /timeline both by keyboard shortcut or the browser "backwards" command. Thanks @rouilj for spotting this! ... (check-in: 63c1be8c user: florian tags: timeline-keyboard-navigation)
05:57
Shortcut "." (period) to set focus to the entry closest to the center of the viewport. (The keys need to be reassigned later, since non-letter keys don't produce the same characters with or without SHIFT pressed on all keyboard layouts.) Thanks @rouilj for the suggestion and the hint! ... (check-in: e1796f2d user: florian tags: timeline-keyboard-navigation)
05:48
Refactorings to cookie handling. ... (check-in: cf38f5ab user: florian tags: timeline-keyboard-navigation)
03:53
Fix a build error introduced by check-in [fc8e5750d7]. ... (check-in: 49a2d136 user: florian tags: trunk)
2022-08-10
06:03
Merge fixes to the accordion panel JS script. ... (check-in: 44a7149d user: florian tags: trunk)
06:02
Record a comment on the findings discovered during repair of the accordion panel JS script. ... (Closed-Leaf check-in: 2fc93df4 user: florian tags: accordion-fix)
06:00
Add the new subcommand `fossil branch lsh' to list the most recently modified branches. ... (check-in: fc8e5750 user: florian tags: trunk)
05:56
Fix a compiler warning. ... (Closed-Leaf check-in: 877b237b user: florian tags: ls-hot-branches)
2022-08-09
12:35
Do not show information about the number of chat messages unless the user has read privilege on the chat. ... (check-in: ad0aac2f user: drh tags: trunk)
2022-08-08
11:52
/setup_config typo fix reported in forum post ec5bd222a2. ... (check-in: 6d5d5f02 user: stephan tags: trunk)
2022-08-07
08:12
Coding style fixes and comment updates. ... (check-in: ae932acd user: florian tags: timeline-keyboard-navigation)
08:09
Shortcut SHIFT+H to scroll to the focused entry without moving focus. This may be handy in conjunction with scrolling by arrow keys or PgUp/Dn. ... (check-in: 8d1edb82 user: florian tags: timeline-keyboard-navigation)
08:07
Remove a construct to escape the JS compressor obsoleted by [ffa1c7d0a0]. ... (check-in: 0e7357d2 user: florian tags: accordion-fix)
2022-08-06
22:13
Fixed a few stray parens in the new material in the fossil-v-git doc, left behind from a prior edit. ... (check-in: ea13701c user: wyoung tags: trunk)
22:08
Typo fix ... (check-in: b628a883 user: wyoung tags: trunk)
20:30
Fixed a problem in image naming in the new Docker container doc in build.wiki reported on the forum. ... (check-in: 509447a2 user: wyoung tags: trunk)
19:56
Did away with the temporary src.tar.gz file in the new Docker container by streaming the output of wget straight into tar's stdin. This cuts the build time by about five seconds, presumably due to the saving from unnecessary file I/O. Also replaced the explicit "cd src" afterward with an out-of-tree build configuration, since it doesn't matter if we clutter the first stage's /tmp dir. ... (check-in: 289c9b50 user: wyoung tags: trunk)
19:34
The build docs for "./configure --static" now reference the section further down on Docker, since you may need to use this indirection to get --static to produce something suitable. ... (check-in: 7bfd7413 user: wyoung tags: trunk)
04:24
Replaced Jan Nijtman's Dockerfile with a new one that does a 2-stage build. The first stage runs atop Alpine Linux instead of Fedora, reducing the initial build from ~635 MiB to about 16.

Rather than stop there, I then made it multi-stage, copying two key static binaries — Fossil and Busybox — over from the first stage into a fresh-from-scratch container and set it up to run the former jailed away from the latter.

The result is under 9 MiB, and it's as secure as one can hope, given that it starts up in "PUBLIC" mode. The new build doesn't have all the extra features turned on that the old one did, but it seems right to build the container with Fossil in its default configuration. If you want something else, copy the Dockerfile, hack it, and make it do what you want instead.

Having done all this, I replaced the one-off Dockerfile inline in section 5.0 of the build doc with a reference to this new Dockerfile and rewrote the section in terms of the new capabilities.

Finally, this lets us brag on how small the container can be, as compared to the Gitlab-CE container. Before, we were comparing a standalone binary to the container, which wan't entirely fair. (The desire to produce such a container was the spark that kicked this project off.) ... (check-in: 77d603c6 user: wyoung tags: trunk)

2022-08-05
12:05
Assorted improvements to the first few sections of the fossil-v-git doc, mainly in updating them to track changes to world facts and to clarify the presentation. ... (check-in: c7afd68b user: wyoung tags: trunk)
10:18
Remove some unnecessary `bind()' calls for variables already held in function closure. Apart from that, the approach seems to work well and also covers odd cases, such as the post-expansion timeout to clear maxHeight being shorter than the CSS animation duration (in which case the animation would just jerkily stop, but with the correct element height), or setting a short "decoy value" (say, "100px") instead of the real scrollHeight for maxHeight (in which case the animated area would just be smaller, but with the same end result). ... (check-in: 7b8dd9ca user: florian tags: accordion-fix)
06:39
Also fix URLs for non-filtered /timeline links opened from /finfo pages, plus some code and comment cleanups. ... (check-in: 3ae1390f user: florian tags: timeline-keyboard-navigation)
06:22
Shortcut SHIFT+J to view the timeline of the focused entry filtered by branch. Add the 'm' query parameter to /timeline links. ... (check-in: 7bbd1b99 user: florian tags: timeline-keyboard-navigation)
05:23
Attempt to fix the accordion for "Changes" sections: (A) "Delay-init" the maxHeight property only right before the closing animation, so that the dynamic diffs have enough time to resize themselves without any constraints, and then set maxHeight to zero to trigger the animation in idle time, to prevent coalescing the maxHeight changes (or there won't be an animation when going from "undefined" to "0"). (B) On expansion, after awaiting the animation duration, clear the maxHeight property, so browsers are again free to resize without any constraints. This is the same trick that works well for the hamburger menu, and fixes another problem with FF to return too small values for scrollHeight with large diffs, so that they would again be truncated (but the error is small enough so it doesn't matter for the animation). ... (check-in: 6c591c3f user: florian tags: accordion-fix)
2022-08-04
12:19
Remove the accordion from the "Changes" division of the /vinfo page (at least temporarily) because it is cutting off the bottom of the diff. ... (check-in: 69a6f453 user: drh tags: trunk)
12:02
The smart "scroll to" routine also needs to scroll upwards when used for their new purpose. ... (check-in: fff09df3 user: florian tags: timeline-keyboard-navigation)
11:46
Docs v0.1, with upper-/lower-case letter notation, instead of SHIFT+LETTER (which may be somewhat confusing for the "," and ";" case). ... (check-in: b02508d3 user: florian tags: timeline-keyboard-navigation)
11:42
Try to fix the focus indicator CSS to work for all skins: alpha-blending "10% black" with light-mode background colors, or "20% white" with dark-mode background colors, looks surprisingly well and conflicts less with branch colors (which can be orange-ish, but never black or white). Note that the dark-mode skins Ardoise, Dark Mode and Xekri (but not Eagle) require the previously removed !important directive. It\'s still possible for skins to overwrite the focus indicator CSS when duplicating the !important directive. ... (check-in: 7d026886 user: florian tags: timeline-keyboard-navigation)
06:57
Experimental change to scroll the focused entry into view with a Fossil-style scrolling function to keep the entry centered vertically. This is much better than `Element.scrollIntoView()' for FF (but maybe a matter of tweaking the function arguments). Kudos to the wiz who programmed the `scrollToSelected()' function! ... (check-in: ad3a8e0b user: florian tags: timeline-keyboard-navigation)
06:14
Comment and TODO updates. ... (check-in: ec8b53a9 user: florian tags: timeline-keyboard-navigation)
06:09
Enhance the H shortcut to consider the secondary selection on the /vdiff page as a waypoint. ... (check-in: 0c024627 user: florian tags: timeline-keyboard-navigation)
04:25
Change the "untick" and "copy hash/branch" handlers to not activate keyboard navigation mode, i.e. "untick" is also available in combination with mouse scrolling, and "copy hash/branch" requires a focused entry, instead of focusing an entry without copying its data. ... (check-in: 1d5e6e3c user: florian tags: timeline-keyboard-navigation)
04:11
Shortcut SHIFT+"," (comma) to untick all (better: one) node(s) without moving the focus indicator. ... (check-in: a4db0b2c user: florian tags: timeline-keyboard-navigation)
04:01
Remap the shortcut to disable keyboard navigation mode to ESC. This is also a test case for the high-priority ESC handlers of the timeline tooltip and the hamburger menu, and things seem to work fine. ... (check-in: 80085809 user: florian tags: timeline-keyboard-navigation)
03:57
Shortcut H to hop between the selected, current (check-out) and ticked entries. ... (check-in: 7703a5f7 user: florian tags: timeline-keyboard-navigation)
03:51
Shortcuts B and SHIFT+B top copy the hash or branch name of the focused entry to clipboard. ... (check-in: f23a6d13 user: florian tags: timeline-keyboard-navigation)
03:45
Shortcut "," (comma) to tick/untick the node of the currently focused entry. This has the same effect as mouse clicks, i.e. as soon as two nodes are ticked, the corresponding diff page is opened. ... (check-in: 15f943f0 user: florian tags: timeline-keyboard-navigation)
03:41
Shortcuts SHIFT+N and SHIFT+M to put focus the first (topmost) or last (bottommost) entry. ... (check-in: 145df5a3 user: florian tags: timeline-keyboard-navigation)
03:35
Access the hidden input field used for back/forward caching via dedicated functions, and let browsers do the buffering of `document.getElementById()' results themselves. ... (check-in: 115b4849 user: florian tags: timeline-keyboard-navigation)
03:34
Merge with trunk to get the latest web UI updates. ... (check-in: 0f998197 user: florian tags: timeline-keyboard-navigation)
2022-08-02
20:55
Put all sections of the /vinfo page (or the /info page for a check-in) inside an accordion widget. ... (check-in: ab553393 user: drh tags: trunk)
10:57
Take note of another possibly handy shortcut. ... (check-in: 2ffedc2b user: florian tags: timeline-keyboard-navigation)
10:27
Refactor the `-h' option to its own `lsh' subcommand sibling to `list|ls' to reuse their infrastructure and flags. To produce useful output with the `-r' option, the SQL query to generate the branch list is LIMIT'ed in an inner query, and then ORDER'ed again in an outer query. ... (check-in: dbd6efe2 user: florian tags: ls-hot-branches)
00:45
Corrected broken link introduced in the previous commit which works under (fossil ui) but not on the live server (due to the addition of another URI path element). ... (check-in: bf0efda7 user: stephan tags: trunk)
00:42
doc index: added a link to the Release Build How-To wiki page, per forum request. ... (check-in: 9f3945fc user: stephan tags: trunk)
2022-08-01
09:34
Take note of another possible TODO item. ... (check-in: b785da80 user: florian tags: timeline-keyboard-navigation)
09:30
Update the comments about back/forward caching. ... (check-in: e62b171d user: florian tags: timeline-keyboard-navigation)
09:21
Some code readability and function naming tweaks. ... (check-in: 89a0438f user: florian tags: timeline-keyboard-navigation)
2022-07-31
10:47
Add a new `-h' option to `fossil branch ls' to list the "hot" (first few recently modified) branches. ... (check-in: fe299ee4 user: florian tags: ls-hot-branches)
08:56
Take note of a possible TODO point. ... (check-in: 4bc9aa3c user: florian tags: timeline-keyboard-navigation)
08:48
Remove an unnecessary !important CSS directive that prevents overriding by skins. (This is a leftover from my private patches, where the same technique is used to alpha-blend an additional SVG background color with the original background color.) ... (check-in: 72dc40da user: florian tags: timeline-keyboard-navigation)
08:39
Revamp key handling to work with modifiers. ... (check-in: af89065e user: florian tags: timeline-keyboard-navigation)
08:20
Refactor a function for later reuse. ... (check-in: 2087ad10 user: florian tags: timeline-keyboard-navigation)
08:14
Sanitize URL composing. ... (check-in: 6c16d2ec user: florian tags: timeline-keyboard-navigation)
07:58
Replace the tooltip 'unload' handler with 'pageshow' and 'pagehide' handlers so that restoring the focused entry on back/forward navigation also works with FF. ... (check-in: 5e545a9f user: florian tags: timeline-keyboard-navigation)
2022-07-30
20:33
login-group command: corrected help text for 'join' option to include REPO and extended code to allow REPO to optionally be passed on as -R REPO. Resolves issue reported in forum post 240b6d856a3dd4b5. ... (check-in: 769a7651 user: stephan tags: trunk)
2022-07-29
19:03
Fix the /alerts page so that access is provided even for users that are not logged in as long as a complete subscription code is provided as the "name" query parameter. ... (check-in: a27c908f user: drh tags: trunk)
18:57
The /unsubscribe page now requests comformation. And so email notifications contain only an "Unsubscribe" link, and not a link to subscription management. ... (check-in: f045c5dd user: drh tags: trunk)
11:37
Don't use magic numbers, and also improve readability for adjacent lines. ... (check-in: 57baac30 user: florian tags: timeline-keyboard-navigation)
10:27
Drop a redundant check. ... (check-in: d145d92d user: florian tags: timeline-keyboard-navigation)
10:26
Fix dynamic style assignment. ... (check-in: bb59cc26 user: florian tags: timeline-keyboard-navigation)
10:24
Omit the expiration date when creating the session cookie. ... (check-in: 540955bd user: florian tags: timeline-keyboard-navigation)
06:36
Implement Javascript-based keyboard navigation for web UI timelines. Shortcuts N and M focus the next or previous entry, and J and K toggle between /timeline and /info views for the focused entry. See comments in the committed Javascript file for more information. ... (check-in: b18c4256 user: florian tags: timeline-keyboard-navigation)
2022-07-28
18:59
Consolidated some minor code drift between pikchr's fiddle and fossil's pikchrshow. ... (check-in: 44cd9753 user: stephan tags: trunk)
18:19
Patch the javascript compressor so that it does not elide text after // if the // immediately follows a :, as that text might be part of a URI string literal. ... (check-in: ffa1c7d0 user: drh tags: trunk)
17:38
Fix a build problem with zlib on Windows. ... (check-in: 8bd19cad user: drh tags: trunk)
17:06
Update the built-in copy of zLib to version 1.2.12. ... (check-in: adb9e8e0 user: drh tags: trunk)
15:38
Corrected -DPIC to -fPIC in compaq/zlib/Makefile.in and filed upstream ticket for that change at https://github.com/madler/zlib/issues/684. ... (Closed-Leaf check-in: 368d9786 user: stephan tags: zlib-update)
15:23
Latest upstream pikchr.c and pikchr.wasm. ... (check-in: d5ec3629 user: stephan tags: trunk)
2022-07-27
14:16
Add zlib1g-dev to the list of libraries needed for building. ... (check-in: 12ce928a user: danield tags: trunk)
2022-07-26
16:05
auto.def: --with-zlib=tree now fails if compat/zlib is not configured and built in advance, resolving the curious problem that the downstream test for openssl fails if libz is not built. Problem discovered by Daniel D. and reported in /chat. ... (check-in: b0dc2792 user: stephan tags: trunk)
2022-07-25
16:47
Corrected the --with-see build to use sqlite3-see.c. Problem reported in forum post b3653991172dcd14. The SEE build was broken by the late-December 2021 reworking of the --with-sqlite flag and its related build infrastructure. ... (check-in: 18acd948 user: stephan tags: trunk)
2022-07-24
14:53
Added --dry-run change to the change log. ... (check-in: 5960a16f user: stephan tags: trunk)
14:51
Replaced the remaining --dryrun flags with --dry-run, for consistency, per discussion/monologue in forum post d732b4026f44bdba. ... (check-in: 4a720c26 user: stephan tags: trunk)
2022-07-21
21:38
Removed an unused var (compiler warning). ... (check-in: 7ca55e92 user: stephan tags: trunk)
20:00
Revise the "fossil version -v" command to give less detail. Use -vv or -v -v to get the original full detail. ... (check-in: bbbd7ef8 user: drh tags: trunk)
16:11
Updated changes.wiki and VERSION to 2.20. ... (check-in: a3bdee62 user: stephan tags: trunk)
16:10
Version 2.19 ... (check-in: 1e131feb user: stephan tags: trunk, release, version-2.19)
14:48
Update the built-in SQLite to version 3.39.2 RC 1. ... (check-in: 8c36dad3 user: drh tags: trunk)
2022-07-19
23:33
Add a quote from https://wholesomedonut.prose.sh/using-fossil-not-git to the "quotes.wiki" page of the documentation. ... (check-in: ff95be00 user: drh tags: trunk)
13:23
Removed the -- flag handling from expand_args_option(), instead letting it fall through to find_option(), to eliminate inconsistencies and corner cases uncovered in forum thread 4382bbc66757c39f. ... (check-in: 62a16882 user: stephan tags: trunk)
13:17
Update the built-in SQLite to the latest trunk version for testing. ... (check-in: e5be71d6 user: drh tags: trunk)
13:15
Add a "Timeline" link to the /forum page. ... (check-in: 39bc414b user: drh tags: trunk)
2022-07-18
18:02
Typo fix in the 'timeline' command's help as per forum post 27bc0a9716. ... (check-in: c8a39b66 user: danield tags: trunk)
14:47
Do not omit a forum thread's title while rendering /forumthread page. ... (check-in: ffd32a9f user: george tags: trunk)
12:07
Added a note to the cgi command's help about the processing order of directives, per forum request. ... (check-in: 8d3176f1 user: stephan tags: trunk)
01:39
Still moer grammar fixes in fossil-v-git ... (check-in: e28c25e4 user: wyoung tags: trunk)
01:08
More grammar fixes ... (check-in: 9f135f2f user: wyoung tags: trunk)
01:07
Grammar fix to the fossil-v-git doc ... (check-in: f36fb951 user: wyoung tags: trunk)
2022-07-17
23:48
Changed a number of "a" articles followed by vowels in docs and comments to "an", per a forum post. ... (check-in: 99a319bd user: wyoung tags: trunk)
23:23
Mentioned "fnc stash" at the end of the section of gitusers where it talks about alternatives to "git add -p" and such. ... (check-in: b3b2c1ab user: wyoung tags: trunk)
17:30
On the /secaudit0 page, add a link to the canonical URL setting in the /setup_config page, per request in forum post 154494bfaf45949ca93. ... (check-in: 861ec9c7 user: stephan tags: trunk)
2022-07-13
15:06
Updated the ignore-glob and keep-glob docs so that the example glob conforms to the documention. Reported in forum post 16c422dac445449a. ... (check-in: e33181c1 user: stephan tags: trunk)
07:38
show original path of renamed files in changes/status output

For context, print renamed files in the form "from -> to" except in the `fossil {changes,status} --renamed` case as suggested by wyoung. Requested by ams in 9ca95426f.

ok stephan in /chat ... (check-in: 1b8cfdb0 user: mark tags: trunk)

2022-07-11
19:49
Continued the edit pass on the main body of the gitusers doc, shy of the case studies, mainly doing minor style tweaks. Biggest substantial change is to rewrite the colorized diff section to cover the changes in Fossil 2.17, and to present the alternatives in a more logical order. ... (check-in: c026fb9a user: wyoung tags: trunk)
18:50
Fix to the fix. :( ... (check-in: e3f9584e user: wyoung tags: trunk)
18:50
Fixed a broken internal link in the gitusers doc resulting from moving the museum tree pikchr into the glossary. ... (check-in: 116d8c75 user: wyoung tags: trunk)
2022-07-09
16:07
Correction to spelling in zip/tarball command help. ... (check-in: d708847e user: andybradford tags: trunk)
2022-07-06
05:53
Typo fix in the 'all' command's help. ... (check-in: 3a24a52e user: stephan tags: trunk)
2022-07-05
07:38
Replaced --dryrun with --dry-run in the commands which still used the former, except for two unrelated internal-use/debugging-only flags where the change might have had undesired side effects. Removed the undocumented --dryrun backwards-compatibility flag from a couple commands for consistency's sake (else we need to have that option in all dry-run-capable commands). Discussion is in forum post d732b4026f44bdba. ... (Closed-Leaf check-in: 360d8652 user: stephan tags: dryrun-dry-run)
06:52
Added the obligator generic 'other enhancements' line to the 2.19 change log. ... (check-in: d18a2f61 user: stephan tags: trunk)
2022-07-04
01:06
When doing configure pull --overwrite, ensure that the USER table can be overwritten by removing the db-protect flag on it. ... (check-in: 7384cf51 user: stephan tags: trunk)
2022-07-02
20:05
Honor 'timeline-utc' setting while rendering of /wdiff pages. This is similar to [17ebe42d6183ed]. ... (check-in: 46de798a user: george tags: trunk)
12:24
Enhance "Changes to wiki page" entries within /timeline: turn the word "Changes" into a hyperlink to the corresponding /wdiff page. ... (check-in: 3a9090fc user: george tags: trunk)
2022-07-01
01:44
Experimental fix to make '%!S' in hyperlinks stop truncating things that are not check-in identifiers. This should probably be optimzied by refactoring the surrounding code to avoid calculating the length more than once. ... (check-in: 7eba14d1 user: mistachkin tags: nonHashFix)
01:31
Update the custom makefile for MinGW. ... (check-in: eddd6b4a user: mistachkin tags: trunk)
2022-06-30
22:05
Documented a browser incompatibility in the pikchr-centering CSS, for later analysis/hacking. Comment changes only, no CSS. ... (check-in: d32df118 user: stephan tags: trunk)
2022-06-25
17:31
Update the built-in SQLite to the 3.39.0 release. ... (check-in: 720f0956 user: drh tags: trunk)
08:22
Fixed y=all arg for timeline.rss (broken in [cb651568fbfe6]) and renamed a shadowed variable, both problems reported in forum post d48f7f12656a291f. ... (check-in: 8903d1eb user: stephan tags: trunk)
2022-06-24
05:40
In the Windows application manifest, use generic placeholder values for the 'processorArchitecture' attributes of the 'assemblyIdentity' elements. This should enable Fossil to run on 64-bit systems without the WOW64 emulator installed, see Forum Post 9a3eaa6ad5 and following for the problem report and discussion. ... (check-in: 12ac6727 user: florian tags: trunk)
2022-06-23
21:16
Minor bisect linear doc tweak suggested in forum post 0ff3db6e4a5b218a. ... (check-in: ed4ac971 user: stephan tags: trunk)
13:08
In the 'all' command, use strcmp instead of strncmp to compare the subcommand name to avoid the problem described in forum post 8ec0c228c1ce8da5, where (e.g.) the subcommand 's' evaluates to 'server' and 'p' to 'push' despite both of those being ambiguous subcommand name prefixes. ... (check-in: e098d810 user: stephan tags: trunk)
12:44
Changes to the file_getcwd() routine to avoid a false-positive compiler warning from gcc 10.2.1. ... (check-in: 85b83206 user: drh tags: trunk)
12:10
Update the built-in SQLite to the latest 3.39.0 beta, for SQLite testing. ... (check-in: d7a2bda9 user: drh tags: trunk)
10:25
Update the open/checkout --keep flag help text to be more generic about the manifest files, to account for manifest.tags, (potentially) manifest.descr, and any future manifest.* files. No code changes. ... (check-in: ca2248ec user: stephan tags: trunk)
10:13
www/cgi.wiki: document the new repolist behavior introduced in [9584806cc6a8]. ... (check-in: c7b9f05f user: stephan tags: trunk)
2022-06-22
13:51
Updates to the change log. ... (check-in: b7e638f8 user: danield tags: trunk)
13:37
Add '--versions' option to 'fossil diff' to display details about the compared versions. ... (check-in: 41f6a451 user: danield tags: trunk)
13:33
Add an option to the 'timeline' command to display only items on a specific branch. ... (check-in: 213ca339 user: danield tags: trunk)
12:35
Fix a minor footnotes-related bug that was discovered by Stephan: if a free-standing footnote reference follows immediately after the exclamation mark then parse that as a footnote (and not as an image). This check-in also postpones initialization of a few local variables within char_link() function (which may save a few CPU cycles). ... (check-in: 97b28fea user: george tags: trunk)
11:11
In directory/repolist mode, do not link to X/Y.fossil if X.fossil exists, to avoid the X/Y/... URI ambiguity. Reported in forum post f50f647c97c72fc1. ... (check-in: 9584806c user: stephan tags: trunk)
2022-06-20
22:18
/chat: added a missing JS dependency which broke the new text-toggle/copy feature. Bug introduced in [f98a4f5c94a844dd], caused by failure to check in one of the associated files. ... (check-in: eeacf821 user: stephan tags: trunk)
2022-06-18
13:45
/timeline.rss: updated TITLE fields for wiki entry comment formatting changes. Add explicit forum posts support (they were shown before in some contexts but only by virtue of being 'not a checkin/ticket/wiki' and not honoring the caller's permissions to read them). ... (check-in: cb651568 user: stephan tags: trunk)
07:04
Merged in trunk. ... (check-in: 4d629929 user: stephan tags: markdown-tagrefs)
2022-06-17
11:04
Made a cryptic 'not found' error message when failing to resolve a symbolic name slightly less cryptic in response to confusion reported in forum post 1eaa68bb75. ... (check-in: 30f669b0 user: stephan tags: trunk)
10:57
Create a placeholder manifest.descr file via auto.def, analog to [a198cde661ca]. ... (Leaf check-in: 56614cb6 user: stephan tags: version-cmd-describe)
09:57
Merged in trunk. ... (Closed-Leaf check-in: c97ad9d6 user: danield tags: diff-show-versions)
09:49
Merged in trunk. ... (Closed-Leaf check-in: 20c1ba2e user: danield tags: timeline-cmd-by-branch)
09:43
Merged in trunk. ... (check-in: 6bdb2fbe user: danield tags: version-cmd-describe)
2022-06-15
17:37
Update the built-in SQLite to the latest 3.39.0 beta, for testing. ... (check-in: b0f84d8d user: drh tags: trunk)
2022-06-14
17:42
Latest upstream pikchr.c to enable HTML entities which contain digits. ... (check-in: b1ffe209 user: stephan tags: trunk)
14:34
Updated pikchr.c for HTML entity escaping fix. ... (check-in: b3a0a4cd user: stephan tags: trunk)
10:36
Tweak [1142db3091]: Make sure `builtin_get_js_delivery_mode_name()' never returns an empty string, for that would be silently swallowed by `blob_append_escaped_arg()' when assembling the command-line for a HTTP child process, resulting in a broken command-line with a missing --jsmode option argument. Also add a hint next to the definition of the `JS_*' modes about dependencies to be reviewed on updates. ... (check-in: b258a41c user: florian tags: trunk)
08:59
build.wiki: remove outdated note about Alpine Linux 3.14. ... (check-in: e70ceb1a user: stephan tags: trunk)
06:58
On Windows, forward the --jsmode option to individual HTTP requests. ... (check-in: 1142db30 user: florian tags: trunk)
2022-06-13
22:18
Removed the inadvertent vertically-centered alignment of the /pikchrshow pikchr when not in auto-fit mode. ... (check-in: d9bd5603 user: stephan tags: trunk)
2022-06-12
19:32
Add extsrc/pikchr.wasm to the list of binary blobs. ... (check-in: 13cd92de user: george tags: trunk)
2022-06-11
12:34
Merged in trunk. ... (check-in: fd14e7ec user: stephan tags: markdown-tagrefs)
08:32
Typo fix report in 099e10c762b43add. ... (check-in: b942cd21 user: stephan tags: trunk)
2022-06-10
14:12
Minor /pikchrshow CSS cleanups. ... (check-in: 864ed8d0 user: stephan tags: trunk)
14:11
In the /winfo view (/info/WIKI_ARTIFACT_ID), honor the timeline-utc configuration flag, per request in 7e7219e59120b2db. Though that setting is ostensibly only for the timeline, it seems to be used just about where except where times are explicitly labeled as UTC. ... (check-in: 17ebe42d user: stephan tags: trunk)
2022-06-09
09:12
build.wiki: added a note about minimum emcc version and notes about using alternatives to Emscripten. ... (check-in: f7d53fa8 user: stephan tags: trunk)
2022-06-08
23:27
Merge in pikchrshow-wasm branch: reimplement /pikchrshow using a client-side WASM build of pikchr.c, plus related feature-adjacent tweaks in mimetype handling. ... (check-in: 7fcb4626 user: stephan tags: trunk)
15:52
/chat: do not show the Toggle Text Mode feature for messages with no text, e.g. image-only posts (resolves an unhandled exception). When text is toggled to the unparsed state, show a copy-to-clipboard button which copies the raw message text to the clipboard. That is a workaround for mouse-copying of that text collecting extraneous newlines for reasons only the browsers understand. ... (check-in: f98a4f5c user: stephan tags: trunk)
15:17
In /chat, change the EOL whitespace-stripping policy to retain up to 2 spaces, only stripping after the 3rd, to avoid breaking certain markdown constructs. Per /chat discussion. ... (check-in: cd7f2ddc user: stephan tags: trunk)
12:19
Refactored the configure script's emsdk detection in the hopes that this reformulation will work on systems where emcc is installed via a package manager. ... (Closed-Leaf check-in: 98dd2626 user: stephan tags: pikchrshow-wasm)
10:09
build.wiki: added notes about emsdk requirements and keeping it up to date. ... (check-in: b256c5bc user: stephan tags: pikchrshow-wasm)
10:08
Added mjs (ES6 modules) mimetype. Changed JS mimetype from application/javascript to text/javascript to conform with the HTML spec. application/javascript is commonly used in the wild. ... (check-in: a54a2c6a user: stephan tags: pikchrshow-wasm)
08:44
Added missing section numbers 7.0 and 8.0 to the two newest sections in build.wiki. ... (check-in: fb9f3dcc user: stephan tags: pikchrshow-wasm)
07:54
Added mimetype image/vnd.microsoft.icon to the is-compressible list, per forum feedback. Consolidated strncmp() vs fossil_strncmp() into fossil_strncmp() in cgi.c for consistency's sake. ... (check-in: 3652b4d6 user: stephan tags: pikchrshow-wasm)
07:36
Based on discussions in forum thread f60dece061c364d1, (A) re-add the charset=utf-8 for text/* mimetypes, (B) extend the set of gzip-compressible mimetypes (e.g. JSON, wasm, tcl, tar), and (C) refactor (B)'s impl so that adding new types does not add a performance hit (it's faster now for most mimetypes). ... (check-in: 86db2d94 user: stephan tags: pikchrshow-wasm)
02:42
Removed the unused/incomplete split-view widget. The current UI doesn't seem to need that level of manual size tuning. ... (check-in: ba1be566 user: stephan tags: pikchrshow-wasm)
02:37
Added a section to www/build.wiki explaining the pikchr WASM bits and how to rebuild them (required when updating pikchr.c). ... (check-in: ed51ec4e user: stephan tags: pikchrshow-wasm)
2022-06-07
23:09
Resolved auto-fit mode not rendering in Chromium. ... (check-in: 11f77903 user: stephan tags: pikchrshow-wasm)
22:34
Resolved a slight layout mis-shift of the main input field introduced by the previous checkin. ... (check-in: 5b84e810 user: stephan tags: pikchrshow-wasm)
22:22
Recompiled pikchr.js/wasm with latest emscripten. Fixed a left-shifted SVG truncation case. Ported example script selection from legacy pikchrshow into the new version. ... (check-in: 6c07b286 user: stephan tags: pikchrshow-wasm)
20:36
Fix popen2() return value check in hook_backoffice(). ... (check-in: e6aaeb1b user: jan tags: trunk)
18:05
Added optional build infrastructure for using emcc so that we have a reproducible pikchr.wasm instead of an opaque 3rd-party blob. This adds the --with-emsdk configure flag. ... (check-in: 8f6886c9 user: stephan tags: pikchrshow-wasm)
16:13
Added entry for the email-listid setting to the change log. ... (check-in: d3acca57 user: stephan tags: trunk)
12:07
More pikchrshow cleanups. Corrected the body text for the markdown/wiki render modes (was using the SVG instead of pikchr code). Center the pikchr when not in auto-fit mode. ... (check-in: e23286a6 user: stephan tags: pikchrshow-wasm)
11:37
Ported the various preview mode toggles and clipboard copy from legacy pikchrshow to wasm pikchrshow. ... (check-in: e513090c user: stephan tags: pikchrshow-wasm)
09:07
pikchrshow: refactored layout to use fieldsets for the input/output area wrappers and moved their button controls into the LEGEND elements. Various minor layout tweaks. ... (check-in: 577ab3be user: stephan tags: pikchrshow-wasm)
06:22
Corrected a bit of misinformation in search.c's comments, per a report in the forum. ... (check-in: 6d6880c8 user: stephan tags: trunk)
00:09
Added pikchrshow reimpl to the change log. ... (check-in: 997bb954 user: stephan tags: pikchrshow-wasm)
2022-06-06
23:53
Extended the pikchr wasm binding to make use of all of the pikchr() arguments and return more info in pikchr-worker's result. Fixed shift-enter behavior. ... (check-in: 1dc34c9b user: stephan tags: pikchrshow-wasm)
21:56
pikchrshow: swap default config value for position of input/output areas. ... (check-in: 3bd30e66 user: stephan tags: pikchrshow-wasm)
21:56
darkmode skin: replace on-focus color change of buttons with a light border, else the text has illegibly little contrast. ... (check-in: 63d51076 user: stephan tags: pikchrshow-wasm)
20:54
Consolidated some CSS. Minor pikchrshow layout tweaks. ... (check-in: ae8f2ebe user: stephan tags: pikchrshow-wasm)
20:13
pikchrshow layout tweaks. ... (check-in: 32526f32 user: stephan tags: pikchrshow-wasm)
18:51
Fixed legacy pikchrshow preview button, broken by hijacking its URI for the new pikchrshow mode. In side-by-side mode when auto-render is on, cap each half at max-width 50% to help keep the UI from flopping around. ... (check-in: c8e91165 user: stephan tags: pikchrshow-wasm)
18:04
Added CSS file missing from previous checkin. ... (check-in: 9cd4f71f user: stephan tags: pikchrshow-wasm)
18:02
Replace /pikchrshow with a WASM-based version and rename the prior version to /pikchrshowcs (cs=client/server). There are still a couple layout/style quirks to resolve, and a feature or two to port from the legacy app, but it more or less works. ... (check-in: 321f01a8 user: stephan tags: pikchrshow-wasm)
15:51
Remove the '; charset=utf-8' suffix from response Content-Type headers. That modifier is technically incorrect for many mimetypes, but wasm loaders are extra picky about it and refuse to load wasm files with the charset set. An attempt at porting over althttpd's solution for this same problem leads down a much deeper and far more invasive rabbit hole because how fossil handles/sets the response content type is more involved than in althttpd. ... (Closed-Leaf check-in: 15e7b49e user: stephan tags: content-type-no-charset)
00:41
Fix the new linear bisect so that it always goes from good to bad and stops at the first bad check-in found. ... (check-in: e6554457 user: drh tags: trunk)
2022-06-05
19:43
Add the "fossil bisect option linear on" command that allows the "fossil bisect run" command to invoke a test script on every check-in along a path between two boundary check-ins. The "linear" option resets automatically opon "fossil bisect reset". ... (check-in: 42f61b67 user: drh tags: trunk)
15:09
Corrected a closing P tag in /setup_skin, per report in the forum. ... (check-in: c7aaaaa8 user: stephan tags: trunk)
04:06
In the /setup_skin page, add a mention of/link to /skins, per request in the forum. ... (check-in: 0fabc4f3 user: stephan tags: trunk)
2022-06-04
23:09
Supply elements in submenus with additional specific CSS classes. For each submenu element a corresponding classname is derived either from the visible label (for hyperlink-like submenu elements) or from the name of the distinguishing query parameter (for other items). ... (check-in: e8a051e6 user: george tags: trunk)
16:21
Mention the remote-url url overrite by proxy bug fix in the change log. ... (check-in: 5f609331 user: mgagnon tags: trunk)
2022-06-03
15:23
Update the built-in SQLite to the latest 3.39.0 beta. ... (check-in: e3e95446 user: drh tags: trunk)
2022-06-02
20:39
Updates to the change log. ... (check-in: 952b0608 user: danield tags: trunk)
19:51
By default, do not show wikis associated with check-ins and branches in the output of 'fossil wiki ls'. This is the CLI pendant to [29a24941e]. ... (check-in: 4877e77a user: danield tags: trunk)
2022-05-28
14:38
Ignore columns of the TICKET and TICKETCHNG tables that contain spaces in their names. Such ticket fields could not be properly tracked by the earlier versions of Fossil because a ticket field name isn't fossilized when an artifact is constructed. ... (check-in: dbcb4469 user: george tags: trunk)
2022-05-27
02:05
Removed some 404 external links, reported in forum post 61c585d0c3. ... (check-in: 318ab802 user: stephan tags: trunk)
2022-05-25
20:52
Clarify the documentation: say explicitly that Clone capability, "g" provides read access to tickets, wiki and forum; and that Write capability, "i" implies that changes to tickets, wiki and forum are also accepted from clones upon syncronization. ... (check-in: 6e5337e8 user: george tags: trunk)
20:03
Provide the ability to add a List-Id: header on out-bound notification emails. ... (check-in: e50c3629 user: drh tags: trunk)
15:12
Update the built-in SQLite to the latest 3.39.0 beta for testing. ... (check-in: c8a16fda user: drh tags: trunk)
2022-05-24
20:32
If neither TICKET nor TICKETCHNG table has regular "mimetype" column then generated "mimetype" columns of these two tables are queried and used during the extraction of backlinks from ticket change artifacts. See forum post 40c1208a0f84 for rationale. ... (check-in: 6fb642c0 user: george tags: trunk)
2022-05-23
21:25
Added missing AMSK_TITLE permissions for the ABBR tag and refactored the MARKUP_xyz macros into an enum to support the upcoming addition of a few more benign element types. ... (check-in: 81deb15c user: stephan tags: trunk)
18:21
Added ABBR tag to the HTML whitelist, per forum post 3ae85115a82. Ammended markdown help to refer to the safe-html setting. ... (check-in: 11064e46 user: stephan tags: trunk)
2022-05-18
22:52
Fix a couple of invokations of backlink_extract() that were overlooked in the previous check-in. ... (Closed-Leaf check-in: 33c67c28 user: george tags: generated-tkt-mimetype)
20:21
Add support for generated "mimetype" column in the TICKET table. Introduce integer mimetype codes and refactor backlink_extract() accordingly. Make the overall handling of the generated "mimetype" columns a bit more clear. ... (check-in: e39f7790 user: george tags: generated-tkt-mimetype)
13:39
Fix a typo in an error message. ... (check-in: 3984c838 user: drh tags: trunk)
02:39
Added wasm => application/wasm mimetype mapping for use with /ext. This is only a partial solution: we'll need to extend the mimetype structure like how was done in althttpd a few hours ago so that we can elide the charset=... part of the Content-Type header, as the wasm loader does not like that. ... (check-in: 5c47abd6 user: stephan tags: trunk)
2022-05-16
11:55
Bring in the latest SQLite 3.39.0 enhancements for testing. ... (check-in: 8683664a user: drh tags: trunk)
2022-05-14
19:12
A tiny optimization inside of ticket_insert(): rearrange two db_finalize() calls in order to avoid additional malloc() for zMimetype. ... (check-in: 563c6b9e user: george tags: generated-tkt-mimetype)
18:27
If "mimetype" column of the TICKETCHNG table is a generated column, than use these generated values for extraction of backlinks from the ticket-changes. ... (check-in: 5ab73ab8 user: george tags: generated-tkt-mimetype)
17:42
Fix a subtle bug in ticket_insert() which may lead to redundant rows in the BACKLINK table. The bug appeared in [7c13a57358ae]. ... (check-in: 3b42738e user: george tags: generated-tkt-mimetype)
14:38
Adds minor output to stash command to alert users when a stash is successful. See forum post fd2405eff30f4c73 for discussion. ... (check-in: 07d739b4 user: andybradford tags: trunk)
14:23
Bring branch up to date with trunk. ... (Closed-Leaf check-in: 393e73cf user: andybradford tags: stash-success)
06:37
Typo fix in email-renew-interval setting docs, per forum report. ... (check-in: 7ae1f319 user: stephan tags: trunk)
2022-05-13
23:35
If TICKETCHNG table has TKT_USER column then make the values in that column match to the corresponding U-cards. Add TKT_USER to the default schema. See forum thread 5593538afb77 for rationale. ... (check-in: cf00d07c user: george tags: trunk)
13:21
addremove command: in dry-run mode, add a line at the end alerting that no changes were made, per forum post request d80b624d0. ... (check-in: ef140174 user: stephan tags: trunk)
2022-05-12
15:09
On the wiki page list, omit wiki pages that are associated with check-ins and branches by default, but provide a button to show associated wiki pages if desired (Item 17 on the To Do List). ... (check-in: 29a24941 user: danield tags: trunk)
2022-05-11
21:23
Ensure that $requested_page is always initialized. This is a follow-up to [c68fa2edd76d90] that fixes a bug in [b05a6c6bc826d3]. ... (check-in: a44e3c73 user: george tags: trunk)
20:51
Add an option to the 'timeline' command to display only items on a specific branch. ... (check-in: 32b11546 user: danield tags: timeline-cmd-by-branch)
15:42
Fix remote-url overwriting by proxy url bug and use the http_proxy environment variable only when explicitly requested by setting the proxy setting to "system". ... (check-in: a791d5e8 user: mgagnon tags: trunk)
15:34
Only use the "http_proxy" environment variable if it is set to "system", if unset or set to "off", always use direct http connection. ... (Closed-Leaf check-in: a242bb72 user: mgagnon tags: fix_remote_url_overwrite_with_proxy)
15:06
Merge in latest changes from trunk ... (check-in: 5605aef9 user: mgagnon tags: fix_remote_url_overwrite_with_proxy)
11:50
Show the OpenSSL version and the SERVER_SOFTWARE to administrators on the /stat page. ... (check-in: bb09ff84 user: drh tags: trunk)
11:08
Fix NULL pointer dereference introduced by check-in [b05a6c6bc826d3c2]. Fix for the problem reported by forum post/bfb99db2886ca3b5. ... (check-in: c68fa2ed user: drh tags: trunk)
2022-05-10
11:54
Update the built-in SQLite to the latest 3.39.0 alpha for testing. ... (check-in: 0833f722 user: drh tags: trunk)
2022-05-09
21:22
Supply TH1 interpreter with two auxiliary variables: $requested_page (holds the first segment of the requested PATH_INFO) and $canonical_page (holds the canonical name of a web-page being served). Also amend default HTML header: add two corresponding classes to the BODY element and move <meta charset="UTF-8"> to the top. ... (check-in: b05a6c6b user: george tags: trunk)
2022-05-08
20:40
Rename proposed column to tkt_user which seems more natural. Amend default schema to create this column (and also drop a nearby comment). Add a tiny optimization to getAllTicketFields(). ... (Closed-Leaf check-in: 6d95ae4f user: george tags: tkt-ucard)
2022-05-04
11:47
/timeline: correct rendering of event.comment entries for wiki attachments, per problem reported in forum post 749baecf6d08ecb1. ... (check-in: b3e534fa user: stephan tags: trunk)
2022-05-03
16:10
Update the built-in SQLite to the latest 3.39.0 alpha which includes the latest bug fixes, and especially the fix for the infinite loop when the Bloom filter pull-down optimization encounters a NULL key. ... (check-in: b2cb7bdb user: drh tags: trunk)
04:02
Simplification by omitting g.url.user and g.url.password backup copy since they are only swapped during short time and are restored right away. Also rename url.canonical backup copy to "proxyUrlCanonical" following name convention of already existing "proxyUrlPath" field. ... (check-in: 78a51953 user: mgagnon tags: fix_remote_url_overwrite_with_proxy)
2022-05-01
21:00
Add support for optional tkt_ucard column of the TICKETCHNG table. If this column is present then its value is populated from the U-card of the corresponding artifact. ... (check-in: d681e1dc user: george tags: tkt-ucard)
20:53
Minor code clean-up inside of ticket_insert() function. ... (check-in: 3e4ba24e user: george tags: tkt-ucard)
2022-04-28
14:25
attempt to fix issue where the remote-url saved is overwritten by the proxy url. (issue introduced by checkin [c129f29566439e5c]) ... (check-in: 83ffea65 user: mgagnon tags: fix_remote_url_overwrite_with_proxy)
2022-04-27
15:55
This is a graph layout improvement experiment. In this version of Fossil, when there are multiple merge lines that go off the bottom of the page, they all use the same rail, rather than using separate rails for each parent node. This code is initially parked on a branch for evaluation. ... (Leaf check-in: 65c21819 user: drh tags: off-page-merge-single-rail)
12:11
Update the built-in SQLite to the latest trunk version which includes all of the fixes that went into version 3.38.3. ... (check-in: f905bd0d user: drh tags: trunk)
2022-04-26
23:45
Provide a little more output in stash command so when someone successfully finishes the stash command they don't think content has been lost. ... (check-in: d08d7b87 user: andybradford tags: stash-success)
14:27
Fix a few **unused-but-set-variable** warnings. (reported by recent clang on MacOS at least). Also fix a **warn_unused_result** warning when calling nice() (gcc 7.5.0 on Ubuntu-18.04 and gcc 9.3.0 on Ubuntu-20.04) ... (check-in: 74250821 user: mgagnon tags: trunk)
04:17
(Manual) cherry-pick of [0f8bae079e] to carry forward the only change against zlib 1.2.11 to the 1.2.12 update. ... (check-in: cc3765eb user: florian tags: zlib-update)
04:12
Update the built-in zlib to version 1.2.12, released on March 27, 2022. In accordance with check-in [eea86cee3a], all files from the doc/ subdirectory are excluded, but new sample programs from the examples/ subdirectory are included. ... (check-in: c6567d4b user: florian tags: zlib-update)
2022-04-25
06:08
Add the new special name start:BRANCH to refer to the first check-in of the branch. ... (check-in: fab8d922 user: danield tags: trunk)
06:07
Merge in trunk. ... (Closed-Leaf check-in: cff92f2e user: danield tags: name-start)
05:21
Follow-up to [346e45702c]: Remove the (unused) --sync option for the open command, as considering it and overriding local/global/per-subsystem/pull-only/push-pull/dont-push settings in a fashion that is transparent for the user to anticipate what's really going on seems quite convoluted. Also mention that --force allows to continue if auto-sync fails. ... (Closed-Leaf check-in: b3ed9d37 user: florian tags: open-sync)
01:31
Update to the lastest version of Pikchr which fixes a bug in the computation of bounding boxes for circles when the size of the circle is set using the "diameter" attribute. ... (check-in: 287d13f3 user: drh tags: trunk)
00:19
Better fix for the repolist.c change. ... (check-in: 54efe3aa user: drh tags: trunk)
00:05
Fix a C++-ism in the new markdown code that breaks the build on older PIs. ... (check-in: b7471a4b user: drh tags: trunk)
2022-04-24
23:46
Fix the build on windows following the previous check-in. ... (check-in: 13695796 user: drh tags: trunk)
22:46
Merged in trunk, resolved conflicts introduced via the parallel development of the markdown-footnotes branch. ... (check-in: 64af75b0 user: stephan tags: markdown-tagrefs)
22:31
Applied trivial repolist sorting patch from forum post 6803efde75. ... (check-in: 61974c48 user: stephan tags: trunk)
2022-04-23
21:32
Extend Markdown with footnotes support. See known limitations and the corresponding forum thread. ... (check-in: 3990518b user: george tags: trunk)
17:23
Change signature of add_inline_footnote() in order to move away from returning of unreliable pointer. Amend a few comments. Fix a couple of minor issues that fuzzer complains about. ... (Closed-Leaf check-in: 0850862e user: george tags: markdown-footnotes)
16:09
Trivial doc updates to www/json-api/... ... (check-in: 73373b9d user: stephan tags: trunk)
15:56
Fix a possible heap-buffer-overflow in parse_htmlblock() introduced by [1e919d601f774fdb]. This is not related to footnotes but was revealed by fuzzing (case 80cbb6b185807e98a953426af7b1f802c9d13957). ... (check-in: bc4c5b63 user: george tags: markdown-footnotes)
15:39
Added JSON API doc link to the permuted index. ... (check-in: d355faf8 user: stephan tags: trunk)
2022-04-22
12:49
Remove redundant assert() that fails for the case when the content of a span-bounded inline footnote is rendered into a void. This is a corner case that was revealed via fuzzing. ... (check-in: cab8a586 user: george tags: markdown-footnotes)
2022-04-21
22:53
Bring in the latest SQLite 3.39.0 alpha, with over 4,500 lines of change, for the purpose of beta-testing SQLite. ... (check-in: b3c5a489 user: drh tags: trunk)
22:31
Add a test case for fragment-bounded footnote that contains markup within the corresponding text fragment. ... (check-in: d38ec43d user: george tags: markdown-footnotes)
22:12
Add a warning in build.wiki that passing fuzzer-specific flags may cause the --fuzztype flag to get stripped from the argument list. ... (check-in: df1d2569 user: stephan tags: trunk)
21:13
Fix another use-after-realloc bug in handling of inline footnotes which was discovered during fuzzing. Also fix a few other issues revealed via fuzzer. ... (check-in: c5456211 user: george tags: markdown-footnotes)
15:45
Changed fossil_nice_default() to use nice level 19 instead of 20, as 19 is the documented max. ... (check-in: 2c892029 user: stephan tags: trunk)
13:36
Revert Makefile.in to normal builds (leave a few comments about fuzzing). ... (check-in: 94077966 user: george tags: markdown-footnotes)
13:16
Fix a use-after-free bug in handling of nested inline footnotes. The bug was discovered by fuzzing with '-fsanitize=fuzzer,undefined,address -DFOSSIL_FUZZ' appended to TCCFLAGS in Makefile.in. It's noteworthy that the ',undefined,address' part was essential to find the bug (otherwise just 'double-free' was reported). Many thanks to Stephan for documenting the fuzzing procedures and support. ... (check-in: 31e5df5f user: george tags: markdown-footnotes)
12:06
In the check-in names documentation, mention that some prefixes can be chained. ... (check-in: ef9e42ac user: danield tags: trunk)
11:43
Minor tweaks to the fuzzer section of build.wiki. ... (check-in: dfb1234f user: stephan tags: trunk)
2022-04-20
15:21
Added another libfuzzer info link to build.wiki. ... (check-in: 1a397ee3 user: stephan tags: trunk)
15:04
Documentation for the new special name and changelog update. ... (check-in: b07729da user: danield tags: name-start)
15:03
Add the new special name start:BRANCH to refer to the first check-in of the branch ... (check-in: c92fb60b user: danield tags: name-start)
14:59
Rewrote the login-groups doc, making it both more clear and more detailed. This started out as clarifying a confusion brought up on the forum, but experimentation kept bringing up new and interesting restrictions and interactions that I felt were worth documenting. ... (check-in: 697cf6fb user: wyoung tags: trunk)
14:07
Added a missing blob initializer. ... (check-in: 72095938 user: stephan tags: markdown-footnotes)
13:55
Added a section to build.wiki about building for fuzz testing. ... (check-in: a42f5af8 user: stephan tags: trunk)
11:48
Merged in trunk for fuzz.c changes. ... (check-in: c9f40135 user: stephan tags: markdown-footnotes)
11:46
Correct fuzz.c to honor --fuzztype markdown and add --fuzztype wiki2 which works like its previous --fuzztype wiki behavior, sending all inputs through both the fossil-wiki and markdown translators. Added a fatal error for --fuzztype artifact, as that tester is not implemented. ... (check-in: 8d4c4792 user: stephan tags: trunk)
09:38
Changed zlib crc type from int to unsigned long, as that's the type returned by zlib's crc32() and doing so reportedly resolves the CRC error reported in forum post 7a9097e557. ... (check-in: 1bf6686e user: stephan tags: trunk)
2022-04-19
15:47
Fix the previous change to cover an extra case. ... (check-in: 19a01ac1 user: danield tags: trunk)
15:25
Remove unnecessary field from the auxiliary union 'bitfield64_t' and amend the corresponding comments. Also add comment about FOOTNOTES_WITHOUT_URI macro. ... (check-in: cf1e9691 user: george tags: markdown-footnotes)
14:48
Add '--versions' option to 'fossil diff' to display details about the compared versions. ... (check-in: 49ef1b57 user: danield tags: diff-show-versions)
12:46
Relocate a declaration to cope with C89 rules. ... (check-in: 87955d92 user: danield tags: trunk)
12:35
Code style tweaks, typos, and resolved a couple footnotes-related cosmetic TODOs. No functional changes. ... (check-in: 3a5b3d5e user: stephan tags: markdown-footnotes)
11:41
Merged in latest trunk to simplify code review and ease potential upcoming merge to trunk. ... (check-in: 8a4b099f user: stephan tags: markdown-footnotes)
2022-04-16
16:29
Minor spelling corrections. No change in functionality. ... (check-in: 53754fff user: andybradford tags: trunk)
2022-04-15
13:56
Merge the enhanced load control measure to trunk. ... (check-in: 9413395f user: drh tags: trunk)
2022-04-14
17:41
Added new loadavg-exempt WEBPAGE: flag for mkindex.c which exempts a given page from the load_control() check. Currently applied to /chat and its dependents: /builtin and /style.css. ... (Closed-Leaf check-in: 5c49ab3c user: stephan tags: load-control-rework)