Blake Watters
e169cbca3d
Migrated new files into Public/ headers for Framework target
2012-02-07 18:04:57 -05:00
Brian Morton
7c42f57219
Merge pull request #539 from bmorton/fix-baseurl-in-failing-timeout-test
...
Fix base URL in failing timeout test
2012-02-02 20:28:51 -08:00
Blake Watters
d4e3c0d559
Remove Appledoc significant asterisk in non-documenting comment
2012-02-02 09:21:00 -05:00
Blake Watters
7217b19839
Merge pull request #538 from bmorton/fix-and-update-appledoc
...
Fix and update appledoc
2012-01-30 15:38:49 -08:00
Brian Morton
16f81367d6
Fix how testShouldTimeoutAtInterval builds its URL so that the test passes again.
2012-01-28 13:46:29 -08:00
Brian Morton
f92fbb9f8e
Fix issue that caused appledoc to fall over while building documentation.
...
There's currently a known issue for appledoc (https://github.com/tomaz/appledoc/issues/147 ) that causes it to fall over when it encounters a method declaration in an implementation that is missing a type (even if its in the header file). While this is valid Objective-C, lets update this to allow appledoc to go on its merry little way.
* Fix 1 declaration relating to atKeyPath: in RKObjectMapper.m
* Fix 2 declarations relating to atKeyPath: in RKObjectMapper_Private.h
* Fix 1 declaration relating to atKeyPath: in RKObjectMappingOperation.m
All declarations were changed to declare keyPath as an (NSString *).
2012-01-28 13:40:38 -08:00
Brian Morton
104624e1fa
Update appledoc and use a custom build that supports the DEPRECATED_ATTRIBUTE flag.
...
* Bring appledoc up-to-date with a binary from the current HEAD (2.0.5 build 752).
* Use custom forked version that allows us to use DEPRECATED_ATTRIBUTE as an alias for __attribute__((deprecated)).
The patch that we added is available here:
3e0261ae9f
2012-01-28 13:29:26 -08:00
Christopher Swasey
b3c5ba62d2
Replace the XMLParser with one based on Insert-Witty-Name/XMLReader
2012-01-24 12:01:47 -05:00
Blake Watters
a719843c91
Drop the client prefix from the SSL validation properties added to RKRequest
2012-01-24 11:47:31 -05:00
Blake Watters
9e0149fc0f
Deprecate RKMakePathWithObjectAddingEscapes and cleanup usage within the Router
2012-01-24 09:51:05 -05:00
Christopher Swasey
7ea39690c5
Decouple RKResponse from sharedClient Fixes #430
2012-01-23 18:21:22 -05:00
Jeff Arena
5b9445cef0
Slight refactor of RKObjectPropertyInspector to expose a previously private, instance method as a public, class method, for use in processing transformable attributes in the associated CoreData category. Fixes #498 .
2012-01-23 18:10:06 -05:00
Jeff Arena
7bf04e49ec
Fix memory leaks in newly introduced queue code. Fixes #521 . Fixes #522 .
2012-01-23 17:52:29 -05:00
Christopher Swasey
ca82c6ca18
Fix test for pull request 519
2012-01-23 10:51:20 -05:00
Brian Morton
b0fd4d4981
Remove duplicate timer creation. Fixes #517 .
2012-01-23 10:33:13 -05:00
Brian Morton
7c84d89bdf
Move RKRequest timeoutTimer creation to a helper method so that we can test the number of times it is invoked.
2012-01-23 10:33:07 -05:00
Brian Morton
a4981ea0b6
Add test to make sure that only one timeoutTimer is created.
2012-01-23 10:33:02 -05:00
Jeff Arena
8b44c44b1c
Add broken test validating issue described in #498
2012-01-21 14:12:40 -05:00
Jeff Arena
aac9abc0ad
Audit uses of setValue:forKey: in mapping operations and replace with setValue:forKeyPath: where appropriate. Fixes #421 .
2012-01-21 13:11:35 -05:00
Jeff Arena
86c87cfc96
Add a broken unit test demonstrating the issue described in #481 .
2012-01-21 12:51:04 -05:00
Jeff Arena
1c32bd4275
Add test to ensure RKManagedObjectMappings are properly returned from RKDynamicObjectMappings. Appears to refute the bug assertions made in #457 .
2012-01-20 17:04:43 -05:00
Jeff Arena
774f32d7db
Remove use of stringByAppendingPathComponent: in RKURL init so as to handle cases where the resourcePath is longer than 1024 characters (which should never happen). Fixes #321 .
2012-01-20 16:44:10 -05:00
Christopher Swasey
886ec75283
Import http://boredzo.org/iso8601parser/ and add it as a defaultDateFormatter for parsing ISO8601 strings. Fixes #438
2012-01-20 15:13:45 -05:00
Jeff Arena
700456c8eb
Add support for serializing NSOrderedSet. Fixes #514 .
2012-01-20 14:27:19 -05:00
Jeff Arena
c0cd23a14d
Add setBody:forMIMEType: method to RKRequest. Fixes #227 .
2012-01-20 14:09:25 -05:00
Jeff Arena
3b6c0a29e2
Added test for properly setting the Content-Length header for RKParams file uploads. Test appears to pass, contradicting concerns raised in #420 .
2012-01-20 13:20:51 -05:00
Christopher Swasey
b1f4e1ffe5
RKObjectMappingOperation#parseDateFromString now transforms string representations of integers into dates as if they were unix timestamps
2012-01-20 12:59:16 -05:00
Jeff Arena
37f40d0d3a
Add cacheTimeoutInterval as a settable property on RKClient and allow RKRequests to inherit the RKClient value when appropriate. Fixes #217
2012-01-20 12:40:50 -05:00
Jeff Arena
53ce2260bd
Fixes #428 , related to a misspelling in the request:didReceiveData:totalBytesReceived:totalBytesExpectedToReceive:
2012-01-20 12:13:40 -05:00
Jeff Arena
db0646ed19
Change NSNumber -> NSDate transformation to use doubleValue instead of intValue to ensure we do not lose precision on date conversion. Fixes #455 .
2012-01-20 11:57:47 -05:00
Jeff Arena
507dfb0cfe
Copy our requestQueue array prior to fast enumeration to ensure no mutations of the underlying array occur while we are looping
2012-01-20 11:52:37 -05:00
Jeff Arena
6e80ae62ae
Fix for #486
2012-01-20 11:45:04 -05:00
Jeff Arena
c7777ffc8d
Add coverage for sending synchronous requests with both object loader flavors
2012-01-20 11:32:12 -05:00
Jeff Arena
dbb12b37a8
Fix a few issues with broken tests
2012-01-20 11:29:17 -05:00
Blake Watters
bf2bfe18ff
Fix inappropriate usage of URL method with NSString argument
2012-01-20 11:07:22 -05:00
Blake Watters
5bc1518cc5
Use URL mapping registration rather than directly providing an object mapping in RKKeyValueMappingExample
2012-01-20 10:21:57 -05:00
Blake Watters
0bbcd59039
Migrate the RKCatalog Server submodule from Two Toasters to RestKit organization
2012-01-20 10:21:56 -05:00
Blake Watters
5a92a661a8
Fix spelling errors for Cacheing -> Caching
2012-01-20 10:21:56 -05:00
Blake Watters
4b46ada794
Copy the error mapping to the temporary mapping provider to ensure error handling is correct.
2012-01-20 10:21:56 -05:00
Blake Watters
d69adccdd6
Added block callback handlers and tests for RKObjectPaginator.
2012-01-20 10:21:56 -05:00
Blake Watters
1d27f7bbbe
Refactored object manager API's to de-emphasize delegates and removal duplication of blocks and delegates. Added block callbacks to RKObjectLoader.
2012-01-20 10:21:56 -05:00
Blake Watters
4bd12ea987
Apply rootKeyPath within the mapper rather than the object loader
2012-01-20 10:21:19 -05:00
Blake Watters
7c5ad95816
Updated all example projects to reflect changes.
2012-01-20 10:21:19 -05:00
Blake Watters
560032fd6d
Additional documentation and miscellaneous test coverage.
2012-01-20 10:21:19 -05:00
Blake Watters
7a1dfd0857
Added support for selecting object mapping using pattern matching on resourcePath.
2012-01-20 10:21:19 -05:00
Blake Watters
3a8221aa08
Added support for configuring and retrieving object mapping via resource path patterns.
2012-01-20 10:21:19 -05:00
Blake Watters
6abbb34ef0
Introduced mapping contexts support.
...
Extended RKObjectMappingProvider to store collections of object mappings for different use cases. The framework
now stores object mappings, serialization mappings, an error mapping and a pagination mapping using the context
support. Contexts can be added to the provider via method calls or extension via a category.
2012-01-20 10:21:19 -05:00
Blake Watters
31dcb31188
Authored full documentation for the RKURL class
2012-01-20 10:21:18 -05:00
Blake Watters
89b02e7550
Refactored paginator to use RKURL rather than relying on its own baseURL and resource path. Expanded paginator documentation.
2012-01-20 10:21:18 -05:00
Blake Watters
415ef5a193
Cleaned up all broken specs related to RKObjectPaginator and RKURL changes
2012-01-20 10:21:18 -05:00