Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
645 check-ins using file include/fossil-scm/fossil-vtbl_fossil_settings.h or src/fossil-vtbl_fossil_settings.h version 69cf9e404f
2021-07-24
| ||
11:05 | Latest upstream s2 for what might be the 'final' changes needed to integrate the CWAL_OBASE_ISA_HASH option. check-in: 9403882395 user: stephan tags: trunk | |
2021-07-23
| ||
11:06 | Latest upstream s2 for new pragma(build-opt IDENTIFIER), which gives us a way to query build-time options from scripts. check-in: d6b2323055 user: stephan tags: trunk | |
05:07 | Latest upstream s2 which resolves the last known open issue with the CWAL_OBASE_ISA_HASH toggle. check-in: 487bc7d38e user: stephan tags: trunk | |
2021-07-12
| ||
14:59 | Merged inadverted fork from the BSD box. check-in: c8fefc3d17 user: stephan tags: trunk | |
14:24 | Latest upstream s2 with some minor build-time, doc, and unit test tweaks. check-in: a08eb62a66 user: stephan tags: trunk | |
03:08 | Latest upstream s2, configured to use hashtables for property storage. check-in: ea62cfc2ec user: stephan tags: trunk | |
01:05 | Initialized some vars to squelch compiler warnings. check-in: 855c60d0ee user: stephan tags: trunk | |
2021-07-11
| ||
09:16 | Latest upstream s2, for testing purposes. check-in: 9e2a6e3934 user: stephan tags: trunk | |
2021-07-07
| ||
03:28 | Added tools/schema-info-views.sql, gleaned from the sqlite forums. check-in: f5bf8a80c9 user: stephan tags: trunk | |
03:08 | Fixed a broken empty-title check in forum post crosslinking. check-in: 8d757883d2 user: stephan tags: trunk | |
2021-06-26
| ||
09:32 | Another upstream s2, to eliminate s2_rc_cstr(). check-in: aed85cfd53 user: stephan tags: trunk | |
08:19 | Pulled in latest upstream s2. check-in: f97531baac user: stephan tags: trunk | |
2021-06-25
| ||
06:42 | Minor cleanup to [1d193a7055ad13fb]. Corrected an is-in-a-transaction check in f-ci to handle a pending rollback. check-in: 5b5d1f2030 user: stephan tags: trunk | |
05:29 | Merged an inadvertent fork. fsl_checkin_enqueue() can now accept its files as vfile.id values, eliminating a duplicate vfile check. check-in: 1d193a7055 user: stephan tags: trunk | |
04:26 | Removed an unnecessary #include. check-in: 681c930f1d user: stephan tags: trunk | |
2021-06-06
| ||
12:41 | Internal doc and spacing tweaks. check-in: 8015c8a698 user: stephan tags: trunk | |
07:30 | Removed some dead code. Minor internal doc touchups. check-in: 1fff00e7c7 user: stephan tags: trunk | |
2021-06-04
| ||
11:12 | f-tag now rejects tags starting with (sym-, wiki-, tkt-, event-), as those are used internally by fossil. check-in: 82b4bb88ac user: stephan tags: trunk | |
2021-06-01
| ||
03:45 | Minor var init order tweak to ease my mind about its handling in a particular error case. check-in: 7b792bd557 user: stephan tags: trunk | |
03:27 | Minor doc and char-to-bool touchups. check-in: b199e29d41 user: stephan tags: trunk | |
2021-05-31
| ||
02:08 | f-ci can now determine when it is passed names not known to the repo, as distinct from being passed names which refer to unchanged files, and fails with an error in that case. check-in: b53ba022ec user: stephan tags: trunk | |
2021-05-30
| ||
23:00 | Tiny internal cleanups. check-in: 20b912e015 user: stephan tags: trunk | |
03:23 | Added a harmlessly missing #undef. check-in: 36893a35c0 user: stephan tags: trunk | |
2021-05-29
| ||
22:39 | Ported in [https://fossil-scm.org/home/info/31113cd2b992cde3], which enables propagation of tags in wiki, technote, and forum posts. This change is not yet known to be 100% compatible with existing algos which may expect the plink table to only contain checkins. check-in: 0e159c2f67 user: stephan tags: trunk | |
2021-04-18
| ||
13:37 | When creating initial checkin for a repo, use ms precision for the D-card, instead of seconds precision. Do the same in f-test-ciwoco to avoid a slight time warp in the timeline caused by repo creation and the first checkin having the same timestamp. check-in: cc34c60a45 user: stephan tags: trunk | |
2021-04-17
| ||
10:06 | Added missing ticket schema when creating a new repo. check-in: 419990a788 user: stephan tags: trunk | |
05:58 | f-ci now runs in non-dry-mode by default (no longer needs the -y flag). check-in: a038536522 user: stephan tags: trunk | |
2021-04-16
| ||
16:24 | Added a negative test for the repo/checkout fingerprint check. check-in: 27433d3e1c user: stephan tags: trunk | |
16:17 | Implemented repo/checkout fingerprint check and added a check for it in f-status, f-timeline, and f-ci (failing fatally on a mismatch, instead of just warning like fossil does). We now update the fingerprint in the ckout db whenever we update the ckout version. We do not yet have an automatic recovery mechanism analog to fossil's vfile.c:vfile_rid_renumbering_event(). check-in: 8c9cf48702 user: stephan tags: trunk | |
14:32 | Inject a dummy rcvfrom entry when creating a new repo db in order to squelch the fingerprint-has-changed warning when fossil opens the db. check-in: 835d5a059b user: stephan tags: trunk | |
13:47 | Added a potential TODO to fcli's CLI processing. check-in: d549476263 user: stephan tags: trunk | |
2021-04-14
| ||
04:10 | Renamed fsl_cx_forbids_delta_manifests() to fsl_repo_forbids_delta_manifests() because it's really a repo-level setting. check-in: 755c059371 user: stephan tags: trunk | |
03:59 | Updated C++ and s2 bindings for recent API changes. check-in: b490766728 user: stephan tags: trunk | |
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 | |
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 | |
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 | |
03:35 | Moved a couple functions out of the public API. check-in: 40c2c455fc user: stephan tags: trunk | |
03:28 | f-parseparty now deletes tags related to things it's going to crosslink before it starts working. Added a missing transaction. check-in: dd742d955b user: stephan tags: trunk | |
2021-03-14
| ||
23:06 | Fixed a doxygen warning. check-in: 14b4e8590b user: stephan tags: trunk | |
21:23 | Moved some config-settings-related stuff out of the public API for the time being. check-in: 2c6c7eda48 user: stephan tags: trunk | |
16:00 | Minor doc touchups. check-in: 954e16e804 user: stephan tags: trunk | |
15:50 | Considerable hammering on the config db APIs to make handling of versionable settings work like the other modes. Eliminated the versionable-specific config get/set APIs. check-in: a2cd19f640 user: stephan tags: trunk | |
11:48 | Renamed fsl_repo_checkout_state::xState to extractState. check-in: 9c08a8a4ac user: stephan tags: trunk | |
2021-03-13
| ||
19:18 | Doc touchups and replaced a few stray %d refs with % FSL_ID_T_PFMT. (Pedantic, i know, but it might as well be done right.) check-in: 6cb2db9cf2 user: stephan tags: trunk | |
19:17 | R-card calculation now dies if it's asked to checksum a symlink, to avoid creating a potentially invalid R-card. (We don't do symlinks, and may never do them.) check-in: eb1693f394 user: stephan tags: trunk | |
19:14 | f-resolve now lists matching UUIDs when given an ambiguous prefix. Currently it lists all, regardless of type, but that's up for reconsideration. check-in: 434eee4149 user: stephan tags: trunk | |
18:55 | f-apps doc touchups. check-in: 451bd605b2 user: stephan tags: trunk | |
10:11 | Doc tweaks and minor struct member refactoring. check-in: f0c03038ff user: stephan tags: trunk | |
09:46 | Renamed an enum. Minor doc and formatting tweaks. check-in: efd3f4d510 user: stephan tags: trunk | |
08:16 | Brought fsl_vfile_scan_changes() up to date wrt fossil, improving its accuracy as well as speeding it up. Improved reporting via fsl_checkout_changes_visit() (i.e. f-status) results. Removed about 200 lines of dead vfile code. check-in: c77e85e259 user: stephan tags: trunk | |
06:17 | Minor fsl_cx_confirmer() API changes. Removed the extraneous xvfile temp table used by the checkout process and instead use a dual-versioned vfile table. check-in: e81048d148 user: stephan tags: trunk | |
05:27 | Several minor changes moving us slightly closer to be able to add update support. check-in: 1329430a6a user: stephan tags: trunk | |
05:22 | Added --timer flag to fcli to measure runtime from fcli_setup() until post-main() shutdown. check-in: 2d8c87e253 user: stephan tags: trunk | |
04:10 | Added total/current file counters to fsl_repo_extract_state so that clients can calculate progress percentage. check-in: 356da76d92 user: stephan tags: trunk | |
04:08 | Added s2.Buffer.sha3(). check-in: 44f7331517 user: stephan tags: trunk | |
01:12 | Updated f-s2sh.s2 init script for s2sh2 internals. check-in: 8d497fd57b user: stephan tags: trunk | |
01:09 | Swapped out f-s2sh's shell.c with shell2.c (s2sh2 instead of s2sh classic). check-in: e20cc9720f user: stephan tags: trunk | |
2021-03-12
| ||
19:56 | Commented out an assert which prohibits running f-sanity on a non-leaf build. check-in: f2f1612a0c user: stephan tags: trunk | |
19:32 | Merged in cx-scratchpad-rework. check-in: 178f36ed54 user: stephan tags: trunk | |
19:31 | The hashing routines were responsible for the unexpected buffer resizing, as they were explicitly resizing their output buffers to fit. Closed-Leaf check-in: 06f5974d60 user: stephan tags: cx-scratchpad-rework | |
17:28 | Added a new file which had gotten lost in local stash saves/pops. Removed now-incorrect assert(). check-in: 4b0a66807f user: stephan tags: cx-scratchpad-rework | |
17:26 | Completely reworked how fsl_cx manages scratch buffers but it's leading, rather inexplicably, to double the number of allocs and memory use in f-sanity. Checking in due to paranoia of losing this work. check-in: 01c1cff578 user: stephan tags: cx-scratchpad-rework | |
13:48 | Minor API renaming, for consistency. check-in: f2fc1f3efd user: stephan tags: trunk | |
13:47 | fsl_deck_parse() now silently skips over F-cards for which fsl_is_reserved_fn() returns true, as fossil does the same thing since late 2020. check-in: 520d31d80a user: stephan tags: trunk | |
13:06 | Moved some code around and renamed a struct member for consistency with similar structs. check-in: 9bd1cfea4b user: stephan tags: trunk | |
09:15 | Minor refactoring in prep for upcoming changes. check-in: 888cb5cc24 user: stephan tags: trunk | |
2021-03-11
| ||
23:05 | Doc updates. Changed default checkin deltaPolicy to 0. Corrected a falsehood about Chuck Norris. Refactored checkout's rm-empty-dirs bits into fsl_rm_empty_dirs(). Fixed mis-reset of fsl_checkout_file_add_opt::counts. Minor malloc optimization in the post-checkout file removal bits. check-in: fd313baef4 user: stephan tags: trunk | |
18:56 | Minor doc updates and added a couple TODOs related removing now-unmanaged files after an rm op. check-in: 419099b063 user: stephan tags: trunk | |
18:15 | Ported f-add's dir-recursion and ignore-glob capabilities into fsl_checkout_file_add() and expanded that function's feature/option set considerably. check-in: 61d3e64e6f user: stephan tags: trunk | |
15:29 | Added fsl_deck_clean2(). Minor iprovements in f-parseparty, most notably to run the leaf rebuild after crosslinking checkins and/or tags, to avoid having (only sometimes) incorrect is-leaf markings (the reason why that happens, and whether it's an actual mistake or a side-effect of unfortunate parse ordering) is unclear). Other trivial internal cleanups. check-in: 6bdb294442 user: stephan tags: trunk | |
03:58 | Minor doc touchups and char-to-bool conversions. check-in: 8a393e5255 user: stephan tags: trunk | |
03:57 | Updated s2 binding for the fsl_deck::F2==>F refactoring. check-in: c7702424bd user: stephan tags: trunk | |
2021-03-10
| ||
17:36 | Minor fcli API usage modernization. check-in: c04ce8aaf1 user: stephan tags: trunk | |
17:00 | Minor doc/help text cleanups. check-in: 801690e98c user: stephan tags: trunk | |
16:41 | Refactored fsl_dircrawl_f() to take a fsl_dircrawl_state struct as an argument and added current recursion depth to the passed-on state. check-in: 4a70a0dd17 user: stephan tags: trunk | |
15:47 | Added fsl_dircrawl() for recursively crawling directories and added recursive dir and ignore-glob support to f-add. fsl_buffer_reuse() now returns its argument. check-in: c1199e807f user: stephan tags: trunk | |
15:41 | If fcli_end_of_main() sees that there is a non-0 result code but no message, it synthesizes a message. check-in: 86350ecd42 user: stephan tags: trunk | |
12:42 | Ported in upstream fix [fossil:b491c196c23ec4a240f4]. check-in: 2706788d19 user: stephan tags: trunk | |
08:54 | Corrected missing +x bit in manifests broken in the F-card refactoring. check-in: d0d4c78fb2 user: stephan tags: trunk | |
08:32 | Merged in f-card-array branch. Not the huge performance win i was hoping for but an overall win. check-in: 0626035798 user: stephan tags: trunk | |
08:25 | Renamed the 'F2' F-card temporary porting name back to F. Closed-Leaf check-in: 63e886fff0 user: stephan tags: f-card-array | |
08:06 | New F-card list model is working but the savings for it are underwhelming to say the least. At most, 10-15% alloc count savings on f-parseparty runs, with a slightly higher RAM total. Disabled delta checksum self-test, as it's a big time hit and fossil also disables that by default. (Edit: but this changes cuts the time needed for f-parseparty to process the core fossil repo by a bit more than half. It's still dog slow compared to a fossil rebuild, though.) check-in: 2440c84b01 user: stephan tags: f-card-array | |
06:20 | Lib compiles now but the f-apps, and maybe the other language bindings, are still out of date. Lol - that means i can't check this in with f-ci. check-in: e484d5f96e user: stephan tags: f-card-array | |
06:02 | Initial work on refactoring fsl_deck::F from an array of pointers to an array of objects to speed up (potentially drastically) artifact parsing by cutting F-card (de)allocations by 99% or more. Does not yet compile. check-in: 725c13c0d0 user: stephan tags: f-card-array | |
2021-03-09
| ||
14:03 | Fixed a memleak in f-tag. Added --tag flag to f-ci. Tightened validation of tags at output-time (as opposed to parse-time) such that it is no longer legal to add the same tag name/target combination twice in the same artifact, even if they have different types (add/cancel/propagate). check-in: 200bddbb8a user: stephan tags: trunk | |
06:30 | Added a flag to tell fsl_checkin_commit() whether or not to scan vfile for changes, analog to the same option in fsl_repo_checkout(). A few char-to-bool conversions. check-in: 3bff6c7de8 user: stephan tags: trunk | |
06:06 | Merged in confirmer-co branch. check-in: 28bcebca4e user: stephan tags: trunk | |
06:04 | Re-added inadvertently-removed Makefile.in. Closed-Leaf check-in: 9261998d3b user: stephan tags: confirmer-co | |
06:01 | Minor confirmer cleanups and docs. check-in: d58d30707f user: stephan tags: confirmer-co | |
05:17 | It seems we just about have the confirmer bits working for f-co. Had to change the semantics of --keep, but the older semantics feel really weird. Needs a bit more testing. check-in: ed0fa2b56a user: stephan tags: confirmer-co | |
01:22 | Fixed a couple broken error checks. f-co --quiet --verbose now lists only files which actually changed, rather than all files. check-in: 85113ee198 user: stephan tags: confirmer-co | |
01:07 | Removed a stale historical java file. check-in: ba65bbe94e user: stephan tags: confirmer-co | |
00:13 | Minor tweaks of the confirmer bits. check-in: 13fb58bfdd user: stephan tags: confirmer-co | |
2021-03-08
| ||
23:55 | Minor cosmetic cleanups. check-in: ce584dc03b user: stephan tags: confirmer-co | |
23:42 | Optimizations in fsl_repo_checkout() to reduce fsl_content_get() calls, only writing files which vfile says have changed. Cuts alloc counts by approx. 3-4x and memory cost by 5-8x in basic tests. f-co now has a blank status square for files which were not modified, to make it easier to spot the real changes. check-in: 735e9e32ab user: stephan tags: confirmer-co | |
19:36 | Initial work on integrating fsl_cx_confirm() with the checkout process. It basically seems to work but has several notable TODOs and FIXMEs. check-in: 6dd8166303 user: stephan tags: confirmer-co | |
15:59 | Improved, hopefully, the auto.def check for C99 by looking for __STDC_VERSION__. check-in: 05ec494ec4 user: stephan tags: trunk | |
15:14 | Seem to have fixed the broken merge handling in checkin. Caused by prematurely clearing out the vmerge table. check-in: 96b46cc3f0 user: stephan tags: trunk | |
13:50 | Merged inadvertent fork from remote BSD box. Edit: BUG: f-checkin did not close the merged-in branch, despite merging with --integrate. It did clear the vmerge table, though. Edit: fixed in [96b46cc3f0]. check-in: f4ef8f360f user: stephan tags: trunk | |
13:48 | auto.def: iconv test failure is no longer fatal, per auto.def in fossil. Closed-Leaf check-in: 60b9efa18b user: stephan tags: trunk | |
13:23 | Renamed FSL_CANSWER_xxx to FSL_CRESPONSE_xxx. Changed some queries from cached to non-cached. Added /*__func__()*/ to the end of many queries to make them easy to track down via sqlite trace output. check-in: c8b25fe30f user: stephan tags: trunk | |
11:14 | Initial go at a new interactive confirmation API (not yet connected to checkout op). Removed a functionally-duplicated API. Added __func__() to some cached SQL statements in order to simplify tracking their origin (though this keeps those statements from being reused across multiple functions). check-in: 9a6bb6834f user: stephan tags: trunk | |
03:49 | Internal tweaking of the removed-from-checkout file deletion bits. check-in: 3ebdc1dfba user: stephan tags: trunk | |
03:48 | Resolved an intermittently flaky sanity check which relied on specific timing. Added a couple fsl_cx_stat2() tests. check-in: e6cab89089 user: stephan tags: trunk | |
03:26 | Sped up fsl_is_locally_modified() for the common case by adding a file-size comparison before falling back to hash comparison. check-in: 53fb496dc8 user: stephan tags: trunk | |
2021-03-07
| ||
16:55 | Added f-co to f-apps/index.md. check-in: 3a1a1c8dfa user: stephan tags: trunk | |
16:49 | Minor internal cleanups. check-in: 7666cd3214 user: stephan tags: trunk | |
14:37 | Added FSL_RC_CONFLICT. Checking process now detects merge conflict markers and fails if fsl_checkin_opt::allowMergeConflict is false (which it is by default). Added f-ci --allow-merge-conflict flag. Removed what seems to be a superfluous db update in the checkout process. check-in: b5479cc3c6 user: stephan tags: trunk | |
13:40 | Removed dead code. check-in: 26e2c2a962 user: stephan tags: trunk | |
13:00 | Removed more long-since-unmaintained tcl/jni files. check-in: 94f38d439f user: stephan tags: trunk | |
12:40 | Memleak fix. check-in: 1c829de1f1 user: stephan tags: trunk | |
12:35 | Implemented f-co --manifest. check-in: 91a9c30303 user: stephan tags: trunk | |
11:48 | Null pointer deref fix. check-in: 91aa67ba47 user: stephan tags: trunk | |
11:40 | Removed dangling bits left over from the previous commit. check-in: 23a5dfe46a user: stephan tags: trunk | |
11:06 | Removed the vtables for the fossil config settings handling. They're long-since unmaintained and the library is no longer going to enforce the fossil-specific list of config options. check-in: 3f606ecdf0 user: stephan tags: trunk | |
10:55 | Minor doc cleanups and API renaming. check-in: 8425dbc02c user: stephan tags: trunk | |
10:34 | Added --save flag to f-mfparse to store the deck into the repo. That was used to stuff a hand-crafted mass-closing control artifact into fossil: [https://fossil-scm.org/home/info/2e525856ec57bb9f]. Don't try that at home, please. check-in: 198dabd041 user: stephan tags: trunk | |
09:43 | Renamed a cryptically-named struct member from fc to fCard. check-in: ae428e47b0 user: stephan tags: trunk | |
08:48 | Moved some f-ci always-output into verbose-only output, which coincidentally uncovered... Fixed the duplicate crosslinking which was being performed via fsl_checkin_commit() and made fsl_deck_save() change how it crosslinks depending on whether fsl_crosslink_begin() is active, which (in turn) fixed the fsl_repo_has_mlink_mid() discrepancy vis a vis fossil for checkin crosslinking. check-in: 0c3df4194e user: stephan tags: trunk | |
08:27 | Replaced Q-card magic values with an enum. check-in: b81f4c29c9 user: stephan tags: trunk | |
2021-03-06
| ||
17:35 | fsl_checkout_changes_visit() now treats a callback return of FSL_RC_BREAK like most iteration API do. Doc touchups. check-in: 0bdf51b375 user: stephan tags: trunk | |
16:27 | Improved handling of deleted-by-checkin files via fsl_repo_checkout() and their reporting via f-co. check-in: 038cd076ae user: stephan tags: trunk | |
11:29 | fsl_repo_checkout() deletion of empty dirs now walks up parent dirs to catch those strays left over by the previous commit. To see this in action, do (f-co tip) then (f-co rid:1), which should leave an empty dir except for .fslckout. check-in: 6c174db6f3 user: stephan tags: trunk | |
11:06 | fsl_repo_checkout(), when removing leftover files, now tries to prune empty dirs. It does not catch dirs which themselves contain no files (contain only other dirs), as vfile has no entry for such dirs. Solving that requires more dir name slicing-up. check-in: 682c42c3a9 user: stephan tags: trunk | |
2021-03-05
| ||
07:52 | fsl_content_put_ex() automatically rejects any blobs over a certain size (close to 2GB) for compatibility with fossil, which has a hard-coded limit of 2GB via its use of int-sized numbers for all ranges and access to blobs. fsl_buffers may exceed that, but such blobs may not be put into the db, lest we add something to the repo which will cause on OOM error for fossil. check-in: 633bf431cd user: stephan tags: trunk | |
07:43 | More char-to-bool conversions. Moved fsl_stmt_bind_fmt() into the public API and added a basic test for it. check-in: d386e0d741 user: stephan tags: trunk | |
06:00 | f-open and f-co now (mostly) honor --quiet. f-co now deletes files which removed between the original and target checkin unless the --no-rm flag is used. f-co cowardly refuses to check out the same version over itself. BUG: i have seen a few instances where the vvar 'checkout' setting disappears, leading to later app calls saying it's 'not a checkout', but have yet to pin down the origin. check-in: da6bcc64ba user: stephan tags: trunk | |
05:58 | fcli now rolls back any active transaction when it shuts down. check-in: bc58934765 user: stephan tags: trunk | |
05:14 | Removed some unused files (coincidentally need deletions for testing). check-in: 0dcf7291aa user: stephan tags: trunk | |
04:51 | Notes and assertions about F-card traversal not including F-cards with a NULL UUID (indicating that they were deleted in a delta manifest). check-in: 30b1a2435b user: stephan tags: trunk | |
04:29 | More tinkering with the f-co/f-open-related infrastructure. check-in: 13194b49eb user: stephan tags: trunk | |
04:28 | Added schema names to the various pragma SCHEMA.application_id calls. check-in: 5844dc0eeb user: stephan tags: trunk | |
01:01 | Added dry-run mode to fsl_repo_checkout(). Minor cleanups in f-open and f-co. check-in: f54d7ff201 user: stephan tags: trunk | |
00:07 | Got f-co working, but am not sure that the --keep semantics are useful. More refactoring in/around f-open and f-co. check-in: eeb7706e6e user: stephan tags: trunk | |
2021-03-04
| ||
22:46 | Refactored fsl_repo_checkout() to take a different options type and callback, and provided that callback with more interesting state. Restored f-open functionally which was disabled due to the lack of that state. check-in: ea7a0da420 user: stephan tags: trunk | |
21:26 | Upstream s2 fixes for clang warnings (one of which is absolutely bogus). check-in: d3e363479c user: stephan tags: trunk | |
21:16 | Updated C++ binding for API changes. check-in: 0c114ca6be user: stephan tags: trunk | |
21:07 | Started factoring the extract-to-checkout code from f-open into lib-level fsl_repo_checkout(). This loses a feature or two which will have to be reworked into the lib API but it seems to work. check-in: 5fd71c1b87 user: stephan tags: trunk | |
19:29 | Renamed fsl_repo_open_opt to the unfortunately verbose fsl_repo_open_checkout_opt to avoid confusion about the options being for fsl_repo_open() (which they're not). Fixed chdir()-back behavior in fsl_repo_open_checkout() when opt->targetDir is NULL. check-in: ea0bfdc56d user: stephan tags: trunk | |
19:12 | fsl_repo_open_checkout() now chdir's back to its starting directory. check-in: fb7e54a710 user: stephan tags: trunk | |
19:06 | Minor API tweaks. Corrected --setmtime handling of f-open (broken by my refactoring). check-in: 3e996ceab5 user: stephan tags: trunk | |
18:24 | Renamed f-checkin to f-ci and f-checkout to f-co because the tab-completion conflicts are getting annoying :/. check-in: 932ec8ad51 user: stephan tags: trunk | |
18:19 | Refactored fsl_repo_extract() to take a struct and added an option to specify whether or not the file content should be extracted. Fixed fsl_mkdir_for_file() for 1-letter filenames. check-in: 0e31c5674e user: stephan tags: trunk | |
17:45 | f-open: removed unnecessary content load and added some library-level functions to help streamline transaction handling. check-in: 5c988bf424 user: stephan tags: trunk | |
16:54 | Added fsl_file_exec_set() and changed f-open to use it for setting the +x bit. check-in: e57eeac51e user: stephan tags: trunk | |
15:12 | Minor internal cleanups. Corrected hash handling of fsl_repo_import_blob(). check-in: 5e448f56bb user: stephan tags: trunk | |
14:27 | Added FSL_RC_MISSING_INFO. Minor internal doc cleanups and API result value changes. Reworked how fsl_cx_hash_buffer() returns when its alternative hash option conflicts with the current hash policy. check-in: d1428d5a93 user: stephan tags: trunk | |
12:28 | Numerous cleanups and fixes in/around the infrastructure used by f-open. check-in: b67129bbb9 user: stephan tags: trunk | |
12:03 | Removed the 2nd part of the system-level sqlite3 check. check-in: 191ba4272e user: stephan tags: trunk | |
11:22 | Added f-open to the f-apps list. check-in: b0f07b73c9 user: stephan tags: trunk | |
10:29 | Removed unused (and unplanned) option from the configure script for using a system-level libsqlite. check-in: e44b5a8c2c user: stephan tags: trunk | |
2021-03-03
| ||
17:11 | Tinkering with the fcli_command help bits. check-in: 8dfc562e7c user: stephan tags: trunk | |
16:44 | Restored f-sanity's -1 flag. check-in: 9fc41dba87 user: stephan tags: trunk | |
16:41 | Renamed fsl_path API to fsl_vpath to avoid any confusion with fsl_pathfinder. check-in: a8d1262cc1 user: stephan tags: trunk | |
11:42 | Renamed fsl_buffer_reset() to fsl_buffer_reuse() to try to reduce the confusion between its semantics contrasted with fsl_buffer_clear(). check-in: 0584c1b6e2 user: stephan tags: trunk | |
11:36 | Added missing change-type values to fsl_checkout_changes_visit(), which could have triggered an assert(), and replaced the assert() with debug output which warns of the mismatch. check-in: eaaffd743b user: stephan tags: trunk | |
09:27 | When creating a new checkout db via fsl_repo_open_checkout() we write default checkout=0, checkout-hash=NULL values so that downstream code does not see this as a non-repo when it cannot find those. check-in: e8b25ce3bc user: stephan tags: trunk | |
08:38 | Lots of bending and hammering related to smoothing out f-open. There's still an issue when opening an empty checkout (it's seen as not a checkout by other apps), but that's on the to-fix list. check-in: 2a04a6818c user: stephan tags: trunk | |
2021-03-02
| ||
14:47 | Merged in open-ckout-wip. Corrected a broken assumption/assertion combination trigged by fsl_deck_R_set(). check-in: 6ce13d2392 user: stephan tags: trunk | |
14:00 | Replaced an internal-data use with a public API call. Closed-Leaf check-in: df215ddcb5 user: stephan tags: open-ckout-wip | |
12:39 | Setting config vars in repo.config now sets the mtime to now(). check-in: ac329b2eed user: stephan tags: open-ckout-wip | |
11:53 | Replaced hard tabs. Fixed corrupted dir name (uninitialized var). check-in: 4216a1dcd3 user: stephan tags: open-ckout-wip | |
10:32 | A round of minor cleanups in getting f-open working for me. Time for a break, though. check-in: ba432bca3a user: stephan tags: open-ckout-wip | |
09:48 | Remove an unneeded(?) parameter from fsl_vfile_load_from_rid(). check-in: 0ba7388df1 user: stephan tags: open-ckout-wip | |
09:18 | Temporary workarounds for set-but-not-yet-used var warnings. check-in: 06f1db287f user: stephan tags: open-ckout-wip | |
08:49 | Implement f-open and f-checkout roughly ported from db.c::cmd_open() and checkout.c::checkout_cmd() in Fossil using a draft implementation of the fsl_repo_open_checkout API designed by Stephan. This is a work in progress and is missing a few critical pieces but will open and checkout a given repository. Only tested on OpenBSD and macOS and may not work on Windows yet. check-in: 4897fa7285 user: mark tags: open-ckout-wip | |
08:41 | Minor doc improvement. check-in: 3c7f48ce4d user: stephan tags: trunk | |
2021-03-01
| ||
16:21 | Arguably a typo fix in the new header. Thank goodness for stream editors. check-in: 386316db07 user: stephan tags: trunk | |
15:46 | Replaced the overwhelming majority of license headers with the new project-standard one. Left a few as they were for files which were imported essentially unchanged from Fossil or, in the case of SHA1/SHA3/MD5 bits, other 3rd-party sources. check-in: fa5fb24496 user: stephan tags: trunk | |
14:27 | Resolved an API inconsistency between fsl_is_reserved_fn() and fsl_is_reserved_fn_windows(). check-in: f8b6945191 user: stephan tags: trunk | |
13:45 | Renamed FCliCommand to fcli_command for consistency's sake. check-in: 92aa86396d user: stephan tags: trunk | |
12:31 | Improved the checkin-to-closed-leaf check to allow checkin if the branch would change. Ported in the reserved filename checks, so that 'add' ops will fail if the user adds a filename which is illegal. check-in: 2d90220116 user: stephan tags: trunk | |
07:57 | Corrected the sameLine() merge-internal algo, so merge collisions are now detected. Minor internal merge/merge-adjacent cleanups. check-in: ecfc36587c user: stephan tags: trunk | |
04:59 | Ported in 3-way-merge algo and first test runs :-D. Time for a break. check-in: 64c2d4a752 user: stephan tags: trunk | |
2021-02-28
| ||
17:10 | Started porting in fossil's merge algorithm. It looks like the support algos are all in place, just the main merge is missing. First some sleep, though. check-in: 2cfc9d6ae9 user: stephan tags: trunk | |
11:49 | Removed the superfluous length parameter from fsl_deck_U_set(). check-in: 908a2d314c user: stephan tags: trunk | |
11:33 | API doc touchups. check-in: f27c0b7c9c user: stephan tags: trunk | |
10:58 | Consolidated some duplicate fcli init code. Added help support for FCliCommand, such that if the first argument after the command name is 'help' and it has fcli_cliflags set then the help for just that command is invoked. e.g. (f-wiki ls help) shows just the help for the ls command. check-in: 163c5ac4b8 user: stephan tags: trunk | |
09:50 | Reworked the fcli flag handling to accept and convert a range of flag types. It requires some pointer care on the user's part but is far more flexible. check-in: fa7c45e1ef user: stephan tags: trunk | |
08:30 | Minor doc tweaks. check-in: 952718f17b user: stephan tags: trunk | |
08:23 | Removed obsolete/unmaintained f-apps/msvcXX bits. check-in: bdebba49fb user: stephan tags: trunk | |
08:13 | Changed how fcli handles verbose help mode (multiple -? act like higher verbosity levels). Improved catching/reporting of flags which require a value but don't get one (lol, which breaks f-checking -d -). Added f-_template.c for use as a copy/paste basis for new f-apps. check-in: 41295403c0 user: stephan tags: trunk | |
06:34 | Removed obsolete/unmaintained file. check-in: 3457a265b4 user: stephan tags: trunk | |
04:57 | fcli now uses its own FCLI_RC_HELP, instead of hijacking FSL_RC_BREAK, to indicate that --help was triggered. check-in: d0edf4583f user: stephan tags: trunk | |
04:22 | Update to newer fossil-scm canonical home URL and change some SHA1-specific doc references. check-in: 0a36473e4c user: stephan tags: trunk | |
04:15 | Generic cleanups, char-to-bool conversions. Moved fsl_acache bits into their own file. Shrunk a couple of struct sizes. check-in: 7c8b025221 user: stephan tags: trunk | |
02:50 | Fixed a couple uninitialized flags which led to unpredictable output, reported by Mark. check-in: 45afc881bd user: stephan tags: trunk | |
02:50 | Removed 'required' flag from fcli_cliflag (it was particularly useless with boolean flags). check-in: 19fce623c4 user: stephan tags: trunk | |
2021-02-27
| ||
14:29 | Finished porting the f-apps to the new CLI handling bits. Replaced fcli::appHelp with what was formerly fcli::appHelp2. check-in: ca464b5b74 user: stephan tags: trunk | |
13:13 | More fcli CLI reworking. Renamed FossilCommand to FCliCommand and expanded it with a CLI flags array for command-specific flags dispatching and unifying help text generation for command-driven apps like f-wiki and f-config. check-in: 36bb349a93 user: stephan tags: trunk | |
12:04 | Ported f-wiki to the new CLI flags mechanism and extended the fcli public API a bit to be able to support command-dispatch-style apps like f-wiki. check-in: 97a2679fd1 user: stephan tags: trunk | |
11:06 | Doc additions and removed some dead code. check-in: 14ba664742 user: stephan tags: trunk | |
10:59 | f-timeline ported to new CLI flag handling. check-in: 62eb079a3c user: stephan tags: trunk | |
10:43 | More CLI flags handling changes. Completely re-did how f-tag handles its arguments. fcli --help now only shows global options when using --verbose. check-in: 75e5fd2467 user: stephan tags: trunk | |
07:51 | Ported f-query to the new CLI flag bits. check-in: 9d212daff6 user: stephan tags: trunk | |
07:08 | More CLI flag subsystem porting and license header swapping. check-in: c94a3b0d0e user: stephan tags: trunk | |
06:56 | More CLI flag subsystem porting. check-in: 96957a63d7 user: stephan tags: trunk | |
06:38 | More f-apps ported to the new CLI flag handling bits. check-in: 296776c72b user: stephan tags: trunk | |
06:05 | More work on the new fcli flags infrastructure. check-in: 6865f151f9 user: stephan tags: trunk | |
05:17 | Fixed checkin merge integration, hashing of decks when saving (was hard-coded to SHA1), and improved determination of which hash policy to use based on the hash-property config setting. check-in: 65b9309997 user: stephan tags: trunk | |
04:21 | Remove unneeded error check for fsl_buffer_reset() as it's infallible in this call. check-in: 46bbae2d88 user: mark tags: trunk | |
03:59 | Merging in fcli-flag-rework branch. It's not complete but it's at a point where we can use both the old and new worlds at the same time while porting. Edit: bug: f-checkin did not close the branch we merged in with --integrate. check-in: 3288acfcbc user: stephan tags: trunk | |
03:51 | Fixed a broken cross-enum assignment discovered by Mark and his magical clang compiler. check-in: 3b50decca1 user: stephan tags: trunk | |
03:45 | Removed an obsolete comment. Closed-Leaf check-in: 9febfd3aa1 user: stephan tags: fcli-flag-rework | |
2021-02-26
| ||
19:49 | Found the source of the stale merge state in a large comment block. check-in: 74eabd1b76 user: stephan tags: fcli-flag-rework | |
19:32 | Cherrpick [fc686465edb52] for testing (after fixing a stray comma in a variadic call). Edit: worked but we still have the stale local cherrypick status. FIXME after some sleep. check-in: fedefaad44 user: stephan tags: fcli-flag-rework | |
19:26 | Brought the merge parts of the checkin logic up to date wrt fossil. Need to branch this in order to test it sensibly, though. Closed-Leaf check-in: fc686465ed user: stephan tags: checkin-merge-update | |
18:54 | More porting to the newer fcli flags handling. check-in: f46b535eaa user: stephan tags: fcli-flag-rework | |
17:44 | Tiny cleanup to the previous commit. check-in: b91a8cb985 user: stephan tags: fcli-flag-rework | |
17:36 | More work on the CLI flag handling. Time for a break. check-in: fba3a91a5a user: stephan tags: fcli-flag-rework | |
17:02 | Cherrypicked [5c04ab3a23]. Let's see if f-checkin can handle this properly. Edit: bug - the checkin worked but the cherrypick status is still recorded and active for the next checkin. check-in: 0a7bf91fba user: stephan tags: fcli-flag-rework | |
16:47 | More work on the fcli argument handling rewrite. check-in: 490b7ab32e user: stephan tags: fcli-flag-rework | |
14:39 | Fix bug that unnecessarily resizes buffer resulting in incorrect b->used for SHA3 hash length checks. check-in: 5c04ab3a23 user: mark tags: trunk | |
14:04 | Reworking how fcli flag handling is done. check-in: dad2f76f30 user: stephan tags: fcli-flag-rework | |
13:10 | Removed leftover VC6 projects files. check-in: 6585894b76 user: stephan tags: trunk | |
06:03 | Some doc touchups, enum renaming, and removed some dead code. check-in: 473fd8718c user: stephan tags: trunk | |
04:57 | A workaround for the plink count mismatch between libf/fossil crosslinking. This gets the plink counts correct (fixing fossil's ability to run 'blame'), but why this workaround is needed is unclear. A couple char-to-bool API conversions. check-in: a9332967a7 user: stephan tags: trunk | |
2021-02-25
| ||
10:14 | Removed a TODO and applied upstream change [fossil:dad521bb06757a7f]. check-in: 998358d8fe user: stephan tags: trunk | |
08:25 | Renamed another enum. check-in: 9470d94b1b user: stephan tags: trunk | |
08:22 | Some API renaming. Modified how fsl_deck_parse() determines the deck's RID/UUID. Introduced fsl_repo_blob_lookup(). check-in: 467b9e1c18 user: stephan tags: trunk | |
07:14 | Removed fossil-content.h - was logically removed a week or so ago. check-in: 95a93ff3b3 user: stephan tags: trunk | |
02:48 | Removed some dead code. check-in: b024494e7e user: stephan tags: trunk | |
2021-02-24
| ||
20:41 | Removed a now-incorrect comment. check-in: ce331bf419 user: stephan tags: trunk | |
19:34 | fsl_appendf() %j now emits "null" (always without quotes) when passed a NULL pointer. check-in: b1e8da4fa7 user: stephan tags: trunk | |
09:28 | Removed some dead code. Added %j (JSON string) encoding to fsl_appendf() using a streaming approach (no allocation). check-in: a008179c2d user: stephan tags: trunk | |
06:00 | f-timeline: renamed event to technote. check-in: ab9b5ace37 user: stephan tags: trunk | |
05:42 | Renamed enum fsl_file_perm_t to fsl_fileperm_e and fsl_rc_t to fsl_rc_e. check-in: eb5c621f98 user: stephan tags: trunk | |
05:38 | Minor internal cleanups in the crosslinking code. check-in: adefc301a3 user: stephan tags: trunk | |
04:04 | Brought checkin crosslinking up to date wrt fossil (whew) and it appears to work: deleting the mlink/plink entries and running f-parseparty -c seems to do the right thing. Fixed a couple mis-handled cases of cherrypick crosslinking and mis-setting of the fsl_card_Q::type field in fsl_deck_parse(). check-in: 4dde2be3b0 user: stephan tags: trunk | |
00:03 | Removed some C99-related config options which are no longer needed since we require C99. check-in: 9ffc72c6a3 user: stephan tags: trunk | |
2021-02-23
| ||
23:55 | Internal doc tweaks. check-in: c7e7b6cf73 user: stephan tags: trunk | |
19:45 | Hardened deck validation for certain special cases, in particular at output-time. check-in: a392b75868 user: stephan tags: trunk | |
18:09 | Internal doc/#if block cleanups. Stop checking for NULL deck arguments on fsl_deck_XXX() APIs. Changed error code for a few deck-related cases. check-in: 2896b543be user: stephan tags: trunk | |
2021-02-22
| ||
05:21 | Moved [DbFunctions] wiki page to an embedded doc. check-in: abdf234a5c user: stephan tags: trunk | |
05:20 | More char-to-bool conversions. check-in: 6360bb6d8f user: stephan tags: trunk | |
04:53 | Removed an extraneous #undef and an unused #define. check-in: beaad1d76d user: stephan tags: trunk | |
04:41 | As a precaution against changes made in [7800a90d1699] and [ddf4ac0df508], fsl_content_deltify() is now explicity a no-op if asked to deltify a phantom. check-in: 3affea2904 user: stephan tags: trunk | |
03:48 | Added new file missing from [5a3d4bceb3] and enabled search index updates during crosslinking: the mysterious 'SQL logic error' message disappeared after a bit of table-dropping and rebuilding. check-in: 4cbbf66211 user: stephan tags: trunk | |
03:35 | Renamed fsl_phantom_t to fsl_phantom_e. check-in: 4880e2e2ac user: stephan tags: trunk | |
03:34 | Technote counterpart fix of [7800a90d16]. check-in: ddf4ac0df5 user: stephan tags: trunk | |
03:12 | Fixed upstream bug [fossil:ecb705359a58ac32]. check-in: 7800a90d16 user: stephan tags: trunk | |
2021-02-21
| ||
21:06 | Tinkering with the C++ Deck-to-fsl_deck conversion operator signatures. check-in: e0e62d6f21 user: stephan tags: trunk | |
19:07 | Removed an unused var. check-in: f4e8a2184d user: stephan tags: trunk | |
18:27 | More enum type renaming. Updated C++/s2 bindings for other recent renamings. check-in: 9c1abb2e95 user: stephan tags: trunk | |
18:12 | When reparenting, fail if the given artifact type may not have a P-card. check-in: 1278c47f0a user: stephan tags: trunk | |
17:56 | Ported over the crosslinking bits which reparent artifacts via the 'parent' tag. check-in: e7e12b008d user: stephan tags: trunk | |
16:52 | Ported in fsl_search_doc_touch() from fossil and call it at the appropriate points in the crosslinking steps, but it's disabled because one of the queries mysteriously fails with 'SQL logic error' when run from this context (but works fine in the fossil shell). Some more char-to-bool conversions. check-in: 5a3d4bceb3 user: stephan tags: trunk | |
15:58 | Removed libfossil-DS201x.* project files (MSVC?) because they're out of date and long-since unmaintained. check-in: ce3338ffd3 user: stephan tags: trunk | |
15:10 | Renamed FSL_CATYPE... (CA=Control Artifact) to FSL_SATYPE... (SA=Structural Artifact) so that they correspond to the terms as set out by the fossil file format docs. check-in: 8728796601 user: stephan tags: trunk | |
2021-02-19
| ||
00:05 | Ported in post-dephantomization bits, but they are untested for lack of phantoms (which generally only appear via the sync process). check-in: 2ab8c86b3d user: stephan tags: trunk | |
2021-02-18
| ||
05:11 | Replaced the extraneous fsl_double_t typedef with double. check-in: b359548620 user: stephan tags: trunk | |
2021-02-17
| ||
19:43 | Doc additions concerning overriding timeline comment text during crosslinking. Added support for the C-card for wiki timeline updates (noting that that card is never emitted for wiki artifacts by fossil, though it does permit them). check-in: edaf56e488 user: stephan tags: trunk | |
03:16 | Replaced a stale fossil-wiki-format link with a markdown one. check-in: fcfc2ae105 user: stephan tags: trunk | |
2021-02-15
| ||
19:44 | Added FSL_CATYPE_BRANCH_START artifact pseudo-type to give fsl_sym_to_rid() a way to report the start of a branch rather than its most recent RID, in order to match a feature from the main fossil repo (which appears to be unused, but better safe than sorry). check-in: 128adb8515 user: stephan tags: trunk | |
19:16 | Resolved (haha) issue with the last round of sym-to-rid updates which left 'trunk' unresolvable. check-in: ae343e941c user: stephan tags: trunk | |
18:38 | Updated the symbolic-name-to-rid code to bring it more in line with fossil's and ported in some closely-related behaviors. check-in: 55f8d321d2 user: stephan tags: trunk | |
04:13 | Renamed mf.c (mf==manifest) to deck.c. check-in: 799c43f9c5 user: stephan tags: trunk | |
04:11 | Fixed the unsetting of the B-card on a manifest when the checkin processes decides that it's not useful as a delta manifest and switches to a baseline manifest. Bug was in the B-card unsetter logic. check-in: 4a015bdd47 user: stephan tags: trunk | |
03:24 | Renamed src/fsl_XYZ.c to src/XYZ.c. f-checkin vfile dump now includes renames. check-in: ed3183170a user: stephan tags: trunk | |
00:21 | Reimplemented fsl_config_file_reset() to account for schema prefixes. fsl_file_size() now returns type fsl_int_t instead of fsl_size_t, to simplify the -1-on-error return checking. Added fsl_config_global_preferred_name(), which performs the global config file lookup algo used by fossil, and changed fsl_config_open() to use that. check-in: 8837671e83 user: stephan tags: trunk | |
2021-02-14
| ||
13:17 | Sorted out the broken autosetup: apparently autosetup removed its lib/ in some version, moving those files up one dir, and i didn't notice when upgrading. check-in: 9bc3eb88ca user: stephan tags: trunk | |
13:14 | Again autosetup-test-tclsh +x bit: fossil is creating a checkin for this but is not including this file. Seems to be that permissions-only changes, though recognized by status, are causing the checkin to not be build properly. Forced a change in that file to force fossil to add it this time. check-in: 67eed95e19 user: stephan tags: trunk | |
13:10 | autosetup-test-tclsh +x bit again. (Wha?) check-in: d793563cae user: stephan tags: trunk | |
12:36 | Started replacing some of the char-as-bool with C99 bool. check-in: 4da3578966 user: stephan tags: trunk | |
02:41 | Added f-parseparty --skip-unknown flag and have crosslink failure honor the fail-fast setting. check-in: a8af06d834 user: stephan tags: trunk | |
02:26 | Improved (slightly) an error report when crosslinking a checkin fails because the content for the P-card artifact cannot be found or is a phantom. check-in: 88947dfafc user: stephan tags: trunk | |
01:38 | Renamed fsl_tag_rid() to fsl_tag_an_rid() to help avoid confusion with fsl_tag_id(), which does something much different. Split the crosslinkers into core/timeline-update bits. Fixed a reallocation bug in the crosslink callback list. Added --crosslink option to f-parseparty. Enabled output of empty P-card on checkin manifests with no parents (initial checkin) to please f-mfparse tests (empty P's are harmless, just slightly unsightly). check-in: 63893e6c12 user: stephan tags: trunk | |
01:34 | Minor build tweaks. check-in: 06aac2e747 user: stephan tags: trunk | |
2021-02-13
| ||
23:44 | Minkering/testing with replacing the checkin timeline crosslinker. Moved some code around. check-in: c42cfd8c10 user: stephan tags: trunk | |
23:43 | Corrected f-checkin's vfile dump to only include changed files. check-in: 345ab3e1c1 user: stephan tags: trunk | |
21:49 | Changed crosslink listener interface and started porting the parts which update the timeline into user-overrideable listeners, which will allow clients to 100% customize timeline content without having to deal with the rest of the crosslinking schema updates. Honor fossil's forbid-delta-manifests setting. Fixed fsl_deck_output() usage in f-apps, as called for by previous commit [ac9b034f79]. check-in: 911afa1bcc user: stephan tags: trunk | |
13:03 | Made the fsl_deck object in fsl_deck_output() and crosslink listeners non-const, the former to avoid forcing the client to do much up-front work and the latter because it's necessary for such code to be able to traverse F-cards. That had a bit of a rat's tail of side effects to clean up. Edit: reminder: this caused a sync problem because we added an attachment artifact file which is itself an export of an artifact from the db, leading to a unique constraint violation when pushing. Deleting the attachment table entries, syncing, then rebuilding, resolved it. Hopefully this duplicate artifact won't cause any similar downstream problems. check-in: ac9b034f79 user: stephan tags: trunk | |
05:52 | Updated attachment crosslinking to account for technote attachments. check-in: 08ecc42a5f user: stephan tags: trunk | |
2021-02-12
| ||
22:21 | Started removing the many now-extraneous (fsl_id_t) casts in variadic calls. check-in: 11e5173970 user: stephan tags: trunk | |
22:21 | Wha??? doc/presentation-fossil-data-model.md was demonstrably removed (moved to main fossil tree) in [9e08d879fb0b4722], and not re-added since then. How did it re-appear? Edit: i may (not certain) have(???) inadvertently re-added it when crosslinking random manifests during testing. check-in: edc97b0a3a user: stephan tags: trunk | |
22:09 | libfossil is now C99, rather than C89, per discussion at [https://fossil.wanderinghorse.net/r/libfossil-forum/forumpost/e02ff0e8d0]. fsl_int{16,32,64}_t have been replaced by the standard uint{16,32,64}_t, FSL_xxx_T_PFMT/SFMT replaced with PRIx32 and friends, and auto.def now checks for -std=c99 capability (but that check could probably be done differently/improved). fsl_int_t and fsl_uint_t are retained, as they're more about documentation/intent than fixed sizes. check-in: ee070353b9 user: stephan tags: trunk | |
15:22 | Implemented crosslink begin/end steps, minus still-pending ticket/wiki-specific features. Crosslinking wiki pages updated to use fossil's newer wiki timeline comment format and updated f-timeline to recognize it as well. check-in: 31c8bddf22 user: stephan tags: trunk | |
13:00 | Ported in mlink schema fix from [https://fossil-scm.org/home/info/1f5af80047be4589]. check-in: 9cc40bf1be user: stephan tags: trunk | |
12:20 | checkin crosslinking: added missing Q-card (cherrypick) handling, corrected a parent-count case when dealing with Q-cards, and generally brought it up to date with regards to fossil(1). check-in: 4dcdf5a8f7 user: stephan tags: trunk | |
07:41 | Header file reorgs. check-in: c1681af460 user: stephan tags: trunk | |
07:02 | Implemented forum artifact crosslinking and restructured fsl_deck_crosslink() into internal type-specific routines. check-in: 1817557652 user: stephan tags: trunk | |
05:03 | Removed java/tcl include paths from the build, as those bits are long-since untested/unmaintained. check-in: 72c2f60034 user: stephan tags: trunk | |
04:37 | Fix 'uninitialized use' of rc variable when default switch is hit. check-in: 32d545fd62 user: mark tags: trunk | |
03:38 | Removed presentation-fossil-data-model.md - moving it to the main fossil tree. check-in: 9e08d879fb user: stephan tags: trunk | |
03:37 | Minor doc updates. check-in: 85c5517be8 user: stephan tags: trunk | |
2021-02-11
| ||
19:13 | Completely reimplemented ownership semantics of fcli argument/flag memory, greatly simplifying app-side management of those. Now fcli sticks all of them in fcli_fax() so that their lifetime is predictable and managed, so clients no longer have to free them. check-in: 4307886eab user: stephan tags: trunk | |
18:38 | Moved around and tinkered with some of the hash policy code. Added f-new --hash option to set the policy when creating a new repo. check-in: dec0670fb2 user: stephan tags: trunk | |
13:01 | Replaced a hard-coded UUID in test.cpp with a ref to rid:1. check-in: 9e6df31e88 user: stephan tags: trunk | |
12:56 | Fixed a missed link in the fossil-wiki-to-markdown port. check-in: f2f497c658 user: stephan tags: trunk | |
12:49 | Checked in the generated fsl_schema_*_cstr.c files to make it easier to port the build to non-Unix systems. check-in: eeac3c6fe0 user: stephan tags: trunk | |
12:42 | Moved C++ and s2 bindings to bindings/{cpp,s2}. Got the C++ bindings compiling for new gcc breakage and new, stricter T-card validation. check-in: fdc5e1014e user: stephan tags: trunk | |
12:25 | Moved f-tools wiki page to f-apps/index.md. check-in: 827f5c8bc3 user: stephan tags: trunk | |
11:29 | Manifest parsing: moved the guess-card-type logic to the end, after the cards have had a chance to apply the type themselves. Ported in some undocumented(?) but code-implemented corner-case constraints, such as not allowing tag names which look like hex hashes. check-in: 4b7e3d1ac6 user: stephan tags: trunk | |
06:38 | fsl_deck_parse(): when we know that the current card can only possibly belong to a certain deck type, assign the deck type immediately, rather than delaying it to the "guess" phase (which may actually have already deduced the type, anyway). This provides the same results as before but should be a bit more robust. Removed some dead code. check-in: 92a5e7fee4 user: stephan tags: trunk | |
06:14 | Improved fsl_mf_parse() artifact type guessing to eliminate an over-zealous type classification. Implemented the technote swapped P/N-cards bug workaround from the main fossil tree. f-parseparty now includes UUIDs of failed parses and can now parse the whole core fossil (and forum) artifact collection without any errors. check-in: 88060bfb9b user: stephan tags: trunk | |
04:42 | Added f-parseparty --types=... flag to select types of artifacts to test. check-in: c0a6cc5b55 user: stephan tags: trunk | |
04:41 | Moved some at-exit cleanup code. check-in: d6afb451a0 user: stephan tags: trunk | |
03:26 | Merged in make-compdb branch and added test for that feature in auto.def. check-in: 2b7680dd90 user: stephan tags: trunk | |
00:16 | Added f-parseparty, which parses all of the artifacts in a repo, and uncovered a serious manifest parsing bug in fossil(1) as a side effect. Fixed a memory ownership bug when manifest parsing fails, which led to a double-free. Related adjacent touchups. check-in: 0163960ce0 user: stephan tags: trunk | |
2021-02-10
| ||
19:37 | Changed fossil-scm.org/fossil to fossil-scm.org/home, per recent change on that end. check-in: a54f70e148 user: stephan tags: trunk | |
18:23 | Stephan's discussion document on the Fossil data model check-in: 8876efccd3 user: dan tags: trunk | |
15:46 | Minor doc updates and improved a case of error propagation. check-in: 88f850cd66 user: stephan tags: trunk | |
15:45 | Added fcli_fax() (free-at-exit). check-in: e8b7fd94e6 user: stephan tags: trunk | |
13:51 | Amend make config files to generate compilation database. Add MAKE_COMPILATION_DB variable to enable the '-MJ' flag on supported compilers to generate a compile_commands.json compilation database. Closed-Leaf check-in: b9be211162 user: mark tags: make-compdb | |
2021-02-09
| ||
19:42 | Typo fix. check-in: 7c8f09ac3d user: stephan tags: trunk | |
18:21 | Re-added autosetup-test-tclsh. Is the +x bit retained now? check-in: b242c6bef3 user: stephan tags: trunk | |
18:20 | Temporarily removing autosetup-test-tclsh to try to work around the ability to +x it. check-in: c6d06e4728 user: stephan tags: trunk | |
18:18 | Wha??? Added +x bit again - apparently libf's checkin process does not catch attribute-only changes properly? Edit: this checkin was made with fossil(1), but same thing. check-in: dab3ac63d1 user: stephan tags: trunk | |
18:17 | Added +x bit again - apparently libf's checkin process does not catch attribute-only changes properly? check-in: cb3d4e371d user: stephan tags: trunk | |
18:15 | Added +x bit (wasn't this already done?). check-in: 7dab52fd0e user: stephan tags: trunk | |
18:08 | Merged inadvertent fork. check-in: dbfab53142 user: stephan tags: trunk | |
18:06 | Fixed creation of new repository (fsl_repo_new() and f-new.c). Added checkin message mimetype to repo creation options. check-in: 162d4ba4c8 user: stephan tags: trunk | |
11:40 | Added some protections against generating empty checkin. Removed some stale docs. check-in: 9bff657291 user: stephan tags: trunk | |
11:35 | finalise licenses dir / check-in: 6347de6f38 user: dan tags: trunk | |
11:22 | add license directory for files to point to check-in: 2aa8c19588 user: dan tags: trunk | |
11:10 | Added +x bit. check-in: 27e1f8ee2b user: stephan tags: trunk | |
09:52 | Removed some stale docs. Add new checkins to the UNSENT table (though whether or not they're in there appears to make no difference?). check-in: a52c8a0690 user: stephan tags: trunk | |
09:49 | Added a fsl_cx flag to silently skip, instead of error out, when crosslinking encounters a type it cannot yet handle (currently forum posts and tickets). check-in: a2c0c7820d user: stephan tags: trunk | |
08:54 | Re-added sqlite3ext.h (needed by the vtable bits). Added if-not-defined guards around the generated config header vars. Minor touchups to the amalgamation build. check-in: 62099c7d53 user: stephan tags: trunk | |
08:53 | Fixed a null pointer deref in a routine i thought never got passed NULLs. check-in: d826ff335f user: stephan tags: trunk | |
05:07 | Explicitly insert vfile.mhash with a NULL value. check-in: ac52d23368 user: stephan tags: trunk | |
05:06 | Implemented FSL_HPOLICY_SHUN_SHA1. check-in: 9418c5e60f user: stephan tags: trunk | |
05:03 | Removed an unnecessary var-guard. check-in: 1d9b5aa3c0 user: stephan tags: trunk | |
04:25 | Minor doc updates. check-in: 0d0a30f979 user: stephan tags: trunk | |
04:23 | Versioned file access no longer follows symlinks. check-in: d8a6788d85 user: stephan tags: trunk | |
00:18 | Updated license text in almost all C/H to claim copyright while attributing all of the files as heavily derived from DRH's work. check-in: 631fb3f69a user: stephan tags: trunk | |
2021-02-08
| ||
23:48 | Added forum type to f-timeline. check-in: c2d78cbb4b user: stephan tags: trunk | |
23:47 | Renamed the hash length constants. check-in: 0c9a6d3644 user: stephan tags: trunk | |
23:42 | Updated s2 bindings for new forum-deck cards. check-in: 05542c5251 user: stephan tags: trunk | |
23:35 | Merged in [sha3-port] branch. There's certainly still bits to test, but it now more or less supports both SHA1 and SHA3-256 hashes. check-in: ff13fc9b52 user: stephan tags: trunk | |
23:32 | Added deck support for forum posts, except that crosslinking them is currently unimplemented (requires more infrastructure). Closed-Leaf check-in: b0ac77411e user: stephan tags: sha3-port | |
20:45 | MILESTONE: f-ls just read a file listing from the main fossil repo (v2 hashes). Set f-mfparse back to hard-coded sha1 for the time being, as i'm not sure i can automatically figure out one or the other hash (need to add a flag to specify which to use). check-in: 8367e0ce6e user: stephan tags: sha3-port | |
20:35 | Ported in more of the fossil(1) hashing-related infrastructure. check-in: 033d78f03f user: stephan tags: sha3-port | |
18:23 | f-apps compile and f-sanity runs. MILESTONE. Still need to test the other f-apps, though. check-in: 76c290eb05 user: stephan tags: sha3-port | |
16:49 | Reverted autosetup to 0.6.9 to [https://github.com/msteveb/autosetup/issues/59]. check-in: 9538db33d6 user: stephan tags: sha3-port | |
16:42 | th1 was removed by stephan check-in: cc0bac7250 user: dan tags: trunk | |
16:03 | Baby steps towards dual sha1/sha3 support. This does not yet compile but i'm nervous about losing work done so far. It's been painless but tedious, which is not bad, all things considered. check-in: 240701a6ec user: stephan tags: sha3-port | |
13:34 | Apply the sqlite3.c CPPFLAGS currently used by fossil(1). check-in: f16a3dd322 user: stephan tags: trunk | |
07:44 | Brought core SQL schemas up to date wrt fossil(1). check-in: 490dadcad9 user: stephan tags: trunk | |
07:43 | Updated autosetup. check-in: 48120a033a user: stephan tags: trunk | |
06:53 | Resolved the s2 unit test breakage: config.h settings led to it not stat'ing a dir entry the same way the core s2 tree was, which revealed a slight bug in s2.import's is-a-dir check (namely, not recognizing a dir as a dir). check-in: 17ac91740c user: stephan tags: trunk | |
06:15 | Updated s2 and brought old fossil bindings up to date wrt cwal/s2 changes made since then. Core s2 unit tests are inexplicably failing with a bogus(?) OOM report with this shell build, but they work in the core s2 tree and libf unit tests are passing. check-in: f063fd4f0f user: stephan tags: trunk | |
06:11 | Fixed a swapped value check in fsl_cx_db_name_for_role(). check-in: a6a15065e1 user: stephan tags: trunk | |
04:49 | Removed long-since-obsoleted th1ish. check-in: 36e2410ca1 user: stephan tags: trunk | |
04:48 | Undefined all sha1-hardened-related defines at the end of that code, for the sake of an eventual amalgamation build. check-in: 6ce8ec4fef user: stephan tags: trunk | |
04:31 | Ported in hardened SHA1 hash and set default build config to use that one instead of standard SHA1. check-in: 0f3f1d2bf2 user: stephan tags: trunk | |
2021-02-07
| ||
14:39 | Back-ported diff numeric overflow fix from [https://fossil-scm.org/fossil/info/e2b7dca948da84b7]. check-in: f11bfb3bcf user: stephan tags: trunk | |
14:31 | Globally replaced http://... URLs with https://.... Most of them probably still work, too. check-in: 6af7b3b7c8 user: stephan tags: trunk | |
14:27 | Updated Doxygen.in and remote doc path. check-in: b78d59d054 user: stephan tags: trunk | |
13:39 | Updated sqlite3 for C99-ism fix. Removed sqlite3ext.h. check-in: 601041d827 user: stephan tags: trunk | |
10:45 | Ported in core SHA3 hash routines from fossil(1). check-in: edf64345bb user: stephan tags: trunk | |
10:32 | Updated build for newer gcc and sqlite3.c, in prep for a potential upcoming effort of getting the hashing bits updated for fossil v2. check-in: 451d0b8a9b user: stephan tags: trunk | |
2018-12-01
| ||
15:59 | i know this isn't maintained anymore, but found a broken assert() while porting the db wrapper into another tree. check-in: 5c9c84f81d user: stephan tags: trunk | |
2016-08-26
| ||
15:15 | latest s2 for ARM platform fixes. check-in: e961eb1201 user: stephan tags: trunk | |
2016-08-20
| ||
12:37 | fixed a mis-think in the previous commit which caused unnecessary extra allocations. check-in: 679e38294a user: stephan tags: trunk | |
12:13 | fixed: when parsing F-cards, defossilize their names (in-place) before insertion into the deck. Was broken with space-containing filenames. check-in: 9f317f8fa8 user: stephan tags: trunk | |
11:41 | s2 update. check-in: b7da6be617 user: stephan tags: trunk | |
2016-03-14
| ||
17:21 | minor s2 update. check-in: e9556c1886 user: stephan tags: trunk | |
17:08 | latest s2 for proc() using(...) {...}. check-in: daa02e9344 user: stephan tags: trunk | |
2016-03-07
| ||
15:57 | added FSL_OPEN_F_TRACE_SQL for use with fsl_db_open(), which tells fsl_db_open() to enable SQL tracing. Previously this feature was restricted to Fossil-open()'d db handles. check-in: a43aece996 user: stephan tags: trunk | |
2016-03-06
| ||
10:52 | latest s2. check-in: 633707c54a user: stephan tags: trunk | |
2016-03-05
| ||
21:42 | Internal cleanups in the Fossil.Db.open() binding. And this time passed the -v flag to f-tag. check-in: f15fa6ba7c user: stephan tags: trunk | |
13:55 | fixed broken return vals from fsl_db_existsv(). check-in: f6f9628a30 user: stephan tags: trunk | |
2016-02-29
| ||
17:41 | Rewrote the "can call dlopen() without -ldl" auto.def test so that it will fail on Linux (thereby continuing on to the next clause, which handles the Linux case) while still doing the right thing on FreeBSD. check-in: 94468be8ca user: tangent tags: trunk | |
14:04 | removed cgimod bits (moved them to the s2 module repo). Some CGI-related scripts kept around for later tinkering. check-in: d4b02ee824 user: stephan tags: trunk | |
13:16 | more -ldl flag tweaking - this is likely to break s2 on BSD again (where -ldl is not needed), but the current test for "dlopen is built-in" incorrect reports success on my linuxes then does not work at link-time. check-in: 008a3a3208 user: stephan tags: trunk | |
13:01 | fixed a syntax error not reported on my odroid box b/c that block was not hit. check-in: c90823b297 user: stephan tags: trunk | |
12:43 | straightened out the module loading flags. fixed breakage in f-s2sh.s2 caused by s2 making "import" a reserved word. Removed th1ish leftovers from cleanup rules. check-in: 2e4dd625ab user: stephan tags: trunk | |
11:58 | latest s2, including %d patch from Warren. Disabled loadable modules temporarily due to a local system hiccup. check-in: efd0f500fe user: stephan tags: trunk | |
11:41 | merged in os-x-fixes branch from Warren. One of those changes will be overwritten by a pending s2 update, though. check-in: 61d8fbeee2 user: stephan tags: trunk | |
11:29 | merged in freebsd-10-fixes bundle from Warren. check-in: a6b8958efc user: stephan tags: trunk | |
2016-02-28
| ||
19:34 | Added s2_amalgamation.o to the link step for cgimod.so, without which you get a bunch of undefined symbols, at least on OS X. Closed-Leaf check-in: 781346a2e4 user: tangent tags: os-x-fixes | |
19:30 | Removed GCC-specific -export-dynamic flag in f-s2sh's Makefile, per mailing list discussion. check-in: df42433396 user: tangent tags: os-x-fixes | |
19:29 | Squished printf() format specifier warning in s2 amalgamation, per mailing list discussion. (It really needs to be fixed in s2, but I need it fixed in *this* tree in order to continue work, so...) check-in: 4d5d7ace65 user: tangent tags: os-x-fixes | |
19:24 | autoconfigure now checks for iconv(3) in libc and libiconv; this is needed on OS X at least, and may also be needed on older SUS type Unixes. (libiconv comes to SUS via XPG4, and thence from HP/UX.) We check for it in libc first because it's built into the standard C library in glibc and FreeBSD's libc, at least. Also, added $(LDLIBS) to the link flags in shakenmake, without which the above fix has no effect. check-in: cd6b27805b user: tangent tags: os-x-fixes | |
17:39 | Removed -static-libgcc flag from shakenmake.make, since that's GCC-specific, breaking the build under Clang, and presumably other C compilers. It only allows fully-static binary builds, which is not a generally-useful thing anyway. (Consider the recent glibc DNS bug. (CVE-2015-7547) Do you really want to rebuild every binary on the system to fix it, or just upgrade glibc?) check-in: 00f219f225 user: tangent tags: os-x-fixes | |
17:15 | Fixed a fossil_strdup() -> fsl_strdup() hiding in an ifdef that's true on OS X only. check-in: a571a60261 user: tangent tags: os-x-fixes | |
2016-02-23
| ||
19:58 | Added -fPIC to CPPFLAGS in s2/Makefile, without which it won't link on FreeBSD Closed-Leaf check-in: 164d5552e8 user: tangent tags: freebsd-10-fixes | |
19:47 | Swapped the two dlfcn.h detection cases in auto.def. Previously, if it found that header it would then go blindly chasing after libdl. But on FreeBSD, the header exists and libdl does not because those functions are built into libc. The second case checked for this, but because dlfcn.h was found, it was never even tried. The new way tries to build against the dl functions without libraries *first* and only then if that fails does it go chasing after libdl. check-in: 870a29ea5d user: tangent tags: freebsd-10-fixes | |
19:15 | Updated _XOPEN_SOURCE definition from 500 to 600, as that's needed to allow lstat(2) to be visible under FreeBSD 10. check-in: 2755eb8768 user: tangent tags: freebsd-10-fixes | |
2016-02-18
| ||
16:00 | latest s2, fixed an error handling case in Fossil.Context.loadManifest() (caught by an assertion). check-in: a4b5749230 user: stephan tags: trunk | |
11:24 | fixed an assertion, improved an error message (just now triggered by files with spaces in their names :/). check-in: a5d8233f6d user: stephan tags: trunk | |
2016-02-17
| ||
21:27 | Latest s2 and a Happy 8th Birthday to Baako. check-in: 56901c5b0a user: stephan tags: trunk | |
2016-02-12
| ||
15:38 | more tinkering with q-ancestry.sql. check-in: c5dc22c1d2 user: stephan tags: trunk | |
10:32 | typo fix. check-in: 59fe7b70ce user: stephan tags: trunk | |
2016-02-10
| ||
16:33 | Removed extended s2.Buffer unit test script because this feature is now supplied by the s2 core and its unit tests. (Make sure to rm s2/UNIT*.s2 or 'make unit' may still try to import it.) check-in: 10da5cf074 user: stephan tags: trunk | |
16:30 | Updated s2 and related build bits, removed the libfossil-injected s2.Buffer.compress() and friends because those have been ported over to the s2 core. check-in: a25251e6b0 user: stephan tags: trunk | |
2016-01-31
| ||
17:54 | latest s2, re-enabled test combinations disabled when string interning was recently turned off. check-in: 6085b8689d user: stephan tags: trunk | |
2016-01-28
| ||
12:40 | minor script updates. check-in: 1cffc35efe user: stephan tags: trunk | |
12:29 | sqlite3 version 3.10.0. check-in: 99efd91396 user: stephan tags: trunk | |
2016-01-27
| ||
09:31 | s2 update to disable string interning because how s2 manages values is (occassionally) incompatible with interning, leading to cwal-level memory misuse and assertions getting triggered. check-in: f9eba44f38 user: stephan tags: trunk | |
2016-01-24
| ||
18:43 | okay, last s2 for a while. check-in: eb54d84520 user: stephan tags: trunk | |
02:05 | latest s2, lots of minor tweaks. check-in: 8a4665bffa user: stephan tags: trunk | |
02:04 | an admittedly untested changed to etPATH handling ('%/' specifier) tweak in fsl_appendf(), to avoid allocating for 0-length strings. check-in: 965a326ce2 user: stephan tags: trunk | |
2016-01-22
| ||
15:31 | added a missing return on error. check-in: c95de406e5 user: stephan tags: trunk | |
2016-01-13
| ||
16:32 | minor doc correction. check-in: 754f74c4b9 user: stephan tags: trunk | |
2016-01-09
| ||
18:17 | MOAR latest s2. check-in: efb9c69d75 user: stephan tags: trunk | |
2016-01-08
| ||
17:10 | latest s2, accommodated API change. check-in: 2827317748 user: stephan tags: trunk | |
2016-01-07
| ||
21:11 | replaced impl_fsl_buffer_swap with fsl_buffer_swap. check-in: 51bafea46e user: stephan tags: trunk | |
20:57 | merged in dave's old branch. The related strangely failing tests seem to work now :). Also the latest s2. check-in: feb9f32d06 user: stephan tags: trunk | |
19:25 | back-ported in http://www.fossil-scm.org/index.html/info/ecedaf93991c66a4 (zip fix for 0-byte files). check-in: 0043352e45 user: stephan tags: trunk | |
19:23 | adding empty file to help test some 0-size corner cases. check-in: 5c449173a5 user: stephan tags: trunk | |
07:14 | straightening out an accidental fork, possibly caused by a libfossil bug when testing the previous few commits. check-in: 01a238f837 user: stephan tags: trunk | |
07:08 | comments related to https://www.fossil-scm.org/index.html/info/18607775fe2e3aa3 check-in: 5fbcdd6b4b user: stephan tags: trunk | |
2016-01-06
| ||
17:15 | latest s2. check-in: 4b42506fe4 user: stephan tags: trunk | |
17:15 | workaround for recent gcc adding __func__ warnings in -pedantic mode. check-in: adf79c4a82 user: stephan tags: trunk | |
2015-12-28
| ||
22:04 | disable some kludgy code, added some todos. check-in: 11fac6a958 user: stephan tags: trunk | |
21:47 | fixed broken (swapped) logic in fsl_rid_is_leaf(). check-in: 2273183275 user: stephan tags: trunk | |
21:44 | another test of the leaf-check fix check-in: f0930aedad user: stephan tags: trunk | |
21:41 | another test of the leaf-check fix check-in: 12acd9c844 user: stephan tags: trunk | |
21:33 | another test of the leaf-check fix check-in: 7eb42e237a user: stephan tags: trunk | |
21:24 | another test of the leaf-check fix (not included in this commit). Found 2 bugs compared to fossil(1). check-in: 7a117a135a user: stephan tags: trunk | |
21:00 | ancient CGI tinkering - need a commit to test a fix. check-in: 17216ed8c6 user: stephan tags: trunk | |
19:20 | potential fix for the missing leaf update when crosslinking. Fixes a mismatch with fossil(1), in any case. Edit: nope, didn't fix that particular problem, but was nonetheless a bug. check-in: c9010b6036 user: stephan tags: trunk | |
19:08 | backported in delta generation tweaks from http://www.fossil-scm.org/index.html/vdiff?from=063779a14cb7c4a7&to=dbbe320297e55cb4 check-in: ff9e4cea5c user: stephan tags: trunk | |
2015-12-13
| ||
15:46 | back-ported in http://www.fossil-scm.org/index.html/info/8e44cf6f4df4f9f0. check-in: ee2a7f7c06 user: stephan tags: trunk | |
2015-08-17
| ||
10:38 | minor internal text fix. check-in: 6a88a2d589 user: stephan tags: trunk | |
10:36 | minor API text tweak. check-in: 08e1ce7fd4 user: stephan tags: trunk | |
10:35 | removed confusing bit of help text, corrected other help text. check-in: 9e2f749e6d user: stephan tags: trunk | |
2015-07-30
| ||
07:49 | latest s2. check-in: 54bdadaf14 user: stephan tags: trunk | |
2015-07-25
| ||
07:59 | confusing doc fix. check-in: c0abb85213 user: stephan tags: trunk | |
2015-07-23
| ||
18:02 | ported in relatively recent mlink/plink changes - requires newer fossil aux schema. check-in: ee03f7343f user: stephan tags: trunk | |
14:51 | back-port in some precision/width overflow fixes from https://www.sqlite.org/src/info/aeca95ac77f6f320 check-in: ac6f25aaba user: stephan tags: trunk | |
2015-07-21
| ||
17:15 | minor test tweak check-in: 1cfe75477d user: stephan tags: trunk | |
16:34 | minor test code improvements. check-in: cb3828bc16 user: stephan tags: trunk | |
2015-07-16
| ||
15:31 | latest s2 and related bits. unit tests still work. check-in: 493e8904d9 user: stephan tags: trunk | |
2015-05-13
| ||
21:16 | update sqlite 3.8.10.1 check-in: 050fc789ce user: bch tags: trunk | |
2014-12-16
| ||
20:17 | accomodated s2 API change. check-in: 59661de01b user: stephan tags: trunk | |
19:25 | latest s2 for memory cap support, typeinfo keyword, other improvements. check-in: 3d382469bd user: stephan tags: trunk | |
12:45 | f-timeline: added -c|--comment=TEXT to filter on a comment glob. check-in: 01c49aaa16 user: stephan tags: trunk | |
2014-12-07
| ||
15:17 | a _potential_ workaround for ticket [ae43e36ebdcee2dd7a74]. check-in: 52cd3b7088 user: stephan tags: trunk | |
2014-12-04
| ||
15:43 | Latest s2, fixed ticket [dee8469f4b] by removing the (unused) chroot() feature from fsl_chdir(), accommodated an older libf API change in the th1ish bindings. check-in: 09fb223f65 user: stephan tags: trunk | |
2014-11-30
| ||
14:25 | latest s2, further memory cuts via more aggressive recycling. check-in: 2ddef8bf84 user: stephan tags: trunk | |
2014-11-21
| ||
14:00 | next round of s2: resizable hashtables, Number.toString(format), 1000 prime numbers, and literal arrays as property keys (for symmetry with objects, which already supported that by happy accident). check-in: a15d2a6200 user: stephan tags: trunk | |
13:52 | disabled s2 vtable transaction tests for a while due to inexplicable weirdness. check-in: 90cf7de0ec user: stephan tags: trunk | |
2014-11-20
| ||
18:39 | lots of little s2 stuff, incl. refactoring of hashtables to make them more recycleable and (upcoming) resizable. check-in: f7fbfd8cfb user: stephan tags: trunk | |
2014-11-16
| ||
18:34 | more minor s2 addition before the weekend is out. check-in: c170e296ca user: stephan tags: trunk | |
15:03 | Latest s2: bugfix in the .. operator, added: exception keyword, s2.getResultCodeHash(), s2.json.stringify() binding. check-in: beafa69a16 user: stephan tags: trunk | |
2014-11-15
| ||
10:53 | yet more cleanups in the vtable test code, removed extraneous catches (let propagation handle them). check-in: ad35549258 user: stephan tags: trunk | |
10:43 | cleanups and additions in the vtable unit tests. check-in: af1b0ff74b user: stephan tags: trunk | |
2014-11-14
| ||
16:41 | test code cleanups. check-in: 017e07ca53 user: stephan tags: trunk | |
13:59 | s2: added s2.isDereffable(), "exception" is now a reserved keyword. check-in: 5f1f3b28d8 user: stephan tags: trunk | |
12:14 | More s2: types deriving from arrays can now be used a bit more like arrays, e.g. x[]=y works and integer property access is treated as an array index. check-in: d62048d5e6 user: stephan tags: trunk | |
11:47 | Added some transactions tests for the vsettings. check-in: 86b6ca307f user: stephan tags: trunk | |
11:45 | fixed a printf-style misuse triggered in an error case. check-in: c2ad24c2e0 user: stephan tags: trunk | |
10:40 | latest s2. check-in: b4c7ebaad7 user: stephan tags: trunk | |
2014-11-09
| ||
18:43 | s2: more init code refactoring. check-in: 9d10eab193 user: stephan tags: trunk | |
2014-11-08
| ||
10:47 | removed an old/invalid comment, made a minor error propagation optimization. check-in: db3452e54d user: stephan tags: trunk | |
10:46 | minor doc tweaks. check-in: e4205c60cc user: stephan tags: trunk | |
10:31 | accommodated API changes. check-in: 78193237a5 user: stephan tags: trunk | |
10:30 | added a few asserts. check-in: 8f17cf8228 user: stephan tags: trunk | |
10:15 | cleanups in the Fossil require.s2 modules in prep for upcoming test code. check-in: b1c814aa9a user: stephan tags: trunk | |
10:01 | minor error handling improvement. check-in: f837fcb4cc user: stephan tags: trunk | |
2014-11-07
| ||
17:10 | Create new branch named "feech-VerSetVtblXtnCbk" check-in: 086c180778 user: dave tags: feech-VerSetVtblXtnCbk | |
17:08 | transaction support of versioned settings passed all tests, so integrating into 'dave'. Will make new feature branch for 'optional change callback' support. Closed-Leaf check-in: 616500affb user: dave tags: dave | |
16:45 | latest s2: minor parsing and error reporting improvements. check-in: 2e728807c5 user: stephan tags: trunk | |
2014-11-05
| ||
00:11 | bug in 'rollback' processing; when encountering an unmodified setting, would not skip it, and would infinite loop Closed-Leaf check-in: 35d3266b60 user: dave tags: feech-settingsvirtualtabletransactionsupport | |
2014-11-04
| ||
21:41 | more exciting mundane changes for gcc check-in: 6c4afc0b2d user: dave tags: feech-settingsvirtualtabletransactionsupport | |
21:38 | mundane changes for gcc check-in: 57c852f9cb user: dave tags: feech-settingsvirtualtabletransactionsupport | |
21:29 | implementation of transaction support complete; now it's testing time... check-in: 7aecc393a7 user: dave tags: feech-settingsvirtualtabletransactionsupport | |
19:49 | Update to final SQLite 3.8.7.1 (with additional MinGW compile fix [f45641c753], re-applied. check-in: 8f94f69a86 user: jan.nijtmans tags: trunk | |
18:33 | algorithm for commit and rollback should be code complete; now need to modify xUpdate to use it. check-in: fcbede55ed user: dave tags: feech-settingsvirtualtabletransactionsupport | |
15:00 | interim; fleshed out algorithm impl, and made marks where surgery will occur check-in: 2864314d5f user: dave tags: feech-settingsvirtualtabletransactionsupport | |
14:55 | Create new branch named "feech-settingsvirtualtabletransactionsupport" check-in: e257ccc652 user: dave tags: feech-settingsvirtualtabletransactionsupport | |
2014-11-03
| ||
23:53 | interim; added members to internal data structures to facilitate transaction support on versioned settings v-table check-in: 120add9960 user: dave tags: dave | |
23:21 | dev studio project updates for moved headers check-in: ef81d5cb7c user: dave tags: dave | |
23:11 | merged trunk prior to doing some transaction support work check-in: 2fdb1d5460 user: dave tags: dave | |
19:05 | removed an unused makefile. check-in: 220da67a06 user: stephan tags: trunk | |
18:55 | Added --line-numbers|-l option to f-vdiff. check-in: 2b7867d2ec user: stephan tags: trunk | |
18:47 | Fixed a documentation lie. check-in: e210358357 user: stephan tags: trunk | |
18:46 | this should teach me to do a _clean_ rebuild when moving headers around. check-in: 4541a51212 user: stephan tags: trunk | |
17:58 | removed a duplicated dependency listing. check-in: c51ca866a8 user: stephan tags: trunk | |
17:56 | As discussed with Dave: moved the vtable/regex headers into src, as they are private impl details. Patched amalgamation build for this change. check-in: cd9d570464 user: stephan tags: trunk | |
17:53 | minor tinking in s2 CGI bits. check-in: 8feee82f4e user: stephan tags: trunk | |
2014-11-01
| ||
16:55 | latest s2, added << operator to CGI module. check-in: 749694a76c user: stephan tags: trunk | |
16:19 | minor clang build hack. check-in: e9fff9802e user: stephan tags: trunk | |
16:18 | Added a missing #undef. check-in: 742aab5dae user: stephan tags: trunk | |
16:17 | Documentation bugfix. check-in: 7aaa85974f user: stephan tags: trunk | |
16:17 | minor clang build hack. check-in: 3c18a6d5b2 user: stephan tags: trunk | |
2014-10-31
| ||
09:19 | s/malloc/fsl_malloc/, s/free/fsl_free/, added some OOM handling (which makes me miss the concise code one has without it (in C++)). check-in: 76c4d8ecf3 user: stephan tags: trunk | |
09:02 | Replaced a file-local typedef with a macro and #undef'd local macros at the end of the file, both for the sake of the amalgamation. Minor doc tweak. check-in: 4eef41c169 user: stephan tags: trunk | |
2014-10-29
| ||
19:19 | latest s2: s2.io.realpath() behaviour change and more unit tess. check-in: bf2e03ad69 user: stephan tags: trunk | |
16:47 | latest s2: minor improvements in ternary-if parsing and ctrl-c checking. check-in: 3d9898bf62 user: stephan tags: trunk | |
09:43 | unit test tweak. check-in: e3ece3ef7f user: stephan tags: trunk | |
04:43 | pickup dave's bugfix for not overriding line endings or separator style when not explicitly asked to, from 'dave' check-in: 3bccdc1d3a user: dave tags: trunk | |
04:42 | merge trunk before promote to trunk check-in: a790208046 user: dave tags: dave | |
04:36 | trivial; // comments check-in: 129affbb36 user: dave tags: dave | |
04:33 | bigfix; do not override file line endings/separator style on an update case of an insert-or-update unless explicitly asked to do so. check-in: 69fbe5c32d user: dave tags: dave | |
2014-10-28
| ||
16:03 | latest s2 (minor precedence fix wrt ternary being the RHS of some short-circuiting contexts). check-in: 1f99287a3f user: stephan tags: trunk | |
14:08 | typo fix in an #undef, from Martin Gagnon. check-in: 8b04160e56 user: stephan tags: trunk | |
13:52 | pull in fixed merge to trunk, from trunk. check-in: 5377f3e24e user: dave tags: dave | |
13:50 | recovered a lost change, enter/exit mutex properly, and cope with a sqlite auto-init glitch around the static mutex. check-in: fb5b9d15f9 user: dave tags: trunk | |
08:48 | merged in dave. reminder to selves: the merge initially elides some of the content dave previously merged from trunk, and we are not sure why (required manual merge intervention, despite not having any conflicts). check-in: 61233f6026 user: stephan tags: trunk | |
03:02 | need stdlib.h for the unices check-in: 6e12a39c1a user: dave tags: dave | |
02:14 | merged in stephan's various changes check-in: c2d7402366 user: dave tags: dave | |
00:24 | correct bug in 'match-or-fail' where aux data is bound to wrong column. changed a variable name that was farcically similar to another variable name in the same function (i.e. differed only by case); shame on me. check-in: 81f67b2297 user: dave tags: dave | |
2014-10-27
| ||
20:42 | Switched from :memory: to "" (temp) DB for the main db, other minor cleanups. check-in: 6c18a25f11 user: stephan tags: trunk | |
18:24 | Added (-E SQL|FILENAME) to f-query, which uses a multi-exec db call instead of prepare/step, so that we can feed it an arbitrary amount of non-SELECT queries (in -E mode any SELECT results do not get output). check-in: 6c907b2a70 user: stephan tags: trunk | |
17:46 | added atexit() call to sqlite3_reset_auto_extension() to silence valgrind. It is arguable to do this at the library level, but seems safe enough for the time being. check-in: 1ac213d0b6 user: stephan tags: trunk | |
17:28 | fsl_cx now (again) uses a ':memory:' DB as its 'main' and ATTACHes the repo/ckout/config to that one, to avoid locking problems Dave discovered with regards to attaching or opening a single DB file multiple times. Sanity tests work without changes and the s2 bindings required only assertion fixes, but probably needs some re-working of the 'db' property to account for the new, always-there handle. check-in: 898c0acbff user: stephan tags: trunk | |
16:35 | Fixed: fsl_db_open() no longer checks/enforces that the special filename ':memory:' really exists. check-in: 2e58421c33 user: stephan tags: trunk | |
2014-10-25
| ||
19:52 | correct silly position of assert(); correct a comment; correct for sqlite3 not auto-initing around mutex code (for reasons unknown to me) check-in: 455133309f user: dave tags: dave | |
18:46 | previous idempotency with atomic inc/dec isn't really enough; the action being protected needs to be guarded as well. plus there were link issues on linux, the resolution of which is machine architecture specific, so I ditched that approach. check-in: 1be04c571a user: dave tags: dave | |
18:17 | add atomic functions around refcounted init of sqlite extensions; unregister extensions when last one is freed check-in: 31a1e741ae user: dave tags: dave | |
16:28 | merge trunk, get stephans various fixes check-in: 84b7b9a10a user: dave tags: dave | |
13:01 | more minor tweaks to the s2 bindings. check-in: 6ac47349c4 user: stephan tags: trunk | |
12:50 | The docs, not the impl, were wrong. check-in: 516ff0e751 user: stephan tags: trunk | |
12:10 | s2: Fossil.file.dirPart() now returns an empty string for an empty result, instead of undefined. check-in: 3667bde1ee user: stephan tags: trunk | |
11:14 | added some basic tests for the new vtables, minor build tweak to allow us to skip the core s2 unit tests while developing fossil unit tests. check-in: 8eb7c26910 user: stephan tags: trunk | |
10:29 | Replaced sqlite3_exec() calls with fsl_db_exec(). check-in: 8f4b2c59c8 user: stephan tags: trunk | |
10:17 | error handling cleanups and doc tweaks. check-in: f50b9815e8 user: stephan tags: trunk | |
09:51 | merged in dave's branch, fixed a merge conflict, made f-sanity not fail a specific test fatally because it rightfully fails on a merge-modified checkout. check-in: 8a439f91d5 user: stephan tags: trunk | |
2014-10-24
| ||
13:25 | prevent changing of sepstyle for non-multivar types on update; fix constraint check on insert check-in: e7011739c4 user: dave tags: dave | |
05:12 | when inserting versioned settings, check metadata 'is multivar' and force attribute in new settings object accordingly check-in: 9c9c3b6069 user: dave tags: dave | |
03:20 | expose 'isversionable' settings metadata via vtable for those who wish externally to know. check-in: 2ac6a110d4 user: dave tags: dave | |
02:24 | integrate feech-versionedsettingsupport. Not strictly fully tested, but I feel pretty good about it, so I'm going to close it out. I'll do any bugfixes here that might show up in the next days of testing. check-in: 03c3149b0e user: dave tags: dave | |
01:22 | added support for 'non-multi-var settings' (most settings, actually), which inhibits list processing (i.e. doing comma/newline normalization). Also made alteration to VC6 project file to suppress warnings about sqlite3.c. Closed-Leaf check-in: 201339bcc3 user: dave tags: feech-versionedsettingsupport | |
2014-10-23
| ||
22:21 | bug storing match_or_fail context structure; modded some accept regexes to include the 'empty is OK' metametacharacter check-in: 699fec5042 user: dave tags: feech-versionedsettingsupport | |
21:29 | added more regex 'accept' patterns to settings metadata check-in: 82420a0765 user: dave tags: feech-versionedsettingsupport | |
19:57 | minor booboo with signedness; pleasure gcc check-in: 11afb2ec7a user: dave tags: feech-versionedsettingsupport | |
19:52 | support extended regex syntax for case-insensitive and multivalue settings check-in: 9660008e7b user: dave tags: feech-versionedsettingsupport | |
05:05 | can't use FSL_CKOUT_DIR() to coin the name of the versioned settings path, because sql evaluation is inhibited in the parameter list to a CREATE VIRTUAL TABLE, so I needed to coin the path manually. check-in: 7f14cc89a4 user: dave tags: feech-versionedsettingsupport | |
03:33 | fix a few dreaded // comments check-in: d4426ffe90 user: dave tags: feech-versionedsettingsupport | |
2014-10-22
| ||
21:48 | first attempt at wiring in virtual tables for settings metadata and versioned setting support. Also, added an aliased column 'value' to 'default_value' for the settings metadata, to allow existing query scheme to work consistently with that table as well. check-in: ddb939fd3f user: dave tags: feech-versionedsettingsupport | |
14:49 | monkey-patched (commented out) an unused var - now builds on gcc 4.8 with -Wall -Werror. check-in: b9277029a5 user: stephan tags: feech-versionedsettingsupport | |
2014-10-21
| ||
19:50 | can build on gcc on Linux in conventional and amalgamation. now to test on other platforms... check-in: 6f02a467b1 user: dave tags: feech-versionedsettingsupport | |