Login
Timeline
Login

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

50 most recent events by user stephan occurring on or after 2021-10-20 11:30:14.

2021-11-03
02:51
f-revert can now report an error when it is passed an unmanaged file name. It now requires, however, passing in the new name, instead of the original name, when reverting a rename. Removed f-revert's dependency on fossil-internal.h. check-in: 7dd883be5e user: stephan tags: trunk
02:28
Oops. check-in: d4074d8d33 user: stephan tags: trunk
00:07
Another constness tweak, a doc fix, and added a TODO to f-revert. check-in: af29e33252 user: stephan tags: trunk
2021-11-02
23:52
Mass renaming of many internal APIs from fsl_X to fsl__X (two underscores) and several adjacent const cleanups. check-in: 83917b7b45 user: stephan tags: trunk
23:47
Corrected a repeated build rule in bindings/cpp. check-in: 3ea6f73e5d user: stephan tags: trunk
23:08 Edit [3bcb631b4fb85af1|3bcb631b4f]: Edit check-in comment. artifact: 048fd7d117 user: stephan
14:09
Further tweaking of buffer memory ownership for fsl_deck_parse(). Minor adjacent tweaking. check-in: 7948748ba0 user: stephan tags: trunk
04:11
Corrected decls for fsl_strlXXX() (only did the impls last time but the compiler didn't catch it because the data types were the same). check-in: 95019d819c user: stephan tags: trunk
00:21
More work on rebuild and adjacent code. Removed 'restrict' keyword from fsl_strlcpy() and fsl_strlcat() because they break in C++ compilation mode. Renamed fsl_guess_user_name() to fsl_user_name_guess() (consistency) and added fsl_cx_user_guess(). check-in: 3bcb631b4f user: stephan tags: trunk
2021-11-01
21:44
Updated fsl_cx_uplift_db_error2() docs to match its semantics. Removed some superfluous is-NULL-arg checks. check-in: b4d072b53b user: stephan tags: trunk
21:25
More work on f-rebuild and related crosslinking bits. check-in: 8c51e45f8f user: stephan tags: trunk
21:22
Fixed %B fsl_appendf() quoting, which was apparently broken in recent refactoring. check-in: 254d05efc3 user: stephan tags: trunk
16:36
Replaced strcpy() calls with fsl_strlcpy(). Re-indented strftime.c and replaced an unnecessary leaky malloc() in fsl_strftime() with an equivalent static buffer (noting that that block is normally #if'd out altogether). check-in: fa7e72b856 user: stephan tags: trunk
15:06 Changes to wiki page "home" artifact: d71d7955d5 user: stephan
14:15
Replaced sprintf() with snprintf() and might (unsure) have squelched a warning regarding uninitialized array elements. check-in: 1dbcee9144 user: stephan tags: trunk
2021-10-31
03:26
Swapped the internal relationship of fcli_setup() and fcli_setup_v2() and changed the latter's semantics a tiny bit. check-in: d0c8ef79fe user: stephan tags: trunk
2021-10-26
11:25
More work on f-rebuild. Added fcli_setup_v2(). check-in: 14cebaaa7e user: stephan tags: trunk
10:41
Reworked the previous checkin. check-in: 20ea128fa9 user: stephan tags: trunk
10:30
Filtered (again?) libfossil.c/h out of the tags generation step. check-in: 4c0a8e3461 user: stephan tags: trunk
2021-10-25
19:08 Edit [f731ff162fe27d9c|f731ff162f]: Edit check-in comment. artifact: 40924cb4c7 user: stephan
2021-10-22
03:14
API doc update, fixed a potential range problem in the appendf SQL string formatting options. check-in: 543bea7b3e user: stephan tags: trunk
02:48
Refactored appendf %q/%Q/%B to use a static buffer instead of dynamic allocation. This saves counting the output length in advance and allocation of that output buffer but requires one call to the callback per 512-ish bytes of the string. check-in: 5739c3cbd3 user: stephan tags: trunk
2021-10-21
20:42
Added %!Q form of %Q appendf modifier to take the place of the undocumented/unused %w: wraps result in double quotes instead of single, for use with identifiers. check-in: d92aae901d user: stephan tags: trunk
20:22
Started work on f-rebuild. Still lots to do. check-in: 54b9b8fd8b user: stephan tags: trunk
17:42
A pile of constness and char-as-bool tweaks in the db API. check-in: d571c6f692 user: stephan tags: trunk
17:06 Changes to wiki page "TODOs" artifact: c2cb7c3e16 user: stephan
16:28
Added a timer-based limit option to the annotate operation, much like fossil's, allowing the user to limit it to X milliseconds (CPU time) of work. Added f-annotate --ms flag to make use of this. check-in: 35b8297bc3 user: stephan tags: trunk
15:43 Changes to wiki page "TODOs" artifact: 5844bb5073 user: stephan
10:05
build: try to force libfossil.c/h/o rebuild more frequently, for the sake of the --profile build. check-in: 0148b8e469 user: stephan tags: trunk
10:04
Insignificant internal tweaks. check-in: 65ae37ae14 user: stephan tags: trunk
09:36 Changes to wiki page "HackersGuide" artifact: e8c5e46621 user: stephan
09:16 Changes to wiki page "HackersGuide" artifact: 7cacc32a6a user: stephan
08:26
Fixed a fsl_stmt misuse in the repo fingerprint check when falling back to test for a version 0 fingerprint (statement was not being cleaned up before re-preparation). check-in: 908f5883dd user: stephan tags: trunk
05:17
Reduced fsl_db_prepare_cached() buffer size and simplified nearby code a bit. check-in: 781faabfa1 user: stephan tags: trunk
04:41
Reduced fsl_buffer_reserve() calls by about 90% for f-parseparty (2.8m down to 300k), largely via addition of a db-level buffer for cached SQL preparation. Added a simpl hash to cached fsl_stmt instances to speed up fsl_db_prepare_cached() and reduce fsl_buffer_cmp() calls by 90%+. Record how many times any given caches fsl_stmt is reused and emit that via the new fcli_dump_stmt_cache() function. This reduces f-sanity allocations from 39k to 29k but slightly increases total allocated memory. check-in: c812573f26 user: stephan tags: trunk
03:59 Changes to wiki page "HackersGuide" artifact: 2393c9c906 user: stephan
03:02 Changes to wiki page "TODOs" artifact: b36d2abdb0 user: stephan
02:54
Latest upstream fnc.c to squelch warnings from gcc. check-in: 33b4a4b279 user: stephan tags: trunk
02:39
Internal buffer allocation optimization in fsl_deck_save(). check-in: 23cd6b0b72 user: stephan tags: trunk
02:38
Fixed a memleak in f-aparse.c. check-in: f731ff162f user: stephan tags: trunk
02:25 Changes to wiki page "TODOs" artifact: 3f45d84f04 user: stephan
2021-10-20
17:29
Build: when using the --profile flag, tell the various binaries to link against libfossil.o and sqlite3.o so that profiling picks up the library-level functions. We explicitly remove the -pg flag from sqlite3.o but _some_ of those symbols are still being included in profile state for unknown reasons. check-in: 52949a770b user: stephan tags: trunk
17:29
Brought s2 and cpp bindings up to date for fsl_deck changes. check-in: db284ea307 user: stephan tags: trunk
15:18
Minor doc and error message tweaks. check-in: 458afa63fa user: stephan tags: trunk
14:26
Doc updates related to the removal of fsl_deck::uuid. Fixed a mismatched transaction start/end in one particular error case in fsl_deck_crosslink() (when loading baseline of a delta manifest failed). check-in: 1742cabfde user: stephan tags: trunk
14:11 Edit [ba35aa3a576fc060|ba35aa3a57]: Edit check-in comment. artifact: fb13f1f437 user: stephan
14:07
Removed fsl_deck::uuid and the step in fsl_deck_parse() which tries to map its input to an existing artifact. That step (which was there simply to proactively fetch the deck's rid and uuid) isn't strictly necessary and is a big performance hit. This reduces fsl_deck_parse() time by very roughly 2/3rds, per f-parseparty's mass-parsing tests on the libfossil and fossil repos. check-in: ba35aa3a57 user: stephan tags: trunk
13:16
f-parseparty: fixed an assert broken by the fsl_deck refactoring and added --dry-run flag. Closed-Leaf check-in: c1390fe2f8 user: stephan tags: remove-deck-uuid
13:11
Removed fsl_deck::uuid and the fsl_deck_parse() step which tries to map its inputs to an existing db record. While convenient for downstream code, it's a huge performance hit. Checking in to a branch for f-parseparty speed testing compared to the current trunk. check-in: 1dc391289c user: stephan tags: remove-deck-uuid
11:30
Minor auto.def cleanup. check-in: 5a85356515 user: stephan tags: trunk