Commit Graph

110 Commits

Author SHA1 Message Date
Victor Kryukov
eca655abbd Add Three20.bundle to make sure TTAlert works 2011-06-11 14:47:41 +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
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
9b3428a446 Migrated UISpecRunner code into Two Toaster UISpec fork for reuse across projects. 2011-04-20 17:14:04 -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
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
Blake Watters
1817fcccd8 Added i386 architecture back to the Three20 target 2011-04-15 15:11:06 -04:00
Blake Watters
c9e0d3ffdd Remove legacy script from Doxygen. refs #48 2011-04-14 23:15:05 -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
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
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