Commit Graph

136 Commits

Author SHA1 Message Date
Blake Watters
3dff8b0f0d Merge branch 'master' of github.com:twotoasters/RestKit into managedobjectcleanup
Conflicts:
	Code/ObjectMapping/RKObjectLoader.m
2010-10-19 14:28:18 -04:00
Blake Watters
2fbdfb9c37 Work in progress 2010-10-19 14:27:17 -04:00
Blake Watters
92b39313f0 Fixed bug with load happening too soon 2010-10-19 14:21:39 -04:00
Jeff Arena
82e2a2792d fix issue with missing loader reference to objectstore; removed use of singleton to access store reference in the loader 2010-10-19 11:05:03 -04:00
Jeff Arena
89f26fbe7f fix use of released object in debug message by relocating the release call 2010-10-19 10:28:34 -04:00
Blake Watters
ddfe0aae22 Merge branch 'master' into managedobjectcleanup
Conflicts:
	Code/CoreData/RKManagedObject.m
2010-10-18 22:23:54 -04:00
Blake Watters
33c6eba84b Checking in work on managed object cleanup 2010-10-18 22:10:40 -04:00
Jeff Arena
c3e28d0ecb Merge branch 'master' into restkit-cache
Conflicts:
	Code/ObjectMapping/RKObjectManager.m
	Code/Three20/RKRequestFilterableTTModel.h
	Code/Three20/RKRequestModel.m
2010-10-18 16:51:58 -04:00
Jeff Arena
1a6fdeafd4 introduce RKManagedObjectCache protocol to CoreData component; cleanup remaining NSFetchRequest ivars that are now unused; add RKURL class for making resourcepath and baseurl params available to higher level components; cleanup Three20 library to incorporate latest updates from GateGuru codebase 2010-10-18 16:36:24 -04:00
Blake Watters
d9748843ca Normalized method names for loaderWith to objectLoaderWith for alignment with the delegate method signatures. Exposed objectLoader primitive used for constructing getObject/postObject/putObject/deleteObject and documented. 2010-10-18 15:56:36 -04:00
Jeremy Ellison
81e57606c4 Fix the loaders for specific objects. Requests were not actually getting sent. 2010-10-18 10:54:48 -04:00
Jeff Arena
592b2a9e32 initial pass at changing fetchRequest APIs to work with a collection of fetch requests; also performed some API cleanup on RKManagedModel 2010-10-14 19:14:55 -07:00
Jeremy Ellison
7c01d54fa3 Add configurable error parsing to the object mapper. 2010-10-14 12:51:12 -04:00
timkerchmar
4ebaa32dd4 Merge branch 'master' of git://github.com/twotoasters/RestKit 2010-10-12 15:05:07 -04:00
timkerchmar
52cf8efb8a set object loader to nil to get loading status working properly again 2010-10-12 15:04:31 -04:00
Blake Watters
3e5ceba864 Merge branch 'master' of github.com:twotoasters/RestKit
Conflicts:
	Code/ObjectMapping/RKObjectManager.m
