Commit Graph

  • 79150ad51e Guard against a potential "Could not fulfill a fault" crash during relationship connection if the object being connected has been deleted before the operation executes Blake Watters 2013-02-04 11:08:55 -05:00
  • 7c9264025f Add type for managedObjectStore in the factory Blake Watters 2013-02-04 10:44:04 -05:00
  • ae8e3b17ca Relax assertion in RKSearchIndexer so that it does not fail in the event a nil managed object is returned by existingObjectWithID:error: Blake Watters 2013-02-02 09:25:02 -05:00
  • 45e3366b7c Reorder RKTestFactory dispatching of the tear down block so that you have reference to the current environment to perform the tearDown Blake Watters 2013-02-01 19:00:56 -05:00
  • 8958bc8415 Improve cancellation behaviors for in-progress RKManagedObjectRequestOperation instances Blake Watters 2013-02-01 19:00:04 -05:00
  • 0bbb603b9e Switch to using an NSRecursiveLock instead of @synchronized within RKEntityByAttributeCache. Avoid a potential deadlock when handling a NSManagedObjectContextObjectsDidChangeNotification notification Blake Watters 2013-02-01 18:59:26 -05:00
  • be5aea7286 Merge branch 'release/v0.20.0-rc1' into development Blake Watters 2013-02-01 11:40:32 -05:00
  • 016657613e Merge branch 'release/v0.20.0-rc1' v0.20.0-rc1 Blake Watters 2013-02-01 11:40:22 -05:00
  • 4407523fab Update projects for Xcode 4.6 and enable CLANG_WARN_ENUM_CONVERSION Blake Watters 2013-02-01 11:38:15 -05:00
  • d2eea3634a Bump version to v0.20.0-rc1 Blake Watters 2013-02-01 11:36:40 -05:00
  • 197a54bf60 Rework metadata mapping to fix breakage under OS X Blake Watters 2013-02-01 11:25:50 -05:00
  • f9c3e3a4d4 Add a lock around the overrideen error accessor on RKHTTPRequestOperation. refs #1193 Blake Watters 2013-02-01 08:59:14 -05:00
  • 32c52f2d06 Enable metadata mapping for identification attributes. fixes #1202 Blake Watters 2013-01-31 11:47:41 -05:00
  • ec180fae5b Add a warning if you violate the save expectations of NSManagedObjectContext. fixes #1185 Blake Watters 2013-01-29 11:51:41 -05:00
  • 4f442b142f Fix issue where NSManagedObject instances that are invalid due to missing require relationship when finished mapping, but are made valid by connected relationships are deleted prematurely. fixes #1179 Blake Watters 2013-01-29 11:44:15 -05:00
  • 25e15508f6 Add missing interpolation value for assertion within search indexing Blake Watters 2013-01-29 10:55:39 -05:00
  • 5d7669bcc1 Fix creation of duplicated managed objects when you map a nil source key path onto an indentification attribute. fixes #1194 Blake Watters 2013-01-29 10:03:19 -05:00
  • 2e5668012c Fix implicit conversion warning in RKDotNetDateFormatter. closes #1198 Blake Watters 2013-01-29 09:31:22 -05:00
  • 2f78250891 Change log level for a specific mapping operation failure case Jeff Arena 2013-01-28 17:49:34 -05:00
  • 4840b4b63e Fix crash when attempting to union a relationship with a nil value. fixes #1195 Blake Watters 2013-01-28 17:22:33 -05:00
  • 039c7c443d Fix issue where repeatedly mapping a to-many relationship without identification attributes would cause the first object in the relationship to be inappropriately reused Blake Watters 2013-01-26 12:10:55 -05:00
  • d761de0ea7 Fix crash when attempting to map nil sourceKeyPath as identification attribute Blake Watters 2013-01-26 00:21:44 -05:00
  • 3e351509b3 Fix crash when accessing a named route with no object for interpolation Blake Watters 2013-01-25 17:27:38 -05:00
  • 0364d6c67b Integrate support for metadata mapping routing data. refs #1174 Blake Watters 2013-01-24 23:16:48 -05:00
  • 4c39918fdb Implement support for flexible metdata mapping. closes #582, #688 Blake Watters 2013-01-22 15:41:22 -05:00
  • 7e07c6985c Merge pull request #1186 from jamesmoschou/collection-of-managed-objects-typechecking-bugfix Blake Watters 2013-01-24 04:47:43 -08:00
  • 7ba7070d89 Fix RKObjectIsCollectionContainingOnlyManagedObjects function James Moschou 2013-01-24 16:57:46 +10:30
  • 7cca6891ce Unwind earlier fix for obtaining permanent objectID for targetObject in favor of the overridden setter on RKManagedObjectRequestOperation Blake Watters 2013-01-23 17:28:08 -05:00
  • 2b84f667c1 Add support for obtaining a permanent managed object ID for the targetObject of an RKManagedObjectRequestOperation Blake Watters 2013-01-23 16:12:14 -05:00
  • cd877860fd Tweak docs, add test cases for mapping a response with a descriptor that does not specify any attributes/relationships Blake Watters 2013-01-23 15:26:52 -05:00
  • 23ca0c7ca4 Fix potential crash due to serious Core Data error from failing to obtain a permanent objectID for an object that was just saved to the persistent store, but whose objectID is stale. fixes #1183 Blake Watters 2013-01-23 13:20:55 -05:00
  • 120584e320 Add missing copy support for the entity and deletion predicate. closes #1184 Blake Watters 2013-01-23 12:54:02 -05:00
  • 16eb7ed46e Merge pull request #1182 from darashi/fix-typo-in-readme Blake Watters 2013-01-23 05:59:07 -08:00
  • cda5c5d529 Fix a typo in code example Yoji SHIDARA 2013-01-23 14:23:03 +09:00
  • 7ee9a9a866 Add missing EOF in ObjectMapping.h Blake Watters 2013-01-22 09:52:43 -05:00
  • 1885ee9e89 Add warning about deadlocks if you use waitUntilFinished with a RKManagedObjectRequestOperation on a main queue thread. refs #1173 Blake Watters 2013-01-21 16:17:10 -05:00
  • 966e006990 Fix bug with refetching due to failure to track applied attribute mapping when mapped value is unchanged. closes #1176 Blake Watters 2013-01-21 15:03:53 -05:00
  • 4ae497afb1 Add test to verify managedObjectContext on empty results. Johannes Plunien 2013-01-21 20:33:56 +01:00
  • 2351fc2472 Add unit test and fix for crash during eviction of cache keys during query for compound identification attributes. closes #1171 Blake Watters 2013-01-21 13:18:26 -05:00
  • abd207420b Fix missing language in log message Blake Watters 2013-01-21 12:55:39 -05:00
  • 2cf73d2436 Fix failed assertion when constructing an unprocessable response error for 5xx errors. closes #1169 Blake Watters 2013-01-18 18:57:34 -05:00
  • 3d52c459aa Add test case for empty 5xx response. refs #1169 Blake Watters 2013-01-18 17:51:56 -05:00
  • a75edcea2e Nil out targetObjectID if given a targetObject that is not an NSManagedObject. closes #1161 Blake Watters 2013-01-18 17:28:49 -05:00
  • 3d971dc666 Encapsulate managed object refetching into an NSProxy object to enable you to defer the refetching until the mapping result is accessed (or skip it entirely if the result is not accessed) Blake Watters 2013-01-18 16:42:11 -05:00
  • 3d4c7b502d Copy attributeCaches to avoid potential for mutation during enumeration Blake Watters 2013-01-18 14:50:11 -05:00
  • fc07e1fef7 Remove unnecessary exception handling for NSUndefinedKeyException Blake Watters 2013-01-18 14:48:22 -05:00
  • 06f2fe9c7b Radically simplify the implementation of managed object deletion and refetching within RKManagedObjectRequestOperation. closes #1163 Blake Watters 2013-01-18 12:20:51 -05:00
  • ff7f538749 Add temporary workaround for infinite recursion Blake Watters 2013-01-17 23:31:28 -05:00
  • f2abd1e107 Add test coverage verifying fix for crash during cyclic graph traversal in RKManagedObjectRequestOperation. closes #1142 Blake Watters 2013-01-17 18:47:02 -05:00
  • 7bf14d4ea9 Rework implementation of cyclic mapping graph traversal. refs #1142 #1158 #1163 Blake Watters 2013-01-17 15:08:30 -05:00
  • a65a50e8f7 Fix bug with mapping nested attribute values with identification attributes when the identification attribute is not the nesting key. fixes #1129 Blake Watters 2013-01-17 11:34:40 -05:00
  • a2ca2ec937 Fix crash when serializing NSDate properties mapped at nested keypaths. fixes #1134 Blake Watters 2013-01-17 11:01:24 -05:00
  • 01c34fe289 Fix crash when mapping to NSManagedObject class with Transformable attribute without a backing property. fixes #1162 Blake Watters 2013-01-17 10:38:53 -05:00
  • 5b2eedb849 Add unit tests for mapping 'n' and 'y' characters as Boolean values. refs #1151 Blake Watters 2013-01-16 19:29:33 -05:00
  • 02952aa2bb Add support for transforming strings 'Y' and 'N' to boolean NSNumber objects James Moschou 2013-01-13 20:30:47 +10:30
  • bcbbd65fbe Fix issue in which managed objects that are the children of non-managed objects were refetched and assigned as a collection rather than as a singular value. fixes #1118 Blake Watters 2013-01-16 17:49:32 -05:00
  • 62af9290d4 Add test case for unexpected NSSet. #1118 Johannes Plunien 2013-01-09 22:13:37 +01:00
  • a8f3887b26 Fix bug with status code handling when statusCodes is nil for any response descriptor. Blake Watters 2013-01-16 13:57:24 -05:00
  • c26739ce6b Fix issues with mapping errors from 5xx payloads. Ensure acceptableStatusCodes tracks the status codes configured in the response descriptors. fixes #1157 Blake Watters 2013-01-16 12:38:44 -05:00
  • 868d83be2c Don't create unnecessary objects when mapping temporary managed objects POST'd without identification attributes. closes #1149 Blake Watters 2013-01-15 22:45:43 -05:00
  • bf521310b2 Replace visitor with simply obtaining permanent objectID's for temporary objects inserted into the context Blake Watters 2013-01-15 16:32:45 -05:00
  • 260d01a1b0 Switch to use of Expecta raiseWIthReason matcher after applying fix for crash due to failure to copy blocks Blake Watters 2013-01-15 09:14:11 -05:00
  • 259e6c2fe5 Fix all test breakage in OS X Framework tests Blake Watters 2013-01-15 09:07:44 -05:00
  • f33a8bb405 Rework Pods to restore execution of OS X Framework tests Blake Watters 2013-01-15 09:07:23 -05:00
  • 5b567b526b Bump to Cocoapods 0.16.1 Blake Watters 2013-01-14 23:31:26 -05:00
  • c98dd41c2f Reimplement predicate caching within the RKFetchRequestManagedObjectCache to avoid nasty crash due to malformed predicates. fixes #1141 Blake Watters 2013-01-14 23:01:55 -05:00
  • 840b37a4f9 Fix bug in mapper delegate configuration and add missing test coverage for response mapper operation and both object request operation classes. closes #1156 Blake Watters 2013-01-14 14:23:32 -05:00
  • 999edf82c7 Add mapping test for multi-part form upload. refs #1148 Blake Watters 2013-01-12 11:23:45 -05:00
  • 3e425707fb Fixed problems with initial implementation of temporary managed objects visitor. The implementation was under tested and only worked with a single relationship. refs #1001 Blake Watters 2013-01-11 15:56:36 -05:00
  • 51d36fb635 Fixed documentation omission Eric Chamberlain 2013-01-11 10:52:00 -08:00
  • e0481096cf Fix a few issues identified via static analysis Jeff Arena 2013-01-11 11:57:46 -05:00
  • cfbd5d711e Add error handling and use of RKEnsureDirectoryExistsAtPath so that Core Data examples work well for OS X as well as iOS Blake Watters 2013-01-11 11:43:13 -05:00
  • 91b12aee34 Add an exception if you try to create managed object contexts without adding a persistent store Blake Watters 2013-01-11 11:42:40 -05:00
  • c9a88c36e4 Move Testing doc to more discoverable place Blake Watters 2013-01-11 08:12:15 -05:00
  • 7e4be82d64 Update TESTING.md for 0.20.x and modern reality Blake Watters 2013-01-11 08:07:32 -05:00
  • 906e33dd55 Restore execution of Unit Tests via Rake Blake Watters 2013-01-10 23:13:08 -05:00
  • 6b8a390cf5 Update README.md Alexander Waldmann 2013-01-10 22:40:13 +01:00
  • f1a35bb884 Style tweak Blake Watters 2013-01-10 19:54:18 -05:00
  • 281247f8c9 Merge branch 'master' of github.com:AntonPalich/RestKit into development Blake Watters 2013-01-09 22:45:23 -05:00
  • f4b805ff52 Fix issues with implementation of error override in RKHTTPRequestOperation. fixes #1140 Blake Watters 2013-01-09 22:42:39 -05:00
  • 139decbc36 Remove accidentally committed debug logging Blake Watters 2013-01-09 22:29:26 -05:00
  • b61039c838 Use a visitor to identify all NSManagedObject instances being sent via the object manager which have a temporary managed object ID to avoid crashes during mapping. refs #1001 Blake Watters 2013-01-09 21:11:23 -05:00
  • bce692d08f Guard against crash due to Nil value retrieved for managedObjectClassName in the property inspector Blake Watters 2013-01-09 09:47:51 -05:00
  • 3164c6d557 Fixed issue when body could be null on device Антон Щукин 2013-01-09 11:26:10 +04:00
  • 4612121ae5 Unify RKHTTPRequestOperation and RKObjectRequestOperation subclass customization via registration API's. closes #1131 Blake Watters 2013-01-08 21:33:45 -05:00
  • 4c0e62a62a Add new RKManagedObjectStore method for assisting in performing migrations when you have made dynamic modifications to the managed object model (such as when you leverage the Search indexing support) Blake Watters 2013-01-08 18:26:05 -05:00
  • 70180022be Add support for customizing the RKObjectRequestOperation and RKManagedObjectRequestOperation instances built through the object manager using a registration API very similar to that of AFHTTPClient. closes #1131 Blake Watters 2013-01-08 10:49:49 -05:00
  • 905048f737 Fix issue where unsaved managed object POST'd to the server with unsaved changes are not persisted if no mapping occurs. fixes #1130 Blake Watters 2013-01-07 19:55:51 -05:00
  • 547b3af4f2 Bump OCHamcrest checksum Blake Watters 2013-01-07 14:20:15 -05:00
  • 3d1bb617e7 Fix test breakage when your ISP returns a custom HTTP response page for an invalid host Blake Watters 2013-01-07 14:19:57 -05:00
  • a21213e9c1 Add a more informative assertion when an RKManagedObjectResponseMapperOperation instance is not configured properly Blake Watters 2013-01-07 14:17:53 -05:00
  • e9d5a87f7b Drop unnecessary performBlockAndWait: invocation that may be correlated with occasional crashes seen in GateGuru Blake Watters 2013-01-07 13:49:40 -05:00
  • 9a935ba7e9 Pull the CoreData header into the PCH to trigger conditional compilation of Core Data specific bits. refs #1126 Blake Watters 2013-01-07 11:48:22 -05:00
  • 7f8320c514 Add helpful error message if you call requestMapping on an RKObjectMapping subclass Blake Watters 2013-01-06 01:11:09 -05:00
  • 0d74946808 Add another mention about the objectClass in RKRequestDescriptor Blake Watters 2013-01-06 00:46:43 -05:00
  • 226f3f7dc7 Fix static analyzer warning about uninitialized success variable in RKMappingTest Blake Watters 2013-01-06 00:46:14 -05:00
  • d4c8db97ad Fix typo in README.md registration of response descriptor. closes #1125 Blake Watters 2013-01-05 11:33:00 -05:00
  • 5b60338d93 Merge branch 'release/0.20.0-pre6' into development Blake Watters 2013-01-03 23:09:39 -05:00
  • 22dd9ab40d Merge branch 'release/0.20.0-pre6' v0.20.0-pre6 Blake Watters 2013-01-03 23:09:05 -05:00
  • ee00e59854 Bump VERSION to 0.20.0-pre6 Blake Watters 2013-01-03 23:06:31 -05:00