Commit Graph

2074 Commits

Author SHA1 Message Date
Blake Watters
29fecfd8bc Drop GG prefix in examples in header 2012-10-27 16:20:55 -04:00
Blake Watters
d2dc222766 FIx inappropriate use of __block when we mean __weak 2012-10-27 10:25:14 -04:00
Blake Watters
a484af05f5 Update logger to display basic info about an input stream used to send a request instead of wrongly logging request.body=(null) 2012-10-25 13:18:01 -04:00
Blake Watters
4d5d76671c Modernize and restore all example projects. closes #1007 2012-10-25 10:07:15 -04:00
Blake Watters
9ef8be412e Update docs to include note about setHTTPOperationClass: 2012-10-25 10:07:14 -04:00
Blake Watters
19046ba58d Add notes about installation failures due to Git version 2012-10-24 15:30:24 -04:00
Jeff Arena
37ae82c695 Add additional default date formatter to handle rails dates. 2012-10-24 13:23:54 -04:00
Blake Watters
b4b8a45b08 Restore progress logging for synchronous indexing 2012-10-23 18:44:14 -04:00
Blake Watters
4a79ab6b68 Conditionalize log message regarding awaiting execution of connection operations and move to Trace logging level 2012-10-23 11:18:45 -04:00
Blake Watters
ad95514d89 Fix invalid example NSLog in README.md 2012-10-23 10:01:11 -04:00
Blake Watters
dccff97644 Add support for cancelling in progress indexing operations 2012-10-22 19:33:08 -04:00
Blake Watters
dfc27be911 Cancel response mapping operations during tear down 2012-10-22 19:31:30 -04:00
Blake Watters
f96fee87b6 Add a decent description method to the object request operations 2012-10-22 19:29:58 -04:00
Blake Watters
ae52a10955 Change invalid addAttributeMapping: reference to correct addPropertyMapping:` in README.md 2012-10-22 16:39:10 -04:00
Blake Watters
79c854b1bd Added assertion and cancellation hardening within the Search Indexer 2012-10-22 16:07:32 -04:00
Blake Watters
a267f5ac71 Drop extraneous space between class and object address in property description 2012-10-21 16:16:04 -04:00
Blake Watters
117fcbb18c Fix horrible bugs in previous commit 2012-10-21 15:58:03 -04:00
Blake Watters
f93a044561 Add error condition when attempting to map an RKEntityMapping containing connection mappings with a nil managed object cache.
* Add support for the data source to fail mapping operation with an error.
* Clean up error handling within RKMappingOperation
2012-10-21 15:47:16 -04:00
Blake Watters
ef46ff2d1d Add assertion that gives the developer a hint of how to fix an attempt to add an array of attribute mappings that already exist in another mapping 2012-10-20 17:43:49 -04:00
Christopher Swasey
3ca889fd28 Fix a bug in previous commit 2012-10-20 17:02:35 -04:00
Blake Watters
63c9a9e4a0 Fix bug in which relationship connection operations are not enqueued for RKMappingOperation instances whose mapping is an RKDynamicMapping 2012-10-20 16:53:14 -04:00
Jeff Arena
b3adc29535 Add support for connection mappings to the RKManagedObjectImporter. 2012-10-20 14:38:27 -04:00
Blake Watters
7bed7b6f03 Update stubbing routines for fetch requests to support copying of fetch request blocks that require parameters to construct a matching URL 2012-10-20 13:21:23 -04:00
Blake Watters
c7ce86e9ac Improve docs on success/failure blocks 2012-10-20 10:51:49 -04:00
Blake Watters
08110ca300 Implement support for cancellation and prioritization of response mapping operations using an operation queue global to all object request operations.
* Passes through cancellation from object request operation to HTTP request operation and response mapping operation. closes #993
* Performs all object mapping within an NSOperationQueue to enable constraining of mapping activities.
* Add default mapping queue with concurrency limit of 1 operation.
* Migrate deserialization of the response body into a serial dispatch queue to ensure that only one parse occurs at a time.
2012-10-20 00:13:48 -04:00
Blake Watters
0738f59231 Added assertion to trap very nasty Core Data mapping error in which existingObjectWithID:error: returns an object in another context, indicating that the object graph has been poisoned, most likely by obtaining a permanent managed object ID from the wrong context. 2012-10-19 17:53:09 -04:00
Blake Watters
639897dd67 Refactored relationship mapping implementation to make it easier to follow and debug 2012-10-19 17:53:09 -04:00
Blake Watters
7d0c8651ff Add global __RESTKIT__ define for aiding conditional compilation 2012-10-19 17:53:08 -04:00
Blake Watters
316d2c1316 Improve assertion error message 2012-10-18 17:19:48 -04:00
Blake Watters
e748e5bfce Don't throw an exception if doing a simple attribute mapping with a nil data source. closes #1005 2012-10-18 15:17:57 -04:00
Blake Watters
f69c2976e2 Fix bug with dynamic parameterization when the concrete mapping includes a date.
Instead of relying on reference to the RKMapping, which could be dynamic, traverse from the attribute mapping back to its parent to obtain the appropraite date formatter.
2012-10-18 14:38:36 -04:00
Blake Watters
5684f7ab89 Add objectMapping identity attribute on RKPropertyMapping to allow one to traverse the mapping graph from an attribute/relationship back to the parent mapping 2012-10-18 14:37:52 -04:00
Blake Watters
df55f0e524 Enable support for testing dynamic mappings with RKMappingTest 2012-10-18 14:09:00 -04:00
Blake Watters
e8b4cdd19c DRY up find or create of destination object within the mapping operation and change nil destination object to an error condition instead of an assertion. 2012-10-18 14:06:46 -04:00
Blake Watters
f5ed351a89 Remove dead delegate 2012-10-18 12:18:45 -04:00
Blake Watters
1f3f2646b5 Port a few test cases to Expecta syntax 2012-10-18 12:14:34 -04:00
Blake Watters
fb6db948e1 Implement support for using dynamic mapping during parameterization with a Request Descriptor. closes #684 2012-10-18 12:14:16 -04:00
Blake Watters
384ff80845 Add support for spinning the Network Activity Indicator while object request operations are executing. Add notifications for tracking object request operation lifecycle. 2012-10-17 22:35:13 -04:00
Blake Watters
68cebc96af Added convenience function for getting a fetch request from an array of fetch request blocks 2012-10-17 22:34:09 -04:00
Blake Watters
feb998ea84 Added support for truncating the length of logged request and response bodies via the 'RKLogMaxLength' environment variable to avoid getting hammered with output on the Trace level 2012-10-17 22:33:31 -04:00
Blake Watters
330e63a2d2 Add test coverage for default value of savesToPersistentStore attributes. closes #1000 2012-10-17 17:49:08 -04:00
Blake Watters
f2bc809502 Update to reflect change to designated initializer in superclass preventing the appropriate default value for savesToPersistentStore: to be set. refs #1000 2012-10-17 17:08:31 -04:00
Blake Watters
20c4121644 Improve logging when mapping a null relationship value. refs #862 2012-10-16 20:50:35 -04:00
Blake Watters
9d617c6c7b Add support for disconnecting relationships when mapping a related keypath whose value is equal to [NSNull null]. fixes #862 2012-10-16 20:48:27 -04:00
Jeff Arena
53f4105e57 Split out simple and keyPath attribute mappings to allow relationship mappings to run before keyPath mappings. 2012-10-16 18:07:36 -04:00
Blake Watters
8f086e204d Update README.md to link to new 0.20.x visual install guide 2012-10-16 17:22:45 -04:00
Blake Watters
387f1a12ea Update submodule installation image to include AFNetworking submodule initialization 2012-10-16 16:56:18 -04:00
Blake Watters
f86bfae761 Kill long dead docs 2012-10-16 16:55:56 -04:00
Blake Watters
58f0f4f428 Switch b1 podspec version to 0.20.0dev to align with VERSION 2012-10-16 13:34:56 -04:00
Blake Watters
bc50e95036 Fix invalid references to requestOperation. refs #997 2012-10-16 11:59:39 -04:00