Blake Watters
f2ff70177c
Merge branch 'development' of github.com:CFKevinRef/RestKit into CFKevinRef-development
2012-11-07 21:59:38 -05:00
Blake Watters
d689ba9291
Add support for mapping to NSData attributes using a NSKeyedArchiver. closes #910
2012-11-07 11:00:15 -05:00
Blake Watters
ea8666e2ec
Fix test time zone dependence. closes #763
2012-10-29 01:43:06 -04:00
Jeff Arena
37ae82c695
Add additional default date formatter to handle rails dates.
2012-10-24 13:23:54 -04:00
Blake Watters
f93a044561
Add error condition when attempting to map an RKEntityMapping containing connection mappings with a nil managed object cache.
...
* Add support for the data source to fail mapping operation with an error.
* Clean up error handling within RKMappingOperation
2012-10-21 15:47:16 -04:00
Blake Watters
fb6db948e1
Implement support for using dynamic mapping during parameterization with a Request Descriptor. closes #684
2012-10-18 12:14:16 -04:00
Blake Watters
1beb11ac1b
Moving tests around
2012-10-14 13:51:39 -04:00
Blake Watters
877ce255b5
Expand test coverage and fix situations where requests would unexpectedly initialize incorrectly without error
...
* RKObjectParameterization now returns an empty dictionary if mapping produces an unmappable representation error (no mappable attributes/relationships found)
* Log errors if request construction results in an NSError and return nil
* Ensure errors are passed back up through object parameterization instead of just returning nil
* Reset the serialization MIME Type registry during RKTestFactory set up to ensure it is in a sane state
* Convert Hamcrest matchers to Expecta in the object mapper tests to fix infinite recursion on test failure (will need to completely phase out Hamcrest soon)
2012-10-05 19:16:55 -04:00
Blake Watters
c10321751c
Rename primaryManagedObjectContext to persistentStoreManagedObjectContext since nobody can keep its role straight
2012-09-30 22:47:26 -04:00
Blake Watters
d195ea873c
Port passing Logic Test coverage to ARC
2012-09-26 11:35:16 -04:00
Blake Watters
c6b594e93a
Fix exception that occurs when attempting to build an RKMappingResult after an attempt has been made to map a non-nil, empty response object (such as {})
2012-09-25 11:59:28 -04:00
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
6815ba6444
API refresh for mapping layer. Converted RKObjectMapper to RKMapperOperation. Expanded documentation.
2012-09-21 17:55:32 -04:00
Blake Watters
627f6f5b7b
Resource Path -> Path
2012-09-04 21:24:33 -04:00
Blake Watters
ce6b0829e4
Convert RestKit to ARC
2012-08-28 17:34:58 -04:00
Blake Watters
632a1de039
Minor method signature change on serializer
2012-08-07 17:06:57 -04:00
Blake Watters
64c378a8bf
Fix warnings related to deprecation of managed object store save
2012-08-07 17:04:17 -04:00
Blake Watters
232b3eb861
Implemented new search engine for managed objects.
2012-08-01 18:12:53 -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
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
a51f7ddc51
[REBASE] Cleaned up routing tests and dealloc
2012-07-11 17:01:32 -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
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
746f31c26d
Fix issues identified by uncrustify's "sp_assign = add" option. Refs #614
2012-06-03 23:14:09 -04:00
Blake Watters
fcb973056b
Cleanup trailing whitespace. refs #743
2012-05-17 18:00:16 -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
457a6126cf
Refresh copyright notices for all source files
2012-04-04 09:08:54 -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
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
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
Blake Watters
bc82f5a1ac
Integrated support and test coverage for mapping relationships onto NSOrderedSet values. closes #578
2012-03-20 22:14:31 -04:00
Blake Watters
868372272f
Ported RestKit tests over to using the RKTestFactory and completed documentation. fixes #318
2012-03-15 23:06:49 -04:00
Brian Morton
80103bb6b3
Change test for allowing newly added date formatters priority so that it uses the updated fixture and reversable favoriteDate. Rearrange order of defaultDateFormatters to match their order before changing defaultDateFormatters to being prepended.
2012-03-13 09:43:37 -07:00
Brian Morton
5844de061d
Add test for confirming that a newly added date formatter gets priority to be attempted first during mapping. Fix 2 tests that are going to break on the incoming pull request for inserting date formatters.
2012-03-13 09:24:09 -07:00
Blake Watters
0660f28fc1
Sunset RKTestNewManagedObjectStore in favor of RKTestFactory
2012-02-23 20:51:11 -05:00
Blake Watters
4142ffdb42
Reorganization and cleanups of Unit Tests
...
* Reorganized tests to accommodate split into Logic & Application.
* Eliminated 'Spec' naming in favor of 'Test' as the suite is entirely based on SenTest.
* Pulled majority of testing support classes up into the library and documented them.
* Introduced RKApplicationTests app for running the RKTableController UI tests
2012-02-10 17:32:23 -05:00