Commit Graph

17 Commits

Author SHA1 Message Date
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