Blake Watters
2454d38dcc
Add PATCH method
2012-08-09 17:13:13 -04:00
Blake Watters
1463a7d2f8
Cleanup log warnings on OS X related to NSUInteger typedef differences (unsigned int vs unsigned long)
2012-08-07 09:58:30 -04:00
Blake Watters
cbed8ff466
Work around initWithBaseURL: warning by using local client variable
2012-08-06 16:44:23 -04:00
Blake Watters
232b3eb861
Implemented new search engine for managed objects.
2012-08-01 18:12:53 -04:00
Blake Watters
07aadeebdf
Reimplemented the managed object store, converted managed object seeder to importer, cleaned up test breakage.
2012-07-26 17:33:35 -04:00
Jawwad Ahmad
8183591ccd
Add DEPRECATED_ATTRIBUTE_MESSAGE for a few methods.
2012-07-26 17:04:47 -04:00
Blake Watters
6af38b8b6d
Obtain permanent object ID's for managed objects before sending via RKManagedObjectLoader
2012-07-17 16:26:21 -04:00
Blake Watters
b25a1833b3
Ported RestKit to using managed object contexts with concurrency types. Numerous cleanups and API updates.
2012-07-16 22:47:06 -04:00
Blake Watters
90354dce4b
Documentation for the new router. refs #779
2012-07-11 17:12:35 -04:00
Blake Watters
0f72fc7d9d
Fix warning due to invalid format string
2012-07-11 17:12:35 -04:00
Blake Watters
e56e7b3010
Add header documentation for RKRouter; add object parameter to named route URL generation
2012-07-11 17:11:41 -04:00
Blake Watters
739c57e186
Add Apache license to Router headers
2012-07-11 17:11:41 -04:00
Blake Watters
e4a65b53a2
Add new queue method for checking the queue for a request with a given URL
2012-07-11 17:06:39 -04:00
Blake Watters
a51f7ddc51
[REBASE] Cleaned up routing tests and dealloc
2012-07-11 17:01:32 -04:00
Blake Watters
fe9bfe59da
[REBASE] Rename Router -> RouteSet. Add new Router class for generating URL's from the routes.
2012-07-11 17:00:32 -04:00
Blake Watters
6c3b75039b
[REBASE ME] Refactored Router for simplicity, nearly done with design. Initial support for relationship loading from object manager.
2012-07-11 16:52:46 -04:00
Blake Watters
e3f461624f
Add unit tests for URLsByInterpolatingResourcePathWithObjects
2012-07-11 16:47:24 -04:00
Jawwad Ahmad
24b9358cd4
Added URLsByInterpolatingResourcePathWithObjects method.
2012-07-11 16:47:24 -04:00
Blake Watters
47347312fb
Do not emit didFinishLoading unless there is not a nextRequest
2012-07-11 16:46:31 -04:00
Blake Watters
ec6cdd1356
Migrate performSelectorOnMainThread and performSelectorInBackground invocations to GCD
2012-07-11 16:45:08 -04:00
Blake Watters
ffa2fc685e
Introduced named route support. refs #779
...
* Provides for the registration of route either by class and method or via symbolic name
* Changed routes representation from simple dictionary to RKRoute model
* Eliminated RKRouter as a protocol
* Migrated RKObjectRouter to Network layer and renamed to RKRouter
* Added router as property of RKClient, RKObjectManager now proxies access
2012-07-11 16:06:55 -04:00
Blake Watters
bc2bbbc77d
Fix warning due to invalid format string
2012-07-11 12:12:26 -04:00
Jawwad Ahmad
82f4630d36
Whitespace syntax cleanup. Refs #614
2012-07-11 10:41:38 -04:00
Jawwad Ahmad
7cbccfd322
Delete ivars that are already @synthesized. Refs #614 .
2012-07-11 10:34:29 -04:00
Blake Watters
5898b95d33
Simplified logic in cocoa-oauth by creating a single method for building NSURLRequests. Update RKRequest to leverage new API
2012-07-04 12:22:07 -04:00
Jawwad Ahmad
abb46c382c
Ensure the stars for all pointers belong to the variable rather than the type. Refs #614
2012-06-04 22:47:30 -04:00
Jawwad Ahmad
eaa5484b01
Placing opening braces on a new line for methods to match Apple convention. Refs #614
...
Used uncrustify's "nl_fdef_brace = add" option to detect issues.
2012-06-04 00:36:19 -04:00
Jawwad Ahmad
6d71b2d82b
Add missing space after comma. Refs #614
...
Used uncrustify's "sp_after_comma = add" option to detect issues.
2012-06-03 23:38:36 -04:00
Jawwad Ahmad
734b0350fe
Fix spacing issues identified by uncrustify's "sp_before_sparen = add" option. Refs #614
2012-06-03 23:27:41 -04:00
Jawwad Ahmad
746f31c26d
Fix issues identified by uncrustify's "sp_assign = add" option. Refs #614
2012-06-03 23:14:09 -04:00
Jawwad Ahmad
2cf60ffb86
Fix a few spacing issues. Refs #614
2012-06-03 22:51:00 -04:00
Jawwad Ahmad
086dceee66
Standardize to have space after @property. Refs #614
2012-06-03 22:36:35 -04:00
Blake Watters
9ca2ba2a3f
Clean up inconsistencies with 'cancelled' and 'cancel' to match Cocoa (isCancelled)
2012-05-21 18:11:15 -04:00
Blake Watters
e681b85be4
Eliminate duplication of request method to string logic in [RKRequest HTTPMethod]
2012-05-19 15:50:35 -04:00
Blake Watters
ada95e0281
Migrate RKResponse property from RKObjectLoader to RKRequest. refs #527
2012-05-18 20:05:25 -04:00
Blake Watters
489bb0423a
Fix static analyzer issues
2012-05-18 20:01:56 -04:00
Blake Watters
4105625776
Replace v0.9.4 references with 0.10.0
2012-05-18 18:05:41 -04:00
Blake Watters
016f13dad0
Convert all tabs to four spaces. refs #743
2012-05-17 18:10:59 -04:00
Blake Watters
fcb973056b
Cleanup trailing whitespace. refs #743
2012-05-17 18:00:16 -04:00
Blake Watters
ee30436ea6
Ensure managed object loader instances are finalized on failure to save managed object store. closes #721
2012-05-17 09:32:01 -04:00
Blake Watters
f46beb90d2
Guard RKRequestQueue containsRequest: with @synchronized. closes #690
2012-05-17 00:00:05 -04:00
Blake Watters
938304d542
Fixes to ensure failed requests are not resent. refs #628 , fixes #744 , closes #720
...
Additional changes and test coverage to handle the case of loading an invalid URL
or otherwise immediately encountering an error condition:
* Restores use of removeLoadingRequest: within the queue
* Updates fragile tests to ensure better coverage for error cases
* Sets isLoaded to YES during error callbacks to prevent duplicated dispatching
2012-05-16 23:50:43 -04:00
Boris Dušek
e932c31cde
Update RKObjectManager to observe changes to the reachability observer of
...
the underlying RKClient object. refs #717
2012-05-16 15:10:18 -04:00
Christopher Swasey
6351fd428f
Revert those calls to the nonexistent NSURL-originalPath method back to -path
2012-05-10 12:57:31 -04:00
Christopher Swasey
856854a66b
Merge in @theorm's additions to RKRequest, and re-vendor cocoa-oauth from our fork with @theorm's additions applied
2012-05-10 12:57:31 -04:00
Blake Watters
1f98cf432e
Fix crash during queued load of invalid URL. fixes #628
2012-05-03 21:50:37 -04:00
Blake Watters
4071fa9a32
Integrated support for configuring runLoopMode on a per request basis. closes #560
2012-04-17 21:28:48 -04:00
Marcus Brito
ea100b6aac
Add a RKRequest attribute to control redirect handling
...
The default behavior is the same as before, to follow redirects. If RKRequest.followRedirect is set to NO, then a redirect (301, 302, 307) response will not be followed, and the request processing will proceed using the current request only.
2012-04-17 21:16:32 -04:00
Sylvain Guillopé
46f668d7e9
Added support for connection:didReceiveResponse: to be forwarded from RKResponse through RKRequestDelegate
2012-04-17 20:57:52 -04:00
Blake Watters
fd9ee9952c
Add extern declaration to constants in RKRequestCache. fixes #649 , #652
2012-04-11 21:04:00 -04:00