Commit Graph

100 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
2fc6bcc85c Memory optimization: allowing multiple YapDatabaseViewConnections to share a single immutable "state" 2014-06-10 15:51:39 -07:00
Robbie Hanson
17732ebe7a Adding allowedCollections options to YapDatabaseSecondaryIndex 2014-05-20 17:10:17 -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
8b19cb964a Bug fix for issue #74 - shadowed variable warnings 2014-05-13 13:16:51 -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
Robbie Hanson
119f56ad22 Method stubs for YapDatabaseSearchResults (new extension in progress) 2014-04-02 15:48:20 -07:00
Robbie Hanson
33691cf541 Adding advanced configuration options. This includes configuration of PRAGMA synchronous option, and telling YapDatabase how to handle corrupt database files. Fixes issue #51 2014-03-26 16:26:55 -07:00
Robbie Hanson
4110c4e925 Renaming YapDatabaseDefaults class to YapDatabaseConnectionDefaults 2014-03-26 16:23:53 -07:00
Robbie Hanson
1663a5bdef Upgrading project to use XCTest 2014-03-11 18:02:14 -07:00
Robbie Hanson
6781ec626e Moving block type definitions to their own header file. 2014-02-11 19:58:33 -08:00
Robbie Hanson
e3fc1903e6 Moving block type definitions to their own header file. 2014-02-11 19:12:43 -08:00
Robbie Hanson
260a069ae2 Adding sanity check to secondary index registration. Will spit out a warning message if the setup has changed, but the version number didn’t. Only runs for debug compiles. Issue #29 2014-01-28 12:25:55 -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
97aad31bc4 Work in Progress 2014-01-02 16:26:52 -08:00
Robbie Hanson
4a6e4a262e Work in Progress 2013-12-19 12:51:38 -06:00
Robbie Hanson
a6b3c5f604 Work in Progress 2013-12-15 19:13:51 -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
2848f711dd Working on YapDatabaseFilteredView 2013-11-21 20:01:29 -08: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
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
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