Login
Timeline
Login

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

227 check-ins using file s2/unit2/100-100-vtbl-versionedsettings.s2 or bindings/s2/unit2/100-100-vtbl-versionedsettings.s2 version d2844906ed

2021-03-07
10:55
Minor doc cleanups and API renaming. check-in: 8425dbc02c user: stephan tags: trunk
10:34
Added --save flag to f-mfparse to store the deck into the repo. That was used to stuff a hand-crafted mass-closing control artifact into fossil: [https://fossil-scm.org/home/info/2e525856ec57bb9f]. Don't try that at home, please. check-in: 198dabd041 user: stephan tags: trunk
09:43
Renamed a cryptically-named struct member from fc to fCard. check-in: ae428e47b0 user: stephan tags: trunk
08:48
Moved some f-ci always-output into verbose-only output, which coincidentally uncovered... Fixed the duplicate crosslinking which was being performed via fsl_checkin_commit() and made fsl_deck_save() change how it crosslinks depending on whether fsl_crosslink_begin() is active, which (in turn) fixed the fsl_repo_has_mlink_mid() discrepancy vis a vis fossil for checkin crosslinking. check-in: 0c3df4194e user: stephan tags: trunk
08:27
Replaced Q-card magic values with an enum. check-in: b81f4c29c9 user: stephan tags: trunk
2021-03-06
17:35
fsl_checkout_changes_visit() now treats a callback return of FSL_RC_BREAK like most iteration API do. Doc touchups. check-in: 0bdf51b375 user: stephan tags: trunk
16:27
Improved handling of deleted-by-checkin files via fsl_repo_checkout() and their reporting via f-co. check-in: 038cd076ae user: stephan tags: trunk
11:29
fsl_repo_checkout() deletion of empty dirs now walks up parent dirs to catch those strays left over by the previous commit. To see this in action, do (f-co tip) then (f-co rid:1), which should leave an empty dir except for .fslckout. check-in: 6c174db6f3 user: stephan tags: trunk
11:06
fsl_repo_checkout(), when removing leftover files, now tries to prune empty dirs. It does not catch dirs which themselves contain no files (contain only other dirs), as vfile has no entry for such dirs. Solving that requires more dir name slicing-up. check-in: 682c42c3a9 user: stephan tags: trunk
2021-03-05
07:52
fsl_content_put_ex() automatically rejects any blobs over a certain size (close to 2GB) for compatibility with fossil, which has a hard-coded limit of 2GB via its use of int-sized numbers for all ranges and access to blobs. fsl_buffers may exceed that, but such blobs may not be put into the db, lest we add something to the repo which will cause on OOM error for fossil. check-in: 633bf431cd user: stephan tags: trunk
07:43
More char-to-bool conversions. Moved fsl_stmt_bind_fmt() into the public API and added a basic test for it. check-in: d386e0d741 user: stephan tags: trunk
06:00
f-open and f-co now (mostly) honor --quiet. f-co now deletes files which removed between the original and target checkin unless the --no-rm flag is used. f-co cowardly refuses to check out the same version over itself. BUG: i have seen a few instances where the vvar 'checkout' setting disappears, leading to later app calls saying it's 'not a checkout', but have yet to pin down the origin. check-in: da6bcc64ba user: stephan tags: trunk
05:58
fcli now rolls back any active transaction when it shuts down. check-in: bc58934765 user: stephan tags: trunk
05:14
Removed some unused files (coincidentally need deletions for testing). check-in: 0dcf7291aa user: stephan tags: trunk
04:51
Notes and assertions about F-card traversal not including F-cards with a NULL UUID (indicating that they were deleted in a delta manifest). check-in: 30b1a2435b user: stephan tags: trunk
04:29
More tinkering with the f-co/f-open-related infrastructure. check-in: 13194b49eb user: stephan tags: trunk
04:28
Added schema names to the various pragma SCHEMA.application_id calls. check-in: 5844dc0eeb user: stephan tags: trunk
01:01
Added dry-run mode to fsl_repo_checkout(). Minor cleanups in f-open and f-co. check-in: f54d7ff201 user: stephan tags: trunk
00:07
Got f-co working, but am not sure that the --keep semantics are useful. More refactoring in/around f-open and f-co. check-in: eeb7706e6e user: stephan tags: trunk
2021-03-04
22:46
Refactored fsl_repo_checkout() to take a different options type and callback, and provided that callback with more interesting state. Restored f-open functionally which was disabled due to the lack of that state. check-in: ea7a0da420 user: stephan tags: trunk
21:26
Upstream s2 fixes for clang warnings (one of which is absolutely bogus). check-in: d3e363479c user: stephan tags: trunk
21:16
Updated C++ binding for API changes. check-in: 0c114ca6be user: stephan tags: trunk
21:07
Started factoring the extract-to-checkout code from f-open into lib-level fsl_repo_checkout(). This loses a feature or two which will have to be reworked into the lib API but it seems to work. check-in: 5fd71c1b87 user: stephan tags: trunk
19:29
Renamed fsl_repo_open_opt to the unfortunately verbose fsl_repo_open_checkout_opt to avoid confusion about the options being for fsl_repo_open() (which they're not). Fixed chdir()-back behavior in fsl_repo_open_checkout() when opt->targetDir is NULL. check-in: ea0bfdc56d user: stephan tags: trunk
19:12
fsl_repo_open_checkout() now chdir's back to its starting directory. check-in: fb7e54a710 user: stephan tags: trunk
19:06
Minor API tweaks. Corrected --setmtime handling of f-open (broken by my refactoring). check-in: 3e996ceab5 user: stephan tags: trunk
18:24
Renamed f-checkin to f-ci and f-checkout to f-co because the tab-completion conflicts are getting annoying :/. check-in: 932ec8ad51 user: stephan tags: trunk
18:19
Refactored fsl_repo_extract() to take a struct and added an option to specify whether or not the file content should be extracted. Fixed fsl_mkdir_for_file() for 1-letter filenames. check-in: 0e31c5674e user: stephan tags: trunk
17:45
f-open: removed unnecessary content load and added some library-level functions to help streamline transaction handling. check-in: 5c988bf424 user: stephan tags: trunk
16:54
Added fsl_file_exec_set() and changed f-open to use it for setting the +x bit. check-in: e57eeac51e user: stephan tags: trunk
15:12
Minor internal cleanups. Corrected hash handling of fsl_repo_import_blob(). check-in: 5e448f56bb user: stephan tags: trunk
14:27
Added FSL_RC_MISSING_INFO. Minor internal doc cleanups and API result value changes. Reworked how fsl_cx_hash_buffer() returns when its alternative hash option conflicts with the current hash policy. check-in: d1428d5a93 user: stephan tags: trunk
12:28
Numerous cleanups and fixes in/around the infrastructure used by f-open. check-in: b67129bbb9 user: stephan tags: trunk
12:03
Removed the 2nd part of the system-level sqlite3 check. check-in: 191ba4272e user: stephan tags: trunk
11:22
Added f-open to the f-apps list. check-in: b0f07b73c9 user: stephan tags: trunk
10:29
Removed unused (and unplanned) option from the configure script for using a system-level libsqlite. check-in: e44b5a8c2c user: stephan tags: trunk
2021-03-03
17:11
Tinkering with the fcli_command help bits. check-in: 8dfc562e7c user: stephan tags: trunk
16:44
Restored f-sanity's -1 flag. check-in: 9fc41dba87 user: stephan tags: trunk
16:41
Renamed fsl_path API to fsl_vpath to avoid any confusion with fsl_pathfinder. check-in: a8d1262cc1 user: stephan tags: trunk
11:42
Renamed fsl_buffer_reset() to fsl_buffer_reuse() to try to reduce the confusion between its semantics contrasted with fsl_buffer_clear(). check-in: 0584c1b6e2 user: stephan tags: trunk
11:36
Added missing change-type values to fsl_checkout_changes_visit(), which could have triggered an assert(), and replaced the assert() with debug output which warns of the mismatch. check-in: eaaffd743b user: stephan tags: trunk
09:27
When creating a new checkout db via fsl_repo_open_checkout() we write default checkout=0, checkout-hash=NULL values so that downstream code does not see this as a non-repo when it cannot find those. check-in: e8b25ce3bc user: stephan tags: trunk
08:38
Lots of bending and hammering related to smoothing out f-open. There's still an issue when opening an empty checkout (it's seen as not a checkout by other apps), but that's on the to-fix list. check-in: 2a04a6818c user: stephan tags: trunk
2021-03-02
14:47
Merged in open-ckout-wip. Corrected a broken assumption/assertion combination trigged by fsl_deck_R_set(). check-in: 6ce13d2392 user: stephan tags: trunk
14:00
Replaced an internal-data use with a public API call. Closed-Leaf check-in: df215ddcb5 user: stephan tags: open-ckout-wip
12:39
Setting config vars in repo.config now sets the mtime to now(). check-in: ac329b2eed user: stephan tags: open-ckout-wip
11:53
Replaced hard tabs. Fixed corrupted dir name (uninitialized var). check-in: 4216a1dcd3 user: stephan tags: open-ckout-wip
10:32
A round of minor cleanups in getting f-open working for me. Time for a break, though. check-in: ba432bca3a user: stephan tags: open-ckout-wip
09:48
Remove an unneeded(?) parameter from fsl_vfile_load_from_rid(). check-in: 0ba7388df1 user: stephan tags: open-ckout-wip
09:18
Temporary workarounds for set-but-not-yet-used var warnings. check-in: 06f1db287f user: stephan tags: open-ckout-wip
08:49
Implement f-open and f-checkout roughly ported from db.c::cmd_open() and checkout.c::checkout_cmd() in Fossil using a draft implementation of the fsl_repo_open_checkout API designed by Stephan. This is a work in progress and is missing a few critical pieces but will open and checkout a given repository. Only tested on OpenBSD and macOS and may not work on Windows yet. check-in: 4897fa7285 user: mark tags: open-ckout-wip
08:41
Minor doc improvement. check-in: 3c7f48ce4d user: stephan tags: trunk
2021-03-01
16:21
Arguably a typo fix in the new header. Thank goodness for stream editors. check-in: 386316db07 user: stephan tags: trunk
15:46
Replaced the overwhelming majority of license headers with the new project-standard one. Left a few as they were for files which were imported essentially unchanged from Fossil or, in the case of SHA1/SHA3/MD5 bits, other 3rd-party sources. check-in: fa5fb24496 user: stephan tags: trunk
14:27
Resolved an API inconsistency between fsl_is_reserved_fn() and fsl_is_reserved_fn_windows(). check-in: f8b6945191 user: stephan tags: trunk
13:45
Renamed FCliCommand to fcli_command for consistency's sake. check-in: 92aa86396d user: stephan tags: trunk
12:31
Improved the checkin-to-closed-leaf check to allow checkin if the branch would change. Ported in the reserved filename checks, so that 'add' ops will fail if the user adds a filename which is illegal. check-in: 2d90220116 user: stephan tags: trunk
07:57
Corrected the sameLine() merge-internal algo, so merge collisions are now detected. Minor internal merge/merge-adjacent cleanups. check-in: ecfc36587c user: stephan tags: trunk
04:59
Ported in 3-way-merge algo and first test runs :-D. Time for a break. check-in: 64c2d4a752 user: stephan tags: trunk
2021-02-28
17:10
Started porting in fossil's merge algorithm. It looks like the support algos are all in place, just the main merge is missing. First some sleep, though. check-in: 2cfc9d6ae9 user: stephan tags: trunk
11:49
Removed the superfluous length parameter from fsl_deck_U_set(). check-in: 908a2d314c user: stephan tags: trunk
11:33
API doc touchups. check-in: f27c0b7c9c user: stephan tags: trunk
10:58
Consolidated some duplicate fcli init code. Added help support for FCliCommand, such that if the first argument after the command name is 'help' and it has fcli_cliflags set then the help for just that command is invoked. e.g. (f-wiki ls help) shows just the help for the ls command. check-in: 163c5ac4b8 user: stephan tags: trunk
09:50
Reworked the fcli flag handling to accept and convert a range of flag types. It requires some pointer care on the user's part but is far more flexible. check-in: fa7c45e1ef user: stephan tags: trunk
08:30
Minor doc tweaks. check-in: 952718f17b user: stephan tags: trunk
08:23
Removed obsolete/unmaintained f-apps/msvcXX bits. check-in: bdebba49fb user: stephan tags: trunk
08:13
Changed how fcli handles verbose help mode (multiple -? act like higher verbosity levels). Improved catching/reporting of flags which require a value but don't get one (lol, which breaks f-checking -d -). Added f-_template.c for use as a copy/paste basis for new f-apps. check-in: 41295403c0 user: stephan tags: trunk
06:34
Removed obsolete/unmaintained file. check-in: 3457a265b4 user: stephan tags: trunk
04:57
fcli now uses its own FCLI_RC_HELP, instead of hijacking FSL_RC_BREAK, to indicate that --help was triggered. check-in: d0edf4583f user: stephan tags: trunk
04:22
Update to newer fossil-scm canonical home URL and change some SHA1-specific doc references. check-in: 0a36473e4c user: stephan tags: trunk
04:15
Generic cleanups, char-to-bool conversions. Moved fsl_acache bits into their own file. Shrunk a couple of struct sizes. check-in: 7c8b025221 user: stephan tags: trunk
02:50
Fixed a couple uninitialized flags which led to unpredictable output, reported by Mark. check-in: 45afc881bd user: stephan tags: trunk
02:50
Removed 'required' flag from fcli_cliflag (it was particularly useless with boolean flags). check-in: 19fce623c4 user: stephan tags: trunk
2021-02-27
14:29
Finished porting the f-apps to the new CLI handling bits. Replaced fcli::appHelp with what was formerly fcli::appHelp2. check-in: ca464b5b74 user: stephan tags: trunk
13:13
More fcli CLI reworking. Renamed FossilCommand to FCliCommand and expanded it with a CLI flags array for command-specific flags dispatching and unifying help text generation for command-driven apps like f-wiki and f-config. check-in: 36bb349a93 user: stephan tags: trunk
12:04
Ported f-wiki to the new CLI flags mechanism and extended the fcli public API a bit to be able to support command-dispatch-style apps like f-wiki. check-in: 97a2679fd1 user: stephan tags: trunk
11:06
Doc additions and removed some dead code. check-in: 14ba664742 user: stephan tags: trunk
10:59
f-timeline ported to new CLI flag handling. check-in: 62eb079a3c user: stephan tags: trunk
10:43
More CLI flags handling changes. Completely re-did how f-tag handles its arguments. fcli --help now only shows global options when using --verbose. check-in: 75e5fd2467 user: stephan tags: trunk
07:51
Ported f-query to the new CLI flag bits. check-in: 9d212daff6 user: stephan tags: trunk
07:08
More CLI flag subsystem porting and license header swapping. check-in: c94a3b0d0e user: stephan tags: trunk
06:56
More CLI flag subsystem porting. check-in: 96957a63d7 user: stephan tags: trunk
06:38
More f-apps ported to the new CLI flag handling bits. check-in: 296776c72b user: stephan tags: trunk
06:05
More work on the new fcli flags infrastructure. check-in: 6865f151f9 user: stephan tags: trunk
05:17
Fixed checkin merge integration, hashing of decks when saving (was hard-coded to SHA1), and improved determination of which hash policy to use based on the hash-property config setting. check-in: 65b9309997 user: stephan tags: trunk
04:21
Remove unneeded error check for fsl_buffer_reset() as it's infallible in this call. check-in: 46bbae2d88 user: mark tags: trunk
03:59
Merging in fcli-flag-rework branch. It's not complete but it's at a point where we can use both the old and new worlds at the same time while porting. Edit: bug: f-checkin did not close the branch we merged in with --integrate. check-in: 3288acfcbc user: stephan tags: trunk
03:51
Fixed a broken cross-enum assignment discovered by Mark and his magical clang compiler. check-in: 3b50decca1 user: stephan tags: trunk
03:45
Removed an obsolete comment. Closed-Leaf check-in: 9febfd3aa1 user: stephan tags: fcli-flag-rework
2021-02-26
19:49
Found the source of the stale merge state in a large comment block. check-in: 74eabd1b76 user: stephan tags: fcli-flag-rework
19:32
Cherrpick [fc686465edb52] for testing (after fixing a stray comma in a variadic call). Edit: worked but we still have the stale local cherrypick status. FIXME after some sleep. check-in: fedefaad44 user: stephan tags: fcli-flag-rework
19:26
Brought the merge parts of the checkin logic up to date wrt fossil. Need to branch this in order to test it sensibly, though. Closed-Leaf check-in: fc686465ed user: stephan tags: checkin-merge-update
18:54
More porting to the newer fcli flags handling. check-in: f46b535eaa user: stephan tags: fcli-flag-rework
17:44
Tiny cleanup to the previous commit. check-in: b91a8cb985 user: stephan tags: fcli-flag-rework
17:36
More work on the CLI flag handling. Time for a break. check-in: fba3a91a5a user: stephan tags: fcli-flag-rework
17:02
Cherrypicked [5c04ab3a23]. Let's see if f-checkin can handle this properly. Edit: bug - the checkin worked but the cherrypick status is still recorded and active for the next checkin. check-in: 0a7bf91fba user: stephan tags: fcli-flag-rework
16:47
More work on the fcli argument handling rewrite. check-in: 490b7ab32e user: stephan tags: fcli-flag-rework
14:39
Fix bug that unnecessarily resizes buffer resulting in incorrect b->used for SHA3 hash length checks. check-in: 5c04ab3a23 user: mark tags: trunk
14:04
Reworking how fcli flag handling is done. check-in: dad2f76f30 user: stephan tags: fcli-flag-rework
13:10
Removed leftover VC6 projects files. check-in: 6585894b76 user: stephan tags: trunk
06:03
Some doc touchups, enum renaming, and removed some dead code. check-in: 473fd8718c user: stephan tags: trunk
04:57
A workaround for the plink count mismatch between libf/fossil crosslinking. This gets the plink counts correct (fixing fossil's ability to run 'blame'), but why this workaround is needed is unclear. A couple char-to-bool API conversions. check-in: a9332967a7 user: stephan tags: trunk
2021-02-25
10:14
Removed a TODO and applied upstream change [fossil:dad521bb06757a7f]. check-in: 998358d8fe user: stephan tags: trunk
08:25
Renamed another enum. check-in: 9470d94b1b user: stephan tags: trunk
08:22
Some API renaming. Modified how fsl_deck_parse() determines the deck's RID/UUID. Introduced fsl_repo_blob_lookup(). check-in: 467b9e1c18 user: stephan tags: trunk
07:14
Removed fossil-content.h - was logically removed a week or so ago. check-in: 95a93ff3b3 user: stephan tags: trunk
02:48
Removed some dead code. check-in: b024494e7e user: stephan tags: trunk
2021-02-24
20:41
Removed a now-incorrect comment. check-in: ce331bf419 user: stephan tags: trunk
19:34
fsl_appendf() %j now emits "null" (always without quotes) when passed a NULL pointer. check-in: b1e8da4fa7 user: stephan tags: trunk
09:28
Removed some dead code. Added %j (JSON string) encoding to fsl_appendf() using a streaming approach (no allocation). check-in: a008179c2d user: stephan tags: trunk
06:00
f-timeline: renamed event to technote. check-in: ab9b5ace37 user: stephan tags: trunk
05:42
Renamed enum fsl_file_perm_t to fsl_fileperm_e and fsl_rc_t to fsl_rc_e. check-in: eb5c621f98 user: stephan tags: trunk
05:38
Minor internal cleanups in the crosslinking code. check-in: adefc301a3 user: stephan tags: trunk
04:04
Brought checkin crosslinking up to date wrt fossil (whew) and it appears to work: deleting the mlink/plink entries and running f-parseparty -c seems to do the right thing. Fixed a couple mis-handled cases of cherrypick crosslinking and mis-setting of the fsl_card_Q::type field in fsl_deck_parse(). check-in: 4dde2be3b0 user: stephan tags: trunk
00:03
Removed some C99-related config options which are no longer needed since we require C99. check-in: 9ffc72c6a3 user: stephan tags: trunk
2021-02-23
23:55
Internal doc tweaks. check-in: c7e7b6cf73 user: stephan tags: trunk
19:45
Hardened deck validation for certain special cases, in particular at output-time. check-in: a392b75868 user: stephan tags: trunk
18:09
Internal doc/#if block cleanups. Stop checking for NULL deck arguments on fsl_deck_XXX() APIs. Changed error code for a few deck-related cases. check-in: 2896b543be user: stephan tags: trunk
2021-02-22
05:21
Moved [DbFunctions] wiki page to an embedded doc. check-in: abdf234a5c user: stephan tags: trunk
05:20
More char-to-bool conversions. check-in: 6360bb6d8f user: stephan tags: trunk
04:53
Removed an extraneous #undef and an unused #define. check-in: beaad1d76d user: stephan tags: trunk
04:41
As a precaution against changes made in [7800a90d1699] and [ddf4ac0df508], fsl_content_deltify() is now explicity a no-op if asked to deltify a phantom. check-in: 3affea2904 user: stephan tags: trunk
03:48
Added new file missing from [5a3d4bceb3] and enabled search index updates during crosslinking: the mysterious 'SQL logic error' message disappeared after a bit of table-dropping and rebuilding. check-in: 4cbbf66211 user: stephan tags: trunk
03:35
Renamed fsl_phantom_t to fsl_phantom_e. check-in: 4880e2e2ac user: stephan tags: trunk
03:34
Technote counterpart fix of [7800a90d16]. check-in: ddf4ac0df5 user: stephan tags: trunk
03:12
Fixed upstream bug [fossil:ecb705359a58ac32]. check-in: 7800a90d16 user: stephan tags: trunk
2021-02-21
21:06
Tinkering with the C++ Deck-to-fsl_deck conversion operator signatures. check-in: e0e62d6f21 user: stephan tags: trunk
19:07
Removed an unused var. check-in: f4e8a2184d user: stephan tags: trunk
18:27
More enum type renaming. Updated C++/s2 bindings for other recent renamings. check-in: 9c1abb2e95 user: stephan tags: trunk
18:12
When reparenting, fail if the given artifact type may not have a P-card. check-in: 1278c47f0a user: stephan tags: trunk
17:56
Ported over the crosslinking bits which reparent artifacts via the 'parent' tag. check-in: e7e12b008d user: stephan tags: trunk
16:52
Ported in fsl_search_doc_touch() from fossil and call it at the appropriate points in the crosslinking steps, but it's disabled because one of the queries mysteriously fails with 'SQL logic error' when run from this context (but works fine in the fossil shell). Some more char-to-bool conversions. check-in: 5a3d4bceb3 user: stephan tags: trunk
15:58
Removed libfossil-DS201x.* project files (MSVC?) because they're out of date and long-since unmaintained. check-in: ce3338ffd3 user: stephan tags: trunk
15:10
Renamed FSL_CATYPE... (CA=Control Artifact) to FSL_SATYPE... (SA=Structural Artifact) so that they correspond to the terms as set out by the fossil file format docs. check-in: 8728796601 user: stephan tags: trunk
2021-02-19
00:05
Ported in post-dephantomization bits, but they are untested for lack of phantoms (which generally only appear via the sync process). check-in: 2ab8c86b3d user: stephan tags: trunk
2021-02-18
05:11
Replaced the extraneous fsl_double_t typedef with double. check-in: b359548620 user: stephan tags: trunk
2021-02-17
19:43
Doc additions concerning overriding timeline comment text during crosslinking. Added support for the C-card for wiki timeline updates (noting that that card is never emitted for wiki artifacts by fossil, though it does permit them). check-in: edaf56e488 user: stephan tags: trunk
03:16
Replaced a stale fossil-wiki-format link with a markdown one. check-in: fcfc2ae105 user: stephan tags: trunk
2021-02-15
19:44
Added FSL_CATYPE_BRANCH_START artifact pseudo-type to give fsl_sym_to_rid() a way to report the start of a branch rather than its most recent RID, in order to match a feature from the main fossil repo (which appears to be unused, but better safe than sorry). check-in: 128adb8515 user: stephan tags: trunk
19:16
Resolved (haha) issue with the last round of sym-to-rid updates which left 'trunk' unresolvable. check-in: ae343e941c user: stephan tags: trunk
18:38
Updated the symbolic-name-to-rid code to bring it more in line with fossil's and ported in some closely-related behaviors. check-in: 55f8d321d2 user: stephan tags: trunk
04:13
Renamed mf.c (mf==manifest) to deck.c. check-in: 799c43f9c5 user: stephan tags: trunk
04:11
Fixed the unsetting of the B-card on a manifest when the checkin processes decides that it's not useful as a delta manifest and switches to a baseline manifest. Bug was in the B-card unsetter logic. check-in: 4a015bdd47 user: stephan tags: trunk
03:24
Renamed src/fsl_XYZ.c to src/XYZ.c. f-checkin vfile dump now includes renames. check-in: ed3183170a user: stephan tags: trunk
00:21
Reimplemented fsl_config_file_reset() to account for schema prefixes. fsl_file_size() now returns type fsl_int_t instead of fsl_size_t, to simplify the -1-on-error return checking. Added fsl_config_global_preferred_name(), which performs the global config file lookup algo used by fossil, and changed fsl_config_open() to use that. check-in: 8837671e83 user: stephan tags: trunk
2021-02-14
13:17
Sorted out the broken autosetup: apparently autosetup removed its lib/ in some version, moving those files up one dir, and i didn't notice when upgrading. check-in: 9bc3eb88ca user: stephan tags: trunk
13:14
Again autosetup-test-tclsh +x bit: fossil is creating a checkin for this but is not including this file. Seems to be that permissions-only changes, though recognized by status, are causing the checkin to not be build properly. Forced a change in that file to force fossil to add it this time. check-in: 67eed95e19 user: stephan tags: trunk
13:10
autosetup-test-tclsh +x bit again. (Wha?) check-in: d793563cae user: stephan tags: trunk
12:36
Started replacing some of the char-as-bool with C99 bool. check-in: 4da3578966 user: stephan tags: trunk
02:41
Added f-parseparty --skip-unknown flag and have crosslink failure honor the fail-fast setting. check-in: a8af06d834 user: stephan tags: trunk
02:26
Improved (slightly) an error report when crosslinking a checkin fails because the content for the P-card artifact cannot be found or is a phantom. check-in: 88947dfafc user: stephan tags: trunk
01:38
Renamed fsl_tag_rid() to fsl_tag_an_rid() to help avoid confusion with fsl_tag_id(), which does something much different. Split the crosslinkers into core/timeline-update bits. Fixed a reallocation bug in the crosslink callback list. Added --crosslink option to f-parseparty. Enabled output of empty P-card on checkin manifests with no parents (initial checkin) to please f-mfparse tests (empty P's are harmless, just slightly unsightly). check-in: 63893e6c12 user: stephan tags: trunk
01:34
Minor build tweaks. check-in: 06aac2e747 user: stephan tags: trunk
2021-02-13
23:44
Minkering/testing with replacing the checkin timeline crosslinker. Moved some code around. check-in: c42cfd8c10 user: stephan tags: trunk
23:43
Corrected f-checkin's vfile dump to only include changed files. check-in: 345ab3e1c1 user: stephan tags: trunk
21:49
Changed crosslink listener interface and started porting the parts which update the timeline into user-overrideable listeners, which will allow clients to 100% customize timeline content without having to deal with the rest of the crosslinking schema updates. Honor fossil's forbid-delta-manifests setting. Fixed fsl_deck_output() usage in f-apps, as called for by previous commit [ac9b034f79]. check-in: 911afa1bcc user: stephan tags: trunk
13:03
Made the fsl_deck object in fsl_deck_output() and crosslink listeners non-const, the former to avoid forcing the client to do much up-front work and the latter because it's necessary for such code to be able to traverse F-cards. That had a bit of a rat's tail of side effects to clean up. Edit: reminder: this caused a sync problem because we added an attachment artifact file which is itself an export of an artifact from the db, leading to a unique constraint violation when pushing. Deleting the attachment table entries, syncing, then rebuilding, resolved it. Hopefully this duplicate artifact won't cause any similar downstream problems. check-in: ac9b034f79 user: stephan tags: trunk
05:52
Updated attachment crosslinking to account for technote attachments. check-in: 08ecc42a5f user: stephan tags: trunk
2021-02-12
22:21
Started removing the many now-extraneous (fsl_id_t) casts in variadic calls. check-in: 11e5173970 user: stephan tags: trunk
22:21
Wha??? doc/presentation-fossil-data-model.md was demonstrably removed (moved to main fossil tree) in [9e08d879fb0b4722], and not re-added since then. How did it re-appear? Edit: i may (not certain) have(???) inadvertently re-added it when crosslinking random manifests during testing. check-in: edc97b0a3a user: stephan tags: trunk
22:09
libfossil is now C99, rather than C89, per discussion at [https://fossil.wanderinghorse.net/r/libfossil-forum/forumpost/e02ff0e8d0]. fsl_int{16,32,64}_t have been replaced by the standard uint{16,32,64}_t, FSL_xxx_T_PFMT/SFMT replaced with PRIx32 and friends, and auto.def now checks for -std=c99 capability (but that check could probably be done differently/improved). fsl_int_t and fsl_uint_t are retained, as they're more about documentation/intent than fixed sizes. check-in: ee070353b9 user: stephan tags: trunk
15:22
Implemented crosslink begin/end steps, minus still-pending ticket/wiki-specific features. Crosslinking wiki pages updated to use fossil's newer wiki timeline comment format and updated f-timeline to recognize it as well. check-in: 31c8bddf22 user: stephan tags: trunk
13:00
Ported in mlink schema fix from [https://fossil-scm.org/home/info/1f5af80047be4589]. check-in: 9cc40bf1be user: stephan tags: trunk
12:20
checkin crosslinking: added missing Q-card (cherrypick) handling, corrected a parent-count case when dealing with Q-cards, and generally brought it up to date with regards to fossil(1). check-in: 4dcdf5a8f7 user: stephan tags: trunk
07:41
Header file reorgs. check-in: c1681af460 user: stephan tags: trunk
07:02
Implemented forum artifact crosslinking and restructured fsl_deck_crosslink() into internal type-specific routines. check-in: 1817557652 user: stephan tags: trunk
05:03
Removed java/tcl include paths from the build, as those bits are long-since untested/unmaintained. check-in: 72c2f60034 user: stephan tags: trunk
04:37
Fix 'uninitialized use' of rc variable when default switch is hit. check-in: 32d545fd62 user: mark tags: trunk
03:38
Removed presentation-fossil-data-model.md - moving it to the main fossil tree. check-in: 9e08d879fb user: stephan tags: trunk
03:37
Minor doc updates. check-in: 85c5517be8 user: stephan tags: trunk
2021-02-11
19:13
Completely reimplemented ownership semantics of fcli argument/flag memory, greatly simplifying app-side management of those. Now fcli sticks all of them in fcli_fax() so that their lifetime is predictable and managed, so clients no longer have to free them. check-in: 4307886eab user: stephan tags: trunk
18:38
Moved around and tinkered with some of the hash policy code. Added f-new --hash option to set the policy when creating a new repo. check-in: dec0670fb2 user: stephan tags: trunk
13:01
Replaced a hard-coded UUID in test.cpp with a ref to rid:1. check-in: 9e6df31e88 user: stephan tags: trunk
12:56
Fixed a missed link in the fossil-wiki-to-markdown port. check-in: f2f497c658 user: stephan tags: trunk
12:49
Checked in the generated fsl_schema_*_cstr.c files to make it easier to port the build to non-Unix systems. check-in: eeac3c6fe0 user: stephan tags: trunk
12:42
Moved C++ and s2 bindings to bindings/{cpp,s2}. Got the C++ bindings compiling for new gcc breakage and new, stricter T-card validation. check-in: fdc5e1014e user: stephan tags: trunk
12:25
Moved f-tools wiki page to f-apps/index.md. check-in: 827f5c8bc3 user: stephan tags: trunk
11:29
Manifest parsing: moved the guess-card-type logic to the end, after the cards have had a chance to apply the type themselves. Ported in some undocumented(?) but code-implemented corner-case constraints, such as not allowing tag names which look like hex hashes. check-in: 4b7e3d1ac6 user: stephan tags: trunk
06:38
fsl_deck_parse(): when we know that the current card can only possibly belong to a certain deck type, assign the deck type immediately, rather than delaying it to the "guess" phase (which may actually have already deduced the type, anyway). This provides the same results as before but should be a bit more robust. Removed some dead code. check-in: 92a5e7fee4 user: stephan tags: trunk
06:14
Improved fsl_mf_parse() artifact type guessing to eliminate an over-zealous type classification. Implemented the technote swapped P/N-cards bug workaround from the main fossil tree. f-parseparty now includes UUIDs of failed parses and can now parse the whole core fossil (and forum) artifact collection without any errors. check-in: 88060bfb9b user: stephan tags: trunk
04:42
Added f-parseparty --types=... flag to select types of artifacts to test. check-in: c0a6cc5b55 user: stephan tags: trunk
04:41
Moved some at-exit cleanup code. check-in: d6afb451a0 user: stephan tags: trunk
03:26
Merged in make-compdb branch and added test for that feature in auto.def. check-in: 2b7680dd90 user: stephan tags: trunk
00:16
Added f-parseparty, which parses all of the artifacts in a repo, and uncovered a serious manifest parsing bug in fossil(1) as a side effect. Fixed a memory ownership bug when manifest parsing fails, which led to a double-free. Related adjacent touchups. check-in: 0163960ce0 user: stephan tags: trunk
2021-02-10
19:37
Changed fossil-scm.org/fossil to fossil-scm.org/home, per recent change on that end. check-in: a54f70e148 user: stephan tags: trunk
18:23
Stephan's discussion document on the Fossil data model check-in: 8876efccd3 user: dan tags: trunk
15:46
Minor doc updates and improved a case of error propagation. check-in: 88f850cd66 user: stephan tags: trunk
15:45
Added fcli_fax() (free-at-exit). check-in: e8b7fd94e6 user: stephan tags: trunk
13:51
Amend make config files to generate compilation database. Add MAKE_COMPILATION_DB variable to enable the '-MJ' flag on supported compilers to generate a compile_commands.json compilation database. Closed-Leaf check-in: b9be211162 user: mark tags: make-compdb
2021-02-09
19:42
Typo fix. check-in: 7c8f09ac3d user: stephan tags: trunk
18:21
Re-added autosetup-test-tclsh. Is the +x bit retained now? check-in: b242c6bef3 user: stephan tags: trunk
18:20
Temporarily removing autosetup-test-tclsh to try to work around the ability to +x it. check-in: c6d06e4728 user: stephan tags: trunk
18:18
Wha??? Added +x bit again - apparently libf's checkin process does not catch attribute-only changes properly? Edit: this checkin was made with fossil(1), but same thing. check-in: dab3ac63d1 user: stephan tags: trunk
18:17
Added +x bit again - apparently libf's checkin process does not catch attribute-only changes properly? check-in: cb3d4e371d user: stephan tags: trunk
18:15
Added +x bit (wasn't this already done?). check-in: 7dab52fd0e user: stephan tags: trunk
18:08
Merged inadvertent fork. check-in: dbfab53142 user: stephan tags: trunk
18:06
Fixed creation of new repository (fsl_repo_new() and f-new.c). Added checkin message mimetype to repo creation options. check-in: 162d4ba4c8 user: stephan tags: trunk
11:40
Added some protections against generating empty checkin. Removed some stale docs. check-in: 9bff657291 user: stephan tags: trunk
11:35
finalise licenses dir / check-in: 6347de6f38 user: dan tags: trunk
11:22
add license directory for files to point to check-in: 2aa8c19588 user: dan tags: trunk
11:10
Added +x bit. check-in: 27e1f8ee2b user: stephan tags: trunk
09:52
Removed some stale docs. Add new checkins to the UNSENT table (though whether or not they're in there appears to make no difference?). check-in: a52c8a0690 user: stephan tags: trunk
09:49
Added a fsl_cx flag to silently skip, instead of error out, when crosslinking encounters a type it cannot yet handle (currently forum posts and tickets). check-in: a2c0c7820d user: stephan tags: trunk
08:54
Re-added sqlite3ext.h (needed by the vtable bits). Added if-not-defined guards around the generated config header vars. Minor touchups to the amalgamation build. check-in: 62099c7d53 user: stephan tags: trunk
08:53
Fixed a null pointer deref in a routine i thought never got passed NULLs. check-in: d826ff335f user: stephan tags: trunk
05:07
Explicitly insert vfile.mhash with a NULL value. check-in: ac52d23368 user: stephan tags: trunk
05:06
Implemented FSL_HPOLICY_SHUN_SHA1. check-in: 9418c5e60f user: stephan tags: trunk
05:03
Removed an unnecessary var-guard. check-in: 1d9b5aa3c0 user: stephan tags: trunk
04:25
Minor doc updates. check-in: 0d0a30f979 user: stephan tags: trunk
04:23
Versioned file access no longer follows symlinks. check-in: d8a6788d85 user: stephan tags: trunk
00:18
Updated license text in almost all C/H to claim copyright while attributing all of the files as heavily derived from DRH's work. check-in: 631fb3f69a user: stephan tags: trunk
2021-02-08
23:48
Added forum type to f-timeline. check-in: c2d78cbb4b user: stephan tags: trunk
23:47
Renamed the hash length constants. check-in: 0c9a6d3644 user: stephan tags: trunk
23:42
Updated s2 bindings for new forum-deck cards. check-in: 05542c5251 user: stephan tags: trunk
23:35
Merged in [sha3-port] branch. There's certainly still bits to test, but it now more or less supports both SHA1 and SHA3-256 hashes. check-in: ff13fc9b52 user: stephan tags: trunk
23:32
Added deck support for forum posts, except that crosslinking them is currently unimplemented (requires more infrastructure). Closed-Leaf check-in: b0ac77411e user: stephan tags: sha3-port
20:45
MILESTONE: f-ls just read a file listing from the main fossil repo (v2 hashes). Set f-mfparse back to hard-coded sha1 for the time being, as i'm not sure i can automatically figure out one or the other hash (need to add a flag to specify which to use). check-in: 8367e0ce6e user: stephan tags: sha3-port
20:35
Ported in more of the fossil(1) hashing-related infrastructure. check-in: 033d78f03f user: stephan tags: sha3-port
18:23
f-apps compile and f-sanity runs. MILESTONE. Still need to test the other f-apps, though. check-in: 76c290eb05 user: stephan tags: sha3-port
16:49
Reverted autosetup to 0.6.9 to [https://github.com/msteveb/autosetup/issues/59]. check-in: 9538db33d6 user: stephan tags: sha3-port
16:42
th1 was removed by stephan check-in: cc0bac7250 user: dan tags: trunk
16:03
Baby steps towards dual sha1/sha3 support. This does not yet compile but i'm nervous about losing work done so far. It's been painless but tedious, which is not bad, all things considered. check-in: 240701a6ec user: stephan tags: sha3-port
13:34
Apply the sqlite3.c CPPFLAGS currently used by fossil(1). check-in: f16a3dd322 user: stephan tags: trunk
07:44
Brought core SQL schemas up to date wrt fossil(1). check-in: 490dadcad9 user: stephan tags: trunk
07:43
Updated autosetup. check-in: 48120a033a user: stephan tags: trunk
06:53
Resolved the s2 unit test breakage: config.h settings led to it not stat'ing a dir entry the same way the core s2 tree was, which revealed a slight bug in s2.import's is-a-dir check (namely, not recognizing a dir as a dir). check-in: 17ac91740c user: stephan tags: trunk
06:15
Updated s2 and brought old fossil bindings up to date wrt cwal/s2 changes made since then. Core s2 unit tests are inexplicably failing with a bogus(?) OOM report with this shell build, but they work in the core s2 tree and libf unit tests are passing. check-in: f063fd4f0f user: stephan tags: trunk