Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
History of file src/fsl_mf.c at check-in 4356134409a9cf3d
2025-03-26
| ||
12:42 | Include technote artifacts in the always-has-a-W-card-even-if-empty category in fsl_deck_to_json(). file: [c0ba6cb3db] check-in: [cfbc760d32] user: stephan branch: trunk, size: 206669 | |
12:38 | Apply upstream fix [fossil:0d8c913658cdf45] to fsl_deck_to_json(). file: [01ad8919d3] check-in: [200b19c2e1] user: stephan branch: trunk, size: 206638 | |
2025-03-25
| ||
17:34 | Remove extranous whitespace from fsl_deck_to_json(). file: [2c25676218] check-in: [4122e5f498] user: stephan branch: trunk, size: 206612 | |
16:04 | Add fsl_artifact_to_json() UDF. file: [f1b3b43527] check-in: [2c5339b85c] user: stephan branch: artifact-to-json, size: 206625 | |
15:37 | Implement fsl_deck_to_json(). Corresponding UDF is still TODO. file: [989b77f36e] check-in: [9023ab840a] user: stephan branch: artifact-to-json, size: 206621 | |
13:49 | Initial work for porting over [fossil:/timeline?r=artifact-to-json]. The API skeleton is in place but the core to-json is not. file: [5dac173668] check-in: [0c7c6d665d] user: stephan branch: artifact-to-json, size: 205274 | |
2024-09-26
| ||
16:27 | EOL cleanups and fix an age-old stack overwrite discovered via Martin's QNX. Edit: the stack-overwrite of 18 bytes traces back to [896ea2a01b33de25]. file: [bc90352e8f] check-in: [f6812e43bd] user: stephan branch: trunk, size: 200593 | |
2024-09-25
| ||
02:00 | In fsl_checkin_commit(), be sure to propagate the privateness of content when the commit derives from a private checkin. This should have been part of [f511d7e63292]. file: [2c117d9df6] check-in: [9eecc8a2be] user: stephan branch: trunk, size: 200603 | |
2024-09-24
| ||
21:13 | Add --private flag to f-ci. It seems to work, too. file: [3c19583d34] check-in: [f511d7e632] user: stephan branch: trunk, size: 200615 | |
18:22 | Comment and doc cleanups. file: [377cf810b3] check-in: [6c21831158] user: stephan branch: trunk, size: 200621 | |
15:43 | Extend fsl_mtime_of_manifest_file() to be able to return the mtime of any artifact type if given a file ID of 0 or less. Simplify its internal impl a bit. file: [e21f3f6cd9] check-in: [71fbbe959b] user: stephan branch: trunk, size: 200686 | |
2024-09-03
| ||
16:44 | As a late-stage step in the checkin process, ensure that vfile.isexe and vfile.islink match what the new manifest says. This has been a long-missing step which fossil(1) does but libfossil noted in a TODO comment but never implemented. This completes, hopefully, the fix started in [4243008e112140], but it's difficult to _really_ test without doing a genuine checkin (not a dry-run). file: [098fd592e4] check-in: [404f376c0e] user: stephan branch: trunk, size: 200695 | |
2023-11-22
| ||
11:54 | s/__unused/fsl__unused as discussed in /chat with stephan@ to help avoid name collisions with package maintainers; no functional change intended file: [efaf29dfc1] check-in: [230cf225fc] user: mark branch: trunk, size: 200663 | |
2023-04-19
| ||
02:26 | Apply a set of missing f(void) and assigned-but-unused vars from Mark J. file: [db2260adc7] check-in: [b96f5840ea] user: stephan branch: no-common-ancestor, size: 200320 | |
2022-06-27
| ||
07:18 | Tag ("(void)var;", or "__unused") vars that are not used, tag switch/case fallthroughs w/ __attribute ((fallthrough)); file: [1e6ea8781d] check-in: [73ee02a8fe] user: bch branch: trunk, size: 200316 | |
2022-04-10
| ||
04:57 | Reversed a bit of double-negative logic in fsl__deck_F_seek_base(). file: [584d816bdb] check-in: [b13966c8ce] user: stephan branch: trunk, size: 200237 | |
2022-04-09
| ||
21:36 | Moved the internal fsl_cx cache-clearing to the public fsl_cx_caches_reset() so that it can be used like fcli does (after shelling out an external app which might change the db). Fixed a deck F-card search bug introduced by the cache reset (thank goodness an existing unit test tripped over that). file: [db28bd5141] check-in: [84154036a0] user: stephan branch: trunk, size: 200244 | |
2022-01-07
| ||
23:40 | Added fsl_deck_foreach(). file: [7ca31025c6] check-in: [0741f4d194] user: stephan branch: trunk, size: 200197 | |
2022-01-04
| ||
22:02 | Added fsl_randomness(). Changed fsl_deck_K_set() semantics such that a NULL ticket ID is interpreted as a new (random) ID. file: [c08558f74d] check-in: [896ea2a01b] user: stephan branch: trunk, size: 197100 | |
21:38 | Replaced a couple remaining char-as-bool references with bool. file: [32a6d1f2bc] check-in: [1ac20eeb41] user: stephan branch: trunk, size: 196834 | |
2021-12-27
| ||
15:00 | When performing a fsl_db rollback, clear the associated fsl_cx's manifest- and blob-content caches in order to ensure that they do not contain any RIDs which are part of the being-rolled-back transaction. Remove fsl_cx::cache::deltaIds as it was determined that the recursion involving that cache could have broken things (but, rather curiously, had not done so thus far). Might want to revisit that cache someday and account for the new effective tail of the array on each recursion. file: [76fc7f9960] check-in: [35dca27909] user: stephan branch: trunk, size: 196834 | |
2021-12-23
| ||
07:01 | Added fsl_cidiff() API and f-test-cidiff test app. file: [029a214d00] check-in: [1c6aeaf5ce] user: stephan branch: trunk, size: 196758 | |
2021-12-21
| ||
20:21 | Removed the fossil- name prefix from include/fossil-scm/*.h. file: [b0139a2b78] check-in: [43a9bea8d5] user: stephan branch: trunk, size: 196494 | |
2021-12-04
| ||
07:39 | Internal restructuring of crosslink callback handling, such that registered listeners are called at a later phase for ticket artifacts. This should allow client-side listeners to overwrite timeline entries for tickets without too much hassle (that wasn't possible at all before this change). file: [8a7ed3d80d] check-in: [8349911eb6] user: stephan branch: trunk, size: 196522 | |
06:36 | (Finally) implemented ticket crosslinking. file: [4dc432d54c] check-in: [d8e8c16cc4] user: stephan branch: trunk, size: 197108 | |
2021-11-30
| ||
22:40 | Changed several internal temp tables to use (create if not exists/delete) instead of (create/drop) in the hope of proactively avoiding locking issues. This will slightly increase long-term memory usage for certain long-running apps but should ease locking pains for those same apps. file: [135b4af145] check-in: [cbaafebf22] user: stephan branch: trunk, size: 197098 | |
2021-11-21
| ||
14:23 | Added initial versino of the f-ciwoco app. Several minor API tweaks, including changing semantics of NULL args to fsl_deck_save() and the return semantics of fcli_fax(). file: [a20aae504f] check-in: [618d1b864a] user: stephan branch: trunk, size: 197011 | |
10:02 | Constness tweaks. Added a fsl_is_simple_pathname() check to fsl_deck_F_set_content(). file: [54610513fa] check-in: [e45da773a8] user: stephan branch: trunk, size: 196865 | |
2021-11-20
| ||
20:42 | Microscopic internal tweaks. file: [1e65c6bdd6] check-in: [eb3baaaa2f] user: stephan branch: trunk, size: 196625 | |
16:24 | When fsl_deck_parse() loads a wiki page, it now takes over the content buffer. file: [32296100aa] check-in: [183eafa6fe] user: stephan branch: trunk, size: 196490 | |
15:02 | Cut number of rebuild allocations by another 15k via refactoring of fsl_buffer_uncompress() to be smarter about reusing the output buffer's memory, plus much more modest gains via addition of a cached buffer for building and applying deltas. file: [9e14fb8e70] check-in: [88757e5411] user: stephan branch: trunk, size: 196238 | |
2021-11-19
| ||
11:15 | Tightented the lexical sorting check of T-tags in fsl_deck_parse2(). file: [a9d9c15f8d] check-in: [710313321a] user: stephan branch: trunk, size: 196226 | |
09:40 | Added some of the missing bits for crosslinking tickets. Still more to do, though. file: [2a3fb6ff70] check-in: [94e7cd6207] user: stephan branch: trunk, size: 195549 | |
08:10 | Diverse generic internal and doc cleanups. file: [9edd7d6711] check-in: [06f92b7689] user: stephan branch: trunk, size: 193942 | |
05:50 | Moved fsl_repo_rebuild() into the public API and added some new state to fsl_rebuild_step and new metrics to f-rebuild. Rebuild adds a few more entries in the event table than fossil does (investigation is TODO) but otherwise seems to behave. file: [c036e6ba1b] check-in: [c389ae9908] user: stephan branch: trunk, size: 194090 | |
2021-11-18
| ||
15:04 | Seem to have resolved a 'conditional jump depends on uninitialized values' valgrind error in the stripping of the PGP envelope from artifacts. file: [a68fa09eaf] check-in: [2552547fd7] user: stephan branch: trunk, size: 194069 | |
09:44 | Moved cache metrics dumps into fcli API. Told f-rebuild to skip the ticket tables for the time being (since we do not yet crosslink those). Added FSL_CX_F_BLOB_CACHE flag to enable/disable blob cache. Discovered that f-rebuild causes unexpected failures in downstream apps like f-sanity and f-resolve. file: [1f50a10e69] check-in: [2b136fe2e7] user: stephan branch: trunk, size: 193696 | |
07:58 | More work on fsl_repo_rebuild(). It seems to work, with the caveat that ticket crosslinking is mostly unimplemented (and will remain so for the foreseeable future), but it's dog, dog slow (about 1/10th of fossil's speed). Needs more testing before moving from f-rebuild.c into the library. file: [47e9c831b1] check-in: [ae8d020e4f] user: stephan branch: trunk, size: 193628 | |
2021-11-02
| ||
23:52 | Mass renaming of many internal APIs from fsl_X to fsl__X (two underscores) and several adjacent const cleanups. file: [6996033083] check-in: [83917b7b45] user: stephan branch: trunk, size: 193409 | |
14:09 | Further tweaking of buffer memory ownership for fsl_deck_parse(). Minor adjacent tweaking. file: [c152d0644b] check-in: [7948748ba0] user: stephan branch: trunk, size: 192655 | |
00:21 | More work on rebuild and adjacent code. Removed 'restrict' keyword from fsl_strlcpy() and fsl_strlcat() because they break in C++ compilation mode. Renamed fsl_guess_user_name() to fsl_user_name_guess() (consistency) and added fsl_cx_user_guess(). file: [3f81899b3d] check-in: [3bcb631b4f] user: stephan branch: trunk, size: 192380 | |
2021-11-01
| ||
21:25 | More work on f-rebuild and related crosslinking bits. file: [b6418002a3] check-in: [8c51e45f8f] user: stephan branch: trunk, size: 191314 | |
2021-10-21
| ||
10:04 | Insignificant internal tweaks. file: [7473f28730] check-in: [65ae37ae14] user: stephan branch: trunk, size: 190888 | |
02:39 | Internal buffer allocation optimization in fsl_deck_save(). file: [805184e942] check-in: [23cd6b0b72] user: stephan branch: trunk, size: 190883 | |
2021-10-20
| ||
14:26 | Doc updates related to the removal of fsl_deck::uuid. Fixed a mismatched transaction start/end in one particular error case in fsl_deck_crosslink() (when loading baseline of a delta manifest failed). file: [7154e4862a] check-in: [1742cabfde] user: stephan branch: trunk, size: 190669 | |
13:11 | Removed fsl_deck::uuid and the fsl_deck_parse() step which tries to map its inputs to an existing db record. While convenient for downstream code, it's a huge performance hit. Checking in to a branch for f-parseparty speed testing compared to the current trunk. file: [ca7087798e] check-in: [1dc391289c] user: stephan branch: remove-deck-uuid, size: 190708 | |
2021-10-19
| ||
10:03 | Doc updates and minor internal code reorgs. file: [87f3618d1a] check-in: [9542202a90] user: stephan branch: trunk, size: 191305 | |
2021-10-15
| ||
07:54 | Insignificant cleanups found while scouting out what's needed to port over merge. file: [b42be8d320] check-in: [65b379e3e0] user: stephan branch: trunk, size: 191298 | |
2021-10-08
| ||
21:51 | Moved from code from f-vdiff into the public API. Several fixes in f-vdiff. file: [a90f3520d1] check-in: [39180d2fe8] user: stephan branch: trunk, size: 191490 | |
2021-09-18
| ||
10:39 | Changed semantics of fsl_appendf() to 0 on success, non-0 on error. Removed fsl_appendf_f() and replaced its uses with fsl_output_f(). Be on the lookout for subtle bugs, but the old printf()-style return semantics have never been relied upon so this should be side-effect-free. file: [dfca731fa1] check-in: [b2e283edbf] user: stephan branch: trunk, size: 191468 | |
2021-09-15
| ||
12:54 | Fixed a buffer overwrite by 1 byte which corrupted a fsl_deck object and triggered assertion. file: [ab1b37bc6c] check-in: [a1ef6254e5] user: stephan branch: trunk, size: 191546 | |
2021-07-07
| ||
03:08 | Fixed a broken empty-title check in forum post crosslinking. file: [24408f0eec] check-in: [8d757883d2] user: stephan branch: trunk, size: 191466 | |
2021-06-06
| ||
07:30 | Removed some dead code. Minor internal doc touchups. file: [4856109f58] check-in: [1fff00e7c7] user: stephan branch: trunk, size: 191466 | |
2021-05-30
| ||
23:00 | Tiny internal cleanups. file: [ec769a6fe5] check-in: [20b912e015] user: stephan branch: trunk, size: 191502 | |
03:23 | Added a harmlessly missing #undef. file: [378c11df2e] check-in: [36893a35c0] user: stephan branch: trunk, size: 191430 | |
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. file: [bca31feaad] check-in: [0e159c2f67] user: stephan branch: trunk, size: 191413 | |
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. file: [367d0fc63c] check-in: [755c059371] user: stephan branch: trunk, size: 189919 | |
03:53 | Renamed fsl_cx_forbid_delta_manifests() to fsl_cx_forbids_delta_manifests() so that it doesn't sound like a setter function. file: [716fff8b5a] check-in: [7501bb92f9] user: stephan branch: trunk, size: 189917 | |
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. file: [7dfde9c7d7] check-in: [ea6074b8ad] user: stephan branch: trunk, size: 189916 | |
2021-04-13
| ||
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). file: [b284fbccd9] check-in: [e9aed30c66] user: stephan branch: trunk, size: 187394 | |
14:26 | Corrected a memory mis-read of an MD5 hash using a SHA1/SHA3 length. Minor cleanups up f-test-ciwoco. file: [df36c5390f] check-in: [88ed2e9e9d] user: stephan branch: trunk, size: 186354 | |
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. file: [0c011b0500] check-in: [63d85115a9] user: stephan branch: deck-reworking, size: 186355 | |
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. file: [a61e67c7a9] check-in: [fcdeddd18a] user: stephan branch: deck-reworking, size: 186361 | |
07:33 | More work on the fsl_deck_derive()-related bits. Internal API modernization in fsl_content_put_ex(). file: [abc04c9f36] check-in: [64b07ff5a8] user: stephan branch: deck-reworking, size: 186034 | |
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(). file: [83778f60c3] check-in: [f839ab3edd] user: stephan branch: deck-reworking, size: 184647 | |
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. file: [84bdc69357] check-in: [e314f2f9df] user: stephan branch: trunk, size: 180078 | |
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(). file: [5a51b2853c] check-in: [176d9af72a] user: stephan branch: trunk, size: 180160 | |
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. file: [8b06304f8e] check-in: [40fcc816f0] user: stephan branch: trunk, size: 180539 | |
2021-03-28
| ||
17:05 | Tightened is-sorted check when parsing Cluster artifacts. file: [d746004801] check-in: [2a35f5e331] user: stephan branch: trunk, size: 180548 | |
2021-03-26
| ||
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). file: [18e6ade197] check-in: [1da8255567] user: stephan branch: manifest-cache, size: 180346 | |
08:00 | Minor cleanups. file: [8189b93f37] check-in: [c60d9b4435] user: stephan branch: manifest-cache, size: 180025 | |
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). file: [bfb1b2560b] check-in: [6bb1262768] user: stephan branch: manifest-cache, size: 179810 | |
2021-03-24
| ||
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). file: [6f284e2949] check-in: [7c05e9d44f] user: stephan branch: trunk, size: 177888 | |
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. file: [4cb3a95682] check-in: [81cbf6794f] user: stephan branch: trunk, size: 177750 | |
08:33 | Doc updates, some char-to-bool API signature updates, and renamed a deeply internal API func. file: [5052ba532a] check-in: [6a6b5d1e43] user: stephan branch: trunk, size: 177004 | |
2021-03-18
| ||
14:01 | Minor allocation optimization in/via fsl_deck_output(). file: [a2922117a1] check-in: [5ec7cd9c0c] user: stephan branch: trunk, size: 177001 | |
2021-03-15
| ||
03:35 | Moved a couple functions out of the public API. file: [3997b91c61] check-in: [40c2c455fc] user: stephan branch: trunk, size: 176900 | |
2021-03-13
| ||
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.) file: [84970cf29c] check-in: [eb1693f394] user: stephan branch: trunk, size: 176901 | |
2021-03-12
| ||
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. file: [c8e139bd12] check-in: [01c1cff578] user: stephan branch: cx-scratchpad-rework, size: 176661 | |
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. file: [1b98d209bc] check-in: [520d31d80a] user: stephan branch: trunk, size: 176659 | |
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. file: [63dc9deec0] check-in: [fd313baef4] user: stephan branch: trunk, size: 176333 | |
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. file: [39c59aa9ac] check-in: [6bdb294442] user: stephan branch: trunk, size: 176445 | |
2021-03-10
| ||
08:54 | Corrected missing +x bit in manifests broken in the F-card refactoring. file: [189ca97572] check-in: [d0d4c78fb2] user: stephan branch: trunk, size: 176268 | |
08:25 | Renamed the 'F2' F-card temporary porting name back to F. file: [8180ea318d] check-in: [63e886fff0] user: stephan branch: f-card-array, size: 176247 | |
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.) file: [ce98d38edd] check-in: [2440c84b01] user: stephan branch: f-card-array, size: 176364 | |
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. file: [6769075ba1] check-in: [e484d5f96e] user: stephan branch: f-card-array, size: 176144 | |
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. file: [dc5fd56caa] check-in: [725c13c0d0] user: stephan branch: f-card-array, size: 176145 | |
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). file: [33400286b8] check-in: [200bddbb8a] user: stephan branch: trunk, size: 178378 | |
2021-03-08
| ||
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. file: [228c706c26] check-in: [6dd8166303] user: stephan branch: confirmer-co, size: 176534 | |
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). file: [c3a98a1baf] check-in: [9a6bb6834f] user: stephan branch: trunk, size: 176556 | |
2021-03-07
| ||
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. file: [05efd906a0] check-in: [0c3df4194e] user: stephan branch: trunk, size: 176229 | |
08:27 | Replaced Q-card magic values with an enum. file: [53adf6b8d1] check-in: [b81f4c29c9] user: stephan branch: trunk, size: 176681 | |
2021-03-05
| ||
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). file: [b575fa6951] check-in: [30b1a2435b] user: stephan branch: trunk, size: 176443 | |
04:29 | More tinkering with the f-co/f-open-related infrastructure. file: [4a851112fb] check-in: [13194b49eb] user: stephan branch: trunk, size: 176308 | |
2021-03-04
| ||
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. file: [c6f2d32d7c] check-in: [d1428d5a93] user: stephan branch: trunk, size: 176304 | |
2021-03-03
| ||
11:42 | Renamed fsl_buffer_reset() to fsl_buffer_reuse() to try to reduce the confusion between its semantics contrasted with fsl_buffer_clear(). file: [8bf1799f28] check-in: [0584c1b6e2] user: stephan branch: trunk, size: 176296 | |
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. file: [cd5a533764] check-in: [2a04a6818c] user: stephan branch: trunk, size: 176296 | |
2021-03-02
| ||
14:47 | Merged in open-ckout-wip. Corrected a broken assumption/assertion combination trigged by fsl_deck_R_set(). file: [b89d784c17] check-in: [6ce13d2392] user: stephan branch: trunk, size: 176297 | |
2021-03-01
| ||
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. file: [b420e90372] check-in: [fa5fb24496] user: stephan branch: trunk, size: 176287 | |
2021-02-28
| ||
11:49 | Removed the superfluous length parameter from fsl_deck_U_set(). file: [8419d0c82d] check-in: [908a2d314c] user: stephan branch: trunk, size: 176392 | |
04:15 | Generic cleanups, char-to-bool conversions. Moved fsl_acache bits into their own file. Shrunk a couple of struct sizes. file: [d9211d745e] check-in: [7c8b025221] user: stephan branch: trunk, size: 176406 | |
2021-02-27
| ||
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. file: [2cc649307c] check-in: [65b9309997] user: stephan branch: trunk, size: 176406 | |
2021-02-26
| ||
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. file: [29955773e7] check-in: [a9332967a7] user: stephan branch: trunk, size: 176400 | |
2021-02-25
| ||
08:22 | Some API renaming. Modified how fsl_deck_parse() determines the deck's RID/UUID. Introduced fsl_repo_blob_lookup(). file: [948618fafd] check-in: [467b9e1c18] user: stephan branch: trunk, size: 175668 | |
2021-02-24
| ||
09:28 | Removed some dead code. Added %j (JSON string) encoding to fsl_appendf() using a streaming approach (no allocation). file: [8edd8bbc19] check-in: [a008179c2d] user: stephan branch: trunk, size: 175674 | |
05:42 | Renamed enum fsl_file_perm_t to fsl_fileperm_e and fsl_rc_t to fsl_rc_e. file: [663a40caa7] check-in: [eb5c621f98] user: stephan branch: trunk, size: 176968 | |
05:38 | Minor internal cleanups in the crosslinking code. file: [1e12f841c3] check-in: [adefc301a3] user: stephan branch: trunk, size: 176975 | |
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(). file: [fc418e4502] check-in: [4dde2be3b0] user: stephan branch: trunk, size: 177204 | |
2021-02-23
| ||
23:55 | Internal doc tweaks. file: [b17b2096fd] check-in: [c7e7b6cf73] user: stephan branch: trunk, size: 174458 | |
19:45 | Hardened deck validation for certain special cases, in particular at output-time. file: [3f244aa902] check-in: [a392b75868] user: stephan branch: trunk, size: 174425 | |
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. file: [24c13c67e3] check-in: [2896b543be] user: stephan branch: trunk, size: 171782 | |
2021-02-22
| ||
03:34 | Technote counterpart fix of [7800a90d16]. file: [6e29f1a8dc] check-in: [ddf4ac0df5] user: stephan branch: trunk, size: 172241 | |
03:12 | Fixed upstream bug [fossil:ecb705359a58ac32]. file: [b7a27473cf] check-in: [7800a90d16] user: stephan branch: trunk, size: 172409 | |
2021-02-21
| ||
18:27 | More enum type renaming. Updated C++/s2 bindings for other recent renamings. file: [50ae8822f6] check-in: [9c1abb2e95] user: stephan branch: trunk, size: 172970 | |
18:12 | When reparenting, fail if the given artifact type may not have a P-card. file: [86e77ec849] check-in: [1278c47f0a] user: stephan branch: trunk, size: 172967 | |
17:56 | Ported over the crosslinking bits which reparent artifacts via the 'parent' tag. file: [d536bf7536] check-in: [e7e12b008d] user: stephan branch: trunk, size: 172577 | |
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. file: [e5233aa319] check-in: [5a3d4bceb3] user: stephan branch: trunk, size: 170234 | |
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. file: [174fb72f12] check-in: [8728796601] user: stephan branch: trunk, size: 169813 | |
2021-02-18
| ||
05:11 | Replaced the extraneous fsl_double_t typedef with double. file: [b8ab23c291] check-in: [b359548620] user: stephan branch: trunk, size: 169813 | |
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). file: [c5389b8bd4] check-in: [edaf56e488] user: stephan branch: trunk, size: 169843 | |
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). file: [34cf56ac39] check-in: [128adb8515] user: stephan branch: trunk, size: 169900 | |
04:13 | Renamed src/mf.c → src/deck.c. Renamed mf.c (mf==manifest) to deck.c. file: [62e77577aa] check-in: [799c43f9c5] user: stephan branch: trunk, size: 169845 | |
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. file: [62e77577aa] check-in: [4a015bdd47] user: stephan branch: trunk, size: 169845 | |
03:24 | Renamed src/fsl_mf.c → src/mf.c. Renamed src/fsl_XYZ.c to src/XYZ.c. f-checkin vfile dump now includes renames. file: [073043e8fa] check-in: [ed3183170a] user: stephan branch: trunk, size: 169612 | |
2021-02-14
| ||
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. file: [073043e8fa] check-in: [88947dfafc] user: stephan branch: trunk, size: 169612 | |
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). file: [b789ada4a0] check-in: [63893e6c12] user: stephan branch: trunk, size: 169383 | |
2021-02-13
| ||
23:44 | Minkering/testing with replacing the checkin timeline crosslinker. Moved some code around. file: [effba74831] check-in: [c42cfd8c10] user: stephan branch: trunk, size: 166047 | |
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]. file: [a6a9de3fe0] check-in: [911afa1bcc] user: stephan branch: trunk, size: 166047 | |
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. file: [93b1ff51f6] check-in: [ac9b034f79] user: stephan branch: trunk, size: 166107 | |
05:52 | Updated attachment crosslinking to account for technote attachments. file: [77d94217a4] check-in: [08ecc42a5f] user: stephan branch: trunk, size: 165545 | |
2021-02-12
| ||
22:21 | Started removing the many now-extraneous (fsl_id_t) casts in variadic calls. file: [f66f8c540f] check-in: [11e5173970] user: stephan branch: trunk, size: 163867 | |
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. file: [e93bc7a7b1] check-in: [ee070353b9] user: stephan branch: trunk, size: 164397 | |
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. file: [6a515e275b] check-in: [31c8bddf22] user: stephan branch: trunk, size: 163906 | |
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). file: [2c6e2ea2dc] check-in: [4dcdf5a8f7] user: stephan branch: trunk, size: 163008 | |
07:41 | Header file reorgs. file: [dce1ac2cd2] check-in: [c1681af460] user: stephan branch: trunk, size: 161329 | |
07:02 | Implemented forum artifact crosslinking and restructured fsl_deck_crosslink() into internal type-specific routines. file: [095ba1c5e5] check-in: [1817557652] user: stephan branch: trunk, size: 161255 | |
2021-02-11
| ||
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. file: [806f65d4b9] check-in: [4b7e3d1ac6] user: stephan branch: trunk, size: 157346 | |
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. file: [adb0ffbe02] check-in: [92a5e7fee4] user: stephan branch: trunk, size: 156506 | |
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. file: [4376b972b9] check-in: [88060bfb9b] user: stephan branch: trunk, size: 156419 | |
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. file: [3ed5a3e393] check-in: [0163960ce0] user: stephan branch: trunk, size: 155639 | |
2021-02-09
| ||
18:06 | Fixed creation of new repository (fsl_repo_new() and f-new.c). Added checkin message mimetype to repo creation options. file: [866f4c7c3b] check-in: [162d4ba4c8] user: stephan branch: trunk, size: 154790 | |
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). file: [5f34417c4a] check-in: [a2c0c7820d] user: stephan branch: trunk, size: 154080 | |
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. file: [6e2684b503] check-in: [631fb3f69a] user: stephan branch: trunk, size: 153934 | |
2021-02-08
| ||
23:47 | Renamed the hash length constants. file: [c274685640] check-in: [0c9a6d3644] user: stephan branch: trunk, size: 153892 | |
23:32 | Added deck support for forum posts, except that crosslinking them is currently unimplemented (requires more infrastructure). file: [32c3f2dd9f] check-in: [b0ac77411e] user: stephan branch: sha3-port, size: 153898 | |
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). file: [cfac30434d] check-in: [8367e0ce6e] user: stephan branch: sha3-port, size: 150358 | |
20:35 | Ported in more of the fossil(1) hashing-related infrastructure. file: [cc6b9048fd] check-in: [033d78f03f] user: stephan branch: sha3-port, size: 150352 | |
18:23 | f-apps compile and f-sanity runs. MILESTONE. Still need to test the other f-apps, though. file: [8b50bfa09c] check-in: [76c290eb05] user: stephan branch: sha3-port, size: 150138 | |
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. file: [a76f80d3d0] check-in: [240701a6ec] user: stephan branch: sha3-port, size: 150162 | |
2021-02-07
| ||
14:31 | Globally replaced http://... URLs with https://.... Most of them probably still work, too. file: [912596d301] check-in: [6af7b3b7c8] user: stephan branch: trunk, size: 149780 | |
2016-08-20
| ||
12:37 | fixed a mis-think in the previous commit which caused unnecessary extra allocations. file: [045e17629e] check-in: [679e38294a] user: stephan branch: trunk, size: 149774 | |
12:13 | fixed: when parsing F-cards, defossilize their names (in-place) before insertion into the deck. Was broken with space-containing filenames. file: [af31f79a2c] check-in: [9f317f8fa8] user: stephan branch: trunk, size: 149913 | |
2016-02-18
| ||
11:24 | fixed an assertion, improved an error message (just now triggered by files with spaces in their names :/). file: [ce8b2c6c0c] check-in: [a5d8233f6d] user: stephan branch: trunk, size: 149527 | |
2015-12-28
| ||
21:24 | another test of the leaf-check fix (not included in this commit). Found 2 bugs compared to fossil(1). file: [10ffe154a6] check-in: [7a117a135a] user: stephan branch: trunk, size: 149459 | |
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. file: [7371104d24] check-in: [c9010b6036] user: stephan branch: trunk, size: 149440 | |
2015-12-13
| ||
15:46 | back-ported in http://www.fossil-scm.org/index.html/info/8e44cf6f4df4f9f0. file: [34b5c3a9c0] check-in: [ee2a7f7c06] user: stephan branch: trunk, size: 149444 | |
2015-08-17
| ||
10:38 | minor internal text fix. file: [82a457c81f] check-in: [6a88a2d589] user: stephan branch: trunk, size: 148724 | |
2015-07-23
| ||
18:02 | ported in relatively recent mlink/plink changes - requires newer fossil aux schema. file: [082d2e429e] check-in: [ee03f7343f] user: stephan branch: trunk, size: 148732 | |
2014-10-19
| ||
15:45 | removed fsl_deck_F_foreach_own() - useless bloat (same feature is available as a param flag to fsl_deck_F_foreach()). file: [2f62764383] check-in: [3ae4f088e4] user: stephan branch: trunk, size: 147367 | |
2014-10-08
| ||
15:34 | comment fix (misinformation), removed a line of dead code. file: [b1b988d9d4] check-in: [4356134409] user: stephan branch: trunk, size: 147600 | |
15:28 | Fixed another char-should-be-int case (portability problem). file: [c2371d6a24] check-in: [bcee79685a] user: stephan branch: trunk, size: 147643 | |
15:09 | Fixed a broken error propagation which allowed duplicate tags to be output via fsl_deck_output(). Found while investigating an ML post from the fossil-users list. file: [8f012025b7] check-in: [0dadcc5b17] user: stephan branch: trunk, size: 147638 | |
2014-10-02
| ||
03:12 | amalgamation support for msvc; #undef'ed a couple macros that collided with Windowsian things; added a project for my testing porpoises; put in a conditional compile switch in f-sanity.c to support an amalgamation build with ease. file: [4399212e38] check-in: [0d2451c9c2] user: dave branch: dave, size: 147304 | |
2014-06-28
| ||
03:04 | added a note about a fossil(1) addition. file: [32d5aaf737] check-in: [1d4d4e42b6] user: stephan branch: trunk, size: 147271 | |
2014-05-29
| ||
08:51 | Portability fixes: changed char to int in places which use 3-value logic. file: [7241830aed] check-in: [fbf99d6e80] user: stephan branch: trunk, size: 147054 | |
2014-04-11
| ||
23:12 | minor formatting tweak. Edit: aaaaannnd... a bunch of other stuff i didn't mean to commit here. file: [ceaab7eb54] check-in: [f01ba444ed] user: stephan branch: trunk, size: 147069 | |
15:31 | Added crosslinking support for ATTACHMENT artifacts. file: [b20f87678f] check-in: [6e9428cba9] user: stephan branch: trunk, size: 147037 | |
2014-04-06
| ||
18:24 | minor comment tweaks. file: [e1ff0f9985] check-in: [5f35b704c8] user: stephan branch: trunk, size: 144327 | |
2014-04-04
| ||
10:41 | Not sure why this chose now to break. Need to re-evaluate this at some point - some of this handling is historical. file: [40cef7889a] check-in: [33b3ce4300] user: stephan branch: trunk, size: 144252 | |
2014-04-03
| ||
17:02 | Renamed fsl_glob_list_clean() to fsl_glob_list_clear() for consistency with similar APIs. file: [74e6a7075a] check-in: [1075d15a5f] user: stephan branch: trunk, size: 144175 | |
16:43 | Renamed fsl_repo_filename_fnid() to fsl_repo_filename_fnid2(), kept it internal, and added fsl_repo_filename_fnid() as a simplified form safe for general-purpose client-side use. file: [181e31aef8] check-in: [f18878c6b4] user: stephan branch: trunk, size: 144165 | |
2014-04-01
| ||
19:15 | minor cleanups. file: [76bd62751e] check-in: [9ec90536c3] user: stephan branch: trunk, size: 144163 | |
15:34 | And this time compiled it. file: [be757f2bef] check-in: [fa09253792] user: stephan branch: trunk, size: 143487 | |
2014-03-31
| ||
18:54 | minor internal cleanups in crosslinking. file: [95179b995b] check-in: [d8f5d3bb1f] user: stephan branch: trunk, size: 143455 | |
2014-03-28
| ||
21:33 | All sorts of minor warning fixes revealed by compiling the amalgamation in Qt Creator. fsl_delta.c is not warning-free yet b/c my attempts to fix the signedness complaints have broken it. file: [b98549da6e] check-in: [cb99e115a4] user: stephan branch: trunk, size: 142599 | |
2014-03-25
| ||
18:16 | A big round of renaming and touchups. More tinkering with the F-card generation. Seems to work how i want it now. This commit is partially a test of said functionality... seems we are not quite at a delta/baseline rollover point. file: [201bdffe1d] check-in: [7a0759a0a4] user: stephan branch: trunk, size: 142521 | |
2014-03-24
| ||
20:55 | removed an unneeded non-error check. file: [22ba997290] check-in: [d5f58f4d3c] user: stephan branch: trunk, size: 142527 | |
2014-03-22
| ||
11:55 | Made fsl_tag_prefix_char() public. Added validation of T-card ordering at output-time. file: [b7157efb2f] check-in: [e5ea5fe2e2] user: stephan branch: trunk, size: 140083 | |
2014-03-21
| ||
13:10 | Added missing has-T-card validation on CONTROL artifacts. file: [f62c07bfca] check-in: [c07de7ee52] user: stephan branch: trunk, size: 138972 | |
13:01 | Added an error message. Removed incorrect P-card output generation (which thankfully failed due to other validation) for CONTROL artifacts. file: [fa0198aff5] check-in: [db3c51efb5] user: stephan branch: trunk, size: 138945 | |
12:32 | More work on the C++ API. Added the beginnings of the Deck class. file: [17a25e550b] check-in: [efc0ab398c] user: stephan branch: trunk, size: 138884 | |
2014-03-18
| ||
22:10 | A long evening of minor generic cleanups. Added missing output support for Attachment artifacts. Still missing crosslinking support for them. file: [822ea296c5] check-in: [0bf60903ea] user: stephan branch: trunk, size: 138863 | |
2014-03-17
| ||
19:14 | Fixed an incorrect assert() triggered by a delete/rename combination. Minor cleanups in code looked at while figuring out what triggered the assert(). file: [26f58fce19] check-in: [811508a602] user: stephan branch: trunk, size: 135590 | |
2014-03-16
| ||
17:32 | Extended the fsl_deck string re-use to cover more cases. Other minor cleanups. file: [e6a05499e9] check-in: [47401e1763] user: stephan branch: trunk, size: 135031 | |
13:03 | Extended the manifest content caching in fsl_deck_parse() to apply to other fsl_deck string cards. Changed fsl_deck::L from a fsl_buffer to a C-string. file: [36e8d69f5d] check-in: [752aad3eb7] user: stephan branch: trunk, size: 134485 | |
11:25 | Changed fsl_deck_parse() buffer param ownership semantics to something more vague. The parser now re-uses buffer memory for F-card strings, rather than duplicating them, and takes over the buffer memory in that case. This cuts malloc() calls significantly for manifests with many F-cards but does not save much total memory overall (can be measured in kb). file: [335de3207c] check-in: [7943808461] user: stephan branch: trunk, size: 133129 | |
2014-03-15
| ||
17:36 | s/FSL_FS_PERM/FSL_FILE_PERM/gi. Minor tinkering with the vfile scanning process. file: [71b487561a] check-in: [c8c97fd8fe] user: stephan branch: trunk, size: 132208 | |
15:02 | prettied a query. file: [f0463cee55] check-in: [f17950f775] user: stephan branch: trunk, size: 132180 | |
13:35 | Minor cleanups, code consolidation/removal. file: [ee884df917] check-in: [a92bffdddf] user: stephan branch: trunk, size: 132025 | |
2014-03-14
| ||
14:25 | a long morning of refactoring and cleanups. file: [1e88d8ddff] check-in: [c71f986d35] user: stephan branch: trunk, size: 131084 | |
12:10 | merged in an accidental fork (my fault for using f-checkin instead of fossil commit). Finally get to test the delta-too-big bits. file: [305d953be1] check-in: [853ec1f650] user: stephan branch: trunk, size: 133703 | |
12:01 | removed an old/long-done TODO. file: [9a3513976e] check-in: [5900ce9dee] user: stephan branch: trunk, size: 133718 | |
11:57 | moved around some comments. file: [e287768f0b] check-in: [a75ca1c323] user: stephan branch: trunk, size: 134020 | |
11:52 | Found the cause of/fixed the problem which caused delta-application to fail on one particular artifact in the tcl core repo. Caused by fsl_buffer_is_compressed() heuristic failing for that one case. Switched to a different heuristic which had been #ifdef'd out. file: [70a084b6ba] check-in: [c3660f5241] user: stephan branch: trunk, size: 134991 | |
11:10 | another round of minor cleanups. file: [8f0742e503] check-in: [7e8d0ecfe2] user: stephan branch: trunk, size: 134637 | |
2014-03-11
| ||
21:01 | Removed some dead code. Added an error check. file: [5b7d8c4b19] check-in: [1bdec1b5de] user: stephan branch: trunk, size: 134638 | |
2014-03-10
| ||
21:49 | Experimenting with another F-card calculation algo, closely based on fossil(1)'s. (Thanks to drh for the deleted-file clarifications.) Theoretically it supports generating deltas but it's time for bed, so have not tested that far yet. Doc additions. file: [0f405f8a4e] check-in: [744dac3799] user: stephan branch: trunk, size: 134794 | |
2014-03-09
| ||
18:32 | more work on the checkin bits. the wrong leaf problem still lurks but winding down for the night. file: [2afc5a2b5b] check-in: [2bf52dd2ea] user: stephan branch: trunk, size: 133302 | |
10:19 | This is the very first checkin performed by libfossil on its own repo. Pray. Hard. file: [e4fafba0af] check-in: [79460b24aa] user: stephan branch: trunk, size: 133350 | |
2014-03-08
| ||
22:21 | More work on the checkin bits. Reimplemented how baseline manifests get their F-cards calculated. Not yet sure how best to implement a delta manifest. file: [c4afaebc18] check-in: [1cd70042f1] user: stephan branch: trunk, size: 133246 | |
2014-03-04
| ||
22:10 | changed the return semantics slightly for fsl_deck_F_seek(), so that it returns cards with NULL uuids as well. Touches sensitive parts, but it all seems to be working. file: [3cd0a47f23] check-in: [c29eaed2d9] user: stephan branch: trunk, size: 134319 | |
2014-02-25
| ||
21:19 | Changed fsl_repo_filename_to_fnid() semantics a tiny bit. file: [791a881a9a] check-in: [3438cbb4bd] user: stephan branch: trunk, size: 131896 | |
2014-02-14
| ||
12:32 | Renamed fsl_card_F::perms to perm and gave it the proper type (was relying on int-to-enum implicit conversions before). Build deps fix. file: [4aa0a91d8e] check-in: [0f6261ee4d] user: stephan branch: trunk, size: 131890 | |
10:36 | Reordered some arguments. Implemented fsl_repo_extract(), which will be the basis of checkout-like behaviours. file: [22adde23d3] check-in: [e713b48c83] user: stephan branch: trunk, size: 131889 | |
09:05 | Globally changes the API docs from fossil/sqlite-style '**' to Doxygen-friendly format because the extra stars hinder writability/changability and require an extra filter at the doxygen-processing level. file: [6d46950060] check-in: [a2cbd2e343] user: stephan branch: trunk, size: 131892 | |
2014-02-12
| ||
20:42 | Moved ZIP-creation code into the public API. Expanded and fixed it considerably. Added f-zip tool. file: [09a5352a9f] check-in: [54a3117046] user: stephan branch: trunk, size: 131892 | |
2014-02-10
| ||
18:29 | Consolidated FSL_ATYPE_xxx and FSL_CATYPE_xxx into FSL_CATYPE_xxx, replaced fsl_atype_t with fsl_catype_t. file: [7d26b93e6b] check-in: [c0ca757a66] user: stephan branch: trunk, size: 131893 | |
2014-02-09
| ||
13:10 | Got initial create-branch code working. file: [246e6e2752] check-in: [1c87e1134f] user: stephan branch: trunk, size: 131564 | |
12:41 | Some minor tinkering with internals to avoid re-calculating an R-card if a client explicitly sets it (needed by the branch operation). file: [1a83db35f8] check-in: [a7e50f7ba8] user: stephan branch: trunk, size: 131970 | |
2014-02-06
| ||
22:09 | Reworked fsl_file_canonical_name() to able to apply any arbitrary root prefix. Moved some code around, some of which, in hindsight, could not be moved. fsl_checkout_filename_check() now canonicalizes relative to the checkout root, not the cwd. Added fsl_deck_load_name(). Removed some __func__ references (portability concerns, possibly overblown). Added skeleton f-diff app. file: [0c939410f7] check-in: [19845c101c] user: stephan branch: trunk, size: 131323 | |
2014-02-02
| ||
17:34 | Minor code consolidation. file: [be71f915c6] check-in: [36241e7150] user: stephan branch: trunk, size: 130893 | |
16:31 | More buffer-to-string refactoring to save some memory. file: [dcf38af683] check-in: [72128a925d] user: stephan branch: trunk, size: 130477 | |
14:53 | Started refactoring some of the superfluous fsl_buffer data to (char*) to save on the sizeof()s. file: [d05c338567] check-in: [e0aa094e11] user: stephan branch: trunk, size: 130151 | |
2014-01-30
| ||
20:36 | Re-thought/implemented fsl_repo_dir_names() to return all dir names when given an RID, use the checkout if rid==0, and all versions if rid is negative. Other minor refactoring/renaming. Fixed fsl_cx_filename_collation() to return the right string. file: [15fd508fb7] check-in: [22ce993a61] user: stephan branch: trunk, size: 130213 | |
2014-01-29
| ||
20:22 | Switched from a static to dynamic buffer in an ill-fated corner wiki crosslinking. file: [dde6b41fc8] check-in: [e49cf382cd] user: stephan branch: trunk, size: 130163 | |
2014-01-26
| ||
11:31 | More refactoring/consolidation of the disparate config-db APIs. file: [b99a22db7a] check-in: [3551ebfb6b] user: stephan branch: trunk, size: 130094 | |
2013-09-18
| ||
17:17 | Minor error reporting cleanup. file: [afa6577387] check-in: [f0bdc0ff5a] user: stephan branch: trunk, size: 130039 | |
2013-09-16
| ||
17:36 | minor doc updates and internal cleanups. file: [9be4f2cc23] check-in: [4c2a2319dc] user: stephan branch: trunk, size: 129961 | |
2013-09-10
| ||
20:36 | Simplified fsl_deck_parse() signature. Reimplemented fsl_julian_to_iso8601() using a different algorigthm - the previous one has an off-by-one-day bug in some cases. file: [d33c45fd50] check-in: [63333ab345] user: stephan branch: trunk, size: 130052 | |
17:35 | fsl_deck_parse() now theoretically needs no fsl_cx, but it is untested in that configuration. file: [99515e7d4c] check-in: [0cd2dffff4] user: stephan branch: trunk, size: 129423 | |
15:20 | Added some test assertions. A pair of minor memory allocation optimizations. file: [329a679add] check-in: [9eb64a8a1d] user: stephan branch: trunk, size: 129125 | |
14:23 | Resolved task [ef8cd96ec9]: refactored fsl_deck_output() to not need a fsl_cx/db handle. file: [c57f55d72a] check-in: [8af01f757e] user: stephan branch: trunk, size: 128785 | |
2013-09-09
| ||
18:32 | Added fsl_iso8601_to_julian(). Minor doc updates. file: [e704dfaf1a] check-in: [479a7c897f] user: stephan branch: trunk, size: 129020 | |
2013-09-08
| ||
15:39 | Lots of minor additions and tweaks, mainly in support of app-level code. file: [ac65b31d7e] check-in: [7bfbc3dba6] user: stephan branch: trunk, size: 128770 | |
2013-09-03
| ||
16:24 | more work on the tickets bits (loading field list). file: [9ab79d180b] check-in: [0e80952975] user: stephan branch: trunk, size: 128764 | |
15:40 | More ticket bits. Minor API tweaks. file: [bc6cfc49ae] check-in: [5a47293811] user: stephan branch: trunk, size: 128586 | |
14:12 | Started porting in some of the ticket-handling bits. Added lots more (truly unnecessary) card validation on deck output. Minor fixes. file: [64e18b7426] check-in: [8e88708563] user: stephan branch: trunk, size: 128793 | |
11:52 | Added some 'truly unnecessary' casts to work around va_list/sizeof() mismatches which appear in some cases when passing through multiple levels of va_list proxy function, despite strong typing of the arguments. Not yet sure what else can be done here. file: [1fcfc7be59] check-in: [bd36f7182d] user: stephan branch: trunk, size: 125092 | |
2013-09-01
| ||
16:06 | another round of trivial cleanups and docs. file: [ef33d85f77] check-in: [9ed0b7a089] user: stephan branch: trunk, size: 124809 | |
14:40 | Found a reasonable heuristic for "the empty P-card problem" - output an empty P only for Manifests (and hope that rid 1 is the only Manifest without a P-card). file: [57e1b0b42c] check-in: [a8be8735eb] user: stephan branch: trunk, size: 124162 | |
14:04 | Lots of API name shortenings. Added fsl_content_get_by_sym(). file: [b0702707e4] check-in: [80945ffca3] user: stephan branch: trunk, size: 124304 | |
12:54 | s/fcli_cli_/fcli_/g. Minor error text change. file: [91e6923aa0] check-in: [945fea799c] user: stephan branch: trunk, size: 124379 | |
12:51 | Fixed an error check broken by recent refactoring :(. Fixed a related error reporting problem found (via assert()) by that breakage :). file: [d03f9425c9] check-in: [6ab281ea95] user: stephan branch: trunk, size: 124378 | |
12:29 | minor cleanups/fixes in crosslink callback handling. file: [e0bf6569b3] check-in: [510aecf972] user: stephan branch: trunk, size: 124356 | |
2013-08-31
| ||
09:12 | Ported in some control artifact touchups from Jan. Fixed a linking-related problem with FossilApp_local_help(). Accommodated API changes in th1ish binding. file: [b662cdf9ee] check-in: [1e923bce86] user: stephan branch: trunk, size: 124174 | |
2013-08-28
| ||
21:13 | Minor doc and error reporting improvements. file: [678785d8b0] check-in: [32f3595fa2] user: stephan branch: trunk, size: 123848 | |
2013-08-27
| ||
21:53 | minor tinkering before bed. nothing functional. file: [de56a8fa73] check-in: [41966a046d] user: stephan branch: trunk, size: 123812 | |
21:00 | Created an empty repo, including initial manifest, and fossil(1) can read it :). Discovered that i am still seeing the va_list/sizeof-related corruption on this 32-bit system if i am not way too careful with format specifiers. Need to look into that again, but too tired now (cannot explain why i have never seen this in other trees using this same code). file: [70900e31ac] check-in: [96cbb2d6ad] user: stephan branch: trunk, size: 123724 | |
19:55 | Started work on creating a new repo. Several related minor cleanups and additions. Simplified a couple APIs. file: [45ac4e3d11] check-in: [184bdcf4a4] user: stephan branch: trunk, size: 122261 | |
2013-08-26
| ||
17:34 | minor cleanups/reformatting. fixed a potential endless loop in some untested code. file: [2dc32259a1] check-in: [9cac575a31] user: stephan branch: trunk, size: 121865 | |
2013-08-25
| ||
14:30 | minor cleanups in the xlink callback code. fixed an error propagation case. file: [81a7a369be] check-in: [966209515b] user: stephan branch: trunk, size: 120095 | |
14:15 | First draft of artifact crosslink callbacks, to allow us to farm out the crosslinking work. file: [05c8ecf446] check-in: [fb18a52241] user: stephan branch: trunk, size: 119854 | |
13:24 | off-by-one fix in timeline text for sym-xxx tags. Added --new option to f-wiki. file: [b99e71cee3] check-in: [6dd9438f46] user: stephan branch: trunk, size: 119586 | |
13:00 | Fixed fsl_deck_unshuffle() to not fail if the deck _cannot_ have an R-card. s/fsl_deck_calculate_R/fsl_deck_R_calc/, for consistency. file: [cb44793ebd] check-in: [bc88a06866] user: stephan branch: trunk, size: 119586 | |
11:39 | More API renamings. Moved some card-related code from internal to public APIs. Added foreach iterator for F-cards. Added basic f-ls app. file: [342ec337d5] check-in: [e0963e92ca] user: stephan branch: trunk, size: 119522 | |
09:12 | API renamings (shortenings) and minor API simplifications. Doc updates, some work on making the R-card optional. file: [bdd7512ced] check-in: [c0752c60c2] user: stephan branch: trunk, size: 118281 | |
2013-08-24
| ||
23:21 | Added new file for Event APIs. Minor refactoring and code consolidation. Fixed a crosslinking bug which used a wrong (old/changed) format specifier for event-XXX tags. file: [d9d451df7f] check-in: [b5b5a52965] user: stephan branch: trunk, size: 118707 | |
13:42 | Renamed fsl_deck_VERB_CARD() to fsl_deck_CARD_VERB(), for consistency. Added initial wiki-save support, but the public API needs a bit of tweaking. file: [935be779ba] check-in: [31dda112b9] user: stephan branch: trunk, size: 118925 | |
09:50 | Minor cleanups. Got rid of snprintf() (not c89) now that the fsl_snprintf() mystery has been solved. file: [65dea5db2f] check-in: [a85df229af] user: stephan branch: trunk, size: 117988 | |
08:57 | Pulled in fixed broke-r-card branch. f-mfparse now reads from stdin by default if no -f or filename is provided and it is not on a terminal. file: [a2d1f4ad30] check-in: [6d746e7d25] user: stephan branch: trunk, size: 118518 | |
08:54 | Partial revert of the last commit (problem was the va_list/sizeof/snprintf() weirdness again). More experimentation with that particular problem - not sure why it's specific to sprintf(). file: [300b767532] check-in: [6df1e4338a] user: stephan branch: broke-r-card, size: 118524 | |
07:44 | minor cleanups. fixed f-mfparse to know the difference between an imported/artifical artifact and a known own, and skips the sha1 check on imported ones. fsl_deck_parse() no longer asserts if it cannot find a matching RID. file: [be9917c3ee] check-in: [f26b454fa1] user: stephan branch: broke-r-card, size: 117984 | |
2013-08-23
| ||
21:31 | Events have W-cards too, so this needs to be checked first. file: [85dcc1e32a] check-in: [aeee30c289] user: jan.nijtmans branch: trunk, size: 118556 | |
16:07 | Improved fsl_mf_guess_type() ordering from Jan. file: [debe14d345] check-in: [d0fcf5fbb7] user: stephan branch: trunk, size: 118556 | |
2013-08-22
| ||
22:28 | minor bugfixes, more manifest parsing validation, and more docs. file: [3c5e73e7af] check-in: [0d5225a61b] user: stephan branch: trunk, size: 118559 | |
18:26 | Ported in the "verify before commit" code, which ensures that all new content can be extracted from the db before it commits the transaction doing the adding. Fixed a memlink in fsl_repo_tag_symbol(). Added fsl_deck_save() and refactored fsl_repo_tag_rid() to use it. file: [432a511864] check-in: [57107f6bd2] user: stephan branch: trunk, size: 116267 | |
13:44 | fsl_internal.h ==> fossil-internal.h file: [bbaf354110] check-in: [2cae867331] user: stephan branch: trunk, size: 115102 | |
2013-08-20
| ||
22:26 | minor tinkering and fixes before bed. file: [53a6ffa8e3] check-in: [b1e93f23f1] user: stephan branch: trunk, size: 115099 | |
21:29 | Removed an invalid "else" (caused a code skip). Minor buffer termination tweak in corner case. file: [c05b9a5906] check-in: [8dd4a5d428] user: stephan branch: trunk, size: 115164 | |
20:02 | More work on crosslinking, minor refactoring/code movement. Added f-event test app. file: [d09170d3d3] check-in: [06179ab0e6] user: stephan branch: trunk, size: 115126 | |
15:14 | some minor improvements to manifest parsing. Corrected semantics of the "target" parameter to A-cards. file: [c21e3c9ffa] check-in: [07384b266d] user: stephan branch: trunk, size: 114723 | |
2013-08-19
| ||
21:39 | just one more error check... file: [f83bfbc37e] check-in: [f6ca1a7106] user: stephan branch: trunk, size: 114273 | |
21:35 | Ported in the MANIFEST-type crosslinking bits but they must remain untested until tomorrow. file: [4fd6fcf2fc] check-in: [b890029387] user: stephan branch: trunk, size: 114269 | |
20:40 | Minor cleanups. Replaced fsl_db_unix_to_iso8601() with fsl_unix_to_iso8601() (didn't know strftime() was C89). file: [8bc6a2c270] check-in: [fb9ef509fe] user: stephan branch: trunk, size: 111033 | |
19:29 | Added EVENT crosslinking. Can now losslessly round-trip EVENT manifests. Minor changes to support seconds-precision (not msec-precision) on E-cards b/c that is how fossil(1) does it. Fixed bugs in the E-card card-is-legal validation. file: [4cac783881] check-in: [ec268be7f0] user: stephan branch: trunk, size: 110571 | |
2013-08-18
| ||
22:02 | Fixed a wrong int type (signed vs unsigned). file: [fcd9424408] check-in: [9bb338c980] user: stephan branch: trunk, size: 106424 | |
20:45 | minor API renamings (consistency). file: [d1bfcdb7ea] check-in: [5a37f7d1f0] user: stephan branch: trunk, size: 106414 | |
20:08 | Ported in the rest of add_link(). Compiles but is untested (next step: MANIFEST-type crosslinking). file: [d0ec680231] check-in: [2ecba8ed85] user: stephan branch: trunk, size: 106348 | |
18:47 | Started adding fsl_repo_mlink_add(), but there is much left to do there. file: [8170a89b57] check-in: [56ef8127b6] user: stephan branch: trunk, size: 101857 | |
17:14 | more steps on the road to porting add_mlink() and its dependents friends. file: [37e55abcae] check-in: [4bf94ef630] user: stephan branch: trunk, size: 94299 | |
14:35 | Split the code into some new files. Shortened fsl_cx_repo_xxx() and fsl_cx_checkout_xxx(), removing the _repo/_checkout part. file: [c33f2f8413] check-in: [2acbc2f85e] user: stephan branch: trunk, size: 91351 | |
14:03 | minor generic cleanups in the deck code. file: [6643e11871] check-in: [5fa697bee8] user: stephan branch: trunk, size: 92472 | |
12:10 | it turns out commit supports a --delta option and i need a delta manifest for testing, so here's a comment-only patch for delta testing. file: [60a24107e6] check-in: [11f79a13dc] user: stephan branch: trunk, size: 92575 | |
04:31 | minor assertion tweaks to allow parsing of out-of-repo manifests for testing purposes. file: [e7c3067354] check-in: [20b54357eb] user: stephan branch: trunk, size: 92431 | |
03:53 | minor tweak to the rid==1 R card kludge to only output the default R card when rid==1. file: [3997c668ae] check-in: [084ba71226] user: stephan branch: trunk, size: 92451 | |
03:32 | Fixed a bug in T-card parsing of the '*' special UUID. Added a couple workarounds for manifest #1, which violates the R- and P-card conventions laid out in the docs. Fixed a broken error check in fsl_repo_sym_to_uuid() which caused a statement to be left unfinalized (and a wrong result). file: [31930eebea] check-in: [106aaf6898] user: stephan branch: trunk, size: 92420 | |
01:31 | Added deck baseline file iteration and reworked R-card calc to use it. Works for baselines but i am seeing a delta-application bug in a specific tcl commit, but it is not yet clear where my bug is there (the repo passes all integrity tests, so the bug is on my end). Added error-reporting forms of delta application routines. Started porting in some of the filename table funcs. file: [2364e655fb] check-in: [f94ea8a168] user: stephan branch: trunk, size: 91595 | |
2013-08-17
| ||
19:48 | another round of API renamings for consistency purposes. file: [e57fbba27c] check-in: [f0ceea7dd2] user: stephan branch: trunk, size: 86007 | |
18:33 | Can now load and clean up baseline manifests, but finding one is a neat trick - the core fossil repo does not contain a single B card. Luckily the tcl repo them. file: [af32d69b59] check-in: [2d13c82663] user: stephan branch: trunk, size: 86001 | |
14:46 | Ported some queries (back) to cached statements. Doc additions. Fixed a few bugs. file: [3dadc28eff] check-in: [dbabe48f7d] user: stephan branch: trunk, size: 83235 | |
13:11 | Renamed some functions, started moving the fsl_cx-specific code into fsl_cx.c. Added fsl_fatal(). file: [76570dccf0] check-in: [cd522883eb] user: stephan branch: trunk, size: 83188 | |
11:11 | a round of minor cleanups, doc additions, and build tweaks. Build/config modified to allow more variants of c99/long long, to simplify testing of portability-related problems. i expect the xxx_PFMT changes to possibly break on 32-bit platforms. (Edit: didn't break :) file: [191f7e4cd8] check-in: [f739758c74] user: stephan branch: trunk, size: 83346 | |
2013-08-16
| ||
20:04 | Added fsl_deck_unshuffle() to sort any lists which need it and to calculate the R-card (that card works now). Fixed a memleak in fsl_acache_clear. A bit of API renaming and refactoring. file: [0ae68dbe76] check-in: [6dc5c4ab76] user: stephan branch: trunk, size: 83185 | |
11:17 | Removed fsl_mf class, consolidated it with fsl_deck. file: [cf50c5a17a] check-in: [8bbef4153d] user: stephan branch: trunk, size: 79894 | |
10:00 | s/fsl_str_is_uuid()/fsl_is_uuid()/. file: [256b6a6359] check-in: [4325c020b0] user: stephan branch: trunk, size: 81786 | |
09:58 | Added J-cards to the manifest parse, making manifest parsing more or less complete (all cards implemented and basic sanity tests passing). The parser now figures out what artifact type it is and what contents are legal on the fly, obviating much of the to-be-ported validation checking. API renamings for consistency: fsl_mf_tag==fsl_mf_tcard, fsl_mf_file==fsl_mf_fcard, fsl_mf_cherrypick==fsl_mf_qcard. file: [bb09c619dd] check-in: [8735de8159] user: stephan branch: trunk, size: 81846 | |
06:14 | Added a missing arg NULL check to fsl_deck_add_Q(). file: [ac9a2fa95c] check-in: [b3b6f9faf9] user: stephan branch: trunk, size: 75503 | |
05:48 | Can now round-trip manifests with cherrypick (Q) cards, with the caveat about the D card sub-second precision. Moved some of the more obscure bits out of the public API. file: [92c41d6ed1] check-in: [26beddc0a9] user: stephan branch: trunk, size: 75496 | |
01:42 | Ported in wiki manifest crosslinking. Untested - lacking some bits needed to test it. file: [e82148aa37] check-in: [1221ecaa56] user: stephan branch: trunk, size: 70449 | |
2013-08-15
| ||
23:09 | can now round-trip parse/output wiki manifests, with the caveat of subsecond times not necessarily surviving round-trip conversion. file: [94ad0b9825] check-in: [d3253d4000] user: stephan branch: trunk, size: 67836 | |
22:14 | Fixed: F cards do not require the UUID parameter when removing the file. file: [07723c1704] check-in: [3cbd6674f5] user: stephan branch: trunk, size: 65915 | |
17:20 | accomodated API changed, deps bug kept it from being rebuilt/detected earlier. file: [0c5aeab734] check-in: [9e3e4cac12] user: stephan branch: trunk, size: 65434 | |
15:11 | Added missing support for the special "*" UUID in T cards. file: [90b8cd294f] check-in: [c1e1311565] user: stephan branch: trunk, size: 65428 | |
13:22 | ported in more of the fs function. Very minor cleanups in the mf code. file: [3ec1efadcc] check-in: [e229b7b03d] user: stephan branch: trunk, size: 65100 | |
05:14 | can now losslessly round-trip clusters through the manifest parser/generator (they have no D card to muck up the hash). file: [eed40d50e7] check-in: [8914dd2d3b] user: stephan branch: trunk, size: 65813 | |
04:45 | Reworked the fsl_mf_file class to be slimmer (no buffers, and perms as an integer). Can now losslessly round-trip F cards from/to manifests (with one caveat involving sub-second precision in conversion of D card values). file: [3f136341d2] check-in: [ea1c6d0b32] user: stephan branch: trunk, size: 65020 | |
02:21 | Updated autosetup. Added guess-manifest-type-based-on-cards logic to the parser. file: [c8f81b87c1] check-in: [4c418820b6] user: stephan branch: trunk, size: 63741 | |
2013-08-14
| ||
23:49 | Minor cleanups to the last round of refactoring. Cleaned up help subsystem for FossilApp a bit. file: [e67352fd53] check-in: [3cc2cd8a5a] user: stephan branch: trunk, size: 63223 | |
23:15 | Added fsl_sha1_cx_empty, for consistency/completeness. Minor cleanups to the last round of refactoring. file: [ea7d49241e] check-in: [9307625bb7] user: stephan branch: trunk, size: 63430 | |
22:54 | More work on the deck/manifest API. Moved manifest test code into test-mf.c. file: [ed0c9019b0] check-in: [ac713788f4] user: stephan branch: trunk, size: 63379 | |
21:53 | lots of minor reworking of fsl_deck, more to come. file: [32f36bf6df] check-in: [fab82a66a0] user: stephan branch: trunk, size: 62606 | |
19:17 | reimplemented/extended some of the fsl_deck_set_CARD() impls to do better validation and report errors in more detail. file: [902ccd5c10] check-in: [721538f630] user: stephan branch: trunk, size: 58119 | |
18:57 | More work on manifest parsing. file: [275cd859f4] check-in: [1130259d32] user: stephan branch: trunk, size: 57537 | |
2013-08-13
| ||
20:04 | Timeline now shows tag values (if available) for +/-closed tags. Help text improvement. file: [9b73e55da8] check-in: [5726a64134] user: stephan branch: trunk, size: 54551 | |
18:35 | Successfully round-trip parsed/output a basic manifest (T, U, D cards). file: [30be685eec] check-in: [005bc0786e] user: stephan branch: trunk, size: 54183 | |
15:32 | manifest parser now validates Z cards. file: [3299801e52] check-in: [be7a6ff9cb] user: stephan branch: trunk, size: 45783 | |
13:17 | Renamed header files from fossil/*.h to fossil-scm/*.h, to avoid any potential confusion with the fossil FS or other fossils out there. file: [d47266e079] check-in: [99a4a0ff23] user: stephan branch: trunk, size: 45097 | |
13:12 | More work on manifest parsing. Removed tag-test code from test.c b/c it is effectively done in f-tag.c. file: [53ab768593] check-in: [00782f790c] user: stephan branch: trunk, size: 45093 | |
10:55 | Added fsl_cx::flags, APIs to set/get them, and a flag to disable the generation of timeline event entries when crosslinking control manifests. file: [90ae232b7e] check-in: [a62817438b] user: stephan branch: trunk, size: 42987 | |
2013-08-12
| ||
15:44 | Cleanups and fixes in the db bits. s/FSL_TAG_xxx/FSL_TAGTYPE_xxx/g. Fixed a memleak in the handling of the fsl_db::filename entries for the special dbs. fsl_cx_checkout_close() now always closes its accompanying repo first because the repo is attached and we end up in a weird state if we do not. file: [78de201eea] check-in: [ba9abe6330] user: stephan branch: trunk, size: 42847 | |
14:01 | Fixed wrong tag names output in crosslink-generated messages, caused by copy-paste porting of code with different semantics :/. Other minor cleanups. Added --dry-run to f-tag. file: [445ad53a0e] check-in: [6f131086fc] user: stephan branch: trunk, size: 42803 | |
12:07 | removed a stray debug line. file: [229dd7da62] check-in: [d570a577a6] user: stephan branch: trunk, size: 42449 | |
05:25 | Started down the load road to manifest parsing, but it's time for sleep. file: [f90fd404ae] check-in: [7ee2496195] user: stephan branch: trunk, size: 42478 | |
2013-08-11
| ||
21:38 | finished(?) the crosslinking of CONTROL artifacts (tag changes). :-D file: [65b7ffcbc3] check-in: [15958dd832] user: stephan branch: trunk, size: 39495 | |
18:15 | Lots of work on manifest crosslinking. IN THEORY tag changes are now feature-complete, but i want to commit this and back it up BEFORE testing this write operation... file: [d0fd459829] check-in: [52ec7915e3] user: stephan branch: trunk, size: 35505 | |
15:42 | More skeleton work on manifest crosslinking. file: [110a4f6e19] check-in: [a95132ac5c] user: stephan branch: trunk, size: 34057 | |
14:33 | Fixed sorting of T card output when multiple cards are played. fsl_card_is_legal() now distinguishes between optional and required cards. file: [d9f34842c7] check-in: [216f1abe17] user: stephan branch: trunk, size: 32285 | |
10:35 | Ported in content_new() as fsl_repo_content_new(). Added a prepared statement caching mechanism similar to db_static_prepare() (but without the statics). file: [b60a2a3072] check-in: [0c18f5b486] user: stephan branch: trunk, size: 30859 | |
2013-08-10
| ||
23:29 | more API renaming, expanded the FSL_xxx_T_PFMT collection. file: [3622e8a565] check-in: [69dd500a28] user: stephan branch: trunk, size: 30838 | |
22:19 | Fixed output formatting of W cards. file: [ca608d2d55] check-in: [576c3b5eec] user: stephan branch: trunk, size: 30504 | |
21:20 | Started work on manifest crosslinking, but only skeleton code is in place. Time for the dog walk... file: [a11663a270] check-in: [5b89c04e9b] user: stephan branch: trunk, size: 30132 | |
12:44 | added/fixed license headers. file: [eca4ff7762] check-in: [f65b6ba973] user: stephan branch: trunk, size: 28130 | |
2013-08-09
| ||
18:38 | Ported in the low-level content cache bits. Fixed CANCEL tag cards to not output their value. file: [a7ce0c3145] check-in: [76c3b5a830] user: stephan branch: trunk, size: 27472 | |
2013-08-08
| ||
16:32 | Renamed fsl_mf.c → src/fsl_mf.c. moved main sources into src/. moved fsl_internal.h to include/fossil. file: [edbab2daa7] check-in: [dd9401360d] user: stephan branch: autosetup, size: 27398 | |
2013-08-07
| ||
19:54 | int type fix for a few internal fsl_appendf_f() impls. file: [edbab2daa7] check-in: [159a96613a] user: stephan branch: trunk, size: 27398 | |
2013-08-06
| ||
18:53 | Started porting in the content.c/bag.c bits because they are needed before i can continue with manifest crosslinking. Added some missing documentation for the config.h bits. file: [b5e166a930] check-in: [425b5509f1] user: stephan branch: trunk, size: 27378 | |
2013-08-05
| ||
21:16 | Minor tinkering, doc additions, s/FSL_UUID_SIZE/FSL_UUID_STRLEN/, added FSL_MD5_STRLEN. file: [34e465003c] check-in: [0c9cd6f262] user: stephan branch: trunk, size: 27263 | |
19:16 | more small steps towards writing a tag to the db. file: [7df089a666] check-in: [1c3e40ed15] user: stephan branch: trunk, size: 27233 | |
2013-08-04
| ||
10:47 | Ported in the symbol-to-rid/uuid resolver bits. file: [f5cfad9dbb] check-in: [24a991ef4e] user: stephan branch: trunk, size: 26935 | |
08:08 | removed a duplicate fsl_strlen() call. file: [87aa0d5d88] check-in: [c691643cf2] user: stephan branch: trunk, size: 26803 | |
2013-08-03
| ||
20:43 | Ported in %F (Fossilize) to fsl_appendfv(). file: [e4a511cb7e] check-in: [c2f8cff8a3] user: stephan branch: trunk, size: 26892 | |
20:13 | Lots of cleanups and docs for the deck APIs. Added F Cards, but they are untested so far. file: [45e06859b6] check-in: [a1bfbda5e6] user: stephan branch: trunk, size: 26681 | |
15:51 | Minor cleanups to the previous commit. file: [5965147c3e] check-in: [9e1d71914c] user: stephan branch: trunk, size: 20610 | |
15:45 | Added per-control-artifact-type constraints on what types of cards can be added/set in it. Added fsl_deck::error in order to propagate constraint violations up the call chain. file: [cd0d98c75a] check-in: [3569c25d3b] user: stephan branch: trunk, size: 20007 | |
14:42 | guess what - more refactoring of the manifest internals. file: [eb1343eda1] check-in: [562206c1c5] user: stephan branch: trunk, size: 18059 | |
13:08 | More manifest work. Added T card support. Renamed some APIs. file: [5c216bee27] check-in: [84e5b5d499] user: stephan branch: trunk, size: 16488 | |
11:16 | work on the julian/unix time bits. file: [aa9451b3d2] check-in: [ec86edef51] user: stephan branch: trunk, size: 14072 | |
10:17 | more work on the manifest/cards API. file: [455b151442] check-in: [3ba9045142] user: stephan branch: trunk, size: 13701 | |
2013-08-02
| ||
21:49 | more tinkering with the mf api. file: [b7a2cf880d] check-in: [e68ea6b141] user: stephan branch: trunk, size: 11921 | |
19:46 | minor manifest work, doc additions. file: [b8575585d1] check-in: [3792a49219] user: stephan branch: trunk, size: 10788 | |
18:43 | more work on the manifest API. file: [a3fa563add] check-in: [4c71d5b52d] user: stephan branch: trunk, size: 9815 | |
17:08 | Added: More work on the manifest API. file: [b174d942d5] check-in: [121538cf3c] user: stephan branch: trunk, size: 7077 | |