Commit Graph

  • f2ff70177c Merge branch 'development' of github.com:CFKevinRef/RestKit into CFKevinRef-development Blake Watters 2012-11-07 21:59:38 -05:00
  • d689ba9291 Add support for mapping to NSData attributes using a NSKeyedArchiver. closes #910 Blake Watters 2012-11-07 11:00:15 -05:00
  • a535ff17be Docs touch up Blake Watters 2012-11-06 18:52:34 -05:00
  • 153c230751 Suppress logging of referential integrity errors if the objectID is temporary as it likely indicates the object is not accessible from the requested context Blake Watters 2012-11-06 15:19:13 -05:00
  • 827945cfb3 Eliminate the explicit RKLogInitialize() method entirely in favor of the implicit RKLogInitializer class Blake Watters 2012-11-06 12:56:28 -05:00
  • 0ea4b10d1c Add private initializer class to ensure logging defaults are configured at load Blake Watters 2012-11-06 12:46:57 -05:00
  • aa9f2a21e3 Port remaining test cases from NSData serialization pull request. closes #762 Blake Watters 2012-11-06 12:14:40 -05:00
  • e368999605 Switch from CocoaPods stock implementation to custom fork to enable stubbing of class objects Blake Watters 2012-11-06 12:13:56 -05:00
  • 89184ea54e Bump CocoaPods to 0.16.0.rc3 Blake Watters 2012-11-06 12:13:00 -05:00
  • e85cf659c0 Improve Request Descriptor registration and lookup behaviors: Blake Watters 2012-11-05 23:10:57 -05:00
  • 7f7bef3e9f Remove superfluous baseURLString methods from RKTestFactory Blake Watters 2012-11-05 17:17:00 -05:00
  • 28c8262b0d Port commented out unit tests from 0.10.x to latest development sources to nail down issues with targetObject behaviors Blake Watters 2012-11-05 17:16:33 -05:00
  • e7505df56c Fix retain cycles detected by Xcode 4.6 static analyzer Blake Watters 2012-11-05 17:13:58 -05:00
  • d71a6a3482 Add LICENSE boilerplate Blake Watters 2012-11-05 13:41:25 -05:00
  • 45c6e1611e Add delegate for didFailToConnectRelationship: Blake Watters 2012-11-01 20:39:50 -04:00
  • 5479103169 Remove invalid param Appledoc statement Blake Watters 2012-11-01 20:26:42 -04:00
  • 0ead6122d8 Remove the double asterisks adding comments to Appledoc HTML content Blake Watters 2012-11-01 20:26:24 -04:00
  • f049f5f998 Take KVC scalar/structure support and NSAttributeType into account when inspecting properties. Kevin Cassidy 2012-11-05 11:55:12 -05:00
  • 2612604df3 Fix accept header issue with multipart requests. Jeff Arena 2012-11-03 11:37:34 -04:00
  • f4b59c6fef Update docs about enqueue of multi-part operation until concurrency issue is cleaned up Blake Watters 2012-11-01 11:53:47 -04:00
  • aec4f66c5c Expand documentation regarding potential for deadlock scenarios. refs #1018 Blake Watters 2012-11-01 10:01:26 -04:00
  • 2cf7d4651d Add assertion requiring an instance of NSManagedObject in RKRelationshipConnectionOperation. Jeff Arena 2012-10-29 12:45:26 -04:00
  • 7fba450311 Fix crash under iOS 5.0.x due to attempt to use unavailable NSURLIsExcludedFromBackupKey symbol. fixes #1015 Blake Watters 2012-10-29 10:47:13 -04:00
  • ea8666e2ec Fix test time zone dependence. closes #763 Blake Watters 2012-10-29 01:43:06 -04:00
  • 7af8d0ac8b Change isEqual: checks for entity to isKindOfEntity: fixes #816 Blake Watters 2012-10-29 01:28:17 -04:00
  • 6d487dbc9e Add support for excluding the SQLite store file from iCloud Backups to conform with the iOS Data Storage Guidelines. closes #929 Blake Watters 2012-10-29 01:12:09 -04:00
  • c44f4010fa Add support for specifying a configuration and customizing the options when adding a SQLite persistent store to the managed object store. closes #984 Blake Watters 2012-10-29 00:32:56 -04:00
  • d11415b01e Add test coverage verifying that invalid objects blocking the Core Data save fails the object request operation. closes #969 Blake Watters 2012-10-28 23:49:20 -04:00
  • 94318d1cb2 Add support for returning fetched objects when a 304 'Not Modified' response is loaded. closes #1006 Blake Watters 2012-10-28 21:44:42 -04:00
  • 5cab23b3af Fix autoreleasepool error under iOS 5.x. fixes #1008 Blake Watters 2012-10-28 20:32:10 -04:00
  • 34bad01834 Obtain a mutable copy of the managed object model before attempting to add indexing. fixes #1014 Blake Watters 2012-10-28 20:26:34 -04:00
  • de016e22f3 Refetch the mapping results from the original managed object context before returning to the caller. fixes #1011 Blake Watters 2012-10-28 20:22:53 -04:00
  • 8f64c57378 Bump CocoaPods Blake Watters 2012-10-28 20:18:23 -04:00
  • f58c6fbea9 Normalize commenting style Blake Watters 2012-10-28 19:40:53 -04:00
  • 454eb2e8fa Correct usage of 'method' instead of 'function' in comment Blake Watters 2012-10-28 19:40:22 -04:00
  • 337d078942 nil out the mapping result in the event we have encountered an error Blake Watters 2012-10-28 19:39:14 -04:00
  • d71893bf43 Remove errantly committed logging statement Blake Watters 2012-10-27 18:08:15 -04:00
  • 9fa32fb08c Formatting tweak Blake Watters 2012-10-27 17:48:00 -04:00
  • e457aba0fa Fix issue with nil arguments to success/failure block introduced earlier today Blake Watters 2012-10-27 16:41:46 -04:00
  • a3bef1699a Add missing assert message Blake Watters 2012-10-27 16:21:13 -04:00
  • 29fecfd8bc Drop GG prefix in examples in header Blake Watters 2012-10-27 16:20:55 -04:00
  • d2dc222766 FIx inappropriate use of __block when we mean __weak Blake Watters 2012-10-27 10:15:11 -04:00
  • a484af05f5 Update logger to display basic info about an input stream used to send a request instead of wrongly logging request.body=(null) Blake Watters 2012-10-25 13:18:01 -04:00
  • 4d5d76671c Modernize and restore all example projects. closes #1007 Blake Watters 2012-10-25 10:06:33 -04:00
  • 9ef8be412e Update docs to include note about setHTTPOperationClass: Blake Watters 2012-10-24 18:27:33 -04:00
  • 19046ba58d Add notes about installation failures due to Git version Blake Watters 2012-10-24 15:30:24 -04:00
  • 37ae82c695 Add additional default date formatter to handle rails dates. Jeff Arena 2012-10-24 13:23:54 -04:00
  • b4b8a45b08 Restore progress logging for synchronous indexing Blake Watters 2012-10-23 18:14:19 -04:00
  • 4a79ab6b68 Conditionalize log message regarding awaiting execution of connection operations and move to Trace logging level Blake Watters 2012-10-23 11:18:45 -04:00
  • ad95514d89 Fix invalid example NSLog in README.md Blake Watters 2012-10-23 10:01:11 -04:00
  • dccff97644 Add support for cancelling in progress indexing operations Blake Watters 2012-10-22 19:33:08 -04:00
  • dfc27be911 Cancel response mapping operations during tear down Blake Watters 2012-10-22 19:31:30 -04:00
  • f96fee87b6 Add a decent description method to the object request operations Blake Watters 2012-10-22 19:29:58 -04:00
  • ae52a10955 Change invalid addAttributeMapping: reference to correct addPropertyMapping:` in README.md Blake Watters 2012-10-22 16:39:10 -04:00
  • 79c854b1bd Added assertion and cancellation hardening within the Search Indexer Blake Watters 2012-10-22 16:07:32 -04:00
  • a267f5ac71 Drop extraneous space between class and object address in property description Blake Watters 2012-10-21 16:16:04 -04:00
  • 117fcbb18c Fix horrible bugs in previous commit Blake Watters 2012-10-21 15:58:03 -04:00
  • f93a044561 Add error condition when attempting to map an RKEntityMapping containing connection mappings with a nil managed object cache. Blake Watters 2012-10-21 15:47:16 -04:00
  • ef46ff2d1d Add assertion that gives the developer a hint of how to fix an attempt to add an array of attribute mappings that already exist in another mapping Blake Watters 2012-10-20 17:43:34 -04:00
  • 3ca889fd28 Fix a bug in previous commit Christopher Swasey 2012-10-20 17:02:35 -04:00
  • 63c9a9e4a0 Fix bug in which relationship connection operations are not enqueued for RKMappingOperation instances whose mapping is an RKDynamicMapping Blake Watters 2012-10-20 16:52:54 -04:00
  • b3adc29535 Add support for connection mappings to the RKManagedObjectImporter. Jeff Arena 2012-10-20 14:37:47 -04:00
  • 7bed7b6f03 Update stubbing routines for fetch requests to support copying of fetch request blocks that require parameters to construct a matching URL Blake Watters 2012-10-20 13:21:23 -04:00
  • c7ce86e9ac Improve docs on success/failure blocks Blake Watters 2012-10-20 10:51:49 -04:00
  • 08110ca300 Implement support for cancellation and prioritization of response mapping operations using an operation queue global to all object request operations. Blake Watters 2012-10-20 00:13:48 -04:00
  • 0738f59231 Added assertion to trap very nasty Core Data mapping error in which existingObjectWithID:error: returns an object in another context, indicating that the object graph has been poisoned, most likely by obtaining a permanent managed object ID from the wrong context. Blake Watters 2012-10-19 17:48:30 -04:00
  • 639897dd67 Refactored relationship mapping implementation to make it easier to follow and debug Blake Watters 2012-10-19 17:46:30 -04:00
  • 7d0c8651ff Add global __RESTKIT__ define for aiding conditional compilation Blake Watters 2012-10-19 15:39:52 -04:00
  • 316d2c1316 Improve assertion error message Blake Watters 2012-10-18 17:19:48 -04:00
  • e748e5bfce Don't throw an exception if doing a simple attribute mapping with a nil data source. closes #1005 Blake Watters 2012-10-18 15:17:57 -04:00
  • f69c2976e2 Fix bug with dynamic parameterization when the concrete mapping includes a date. Blake Watters 2012-10-18 14:38:36 -04:00
  • 5684f7ab89 Add objectMapping identity attribute on RKPropertyMapping to allow one to traverse the mapping graph from an attribute/relationship back to the parent mapping Blake Watters 2012-10-18 14:37:52 -04:00
  • df55f0e524 Enable support for testing dynamic mappings with RKMappingTest Blake Watters 2012-10-18 14:09:00 -04:00
  • e8b4cdd19c DRY up find or create of destination object within the mapping operation and change nil destination object to an error condition instead of an assertion. Blake Watters 2012-10-18 14:06:46 -04:00
  • f5ed351a89 Remove dead delegate Blake Watters 2012-10-18 12:18:45 -04:00
  • 1f3f2646b5 Port a few test cases to Expecta syntax Blake Watters 2012-10-18 12:14:34 -04:00
  • fb6db948e1 Implement support for using dynamic mapping during parameterization with a Request Descriptor. closes #684 Blake Watters 2012-10-18 12:14:16 -04:00
  • 384ff80845 Add support for spinning the Network Activity Indicator while object request operations are executing. Add notifications for tracking object request operation lifecycle. Blake Watters 2012-10-17 22:35:13 -04:00
  • 68cebc96af Added convenience function for getting a fetch request from an array of fetch request blocks Blake Watters 2012-10-17 22:34:09 -04:00
  • feb998ea84 Added support for truncating the length of logged request and response bodies via the 'RKLogMaxLength' environment variable to avoid getting hammered with output on the Trace level Blake Watters 2012-10-17 22:33:31 -04:00
  • 330e63a2d2 Add test coverage for default value of savesToPersistentStore attributes. closes #1000 Blake Watters 2012-10-17 17:49:08 -04:00
  • f2bc809502 Update to reflect change to designated initializer in superclass preventing the appropriate default value for savesToPersistentStore: to be set. refs #1000 Blake Watters 2012-10-17 17:01:34 -04:00
  • 20c4121644 Improve logging when mapping a null relationship value. refs #862 Blake Watters 2012-10-16 20:50:35 -04:00
  • 9d617c6c7b Add support for disconnecting relationships when mapping a related keypath whose value is equal to [NSNull null]. fixes #862 Blake Watters 2012-10-16 20:48:27 -04:00
  • 53f4105e57 Split out simple and keyPath attribute mappings to allow relationship mappings to run before keyPath mappings. Jeff Arena 2012-10-16 18:07:25 -04:00
  • 8f086e204d Update README.md to link to new 0.20.x visual install guide Blake Watters 2012-10-16 17:22:45 -04:00
  • 387f1a12ea Update submodule installation image to include AFNetworking submodule initialization Blake Watters 2012-10-16 16:56:18 -04:00
  • f86bfae761 Kill long dead docs Blake Watters 2012-10-16 16:55:56 -04:00
  • 58f0f4f428 Switch b1 podspec version to 0.20.0dev to align with VERSION Blake Watters 2012-10-16 13:34:56 -04:00
  • bc50e95036 Fix invalid references to requestOperation. refs #997 Blake Watters 2012-10-16 11:59:39 -04:00
  • f4bfdb389b Add support for the registration of HTTP request operation subclasses on the manager to support easy customization of request operation handling. refs #997 Blake Watters 2012-10-16 11:25:00 -04:00
  • d6c429e735 Add tests clarifying issue regarding relativePath vs. relativeString. closes #996 Blake Watters 2012-10-15 23:22:27 -04:00
  • 64e9c7cb6d Add support for mapping attributes to deeply nested keyPaths on NSMutableDictionary. fixes #882 Blake Watters 2012-10-15 22:00:14 -04:00
  • 845de91e80 Update RKMappingTest to support easier testing of RKEntityMapping objects by reducing the amount of required configuration to get a test configured. Blake Watters 2012-10-15 19:27:35 -04:00
  • 74624200da Fix inappropriate override of start method in RKMappingOperation. This should be main, as we are not concurrent Blake Watters 2012-10-15 18:41:45 -04:00
  • 342c57213b Updates to relationship connection execution system for better encapsulation and reuse. Blake Watters 2012-10-15 16:06:22 -04:00
  • 1ad2cabf2a Add decent description method for relationship connection operations Blake Watters 2012-10-15 15:57:38 -04:00
  • b9e6751655 Update AFNetworking to 1.0 tag Blake Watters 2012-10-15 11:18:21 -04:00
  • 1811d5250d Ensure the fetch request blocks are given a relative URL if possible to make path matching easier Blake Watters 2012-10-14 16:03:12 -04:00
  • 4ee29df72f Ensure cancellation works with path patterns against baseURL's that include a path Blake Watters 2012-10-14 15:32:08 -04:00