Login
Timeline
Login

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

39 check-ins that include changes to files matching 'bindings/cpp/*'

2025-08-11
13:32
Merge the savepoints branch into trunk. This changes how fsl_db deals with nested transactions, from a pseudo-nesting on top of a single BEGIN/COMMIT pair to the nesting supported by SAVEPOINTs, the most significant of which (for this project) is the ability to dry-run invididual parts of a transaction without rolling back the whole thing. Add sanity-tests.sh. check-in: 761ae5eaea user: stephan tags: trunk
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. check-in: 747bcd2d6d user: stephan tags: savepoints
2025-08-10
00:58
Globally rename foo_transaction_bar() to foo_txn_bar(). check-in: 03da2e699b user: stephan tags: savepoints
2025-08-09
14:37
Remove fsl_cx_close_dbs() from the public API. It didn't need to be there and is a foot-gun. check-in: 356e1636f1 user: stephan tags: trunk
10:39
Consolidate fsl_cx_config and fsl_cx_init_opt into fsl_cx_config. check-in: 455edd33d7 user: stephan tags: trunk
2025-07-08
13:04
Another C++ fix (how was this compiling? Stale build due to deps bug?). Rename fsl_error_move() to fsl_error_swap() and #define fsl_error_move fsl_error_swap to avoid potential downstream breakage. check-in: 155efb740a user: stephan tags: trunk
12:50
Doc touchups. Fix some C++ breakage caused by C-side API changes. check-in: 27e1a1119b user: stephan tags: trunk
12:33
Remove some 'else's in C++ code which gcc 13.3.0 is misdiagnosing as failing to return when the if() body unconditionally throws and the else body unconditionally returns. check-in: 1532dc986f user: stephan tags: trunk
11:26
EOL whitespace removal and update the C++ bits to work with recent changes. check-in: e10aed43d9 user: stephan tags: trunk
2025-05-17
06:22
Rework the makefile zoo into something which is hopefully more maintainable. Add support for out-of-tree builds and installation rules. The most visible change here is that the f-apps binaries are now all resulting binaries (e.g. the f-apps) are emitted to the top build directory, not their source subdirs. check-in: f3902cd22b user: stephan tags: trunk
2025-05-16
15:17
Reintegrate the C++ test app. check-in: 23a4611cde user: stephan tags: rebuild-2025
2024-09-14
23:54
Re-integrate the C++ bits into the build. Remove some obsolete files. check-in: 60415d2654 user: stephan tags: trunk
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. check-in: 76d6359435 user: stephan tags: trunk
06:58
Overhauled the build system to use (for the most part) a single top-level makefile, with each significant subdir in its own sub-makefile. This improves parallel buildability tremendously but doesn't gain much speed on a 4-core intel i3-based system. The doc/ and bindings/s2 dirs still use the older makefiles for the time being. check-in: 5c7c8ba69e user: stephan tags: trunk
05:45
Renamed the various stub Makefiles to GNUmakefile for consistency with the top-level makefile. check-in: d489b0a596 user: stephan tags: toplevel-make
04:26
Found a not-too-terrible way of enabling partial builds, provided they're run from the appropriate subdir. Fixed assertions in f-sanity caused by __FILE__ now resolving differently and the Makefiles being reorged. check-in: 2a32d4ba97 user: stephan tags: toplevel-make
2021-12-20
23:21
Merged in 32-bit and install fixes from toplevel-make branch. check-in: 7decbe6cf4 user: stephan tags: trunk
23:16
Fixed an int type error which only shows up on 32-bit builds. check-in: adb7e4dae8 user: stephan tags: toplevel-make
22:24
More work on the mega-build. Skipping the s2 bindings for the time being because that one is significantly more involved and may well be better served by a recursive make because of how its test suite works. check-in: d0cd398612 user: stephan tags: toplevel-make
21:20
Migrated bindings/cpp to the mega-make build. check-in: 3277761427 user: stephan tags: toplevel-make
2021-11-16
03:36
Merged in trunk. check-in: 604fe76cfe user: stephan tags: port-merge
2021-11-02
23:47
Corrected a repeated build rule in bindings/cpp. check-in: 3ea6f73e5d user: stephan tags: trunk
2021-10-20
17:29
Brought s2 and cpp bindings up to date for fsl_deck changes. check-in: db284ea307 user: stephan tags: trunk
2021-09-07
20:03
Build: more autosetup code moved from auto.def to wh-common.tcl and Makefile added to distclean rules where appropriate. check-in: 5114263392 user: stephan tags: trunk
2021-04-14
03:59
Updated C++ and s2 bindings for recent API changes. check-in: b490766728 user: stephan tags: trunk
2021-03-24
22:16
Brought C++/s2 bindings up to date with recent API changes. check-in: da095e1065 user: stephan tags: trunk
2021-03-15
04:25
Globally renamed _checkout to _ckout, as some of these names are getting a bit long. check-in: bc9e88ee2c user: stephan tags: trunk
2021-03-10
08:25
Renamed the 'F2' F-card temporary porting name back to F. closed check-in: 63e886fff0 user: stephan tags: f-card-array
08:06
New F-card list model is working but the savings for it are underwhelming to say the least. At most, 10-15% alloc count savings on f-parseparty runs, with a slightly higher RAM total. Disabled delta checksum self-test, as it's a big time hit and fossil also disables that by default. (Edit: but this changes cuts the time needed for f-parseparty to process the core fossil repo by a bit more than half. It's still dog slow compared to a fossil rebuild, though.) check-in: 2440c84b01 user: stephan tags: f-card-array
2021-03-04
21:16
Updated C++ binding for API changes. check-in: 0c114ca6be user: stephan tags: trunk
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(). check-in: 0584c1b6e2 user: stephan tags: trunk
2021-02-25
08:22
Some API renaming. Modified how fsl_deck_parse() determines the deck's RID/UUID. Introduced fsl_repo_blob_lookup(). check-in: 467b9e1c18 user: stephan tags: trunk
2021-02-24
05:42
Renamed enum fsl_file_perm_t to fsl_fileperm_e and fsl_rc_t to fsl_rc_e. check-in: eb5c621f98 user: stephan tags: trunk
2021-02-21
21:06
Tinkering with the C++ Deck-to-fsl_deck conversion operator signatures. check-in: e0e62d6f21 user: stephan tags: trunk
19:07
Removed an unused var. check-in: f4e8a2184d user: stephan tags: trunk
18:27
More enum type renaming. Updated C++/s2 bindings for other recent renamings. check-in: 9c1abb2e95 user: stephan tags: trunk
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. check-in: ee070353b9 user: stephan tags: trunk
2021-02-11
13:01
Replaced a hard-coded UUID in test.cpp with a ref to rid:1. check-in: 9e6df31e88 user: stephan tags: trunk
12:42
Moved C++ and s2 bindings to bindings/{cpp,s2}. Got the C++ bindings compiling for new gcc breakage and new, stricter T-card validation. check-in: fdc5e1014e user: stephan tags: trunk