Commit Graph

  • 6f0b0b38f8 Broke out logging for requests into meaningfully differentiated Debug and Trace messages. Blake Watters 2011-06-24 10:13:59 -04:00
  • 4773542a9e Fix breakage in Core Data Blake Watters 2011-06-23 09:21:54 -04:00
  • 0ca4a0feea Added unit tests to loaders to investigate loading an array bug reports Blake Watters 2011-06-23 08:49:20 -04:00
  • 64db97ce60 Helper methods for retrieving attribute and relationship mappings by attribute/relationship keyPath. Useful for customizing serialization mappings that were built using inverseMapping. Blake Watters 2011-06-22 10:43:42 -04:00
  • 8ad1a84281 Reworked object loader to check if a response is mappable even if it is an error. We had an assertion failure that could be triggered by trying to load a remote error payload in a non-mappable format (i.e. text/html). Blake Watters 2011-06-21 13:27:15 -04:00
  • 903ab19eae Ensure that logging is configured on first invocation of RKLogConfigureByName. This allows you to initialize the log level before you have configured any other part of the framework. Blake Watters 2011-06-21 13:26:06 -04:00
  • 2a23531379 Merge branch 'master' of github.com:twotoasters/RestKit Blake Watters 2011-06-21 10:14:27 -04:00
  • 1ab61ad735 Check for nil target object ID before performing deletion. Log info about the process. Blake Watters 2011-06-21 10:13:34 -04:00
  • 58de93895c Merge pull request #160 from kitsched/patch-1 Blake Watters 2011-06-21 06:58:51 -07:00
  • 52666d6147 replaced deprecated methods with the current ones Janos Rusiczki 2011-06-21 04:25:15 -07:00
  • 13da6aa77e Fix memory leak in the Three20 data source Blake Watters 2011-06-20 15:49:29 -04:00
  • 0954d4a063 Fixing more memory leaks Blake Watters 2011-06-20 15:03:35 -04:00
  • 99ae37037a Fixes for memory leaks with RKParams related to HTTPBodyStream causing a retain Blake Watters 2011-06-20 13:41:42 -04:00
  • 8f91e85e04 Merge branch 'restkit-sprint' Blake Watters 2011-06-20 10:54:04 -04:00
  • 4cc6a86a73 Merge branch 'restkit-sprint' Blake Watters 2011-06-20 10:52:13 -04:00
  • a5cc456351 Merge branch 'restkit-sprint' of github.com:twotoasters/RestKit into restkit-sprint Jeremy Ellison 2011-06-20 10:51:30 -04:00
  • de154e21b8 Fix -reset in RKManagedObjectLoader.m Jeremy Ellison 2011-06-20 10:50:56 -04:00
  • 3204682f72 Added object mapping management to the mapping provider for folks who don't have keyPaths. Deprecated setMapping:forKeyPath: in favor of setObjectMapping:forKeyPath: for consistency with the other method signatures. Blake Watters 2011-06-20 10:41:30 -04:00
  • 2006633491 Memory and ivar cleanups for RKParams Blake Watters 2011-06-20 09:16:55 -04:00
  • a7f363a0e3 Removed dead link to blog post. Rachit Shukla 2011-06-20 04:28:05 -07:00
  • 9cb4e91ec6 Fix types: _body should be NSMutableData Victor Kryukov 2011-06-18 21:47:52 +04:00
  • b14578436b Fix typo in documentation string Victor Kryukov 2011-06-18 21:37:11 +04:00
  • 714be36907 Code cleanup: initWithDictionary is used in RKObjectLoader and should be declared Victor Kryukov 2011-06-18 15:57:05 +04:00
  • 00ee7e93c3 Code cleanup: **error may be null as per coding standards in 'Creating and Returning NSError Objects' (found with Analyzer) Victor Kryukov 2011-06-18 15:55:39 +04:00
  • 5eb654b76a Code cleanup: sent == 0 at that point (found with XCode's Analyzer) Victor Kryukov 2011-06-18 15:51:18 +04:00
  • b25d1395ee Code cleanup: background policy is iOS 4.x and higher only Victor Kryukov 2011-06-18 15:50:07 +04:00
  • 80f6ff0a64 Merge branch 'master' of github.com:twotoasters/RestKit Blake Watters 2011-06-20 10:43:17 -04:00
  • de684989db Fix memory leaks in -reset on RKObjectLoader and RKManagedObjectLoader. Jeremy Ellison 2011-06-20 09:12:56 -04:00
  • 2d9c774e01 Removed dead link to blog post. Rachit Shukla 2011-06-20 04:28:05 -07:00
  • a0f332889f Merge pull request #155 from victorkryukov/code-cleanup Blake Watters 2011-06-18 14:24:03 -07:00
  • 1ccb919317 Fix types: _body should be NSMutableData Victor Kryukov 2011-06-18 21:47:52 +04:00
  • ba5e934bee Fix typo in documentation string Victor Kryukov 2011-06-18 21:37:11 +04:00
  • 2b0fa4790b Code cleanup: initWithDictionary is used in RKObjectLoader and should be declared Victor Kryukov 2011-06-18 15:57:05 +04:00
  • 609102dcf8 Code cleanup: **error may be null as per coding standards in 'Creating and Returning NSError Objects' (found with Analyzer) Victor Kryukov 2011-06-18 15:55:39 +04:00
  • 384942b893 Code cleanup: sent == 0 at that point (found with XCode's Analyzer) Victor Kryukov 2011-06-18 15:51:18 +04:00
  • f26a21cf61 Code cleanup: background policy is iOS 4.x and higher only Victor Kryukov 2011-06-18 15:50:07 +04:00
  • 3bf4b7bc0f Implemented nested mapping for structures similar to the BuildBot JSON structure. fixes #112 Blake Watters 2011-06-17 11:55:57 -04:00
  • e9e4c83630 Merge branch 'restkit-sprint' of github.com:twotoasters/RestKit into restkit-sprint Daniel Hammond 2011-06-16 21:17:31 -04:00
  • d9fc311433 Remove objects persisted to Core Dataduring postObject: when there is an error (Fix Issue #125) Daniel Hammond 2011-06-16 21:17:14 -04:00
  • d211d3ba44 Issue #61 patched, adds escapes according to UTF8 encoding Duncan Lewis 2011-06-16 20:03:38 -04:00
  • 87b0ea0b38 Added HTTPBody and HTTPBodyString properties to simplify specifying Request Body. Fixes #55 Scott Penrose 2011-06-16 19:24:27 -04:00
  • ae68829ec4 transform booleans to strings Jeremy Ellison 2011-06-16 19:30:10 -04:00
  • 9073b25988 Merge branch 'master' of github.com:twotoasters/RestKit into restkit-sprint Jeremy Ellison 2011-06-16 19:06:25 -04:00
  • 5c9ecbae12 Merge branch 'restkit-sprint' of github.com:twotoasters/RestKit into restkit-sprint Jeremy Ellison 2011-06-16 18:50:25 -04:00
  • d9c0f85b0d Spec to ensure requests get sent after changing base url. fixes #119. Jeremy Ellison 2011-06-16 18:49:40 -04:00
  • ed9260abcd Issue #106 added requested change in RKManagedObjectStore.m Duncan Lewis 2011-06-16 18:47:42 -04:00
  • 718c67039a Project updates Duncan Lewis 2011-06-16 18:29:09 -04:00
  • 61de21f0d1 Applied fix for RestKit issue #89 Duncan Lewis 2011-06-16 18:25:01 -04:00
  • f2b62bb31e Write a test that ensures Url's will evaluate equal properly and not get set if they already are. Jeremy Ellison 2011-06-16 18:19:47 -04:00
  • 13e29a403b Merge branch 'restkit-sprint' of github.com:twotoasters/RestKit into restkit-sprint Scott Penrose 2011-06-16 18:15:11 -04:00
  • ea4a930cee Add support for 409 and 410 response status codes BOOL helper methods. fixes #115 Scott Penrose 2011-06-16 18:11:43 -04:00
  • 130135013c fix xml parser from overwriting dupe keys. Add a spec for this case. Jeremy Ellison 2011-06-16 17:55:06 -04:00
  • 323d5e30b1 Add support for mapping from NSNumber to NSDate by coercing to a time interval since 1970. fixes #141 Blake Watters 2011-06-16 17:33:21 -04:00
  • 94cd42abd6 Add missing fixture Blake Watters 2011-06-16 17:17:35 -04:00
  • 1137aff165 Tweaks to comments Blake Watters 2011-06-16 17:15:07 -04:00
  • 3dd7361116 Pushing code up for Jeremy Blake Watters 2011-06-16 17:11:13 -04:00
  • dbd752e74a Merge branch 'master' of github.com:twotoasters/RestKit Blake Watters 2011-06-16 17:05:44 -04:00
  • a75ace87d0 Deprecated RKObjectManager methods that use queryParams. Added NSString category for achieving the same results without bloating the API Blake Watters 2011-06-16 17:04:34 -04:00
  • 9b6581a258 also release the underlying NSURLConnection so we don't leak memory when resetting requests. Jeremy Ellison 2011-06-16 15:19:49 -04:00
  • 518f57d013 don't leak URLRequest ivar when resetting RKRequest Jeremy Ellison 2011-06-16 14:43:42 -04:00
  • 9388673d67 Allow RKRequests (and object loaders) to be 'reset' so that you can send them again. Reset RKObjectLoaders before sending them in RKObjectLoaderTTModel. This fixes reloading of the model (i.e. pull to refresh). Jeremy Ellison 2011-06-16 13:45:14 -04:00
  • e3a007fcf7 Add note about the library search path being unnecessary when using DerivedData Blake Watters 2011-06-16 09:11:53 -04:00
  • 964ea545ae Added support for HEAD requests. closes #151 Blake Watters 2011-06-15 16:14:00 -04:00
  • d84088277e Expand commentary around registerMapping Blake Watters 2011-06-15 11:14:57 -04:00
  • e65ea71b20 Updates to make parsedBody: implementation ready for merge. Migrated all remaining specs to RKSpec so failures don't cause crashes when you use the Hamcrest helpers. closes #153 Blake Watters 2011-06-15 10:47:45 -04:00
  • d5e3fc33a1 Merge branch 'master' of https://github.com/leonradley/RestKit into leonradley-master Blake Watters 2011-06-15 10:35:15 -04:00
  • 5f7b8559cd Only build a serialization if we are a POST or a PUT Blake Watters 2011-06-15 10:29:11 -04:00
  • 420d20384f Add support for mapping yes and no to NSNumber boolean values Blake Watters 2011-06-15 09:59:45 -04:00
  • 1fb99c383b Added unit test for RKParams key/value issue from the mailing list Blake Watters 2011-06-15 09:50:28 -04:00
  • 550edf9873 Added error to method signature and used RKLogError if the errror isn't nil Leon 2011-06-15 14:51:56 +02:00
  • 2c5700fded Implemented parsedBody based on the new RKParserRegistry Leon 2011-06-15 13:53:05 +02:00
  • 2493828414 Make imports of RKParser relative so they resolve correctly outside of the library project Blake Watters 2011-06-13 08:33:34 -04:00
  • a41917af66 Ensure parsers are in the public dir Blake Watters 2011-06-12 18:52:11 -04:00
  • ce9f49a061 Move Three20 headers into Public Blake Watters 2011-06-12 15:01:55 -04:00
  • 8e5fa664e8 Cleaned up miscellaneous artifacts from squashing object mapping 2.0 Blake Watters 2011-06-11 20:19:52 -04:00
  • 8aef0a36b5 UISpec update Blake Watters 2011-06-11 18:47:23 -04:00
  • 27ea307816 Fix crash in RKCatalog. Suppress warning about symbol visibility during linking. Blake Watters 2011-06-11 18:21:41 -04:00
  • 8d30413717 Add Ed McManus to contributors Blake Watters 2011-06-11 18:04:01 -04:00
  • dafe3486e9 Added cache component to logging. Chased down some mystery failing tests. Added thorough logging to RKRequestCache. Blake Watters 2011-06-11 17:32:37 -04:00
  • ecf808af1a Added boolean "reversible" property to RKObjectRelationshipMapping. This can be used to break cyclical relationships in the object mapping graph. Relationships can be optionally included in an inverse mapping generation for serialization purposes. Ed McManus 2011-06-11 05:05:30 -07:00
  • 9299cabc11 Implemented flexible logging solution utilizing the excellent LibComponentLogging library. Blake Watters 2011-06-10 09:22:23 -04:00
  • bc355d69fd Added NSAssert statements to try and prevent accidental configuration of a Three20 model with an object loader that has already been sent. Blake Watters 2011-06-09 14:17:50 -04:00
  • 69ded29245 Improved Three20 integration by leveraging object mapping to instantiate TTTableItems Blake Watters 2011-06-09 16:01:11 -04:00
  • 7bf3e0f273 Added support for mapping boolean strings to NSNumber with values t or f in addition to true and false. refs #130 Blake Watters 2011-06-08 19:07:56 -04:00
  • 8be34582a5 Ported DiscussionBoard to new Three20 class structure Blake Watters 2011-06-08 16:05:00 -04:00
  • f2ceefa012 Merge Request Queue (See issue #75): * Introduces RKRequestCache for cacheing responses (supports ETag conditional GET, use cache if available, use cache on error, etc.) closes #75 * Updates to Three20 layer to eliminate need for intermediary TTTableItem classes closes #76 * Fixes to ensure iOS 3.x compatability: * Switched compiler to Clang * Updated conditional checks for UIBackgroundTask symbols to ensure runtime safety on iOS 3.x * Removed unnecessary linkage against UIKit and CoreFoundation from library targets * Fix for issue where RKRequest objects could become stuck in infinite loop within RKRequestQueue loadNextInQueue if you start a request and then cancel immediately. On cancel only decrement loadCount if the request has start loading. refs #122 Blake Watters 2011-06-08 14:39:38 -04:00
  • 9416ad9cf6 Added gcov to specs. Added HTTP Basic Authorization optimization Blake Watters 2011-06-07 20:43:02 -04:00
  • f3c0995d5e Implementation of Object Mapping 2.0 design: * Removed RestKit from inheritance hierarchy * Mappings are implemented as concrete classes * Mapper is much more flexible & powerful * Much more robust error handling * Serialization is reimplemented as an object mapping operation * Added ability to serialize to JSON natively * Reworked Core Data integration * Simplified the codebase substantially Blake Watters 2011-04-23 18:32:33 -04:00
  • 3a76780f76 Merge pull request #150 from victorkryukov/master Blake Watters 2011-06-11 11:21:01 -07:00
  • 16ee0d278c Format lines better Victor Kryukov 2011-06-11 21:55:55 +04:00
  • 26e240d224 Customize view in loadView, not createModel Victor Kryukov 2011-06-11 21:55:31 +04:00
  • 71fb2d1a0c Remove unused _tableTitleHeaderLabel from DBResourceListTableViewController Victor Kryukov 2011-06-11 21:55:05 +04:00
  • b25be71bab Use relative paths in #imports to prevent XCode 4.2 from complaining Victor Kryukov 2011-06-11 21:54:17 +04:00
  • 5db087a73a Remove duplicate declarations for createdAt, updatedAt, userID and user from DBPost Victor Kryukov 2011-06-11 21:41:20 +04:00
  • cd11934498 Merge pull request #149 from victorkryukov/master Blake Watters 2011-06-11 08:38:12 -07:00
  • eca655abbd Add Three20.bundle to make sure TTAlert works Victor Kryukov 2011-06-11 14:47:41 +04:00
  • d6bd24a350 RKRequestQueue loadNextInQueue stuck in infinite loop if you start a request and then cancel immediately. On cancel only decrement loadCount if the request has start loading. This needs to be merged into master #122 Scott Penrose 2011-05-27 09:06:18 -04:00
  • 288034e439 Merge pull request #128 from pashields/targetObject_leak Blake Watters 2011-05-27 10:55:38 -07:00
  • 40b7363004 Stop leaking memory in the XML parser (call xmlFree() after xmlNodeGetContent()). Jeremy Ellison 2011-05-27 13:00:23 -04:00
  • eecf87e71a Don't leak object passed in to loader. Pat Shields 2011-05-27 12:46:36 -04:00