Login
Timeline
Login

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

65 check-ins using file bindings/cpp/Context.cpp version b7dfe840a7

2021-03-24
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
21:01
More work in/around the update process. f-update and f-co now only list "noteworthy" changes instead of all files unless the new -Q|--not-quiet flag is used. check-in: 0815bc50d7 user: stephan tags: trunk
21:00
Added fsl_stmt_bind_step() and fixed a bogus return in fsl_stmt_bind_fmt(). check-in: 84a2e6b8f1 user: stephan tags: trunk
18:52
First-ever f-update worked (in a test tree, of course). Still tons and tons of testing to do, and fix the broken removal of empty dirs after update, but baby steps have been made. check-in: 29fbb8bbd9 user: stephan tags: trunk
09:05
Barring one missing piece of to-port infrastructure and a boatload of testing, the update mechanism is in place and seems to be doing its thing. check-in: 9b9b989b2c user: stephan tags: trunk
06:36
Improved to updating of vfile during a checkin, avoiding a rescan which nuked newly-added/rm'd entries which are not part of the commit. Various adjacent tune-up. f-ci now rolls back the manifest file writes in dry-run mode. check-in: 6caa73a8b3 user: stephan tags: trunk
05:08
Experimentally doing fsl_ckout_manifest_write() from fsl_ckout_version_write(). check-in: ac3204cf35 user: stephan tags: trunk
04:19
Several cleanups in/around open/checkout/checkin. check-in: 2c56bac8e2 user: stephan tags: trunk
04:18
Removed old/unmaintained MSVC build instructions. check-in: 4e8c7463d9 user: stephan tags: trunk
04:04
Added 'manifest' versionable setting. check-in: b4f1e525ca user: stephan tags: trunk
01:08
Fixed, i hope breakage in f-open and the checkin process caused by the previous checkin. check-in: 6f6c730a13 user: stephan tags: trunk
01:04
fsl_vfile_load_from_rid() moved out of the public API and it no longer modifies the checkout version because that's incompatible with some uses. Removed some dead code. (Broke the checkin process when doing that.) Closed-Leaf check-in: 40ebc77b90 user: stephan tags: mistake
00:59
fsl_vfile_load_from_rid() moved out of the public API and it no longer modifies the checkout version because that's incompatible with some uses. Removed some dead code. check-in: df39a4d7b2 user: stephan tags: trunk
00:35
More work on the update op. check-in: 34f0c94b79 user: stephan tags: trunk
2021-03-19
18:18
Removed some old/obsolete db-close cleanup. check-in: 30d55a9edb user: stephan tags: trunk
18:12
More work on the update process. Getting close, but time for a break. check-in: 5667e3e23a user: stephan tags: trunk
10:01
fsl_ckout_manifest_write() now deletes the manifest files which it does not create unless they are part of the current checkout. More work on/towards the update op. check-in: 9d86e51a31 user: stephan tags: trunk
07:27
More work on the update infrastructure. It seems we can consolidate the options and callback state for checkout/update opts, so renamed some APIs to account for both. check-in: 6ceda397ad user: stephan tags: trunk
06:25
Corrected the cannot-commit-to-closed-leaf error message. check-in: 3ef6bd9a05 user: stephan tags: trunk
05:19
Added fsl_ckout_write_manifest() to optionally write out the (manifest, manifest.uuid, manifest.tags) files for a checkout. fsl_ckout_calc_update_version(): removed the preferLatest parameter and it now reports the list of ambiguous candidates in its error string. check-in: 07fd8c1f33 user: stephan tags: trunk
00:54
Moved the calc-update-version algo from f-update.c into the library. check-in: 3ad694f967 user: stephan tags: trunk
00:30
More work on the 'update' infrastructure. Turns out we're still missing an important low-level bit or three. check-in: c6dc2f9770 user: stephan tags: trunk
2021-03-18
23:36
f-update can now figure out which version to update to, but... baby steps. check-in: 7a11d37185 user: stephan tags: trunk
19:29
Pedantic doc tweaks. check-in: ccc528b363 user: stephan tags: trunk
19:19
Moved the code for listing ambiguous hash prefixes from f-resolve to fcli. More work on the infrastructure needed for f-update. check-in: b50971a43e user: stephan tags: trunk
16:30
Doc clarifications. Removed an unnecessary fsl_strlen() call to fetch a length we already had. check-in: f3e995febf user: stephan tags: trunk
16:07
Some minor API renaming for clarity and started work on an app for porting over the update op (noting that it's currently nothing more than a skeleton). Changed how fsl_repo_ckout_state reports filenames: ckout-relative instead of absolute seems more appropriate. Might want to include both, though. check-in: 045532178f user: stephan tags: trunk
14:01
Minor allocation optimization in/via fsl_deck_output(). check-in: 5ec7cd9c0c user: stephan tags: trunk
13:45
Added f-_template.c to the f-apps list. check-in: ef8224ca0e user: stephan tags: trunk
13:35
Minor doc modernization. check-in: e55d4623ca user: stephan tags: trunk
2021-03-17
12:29
Added f-apps dir to the top-level build process. check-in: 846a77c607 user: stephan tags: trunk
00:29
Minor internal doc tweaks. check-in: 9f11809db4 user: stephan tags: trunk
00:15
Removed an extraneous parameter from a few functions. Stopped senselessly checking for NULL fsl_cx arg in fsl_ckout_version_info(). check-in: 8c212df490 user: stephan tags: trunk
2021-03-16
20:23
Tiny optimization in fsl_repo_blob_lookup(). check-in: 71c1bd8ef6 user: stephan tags: trunk
2021-03-15
19:01
Tiny doc tweaks. check-in: 02eacfa610 user: stephan tags: trunk
18:50
Considerable refactoring in/around fsl_repo_open_ckout() to move some of the functionality of f-open into the library and some into fcli. check-in: 15425f1d4c user: stephan tags: trunk
12:12
Swapped order of 2 parameters to fsl_confirm_callback_f - just seems more consistent that way. check-in: 26191854cd user: stephan tags: trunk
11:34
Fixed a race condition in the doxygen build/upload process. check-in: c1d7a2eb69 user: stephan tags: trunk
11:14
Extended the fsl_confirmer API to be able to ask, and get responses to, simple multiple-choice questions. This will be needed, e.g., for performing an update operation when multiple versions are equally viable candidates. check-in: ccc0fef970 user: stephan tags: trunk
05:53
fsl_appendf(): ported in comma-separated decimals from [fossil:2cdbdbb1c9b7ad2b]. check-in: 5f6954fc89 user: stephan tags: trunk
04:25
Globally renamed _checkout to _ckout, as some of these names are getting a bit long. check-in: bc9e88ee2c user: stephan tags: trunk