Blake Watters
7885481337
Update comments and log messages
2012-08-03 12:32:18 -04:00
Blake Watters
544be269da
Updated header documentation for RKManagedObjectStore
2012-08-02 10:32:58 -04:00
Blake Watters
232b3eb861
Implemented new search engine for managed objects.
2012-08-01 18:12:53 -04:00
Blake Watters
07aadeebdf
Reimplemented the managed object store, converted managed object seeder to importer, cleaned up test breakage.
2012-07-26 17:33:35 -04:00
Jawwad Ahmad
6d3a9b5487
Fix "Failed to call designated initializer on NSManagedObject class" when running core data seed generation.
2012-07-25 11:45:14 -04:00
Blake Watters
66c9cd5f26
Remove object literal array access usage
2012-07-23 11:19:12 -04:00
Blake Watters
5af66a4e89
Finalized to existingObjectWithID: approach after benchmarking fetch request strategy
2012-07-20 16:09:58 -04:00
Blake Watters
093a76e7b2
Migrated to a single entity cache for the primary MOC instead of one per thread
2012-07-20 15:41:47 -04:00
Blake Watters
6b315fbd54
Updates to entity cache and other components to operate in parent/child context world.
2012-07-20 14:48:09 -04:00
Blake Watters
e952f451fb
Eliminated the use of the ActiveRecord pattern across the library.
2012-07-20 14:48:09 -04:00
Jawwad Ahmad
ae8b98ac1a
Add DEPRECATED_ATTRIBUTE_MESSAGE recommendations to RKEntityMapping.h
2012-07-18 12:27:12 -04:00
Blake Watters
046e277088
Make managedObjectCache optional on RKManagedObjectMappingOperationDataSource; Make RKManagedObjectMappingOperationDataSource.h public
2012-07-17 17:29:30 -04:00
Blake Watters
6af38b8b6d
Obtain permanent object ID's for managed objects before sending via RKManagedObjectLoader
2012-07-17 16:26:21 -04:00
Blake Watters
a8f64e7982
Continued cleanup related to managed object context work
2012-07-17 13:44:50 -04:00
Blake Watters
b25a1833b3
Ported RestKit to using managed object contexts with concurrency types. Numerous cleanups and API updates.
2012-07-16 22:47:06 -04:00
Blake Watters
cfa0df1841
Breakthrough on parent/child MOC setup
2012-07-13 14:11:48 -04:00
Blake Watters
f0706dbdbf
Work in progress
...
Conflicts:
Code/CoreData/RKManagedObjectLoader.h
Code/CoreData/RKManagedObjectLoader.m
Code/CoreData/RKManagedObjectMapping.m
Code/CoreData/RKManagedObjectMappingOperation.m
Code/CoreData/RKManagedObjectStore.m
Code/CoreData/RKManagedObjectThreadSafeInvocation.h
Code/CoreData/RKManagedObjectThreadSafeInvocation.m
Code/CoreData/RKSearchableManagedObject.m
Code/ObjectMapping/RKObjectLoader.m
Code/ObjectMapping/RKObjectMapper.h
Code/ObjectMapping/RKObjectMappingOperation.m
RestKit.xcodeproj/project.pbxproj
Tests/Logic/CoreData/RKManagedObjectThreadSafeInvocationTest.m
2012-07-13 13:07:42 -04:00
Blake Watters
c4a329cc58
Use dispatch_sync instead of NSOperation for merging changes from background notification
2012-07-11 16:47:33 -04:00
Blake Watters
2c980ec4cd
Fix type disagreements with sourceObject & targetObject properties
2012-07-11 16:47:24 -04:00
Blake Watters
ec6cdd1356
Migrate performSelectorOnMainThread and performSelectorInBackground invocations to GCD
2012-07-11 16:45:08 -04:00
Blake Watters
a80b8c94f9
Cleanup invalid arguments from method signature refactoring
2012-07-11 13:03:36 -04:00
Blake Watters
64d1d35da2
Various stylistic cleanups to Connection Mapping in preparation for merge. refs #748 , #593
2012-07-11 12:14:28 -04:00
Charlie Savage
f368f9a16c
Add findInstancesOfEntity method to cache to support one to many relationships.
2012-07-11 12:14:28 -04:00
Charlie Savage
f0e8bbe284
Update new connectRelationship implementation based on feedback from Blake.
2012-07-11 12:14:28 -04:00
Charlie Savage
2a434375f0
Reimplement connectRelationship as described in issue #593 .
2012-07-11 12:14:28 -04:00
Blake Watters
76538c2ecb
Fix invalid format string in RKLogError invocation
2012-07-11 12:12:26 -04:00
Jawwad Ahmad
82f4630d36
Whitespace syntax cleanup. Refs #614
2012-07-11 10:41:38 -04:00
Jawwad Ahmad
7cbccfd322
Delete ivars that are already @synthesized. Refs #614 .
2012-07-11 10:34:29 -04:00
Jawwad Ahmad
abb46c382c
Ensure the stars for all pointers belong to the variable rather than the type. Refs #614
2012-06-04 22:47:30 -04:00
Jawwad Ahmad
eaa5484b01
Placing opening braces on a new line for methods to match Apple convention. Refs #614
...
Used uncrustify's "nl_fdef_brace = add" option to detect issues.
2012-06-04 00:36:19 -04:00
Jawwad Ahmad
2cf60ffb86
Fix a few spacing issues. Refs #614
2012-06-03 22:51:00 -04:00
Jawwad Ahmad
10433089a4
Strip trailing whitespace. Refs #614
2012-06-03 22:33:31 -04:00
Jawwad Ahmad
e4882e2e00
Added #import "RKManagedObjectLoader.h" to CoreData.h
2012-05-31 18:42:12 -04:00
Blake Watters
014a4dbdff
Merge branch 'release/0.10.1' into development
2012-05-25 23:33:54 -04:00
Blake Watters
fa88dd44ef
Fix type mismatch assertion in cases where JSON/XML payload contains a string value for an integer primary key. fixes #754
2012-05-24 19:09:39 -04:00
Blake Watters
680ca666d6
Update RKTestFactory to silence logging output during setup/tear down operations. closes #764
...
* Introduced new logging helpers for silencing components.
* Check for existence of data store at path before firing deletion to avoid log warning on failure.
* Silence logging for reachability and cache during factory initialization of RKClient and RKObjectManager
* Adjust log levels on cache components from info to debug
2012-05-24 12:53:45 -04:00
Blake Watters
98c8780a31
Implemented support for type coercions in primaryKeyAttribute API's. closes #758
2012-05-23 17:25:48 -04:00
Blake Watters
871ab1389e
Ensure managed object connections are established across appropriate managed object contexts
2012-05-21 13:09:27 -04:00
Blake Watters
dc47a7aae3
Ensure managed object connections are established across appropriate managed object contexts
2012-05-21 13:04:56 -04:00
Blake Watters
31191f59b6
Migrate initialization of default error mapping from RKObjectManager to RKObjectMappingProvider
2012-05-21 12:09:27 -04:00
Eric Chamberlain
01607a9a09
Fix for https://github.com/RestKit/RestKit/issues/709 - [RKManagedObjectThreadSafeInvocation serializeManagedObjectsForArgument:withKeyPaths:] is not properly serializing managed objects
...
Fixed RKManagedObjectThreadSafeInvocation to properly handle serialization when the key is a keyPath.
Updated RKManagedObjectThreadSafeInvocationTest to test keyPath keys.
2012-05-19 17:01:41 -04:00
Blake Watters
f585d34f91
Ensure creation of Application Data directory when initializing Managed Object Store. fixes #657
2012-05-19 16:29:01 -04:00
Blake Watters
489bb0423a
Fix static analyzer issues
2012-05-18 20:01:56 -04:00
Blake Watters
016f13dad0
Convert all tabs to four spaces. refs #743
2012-05-17 18:10:59 -04:00
Blake Watters
fcb973056b
Cleanup trailing whitespace. refs #743
2012-05-17 18:00:16 -04:00
Blake Watters
ee30436ea6
Ensure managed object loader instances are finalized on failure to save managed object store. closes #721
2012-05-17 09:32:01 -04:00
Blake Watters
3fb2b023fa
Integrate optimization for utilizing the managed object cache when connecting relationships. closes #693
...
Thanks to Ed McManus (emcmanus) for the implementation.
2012-05-16 19:09:05 -04:00
Blake Watters
95b38b1f37
Add Block_copy() invocation to ensure the fetch request block is transferred to the heap. refs #738
2012-05-16 16:09:08 -04:00
Blake Watters
2c704e6fdc
Merge branch 'feature/635-accelerate-entity-cache' into development
2012-05-15 19:42:19 -04:00
Blake Watters
9bf89ebec1
Completed documentation and testing for managed object cache overhaul. refs #635
2012-05-15 12:49:42 -04:00