Commit Graph

987 Commits

Author SHA1 Message Date
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
Jawwad Ahmad
6d3a9b5487 Fix "Failed to call designated initializer on NSManagedObject class" when running core data seed generation. 2012-07-25 11:45:14 -04:00
Blake Watters
66c9cd5f26 Remove object literal array access usage 2012-07-23 11:19:12 -04:00
Blake Watters
5af66a4e89 Finalized to existingObjectWithID: approach after benchmarking fetch request strategy 2012-07-20 16:09:58 -04:00
Blake Watters
093a76e7b2 Migrated to a single entity cache for the primary MOC instead of one per thread 2012-07-20 15:41: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
ae8b98ac1a Add DEPRECATED_ATTRIBUTE_MESSAGE recommendations to RKEntityMapping.h 2012-07-18 12:27:12 -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
046e277088 Make managedObjectCache optional on RKManagedObjectMappingOperationDataSource; Make RKManagedObjectMappingOperationDataSource.h public 2012-07-17 17:29:30 -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
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
cfa0df1841 Breakthrough on parent/child MOC setup 2012-07-13 14:11:48 -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
Blake Watters
a30b20a09c Added removeObserver method to safely remove observer in RKTestNotificationObserver 2012-07-11 22:29:50 -04:00
Blake Watters
f825579a2a Cleaned up all but one remaining broken test 2012-07-11 18:53:46 -04:00
Blake Watters
72f31936ae Fix broken merge artifact 2012-07-11 17:20:05 -04:00
Blake Watters
90354dce4b Documentation for the new router. refs #779 2012-07-11 17:12:35 -04:00
Blake Watters
8c9b5200b3 Silence format string security warning via pragma push/pop 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
e839a39e6e Extracted keyboard scrolling behavior used within the table controller into standalone object 2012-07-11 17:11:41 -04:00
Blake Watters
8657b4ca75 Remove cellForObjectAtIndexPath: API and migrate cell mapping directly into the UITableViewDataSource callback 2012-07-11 17:09:54 -04:00
Blake Watters
3be91bed55 Handle case where there is a single section containing a header and footer row 2012-07-11 17:06:39 -04:00
Jawwad Ahmad
c28461f573 Make sendObject:method:usingBlock: public 2012-07-11 17:06:39 -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
c4a329cc58 Use dispatch_sync instead of NSOperation for merging changes from background notification 2012-07-11 16:47:33 -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
2c980ec4cd Fix type disagreements with sourceObject & targetObject properties 2012-07-11 16:47:24 -04:00
Blake Watters
08199120bc Style consistency cleanups and improvements to request queue delegate behavior 2012-07-11 16:46:53 -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
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
c4841f10b6 Tear down the default context when tearing down RKTestFactory 2012-07-11 16:39:31 -04:00
Jawwad Ahmad
f035af7a67 Adding addObject: method to RKTableSection. 2012-07-11 16:39:31 -04:00
Jawwad Ahmad
f35f81ca0c Add ability to RKTestResponseLoader to serve as a delegate for RKRequestQueueDelegate in order to use the waitForResponse method for testing asynchronous calls. 2012-07-11 16:18:41 -04:00
Blake Watters
517deb6fa2 Add support for testing the mapping used to map a nested relationship in RKMappingTest. closes #802 2012-07-11 16:18:40 -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
Christopher Swasey
6ae6d889a5 Add delegate methods for headerHeight and footerHeight 2012-07-11 16:15:37 -04:00
Blake Watters
75b060ec16 Add table controller level block callbacks. refs #796 2012-07-11 16:15:37 -04:00
Blake Watters
ec1e15d4e3 Add better description output to RKMappingTest 2012-07-11 16:15:36 -04:00
Blake Watters
1c504022a6 Fixed issues with incorrect retrieval of indexPath for header, footer, and empty items on the fetched results table controller. fixes #798 2012-07-11 16:15:23 -04:00