Login
Timeline
Login

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

90 check-ins using file bindings/cpp/Deck.cpp version ab00ee665b

2021-03-04
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