Commit Graph

300 Commits

Author SHA1 Message Date
Blake Watters
c372a02b29 Add request descriptor class 2012-08-24 09:23:19 -04:00
Blake Watters
7791604763 Migrate HTTP utility functions into a proper home 2012-08-24 09:22:28 -04:00
Blake Watters
46323ecc2d RKMappingDescriptor -> RKResponseDescriptor 2012-08-24 08:48:29 -04:00
Blake Watters
63743e2263 Initial integration of new RKMappingDescriptor class. Convert RKObjectMapper to ARC 2012-08-17 13:10:37 -04:00
Blake Watters
ea8a920309 Bump deployment target to 5.0 2012-08-17 13:07:30 -04:00
Blake Watters
9fa7a11fcf Update connection mapping signatures on RKEntityMapping to be more idiomatic 2012-08-15 16:35:54 -04:00
Blake Watters
3b686125b8 Fix references in Examples/ to eliminated RKDirectory class 2012-08-15 08:03:07 -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
00a5d2b198 Remove UI module headers/sources from OS X framework 2012-08-07 09:59:41 -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
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
046e277088 Make managedObjectCache optional on RKManagedObjectMappingOperationDataSource; Make RKManagedObjectMappingOperationDataSource.h public 2012-07-17 17:29:30 -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
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
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
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
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
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
131c20073f Add missing files to RestKitFramework and RKApplicationTests targets 2012-07-11 14:13:53 -04:00
Blake Watters
b14e1d7d96 Update OCMock 2012-07-11 13:10:22 -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
f80894baa7 Add RKObjectConnectionMapping.h and RKObjectConnectionMapping.m to xcode project. 2012-07-11 12:14:28 -04:00
Blake Watters
540bf23ad1 Delete uncrustify target merged with cleanup branch 2012-06-21 21:03:53 -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
Blake Watters
59c449c2e2 Cleanups to and test coverage expansion of RKTableController API's. refs #765 2012-05-24 12:53:51 -04:00
Blake Watters
c3eeeead33 Added new entity cache headers to the OS X framework target 2012-05-17 08:36:05 -04:00
Blake Watters
0e5b36e356 Project file updates for OS X example 2012-05-17 08:34:51 -04:00
Blake Watters
2c704e6fdc Merge branch 'feature/635-accelerate-entity-cache' into development 2012-05-15 19:42:19 -04:00
Blake Watters
9bf89ebec1 Completed documentation and testing for managed object cache overhaul. refs #635 2012-05-15 12:49:42 -04:00
Blake Watters
15f41c6622 Clean tests, added cached predicate usage for fetch request cache strategy. refs #739 2012-05-12 19:18:29 -04:00
Blake Watters
715ae6cbf7 Add RKBenchmark to the Support module instead of Testing. refs #710 2012-05-12 16:53:26 -04:00
Blake Watters
ec4db4142d Added RKPortCheck class for determining if a remote host/port is listening for TCP connections. refs #714 2012-05-10 16:27:53 -04:00
Blake Watters
fbcef6abd5 First functional cut at new Core Data cacheing implementation. Tests clean, needs polishing. 2012-05-04 22:15:30 -04:00
Blake Watters
5942771e41 Migrated RKTestFactory constants into an external file due to issues with unresolved symbols when
building Tests for iOS Devices (worked fine on Simulator). It's unclear exactly what the underlying
issue is.
2012-05-04 11:52:29 -04:00
Blake Watters
e4c33ab395 Introduced RKBenchmark class for measuring performance of RestKit operations. closes #710 2012-05-01 09:37:23 -04:00
Blake Watters
5a53fdbf1e Added test coverage for creation of duplicate objects. refs #661 2012-04-30 20:31:28 -04:00
Blake Watters
f0793b8e19 Enabled support and tests for creation of intermediate directories during RKCache initialization. closes #667 2012-04-17 23:23:41 -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
Blake Watters
27c06946e2 Add basic test coverage for compilation of Objective-C++ sources. refs #649 2012-04-11 21:05:17 -04:00
Blake Watters
b282e3a813 Added support for grouping objects into sections within RKTableController. closes #658 2012-04-10 11:34:22 -04:00
Blake Watters
b9d72ce7fc Fixed invalid spelling RKManagedObjectCacheing -> RKManagedObjectCaching. Updated filenames to match. 2012-04-09 17:38:22 -04:00
Blake Watters
2723a11294 Reorganized categories under RKAdditions naming convention. Expanded documentation. 2012-04-04 09:08:55 -04:00
Blake Watters
9cffb75174 Add Objective-C Category fix to mapping provider core data extensions
and add source file to OS X build target.
2012-04-03 23:39:55 -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
e40200b95b Added test that existing Core Data object instances are updated rather than duplicated when mapping an array. refs #612 2012-03-30 08:46:21 -04:00
Blake Watters
f4f3f44e17 Remove UDTableView. fixes #591 2012-03-29 20:04:12 -04:00