Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
50 descendants of ba432bca3a4bc188
2021-03-07
| ||
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 | |