Commit Graph

26 Commits

Author SHA1 Message Date
Robbie Hanson
a40549ea18 Adding support for flushing internal cached sqlite pages.
There's a method to do this called sqlite3_db_release_memory. That is now exposed via the new YapDatabaseConnectionFlushMemoryFlags_Internal.
2015-06-28 16:25:27 -07:00
Robbie Hanson
3649d66c5b Fixing unit test - now uses semaphores to guarantee proper test, instead of making assumptions on sleeping & timing. 2015-06-05 18:47:00 -07:00
Robbie Hanson
dff790b281 The permittedTransactions API was really only meant for debugging. Using a macro to allow it to be disabled. 2014-10-08 10:49:23 -07:00
Robbie Hanson
65097c1015 Added permittedTransactions property. Allows for enforcement of desired behavior for dedicated connections. 2014-09-24 22:41:24 -07:00
Robbie Hanson
58c0a6b729 Removing setPrimitive methods, which have been fundamentally broken since the addition of extensions. Replacing them with advanced setObject methods that allow one to pass pre-serialized versions of the object and/or metadata. Also renaming the primitive accessors to use the new serializedObject / serializedMetadata terminology. Fixes issue #23 2014-09-08 21:38:12 -07:00
Robbie Hanson
78696a3dce Fixing compiler warnings in unit test code (shadowed variable warnings) 2014-05-13 15:22:05 -07:00
Robbie Hanson
282da09e2d Fixing compiler warnings in unit tests 2014-03-11 18:09:02 -07:00
Robbie Hanson
1663a5bdef Upgrading project to use XCTest 2014-03-11 18:02:14 -07:00
Robbie Hanson
273f6cf622 Updating unit test code to reflect updated API 2014-01-02 16:32:53 -08:00
Robbie Hanson
ead4707d12 Restoring some lost unit tests 2013-12-02 11:33:20 -08:00
Robbie Hanson
8fdea2dab0 Renaming all YapCollectionsDatabaseX classes to YapDatabaseX 2013-11-29 22:04:32 -08:00
Robbie Hanson
4572a3e593 MAJOR CHANGE : Dropping key/value datastore. The collection/key/value datastore will remain and become the new standard. 2013-11-29 20:19:29 -08:00
Robbie Hanson
08999c6fd5 Consolidating test files 2013-10-22 10:54:13 -07:00
Robbie Hanson
4a61e401a5 Improving unit tests 2013-09-17 15:43:38 -07:00
Robbie Hanson
36004caa62 Adding calls to super in Unit Tests. 2013-09-16 20:12:49 -07:00
Robbie Hanson
acce215cf0 The serializer & deserializer now take 'key' and 'collection, key' parameters. This makes it easier to customize the serialization & deserialization routines based on the key or collection. 2013-09-12 19:36:33 -07:00
Robbie Hanson
504fd01a16 Dropping Timestamp categories. They have been superseded by Views. 2013-07-17 16:51:47 -07:00
Robbie Hanson
ee3ce242a9 Added safety mechanism if database is updated mid enumeration (YapCollectionsDatabase) 2013-06-19 13:08:55 -07:00
Robbie Hanson
e2ab62fd1d Added safety mechanism if database is updated mid enumeration (YapDatabase) 2013-06-18 18:01:59 -07:00
Robbie Hanson
3cfea9575a Improving and standardizing method names. 2013-06-09 01:23:45 -07:00
Robbie Hanson
896820e0f2 Tweaking unit test: decreasing delay 2013-05-26 16:25:24 -07:00
Robbie Hanson
583100dfa5 Bug fix - issue causing cache(s) to get flushed inappropriately under certain circumstances 2013-03-26 19:41:47 -07:00
Robbie Hanson
6943a90f16 Updating unit tests 2013-03-21 18:04:15 -07:00
Robbie Hanson
6edea07151 Enabling extra test cases 2013-03-20 10:26:33 -07:00
Robbie Hanson
4017a1f30c Switching from NSTimeInterval (systemUptime) to simple uint64_t incremented variable for snapshot number. Faster to compare (int vs double), and faster to increment. 2013-03-16 18:24:10 -07:00
Robbie Hanson
a8239b9e23 Initial content push 2012-12-24 11:46:50 -06:00