Commit Graph

685 Commits

Author SHA1 Message Date
Victor Kryukov
b25d1395ee Code cleanup: background policy is iOS 4.x and higher only 2011-06-20 10:49:39 -04:00
Jeremy Ellison
de684989db Fix memory leaks in -reset on RKObjectLoader and RKManagedObjectLoader. 2011-06-20 09:12:56 -04:00
Blake Watters
3bf4b7bc0f Implemented nested mapping for structures similar to the BuildBot JSON structure. fixes #112 2011-06-17 15:36:28 -04:00
Daniel Hammond
e9e4c83630 Merge branch 'restkit-sprint' of github.com:twotoasters/RestKit into restkit-sprint 2011-06-16 21:17:31 -04:00
Daniel Hammond
d9fc311433 Remove objects persisted to Core Dataduring postObject: when there is an error (Fix Issue #125) 2011-06-16 21:17:14 -04:00
Duncan Lewis
d211d3ba44 Issue #61 patched, adds escapes according to UTF8 encoding 2011-06-16 20:07:19 -04:00
Scott Penrose
87b0ea0b38 Added HTTPBody and HTTPBodyString properties to simplify specifying Request Body. Fixes #55 2011-06-16 19:32:24 -04:00
Jeremy Ellison
ae68829ec4 transform booleans to strings 2011-06-16 19:30:10 -04:00
Jeremy Ellison
9073b25988 Merge branch 'master' of github.com:twotoasters/RestKit into restkit-sprint 2011-06-16 19:06:25 -04:00
Jeremy Ellison
5c9ecbae12 Merge branch 'restkit-sprint' of github.com:twotoasters/RestKit into restkit-sprint 2011-06-16 18:50:25 -04:00
Jeremy Ellison
d9c0f85b0d Spec to ensure requests get sent after changing base url. fixes #119. 2011-06-16 18:49:40 -04:00
Duncan Lewis
ed9260abcd Issue #106 added requested change in RKManagedObjectStore.m 2011-06-16 18:47:42 -04:00
Duncan Lewis
718c67039a Project updates 2011-06-16 18:29:22 -04:00
Duncan Lewis
61de21f0d1 Applied fix for RestKit issue #89 2011-06-16 18:29:21 -04:00
Jeremy Ellison
f2b62bb31e Write a test that ensures Url's will evaluate equal properly and not get set if they already are. 2011-06-16 18:19:47 -04:00
Scott Penrose
13e29a403b Merge branch 'restkit-sprint' of github.com:twotoasters/RestKit into restkit-sprint 2011-06-16 18:15:11 -04:00
Scott Penrose
ea4a930cee Add support for 409 and 410 response status codes BOOL helper methods. fixes #115 2011-06-16 18:11:43 -04:00
Jeremy Ellison
130135013c fix xml parser from overwriting dupe keys. Add a spec for this case. 2011-06-16 17:55:06 -04:00
Blake Watters
323d5e30b1 Add support for mapping from NSNumber to NSDate by coercing to a time interval since 1970. fixes #141 2011-06-16 17:33:21 -04:00
Blake Watters
94cd42abd6 Add missing fixture 2011-06-16 17:17:35 -04:00
Blake Watters
1137aff165 Tweaks to comments 2011-06-16 17:15:07 -04:00
Blake Watters
3dd7361116 Pushing code up for Jeremy 2011-06-16 17:11:13 -04:00
Blake Watters
dbd752e74a Merge branch 'master' of github.com:twotoasters/RestKit 2011-06-16 17:05:44 -04:00
Blake Watters
a75ace87d0 Deprecated RKObjectManager methods that use queryParams. Added NSString category for achieving the same results without bloating the API 2011-06-16 17:04:34 -04:00
Jeremy Ellison
9b6581a258 also release the underlying NSURLConnection so we don't leak memory when resetting requests. 2011-06-16 15:19:49 -04:00
Jeremy Ellison
518f57d013 don't leak URLRequest ivar when resetting RKRequest 2011-06-16 14:43:42 -04:00
Jeremy Ellison
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).
2011-06-16 13:45:14 -04:00
Blake Watters
e3a007fcf7 Add note about the library search path being unnecessary when using DerivedData 2011-06-16 09:11:53 -04:00
Blake Watters
964ea545ae Added support for HEAD requests. closes #151 2011-06-15 16:14:00 -04:00
Blake Watters
d84088277e Expand commentary around registerMapping 2011-06-15 11:14:57 -04:00
Blake Watters
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 2011-06-15 10:47:45 -04:00
Blake Watters
d5e3fc33a1 Merge branch 'master' of https://github.com/leonradley/RestKit into leonradley-master 2011-06-15 10:35:15 -04:00
Blake Watters
5f7b8559cd Only build a serialization if we are a POST or a PUT 2011-06-15 10:29:11 -04:00
Blake Watters
420d20384f Add support for mapping yes and no to NSNumber boolean values 2011-06-15 09:59:45 -04:00
Blake Watters
1fb99c383b Added unit test for RKParams key/value issue from the mailing list 2011-06-15 09:50:28 -04:00
Leon
550edf9873 Added error to method signature and used RKLogError if the errror isn't nil 2011-06-15 14:51:56 +02:00
Leon
2c5700fded Implemented parsedBody based on the new RKParserRegistry 2011-06-15 13:53:05 +02:00
Blake Watters
2493828414 Make imports of RKParser relative so they resolve correctly outside of the library project 2011-06-13 08:33:34 -04:00
Blake Watters
a41917af66 Ensure parsers are in the public dir 2011-06-12 18:52:11 -04:00
Blake Watters
ce9f49a061 Move Three20 headers into Public 2011-06-12 15:01:55 -04:00
Blake Watters
8e5fa664e8 Cleaned up miscellaneous artifacts from squashing object mapping 2.0 2011-06-11 20:34:10 -04:00
Blake Watters
8aef0a36b5 UISpec update 2011-06-11 20:27:34 -04:00
Blake Watters
27ea307816 Fix crash in RKCatalog. Suppress warning about symbol visibility during linking. 2011-06-11 20:27:33 -04:00
Blake Watters
8d30413717 Add Ed McManus to contributors 2011-06-11 20:27:33 -04:00
Blake Watters
dafe3486e9 Added cache component to logging. Chased down some mystery failing tests. Added thorough logging to RKRequestCache. 2011-06-11 20:27:33 -04:00
Ed McManus
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.
2011-06-11 20:25:28 -04:00
Blake Watters
9299cabc11 Implemented flexible logging solution utilizing the excellent LibComponentLogging library. 2011-06-11 20:25:28 -04:00
Blake Watters
bc355d69fd Added NSAssert statements to try and prevent accidental configuration of a Three20 model with an object loader that has already been sent. 2011-06-11 20:24:27 -04:00
Blake Watters
69ded29245 Improved Three20 integration by leveraging object mapping to instantiate TTTableItems 2011-06-11 19:33:42 -04:00
Blake Watters
7bf3e0f273 Added support for mapping boolean strings to NSNumber with values t or f in addition to true and false. refs #130 2011-06-11 19:31:21 -04:00