Commit Graph

20 Commits

Author SHA1 Message Date
Richard Ramos 044c4a9021 Uncomment prepared statements execution 2020-11-17 17:15:00 -06:00
Michael Bradley, Jr a306430824 refactor: various adjustments made in process of refactoring this repo's integration in nim-status 2020-11-17 15:14:57 -06:00
Michael Bradley, Jr 96c9d37940 refactor: adjust Makefile, etc. so that static/shared lib linking works as expected
Clean up logic, variables, etc. in the Makefile and related files.

Bump nimterop and sqlcipher in `vendor/` to latest versions.

In addition to tests on GitHub Actions, manually test all static/shared
combinations on Linux, macOS, and Windows. Also, for each combination check
locally that a separately compiled `sqlite3` cli *cannot* read
e.g. `test/build/my.db` even with `PRAGMA key = '[password]';`. Likewise, check
that a separately compiled `sqlcipher` cli *can* read a database if and only if
the correct password is used, e.g. `PRAGMA key = 'qwerty';` for
`test/build/my.db`.
2020-11-12 14:03:37 -06:00
Michael Bradley, Jr 9c1180af08 refactor: guard against empty SSL_LDFAGS env var in .nimble proc 2020-10-22 18:09:31 -05:00
Michael Bradley, Jr 6f84b47de7 test: should build and test for SQLITE/SSL_STATIC default (=true) and =false
Refactor the Makefile as necessary.
2020-10-22 16:55:29 -05:00
Michael Bradley c51d1705ed
Merge pull request #2 from status-im/build/refactor-use-nimbus-build-system
refactor: adapt repo to use the nimbus-build-system
2020-10-20 11:27:48 -05:00
Michael Bradley, Jr 20d2843dfb
refactor: adapt repo to use the nimbus-build-system
An important aspect of this refactor is that a user of this library needs to
supply openssl with respect to building the `sqlite3.c` amalgamation and the
`sqlite.nim` wrapper.
2020-10-15 18:18:37 -05:00
Richard Ramos a2666a533d
Updating bindings file 2020-05-26 14:07:55 -04:00
Richard Ramos 9eddddc505
fix: bindings 2020-05-26 12:15:10 -04:00
Richard Ramos 238651016e
fix: deindent cCompile 2020-05-26 10:40:20 -04:00
Richard Ramos cd6c574fca
update README 2020-05-12 23:14:38 -04:00
Richard Ramos 6fbfdc7a5c
convenience api ft.2 2020-05-12 23:07:06 -04:00
Richard Ramos 910e4d4883
convenience api v1 2020-05-12 22:26:24 -04:00
Richard Ramos 881949b34b
fix: build process 2020-05-12 21:25:23 -04:00
RichΛrd 2f003bf941
Update README.md 2020-05-12 17:49:50 -04:00
Richard Ramos 9986a00dd5
fix: dynamic lib 2020-05-12 17:48:04 -04:00
Richard Ramos 95ca41016f
removing uneeded flag 2020-05-12 12:06:52 -04:00
Richard Ramos 70cc3cf049
fix: installFiles 2020-05-12 11:07:07 -04:00
Richard Ramos 0dd2f4ddb0
Initial commit 2020-05-12 10:50:43 -04:00
RichΛrd f807d4a453
Initial commit 2020-05-12 07:58:03 -04:00