Commit Graph

14 Commits

Author SHA1 Message Date
Robbie Hanson
a19f0d29e4 Fixing a crash that was described in issue #399 but this time with protocolEdges instead of manualEdges. Added corresponding unit test as well. 2018-03-08 15:32:14 -07:00
Robbie Hanson
9cbc4a0132 Adding unit test for issue #399 & simplifying code 2017-11-24 19:15:22 -05:00
Robbie Hanson
b142d8b69d Adding unit test for issue #426 2017-11-24 18:16:20 -05:00
Robbie Hanson
0b1dba8ca8 YapDatabaseRelationship now uses NSURL-based file references. 2016-01-12 10:37:04 -08:00
Robbie Hanson
0751bfda14 Fixing enumeration within enumeration bug. Issue #255 2015-12-28 17:56:50 -08:00
Robbie Hanson
acc282b9ca Fixing Xcode-desktop project 2015-07-02 16:36:59 -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
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
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
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
1663a5bdef Upgrading project to use XCTest 2014-03-11 18:02:14 -07:00
Robbie Hanson
f22a2c99fb Adding unit tests for issue #54 2014-03-06 20:07:42 -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