Commit Graph

71 Commits

Author SHA1 Message Date
Blake Watters
bed7779be4 Kill default mapping queue. Basic header docs for RKObjectManager 2012-09-06 11:48:31 -04:00
Blake Watters
22a68baf0c Rework podspec to organize header file imports to match existing RestKit releases 2012-09-05 11:04:42 -04:00
Blake Watters
a74b8717dc Pulling out RKURL in favor of vanilla NSURL 2012-09-03 17:07:09 -04:00
Blake Watters
f16d995053 Remove unnecessary initializer and syntehsized ivars from RKMappingTest 2012-09-02 18:41:20 -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
114ac214b1 Remove mapping provider test factory definition 2012-08-29 19:00:11 -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
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
6b1e9fa071 Update error message to reflect correct class name 2012-08-28 14:14:33 -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
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
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
Blake Watters
a30b20a09c Added removeObserver method to safely remove observer in RKTestNotificationObserver 2012-07-11 22:29:50 -04:00
Blake Watters
8c9b5200b3 Silence format string security warning via pragma push/pop 2012-07-11 17:12:35 -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
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
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
ec1e15d4e3 Add better description output to RKMappingTest 2012-07-11 16:15:36 -04:00
Blake Watters
c297fbee68 Improved behavior of test notification observer in cases where notifications are fired immediately
by the execution block under test. fixes #797
2012-07-11 16:08:23 -04:00
Jawwad Ahmad
82f4630d36 Whitespace syntax cleanup. Refs #614 2012-07-11 10:41:38 -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
086dceee66 Standardize to have space after @property. Refs #614 2012-06-03 22:36:35 -04:00
Jawwad Ahmad
10433089a4 Strip trailing whitespace. Refs #614 2012-06-03 22:33:31 -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
680ca666d6 Update RKTestFactory to silence logging output during setup/tear down operations. closes #764
* Introduced new logging helpers for silencing components.
* Check for existence of data store at path before firing deletion to avoid log warning on failure.
* Silence logging for reachability and cache during factory initialization of RKClient and RKObjectManager
* Adjust log levels on cache components from info to debug
2012-05-24 12:53:45 -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
ee30436ea6 Ensure managed object loader instances are finalized on failure to save managed object store. closes #721 2012-05-17 09:32:01 -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
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
79adb0ef75 Extern RKTestFactoryDefaultStoreFilename symbol 2012-04-30 14:13:08 -04:00
Blake Watters
3921337209 Added support for configuring the store filename used by the test factory. 2012-04-27 12:57:19 -04:00
Blake Watters
595f7ed5e7 Add definition for private methods in extension category on RKTestFactory to ensure compatibility
with pre Xcode 4.3 compiler. fixes #687
2012-04-19 09:53:52 -04:00
Sylvain Guillopé
46f668d7e9 Added support for connection:didReceiveResponse: to be forwarded from RKResponse through RKRequestDelegate 2012-04-17 20:57:52 -04:00
Blake Watters
7235499d15 Fix invalid spelling of persistent merged inadvertantly 2012-04-17 12:50:21 -04:00
Blake Watters
ef7dc24969 Implemented dynamic factories using blocks. closes #682 2012-04-17 12:41:26 -04:00
Blake Watters
a02b0f0d02 Merge pull request #674 from emcmanus/development
Fix spelling of "persistent store"
2012-04-16 18:55:55 -07:00
Blake Watters
75e59813e6 Migrate RKTestFactory didInitialize callback out of init 2012-04-16 14:45:04 -04:00
Ed McManus
0df8c7ea73 Fix spelling of persistent store. 2012-04-14 11:48:22 -07:00