Commit Graph

626 Commits

Author SHA1 Message Date
Victor Kryukov
b25be71bab Use relative paths in #imports to prevent XCode 4.2 from complaining 2011-06-11 21:54:17 +04:00
Victor Kryukov
5db087a73a Remove duplicate declarations for createdAt, updatedAt, userID and user from DBPost
DBPost inherits from DBContentObject which has these accessors already defined.
2011-06-11 21:41:20 +04:00
Victor Kryukov
eca655abbd Add Three20.bundle to make sure TTAlert works 2011-06-11 14:47:41 +04:00
Scott Penrose
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 2011-05-29 00:52:16 -04:00
Blake Watters
288034e439 Merge pull request #128 from pashields/targetObject_leak
Added release for targetObject to the object loader
2011-05-27 10:55:38 -07:00
Jeremy Ellison
40b7363004 Stop leaking memory in the XML parser (call xmlFree() after xmlNodeGetContent()). 2011-05-27 13:00:23 -04:00
Pat Shields
eecf87e71a Don't leak object passed in to loader. 2011-05-27 12:46:36 -04:00
Blake Watters
ade94534a5 Cancel all requests during dealloc. 2011-05-10 22:58:33 -04:00
Blake Watters
d665f79af8 Added optional note next to libRestKitCoreData.a. closes #53 2011-05-10 21:29:58 -04:00
Blake Watters
e5093a38dd Merge pull request #83 from sixten/0.9-error-handling 0.9.2 2011-05-10 17:58:46 -07:00
Blake Watters
8d7a490c40 Merge pull request #91 from jch/add_prepare_url_request_to_rkrequest_header
Add prepare url request to rkrequest header
2011-05-09 05:46:35 -07:00
Jerry Cheung
4ac85a6cb1 add -(void)prepareURLRequest to RKRequest.h to remove build warning 2011-05-08 15:13:21 -07:00
Blake Watters
9c17614bc4 Added Andras Hatvani to the contributors list 2011-05-04 10:00:50 -04:00
Blake Watters
4889ff9b5f Removed use of Objective-C block in new serialization code from Andras 2011-05-04 09:59:47 -04:00
Andras Hatvani
d6d92fc6d4 * Implemented relation mapping in RKDynamicRouter
* Added specs covering the functionality
2011-05-04 12:27:50 +02:00
Blake Watters
2c6f8ff8e9 Merge branch '0.9' of github.com:twotoasters/RestKit into 0.9 2011-05-02 21:00:03 -04:00
Blake Watters
4321da03b1 Expanded specs and began migrating all the content for testing out in the Fixtures directory. Fixtures is now the root for the Sinatra app and there are new helpers in RKSpecEnvironment.m. Added specs for several users use cases from the mailing list. Introduced a new warning when attempting to map did not set any properties. 2011-05-02 20:57:18 -04:00
Blake Watters
8381d9201e Merge pull request #85 from grgcombs/0.9.
Using a seed db after deleting the store
2011-05-02 16:18:07 -07:00
Greg Combs
d780586da4 Deleting persistent store will now permit using a store seed. 2011-05-01 20:49:32 -05:00
Blake Watters
81bc082a2a Fixing typo reference to isNetworkReachable 2011-04-28 19:03:07 -04:00
Sixten Otto
40c4940ea6 Minor improvements to error handling behavior 2011-04-28 10:38:08 -07:00
Blake Watters
87d0cd13de Added support for registering object class mappings as keyPaths in addition to element names. closes #82 2011-04-28 13:09:50 -04:00
Blake Watters
308b6c5dd2 Updates to RKObjectLoader to fix issues where keyPath was not always respected and willSendForObjectLoader: not invoked as expected. Expanded spec coverage to fix these issues. fixes #80, fixes #81 2011-04-28 00:05:55 -04:00
Blake Watters
a1aa5fce94 Merged pull request #63 from andr8w/target-object-keypath.
Minor changes to use keyPath and willSendWithObjectLoader when a targetObject is set.
2011-04-27 20:02:29 -07:00
Blake Watters
ff2367d284 Moved query path appending to RKPathAppendQueryParams for convenience. Deprecated RKClient flavor. 2011-04-27 09:05:18 -04:00
Blake Watters
992bde4afb Implemented spec for mapping NSArray of values to a property via elementToPropertyMappings 2011-04-26 10:04:35 -04:00
Blake Watters
dede096d61 Fixed missing semi-colon from warnings cleanup. Added Three20 and RKCatalog to the rake validate task. 2011-04-22 14:45:48 -04:00
Blake Watters
45342fee76 Hotlinked URLs in Advanced Tutorial 2011-04-22 14:45:45 -04:00
Blake Watters
738df05ef5 Initialize file name attachments to an empty string. Fixes #66 2011-04-22 12:08:01 -04:00
Blake Watters
2841d0ba15 Rearrange the notifications to avoid crash during service unavailable condition. fixes #65 2011-04-22 12:06:45 -04:00
Blake Watters
16c8fff8ee Restoring files from merge issue. refs #62 2011-04-22 11:34:33 -04:00
Blake Watters
e21b9c3202 Updated RKCatalog submodule. refs #62 2011-04-22 11:29:30 -04:00
Blake Watters
a63c53a7d6 Completed final draft of advanced tutorial text. refs #62 2011-04-22 11:29:27 -04:00
Blake Watters
56d0972e7f Migrated RKCatalog server to Heroku. Referenced as a submodule in Examples/RKCatalog/Server for future development. refs #62 2011-04-22 11:29:21 -04:00
Blake Watters
c35d0bab1d Implemented substantial catalog example application covering advanced usage of RestKit:
* Cleaned up remaining warnings about if (self = [super init])
* RKParamsExample - Highlights multi-part uploads
* RKRequestQueueExample - Working with the request queue
* RKBackgroundRequestExample - Examples of using the background policies for backgrounding requests
* RKReachabilityExample - Shows how to work with the reachability observer
* RKRelationshipMappingExample - Shows how to map related objects from JSON into an object graph
* RKCoreDataExample - Shows the basics of using RestKit's Core Data examples

