Commit Graph

  • b1f4e1ffe5 RKObjectMappingOperation#parseDateFromString now transforms string representations of integers into dates as if they were unix timestamps Christopher Swasey 2012-01-20 12:59:08 -05:00
  • 37f40d0d3a Add cacheTimeoutInterval as a settable property on RKClient and allow RKRequests to inherit the RKClient value when appropriate. Fixes #217 Jeff Arena 2012-01-20 12:40:50 -05:00
  • 53ce2260bd Fixes #428, related to a misspelling in the request:didReceiveData:totalBytesReceived:totalBytesExpectedToReceive: Jeff Arena 2012-01-20 12:13:40 -05:00
  • db0646ed19 Change NSNumber -> NSDate transformation to use doubleValue instead of intValue to ensure we do not lose precision on date conversion. Fixes #455. Jeff Arena 2012-01-20 11:57:47 -05:00
  • 507dfb0cfe Copy our requestQueue array prior to fast enumeration to ensure no mutations of the underlying array occur while we are looping Jeff Arena 2012-01-20 11:52:37 -05:00
  • 6e80ae62ae Fix for #486 Jeff Arena 2012-01-20 11:45:04 -05:00
  • fa44916184 Merge pull request #505 from spenrose/xml-attributes-bug Jeff Arena 2012-01-20 08:36:51 -08:00
  • c7777ffc8d Add coverage for sending synchronous requests with both object loader flavors Jeff Arena 2012-01-20 11:32:12 -05:00
  • dbb12b37a8 Fix a few issues with broken tests Jeff Arena 2012-01-20 11:29:17 -05:00
  • bf2bfe18ff Fix inappropriate usage of URL method with NSString argument Blake Watters 2012-01-20 11:07:22 -05:00
  • 5bc1518cc5 Use URL mapping registration rather than directly providing an object mapping in RKKeyValueMappingExample Blake Watters 2012-01-20 10:18:33 -05:00
  • 0bbcd59039 Migrate the RKCatalog Server submodule from Two Toasters to RestKit organization Blake Watters 2012-01-20 10:16:41 -05:00
  • 5a92a661a8 Fix spelling errors for Cacheing -> Caching Blake Watters 2012-01-20 10:16:14 -05:00
  • 4b46ada794 Copy the error mapping to the temporary mapping provider to ensure error handling is correct. Blake Watters 2012-01-19 09:35:46 -05:00
  • d69adccdd6 Added block callback handlers and tests for RKObjectPaginator. Blake Watters 2012-01-19 09:33:25 -05:00
  • 1d27f7bbbe Refactored object manager API's to de-emphasize delegates and removal duplication of blocks and delegates. Added block callbacks to RKObjectLoader. Blake Watters 2012-01-19 09:09:56 -05:00
  • 4bd12ea987 Apply rootKeyPath within the mapper rather than the object loader Blake Watters 2012-01-18 08:45:34 -05:00
  • 7c5ad95816 Updated all example projects to reflect changes. Blake Watters 2012-01-17 23:38:57 -05:00
  • 560032fd6d Additional documentation and miscellaneous test coverage. Blake Watters 2012-01-17 09:18:09 -05:00
  • 7a1dfd0857 Added support for selecting object mapping using pattern matching on resourcePath. Blake Watters 2012-01-16 23:36:18 -05:00
  • 3a8221aa08 Added support for configuring and retrieving object mapping via resource path patterns. Blake Watters 2012-01-16 23:21:25 -05:00
  • 6abbb34ef0 Introduced mapping contexts support. Blake Watters 2012-01-15 22:03:40 -05:00
  • 31dcb31188 Authored full documentation for the RKURL class Blake Watters 2012-01-11 10:27:47 -05:00
  • 89b02e7550 Refactored paginator to use RKURL rather than relying on its own baseURL and resource path. Expanded paginator documentation. Blake Watters 2012-01-10 23:29:52 -05:00
  • 415ef5a193 Cleaned up all broken specs related to RKObjectPaginator and RKURL changes Blake Watters 2012-01-09 22:13:58 -05:00
  • 412b0f9756 Work in progress on cleanup Blake Watters 2012-01-09 20:58:55 -05:00
  • b56d7ff661 Make RKObjectPaginator.h public Ray Fix 2012-01-07 12:43:43 -08:00
  • 8ac6f66f99 Add an assert to prevent weird errors. Ray Fix 2012-01-07 12:42:34 -08:00
  • ab3ec5495f Leaks brought to my attention by the static analyzer. Ray Fix 2012-01-07 12:42:06 -08:00
  • 3d03959d06 Polish RKObjectPaginator. Ray Fix 2012-01-07 12:39:20 -08:00
  • fb41eb73ec Work in progress on responsibility cleanup Blake Watters 2012-01-06 09:39:20 -05:00
  • 254553dc7c Initial implementation of RKObjectPaginator Blake Watters 2012-01-04 23:36:53 -05:00
  • d0b859484e Merge branch 'feature/513-dates-before-1970' Blake Watters 2012-01-20 09:36:42 -05:00
  • 377d350259 adding treatment for dates before jan 1st 1970 Marlon Andrade 2012-01-20 08:40:48 -02:00
  • 55c72a5f35 Merge branch 'bmorton-timeouts' Blake Watters 2012-01-20 09:25:50 -05:00
  • 035e7732b8 Add RKRequestConnectionTimeoutError to throw when our connection timeout has been exceeded. Brian Morton 2012-01-05 01:34:41 -08:00
  • 90716335f5 Add support for timing out an RKRequest via a timeoutTimer and a timeout property. * Add timeoutInterval property on RKRequest with a default value of 120.0 * Add timeout method that is called by the timer when the timeout interval has been exceeded to cancel the request and return an error via didFailLoadWithError: * Add invalidateTimeoutTimer method that is called by RKResponse when the NSURLConnection begins receiving data. * Add call to invalidateTimeoutTimer in RKRequest cancelAndInformDelegate: so we don't have a dangling timer. * Add timer creation to sendAsynchronously and sendSynchronously Brian Morton 2012-01-05 01:39:46 -08:00
  • 8051fbd9ab Invalidate the RKRequest timer in RKResponse when the NSURLConnection begins receiving data. Brian Morton 2012-01-05 01:40:34 -08:00
  • 8946f4d702 Add timeoutInterval property to RKClient so that it can be passed on to RKRequest. Brian Morton 2012-01-05 01:55:28 -08:00
  • dab403a9c1 Responsibly invalidate the timeoutTimer when the RKRequest is deallocated. Move location of timer creation for asynchronous request. Brian Morton 2012-01-05 02:11:01 -08:00
  • 15d05f1493 Move the invalidateTimeoutTimer call in RKResponse from didReceiveData to didReceiveResponse and didFailWithError so we are sure its always called and as early as possible. Brian Morton 2012-01-05 02:11:49 -08:00
  • 23858146fc Add /timeout route to fake a long response for testing RKRequest's timeout interval. We need to leave this around 4 seconds so we don't hold up the ruby process too long and cause the tests launched after to fail. Brian Morton 2012-01-11 22:59:24 -08:00
  • b88bba9853 Add test for confirming that an RKClient object can pass through a timeoutInterval to a request. Brian Morton 2012-01-11 23:18:27 -08:00
  • f9dd0e9999 Add cast to int to failureError.code so this test works on both the iOS and Mac OS X frameworks. Brian Morton 2012-01-11 23:36:23 -08:00
  • c6fd924b73 This fixes a bug where attributes of a object would also get added to parent object. Scott Penrose 2012-01-14 17:12:17 -05:00
  • e3264a7bfb Merge pull request #504 from bmorton/ordered-set Blake Watters 2012-01-14 08:24:14 -08:00
  • 3f0844f0d3 Add test to make sure an NSOrderedSet can be mapped to an NSArray. Brian Morton 2012-01-14 01:38:23 -08:00
  • 0f3f3d5702 Add support for mapping an array to an NSOrderedSet. Brian Morton 2012-01-13 00:04:40 -08:00
  • 3cf2ea5824 Add test for an array being mapped to an NSOrderedSet. Brian Morton 2012-01-13 00:04:16 -08:00
  • d5da3ae42e Updated visual install guide images to reflect build process changes Blake Watters 2012-01-11 22:27:21 -05:00
  • 8363d35e30 Remove 'file' from Specs/Uploads group. This is a test asset that should not be part of the project. Blake Watters 2012-01-09 21:33:13 -05:00
  • 7be7da61cb Fix for ocassional crashes using http basic auth Ray Fix 2012-01-08 23:59:20 -08:00
  • 6a18ebd91b RKRequest: Added null check for HTTP Basic username and password. Closes #493. David Young-Chan Kay 2012-01-05 18:39:29 -05:00
  • 89a4e579fd Revert "Merge branch 'nolanw-request-delegate-gets-failed-auth-challenge'" Blake Watters 2012-01-09 19:53:23 -05:00
  • 722d08095b Remove UISpecRunner gem Blake Watters 2012-01-04 08:49:48 -05:00
  • 4d99d28a4d Merge pull request #477 from rayfix/fix-log-root-key-path Blake Watters 2011-12-16 21:23:21 -08:00
  • ea0cbed8dc Fixed logging of root key path on object mapping. Remove TODO comment that is done. chethan 2011-12-16 18:20:24 -08:00
  • 091b49a553 Bump version number Blake Watters 2011-12-15 19:32:13 -05:00
  • af7a7d22b6 Lowered logging level for body from Info to Debug Blake Watters 2011-12-15 13:41:00 -05:00
  • d6510d963f Merge branch 'nolanw-request-delegate-gets-failed-auth-challenge' Blake Watters 2011-12-13 21:17:44 -05:00
  • e5e05a0563 Added delegate callback when authentication challenge fails. closes #462 Blake Watters 2011-12-13 21:16:30 -05:00
  • a1e2061106 Modified asserts in RKObjectLoader processMappingResult to allow synchronous requests. Julien Grimault 2011-11-23 09:35:05 +08:00
  • d488452bcd Fix issues with string ordering on OS X vs. iOS in unit tests Blake Watters 2011-12-13 20:57:26 -05:00
  • 4f24470d13 Merge pull request #465 from rayfix/url-encoding-fix Blake Watters 2011-12-13 15:02:37 -08:00
  • e123eaa5fb Updated RKResponse to respect the encoding returned in the Content-Type header (charset=XXX). Exposed encoding information as methods on RKResponse Matthias Bartelmeß 2011-11-24 12:46:27 +01:00
  • dd80df135d Merge pull request #467 from rayfix/test-fix-2 Blake Watters 2011-12-13 13:09:02 -08:00
  • ef8bba11d6 Upgrade to LibComponentLogging Core 1.1.6 and NSLog 1.0.4 to pick up fixes for ARC builds. closes #426 Blake Watters 2011-12-13 15:56:18 -05:00
  • 5d8e62e6a5 Merge pull request #468 from rayfix/should-delete-orphans-451 Blake Watters 2011-12-13 12:42:06 -08:00
  • 8a4c96d96f Merge branch 'rayfix-test-fix-1' Blake Watters 2011-12-13 15:38:07 -05:00
  • 1af71ff385 Fix static analayzer warning for uninitialized variable Ray Fix 2011-12-09 01:43:31 -08:00
  • aa7e76f924 Updated TESTING.md documentation to remove references to UISpecRunner Blake Watters 2011-12-09 12:39:35 -05:00
  • 9a37c1bd66 Moved OS X headers to Public/ and updated README.md Blake Watters 2011-12-09 09:48:55 -05:00
  • 21c3b6af39 Fix static analayzer warning for uninitialized variable Ray Fix 2011-12-09 01:43:31 -08:00
  • 4c8a7f1103 Merge pull request #470 from inquinity/master Blake Watters 2011-12-13 12:12:11 -08:00
  • 2969e6b9f3 Added missing non-null test for NSError pointer Robert Altman 2011-12-12 17:06:17 -06:00
  • d739e78f22 Add another test for orphaned object deletion. Use a real object, rather than a OCMock to prove that the right thing happens with @optional selector is not implemented. Ray Fix 2011-12-11 08:42:11 -08:00
  • d95338bf45 fix test error humanMapping.primaryKeyAttribute set incorrectly Ray Fix 2011-12-11 01:15:09 -08:00
  • f23b242e87 First cut at issue 451, shouldDeleteOrphanedObject. The test is currently failing and the 6 results are returned instead of keeping alive only the original 4 result objects. Requires further investigation. Ray Fix 2011-12-10 15:59:01 -08:00
  • 7eaa0bccfe Fix test failure. Encoded URLs getting extra 25's. Ray Fix 2011-12-09 18:18:08 -08:00
  • c59eb01ca2 Fix test: date conversion failure Default date formatters need to be reset. Ray Fix 2011-12-09 18:15:51 -08:00
  • 361b656064 Corrects failure in testShouldConsiderADictionaryContainingOnlyNullValuesForKeysMappable Ray Fix 2011-12-09 17:54:08 -08:00
  • b670bc7769 Updated TESTING.md documentation to remove references to UISpecRunner Blake Watters 2011-12-09 12:39:35 -05:00
  • 15d291bc52 Moved OS X headers to Public/ and updated README.md Blake Watters 2011-12-09 09:48:55 -05:00
  • 4a45a15da1 Fixed nearly all broken tests for OS X target Blake Watters 2011-12-09 00:30:34 -05:00
  • 479864902b Fixed all build warnings on OS X Framework target Blake Watters 2011-12-08 23:23:20 -05:00
  • 9cc6de8dc4 Request delegate can learn of authentication failures Nolan Waite 2011-12-08 13:17:52 -07:00
  • ec13fb03bd Restore copying of headers to Build/RestKit Blake Watters 2011-12-02 09:45:13 -05:00
  • e0265661e2 Removing legacy RestKit project Blake Watters 2011-12-02 09:12:57 -05:00
  • 01e02b9b56 Migrating extra JSON parsers out of the main RestKit project. Will reappear as standalone projects Blake Watters 2011-12-02 09:11:30 -05:00
  • 8ca1a5bd99 Remove relative import paths from Parsers Blake Watters 2011-12-02 09:01:18 -05:00
  • 8f60d345c4 Drop README from removed TDOAuth library Blake Watters 2011-12-02 09:01:11 -05:00
  • 6f68ffb342 Applied patch from Scott Penrose to handle issues with NSNull values mapped to Core Data properties. closes #436 Blake Watters 2011-11-30 20:54:15 -05:00
  • 8a39f93e62 Add support for handling 204 'No Content' responses. fixes #450 Blake Watters 2011-11-29 23:04:23 -05:00
  • 9208101350 Migrated Three20 support and DiscussionBoard to standalone projects. Blake Watters 2011-11-27 16:15:30 -05:00
  • 19b1cd03f8 Fixed archs for iOS device target Blake Watters 2011-11-27 16:14:17 -05:00
  • a11c999950 Added CoreData.h import to main RestKit header. Updated quick start installation language. Blake Watters 2011-11-23 15:48:24 -05:00
  • 563f5e909b Updated all example projects to build against the new project. Cleaned up header imports for flattened project structure Blake Watters 2011-11-23 15:41:23 -05:00
  • f5008ff9fe Cleaned up broken specs for iOS. Blake Watters 2011-11-22 16:24:22 -05:00
  • 5b718890ac Checking in work in progress on the library reorganization Blake Watters 2011-11-22 13:35:01 -05:00
  • ceb7eb478a Merge pull request #425 from jsullivanlive/patch-1 Blake Watters 2011-12-01 16:45:08 -08:00