Commit Graph

588 Commits

Author SHA1 Message Date
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
Blake Watters
e69d1d7d6c Bumping to UISpecRunner v0.4.4 Gem 2011-04-19 13:00:00 -04:00
Blake Watters
381ccadbe2 Added support for spinning the Network activity indicator when busy 2011-04-19 09:59:57 -04:00
Blake Watters
7837e245d9 Implemented support and tests for queue processing delegate methods. 2011-04-19 09:38:25 -04:00
Chad Podoski
f44abbee27 Generalize RKRequestQueue and add NSDecimalNumber type support to RKObjectMapper. refs #50 2011-04-18 17:21:01 -04:00
Blake Watters
1817fcccd8 Added i386 architecture back to the Three20 target 2011-04-15 15:11:06 -04:00
Blake Watters
e598491557 Clean up copy & paste errors on path and simplify instructions for RestKit path. 2011-04-15 15:07:21 -04:00
Blake Watters
8931cad50a Merge branch '0.9' of github.com:twotoasters/RestKit into 0.9 2011-04-15 15:03:55 -04:00
Blake Watters
f5d48b76f5 Added Library Search paths back 2011-04-15 15:02:43 -04:00
Blake Watters
4da1b1a3c6 Fix for building RKTwitter with non DerivedData location. 2011-04-15 15:01:34 -04:00
Blake Watters
b41ff0f5e2 Fix broken project references for RKTwitter 2011-04-15 14:40:13 -04:00
Blake Watters
96bcd5d1f4 Updated install instructions to fix issues with Xcode 4 Code Sense. fixes #36
The process here that has worked repeatably for us:
- Use quoted, $(SOURCE_ROOT) prefixed paths in your header search paths instead of relative paths.
- Close your RestKit enabled project out.
- Go to the Organizer > Projects. Delete the DerivedData directory for your project.
- Quit & Relaunch Xcode. Your index will rebuild and code completion should start working.
2011-04-15 14:20:22 -04:00
Blake Watters
43fd38ee64 Changed URL to feed:// to work with Xcode 3.x. refs #48 2011-04-15 14:07:47 -04:00
Blake Watters
c9e0d3ffdd Remove legacy script from Doxygen. refs #48 2011-04-14 23:15:05 -04:00
Blake Watters
c7f61fec16 Improved the documentation while working on documentation infrastructure: refs #48
* Improved and generalized the documentation about the testing environment.
* Added documentation about how to write documentation.
2011-04-14 23:01:16 -04:00
Blake Watters
462cf35be4 Implemented Rake tasks for generating documentation via Appledoc very simply. refs #48
* Implemented `rake docs:install` for generating and installing a docset
* Implemented `rake docs:upload` for posting generated documentation to restkit.org
* Introduced new VERSION file for coordinating the version of the library. To be used in forthcoming release automation.
* Added notes about API documentation to the README
2011-04-14 22:57:43 -04:00
Blake Watters
695c262d6e Added Appledoc markup to RKClient 2011-04-14 22:57:42 -04:00
Blake Watters
9af6a59c79 Initial implementation of documentation generation using the Appledoc parser. refs #48
* Cleaned up various mismatches in method signatures that were preventing documentation generation
* Removed naked ampersands from comments as they cause XML parser failures during docset generation via appledoc
2011-04-14 22:55:58 -04:00
Blake Watters
7d85a2bf4d Added specs and fix for requests not being fire when background policy is requeue or cancel. Fixes gh-45 2011-04-14 13:44:26 -04:00
Blake Watters
2395f5dc76 Fix for RKSpecResponseLoader returning control to the test case before the object loader delegate methods have been invoked. Fixes #49 2011-04-14 13:11:18 -04:00
Blake Watters
9593612aab Closes gh-47. Initial implementation of OS X build integrating changes submitted by Felix Holmgren (https://github.com/Felixyz/RestKit).
* Factored out display of alerts into RKAlert interface that hides the differences between UIKit and OS X Cocoa.
* Added macosx to supported platforms to enable build on OS X.
* Configured project to use conditional architectures to enable building on OS X and iOS from the same targets.
* Implemented a bare-bones OS X example app.
* Create `rake build` task for building RestKit against iOS and OS X SDK for quick testing.
2011-04-12 21:02:25 -04:00
Sixten Otto
cef335d02b Allow storage in non-Documents directories
Add a new class method that takes a directory parameter, and add a corresponding parameter to the private initializer. The other class methods pass nil for that new parameter. The value for the pathToStoreFile property is now calculated in the initializer, and stored in an instance variable.
2011-04-12 20:02:48 -04:00
Sixten Otto
ecb0a5bd5e Improve RKManagedObjectStore's error handling
Add RKManagedObjectStoreDelegate protocol and a delegate property. Right now, all of the notifications are of errors/failures. Some code has been restructured so that return values are always consulted BEFORE the error parameter is examined.
2011-04-12 20:02:37 -04:00
Blake Watters
9dcd7f3022 Removed superclass call to didFinishLoad: in RKObjectLoader. Was resulting in duplicated dispatch of life-cycle requests. Fixes #44 2011-04-12 19:11:31 -04:00
Blake Watters
8432923bba Added Peter Marks to the contributors 2011-04-05 22:26:48 -04:00
Peter Marks
35171084d1 [Story #11961455] Implements support for sending nested objects back to the remote server for processing:
* Introduce RKObjectMappable#relationshipsToSerialize to define nested relationships to post
* New helper methods for working with relationship serializations.
* Extended Rails router to serialize nested objects according to Rails idioms
2011-04-05 22:18:10 -04:00
Blake Watters
f3036a6a13 Fixed another small typo in the Advanced RestKit draft 2011-04-05 19:08:20 -04:00
Blake Watters
a648d26460 [#11477593] Implemented background request policies and Specs. This provides functionality for continuing a request in the background using an iOS background task.
Introduces four modes for handling background requests:
* RKRequestBackgroundPolicyNone - The default behavior replicating pre-background behavior. No special action is taken with regards to backgrounding.
* RKRequestBackgroundPolicyCancel - On transition to the background, requests with this policy set will be cancelled automatically and the delegate informed.
* RKRequestBackgroundPolicyContinue - Requests with this policy will be continued in the background after the app has been transitioned.
* RKRequestBackgroundPolicyRequeue - Requests with this policy will be cancelled and then immediately placed onto the queue for processing the next time the app is returned to the foreground.
2011-04-05 13:06:06 -04:00
Blake Watters
334db23e9d updated OCMock static library 2011-04-05 12:32:40 -04:00
Blake Watters
7589060e6d Merge branch '0.9' of github.com:twotoasters/RestKit into 0.9 2011-04-05 10:06:43 -04:00
Jeremy Ellison
322599e14a Updates from development of Go Try It On v2.0:
* Updates YAJL Parser not to raise an exception and crash when it encounters invalid JSON. The other parsers need to be aligned with this behavior and the delegate methods updated. See Pivotal Story: https://www.pivotaltracker.com/story/show/11925617
* Added requestDidCancel: delegate invocation for tracking cancellation of requests.
* Ensure that the request queue timer is cleared during indeterminate deferral of request loads.
2011-04-05 10:02:34 -04:00
Blake Watters
8b89d017c4 Tweaked Xcode 4 install instructions with notes from Larry Legend (larry@houseoflegend.com) 2011-04-04 19:48:57 -04:00
Blake Watters
c87d5e1801 Merge branch '0.9' of github.com:twotoasters/RestKit into 0.9 2011-04-04 19:43:44 -04:00
Blake Watters
e816937703 Fix error in method definition 2011-04-04 19:43:21 -04:00
Blake Watters
c23eac631d remove unconnected timeout constant 2011-04-04 19:43:21 -04:00
Blake Watters
15a3c9ae8e added support for set nil/ignore missing relationships and specs 2011-04-04 19:43:21 -04:00
Blake Watters
162df39b79 adding design docs for improvements to RKRequestQueue 2011-04-04 19:43:21 -04:00
Blake Watters
46720fb6e3 add RKManagedObjectLoader.h to public Copy Headers task 2011-04-04 19:43:20 -04:00
Blake Watters
cd77899245 added example for duplicated keys from Foursquare. Need to get support for this 2011-04-04 19:43:20 -04:00