Blake Watters
f96fee87b6
Add a decent description method to the object request operations
2012-10-22 19:29:58 -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
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
f4bfdb389b
Add support for the registration of HTTP request operation subclasses on the manager to support easy customization of request operation handling. refs #997
2012-10-16 11:25:00 -04:00
Blake Watters
dc57e585a9
Use OS_OBJECT_USE_OBJC to conditionally compile dispatch retain/release based on compatibility with ARC of target compiler
2012-10-05 19:22:56 -04:00
Jeff Arena
fc36d69475
Fix error with local delete of managed object after performing a successful DELETE operation.
2012-10-02 11:00:20 -04:00
Jeff Arena
a88f58db55
Remove avoidsNetworkAccess property in favor of leveraging NSURLCache capabilities under the hood.
2012-09-28 13:41:28 -04:00
Blake Watters
adc1d178fa
Add cancellation API to RKObjectManager.
...
* Introduces `cancelAllObjectRequestOperationsWithMethod:pathPattern:`
* Make RKObjectRequestOperation cancel underlying request operation when cancelled
2012-09-27 22:33:19 -04:00
Blake Watters
fd16081797
Merge pull request #950 from aharren/feature/reboot-networking-layer
...
Use embedded variant of LibComponentLogging with prefix RK
2012-09-27 16:13:42 -07:00
Blake Watters
47965f361c
Disable the avoidsNetworkAccess flag by default
2012-09-27 17:04:11 -04:00
Arne Harren
bc7c65f03b
Switch to an embedded variant of LibComponentLogging with prefix RK
2012-09-27 21:47:36 +02:00
Blake Watters
458354484a
Fix null dereference static analyzer warnings
2012-09-27 11:47:30 -04:00
Blake Watters
6815ba6444
API refresh for mapping layer. Converted RKObjectMapper to RKMapperOperation. Expanded documentation.
2012-09-21 17:55:32 -04:00
Blake Watters
c88855614e
Export the RKErrorFromMappingResult function; eliminate dependence on RestKit.h header from RKResponseMapperOperation
2012-09-20 11:51:28 -04:00
Blake Watters
3714dd4a56
Unwind the unexpected behaviors in RKHTTPRequestOperation regarding Acceptable Content Types and Status Codes. Explicitly configure the needed types within RKObjectRequestOperation instead.
2012-09-12 21:21:46 -04:00
Blake Watters
b40e39813c
License boilerplate
2012-09-12 21:18:45 -04:00
Blake Watters
e84b7e06f1
Initialize the avoidsNetworkAccess optimization based on the cachePolicy of the request. closes #928
2012-09-12 18:14:46 -04:00
Blake Watters
0379806796
Setup a default managedObjectCache instance of RKFetchRequestManagedObjectCache
2012-09-10 12:41:57 -04:00
Blake Watters
40ed221edf
Merge branch 'fix/mem-leak' of https://github.com/diederich/RestKit into feature/reboot-networking-layer
2012-09-10 10:49:43 -04:00
Blake Watters
0c3f5fbc57
Log full cached response headers at Trace log level for debugging caching
2012-09-09 20:02:29 -04:00
Blake Watters
e5aed512a7
Add new optimization to permit RKObjectRequestOperation to avoid the network and use an existing cached response. Update initialization paths for RKObjectRequestOperation to work with requests instead of request operations.
2012-09-09 18:25:43 -04:00
Stephan Diederich
bdf03466d0
fix mem leak
...
release the retained dispatch queue in dealloc
2012-09-09 20:33:23 +02:00
Blake Watters
3eda5832cb
Migrating files between modules to better reflect logical grouping with AFNetworking in the mix
2012-09-03 16:51:13 -04:00