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
6b315fbd54
Updates to entity cache and other components to operate in parent/child context world.
2012-07-20 14:48:09 -04:00
Blake Watters
e952f451fb
Eliminated the use of the ActiveRecord pattern across the library.
2012-07-20 14:48:09 -04:00
Jawwad Ahmad
b9979e337e
Add DEPRECATED_ATTRIBUTE_MESSAGE(message) macro to display a helpful recommendation message along with the default deprecation message.
2012-07-18 12:25:41 -04:00
Blake Watters
a8f64e7982
Continued cleanup related to managed object context work
2012-07-17 13:44:50 -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
f0706dbdbf
Work in progress
...
Conflicts:
Code/CoreData/RKManagedObjectLoader.h
Code/CoreData/RKManagedObjectLoader.m
Code/CoreData/RKManagedObjectMapping.m
Code/CoreData/RKManagedObjectMappingOperation.m
Code/CoreData/RKManagedObjectStore.m
Code/CoreData/RKManagedObjectThreadSafeInvocation.h
Code/CoreData/RKManagedObjectThreadSafeInvocation.m
Code/CoreData/RKSearchableManagedObject.m
Code/ObjectMapping/RKObjectLoader.m
Code/ObjectMapping/RKObjectMapper.h
Code/ObjectMapping/RKObjectMappingOperation.m
RestKit.xcodeproj/project.pbxproj
Tests/Logic/CoreData/RKManagedObjectThreadSafeInvocationTest.m
2012-07-13 13:07:42 -04:00
Jawwad Ahmad
c28461f573
Make sendObject:method:usingBlock: public
2012-07-11 17:06:39 -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
2c980ec4cd
Fix type disagreements with sourceObject & targetObject properties
2012-07-11 16:47:24 -04:00
Blake Watters
ec6cdd1356
Migrate performSelectorOnMainThread and performSelectorInBackground invocations to GCD
2012-07-11 16:45:08 -04:00
Blake Watters
57e4e0933a
Migrated from Grand Central Dispatch queue for mapping into an NSOperationQueue to enable KVO
2012-07-11 16:43:19 -04:00
Blake Watters
f18f9337f3
Added support for comparison of attribute, relationship, and object mappings via isEqualToMapping:. closes #803
2012-07-11 16:16:27 -04:00
Blake Watters
3b10117be7
New mapping provider helpers. refs #779
2012-07-11 16:07:09 -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
a80b8c94f9
Cleanup invalid arguments from method signature refactoring
2012-07-11 13:03:36 -04:00
Blake Watters
64d1d35da2
Various stylistic cleanups to Connection Mapping in preparation for merge. refs #748 , #593
2012-07-11 12:14:28 -04:00
Charlie Savage
f039f45f75
Support 1 to many relationships for connect relationship.
2012-07-11 12:14:28 -04:00
Charlie Savage
f0e8bbe284
Update new connectRelationship implementation based on feedback from Blake.
2012-07-11 12:14:28 -04:00
Charlie Savage
2a434375f0
Reimplement connectRelationship as described in issue #593 .
2012-07-11 12:14:28 -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
Roger Nolan
2bc93af7cf
Change type of _sourceObject ivars to match the property which is alised to them.
...
With unmatched type between property and storage, lldb gets confused when printing the object.
Error is: instance method ''sourceObject' has incompatible result types in different translation units ('NSObject *' vs. 'id')
Signed-off-by: Roger Nolan <rog@hatbat.net >
2012-06-16 00:27:41 -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
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
2cf60ffb86
Fix a few spacing issues. Refs #614
2012-06-03 22:51:00 -04:00
Jawwad Ahmad
10433089a4
Strip trailing whitespace. Refs #614
2012-06-03 22:33:31 -04:00
Blake Watters
014a4dbdff
Merge branch 'release/0.10.1' into development
2012-05-25 23:33:54 -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
5cecb58c23
Add RKLog helper for displaying detailed key-value validation failure information. closes #750
2012-05-21 13:09:23 -04:00
Blake Watters
a4bdc03961
Add RKLog helper for displaying detailed key-value validation failure information. closes #750
2012-05-21 13:04:49 -04:00
Blake Watters
31191f59b6
Migrate initialization of default error mapping from RKObjectManager to RKObjectMappingProvider
2012-05-21 12:09:27 -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
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
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
Blake Watters
6bbc00296d
Add delegate methods to RKObjectMappingOperationDelegate for tracking mappable content that is not
...
set due to an unchanged value. Update RKMapperTest to correctly validate mappings that do not result
in a value change (typically nil => nil). closes #72 , fixes #634
2012-05-09 19:12:09 -04:00
Aaron Crespo
22225cf8a0
Fixed Static analysis warnings.
2012-04-11 22:44:58 -04:00
Blake Watters
457a6126cf
Refresh copyright notices for all source files
2012-04-04 09:08:54 -04:00
Blake Watters
e79b79ebac
Change behavior of delegate callbacks during 204 (No Content) response. refs #633
2012-04-03 23:39:43 -04:00
Blake Watters
887b4a4743
Added support for configuring objectClass using the class name instead of Class object.
2012-04-03 23:39:43 -04:00
Blake Watters
a545c3942b
Integrated primaryKey extension to NSEntityDescription and refactored cache strategy
...
classes to eliminate issues with duplicated objects. closes #611 , #612 , #613 , #618
* NSEntityDescription is now aware of the primaryKeyAttribute. Can be configured via
Interface Builder within Xcode or programatically.
* Added findByPrimaryKey: interface to the Core Data extensions.
* Relaxed dependencies on RKManagedObjectMapping across the system now that primaryKey is
available without a reference to the mapping.
2012-04-03 23:39:42 -04:00
Blake Watters
73fe4f1237
Added support for object mapping a single object instance onto an NSOrderedSet collection. fixes #616
2012-03-30 09:29:41 -04:00
Bob Spryn
8fc0d9e46c
Added test and fix for empty date @"" being set to a very strange date by the ISO date formatter". refs #622
2012-03-29 20:12:50 -04:00