Commit Graph

531 Commits

Author SHA1 Message Date
Dmitry Shevchenko
2310b5111d Fixed a typo 2012-10-01 21:06:13 -05:00
Blake Watters
c10321751c Rename primaryManagedObjectContext to persistentStoreManagedObjectContext since nobody can keep its role straight 2012-09-30 22:47:26 -04:00
Blake Watters
5cae20aabc Add note about route types during batch operation creation 2012-09-30 19:53:24 -04:00
Blake Watters
2280674f5a Touch up docs for batched object request operations 2012-09-30 19:30:35 -04:00
Blake Watters
8c34f0996b Enable the response mapper to read the objectID from the targetObject if the target object ID is nil. 2012-09-30 19:30:35 -04:00
Jeff Arena
c301060ab8 Add APIs to RKObjectManager for use in firing batches of operations. 2012-09-30 13:43:12 -04:00
Dmitry Shevchenko
451a88bada Moved lost comment for RKAssociateBaseURLWithURL 2012-09-28 16:15:21 -05:00
Dmitry Shevchenko
a09e8ce4eb Associate base URL after query parameters 2012-09-28 16:13:07 -05: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
e591547d90 Cleanup RKPathMatcher initializers to start with pathMatcher so they are easier to guess for auto-complete. 2012-09-27 22:31:48 -04:00
Blake Watters
f5511c972e Improve method naming 2012-09-27 20:14:15 -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
82e4c1ba94 Docs for the baseURL association functions 2012-09-26 23:51:15 -04:00
Blake Watters
8b256ab418 Fix baseURL associated objects 2012-09-26 23:38:20 -04:00
Blake Watters
ee9ae20823 Add associated object from request URL to baseURL in order to workaround issues with NSURLRequest clobbering the baseURL 2012-09-26 22:46:32 -04:00
Blake Watters
098edd1fec Throw a build failure if not compiled with ARC (boosted from AFNetworking/AFNetworking#541) 2012-09-26 20:44:17 -04:00
Blake Watters
afd9d16419 Formatting cleanups 2012-09-26 20:35:29 -04:00
Blake Watters
cda18ec3e4 Use RKMIMESerialization for serializing parameters instead of passing through to AFHTTPClient 2012-09-26 20:34:40 -04:00
Blake Watters
39f78d2cac Fix build errors, warnings, and breakage on OS X 2012-09-25 21:28:58 -04:00
Blake Watters
235f5fc579 Fix all build errors in unit tests. Restore execution of core mapping tests. 2012-09-24 22:44:20 -04:00
Blake Watters
979854bf5a Fix crash 2012-09-24 18:22:51 -04:00
Blake Watters
fe391b1b47 Docs formatting on router 2012-09-24 13:51:33 -04:00
Blake Watters
b0be4596da Formatting cleanups 2012-09-24 13:37:54 -04:00
Blake Watters
43be066e0b Docs touch ups 2012-09-21 22:58:17 -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
7e816904ff Docs update. Eliminate mappingOperationFromObject: 2012-09-20 19:11:38 -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
04abcb8369 Define errorMessage as an informal protocol for returning error message representations rather than the description method. Document RKErrorMessage. 2012-09-20 08:12:30 -04:00
Blake Watters
3876263039 Document and clean up the RKMappingResult interface 2012-09-20 08:12:29 -04:00
Blake Watters
1d1424da73 Updates to ensure AFNetworking builds with reachability from static library target 2012-09-20 08:12:29 -04:00
Blake Watters
711d6e654d Docs formatting touch-ups 2012-09-19 13:33:36 -04:00
Blake Watters
eaad20eb66 Add RKStringFromNetworkReachabilityStatus function 2012-09-19 13:30:59 -04:00
Blake Watters
c090cbb430 Docs for RKManagedObjectRequestOperation 2012-09-18 15:54:36 -04:00
Blake Watters
32531bd993 Formatting tweaks 2012-09-18 15:54:36 -04:00
Jawwad Ahmad
e6e515d0c7 Use the return value of the merged dict for the params. Closes #938. 2012-09-18 15:52:54 -04:00
Jawwad Ahmad
bfbc345ee8 Rename RKDictionaryByReverseMergingDictionaryWithDictionary -> RKDictionaryByMergingDictionaryWithDictionary, since a reverse merge would imply that values in the 1st dictionary take priority whereas we want values in the 2nd dict to overwrite values in the 1st. Refs #938. 2012-09-18 15:24:50 -04:00
Blake Watters
b0f7c24745 Docs updates for object request operation. Extracted subclass only declarations into subclass header. 2012-09-16 13:42:44 -04:00
Blake Watters
b3c3493299 Fix formatting causing code block rendering in Appledoc 2012-09-16 13:42:43 -04:00
Jawwad Ahmad
0710d0faf2 Make baseURL and routeSet in RKRouter readonly and enforce initWithBaseURL: to be the designated initializer. 2012-09-15 12:34:39 -04:00
Jawwad Ahmad
2aaba1461a Align relationshipRoutes to use same filtering mechanics as classRoutes and namedRoutes. 2012-09-15 11:29:12 -04:00
Blake Watters
71e7de56e4 Docs in progress for RKObjectRequestOperation 2012-09-14 23:29:20 -04:00
Blake Watters
ef0462ec2a Appledoc warning fixes 2012-09-13 07:27:48 -04:00
Blake Watters
dfd10c4510 Formatting fixes and missing parameters 2012-09-13 07:05:59 -04:00
Blake Watters
194ee16a8e Docs for RKResponseMapperOperation 2012-09-12 23:35:30 -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
94cbbb46c0 Docs update 2012-09-12 21:19:52 -04:00