Commit Graph

124 Commits

Author SHA1 Message Date
Blake Watters
2a8ece97c1 Improvements to reachability, the request queue, logging throughout the network layer, decoupling of components via notifications, reliability improvements for unit tests in the cache layer. Improved thread-local cleanup routines inside the managed object store. Changing base URL's is now more reliable. fixes #171, #158, #113, #104, #102 2011-06-29 13:28:14 -04:00
Blake Watters
3dfbaf1810 Updated to support setting default value instead of nil when an attribute is missing in the payload. For Core Data backed models, we consult the entity definition to obtain the default value. closes #117 2011-06-28 15:22:04 -04:00
Blake Watters
4773542a9e Fix breakage in Core Data 2011-06-23 09:21:54 -04:00
Janos Rusiczki
52666d6147 replaced deprecated methods with the current ones 2011-06-21 04:25:15 -07:00
Blake Watters
0954d4a063 Fixing more memory leaks 2011-06-20 15:03:35 -04:00
Blake Watters
99ae37037a Fixes for memory leaks with RKParams related to HTTPBodyStream causing a retain 2011-06-20 13:41:42 -04:00
Blake Watters
2493828414 Make imports of RKParser relative so they resolve correctly outside of the library project 2011-06-13 08:33:34 -04:00
Blake Watters
8e5fa664e8 Cleaned up miscellaneous artifacts from squashing object mapping 2.0 2011-06-11 20:34:10 -04:00
Blake Watters
27ea307816 Fix crash in RKCatalog. Suppress warning about symbol visibility during linking. 2011-06-11 20:27:33 -04:00
Blake Watters
9299cabc11 Implemented flexible logging solution utilizing the excellent LibComponentLogging library. 2011-06-11 20:25:28 -04:00
Blake Watters
69ded29245 Improved Three20 integration by leveraging object mapping to instantiate TTTableItems 2011-06-11 19:33:42 -04:00
Blake Watters
8be34582a5 Ported DiscussionBoard to new Three20 class structure 2011-06-11 19:31:21 -04:00
Blake Watters
f3c0995d5e Implementation of Object Mapping 2.0 design:
* Removed RestKit from inheritance hierarchy
  * Mappings are implemented as concrete classes
  * Mapper is much more flexible & powerful
  * Much more robust error handling
  * Serialization is reimplemented as an object mapping operation
  * Added ability to serialize to JSON natively
  * Reworked Core Data integration
  * Simplified the codebase substantially
2011-06-11 19:26:56 -04:00
Victor Kryukov
16ee0d278c Format lines better 2011-06-11 21:55:55 +04:00
Victor Kryukov
26e240d224 Customize view in loadView, not createModel 2011-06-11 21:55:31 +04:00
Victor Kryukov
71fb2d1a0c Remove unused _tableTitleHeaderLabel from DBResourceListTableViewController 2011-06-11 21:55:05 +04:00
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
Blake Watters
ade94534a5 Cancel all requests during dealloc. 2011-05-10 22:58:33 -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
Blake Watters
ab655307c2 Updated Twitter examples to show off the automatic activity indicator support 2011-04-19 13:56:20 -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
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
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
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
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
0795112df0 Merge branch '0.9' into unit-testing
Conflicts:
	RestKit.xcodeproj/project.pbxproj
2011-03-24 22:21:16 -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
9141cea6e3 Merge branch 'unit-testing' of github.com:twotoasters/RestKit into unit-testing 2011-03-24 15:00:37 -04:00
Blake Watters
3635801a4d cleaned up example projects while verifying archive operations 2011-03-24 13:13:08 -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
Blake Watters
e8de63302d Merge branch '0.9' into unit-testing 2011-03-24 07:28:56 -04:00
Blake Watters
6d520c2657 Added missing dealloc methods 2011-03-23 22:46:48 -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
aeef581ef8 Updated to match RKTwitter 2011-03-22 21:58:43 -04:00
Blake Watters
deec82c8d3 Switched timeline load to RestKit instead of Two Toasters. Added refresh button 2011-03-22 21:54:14 -04:00
Blake Watters
c486a623f3 re-enable refresh rate 2011-03-21 19:56:13 -04:00
Blake Watters
102180abce fix for breakage introduced during merge 2011-03-21 18:53:16 -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
Blake Watters
cb0f30c470 Updates to simplify integration with Derived Data
Conflicts:

	RestKit.xcodeproj/project.pbxproj
2011-03-18 07:52:47 -04:00
Blake Watters
55c180a8e5 Trim whitespace 2011-03-17 07:35:45 -04:00
Blake Watters
d359f0403a Updating gitignore workspaces 2011-03-09 15:14:48 -05:00
Blake Watters
6cf32971d0 Added Adam Hinz to the credits 2011-03-06 13:45:00 -05:00
Blake Watters
3cf66e5385 More improvements to the managed object store and seeding API's 2011-03-05 17:05:31 -05:00