Commit Graph

354 Commits

Author SHA1 Message Date
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
Blake Watters
e67848439c Migrate to NSData based parsing/serialization. Slim down RKObjectSerializer and rename to RKObjectParameters. refs #762 2012-09-03 16:23:22 -04:00
Blake Watters
cb624080b2 Removing legacy serialization code 2012-09-03 16:19:00 -04:00
Jawwad Ahmad
8cbdb5f7ed Trailing whitespace cleanup from files in the Code directory.
Used the following command from within the Code dir:
git ls-files *.m *.h *.json | xargs /usr/bin/sed -i '' -E 's/[[:space:]]*$//'
2012-09-02 12:51:45 -04:00
Jawwad Ahmad
c70ab49457 Delete @synthesize statements that are no longer needed. (Works with current 4.4.1 release of Xcode). 2012-09-02 12:28:45 -04:00
Blake Watters
dfec6b8615 Migrate the category fix macros into RKMacros.h 2012-08-31 17:47:44 -04:00
Blake Watters
fe3b710e9a Add RK prefix to module header files to disambiguate on import from CocoaPods 2012-08-28 21:01:07 -04:00
Blake Watters
9f825d7394 Drop dead URLEncoding category 2012-08-28 20:55:54 -04:00
Blake Watters
ce6b0829e4 Convert RestKit to ARC 2012-08-28 17:34:58 -04:00
Blake Watters
d36aa3291d Drop RestKit networking layer in favor of AFNetworking 2012-08-28 16:17:57 -04:00
Blake Watters
117dae867b Remove Deprecations section and begin unwinding RKURL API's 2012-08-23 16:05:12 -04:00
Blake Watters
ea03674164 Merge branch 'feature/managed-object-contexts' into development 2012-08-15 20:56:32 -04:00
Blake Watters
37c70e4c27 Migrate path utilities to C functions instead of encapsulating into static methods on RKDirectory to reduce API size 2012-08-14 09:57:27 -04:00
Blake Watters
99207dd69c Add method to description for named route 2012-08-10 14:18:42 -04:00
Blake Watters
48cb6dfa45 Rename request method <-> string functions to be more idiomatic 2012-08-10 14:04:51 -04:00
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
b4bf671edd Allow removal of HTTP headers by passing nil 2012-07-13 15:10:00 -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