Also rearranged dispatch of RKRequest delegate method for didStartLoad: to ensure requeue callbacks get invoked in a timely manner. refs #62
2011-04-22 11:28:56 -04:00
Andrew Newdel
e277e636f8 Add a modified handleTargetObject implementation from RKManagedObjectLoader to give RKObject a chance to respond to willSendWithObjectLoader. 2011-04-21 19:32:29 -04:00
Andrew Newdel
bbce5abfd4 Use the keyPath property to map a subset of the response for a single target object. 2011-04-21 19:24:41 -04:00
Blake Watters
9b3428a446 Migrated UISpecRunner code into Two Toaster UISpec fork for reuse across projects. 2011-04-20 17:14:04 -04:00
Blake Watters
d92c510da8 Updated to UISpecRunner 0.4.5 2011-04-20 16:45:49 -04:00
Blake Watters
acf7352b40 Added support for mapping an array of objects when given a target object class and element registration is being used as well. fixes #60 2011-04-20 16:17:00 -04:00
Blake Watters
452e5295b2 Updated to UISpec project that suppresses all warnings to get a cleaner build + testing experience. Fixed outstanding warnings on the UISpec target. 2011-04-20 12:50:28 -04:00
Blake Watters
f55073ecce Merge branch 'master' of https://github.com/Vossy/RestKit into 59-url-mapping-support 2011-04-20 08:29:00 -04:00
Justin Voss
952096b289 Added support for mapping NSURL properties. Fixes #52 2011-04-19 19:14:52 -05:00
Blake Watters
e9df740d19 Replaced boilerplate LICENSE text with complete Apache license 2011-04-19 15:45:17 -04:00
Blake Watters
71f392acc5 Added note about portions extracted from Apple's Reachability sample 2011-04-19 15:41:56 -04:00
Robert McNally
b7df8e1f0a Eliminate use of 'class' in method signatures. It is a reserved word in Objective-C++. Replaced with 'objectClass'. fixes #58 2011-04-19 14:22:04 -04:00
Blake Watters
ab655307c2 Updated Twitter examples to show off the automatic activity indicator support 2011-04-19 13:56:20 -04:00
Blake Watters
6cd22b0add Added Chad Podoski to contributors list. refs #50 2011-04-19 13:15:33 -04:00
Blake Watters
1437026e43 Fail out build process when run_command encounters non-zero exit status. Fixed OS X compile issues introduced by automatic network activity indicator. refs #57 2011-04-19 13:13:34 -04:00
Blake Watters
d275ec7484 Added specs for automatic network queue spinner. 2011-04-19 13:00:00 -04:00