Commit Graph

175 Commits

Author SHA1 Message Date
Fedor Indutny
01d99874a6 Omit features we don't use 2024-10-16 09:39:46 -07:00
Fedor Indutny
28d1929af0 Remove loadExtension method 2024-10-16 09:39:46 -07:00
Fedor Indutny
6439afa9d5 Revert all changes since v8.8.5 to reapply cleanly 2024-10-16 09:39:01 -07:00
Fedor Indutny
e64c401b72 Some further optimizations 2024-10-15 17:20:39 -07:00
Fedor Indutny
2f59f4f15b V8_HAS_LOCAL_VECTOR 2024-10-15 17:00:04 -07:00
Fedor Indutny
c418b73871 Update to sqlcipher 4.6.1 2024-08-20 19:18:35 -07:00
Fedor Indutnyy
1a19f1fc6a api: Database#signalTokenize() 2023-11-29 21:46:06 -08:00
Fedor Indutnyy
fe42144e18 deps: update tokenizer to 0.2.1 2023-02-10 10:53:49 -08:00
Fedor Indutnyy
2e432b0aad rename tokenizer to signal_tokenizer 2023-01-26 14:58:27 -08:00
Fedor Indutnyy
d4af9a32c1 test: rename 2023-01-25 20:05:41 -08:00
Fedor Indutnyy
ac7338ad39 src: use our custom icu_tokenizer 2023-01-25 19:36:39 -08:00
Fedor Indutnyy
dc255273fe lib: fix build on windows, better API name 2023-01-25 15:06:02 -08:00
Fedor Indutny
05a8cc2be6
lib: better tokenizer API 2023-01-25 14:15:29 -08:00
Fedor Indutnyy
4830a01ea6 fix minor style issue 2023-01-24 18:11:26 -08:00
Fedor Indutnyy
a2b01b922a feat: js tokenizer 2023-01-24 18:02:39 -08:00
Ryusei Yamaguchi
15652ad800
Fix virtual table limit offset (#873)
* Don't care limit and offset constraints of user-defined virtual tables

* Add a test case for #872
2022-10-12 10:36:44 -05:00
Joshua Wise
e9ee374077 fixed test 2022-01-18 20:15:14 -06:00
Joshua Wise
9f6050a562 implemented "nativeBinding" database option 2022-01-18 17:45:57 -06:00
Joshua Wise
539ff32b96 implemented statement.busy getter 2022-01-18 16:19:51 -06:00
Joshua Wise
b3169ef6d6 fixed bug in node 14 where empty buffers are bound as null 2021-07-19 00:13:37 -05:00
Joshua Wise
d094aac3f5 updated tests 2021-07-18 21:47:44 -05:00
Joshua Wise
2b8ad64bd3 edited comment 2021-05-12 23:52:15 -05:00
Joshua Wise
843026fe01 fixed bug in edge case 2021-05-12 23:46:33 -05:00
Joshua Wise
43dd2887b6 added test 2021-05-12 21:17:05 -05:00
Joshua Wise
a72acd5842 improved documentation, added tests, and micro-optimizations 2021-05-12 17:36:11 -05:00
Joshua Wise
0a0bc8b7f5 fixed test 2021-05-11 01:39:32 -05:00
Joshua Wise
9227a57de3 wrote tests for virtual tables 2021-05-11 01:05:54 -05:00
Joshua Wise
0ad86ca5e0 added directOnly option to db.aggregate() 2021-05-04 19:57:29 -05:00
Joshua Wise
260b854e47 added directOnly option to db.function() 2021-05-04 19:52:07 -05:00
Joshua Wise
dcb58cd070 implemented stmt.readonly property 2021-05-04 19:29:53 -05:00
Joshua Wise
405052f115 removed HAVE_USLEEP 2021-05-04 18:56:46 -05:00
Joshua Wise
e208564193 implemented db.serialize() and deserialization 2021-05-04 18:47:20 -05:00
Joshua Wise
61bb6cb842 made timing test even more lenient 2021-05-04 02:36:42 -05:00
Joshua Wise
a7db75c1ce made timing test more lenient 2021-05-04 02:33:39 -05:00
Joshua Wise
579e3b4b4b * added support for the RETURNING clause
* statements that return data can now be executed via .run()
2021-05-04 01:06:46 -05:00
Joshua Wise
e8057ec4ab fixed database subclassing 2021-04-14 17:53:42 -05:00
Joshua Wise
91561e4421 made timing test more lenient 2021-03-30 16:48:40 -05:00
Joshua Wise
23eff1ad52 added github sponsorship information 2020-04-25 10:20:05 -05:00
Joshua Wise
e64c01b5de clean up worker threads in tests 2020-04-25 09:49:22 -05:00
Joshua Wise
a8ee5a5962 added tests for unsafe mode and fixed bug 2020-04-25 09:14:52 -05:00
Joshua Wise
f7577c7d29 improved logging of db.exec() statements, and improved detection of multiple statements in db.prepare() 2020-04-23 15:01:12 -05:00
Joshua Wise
ccf0380679 removed "memory" option when opening new databases 2020-04-22 18:56:14 -05:00
Joshua Wise
94521dd185 removed db.checkpoint() method in favor of wal_checkpoint(RESTART) pragma 2020-04-22 12:05:52 -05:00
Joshua Wise
758665a3db dropped support for node versions < 10
removed the integer library in favor of bigints
added support for worker threads
enabled SQLITE_THREADSAFE=2
replaced native Require() calls with dependency injection
2020-04-21 20:53:31 -05:00
Joshua Wise
e9f27dfff2 updated docs 2020-01-07 14:05:18 -05:00
mrawdon
3dd996e10b Window test extension (#307)
* Export test extension for Windows

* Enabled integrity extension tests

Co-authored-by: Joshua Wise <JoshuaWise@users.noreply.github.com>
2020-01-07 13:57:38 -05:00
Joshua Wise
04e13e2585 added correct deploy key and cleaned up 2020-01-07 13:23:41 -05:00
Dan Barela
f889257db4 Prebuild
This adds prebuild support.  When the library is released from GitHub a travis build will run which builds the library for Node 8, 10 and 12, and Electron 2 - 7
2019-10-30 11:22:49 -06:00
Joshua Thomas Wise
2bbc1c15fd ignore timeout test in windows CI 2019-08-05 11:48:59 -04:00
Joshua Thomas Wise
41f675f2fd fixed fd leaks during tests 2019-08-05 11:30:11 -04:00