Commit Graph

29 Commits

Author SHA1 Message Date
Michael Bradley, Jr c06110bc81 test: Windows PATH mod for running tests can be simplified with assumption of msys2 environment 2020-12-16 10:56:47 -06:00
Michael Bradley, Jr a0aeb39f7c ci: small adjustments to GitHub Actions workflow 2020-12-16 10:56:47 -06:00
umarcor 7810fd2924 ci: use msys2/setup-msys2 2020-12-16 10:54:09 -06:00
emizzle 799a3afe59 feat: generic query support
feat: db column name support
2020-11-26 12:02:58 +11:00
emizzle 9a5963b370 simplify conversion logic 2020-11-25 15:45:09 -06:00
emizzle eca1111a11 Add cases for converting bool from int and string 2020-11-25 15:45:09 -06:00
emizzle a8cd7c5c57 feat: handle bool option conversion 2020-11-25 15:45:09 -06:00
Michael Bradley, Jr 26d2d06b12 refactor: on Windows some paths passed via variables should be transformed with cygpath 2020-11-19 14:20:50 -06:00
Michael Bradley, Jr 7ee7cf2633 refactor: don't unnecessarily add entries to LD_LIBRARY_/PATH when running tests
For example, when static linking is used it's a better test that linking
happened and works as expected if `SSL_LIB_DIR`, etc. aren't added to
`LD_LIBRARY_/PATH`.
2020-11-19 09:39:34 -06:00
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