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
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
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
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
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
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
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
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
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
Blake Watters
4b394f8c1e
Prevent creation of duplicate managed objects due to notifications from the MOC failing to be posted often enough. refs #661
2012-04-23 00:15:08 -04:00
Blake Watters
595f7ed5e7
Add definition for private methods in extension category on RKTestFactory to ensure compatibility
...
with pre Xcode 4.3 compiler. fixes #687
2012-04-19 09:53:52 -04:00
Blake Watters
9c6316cb45
Merge pull request #673 from timmehmainframe/patch-1
...
delegate would always be nil for managedObjectStore:didFailToCopySeedDat...
2012-04-17 23:53:43 -04:00
Blake Watters
e70bd93158
Recreate the MOC after deletion of persistent store using a seed database. fixes #676
2012-04-17 23:50:28 -04:00
Blake Watters
f0793b8e19
Enabled support and tests for creation of intermediate directories during RKCache initialization. closes #667
2012-04-17 23:23:41 -04:00
Blake Watters
4ac6a76485
Fix invalid table controller delegate invocation. fixes #683 , closes #659
...
Rename didFinishFinalLoad to didFinalizeLoad for clarity.
2012-04-17 22:54:10 -04:00
Blake Watters
4071fa9a32
Integrated support for configuring runLoopMode on a per request basis. closes #560
2012-04-17 21:28:48 -04:00
Marcus Brito
ea100b6aac
Add a RKRequest attribute to control redirect handling
...
The default behavior is the same as before, to follow redirects. If RKRequest.followRedirect is set to NO, then a redirect (301, 302, 307) response will not be followed, and the request processing will proceed using the current request only.
2012-04-17 21:16:32 -04:00
Jon Nolen
e0b248da46
fixing RKDotNetDateFormatter not correctly mapping dates in RKObjectMappingOperation.
2012-04-17 21:00:28 -04:00
Sylvain Guillopé
46f668d7e9
Added support for connection:didReceiveResponse: to be forwarded from RKResponse through RKRequestDelegate
2012-04-17 20:57:52 -04:00
Blake Watters
7235499d15
Fix invalid spelling of persistent merged inadvertantly
2012-04-17 12:50:21 -04:00
Blake Watters
ef7dc24969
Implemented dynamic factories using blocks. closes #682
2012-04-17 12:41:26 -04:00
Blake Watters
a02b0f0d02
Merge pull request #674 from emcmanus/development
...
Fix spelling of "persistent store"
2012-04-16 18:55:55 -07:00
Blake Watters
75e59813e6
Migrate RKTestFactory didInitialize callback out of init
2012-04-16 14:45:04 -04:00
Ed McManus
0df8c7ea73
Fix spelling of persistent store.
2012-04-14 11:48:22 -07:00
Aaron Crespo
22225cf8a0
Fixed Static analysis warnings.
2012-04-11 22:44:58 -04:00
Blake Watters
fd9ee9952c
Add extern declaration to constants in RKRequestCache. fixes #649 , #652
2012-04-11 21:04:00 -04:00
Blake Watters
3eb4091ffb
Replace use of NSOrderedSet with NSArray to ensure compatibility with iOS 4.x SDK. fixes #664
2012-04-11 13:00:18 -04:00
Blake Watters
d95823d089
Fix incorrect handling of nil values when sectioning an array by keyPath
2012-04-10 19:22:30 -04:00
Blake Watters
de52c1ad52
Do not removeAllSections before loading table items into a section
2012-04-10 19:22:28 -04:00
Blake Watters
0d80bc3744
Switch default cacheStrategy to RKFetchRequestManagedObjectCache. closes #660
2012-04-10 15:16:28 -04:00