Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
50 most recent check-ins related to "trunk" occurring on or after 2021-10-16 15:50:02.
2021-11-01
| ||
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:58 | Add fsl_strlcpy() and fsl_strlcat() BSD-variants to the lib. Less error prone routines to begin replacing strcpy() and strcat() calls. check-in: f390a48d56 user: mark tags: trunk | |
15:16 | Add ifdefs for C99 decls (snprintf) guarded on macOS. Patch authored by stephan@, tested by mark@ on macOS Catalina 10.15.7. check-in: 5c54c1e93c user: mark tags: trunk | |
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-29
| ||
10:36 | Add optional usage callback to fcli_command structure. If set, calls to fcli_command_help() with a true argument for the showUsage parameter, will call the fcli_command->usage() callback. This enables clients to display usage and/or additional help output on an individual command basis. Update apps in the repository impacted by this API change. check-in: d60fcce917 user: mark tags: trunk | |
10:15 | Latest upstream fnc with several major changes. This fnc update includes: a significant change to the diff interface, which offers improved arg parsing and the ability to diff file blobs; and the new 'fnc branch' command, which provides a view for navigating repository branches. check-in: b1c9f30e3f user: mark 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-22
| ||
06:01 | Tidy fcli_command->aliases code and improve related docs. Remove superfluous format specifier arg and move all aliases output into fcli_help_show_aliases(). check-in: 89925fee94 user: mark tags: trunk | |
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 | |
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 | |
14:54 | Integrate [d9d00a5c97|cli-aliases] into trunk. ok stephan@ check-in: 378813076a user: mark tags: trunk | |
14:32 | Add optional command line aliases to fcli_command. As per /chat discussion, use a NUL-delimited char pointer to add optional aliases to a command. This commit also adapts fcli_command_help() output to display any aliases, and adapts fnc and existing f-apps that use fcli_command to demonstrate the change. Closed-Leaf check-in: d9d00a5c97 user: mark tags: cli-aliases | |
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 | |
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 | |
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 | |
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: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 | |
10:39 | Added --profile configure flag which enables the -pg compile/link option if CC appears to be gcc. check-in: a0d2863fdc user: stephan tags: trunk | |
2021-10-19
| ||
10:03 | Doc updates and minor internal code reorgs. check-in: 9542202a90 user: stephan tags: trunk | |
09:18 | merge in trunk for latest bits. check-in: df8635e89d user: stephan tags: port-merge | |
09:05 | Added the FSL_GLOB() SQL UDF and infrastructure to support it, to enable operations which make use of the configurable glob lists to access those via SQL. check-in: 496acd50a1 user: stephan tags: trunk | |
07:51 | f-ci can now tell the difference between being passed an unmanaged dir name or a managed dir name which contains no changes and correctly queues only modified files when passed a dir name. That triggered an as-yet-undiscovered fsl_id_bag_reset() bug, now fixed, which triggered an assert() but somehow has not asserted before. check-in: 97887399f1 user: stephan tags: trunk | |
04:06 | More doc and constness tweaks. check-in: b0a40b1b49 user: stephan tags: trunk | |
04:00 | Worked around doxygen warning quirks. check-in: 38af521ffd user: stephan tags: trunk | |
03:54 | Doc and constness updates. Removed the old code related to the long-obsolete open-or-attach mode of fsl_cx db handle management, now using only the attach mode. check-in: 386039e135 user: stephan tags: trunk | |
2021-10-18
| ||
14:19 | Doc tweaks, constness updates, and removed some extraneous checks for NULL arguments. check-in: a1d926f055 user: stephan tags: trunk | |
14:03 | Numerous minor doc and constness tweaks. Starting to use markdown formatting for API docs, now that it's been discovered that Doxygen can do that. check-in: 77e8ee40f8 user: stephan tags: trunk | |
13:35 | Added an optional flag to wh-make-from-dot-in to force it to touch its generated files, to work around an issue where make-template does not modify a file because it is the same as its original but we really need the timestamp updated. check-in: 0dbd4b588c user: stephan tags: trunk | |
12:07 | Changed signature of fsl_db_close() to return void. Removed some dead code. check-in: 0c32e3185e user: stephan tags: trunk | |
10:09 | Merged in port-merge branch for many non-merge-specific tweaks made there. Merge feature is still in development. check-in: 4672dd694e user: stephan tags: trunk | |
10:02 | Random doc updates and moved an enum from fossil-util.h to fossil-db.h. check-in: f069532a71 user: stephan tags: port-merge | |
2021-10-16
| ||
15:50 | Another few hundred lines of merge infrastructure and lots of unrelated constness tweaks. Moving to a branch because we can't test some of the new features without one. check-in: 3ff20f1d01 user: stephan tags: port-merge | |