Robbie Hanson
b3162bf4df
Fixing type signatures for YapMurmurHashData methods.
2015-07-02 14:19:06 -07:00
Robbie Hanson
fddd74a82d
Adding support for memory mapped I/O.
2015-06-30 19:06:50 -07:00
Robbie Hanson
a1920839e6
Fixing misspelled variable name: toalFrameCount -> totalFrameCount
2015-06-30 18:48:15 -07:00
Robbie Hanson
a40549ea18
Adding support for flushing internal cached sqlite pages.
...
There's a method to do this called sqlite3_db_release_memory. That is now exposed via the new YapDatabaseConnectionFlushMemoryFlags_Internal.
2015-06-28 16:25:27 -07:00
Robbie Hanson
e3e9797ee5
Bug fix for [YapDatabaseCloudKitTransaction populate]. Thanks Xcode 7 + generics.
2015-06-28 15:26:02 -07:00
Robbie Hanson
f56b485f64
Fixing recent unit tests to work with new YapDatabaseView grouping/sorting/filtering block signature.
2015-06-28 15:25:19 -07:00
Robbie Hanson
d6b1cb79ac
Merge branch 'master' into 2.7
2015-06-28 14:06:38 -07:00
Robbie Hanson
e0756f1a9c
Bumping podspec to v2.6.5
2015-06-27 17:49:44 -07:00
Robbie Hanson
6b91166a80
Improving Swift support within YapDatabaseQuery. Fixes issue #170
2015-06-27 17:28:31 -07:00
Robbie Hanson
03a02e87d4
Bug fix for YapDatabaseQuery: didn't properly handle empty arrays or multiple arrays in parameter list.
...
Now also supports NSNull in parameter list.
2015-06-27 16:22:01 -07:00
Robbie Hanson
c428950dd2
Decreasing default metadataCacheLimit to 250 (to match default objectCacheLimit)
2015-06-27 15:28:25 -07:00
Robbie Hanson
4d359dcdf0
Minor formatting fixes (no functional changes)
2015-06-27 15:08:13 -07:00
Robbie Hanson
82426acd8a
Adding unit tests for issue #186
2015-06-26 16:50:33 -07:00
Robbie Hanson
a9f4aa497f
Bug fix for issue #186 - Crash on replaceMetadata:forKey:inCollection with filtered views
2015-06-26 15:56:19 -07:00
Robbie Hanson
7a71ccfa54
Bug fix for issue #187 - Typo in some comments
2015-06-26 15:21:21 -07:00
Robbie Hanson
e15360be58
Merge branch 'snipsco-rtree-extension'
2015-06-26 14:50:56 -07:00
maelp
f4dd11fd39
Add comment about the storage precision of coordinates in r-tree
2015-06-22 11:14:03 +02:00
maelp
9f315a2e67
Add a RTreeIndex extension
2015-06-19 14:19:33 +02:00
Robbie Hanson
e51b06c6a2
Merge pull request #181 from chrisballinger/travis-ci
...
Add support for running tests on Travis-CI
2015-06-17 10:33:51 -07:00
Robbie Hanson
2d3a9ab394
Fixing warnings & error when YapDatabaseLoggingTechnique is disabled. Fixes issue #182
2015-06-12 15:14:08 -07:00
Chris Ballinger
90fc09257d
Travis: Use Xcode 6.3
2015-06-11 14:03:10 -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
a870ac0437
Merge branch 'xcodeproject' of https://github.com/dhardiman/YapDatabase into dhardiman-xcodeproject
2015-06-09 11:11:35 -07:00
Robbie Hanson
bcc2559f96
Minor fix for double-retain of strongSelf in checkpoint method.
...
This may have caused YapDatabase instances to stick around longer than needed during attempted deallocation. Addresses issue #40
2015-06-09 10:33:36 -07:00
Robbie Hanson
a224d78ab5
Changing a few "char *" variables to "const char *". (no functional changes)
2015-06-09 10:30:48 -07:00
Robbie Hanson
2d0584be50
Fixing bug in YapDatabaseRelationship extension.
...
If one attempted to enumerate edges that included a source or destination that wasn't yet inserted into the database, then the code would short-circuit & return no edges. This was despite the fact that YapDatabaseRelationship explicitly supports adding edges for source/destination nodes that haven't been inserted yet. This patches the bug, and includes corresponding unit tests.
See also: https://groups.google.com/forum/#!topic/yapdatabase/E7q0truTrp8
2015-06-05 18:52:43 -07:00
Robbie Hanson
3649d66c5b
Fixing unit test - now uses semaphores to guarantee proper test, instead of making assumptions on sleeping & timing.
2015-06-05 18:47:00 -07:00
Robbie Hanson
fbbc8b7863
Bug fix for CloudKitManager: It would sometimes fail to properly fetch the data from the server on a fresh app launch (first run after install).
2015-05-31 14:39:57 -07:00
Robbie Hanson
e6ccd9c623
Bug fix for issue #178 - EXC_BAD_INSTRUCTION crash when syncing for the first time
2015-05-31 14:31:18 -07:00
Dave Hardiman
fb1b558293
Remove private header from module
2015-05-27 11:25:59 +01:00
Dave Hardiman
7e2e3ceab3
Fix cocoalumberjack path
2015-05-26 16:36:34 +01:00
Dave Hardiman
38c737e019
Add universal framework target
2015-05-26 16:33:28 +01:00
Dave Hardiman
b78979ca2f
Add xcode project for dynamic framework
2015-05-26 16:32:03 +01:00
Chris Ballinger
412d7f1e43
Run OS X unit tests on Travis-CI
2015-05-14 17:10:07 -07:00
Robbie Hanson
192e165da8
Adding ability to set PRAGMA page_size of underlying sqlite database.
2015-05-14 14:58:13 -07:00
Robbie Hanson
d0920352d5
Changing YapCollectionKeyCreate to a macro. Better performance & fixes compiler issues.
2015-05-14 14:02:51 -07:00
Robbie Hanson
e4b239390d
Bumping podspec to v2.6.4
2015-05-13 18:52:06 -07:00
Robbie Hanson
4baf5f5d06
Adding notification for when a YapDatabase instance is deallocated, and thus has closed all references to the underlying sqlite files. Fixes issue #139
2015-05-13 18:40:21 -07:00
Robbie Hanson
ab78f558ec
Adding getters for the sqlite '-wal' & '-shm' file paths.
2015-05-13 18:13:04 -07:00
Robbie Hanson
bb2e4e6132
Removing a bunch of deprecated methods.
2015-05-13 18:01:59 -07:00
Robbie Hanson
1d29a79daf
Fixing podspec. Issue #172
2015-05-12 16:32:26 -07:00
Robbie Hanson
b32aae66b7
Bumping podspec to v2.6.3
2015-05-12 11:52:01 -07:00
Robbie Hanson
f93b8f95c6
Bug fix for issue #171 - Not passing options in init method
2015-05-11 17:14:32 -07:00
Robbie Hanson
5e6d7b2630
Bumping podspec version to 2.6.2
...
Also struggled to push the podspec to trunk. (It wouldn't lint either.) Had to make some compromises here just to get it pushed. Perhaps someone more knowledgable with podspec's can find a cleaner alternative.
2015-05-05 19:00:45 -07:00
Robbie Hanson
c12c600e8c
Merge branch 'master' of https://github.com/yapstudios/YapDatabase
2015-05-04 14:03:55 -07:00
Robbie Hanson
49ff0ad229
Allows a YapDatabase instance to be un-encrypted regardless of whether SQLCipher is present.
2015-05-04 14:03:49 -07:00
Robbie Hanson
01b674e8fb
Merge pull request #167 from ngocluu/bug-fixes
...
Bug fixes
2015-04-30 15:00:06 -05:00
Robbie Hanson
807c271fb9
Merge pull request #168 from Canis-UK/master
...
Nullability fixes for enumeration callback blocks.
2015-04-30 14:53:50 -05:00
Canis Lupus
aa59f3a701
Nullability fixes for enumeration callback blocks.
2015-04-29 18:19:37 +01:00
Ngoc Luu
e8efa8c322
Fix warning "-[NSKeyedUnarchiver initForReadingWithData:]: data is empty; did you forget to send -finishEncoding to the NSKeyedArchiver?"
2015-04-29 08:48:03 +07:00