Login
Timeline
Login

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

50 check-ins using file bindings/s2/shell_extend.c version ed08a9ece0

2021-04-14
03:53
Renamed fsl_cx_forbid_delta_manifests() to fsl_cx_forbids_delta_manifests() so that it doesn't sound like a setter function. check-in: 7501bb92f9 user: stephan tags: trunk
03:38
fsl_deck_save() now honors the forbid-delta-manifests policy, rejecting any delta manifests. fsl_deck_derive() now converts any delta manifest to a baseline in order to avoid certain corner cases. Added some f-sanity tests for these new cases. check-in: ea6074b8ad user: stephan tags: trunk
2021-04-13
16:04
Added option to toggle R-card generation for f-test-ciwoco. Added extra/unhandled args check to f-timeline.c. check-in: 2b05c5915f user: stephan tags: trunk
15:18
Added fsl_deck_branch_set() and f-test-ciwoco now uses it. Fixed a _potential_ error-catching bug in the %j fsl_appendf() handler (which is still pending a port to fsl_output_f() return semantics). check-in: e9aed30c66 user: stephan tags: trunk
14:58
f-test-ciwoco now sets a branch name when creating an initial commit with files, else we can't resolve the entries using a branch name. check-in: 1a1154ca84 user: stephan tags: trunk
14:47
Added further commit to f-test-ciwoco to demonstrate that new file versions cause prior versions to get delta-compressed. check-in: ee83ef5f2d user: stephan tags: trunk
14:26
Corrected a memory mis-read of an MD5 hash using a SHA1/SHA3 length. Minor cleanups up f-test-ciwoco. check-in: 88ed2e9e9d user: stephan tags: trunk
14:17
Integrated deck-reworking branch. check-in: 366ce326e6 user: stephan tags: trunk
14:15
fsl_repo_create() now unlinks a failed repo and unlinks it before starting instead of using fopen() to truncate it. f-ciwoco is working. Closed-Leaf check-in: 63d85115a9 user: stephan tags: deck-reworking
13:20
Fixed a broken assert() in fsl_ckout_manage() when current rid==0. Fixed duplicate mlink entries for an initial commit with no parent. Finally realized that the dbs cannot be detached when a transaction is pending and adjusted the fsl_cx db-close interfaces to be able to report that. Started work on a demo app which creates and populates a repo without using a checkout, but it's incomplete - got sidetracked chasing down those bugs. check-in: fcdeddd18a user: stephan tags: deck-reworking
07:33
More work on the fsl_deck_derive()-related bits. Internal API modernization in fsl_content_put_ex(). check-in: 64b07ff5a8 user: stephan tags: deck-reworking
05:28
Removed fsl_deck::error, relying on fsl_deck::f::error instead. Added fsl_deck_F_set() in prep for APIs to simplify creating new checkins without requiring a checkout. Fixed a U-card validation bug in fsl_deck_output(). check-in: f839ab3edd user: stephan tags: deck-reworking
2021-04-12
15:48
Fixed, i believe, the checkin process not properly tagging the new leaf, caused by swapped handling of the is-it-a-leaf result. Need to make a commit to actually test it, though. Edit: worked :). check-in: 2791e665cc user: stephan tags: trunk
2021-04-10
11:14
API doc cleanups, removed some extraneous is-NULL checks on function arguments, and added a couple assert()s to f-sanity.c. check-in: e314f2f9df user: stephan tags: trunk
2021-04-09
11:07
fsl_deck_F_foreach() signature changed to remove the option which caused looping to behave differently for delta manifests, as that difference is an internal detail. Fixed the FSL_RC_BREAK return case of fsl_deck_F_foreach(). check-in: 176d9af72a user: stephan tags: trunk
2021-04-05
10:23
Minor generic cleanups in fcli and related app-side code. check-in: c62ffa1046 user: stephan tags: trunk
2021-04-04
05:07
f-apps: modernized/simplified usage of exit-on-help. Removed some bogus CLI flag entries from f-config. check-in: 1d3192c82b user: stephan tags: trunk
04:58
f-apps: use fcli_cx() instead of accessing fcli.f directly. check-in: 9c7cf37828 user: stephan tags: trunk
02:09
Fixed a var init order which broke f-add. check-in: 764f2b5396 user: stephan tags: trunk
2021-03-31
12:17
Renamed fsl_vfile_load_from_rid() to fsl_vfile_load(). Added fsl_vfile_unload() and fsl_vfile_unload_except(). f-revert can now revert files to specific checkin versions while retaining the current checkout version. check-in: 40fcc816f0 user: stephan tags: trunk
12:16
Fixed f-ci leaf-marking bug introduced in [43d1902823fd16b9]. check-in: df0f22661b user: stephan tags: trunk
09:47
Added fsl_ckout_vfile_ids() variant of fsl_filename_to_vfile_ids() in prep for an upcoming experiment. Fixed a cleanup order in fcli_shutdown(). check-in: 889d2e32bb user: stephan tags: trunk
05:51
Corrected an internal doc falsehood introduced in the previous commit and cleaned up adjacent code. check-in: 5b3a06886c user: stephan tags: trunk
05:41
Minor f-apps updates. Reverted f-revert to using the filename variant of fsl_ckout_revert(), instead of the fsl_filename_to_vfile_ids() variant, because the former allows the user to revert renames using the old or new names, whereas the latter only sees the new names. Fixed a range error in fsl_stmt_bind_fmtv() when binding a string as blob, and that function's blob/string bindings no longer copy their arguments' memory. Changed fsl_stmt_bind_step() return semantics to enable fetching data. check-in: 43d1902823 user: stephan tags: trunk
02:11
Minor cosmetic tweak to fcli help output. check-in: b016dfaa71 user: stephan tags: trunk
02:07
Fixed a null pointer deref when calling f-aparse with no arguments. check-in: c9e1f6c6dc user: stephan tags: trunk
2021-03-29
09:27
Removed a stale typedef left over in the previous commit. check-in: 521f5df2a3 user: stephan tags: trunk
09:26
Corrected a misunderstanding about fsl_id_bag traversal consuming its contents (which is not the case) and adjusted API signatures to make that clearer. check-in: 0660107d5b user: stephan tags: trunk
02:39
Internal tweak in the fsl_db API to take advantage of SQLITE_PREPARE_PERSISTENT. Doc fix in fsl_buffer_stream_lines(). check-in: 230e3ff6f6 user: stephan tags: trunk
2021-03-28
17:10
Refactored fsl_ckout_unmanage() to optionally use the new fsl_id_bag approach added for fsl_ckout_revert(). Refactored f-rm to use that. check-in: 949885a1d3 user: stephan tags: trunk
17:05
Tightened is-sorted check when parsing Cluster artifacts. check-in: 2a35f5e331 user: stephan tags: trunk
15:15
fsl_ckout_revert() now optionally accepts a fsl_id_bag instead of a filename. Exposed fsl_filename_to_vfile_id(s)() to the public API. Added fcli_args_to_vfile_ids() and refactored f-revert to use that functionality. check-in: a527cc940a user: stephan tags: trunk
07:21
Minor doc tweaks and added two arguably missing db transaction barriers. check-in: 64780c9c47 user: stephan tags: trunk
2021-03-27
15:14
Doc updates and added another fsl_checkin_dequeue() test. check-in: 9c2f72f751 user: stephan tags: trunk
15:01
Fixed a test assert() broken by the previous checkin. check-in: 1bc0bdd204 user: stephan tags: trunk
14:54
Renamed and refactored fsl_checkin_enqueue() and fsl_checkin_dequeue() to use an options object and altert the user about exactly which files are enqueued/dequeued via a callback. check-in: 8abd63ab1c user: stephan tags: trunk
12:19
Added tools/c-struct.sh, which has proven useful for generating skeleton code for various structs used by the library. check-in: f24ab8b2d8 user: stephan tags: trunk
12:02
Minor API cleanups. check-in: 259329f627 user: stephan tags: trunk
11:06
Minor doc updates. check-in: 219baa2d88 user: stephan tags: trunk
05:21
Removed --user-override flag from f-ci because we already have that feature via fcli's --user flag. check-in: 267aec10ab user: stephan tags: trunk
05:13
Added f-ci --user-override flag. (We'll test it with this checkin.) A couple pedantic casts for the sake of variadic arg handling. check-in: aeae018f92 user: steeeeve tags: trunk
00:10
Minor doc updates. check-in: 60d0481c59 user: stephan tags: trunk
2021-03-26
20:03
Merged in manifest-cache branch. check-in: db22eb455c user: stephan tags: trunk
20:00
Added a flag to enable/disable the fsl_cx manifest cache. f-parseparty now uses that flag and now clears out the leaf table before re-crosslinking checkins (noting that crosslinking checkins without crosslinking tags may lead to different leaf list results). Closed-Leaf check-in: 1da8255567 user: stephan tags: manifest-cache
08:00
Minor cleanups. check-in: c60d9b4435 user: stephan tags: manifest-cache
07:17
Initial go at a manifest cache similar to fossil's, except that we don't use malloc'd fsl_deck instances. This shaves almost a full second off of (f-parseparty -t c -c -q) and has a hit rate of almost exactly 1 in 3 during that party, but it now accounts for more than half of sizeof(fsl_cx). check-in: 6bb1262768 user: stephan tags: manifest-cache
04:08
Added more timing info to f-parseparty. check-in: a955308062 user: stephan tags: trunk
2021-03-25
19:44
Added manifest version and timestamp to autoconfig.h. check-in: e82e436b45 user: stephan tags: trunk
03:15
Changed manifest setting from urt to on (==ur). check-in: 329c02ac27 user: stephan tags: trunk
00:40
Some s2 and sqlite3 usage modernization in the s2 bindings. check-in: 6b346e8787 user: stephan tags: trunk