Robbie Hanson
c19cef115f
Refactoring YapDatabaseView code: Now the core underlying architecture is split into its own abstract base class. This will allow other view-based classes to be created easier.
2016-06-16 17:53:24 -07:00
Robbie Hanson
4a95f1cdc6
Removing deprecated method: findRangeInGroup:usingBlock:blockType:
2015-09-15 15:50:46 -07:00
Robbie Hanson
fe11e3d97d
Adding common YapDatabaseBlockType enum for all extensions to share.
2015-09-15 15:30:55 -07:00
Robbie Hanson
acc282b9ca
Fixing Xcode-desktop project
2015-07-02 16:36:59 -07:00
Robbie Hanson
f3c977d3d6
Adding "YapDatabaseReadTransaction *transaction" to parameter list for YapDatabaseView & YapDatabaseFilteredView blocks.
...
This allows for more flexibility when implementing your grouping/sorting/filtering blocks. That is, you can now use other objects (in the database), or even other extensions to assist you in the implementation logic.
2015-06-09 15:07:14 -07:00
Robbie Hanson
dabe7e6a46
Fixing implementation for nonPersistent views, and adding corresponding unit tests.
2015-01-14 11:36:59 -08:00
Nico Prananta
3e0feff462
unit test skipInitialPopulationView for YDBView and YDBFilteredView
2015-01-09 11:27:10 +09:00
Robbie Hanson
41c8e77e32
Fix for assertion crash in YapDatabaseView. Bug caused by recent commit. Unit test added.
2014-10-02 16:08:03 -07:00
Robbie Hanson
6b4dffe66d
Fixed an obscure bug in YapDatabaseView that may not properly remove a rowid if an item is inserted & deleted in the same transaction. Unit test added.
2014-09-30 18:53:44 -07:00
Robbie Hanson
db28cc46be
Simplifying the API for creating Views. Instead of passing a block & blockType, there is a new wrapper class that automatically sets the blockType for you. This also helps when using YDBViews in Swift. Addresses issue #91 .
2014-09-14 17:32:11 -07:00
Robbie Hanson
628e3b2e6c
API change: renamed method: unregisterExtension: -> unregisterExtensionWithName:
2014-06-30 16:14:07 -07:00
Robbie Hanson
4c99d5d049
Performance improvement for non-persistent (in-memory only) extensions. Also fixing bugs having to do with rollback of transactions, and associated block changes. Plus minor bug fixes for improved thread safety concerning property accessors in YapDatabaseView.
2014-06-30 15:07:47 -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
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
07a24ef74f
Adding ability to change groupingBlock / sortingBlock of a view on-the-fly.
2014-02-20 18:26:55 -08: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
273f6cf622
Updating unit test code to reflect updated API
2014-01-02 16:32:53 -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
823d2670cd
Updating unit tests to test both persistent and non-persistent views.
2013-10-14 18:35:36 -07:00
Robbie Hanson
a1c3c6a36a
Adding option for non-persistent (in-memory only) view.
2013-10-11 16:44:32 -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
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
54d25538a1
Improving unit test coverage for YapDatabaseView
2013-09-05 12:08:32 -07:00
Robbie Hanson
8fe39ef71b
Bug fix for mutation-during-enumeration protection
2013-07-18 11:49:47 -07:00
Robbie Hanson
3884b60167
Improving unit tests for mutation-during-enumeration protection
2013-07-18 11:21:37 -07:00
Robbie Hanson
bd350ea114
Added unit test for dropping a view
2013-07-18 10:54:55 -07:00
Robbie Hanson
3a90d8d879
Adding mutation-during-enumeration protection to YapDatabaseView
2013-07-17 18:29:22 -07:00
Robbie Hanson
504fd01a16
Dropping Timestamp categories. They have been superseded by Views.
2013-07-17 16:51:47 -07:00
Robbie Hanson
1fba34129e
Fixing view population bug. Adding unit test for view population.
2013-07-12 12:32:38 -07:00
Robbie Hanson
a44e7fc931
Adding more unit tests for YapDatabaseView
2013-07-10 18:58:46 -07:00
Robbie Hanson
38626adf35
Bug fixes, and added unit tests for YapCollectionsDatabaseView
2013-06-12 17:30:56 -07:00
Robbie Hanson
f4f83352cf
Working on YapCollectionsDatabaseView (not ready yet)
2013-06-08 17:11:42 -07:00
Robbie Hanson
4b38c80267
Adding enumeration methods to YapDatabaseView
2013-05-26 12:39:38 -07:00
Robbie Hanson
1cbdc8b1f9
Adding grouping/sorting by keys only
2013-05-25 20:15:37 -07:00
Robbie Hanson
d6e2832a85
Refactor to "extensions"
2013-05-23 18:11:12 -07:00
Robbie Hanson
5d6a77b165
Completed unit test for YapDatabaseView
2013-05-23 12:09:29 -07:00
Robbie Hanson
d2e3af3b24
Working on unit tests for YapDatabaseView
2013-05-22 17:43:04 -07:00
Robbie Hanson
0a704d824d
Project cleanup. Starting work on unit tests.
2013-05-22 12:09:37 -07:00