Blake Watters
235f5fc579
Fix all build errors in unit tests. Restore execution of core mapping tests.
2012-09-24 22:44:20 -04:00
Blake Watters
654364af61
Document RKDynamicMappingMatcher and clean up API
2012-09-21 22:59:43 -04:00
Blake Watters
43be066e0b
Docs touch ups
2012-09-21 22:58:17 -04:00
Blake Watters
6815ba6444
API refresh for mapping layer. Converted RKObjectMapper to RKMapperOperation. Expanded documentation.
2012-09-21 17:55:32 -04:00
Jeff Arena
6d11a5f88a
Add additional cache clearing to address KIF issues.
2012-09-21 16:47:17 -04:00
Blake Watters
7e816904ff
Docs update. Eliminate mappingOperationFromObject:
2012-09-20 19:11:38 -04:00
Blake Watters
bd4130a546
Eliminate aggregate import of RestKit.h from .NET date formatter and test factory
2012-09-20 11:59:02 -04:00
Blake Watters
991ced34da
Docs for mapping operation data source. Still don't love the method names. Maybe we can eliminate this somehow...
2012-09-20 08:12:29 -04:00
Blake Watters
b6e8050842
Remove shared instance configuration from the test factory. Instances should be explicitly managed for sanity.
2012-09-19 12:15:55 -04:00
Blake Watters
ce0badad4c
Docs formatting refresh on the test factory
2012-09-19 12:15:16 -04:00
Blake Watters
fea908702d
Don't clear defaultDateFormatters during Test Factory setUp
2012-09-18 15:54:36 -04:00
Blake Watters
ef0462ec2a
Appledoc warning fixes
2012-09-13 07:27:48 -04:00
Blake Watters
f636f8681a
Fix warning
2012-09-12 21:16:24 -04:00
Blake Watters
3afc7c3501
Misc updates to RKTestFactory
...
* Add `objectFromFactory:properties:` this may deprecate `objectFromFactory:` in the future.
* Add `insertManagedObjectForEntityForName:inManagedObjectContext:withProperties:`. This helper method creates managed object instances in a given context (defaulting to the main queue context), sets its properties using an optional dictionary, and obtains a permanent `NSManagedObjectID` before returning. This is intended to reduce the boilerplate required to construct managed object factories.
2012-09-12 16:29:46 -04:00
Blake Watters
c1cb8c881d
Migrate directory utilities to path utilities. Move Bundle category to Testing
2012-09-11 16:46:33 -04:00
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