Commit Graph

98 Commits

Author SHA1 Message Date
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
1086ecc09b add RKManagedObjectLoader.h to public Copy Headers task 2011-03-31 20:10:49 -04:00
Blake Watters
e7029e580f Merge branch '0.9' of github.com:twotoasters/RestKit into 0.9 2011-03-29 10:49:30 -04:00
Blake Watters
9ed062121e Fix for crash based on set nil for missing element policy. Added specs covering the crash. Merging directly to 0.9.1 and tagging as 0.9.1.1 2011-03-29 10:47:11 -04:00
Jeremy Ellison
09bcbd023d Added some specs for the RKXMLParser 2011-03-29 08:43:44 -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
69c051a57a Aligned target name with JSON parsers 2011-03-27 23:05:24 -04:00
Blake Watters
a298bc4dcf Fix build problems 2011-03-27 22:53:08 -04:00
Blake Watters
227f35a20d Merge branch '0.9' into xml-parser
Conflicts:
	Examples/RKTwitter/Classes/RKTwitterViewController.m
	README.md
	RestKit.xcodeproj/project.pbxproj
2011-03-27 22:29:19 -04:00
Blake Watters
6ae94fb0bf Cleaned up target name and dependencies for XML support 2011-03-27 22:03:32 -04:00
Blake Watters
6fd9586e9c Fixed RestKit aggregate build scheme 2011-03-25 10:54:43 -04:00
Blake Watters
6e6144dc26 Fixed warning with UISpec dependency 2011-03-25 10:36:11 -04:00
Blake Watters
b65e93cebb Updated response loader to handle RKResponse and object arrays 2011-03-24 22:53:49 -04:00
Blake Watters
c9611526e6 Ditching workspace for the RestKit project. May add one for the Examples/ directory later 2011-03-24 22:41:55 -04:00
Blake Watters
0795112df0 Merge branch '0.9' into unit-testing
Conflicts:
	RestKit.xcodeproj/project.pbxproj
2011-03-24 22:21:16 -04:00
Blake Watters
2b159fefc2 Removed pch reference created earlier today, add legacy copy headers script to project 2011-03-24 22:12:19 -04:00
Blake Watters
4266ca5981 Switched target dependency to aggregate target to ensure headers are populated in proper order 2011-03-24 22:01:24 -04:00
Blake Watters
4809d9e0a6 Run Copy Headers task after compilation of libRestKitThree20 to ensure they are copied into Build dir. Story #11526713 2011-03-24 21:54:51 -04:00
Blake Watters
4c717e2a5b Merge branch '0.9' into unit-testing
Conflicts:
	RestKit.xcodeproj/project.pbxproj
2011-03-24 15:00:13 -04:00
Blake Watters
9d0fbbfc0c Work around permission issue when copying RestKit.h header 2011-03-24 13:37:37 -04:00
Blake Watters
8ee2e93b34 Reworked scripts again to eliminate the static library target. Archive and build should work fine for derived data or target build dirs without needing a new static library or header search path. Quite a pain in the ass to get working 2011-03-24 13:11:27 -04:00
Blake Watters
e143a51d10 Worked through remaining issues with Archive builds by switching RestKit aggregate target to a real target, avoiding the copy issues with RestKit.h. Made Skip Install a project level default. Believe we are all set finally 2011-03-24 12:09:07 -04:00
Jeremy Ellison
6a4b3d78b3 Merge branch 'unit-testing' into xml-parser
Conflicts:
	RestKit.xcodeproj/project.pbxproj
2011-03-23 10:34:02 -04:00
Blake Watters
79786e725e Added Distribution configuration so projects using dependent builds dont run into problems finding header files during App Store builds 2011-03-22 08:19:33 -04:00
Blake Watters
9120022fdd Fixed copy headers paths for JSONKit 2011-03-21 20:11:37 -04:00
Blake Watters
3fa84490b6 Merge branch 'jsonkit' of https://github.com/GateGuru/RestKit into GateGuru-jsonkit
Conflicts:
	RestKit.xcodeproj/project.pbxproj
2011-03-19 22:47:22 -04:00
Blake Watters
2109fae1ba Finished cleaning up Core Data support. Happy with the new organization 2011-03-19 22:06:51 -04:00
Blake Watters
87830e8150 Restore cross project reference to UISpec 2011-03-18 07:54:57 -04:00
Blake Watters
cb0f30c470 Updates to simplify integration with Derived Data
Conflicts:

	RestKit.xcodeproj/project.pbxproj
2011-03-18 07:52:47 -04:00
Jeff Arena
e938a4d277 add support for jsonkit parser 2011-03-16 20:21:36 -07:00
Blake Watters
a400eb73f1 Updated spec environment. Working on digest authentication. 2011-03-14 21:12:37 -04:00
Blake Watters
b22dd054b6 Staging changes for later 2011-03-12 10:00:35 -05:00
Blake Watters
b81b20281d Rearranged specs in project. Running specs inside Xcode now runs to completion. Experiencing some breakage related to Core Data from the CLI. 2011-03-09 21:57:29 -05:00
Blake Watters
7d3356c3e4 Cleaned up warnings on the UISpec target 2011-03-09 21:18:22 -05:00
Blake Watters
af387fe4e0 Reorganized the Specs subdirectories to mirror the layout of Code/. Added new rake task for running the test server. Introduced dependence on Shotgun and Thin for the Spec server. Infrastructure is all in place, now to get the tests themselves healthy. 2011-03-09 20:05:22 -05:00
Blake Watters
d359f0403a Updating gitignore workspaces 2011-03-09 15:14:48 -05:00
Blake Watters
0a93b377d6 Upgraded to UISpecRunner 0.4.0. Added Rakefile for running all the specs. 2011-03-09 15:07:20 -05:00
Blake Watters
0d9da22844 Updated UISpec to latest bits and retooled integration. Preparing for UISpecRunner updates. 2011-03-09 11:00:17 -05:00
Blake Watters
feb2861113 Removed a bunch of old dangling references to OCMock projects we aren't referencing any more. Hopefully fixing issue with xcodebuild reported on the list 2011-03-08 12:34:03 -05:00
Blake Watters
1405c0b404 Overhauled the object seeder API. It's much cleaner. Added example code to the RKTwitterCoreDataExample 2011-03-05 16:11:00 -05:00
Jeremy Ellison
bf25a17678 add RKXMLParser 2011-03-01 12:42:59 -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
8bc4444400 Xcode 4 specific install instructions 2011-02-16 11:03:08 -05:00
Blake Watters
81b4e00d3d trying to get the project to work with various Xcode output path settings 2011-02-15 21:20:29 -05:00
Blake Watters
130ecdde37 Updated project to build properly under Xcode 4 2011-02-10 20:51:48 -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
Blake Watters
07796df253 Refactored the Rails router to respect properties specified by the model objects. Introduced new support to allow models to modify RESTful object loaders just before they are sent. Sample app completely works. Really fucking happy with how this is turning out! 2011-01-21 00:15:02 -05:00
Blake Watters
319f7355af Working on new example 2011-01-16 21:43:21 -05:00
Jeremy Ellison
ebe147fd10 Get RestKit specs running & passing. 2011-01-13 14:35:08 -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