Blake Watters
8ff6f62297
Add assertions to RKMIMETypeSerialization and RKTestFixture
2013-03-14 11:49:50 -04:00
Blake Watters
10ad79a352
Bump Gem dependencies
2013-03-13 23:02:41 -04:00
Blake Watters
beeaf9acd5
Bump CocoaPods to 0.16.4
2013-03-13 22:33:21 -04:00
Blake Watters
e831e03ccb
Add workaround to avoid potential crash during execution of deletion operations on iOS 5. closes #1266
2013-03-13 22:28:24 -04:00
Blake Watters
58d67c2229
Update project settings to enable easier symbolication. closes #1277
2013-03-13 21:52:56 -04:00
Blake Watters
90fe39e8e9
Fix issue with RKPathAndQueryStringFromURLRelativeToURL function dropping trailing slashes due to reliance on [NSURL path]. fixes #1220
2013-03-12 18:57:13 -04:00
Blake Watters
34b8a30b06
Improve RKPathMatcher so that it only evaluates a path match positively if the number of slashes in the source string matches the number of slashes in the pattern. closes #1212 , closes #1192
2013-03-10 16:37:35 -04:00
Blake Watters
334085def5
Drop the NSBundle category and instead migrate the functionality directly into RKTestFixture. This category seems unnecessary.
2013-03-10 15:09:43 -04:00
Blake Watters
2003715e2e
Switch to using non-overlapping property and ivar for RKHTTPRequestOperation HTTP error. refs #1140
2013-03-10 14:52:50 -04:00
Blake Watters
e62a9862d7
Rework RKManagedObjectMappingOperationDataSource to avoid performing mutable(Array|Set|OrderedSet)ValueForKeyPath: unless there are existing objects and the identificationAttributes are nil. refs #1232
2013-03-10 14:22:38 -04:00
Blake Watters
2581d21762
Add test case covering deletion of object before use in managed object request operation. refs #1252
2013-03-10 13:30:47 -04:00
Blake Watters
dd74867c79
Fix issue where targetObject was not set appropriately when mapping a non-managed object via RKManagedObjectResponseMapperOperation. fixes #1268
2013-03-10 13:12:17 -04:00
Blake Watters
59ced3b32a
Obtain a permanent NSManagedObjectID when adding a newly created NSManagedObject to the RKInMemoryManagedObjectCache to avoid potential for duplicated objects during concurrent mapping. refs #1260
2013-03-10 11:48:31 -04:00
Blake Watters
ca3828f6ef
Add workaround for logging crash under iOS 5. closes #1256
2013-03-10 00:28:21 -05:00
Blake Watters
f00e309619
Add conditional passing of parameters into the AFHTTPClient to support OAuth signing. fixes #1200
2013-03-09 23:48:01 -05:00
Blake Watters
5d31166509
Revert "Pass parameters into AFHTTPClient instance to help with OAuth signing. closes #1200 "
...
This reverts commit 4634d66e53 .
2013-03-09 23:43:00 -05:00
Blake Watters
4634d66e53
Pass parameters into AFHTTPClient instance to help with OAuth signing. closes #1200
2013-03-09 23:41:27 -05:00
Blake Watters
fd265420b9
Add support for RKRequestMethodAny in relationship routes. fixes #1205
2013-03-09 23:35:47 -05:00
Charlie Savage
6375eecc25
Add countermeasure to prevent occurrence of NSObjectInaccessibleException on ios 5. closes #1208
2013-03-09 23:27:13 -05:00
Blake Watters
de5aed6bde
Fix incorrect type transformation when the destination class is a mutable class. fixes #1201
2013-03-09 23:03:06 -05:00
Blake Watters
1c2cdc4eef
Configure RKManagedObjectImporter to set the mapper operation instance as the parent operation for the RKManagedObjectMappingOperationDataSource instance. This enables relationship connection between objects that are created without an intervening save.
2013-03-09 17:49:53 -05:00
Panupan Sriautharawong
be7ccc7404
Add test coverage for connection of objects with temporary ID's. closes #1227
2013-03-09 17:49:14 -05:00
Blake Watters
cb108d28ba
Fix broken test coverage for 304 (Not Modified) optimization
2013-03-09 10:15:21 -05:00
Blake Watters
3ac8d162f8
Add documentation regarding revised implementation of 304 (Not Modified) optimization in RKManagedObjectRequestOperation
2013-03-09 10:15:06 -05:00
Blake Watters
5329ef450e
Fix function declaration for RKCacheableStatusCodes
2013-03-07 21:17:51 -05:00
Yannick Reifschneider
7f5b0fec97
Unescape URL metadata mapping parameters if route required parameter escaping
2013-03-07 21:17:51 -05:00
Blake Watters
e805bbc41e
Improve documentation regarding registration of transformation blocks. closes #1270
2013-03-07 21:00:45 -05:00
Charlie Savage
535255a686
Fix RKReplaceAssignmentPolicy. The problem was that new values for the relationship were gathered before the old values were deleted. Therefore if one of the new values was the same as the old value, the valueForRelationship collection would contain a deleted managed - not good.
...
Also fixed:
* The if statement near line 674 was incorrectly negated
* Setting the relationship value around line 676 was redundant since it was done in the mapCoreDataToManyRelationshipValue:withMapping method.
2013-03-07 20:55:42 -05:00
Blake Watters
a9ef1fe39d
Introduce a new heuristic based approach for determining if a response can skip the mapping process. Also introduces a new Network + CoreData logging component and reduces the chattiness of the debug logging level for Core Data Network events.
2013-03-07 19:25:14 -05:00
Blake Watters
02247695b1
Fix intermittent crashes during test execution
2013-03-07 15:33:11 -05:00
Christian Himmelsbach
4c1d010e91
fix: To one relationships, that have a nested destination keypath are not correctly mapped to JSON
2013-03-07 14:55:07 -05:00
Blake Watters
318f9659f6
Move management of RKResponseHasBeenMapped to RKObjectRequestOperation instead of RKManagedObjectRequestOperation. Add unit tests.
2013-03-07 14:39:31 -05:00
Blake Watters
248d1d3779
Remove noisy params logging from test server actions
2013-03-07 13:59:02 -05:00
Blake Watters
d47a0c9ffd
Add support for retrying RKObjectRequestOperation and RKManagedObjectRequestOperation by conforming to NSCopying. closes #1224
2013-03-07 13:55:11 -05:00
Jeff Arena
948209b254
Remove wasNotModified method in favor of setting a flag on cached response entries to determine if mapping can be skipped.
2013-03-07 13:08:30 -05:00
Blake Watters
0e19f5deb1
Add NSURLConnectionDataDelegate to protocol declaration for AFURLConnectionOperation to avoid compiler error in some cases. closes #1249
2013-03-07 10:24:49 -05:00
Blake Watters
15a898a849
Update baseURLs to fix issues with Twitter example projects. closes #1273
2013-03-07 09:48:48 -05:00
Jeff Arena
0a9a57101c
Bump pod lock file per new cocoapods version
2013-03-07 09:46:20 -05:00
Jeff Arena
5956cca22e
Bump versions on bundler and debugger gems
2013-03-07 09:44:53 -05:00
Blake Watters
490b233daf
Add countermeasure to avoid crash in cxx_destruct during deallocation of mapping result
2013-02-25 11:28:50 -05:00
Blake Watters
f36dcded83
Change system import into user import for RestKit/Network.h. closes #1244
2013-02-21 23:10:07 -05:00
Blake Watters
15cc733bfa
Add missing operation start in README.md example. closes #1217
2013-02-21 23:05:54 -05:00
Blake Watters
47eed616ef
Fix crash due to execution of RKDeleteInvalidNewManagedObject from outside of the dispatch queue of the NSManagedObjectContext that owns the object. fixes #1251
2013-02-21 23:02:23 -05:00
Blake Watters
c7a53f370c
Update xcoder gem to pick up colored output
2013-02-21 22:55:18 -05:00
Blake Watters
45c70292e6
Adjust RKSearchIndexer logging to ensure output is emitted when the indexer hits 100%
2013-02-19 12:40:06 -05:00
Blake Watters
80b3cd378a
Merge pull request #1242 from alimoeeny/patch-1
...
removed a stray ] in the sample source code
2013-02-18 11:03:12 -08:00
Ali Moeeny
972ea56cfb
removed a stray ] in the sample source code
...
In the README file, at line 193, at the end there is a stray ] which I removed, nothing major :)
2013-02-18 14:01:39 -05:00
Blake Watters
524a9f400d
Merge pull request #1238 from geon/patch-2
...
The relationship variables are missing.
2013-02-15 11:09:00 -08:00
Victor Widell
2fa9b52dba
The "teamMembers" variable was not used.
...
The variable "relationship" is not defined, and looks like it should be "teamMembers" instead.
This is a bit inconsequent with the example above, that is named "userRelationship". Either both or neither of them should include the word "relationship".
2013-02-15 18:27:28 +01:00
Victor Widell
429a5d36f1
The relationship variable was missing.
...
In the example, a variable named "relationship" is used, but not created. On the line above, another variable "userRelationship" is created but not used.
I'm assuming this is a typo, and they are supposed to be the same?
2013-02-15 18:18:10 +01:00