Commit Graph

1949 Commits

Author SHA1 Message Date
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
dd50ed0d2d Enable configuration of logging via environment variables during unit testing 2012-10-02 10:49:40 -04:00
Blake Watters
c88627faf3 Enable missing newline warning 2012-10-02 10:47:16 -04:00
Blake Watters
2b7eca1fb4 Default savesToPersistentStore to YES 2012-10-01 23:11:03 -04:00
Blake Watters
43afaa011d Remove defunct RKCatalog example 2012-10-01 23:00:19 -04:00
Blake Watters
9f8c392a6c Add example for enqueue and cancel operations to README 2012-10-01 22:59:14 -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
Blake Watters
accdbe6d71 Update Search project to reflect indexing API change 2012-10-01 22:07:23 -04:00
Blake Watters
af4c4f894b Kill the CLI example 2012-10-01 18:03:30 -04: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
285e9964dd Add an example for enqueue a batch of object request operations 2012-09-30 23:05:36 -04:00
Blake Watters
48f0d8f450 Fix README.md mention of primary managed object context 2012-09-30 22:51: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
9743da4f0f Fix license attribution 2012-09-30 12:50:13 -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
03439f2464 Fix test breakage from changes around shared factory objects 2012-09-29 17:54:52 -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
Blake Watters
42cdcce76e Add basic tests for connection operation 2012-09-29 17:54:51 -04:00
Jeff Arena
0ba27d5743 Merge pull request #956 from RestKit/feature/search-indexing
Feature/search indexing
2012-09-29 13:11:27 -07: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
Blake Watters
464767961e Merge pull request #953 from dmishe/fix_query_params_base_url
Associate base URL after query parameters
2012-09-28 14:17:28 -07: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
0831f2dc2d Merge pull request #951 from lukekhamilton/feature/reboot-networking-layer
Fixed incorrect call for RKMappingResults objects
2012-09-27 21:37:45 -07:00
Luke Hamilton
2f4c27b96a Fixed incorrect call for RKMappingResults objects 2012-09-28 14:32:38 +10: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