1627 Commits

Author SHA1 Message Date
Blake Watters
2109fae1ba Finished cleaning up Core Data support. Happy with the new organization 2011-03-19 22:06:51 -04:00
Blake Watters
58f867160f Remove old object seeder 2011-03-19 21:35:03 -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
a94456a01e Committing changes to sync against 0.9 2011-03-19 20:59:54 -04:00
Blake Watters
4da3290d50 added JSON and object to NSException when mapping fails because of bad input 2011-03-17 22:20:04 -04:00
Jeff Arena
30b7c0d5d9 removed schedule/unschedule of reachability observer based on application active/inactive notifications 2011-03-17 17:53:18 -07:00
Jeff Arena
e938a4d277 add support for jsonkit parser 2011-03-16 20:21:36 -07:00
Jeff Arena
047186401b moved logic for initiating a call to the server based on an empty local cache from initial load code path to the reload code path, thus simplifying this use case when in offline mode 2011-03-16 14:28:30 -07:00
Blake Watters
9836023601 Added support for mapping cases where the left side of a dictionary is a registered keyPath and the right side is an array of objects 2011-03-15 16:20:34 -04:00
Jeremy Ellison
4bb021e0c7 add attribute parsing to RKXMLParser 2011-03-15 10:21:26 -04:00
Jeff Arena
7896232cc2 completed rollback of changes to default refresh rate code by setting the default loaded time for an app to the first-run date of the app 2011-03-12 09:40:35 -08:00
Blake Watters
a056aff2b8 dont check the online state when creating an object loader in the TTModel, prevents load issues at app launch 2011-03-11 12:58:40 -05:00
Blake Watters
52ca8588cf Use removeObjectForKey on deletePersistantStore. 2011-03-09 22:03:18 -05:00
Blake Watters
7ff0ff1339 Ditches the Rails spec server app. Working on cleaning up unit testing situation. Still a couple of broken tests. 2011-03-09 17:39:32 -05:00
Blake Watters
779f3befb7 Merge Kevin Lord's patch for ignoring request body on a GET request 2011-03-09 15:34:01 -05:00
Blake Watters
cbc4c7169c Remove unnecessary retain from object loader initialization 2011-03-08 12:00:36 -05:00
Blake Watters
5b1c5dae7e Inform the delegate on synchronous requests 2011-03-08 11:36:31 -05:00
Blake Watters
83f77e60ae Fixed bug with warnings 2011-03-06 14:16:40 -05:00
Blake Watters
d46b1f06e7 Merge branch 'issue-warning-for-rel-notfound' of https://github.com/seletz/RestKit into 0.9 2011-03-06 13:59:34 -05:00
Blake Watters
f1fa33a45d Remive duplicate definition of updateModel:fromElements: 2011-03-06 13:56:14 -05:00
Blake Watters
3cf66e5385 More improvements to the managed object store and seeding API's 2011-03-05 17:05:31 -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
Blake Watters
6c351c1ef9 Merge branch 'updates' of https://github.com/ahinz/RestKit into seeding
Conflicts:
	Code/CoreData/RKManagedObjectStore.h
	Code/CoreData/RKManagedObjectStore.m
2011-03-05 13:06:21 -05:00
Blake Watters
c6546feb70 Added new initializer for starting from a seed database. Need to finish cleaning up API and add example app. 2011-03-04 07:16:52 -05:00
Stefan Eletzhofer
1754a610c0 Revert "Fix CF http 303 error."
This reverts commit dff95edcfd.

# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
# On branch issue-warning-for-rel-notfound
# Changes to be committed:
#   (use "git reset HEAD <file>..." to unstage)
#
#	modified:   Code/ObjectMapping/RKDynamicRouter.m
#
2011-03-03 12:16:55 +01:00
Blake Watters
6ad118b822 Silenced a couple of Xcode 4 warning. Don't send a serialization with a GET request by default 2011-03-02 17:23:16 -05:00
Stefan Eletzhofer
9184b2b0f2 Add a nice warning if we don't find a model class for a relationship in RKObjectMapper setRelationshipOfModel:forElements 2011-03-02 12:57:46 +01:00
Stefan Eletzhofer
dff95edcfd Fix CF http 303 error. 2011-03-02 11:11:14 +01:00
Stefan Eletzhofer
a02e13f8d1 fix duplicate definition of updateModel:fromElements: 2011-03-02 11:04:20 +01:00
Jeremy Ellison
bc482efd31 Working XML Support. Twitter example working (XML and JSON) 2011-03-01 13:54:00 -05:00
Jeremy Ellison
a49977c906 make RKXMLParser support RKParser protocol 2011-03-01 12:44:10 -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
c495073497 Merge branch 'master' of github.com:twotoasters/RestKit into core-data-cleanup
Conflicts:
	.gitignore
2011-02-21 20:25:01 -05:00
Blake Watters
bf48cf6559 More Xcode 4 crap 2011-02-15 20:25:22 -05:00
Blake Watters
2aec89b14c More cleanups. Have a bug in the refactored object loader 2011-02-13 03:33:37 -05:00
Blake Watters
0ea0a9b6d9 Cleaning up some TODO's and such 2011-02-13 02:59:37 -05:00
Blake Watters
3467ac5d49 DiscussionBoard and RKTwitter now build properly. May fold the code back out of RKManagedObjectLoader tomorrow. 2011-02-13 02:19:53 -05:00
Blake Watters
f83dc271f9 Finished cleaning up dependencies on Core Data. RKTwitter now builds without linking against Core Data or libRKCoreData.a 2011-02-13 02:04:51 -05:00
Blake Watters
a1216d0ea0 Merge branch 'master' of github.com:twotoasters/RestKit into core-data-cleanup
Conflicts:
	Code/ObjectMapping/RKObjectMapper.m
2011-02-13 01:24:57 -05:00
Blake Watters
b9e4f57fb0 Work in progress factoring Core Data dependencies out of the Object Mapping layer 2011-02-13 01:19:37 -05:00
Blake Watters
07034e3878 Update for object initializer inside the mapper 2011-02-11 10:02:25 -05:00
Adam Hinz
166eeeb566 Provide more generic constructors for the object store and object
manager
2011-02-05 15:31:47 -05:00
Blake Watters
44e424850a Ooops. Use the IP from the hostname rather than the local wireless interface 2011-02-01 19:38:11 -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
daniel
20747ffa27 Merge branch 'master' of github.com:twotoasters/RestKit into new-example 2011-01-21 14:54:40 -05:00
Blake Watters
39a77057ed Removed saveObjectStore method on RKObjectManager, step toward separating Core Data from the base object mapping. RKObjectLoader now ensures that the object store is persisted appropriately before object loaders are sent 2011-01-21 00:56:17 -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
3d2601f79c Imported object store header and temporarily exposed a method until I can clean up the core data dependencies. 2011-01-20 23:01:02 -05:00
Blake Watters
bf1cadc72e Implemented RKMakePathWithObject. Cleaned up some TODO's 2011-01-20 11:24:47 -05:00