Commit Graph

164 Commits

Author SHA1 Message Date
Jeff Arena
cf7acd0ffa changes to ensure we do not attempt to trigger a load when we are in offline mode 2010-10-27 17:02:20 -07:00
Jeff Arena
57e2403624 add support to core data component to hook up relationships from foreign keys present in the server payload 2010-10-27 17:00:31 -07:00
Blake Watters
8fef65e4df Added optional MIME Type auto-detection using MobileCoreServices 2010-10-27 14:54:37 -04:00
Blake Watters
0d8bc8c92d Added assertion that attached file exists at the path 2010-10-27 13:21:19 -04:00
Blake Watters
81c66cb37f Add check to RKObjectLoader to verify that the response type isJSON before starting mapping. This can avoid a nasty crash if the remote side sends back an HTML payload (i.e. an error page) 2010-10-27 13:00:24 -04:00
Blake Watters
e428af15fe Merge branch 'master' of github.com:twotoasters/RestKit into streamingupload 2010-10-26 14:05:44 -04:00
Blake Watters
0127df862d Added support for tracking upload progress 2010-10-26 14:05:29 -04:00
Blake Watters
f02e48f252 Switched out ContentTypeHTTPHeader for HTTPHeaderValueForContentType so all RKRequestSerializable methods start with an HTTP prefix. Deprecated ContentTypeHTTPHeader. Additional comments to make streaming support straightforward 2010-10-26 13:38:23 -04:00
Blake Watters
6febbe325f Cleaned up naming and removed debugging log statements 2010-10-26 13:12:50 -04:00
Blake Watters
7d3269869b Checking in working version of the streaming uploader. Just need to finish cleaning up the code. 2010-10-26 12:50:48 -04:00
Jeff Arena
2988ac9651 quited depracation warnings re. the old globalManager property on RKObjectManager 2010-10-22 09:43:25 -04:00
Blake Watters
ec0c221a33 Allow for mapping directly into an object that doesn't have an element registered with the mapper. We check that the class implements RKObjectMappable and blow up otherwise. Updated comments on the loader... 2010-10-21 13:31:21 -04:00
Blake Watters
deef2a63ce Fix for nasty infinite loop when the resourcePath begins with a substitution param 2010-10-21 11:42:47 -04:00
Jeff Arena
32fe2d3e24 Merge branch 'master' of git://github.com/twotoasters/RestKit 2010-10-21 11:29:57 -04:00
Jeff Arena
10d00cf14b clear 2010-10-21 11:29:20 -04:00
Blake Watters
4427844e07 Introduced objectLoaderDidLoadUnexpectedResponse: delegate method for handling odd-ball responses during an object load 2010-10-20 21:04:20 -04:00
Blake Watters
bd48ae37db Changed globalClient and globalManager to sharedClient and sharedManager to be more in line with Cocoa framework. Marked old methods as deprecated. 2010-10-20 20:29:27 -04:00
Blake Watters
3b0308e2ad Updated code comments 2010-10-20 15:31:30 -04:00
Blake Watters
1a42e8865e Remove accidentally committed log statement 2010-10-20 15:00:59 -04:00
Blake Watters
5440420aa8 Check if objectStore is set before saving 2010-10-20 14:54:48 -04:00
Blake Watters
b1800e3975 Clean up references to RKModelManager 2010-10-20 13:57:20 -04:00
Blake Watters
d1883ddc11 make object loader retain self during send operations 2010-10-20 13:57:16 -04:00
Blake Watters
5fc241ee94 plug memory leak 2010-10-20 13:55:20 -04:00
Blake Watters
4b9170ec3d Use relative include paths instead of system 2010-10-20 11:46:31 -04:00
Blake Watters
724091b5a1 Added basic specs covering the Rails router. Added some documentation to the headers 2010-10-19 19:20:08 -04:00
Blake Watters
e5100bd7e5 Removed dependency on regexkitlite 2010-10-19 16:18:46 -04:00
Blake Watters
1e6a7ce7ef Added docs to the dynamic router 2010-10-19 15:55:07 -04:00
Blake Watters
30754f9c0a Added RestKitLite and implemented Dynamic Router 2010-10-19 15:48:23 -04:00
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