Commit Graph

92 Commits

Author SHA1 Message Date
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
Michał Zieliński 54480c9a89
Merge pull request #15 from xyb/packagecompile
fix package compile issue
2020-02-23 17:18:47 +01: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 713b036f98 fix package compile issue
Error message: "Error: cannot open file: ../leveldb.nimble"
2020-02-23 22:12:03 +08:00
Xie Yanbo ba45990676 test package 2020-02-23 22:12:02 +08:00
Michał Zieliński 6dceb3e080
Merge pull request #13 from xyb/hybrid
fix hybird nimble config
2020-02-22 17:50:00 +01:00
Michał Zieliński 93ec50aede
Merge pull request #14 from xyb/metaversion
read version from nimble config file
2020-02-22 17:49:52 +01:00
Xie Yanbo aa73784d72 read version from nimble config file 2020-02-19 19:11:11 +08:00
Xie Yanbo ec9d9626ec fix hybird nimble config 2020-02-19 19:02:46 +08:00
Michał Zieliński d5b9e5474d
Merge pull request #12 from xyb/pkg
let leveldb.nim be a valid package and support nim 0.18.0
2020-02-18 21:32:59 +01:00
Xie Yanbo 9bd4ed57cd support minimum nim version 0.18.0 2020-02-18 23:46:17 +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
Michał Zieliński b99907cc49
Merge pull request #11 from xyb/empty
fix empty string
2020-02-15 12:10:16 +01:00
Xie Yanbo c758236822 fix empty string 2020-02-15 18:43:26 +08:00
Michał Zieliński e4a4a55630
Merge pull request #10 from xyb/options
Add more features
2020-02-13 13:35:22 +01: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
Michał Zieliński 3c0b6d9b62
Merge pull request #9 from xyb/batch
add batch procedure and cache option
2019-12-14 16:12:45 +01: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
Michał Zieliński 9537076a49
Merge pull request #8 from xyb/ci
auto test
2019-11-17 11:15:23 +01:00
Xie Yanbo dc9821c0b8 auto test 2019-11-17 18:07:23 +08:00
Michał Zieliński 1f9726293b
Merge pull request #7 from xyb/fix00
fix: fixed length string with terminating character
2019-11-16 14:29:47 +01:00
Xie Yanbo f06f932669 fix: fixed length string with terminating character 2019-11-16 20:24:33 +08:00
Michał Zieliński 068b9822d3
Merge pull request #6 from xyb/prefix
iterating with special prefix or range
2019-11-16 13:21:54 +01:00
Xie Yanbo 9d67cd79c8 fix: stop iter if prefix not matched 2019-11-16 19:35:02 +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
Michał Zieliński 051b3aeda4
Merge pull request #5 from xyb/client
add command line tool and bump verion to 0.3.0
2019-11-10 19:25:29 +01: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
Michał Zieliński 0a7d73d7f8
Merge pull request #3 from xyb/pkg
nimble package
2019-11-10 12:13:26 +01:00
Xie Yanbo 90d176e0fa nimble package 2019-11-10 11:32:48 +08:00
Michał Zieliński b9c39010d7
Merge pull request #2 from xyb/test
add tests and upgrade leveldb to 1.22
2019-11-09 09:09:20 +01:00
Xie Yanbo ba4f8cd3b4 add tests; add version and removeDb procedures 2019-11-09 11:52:46 +08:00
Xie Yanbo 388514f895 upgrade leveldb to 1.22 2019-11-09 11:51:57 +08:00
Michał Zieliński 1912de2319
Merge pull request #1 from xyb/iter
add delete and iter procedures
2019-11-06 17:09:52 +01:00
Xie Yanbo 62b30097b6 add delete and iter procedures 2019-11-06 23:50:55 +08:00
Michał Zieliński 15895a2dba Merge branch 'master' of github.com:zielmicha/leveldb.nim 2016-05-17 21:31:41 +02:00
Michał Zieliński 18dd19a1fd Initial commit 2016-05-17 21:31:18 +02:00
Michał Zieliński d1554676d7 first commit 2016-05-17 21:28:34 +02:00