Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
104 check-ins using file include/fossil-scm/db.h version 35516e97c0
2025-04-04
| ||
02:36 | On Haiku, if no --prefix is provided then default to /boot/home/config/non-packaged, per /chat input from Brickviking. With this change, (./configure && make && make install) work on Haiku and the f-apps binaries and fnc run :-D. Or, in haiku form: On Haiku systems / If no prefix is defined / use boot/.../non-packaged Leaf check-in: 8ba26d0b75 user: stephan tags: trunk | |
2025-04-03
| ||
22:50 | Update autosetup from upstream trunk. (With my apologies for the time warp in the history - the previous checkin was from a VM with an incorrect clock.) check-in: 9628e48654 user: stephan tags: trunk | |
19:18 | Merge in Haiku fixes from BrickViking. (Later amended for a clock skew, caused by checking this in from a HaikuOS VM with a wrong clock.) check-in: a4f53f05fd user: stephan tags: trunk | |
19:14 | Import upstream fnc, patched with the fixes from this branch. Closed-Leaf check-in: bc0b1d6836 user: stephan tags: bv-haiku | |
10:00 | Changes provided by OscarL from #haiku@irc.oftc.net to correct linker and compiling failures on Haiku. check-in: fb917fc1c9 user: brickviking tags: bv-haiku | |
09:51 | Create new branch named "bv-haiku" check-in: 304c6670d3 user: brickviking tags: bv-haiku | |
2025-04-02
| ||
11:32 | Update proj.tcl from upstream sqlite tree. check-in: 6bb8b0d8ce user: stephan tags: trunk | |
11:14 | Add tools/mkccode.tcl (from the sqlite tree) for future use in re-doing how the amalgamation is built. check-in: 9855980b93 user: stephan tags: trunk | |
2025-03-26
| ||
12:42 | Include technote artifacts in the always-has-a-W-card-even-if-empty category in fsl_deck_to_json(). check-in: cfbc760d32 user: stephan tags: trunk | |
12:38 | Apply upstream fix [fossil:0d8c913658cdf45] to fsl_deck_to_json(). check-in: 200b19c2e1 user: stephan tags: trunk | |
2025-03-25
| ||
17:39 | In f-aparse, when checking for an in-repo match of the input manifest's hash, try sha3 before sha1, as that's the more likely case (it wasn't when this app was initially written). check-in: 177f145fab user: stephan tags: trunk | |
17:34 | Remove extranous whitespace from fsl_deck_to_json(). check-in: 4122e5f498 user: stephan tags: trunk | |
16:10 | Minor fsl_artifact_to_json() UDF doc update. check-in: df285b91cf user: stephan tags: trunk | |
16:05 | Port in artifact-to-json support from [fossil:/timeline?r=artifact-to-json]. check-in: 149c8451ef user: stephan tags: trunk | |
16:04 | Add fsl_artifact_to_json() UDF. Closed-Leaf check-in: 2c5339b85c user: stephan tags: artifact-to-json | |
15:37 | Implement fsl_deck_to_json(). Corresponding UDF is still TODO. check-in: 9023ab840a user: stephan tags: artifact-to-json | |
13:49 | Initial work for porting over [fossil:/timeline?r=artifact-to-json]. The API skeleton is in place but the core to-json is not. check-in: 0c7c6d665d user: stephan tags: artifact-to-json | |
2025-03-20
| ||
18:49 | Remove a too-strict assert() in fsl_db_get_textv() reported by Martin G. in /chat. Add SQLITE_BUSY == FSL_RC_LOCKED to the error code translations which happens in fsl__db_errcode() (as that's what triggered the assert). check-in: 1dacda897c user: stephan tags: trunk | |
2025-03-16
| ||
14:57 | -Add a partial workaround to f-ci for checkin messages which start with a minus sign: leading space in a -m message is now stripped, so -m '-foo...' can be formulated like -m ' -foo...' to work around this flag-parsing limitation. (Yes, that actually bit me in [https://sqlite.org/src/info/44f2c64ec16f4720], and there i worked around it by using fossil, instead of f-ci, for the checkin.) check-in: eead046a57 user: stephan tags: trunk | |
2025-03-12
| ||
20:14 | EOL-whitespace cleanups, minor internal doc additions, and rename an internal-use-only function to match current conventions. No functional changes. check-in: 3b62ac66fc user: stephan tags: trunk | |
2025-02-21
| ||
04:02 | Update autosetup/proj.tcl to the latest copy from the sqlite tree. check-in: 7bf051dcd5 user: stephan tags: trunk | |
2024-12-26
| ||
09:56 | Some small SQL UDF flag tweaks inspired by [fossil:bd7f5c0b3780286f344a]. check-in: b0f9e9c732 user: stephan tags: trunk | |
2024-12-14
| ||
00:35 | Minor formatting tweaks. No functional changes. check-in: 73aca2454e user: stephan tags: trunk | |
2024-12-11
| ||
06:43 | A slightly more robust check for is-this-a-checkout-db, analog to upstream [fossil:36f916c504c525c72f48]. check-in: 37dacc1787 user: stephan tags: trunk | |
2024-12-08
| ||
22:11 | Rename some internal vars for clarity's sake. check-in: fa7ef96f90 user: stephan tags: trunk | |
2024-12-07
| ||
03:14 | Remove unnecessary OMIT and ENABLE flags from appendf.c - they were ancient artifacts from a several-source-trees-ago version of that file. Also remove appendf.c's use of long double for reasons documented in this change's comments. check-in: d3533b0365 user: stephan tags: trunk | |
02:53 | Add a TODO which will be relevant for porting over the mergeinfo bits, specifically for the glob_expr() function (which is also to-port). check-in: 0ea42c1b3e user: stephan tags: trunk | |
01:45 | Add a TODO to port over fossil's etSHELLESC string formatting option (for building properly-escape strings for passing to an external process). It's a more involved port than current aspirations allow for :/. check-in: a1e5c8034d user: stephan tags: trunk | |
2024-12-06
| ||
22:31 | Add a comment linking to upstream [fossil:aeec557e897f] as a point to consider for porting over. check-in: 3334e09635 user: stephan tags: trunk | |
14:10 | Apply minor backwards-compatible repo schema changes from [fossil:b8011bf50817c]. check-in: 6a3de57394 user: stephan tags: trunk | |
14:05 | Apply the part of [fossil:55f136610030f7] which is relevant for this tree. The other part of that upstream checkin is related to still-pending merge-related porting. check-in: 828f82e90a user: stephan tags: trunk | |
2024-11-22
| ||
09:16 | Myriad miniscule modifications - space removals. check-in: 8a3bc44c30 user: brickviking tags: trunk | |
2024-11-18
| ||
17:59 | Pull in upstream [fossil:4862fc5ed0c3d4dfdf] to correct a rare (so far singular) delta checksum mismatch. check-in: 538a929f82 user: stephan tags: trunk | |
17:49 | Tiny doc typo fix. check-in: d2a8980d16 user: stephan tags: trunk | |
2024-11-04
| ||
07:41 | Tweaks to doc/db-udf.md check-in: d4075d41e4 user: brickviking tags: trunk | |
2024-11-03
| ||
08:04 | Remove an extranous dibu::finally call in some test code. check-in: 0e7b03ca7b user: stephan tags: trunk | |
2024-10-31
| ||
23:48 | Pull in upstream [fossil:f214aba4f5c4846de0e1] to fix an obscure assert() triggered by diffs with hundreds of thousands of lines. However, this fix leads to the same offending diff now causing an apparently hang in libfossil (still waiting after four minutes, whereas fossil diff took only 2s). That's to be investigated Real Soon Now. check-in: 203439be88 user: stephan tags: trunk | |
23:01 | Stashing some unused auto.def code for later: determines whether a given linenoise.h refers to the antirez or msteveb flavor of that API. check-in: cbf755a343 user: stephan tags: trunk | |
2024-10-29
| ||
18:51 | Upstream fix for proj.tcl:proj-first-bin-of. check-in: 8a931ee5db user: stephan tags: trunk | |
03:09 | Adapt auto.def bits to renaming of the upstream 'hwaci' API to the more generic 'proj' API. check-in: 1da9021841 user: stephan tags: trunk | |
2024-10-25
| ||
05:40 | Upstream fix to autosetup/autosetup-find-tcl to work around an OpenBSD-ism of emitting noise to stdout at link-time. check-in: 41ef58fc27 user: stephan tags: trunk | |
2024-10-24
| ||
01:23 | Fix an autosetup misuse which breaks ./configure --help. Latest upstream hwaci-common.tcl check-in: 1918daa559 user: stephan tags: trunk | |
2024-10-23
| ||
00:59 | Add a TODO to use autosetup's pkg-config support, rather than manual invocation of pkg-config, for ncurses detection. check-in: 113e3f9c38 user: stephan tags: trunk | |
2024-10-19
| ||
22:52 | Latest upstream hwaci-common.tcl. check-in: 5e942a7a1c user: stephan tags: trunk | |
15:11 | Internal doc cleanups and API renaming. No functional changes. check-in: 742b1d61c2 user: stephan tags: trunk | |
2024-10-15
| ||
11:47 | Add a comment about integrating [fossil:9919dfbbaa2019e7eb7b], which will require a Windows-using developer. check-in: fe4c22a0ba user: stephan tags: trunk | |
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). check-in: b979896288 user: stephan tags: trunk | |
18:37 | Part 1 of N of some restructuring of the fcli_t struct: consolidate fcli.clientFlags and fcli.config into fcli.config. check-in: 2f7bf3f7d0 user: stephan tags: trunk | |
15:22 | Initial work on fcli_setup_v3(). Not yet sure if this will be a real thing. Closed-Leaf check-in: 5789a03da2 user: stephan tags: fcli_setup_v3 | |
11:29 | Further simplify the import of FNC_... vars into autosetup. (Who know that tcl has a shell-like 'source' command?) check-in: c27eb7d5d2 user: stephan tags: trunk | |
11:07 | Simplify how the FNC_... config vars are exposed to auto.def by generating them directly to TCL into instead into intermediary files which TCL then processes. check-in: dcc52232fc user: stephan tags: trunk | |
06:03 | Eliminate deps on external sed and awk when extracting FNC_DATE. (The sed was superfluous, anyway.) Remove the T part from FNC_DATE for consistency with the upstream build. check-in: e2a3072074 user: stephan tags: trunk | |
05:51 | Add fnc version/date/hash info to the build and add a script to copy the upstream fnc, along with that metadata. That this info has been missing was reported in [/forumpost/cc99a0b0a8]. check-in: 578074a169 user: stephan tags: trunk | |
2024-10-09
| ||
07:50 | Latest hwaci-common.tcl. check-in: 43e15355d5 user: stephan tags: trunk | |
2024-10-01
| ||
14:12 | Minor makefile doc update. No functional changes. check-in: e9b3572f47 user: stephan tags: trunk | |
13:20 | A different approach (the initially intended one) to squelch the warning about missing shakenmake-custom.make. check-in: 1cd610fce6 user: stephan tags: trunk | |
13:19 | Squelch the warning about missing shakenmake-custom.make. check-in: e5390f0257 user: stephan tags: trunk | |
11:03 | Minor text formatting tweak for the ncurses check results. check-in: 8a801eebba user: stephan tags: trunk | |
11:02 | Fix reversed logic in the build/target/host names in several hwaci-* functions. check-in: 32064fe005 user: stephan tags: trunk | |
2024-09-30
| ||
20:28 | Attempt to determine the proper flag to pass for building shared libs: -shared for .so or -dynamiclib for .dylib. This info is based entirely from a StackOverflow post, so is to be taken with a proverbial grain of salt. check-in: e4a5ca7d02 user: stephan tags: trunk | |
20:12 | Latest upstream hwaci-common.tcl. Attempt to use the dylib extension for Mac builds of libfossil.so (can't test that here, though). check-in: 8daf857e24 user: stephan tags: trunk | |
14:33 | Teach the rpath check to not append to the global build flags. check-in: 7f2f79925f user: stephan tags: trunk | |
14:24 | Move the rpath flag check in hwaci-common.tcl and correct {-Wl,-rpath -Wl,/...} to be checked as a single flag. check-in: f8b4758038 user: stephan tags: trunk | |
14:14 | More build tinkering - latest upstream hwaci-common.tcl. Potential fix for the missing -liconv flags on Mac builds, broken in [9c54655f16d96708]. check-in: 0d09d97189 user: stephan tags: trunk | |
2024-09-29
| ||
12:10 | Second part of --help text correction in f-annotate, as reported in [9305e3173f]. check-in: 60c6beadb0 user: stephan tags: trunk | |
12:09 | An attempt at finding an -rpath option which will work on Mac w/ clang 16. The compiler reports that it supports -Wl,-R... but then fails to build with that flag. The same flag works on OpenBSD with clang 16. check-in: 7e4286ab80 user: stephan tags: trunk | |
12:04 | Minor --help text correction in f-annotate, as reported in [9305e3173f]. check-in: 28cf441d61 user: stephan tags: trunk | |
2024-09-28
| ||
00:33 | Latest upstream autosetup and fix a variable mis-use in wh-common.tcl's module loading check. check-in: 4e15fa0ef5 user: stephan tags: trunk | |
00:31 | Do not clear the fsl_cx error state in the db hooks, as that hides propagating info like a merge failure report. check-in: 08ed83fecc user: stephan tags: trunk | |
2024-09-27
| ||
10:41 | Avoid some duplicate build flags, as reported in [b4cf8266a3]. check-in: cafc3ca524 user: stephan tags: trunk | |
2024-09-26
| ||
20:48 | Fix dangling tcl func name references introduced in [64155cdbf3] and uncovered on an OpenBSD build. check-in: f8a5f96599 user: stephan tags: trunk | |
19:28 | Move much of wh-common.tcl into hwaci-common.tcl, which will soon make its way into the Fossil tree, and it will be simpler to be able to share hwaci-common.tcl than to maintain multiple independent copies of the autosetup utils it adds. check-in: 64155cdbf3 user: stephan tags: trunk | |
16:27 | EOL cleanups and fix an age-old stack overwrite discovered via Martin's QNX. Edit: the stack-overwrite of 18 bytes traces back to [896ea2a01b33de25]. check-in: f6812e43bd user: stephan tags: trunk | |
15:52 | Swap --loud for --disable-loud (--quiet is an autoset-private flag). When linking f-apps, use SH_LINKRPATH instead of SH_LINKFLAGS, as the former works on both my systems and Martin's QNX, whereas the latter fails on QNX. check-in: 41e77534fb user: stephan tags: trunk | |
14:41 | Correct the definition of the --disable-ncurses flag so that it shows up properly in the --help. check-in: 0caa19aff0 user: stephan tags: trunk | |
14:38 | Add --disable-ncurses flag to completely disable ncurses pieces. On Martin's QNX curses is detected but fails to compile because of an error in ncurses.h. check-in: ad1277f63a user: stephan tags: trunk | |
14:28 | Disable compile-commands by default, requiring --enable-compile-commands to turn it on. Run cc-check-flags on autosetup's detected SH_LINKFLAGS and, if they fail that test, clear SH_LINKFLAGS, in an attempt to avoid adding -rdynamic to Martin's QNX build. check-in: 8a3934327c user: stephan tags: trunk | |
14:03 | Fix a typo which broke sqlite3.o build in [c7cfd91a97]. Add -fPIC to CFLAGS if the compiler supports it. Remove hard-coded -rdynamic flag from the module-loader detection bits (which we don't currently use). check-in: 2045612e56 user: stephan tags: trunk | |
13:52 | Initialize an uninited var exposed by gcc 4.x check-in: 04f3b7d2e3 user: stephan tags: trunk | |
13:35 | C99 detection: always use -std=c99 when --assume-c99 is used. When detecting c99, if -std=c99 is not supported, also try -Wc,-std=c99 (for QNX qcc). When compiling sqlite3.c, remove -std=c99 and -Werror from its CFLAGs. check-in: c7cfd91a97 user: stephan tags: trunk | |
12:59 | Only add -gdwarf-4 to the CFLAGS if CC supports that flag. This resolves the TODO in [a22ed480f10f2212533]. check-in: 35f61b176e user: stephan tags: trunk | |
12:55 | Do not add -gdwarf-4 to the CFLAGS if --assume-c99 is used. TODO: add a proper test of that flag to see if the compiler supports it. check-in: a22ed480f1 user: stephan tags: trunk | |
11:20 | An alternative, supposedly more portable, approach to applying the rpath to the f-apps. Add the --assume-c99 configure flag to bypass the explicit check for C99, as a potential workaround for gcc 4.x on QNX. check-in: dcbf5cf9d4 user: stephan tags: trunk | |
2024-09-25
| ||
02:00 | In fsl_checkin_commit(), be sure to propagate the privateness of content when the commit derives from a private checkin. This should have been part of [f511d7e63292]. check-in: 9eecc8a2be user: stephan tags: trunk | |
01:52 | Add a license header to wh-common.tcl. check-in: 0f66ef287d user: stephan tags: trunk | |
2024-09-24
| ||
21:37 | Some insignificant internal touchups. check-in: 76751c68a6 user: stephan tags: trunk | |
21:24 | Comment cleanups. check-in: 5861c30dce user: stephan tags: trunk | |
21:13 | Add --private flag to f-ci. It seems to work, too. check-in: f511d7e632 user: stephan tags: trunk | |
18:22 | Comment and doc cleanups. check-in: 6c21831158 user: stephan tags: trunk | |
15:58 | Remove some stray debug output added in [71fbbe959b34]. check-in: 57771ce4fc user: stephan tags: trunk | |
15:47 | Remove some auto.def debug output and add a comment explaining the new test in f-sanity.c. check-in: b096fe0978 user: stephan tags: trunk | |
15:43 | Extend fsl_mtime_of_manifest_file() to be able to return the mtime of any artifact type if given a file ID of 0 or less. Simplify its internal impl a bit. check-in: 71fbbe959b user: stephan tags: trunk | |
14:05 | Minor autosetup-related reorgs. check-in: ed02fb6b2d user: stephan tags: trunk | |
2024-09-23
| ||
10:43 | include limits.h header for LONG_MAX on darwin While here, change buf->cursor precondition comparison check to ensure it is not greater than buf->used. It may be an unreachable state but we must guard it nonetheless. And expand getdelim() regress by covering the empty or end-of-buffer precondition path, and the no matching delimiter found in the stream path. check-in: 322452cb8b user: mark tags: trunk | |
2024-09-22
| ||
15:38 | implement fsl_buffer_get{delim,line}() and regress test This API provides the same semantics as POSIX.1-2024 getdelim(3), which the fsl_buffer structure conveniently facilitates. A new regress test case is also added to f-sanity. Briefly discussed in /chat with Stephan. https://pubs.opengroup.org/onlinepubs/9799919799/functions/getdelim.html check-in: efb25dec6f user: mark tags: trunk | |
2024-09-21
| ||
01:27 | zap deadstore via missing break statement in switch block I suspect this fallthrough attribute was incorrectly added to silence a compiler warning that was in this case warranted. We don't want to clobber c; `c = offset` is correct for SEEK_SET. Incidentally, this routine's regress test was not failing the SEEK_SET case[0] because bin->cursor is at 0 so the fallthrough to the SEEK_CUR case[1] equates to `c = 0 + offset`. As such this commit also reorders test cases for a more rigorous regresssion test of fsl_buffer_seek(). [0]: assert(0==fsl_buffer_seek(&bin, 0, FSL_BUFFER_SEEK_SET)); [1]: case FSL_BUFFER_SEEK_CUR: c = (int64_t)b->cursor + offset; break; check-in: 5d2f636c0c user: mark tags: trunk | |
2024-09-20
| ||
18:52 | Fix a call to free() which should have been fsl_free(). check-in: 5474491f74 user: stephan tags: trunk | |
2024-09-18
| ||
18:52 | Minor cleanups and doc tweaks. check-in: 2ee07f48f0 user: stephan tags: trunk | |
2024-09-17
| ||
05:15 | Update fsl_cx_empty_m to C99-style. check-in: 071f8b629f user: stephan tags: trunk | |
2024-09-16
| ||
23:03 | EOL whitespace cleanups and simplify one silly code block. check-in: 2074b15145 user: stephan tags: trunk | |
22:31 | Simplify fsl__cx_db_hook_transaction() a bit. check-in: 40d724d923 user: stephan tags: trunk | |
21:26 | Merge db-hooks branch into trunk. Summary: eliminate the fsl_db class's hard dependency on the fsl_cx class via introduction of hooks which fsl_cx installs in its db instance. check-in: 8884282b35 user: stephan tags: trunk | |
21:22 | Remove some debug output. Update some docs. Closed-Leaf check-in: ccd8bc3369 user: stephan tags: db-hooks | |
21:05 | Docs and cleanups related to the new fsl_db hooks. check-in: a189336bdd user: stephan tags: db-hooks | |