Login
History of include/fossil-scm/fossil-cli.h of c0b759f7307af9d4
Login

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

History of file include/fossil-scm/fossil-cli.h at check-in c0b759f7307af9d4

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: [5ca4c3c0c6] check-in: [b979896288] user: stephan branch: trunk, size: 44328
18:37
Part 1 of N of some restructuring of the fcli_t struct: consolidate fcli.clientFlags and fcli.config into fcli.config. file: [cbb4137f82] check-in: [2f7bf3f7d0] user: stephan branch: trunk, size: 44138
15:22
Initial work on fcli_setup_v3(). Not yet sure if this will be a real thing. file: [f3c0dea707] check-in: [5789a03da2] user: stephan branch: fcli_setup_v3, size: 44999
2024-04-16
07:02
Add support for --see-textkey to fcli. file: [9020ea4e07] check-in: [fe27725d07] user: stephan branch: sqlite-see, size: 44031
06:26
More work on SEE integration. file: [6d60ab0203] check-in: [7240c7d988] user: stephan branch: sqlite-see, size: 44011
06:06
More work on adding library-level SEE support. It seems to basically work but it's not complete. file: [f30a552371] check-in: [3d4d0d3a05] user: stephan branch: sqlite-see, size: 43905
2024-04-10
22:03
Port in [fossil:f1f7e27e0cdb8943|upstream f1f7e27e0cdb8943], a routine which ensures that a given filename matches the case it is stored in in the filesystem. Use that in f-add.c, where it's applied even for case-sensitive filesystems (primarily as a test for that routine). file: [2351cd84f9] check-in: [0e50f798e6] user: stephan branch: trunk, size: 43820
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: [b9e3c6c5aa] check-in: [46008704a6] user: mark branch: trunk, size: 43828
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: [25349bf896] check-in: [6e0d1fbc09] user: mark branch: trunk, size: 43467
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: [3a79fc1ff7] check-in: [b33abe472b] user: stephan branch: trunk, size: 43452
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: [665b4e9070] check-in: [0afca69968] user: stephan branch: trunk, size: 43281
2022-04-09
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: [790cc254bb] check-in: [3be18124f5] user: stephan branch: trunk, size: 41908
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: [2597dc5008] check-in: [44fcc2f7aa] user: stephan branch: trunk, size: 41705
07:41
Ported fsl_system() from fossil and added fcli_sync(). file: [607a33fd34] check-in: [5fb49bf7c4] user: stephan branch: trunk, size: 41668
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: [c30b93d467] check-in: [f15f9d8414] user: stephan branch: trunk, size: 40956
2022-03-08
05:46
Added f-rename. This impl revealed how/why fsl_ckout_rename() needs to be refactored to take a callback for reporting exactly which files get renamed, but that will have to wait until the muse strikes. file: [7a4d326357] check-in: [ef1ceb0a0c] user: stephan branch: trunk, size: 40571
2022-01-04
03:51
Corrected the no-diff display case in the ncurses diff view. Minor doc and constness tweaks. file: [482c96feee] check-in: [e358ca5350] user: stephan branch: trunk, size: 40529
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: [c3b98f7ff1] check-in: [be968bbac7] user: stephan branch: trunk, size: 40479
2021-12-31
15:48
Doc updates. Moved all @deprecated functions into fossil-scm/deprecated.h for later weeding-out. file: [e954457dfc] check-in: [6f2027aeb4] user: stephan branch: cx-db-handle-reorg, size: 40610
2021-12-21
20:21
Renamed and modified include/fossil-scm/fossil-cli.h → include/fossil-scm/cli.h. Removed the fossil- name prefix from include/fossil-scm/*.h. file: [80f24b4b53] check-in: [43a9bea8d5] user: stephan branch: trunk, size: 40909
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: [a165e4b2dc] check-in: [76d6359435] user: stephan branch: trunk, size: 40916
2021-11-22
11:37
Deduplicated some fcli code. Added a TODO. Fixed f-extract.c header comment. file: [ff4241fd74] check-in: [3e76615a5e] user: stephan branch: trunk, size: 40922
05:31
Added f-extract tool, per suggestion in [https://fossil-scm.org/forum/forumpost/fcca51d3eb2757f7|fossil forum post fcca51d3eb2757f7]. file: [c8cc23f884] check-in: [f7fdf3db10] user: stephan branch: trunk, size: 40684
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: [5ced9ab39b] check-in: [618d1b864a] user: stephan branch: trunk, size: 40691
2021-11-18
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: [f1d1799a32] check-in: [2b136fe2e7] user: stephan branch: trunk, size: 40575
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: [2e515fb465] check-in: [d0c8ef79fe] user: stephan branch: trunk, size: 40221
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: [ca226cdc06] check-in: [d60fcce917] user: mark branch: trunk, size: 39892
2021-10-26
11:25
More work on f-rebuild. Added fcli_setup_v2(). file: [65bf683019] check-in: [14cebaaa7e] user: stephan branch: trunk, size: 39608
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: [a38b089d36] check-in: [89925fee94] user: mark branch: trunk, size: 39173
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: [c3f9a0204c] check-in: [d9d00a5c97] user: mark branch: cli-aliases, size: 39021
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: [7767eae720] check-in: [c812573f26] user: stephan branch: trunk, size: 38556
2021-10-18
14:03
Numerous minor doc and constness tweaks. Starting to use markdown formatting for API docs, now that it's been discovered that Doxygen can do that. file: [86164aeb01] check-in: [77e8ee40f8] user: stephan branch: trunk, size: 38191
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: [7e23e1b112] check-in: [c9fb1f972f] user: stephan branch: trunk, size: 38226
2021-10-09
23:18
Moved the common ANSI color init code from f-adiff and f-vdiff into fcli_diff_colors(). file: [57d7831d53] check-in: [1e50499a37] user: stephan branch: trunk, size: 38439
06:56
Added --lib-version global fcli flag and upped the library version, rather arbitrarily, to 0.5-ish. file: [34a3d471e9] check-in: [ed0599af21] user: stephan branch: trunk, size: 37789
2021-09-28
03:07
Added line number support to the unified diff builder. Adjacent tinkering. file: [0ca05f6d43] check-in: [eddb657374] user: stephan branch: trunk, size: 37626
2021-08-09
20:07
Added fcli_progname() as a portable substitute(?) for BSD's getprogname(). file: [f0c8126871] check-in: [3d0057a245] user: stephan branch: trunk, size: 37628
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: [b846f312c6] check-in: [8c9cf48702] user: stephan branch: trunk, size: 37341
2021-04-05
10:23
Minor generic cleanups in fcli and related app-side code. file: [d338713da4] check-in: [c62ffa1046] user: stephan branch: trunk, size: 36790
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: [6052c8f6ca] check-in: [40fcc816f0] user: stephan branch: trunk, size: 37021
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: [56b4f33560] check-in: [889d2e32bb] user: stephan branch: trunk, size: 36769
05:41
Minor f-apps updates. Reverted f-revert to using the filename variant of fsl_ckout_revert(), instead of the fsl_filename_to_vfile_ids() variant, because the former allows the user to revert renames using the old or new names, whereas the latter only sees the new names. Fixed a range error in fsl_stmt_bind_fmtv() when binding a string as blob, and that function's blob/string bindings no longer copy their arguments' memory. Changed fsl_stmt_bind_step() return semantics to enable fetching data. file: [3e3a1ad152] check-in: [43d1902823] user: stephan branch: trunk, size: 36740
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: [5d75b18029] check-in: [a527cc940a] user: stephan branch: trunk, size: 36517
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: [482e875c8d] check-in: [8cc33e4e8a] user: stephan branch: trunk, size: 35003
2021-03-21
00:26
Consolidated checkout/update to both use fsl_ckup_fchange_e to report the type of change, allowing removal of several of the fsl_ckup_state members. Local uncommitted adds and removals are now propagated when updating. Various adjacent tweaks. file: [93225700fe] check-in: [1efb02180b] user: stephan branch: trunk, size: 34262
2021-03-20
21:36
Minor restructuring of the fcli struct. file: [a264c80f84] check-in: [436ae2c47f] user: stephan branch: trunk, size: 34247
2021-03-19
00:30
More work on the 'update' infrastructure. Turns out we're still missing an important low-level bit or three. file: [79e306748d] check-in: [c6dc2f9770] user: stephan branch: trunk, size: 34008
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: [2fa0ca9fab] check-in: [b50971a43e] user: stephan branch: trunk, size: 34008
2021-03-15
19:01
Tiny doc tweaks. file: [33f7353c46] check-in: [02eacfa610] user: stephan branch: trunk, size: 33571
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: [349fccd05d] check-in: [15425f1d4c] user: stephan branch: trunk, size: 33427
04:25
Globally renamed _checkout to _ckout, as some of these names are getting a bit long. file: [3c0956d114] check-in: [bc9e88ee2c] user: stephan branch: trunk, size: 33177
2021-03-01
16:21
Arguably a typo fix in the new header. Thank goodness for stream editors. file: [8e32df13dc] check-in: [386316db07] user: stephan branch: trunk, size: 33180
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: [87ae2883d9] check-in: [fa5fb24496] user: stephan branch: trunk, size: 33172
13:45
Renamed FCliCommand to fcli_command for consistency's sake. file: [64ef2a82fb] check-in: [92aa86396d] user: stephan branch: trunk, size: 33108
2021-02-28
11:33
API doc touchups. file: [1c8d6e2e28] check-in: [f27c0b7c9c] user: stephan branch: trunk, size: 33098
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: [f2ae4bd659] check-in: [163c5ac4b8] user: stephan branch: trunk, size: 33770
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: [4a6851aa21] check-in: [fa7c45e1ef] user: stephan branch: trunk, size: 33258
08:30
Minor doc tweaks. file: [1954adccf2] check-in: [952718f17b] user: stephan branch: trunk, size: 29171
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: [9c5c21472a] check-in: [41295403c0] user: stephan branch: trunk, size: 28614
04:57
fcli now uses its own FCLI_RC_HELP, instead of hijacking FSL_RC_BREAK, to indicate that --help was triggered. file: [747289dfe5] check-in: [d0edf4583f] user: stephan branch: trunk, size: 26451
02:50
Removed 'required' flag from fcli_cliflag (it was particularly useless with boolean flags). file: [0478ab992e] check-in: [19fce623c4] user: stephan branch: trunk, size: 24447
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: [3b9bb882ea] check-in: [ca464b5b74] user: stephan branch: trunk, size: 24724
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: [64f46f5b41] check-in: [36bb349a93] user: stephan branch: trunk, size: 24773
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: [b594ac09a4] check-in: [97a2679fd1] user: stephan branch: trunk, size: 23946
11:06
Doc additions and removed some dead code. file: [9b953ac8e3] check-in: [14ba664742] user: stephan branch: trunk, size: 22577
10:59
f-timeline ported to new CLI flag handling. file: [7e4603ab2a] check-in: [62eb079a3c] user: stephan branch: trunk, size: 22464
07:51
Ported f-query to the new CLI flag bits. file: [70128bdf89] check-in: [9d212daff6] user: stephan branch: trunk, size: 21574
06:05
More work on the new fcli flags infrastructure. file: [e44d4e7fee] check-in: [6865f151f9] user: stephan branch: trunk, size: 21545
2021-02-26
17:36
More work on the CLI flag handling. Time for a break. file: [72db69f9ce] check-in: [fba3a91a5a] user: stephan branch: fcli-flag-rework, size: 21261
16:47
More work on the fcli argument handling rewrite. file: [9d7965668e] check-in: [490b7ab32e] user: stephan branch: fcli-flag-rework, size: 21260
14:04
Reworking how fcli flag handling is done. file: [604d80af76] check-in: [dad2f76f30] user: stephan branch: fcli-flag-rework, size: 19715
2021-02-12
03:37
Minor doc updates. file: [d7a0b6981f] check-in: [85c5517be8] user: stephan branch: trunk, size: 18519
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. file: [1a507cd122] check-in: [4307886eab] user: stephan branch: trunk, size: 18381
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. file: [7d455a12b2] check-in: [0163960ce0] user: stephan branch: trunk, size: 18434
2021-02-10
15:45
Added fcli_fax() (free-at-exit). file: [72b44dd91c] check-in: [e8b7fd94e6] user: stephan branch: trunk, size: 18436
2021-02-09
04:25
Minor doc updates. file: [fd32db1c77] check-in: [0d0a30f979] user: stephan branch: trunk, size: 17793
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. file: [2ebb4b7423] check-in: [631fb3f69a] user: stephan branch: trunk, size: 17779
2021-02-07
14:31
Globally replaced http://... URLs with https://.... Most of them probably still work, too. file: [94aa8865c9] check-in: [6af7b3b7c8] user: stephan branch: trunk, size: 17720
2014-10-01
06:15
marked as FSL_EXPORT various symbols; this change set is limited to the ones that are needed by the various f-apps, but this is not complete for general use of the library. I am doing this change in two phases simply because it gives me a way to see what methods have been exercised (by f-apps) and which have not. file: [ee430ea994] check-in: [7b651689f3] user: dave branch: feech-dave-msvcsupport001, size: 17719
2014-07-24
17:05
Reformatted, now that i have finally taught emacs to stop indenting for the C++-mode extern "C" block. file: [881f8797c8] check-in: [dd07d92271] user: stephan branch: trunk, size: 17539
2014-05-29
08:51
Portability fixes: changed char to int in places which use 3-value logic. file: [e05f6707ab] check-in: [fbf99d6e80] user: stephan branch: trunk, size: 18634
2014-04-19
20:14
cleanups in the new --help bits. file: [c3c46f8100] check-in: [d7968f7790] user: stephan branch: trunk, size: 18635
20:08
Started working on a new fcli --help mechanism. file: [f8db46da7b] check-in: [449e9406f5] user: stephan branch: trunk, size: 17794
2014-04-03
17:19
fcli now elides global/framework help options unless --global is passed, and instead adds a hint about that option to the --help output. file: [956cd3b46c] check-in: [734b3f5352] user: stephan branch: trunk, size: 16982
2014-04-01
17:04
Minor milestone: f-vdiff basically works. Just need to add diff-vs-checkout support. Added fsl_isatty() b/c it is needed by a couple of apps (could alternately go in fcli). file: [a0da2a43fe] check-in: [ab6bf194c2] user: stephan branch: trunk, size: 16799
2014-03-30
12:18
minor doc updates. file: [9fc5deb45a] check-in: [e0c522728b] user: stephan branch: trunk, size: 16972
2014-03-26
15:48
Fluff: started adding basic ANSI color support to text-mode diffs. Only context diffs for the time being. file: [2e79ef6e38] check-in: [41e6280df7] user: stephan branch: trunk, size: 16836
2014-02-14
09:05
Globally changes the API docs from fossil/sqlite-style '**' to Doxygen-friendly format because the extra stars hinder writability/changability and require an extra filter at the doxygen-processing level. file: [1e147925ab] check-in: [a2cbd2e343] user: stephan branch: trunk, size: 16664
2014-02-13
11:29
added fcli_end_of_main(). file: [654cad3ccd] check-in: [1da01cd5c0] user: stephan branch: trunk, size: 16916
2014-02-07
17:23
minor API renaming. Added multiple-glob and invert-glob support to f-ls. Doc touch-ups. file: [9f807ca8b6] check-in: [9cf3c16ca6] user: stephan branch: trunk, size: 16030
2014-02-06
17:26
Added fsl_confirm() family of functions for up-coming features. Fixed overwrite-repo in fsl_repo_create() (it previous didn't do anything useful). Changed how fsl_cx stores its default user name, and it now takes the default user name from a repo when opening it (where user.id==1). Other minor cleanups and tweaks. file: [864ac791c4] check-in: [ebda4a36e3] user: stephan branch: trunk, size: 16021
2014-02-01
12:15
Refactored fsl_config_xxx() impls for cached statements. Added unit tests for the config get/set APIs. file: [70c1997f3c] check-in: [43d76d6664] user: stephan branch: trunk, size: 16210
10:46
Added 'set' and 'unset' features to f-config. file: [8d7575cd57] check-in: [731e2f05d9] user: stephan branch: trunk, size: 16168
2014-01-31
23:57
Ported in a public domain strftime() impl, for potential use with the checkout-related functionality. Fixed a clang warning. file: [63d5fc7ed2] check-in: [615b6d29bc] user: stephan branch: trunk, size: 16067
2014-01-30
20:36
Re-thought/implemented fsl_repo_dir_names() to return all dir names when given an RID, use the checkout if rid==0, and all versions if rid is negative. Other minor refactoring/renaming. Fixed fsl_cx_filename_collation() to return the right string. file: [637e021f83] check-in: [22ce993a61] user: stephan branch: trunk, size: 15958
2014-01-25
15:01
minor internal restructuring in fcli. file: [1fc4449429] check-in: [bbe93aa209] user: stephan branch: trunk, size: 15958
2014-01-22
20:57
doc fixes/tweaks. i _think_ i finally got the doxygen INPUT_FILTER doing the right thing wrt to the fossil(1)-style comment blocks in conjunction with @code/@endcode. file: [5a878afcbd] check-in: [89554a5d7f] user: stephan branch: trunk, size: 15923
20:06
Added a minor maintenance reminder. file: [300da28197] check-in: [2303065b50] user: stephan branch: trunk, size: 15923
2013-09-18
17:19
Extended fcli to allow client to specify the output channel used by f_out() and friends (so it can now be used with a GUI app). file: [9c16241a10] check-in: [9c8f77e838] user: stephan branch: trunk, size: 15802
2013-09-16
16:25
second half of previous commit, plus some copy/paste comment corrections. file: [f9802a604d] check-in: [e0996075b9] user: stephan branch: trunk, size: 15455
2013-09-11
19:58
Playing with __attribute__. file: [29ffa173c5] check-in: [039b1b7f4d] user: stephan branch: trunk, size: 15318
2013-09-10
14:23
Resolved task [ef8cd96ec9]: refactored fsl_deck_output() to not need a fsl_cx/db handle. file: [108d90f292] check-in: [8af01f757e] user: stephan branch: trunk, size: 15176
2013-09-08
15:39
Lots of minor additions and tweaks, mainly in support of app-level code. file: [b283a2ba9b] check-in: [7bfbc3dba6] user: stephan branch: trunk, size: 14695
2013-09-04
21:09
fixed a missing extern for fcli, which caused an ODR violation with tcc. Added -O0 to debug compile flags. file: [8245c4fcb7] check-in: [34f559dc49] user: stephan branch: trunk, size: 14519
2013-09-03
09:43
More fcli refactoring via perl. Fixed a broken assertion in f-sanity. file: [10d9386666] check-in: [0333cc9077] user: stephan branch: trunk, size: 14512
2013-09-02
22:11
fcli now treats a first non-flag argument of "help" as help for all apps, not just dispatched-by-name commands. file: [581574bd0d] check-in: [ea8eb63bb7] user: stephan branch: trunk, size: 13534
2013-09-01
13:28
Fixed f-tag --help broken by recent refactoring. Minor improvements to the fcli error reporting. file: [e7533245a7] check-in: [4d8b91a4ae] user: stephan branch: trunk, size: 13320
12:54
s/fcli_cli_/fcli_/g. Minor error text change. file: [47b7d0ffa2] check-in: [945fea799c] user: stephan branch: trunk, size: 12528
2013-08-31
13:02
Doc additions, minor error reporting cleanups. file: [3e36df42b2] check-in: [8f05724070] user: stephan branch: trunk, size: 12556
11:32
Re-did how fcli hooks into app-local help, to avoid an unresolved symbol in the main lib. file: [111f37ea14] check-in: [6f54534d74] user: stephan branch: trunk, size: 12553
10:49
Renamed and modified FossilApp.h → include/fossil-scm/fossil-cli.h. Renamed the FossilApp API to fcli. Moved its header into the public space. file: [47c7f122e8] check-in: [5d3767f8f0] user: stephan branch: trunk, size: 12500
10:02
Lots of FossilApp tinkering. file: [3270e010e8] check-in: [5e77c8742d] user: stephan branch: trunk, size: 13130
09:12
Ported in some control artifact touchups from Jan. Fixed a linking-related problem with FossilApp_local_help(). Accommodated API changes in th1ish binding. file: [6388cc11be] check-in: [1e923bce86] user: stephan branch: trunk, size: 10164
2013-08-24
14:12
Tinkering with the wiki bits. Added generic 'help' command support to FossilApp command dispatcher. Time for a pinball break. file: [1ba0ca9ac1] check-in: [ff8abd761f] user: stephan branch: trunk, size: 9961
13:42
Renamed fsl_deck_VERB_CARD() to fsl_deck_CARD_VERB(), for consistency. Added initial wiki-save support, but the public API needs a bit of tweaking. file: [f57d93653a] check-in: [31dda112b9] user: stephan branch: trunk, size: 9794
10:34
Expanded FossilApp to use a fail-on-OOM allocator and support basic named-command-style command dispatching. file: [49468c0d1c] check-in: [bf5dbb798e] user: stephan branch: trunk, size: 9756
2013-08-22
13:44
fsl_internal.h ==> fossil-internal.h file: [8eb0d5024d] check-in: [2cae867331] user: stephan branch: trunk, size: 7312
2013-08-20
22:26
minor tinkering and fixes before bed. file: [d0b2288b8c] check-in: [b1e93f23f1] user: stephan branch: trunk, size: 7309
2013-08-18
04:04
Minor improvements in FossilApp error reporting. file: [aabf857662] check-in: [88e367e90c] user: stephan branch: trunk, size: 7238
03:28
Added f-acat test app. Changed definition of VERBOSE in FossilApp. file: [01ff60da23] check-in: [47683d3589] user: stephan branch: trunk, size: 6956
2013-08-15
17:21
removed some duplicated code, minor typo fix. file: [81b44a88a0] check-in: [22d54f6bc8] user: stephan branch: trunk, size: 6996
17:09
Added FossilApp_has_unused_flags(). file: [3e5b49de27] check-in: [94e252e412] user: stephan branch: trunk, size: 6996
2013-08-14
23:49
Minor cleanups to the last round of refactoring. Cleaned up help subsystem for FossilApp a bit. file: [edf0fb242f] check-in: [3cc2cd8a5a] user: stephan branch: trunk, size: 6647
22:54
More work on the deck/manifest API. Moved manifest test code into test-mf.c. file: [1a10c0d535] check-in: [ac713788f4] user: stephan branch: trunk, size: 6152
2013-08-13
19:32
Added ability to add/cancel/propagate tags by applying +/-/* prefix to f-tag. Refactored dry-run mode to use a transaction/rollback, for more realism. Refactored the public tag API a bit. Fixed a va_list handling error in fsl_db_g_text(). file: [142ab62b60] check-in: [caeb8eb815] user: stephan branch: trunk, size: 5895
13:17
Renamed header files from fossil/*.h to fossil-scm/*.h, to avoid any potential confusion with the fossil FS or other fossils out there. file: [0b42e7b766] check-in: [99a4a0ff23] user: stephan branch: trunk, size: 5660
2013-08-12
14:09
Fixed an incorrectly propagated error code. file: [00852fa4e6] check-in: [2a84ad397a] user: stephan branch: trunk, size: 5648
12:20
Added: Refactoring of the FossilApp layer into header/impl files. Minor fixes and cleanups. file: [2a43a95234] check-in: [a78f5aada4] user: stephan branch: trunk, size: 5558