Commit Graph

110 Commits

Author SHA1 Message Date
Xie Yanbo 6cf9f7f938 fix warning since nim 1.4.0 2021-02-08 17:06:50 +08:00
Xie Yanbo a6678b2688
supported since nim 1.4.0 (#25) 2021-02-03 13:19:14 +08:00
Xie Yanbo d488988aff
switch to CatchableError (#24) 2021-02-03 13:17:56 +08:00
Xie Yanbo e8a6d00e59
Merge pull request #21 from xyb/csizet
csize is deprecated in nim 1.2
2020-07-20 00:52:23 +08:00
Xie Yanbo 9709b0a905 csize is deprecated in nim 1.2 2020-07-20 00:46:37 +08:00
Xie Yanbo e4aa273ee3
Merge pull request #20 from xyb/doclink
add document link
2020-06-26 15:02:21 +08:00
Xie Yanbo 788fe7d7a6 add document link 2020-06-24 11:46:49 +08:00
Michał Zieliński c531156f45
Merge pull request #19 from zielmicha/try-github-pages
Fix document compilation and publishing features
2020-06-23 23:00:19 +02:00
Xie Yanbo 0314aa721e compile the documentation separately
Due to nimble bug https://github.com/nim-lang/Nim/issues/14281
2020-06-23 16:13:49 +08:00
Michał Zieliński 1816cf2d10
Merge pull request #18 from xyb/autodoc
using github actions to build documentation
2020-03-02 22:56:23 +01:00
Xie Yanbo 819f0e3bde using github actions to build documentation 2020-03-03 00:03:36 +08:00
Michał Zieliński fddd144390
Merge pull request #17 from xyb/doc
Add document
2020-03-01 09:41:25 +01:00
Xie Yanbo b08c66fe7f update readme 2020-02-29 14:08:20 +08:00
Xie Yanbo f6e2b444d2 add documentation 2020-02-27 20:38:12 +08:00
Xie Yanbo c2ca9d6715 asynchronous default 2020-02-27 20:34:18 +08:00
Xie Yanbo bd0e208256 add proc getOrDefault 2020-02-27 20:31:06 +08:00
Xie Yanbo 44c16e08c7 rename LevelDbBatch to LevelDbWriteBatch 2020-02-27 20:25:19 +08:00
Michał Zieliński 964d1b5069
Merge pull request #16 from xyb/changename
tool rename
2020-02-26 21:47:25 +01: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
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