Blake Watters
71f392acc5
Added note about portions extracted from Apple's Reachability sample
2011-04-19 15:41:56 -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
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
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
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
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
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
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
c23eac631d
remove unconnected timeout constant
2011-04-04 19:43:21 -04:00
Blake Watters
c90ec2770d
Finished cleanup of HTTP AUTH and XML Support. Ready to tag 0.9.1
2011-03-28 23:29:06 -04:00
Blake Watters
5411f54d02
Implemented lightweight authentication scheme setup. Enables HTTP Digest AUTH
2011-03-27 01:19:37 -04:00
Jeff Arena
797904d5a1
use copy of requests array when use fast enumeration in loadNextInQueue; add autorelease pools to methods that copy the request array to ensure we immediately clean up our copies upon completion
2011-03-23 08:33:33 -07:00
Blake Watters
483df33a37
Merge branch 'twotoasters_0.9' of https://github.com/GateGuru/RestKit into GateGuru-twotoasters_0.9
2011-03-19 22:52:07 -04:00
Blake Watters
88a1b013fc
Merge remote branch 'origin/0.9' into core-data-cleanup
...
Conflicts:
Code/CoreData/CoreData.h
Code/CoreData/RKManagedObjectStore.h
Code/CoreData/RKManagedObjectStore.m
Code/CoreData/RKObjectSeeder.h
Code/CoreData/RKObjectSeeder.m
Code/ObjectMapping/RKObjectLoader.m
Code/ObjectMapping/RKObjectManager.m
Code/ObjectMapping/RKObjectMapper.m
RestKit.xcodeproj/project.pbxproj
2011-03-19 21:26:13 -04:00
Jeff Arena
30b7c0d5d9
removed schedule/unschedule of reachability observer based on application active/inactive notifications
2011-03-17 17:53:18 -07:00
Blake Watters
779f3befb7
Merge Kevin Lord's patch for ignoring request body on a GET request
2011-03-09 15:34:01 -05:00
Blake Watters
5b1c5dae7e
Inform the delegate on synchronous requests
2011-03-08 11:36:31 -05:00
Blake Watters
e03c6d3d10
Fixed crash during dealloc of RKClient due to initialization of baseURL observer using a blank host. Updated the object mapper to support class/keypath when loading a single object. Some updates to the UISpec harness to get things working again.
2011-02-25 14:42:50 -05:00
Blake Watters
c495073497
Merge branch 'master' of github.com:twotoasters/RestKit into core-data-cleanup
...
Conflicts:
.gitignore
2011-02-21 20:25:01 -05:00
Blake Watters
bf48cf6559
More Xcode 4 crap
2011-02-15 20:25:22 -05:00
Blake Watters
2aec89b14c
More cleanups. Have a bug in the refactored object loader
2011-02-13 03:33:37 -05:00
Blake Watters
0ea0a9b6d9
Cleaning up some TODO's and such
2011-02-13 02:59:37 -05:00
Blake Watters
44e424850a
Ooops. Use the IP from the hostname rather than the local wireless interface
2011-02-01 19:38:11 -05:00
Blake Watters
bff66e60cc
Fixed bug where reachability did not work when initialized with an IP address in the base URL
2011-02-01 19:30:07 -05:00
daniel
20747ffa27
Merge branch 'master' of github.com:twotoasters/RestKit into new-example
2011-01-21 14:54:40 -05:00
Blake Watters
bf1cadc72e
Implemented RKMakePathWithObject. Cleaned up some TODO's
2011-01-20 11:24:47 -05:00
Blake Watters
8f863b4c50
Numerous cleanups to the DiscussionBoard example. Need to finish working through cleanups to the authentication process and polish off documentation. Should be ready for merge tomorrow night.
2011-01-18 23:25:19 -05:00
Blake Watters
319f7355af
Working on new example
2011-01-16 21:43:21 -05:00
Jeremy Ellison
7177c88182
rename internal didStartLoading method name
2011-01-12 15:27:45 -05:00
Jeremy Ellison
6a5ee2af7e
Revert "Remove per-file copyrights"
...
This reverts commit 91e7c6bb5e .
2011-01-12 15:27:19 -05:00
Jeremy Ellison
91e7c6bb5e
Remove per-file copyrights
2011-01-12 15:05:22 -05:00
Jeremy Ellison
634185f48a
RKResponse should start loading on didReceiveData: or didSendBodyData, whichever is called first.
...
This prevents didSendData RKRequestDelegate method from being called before didStartLoading.
Remove goOffline and goOnline support from RKObjectManager. This did not work in the current implementation.
2011-01-12 13:20:26 -05:00
Jeff Arena
d3a1059d68
fix bug with content type accessors in cases where the content type response header is nil
2011-01-10 16:10:30 -08:00
Blake Watters
35ae5c8717
Updated signatures to include RKRequestDelegate protocol
2011-01-10 16:29:58 -05:00
Jeff Arena
c20062cb4e
fixed a memory leak associated with the new 503 alert strings on the client
2011-01-06 12:09:42 -08:00
Jeff Arena
13c431d8c4
Merge branch 'master' of git://github.com/twotoasters/RestKit
...
Conflicts:
Code/Network/RKRequest.m
Code/Network/RKRequestQueue.m
2011-01-06 12:00:26 -08:00
Jeff Arena
88489747e8
add additional response convenience method for checking for a 503 response code; quiet a compiler warning regarding depracated client class method; add default support for generating a uialertview when restkit encounters a 503 response; added ability to turn 503 error on/off, as well as ability to customize the alert
2011-01-06 11:55:43 -08:00
Blake Watters
0449380476
Fix deprecation warning in earlier change. Fixed a sequencing problem with the overloaded accessors on RKRequest
2011-01-06 14:51:44 -05:00
Jeremy Ellison
b31e6426a5
Add new RKReachabilityState, RKReachabilityIndeterminate.
...
Make RKRequestQueue smart, don't start dequeuing requests until reachability state has been determined.
Simplify examples.
2011-01-06 14:12:14 -05:00
Blake Watters
e49d8462a9
Yield to the run loop for a tenth of a second to allow the network reachability observer to be scheduled. This prevents issues where requests dispatched from an app delegate are denied access to the network.
2011-01-03 13:23:14 -05:00
Blake Watters
e7ac2b4577
Merge branch 'master' of github.com:twotoasters/RestKit
2011-01-03 12:52:25 -05:00
Blake Watters
f1db54c156
Introduced RKMakeURL and RKMakeURLPath convenience methods for generating NSURL and NSString URL's quickly against the sharedClient's base URL. This can be useful if you have some web content in your app that loads off of sub-paths and want the convenience & flexibility of working off of resourcePath's instead of full URL's.
2011-01-03 12:49:31 -05:00
Jeremy Ellison
340e587704
Refactor JSONRepresentation to stringFromObject: on RKParser. Fixes https://github.com/twotoasters/RestKit/issues/#issue/6
2011-01-03 12:40:20 -05:00
Jeff Arena
058e55242c
replace use of NSString method stringByAddingPercentEscapesUsingEncoding with CFString flavor CFURLCreateStringByReplacingPercentEscapesUsingEncoding, to ensure we do not miss any characters that should be escaped when performing RFC3875 percent escaping
2010-12-30 14:59:30 -08:00
Jeff Arena
716ecb4f26
added RKResponse property exposing the cookies available from the RKResponse headers
2010-12-30 13:29:11 -08:00