Commit Graph

68 Commits

Author SHA1 Message Date
Jeff Arena
6c8f8fffd2 changed merge policy on managed object contexts to force writes from memory in cases of merge conflicts 2010-06-22 16:23:04 -07:00
Jeff Arena
142b89108c fix threading related crashes on OS 3.2/4.0 by switching Core Data thread safety pattern from context locking to using multiple contexts 2010-06-17 16:31:30 -04:00
Jeff Arena
f867c8d0ec rearranged project to expose JSON headers 2010-06-06 10:47:24 -07:00
Blake Watters
8f7ba55bfa Locking cleanup 2010-05-31 12:48:10 -04:00
Jeff Arena
c29a132ae0 removed double retain of error object from synchronous constructor 2010-05-04 10:48:36 -07:00
Blake Watters
0c4f71e8a4 Initialize the URLResponse and NSError's used in synchronous request handles to nil 2010-05-04 13:20:25 -04:00
Blake Watters
7c891f9742 Dropped sub-project and SDK flavors of json-framework in favor of simply including the sources for json-framework 2.2.3 2010-04-21 15:00:35 -04:00
Blake Watters
c4d68b4e64 Additional of request introspection methods. Fixed bug where create operations would result in multiple copies of a Core Data object being minted 2010-04-08 11:02:19 -04:00
Blake Watters
ae88704c1d Added isHTML and isXHTML MIME type introspection methods 2010-03-26 15:33:19 -04:00
Blake Watters
8bef69adfc Removed the remaining references to RestKit 2010-03-25 15:36:24 -04:00
Blake Watters
e80a4f00e0 More API cleanup. Collapsed the validation message support into an NSError. Removed ElementParser 2010-03-25 15:29:38 -04:00
Blake Watters
5e645d1a50 Merge branch 'master' of github.com:twotoasters/RestKit 2010-03-25 14:10:17 -04:00
Blake Watters
f2a475374d Simplified API for instance based model loading 2010-03-25 14:09:44 -04:00
Blake Watters
e970087f57 Standardized around a single protocol callback instead of an ad-hoc callback for model loader requests. Simplified the API greatly in RKRequest. Major streamlining 2010-03-25 13:44:41 -04:00
jeremy@twotoasters.com
0cc8e57a0a Merge branch 'master' of github.com:twotoasters/RestKit 2010-03-18 13:07:23 -04:00
jeremy@twotoasters.com
6d13548121 ensure object is not null 2010-03-18 13:07:04 -04:00
Blake Watters
cb4b7c2ba8 Merge branch 'master' of github.com:twotoasters/RestKit 2010-03-17 11:41:05 -04:00
Blake Watters
6864a65303 Added error logging and notifications for persistent data store failures. 2010-03-17 11:40:15 -04:00
jeremy@twotoasters.com
a5f37852e2 Merge branch 'master' of github.com:twotoasters/RestKit 2010-03-17 10:23:27 -04:00
jeremy@twotoasters.com
162feea6b0 fix dates coming from rails. make loadModels with params use GET 2010-03-17 10:21:45 -04:00
timkerchmar
35d3634197 fixed try/catch syntax 2010-03-16 11:33:27 -04:00
timkerchmar
e6543d90d2 Merge branch 'master' of github.com:twotoasters/RestKit 2010-03-16 11:17:25 -04:00
timkerchmar
00069c9772 added exception handling for invalid valueforkeypath calls 2010-03-16 11:16:15 -04:00
Blake Watters
f399f6c1ea Header updates 2010-03-15 15:09:39 -04:00
Blake Watters
73502e68a2 adding error handling in object store 2010-03-15 15:08:36 -04:00
Blake Watters
7799fafcd3 Don't cancel requests during dealloc 2010-03-11 14:10:12 -05:00
Blake Watters
2a7377b00e Merge branch 'master' of github.com:twotoasters/RestKit
Conflicts:
	Code/RKModelLoader.m
2010-03-11 12:24:19 -05:00
Blake Watters
3c5fda2dee Fixed a number of memory leaks. Added ability to cancel requests. Optimized the property inspector with cacheing. Much improved performance! 2010-03-11 12:19:18 -05:00
jeremy@twotoasters.com
503feec488 handle loadModel: case where userData is not set to a model (get, not put). also don't leak userData 2010-03-10 10:42:19 -05:00
jeremy@twotoasters.com
6a8bfcb8f3 make userData retain so that transient objects don't get referenced after getting dealloc'd. Fix RKParams serialization to handle arrays 2010-03-09 17:10:45 -05:00
jeremy@twotoasters.com
a5aef014e2 check to ensure relationshipElements is a dictionary or an array and not nill 2010-03-09 15:55:31 -05:00
jeremy@twotoasters.com
db87576d79 Make associations use set.
Don't set nil properties (properties that are not included in the json/xml)
2010-03-09 12:19:12 -05:00
Blake Watters
59bf5899e6 Fixed warnings 2010-03-05 13:01:34 -05:00
Blake Watters
1fb74dd7f0 Added checks for nil mappable payloads. Will now bail out silently and log a message. 2010-03-05 11:21:51 -05:00
Blake Watters
9a87d05faa Model loader now maps back into specific model instances when loaded using the manager. Prevents duplication of Core Data objects and lets local/remote objects be fully managed by the loader. 2010-03-05 11:07:54 -05:00
Blake Watters
21b88c3a02 Goodbye spaghetti code! New model mapper is ready to rock. 2010-03-05 10:49:33 -05:00
Blake Watters
e99b429ab4 Added flexibility to parse date formats using an arbitrary number of strings. Added automagic conversion between local and remote time zones. By defaults assumes that the remote system is retuning dates in UTC format. 2010-03-05 10:25:34 -05:00
Blake Watters
0815f4e7a1 Fix warning 2010-03-05 01:10:19 -05:00
Blake Watters
6917886947 Clean up warning 2010-03-05 01:07:41 -05:00
Blake Watters
07c1dcee3a Fixed bugs in specific object dictionary mapper 2010-03-05 00:55:17 -05:00
Blake Watters
0ada83565e Removed deprecated model mapping methods 2010-03-05 00:11:50 -05:00
Blake Watters
d12a3bd88b Cleaned up all warnings. Normalized method names. General cleanup of model mapping API. Shit is getting slick and maintainable! 2010-03-04 23:57:14 -05:00
Blake Watters
dc84d943b8 Checking in work in progress on KVC based model mapping 2010-03-04 17:31:53 -05:00
Blake Watters
c867a5a313 RestKit model mapping refactor strike 1 2010-03-04 15:54:29 -05:00
Blake Watters
7249484a30 Merge branch 'master' of github.com:twotoasters/RestKit 2010-03-04 14:27:59 -05:00
Blake Watters
01bf6a6f85 Introduced model seeder 2010-03-04 14:27:31 -05:00
jeremy@twotoasters.com
32124e61ec Make RKClient on manager writable so I can swap it out for specs 2010-03-03 15:04:30 -05:00
Blake Watters
9b53788276 Papered over date parsing 2010-03-02 14:31:27 -05:00
Blake Watters
fc5e3c253e Support for reading error messages out of JSON payload. Expanded commenting. 2010-03-02 13:26:01 -05:00
Blake Watters
d93011dadf More model mapping improvements... 2010-02-26 13:03:24 -05:00