Commit Graph

398 Commits

Author SHA1 Message Date
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
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
Blake Watters
8f1e3012f8 Add parameter assertions when initializing an RKResponseMapperOperation 2012-09-09 18:23:32 -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
e393236c43 Add context to the logs at the trace level 2012-09-09 12:35:32 -04:00
Blake Watters
5688c4d2ee Header updates work in progress 2012-09-09 12:35:08 -04:00
Blake Watters
125f123068 Header docs for request and response descriptors 2012-09-09 11:29:45 -04:00
Blake Watters
ba7904632d Add Header logging when log level is Trace 2012-09-09 11:23:09 -04:00
Blake Watters
565248ca88 requestForRouteNamed: -> requestWithPathForRouteNamed: 2012-09-07 11:47:11 -04:00
Blake Watters
8835d4bbbe Normalize routable object request primitives around the getObjectAtPath naming convention for consistency. Docs update. 2012-09-07 11:39:24 -04:00
Blake Watters
bed7779be4 Kill default mapping queue. Basic header docs for RKObjectManager 2012-09-06 11:48:31 -04:00
Blake Watters
6af117cd80 API consistency cleanup: multipartFormRequestForObject: -> multipartFormRequestWithObject: 2012-09-05 21:00:24 -04:00
Blake Watters
22a68baf0c Rework podspec to organize header file imports to match existing RestKit releases 2012-09-05 11:04:42 -04:00
Blake Watters
b1a2677937 Eliminate NSData and NSArray additions categories. Kill date formatter wrapper class 2012-09-04 21:43:37 -04:00
Blake Watters
627f6f5b7b Resource Path -> Path 2012-09-04 21:24:33 -04:00
Blake Watters
5ecb6cc589 Switch logging component to Network instead of ObjectMapping 2012-09-04 13:14:59 -04:00
Blake Watters
e0d5b6e690 Change comment to reference mapping instead of serializing to disambiguate 2012-09-04 13:14:38 -04:00
Blake Watters
10377d0a70 Overhaul RKParser API's for clarity and simplicity:
* Adds support for NSJSONSerialization. closes #476
* Renames RKParser to RKSerialization
* Renames RKParserRegistry to RKMIMETypeSerialization
* Rework serialization implementations API's to use class methods
* Fold together string and regular expression matching for MIME Type registrations
* Port serialization implementations to working off of NSData instead of NSString. refs #762
* Migrate JSONKit to being an optional component. See https://github.com/RestKit/RKJSONKitSerialization
2012-09-04 13:07:31 -04:00
Blake Watters
a74b8717dc Pulling out RKURL in favor of vanilla NSURL 2012-09-03 17:07:09 -04: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