Login
Timeline
Login

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

179 check-ins using file config.make.in version 29a5e31086

2021-03-08
15:14
Seem to have fixed the broken merge handling in checkin. Caused by prematurely clearing out the vmerge table. check-in: 96b46cc3f0 user: stephan tags: trunk
13:50
Merged inadvertent fork from remote BSD box. Edit: BUG: f-checkin did not close the merged-in branch, despite merging with --integrate. It did clear the vmerge table, though. Edit: fixed in [96b46cc3f0]. check-in: f4ef8f360f user: stephan tags: trunk
13:48
auto.def: iconv test failure is no longer fatal, per auto.def in fossil. Closed-Leaf check-in: 60b9efa18b user: stephan tags: trunk
13:23
Renamed FSL_CANSWER_xxx to FSL_CRESPONSE_xxx. Changed some queries from cached to non-cached. Added /*__func__()*/ to the end of many queries to make them easy to track down via sqlite trace output. check-in: c8b25fe30f user: stephan tags: trunk
11:14
Initial go at a new interactive confirmation API (not yet connected to checkout op). Removed a functionally-duplicated API. Added __func__() to some cached SQL statements in order to simplify tracking their origin (though this keeps those statements from being reused across multiple functions). check-in: 9a6bb6834f user: stephan tags: trunk
03:49
Internal tweaking of the removed-from-checkout file deletion bits. check-in: 3ebdc1dfba user: stephan tags: trunk
03:48
Resolved an intermittently flaky sanity check which relied on specific timing. Added a couple fsl_cx_stat2() tests. check-in: e6cab89089 user: stephan tags: trunk
03:26
Sped up fsl_is_locally_modified() for the common case by adding a file-size comparison before falling back to hash comparison. check-in: 53fb496dc8 user: stephan tags: trunk
2021-03-07
16:55
Added f-co to f-apps/index.md. check-in: 3a1a1c8dfa user: stephan tags: trunk
16:49
Minor internal cleanups. check-in: 7666cd3214 user: stephan tags: trunk
14:37
Added FSL_RC_CONFLICT. Checking process now detects merge conflict markers and fails if fsl_checkin_opt::allowMergeConflict is false (which it is by default). Added f-ci --allow-merge-conflict flag. Removed what seems to be a superfluous db update in the checkout process. check-in: b5479cc3c6 user: stephan tags: trunk
13:40
Removed dead code. check-in: 26e2c2a962 user: stephan tags: trunk
13:00
Removed more long-since-unmaintained tcl/jni files. check-in: 94f38d439f user: stephan tags: trunk
12:40
Memleak fix. check-in: 1c829de1f1 user: stephan tags: trunk
12:35
Implemented f-co --manifest. check-in: 91a9c30303 user: stephan tags: trunk
11:48
Null pointer deref fix. check-in: 91aa67ba47 user: stephan tags: trunk
11:40
Removed dangling bits left over from the previous commit. check-in: 23a5dfe46a user: stephan tags: trunk
11:06
Removed the vtables for the fossil config settings handling. They're long-since unmaintained and the library is no longer going to enforce the fossil-specific list of config options. check-in: 3f606ecdf0 user: stephan tags: trunk
10:55
Minor doc cleanups and API renaming. check-in: 8425dbc02c user: stephan tags: trunk
10:34
Added --save flag to f-mfparse to store the deck into the repo. That was used to stuff a hand-crafted mass-closing control artifact into fossil: [https://fossil-scm.org/home/info/2e525856ec57bb9f]. Don't try that at home, please. check-in: 198dabd041 user: stephan tags: trunk
09:43
Renamed a cryptically-named struct member from fc to fCard. check-in: ae428e47b0 user: stephan tags: trunk
08:48
Moved some f-ci always-output into verbose-only output, which coincidentally uncovered... Fixed the duplicate crosslinking which was being performed via fsl_checkin_commit() and made fsl_deck_save() change how it crosslinks depending on whether fsl_crosslink_begin() is active, which (in turn) fixed the fsl_repo_has_mlink_mid() discrepancy vis a vis fossil for checkin crosslinking. check-in: 0c3df4194e user: stephan tags: trunk
08:27
Replaced Q-card magic values with an enum. check-in: b81f4c29c9 user: stephan tags: trunk
2021-03-06
17:35
fsl_checkout_changes_visit() now treats a callback return of FSL_RC_BREAK like most iteration API do. Doc touchups. check-in: 0bdf51b375 user: stephan tags: trunk
16:27
Improved handling of deleted-by-checkin files via fsl_repo_checkout() and their reporting via f-co. check-in: 038cd076ae user: stephan tags: trunk
11:29
fsl_repo_checkout() deletion of empty dirs now walks up parent dirs to catch those strays left over by the previous commit. To see this in action, do (f-co tip) then (f-co rid:1), which should leave an empty dir except for .fslckout. check-in: 6c174db6f3 user: stephan tags: trunk
11:06
fsl_repo_checkout(), when removing leftover files, now tries to prune empty dirs. It does not catch dirs which themselves contain no files (contain only other dirs), as vfile has no entry for such dirs. Solving that requires more dir name slicing-up. check-in: 682c42c3a9 user: stephan tags: trunk
2021-03-05
07:52
fsl_content_put_ex() automatically rejects any blobs over a certain size (close to 2GB) for compatibility with fossil, which has a hard-coded limit of 2GB via its use of int-sized numbers for all ranges and access to blobs. fsl_buffers may exceed that, but such blobs may not be put into the db, lest we add something to the repo which will cause on OOM error for fossil. check-in: 633bf431cd user: stephan tags: trunk
07:43
More char-to-bool conversions. Moved fsl_stmt_bind_fmt() into the public API and added a basic test for it. check-in: d386e0d741 user: stephan tags: trunk
06:00
f-open and f-co now (mostly) honor --quiet. f-co now deletes files which removed between the original and target checkin unless the --no-rm flag is used. f-co cowardly refuses to check out the same version over itself. BUG: i have seen a few instances where the vvar 'checkout' setting disappears, leading to later app calls saying it's 'not a checkout', but have yet to pin down the origin. check-in: da6bcc64ba user: stephan tags: trunk
05:58
fcli now rolls back any active transaction when it shuts down. check-in: bc58934765 user: stephan tags: trunk
05:14
Removed some unused files (coincidentally need deletions for testing). check-in: 0dcf7291aa user: stephan tags: trunk
04:51
Notes and assertions about F-card traversal not including F-cards with a NULL UUID (indicating that they were deleted in a delta manifest). check-in: 30b1a2435b user: stephan tags: trunk
04:29
More tinkering with the f-co/f-open-related infrastructure. check-in: 13194b49eb user: stephan tags: trunk
04:28
Added schema names to the various pragma SCHEMA.application_id calls. check-in: 5844dc0eeb user: stephan tags: trunk
01:01
Added dry-run mode to fsl_repo_checkout(). Minor cleanups in f-open and f-co. check-in: f54d7ff201 user: stephan tags: trunk
00:07
Got f-co working, but am not sure that the --keep semantics are useful. More refactoring in/around f-open and f-co. check-in: eeb7706e6e user: stephan tags: trunk
2021-03-04
22:46
Refactored fsl_repo_checkout() to take a different options type and callback, and provided that callback with more interesting state. Restored f-open functionally which was disabled due to the lack of that state. check-in: ea7a0da420 user: stephan tags: trunk
21:26
Upstream s2 fixes for clang warnings (one of which is absolutely bogus). check-in: d3e363479c user: stephan tags: trunk
21:16
Updated C++ binding for API changes. check-in: 0c114ca6be user: stephan tags: trunk
21:07
Started factoring the extract-to-checkout code from f-open into lib-level fsl_repo_checkout(). This loses a feature or two which will have to be reworked into the lib API but it seems to work. check-in: 5fd71c1b87 user: stephan tags: trunk
19:29
Renamed fsl_repo_open_opt to the unfortunately verbose fsl_repo_open_checkout_opt to avoid confusion about the options being for fsl_repo_open() (which they're not). Fixed chdir()-back behavior in fsl_repo_open_checkout() when opt->targetDir is NULL. check-in: ea0bfdc56d user: stephan tags: trunk
19:12
fsl_repo_open_checkout() now chdir's back to its starting directory. check-in: fb7e54a710 user: stephan tags: trunk
19:06
Minor API tweaks. Corrected --setmtime handling of f-open (broken by my refactoring). check-in: 3e996ceab5 user: stephan tags: trunk
18:24
Renamed f-checkin to f-ci and f-checkout to f-co because the tab-completion conflicts are getting annoying :/. check-in: 932ec8ad51 user: stephan tags: trunk
18:19
Refactored fsl_repo_extract() to take a struct and added an option to specify whether or not the file content should be extracted. Fixed fsl_mkdir_for_file() for 1-letter filenames. check-in: 0e31c5674e user: stephan tags: trunk
17:45
f-open: removed unnecessary content load and added some library-level functions to help streamline transaction handling. check-in: 5c988bf424 user: stephan tags: trunk
16:54
Added fsl_file_exec_set() and changed f-open to use it for setting the +x bit. check-in: e57eeac51e user: stephan tags: trunk
15:12
Minor internal cleanups. Corrected hash handling of fsl_repo_import_blob(). check-in: 5e448f56bb user: stephan tags: trunk
14:27
Added FSL_RC_MISSING_INFO. Minor internal doc cleanups and API result value changes. Reworked how fsl_cx_hash_buffer() returns when its alternative hash option conflicts with the current hash policy. check-in: d1428d5a93 user: stephan tags: trunk
12:28
Numerous cleanups and fixes in/around the infrastructure used by f-open. check-in: b67129bbb9 user: stephan tags: trunk
12:03
Removed the 2nd part of the system-level sqlite3 check. check-in: 191ba4272e user: stephan tags: trunk
11:22
Added f-open to the f-apps list. check-in: b0f07b73c9 user: stephan tags: trunk
10:29
Removed unused (and unplanned) option from the configure script for using a system-level libsqlite. check-in: e44b5a8c2c user: stephan tags: trunk
2021-03-03
17:11
Tinkering with the fcli_command help bits. check-in: 8dfc562e7c user: stephan tags: trunk
16:44
Restored f-sanity's -1 flag. check-in: 9fc41dba87 user: stephan tags: trunk
16:41
Renamed fsl_path API to fsl_vpath to avoid any confusion with fsl_pathfinder. check-in: a8d1262cc1 user: stephan tags: trunk
11:42
Renamed fsl_buffer_reset() to fsl_buffer_reuse() to try to reduce the confusion between its semantics contrasted with fsl_buffer_clear(). check-in: 0584c1b6e2 user: stephan tags: trunk
11:36
Added missing change-type values to fsl_checkout_changes_visit(), which could have triggered an assert(), and replaced the assert() with debug output which warns of the mismatch. check-in: eaaffd743b user: stephan tags: trunk
09:27
When creating a new checkout db via fsl_repo_open_checkout() we write default checkout=0, checkout-hash=NULL values so that downstream code does not see this as a non-repo when it cannot find those. check-in: e8b25ce3bc user: stephan tags: trunk
08:38
Lots of bending and hammering related to smoothing out f-open. There's still an issue when opening an empty checkout (it's seen as not a checkout by other apps), but that's on the to-fix list. check-in: 2a04a6818c user: stephan tags: trunk
2021-03-02
14:47
Merged in open-ckout-wip. Corrected a broken assumption/assertion combination trigged by fsl_deck_R_set(). check-in: 6ce13d2392 user: stephan tags: trunk
14:00
Replaced an internal-data use with a public API call. Closed-Leaf check-in: df215ddcb5 user: stephan tags: open-ckout-wip
12:39
Setting config vars in repo.config now sets the mtime to now(). check-in: ac329b2eed user: stephan tags: open-ckout-wip
11:53
Replaced hard tabs. Fixed corrupted dir name (uninitialized var). check-in: 4216a1dcd3 user: stephan tags: open-ckout-wip
10:32
A round of minor cleanups in getting f-open working for me. Time for a break, though. check-in: ba432bca3a user: stephan tags: open-ckout-wip
09:48
Remove an unneeded(?) parameter from fsl_vfile_load_from_rid(). check-in: 0ba7388df1 user: stephan tags: open-ckout-wip
09:18
Temporary workarounds for set-but-not-yet-used var warnings. check-in: 06f1db287f user: stephan tags: open-ckout-wip
08:49
Implement f-open and f-checkout roughly ported from db.c::cmd_open() and checkout.c::checkout_cmd() in Fossil using a draft implementation of the fsl_repo_open_checkout API designed by Stephan. This is a work in progress and is missing a few critical pieces but will open and checkout a given repository. Only tested on OpenBSD and macOS and may not work on Windows yet. check-in: 4897fa7285 user: mark tags: open-ckout-wip
08:41
Minor doc improvement. check-in: 3c7f48ce4d user: stephan tags: trunk
2021-03-01
16:21
Arguably a typo fix in the new header. Thank goodness for stream editors. check-in: 386316db07 user: stephan tags: trunk
15:46
Replaced the overwhelming majority of license headers with the new project-standard one. Left a few as they were for files which were imported essentially unchanged from Fossil or, in the case of SHA1/SHA3/MD5 bits, other 3rd-party sources. check-in: fa5fb24496 user: stephan tags: trunk
14:27
Resolved an API inconsistency between fsl_is_reserved_fn() and fsl_is_reserved_fn_windows(). check-in: f8b6945191 user: stephan tags: trunk
13:45
Renamed FCliCommand to fcli_command for consistency's sake. check-in: 92aa86396d user: stephan tags: trunk
12:31
Improved the checkin-to-closed-leaf check to allow checkin if the branch would change. Ported in the reserved filename checks, so that 'add' ops will fail if the user adds a filename which is illegal. check-in: 2d90220116 user: stephan tags: trunk
07:57
Corrected the sameLine() merge-internal algo, so merge collisions are now detected. Minor internal merge/merge-adjacent cleanups. check-in: ecfc36587c user: stephan tags: trunk
04:59
Ported in 3-way-merge algo and first test runs :-D. Time for a break. check-in: 64c2d4a752 user: stephan tags: trunk
2021-02-28
17:10
Started porting in fossil's merge algorithm. It looks like the support algos are all in place, just the main merge is missing. First some sleep, though. check-in: 2cfc9d6ae9 user: stephan tags: trunk
11:49
Removed the superfluous length parameter from fsl_deck_U_set(). check-in: 908a2d314c user: stephan tags: trunk
11:33
API doc touchups. check-in: f27c0b7c9c user: stephan tags: trunk
10:58
Consolidated some duplicate fcli init code. Added help support for FCliCommand, such that if the first argument after the command name is 'help' and it has fcli_cliflags set then the help for just that command is invoked. e.g. (f-wiki ls help) shows just the help for the ls command. check-in: 163c5ac4b8 user: stephan tags: trunk
09:50
Reworked the fcli flag handling to accept and convert a range of flag types. It requires some pointer care on the user's part but is far more flexible. check-in: fa7c45e1ef user: stephan tags: trunk
08:30
Minor doc tweaks. check-in: 952718f17b user: stephan tags: trunk
08:23
Removed obsolete/unmaintained f-apps/msvcXX bits. check-in: bdebba49fb user: stephan tags: trunk
08:13
Changed how fcli handles verbose help mode (multiple -? act like higher verbosity levels). Improved catching/reporting of flags which require a value but don't get one (lol, which breaks f-checking -d -). Added f-_template.c for use as a copy/paste basis for new f-apps. check-in: 41295403c0 user: stephan tags: trunk
06:34
Removed obsolete/unmaintained file. check-in: 3457a265b4 user: stephan tags: trunk
04:57
fcli now uses its own FCLI_RC_HELP, instead of hijacking FSL_RC_BREAK, to indicate that --help was triggered. check-in: d0edf4583f user: stephan tags: trunk
04:22
Update to newer fossil-scm canonical home URL and change some SHA1-specific doc references. check-in: 0a36473e4c user: stephan tags: trunk
04:15
Generic cleanups, char-to-bool conversions. Moved fsl_acache bits into their own file. Shrunk a couple of struct sizes. check-in: 7c8b025221 user: stephan tags: trunk
02:50
Fixed a couple uninitialized flags which led to unpredictable output, reported by Mark. check-in: 45afc881bd user: stephan tags: trunk
02:50
Removed 'required' flag from fcli_cliflag (it was particularly useless with boolean flags). check-in: 19fce623c4 user: stephan tags: trunk
2021-02-27
14:29
Finished porting the f-apps to the new CLI handling bits. Replaced fcli::appHelp with what was formerly fcli::appHelp2. check-in: ca464b5b74 user: stephan tags: trunk
13:13
More fcli CLI reworking. Renamed FossilCommand to FCliCommand and expanded it with a CLI flags array for command-specific flags dispatching and unifying help text generation for command-driven apps like f-wiki and f-config. check-in: 36bb349a93 user: stephan tags: trunk
12:04
Ported f-wiki to the new CLI flags mechanism and extended the fcli public API a bit to be able to support command-dispatch-style apps like f-wiki. check-in: 97a2679fd1 user: stephan tags: trunk
11:06
Doc additions and removed some dead code. check-in: 14ba664742 user: stephan tags: trunk
10:59
f-timeline ported to new CLI flag handling. check-in: 62eb079a3c user: stephan tags: trunk
10:43
More CLI flags handling changes. Completely re-did how f-tag handles its arguments. fcli --help now only shows global options when using --verbose. check-in: 75e5fd2467 user: stephan tags: trunk
07:51
Ported f-query to the new CLI flag bits. check-in: 9d212daff6 user: stephan tags: trunk
07:08
More CLI flag subsystem porting and license header swapping. check-in: c94a3b0d0e user: stephan tags: trunk
06:56
More CLI flag subsystem porting. check-in: 96957a63d7 user: stephan tags: trunk
06:38
More f-apps ported to the new CLI flag handling bits. check-in: 296776c72b user: stephan tags: trunk
06:05
More work on the new fcli flags infrastructure. check-in: 6865f151f9 user: stephan tags: trunk
05:17
Fixed checkin merge integration, hashing of decks when saving (was hard-coded to SHA1), and improved determination of which hash policy to use based on the hash-property config setting. check-in: 65b9309997 user: stephan tags: trunk
04:21
Remove unneeded error check for fsl_buffer_reset() as it's infallible in this call. check-in: 46bbae2d88 user: mark tags: trunk
03:59
Merging in fcli-flag-rework branch. It's not complete but it's at a point where we can use both the old and new worlds at the same time while porting. Edit: bug: f-checkin did not close the branch we merged in with --integrate. check-in: 3288acfcbc user: stephan tags: trunk
03:51
Fixed a broken cross-enum assignment discovered by Mark and his magical clang compiler. check-in: 3b50decca1 user: stephan tags: trunk
03:45
Removed an obsolete comment. Closed-Leaf check-in: 9febfd3aa1 user: stephan tags: fcli-flag-rework
2021-02-26
19:49
Found the source of the stale merge state in a large comment block. check-in: 74eabd1b76 user: stephan tags: fcli-flag-rework
19:32
Cherrpick [fc686465edb52] for testing (after fixing a stray comma in a variadic call). Edit: worked but we still have the stale local cherrypick status. FIXME after some sleep. check-in: fedefaad44 user: stephan tags: fcli-flag-rework
19:26
Brought the merge parts of the checkin logic up to date wrt fossil. Need to branch this in order to test it sensibly, though. Closed-Leaf check-in: fc686465ed user: stephan tags: checkin-merge-update
18:54
More porting to the newer fcli flags handling. check-in: f46b535eaa user: stephan tags: fcli-flag-rework
17:44
Tiny cleanup to the previous commit. check-in: b91a8cb985 user: stephan tags: fcli-flag-rework
17:36
More work on the CLI flag handling. Time for a break. check-in: fba3a91a5a user: stephan tags: fcli-flag-rework
17:02
Cherrypicked [5c04ab3a23]. Let's see if f-checkin can handle this properly. Edit: bug - the checkin worked but the cherrypick status is still recorded and active for the next checkin. check-in: 0a7bf91fba user: stephan tags: fcli-flag-rework
16:47
More work on the fcli argument handling rewrite. check-in: 490b7ab32e user: stephan tags: fcli-flag-rework
14:39
Fix bug that unnecessarily resizes buffer resulting in incorrect b->used for SHA3 hash length checks. check-in: 5c04ab3a23 user: mark tags: trunk
14:04
Reworking how fcli flag handling is done. check-in: dad2f76f30 user: stephan tags: fcli-flag-rework
13:10
Removed leftover VC6 projects files. check-in: 6585894b76 user: stephan tags: trunk
06:03
Some doc touchups, enum renaming, and removed some dead code. check-in: 473fd8718c user: stephan tags: trunk
04:57
A workaround for the plink count mismatch between libf/fossil crosslinking. This gets the plink counts correct (fixing fossil's ability to run 'blame'), but why this workaround is needed is unclear. A couple char-to-bool API conversions. check-in: a9332967a7 user: stephan tags: trunk
2021-02-25
10:14
Removed a TODO and applied upstream change [fossil:dad521bb06757a7f]. check-in: 998358d8fe user: stephan tags: trunk
08:25
Renamed another enum. check-in: 9470d94b1b user: stephan tags: trunk
08:22
Some API renaming. Modified how fsl_deck_parse() determines the deck's RID/UUID. Introduced fsl_repo_blob_lookup(). check-in: 467b9e1c18 user: stephan tags: trunk
07:14
Removed fossil-content.h - was logically removed a week or so ago. check-in: 95a93ff3b3 user: stephan tags: trunk
02:48
Removed some dead code. check-in: b024494e7e user: stephan tags: trunk
2021-02-24
20:41
Removed a now-incorrect comment. check-in: ce331bf419 user: stephan tags: trunk
19:34
fsl_appendf() %j now emits "null" (always without quotes) when passed a NULL pointer. check-in: b1e8da4fa7 user: stephan tags: trunk
09:28
Removed some dead code. Added %j (JSON string) encoding to fsl_appendf() using a streaming approach (no allocation). check-in: a008179c2d user: stephan tags: trunk
06:00
f-timeline: renamed event to technote. check-in: ab9b5ace37 user: stephan tags: trunk
05:42
Renamed enum fsl_file_perm_t to fsl_fileperm_e and fsl_rc_t to fsl_rc_e. check-in: eb5c621f98 user: stephan tags: trunk
05:38
Minor internal cleanups in the crosslinking code. check-in: adefc301a3 user: stephan tags: trunk
04:04
Brought checkin crosslinking up to date wrt fossil (whew) and it appears to work: deleting the mlink/plink entries and running f-parseparty -c seems to do the right thing. Fixed a couple mis-handled cases of cherrypick crosslinking and mis-setting of the fsl_card_Q::type field in fsl_deck_parse(). check-in: 4dde2be3b0 user: stephan tags: trunk
00:03
Removed some C99-related config options which are no longer needed since we require C99. check-in: 9ffc72c6a3 user: stephan tags: trunk
2021-02-23
23:55
Internal doc tweaks. check-in: c7e7b6cf73 user: stephan tags: trunk
19:45
Hardened deck validation for certain special cases, in particular at output-time. check-in: a392b75868 user: stephan tags: trunk
18:09
Internal doc/#if block cleanups. Stop checking for NULL deck arguments on fsl_deck_XXX() APIs. Changed error code for a few deck-related cases. check-in: 2896b543be user: stephan tags: trunk
2021-02-22
05:21
Moved [DbFunctions] wiki page to an embedded doc. check-in: abdf234a5c user: stephan tags: trunk
05:20
More char-to-bool conversions. check-in: 6360bb6d8f user: stephan tags: trunk
04:53
Removed an extraneous #undef and an unused #define. check-in: beaad1d76d user: stephan tags: trunk
04:41
As a precaution against changes made in [7800a90d1699] and [ddf4ac0df508], fsl_content_deltify() is now explicity a no-op if asked to deltify a phantom. check-in: 3affea2904 user: stephan tags: trunk
03:48
Added new file missing from [5a3d4bceb3] and enabled search index updates during crosslinking: the mysterious 'SQL logic error' message disappeared after a bit of table-dropping and rebuilding. check-in: 4cbbf66211 user: stephan tags: trunk
03:35
Renamed fsl_phantom_t to fsl_phantom_e. check-in: 4880e2e2ac user: stephan tags: trunk
03:34
Technote counterpart fix of [7800a90d16]. check-in: ddf4ac0df5 user: stephan tags: trunk
03:12
Fixed upstream bug [fossil:ecb705359a58ac32]. check-in: 7800a90d16 user: stephan tags: trunk
2021-02-21
21:06
Tinkering with the C++ Deck-to-fsl_deck conversion operator signatures. check-in: e0e62d6f21 user: stephan tags: trunk
19:07
Removed an unused var. check-in: f4e8a2184d user: stephan tags: trunk
18:27
More enum type renaming. Updated C++/s2 bindings for other recent renamings. check-in: 9c1abb2e95 user: stephan tags: trunk
18:12
When reparenting, fail if the given artifact type may not have a P-card. check-in: 1278c47f0a user: stephan tags: trunk
17:56
Ported over the crosslinking bits which reparent artifacts via the 'parent' tag. check-in: e7e12b008d user: stephan tags: trunk
16:52
Ported in fsl_search_doc_touch() from fossil and call it at the appropriate points in the crosslinking steps, but it's disabled because one of the queries mysteriously fails with 'SQL logic error' when run from this context (but works fine in the fossil shell). Some more char-to-bool conversions. check-in: 5a3d4bceb3 user: stephan tags: trunk
15:58
Removed libfossil-DS201x.* project files (MSVC?) because they're out of date and long-since unmaintained. check-in: ce3338ffd3 user: stephan tags: trunk
15:10
Renamed FSL_CATYPE... (CA=Control Artifact) to FSL_SATYPE... (SA=Structural Artifact) so that they correspond to the terms as set out by the fossil file format docs. check-in: 8728796601 user: stephan tags: trunk
2021-02-19
00:05
Ported in post-dephantomization bits, but they are untested for lack of phantoms (which generally only appear via the sync process). check-in: 2ab8c86b3d user: stephan tags: trunk
2021-02-18
05:11
Replaced the extraneous fsl_double_t typedef with double. check-in: b359548620 user: stephan tags: trunk
2021-02-17
19:43
Doc additions concerning overriding timeline comment text during crosslinking. Added support for the C-card for wiki timeline updates (noting that that card is never emitted for wiki artifacts by fossil, though it does permit them). check-in: edaf56e488 user: stephan tags: trunk
03:16
Replaced a stale fossil-wiki-format link with a markdown one. check-in: fcfc2ae105 user: stephan tags: trunk
2021-02-15
19:44
Added FSL_CATYPE_BRANCH_START artifact pseudo-type to give fsl_sym_to_rid() a way to report the start of a branch rather than its most recent RID, in order to match a feature from the main fossil repo (which appears to be unused, but better safe than sorry). check-in: 128adb8515 user: stephan tags: trunk
19:16
Resolved (haha) issue with the last round of sym-to-rid updates which left 'trunk' unresolvable. check-in: ae343e941c user: stephan tags: trunk
18:38
Updated the symbolic-name-to-rid code to bring it more in line with fossil's and ported in some closely-related behaviors. check-in: 55f8d321d2 user: stephan tags: trunk
04:13
Renamed mf.c (mf==manifest) to deck.c. check-in: 799c43f9c5 user: stephan tags: trunk
04:11
Fixed the unsetting of the B-card on a manifest when the checkin processes decides that it's not useful as a delta manifest and switches to a baseline manifest. Bug was in the B-card unsetter logic. check-in: 4a015bdd47 user: stephan tags: trunk
03:24
Renamed src/fsl_XYZ.c to src/XYZ.c. f-checkin vfile dump now includes renames. check-in: ed3183170a user: stephan tags: trunk
00:21
Reimplemented fsl_config_file_reset() to account for schema prefixes. fsl_file_size() now returns type fsl_int_t instead of fsl_size_t, to simplify the -1-on-error return checking. Added fsl_config_global_preferred_name(), which performs the global config file lookup algo used by fossil, and changed fsl_config_open() to use that. check-in: 8837671e83 user: stephan tags: trunk
2021-02-14
13:17
Sorted out the broken autosetup: apparently autosetup removed its lib/ in some version, moving those files up one dir, and i didn't notice when upgrading. check-in: 9bc3eb88ca user: stephan tags: trunk
13:14
Again autosetup-test-tclsh +x bit: fossil is creating a checkin for this but is not including this file. Seems to be that permissions-only changes, though recognized by status, are causing the checkin to not be build properly. Forced a change in that file to force fossil to add it this time. check-in: 67eed95e19 user: stephan tags: trunk
13:10
autosetup-test-tclsh +x bit again. (Wha?) check-in: d793563cae user: stephan tags: trunk
12:36
Started replacing some of the char-as-bool with C99 bool. check-in: 4da3578966 user: stephan tags: trunk
02:41
Added f-parseparty --skip-unknown flag and have crosslink failure honor the fail-fast setting. check-in: a8af06d834 user: stephan tags: trunk
02:26
Improved (slightly) an error report when crosslinking a checkin fails because the content for the P-card artifact cannot be found or is a phantom. check-in: 88947dfafc user: stephan tags: trunk
01:38
Renamed fsl_tag_rid() to fsl_tag_an_rid() to help avoid confusion with fsl_tag_id(), which does something much different. Split the crosslinkers into core/timeline-update bits. Fixed a reallocation bug in the crosslink callback list. Added --crosslink option to f-parseparty. Enabled output of empty P-card on checkin manifests with no parents (initial checkin) to please f-mfparse tests (empty P's are harmless, just slightly unsightly). check-in: 63893e6c12 user: stephan tags: trunk
01:34
Minor build tweaks. check-in: 06aac2e747 user: stephan tags: trunk
2021-02-13
23:44
Minkering/testing with replacing the checkin timeline crosslinker. Moved some code around. check-in: c42cfd8c10 user: stephan tags: trunk
23:43
Corrected f-checkin's vfile dump to only include changed files. check-in: 345ab3e1c1 user: stephan tags: trunk
21:49
Changed crosslink listener interface and started porting the parts which update the timeline into user-overrideable listeners, which will allow clients to 100% customize timeline content without having to deal with the rest of the crosslinking schema updates. Honor fossil's forbid-delta-manifests setting. Fixed fsl_deck_output() usage in f-apps, as called for by previous commit [ac9b034f79]. check-in: 911afa1bcc user: stephan tags: trunk
13:03
Made the fsl_deck object in fsl_deck_output() and crosslink listeners non-const, the former to avoid forcing the client to do much up-front work and the latter because it's necessary for such code to be able to traverse F-cards. That had a bit of a rat's tail of side effects to clean up. Edit: reminder: this caused a sync problem because we added an attachment artifact file which is itself an export of an artifact from the db, leading to a unique constraint violation when pushing. Deleting the attachment table entries, syncing, then rebuilding, resolved it. Hopefully this duplicate artifact won't cause any similar downstream problems. check-in: ac9b034f79 user: stephan tags: trunk
05:52
Updated attachment crosslinking to account for technote attachments. check-in: 08ecc42a5f user: stephan tags: trunk
2021-02-12
22:21
Started removing the many now-extraneous (fsl_id_t) casts in variadic calls. check-in: 11e5173970 user: stephan tags: trunk
22:21
Wha??? doc/presentation-fossil-data-model.md was demonstrably removed (moved to main fossil tree) in [9e08d879fb0b4722], and not re-added since then. How did it re-appear? Edit: i may (not certain) have(???) inadvertently re-added it when crosslinking random manifests during testing. check-in: edc97b0a3a user: stephan tags: trunk
22:09
libfossil is now C99, rather than C89, per discussion at [https://fossil.wanderinghorse.net/r/libfossil-forum/forumpost/e02ff0e8d0]. fsl_int{16,32,64}_t have been replaced by the standard uint{16,32,64}_t, FSL_xxx_T_PFMT/SFMT replaced with PRIx32 and friends, and auto.def now checks for -std=c99 capability (but that check could probably be done differently/improved). fsl_int_t and fsl_uint_t are retained, as they're more about documentation/intent than fixed sizes. check-in: ee070353b9 user: stephan tags: trunk