Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
History for f-apps/f-query.c
|
2025-08-30
| ||
| 21:39 | Swap the order of the fsl_list_visitor_f() parameters, ostensibly for consistency with other APIs but we really have a mix of arg orders in similar APIs. Both args are (void*), which makes this an easy change to break stuff with. This will very likely not be merged to trunk, but is left here as a reminder to self that this type of change is inherently dangerous and could lead to easy-to-miss bugs until the wrong object is dereferenced somewhere (perhaps in downstream code). Resist the temptation. file: 3df30343c8 check-in: [76ff044d76] user: stephan branch: list-visitor-swap-args, size: 7061 | |
|
2025-08-21
| ||
| 21:50 | Refactor fsl_db and fsl_stmt to clearly differentiate their private from non-private state. file: 7e9c233d23 check-in: [0425c2982b] user: stephan branch: trunk, size: 7063 | |
| 21:26 | Factor out fsl_stmt::columnCount. file: 456283124f check-in: [22c1b839ce] user: stephan branch: trunk, size: 7058 | |
|
2025-08-20
| ||
| 15:56 | Remove deprecated SPDX-ArtifactOfProjectName header. file: 535bb6e627 check-in: [31bb2bd4bf] user: stephan branch: trunk, size: 6962 | |
|
2025-08-11
| ||
| 12:35 | Internal refactoring of the fsl_db transaction pieces. Disable the verify-commit-not-called check because a test is inexplicably triggering it, but that needs to be tracked down and the check re-enabled, and this is my reminder to do so. file: 5ea4b3038c check-in: [747bcd2d6d] user: stephan branch: savepoints, size: 7002 | |
|
2025-08-10
| ||
| 00:58 | Globally rename foo_transaction_bar() to foo_txn_bar(). file: f2b60cabd8 check-in: [03da2e699b] user: stephan branch: savepoints, size: 7003 | |
|
2025-08-08
| ||
| 00:10 | Add --dump-e flag to f-query to dump out the -e flag's SQL or the -E flag's file contents before running the query. file: 915aafeddc check-in: [61f89c1be9] user: stephan branch: trunk, size: 7027 | |
|
2025-05-31
| ||
| 09:33 | Re-add -Wextra -pedantic CC flags, and work out its complaints across many files, but they're disabled without the --pedantic flag because they break with the upstream fnc.c and sqlite3.c. file: 0655b8349b check-in: [84ef1197c3] user: stephan branch: trunk, size: 6397 | |
|
2024-11-22
| ||
| 09:16 | Myriad miniscule modifications - space removals. file: 8f73909978 check-in: [8a3bc44c30] user: brickviking branch: trunk, size: 6382 | |
|
2024-10-12
| ||
| 18:37 | Part 1 of N of some restructuring of the fcli_t struct: consolidate fcli.clientFlags and fcli.config into fcli.config. file: 3c03a57070 check-in: [2f7bf3f7d0] user: stephan branch: trunk, size: 6385 | |
|
2021-12-30
| ||
| 13:52 | Removed some debug output added by the previous checkin. file: e7c33e21d9 check-in: [75eab853b5] user: stephan branch: trunk, size: 6390 | |
| 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: b488bc7c38 check-in: [1d7a6d2b96] user: stephan branch: trunk, size: 6456 | |
| 05:37 | Replaced f-apps fcli_setup() calls with fcli_setup_v2(). file: cfbe9e8334 check-in: [313b59841e] user: stephan branch: trunk, size: 5741 | |
|
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: 60f350f249 check-in: [76d6359435] user: stephan branch: trunk, size: 5773 | |
|
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: 09c7be3919 check-in: [c9fb1f972f] user: stephan branch: trunk, size: 5863 | |
|
2021-09-05
| ||
| 14:41 | Simplified previous checkin. file: 6889da16b3 check-in: [f42cf853ab] user: stephan branch: trunk, size: 5713 | |
| 14:32 | Fixed -h/--no-header flag to f-query - was previously a no-op. file: c5418307a5 check-in: [701619e142] user: stephan branch: trunk, size: 5758 | |
|
2021-04-04
| ||
| 05:07 | f-apps: modernized/simplified usage of exit-on-help. Removed some bogus CLI flag entries from f-config. file: 4cece193b0 check-in: [1d3192c82b] user: stephan branch: trunk, size: 5721 | |
|
2021-03-20
| ||
| 21:36 | Minor restructuring of the fcli struct. file: c702502c10 check-in: [436ae2c47f] user: stephan branch: trunk, size: 5772 | |
|
2021-03-11
| ||
| 15:29 | Added fsl_deck_clean2(). Minor iprovements in f-parseparty, most notably to run the leaf rebuild after crosslinking checkins and/or tags, to avoid having (only sometimes) incorrect is-leaf markings (the reason why that happens, and whether it's an actual mistake or a side-effect of unfortunate parse ordering) is unclear). Other trivial internal cleanups. file: aab41474ce check-in: [6bdb294442] user: stephan branch: trunk, size: 5761 | |
|
2021-03-10
| ||
| 17:00 | Minor doc/help text cleanups. file: 8c985ca75d check-in: [801690e98c] user: stephan branch: trunk, size: 5376 | |
|
2021-03-03
| ||
| 11:42 | Renamed fsl_buffer_reset() to fsl_buffer_reuse() to try to reduce the confusion between its semantics contrasted with fsl_buffer_clear(). file: 429eebfc00 check-in: [0584c1b6e2] user: stephan branch: trunk, size: 5378 | |
|
2021-03-01
| ||
| 16:21 | Arguably a typo fix in the new header. Thank goodness for stream editors. file: 66887fe5bf check-in: [386316db07] user: stephan branch: trunk, size: 5378 | |
| 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: 32a18621e9 check-in: [fa5fb24496] user: stephan branch: trunk, size: 5370 | |
|
2021-02-28
| ||
| 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: 95d9a1ea37 check-in: [fa7c45e1ef] user: stephan branch: trunk, size: 5306 | |
| 04:57 | fcli now uses its own FCLI_RC_HELP, instead of hijacking FSL_RC_BREAK, to indicate that --help was triggered. file: b71fd8379e check-in: [d0edf4583f] user: stephan branch: trunk, size: 5215 | |
|
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: 7f43a80818 check-in: [ca464b5b74] user: stephan branch: trunk, size: 5212 | |
| 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: 369ea93cec check-in: [36bb349a93] user: stephan branch: trunk, size: 5213 | |
| 07:51 | Ported f-query to the new CLI flag bits. file: 9a76efd252 check-in: [9d212daff6] user: stephan branch: trunk, size: 5201 | |
|
2021-02-26
| ||
| 14:04 | Reworking how fcli flag handling is done. file: 465b69f0af check-in: [dad2f76f30] user: stephan branch: fcli-flag-rework, size: 5840 | |
|
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: 411587d90a check-in: [4307886eab] user: stephan branch: trunk, size: 5834 | |
|
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: 8d5a343055 check-in: [631fb3f69a] user: stephan branch: trunk, size: 5970 | |
|
2014-10-27
| ||
| 18:24 | Added (-E SQL|FILENAME) to f-query, which uses a multi-exec db call instead of prepare/step, so that we can feed it an arbitrary amount of non-SELECT queries (in -E mode any SELECT results do not get output). file: 61364331df check-in: [6c907b2a70] user: stephan branch: trunk, size: 5928 | |
|
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: 9f3831edab check-in: [a2cbd2e343] user: stephan branch: trunk, size: 4914 | |
|
2014-02-13
| ||
| 11:30 | Added --no-transaction option to f-query. file: 3509898735 check-in: [d616c78a54] user: stephan branch: trunk, size: 4914 | |
|
2014-02-11
| ||
| 14:31 | Renamed f-query.c → f-apps/f-query.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: b201ae356a check-in: [e85b45eda2] user: stephan branch: trunk, size: 4679 | |