Fossil

Timeline
Login

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

123 check-ins using file src/finfo.c version 3f921c6dc4

2023-07-17
12:28
Make sure query parameter "t" is marked as isFetched even if it is renamed from "r". check-in: 2b72f337be user: drh tags: trunk
2023-07-16
10:35
Rename verify_all_options_cgi() to cgi_check_for_malice(). Add more comments explaining what the function is intended for. Add calls to cgi_check_for_malice() to a few new webpages. check-in: 5a8063a8cb user: drh tags: verify-options-cgi
2023-07-15
13:57
Add verify_all_options_cgi(), which works similarly to verify_all_options() but only fails if it finds CGI GET/POST arguments which (A) have not been fetched via P(), PD(), or similar, and (B) fail cgi_value_spider_check(). Currently only applied on the /ci page. check-in: a065940a74 user: stephan tags: verify-options-cgi
2023-07-13
12:13
Reconcile a test in the FTS search with its original intent in [196dfedf7fc]; reported in [forum:fa13ae06d|forum post fa13ae06d]. check-in: e88211628b user: danield tags: trunk
2023-07-10
12:59
The "fossil repack" command should run VACUUM if either new compression opportunities were found *or* if the freelist count is positive. check-in: 4d9ede80be user: drh tags: trunk
12:50
In the fts-config command and on the /srchsetup page, show how much space is used by the full-text index. check-in: 5c5e54928e user: drh tags: trunk
2023-07-09
03:13
Show default value of settings that have a default in 'fossil help SETTING' output. These values are otherwise only documented in the source code. ok stephan, danield check-in: 1e1a319e63 user: mark tags: trunk
2023-07-08
18:22
Remove some now-stale auto.def documentation. check-in: bb66461f8a user: stephan tags: trunk
18:13
Resolve inadvertent fork caused by two exact-same-second check-ins. check-in: 5cf0da6e0a user: stephan tags: trunk
18:11
Update the built-in SQLite to a new version that includes proper "LL" suffixes on all 64-bit integer literals. check-in: 06fb3f8104 user: drh tags: trunk
18:11
Replace --no-compile-commands configure flag with --compile-commands. i.e. make the feature explicitly opt-in, as the automatic guess is breaking builds on some platforms. check-in: 7e9a242b60 user: stephan tags: trunk
18:08
Replace --no-compile-commands configure flag with --compile-commands. i.e. make the feature explicitly opt-in, as the automatic guess is breaking builds on some platforms. (Edit: rolling back - contains inadvertent test edits.) Closed-Leaf check-in: fb116a206e user: stephan tags: mistake
14:36
Update the built-in SQLite to the latest 3.43.0 alpha for testing. check-in: 65c6bda8d6 user: drh tags: trunk
2023-07-07
18:23
The cpnode table used for cherrypick timelines should be a TEMP table. check-in: 2478837b56 user: drh tags: trunk
11:55
JSON API: mention 'priorName' of renamed files in status report As discussed with Stephan in /chat. File objects in the renamed case possess a 'priorName' property in addition to the 'name' reported in all cases. check-in: f8d6e8c12a user: mark tags: trunk
03:17
URL fixes in recent sync.wiki edit check-in: 6fd7e00d55 user: wyoung tags: trunk
2023-07-04
18:00
Updates to the sync protocol documentation. check-in: e57613dc49 user: drh tags: trunk
2023-07-01
16:51
Update (json status) docs for [771e592b4c59]. check-in: 2868a0ec4c user: stephan tags: trunk
16:06
give 'json status' the same rename treatment as recent status work As reported by larrybr on the forum: [forum:9e9778f2e6], 'fossil json status' reports renamed _and_ edited files as only renamed. This change reports such cases as both edited and renamed, and displays the filename prior to being renamed as well as the renamed path. We now also update the vfile table before generating the status report to ensure the current checkout state is reported. check-in: 771e592b4c user: mark tags: trunk
2023-06-30
07:28
Update documentation: check-in name 'start:' can be chained as well. check-in: 36adf66b78 user: danield tags: trunk
2023-06-28
12:40
report renamed state when file is both edited and renamed In `fossil {changes,status}` and the commit description shown in the editor with `fossil commit`, show the original and renamed path annotation if the file has been renamed and edited. Prior to this, the file was only reported as edited, which can be confusing. Reported by James Cook [forum:5a4c530e6b]. Discussed with stephan@ and danield@, plus some forum members. While here, make sure we honour the relative-paths setting/option when displaying the original pathname in the renamed case. check-in: ca9d0ddf06 user: mark tags: trunk
2023-06-23
22:15
Check-in [bdde964e06128a02] got the test for text/html exactly backwards. check-in: c6115dbf83 user: drh tags: trunk
17:40
Unconditionally disable compile_commands.json generation for out-of-tree builds, in an attempt to work around a problem reported in [forum:d19061d09a8179|forum post d19061d09a8179]. check-in: 35f3e5bfba user: stephan tags: trunk
16:34
Do not show the Close button on forum posts which are pending moderation. check-in: 355a81bea7 user: stephan tags: trunk
12:29
Use the new octet_length() SQL function in place of length() where it is appropriate to do so. check-in: 604e1a67d3 user: drh tags: trunk
11:43
Update the built-in SQLite to the first check-in that supports the octet_length() SQL function so that we can use that function in the Fossil implementation. check-in: 9f8e9cbd17 user: drh tags: trunk
2023-06-22
17:09
Do not allow caching of generated HTML content, as such content will usually contain a nonce which ought not be repeated. check-in: bdde964e06 user: drh tags: trunk
13:49
enable importing multiple git repos into one fsl repo This fixes an issue reported by James Cook in [forum:d162b6e2dc]. Previously, we assumed the fx_git table does not exist when creating a new import, thus the previously untested use case of importing multiple new (read: not incremental) git repos into the same fossil repo failed at this assumption. While here, document the persistent nature of attributions in the import cmd help text; previously, this was only in the online docs: [/doc/trunk/www/inout.wiki] check-in: 47fb3ddc5a user: mark tags: trunk
11:01
Allow more than ~128 MiB in a blob ;) check-in: 1c2c0a1f95 user: danield tags: trunk
10:47
Add checks to ensure that Blob allocation sizes are within a legal max range, failing if they're too big, to address 'uv add' misbehavior reported in [forum:d5cd3e3c19|forum post d5cd3e3c19]. check-in: 6efd41941c user: stephan tags: trunk
08:46
merge build system compilation database generation Tested on OpenBSD 7.3-current and macOS Ventura 13.4 by me, and also on some Linux machines by stephan@ This automatically generates a compile_commands.json file on machines that support the -MJ clang compiler option, which can be consumed by language server clients. check-in: 91f0f00f5d user: mark tags: trunk
2023-06-20
18:44
Avoid logging errors associated with the inability to access the database specified for outgoing email. check-in: 2787a454d0 user: drh tags: trunk
2023-06-19
17:37
Rework the elimination of the trailing comma in compile_commands.json to be more platform-portable. Closed-Leaf check-in: 49c53e0bb8 user: stephan tags: compile_commands.json
13:54
Fix a bug in repo_list_page() that manifests only on 32-bit builds on big-endian CPUs. check-in: 42076cabfa user: drh tags: trunk
13:10
Update the built-in SQLite to the latest 3.43.0 alpha code in order to fix compiler warnings on old PPC macs. check-in: aaf6abf6ca user: drh tags: trunk
2023-06-18
23:20
Update documentation to "fossil patch" and "fossil ui" to talk about the algorithm used for locating the fossil executable on the remote host. check-in: d22e2b3817 user: drh tags: trunk
19:58
Omit the PATH= argument to SSH for "fossil patch push/pull" and "fossil ui" when the --fossilcmd option is used. check-in: a35522f8a4 user: drh tags: trunk
15:37
Get the -MJ ... flags working for the in-binary objects and generate the top-level compile_commands.json. check-in: e330509cd4 user: stephan tags: compile_commands.json
13:58
More work on compile_commands.json support. This does not work because the approach of extending CFLAGS with the -MJ flag is incompatible with the build process's use of different compilers for the in-tree tools vs the files compiled as part of the fossil binary. On systems with both gcc and clang, the former group may get built with cc (==gcc) yet inherit -MJ via CFLAGS, breaking the build. This approach appears to be a dead end, but checking it in for later analysis. check-in: 0e6ad145d4 user: stephan tags: compile_commands.json
11:16
Initial *incomplete* attempt at integrating compile_commands.json support, for code editors which support it. This is a copy/paste port from the libfossil tree, but lacks one final piece which is difficult to emulate in POSIX make (as opposed to GNU make). Build file changes only, no code changes. check-in: 492787465d user: stephan tags: compile_commands.json
03:12
fix import handling of git repositories with renamed files Reported by James Cook in [forum:2b857ded1b]: renamed files were shown as a deletion and an addition. This was because the optional 3rd and 4th field in the manifest's F card to indicate renames were omitted, despite having parsed these data from the git fast-export marks. check-in: 7ab1e11850 user: mark tags: trunk
00:46
Always print the SSH command used to implement "fossil patch push/pull". No longer require the -v option to see the ssh command. This is in the interest of full disclosure - letting the operator know what Fossi is doing behind the scenes. check-in: 97ec767f4b user: drh tags: trunk
00:22
For the "fossil ui remote:/" and the "fossil patch push/pull" commands, when going over SSH, add the argument "PATH=$HOME/bin:$PATH" to the command line so that the "fossil" executable can be found in the users home directory. This is important on system like Mac where the default PATH for SSH consists of only unwritable directories. check-in: 8cb1164079 user: drh tags: trunk
2023-06-17
20:51
Mention the "all" option in the documentation for "autosync" check-in: 4e7b08c380 user: drh tags: trunk
14:10
add "renamed" annotation to renamed and changed files in /info As per James Cook's report in [forum:2b857ded1b], the /info page provided no hint that a renamed and modified file had been renamed, only modified. This slightly changes the annotation to make it clear the file was also renamed. Discussed with larrybr and stephan in /chat. Slight tweak on stephan's suggested phrasing. ok stephan@ check-in: 495a4d71b8 user: mark tags: trunk
2023-06-16
08:15
Update auto.def to MINIMUM_SQLITE_VERSION 3.43.00 to match [2abb23dba8bdc5db]. check-in: cbd27f23a6 user: stephan tags: trunk
2023-06-15
19:12
Fix a gap positions vs. adjacent chunks positions mix-up in the diff context loader. The test case to reveal this bug is the 2nd gap of commit diff [d6ddd5bcfa]. Congrats again to Stephan for this smart code! check-in: 8347c4add1 user: florian tags: trunk
12:21
To avoid unnecessary clutter in the error log, do not write timeout message to the error log for timeouts that occur during web-page reply and that use less than one second of CPU time. check-in: af2f7d1749 user: drh tags: trunk
11:58
Use the new timediff() function of SQLite 3.43.0 to refactor the "Duration of Project" line on the /stat page to be "Project Age". check-in: 2abb23dba8 user: drh tags: trunk
11:26
Document the --errorlog command-line option to "fossil ui". check-in: 1e64c2c10b user: drh tags: trunk
2023-06-14
14:37
Add the ability for 'branch list' to filter the branches that have/have not been merged into the current branch, per [forum:c4a9d9e097|forum request]. Closed-Leaf check-in: d6ddd5bcfa user: danield tags: branch-list-merged-unmerged
14:29
Remove a longtime obsolete comment in the branch listing routine. check-in: ebe81aa11c user: danield tags: trunk
2023-06-12
18:24
Update the built-in SQLite to the latest trunk version that fixes a harmless compiler warning. check-in: f8a29b2e20 user: drh tags: trunk
09:20
Correct previous check-in to fail fatally if the CSRF check fails. check-in: 37dfb4c8d6 user: stephan tags: trunk
08:53
Add a CSRF check for the forum post Close/Re-open button. check-in: 619d51440f user: stephan tags: trunk
2023-06-10
19:12
Adjust forum-closure docs to match the previous check-in. check-in: 420d6e77e4 user: stephan tags: trunk
19:03
Remove the superfluous Close Post option from the forum edit page. check-in: b2f007178a user: stephan tags: trunk
12:29
Add some docs about closing forum posts to www/forum.wiki. When replying to a post, to not show the Close option at the bottom of the page (as it would apply to the response, which cannot be closed because it has no hash). check-in: c2b38f0aad user: stephan tags: trunk
09:16
Add ability to "close" forum posts. check-in: 673dc38ffb user: stephan tags: trunk
09:03
Resolve null-pointer deref when reading an empty .fossil-settings/empty-dirs, reported in [forum:9ff6a143fc | forum post 9ff6a143fc]. check-in: b1dc25e1fe user: stephan tags: trunk
2023-06-07
12:07
Initial version of the /setup_forum page. Closed-Leaf check-in: b370c189bc user: stephan tags: forumpost-locking
2023-06-06
19:38
Add the forum-close-policy boolean config setting. If true, forum moderators may close/re-open forum posts, as well as reply to closed posts. check-in: 162fc1e6aa user: stephan tags: forumpost-locking
10:52
merge command help text cleanups, based on forum feedback. check-in: edd08ef4f8 user: stephan tags: trunk
00:46
Improved documentation of "fossil all whatis" check-in: 401711d484 user: drh tags: trunk
2023-06-05
19:01
Add the "fossil all whatis" command. check-in: 5484968158 user: drh tags: trunk
2023-06-03
10:27
Fixed a typo in an error message check-in: f25da6ec97 user: wyoung tags: trunk
08:59
Merge trunk into markdown-tagrefs branch and resolve conflict. check-in: fdd3fe21c2 user: stephan tags: markdown-tagrefs
08:49
Merge trunk into forumpost-locking branch. check-in: 8e7de26aa2 user: stephan tags: forumpost-locking
2023-06-01
18:02
Admin users have a link in /forumthread to show the hash of all artifacts associated with that thread. check-in: 83928d8a02 user: drh tags: trunk
17:18
Increase the version number to 2.23 in order to start the next development cycle. check-in: 9f857c2d03 user: drh tags: trunk
2023-05-31
15:26
Version 2.22 check-in: 66ee0beb9b user: drh tags: trunk, release, version-2.22
2023-05-29
12:44
Enhance the /reports page to include sub-categories "Merge Check-ins" and "Non-merge Check-ins". check-in: d4058f78c9 user: drh tags: trunk
12:44
Improved documentation for the /reports page. Add the latest /reports enhancements to the change log. Closed-Leaf check-in: f71657d5c7 user: drh tags: non-merge-activity-report
12:01
Fix an issue with the report labels for merge and non-merge check-ins. check-in: 385d6d146d user: drh tags: non-merge-activity-report
11:40
Enhance the /reports page to show two new sub-types of activities: "Merge Check-ins" and "Non-merge Check-ins". check-in: 37a80fbfc7 user: drh tags: non-merge-activity-report
2023-05-27
15:54
Do not allow non-alpha numeric ascii characters into the search pattern. Convert all such characters into a single space. check-in: 196dfedf7f user: drh tags: trunk
15:48
Do not allow the "." character inside of FTS5 search strings. Closed-Leaf check-in: 8a7609b11e user: drh tags: typo
15:02
Fix the captcha-audio page so that it works even without a seed value. check-in: a1178d5734 user: drh tags: trunk
2023-05-26
10:27
Improved documentation of the /reports webpage. Add recent enhancements of /reports to the change log. check-in: 5dc3d2f156 user: drh tags: trunk
00:43
Also show the projection number of events for the by-week activity report. check-in: 09ca77f76a user: drh tags: trunk
00:18
In the by-month and by-year reports, for the row that shows the current year or month, included a dashed box that shows the event count projected to the end of the current month or year. check-in: 42ce541d12 user: drh tags: trunk
2023-05-23
20:30
Enhancements to SEE integration. check-in: f41cf03505 user: mistachkin tags: trunk
13:47
Remove unused and unreachable code from the activity report generators. Also add extra newlines in the generated HTML so that it is easier to read. check-in: 0b33be99a2 user: drh tags: trunk
02:44
Slight alteration of branch renaming help text to clarify functionality based on discussion in [forum:45cdd8874ce1654a | forum post 45cdd8874ce1654a]. check-in: e053682a4e user: andybradford tags: trunk
2023-05-22
23:54
Improved the documentation for quote parsing in globs. check-in: 609bf98b06 user: wyoung tags: trunk
23:46
Fix to the prior commit: editing lost a closing "*/" in a comment, yet it compiled with only a warning, and I missed the warning. check-in: c5d287b66b user: wyoung tags: trunk
22:54
Updated all of "fossil help *-glob" output to refer to the syntax docs instead of repeating the parsing rules in each setting, incorrectly. (If URLs in help output are verboten, then we need to repeat the rules *correctly* in each setting's help.) check-in: 7dc0433b54 user: wyoung tags: trunk
22:30
Added a few named anchors to the globs doc, added a mention of the new empty-dirs handling, and improved the internal MD markup style. check-in: b293b265a6 user: wyoung tags: trunk
22:23
Brought the globs doc back into line with the underlying implementation, and to mention the new treatement of the empty-dirs setting's value. check-in: 2c0b70eb5a user: wyoung tags: trunk
22:11
Switched the empty-dirs setting handler from a one-off parser to glob_create() both so we get consistent behavior across the settings and because glob_create() allows quoted whitespace, needed when asking it to create directories with spaces in them. Addresses [forum:/forumpost/bdbb295ee308c9d6 | this forum report]. check-in: f12609fcaa user: wyoung tags: trunk
21:32
Updated the function comment on glob_create() to match what it actually does. check-in: c43205d738 user: wyoung tags: trunk
21:27
Replaced a complicated bit of logic with something slighlty less complicated, having the same effect. The glob parser used a mix of second-clause for-loop testing and internal break and continue checks without any other internal processing inside the loop. Combining all of this into a single expression requires the line to wrap (bad for clarity) but it does make clear all of the conditions required for this loop to continue iterating. I think it's a net improvement in clarity, though the margin is admittedly small. Testing shows no regression in functionality, limiting this non-functional change to a style improvement. check-in: b878923997 user: wyoung tags: trunk
21:07
Reworked the prior commit's changelog entry to be more accurate and to match preexisting style. check-in: 8ce70b4c0c user: wyoung tags: trunk
21:00
Fixed a symmetry problem in the vfile.chnged implementation: it had an explicit check for when a file used to be a regular file and was replaced by a symlink pointing to the same content, but it didn't then check for the inverse case. Since the size and hash checks become nonsense when both files aren't of the same type (whether symlinks or regular files) we have to check for this case, too, else the only way to get the "UNLINK" output from "fossil status" required trickery. See [forum:/forumpost/204ff988263d7795 | this forum post] for a test case and the trick previously needed to get Fossil to report "UNLINK" as a file's change status. check-in: 4cca90338a user: wyoung tags: trunk
2023-05-21
16:56
More changes. Closed-Leaf check-in: a62181b48f user: mistachkin tags: enhSee
03:37
Merge updates from trunk. Leaf check-in: e3df21cdf1 user: mistachkin tags: th1Hash
2023-05-20
01:53
Fixes to tracing. check-in: 0de3d90787 user: mistachkin tags: enhSee
00:25
Some changes for Windows. check-in: 119f971335 user: mistachkin tags: enhSee
2023-05-18
23:24
Comment fixes. check-in: 1ff19a468d user: mistachkin tags: enhSee
21:15
Enhancements to SEE integration. check-in: d72ab72962 user: mistachkin tags: enhSee
17:02
Update Pikchr to omit the artifical enlargement of "mono" text. check-in: b1c0409a56 user: drh tags: trunk
16:49
Update the built-in Pikchr to the version that supports "mono". There is an issue with the WASM module yet to be resolved. check-in: 43eefe66ed user: drh tags: trunk
03:31
Fix another compiler warning. check-in: 9182b85b49 user: mistachkin tags: trunk
03:04
Fix harmless compiler warnings. check-in: 586967cceb user: mistachkin tags: trunk
01:38
Update custom MinGW makefile. check-in: fcc5a552fb user: mistachkin tags: trunk
2023-05-17
02:01
Update another potentially misleading reference to wiki format in check-in comments. check-in: 0f6526cbfe user: stephan tags: trunk
01:55
Add a note that check-in comments currently assume fossil-wiki text format. Prompted by [forum:485ae77a61d04a26 | forum post 485ae77a61d04a26]. check-in: d6de7f2e42 user: stephan tags: trunk
2023-05-16
12:49
Update the built-in SQLite to version 3.42.0. check-in: b2d5aa8a76 user: drh tags: trunk
2023-05-15
16:43
Potential fix for [746a5106f92287036c12c945d9d7358a1263301e]. check-in: d6a4ab2276 user: stephan tags: trunk
2023-05-13
20:47
Translate the Accept-Language HTTP header into the HTTP_ACCEPT_LANGUAGE CGI var. This part is missing from [7e77e29d1646]. check-in: 926a27c63b user: stephan tags: trunk
18:31
Moved the "sync is all-or-nothing" section of the gitusers doc above the autosync section. The order of those two isn't important, and it's better that autosync flow immediately into the new "reset" section without this as a digression. check-in: b47b96a0eb user: wyoung tags: trunk
18:30
Clarity pass on the new material in the Autosync section of the gitusers doc. check-in: cc55044b39 user: wyoung tags: trunk
14:21
Add HTTP_ACCEPT_LANGUAGE to the environment vars passed on to /ext CGIs, per request in [forum:6674089de55e25cc|forum post 6674089de55e25cc]. check-in: 7e77e29d16 user: stephan tags: trunk
14:07
Correct mishandling of -tk, -by, etc. flags to the (patch diff) subcommand. check-in: c55f0d91bb user: stephan tags: trunk
2023-05-12
16:50
Account for emscripten change which broke pikchr-worker.js: stackAlloc() now requires explicit export. check-in: fc8d306a5f user: stephan tags: trunk
14:05
Added a link from the new "git reset" example in the intro of the gitusers doc to the new section where we address the matter. check-in: 84955715f5 user: wyoung tags: trunk
13:32
Clarity pass on the autosync section of the gitusers doc check-in: 80963ffeda user: wyoung tags: trunk
13:21
Added a new section "Resetting the Repository" to the gitusers doc, following and relying on the two recently-updated sections. check-in: bd7b10998d user: wyoung tags: trunk
12:26
Update the built-in SQLite to the latest 3.42.0 beta for testing. check-in: b2a29bf41f user: drh tags: trunk
12:19
Added a motivating example to the "Autosync" section of the gitusers doc, showing why it's better to let the software system resolve conflicts asynchronously than to force Alice and Bob to fight it out, moving the synchronization point out into the human-time workflow. check-in: 8975e8daf1 user: wyoung tags: trunk
11:38
Clarified the "Sync Is All-or-Nothing" section of the gitusers doc, adding a reference to the cap-theorem doc and dropping the "eventually-consistent" buzzword to explain *why* it's all-or-nothing. check-in: 35b2307f9c user: wyoung tags: trunk
2023-05-11
12:28
Made the msmtp mention in the alerts doc more concrete now that we have [forum:/forumpost/75f63cc0a1 | a verified tester]. check-in: ea74c83adc user: wyoung tags: trunk
2023-05-10
18:40
Removed all of the XML-style " />" tag closing markers on empty tags such as "hr", "br", and "input" to placate modern HTML5 validators. That's the doctype we declare, not XHTML, so we should conform. (Besides which, the XHTML dream is dead.) check-in: f5482a0a79 user: wyoung tags: trunk