Fossil

Timeline
Login

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

50 most recent check-ins

2021-06-24
16:40
Improvements to comments on the filename shell quoting logic and test logic. No changes to code. ... (Leaf check-in: 255a28b37a user: drh tags: trunk)
16:31
Improvements to command-line safety checks for Windows. Enhance the command-line argument quoting fuzzer to inject all kinds of multi-byte UTF-8 characters. ... (check-in: 6d2e48b4cd user: drh tags: trunk)
15:35
Improve filename shell escaping logic to deal better with UTF-8 characters. ... (check-in: 19f195a838 user: drh tags: trunk)
15:27
Minor typo fixes in new patch command help text. No code changes. ... (check-in: 1190034e37 user: jamsek tags: trunk)
2021-06-23
20:05
Add the -f flag to "fossil patch diff". ... (check-in: 5ee62c4033 user: drh tags: trunk)
19:55
The "fossil patch diff" command should now emit an error message if there is a repository mismatch or a base artifact is missing. ... (check-in: 962694ada0 user: drh tags: trunk)
19:14
The "-f" flag on "fossil patch create" causes an existing patch with the same name to be overwritten. ... (check-in: a332f1a64f user: drh tags: trunk)
19:06
Enhance "fossil patch" to record the project name as part of the patch. Show the project name in "fossil patch view" output, if it exists. Show lots of metadata in "fossil project view" with the -v flag. ... (check-in: 5a28d7c094 user: drh tags: trunk)
18:43
In the "fossil patch" command, miscellaneous code clean-up. Do not require an option check-out to run "fossil patch diff", though a -R REPO option is required if not in an open check-out. No error is given if the repository and the patch do not match - that needs to be fixed. ... (check-in: 2e8c5da0ab user: drh tags: trunk)
18:25
Add the "fossil patch diff" command. ... (check-in: 72d07a52c3 user: drh tags: trunk)
15:43
Add additional metadata to patch files. ... (check-in: b9d5fa4d7b user: drh tags: trunk)
2021-06-22
23:57
Further improvements to quoting defense. ... (check-in: 7d6635542b user: drh tags: trunk)
19:19
Further improvements to argument escaping on Unix. ... (check-in: 597f0bc224 user: drh tags: trunk)
18:57
Improved quoting for filenames on constructed command-lines. ... (check-in: b3fab9b5dd user: drh tags: trunk)
18:19
Reworked the MinGW outdated instructions in www/build.wiki. It was still warning about a MinGW bug from 2014, and it didn't cover the cross-compilation details at all. That in turn gives us a basis for explaining why cross-compilation may matter even to those who don't realize they're doing so, as in the Cygwin and WSL cases, which then explains why we recommend against using MinGW Make and the USE_WINDOWS=1 mode. ... (check-in: 2c66a5395a user: wyoung tags: trunk)
17:28
There is a fossil_spawn() implementation for windows here, using _wspawnvp(). But it does not work. Apparently _wspawnvp() does not preserve the argument boundaries. ... (Leaf check-in: be6aa9e637 user: drh tags: demo-windows-wspawn-error)
16:57
Removed a paragraph from www/caps/index.md referencing the now-removed "plink -ssh -T" alternative to "ssh -e none -T" on Windows. This paragraph bordered on "TMI" before, so now that it's going to be increasingly correct as Fossil 2.16+ filters out, it needs to go. ... (check-in: f48a9f71f3 user: wyoung tags: trunk)
16:36
Initialized a pointer to 0 to squish a bogus complaint from GCC 11 on MinGW 9. The code passes ASAN on macOS Clang without this, so I believe GCC is just doing over-eager static analysis across function calls, not realizing that the pointer *will* be initialized before it's used. ... (Leaf check-in: 54febc1f72 user: wyoung tags: fossil-spawn)
16:29
Removed a few bits of src/carray.c that are only needed to allow building the module as a loadable extension. This goes beyond code minimalism, because one of the lines referenced a header we don't provide within Fossil, sqlite3ext.h, which means the only reason this branch compiled before is that it was picking up thje system version, risking a version mismatch when building against the internal SQLite. Build bug caught by initial work on the MinGW port, which doesn't provide that header. ... (check-in: 202ea753e4 user: wyoung tags: fossil-spawn)
15:51
Minor doc correction. ... (check-in: f8f1d035ed user: stephan tags: trunk)
15:43
Add the fact that "ssh" is now used by Windows to the change log. ... (check-in: 775860ad2e user: drh tags: trunk)
15:37
The default "ssh" comand is now always "ssh". Omit the legacy "plink" alternative on Windows as Windows machines now generally all support ssh. ... (check-in: 38567237d7 user: drh tags: trunk)
15:18
Minor fixes to the cleanup of the "patchcmd.md" document. ... (check-in: 990019346e user: drh tags: trunk)
13:33
Add the "fossil patch" command. ... (check-in: e0d61109e1 user: drh tags: trunk)
13:30
Add documentation for "fossil patch" ... (Closed-Leaf check-in: 169346a1aa user: drh tags: patch-cmd)
13:00
Get the pipes working on windows. ... (check-in: a534422e89 user: drh tags: patch-cmd)
12:47
Help-screen updates for the patch command. ... (check-in: 5433a92982 user: drh tags: patch-cmd)
12:41
Both push and pull demonstrated, linux-to-linux. ... (check-in: e60389b0d6 user: drh tags: patch-cmd)
12:24
Code in place for "patch pull" and "patch push". ... (check-in: ccfdc89c96 user: drh tags: patch-cmd)
08:46
[ead1432af9 | An earlier refactoring on this branch] broke the new array-based setting method: got a little too clever with my use of DB handles. ... (check-in: 3bcf3abd56 user: wyoung tags: fossil-spawn)
08:45
Comment clarification ... (check-in: c625c259a1 user: wyoung tags: fossil-spawn)
08:34
Converted "fossil diff" and "fossil gdiff" to the new array-based setting mechanism. The legacy system(3) style shell command string methods are still available for use with --command and legacy single-string settings, but if you pass 2+ values to "fossil setting diff-command VALUES..." (ditto gdiff-command) it's now stored as an array, triggering this new mechanism. This permits old settings to continue working, letting you upgrade to the new mechanism at will. ... (check-in: 68055fd3ed user: wyoung tags: fossil-spawn)
07:56
Constness fix to the new fossil_spawn() function to avoid compiler complaints on current macOS. ... (check-in: eefb8e64ed user: wyoung tags: fossil-spawn)
07:52
Changed the new json_deserialize_array() interface to make it easier to call correctly. ... (check-in: 765acbc080 user: wyoung tags: fossil-spawn)
05:25
Added a JSON array deserializer function and a test-json-deserialize-array command to test it. ... (check-in: dac496b300 user: wyoung tags: fossil-spawn)
03:52
Renamed the test-* wrapper for the new JSON array serializer to better match its internal implementation function. NFC. ... (check-in: 06d27250d5 user: wyoung tags: fossil-spawn)
03:45
Extracted json_serialize_array() function common to both test-json-carray and settings commands, reducing redundant code. ... (check-in: ead1432af9 user: wyoung tags: fossil-spawn)
02:37
Taught "fossil settings" how to accept multiple ?VALUES? parameters, storing the result as a JSON-encoded array in the config table. Nothing uses this yet, but the resulting SQL DB manipulation appears to work correctly. ... (check-in: ca069402f8 user: wyoung tags: fossil-spawn)
01:38
Added the carray() virtual table extension from SQLite and added the test-json-carray command to test it. This is needed for the next step on this branch. ... (check-in: 4223fe8cb5 user: wyoung tags: fossil-spawn)
01:32
Allow patches to be sent and received via standard input and standard output. ... (check-in: 9180106327 user: drh tags: patch-cmd)
00:30
Fix a subtle glitch in the Changelog. No code changes. ... (check-in: 2b073cc3c1 user: george tags: trunk)
00:12
Bug fixes in "fossil patch apply". ... (check-in: f5629790cc user: drh tags: patch-cmd)
00:04
First attempt to get "fossil patch apply" working. There are probably still bugs. Certainly much more testing is needed. ... (check-in: 5865739195 user: drh tags: patch-cmd)
2021-06-21
23:03
Added more test cases to test-spawn-* and gave the test cases human-readable names rather than numbers. ... (check-in: 27cdcbbb49 user: wyoung tags: fossil-spawn)
22:43
Enhanced ability to deal with merges. ... (check-in: 03dca8fca9 user: drh tags: patch-cmd)
22:37
Created fossil_spawn() as a dumb-as-rocks wrapper for posix_spawnp(2) and created tests to prove that it doesn't double-interpret its args as fossil_system() does. This isn't portable yet; it's just a seed we can use to bring this branch to a PoC state. ... (check-in: fb7c579736 user: wyoung tags: fossil-spawn)
21:20
Enhance patchfiles to deal with renames. ... (check-in: 4d82a8d1d0 user: drh tags: patch-cmd)
19:34
Get the "fossil patch view" command working ... (check-in: b08e8651e4 user: drh tags: patch-cmd)
19:09
Code to generate a patchfile. ... (check-in: 7333115dc2 user: drh tags: patch-cmd)
17:15
Begin adding infrastructure for the new "fossil patch" command. ... (check-in: 343745fd36 user: drh tags: patch-cmd)