Commit Graph

  • 422768f6b1 Add support for dynamic nesting key serialization. closes #684 Blake Watters 2013-01-03 23:02:49 -05:00
  • 896eef1a1b Add test case for failure to load due to unsupported URL. refs #1122 Blake Watters 2013-01-03 22:06:26 -05:00
  • 1423f77a51 Add test case for failure to load due to invalid hostname. refs #1122 Blake Watters 2013-01-03 22:03:01 -05:00
  • c62e962d9d Add test verifying extra parameters are sent without a request descriptor. refs #1123 Blake Watters 2013-01-03 21:56:12 -05:00
  • 9005bd573c Add test coverage and fixes for RKMappingTest. closes #1086 Blake Watters 2013-01-03 18:19:50 -05:00
  • bf63a77bc1 Add support for parameterizing an array of objects. closes #398 Blake Watters 2013-01-03 11:10:43 -05:00
  • 38a190b7c0 Merge pull request #1120 from jeanregisser/bump_afnetworking_version Blake Watters 2013-01-02 10:56:21 -08:00
  • 688ef760f4 Bumped AFNetworking to 1.1.0 Jean Regisser 2013-01-02 19:49:02 +01:00
  • c06347d5c5 Add support for customizing the HTTP request operation class used by RKPaginator. closes #1067 Blake Watters 2013-01-02 00:27:40 -05:00
  • 879ffd73e6 Add support for deleting Core Data managed objects that fail validation out of the mapping context. This enables you to silently drop mapping for managed objects that fail validation. fixes #691 closes #694 Blake Watters 2013-01-01 23:56:58 -05:00
  • a30263b196 Fix issues with using the Paginator as documented in the headers. fixes #1117 Blake Watters 2013-01-01 22:38:18 -05:00
  • c08909761e Adjust completion block implementation for RKPaginator to enable completion block to be invoked when used without a strong reference. fixes #1119 fixes #1093 Blake Watters 2013-01-01 22:21:47 -05:00
  • 28887d3384 Add support for deletion of mapped objects by predicate. closes #1109 Blake Watters 2013-01-01 15:26:36 -05:00
  • 9dc08ca27b Drop instancetype from init methods since the compiler will infer it Blake Watters 2013-01-01 13:12:21 -05:00
  • a03191c291 Add support for skipping an aggregate relationship mapping in the event that the parent representation does not contain any values for the property mappings of the concrete RKObjectMapping configured for the relationship. fixes #1114, closes #1115 Blake Watters 2012-12-31 17:33:41 -05:00
  • d024a518a4 Fix broken dynamic mapping test Blake Watters 2012-12-31 15:26:44 -05:00
  • b93fe1f7c9 Restore cycle detection and cleanup visitor codebase further Blake Watters 2012-12-31 14:50:32 -05:00
  • 1d27679ee3 Clean up the nasty mess in the visitor code and fix flaws in implementation of algorithm. Still some test breakage and additional coverage to put down Blake Watters 2012-12-31 14:39:37 -05:00
  • 9a128b678c Fix issues with refetching results using visitation Blake Watters 2012-12-30 22:54:09 -05:00
  • 312b382f25 Add test and fix for invalid key path exceptions with dynamic mappings. refs #1111 Blake Watters 2012-12-30 00:01:50 -05:00
  • b23ea410a8 Add support and test for inversing a mapping containing attributes mapped with nil destination key paths. fixes #1116 Blake Watters 2012-12-29 22:13:12 -05:00
  • 5a20e54de7 Replace [NSNull null] in examples with nil to match current API Blake Watters 2012-12-29 20:32:12 -05:00
  • 6493282772 Rework implementation of managed object deletion and refetching to use the refreshed visitor implementation. refs #1111, #1113 Blake Watters 2012-12-28 13:47:13 -05:00
  • 84c6822d25 Implement Tarjan's algorithm to efficiently traverse the RKResponseDescriptors within the RKManagedObjectRequestOperation and compute the key paths to all managed objects. refs #1113, refs #1112 Blake Watters 2012-12-28 00:29:27 -05:00
  • 5c21e52829 Update Dynamic Mapping API's to match the rest of the 0.20.x style. Introduce support for predicate based dynamic matching. Blake Watters 2012-12-27 22:12:40 -05:00
  • bbfec220ed Fix logging issues with error method Jeff Arena 2012-12-27 16:47:24 -05:00
  • 7745f17d90 Add temporary workaround for crashes related to ambiguous key paths in the deletion support. refs #1111 Blake Watters 2012-12-27 15:11:51 -05:00
  • 84bc16c9f4 Merge branch 'release/0.20.0-pre5' into development Blake Watters 2012-12-26 20:29:28 -05:00
  • 9103b9b7df Merge branch 'release/0.20.0-pre5' v0.20.0-pre5 Blake Watters 2012-12-26 20:29:18 -05:00
  • baa9f62b6e Set Podspec to point at pre5 Blake Watters 2012-12-26 20:27:58 -05:00
  • 26fc8dd61f Claw back performance lost due to addition of External Binary Storage to the Unit Testing model Blake Watters 2012-12-26 20:23:44 -05:00
  • 12938622a8 Another subscripted access stragler Blake Watters 2012-12-26 19:30:22 -05:00
  • 379269010f Fix additional usage of subscript access in dictionary merge routine Blake Watters 2012-12-26 19:18:59 -05:00
  • 62aa987d17 Fix another instance of subscripted access Blake Watters 2012-12-26 19:17:05 -05:00
  • 92458a1e88 Enable support for mapping a relationship flexibly via assignment policies. You can now map a relationship and assign its value by setting, replacing, or unioning (combining) the relationship. closes #1073, closes #989 Blake Watters 2012-12-26 17:56:39 -05:00
  • b858f2753f Grow up support for mapping to primitives by avoiding crashes due to null conversions. fixes #1043, fixes #741, fixes #703 Blake Watters 2012-12-26 14:40:59 -05:00
  • 8d1db8c3a1 Add type transformation verifying nested keypath type transformations work as expected. closes #912 Blake Watters 2012-12-26 11:03:34 -05:00
  • 7d63ca36ac Improve relationship connection behaviors when all connection attributes resolve to nil. Add logic for skipping the connection entirely. refs #1099 Blake Watters 2012-12-26 10:53:16 -05:00
  • d1568cad63 Add support for mapping singular values to collections. fixes #1046 Blake Watters 2012-12-26 00:20:56 -05:00
  • 4b2b7dbe4c Add support for skipping relationship connections if all connection attributes evaluate to nil. Add support for establishing connections when some connection attributes evaluate to nil. fixes #1099 closes #1102 Blake Watters 2012-12-25 23:53:01 -05:00
  • aecc1db352 Add support, tests, and documentation for the deletion of External Storage directory when an instance of RKManagedObjectStore is reset. closes #677 Blake Watters 2012-12-25 14:50:13 -05:00
  • 285b75ea2a Eliminate connection matchers in favor of source and destination predicates. closes #1105 Blake Watters 2012-12-24 18:29:00 -05:00
  • ea304c5ec4 Update test to run against local test server instead of restkit.org Blake Watters 2012-12-24 18:00:20 -05:00
  • 78e55c90a2 Merge branch 'feature/1105-connection-matchers' of github.com:cfis/RestKit into cfis-feature/1105-connection-matchers Blake Watters 2012-12-24 17:58:24 -05:00
  • b3899ac191 Add support for mapping a relationship directly from the parent object representation, rather than at a nested key path. closes #859 Blake Watters 2012-12-24 16:18:39 -05:00
  • a67bb48ece Reimplement connection matchers and add test case. Charlie Savage 2012-12-23 21:58:59 -07:00
  • 065557e74b Introduce a locking scheme for the RKManagedObjectCache to completely prevent duplicate objects from being created when multiple RKManagedObjectRequestOperation instances share a cache. refs #1079 bugfix/1079-race-conditions-cache-locking Blake Watters 2012-12-23 17:53:12 -05:00
  • bc719087ac Intelligently set the targetObject by exploring the mapping graph in appropriateObjectRequestOperationWithObject: to better support cases in which you POST/PUT one object, but map back another. fixes #1081 Blake Watters 2012-12-23 00:26:33 -05:00
  • 0a033596da Relax the use of use an the informal procotol for the errorMessage property in favor of the description method. closes #1104, closes #1087, closes #1095 Blake Watters 2012-12-22 19:03:30 -05:00
  • 7984d4f2ac Reimplement inverseMapping so that it no longer sucks. fixes #864, #1058 Blake Watters 2012-12-22 16:36:55 -05:00
  • b78deb3eed Use instancetype in constructors for increased subclassing friendliness Blake Watters 2012-12-22 14:54:49 -05:00
  • 929cd44bd7 Undo previous paginator change. Instead, pass a reference to the operation queue from the RKObjectManager to any Paginator objects constructed through the manager. refs #1076 Blake Watters 2012-12-21 16:00:43 -05:00
  • 0f02687224 Fixing broken links on the README and preparing pages for docs refresh Blake Watters 2012-12-21 15:49:25 -05:00
  • 913b8a1b9e Initialize RKPaginator with an operation queue. This avoids deadlocks when working with RKManagedObjectRequestOperation instances bound to the main thread. This is a workaround to deal with object request operations being non-concurrent and executing in the calling thread context. refs #1076 Blake Watters 2012-12-21 14:11:05 -05:00
  • 3c84765d4f Add explicit configuration instructions for Core Data to the README.md. refs #1101 Blake Watters 2012-12-21 13:29:18 -05:00
  • 0fc1cbe271 Add explicit configuration instructions for Core Data to the README.md. refs #1101 Blake Watters 2012-12-21 13:29:18 -05:00
  • dc16dc7e8f Change to future date test spec Jeff Arena 2012-12-21 11:03:36 -05:00
  • 0cc9ce671e Improve the error messages for failure to match any key paths in the mapper Blake Watters 2012-12-20 22:16:42 -05:00
  • e748238a5b More explicit installation directions William Barksdale 2012-12-20 11:13:17 -05:00
  • d8de417bad Merge pull request #1096 from wbarksdale/patch-1 Blake Watters 2012-12-20 18:06:39 -08:00
  • 953431a71a Clean up registration of the bundled MIME Type implementations. refs #1097 Blake Watters 2012-12-20 19:01:49 -05:00
  • fccfd7724f Add truncation example code to the resetPersistentStores block Blake Watters 2012-12-20 18:59:14 -05:00
  • 7fcfa8f94f More explicit installation directions William Barksdale 2012-12-20 11:13:17 -05:00
  • ef038aed73 Add a unit test for concurrent mapping of managed object request operations targetting the same unique Core Data objects. closes #1079 Blake Watters 2012-12-19 23:02:52 -05:00
  • 408072f733 Add support and tests for inferring entity identifiers from superentity user info. closes #954 Blake Watters 2012-12-19 22:21:09 -05:00
  • 0a28ecb507 Add optional support for connecting to subentities. fixes #1059 Blake Watters 2012-12-19 18:32:03 -05:00
  • 5258328a39 Future date test Jeff Arena 2012-12-19 18:30:24 -05:00
  • 43cab3dc6c Add test case for mapping a future date string Jeff Arena 2012-12-19 17:03:02 -05:00
  • 939f45bf64 Add note about escaping path patterns to the main RKObjectManager.h header docs. refs #1091 Blake Watters 2012-12-19 15:51:38 -05:00
  • 477d04b9a9 Add support for logging the elapsed time. Guard against attempts to log non-HTTP request operations. Blake Watters 2012-12-19 13:35:28 -05:00
  • 862e84a515 Hook the RKManagedObjectMappingOperationDataSource into the Managed Object Context save lifecycle to avoid the creation of duplicate objects during sequential mapping operations Blake Watters 2012-12-18 22:00:35 -05:00
  • 97b60e64b1 Set AFNetworking headers to Public for OS X Framework target Blake Watters 2012-12-17 22:08:18 -05:00
  • 9f228e0280 Expand test coverage on managed object deletion cases and fix bugs. closes #358 Blake Watters 2012-12-16 20:45:01 -05:00
  • b6a94de68a Remove extraneous assert on deletion case Blake Watters 2012-12-16 13:01:31 -05:00
  • dc92a6dd90 Set tag to pre4 in Podspec Blake Watters 2012-12-15 17:28:28 -05:00
  • 00835540aa Merge branch 'master' of github.com:RestKit/RestKit Blake Watters 2012-12-15 17:27:14 -05:00
  • 0bfebc1d7c Bump VERSION to pre5 for development Blake Watters 2012-12-15 17:18:23 -05:00
  • 122eba82b4 Merge branch 'release/0.20.0-pre4' into development Blake Watters 2012-12-15 17:17:54 -05:00
  • 3331ff1197 Merge branch 'release/0.20.0-pre4' v0.20.0-pre4 Blake Watters 2012-12-15 17:17:41 -05:00
  • 753d7961ac Set version identifier in Podspec instead of :branch Blake Watters 2012-12-15 17:09:21 -05:00
  • d3609e3cec Fix typo in Podfile Blake Watters 2012-12-15 17:05:34 -05:00
  • e1adb8134c Add OS X platform install note to CocoaPod Blake Watters 2012-12-15 13:14:55 -05:00
  • e4b7c2bd91 Set explicit deployment targets for RKSearchExample and RKMacOSX. refs #1077 Blake Watters 2012-12-14 18:22:52 -05:00
  • 6299b22cc4 Fix breakage in Twitter example running under iOS 5.x. fixes #1077 Blake Watters 2012-12-14 18:22:28 -05:00
  • 5f589bab2f Set deployment target to iOS 5. refs #1077 Blake Watters 2012-12-14 13:14:21 -05:00
  • 8405ce5a04 Set deployment target to 6.0 for RKTwitterCoreData Blake Watters 2012-12-14 08:04:30 -05:00
  • c75a05a754 Fix usage of subscript access in RKHTTPRequestOperation.m refs #1077 Blake Watters 2012-12-14 07:55:06 -05:00
  • a424908242 Expand test coverage and fix all known issues with managed object refetching and deletion. closes #1066 Blake Watters 2012-12-13 22:42:34 -05:00
  • 406504ff2e Skip orphaned object deletion if the 304 optimization is in effect. Update log messages during orphaned object cleanup Blake Watters 2012-12-13 19:00:01 -05:00
  • a9a1c3dc48 Don't crash when encountering nil in the mapping results dictionary Blake Watters 2012-12-13 18:12:50 -05:00
  • abd07043f3 Output a string representation of the HTTP status code in the HTTP operation log. Add RKStringFromStatusCode convenience method to the HTTP utilities Blake Watters 2012-12-13 17:52:51 -05:00
  • 280fd5d571 Fix crashes during refetch if objects were deleted. Expand managed object deletion support to handle nested objects. refs #1066 Blake Watters 2012-12-13 17:35:39 -05:00
  • 1289e769ac Add some organization to the RKMappingOperationDelegate headers Blake Watters 2012-12-13 16:03:45 -05:00
  • 0e5a7b836d Fix references to private Git repos in Podfile Blake Watters 2012-12-12 21:49:21 -05:00
  • a471bdd8a3 Add support for refetching NSManagedObject instances mapped at any point in the object graph. refs #1066 Blake Watters 2012-12-12 20:47:14 -05:00
  • 69c65ef8ab Override error implementation to correct the NSLocalizedDescription key for RKHTTPRequestOperation objects. fixes #1070 Blake Watters 2012-12-11 23:12:20 -05:00
  • 138bbddfcd Switch the default date formatter to ISO-8601. closes #1069, refs #1010 Blake Watters 2012-12-11 21:51:53 -05:00
  • ae6b58d7bc Add support for parameterizing NSSet. refs #1010 Blake Watters 2012-12-11 21:31:40 -05:00
  • b9457ce65c Remove RKObjectManager specific value for the 'Accept' header and configure the header directly on the HTTP client instead. Register the AFJSONRequestOperation class in managerWithBaseURL:. Update documentation. Blake Watters 2012-12-11 21:24:22 -05:00
  • f51a711a15 Add test coverage and bug fix for mapping error while processing an error response with RKObjectResponseMapperOperation. closes #1064 Blake Watters 2012-12-11 09:00:57 -05:00