Commit Graph

26 Commits

Author SHA1 Message Date
benbierens c8660925d3
Merge branch 'master' into symbolchecks
# Conflicts:
#	tests/test.nim
2024-05-20 14:02:41 +02:00
benbierens ec4754b7a7
Implements proper iter dispose 2024-05-20 08:41:36 +02:00
Ben 819e9a3478
sets up checkers 2024-05-15 11:49:48 +02:00
ThatBen dfe142f00a example setup of checking c symbols at compile time 2024-05-15 11:29:38 +02:00
Ben 9dc532b856
Adds support for skips and limits to queryIter 2024-05-14 09:48:46 +02:00
Ben 760acd2767
implements query-iterator object 2024-05-14 09:23:08 +02:00
ThatBen 2d399e3247 renames to leveldbstatic 2024-05-13 14:08:17 +02:00
benbierens dfb41a9062
Fixes tests for windows 2024-05-10 14:28:55 +02:00
Xie Yanbo 6cf9f7f938 fix warning since nim 1.4.0 2021-02-08 17:06:50 +08:00
Xie Yanbo bd0e208256 add proc getOrDefault 2020-02-27 20:31:06 +08:00
Xie Yanbo 6a64213af5 tool rename
The tool app name changed from `leveldb` to `leveldbtool` considering
the following reasons:

* `leveldb` looks like an official app, but it's not.
* It is confusing when binary has a name as same as the library, so nimble
  warned about hybrid projects.
* The new sketch of the binary project offered by nimble does not include
  `bin` directory.
2020-02-24 23:53:44 +08:00
Xie Yanbo 39d911be0c sugar not in nim 0.18.0 2020-02-23 22:12:56 +08:00
Xie Yanbo 75ab9bbb47 test tool 2020-02-23 22:12:55 +08:00
Xie Yanbo ba45990676 test package 2020-02-23 22:12:02 +08:00
Colin Coombs 533d4ed7e8 Transform leveldb into a 'hybrid' package
This allows users to use leveldb databases in their own nim programs.
2020-02-18 16:53:39 +08:00
Xie Yanbo c758236822 fix empty string 2020-02-15 18:43:26 +08:00
Xie Yanbo 115c7a3780 compress 2020-02-13 16:21:50 +08:00
Xie Yanbo 6b87da8cc3 more options 2020-02-13 16:21:50 +08:00
Xie Yanbo 74ae934f94 test repairDb 2020-02-13 16:21:38 +08:00
Xie Yanbo ebc0544b8f support cache option 2019-12-14 18:14:04 +08:00
Xie Yanbo 594a5deb83 add batch procedure 2019-12-14 18:13:04 +08:00
Xie Yanbo f06f932669 fix: fixed length string with terminating character 2019-11-16 20:24:33 +08:00
Xie Yanbo 177190b311 Iterates with range of keys 2019-11-16 17:42:48 +08:00
Xie Yanbo f63abb769a Iterates with the prefix of keys 2019-11-16 17:42:40 +08:00
Xie Yanbo 8c215d13a3 add command line tool and bump verion to 0.3.0
* breaking change: rename `version` to `getLibVersion`
* add `repaireDb`
* fix `get` bug
2019-11-11 01:42:01 +08:00
Xie Yanbo 90d176e0fa nimble package 2019-11-10 11:32:48 +08:00