Commit Graph

71 Commits

Author SHA1 Message Date
Nick Parker
edd12456f4 Bump compile/target SDK version to 33 2023-05-01 16:49:03 -04:00
Greyson Parrelli
3d4e3aa66d Improve error logging. 2023-05-01 16:49:03 -04:00
Nick Parker
c12cef94f3 Adjustments to UPGRADE_INDEX and assertions to get tests passing 2023-02-09 08:41:49 -06:00
vitorhugods
314c15fd86
test: use the new SupportHelper constructor 2023-02-07 21:12:15 -03:00
vitorhugods
1b2b3ce2d1
test: add tests covering SupportHelperTest 2023-02-07 21:00:52 -03:00
vitorhugods
f38c14512b
fix: syntax errors 2023-02-07 19:31:50 -03:00
Vitor Hugo Schwaab
a1f57803f2
fix: typo on SupportHelper 2023-01-25 17:33:09 +01:00
Vitor Hugo Schwaab
47d46dd25f
chore: keep compatibility with current published version 2023-01-25 17:19:11 +01:00
Vitor Hugo Schwaab
6a1cde5797
fix: don't recreate db on every migration when using SupportHelper 2023-01-25 16:41:45 +01:00
Nick Parker
454149c8c4 Remove application element from manifest, rename package 2023-01-12 08:27:53 -06:00
Nick Parker
9ce46d578b Update test for 4.5.3 release 2022-12-20 11:44:44 -06:00
Nick Parker
1835e6c8d0 Support onDowngrade, onOpen, and onConfigure in SupportHelper.
Issue raised here: https://github.com/sqlcipher/sqlcipher-android/issues/7
2022-11-11 09:16:48 -06:00
Nick Parker
6623565e17 Fix cipher_version test for 4.5.2 release 2022-11-11 09:16:01 -06:00
Nick Parker
bc7c96a6de Adjustments for publishing artifacts to Maven Central 2022-08-03 14:42:26 -05:00
Nick Parker
f6230adf57 Explicitly allow specifying WAL journal mode with SQLiteOpenHelper constructor 2022-06-16 12:33:50 -05:00
Nick Parker
5ce2aceb48 Adjust test to look for SQLCipher version 4.5.0 2021-10-15 15:45:21 -05:00
Nick Parker
429ade11cf Adjustment from merge of upstream changes from AndroidBindings 2021-10-06 15:38:21 -05:00
Nick Parker
e57448b1c9 Merge branch 'upstream' 2021-10-06 15:02:21 -05:00
Nick Parker
fae2c3eda3 Use 8 MB CursorWindow by default, adjustable with static methods on SQLiteCursor class 2021-10-01 15:35:54 -05:00
Nick Parker
e4c99d9935 Add test around illegal state exception when interfacing with a closed database 2021-09-22 12:10:12 -05:00
Nick Parker
df00753939 Output SQLCipher CFLAGS during build 2021-09-22 12:09:42 -05:00
Nick Parker
ac213a39f3 Include Android NDK version in README documentation 2021-08-31 14:29:48 -05:00
Nick Parker
27c2335ec7 Update to latest LTS version of NDK (23.0.7599858) 2021-08-31 09:25:09 -05:00
Nick Parker
9a99513683 Generate README.md from template file to avoid stale version numbers 2021-08-30 16:08:27 -05:00
Nick Parker
57bb6dbae0 Remove unused Gradle references 2021-08-30 15:03:08 -05:00
Nick Parker
ef6365dfec Add quotes around library version 2021-08-30 14:35:43 -05:00
Nick Parker
655c1e546c Work for publishing signed artifacts to local Maven repo, and Nexus repository 2021-08-27 16:50:49 -05:00
Nick Parker
0abc8f324e Adjust SQLCipherOpenHelper test 2021-08-27 16:49:24 -05:00
Nick Parker
f3dbb25708 Use static libcrypto instead of dynamic version 2021-08-27 16:48:55 -05:00
Nick Parker
d82a49e33f Create parent 'databases' directory if it doesn't exist 2021-08-27 14:18:58 -05:00
Nick Parker
82b4217b86 Running Support API (Room) tests in suite 2021-08-24 11:59:52 -05:00
Nick Parker
671a956e21 Initial work to bring the Support API to the library 2021-08-16 14:04:20 -05:00
Nick Parker
bfef48d76f Additional tests around rawExecSQL 2021-08-11 16:22:25 -05:00
Nick Parker
6494035b17 Add support for rawExecSQL, add tests for rawQuery binding, fts5, rtree, soundex, savepoint 2021-08-10 16:53:47 -05:00
Nick Parker
20a8f57163 Adjustment to test SQLCipher long running WAL scenario 2021-08-09 16:27:56 -05:00
Nick Parker
6bd194f279 Add SQLCipher tests for opening connections with passwords, migrations 2021-08-09 15:38:53 -05:00
Nick Parker
28edeed801 Remove initial opening with OPEN_READONLY when requested not writable for consistency with AOSP upstream 2021-08-05 17:08:00 -05:00
Nick Parker
1917acc574 Add import plaintext to SQLCipher database test 2021-08-05 11:32:03 -05:00
Nick Parker
ff7b782f42 Add cipher_compatibility test case 2021-08-05 11:31:21 -05:00
Nick Parker
821303c729 Add json test case 2021-08-05 11:30:12 -05:00
Nick Parker
cec6d4e1dc Adjust existing test cases for SQLCipher 2021-08-05 11:29:51 -05:00
Nick Parker
f921f0fa6a Support propagating WAL mode setting when database instance hasn't been created in SQLiteOpenHelper 2021-08-05 11:25:38 -05:00
Nick Parker
392dbdf5e2 Add Hamcrest test library 2021-08-05 11:23:41 -05:00
Nick Parker
9effb6d587 Add change password support on SQLiteDatabase 2021-07-26 16:12:02 -05:00
Nick Parker
ea4639fb70 Add support for executing rawQuery with Object varargs as binding parameters 2021-07-26 11:16:44 -05:00
Nick Parker
94d0a0d452 Adjust Android.mk to link dynamic OpenSSL, build libsqlcipher.so 2021-07-23 11:48:35 -05:00
Nick Parker
81f0921786 Prevent call to PRAGMA page_size when compiled with SQLITE_HAS_CODEC 2021-07-23 11:22:19 -05:00
Nick Parker
72e8e94433 Remove signal from executeForLong, not needed 2021-07-23 11:21:45 -05:00
Nick Parker
adb3313cfc Adjust empty byte array initialization, retriving bytes from string 2021-07-23 11:21:04 -05:00
Nick Parker
c2ef89e49f Adjust default SQLite page_size to 4096 (match upstream since 2016) 2021-07-23 11:20:17 -05:00