Commit Graph

1348 Commits

Author SHA1 Message Date
Blake Watters
ea0fe1eab6 Formatting cleanups 2012-09-12 21:23:09 -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
f636f8681a Fix warning 2012-09-12 21:16:24 -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
53e3b9bd47 Add Tasks for RKSerialization and RKManagedObjectCaching docs 2012-09-12 17:18:42 -04:00
Blake Watters
90cae722ec Add task markup for Core Data category comments 2012-09-12 16:44:31 -04:00
Blake Watters
9379875b95 Remove managed object store associated reference. This feels like an unnecessary API addition. 2012-09-12 16:31:16 -04:00
Blake Watters
3afc7c3501 Misc updates to RKTestFactory
* Add `objectFromFactory:properties:` this may deprecate `objectFromFactory:` in the future.
* Add `insertManagedObjectForEntityForName:inManagedObjectContext:withProperties:`. This helper method creates managed object instances in a given context (defaulting to the main queue context), sets its properties using an optional dictionary, and obtains a permanent `NSManagedObjectID` before returning. This is intended to reduce the boilerplate required to construct managed object factories.
2012-09-12 16:29: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
382f9f8ceb Kill use of delegate on dynamic mapping in favor of blocks and declarative matching 2012-09-11 18:36:26 -04:00
Blake Watters
ec8181dd78 Docs for URL-encoding functions 2012-09-11 18:13:39 -04:00
Blake Watters
8b91650917 Register the URL Encoded Serialization 2012-09-11 17:15:34 -04:00
Blake Watters
d2417e5263 Rename to RKURLEncodedSerialization for consistency 2012-09-11 17:05:07 -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
c1cb8c881d Migrate directory utilities to path utilities. Move Bundle category to Testing 2012-09-11 16:46:33 -04:00
Blake Watters
b5ea45c14c Add serialization for Form URL Encoding 2012-09-11 16:42:15 -04:00
Blake Watters
b94eb3af6e Eliminate legacy parentheses checking from RKPathMatcher 2012-09-11 11:56:49 -04:00
Blake Watters
7c6a4c33d4 Eliminate NSURL+RKAdditions from main codebase 2012-09-11 11:39:46 -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
216306722f Add support for no-cache header to require revalidation with the server. fixes #1465 2012-09-10 16:02:15 -04:00
Blake Watters
19cdce5eef Add request and response descriptors to Network.h 2012-09-10 14:55:20 -04:00
Blake Watters
743592b1ff Add license boilerplate; rev docs 2012-09-10 14:52:35 -04:00
Blake Watters
7f838a0f77 Add license boilerplate 2012-09-10 14:52:11 -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
24e82ee9d6 Drop deprecated URLEncodedString: 2012-09-10 09:42:51 -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
954fe6bf0b Add new HTTP utilities for working with dates. Borrowed from SDURLCache 2012-09-09 18:24:23 -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
046f8f7766 Drop double star from comment to prevent indexing by appledoc 2012-09-05 07:53:24 -04:00
Blake Watters
a549ccc5c4 Killing dictionaryWithKeysAndObjects: as Objective-C literals provides a nicer implementation 2012-09-04 22:16:26 -04:00