Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
65 check-ins using file f-apps/f-query.c version c702502c10
2021-04-04
| ||
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 | |
2021-03-24
| ||
23:55 | Fixed a copy/paste error in f-apps/index.md. check-in: 184b414392 user: stephan tags: trunk | |
23:52 | Added missing f-update to f-apps/index.md. check-in: aa3c8f6db3 user: stephan tags: trunk | |
23:17 | f-update now runs in non-dry-run mode by default, as there's little chance of data loss and i keep forgetting to pass the flag to disable it, leading to confusion when recently-added files aren't in the filesystem afterwards. check-in: 8582be822e user: stephan tags: trunk | |
23:06 | Another tiny upstream s2 tweak. Fixed a broken assert in fsl_ckout_update(). check-in: 0b1a361d6c user: stephan tags: trunk | |
22:56 | Minor doc tweaks and added auto.def check for libreadline for the sake of f-s2sh. check-in: 252a8c3327 user: stephan tags: trunk | |
22:55 | Fixed upstream s2 bug in which resolution of define()d values would violate an internal convention for skip-mode handling. check-in: f49f227267 user: stephan tags: trunk | |
22:16 | Brought C++/s2 bindings up to date with recent API changes. check-in: da095e1065 user: stephan tags: trunk | |
18:43 | Pedantically changed fsl_acache::szTotal and szLimit from uint32_t to fsl_size_t to avoid an uncomfortable corner case. check-in: 9286ae3e09 user: stephan tags: trunk | |
18:35 | Tinkering with the artifact cache. Corrected its size measurements to use buffer capacity instead of buffer used bytes, noting that fossil's counterpart measures the used bytes instead of capacity. check-in: 9bdf227d32 user: stephan tags: trunk | |
18:12 | Added semi-configurable cache limits in fsl_acache and activated the fsl_cx::arty cache used by fsl_content_get(). That halves the time needed to run f-parseparty with crosslinking on 2003 checkins but it's still dog slow compared to fossil's rebuild (which does approximately the same thing). check-in: 7c05e9d44f user: stephan tags: trunk | |
15:05 | Refactored how the checkin manifest R-card is calculated, to simplify recalculating and verifying it from higher-level code. Renamed f-mfparse to f-aparse. Renamed fsl_hash_types_t to fsl_hash_types_e for naming consistency. check-in: 81cbf6794f user: stephan tags: trunk | |
15:04 | Corrected a broken call to fsl_match_vfile_or_dir() in fsl_filename_to_vfile_ids(). check-in: 411a695e8c user: stephan tags: trunk | |
08:33 | Doc updates, some char-to-bool API signature updates, and renamed a deeply internal API func. check-in: 6a6b5d1e43 user: stephan tags: trunk | |
08:02 | Minor doc updates. check-in: bd0c92e3cc user: stephan tags: trunk | |
07:19 | Added SQL UDF fsl_match_vfile_or_dir() and used it to simplify some expressions. check-in: 674cd67c12 user: stephan tags: trunk | |
06:23 | Refactored the remove-empty-dirs APIs a bit. Revert now tries to remove empty dirs of renames. Fixed path handling in revert - was using relative paths which only worked from the top of the tree. Added missing outer transaction in f-revert which could cause a failed revert to leave vfile in a partially-reverted state. check-in: 62c2d986fb user: stephan tags: trunk | |
05:00 | Cleaned up fsl_is_locally_modified() is-changed reporting. Added fsl_file_rename(). The revert op now renames files when reverting a rename op. fsl_vfile_to_ckout() now, like fossil, writes to vfile.pathname instead of to vfile.origname, and revert accounts for that. check-in: 4f342af54f user: stephan tags: trunk | |
2021-03-23
| ||
20:18 | etags generation: fake success even if it fails, to avoid that this non-critical bit breaks the build on Ubuntu 18.04, as reported by Martin G. check-in: 9df7dca16f user: stephan tags: trunk | |
19:43 | Change usage message for -disable-shared/-disable-static build options to reflect the "--disable-" prefix. check-in: 62d1bd7756 user: mgagnon tags: trunk | |
00:49 | Refactored the rm op to use a callback to report removals, similar to add and revert. Renamed fsl_ckout_file_add/rm... to fsl_ckout_manage/unmanage... Sidebar: used f-revert and the stash to recover from a fatal perl-regex refactoring mishap while working on this. check-in: 09300fddd6 user: stephan tags: trunk | |
2021-03-22
| ||
19:41 | Minor internal cleanups in fsl_vfile_to_ckout(). check-in: 0039bd6cc4 user: stephan tags: trunk | |
19:38 | Fixed a test assert broken by the previous commit. check-in: 541e4fd2d7 user: stephan tags: trunk | |
17:54 | Added fsl_ckout_manifest_setting(). fsl_reserved_fn_check() now honors the various manifest files as being forbidden for addition into the repo (but will allow them if they're already in the vfile table). Swapped 2 params in fsl_ckout_file_add_f() signature. check-in: 2c4a018200 user: stephan tags: trunk | |
16:14 | Changed fsl_ckout_revert() to take an options object and added scanForChanges option. fsl_vfile_to_ckout() now prefers to write to vfile.origname instead of vfile.pathname, but that change is up for re-evaluation. Changed fsl_ckout_changes_visit() to report edited-and-renamed files as edited instead of renamed because fossil does it that way. check-in: 2cf2cebe3d user: stephan tags: trunk | |
13:52 | f-revert now requires at least one file/dir name, to avoid potential accidental data loss (since we have no undo support). check-in: a465f04880 user: stephan tags: trunk | |
13:45 | Added f-revert, analog to (fossil revert). Fixed f-rm to handle the filename '.' sensibly. Numerous tweaks in adjacent code along the way. check-in: 8cc33e4e8a user: stephan tags: trunk | |
10:01 | Changed the signature of fsl_ckout_file_rm(). check-in: 356e3783c9 user: stephan tags: trunk | |
03:24 | Added doc dir to cleanup rules to prevent weirdness when Doxygen.in is newer than Doxygen but configure doesn't recreate the latter because it hasn't changed. check-in: 4655602392 user: stephan tags: trunk | |
2021-03-21
| ||
23:20 | Added a missing DISTCLEAN_FILES entry and squelched a couple assigned-but-unused var warnings. check-in: f8f6871ef8 user: stephan tags: trunk | |
00:37 | Doc touchups. check-in: 550f86da3a user: stephan tags: trunk | |
00:26 | Consolidated checkout/update to both use fsl_ckup_fchange_e to report the type of change, allowing removal of several of the fsl_ckup_state members. Local uncommitted adds and removals are now propagated when updating. Various adjacent tweaks. check-in: 1efb02180b user: stephan tags: trunk | |
2021-03-20
| ||
21:36 | Minor restructuring of the fcli struct. check-in: 436ae2c47f user: stephan tags: trunk | |