Nico Prananta
3e0feff462
unit test skipInitialPopulationView for YDBView and YDBFilteredView
2015-01-09 11:27:10 +09:00
Robbie Hanson
d84938db27
Fixing Mac/Desktop Xcode project.
2014-11-24 15:22:36 -08:00
Robbie Hanson
f678c89ee2
Improving the documentation (and flexibility) of YapCache to allow it to be exposed to the outside world. (It's no longer internal/private. It can now be used in your projects if you want.)
2014-11-24 15:00:42 -08:00
Robbie Hanson
68bdb5b8db
Bug fix for issue #125 - View mapping notification bug. Unit tests added.
2014-11-14 18:21:24 -08:00
Robbie Hanson
e0d2e00ce1
Possible bug fix for issue #125 . Unit test added.
2014-11-05 18:13:38 -08:00
Robbie Hanson
e2ee3a348d
Bug fix for issue #128 - Flexible range minLength bug. (Unit tests added)
2014-11-05 12:27:01 -08:00
Robbie Hanson
ece9c86aa4
Merge pull request #120 from Tundaware/119-nsarray-query-parameters
...
Adds support for NSArray parameters to YapDatabaseQuery
2014-10-08 12:02:54 -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
fb89e8c77e
Improving benchmarking code to test readOnly transaction overhead when using a longLivedReadTransaction
2014-10-08 10:38:24 -07:00
George Cox
5701e64c60
Adds support for NSArray parameters to YapDatabaseQuery
...
Example:
[YapDatabaseQuery queryWithFormat:@"WHERE col IN (?)", anArray];
- Adds unit tests for YapDatabaseQuery
- Adds new unit test for YapDatabaseSecondaryIndex since it makes use of YapDatabaseQuery
Addresses issue #119
2014-10-06 23:28:49 -04: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
e3ff0dcb08
Updating YapDatabaseSecondaryIndex init API to work with Swift. (Similar to recent fixes for YapDatabaseView)
2014-10-01 15:19:01 -07:00
Robbie Hanson
154510f365
Restoring removed init methods in YapDatabaseFullTextSearch as deprecated.
2014-10-01 12:33:52 -07:00
Robbie Hanson
4d54895ffb
Updating YapDatabaseFullTextSearch init API to work with Swift. (Similar to recent fixes for YapDatabaseView)
2014-10-01 10:30:19 -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
65097c1015
Added permittedTransactions property. Allows for enforcement of desired behavior for dedicated connections.
2014-09-24 22:41:24 -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
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
d441af1a05
Adding YapWhitelistBlacklist class. This replaces primitive whitelist sets for things like options.allowedCollections.
2014-09-06 12:56:35 -07:00
Robbie Hanson
3bd290a99b
Adding ability to run VACUUM command (synchronously or asynchronously)
2014-08-26 16:49:23 -07:00
Robbie Hanson
e1b2e91f9a
Performance optimization for YapCache
2014-08-23 14:15:41 -07:00
Robbie Hanson
1b61108b6a
Bug fix: Invoking [YapDatabaseViewMappings updateWithTransaction] (rather than going through getSectionChanges:rowChanges:::) did not result in properly updating rangeOptions. Several unit tests added.
2014-08-21 11:48:16 -07:00
Robbie Hanson
dc544a5fa0
Bug fix for crash caused by YapDatabaseView - getSectionChanges:rowChanges:::. Bug recreated by removing all items from a view group, and using mappings with a flexible range. Corresponding unit test added.
2014-08-20 15:23:37 -07:00
Robbie Hanson
dc10016e6c
Bug fix for crash caused by YapDatabaseView - getSectionChanges:rowChanges:::. Bug recreated by removing all items from the database, and using mappings with a flexible range.
2014-08-19 08:26:15 -07:00
Robbie Hanson
fb96066543
Bug fix for issue #104
2014-08-12 08:57:45 -07:00
Robbie Hanson
e230dbcda5
Setting the "pragma journal_size_limit" to zero by default. This should result in the WAL file staying much smaller during continued heavy use of the database.
2014-08-08 13:42:36 -07:00
Robbie Hanson
59b79ae37e
Apparently "pragma synchronous" defaults to "full", and not "normal" as the documentation states. It also appears this needs to be set per-connection. None of this is very well documented in sqlite.
2014-08-04 17:16:34 -07:00
Robbie Hanson
ad4e173ae2
Fixing ambiguity in code that was causing unit test to occasionally fail.
2014-07-11 17:42:57 -07:00
Robbie Hanson
e14c8f00ac
Bug fix for issue #89 - potential infinite loop when using multiple ranges
2014-07-11 12:41:05 -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
e91b4aace9
Updating CocoaLumberjack to commit fe6824c675ede4ecc19ca1edd95b0c36e3cb245c. Fixes issue #82
2014-06-13 18:27:30 -07:00
Robbie Hanson
ab1ef7a5af
Updating code to match new NS_OPTIONS syntax.
2014-06-10 16:50:53 -07:00
Robbie Hanson
2fc6bcc85c
Memory optimization: allowing multiple YapDatabaseViewConnections to share a single immutable "state"
2014-06-10 15:51:39 -07:00
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
17732ebe7a
Adding allowedCollections options to YapDatabaseSecondaryIndex
2014-05-20 17:10:17 -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
8b19cb964a
Bug fix for issue #74 - shadowed variable warnings
2014-05-13 13:16:51 -07:00
Robbie Hanson
0be3c2f3fc
Adding a few more unit tests.
2014-04-29 16:52:20 -07:00
Robbie Hanson
eaf869e77f
Work in progress
2014-04-24 14:45:08 -07:00
Robbie Hanson
ec2699a1ff
Work in progress
2014-04-04 18:53:34 -07:00