Commit Graph

1417 Commits

Author SHA1 Message Date
Jeff Arena
5b372f4cea Fix issues with passing NSErrors into blocks inappropriately. 2012-10-02 12:54:32 -04:00
Blake Watters
f467fa20b1 Merge pull request #965 from dmishe/doc_fixes
Doc fixes
2012-10-02 09:25:07 -07:00
Jeff Arena
fc36d69475 Fix error with local delete of managed object after performing a successful DELETE operation. 2012-10-02 11:00:20 -04:00
Blake Watters
2b7eca1fb4 Default savesToPersistentStore to YES 2012-10-01 23:11:03 -04:00
Blake Watters
d6cd6d7bba Add configuration for controlling persistent to the parent context or the persistent store 2012-10-01 22:41:08 -04:00
Blake Watters
d70b0ed3dd Update method signature in Search README.md 2012-10-01 22:10:18 -04:00
Dmitry Shevchenko
12c04fc59c Clarified that bug was fixed in ios6 2012-10-01 21:06:23 -05:00
Dmitry Shevchenko
2310b5111d Fixed a typo 2012-10-01 21:06:13 -05:00
Blake Watters
7924520be2 Guard against outputting non-sense when operation queue count is zero 2012-10-01 18:03:08 -04:00
Blake Watters
4e751f4530 Merge pull request #963 from dmishe/make_entity_property_readwrite
Make entity property readwrite
2012-10-01 14:49:12 -07:00
Dmitry Shevchenko
a41f69ee5e Fixed RKObjectMapping copying 2012-10-01 16:47:17 -05:00
Dmitry Shevchenko
628f7323aa Make entity property readwrite, so it can be changed after init. 2012-10-01 16:47:04 -05:00
Blake Watters
3fc5a75a3a Tear down the search indexing environment as part of RKTestFactory tear down 2012-10-01 17:38:07 -04:00
Blake Watters
73bd1f0869 Add support for asynchrous search indexing, cancellation of indexing operations, waiting on indexing to complete. Expand documentation surrounding the indexing context. 2012-10-01 17:37:36 -04:00
Blake Watters
235cfc2826 Remove dead whitespace 2012-10-01 17:35:35 -04:00
Blake Watters
991a6fd733 Add cancellation of all oeprations during test factory tear down 2012-10-01 11:53:28 -04:00
Blake Watters
67e6982cec Fix invalid references to RKManagedObjectMapping. closes #957 2012-09-30 23:17:27 -04:00
Blake Watters
ebb7b8df50 Add a note about the use of an indexing context to the README.md 2012-09-30 22:47:59 -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
5cae20aabc Add note about route types during batch operation creation 2012-09-30 19:53:24 -04:00
Blake Watters
2280674f5a Touch up docs for batched object request operations 2012-09-30 19:30:35 -04:00
Blake Watters
8c34f0996b Enable the response mapper to read the objectID from the targetObject if the target object ID is nil. 2012-09-30 19:30:35 -04:00
Jawwad Ahmad
27dd271938 Modify lcl_config_logger_RK.h to use LCLNSLogger_RK.h instead of LCLNSLog_RK.h when RKLOG_USE_NSLOGGER is defined. 2012-09-30 18:01:32 -04:00
Jeff Arena
c301060ab8 Add APIs to RKObjectManager for use in firing batches of operations. 2012-09-30 13:43:12 -04:00
Blake Watters
d95fe5cd44 Break out reused functions for object mapping introspection into RKObjectUtilities 2012-09-30 12:49:59 -04:00
Blake Watters
1c6564f823 Expand the capabilities of the RKMappingTest and RKMappingTestExpectation classes to support the Kiwi matchers.
* Enable evaluation blocks to return an NSError describing the failure
* Align all RKAttributeMapping references to RKPropertyMapping
* Cleanup docs
* Add `RKMappingTestExpectationTestCondition` macro for succinctly implementing mapping test evaluation blocks
* Clean up descriptions for better output from Kiwi
2012-09-29 17:54:52 -04:00
Blake Watters
4230c63f80 Add support for shared factory object instances 2012-09-29 17:54:52 -04:00
Blake Watters
4c401de6bf Convert RKConnectionMapping into a subclass of RKPropertyMapping. Add delegate callback for tracking the connection of relationships. 2012-09-29 17:54:51 -04:00
Blake Watters
0539aeb45e Documentation formatting and touch ups 2012-09-29 17:54:51 -04:00
Jeff Arena
3c1a623032 Remove unnecessary header per code review feedback 2012-09-29 16:09:33 -04:00
Jeff Arena
9cd78c2385 Adjust search indexing to use a new indexingContext 2012-09-29 15:20:48 -04:00
Dmitry Shevchenko
451a88bada Moved lost comment for RKAssociateBaseURLWithURL 2012-09-28 16:15:21 -05:00
Dmitry Shevchenko
a09e8ce4eb Associate base URL after query parameters 2012-09-28 16:13:07 -05:00
Blake Watters
5d41bf7ada Added new functionality to the mapping test to enable evaluating a single expectation without raising an exception. For use with the Kiwi matchers.
* Added error domain and codes specific for the mapper
* Migrated from using an NSString to real NSError objects
* Toned down the verbosity of error output for readability
* Cleaned up comment formatting
* Changed RKAttributeMapping to RKPropertyMapping for better alignment with the realities of the data model
2012-09-28 14:59:57 -04:00
Blake Watters
0a1655117a Minor formatting touch ups 2012-09-28 14:59:57 -04:00
Blake Watters
ecb6af4776 Factor date formatting into reusable convenience functions 2012-09-28 14:59:57 -04:00
Blake Watters
a04e861669 Add missing license boilerplate 2012-09-28 14:59:57 -04:00
Jeff Arena
a88f58db55 Remove avoidsNetworkAccess property in favor of leveraging NSURLCache capabilities under the hood. 2012-09-28 13:41:28 -04:00
Blake Watters
adc1d178fa Add cancellation API to RKObjectManager.
* Introduces `cancelAllObjectRequestOperationsWithMethod:pathPattern:`
* Make RKObjectRequestOperation cancel underlying request operation when cancelled
2012-09-27 22:33:19 -04:00
Blake Watters
e591547d90 Cleanup RKPathMatcher initializers to start with pathMatcher so they are easier to guess for auto-complete. 2012-09-27 22:31:48 -04:00
Blake Watters
8a449a0fd4 Remove dead logging components 2012-09-27 20:16:20 -04:00
Blake Watters
f5511c972e Improve method naming 2012-09-27 20:14:15 -04:00
Blake Watters
fd16081797 Merge pull request #950 from aharren/feature/reboot-networking-layer
Use embedded variant of LibComponentLogging with prefix RK
2012-09-27 16:13:42 -07:00
Blake Watters
6c463bfb6b Raise an exception if the fixture fails to parse rather than returning nil 2012-09-27 17:05:25 -04:00
Blake Watters
47965f361c Disable the avoidsNetworkAccess flag by default 2012-09-27 17:04:11 -04:00
Arne Harren
bc7c65f03b Switch to an embedded variant of LibComponentLogging with prefix RK 2012-09-27 21:47:36 +02:00
Arne Harren
81f1a77906 Remove unnecessary imports for lcl.h and RKLog.h 2012-09-27 21:08:41 +02:00
Blake Watters
458354484a Fix null dereference static analyzer warnings 2012-09-27 11:47:30 -04:00
Blake Watters
82e4c1ba94 Docs for the baseURL association functions 2012-09-26 23:51:15 -04:00
Blake Watters
8b256ab418 Fix baseURL associated objects 2012-09-26 23:38:20 -04:00