Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
History for f-apps/f-wiki.c
2023-04-19
| ||
04:03 | Add more missing f(void). file: [ab952f840c] check-in: [43181beb49] user: mgagnon branch: trunk, size: 9690 | |
02:33 | Add missing f(void) for some static func decls to appease newer compilers. file: [98059f2091] check-in: [e2d7986f9e] user: stephan branch: no-common-ancestor, size: 9686 | |
2022-04-29
| ||
16:28 | Fixed semi-broken decls in f-wiki's fcli_command callbacks. file: [e952b8c9bb] check-in: [2930c121e0] user: stephan branch: trunk, size: 9682 | |
2022-01-07
| ||
23:40 | Added fsl_deck_foreach(). file: [dac0faf09e] check-in: [0741f4d194] user: stephan branch: trunk, size: 9619 | |
2021-12-30
| ||
05:37 | Replaced f-apps fcli_setup() calls with fcli_setup_v2(). file: [08e4ef9e2f] check-in: [313b59841e] user: stephan branch: trunk, size: 9613 | |
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: [15cfd193cb] check-in: [76d6359435] user: stephan branch: trunk, size: 9645 | |
2021-11-20
| ||
16:17 | Corrected wiki-listing queries to skip over tags named wiki-... which are not actually wiki pages. Constness cleanups. file: [6409f219d2] check-in: [23c2d4d185] user: stephan branch: trunk, size: 9689 | |
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: [1b06978d7e] check-in: [d60fcce917] user: mark branch: trunk, size: 9628 | |
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: [c3061d5def] check-in: [d9d00a5c97] user: mark branch: cli-aliases, size: 9599 | |
2021-10-20
| ||
13:11 | Removed fsl_deck::uuid and the fsl_deck_parse() step which tries to map its inputs to an existing db record. While convenient for downstream code, it's a huge performance hit. Checking in to a branch for f-parseparty speed testing compared to the current trunk. file: [2e27c39c45] check-in: [1dc391289c] user: stephan branch: remove-deck-uuid, size: 9573 | |
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: [ea787cdffd] check-in: [c9fb1f972f] user: stephan branch: trunk, size: 9513 | |
2021-04-05
| ||
10:23 | Minor generic cleanups in fcli and related app-side code. file: [06457b5fde] check-in: [c62ffa1046] user: stephan branch: trunk, size: 9525 | |
2021-04-04
| ||
05:07 | f-apps: modernized/simplified usage of exit-on-help. Removed some bogus CLI flag entries from f-config. file: [37d0c42c20] check-in: [1d3192c82b] user: stephan branch: trunk, size: 9481 | |
04:58 | f-apps: use fcli_cx() instead of accessing fcli.f directly. file: [e70f44fff8] check-in: [9c7cf37828] user: stephan branch: trunk, size: 9532 | |
2021-03-20
| ||
21:36 | Minor restructuring of the fcli struct. file: [5b3a900049] check-in: [436ae2c47f] user: stephan branch: trunk, size: 9514 | |
2021-03-01
| ||
16:21 | Arguably a typo fix in the new header. Thank goodness for stream editors. file: [1cb4297cf9] check-in: [386316db07] user: stephan branch: trunk, size: 9489 | |
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: [5810d74619] check-in: [fa5fb24496] user: stephan branch: trunk, size: 9481 | |
13:45 | Renamed FCliCommand to fcli_command for consistency's sake. file: [00c90e2258] check-in: [92aa86396d] user: stephan branch: trunk, size: 9736 | |
2021-02-28
| ||
11:33 | API doc touchups. file: [4f731d83dd] check-in: [f27c0b7c9c] user: stephan branch: trunk, size: 9735 | |
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: [7c1fa966bb] check-in: [163c5ac4b8] user: stephan branch: trunk, size: 9723 | |
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: [9176e1771a] check-in: [fa7c45e1ef] user: stephan branch: trunk, size: 9717 | |
04:57 | fcli now uses its own FCLI_RC_HELP, instead of hijacking FSL_RC_BREAK, to indicate that --help was triggered. file: [a5a80c1d89] check-in: [d0edf4583f] user: stephan branch: trunk, size: 9700 | |
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: [fb4d8cf0a9] check-in: [ca464b5b74] user: stephan branch: trunk, size: 9697 | |
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: [1e13ed8057] check-in: [36bb349a93] user: stephan branch: trunk, size: 9698 | |
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: [fe0b418a94] check-in: [97a2679fd1] user: stephan branch: trunk, size: 9772 | |
2021-02-26
| ||
14:04 | Reworking how fcli flag handling is done. file: [1dc4abb6d9] check-in: [dad2f76f30] user: stephan branch: fcli-flag-rework, size: 8275 | |
2021-02-21
| ||
15:10 | Renamed FSL_CATYPE... (CA=Control Artifact) to FSL_SATYPE... (SA=Structural Artifact) so that they correspond to the terms as set out by the fossil file format docs. file: [983e4803b3] check-in: [8728796601] user: stephan branch: trunk, size: 8269 | |
2021-02-13
| ||
21:49 | Changed crosslink listener interface and started porting the parts which update the timeline into user-overrideable listeners, which will allow clients to 100% customize timeline content without having to deal with the rest of the crosslinking schema updates. Honor fossil's forbid-delta-manifests setting. Fixed fsl_deck_output() usage in f-apps, as called for by previous commit [ac9b034f79]. file: [3aa03fa242] check-in: [911afa1bcc] user: stephan branch: trunk, size: 8269 | |
2021-02-12
| ||
22:09 | libfossil is now C99, rather than C89, per discussion at [https://fossil.wanderinghorse.net/r/libfossil-forum/forumpost/e02ff0e8d0]. fsl_int{16,32,64}_t have been replaced by the standard uint{16,32,64}_t, FSL_xxx_T_PFMT/SFMT replaced with PRIx32 and friends, and auto.def now checks for -std=c99 capability (but that check could probably be done differently/improved). fsl_int_t and fsl_uint_t are retained, as they're more about documentation/intent than fixed sizes. file: [d9292605d7] check-in: [ee070353b9] user: stephan branch: trunk, size: 8287 | |
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: [8d188e55d2] check-in: [4307886eab] user: stephan branch: trunk, size: 8291 | |
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: [812390960f] check-in: [631fb3f69a] user: stephan branch: trunk, size: 8565 | |
2014-10-01
| ||
07:36 | trivial; avoid a warning about there being a difference between void fxn() and void fxn ( void ) for old c compilers file: [6bc596ae89] check-in: [6f99aa0874] user: dave branch: feech-dave-msvcsupport001, size: 8522 | |
2014-03-16
| ||
13:03 | Extended the manifest content caching in fsl_deck_parse() to apply to other fsl_deck string cards. Changed fsl_deck::L from a fsl_buffer to a C-string. file: [922745c538] check-in: [752aad3eb7] user: stephan branch: trunk, size: 8518 | |
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: [0028542db9] check-in: [a2cbd2e343] user: stephan branch: trunk, size: 8538 | |
2014-02-13
| ||
11:45 | accommodated fcli API additions. file: [3477525cde] check-in: [b018e152fb] user: stephan branch: trunk, size: 8538 | |
2014-02-11
| ||
14:31 | Renamed f-wiki.c → f-apps/f-wiki.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: [1680a1d407] check-in: [e85b45eda2] user: stephan branch: trunk, size: 8572 | |