Gwendal Roué
|
a7266e38c4
|
Issue #51: Database.close() logs when sqlite_close() fails
|
2016-05-17 20:30:50 +02:00 |
|
Gwendal Roué
|
c1169f0d2c
|
Issue #51: Restore statement caching, now that the database is closed in the correct queue.
|
2016-05-17 20:08:55 +02:00 |
|
Gwendal Roué
|
c13ac87a5b
|
Database.primaryKey(): work around an SQLite bug
|
2016-05-17 19:40:17 +02:00 |
|
Gwendal Roué
|
d5367fc2b2
|
Issue #51: Perform Database.close() in the correct queue
|
2016-05-17 19:03:07 +02:00 |
|
Gwendal Roué
|
6f779faa05
|
Documentation
|
2016-05-17 13:45:39 +02:00 |
|
Gwendal Roué
|
82fa559962
|
Issue #51: sqlite3_close_v2() is not available until iOS 8.2 and OS X 10.10. Until then, use sqlite3_close(), and avoid caching statements. Disable the concurrency tests that check database deallocation while some statements are running.
|
2016-05-17 13:39:29 +02:00 |
|
Gwendal Roué
|
84929771be
|
RowAdapter initial implementation
|
2016-05-13 11:30:44 +02:00 |
|
Gwendal Roué
|
1201f4e008
|
FetchedRecordsController: replace delegate with callbacks
|
2016-05-10 14:16:13 +02:00 |
|
Gwendal Roué
|
10d20748ad
|
SQLITE_FULL, SQLITE_IOERR, SQLITE_BUSY, and SQLITE_NOMEM errors can mean that a transaction has been automatically rollbacked: update isInsideTransaction flag accordingly.
|
2016-05-09 20:52:36 +02:00 |
|
Gwendal Roué
|
fe5ef03bc8
|
A failed COMMIT is repaired with a ROLLBACK
|
2016-05-09 20:17:30 +02:00 |
|
Gwendal Roué
|
e1bb98ec94
|
Less TODO
|
2016-05-08 19:49:34 +02:00 |
|
Gwendal Roué
|
db86ceca0e
|
Tests that when Database is deallocated, there is no remaining busy update statement.
|
2016-05-07 13:18:50 +02:00 |
|
Gwendal Roué
|
a54b0389ae
|
Remove sharing of cached statements between database pool readers
|
2016-05-07 13:17:45 +02:00 |
|
Gwendal Roué
|
6c826b6ecf
|
Statement: don’t store sql string, and use sqlite3_sql instead. Plus some cleanup.
|
2016-05-07 11:57:35 +02:00 |
|
Gwendal Roué
|
8e864b9df4
|
Use sqlite3_close_v2, and check its result
|
2016-05-07 11:37:33 +02:00 |
|
Gwendal Roué
|
6e0837325c
|
Documentation
|
2016-05-07 11:34:24 +02:00 |
|
Gwendal Roué
|
b237df4b6d
|
Use sqlite3_close_v2
|
2016-05-07 11:34:18 +02:00 |
|
Gwendal Roué
|
96f8a57f44
|
minor
|
2016-05-07 09:50:55 +02:00 |
|
Gwendal Roué
|
a0ecab10ac
|
Cleanup
|
2016-05-06 13:30:40 +02:00 |
|
Gwendal Roué
|
565f627429
|
Reimplement ReadWriteBox with GCD
|
2016-05-06 13:01:28 +02:00 |
|
Gwendal Roué
|
ef4f483a9e
|
Typo
|
2016-05-06 12:35:47 +02:00 |
|
Gwendal Roué
|
92538de969
|
Remove useless warnings in the documentation of DatabaseReader.backup(to:)
GRBD serializes uses of writer connections: it’s useless to warn the user against using a database during a backup.
|
2016-05-05 15:37:41 +02:00 |
|
Gwendal Roué
|
fbb59d2d6c
|
DatabaseReader.backup(to:)
|
2016-05-05 15:24:14 +02:00 |
|
Gwendal Roué
|
03debbf434
|
Documentation
|
2016-05-05 13:51:27 +02:00 |
|
Gwendal Roué
|
f93b029b82
|
TODO
|
2016-04-26 08:49:27 +02:00 |
|
Gwendal Roué
|
000bd1b200
|
Database.isInsideTransaction
|
2016-04-23 09:56:47 +02:00 |
|
Gwendal Roué
|
6550454d1e
|
Replace DatabaseChanges with Database.lastInsertedRowID and Database.changesCount
|
2016-04-20 21:58:58 +02:00 |
|
Gwendal Roué
|
992c63480d
|
DatabasePool uses PRAGMA synchronous = NORMAL
As advised by https://www.sqlite.org/pragma.html#pragma_synchronous
|
2016-04-15 06:24:18 +02:00 |
|
Gwendal Roué
|
bf7fdd68f2
|
Typo
|
2016-04-13 09:09:54 +02:00 |
|
Gwendal Roué
|
1136d367c7
|
Code organization
|
2016-04-13 08:59:32 +02:00 |
|
Gwendal Roué
|
30f4744199
|
Remove dead code
|
2016-04-08 13:13:21 +02:00 |
|
Gwendal Roué
|
4bcff181c7
|
Back to block-based database accesses.
Rationale: https://medium.com/@gwendal.roue/four-different-ways-to-handle-sqlite-concurrency-db3bcc74d00e
|
2016-04-08 08:29:58 +02:00 |
|
Gwendal Roué
|
023d757964
|
Attempt to fix CocoaPods
|
2016-04-05 08:53:02 +02:00 |
|
Gwendal Roué
|
9ef1c70eb2
|
Encryption documentation
|
2016-04-05 06:55:29 +02:00 |
|
Gwendal Roué
|
f868d3eead
|
changePassphrase()
|
2016-04-05 05:51:19 +02:00 |
|
Gwendal Roué
|
9f6c5ccccb
|
Fix availability attributes of localizedCapitalizedString, etc. Restore iOS7 compatibility.
|
2016-04-03 22:22:06 +02:00 |
|
Gwendal Roué
|
eabacfafb2
|
Encryption tests
|
2016-04-03 20:39:20 +02:00 |
|
Gwendal Roué
|
2ec2e85679
|
Passing tests for encrypted databases
|
2016-04-03 18:42:31 +02:00 |
|
Gwendal Roué
|
20a16de9de
|
DatabaseWriter.setKey() and reKey()
|
2016-04-03 17:58:03 +02:00 |
|
Gwendal Roué
|
e3d8c06ad0
|
Refactor tests so that DatabasePool can be configured at the target level. We are preparing tests for encrypted databases.
|
2016-04-03 16:55:04 +02:00 |
|
Gwendal Roué
|
7e3563f64b
|
Refactor tests so that DatabaseQueue can be configured at the target level. We are preparing tests for encrypted databases.
|
2016-04-03 16:20:45 +02:00 |
|
Gwendal Roué
|
0473d232ed
|
Tests for GRDBOSX, GRDBiOS, and GRDBCipherOSX (without encryption)
|
2016-04-03 14:04:04 +02:00 |
|
Gwendal Roué
|
3e0fcc4b87
|
New GRDBCipherOSX target + tests
|
2016-04-03 11:40:34 +02:00 |
|
Gwendal Roué
|
2fb1d6f731
|
setupMemoryManagement() documentation
|
2016-03-31 16:37:55 +02:00 |
|
Gwendal Roué
|
ef299acbe8
|
Memory management is not automatic when GRDB is built for iOS, but easier.
|
2016-03-31 16:26:07 +02:00 |
|
Gwendal Roué
|
005c4ded24
|
Memory management is automatic when GRDB is built for iOS
|
2016-03-31 14:26:59 +02:00 |
|
Gwendal Roué
|
06095ec343
|
Fix #37
|
2016-03-31 10:27:12 +02:00 |
|
Gwendal Roué
|
7b5088b921
|
DatabaseWriter documentation
|
2016-03-29 13:10:11 +02:00 |
|
Gwendal Roué
|
d53c7f5d2d
|
DatabaseWriter documentation
|
2016-03-29 09:08:32 +02:00 |
|
Gwendal Roué
|
efdc6053ff
|
FetchedRecordsController: fix concurrency bug
|
2016-03-29 08:53:55 +02:00 |
|