Commit Graph

1469 Commits

Author SHA1 Message Date
Blake Watters
871ab1389e Ensure managed object connections are established across appropriate managed object contexts 2012-05-21 13:09:27 -04:00
Blake Watters
5cecb58c23 Add RKLog helper for displaying detailed key-value validation failure information. closes #750 2012-05-21 13:09:23 -04:00
Blake Watters
dcef1b1c16 Bump version to 0.10.1 2012-05-19 17:04:59 -04:00
Eric Chamberlain
01607a9a09 Fix for https://github.com/RestKit/RestKit/issues/709 - [RKManagedObjectThreadSafeInvocation serializeManagedObjectsForArgument:withKeyPaths:] is not properly serializing managed objects
Fixed RKManagedObjectThreadSafeInvocation to properly handle serialization when the key is a keyPath.

Updated RKManagedObjectThreadSafeInvocationTest to test keyPath keys.
2012-05-19 17:01:41 -04:00
Blake Watters
f585d34f91 Ensure creation of Application Data directory when initializing Managed Object Store. fixes #657 2012-05-19 16:29:01 -04:00
Blake Watters
30f1198bb8 Add tests verifying expected behavior for availability of RKRequest response property. closes #527 2012-05-19 15:59:53 -04:00
Blake Watters
e681b85be4 Eliminate duplication of request method to string logic in [RKRequest HTTPMethod] 2012-05-19 15:50:35 -04:00
Blake Watters
ada95e0281 Migrate RKResponse property from RKObjectLoader to RKRequest. refs #527 2012-05-18 20:05:25 -04:00
Blake Watters
489bb0423a Fix static analyzer issues 2012-05-18 20:01:56 -04:00
Blake Watters
4105625776 Replace v0.9.4 references with 0.10.0 2012-05-18 18:05:41 -04:00
Blake Watters
e051c63e55 Rework intermittently failing tests 2012-05-17 18:32:37 -04:00
Blake Watters
185874dac7 Merge branch 'feature/743-whitespace-cleanup' into development 2012-05-17 18:32:01 -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
c3eeeead33 Added new entity cache headers to the OS X framework target 2012-05-17 08:36:05 -04:00
Blake Watters
0e5b36e356 Project file updates for OS X example 2012-05-17 08:34:51 -04:00
Blake Watters
f46beb90d2 Guard RKRequestQueue containsRequest: with @synchronized. closes #690 2012-05-17 00:00:05 -04:00
Blake Watters
938304d542 Fixes to ensure failed requests are not resent. refs #628, fixes #744, closes #720
Additional changes and test coverage to handle the case of loading an invalid URL
or otherwise immediately encountering an error condition:

* Restores use of removeLoadingRequest: within the queue
* Updates fragile tests to ensure better coverage for error cases
* Sets isLoaded to YES during error callbacks to prevent duplicated dispatching
2012-05-16 23:50:43 -04:00
Blake Watters
f8c35ccf5d Add colorized output for full Rake suite execution 2012-05-16 23:39:40 -04:00
Blake Watters
2fd239e7ff Switch invalid URL unit test to connect to localhost on a random port rather than a domain. refs #744 2012-05-16 21:59:12 -04:00
Blake Watters
3fb2b023fa Integrate optimization for utilizing the managed object cache when connecting relationships. closes #693
Thanks to Ed McManus (emcmanus) for the implementation.
2012-05-16 19:09:05 -04:00
Camilo López
2ef10ee8e6 *iovalue = [(NSString*)iovalue uppercaseString];
->
 *ioValue = [(NSString*)ioValue uppercaseString];
2012-05-16 18:22:34 -04:00
Blake Watters
95b38b1f37 Add Block_copy() invocation to ensure the fetch request block is transferred to the heap. refs #738 2012-05-16 16:09:08 -04:00
Boris Dušek
e932c31cde Update RKObjectManager to observe changes to the reachability observer of
the underlying RKClient object. refs #717
2012-05-16 15:10:18 -04:00
Blake Watters
5387f0b262 Update Add to App Delegate image 2012-05-16 09:14:39 -04:00
Blake Watters
2c704e6fdc Merge branch 'feature/635-accelerate-entity-cache' into development 2012-05-15 19:42:19 -04:00
Blake Watters
9bf89ebec1 Completed documentation and testing for managed object cache overhaul. refs #635 2012-05-15 12:49:42 -04:00
Blake Watters
9e75eb14bd Cacheing -> Caching 2012-05-12 19:24:18 -04:00
Blake Watters
15f41c6622 Clean tests, added cached predicate usage for fetch request cache strategy. refs #739 2012-05-12 19:18:29 -04:00
Blake Watters
715ae6cbf7 Add RKBenchmark to the Support module instead of Testing. refs #710 2012-05-12 16:53:26 -04:00
Blake Watters
7656a96008 Merge branch 'feature/714-oauth' into development 2012-05-10 16:34:20 -04:00
Blake Watters
6ca3d1f5ac Updated RKOAuthClientTest to check for the availability of MongoDB and log a warning message if it is not available. This prevents broken test failures because MongoDB is not installed or running. refs #714 2012-05-10 16:29:16 -04:00
Blake Watters
ec4db4142d Added RKPortCheck class for determining if a remote host/port is listening for TCP connections. refs #714 2012-05-10 16:27:53 -04:00
Blake Watters
0f797c275d Updated default Rake task to log a warning message is MongoDB is not available during suite execution. refs #714 2012-05-10 16:27:00 -04:00
Christopher Swasey
02b4bdf75f Update tests for new ouath testing environment 2012-05-10 12:57:31 -04:00
Christopher Swasey
6351fd428f Revert those calls to the nonexistent NSURL-originalPath method back to -path 2012-05-10 12:57:31 -04:00
Christopher Swasey
856854a66b Merge in @theorm's additions to RKRequest, and re-vendor cocoa-oauth from our fork with @theorm's additions applied 2012-05-10 12:57:31 -04:00
Christopher Swasey
e8825f1515 Add actual OAuth implementations to the server, along with some basic test targets and some server-side specs to make sure things are wired up properly. 2012-05-10 12:57:31 -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
a01d47316c Added new logging component for Core Data cacheing subsystem. Fixed performance degradation in entity cache. Enabled RKManagedObjectCacheing callbacks to accelerate mapping, disabled processPendingChanges 2012-05-04 23:19:14 -04:00
Blake Watters
fbcef6abd5 First functional cut at new Core Data cacheing implementation. Tests clean, needs polishing. 2012-05-04 22:15:30 -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
1f98cf432e Fix crash during queued load of invalid URL. fixes #628 2012-05-03 21:50:37 -04:00
Blake Watters
e4c33ab395 Introduced RKBenchmark class for measuring performance of RestKit operations. closes #710 2012-05-01 09:37:23 -04:00
Blake Watters
5a53fdbf1e Added test coverage for creation of duplicate objects. refs #661 2012-04-30 20:31:28 -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
1edaaa5eb2 Restore inadvertently removed release of fetch request. refs #661 2012-04-24 09:36:13 -04:00
Blake Watters
8262e596c1 Fix issue with duplication of objects when JSON/XML contains a string primary key value and the model
expects a number when the Fetch Request based managed object cache is in use. refs #661
2012-04-23 22:26:35 -04:00