Commit Graph

  • 71b613bc7c Avoid error when rebuilding database custom Martchus 2024-03-09 12:11:52 +0100
  • 3a2160ee67 Improve tests for typed DBI Martchus 2024-03-08 19:15:16 +0100
  • bda69c292d Avoid deletion in "in place" modification function Martchus 2024-03-08 19:13:27 +0100
  • f7cdacd30d Fix duplicate/old rows on indexes when overriding a row by ID Martchus 2024-03-08 19:04:58 +0100
  • 8e6fe671f0 Avoid CMake deprecation warning by bumping version Martchus 2024-03-08 19:01:44 +0100
  • be2235103f Apply change of `global.h` template Martchus 2024-02-27 00:50:59 +0100
  • d8ca70bca1 Fix constness of `MDBOutVal::get()` Marius Kittler 2023-12-16 21:19:24 +0100
  • 02c64c8897 Fix typo in docstring Marius Kittler 2023-11-08 13:01:05 +0100
  • fa47c4848c Fix assert message in allocatePointer() Martchus 2023-09-30 22:04:41 +0200
  • b69693bf58 Apply clang-format Martchus 2023-01-23 22:41:30 +0100
  • f015a9444d Support version 3 of Catch2 Marius Kittler 2023-01-22 23:07:15 +0100
  • 27252986a8 Avoid copying shared transaction pointer Martchus 2022-11-01 15:06:53 +0100
  • 2656ead556 Apply clang-format Marius Kittler 2022-06-28 16:08:45 +0200
  • 9f17cdd3eb Avoid deserializing object on deletion if there are no indexes Martchus 2022-05-31 21:17:37 +0200
  • 9a9bed0f46 Allow specifying `ElementType` on index-ed `get` function as well Martchus 2022-05-28 18:28:31 +0200
  • 827bd843b3 Add remark that `index_on_function` is likely not useful as-is Martchus 2022-05-26 23:10:23 +0200
  • 06909a24c4 Allow index on member of base class Martchus 2022-05-26 23:09:46 +0200
  • 08f28a1706 Allow overriding type in certain typed operations Martchus 2022-05-19 20:17:19 +0200
  • 2f5eb32a33 Fix missing include of functional Martchus 2022-05-12 20:30:43 +0200
  • 8e5ea02989 Delete indexes as well when deleting via iterator Martchus 2022-04-19 00:20:27 +0200
  • 1d389239eb Remove useless check for index Martchus 2022-04-19 00:19:56 +0200
  • f47f8a52b0 Fix using std::unique_ptr with iterator Martchus 2022-04-18 23:10:21 +0200
  • 389d662f3b Apply cmake-format Martchus 2022-04-15 19:18:56 +0200
  • bb985870f0 Avoid overflow when running out of IDs Martchus 2022-04-15 19:18:35 +0200
  • 7689f0ebd6 Add stalebot config Martchus 2022-04-12 01:07:00 +0200
  • 95ff695381 Add helper to rebuild typed database Martchus 2022-03-07 23:31:47 +0100
  • 62fe316637 Pass `func` as `const &` in `modify` function Martchus 2022-03-07 23:30:41 +0100
  • 4580d7242a Fix typos Martchus 2022-03-01 00:42:50 +0100
  • f6fd78155b Add `rbegin()` and `lower_bound()` for main DB Martchus 2022-02-25 00:11:17 +0100
  • bf6dbf0e42 Improve comments Martchus 2022-02-21 23:46:32 +0100
  • 6c21fe7cb1 Use type alias for ID type Martchus 2022-02-21 22:57:15 +0100
  • b87dd49bba Allow iterating over index Martchus 2022-02-19 00:10:17 +0100
  • 64ba75ac48 Add serialization shortcuts for std::string and std::uintX_t types Martchus 2022-02-19 00:06:13 +0100
  • b302cdfabe Allow using smart pointers in iterator Martchus 2022-02-18 17:17:47 +0100
  • 1517bdce29 Fix case of having no index at all Martchus 2022-02-10 22:37:32 +0100
  • fbcdc05e9c Export use of lmdb library as we include and use it in public headers Martchus 2022-02-05 21:50:00 +0100
  • 28a3aa7345 Add default c'tor and move assignment to transactions Martchus 2022-02-01 22:02:25 +0100
  • 5eae3f2c98 Remove unused includes Martchus 2022-02-01 19:54:17 +0100
  • 213dfb823d Use `std::`-prefix for a few more occurrences in standard types for consistency Martchus 2022-02-01 19:48:26 +0100
  • 1748fe674c Use `std::`-prefix for all std-types used in headers Martchus 2022-02-01 19:47:30 +0100
  • 011bfa9ab9 Use `std::size_t` consistently for index (of index) Martchus 2022-02-01 19:37:33 +0100
  • 65d8653c77 Get rid of macros and boilerplate code for handling indexes Martchus 2022-01-31 22:23:58 +0100
  • b75ff2602b Ensure all tests/examples pass without args and don't interfere with each other Martchus 2022-01-30 22:23:43 +0100
  • bc5df35b67 Fix include for reflective-rapidjson Martchus 2022-01-30 22:09:34 +0100
  • ec4a44e4de Format tests and examples as well Martchus 2022-01-30 21:32:08 +0100
  • 1e393bf3fe Remove config for Travis CI Martchus 2022-01-30 21:28:21 +0100
  • ff340d0793 Remove "lmdb-various.cc" Martchus 2022-01-30 21:26:26 +0100
  • d27b737234 Move remaining examples from top-level to example folder and build-system Martchus 2022-01-30 21:25:05 +0100
  • 2e7d278c9b Apply uniform formatting via clang-format Martchus 2022-01-30 21:14:43 +0100
  • ff1fc3ebd4 Remove Makefile in favor of CMake build script Martchus 2022-01-30 01:27:54 +0100
  • c7190f9d04 Ensure examples return with zero exit code (so they can be treated as tests) Martchus 2022-01-30 01:21:31 +0100
  • b499a201c2 Add CMake build system replacing Makefile Martchus 2022-01-30 00:05:02 +0100
  • adcb9338e8 Speed-up cleaning DB/indexes via `mdb_drop` instead of manual deletions Martchus 2022-01-26 00:43:21 +0100
  • 31a45912dc Add `keyConv` function for `string_view` Martchus 2022-01-25 23:25:27 +0100
  • f2042c59a5 Avoid instantiating an std::string when calling serializer Martchus 2022-01-25 23:16:09 +0100
  • c8a865528e Pass string_view in serFromString() by value as it is just two pointers Martchus 2022-01-25 23:15:05 +0100
  • 74d7bbd93b Throw errors in all cursor put/del functions Martchus 2022-01-22 19:18:56 +0100
  • f35efb5a7c Expose raw return code in LMDBError Martchus 2022-01-22 19:17:14 +0100
  • 4cec520c83 Avoid useless use of `const_cast` Martchus 2022-01-22 19:06:59 +0100
  • 3bafada5cc Use distinct exception class and unify format of error messages Martchus 2022-01-22 18:59:54 +0100
  • a002cdecdf Improve some comments converting them to Doxygen-recognized comments Martchus 2022-01-22 18:18:15 +0100
  • 156e01f15d Fix typos in README Martchus 2022-01-18 22:37:17 +0100
  • 826637167c Update README for Reflective RapidJSON Martchus 2022-01-18 22:35:23 +0100
  • d53687bdee Allow users to plug their own (de)serialization implementation Martchus 2022-01-18 22:24:31 +0100
  • b833bfef3b Move everything under a namespace Martchus 2022-01-18 22:08:36 +0100
  • c96b87c60a Remove obsolete comments Martchus 2022-01-18 21:58:58 +0100
  • 64bde44fa2 Rearange includes to group them more systematically preferring C++ headers Martchus 2022-01-18 21:58:46 +0100
  • 462e5e4b51 Fix example for iterating range Martchus 2022-01-18 21:53:51 +0100
  • bd72fce0a7 Use std::string_view whenever possible Rosen Penev 2020-06-06 10:56:46 -0700
  • 91920e7c3b Allow reader and writer transactions in the same thread Jonas Schäfer 2019-11-11 21:21:06 +0100
  • 551339ff8f Avoid instantiating new `std::string` when converting key Martchus 2022-01-16 20:37:48 +0100
  • 6a2a752203 Allow configuring maximum number of DBs Martchus 2022-01-16 20:05:34 +0100
  • 97fab01b15 Improve error handling when calling `mdb_env_set_mapsize`/`mdb_env_set_maxdbs` Martchus 2022-01-16 19:59:01 +0100
  • ef0bbb4462 Handle errors when committing transaction Martchus 2021-12-25 22:54:46 +0100
  • 98bf74ed80 Allow returning non-const value when iterating Martchus 2021-12-23 23:31:19 +0100
  • 84e2e9ceea Use ReflectiveRapidJSON for serialization Martchus 2021-12-22 20:48:53 +0100
  • 155c2c36dd Avoid warnings about bypassing virtual dispatch in destructors Martchus 2021-12-23 22:03:28 +0100
  • b621c27ad4 Fix several warnings Martchus 2021-12-05 19:28:08 +0100
  • 469de3c0e2
    Merge pull request #6 from horazont/feature/nested-transactions master bert hubert 2019-11-20 21:38:58 +0100
  • 7ce9a82141 Implement support for nesting transactions Jonas Schäfer 2019-10-26 12:07:03 +0200
  • 3c57c6a113 Hide MDB*Transaction behind a unique_ptr front Jonas Schäfer 2019-10-26 11:42:38 +0200
  • d2b0ee057a Re-work the class hierarchy of cursors and transactions Jonas Schäfer 2019-10-24 17:56:45 +0200
  • c0cc016f3a add get_struct_ptr for speedup bert hubert 2019-06-24 11:16:03 +0200
  • e02d654dfe namespace cleanliness bert hubert 2019-02-06 11:08:55 +0100
  • 9c5bb43cb5 solve crashes when using read-only cursor bert hubert 2019-01-13 21:35:02 +0100
  • 99b4caf61c enhance multi test a bit bert hubert 2019-01-09 10:30:59 +0100
  • bdcd9150a9 unify RO and RW cursor operations, move serFromString to a view bert hubert 2019-01-09 09:58:04 +0100
  • 7dac111b02 to work around clang issue, keyConv is now very ugly, but completely generic bert hubert 2019-01-05 14:40:28 +0100
  • 505d31fd89 add range tests (lower_bound) bert hubert 2019-01-05 14:40:04 +0100
  • a6ee07d8ef add rc checking to cursors, add lower_bound(), next() bert hubert 2019-01-05 14:38:52 +0100
  • 66a6adaf10 makefile was silly with -lboost_serialization bert hubert 2019-01-05 14:38:21 +0100
  • cb2ed50e1f getKey for typed +const correctness bert hubert 2019-01-04 20:51:04 +0100
  • f35ffb8bd8 fix boost version sensing bert hubert 2018-12-28 22:02:29 +0100
  • 063e658aa9 pare down boost apt-get for travis bert hubert 2018-12-28 19:25:39 +0100
  • 8851f18cbe better default init of MDBOutVal in typed bert hubert 2018-12-28 19:21:32 +0100
  • 30b9a78059 adapt to older boost on travis bert hubert 2018-12-28 19:14:00 +0100
  • 6790f50612 add boost & catch2 bert hubert 2018-12-28 19:00:09 +0100
  • a35390622c add lmdb to travis bert hubert 2018-12-28 18:39:43 +0100
  • f977301e94 expand tests to time_t indexes, found bug in our keyconv! bert hubert 2018-12-28 16:45:44 +0100
  • fd9e5841bc add travis tests bert hubert 2018-12-28 16:35:32 +0100