Login
Timeline
Login

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

50 descendants and 50 ancestors of ff9c41a8dda7d784

2024-09-13
14:44
Latest upstream fnc for CentOS build fixes. check-in: 8abe7bd29b user: stephan tags: trunk
14:04
Add f-apps/f-test-canonical-name.c. check-in: 8a50b9b6e7 user: stephan tags: trunk
13:56
Add f-ls --checkouts flag to show open checkouts to the given repository, with the caveat that checkouts opened via different names for the repo (e.g. via dir symlinks) are not resolved. check-in: dec80338e1 user: stephan tags: trunk
12:57
Document an obscure, difficult-to-trigger misinteraction between revert/merge ops (fixing it is todo, once a good solution is found). Fix fsl_ckout_has_changes() to return true also when vfile.deleted is true and restrict it to matching only when vid=current-ckout-version to cover a wildly hypothetical case of multiple distinct vfile.vid values being in the table. check-in: 00377f482a user: stephan tags: trunk
10:30
Update fnc to the upstream trunk. i apparently made a mess of it yesterday, pulling an older version when sync failed (due to an out of date login) without my noticing it. check-in: e3cd510fda user: stephan tags: trunk
10:27
Correct setting of CFLAGS and CPPFLAGS for client/fnc and add -fPIE to fnc's flags in an attempt to appease Fedora 39. check-in: aff8157664 user: stephan tags: trunk
2024-09-12
14:11
Remove an extraneous internal-use-only header from f-import-blob.c. check-in: a371058aeb user: stephan tags: trunk
12:13
Update to latest upstream fnc. check-in: 25a3a7ceea user: stephan tags: trunk
2024-09-03
16:44
As a late-stage step in the checkin process, ensure that vfile.isexe and vfile.islink match what the new manifest says. This has been a long-missing step which fossil(1) does but libfossil noted in a TODO comment but never implemented. This completes, hopefully, the fix started in [4243008e112140], but it's difficult to _really_ test without doing a genuine checkin (not a dry-run). check-in: 404f376c0e user: stephan tags: trunk
15:25
latest upstream autosetup. check-in: 21a48eac26 user: stephan tags: trunk
15:13
Minor doc updates in autosetup utility code. check-in: 5829e02ee3 user: stephan tags: trunk
13:42
Remove config-win32.h, as it's apparently long since been unused (or at least unmaintained). check-in: 439cee847a user: stephan tags: trunk
13:26
Swap the configure flag --no-c++ with --c++ (a.k.a. --enable-c++), making the C++ bits explicitly opt-in, because the C++ pieces fail to compile or link on many clang hosts for reasons known only to clang (as opposed to code bugs). check-in: 58c9b25ca1 user: stephan tags: trunk
13:11
Minor doc correction. check-in: 207ac5bab3 user: stephan tags: trunk
2024-09-02
03:05
Do a better job of determining the default fossil user name, first extracting it from the checkout (if available), then the repo (if available), then the environment. Automatically do this when opening a repo and/or checkout and clear the name when the SCM dbs are closed. check-in: 20e4e80b87 user: stephan tags: trunk
01:50
Latest upstream fnc. check-in: dd368cb55d user: stephan tags: trunk
00:37
A workaround for OpenBSD-specific [https://github.com/msteveb/autosetup/issues/67|autosetup issue #67]. check-in: 2031595764 user: stephan tags: trunk
2024-08-24
09:47
Build flag fix for a long-standing problem (cannot find sqlite3.h) which was only incidentally triggered on a newly-installed OpenBSD system. check-in: a5f03751bc user: stephan tags: trunk
09:46
Add a hack to mkdeps.c to work around OpenBSD's link-time "strcpy() is evil, use our non-standard variant instead" warning. check-in: 6b2a066f10 user: stephan tags: trunk
2024-08-16
20:00
Update sqlite3.c/h to current upstream trunk versions. check-in: 6ece2a8500 user: stephan tags: trunk
19:58
Apply [fossil:60debc7ed76b9d8fc0aa|upstream fossil(1) fix 60debc7ed76b9d8fc0aa]. check-in: 3e6ae0d74f user: stephan tags: trunk
2024-08-01
11:53
Tweaks to the previous checkin's comments. check-in: 8cb2f47a28 user: stephan tags: trunk
11:50
Work around a GNU Make behavior change which breaks how the CPPFLAGS are handled when building the amalgamated libfossil.o. check-in: 33d2bad579 user: stephan tags: trunk
11:26
When reverting files, report those which were modified only via a merge as reverted (it was formerly not reporting those via the callback). Adjacent cleanups and a potential resource leak fix in two as-yet-have-never-happened error cases. See code comments, in particular in fsl_ckout_revert(), for why this fix is not as satisfactory as it should be. check-in: 888c0dfe9a user: stephan tags: trunk
10:38
Typo fix and add a reminder-to-self about why we don't combine all of the project's headers into a single mega-header. check-in: 0d024cd949 user: stephan tags: trunk
2024-07-29
10:38
Run Doxyfile through (doxygen -u). check-in: 5f5fbb46fb user: stephan tags: trunk
2024-07-23
10:26
Update autosetup to upstream 0.7.1+. This is what uncovered the bug fixed in [4243008e112140618628ad]. check-in: 654c61c6c0 user: stephan tags: trunk
10:26
Fix a bug in fsl_checkin_calc_F_card2() which caused a change of (only) the exec bit to go un-marked in the manifest (the file retained its old exec-bit status, but otherwise no harm done). check-in: 4243008e11 user: stephan tags: trunk
2024-07-03
09:13
Remove some superfluous warnings from f-update and f-merge. check-in: 8861e4557f user: stephan tags: trunk
2024-06-29
22:45
Add --dry-run/-n flag to f-import-blob.c. check-in: a5cfa53b2e user: stephan tags: trunk
22:30
Fix the aforementioned double-free bug. Facepalm. check-in: b25fae6fbe user: stephan tags: trunk
22:15
Minor cleanups in the previous checkin. Import forum repo into this repo, but the aforementioned double-free bug is still lingering. check-in: e62167460d user: stephan tags: trunk
22:02
Add a test app to import raw blobs, initially for use with importing the libfossil forum repo into the main libfossil forum. In the process, discovered, but have not yet resolved, a double-free bug via fcli_shutdown()'s cleanup of the argv memory. check-in: 44f248ffb4 user: stephan tags: trunk
2024-06-20
11:12
Minor test code cleanup and update license header copyright years. check-in: 6b98eb601b user: stephan tags: trunk
11:01
Correct lookup of the checkout db file in fsl_ckout_db_search() when checkParentDirs is false. It was aborting the loop prematurely, before checking all db file name options. check-in: f0a970b0dc user: stephan tags: trunk
10:45
Add f-apps/f-test-ckout-db-search.c to test for a bug in fsl_ckout_db_search() discovered by Przemysław Kamiński. Fixing the bug is the next step. check-in: f73f305f22 user: stephan tags: trunk
2024-06-16
17:06
EOL whitespace cleanups. check-in: 30b6b94913 user: stephan tags: trunk
2024-05-29
15:32
Latest upstream mkcdep.c from the sewal tree. check-in: b97e4ac1e5 user: stephan tags: trunk
2024-04-27
11:51
Apply the case-handling change from [0e50f798e6a5] to f-rename.c, analog to [fossil:859b00b7|upstream 859b00b7]. Edit: this change and the related one it links to should ideally be done transparently in the library, but retrofitting it into those two places is beyond my current level of ambition. Patches to that effect would be welcomed! check-in: 070f359a1e user: stephan tags: trunk
2024-04-16
20:50
Add a very basic test script for SEE-based builds and remove the -W flags added for SEE sources, as those warnings were fixed upstream. check-in: 740e55b047 user: stephan tags: trunk
08:50
Add a brief document explaining SEE integration. check-in: 29378505dc user: stephan tags: trunk
08:22
Initial support for repositories encrypted using the SQLite Encryption Extension (SEE). The interface is still subject to change but currently seems reasonably sane. Milestone: we can create, open, work with, and check in to repositories encrypted with SEE, but it's tedious to have to pass the encryption key for every command invocation using the f-... apps. check-in: 661421ef0c user: stephan tags: trunk
08:21
Gotta tap save before checking in. Closed-Leaf check-in: 2efbe19541 user: stephan tags: sqlite-see
08:07
Add support for binary-format SEE keys. check-in: b35914490e user: stephan tags: sqlite-see
07:40
Reinstate --see-hexmode in fcli. check-in: 0803fb9c84 user: stephan tags: sqlite-see
07:40
Correct f-ciwoco to not force dry-run mode. check-in: 0ad6c888be user: stephan tags: sqlite-see
07:02
Add support for --see-textkey to fcli. check-in: fe27725d07 user: stephan tags: sqlite-see
06:26
More work on SEE integration. check-in: 7240c7d988 user: stephan tags: sqlite-see
06:06
More work on adding library-level SEE support. It seems to basically work but it's not complete. check-in: 3d4d0d3a05 user: stephan tags: sqlite-see
04:58
Build tweaks to facilitate SEE integration. check-in: 914a6ea914 user: stephan tags: trunk
03:37
Move sqlite3.c/h from src to extsrc in prep for further configuration options for specifying which sqlite3.c (primarily for SEE support). check-in: ff9c41a8dd user: stephan tags: trunk
2024-04-10
22:22
More docs for [0e50f798e6a5]. check-in: 0e6501b5df user: stephan tags: trunk
22:06
Minor doc touchup for the previous checkin. check-in: 753e4c72e6 user: stephan tags: trunk
22:03
Port in [fossil:f1f7e27e0cdb8943|upstream f1f7e27e0cdb8943], a routine which ensures that a given filename matches the case it is stored in in the filesystem. Use that in f-add.c, where it's applied even for case-sensitive filesystems (primarily as a test for that routine). check-in: 0e50f798e6 user: stephan tags: trunk
2024-03-19
14:18
Doc typo fixes. check-in: a9c39d66de user: stephan tags: trunk
2024-03-15
13:15
Pull in [fossil:34276d22e558fbde2705] micro-patch to resolve a potential int overflow in fsl_id_bag_hash(). check-in: 40e3dd6eed user: stephan tags: trunk
2024-02-27
13:02
Change -g CFLAG to -gdwarf-4 for clang compatibility with valgrind versions still commonly deployed. See link in code comment for details. Discovered that gcc v10 and v12 cause the f-sanity test app to bus fault on my pi4 and pi5, for unknown reasons, but clang works fine on both. check-in: f0979f89b3 user: stephan tags: trunk
2024-02-11
12:20
This was supposed to have been in trunk. check-in: 8caf0ac36e user: stephan tags: trunk
2024-02-07
10:21
In autosetup's wh-make-from-dot, make the resulting file read-only for all users, not just the current one. check-in: 6482447a69 user: stephan tags: sqlite-see
2024-01-07
17:59
Upstream patch [fossil:b295f86db5417cea1e7a]: in fsl_vfile_changes_scan(), if mtime of a file is unchanged but is equal to the current system time, check the hash to work around a corner case where a script modifies a file immediately after an open/update. Also fix two code-adjacent misuses of fsl__cx_scratchpad() in that same function, where fsl__cx_scratchpad_yield() was not being called. check-in: 8616c93b6f user: stephan tags: trunk
2023-12-08
09:35
Upstream tweak [fossil:a45c7f0a560a90541967f790c4b5] to adjust diff output slightly. check-in: 9313a01a00 user: stephan tags: trunk
2023-11-23
13:07
fix 'f-delta -a' cli option clobbering so that the delta in arg1 actually gets applied to the file in arg2 and the result written to stdout rather than outputting the delta between arg1 and arg2 as we do when no option is passed to 'f-delta' check-in: 72f05d4c41 user: mark tags: trunk
12:49
fix rejection of zero-length deltas to make delta creation and application consistent with fossil(1) check-in: cd5b50685b user: mark tags: trunk
2023-11-22
11:54
s/__unused/fsl__unused as discussed in /chat with stephan@ to help avoid name collisions with package maintainers; no functional change intended check-in: 230cf225fc user: mark tags: trunk
01:53
Add EXTRA_CFLAGS option to the build to append arbitrary CFLAGS (to assist in tracking down compiler-specific warnings). Squelch a bogus gcc-specific warning about a potentially uninitialized var in fsl_ckout_merge(). check-in: 2e45143605 user: stephan tags: trunk
2023-11-21
18:07
Reformulate how TAGS is generated to avoid an error about reading from '-' on some versions of etags. check-in: 1a5f7a870b user: stephan tags: trunk
18:01
Remove some (admittedly justified) rough language from config.h. check-in: fab3d8f252 user: stephan tags: trunk
17:59
Replace several __attribute__((fallthrough)) markers with a macro which conditionally resolves to that. check-in: b018045507 user: stephan tags: trunk
15:25
Latest upstream fnc. check-in: 1c09e802b2 user: stephan tags: trunk
2023-11-19
16:21
Latest upstream fnc. check-in: e9ce1d49cf user: stephan tags: trunk
2023-09-08
12:29
Add --no-c++ configure flag to work around a problem where my local c++ is not finding standard headers. check-in: 58651fd515 user: stephan tags: trunk
2023-07-28
16:22
Apply upstream diff int overflow patch [fossil:5882e9e87861c7c0]. check-in: ef095328f7 user: stephan tags: trunk
2023-07-12
10:36
Minor internal doc update. check-in: dac7770456 user: stephan tags: trunk
2023-06-22
08:42
Rephrase the cryptic sed expression for generating compile_commands.json into something more platform-portable. check-in: c6b9b86399 user: stephan tags: trunk
2023-06-20
13:48
Remove some stray end-of-line whitespace. check-in: ab6ce6037c user: stephan tags: trunk
13:44
Remove some stray whitespace. check-in: 9c2357b976 user: stephan tags: trunk
2023-06-17
08:27
Minor text updates in f-update output. check-in: f9ba9cc02f user: stephan tags: trunk
2023-05-17
02:20
Update to sqlite3 trunk (pre-3.43, a few checkins after 3.42.0). check-in: 21063409f6 user: stephan tags: trunk
2023-04-26
16:26
Latest upstream fnc. check-in: 251db8cb45 user: stephan tags: trunk
16:24
Merge no-common-ancestor branch into trunk. check-in: 0657571903 user: stephan tags: trunk
16:23
Remove the no-common-ancestor check from the merge algorith, for conformance with fossil(1)'s new behavior. Closed-Leaf check-in: 3ca3706652 user: stephan tags: no-common-ancestor
2023-04-23
12:09
Patch some interrupted-mid-sentence comments. check-in: 1bb1139c7b user: stephan tags: no-common-ancestor
12:07
Apply upstream [fossil:7c75e47b3c130ff1]: when merging files with no common ancestor, treat it as if an imaginary common ancestor were an empty file. We currently retain the no-common-ancestor diagnosis but may yet remove it or augment it to permit the user to specify which side of the merge to retain. check-in: 30bd3e8b14 user: stephan tags: no-common-ancestor
2023-04-21
15:57
Remove sqlite3ext.h and a C-side reference to it. check-in: 0fe561416a user: stephan tags: trunk
2023-04-19
12:46
Update to latest upstream sqlite3ext.h (used by ext_regexp.c). check-in: 231fed9533 user: stephan tags: trunk
04:03
Add more missing f(void). check-in: 43181beb49 user: mgagnon tags: trunk
03:35
Cherrypick changes from the no-common-ancestor branch which are not strictly relevant to that change. check-in: 1ee281f8ed user: stephan tags: trunk
02:33
Add missing f(void) for some static func decls to appease newer compilers. check-in: e2d7986f9e user: stephan tags: no-common-ancestor
02:33
Latest upstream sqlite3. check-in: a26e462b9c user: stephan tags: no-common-ancestor
02:26
Apply a set of missing f(void) and assigned-but-unused vars from Mark J. check-in: b96f5840ea user: stephan tags: no-common-ancestor
2023-03-07
14:32
Change the anonymous user's default perms from 'hmncz' to 'hz' to match new fossil(1) defaults. check-in: 9a8269d737 user: stephan tags: trunk
2023-02-02
10:08
Integrate upstream patch [https://fossil-scm.org/home/info/52a66829d655ff35dc52]: when cherrypicking, do not include marked-as-private merge parents in the Q-card list. check-in: fc0ae4b07e user: stephan tags: trunk
10:04
Correct FTS index check handling and ensure the cached value of the check is invalidated on open/close of the repo. check-in: 8f60ec4138 user: stephan tags: trunk
2023-01-24
03:21
Add an assert() to the previous checkin. check-in: 65cdfccb1f user: stephan tags: trunk
03:09
Update fsl__search_doc_touch() to be able to handle both FTS4 and FTS5 search indexes, now that the port to FTS5 has started at [fossil:/timeline?r=search-fts5]. This failure was found by trying to make the first checkin on that branch. check-in: 5764b7efa6 user: stephan tags: trunk
2022-11-24
13:51
add FCLI_RC_NO_CMD result code for fcli_dispatch_commands() To help distinguish between invalid commands and propagated FSL_RC_NOT_FOUND errors returned from successfully dispatched commands. ok stephan@ check-in: 46008704a6 user: mark tags: trunk
13:49
make fcli_cmd_aliascmp() return semantics match convention Return 0 if a match is found as one would expect from a *_cmp() routine. ok stephan@ check-in: 6e0d1fbc09 user: mark tags: trunk
2022-11-21
03:30
squelch gcc-11.2.0 uninitialised variable warning If fsl_buffer_cstr2() errors out, nOrig isn't initialised. ok stephan@ check-in: ef78842aea user: mark tags: trunk
2022-11-20
12:20
ensure dstsz-1 is greater than the current length of dst Although somewhat contrived it's a potential problem nonetheless: if the caller passes a destination buffer that contains a string greater than the passed in size of the destination buffer (which is senseless at it means the buffer is already overflowed), we write the full length of src, which could overflow dst. This change makes our fsl_strlcat() implementation behave the same as OpenBSD's strlcat(3) in testing. check-in: f2676cbcc2 user: mark tags: trunk
2022-11-14
06:00
Convert an assertion in fsl_annotate() into a proper error check. Triggered by an unclean build misbehaving. check-in: 58e7f6d7bf user: stephan tags: trunk
2022-11-12
09:45
Update some old appendf.c return semantics to the newer semantics. check-in: 0a13ca28c8 user: stephan tags: trunk