Commit Graph

1091 Commits

Author SHA1 Message Date
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
Blake Watters
f16d995053 Remove unnecessary initializer and syntehsized ivars from RKMappingTest 2012-09-02 18:41:20 -04:00
Jawwad Ahmad
285586a5b5 Some code formatting cleanup. 2012-09-02 13:15:14 -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
Jawwad Ahmad
b2a0da7ce1 Fix a few ARC errors that only appear in Xcode 4.4 and not in 4.5 2012-09-02 12:22:53 -04:00
Blake Watters
9c9126c6ce Adds support for establishing Core Data Relationship connections using keyPath in addition to fetches across the object graph. refs #913 2012-08-31 17:48:07 -04:00
Blake Watters
dfec6b8615 Migrate the category fix macros into RKMacros.h 2012-08-31 17:47:44 -04:00
Blake Watters
8ebe249d8a Remove RKBenchmark from RKSupport header 2012-08-31 17:47:44 -04:00
Blake Watters
2cf16be6cb Add support for performing object mapping with type transformations across relationships defined with keyPaths 2012-08-31 17:47:44 -04:00
Blake Watters
a59ced28a5 Fix crash when performing an import with a nil keyPath mapping 2012-08-31 17:47:44 -04:00
Blake Watters
48802c09da Primary Key predicate associated object should be set non-atomically 2012-08-31 17:47:44 -04:00
Blake Watters
33df114c01 Eliminate NSClassFromString handling for NSOrderedSet since we target iOS 5.0+ now 2012-08-31 17:47:44 -04:00
Blake Watters
fb8c182f95 Moving several classes out to new RKExtras repository 2012-08-31 17:47:44 -04:00
Jawwad Ahmad
6f2db23566 Add NSAssert to check the self.mutablePropertyMappings variable. 2012-08-30 18:56:33 -04:00
Jawwad Ahmad
c0b6a95e10 Hardcode AFHTTPRequestOperation instead of [self superclass] since this will fail if it is invoked by a subclass. 2012-08-30 15:57:44 -04:00
Jawwad Ahmad
4834da10ea Call the proper designated initializer in order to resolve connection mappings not being applied. 2012-08-30 13:33:33 -04:00
Blake Watters
22c4f891e9 Removed RKCache 2012-08-30 10:25:25 -04:00
Blake Watters
4dd5b35aa3 Remove unnecessary manual KVO invocations 2012-08-29 19:17:45 -04:00
Blake Watters
8542568159 Invoke designated initializer from RKEntityMapping 2012-08-29 19:00:45 -04:00
Blake Watters
114ac214b1 Remove mapping provider test factory definition 2012-08-29 19:00:11 -04:00
Blake Watters
eabfd748b6 Update designated initializer for RKObjectMapping 2012-08-29 18:59:51 -04:00
Blake Watters
9089bb4ed0 Remove baseURL proxy method from the object manager 2012-08-29 18:59:09 -04:00
Blake Watters
709fefe1ea Add Boolean property to turn on and off orphaned object cleanup 2012-08-29 18:58:48 -04:00
Blake Watters
0cb93e697d Migrate AFNetworking backed object request operations from GateGuru into RestKit 2012-08-29 13:27:36 -04:00
Blake Watters
15eed52c63 Remove XMLReader parser from main tree. Will migrate into a standalone module 2012-08-29 13:25:54 -04:00
Blake Watters
adfaaf29ca Add Apache license boilerplate to several files 2012-08-29 13:25:28 -04:00
Blake Watters
fc29fad19e Add explicit data source initialization to serializer to satisfy ARC 2012-08-29 13:24:15 -04:00
Blake Watters
d3f66418f2 Remove implicit initialization of dataSource for mapping operation as it gets deallocated unde ARC 2012-08-29 13:23:27 -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
3ea60a95ba Remove RKAlert 2012-08-28 20:55:23 -04:00
Blake Watters
a868d7fa2a Delete deprecations from RKManagedObjectStore 2012-08-28 17:37:21 -04:00
Blake Watters
ce6b0829e4 Convert RestKit to ARC 2012-08-28 17:34:58 -04:00
Blake Watters
274478448d FIXUP: Merge with "Drop RestKit networking layer in favor of AFNetworking" 2012-08-28 16:32:15 -04:00
Blake Watters
d08046fc5d Remove the mapping provider in favor of response descriptors 2012-08-28 16:31:31 -04:00
Blake Watters
2c7f772773 FIXUP: Merge with Table Controller commit 2012-08-28 16:18:17 -04:00
Blake Watters
d36aa3291d Drop RestKit networking layer in favor of AFNetworking 2012-08-28 16:17:57 -04:00
Blake Watters
c69f0118cd Migrate table controller codebase into standalone project 2012-08-28 16:08:49 -04:00
Blake Watters
2228cb01bb Drop more mapping convenience methods 2012-08-28 14:23:30 -04:00
Blake Watters
dd11da2a63 Eliminate registerObjectMapping: 2012-08-28 14:14:33 -04:00
Blake Watters
b333e62488 Eliminate and/or depecate numerous mapping API's in favor of simpler usage of attribute, relationship, and connection mappings 2012-08-28 14:14:33 -04:00
Blake Watters
d825a8f182 Eliminate RKForm 2012-08-28 14:14:33 -04:00
Blake Watters
6b1e9fa071 Update error message to reflect correct class name 2012-08-28 14:14:33 -04:00
Blake Watters
a70b996047 Add assertions for required parameters to request and response descriptors 2012-08-28 14:14:33 -04:00
Blake Watters
0484714a00 Eliminate rootKeyPath from RKMapping. Now encapsulated into RKRequestDescriptor. 2012-08-28 14:14:33 -04:00