Commit Graph

517 Commits

Author SHA1 Message Date
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
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
3645d73312 Docs update for RKObjectManager 2012-09-12 10:28:42 -04:00
Blake Watters
1218decf3c Parameter docs for get/post/put/patch/delete object flavors 2012-09-12 09:51:23 -04:00
Blake Watters
f7527dc1d2 Router docs formatting 2012-09-12 09:22:21 -04:00
Blake Watters
0f2013d67b Docs formatting for RKRoute 2012-09-11 19:59:20 -04:00
Blake Watters
709c3d324b Drop category methods in favor of C functions for required functionality to reduce API size and avoids namespace conflicts 2012-09-11 16:48:18 -04:00
Blake Watters
1aec05c59e Use a reverse object enumerator when enumerating the fetch request blocks to allow blocks registered later to override earlier registrations 2012-09-10 19:11:05 -04:00
Blake Watters
c7bc76711d Add support for creating an NSMutableURLRequest for a relationship 2012-09-10 18:00:15 -04:00
Blake Watters
d0f14443f8 Fix warnings about missing assign property declarations 2012-09-10 14:51:54 -04:00
Blake Watters
27984265a7 Clean up issues instantiating managed vs unmanaged object request operations through the object manager. 2012-09-10 14:51:27 -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