Commit Graph

133 Commits

Author SHA1 Message Date
Jon Nolen
3fde99e157 updating tests for dynamic group addition to mapping for happiest path... pending tests for making sure ranges, reverse, dependencies, and consolidations remain intact. 2014-02-11 16:09:06 -05:00
Jon Nolen
880019754e renaming more tests to describe test 2014-02-11 15:26:34 -05:00
Jon Nolen
3cfc97eeb8 reorganizing tests for view mappings. 2014-02-11 15:09:58 -05:00
Jon Nolen
e033891706 refactoring to smaller methods, conditionally updating groups only if needed. started renaming/reorganizing tests to make their intent more clear. 2014-02-11 14:41:17 -05:00
Robbie Hanson
4bb0e35cc1 Adding unit tests for automatic unregistration of extension dependencies 2014-02-07 15:22:25 -08:00
Robbie Hanson
ac473133b5 In YapDatabaseViewMappings, adding the ability to consolidate multiple groups into a single section. This can be done automatically using a threshold based upon the total number of items in the tableView. 2013-12-07 22:42:12 -08:00
Robbie Hanson
75cfbd0e32 A few small bug fixes, and some extra related unit tests 2013-12-04 23:14:41 -08:00
Robbie Hanson
ead4707d12 Restoring some lost unit tests 2013-12-02 11:33:20 -08:00
Robbie Hanson
278bfcef6c Fixing desktop build 2013-12-02 11:22:09 -08:00
Robbie Hanson
a15f3d413c Reorganizing file layout 2013-11-30 23:18:30 -08:00
Robbie Hanson
8c6b63972f Renaming YapAbstractDatabaseExtension to YapDatabaseExtension 2013-11-30 22:44:56 -08:00
Robbie Hanson
9549cbe0a1 Merging YapAbstractDatabase & YapDatabase (now that there is only a single subclass) 2013-11-30 22:07:26 -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
8b18e35b62 Adding ability to change filteringBlock on-the-fly, and get a corresponding diff to smoothly animate changes 2013-11-28 13:58:44 -08:00
Robbie Hanson
6bec3414fa Adding ability to change filteringBlock on-the-fly, and get a corresponding diff to smoothly animate changes 2013-11-28 12:04:50 -08:00
Robbie Hanson
2848f711dd Working on YapDatabaseFilteredView 2013-11-21 20:01:29 -08:00
Robbie Hanson
cbc03572a8 Adding methods to fetch the count of matching rows for a given query. 2013-11-07 16:23:17 -08:00
Robbie Hanson
8a68babb88 Re-organizing YapDatabaseViewMappings header to make it more understandable. Fixing bugs in getter methods in mappings due to isReversed option. Improving unit tests. 2013-10-31 16:28:39 -07:00
Robbie Hanson
08999c6fd5 Consolidating test files 2013-10-22 10:54:13 -07:00
Robbie Hanson
d2885ce6f4 Adding YapCollectionsDatabaseSecondaryIndex 2013-10-22 10:43:48 -07:00
Robbie Hanson
d0d3af6e67 Improving documentation 2013-10-22 10:43:27 -07:00
Robbie Hanson
590fb7935f Adding YapDatabaseSecondaryIndex extension 2013-10-21 17:06:59 -07:00
Robbie Hanson
4d23173223 Merge branch 2.1 into 2.2 2013-10-14 18:40:47 -07:00
Robbie Hanson
823d2670cd Updating unit tests to test both persistent and non-persistent views. 2013-10-14 18:35:36 -07:00
Robbie Hanson
624fe2c88f Adding the ability to set default configuration values for all new connections 2013-10-14 17:09:05 -07:00
Robbie Hanson
9aee378c93 Adding option for non-persistent (in-memory only) view (YapCollectionsDatabaseView) 2013-10-11 18:18:23 -07:00
Robbie Hanson
a1c3c6a36a Adding option for non-persistent (in-memory only) view. 2013-10-11 16:44:32 -07:00
Robbie Hanson
635283991a Adding benchmarks for YapCollectionsDatabase 2013-10-09 12:06:39 -07:00
Robbie Hanson
dddf05a015 Bug fix for YapCollectionsDatabase init method that takes a single sanitizer. Also a small optimization in the init methods to only create the default serializer/deserializer when it will be needed. 2013-10-07 17:44:08 -07:00
Robbie Hanson
2864e20363 Adding a connection pool to reduce the overhead of creating and destroying connections 2013-10-01 23:38:51 -07:00
Robbie Hanson
abd1300fef Fixing logging support for non-lumberjack techniques (NSLog & Disabled) 2013-09-25 14:35:40 -07:00
Robbie Hanson
f74984be80 Bug fix for touch methods in YapCollectionsDatabaseTransaction 2013-09-24 18:26:19 -07:00
Robbie Hanson
0eebec11af Adding the ability to touch items in the database. And internal changes to make it more explicit if an extension has made independent changes to the database file. 2013-09-24 08:51:31 -07:00
Robbie Hanson
52ffb89f4e Bug fix: read-write transactions that generated external change-sets, but not internal change-sets were being ignored. 2013-09-20 15:54:24 -07:00
Robbie Hanson
865d9bce06 Adding a method to find ranges within the View using a binary search algorithm. 2013-09-19 18:25:25 -07:00
Robbie Hanson
509dd41d02 Adding FullTextSearch extension to Xcode desktop project 2013-09-17 16:16:40 -07:00
Robbie Hanson
078801fbcb Adding YapCollectionsDatabaseFullTextSearch extension 2013-09-17 15:44:10 -07:00
Robbie Hanson
4a61e401a5 Improving unit tests 2013-09-17 15:43:38 -07:00
Robbie Hanson
ca66422685 Working on Full Text Search extension 2013-09-16 20:13:24 -07:00
Robbie Hanson
36004caa62 Adding calls to super in Unit Tests. 2013-09-16 20:12:49 -07:00
Robbie Hanson
dec71de856 Cleaning up AppDelegate 2013-09-16 20:12:05 -07:00
Robbie Hanson
06efe1dab8 Renaming a folder: View -> Views 2013-09-13 15:34:49 -07:00
Robbie Hanson
599d45868d Adding sanitizers to help safeguard for thread safety 2013-09-13 15:03:54 -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
32eab13bce Some generic debugging code (in AppDelegate) 2013-09-06 00:24:35 -07:00
Robbie Hanson
1338a5ccb5 Improving unit test coverage for YapCollectionsDatabaseView 2013-09-05 15:57:08 -07:00
Robbie Hanson
361a1acc3f Switching from generic NSMutableArray to dedicated page class to store int64_t rowId's. This should improve performance, and reduce the size of pages on disk. 2013-09-05 15:53:40 -07:00
Robbie Hanson
00da4ccb3e Adding generic debugging template to AppDelegate 2013-09-05 12:33:17 -07:00
Robbie Hanson
54d25538a1 Improving unit test coverage for YapDatabaseView 2013-09-05 12:08:32 -07:00