Login
All files named "f-apps/f-config.c"
Login

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

History for f-apps/f-config.c

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: [7d6e8cfae5] check-in: [1d7a6d2b96] user: stephan branch: trunk, size: 6211
05:37
Replaced f-apps fcli_setup() calls with fcli_setup_v2(). file: [f586193e6c] check-in: [313b59841e] user: stephan branch: trunk, size: 6202
2021-12-21
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: [876d18386a] check-in: [76d6359435] user: stephan branch: trunk, size: 6234
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: [b0d4d89081] check-in: [d60fcce917] user: mark branch: trunk, size: 6287

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: [0be8476aad] check-in: [d9d00a5c97] user: mark branch: cli-aliases, size: 6258

2021-04-04
05:07
f-apps: modernized/simplified usage of exit-on-help. Removed some bogus CLI flag entries from f-config. file: [a79b044569] check-in: [1d3192c82b] user: stephan branch: trunk, size: 6238
2021-03-12
13:48
Minor API renaming, for consistency. file: [d075a5fdd7] check-in: [f2fc1f3efd] user: stephan branch: trunk, size: 6490
2021-03-01
16:21
Arguably a typo fix in the new header. Thank goodness for stream editors. file: [606e402465] check-in: [386316db07] user: stephan branch: trunk, size: 6490
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: [8de93ed2f6] check-in: [fa5fb24496] user: stephan branch: trunk, size: 6482
13:45
Renamed FCliCommand to fcli_command for consistency's sake. file: [0856800784] check-in: [92aa86396d] user: stephan branch: trunk, size: 6418
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: [e8c993b503] check-in: [163c5ac4b8] user: stephan branch: trunk, size: 6414
04:57
fcli now uses its own FCLI_RC_HELP, instead of hijacking FSL_RC_BREAK, to indicate that --help was triggered. file: [f8244052b2] check-in: [d0edf4583f] user: stephan branch: trunk, size: 6407
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: [c86dd01034] check-in: [ca464b5b74] user: stephan branch: trunk, size: 6404
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: [024541c6af] check-in: [36bb349a93] user: stephan branch: trunk, size: 6405
07:08
More CLI flag subsystem porting and license header swapping. file: [cbf9fc3a5f] check-in: [c94a3b0d0e] user: stephan branch: trunk, size: 5726
2021-02-26
14:04
Reworking how fcli flag handling is done. file: [0b2906b68f] check-in: [dad2f76f30] user: stephan branch: fcli-flag-rework, size: 6035
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: [f204d06b32] check-in: [4307886eab] user: stephan branch: trunk, size: 6029
2021-02-09
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: [4ac4967a7d] check-in: [631fb3f69a] user: stephan branch: trunk, size: 6093
2014-05-09
18:35
fixed -g (global) config db flag (config db was never opened). file: [f032b755d8] check-in: [6aa0333ba7] user: stephan branch: trunk, size: 6032
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: [6c2a653e59] check-in: [a2cbd2e343] user: stephan branch: trunk, size: 5955
2014-02-13
11:45
accommodated fcli API additions. file: [8359a92e81] check-in: [b018e152fb] user: stephan branch: trunk, size: 5955
2014-02-11
14:31
Renamed f-config.c → f-apps/f-config.c. Build cleanups. Moved f-* apps to f-apps/ subdir. Now builds a shared (instead of static) lib by default because that now (since the file move) simplifies the linking of the f-apps (and th1ish). Adapted f-sanity.c tests to the new directory structure. file: [4f10ba8746] check-in: [e85b45eda2] user: stephan branch: trunk, size: 5978