2010-10-12 15:03:07 -04:00
Blake Watters
b71a85416a Cleaned up warnings and initialization of the request used by the object loader 2010-10-12 14:59:40 -04:00
timkerchmar
fa5fefdcc5 remove unnecessary logging from recent changes. 2010-10-12 14:35:37 -04:00
timkerchmar
320e96e48e Update headers for three20 support.
Add keyPath support to the object loader.
2010-10-12 14:32:06 -04:00
Blake Watters
46e2308ed1 Fix warning when compiling the seeder 2010-10-01 14:49:05 -04:00
Blake Watters
f3f09ab35d Rewrote the README to reflect the new realities. 2010-10-01 14:26:21 -04:00
Blake Watters
1571f10240 Removed commented out code 2010-10-01 13:04:46 -04:00
Blake Watters
bd93d43f94 Finished split into more logical components. Library now copies Headers to Build/RestKit and you can selectively link against the components your app needs. libRestKit.a contains everything from the core library. 2010-10-01 13:02:24 -04:00
Blake Watters
f06e3acb88 autorelease the parser 2010-09-29 21:37:51 -04:00
Blake Watters
a5b08fafd8 Massive performance increases for Core Data backed apps 2010-09-28 17:14:57 -04:00
Blake Watters
80b3221976 Introduced pluggable parser support and added YAJL parser. Still some cleanup work to be done... 2010-09-28 14:17:26 -04:00
Blake Watters
243d198e88 Removing self retain/release 2010-09-28 10:08:47 -04:00
Blake Watters
bd3cbec56b nil out the request delegate on dealloc to avoid issues during tear-down. Retain and release self at send so that we aren't dealloc'd before the request has finished. 2010-09-17 13:16:03 -04:00
Blake Watters
451d82a5f6 Replaced newObject with object to make the static analyzer happy. Changed method signature for createManagedObjectContext to newManagedObjectContext. 2010-09-16 20:11:39 -04:00
Blake Watters
6656891f21 Fixing warning from movement of method 2010-09-16 19:49:27 -04:00
Blake Watters
0aab67b395 Fixing warning 2010-09-16 19:48:47 -04:00
Blake Watters
9e6224b18a Fixing retain cycle issues found by Mark Krenek (markkrenek@mac.com) 2010-09-16 19:44:31 -04:00
Blake Watters
93e5c472b1 Checking in first version of RKTwitter sample app. Object loading is working fine, but it needs a table view dropped in... 2010-09-06 17:45:28 -04:00
Blake Watters
fea9f30d43 Added comments to RKRequestDelegate 2010-09-04 19:08:17 -04:00
Blake Watters
8ff118f0f3 Cleaned up object loader API, much happier with how it works and how the API feels. Beginning work on sample code next. 2010-09-04 19:03:15 -04:00
Blake Watters
7508d1acf6 More paring down of the API, nearly happy. 2010-09-03 21:39:54 -04:00
Blake Watters
dd959ca01e Dropped all the Resource class names to standardize around Object since that's what we are mapping 2010-09-03 20:46:34 -04:00
Blake Watters
7819d6b36b nil out instance variables as released 2010-08-11 16:54:40 -04:00
Blake Watters
74c9cb9aa8 Support sets 2010-08-09 16:00:08 -04:00
Blake Watters
8f1893b7a8 Merging changes from Jeff to fix issues with temporary object ID's being passed across the thread boundary. Should stabilize FC 2010-08-06 15:25:50 -04:00
Blake Watters
3ccdbd0a00 Switched Base SDK to 4.0. Renamed resourceParams to paramsForSerialization on RKManagedObject 2010-08-06 12:42:15 -04:00
Blake Watters
182af0edc9 method signature changes 2010-08-04 14:24:38 -04:00
Blake Watters
0b8e433fe1 Added isNew API for detecting if an object has been saved to the store or not. Refactoring changes to RestKit to support importing data not nested under an element that can be registered as a model 2010-07-28 14:14:52 -04:00
Blake Watters
cfbfbd655f Moved mapping format to the resource manager header 2010-07-21 11:07:50 -04:00
Blake Watters
50bf7ab146 Fix warning 2010-07-21 10:58:13 -04:00
Blake Watters
e8c601ffb9 Implemented static router with specs. 2010-07-21 10:44:07 -04:00
Blake Watters
6297d4f40d Added RKObject to RestKit header 2010-07-20 16:04:49 -04:00
Blake Watters
6e9a10be20 Cleaned up API changes for Three20 support 2010-07-20 15:53:06 -04:00
Blake Watters
878a2a5e69 Refactored RestKit. Changed classing naming conventions to better indicate object roles. Moved OCMock and UISpec dependencies in as submodules. Introduced router concept for generating paths and object serializations. 2010-07-20 15:49:13 -04:00
Blake Watters
b849fc84e0 Initial refactoring to make interop with non-Rails idiomatic web services easier 2010-07-20 11:55:29 -04:00