Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
History for src/cli.c
2024-10-12
| ||
18:43 | fcli: move the cliFlags and appHelp members into fcli.config. Curiously, this does not affect any of the f-apps but will likely break any clients still using fcli_setup() instead of fcli_setup_v2() (they just need to add '.config' to those member accesses). file: [f1e333d6c0] check-in: [b979896288] user: stephan branch: trunk, size: 45303 | |
18:37 | Part 1 of N of some restructuring of the fcli_t struct: consolidate fcli.clientFlags and fcli.config into fcli.config. file: [6d15ffdedb] check-in: [2f7bf3f7d0] user: stephan branch: trunk, size: 45180 | |
15:22 | Initial work on fcli_setup_v3(). Not yet sure if this will be a real thing. file: [de071a4cdd] check-in: [5789a03da2] user: stephan branch: fcli_setup_v3, size: 45370 | |
2024-09-16
| ||
20:34 | Remove the fsl_db::f (fsl_cx*) member. This touches a lot of code lines but was not anywhere near as invasive as expected. file: [88168b3763] check-in: [f00a5025f5] user: stephan branch: db-hooks, size: 45333 | |
2024-09-02
| ||
03:05 | Do a better job of determining the default fossil user name, first extracting it from the checkout (if available), then the repo (if available), then the environment. Automatically do this when opening a repo and/or checkout and clear the name when the SCM dbs are closed. file: [c8f73adb40] check-in: [20e4e80b87] user: stephan branch: trunk, size: 45337 | |
2024-06-29
| ||
22:02 | Add a test app to import raw blobs, initially for use with importing the libfossil forum repo into the main libfossil forum. In the process, discovered, but have not yet resolved, a double-free bug via fcli_shutdown()'s cleanup of the argv memory. file: [0dd4ffd142] check-in: [44f248ffb4] user: stephan branch: trunk, size: 45421 | |
2024-04-16
| ||
07:40 | Reinstate --see-hexmode in fcli. file: [784b51cfc3] check-in: [0803fb9c84] user: stephan branch: sqlite-see, size: 45470 | |
07:02 | Add support for --see-textkey to fcli. file: [3f65fd50fb] check-in: [fe27725d07] user: stephan branch: sqlite-see, size: 45435 | |
06:26 | More work on SEE integration. file: [787bb49ce8] check-in: [7240c7d988] user: stephan branch: sqlite-see, size: 44544 | |
06:06 | More work on adding library-level SEE support. It seems to basically work but it's not complete. file: [0a559c2978] check-in: [3d4d0d3a05] user: stephan branch: sqlite-see, size: 44091 | |
04:58 | Build tweaks to facilitate SEE integration. file: [6e1e55e686] check-in: [914a6ea914] user: stephan branch: trunk, size: 43362 | |
2023-11-22
| ||
11:54 | s/__unused/fsl__unused as discussed in /chat with stephan@ to help avoid name collisions with package maintainers; no functional change intended file: [93bee7f499] check-in: [230cf225fc] user: mark branch: trunk, size: 43366 | |
2023-04-19
| ||
02:26 | Apply a set of missing f(void) and assigned-but-unused vars from Mark J. file: [3995d5a7cb] check-in: [b96f5840ea] user: stephan branch: no-common-ancestor, size: 43327 | |
2022-11-24
| ||
13:51 | add FCLI_RC_NO_CMD result code for fcli_dispatch_commands() To help distinguish between invalid commands and propagated FSL_RC_NOT_FOUND errors returned from successfully dispatched commands. ok stephan@ file: [6c6c2c314e] check-in: [46008704a6] user: mark branch: trunk, size: 43323 | |
13:49 | make fcli_cmd_aliascmp() return semantics match convention Return 0 if a match is found as one would expect from a *_cmp() routine. ok stephan@ file: [b9c160b6ca] check-in: [6e0d1fbc09] user: mark branch: trunk, size: 43325 | |
2022-07-31
| ||
22:52 | More generic internal cleanups. Removed undocumented -VV -VVV flags from fcli. file: [7512152cc3] check-in: [0df1833ab6] user: stephan branch: trunk, size: 43330 | |
2022-07-20
| ||
10:18 | f-rm: added --rm as an alias for --unlink, for symmetry with f-rename --mv. Corrected help text for fcli's --lib-version flag. file: [965316c948] check-in: [fe30de82c8] user: stephan branch: trunk, size: 43539 | |
2022-07-03
| ||
08:11 | Fixed broken like-clause formatting introduced in [b33abe472b58] (percent sign needed to be doubled). Fixes remote-host check in fcli_sync(). Unrelated minor formatting tweaks. file: [81ff81cf83] check-in: [b6df9a0845] user: stephan branch: trunk, size: 43533 | |
2022-07-02
| ||
07:47 | fcli_sync() is now a no-op if the repo config contains no 'syncwith:...' entries (avoids an error when doing initial checkin on a new repo with f-ci). When f-ci is checking in to a repo which has no commits, it now defaults the branch to trunk if no branch name is provided. It proviously left off the branch tags altogether, leading to a branchless checkin (harmless but confusing). file: [731d840a9d] check-in: [b33abe472b] user: stephan branch: trunk, size: 43532 | |
2022-06-27
| ||
07:18 | Tag ("(void)var;", or "__unused") vars that are not used, tag switch/case fallthroughs w/ __attribute ((fallthrough)); file: [c7956631d6] check-in: [73ee02a8fe] user: bch branch: trunk, size: 43242 | |
2022-06-09
| ||
04:10 | Set transient helpRequested flag in the fcli singleton. If the client has requested help (cf. [/file?ci=tip&name=src/cli.c&ln=966]) with, for example. 'prog cmd help' set this flag. file: [dc34519388] check-in: [6e9726df51] user: mark branch: trunk, size: 43233 | |
2022-04-10
| ||
00:17 | Reimplemented fcli_sync() with a more flexible interface, including the ability to suppress the system()'d command's output, so fnc can potentially use this without hosing the screen state. f-update now does a pull-sync before updating if autosync is on. file: [908c6fffe6] check-in: [0afca69968] user: stephan branch: trunk, size: 43197 | |
2022-04-09
| ||
21:36 | Moved the internal fsl_cx cache-clearing to the public fsl_cx_caches_reset() so that it can be used like fcli does (after shelling out an external app which might change the db). Fixed a deck F-card search bug introduced by the cache reset (thank goodness an existing unit test tripped over that). file: [c1dd0933c3] check-in: [84154036a0] user: stephan branch: trunk, size: 42405 | |
08:19 | Taught fcli_sync() to fail with the new FSL_RC_LOCKED code if a transaction is opened, as remote sync cannot succeed in that case due to the libf client holding a transaction open (i.e. a write lock). file: [2daec92b5f] check-in: [3be18124f5] user: stephan branch: trunk, size: 42411 | |
08:08 | f-ci now uses fossil(1) for autosync support. Kinda backwards, but it's a usability improvement. It honors both the fcli.autosync boolean setting and fossil's autosync, prefering the former. file: [435fb8b1b5] check-in: [44fcc2f7aa] user: stephan branch: trunk, size: 42130 | |
07:41 | Ported fsl_system() from fossil and added fcli_sync(). file: [370bc809c8] check-in: [5fb49bf7c4] user: stephan branch: trunk, size: 42044 | |
06:49 | Ported in infrastructure for tokenizing PATH-style strings, added fsl_pathfinder_split() to quickly populate a fsl_pathfinder() from path strings, and added fcli_fossil_binary() to find the system's fossil binary. file: [4e73413260] check-in: [f15f9d8414] user: stephan branch: trunk, size: 41209 | |
2022-01-07
| ||
23:40 | Added fsl_deck_foreach(). file: [de1b4df672] check-in: [0741f4d194] user: stephan branch: trunk, size: 40402 | |
2022-01-04
| ||
03:51 | Corrected the no-diff display case in the ncurses diff view. Minor doc and constness tweaks. file: [447e39636f] check-in: [e358ca5350] user: stephan branch: trunk, size: 40474 | |
2022-01-03
| ||
21:16 | Renamed fsl_diff_opt to fsl_dibu_opt. Moved dibu-type-specific flags out of the FSL_DIFF2_ flags and into the new FSL_DIBU_ flags. Added fsl_dibu::pimplFlags, which are implementation-private flags distinct from fsl_dibu::implFlags, the latter now being the place to apply FSL_DIBU_ flags. file: [a16bd67fdb] check-in: [be968bbac7] user: stephan branch: trunk, size: 40440 | |
2022-01-02
| ||
00:32 | Added FSL_OMIT_DEPRECATED #define to cause the deprecated APIs to be elided. Got core lib building that way. Removed FSL_EXPORT from functions declared in deprecated.h. file: [dec510e392] check-in: [b7046bf39b] user: stephan branch: trunk, size: 40185 | |
2021-12-30
| ||
13:49 | Global config db now uses its own fsl_db handle, no longer ATTACHed with the repo/checkout handle. fsl_ckout_open_dir() now canonicalizes the passed-in directory name (simplifies usage). Added f-query -g/--config flag to query against the global config db. Various code-adjacent tweaks. file: [9b81e70fc3] check-in: [1d7a6d2b96] user: stephan branch: trunk, size: 40177 | |
2021-12-27
| ||
15:00 | When performing a fsl_db rollback, clear the associated fsl_cx's manifest- and blob-content caches in order to ensure that they do not contain any RIDs which are part of the being-rolled-back transaction. Remove fsl_cx::cache::deltaIds as it was determined that the recursion involving that cache could have broken things (but, rather curiously, had not done so thus far). Might want to revisit that cache someday and account for the new effective tail of the array on each recursion. file: [c04a1913d3] check-in: [35dca27909] user: stephan branch: trunk, size: 40320 | |
2021-12-21
| ||
20:21 | Removed the fossil- name prefix from include/fossil-scm/*.h. file: [d030c7d1c7] check-in: [43a9bea8d5] user: stephan branch: trunk, size: 40408 | |
08:28 | Moved fossil-scm/fossil.h to ../libfossil.h so that client code can build from both the canonical tree and amalgamation using the same include name. file: [9faf558b39] check-in: [76d6359435] user: stephan branch: trunk, size: 40415 | |
2021-12-14
| ||
23:08 | First-ever fsl_ckout_merge() test worked, but there's still lots of testing and client status callback support to add to fsl_ckout_merge(). Added vmerge state to f-status/fcli_chkout_show_info() output. file: [6422a68a81] check-in: [9e719cffc5] user: stephan branch: trunk, size: 40428 | |
2021-11-22
| ||
11:37 | Deduplicated some fcli code. Added a TODO. Fixed f-extract.c header comment. file: [5fd0bb8831] check-in: [3e76615a5e] user: stephan branch: trunk, size: 39593 | |
11:25 | Removed some implemented TODOs, minor tweaks to internal fcli flag handling and help text. file: [5a75fb707a] check-in: [61f51619a3] user: stephan branch: trunk, size: 39689 | |
2021-11-21
| ||
14:23 | Added initial versino of the f-ciwoco app. Several minor API tweaks, including changing semantics of NULL args to fsl_deck_save() and the return semantics of fcli_fax(). file: [4ebaca6c49] check-in: [618d1b864a] user: stephan branch: trunk, size: 39649 | |
2021-11-20
| ||
12:09 | Shaved another 11.5k allocations off of rebuild (of the libfossil repo) by caching the chain of blob delta children IDs and applying the external buffer approach to fsl_content_blob()'s pre-uncompress result. file: [3b2e3d5f29] check-in: [e9d92f12a6] user: stephan branch: trunk, size: 39633 | |
2021-11-19
| ||
01:14 | Removed the cosmetic ^C output from fcli's sigaction handler so as to not mess up fnc's screen state. file: [c97c0ce4d5] check-in: [f5a53adcb9] user: stephan branch: trunk, size: 39545 | |
2021-11-18
| ||
18:03 | Tighten up the interruption flag handling and fcli's inclusion (or not) of sigaction(). file: [a2685de612] check-in: [2c0147b596] user: stephan branch: trunk, size: 39497 | |
17:40 | Proof-of-concept handling of SIGINT via fsl_cx_interrupt() by way of fcli. Currently only honored by fsl_repo_rebuild() but "should" eventually be honored by any unusually-long-running operations. file: [af3ddae8c1] check-in: [2a405470c0] user: stephan branch: trunk, size: 39178 | |
09:44 | Moved cache metrics dumps into fcli API. Told f-rebuild to skip the ticket tables for the time being (since we do not yet crosslink those). Added FSL_CX_F_BLOB_CACHE flag to enable/disable blob cache. Discovered that f-rebuild causes unexpected failures in downstream apps like f-sanity and f-resolve. file: [cf58678c2b] check-in: [2b136fe2e7] user: stephan branch: trunk, size: 38253 | |
2021-11-02
| ||
23:52 | Mass renaming of many internal APIs from fsl_X to fsl__X (two underscores) and several adjacent const cleanups. file: [ec981b03f7] check-in: [83917b7b45] user: stephan branch: trunk, size: 37777 | |
00:21 | More work on rebuild and adjacent code. Removed 'restrict' keyword from fsl_strlcpy() and fsl_strlcat() because they break in C++ compilation mode. Renamed fsl_guess_user_name() to fsl_user_name_guess() (consistency) and added fsl_cx_user_guess(). file: [7b1f0e2767] check-in: [3bcb631b4f] user: stephan branch: trunk, size: 37775 | |
2021-10-31
| ||
03:26 | Swapped the internal relationship of fcli_setup() and fcli_setup_v2() and changed the latter's semantics a tiny bit. file: [2e840a517e] check-in: [d0c8ef79fe] user: stephan branch: trunk, size: 37775 | |
2021-10-29
| ||
10:36 | Add optional usage callback to fcli_command structure. If set, calls to fcli_command_help() with a true argument for the showUsage parameter, will call the fcli_command->usage() callback. This enables clients to display usage and/or additional help output on an individual command basis. Update apps in the repository impacted by this API change. file: [956fc63dbb] check-in: [d60fcce917] user: mark branch: trunk, size: 37733 | |
2021-10-26
| ||
11:25 | More work on f-rebuild. Added fcli_setup_v2(). file: [68afc5f767] check-in: [14cebaaa7e] user: stephan branch: trunk, size: 37656 | |
2021-10-22
| ||
06:01 | Tidy fcli_command->aliases code and improve related docs. Remove superfluous format specifier arg and move all aliases output into fcli_help_show_aliases(). file: [f9fcdb3a45] check-in: [89925fee94] user: mark branch: trunk, size: 37396 | |
2021-10-21
| ||
14:32 | Add optional command line aliases to fcli_command. As per /chat discussion, use a NUL-delimited char pointer to add optional aliases to a command. This commit also adapts fcli_command_help() output to display any aliases, and adapts fnc and existing f-apps that use fcli_command to demonstrate the change. file: [adc4408354] check-in: [d9d00a5c97] user: mark branch: cli-aliases, size: 37409 | |
04:41 | Reduced fsl_buffer_reserve() calls by about 90% for f-parseparty (2.8m down to 300k), largely via addition of a db-level buffer for cached SQL preparation. Added a simpl hash to cached fsl_stmt instances to speed up fsl_db_prepare_cached() and reduce fsl_buffer_cmp() calls by 90%+. Record how many times any given caches fsl_stmt is reused and emit that via the new fcli_dump_stmt_cache() function. This reduces f-sanity allocations from 39k to 29k but slightly increases total allocated memory. file: [a0e27e4cb7] check-in: [c812573f26] user: stephan branch: trunk, size: 36735 | |
2021-10-15
| ||
09:33 | While prepping for the merge port, moved the dry-run flag OUT of fcli and into the specific apps which implement it. Added skeleton f-test-merge app for use in the merge development. file: [9e12629b72] check-in: [c9fb1f972f] user: stephan branch: trunk, size: 36263 | |
2021-10-13
| ||
09:42 | Simplified fsl_outputer by removing one level of indirection, replacing its state member (of type fsl_state) with a simple void pointer. The older level of indirection has never proven to be useful. file: [878868625a] check-in: [4bc926851e] user: stephan branch: trunk, size: 36480 | |
2021-10-09
| ||
23:18 | Moved the common ANSI color init code from f-adiff and f-vdiff into fcli_diff_colors(). file: [645b963b71] check-in: [1e50499a37] user: stephan branch: trunk, size: 36486 | |
06:56 | Added --lib-version global fcli flag and upped the library version, rather arbitrarily, to 0.5-ish. file: [571e6a970b] check-in: [ed0599af21] user: stephan branch: trunk, size: 35934 | |
2021-10-07
| ||
03:28 | Remove all but -R and -V short form global options. To avoid collisions with app code, restrict global options to long-form, with the exception of the abovementioned two common options as discussed in /chat. file: [74309db411] check-in: [6d2c463307] user: mark branch: trunk, size: 35602 | |
2021-08-09
| ||
20:07 | Added fcli_progname() as a portable substitute(?) for BSD's getprogname(). file: [3cb00e09f2] check-in: [3d0057a245] user: stephan branch: trunk, size: 35586 | |
2021-04-16
| ||
16:17 | Implemented repo/checkout fingerprint check and added a check for it in f-status, f-timeline, and f-ci (failing fatally on a mismatch, instead of just warning like fossil does). We now update the fingerprint in the ckout db whenever we update the ckout version. We do not yet have an automatic recovery mechanism analog to fossil's vfile.c:vfile_rid_renumbering_event(). file: [af85f0ea4f] check-in: [8c9cf48702] user: stephan branch: trunk, size: 35258 | |
13:47 | Added a potential TODO to fcli's CLI processing. file: [874d42c661] check-in: [d549476263] user: stephan branch: trunk, size: 34823 | |
2021-04-05
| ||
10:23 | Minor generic cleanups in fcli and related app-side code. file: [91af63d8d3] check-in: [c62ffa1046] user: stephan branch: trunk, size: 32649 | |
2021-03-31
| ||
12:17 | Renamed fsl_vfile_load_from_rid() to fsl_vfile_load(). Added fsl_vfile_unload() and fsl_vfile_unload_except(). f-revert can now revert files to specific checkin versions while retaining the current checkout version. file: [c76ed5d6a0] check-in: [40fcc816f0] user: stephan branch: trunk, size: 32503 | |
09:47 | Added fsl_ckout_vfile_ids() variant of fsl_filename_to_vfile_ids() in prep for an upcoming experiment. Fixed a cleanup order in fcli_shutdown(). file: [a992517dc5] check-in: [889d2e32bb] user: stephan branch: trunk, size: 32460 | |
02:11 | Minor cosmetic tweak to fcli help output. file: [82c37b71c4] check-in: [b016dfaa71] user: stephan branch: trunk, size: 32840 | |
2021-03-28
| ||
15:15 | fsl_ckout_revert() now optionally accepts a fsl_id_bag instead of a filename. Exposed fsl_filename_to_vfile_id(s)() to the public API. Added fcli_args_to_vfile_ids() and refactored f-revert to use that functionality. file: [daa9161aa2] check-in: [a527cc940a] user: stephan branch: trunk, size: 32821 | |
2021-03-24
| ||
18:35 | Tinkering with the artifact cache. Corrected its size measurements to use buffer capacity instead of buffer used bytes, noting that fossil's counterpart measures the used bytes instead of capacity. file: [7bc1f848f7] check-in: [9bdf227d32] user: stephan branch: trunk, size: 31923 | |
2021-03-22
| ||
13:45 | Added f-revert, analog to (fossil revert). Fixed f-rm to handle the filename '.' sensibly. Numerous tweaks in adjacent code along the way. file: [aa0627db99] check-in: [8cc33e4e8a] user: stephan branch: trunk, size: 31786 | |
2021-03-20
| ||
21:36 | Minor restructuring of the fcli struct. file: [df67254313] check-in: [436ae2c47f] user: stephan branch: trunk, size: 31274 | |
09:05 | Barring one missing piece of to-port infrastructure and a boatload of testing, the update mechanism is in place and seems to be doing its thing. file: [65fe9c4957] check-in: [9b9b989b2c] user: stephan branch: trunk, size: 31111 | |
2021-03-18
| ||
19:19 | Moved the code for listing ambiguous hash prefixes from f-resolve to fcli. More work on the infrastructure needed for f-update. file: [bbef17e24d] check-in: [b50971a43e] user: stephan branch: trunk, size: 31109 | |
2021-03-17
| ||
00:15 | Removed an extraneous parameter from a few functions. Stopped senselessly checking for NULL fsl_cx arg in fsl_ckout_version_info(). file: [7a3ea726e5] check-in: [8c212df490] user: stephan branch: trunk, size: 29779 | |
2021-03-15
| ||
18:50 | Considerable refactoring in/around fsl_repo_open_ckout() to move some of the functionality of f-open into the library and some into fcli. file: [c0cdff7c84] check-in: [15425f1d4c] user: stephan branch: trunk, size: 29841 | |
04:25 | Globally renamed _checkout to _ckout, as some of these names are getting a bit long. file: [92a4a07e1c] check-in: [bc9e88ee2c] user: stephan branch: trunk, size: 26159 | |
2021-03-13
| ||
05:22 | Added --timer flag to fcli to measure runtime from fcli_setup() until post-main() shutdown. file: [b20e35fed2] check-in: [2d8c87e253] user: stephan branch: trunk, size: 26174 | |
2021-03-10
| ||
15:41 | If fcli_end_of_main() sees that there is a non-0 result code but no message, it synthesizes a message. file: [bbd336ef76] check-in: [86350ecd42] user: stephan branch: trunk, size: 25660 | |
2021-03-07
| ||
09:43 | Renamed a cryptically-named struct member from fc to fCard. file: [c5fb5ede0c] check-in: [ae428e47b0] user: stephan branch: trunk, size: 25431 | |
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. file: [b0c8da3b57] check-in: [0c3df4194e] user: stephan branch: trunk, size: 25512 | |
2021-03-05
| ||
05:58 | fcli now rolls back any active transaction when it shuts down. file: [3181ee7e54] check-in: [bc58934765] user: stephan branch: trunk, size: 25557 | |
01:01 | Added dry-run mode to fsl_repo_checkout(). Minor cleanups in f-open and f-co. file: [8abee196d9] check-in: [f54d7ff201] user: stephan branch: trunk, size: 25548 | |
2021-03-03
| ||
17:11 | Tinkering with the fcli_command help bits. file: [c12eb33776] check-in: [8dfc562e7c] user: stephan branch: trunk, size: 25371 | |
09:27 | When creating a new checkout db via fsl_repo_open_checkout() we write default checkout=0, checkout-hash=NULL values so that downstream code does not see this as a non-repo when it cannot find those. file: [25f99f9d29] check-in: [e8b25ce3bc] user: stephan branch: trunk, size: 24729 | |
08:38 | Lots of bending and hammering related to smoothing out f-open. There's still an issue when opening an empty checkout (it's seen as not a checkout by other apps), but that's on the to-fix list. file: [4f35a12e81] check-in: [2a04a6818c] user: stephan branch: trunk, size: 24614 | |
2021-03-01
| ||
16:21 | Arguably a typo fix in the new header. Thank goodness for stream editors. file: [1f73752b76] check-in: [386316db07] user: stephan branch: trunk, size: 24430 | |
15:46 | Replaced the overwhelming majority of license headers with the new project-standard one. Left a few as they were for files which were imported essentially unchanged from Fossil or, in the case of SHA1/SHA3/MD5 bits, other 3rd-party sources. file: [82dbf26455] check-in: [fa5fb24496] user: stephan branch: trunk, size: 24422 | |
13:45 | Renamed FCliCommand to fcli_command for consistency's sake. file: [6f9a2404ce] check-in: [92aa86396d] user: stephan branch: trunk, size: 24441 | |
2021-02-28
| ||
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. file: [d29417a026] check-in: [163c5ac4b8] user: stephan branch: trunk, size: 24437 | |
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. file: [ff1234f068] check-in: [fa7c45e1ef] user: stephan branch: trunk, size: 25674 | |
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. file: [34aebff243] check-in: [41295403c0] user: stephan branch: trunk, size: 23797 | |
04:57 | fcli now uses its own FCLI_RC_HELP, instead of hijacking FSL_RC_BREAK, to indicate that --help was triggered. file: [4f87994a7f] check-in: [d0edf4583f] user: stephan branch: trunk, size: 21573 | |
02:50 | Removed 'required' flag from fcli_cliflag (it was particularly useless with boolean flags). file: [4c3d8d86af] check-in: [19fce623c4] user: stephan branch: trunk, size: 21542 | |
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. file: [e3580af756] check-in: [ca464b5b74] user: stephan branch: trunk, size: 21798 | |
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. file: [e66e4cb5fe] check-in: [36bb349a93] user: stephan branch: trunk, size: 21610 | |
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. file: [ac8aed672b] check-in: [97a2679fd1] user: stephan branch: trunk, size: 21286 | |
11:06 | Doc additions and removed some dead code. file: [601da11c1f] check-in: [14ba664742] user: stephan branch: trunk, size: 21258 | |
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. file: [e2aeb26439] check-in: [75e5fd2467] user: stephan branch: trunk, size: 21593 | |
07:51 | Ported f-query to the new CLI flag bits. file: [aabc6b985a] check-in: [9d212daff6] user: stephan branch: trunk, size: 20991 | |
06:38 | More f-apps ported to the new CLI flag handling bits. file: [bf242124f6] check-in: [296776c72b] user: stephan branch: trunk, size: 20894 | |
06:05 | More work on the new fcli flags infrastructure. file: [eecf0efc19] check-in: [6865f151f9] user: stephan branch: trunk, size: 20792 | |
2021-02-26
| ||
18:54 | More porting to the newer fcli flags handling. file: [310c0cca8a] check-in: [f46b535eaa] user: stephan branch: fcli-flag-rework, size: 20536 | |
17:44 | Tiny cleanup to the previous commit. file: [c8e9b603a7] check-in: [b91a8cb985] user: stephan branch: fcli-flag-rework, size: 20406 | |
17:36 | More work on the CLI flag handling. Time for a break. file: [9c87a7fe01] check-in: [fba3a91a5a] user: stephan branch: fcli-flag-rework, size: 20406 | |
16:47 | More work on the fcli argument handling rewrite. file: [ed3e58d88d] check-in: [490b7ab32e] user: stephan branch: fcli-flag-rework, size: 20405 | |
14:04 | Reworking how fcli flag handling is done. file: [51256e962b] check-in: [dad2f76f30] user: stephan branch: fcli-flag-rework, size: 20584 | |
2021-02-15
| ||
03:24 | Renamed src/fsl_cli.c → src/cli.c. Renamed src/fsl_XYZ.c to src/XYZ.c. f-checkin vfile dump now includes renames. file: [fd9adee496] check-in: [ed3183170a] user: stephan branch: trunk, size: 17766 | |