Commit Graph

  • 73502e68a2 adding error handling in object store Blake Watters 2010-03-15 15:08:36 -04:00
  • 7799fafcd3 Don't cancel requests during dealloc Blake Watters 2010-03-11 14:10:12 -05:00
  • 2a7377b00e Merge branch 'master' of github.com:twotoasters/RestKit Blake Watters 2010-03-11 12:24:19 -05:00
  • 3c5fda2dee Fixed a number of memory leaks. Added ability to cancel requests. Optimized the property inspector with cacheing. Much improved performance! Blake Watters 2010-03-11 12:19:18 -05:00
  • 503feec488 handle loadModel: case where userData is not set to a model (get, not put). also don't leak userData jeremy@twotoasters.com 2010-03-10 10:42:19 -05:00
  • 6a8bfcb8f3 make userData retain so that transient objects don't get referenced after getting dealloc'd. Fix RKParams serialization to handle arrays jeremy@twotoasters.com 2010-03-09 17:10:45 -05:00
  • a5aef014e2 check to ensure relationshipElements is a dictionary or an array and not nill jeremy@twotoasters.com 2010-03-09 15:55:31 -05:00
  • db87576d79 Make associations use set. Don't set nil properties (properties that are not included in the json/xml) jeremy@twotoasters.com 2010-03-09 12:19:12 -05:00
  • 59bf5899e6 Fixed warnings Blake Watters 2010-03-05 13:01:34 -05:00
  • 1fb74dd7f0 Added checks for nil mappable payloads. Will now bail out silently and log a message. Blake Watters 2010-03-05 11:21:51 -05:00
  • 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. Blake Watters 2010-03-05 11:07:54 -05:00
  • 21b88c3a02 Goodbye spaghetti code! New model mapper is ready to rock. Blake Watters 2010-03-05 10:49:33 -05:00
  • 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. Blake Watters 2010-03-05 10:25:34 -05:00
  • 0815f4e7a1 Fix warning Blake Watters 2010-03-05 01:10:19 -05:00
  • 6917886947 Clean up warning Blake Watters 2010-03-05 01:07:41 -05:00
  • 07c1dcee3a Fixed bugs in specific object dictionary mapper Blake Watters 2010-03-05 00:55:17 -05:00
  • 0ada83565e Removed deprecated model mapping methods Blake Watters 2010-03-05 00:11:50 -05:00
  • d12a3bd88b Cleaned up all warnings. Normalized method names. General cleanup of model mapping API. Shit is getting slick and maintainable! Blake Watters 2010-03-04 23:57:14 -05:00
  • dc84d943b8 Checking in work in progress on KVC based model mapping Blake Watters 2010-03-04 17:31:53 -05:00
  • c867a5a313 RestKit model mapping refactor strike 1 Blake Watters 2010-03-04 15:54:29 -05:00
  • 7249484a30 Merge branch 'master' of github.com:twotoasters/RestKit Blake Watters 2010-03-04 14:27:59 -05:00
  • 01bf6a6f85 Introduced model seeder Blake Watters 2010-03-04 14:27:31 -05:00
  • 32124e61ec Make RKClient on manager writable so I can swap it out for specs jeremy@twotoasters.com 2010-03-03 15:04:30 -05:00
  • 9b53788276 Papered over date parsing Blake Watters 2010-03-02 14:31:27 -05:00
  • fc5e3c253e Support for reading error messages out of JSON payload. Expanded commenting. Blake Watters 2010-03-02 13:26:01 -05:00
  • d93011dadf More model mapping improvements... Blake Watters 2010-02-26 13:03:24 -05:00
  • db6c8d68c6 Added support for counting objects of a type in the store. More bubble gum for associated object creation on JSON Blake Watters 2010-02-25 14:12:32 -05:00
  • 1908bfb1d6 Be sure to set the mapping format on the mapper when it is set on the manager. Don't create duplicate objects when mapping from JSON Blake Watters 2010-02-25 12:05:45 -05:00
  • 044f17c2e1 More nasty ass hacks to the model mapper to get GG out of dry dock Blake Watters 2010-02-25 11:03:25 -05:00
  • 47b248480c Removed extraneous logging Blake Watters 2010-02-24 14:43:16 -05:00
  • 6bc5fb6762 Support for model mapping via grouped selectors. The mapper code is due for a refactoring in the very near future. Blake Watters 2010-02-24 14:29:36 -05:00
  • 265e548941 Added dictionaryWithKeysAndObjects initializer. Sick of reversed initializations in the models... Blake Watters 2010-02-24 11:27:27 -05:00
  • efd86b4ca0 RKModelLoader will now forward life-cycle events about requests back to the delegate if they implement the methods. This allows for easy integration with Three20 Blake Watters 2010-02-23 15:55:35 -05:00
  • ca7bdc96a0 Added helpers for transforming keys to support mapping where element to property mappings are specified in either JSON or XML style. Mapper needs refactoring and cleanup... Blake Watters 2010-02-22 17:48:53 -05:00
  • 7102bdba1c Use an NSNumberFormatter for parsing out numeric values instead of assuming them to be integers Blake Watters 2010-02-22 15:54:09 -05:00
  • a1b62cf014 Introduced new system for handling object cacheing of resourcePaths Blake Watters 2010-02-19 11:59:37 -05:00
  • 092bfe3775 Introduced new single global header file for pulling in the RestKit stack. Updated the notification names to be more in line with idiomatic Cocoa naming. Blake Watters 2010-02-19 11:01:12 -05:00
  • 97b582c091 Fixed delegate signatures for methods that are dispatched through the model mapper. Classes not conforming to the protocol will now generate compiler time warnings instead of encountering crashes at runtime. Blake Watters 2010-02-18 16:12:02 -05:00
  • b018819a49 Threaded the model loader. Parsing operations occur in a background thread and then the results are returned to the main thread Blake Watters 2010-02-18 15:18:27 -05:00
  • 4abe3531ca Fix for contentType inspector methods Blake Watters 2010-02-18 14:54:41 -05:00
  • 1439eb963f Added synchronous request helpers to the library Blake Watters 2010-02-18 14:31:50 -05:00
  • bd694ffb46 Merge lost code from model-mapping branch back in Blake Watters 2010-02-18 12:35:09 -05:00
  • fd696644c6 Moved all header files into a RestKit directory for namespacing as a system header path Blake Watters 2010-02-18 11:47:03 -05:00
  • e7e66c1b76 Merge branch 'master' of github.com:twotoasters/RestKit Blake Watters 2010-02-18 10:50:41 -05:00
  • d7016d154b Header search path update for json-framework Blake Watters 2010-02-18 10:49:47 -05:00
  • 47d7c90586 Fixed linking Blake Watters 2010-02-17 16:15:58 -05:00
  • 8035e375b3 Switching to .md for MarkDown love Blake Watters 2010-02-17 16:13:01 -05:00
  • 6ec592551b Added styling and links to Google Group Blake Watters 2010-02-17 16:12:08 -05:00
  • 8497da7819 README Update Blake Watters 2010-02-17 14:52:36 -05:00
  • 27682bdf02 OTRestFramework is now RestKit Blake Watters 2010-02-17 14:44:03 -05:00
  • cca4187a40 Misc updates Blake Watters 2010-02-17 12:23:23 -05:00
  • e59c0027df Merge branch 'model-mapping' of github.com:Objective3/OTRestFramework into model-mapping Blake Watters 2010-01-21 21:14:27 -05:00
  • bc7972b5ac Added first version of UISpec CLI runner Blake Watters 2010-01-21 21:13:59 -05:00
  • 2c2a3002cc move online/offline notifications into OTRestModelManager jeremy@twotoasters.com 2010-01-21 14:08:32 -05:00
  • 126fc0f32a refactor how online/offline mode works jeremy@twotoasters.com 2010-01-21 14:04:35 -05:00
  • 8eb0ca930f go online/offline and delete entire store support jeremy@twotoasters.com 2010-01-20 18:20:56 -05:00
  • 86a670b940 update to support NSDecimalNumber destination properties in otmodels timkerchmar 2010-01-20 12:01:33 -05:00
  • 36827bba2f implement http auth jeremy@twotoasters.com 2010-01-19 17:12:24 -05:00
  • 7f531d8a72 take out lots of logging jeremy@twotoasters.com 2010-01-19 10:44:50 -05:00
  • 731b22d363 renamed digestJSONDict to digestJSONDictionary Blake Watters 2010-01-19 09:21:41 -05:00
  • bac54cdece set the userData pointer on model manager request loads. Added missing OCMock files Blake Watters 2010-01-18 14:50:56 -05:00
  • aec3dba9f9 Merge branch 'model-mapping' of github.com:Objective3/OTRestFramework into model-mapping Blake Watters 2010-01-18 14:48:03 -05:00
  • a74272b123 Reworked error handling substantially. Decoupled OTRestResponse from Rails-isms. All the Rails dependent code is now in the modeling classes. Added numerous helpers on the response class and introduced OCMock to the project Blake Watters 2010-01-18 14:47:59 -05:00
  • 17bf065d3a add params to otrest model mapper load models jeremy@twotoasters.com 2010-01-15 16:15:26 -05:00
  • e8d267c0f0 Merge branch 'model-mapping' of github.com:Objective3/OTRestFramework into model-mapping Blake Watters 2010-01-15 15:48:07 -05:00
  • 94137ff410 Merge branch 'model-mapping' of github.com:Objective3/OTRestFramework into model-mapping jeremy@twotoasters.com 2010-01-15 13:04:54 -05:00
  • 10fcdeb338 handle Date objects in adition to DateTimes jeremy@twotoasters.com 2010-01-15 13:04:28 -05:00
  • 7067c267fc Merge branch 'model-mapping' of github.com:Objective3/OTRestFramework into model-mapping Blake Watters 2010-01-14 16:46:32 -05:00
  • bd1ff3d3d1 added support for switching formats Blake Watters 2010-01-14 16:45:15 -05:00
  • 59686607e0 update data model to work. jeremy@twotoasters.com 2010-01-14 16:22:53 -05:00
  • 9993db4aa2 fix run build script Blake Watters 2010-01-14 16:10:56 -05:00
  • 9193f207b7 added support for dynamically setting local IP Address via AppleScript Blake Watters 2010-01-14 16:08:20 -05:00
  • c7ba80ae95 added other models to datamodel jeremy@twotoasters.com 2010-01-14 15:58:05 -05:00
  • d23852473e adding the Rails project Blake Watters 2010-01-14 15:28:08 -05:00
  • ebdb8ba5d7 removing b0rked Rails Blake Watters 2010-01-14 15:27:38 -05:00
  • 83235da2de adding the otrestspecs_rails project to the mix Blake Watters 2010-01-14 15:19:10 -05:00
  • 9686d78449 add uispec jeremy@twotoasters.com 2010-01-14 09:51:34 -05:00
  • 263f363186 Fixes to NSNull detection handlers Blake Watters 2009-12-22 10:17:10 -05:00
  • fde16d0d88 don't serialize ID param Jeremy Ellison 2009-12-21 11:55:46 -05:00
  • 5f9e3451a1 fix for NSNull property values Jeremy Ellison 2009-12-20 11:18:36 -05:00
  • 625400c47c remove eccessive logging Jeremy Ellison 2009-11-17 09:34:32 -05:00
  • 9c1c6d2f9a Dropping in OTRest code changes from work on GateGuru. Model mapping object creation has some serious issues... Blake Watters 2009-10-03 16:45:06 -04:00
  • 5292554929 Added typeHint support to handle casting of Booleans. Code needs cleaning up, but functional Blake Watters 2009-10-02 20:53:49 -04:00
  • dd828938b8 Work on syntactic sugar for making this library more awesome... Blake Watters 2009-10-02 18:17:01 -04:00
  • a8193afb59 Added implementation notes about custom getter/setter methods Blake Watters 2009-10-02 15:54:09 -04:00
  • 88aa13ece1 Added a comment about what happens Blake Watters 2009-10-02 15:33:31 -04:00
  • 33213de88b Adding convenience methods and fixed nasty bug involving boxing of BOOL primitives coming back from performSelector Blake Watters 2009-10-02 15:28:00 -04:00
  • ce742ec153 Support for requests containing NSArray's of values Blake Watters 2009-10-01 12:01:11 -04:00
  • 045de795a9 gateguru -> OTRestFramework in comments Blake Watters 2009-09-27 23:14:59 -04:00
  • b26c6020b5 Added note about -ObjC Blake Watters 2009-09-25 13:03:16 -04:00
  • c52c82145a Added support for tracking all requests via a set of notifications Blake Watters 2009-09-24 17:04:40 -04:00
  • 08589a1329 Accidental encoding issue Blake Watters 2009-09-22 18:40:18 -04:00
  • ab6cf9c648 Reworked parsing stuff somewhat and created a new ManagedObjectStore for encapsulating the managed object context and friends Blake Watters 2009-09-22 18:22:13 -04:00
  • a6d6c891ce merge fix, bugfix on #define myContext Jeremy Ellison 2009-09-03 14:20:30 -04:00
  • 19459eb907 JSON serialization (I believe this is complete) Jeremy Ellison 2009-09-03 14:16:37 -04:00
  • 01433c62f4 add isNetworkAvailable to OTRestClient Jeremy Ellison 2009-08-31 16:06:05 -04:00
  • 8f8cffacff fix className selector mess Jeremy Ellison 2009-08-20 10:58:16 -04:00
  • 51175ae5a7 Added get:params: convenience method Blake Watters 2009-08-19 16:33:53 -04:00
  • 24fab60733 Add concept of an OTRestModelManager, it will handle updates/deletes/saves/etc... Jeremy Ellison 2009-08-14 18:44:55 -04:00
  • 293fa7f09f Cleanups Blake Watters 2009-08-14 17:28:48 -04:00