Commit Graph

117 Commits

Author SHA1 Message Date
Robbie Hanson
c00b215fb9 Added support for encrypting the destinationFilePath when storing it to the database. Also fixed a few bugs in the YapDatabaseRelationship extension. And added quite a bit more unit test coverage for the extension. 2014-05-30 16:35:21 -07:00
Robbie Hanson
11f80b4318 Performance improvement for YapCollectionKey, and many related activities, especially consolidateRowChanges 2014-05-19 20:54:54 -07:00
Robbie Hanson
a95c0f430b Work in progress on YapDatabaseSearchResultsView 2014-05-16 18:04:00 -07:00
Robbie Hanson
8ae3f99569 Work in progress on YapDatabaseSearchResultsView 2014-05-15 19:27:52 -07:00
Robbie Hanson
084adbe33d Work in progress on YapDatabaseSearchResultsView 2014-05-15 18:52:51 -07:00
Robbie Hanson
ec93fb55eb Renaming a few methods: numberOfKeysInGroup -> numberOfItemsInGroup, numberOfKeysInAllGroups -> numberOfItemsInAllGroups. This name change matches the API in YapDatabaseViewMappings (also UICollectionView). The previous methods have been marked as deprecated. 2014-05-15 17:59:10 -07:00
Robbie Hanson
e95e33a2f0 Work in progress on YapDatabaseSearchResultsView 2014-05-15 17:35:51 -07:00
Robbie Hanson
467652c42d Work in progress 2014-05-14 17:33:26 -07:00
Robbie Hanson
ace283ce77 Merge branch 'master' into 2.5 2014-05-13 17:23:54 -07:00
Robbie Hanson
229dddf116 Updating relationship extension API to address several requests / shortcomings. The manual edge removal API has been improved, and proper documentation for it has been added. 2014-05-13 16:58:52 -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
0be3c2f3fc Adding a few more unit tests. 2014-04-29 16:52:20 -07:00
Robbie Hanson
316a9a2ce9 Bug fix for issue #59 - Relationship deletion rules not being followed correctly. Also added a unit test for the problem. 2014-03-14 16:09:27 -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
4c1397475a Bug fix: YapDatabaseFilteredView was not properly updated when its parentView changed groupingBlock or filteringBlock 2014-03-07 18:14:21 -08:00
Robbie Hanson
f22a2c99fb Adding unit tests for issue #54 2014-03-06 20:07:42 -08:00
Robbie Hanson
23c015407d Bug fix for YapDatabaseView change processing (get sectionChanges & rowChanges) when a flexible range is being used. Added associated unit tests to match. 2014-03-05 18:35:59 -08:00
Robbie Hanson
179aa0b328 Minor improvement to new unit test. Issue #52 2014-02-25 09:29:36 -08:00
Robbie Hanson
978a756bc5 Adding unit test for issue #52 2014-02-25 09:15:27 -08:00
Robbie Hanson
bdf8bcc1cb Merge branch 'sans-transform' into 2.4 2014-02-24 19:29:07 -08:00
Robbie Hanson
db18d6a55e Adding transaction parameter to YapDatabaseViewMappings group & sort block. Issue #41 2014-02-24 19:28:39 -08:00
Robbie Hanson
07a24ef74f Adding ability to change groupingBlock / sortingBlock of a view on-the-fly. 2014-02-20 18:26:55 -08:00
Robbie Hanson
1f233c06c0 Bug fix: Changing the filterBlock of a YapDatabaseFilteredView wasn't properly notifying extensions dependent upon it. 2014-02-18 18:54:09 -08:00
Robbie Hanson
bc3b8e90e4 Merge branch into 2.4
Resolved Conflicts:
	Testing/UnitTesting/TestYapDatabaseFilteredView.m
	YapDatabase/YapDatabase.m
2014-02-17 10:08:00 -08:00
Jon Nolen
dd8ae971e3 fixing deleting rows check, to make sure we are getting rows that may have been moved. 2014-02-12 15:23:31 -05:00
Jon Nolen
b057c78cf6 fixing autoconsolidation issues, updating groupname validation for modifiers 2014-02-12 14:52:14 -05:00
Jon Nolen
de5b8c2864 writing unit tests, handling dependencies, isReversed and rangeOptions differently. 2014-02-12 11:49:58 -05:00
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
0df1ff4d4d Changing YapDatabaseView from using an "int version" to a "NSString *versionTag". This allows for increased flexibility, and makes it easier to include information such as the current localization or configuration info.
Also converting YapDatabaseFilteredView to use the same terminology.
2014-02-09 16:00:12 -08:00
Robbie Hanson
4bb0e35cc1 Adding unit tests for automatic unregistration of extension dependencies 2014-02-07 15:22:25 -08:00
Robbie Hanson
56200bce7f Adding unit tests for automatic unregistration of extension dependencies 2014-02-07 15:14:20 -08:00
Robbie Hanson
71e32647a0 Working on YapDatabaseRelationship extension. Adding methods to manually manage graph edges. This is in addition to the YapDatabaseRelationshipNode protocol. 2014-01-09 20:18:23 -08:00
Robbie Hanson
ac559665cd Adding unit tests for YapDatabaseRelationship extension 2014-01-02 21:17:58 -08:00
Robbie Hanson
273f6cf622 Updating unit test code to reflect updated API 2014-01-02 16:32:53 -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
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