Login
History of include/fossil-scm/fossil-internal.h of 39121d2e233bad3d
Login

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

History of file include/fossil-scm/fossil-internal.h at check-in 39121d2e233bad3d

2025-03-12
20:14
EOL-whitespace cleanups, minor internal doc additions, and rename an internal-use-only function to match current conventions. No functional changes. file: [59e5dfa74a] check-in: [3b62ac66fc] user: stephan branch: trunk, size: 85681
2024-09-17
05:15
Update fsl_cx_empty_m to C99-style. file: [4a19fcee14] check-in: [071f8b629f] user: stephan branch: trunk, size: 85578
2024-09-16
21:22
Remove some debug output. Update some docs. file: [33e27801e4] check-in: [ccd8bc3369] user: stephan branch: db-hooks, size: 86774
20:34
Remove the fsl_db::f (fsl_cx*) member. This touches a lot of code lines but was not anywhere near as invasive as expected. file: [63461168de] check-in: [f00a5025f5] user: stephan branch: db-hooks, size: 86644
17:41
More work towards moving fsl_cx-specific pieces of fsl_db internals into fsl_cx-side hooks. file: [8e070cdddf] check-in: [7fce228983] user: stephan branch: db-hooks, size: 86626
16:02
Initial work on adding some hooks to the fsl_db API, the goal being to eliminate the hard dependency of fsl_cx in fsl_db internals. This compiles but is untested (not counting this commit, which will do at least a minimal test) but other matters require attention so this is being stashed for later development. file: [fc1297ca5a] check-in: [1c4ec95d75] user: stephan branch: db-hooks, size: 86625
12:21
Add --date-override and --allow-older flags to f-ci. file: [0ab0f75520] check-in: [580ec03020] user: stephan branch: trunk, size: 86629
2024-08-01
11:26
When reverting files, report those which were modified only via a merge as reverted (it was formerly not reporting those via the callback). Adjacent cleanups and a potential resource leak fix in two as-yet-have-never-happened error cases. See code comments, in particular in fsl_ckout_revert(), for why this fix is not as satisfactory as it should be. file: [6fb8f77079] check-in: [888c0dfe9a] user: stephan branch: trunk, size: 86632
2024-04-16
06:06
More work on adding library-level SEE support. It seems to basically work but it's not complete. file: [f759945a7d] check-in: [3d4d0d3a05] user: stephan branch: sqlite-see, size: 86203
2024-04-10
22:26
Merge current trunk into sqlite-see branch. file: [f26cfa1aa6] check-in: [d0c7ccf526] user: stephan branch: sqlite-see, size: 85962
22:03
Port in [fossil:f1f7e27e0cdb8943|upstream f1f7e27e0cdb8943], a routine which ensures that a given filename matches the case it is stored in in the filesystem. Use that in f-add.c, where it's applied even for case-sensitive filesystems (primarily as a test for that routine). file: [774e53cafb] check-in: [0e50f798e6] user: stephan branch: trunk, size: 85523
2024-02-03
16:18
More tinkering with the SEE integration, but this reveals that we have to(?), for portability's sake, limit encryption to repositories and checkouts, and keep the global config from being encrypted (else we risk breaking fossil(1)'s use of the config db). It also begs the question of whether arbitrary databases opened via the fossil API should get this support (which would require a different API, as the db API can be used without a fsl_cx object). file: [3be1c767fb] check-in: [f226dbd76a] user: stephan branch: sqlite-see, size: 85965
2023-04-19
02:26
Apply a set of missing f(void) and assigned-but-unused vars from Mark J. file: [7730f57eaf] check-in: [b96f5840ea] user: stephan branch: no-common-ancestor, size: 85526
2022-07-31
20:29
Initial work on fsl_buffer::errCode, for propagating buffer-API error codes to simplify (primarily) series of append operations such that we do not have to check for an OOM error until the end of the series. Essentially works but more testing and making use of it in the core API is needed. file: [973dded07a] check-in: [b5a98f8a9e] user: stephan branch: buffer-errcode, size: 85522
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: [603465fa9d] check-in: [84154036a0] user: stephan branch: trunk, size: 85374
08:08
f-ci now uses fossil(1) for autosync support. Kinda backwards, but it's a usability improvement. It honors both the fcli.autosync boolean setting and fossil's autosync, prefering the former. file: [044bfde081] check-in: [44fcc2f7aa] user: stephan branch: trunk, size: 85808
2022-03-07
01:44
Added fsl_ckout_rename_revert() and unit tests. file: [b6426a0aca] check-in: [aa34eddd93] user: stephan branch: trunk, size: 85809
2022-02-05
04:45
Got foci working and added a basic test for it in f-sanity.c. file: [78b0a82680] check-in: [c33ddf9c91] user: stephan branch: wip-foci, size: 85117
2022-01-23
18:57
Now that the v1 diff code is gone, consolidated diff.c/diff2.c into diff.c and moved the dibu-specific code into the new dibu.c. That required exposing fsl__diff_optimize() via internal.h so that fnc.c can see it. (Edit: in hindsight, should have renamed diff2.c to dibu.c since most of diff2.c was dibu stuff. Oh, well.) file: [099c9cc443] check-in: [2cca86d9a0] user: stephan branch: trunk, size: 84986
11:24
Minor internal doc tweaks. file: [25bdf9dcbd] check-in: [12c9022cbb] user: stephan branch: trunk, size: 84477
08:57
Ported in upstream diff changes [fossil:fbdbc09b402b19de] and [fossil:c311efef078c8733]. Diffing still seems to work. file: [bdbd825aa8] check-in: [93f03cf9ee] user: stephan branch: trunk, size: 84227
2022-01-03
19:38
Added a "hard cached" fsl_stmt for fsl_content_blob(), shaving a few allocs and a small bit of memory from a rebuild. file: [89b4753a61] check-in: [a7de183cd0] user: stephan branch: trunk, size: 83631
2022-01-02
00:32
Added FSL_OMIT_DEPRECATED #define to cause the deprecated APIs to be elided. Got core lib building that way. Removed FSL_EXPORT from functions declared in deprecated.h. file: [d8d9582656] check-in: [b7046bf39b] user: stephan branch: trunk, size: 83177
2022-01-01
14:58
More work on the db handle redux. Seems to work okay. file: [e71d2c1719] check-in: [71f5f09817] user: stephan branch: cx-db-handle-reorg-redux, size: 82934
13:34
fsl_cx db handle reorg redux, step one. Significantly simplifies how dbs are closed, always treating them as an inseparable pair. Basic sanity checks pass, but more testing is needed and lots of docs to update. file: [a16f74faec] check-in: [fa7c56d0ca] user: stephan branch: cx-db-handle-reorg-redux, size: 83654
11:15
Renaming of some internal fsl_xyz... APIs to fsl__xyz... (two underscores). Minor constness tweaks. file: [aca3c5b9a4] check-in: [736abef2cc] user: stephan branch: trunk, size: 82655
01:13
More cleanups moving towards taking another whack at the fsl_cx db handle reorg. Added a test case to f-sanity.c demonstrating the ATTACH-cannot-create error (whereas the sqlite3 shell can create new files that way). file: [14a2da5850] check-in: [51d4b05f5c] user: stephan branch: trunk, size: 82604
2021-12-31
22:19
Ported over more general-purposes pieces from the cx-db-handle-reorg branch in prep for taking a fresh whack at that. file: [c3d7932630] check-in: [39645644a7] user: stephan branch: trunk, size: 82186
21:54
Cherrypicked [6f2027aeb4], [74964a09a5], and part of [d290f6375c]. file: [8c0d664c4a] check-in: [211eaecfcf] user: stephan branch: trunk, size: 81544
21:30
Extended fsl__cx_attach_role() to be able to create a new db if needed (required for fsl_repo_create()) but (regardless of this change) discovered that ATTACH, when run through the new fsl_cx::dbMain handle, can no longer create new db files, which means that f-open cannot create a checkout. COMPLETELY stumped as to why that is. Edit: closing because this branch is failing in inexplicable ways and has a horrid mix of branch-relevant and branch-irrelevant changes. Pulling in the branch-irrelevant ones separately into trunk before taking another whack at the branch-relevant ones. file: [55f0ffb519] check-in: [a67b757dc0] user: stephan branch: cx-db-handle-reorg, size: 81426
15:48
Doc updates. Moved all @deprecated functions into fossil-scm/deprecated.h for later weeding-out. file: [3bc63bb19c] check-in: [6f2027aeb4] user: stephan branch: cx-db-handle-reorg, size: 80878
15:10
Renamed fsl_db_role_label() to fsl_db_role_name(). Doc touchups related to the db handle restructuring. file: [dca5f0011a] check-in: [d290f6375c] user: stephan branch: cx-db-handle-reorg, size: 81612
13:29
Eliminated fsl_cx::dbMem in-memory/temp db and (again) use the first of the repo/ckout dbs which is opened as the MAIN db (aliasing it to its well-defined libf schema name). This has a high potential for fallout, so it's in a branch pending more thorough testing. file: [7ee77e3ce7] check-in: [aebf241ab5] user: stephan branch: cx-db-handle-reorg, size: 81614
2021-12-30
13:49
Global config db now uses its own fsl_db handle, no longer ATTACHed with the repo/checkout handle. fsl_ckout_open_dir() now canonicalizes the passed-in directory name (simplifies usage). Added f-query -g/--config flag to query against the global config db. Various code-adjacent tweaks. file: [ef065e4fef] check-in: [1d7a6d2b96] user: stephan branch: trunk, size: 82279
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: [368a86b0ef] check-in: [35dca27909] user: stephan branch: trunk, size: 81788
2021-12-26
13:45
Constness tweaks. file: [42902880ff] check-in: [006fbfb455] user: stephan branch: trunk, size: 82005
2021-12-21
20:21
Renamed and modified include/fossil-scm/fossil-internal.h → include/fossil-scm/internal.h. Removed the fossil- name prefix from include/fossil-scm/*.h. file: [1eaf5a6d85] check-in: [43a9bea8d5] user: stephan branch: trunk, size: 81976
2021-12-15
04:21
More work on merge and adjacent code. Changed how fsl__ckout_clear_merge_state() works to attempt to enable partial reset when individual to-be-merged files are reverted. Whether the corresponding SQL is 100% semantically correct for the vmerge state remains to be seen, but so far, so good. See [https://fossil-scm.org/forum/forumpost/f678085f79] for the discussion about those bits. file: [629ee6c70b] check-in: [4d88f6cbd6] user: stephan branch: trunk, size: 81983
2021-12-14
15:52
More work on the merge port and adjacent code. file: [e8fecca0f0] check-in: [b9c2a05cfe] user: stephan branch: trunk, size: 81680
08:55
Ported in a variant of the temp-filename generation bits from fossil because it's needed for the next merge steps. file: [6698c6660f] check-in: [dd3acff665] user: stephan branch: trunk, size: 80681
05:23
More work on the merge API port. Still lots to do. file: [7e358d646d] check-in: [7d626b574d] user: stephan branch: trunk, size: 80493
2021-12-06
02:33
Minor help text and API doc cleanups. One minor allocation optimization in fsl_repo_rebuild(). file: [f42bc4645d] check-in: [17a7f5cf12] user: stephan branch: trunk, size: 80049
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: [c66e57443a] check-in: [8349911eb6] user: stephan branch: trunk, size: 79941
06:36
(Finally) implemented ticket crosslinking. file: [5d89b4e839] check-in: [d8e8c16cc4] user: stephan branch: trunk, size: 79598
2021-12-03
03:52
Experimentally change the journal_mode to OFF for the main (temp) DB, noting that we don't actually store anything in that db handle - it's only used as an ATTACH point for the other dbs. Added a note about being able to rename the MAIN db, which might be useful in eliminating the current middle-man MAIN db (barring one corner case for the global config db). file: [02c16d2577] check-in: [76d7f8f4eb] user: stephan branch: trunk, size: 79144
2021-11-30
15:43
Added fsl__cx_clear_cached_stmt() to forcibly clear ALL cached fsl_stmt handles held by a fsl_cx and use that from fsl_repo_rebuild() to ensure that the cache is cleared before beginning work. This is a hypothetical/proactive fix for a problem which has not yet been seen in the wild but seems very likely, given recent locking issues reported by Mark. Branching this for now because i cannot reproduce similar locking problems which fsl_repo_rebuild() should hypothetically trigger without this addition. file: [01f8b9db37] check-in: [f9d39435cf] user: stephan branch: clear-cached-stmt, size: 78997
2021-11-20
17:43
Reworked how the caching is handled for several of the very-frequently-prepared SQL statements, cutting the fsl_repo_rebuild() time by more than half (within 100ms of fossil's own speed, with the minor caveat that we don't yet rebuild tickets). A non-debug build of f-rebuild can now rebuild this repo in 900-odd milliseconds, and a debug build in roughly twice that. A non-debug build can rebuild fossil's own repo in 44s, down from 111s (but still almost twice what fossil itself needs). Edit: LOL, it turns out that the tremendous speed was due to a bug fixed in [3e2c083d8014a0fa]. Now it's back to approximately the speed it was before this checkin. Oh, well. file: [c2fa33890b] check-in: [9f3a868d35] user: stephan branch: trunk, size: 78021
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: [64623e542e] check-in: [88757e5411] user: stephan branch: trunk, size: 76857
12:09
Shaved another 11.5k allocations off of rebuild (of the libfossil repo) by caching the chain of blob delta children IDs and applying the external buffer approach to fsl_content_blob()'s pre-uncompress result. file: [1ca9c042c8] check-in: [e9d92f12a6] user: stephan branch: trunk, size: 76538
2021-11-19
09:40
Added some of the missing bits for crosslinking tickets. Still more to do, though. file: [d19d255f47] check-in: [94e7cd6207] user: stephan branch: trunk, size: 76277
2021-11-18
16:10
Diverse minor internal cleanups. file: [7d4fcffdf5] check-in: [c46efd6b8d] user: stephan branch: trunk, size: 76064
13:47
Added an is-interrupted flag for fsl_cx as a way to interrupt long-running operations but it is not yet being applied anywhere. file: [02561d26ef] check-in: [74aab40d54] user: stephan branch: trunk, size: 75846
09:04
Internal API renaming: fsl__acache ==> fsl__bccache. file: [402b65f4bd] check-in: [7aaf02031e] user: stephan branch: trunk, size: 75559
08:44
Added some internal hit/miss metrics to the fsl_content_get() cache. file: [07f8e3aa01] check-in: [754e28ea1e] user: stephan branch: trunk, size: 75534
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: [9cdf7e1147] check-in: [ae8d020e4f] user: stephan branch: trunk, size: 75215
2021-11-09
11:48
When detaching a db role, finalize any cached statements which are known (or believed) to be mapped to that role to avoid that detaching fails due to a lock held by opened statements. file: [1628c9fbef] check-in: [d00587179e] user: stephan branch: trunk, size: 75207
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: [e67d1242f1] check-in: [83917b7b45] user: stephan branch: trunk, size: 74458
14:09
Further tweaking of buffer memory ownership for fsl_deck_parse(). Minor adjacent tweaking. file: [23fc331644] check-in: [7948748ba0] user: stephan branch: trunk, size: 75773
2021-11-01
21:25
More work on f-rebuild and related crosslinking bits. file: [3b54b51d7d] check-in: [8c51e45f8f] user: stephan branch: trunk, size: 75608
2021-10-26
11:25
More work on f-rebuild. Added fcli_setup_v2(). file: [21f355aea7] check-in: [14cebaaa7e] user: stephan branch: trunk, size: 73223
2021-10-20
15:18
Minor doc and error message tweaks. file: [0eac1a61b0] check-in: [458afa63fa] user: stephan branch: trunk, size: 73011
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: [412abfe934] check-in: [1742cabfde] user: stephan branch: trunk, size: 73020
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: [bbad553865] check-in: [1dc391289c] user: stephan branch: remove-deck-uuid, size: 73008
2021-10-19
03:54
Doc and constness updates. Removed the old code related to the long-obsolete open-or-attach mode of fsl_cx db handle management, now using only the attach mode. file: [78e69b2747] check-in: [386039e135] user: stephan branch: trunk, size: 73658
2021-10-18
10:02
Random doc updates and moved an enum from fossil-util.h to fossil-db.h. file: [0a6a0496eb] check-in: [f069532a71] user: stephan branch: port-merge, size: 73645
2021-10-16
15:50
Another few hundred lines of merge infrastructure and lots of unrelated constness tweaks. Moving to a branch because we can't test some of the new features without one. file: [90b57a87c2] check-in: [3ff20f1d01] user: stephan branch: port-merge, size: 72159
13:28
More work on porting over merge infrastructure. file: [fe73fe2bce] check-in: [bc66e6a73a] user: stephan branch: trunk, size: 72158
2021-10-15
07:54
Insignificant cleanups found while scouting out what's needed to port over merge. file: [f83b47c954] check-in: [65b379e3e0] user: stephan branch: trunk, size: 72079
2021-10-11
07:05
Ported over the UTF-8 parts of fossil's "looks like" APIs. Whether or not we really need the UTF-16 counterparts remains to be seen. file: [519c2daf61] check-in: [496de4c153] user: stephan branch: trunk, size: 72032
2021-10-02
18:12
More work on the annotate interface, plus far too many nearby-yet-unrelated tweaks such as costness changes. file: [a30890fc07] check-in: [b601f20cff] user: stephan branch: trunk, size: 71815
2021-09-26
22:56
Seem to have gotten unified text diff _mostly_ working with the diff builder interface, though it required extending that interface a bit. We're still outputing more context than fossil does, for as-yet-unknown reasons, but the suspected off-by-one mentioned in the last commit was solved (it was not an off-by-one, but misuse of comparison routine results in fsl__diff_optimize()). file: [34fadbeee7] check-in: [103399cdf7] user: stephan branch: trunk, size: 71795
14:33
More work on the 2021-09 diff rendering bits. Fixed a couple deeply-internal diff bits which leave me wondering how diffs _ever_ worked here. file: [ed4a634ad7] check-in: [af4d016879] user: stephan branch: trunk, size: 71621
2021-09-18
17:39
More work on the 2021 diff backend port. Still much to do. file: [805af7a467] check-in: [ed33831c3f] user: stephan branch: trunk, size: 71567
2021-08-24
18:31
Per /chat discussion, refactored [043c2667c95e] to internally fall back to the v0 fingerprint check, instead of exposing that as part of the API. Resolved libfossil.{c,h} build deps bug. file: [3a9d54bf5e] check-in: [15c135de66] user: stephan branch: trunk, size: 69259
17:12
Enhance repo fingerprint check to cover old repositories. This commit adds an extra check to match repository fingerprints using the original algorithm that some old repositories in the wild may need. file: [edabcf763c] check-in: [043c2667c9] user: mark branch: trunk, size: 69499
2021-05-30
23:00
Tiny internal cleanups. file: [2289e169bc] check-in: [20b912e015] user: stephan branch: trunk, size: 69135
2021-04-16
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(). file: [ff7832216f] check-in: [8c9cf48702] user: stephan branch: trunk, size: 68618
2021-04-14
03:53
Renamed fsl_cx_forbid_delta_manifests() to fsl_cx_forbids_delta_manifests() so that it doesn't sound like a setter function. file: [c35ef92bf6] check-in: [7501bb92f9] user: stephan branch: trunk, size: 67469
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: [c7d1c814a0] check-in: [ea6074b8ad] user: stephan branch: trunk, size: 67470
2021-04-13
07:33
More work on the fsl_deck_derive()-related bits. Internal API modernization in fsl_content_put_ex(). file: [eda2e34ff0] check-in: [64b07ff5a8] user: stephan branch: deck-reworking, size: 67033
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: [a7cfd0cffa] check-in: [40fcc816f0] user: stephan branch: trunk, size: 67040
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. file: [9fd86bfe98] check-in: [43d1902823] user: stephan branch: trunk, size: 68844
2021-03-28
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. file: [8d54fb5f11] check-in: [a527cc940a] user: stephan branch: trunk, size: 68848
2021-03-27
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. file: [ef749c56cd] check-in: [8abd63ab1c] user: stephan branch: trunk, size: 70988
12:02
Minor API cleanups. file: [028341ed5b] check-in: [259329f627] user: stephan branch: trunk, size: 70756
2021-03-26
08:00
Minor cleanups. file: [8294023e20] check-in: [c60d9b4435] user: stephan branch: manifest-cache, size: 70377
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: [fd4655cad0] check-in: [6bb1262768] user: stephan branch: manifest-cache, size: 70012
2021-03-24
18:43
Pedantically changed fsl_acache::szTotal and szLimit from uint32_t to fsl_size_t to avoid an uncomfortable corner case. file: [4b0229bd70] check-in: [9286ae3e09] user: stephan branch: trunk, size: 69732
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. file: [3fb53a2901] check-in: [9bdf227d32] user: stephan branch: trunk, size: 69728
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: [7373d7deff] check-in: [7c05e9d44f] user: stephan branch: trunk, size: 69456
08:33
Doc updates, some char-to-bool API signature updates, and renamed a deeply internal API func. file: [df3085411a] check-in: [6a6b5d1e43] user: stephan branch: trunk, size: 68788
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. file: [646d0b6adb] check-in: [62c2d986fb] user: stephan branch: trunk, size: 68797
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. file: [71b542ce8b] check-in: [4f342af54f] user: stephan branch: trunk, size: 68175
2021-03-22
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. file: [07e4777b87] check-in: [2c4a018200] user: stephan branch: trunk, size: 64214
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. file: [96d80053a7] check-in: [2cf2cebe3d] user: stephan branch: trunk, size: 63931
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. file: [23d70ec4c0] check-in: [8cc33e4e8a] user: stephan branch: trunk, size: 63569
2021-03-20
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. file: [c53f136c76] check-in: [0815bc50d7] user: stephan branch: trunk, size: 63187
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. file: [6e1327c311] check-in: [29fbb8bbd9] user: stephan branch: trunk, size: 62888
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. file: [46c6992dea] check-in: [9b9b989b2c] user: stephan branch: trunk, size: 61791
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. file: [2371702a0e] check-in: [6caa73a8b3] user: stephan branch: trunk, size: 61720
05:08
Experimentally doing fsl_ckout_manifest_write() from fsl_ckout_version_write(). file: [b4debd099d] check-in: [ac3204cf35] user: stephan branch: trunk, size: 61721
04:19
Several cleanups in/around open/checkout/checkin. file: [a21ca823d5] check-in: [2c56bac8e2] user: stephan branch: trunk, size: 61522
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. file: [57c5289f84] check-in: [df39a4d7b2] user: stephan branch: trunk, size: 61546
2021-03-19
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. file: [3c78ba7a37] check-in: [9d86e51a31] user: stephan branch: trunk, size: 59734
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. file: [7ceca0b7d7] check-in: [6ceda397ad] user: stephan branch: trunk, size: 58551
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. file: [99f7b5947d] check-in: [07fd8c1f33] user: stephan branch: trunk, size: 56305
00:30
More work on the 'update' infrastructure. Turns out we're still missing an important low-level bit or three. file: [7ef9c4a7b7] check-in: [c6dc2f9770] user: stephan branch: trunk, size: 56119
2021-03-18
23:36
f-update can now figure out which version to update to, but... baby steps. file: [b543493caa] check-in: [7a11d37185] user: stephan branch: trunk, size: 57651
16:30
Doc clarifications. Removed an unnecessary fsl_strlen() call to fetch a length we already had. file: [fc6fefd347] check-in: [f3e995febf] user: stephan branch: trunk, size: 58001
2021-03-17
00:29
Minor internal doc tweaks. file: [6ecaba861f] check-in: [9f11809db4] user: stephan branch: trunk, size: 57922
2021-03-15
04:25
Globally renamed _checkout to _ckout, as some of these names are getting a bit long. file: [1c8d136797] check-in: [bc9e88ee2c] user: stephan branch: trunk, size: 57473
03:35
Moved a couple functions out of the public API. file: [3b19d8cb4b] check-in: [40c2c455fc] user: stephan branch: trunk, size: 57501
2021-03-14
21:23
Moved some config-settings-related stuff out of the public API for the time being. file: [29d5c21bc1] check-in: [2c6c7eda48] user: stephan branch: trunk, size: 55771
2021-03-13
10:11
Doc tweaks and minor struct member refactoring. file: [ac1531d297] check-in: [f0c03038ff] user: stephan branch: trunk, size: 55505
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. file: [93b908218b] check-in: [e81048d148] user: stephan branch: trunk, size: 54985
05:27
Several minor changes moving us slightly closer to be able to add update support. file: [e5dce08f00] check-in: [1329430a6a] user: stephan branch: trunk, size: 56209
01:09
Swapped out f-s2sh's shell.c with shell2.c (s2sh2 instead of s2sh classic). file: [00ee490afd] check-in: [e20cc9720f] user: stephan branch: trunk, size: 55672
2021-03-12
19:31
The hashing routines were responsible for the unexpected buffer resizing, as they were explicitly resizing their output buffers to fit. file: [2e0938c953] check-in: [06f5974d60] user: stephan branch: cx-scratchpad-rework, size: 54744
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: [ac4cef2819] check-in: [01c1cff578] user: stephan branch: cx-scratchpad-rework, size: 54658
09:15
Minor refactoring in prep for upcoming changes. file: [17da16038b] check-in: [888cb5cc24] user: stephan branch: trunk, size: 53192
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: [13387b8aa2] check-in: [fd313baef4] user: stephan branch: trunk, size: 52194
2021-03-10
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: [2e08c2f995] check-in: [725c13c0d0] user: stephan branch: f-card-array, size: 50737
2021-03-09
06:01
Minor confirmer cleanups and docs. file: [4aa7171a9e] check-in: [d58d30707f] user: stephan branch: confirmer-co, size: 50735
2021-03-08
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: [7c23723cba] check-in: [9a6bb6834f] user: stephan branch: trunk, size: 51123
2021-03-07
16:49
Minor internal cleanups. file: [7045e3baee] check-in: [7666cd3214] user: stephan branch: trunk, size: 51395
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. file: [cec400db4a] check-in: [b5479cc3c6] user: stephan branch: trunk, size: 51395
2021-03-05
04:29
More tinkering with the f-co/f-open-related infrastructure. file: [189b16d57f] check-in: [13194b49eb] user: stephan branch: trunk, size: 51340
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. file: [86343c6e0c] check-in: [eeb7706e6e] user: stephan branch: trunk, size: 51493
2021-03-04
15:12
Minor internal cleanups. Corrected hash handling of fsl_repo_import_blob(). file: [aea6be267a] check-in: [5e448f56bb] user: stephan branch: trunk, size: 51295
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: [eb45f9d31e] check-in: [d1428d5a93] user: stephan branch: trunk, size: 51331
12:28
Numerous cleanups and fixes in/around the infrastructure used by f-open. file: [70eeb5d3d7] check-in: [b67129bbb9] user: stephan branch: trunk, size: 50743
2021-03-03
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. file: [3668f6ecc8] check-in: [e8b25ce3bc] user: stephan branch: trunk, size: 50754
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: [4da07ed7eb] check-in: [2a04a6818c] user: stephan branch: trunk, size: 50383
2021-03-02
09:48
Remove an unneeded(?) parameter from fsl_vfile_load_from_rid(). file: [6f409e51a2] check-in: [0ba7388df1] user: stephan branch: open-ckout-wip, size: 49744
2021-03-01
16:21
Arguably a typo fix in the new header. Thank goodness for stream editors. file: [108ebffec6] check-in: [386316db07] user: stephan branch: trunk, size: 50047
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: [bdcf5b371e] check-in: [fa5fb24496] user: stephan branch: trunk, size: 50039
14:27
Resolved an API inconsistency between fsl_is_reserved_fn() and fsl_is_reserved_fn_windows(). file: [9de58923b6] check-in: [f8b6945191] user: stephan branch: trunk, size: 50275
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. file: [f2288cd5c0] check-in: [2d90220116] user: stephan branch: trunk, size: 50162
04:59
Ported in 3-way-merge algo and first test runs :-D. Time for a break. file: [62e565c721] check-in: [64c2d4a752] user: stephan branch: trunk, size: 50142
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. file: [de1439d115] check-in: [2cfc9d6ae9] user: stephan branch: trunk, size: 49055
04:15
Generic cleanups, char-to-bool conversions. Moved fsl_acache bits into their own file. Shrunk a couple of struct sizes. file: [a910cf0250] check-in: [7c8b025221] user: stephan branch: trunk, size: 48385
2021-02-26
06:03
Some doc touchups, enum renaming, and removed some dead code. file: [3d6951c697] check-in: [473fd8718c] user: stephan branch: trunk, size: 47386
2021-02-25
08:25
Renamed another enum. file: [e0d05a427d] check-in: [9470d94b1b] user: stephan branch: trunk, size: 47386
08:22
Some API renaming. Modified how fsl_deck_parse() determines the deck's RID/UUID. Introduced fsl_repo_blob_lookup(). file: [d7f664fba2] check-in: [467b9e1c18] user: stephan branch: trunk, size: 47385
2021-02-24
09:28
Removed some dead code. Added %j (JSON string) encoding to fsl_appendf() using a streaming approach (no allocation). file: [02173a7ffb] check-in: [a008179c2d] user: stephan branch: trunk, size: 47396
05:38
Minor internal cleanups in the crosslinking code. file: [b21b891871] check-in: [adefc301a3] user: stephan branch: trunk, size: 47346
2021-02-23
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: [e150c8397b] check-in: [2896b543be] user: stephan branch: trunk, size: 47164
2021-02-22
05:20
More char-to-bool conversions. file: [f63f56e66c] check-in: [6360bb6d8f] user: stephan branch: trunk, size: 47165
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. file: [556a1332b4] check-in: [3affea2904] user: stephan branch: trunk, size: 47114
03:35
Renamed fsl_phantom_t to fsl_phantom_e. file: [0cc06c7204] check-in: [4880e2e2ac] user: stephan branch: trunk, size: 46972
2021-02-21
18:27
More enum type renaming. Updated C++/s2 bindings for other recent renamings. file: [2bc7fc6e72] check-in: [9c1abb2e95] user: stephan branch: trunk, size: 46972
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: [1b26332a6e] check-in: [5a3d4bceb3] user: stephan branch: trunk, size: 46970
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: [5771ba2635] check-in: [8728796601] user: stephan branch: trunk, size: 46326
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). file: [5cf3775dbf] check-in: [2ab8c86b3d] user: stephan branch: trunk, size: 46326
2021-02-18
05:11
Replaced the extraneous fsl_double_t typedef with double. file: [5367ab43b0] check-in: [b359548620] user: stephan branch: trunk, size: 45545
2021-02-14
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: [9ec7488e34] check-in: [63893e6c12] user: stephan branch: trunk, size: 45569
2021-02-13
23:44
Minkering/testing with replacing the checkin timeline crosslinker. Moved some code around. file: [8d7b57b5d4] check-in: [c42cfd8c10] user: stephan branch: trunk, size: 46013
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: [f91808f1b7] check-in: [911afa1bcc] user: stephan branch: trunk, size: 47655
2021-02-12
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: [b783feb77b] check-in: [ee070353b9] user: stephan branch: trunk, size: 47648
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: [89ce298d0c] check-in: [31c8bddf22] user: stephan branch: trunk, size: 49080
07:41
Header file reorgs. file: [f79f4cf983] check-in: [c1681af460] user: stephan branch: trunk, size: 49748
07:02
Implemented forum artifact crosslinking and restructured fsl_deck_crosslink() into internal type-specific routines. file: [cf82e30d57] check-in: [1817557652] user: stephan branch: trunk, size: 49825
2021-02-11
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. file: [9cfcce86df] check-in: [dec0670fb2] user: stephan branch: trunk, size: 49749
2021-02-10
15:46
Minor doc updates and improved a case of error propagation. file: [5b5ecdb8e0] check-in: [88f850cd66] user: stephan branch: trunk, size: 51153
2021-02-09
05:06
Implemented FSL_HPOLICY_SHUN_SHA1. file: [4b7d9dc9ea] check-in: [9418c5e60f] user: stephan branch: trunk, size: 50537
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: [699de48778] check-in: [631fb3f69a] user: stephan branch: trunk, size: 49227
2021-02-08
18:23
f-apps compile and f-sanity runs. MILESTONE. Still need to test the other f-apps, though. file: [0cb732d087] check-in: [76c290eb05] user: stephan branch: sha3-port, size: 49169
2021-02-07
14:31
Globally replaced http://... URLs with https://.... Most of them probably still work, too. file: [475e6945d7] check-in: [6af7b3b7c8] user: stephan branch: trunk, size: 49077
2016-01-13
16:32
minor doc correction. file: [efcd1b5227] check-in: [754f74c4b9] user: stephan branch: trunk, size: 49076
2014-10-27
20:42
Switched from :memory: to "" (temp) DB for the main db, other minor cleanups. file: [48e793312a] check-in: [6c18a25f11] user: stephan branch: trunk, size: 49031
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. file: [8088200fec] check-in: [898c0acbff] user: stephan branch: trunk, size: 48916
2014-10-05
09:55
ported in some of the login-related bits. file: [8bae36881c] check-in: [c5b01a0b83] user: stephan branch: trunk, size: 48249
2014-10-01
06:15
marked as FSL_EXPORT various symbols; this change set is limited to the ones that are needed by the various f-apps, but this is not complete for general use of the library. I am doing this change in two phases simply because it gives me a way to see what methods have been exercised (by f-apps) and which have not. file: [69aabb0100] check-in: [7b651689f3] user: dave branch: feech-dave-msvcsupport001, size: 48137
2014-07-24
17:05
Reformatted, now that i have finally taught emacs to stop indenting for the C++-mode extern "C" block. file: [8b420136b9] check-in: [dd07d92271] user: stephan branch: trunk, size: 48049
2014-05-29
08:51
Portability fixes: changed char to int in places which use 3-value logic. file: [41ae684192] check-in: [fbf99d6e80] user: stephan branch: trunk, size: 49738
2014-05-01
12:42
More work on the path porting. Related refactoring to make some more bits visible. file: [f9f873d0ee] check-in: [35cef04dcd] user: stephan branch: trunk, size: 49744
00:25
started porting in fossil(1) path.c bits. file: [da912caf35] check-in: [82db074312] user: stephan branch: trunk, size: 52854
2014-04-22
20:11
Added an sqlite3 commit hook to abort the app if COMMIT is used while an API-controlled transaction is in progress. Added a fsl_str_is_date2() test which should have been in the previous commit. file: [1ca2e6dabf] check-in: [83c08406ea] user: stephan branch: trunk, size: 52713
2014-04-06
18:49
more accommodation of 0 as a valid RID for an empty repo. file: [e09db08178] check-in: [d1a3c65cf6] user: stephan branch: trunk, size: 52695
13:15
more docs file: [1e13e4ae45] check-in: [39a945183d] user: stephan branch: trunk, size: 52656
12:31
yet more doc additions. file: [0554bacefb] check-in: [99167d8f6a] user: stephan branch: trunk, size: 52025
2014-04-03
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: [1b3d8064aa] check-in: [f18878c6b4] user: stephan branch: trunk, size: 51488
2014-03-30
10:37
Added caching of versionable config results but then removed it because it introduces inconsistencies in string ownership vis-a-vis non-versioned config. Various little cleanups and additions along the way. file: [0d57001c39] check-in: [48eec586a9] user: stephan branch: trunk, size: 51485
2014-03-28
19:45
fsl_checkin_commit() now works on an empty repo (version RID==0). file: [25dd96b1f8] check-in: [41f65654ce] user: stephan branch: trunk, size: 51356
15:27
Added infrastructure for the various xxx-glob config options. fsl_cx now caches them when a repo/checkout is opened and provides APIs for querying them. file: [c972ff5069] check-in: [aa8f7bd1be] user: stephan branch: trunk, size: 49873
2014-03-27
20:13
Added fsl_cx::cache::projectCode to store the project-code setting, needed for up-coming authentication-related hashing. file: [2f5fb7aae5] check-in: [1b07ec684c] user: stephan branch: trunk, size: 49419
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: [e9c1527653] check-in: [7a0759a0a4] user: stephan branch: trunk, size: 49274
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: [ded6e01ce9] check-in: [0bf60903ea] user: stephan branch: trunk, size: 48077
2014-03-16
17:32
Extended the fsl_deck string re-use to cover more cases. Other minor cleanups. file: [5dcf994b27] check-in: [47401e1763] user: stephan branch: trunk, size: 47798
2014-03-14
14:25
a long morning of refactoring and cleanups. file: [6816246a78] check-in: [c71f986d35] user: stephan branch: trunk, size: 47709
00:07
minor internal cleanups file: [66c1499a0b] check-in: [286b8aea1a] user: stephan branch: trunk, size: 46389
2014-03-13
23:48
Removed the vfile_selected temp table bits. They really are not needed. file: [0a10daa428] check-in: [447f497409] user: stephan branch: trunk, size: 46214
19:40
refactoring and doc improvements. file: [46429e1e43] check-in: [67c1885126] user: stephan branch: trunk, size: 45820
2014-03-11
20:09
minor code cleanups. Removed some dead code and debug output. file: [18fd6610c7] check-in: [753fc44fa7] user: stephan branch: trunk, size: 45477
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: [3b5b2c1672] check-in: [744dac3799] user: stephan branch: trunk, size: 45643
2014-03-09
14:42
added fsl_checkin_opt::dumpManifestFile option to dump checkin manifests to a file. Added the missing header part of the previous checkin. file: [18a32612c3] check-in: [810b2985c0] user: stephan branch: trunk, size: 45467
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: [20c2f62c9a] check-in: [1cd70042f1] user: stephan branch: trunk, size: 45248
18:29
Lots more tinkering with the checkin stuff. About to try a different F-list generation algo, though, because the ported-in one has historical baggage due to the enforced ordering of names in how it generates the manifest. file: [276216aa36] check-in: [1a0ee6b693] user: stephan branch: trunk, size: 45348
11:50
Started work on some internals needed for doing a checkin. file: [5cfba66a09] check-in: [c77b3cb7fb] user: stephan branch: trunk, size: 44711
2014-03-04
22:11
minor doc adjustment. file: [76473f40c7] check-in: [c68eee36f9] user: stephan branch: trunk, size: 44360
2014-02-25
21:19
Changed fsl_repo_filename_to_fnid() semantics a tiny bit. file: [f80efd0b38] check-in: [3438cbb4bd] user: stephan branch: trunk, size: 44291
2014-02-14
18:22
minor doc additions. file: [509d61140a] check-in: [6e7b335a8d] user: stephan branch: trunk, size: 44205
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: [0c008d8d5d] check-in: [a2cbd2e343] user: stephan branch: trunk, size: 44160
2014-02-11
17:46
Introducing fsl_checkout_changes_scan() and FSL_VFILE_CKSIG_CLEAR_VFILE. file: [173a14d134] check-in: [6e40329da3] user: stephan branch: trunk, size: 44952
2014-02-09
17:47
minor doc tweak. file: [1763b5472d] check-in: [8992d8f084] user: stephan branch: trunk, size: 44587
17:25
Minor API renamings. Started sketching out what a checkin/commit function might look like, but it's a long way from working. file: [f133607fa0] check-in: [60b268ff0a] user: stephan branch: trunk, size: 44410
13:10
Got initial create-branch code working. file: [ba7c175b50] check-in: [1c87e1134f] user: stephan branch: trunk, size: 44404
2014-02-07
23:33
a number of cleanups/fixes/additions to the checkout change-reporting code. file: [0471b45fad] check-in: [e2ec5d675f] user: stephan branch: trunk, size: 44798
21:20
Mostly implemented fsl_vfile_check_sig(), and f-status can now update/show the change status of files in the current checkout. Other minor cleanups. file: [0de5ecf961] check-in: [5230586d98] user: stephan branch: trunk, size: 44384
2014-02-06
17:56
changes fsl_cx::ckout::dir from a fsl_buffer to a (char*). file: [738dca6940] check-in: [4873ba360f] user: stephan branch: trunk, size: 43113
17:26
Added fsl_confirm() family of functions for up-coming features. Fixed overwrite-repo in fsl_repo_create() (it previous didn't do anything useful). Changed how fsl_cx stores its default user name, and it now takes the default user name from a repo when opening it (where user.id==1). Other minor cleanups and tweaks. file: [5a11ed05d0] check-in: [ebda4a36e3] user: stephan branch: trunk, size: 43131
2014-02-02
14:20
Another round of minor cleanups and doc fixes. Added fsl_input_f_buffer(), based on new fsl_buffer::cursor member (needed for other reasons), so buffers can now be input streams. file: [37dc42ac87] check-in: [7aa94e7ce8] user: stephan branch: trunk, size: 43119
12:25
Implemented fsl_rid_is_a_checkin() and fsl_buffer_copy_lines(), infrastructure needed by other up-coming bits. file: [61a37367ea] check-in: [5fbf9715f8] user: stephan branch: trunk, size: 42937
00:10
Implemented fsl_mtime_of_manifest_file(), another piece in the checkout-file puzzle. However, libfossil now requires sqlite 3.8.3+. file: [c525088482] check-in: [706f8bfe62] user: stephan branch: trunk, size: 42591
2014-01-31
23:57
Ported in a public domain strftime() impl, for potential use with the checkout-related functionality. Fixed a clang warning. file: [e5c0c61371] check-in: [615b6d29bc] user: stephan branch: trunk, size: 42454
2014-01-30
21:43
fsl_stat() now accepts a NULL stat buffer. Internal refactoring of fsl_checkout_open_dir(). file: [a3fbf06215] check-in: [f082da6718] user: stephan branch: trunk, size: 42458
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: [fae7007eeb] check-in: [22ce993a61] user: stephan branch: trunk, size: 42240
2014-01-29
20:38
Minor API renamings and tinkering in fsl_content_put_ex(). file: [a497c38ee3] check-in: [8e0b7eeb54] user: stephan branch: trunk, size: 41981
17:10
A number of minor tweaks (e.g. more cached statements), refactoring of fsl_cx internals. file: [4eb3429043] check-in: [1d59e4291a] user: stephan branch: untested-tinkering, size: 41859
2014-01-28
22:43
some untested tinkering i need to back up. file: [52d60b0c77] check-in: [26374bba60] user: stephan branch: untested-tinkering, size: 41722
2014-01-26
17:04
Started adding support for 'selected' files. file: [d321e3ca0c] check-in: [a50c5953d1] user: stephan branch: trunk, size: 41217
2014-01-25
13:30
implemented fsl_repo_record_filename(). Seems to work but is untested in conjunction with global config. file: [31cb29441c] check-in: [857a9fe889] user: stephan branch: trunk, size: 40883
2014-01-24
20:49
more doc tweaks. file: [092fd55274] check-in: [0be0e644f8] user: stephan branch: trunk, size: 40240
19:45
doc patches to accound for the doxygen filtering kludge needed for @code blocks. file: [e40cabf928] check-in: [95be6cf5b2] user: stephan branch: trunk, size: 39838
2013-09-18
17:20
minor doc tweaks. file: [bb66d2ba2a] check-in: [e9e3583937] user: stephan branch: trunk, size: 39842
2013-09-11
22:08
Added some assertions, reminders, docs. One minor optimization. file: [adaf38f8fe] check-in: [580bb9c789] user: stephan branch: trunk, size: 39700
19:58
Playing with __attribute__. file: [9d4bf19762] check-in: [039b1b7f4d] user: stephan branch: trunk, size: 39425
18:43
Added more "proactive superfluous casts" to protect 32-bit environments from the 64-bit int/va_list weirdness. Minor doc additions. file: [67c8f68d87] check-in: [a6ca6422d5] user: stephan branch: trunk, size: 39370
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: [a4a8fde874] check-in: [63333ab345] user: stephan branch: trunk, size: 39396
2013-09-08
17:40
Added SQL functions: FSL_USER(), FSL_CONTENT(), FSL_SYM2RID(). Undid part of the previous fsl_buffer_compress() optimization because it cannot help us much for the real use cases and complicates the code. More proactive int casting for va_list bits. file: [0d4627b271] check-in: [f9e0b1801f] user: stephan branch: trunk, size: 38716
15:39
Lots of minor additions and tweaks, mainly in support of app-level code. file: [103ae846b9] check-in: [7bfbc3dba6] user: stephan branch: trunk, size: 38720
2013-09-07
11:58
another round of API renaming. file: [58e6c82cdc] check-in: [200d1cd898] user: stephan branch: trunk, size: 38667
2013-09-04
18:49
more docs file: [16fa263a9a] check-in: [9a344d2655] user: stephan branch: trunk, size: 38663
2013-09-03
16:24
more work on the tickets bits (loading field list). file: [9e23da1db7] check-in: [0e80952975] user: stephan branch: trunk, size: 38135
15:40
More ticket bits. Minor API tweaks. file: [827abdaba2] check-in: [5a47293811] user: stephan branch: trunk, size: 36117
14:12
Started porting in some of the ticket-handling bits. Added lots more (truly unnecessary) card validation on deck output. Minor fixes. file: [8e1ec16a44] check-in: [8e88708563] user: stephan branch: trunk, size: 35648
2013-09-02
21:43
Started porting in vfile bits. Added fsl_needs_checkout(). fsl_XXX_close() now explicitly closes all other dbs if XXX is the current main db. file: [420cd478cf] check-in: [7bb0a64e7e] user: stephan branch: trunk, size: 34318
2013-09-01
14:04
Lots of API name shortenings. Added fsl_content_get_by_sym(). file: [734c613b37] check-in: [80945ffca3] user: stephan branch: trunk, size: 33632
2013-08-31
13:02
Doc additions, minor error reporting cleanups. file: [da1668d43b] check-in: [8f05724070] user: stephan branch: trunk, size: 33692
2013-08-30
18:05
insignificant cleanups and docs/text touchups. file: [2796746445] check-in: [efaeb72011] user: stephan branch: trunk, size: 30720
2013-08-28
19:37
doxygen typo fix. file: [57ba8a3687] check-in: [4061a8cd7a] user: stephan branch: trunk, size: 30684
19:29
Ported in parts of the configuration subsystem. fsl_repo_create() now copies all the same stuff fossil(1) does when given a repo to copy the config from. file: [119de126c1] check-in: [7766f5bc6d] user: stephan branch: trunk, size: 30683
2013-08-27
19:55
Started work on creating a new repo. Several related minor cleanups and additions. Simplified a couple APIs. file: [eb0ab73393] check-in: [184bdcf4a4] user: stephan branch: trunk, size: 29981
2013-08-26
17:34
minor cleanups/reformatting. fixed a potential endless loop in some untested code. file: [84edbc7198] check-in: [9cac575a31] user: stephan branch: trunk, size: 29941
2013-08-25
18:01
added a name to the xlink callbacks, so that we have a mechanism we cau use to swap out specific ones. file: [8339fb40cb] check-in: [e1a9699a62] user: stephan branch: trunk, size: 29767
14:30
minor cleanups in the xlink callback code. fixed an error propagation case. file: [677a2ea1f5] check-in: [966209515b] user: stephan branch: trunk, size: 29466
14:15
First draft of artifact crosslink callbacks, to allow us to farm out the crosslinking work. file: [a37b1c89fa] check-in: [fb18a52241] user: stephan branch: trunk, size: 29355
12:53
more minor API cleanups and renaming. file: [eb9ae625be] check-in: [bc4da7e12f] user: stephan branch: trunk, size: 28257
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: [7ca326dfcd] check-in: [e0963e92ca] user: stephan branch: trunk, size: 28139
09:12
API renamings (shortenings) and minor API simplifications. Doc updates, some work on making the R-card optional. file: [b10b2a3837] check-in: [c0752c60c2] user: stephan branch: trunk, size: 37102
2013-08-24
15:54
more wiki work file: [4f9f35d4a1] check-in: [7df0b1de78] user: stephan branch: trunk, size: 37366
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: [c2397803d2] check-in: [31dda112b9] user: stephan branch: trunk, size: 37098
2013-08-22
22:28
minor bugfixes, more manifest parsing validation, and more docs. file: [d87c393c37] check-in: [0d5225a61b] user: stephan branch: trunk, size: 37098
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: [ccf7bcade9] check-in: [57107f6bd2] user: stephan branch: trunk, size: 36587
14:58
Minor doc additions. Renamed lib/URLs to libfossil, as per ML discussions. file: [e63528a7cc] check-in: [4ccaeb603d] user: stephan branch: trunk, size: 35563
13:44
Renamed include/fossil-scm/fsl_internal.h → include/fossil-scm/fossil-internal.h. fsl_internal.h ==> fossil-internal.h file: [ab4158419a] check-in: [2cae867331] user: stephan branch: trunk, size: 34661
2013-08-20
20:02
More work on crosslinking, minor refactoring/code movement. Added f-event test app. file: [ab4158419a] check-in: [06179ab0e6] user: stephan branch: trunk, size: 34661
17:12
code consolidation in the fsl_DB_g_TYPE() routines, fixed silliness in the return of fsl_DB_g_bool(), where it returned a result code (==true unless !(code%128)) for errors. file: [a9835facbf] check-in: [dcb096c78b] user: stephan branch: trunk, size: 34634
2013-08-19
21:35
Ported in the MANIFEST-type crosslinking bits but they must remain untested until tomorrow. file: [e9ca542444] check-in: [b890029387] user: stephan branch: trunk, size: 34192
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: [f45728bc1b] check-in: [ec268be7f0] user: stephan branch: trunk, size: 33993
2013-08-18
20:08
Ported in the rest of add_link(). Compiles but is untested (next step: MANIFEST-type crosslinking). file: [e40a583685] check-in: [2ecba8ed85] user: stephan branch: trunk, size: 33181
18:47
Started adding fsl_repo_mlink_add(), but there is much left to do there. file: [c96c18fa5e] check-in: [56ef8127b6] user: stephan branch: trunk, size: 32234
17:14
more steps on the road to porting add_mlink() and its dependents friends. file: [22bcbd432a] check-in: [4bf94ef630] user: stephan branch: trunk, size: 32170
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: [b0373f1604] check-in: [2acbc2f85e] user: stephan branch: trunk, size: 31449
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: [60dc3b1652] check-in: [f94ea8a168] user: stephan branch: trunk, size: 30886
2013-08-17
19:48
another round of API renamings for consistency purposes. file: [c2b65c61b1] check-in: [f0ceea7dd2] user: stephan branch: trunk, size: 29523
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: [21d9c224f9] check-in: [2d13c82663] user: stephan branch: trunk, size: 33607
14:46
Ported some queries (back) to cached statements. Doc additions. Fixed a few bugs. file: [1bc3d2274b] check-in: [dbabe48f7d] user: stephan branch: trunk, size: 31880
13:11
Renamed some functions, started moving the fsl_cx-specific code into fsl_cx.c. Added fsl_fatal(). file: [4430c8a0b9] check-in: [cd522883eb] user: stephan branch: trunk, size: 29666
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: [6d40034a44] check-in: [6dc5c4ab76] user: stephan branch: trunk, size: 29233
11:17
Removed fsl_mf class, consolidated it with fsl_deck. file: [50c25ef2cd] check-in: [8bbef4153d] user: stephan branch: trunk, size: 29212
10:00
s/fsl_str_is_uuid()/fsl_is_uuid()/. file: [1774448263] check-in: [4325c020b0] user: stephan branch: trunk, size: 29206
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: [b4af524606] check-in: [8735de8159] user: stephan branch: trunk, size: 29218
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: [31ae48412d] check-in: [26beddc0a9] user: stephan branch: trunk, size: 27915
03:01
Several minor infrastructure-level additions. Added fsl_stream(). Ported in fsl_is_simple_pathname(). Enabled fsl_mkdir() and fsl_unlink() (were accidentally disabled due to an unfortunate #if 0 block). file: [7ceb749f89] check-in: [be4b62818e] user: stephan branch: trunk, size: 21567
01:42
Ported in wiki manifest crosslinking. Untested - lacking some bits needed to test it. file: [42d7783523] check-in: [1221ecaa56] user: stephan branch: trunk, size: 21428
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: [164199bbb0] check-in: [d3253d4000] user: stephan branch: trunk, size: 21576
2013-08-13
18:35
Successfully round-trip parsed/output a basic manifest (T, U, D cards). file: [2e8cb4bb88] check-in: [005bc0786e] user: stephan branch: trunk, size: 21395
13:17
Renamed and modified include/fossil/fsl_internal.h → include/fossil-scm/fsl_internal.h. 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: [611332b4b8] check-in: [99a4a0ff23] user: stephan branch: trunk, size: 21454
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: [76f6edfb99] check-in: [00782f790c] user: stephan branch: trunk, size: 21450
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: [ba5c25e558] check-in: [a62817438b] user: stephan branch: trunk, size: 20814
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: [257f084d20] check-in: [ba9abe6330] user: stephan branch: trunk, size: 20751
12:20
Refactoring of the FossilApp layer into header/impl files. Minor fixes and cleanups. file: [7718110889] check-in: [a78f5aada4] user: stephan branch: trunk, size: 20568
05:25
Started down the load road to manifest parsing, but it's time for sleep. file: [53f4c6ecff] check-in: [7ee2496195] user: stephan branch: trunk, size: 20844
2013-08-11
19:35
Fixed fsl_pq_insert() to INCREASE the use count, not DECREASE it. Tag saving seems to be more or less complete, including crosslinking for the basic (tag-related) bits. file: [6d653eadd8] check-in: [d4ec89c216] user: stephan branch: trunk, size: 20514
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: [59965b1647] check-in: [52ec7915e3] user: stephan branch: trunk, size: 20398
13:17
Ported in fsl_repo_content_undelta() and fsl_repo_shun_artifacts(). Added a public API and tests for the fsl_db::beforeCommit triggers. A number of minor additions, cleanups, and fixes. file: [53b635aa84] check-in: [ab3f72ce6c] user: stephan branch: trunk, size: 17789
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: [265a7f8fa2] check-in: [0c18f5b486] user: stephan branch: trunk, size: 17410
2013-08-10
23:29
more API renaming, expanded the FSL_xxx_T_PFMT collection. file: [f0f6e10b27] check-in: [69dd500a28] user: stephan branch: trunk, size: 17494
22:37
more tinkering with the manifest bits. file: [72530188a8] check-in: [fbd57c5781] user: stephan branch: trunk, size: 17498
21:20
Started work on manifest crosslinking, but only skeleton code is in place. Time for the dog walk... file: [abd0f6cf3c] check-in: [5b89c04e9b] user: stephan branch: trunk, size: 17434
19:51
Got content_get() ported in as fsl_repo_content_get(). That was an adventure. file: [8472b1a63f] check-in: [7790ed0962] user: stephan branch: trunk, size: 16869
14:30
more work on the leaf bits. file: [777681b7c1] check-in: [f578832130] user: stephan branch: trunk, size: 17683
13:11
Started porting in the leaf.c bits. Doxygen fixes. file: [792bd37ae4] check-in: [08747b39cb] user: stephan branch: trunk, size: 16285
11:47
More db infrastructure for the content-save process. Started work on fsl_cx_content_put(), but it's a beast and is missing parts. file: [5adeec1c7f] check-in: [ed6df55bda] user: stephan branch: trunk, size: 15907
09:38
Ported in the priority queue class. Minor doc fixes. file: [bc24300fa8] check-in: [a600c5f461] user: stephan branch: trunk, size: 14208
2013-08-09
21:48
minor doc corrections. file: [aa5d42a944] check-in: [5af7566477] user: stephan branch: trunk, size: 12471
18:59
Doc additions, minor API renamings. file: [6b75ed343a] check-in: [d011e3345f] user: stephan branch: trunk, size: 12472
18:38
Ported in the low-level content cache bits. Fixed CANCEL tag cards to not output their value. file: [32b4b851a4] check-in: [76c3b5a830] user: stephan branch: trunk, size: 12042
2013-08-08
20:53
Refactored fsl_cx::dbXXX back into separate db handles, and fsl_cx::dbMain is now a pointer refering to one of db(Config,Ckout,Repo). Requires notably more code/complexity but i am leary of using a :memory: db as the main db (e.g. TEMP tables can only be created in the main db). This breaks part of the th1ish bindings, but will fix that later/tomorrow. file: [b3c056d4e0] check-in: [3273fcaae5] user: stephan branch: trunk, size: 8886
16:32
Renamed fsl_internal.h → include/fossil/fsl_internal.h. moved main sources into src/. moved fsl_internal.h to include/fossil. file: [a0ef588487] check-in: [dd9401360d] user: stephan branch: autosetup, size: 9261
2013-08-07
21:23
Fixed a type mismatch in fsl_cx_content_size(). file: [a0ef588487] check-in: [b3d940ae5d] user: stephan branch: autosetup, size: 9261
2013-08-06
20:28
more doxygen and minor api additions. file: [79cd5bde8a] check-in: [4c42387a6b] user: stephan branch: trunk, size: 9260
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: [12f2604b37] check-in: [425b5509f1] user: stephan branch: trunk, size: 9157
17:14
more baby steps towards committing a tag change. file: [215618d532] check-in: [380a6483e5] user: stephan branch: trunk, size: 5427
2013-08-03
20:13
Lots of cleanups and docs for the deck APIs. Added F Cards, but they are untested so far. file: [6303355ad2] check-in: [a1bfbda5e6] user: stephan branch: trunk, size: 4964
2013-08-02
15:24
Started work on the Manifest API. file: [fff6ffe7ed] check-in: [9c9a968c6b] user: stephan branch: trunk, size: 4475
2013-07-31
22:03
minor tweaking before bed. removed some dead code. file: [1074837f80] check-in: [279222067f] user: stephan branch: trunk, size: 4477
21:46
doc tweaks file: [87797c1756] check-in: [931f97ea8f] user: stephan branch: trunk, size: 4952
20:11
more minor doc tweaks. file: [d2fdad6cd6] check-in: [599d8928a9] user: stephan branch: trunk, size: 5838
20:04
minor doc tweaks file: [42a5be26b7] check-in: [5fa4aaa698] user: stephan branch: trunk, size: 5826
18:16
Moved some of the 'internal' functions into the public API. Added fsl_fstat abstraction for fsl_stat() calls, refactored fsl_stat() to use the new abstraction and moved it into the public API. file: [c567800764] check-in: [090d7dd510] user: stephan branch: trunk, size: 5817
16:40
minor renamings for consistency. Changed fsl_db_role_t to a bitmask (as an experiment). file: [ee5aa8ee0c] check-in: [6d5a908310] user: stephan branch: trunk, size: 11823
14:39
s/fossil2.h/fossil.h/g file: [dceed8e837] check-in: [9c20ce5c00] user: stephan branch: trunk, size: 11257
2013-07-30
14:49
a lot more refactoring than i set out to do. Lots of work on how the context manages its db instances. Config db is not yet finished. file: [1f935468b2] check-in: [dd6c2b4256] user: stephan branch: attach-dbs, size: 11258
11:08
Started refactoring the per-fsl_cx db model: one implicit main db (:memory:) with all others attached. This simpifies connection logic quite a bit but might have side-effects i have not yet considered/encountered. This breaks th1ish's understanding of the db arrangment. file: [8fa999e79e] check-in: [3251aaf6d8] user: stephan branch: attach-dbs, size: 10048
09:50
Refactored how we keep track of f->dbMain. It is now a pointer/alias for one of (dbCkout, dbConfig, dbRepo). Then forgot to check in before porting in %b/%B format specifiers for fsl_appendf(). file: [81ecdaa3c8] check-in: [3fb14b6900] user: stephan branch: trunk, size: 10040
2013-07-29
21:50
refactored the config db bits, but it is still untested. Time for bed. file: [66a5d7e7d8] check-in: [8baf437215] user: stephan branch: trunk, size: 10048
20:32
Started work on fsl_cx_config_open(), but there is still more to do and test there. file: [4de2ee12ec] check-in: [b5d31833b5] user: stephan branch: trunk, size: 8116
2013-07-28
17:44
lots of tinkering and minor additions, minor doxygen format changes to please both emacs and doxygen. file: [e6f403cc80] check-in: [9744556a7e] user: stephan branch: trunk, size: 7496
14:08
fsl_repo_open_checkout() is more or less working. A couple details left port. file: [e0cffd8c07] check-in: [ae7a82a9d5] user: stephan branch: trunk, size: 8381
11:20
Added exclamation points to comment blocks because doxygen does not understand the fossil comment dialect without it. file: [064d398431] check-in: [ec2bf53d6e] user: stephan branch: trunk, size: 8214
11:04
s/fsl_ctx/fsl_cx/g (easier to type). Added doc subdir (doxygen). file: [9e58214302] check-in: [63bd510e80] user: stephan branch: trunk, size: 8194
10:59
Reworked the g.zMainDbType bits to a fsl_db_role enum. Still untested. file: [78ba1e0c49] check-in: [106d92471d] user: stephan branch: trunk, size: 8208
2013-07-27
18:41
ported in lots of fs/ctype-related utilities, required for up-coming db-opening bits. file: [05238874ae] check-in: [14c73fb9f7] user: stephan branch: trunk, size: 7291
17:14
More refactoring of the fsl_db API. Still not quite happy with the monolith that is fsl_db_open(). file: [ef23fc4480] check-in: [5267fe629b] user: stephan branch: trunk, size: 7153
08:44
more work on the db layer and their script bindings. file: [b42cdf4aca] check-in: [a1e6a120d6] user: stephan branch: trunk, size: 7083
04:56
Tweaks to the DB API, starting binding it to th1ish. file: [e92b05005f] check-in: [bad0b996f8] user: stephan branch: trunk, size: 7071
02:54
ported in some of the stat()-related utilities, added th1ish bindings for them. file: [76ea0308b7] check-in: [1e02eb9264] user: stephan branch: trunk, size: 8186
01:51
Another big round of minor cleanups and preparation for up-coming bits. file: [2535d836a7] check-in: [9fa5fb1f96] user: stephan branch: trunk, size: 7872
00:27
All kinds of tinkering. file: [da6defe972] check-in: [71060e72f1] user: stephan branch: trunk, size: 7977
2013-07-26
23:28
minor tinkering. file: [57922ab181] check-in: [c23174b3d7] user: stephan branch: trunk, size: 7977
21:42
more additions and minor fixes. file: [17f220e8a8] check-in: [56b3bd7640] user: stephan branch: trunk, size: 7977
20:43
Improved an error message, minor header tweaks. file: [a2d9e589b6] check-in: [97af42c7d2] user: stephan branch: trunk, size: 4515
2013-07-25
17:16
Renamed fsl_internal.h → src/fsl_internal.h. move source code to ./src dir file: [2b745865e0] check-in: [6c59afb005] user: bch branch: nbsd, size: 4438
08:10
Fixed a duplicate include guard name. Ported in more utility code from v1. file: [2b745865e0] check-in: [310a190152] user: stephan branch: trunk, size: 4438
07:06
Added: Ported in the filename-handling-related UTF8 bits. file: [b66eb091d0] check-in: [8018c25a35] user: stephan branch: trunk, size: 4423