Login
Timeline
Login

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

50 most recent check-ins that include changes to files matching 'src/*'

2026-03-12
08:21
Const-correctness patches from Mike Swanson. Update sqlite3.c to its current trunk. The fnc.c part of this was also applied upstream. check-in: e95b6fe11f user: stephan tags: trunk
2026-02-03
16:00
Change fsl__pclose2() to match sqlite's current implementation. check-in: 1ba6a4315a user: stephan tags: trunk
2026-02-02
15:10
Apply LDFLAGS.rpath if the --rpath configure flag is used, per request in /forumpost/12b6595903a30d18. That it wasn't being applied was an oversight. check-in: 3dae8f708d user: stephan tags: trunk
2025-12-12
01:50
Port in a trick from another tree: make fsl_error_set/setv/reset/clear() no-ops if passed NULL fsl_error pointers. This simplifies usage in some cases. check-in: ba986f850f user: stephan tags: trunk
01:43
Port in 2b660bd17402689777da. check-in: 0f380fc99f user: stephan tags: trunk
2025-12-04
20:04
Fix autosync to work when no syncwith:... config entry is set by last-sync-url is. Fixes autosync on one of my ssh-using checkouts. check-in: 4fb3b98b67 user: stephan tags: trunk
2025-12-03
15:59
Keep an innocuous error in the fingerprint check from propagating. This would have been an alternative fix for the previous check-in. check-in: 3907daeec7 user: stephan tags: trunk
15:57
Fix fsl_ckout_fingerprint_check() to be a no-op on a repo without an rid (a newly-created repo with no checkin). This fixes f-status barfing for those. check-in: 40aaa12588 user: stephan tags: trunk
2025-08-30
21:39
Swap the order of the fsl_list_visitor_f() parameters, ostensibly for consistency with other APIs but we really have a mix of arg orders in similar APIs. Both args are (void*), which makes this an easy change to break stuff with. This will very likely not be merged to trunk, but is left here as a reminder to self that this type of change is inherently dangerous and could lead to easy-to-miss bugs until the wrong object is dereferenced somewhere (perhaps in downstream code). Resist the temptation. closed check-in: 76ff044d76 user: stephan tags: list-visitor-swap-args
2025-08-25
11:21
Rename fsl_filename_free() to fsl_os_str_free(). The name has always bothered me, because it's not just for filenames, but a better one eluded me until recently. check-in: 04fd5bc8f8 user: stephan tags: trunk
2025-08-24
20:57
Minor internal cleanups. check-in: 87ec5928a1 user: stephan tags: trunk
2025-08-23
19:12
Remove a stale TODO comment. check-in: 1e984471ca user: stephan tags: trunk
19:11
Remove some duplicated docs. Minor internal API renaming. check-in: 3ee68d5ddd user: stephan tags: trunk
19:03
Doc tweaks and fixes for some -pedantic -Wextra warnings. check-in: 67081cb172 user: stephan tags: trunk
18:16
Rework SQL tracing to fire through fsl_db_event. This is a net plus in code but is a cleaner solution, i think. check-in: 691fa1d363 user: stephan tags: trunk
15:29
Move the fsl_db_event listener tate into the event object. check-in: cc3a90f50f user: stephan tags: trunk
13:08
Try to improve the is-this-a-file check in fsl_db_open(). check-in: 9f9c7125f3 user: stephan tags: trunk
13:07
Change fsl_url::port to an unsigned short. check-in: 3e4699b230 user: stephan tags: trunk
12:23
Consolidate fsl_db's on-close hook into fsl_db_event. check-in: 020b5f5b72 user: stephan tags: trunk
12:07
Restructure fsl_db's transaction hook to be a more generic fsl_db_event. check-in: acbec52f11 user: stephan tags: trunk
2025-08-22
04:03
Doc updates. Have fsl_stmt_cached_yield() clear all bindings (it should have always been doing that). check-in: 6dd43589a5 user: stephan tags: trunk
01:31
Have fsl_db_attach/detach() quote their db name argument as an identifier. check-in: 745f570d43 user: stephan tags: trunk
01:03
Cleanups in the fsl_db bits and pull in wh-common.tcl updates from libwhut. check-in: 8838e41bbe user: stephan tags: trunk
2025-08-21
22:51
Simplify the fsl_timer API. check-in: 82646cc1fa user: stephan tags: trunk
21:52
Move fsl_stmt::impl::role into fsl_stmt::role because i'm gonna want it that way when this code gets ported over to libwhut. check-in: 838eccad9a user: stephan tags: trunk
21:50
Refactor fsl_db and fsl_stmt to clearly differentiate their private from non-private state. check-in: 0425c2982b user: stephan tags: trunk
21:35
Factor out fsl_db::priorChanges. check-in: f8955cab8e user: stephan tags: trunk
21:29
Factor out fsl_stmt::paramCount. check-in: 590195dcd9 user: stephan tags: trunk
21:26
Factor out fsl_stmt::columnCount. check-in: 22c1b839ce user: stephan tags: trunk
17:14
Thank you, clang, for catching this fluke introduced in [761ae5eaea26c29] and not complained about by gcc. check-in: c7a88fa820 user: stephan tags: trunk
14:43
Doc touchups. check-in: 125735175a user: stephan tags: trunk
12:58
Split fsl_buffer_escape_arg() into fsl_buffer_esc_arg_v2() and fsl_buffer_esc_arg(). check-in: ef77c0db85 user: stephan tags: trunk
2025-08-20
19:55
Doc updates and minor internal cleanups. check-in: 732ca065a8 user: stephan tags: trunk
18:17
Potential nano-optimization in fsl_file_size() and friends. check-in: 0e0808460c user: stephan tags: trunk
18:11
Internal cleanup in fsl_dircrawl(). check-in: 5edcbcd90d user: stephan tags: trunk
17:03
Slight simplification to fsl_stream() and an error code conversion fix for fsl_input/output_f_FILE() (fread(3) and fwrite(3) do not document updating errno). check-in: b7492ef074 user: stephan tags: trunk
16:27
Doc cleanups and remove a duplicated error check from fsl_pathfinder_search(). check-in: bfa4cc0954 user: stephan tags: trunk
15:56
Remove deprecated SPDX-ArtifactOfProjectName header. check-in: 31bb2bd4bf user: stephan tags: trunk
15:37
Add f-hash app to test [a3e96d40f438] against fossil(1) with. Update a license header. check-in: 34a4057578 user: stephan tags: trunk
15:18
Generic cleanups. check-in: b5e040ca7c user: stephan tags: trunk
15:18
Reimplement a small part of fsl_sha3_update() to avoid undefined behavior when using a NULL pointer in arithmetic. Hopefully this works. check-in: a3e96d40f4 user: stephan tags: trunk
12:45
Generic cleanups prompted by porting some of this into another tree. check-in: de177b2870 user: stephan tags: trunk
2025-08-19
00:57
Generic cleanups prompted by copy/pasting a bunch of this code into another tree. check-in: 87509a5df4 user: stephan tags: trunk
2025-08-18
10:29
Some light experimentation, but no new progress, with d14n. check-in: b4cf57e395 user: stephan tags: trunk
2025-08-16
10:54
Remove an unnecessary error propagation. Doc tweak. check-in: dbeeb969ac user: stephan tags: trunk
2025-08-15
20:07
Doc cleanups. More work on d14n. fsl_clone() is failing the same way as the previous few checkins, but at least it's not breaking in new ways. check-in: 7b49faa0a6 user: stephan tags: trunk
17:55
Move dephantomization (hereafter d14n) to the content validation phase. Have fsl_clone() close its transaction before it calls fsl_rebuild() so that content validation/d14n happen before then. This doesn't solve the pending d14n issues - cloning a non-trivial repo with still fails due to phantoms - but it's one step closer. check-in: ccec4f883b user: stephan tags: trunk
13:55
Start add basic infrastructure for queueing up after-dephantomized handling, the idea being that we delay those until just before content validation is done. check-in: 6e69627c63 user: stephan tags: trunk
2025-08-14
20:28
Comment updates. No code changes. check-in: 937e68769d user: stephan tags: trunk
17:26
Add a static assert to ensure that two arrays have the same number of elements. Add fsl_cx::scratchpads::format (fsl_buffer) for use by fsl_cx_formatv() and only bother calling fsl_appendfv() from there if the input contains any percent signs. A micro-optimization in fsl_buffer_eq(). check-in: 9ff8938dc9 user: stephan tags: trunk