Commit Graph
100 Commits
Author SHA1 Message Date
John EstropiaandGitHub acc0ce1c32 Merge pull request #157 from ruslanskorb/fetched-objects-dynamicCast
Use `dynamicCast()` to cast `fetchedObjects` to `[T]?` without checking the type.
2017-03-28 10:10:23 +09:00
John EstropiaandGitHub 92890d1e1d Merge pull request #154 from ruslanskorb/remove-duplicate-code
[FetchedResultsControllerDelegate] Remove duplicate code.
2017-03-07 12:58:18 +09:00
John Estropia 341ec5e771 reverted unsafeDowncast usage to unsafeBitCast (It worked differently) 2017-03-01 19:56:13 +09:00
John Estropia 3224fcf71d move type safety goodness 2017-02-21 19:17:06 +09:00
John Rommel Estropia 9ff1c9d545 declare operators as static functions 2017-02-19 20:05:23 +09:00
John Rommel Estropia c40d17a6ad Merge branch 'develop' of github.com:JohnEstropia/CoreStore into develop 2017-02-19 09:56:40 +09:00
John Estropia 9d5e04854a extra extra type safety for attributes (fetching and importing) 2017-02-17 14:13:16 +09:00
John Estropia d2fd03c1f0 Where clauses are now more strict with the argument types 2017-02-17 10:47:38 +09:00
John Rommel Estropia 7baaee493d unit test for scalar IDs for ImportableUniqueObject 2017-02-13 22:17:03 +09:00
John Estropia 03973790a8 revert recent swizzling update. sorry about that 2017-02-10 20:33:07 +09:00
John Estropia 19fea6953a Merge branch 'master' into develop 2017-02-08 13:13:27 +09:00
John Estropia 9f11b1005d added .swift-version file 2017-02-08 13:08:44 +09:00
John Estropia 698326f89a version bump 2017-02-07 18:21:54 +09:00
John Estropia bdf6308d8f swift 3.1 support 2017-02-07 18:17:40 +09:00
John Estropia 69d96c53d6 WIP: object concurrency debugging utilities 2017-02-02 19:53:47 +09:00
John Estropia 7b961fa249 Display list of model files in bundle when requested modelname is not found 2017-02-01 19:03:59 +09:00
John Estropia 73450d0b29 WIP: minor conveniences to the ImportableUniqueObject protocol 2017-01-20 21:51:00 +09:00
John Estropia 6d83564a1a Swift 3 master candidate 2017-01-06 16:50:38 +09:00
John Estropia c0d72799b4 Merge branch 'swift3_develop' into develop
# Conflicts:
#	.travis.yml
#	CoreStore.podspec
#	CoreStore.xcodeproj/project.pbxproj
#	Sources/Info.plist
2017-01-06 16:03:28 +09:00
John Estropia 06a1919e91 minor fixes 2017-01-06 15:56:47 +09:00
John Rommel Estropia 16def2d84b disable tests on iOS 8.2 and 8.1 (keeps failing due to xcode bug) 2016-12-31 13:14:50 +08:00
John Rommel Estropia e9a2c58f32 travis bug 2016-12-31 11:26:35 +08:00
John Rommel Estropia 1a3e0dd4c6 CoreStore 3 master candidate 2016-12-31 11:03:03 +08:00
John Rommel Estropia 518bb134f9 merge fix 2016-12-26 14:55:06 +08:00
John EstropiaandGitHub 4d7feca848 Merge pull request #139 from deanWombourne/swift3_develop
Add an override to cs_typeName which deals with String explicitly.
2016-12-26 14:53:51 +08:00
John Rommel Estropia 64a80bf401 Swift 3.0.1 support 2016-12-26 14:51:36 +08:00
John Rommel Estropia 4d63fc744a Add String overload for cs_typeName (fixes #138) 2016-12-26 14:51:23 +08:00
John Rommel Estropia 23df460c35 require transaction logs path from icloud stores 2016-12-10 18:39:53 +09:00
John Rommel Estropia 1c233b7302 don't access iCloud's ubiquitous cache file 2016-12-10 09:43:45 +09:00
John Estropia f42288802c Merge branch 'swift3_develop' of github.com:JohnEstropia/CoreStore into swift3_develop
# Conflicts:
#	Sources/Convenience/NSManagedObject+Convenience.swift
2016-12-08 19:00:38 +09:00
John Estropia a27556f294 minor Swift 3 cleanup 2016-12-08 18:59:41 +09:00
John Rommel Estropia e330291e1b support generics for KVC accessors 2016-12-03 10:13:50 +09:00
John Rommel Estropia 4a282150f0 utilities for safer KVO access in objects 2016-12-03 09:59:17 +09:00
John Rommel Estropia 5d2956d674 Make RecreateStoreOnModelMismatch flag work again (fixes #126) 2016-11-26 16:19:12 +09:00
John Estropia 92756fec42 always dispatch completion right after adding a store to the coordinator (allow stores to fully complete their run loop) 2016-11-17 16:27:28 +09:00
John Estropia 2b37daefe0 minor documentation updates 2016-11-17 14:31:06 +09:00
John EstropiaandGitHub 5724d4599e Merge pull request #122 from ruslanskorb/rename-error-type-to-error
`ErrorType` has been renamed to `Error` in Swift 3.
2016-11-17 13:34:03 +09:00
John Estropia b230ed6400 FetchableSource and QueryableSource protocols 2016-11-15 18:00:39 +09:00
John Estropia 33a5c123aa resurrect utilities for creating NSFetchedResultsController (fixes #119) 2016-11-11 17:32:13 +09:00
John Estropia 73637321ce xcode 8.1 (swift 3.0.1) update 2016-11-11 14:03:37 +09:00
John EstropiaandGitHub 088f1717f9 Merge pull request #115 from deville/import-unique-objects-order
Import unique objects in the same order as the array of import sources (with fix for potential duplicates)
2016-11-11 11:46:27 +09:00
John Estropia cff2bb1740 version bump 2016-10-27 19:16:17 +09:00
John Estropia d902d62172 Turn off whole-module-optimization to prevent Swift compiler bugs (#113) 2016-10-27 18:41:27 +09:00
John Estropia b955495012 Turn off whole-module-optimization to prevent Swift compiler bugs (#113) 2016-10-27 18:30:35 +09:00
John Rommel Estropia 2f9e5db89f Added comment (fixes #106) 2016-10-16 14:40:25 +09:00
John EstropiaandGitHub 1789eb7daf Merge pull request #112 from JohnEstropia/revert-109-import-unique-objects-order
Revert "Import unique objects in the same order as the array of import sources"
2016-10-14 17:46:27 +09:00
John EstropiaandGitHub 3999654ee7 Revert "Import unique objects in the same order as the array of import sources" 2016-10-14 17:45:31 +09:00
John EstropiaandGitHub 2a2d9b3483 Merge pull request #109 from deville/import-unique-objects-order
Import unique objects in the same order as the array of import sources
2016-10-10 20:29:59 +09:00
John Rommel Estropia 1a6fbad3d4 force dynamic dispatch on generic types 2016-10-09 00:52:18 +09:00
John EstropiaandGitHub ac55f20f5f Merge pull request #108 from deville/type-method-dispatch-fix
Fix type method dispatch when importing objects
2016-10-08 10:43:21 +09:00
John Estropia ffea06ee7e try again 2016-09-30 19:16:14 +09:00
John Estropia a92d6cac02 try again 2016-09-30 19:08:17 +09:00
John Estropia de5d660257 try again 2016-09-30 17:53:15 +09:00
John Estropia 55b2e6eecd try again 2016-09-30 17:36:48 +09:00
John Estropia b64c776335 try again 2016-09-30 17:28:02 +09:00
John Estropia 432af667e8 try again 2016-09-30 17:08:04 +09:00
John Estropia cf60a4bc2e updated travis.yml 2016-09-30 17:00:11 +09:00
John Estropia c620859899 run demo project on CI 2016-09-30 13:58:11 +09:00
John Estropia 65ac069a0b skip observer testing on macOS 2016-09-30 13:32:31 +09:00
John Estropia 862ef27374 version bump, cleanup, unit test 2016-09-30 13:28:19 +09:00
John EstropiaandGitHub 243b6a76d5 Merge pull request #104 from colinmorelli/feature/sync-transaction-async-merge
Fixes #98 (deadlock when merge happens while main queue is querying)
2016-09-30 12:38:28 +09:00
John Estropia a9c0feae46 NSFetchRequest.affectedStores bug workaround 2016-09-27 19:02:24 +09:00
John Estropia 2e44f86eb6 Merge branch 'develop' into swift3_develop
# Conflicts:
#	Cartfile
#	Carthage/Checkouts/GCDKit
#	CoreStore.podspec
#	CoreStore.xcodeproj/project.pbxproj
#	CoreStoreDemo/CoreStoreDemo.xcodeproj/project.pbxproj
#	CoreStoreTests/BaseTests/BaseTestCase.swift
#	CoreStoreTests/FromTests.swift
#	CoreStoreTests/GroupByTests.swift
#	CoreStoreTests/OrderByTests.swift
#	CoreStoreTests/StorageInterfaceTests.swift
#	CoreStoreTests/TweakTests.swift
#	CoreStoreTests/WhereTests.swift
#	README.md
#	Sources/Internal/CoreStoreFetchRequest.swift
#	Sources/Internal/NSManagedObjectContext+Querying.swift
#	Sources/Internal/NSManagedObjectModel+Setup.swift
#	Sources/Migrating/DataStack+Migration.swift
#	Sources/ObjectiveC/CSSQliteStore.swift
#	Sources/ObjectiveC/CSStorageInterface.swift
#	Sources/ObjectiveC/CoreStoreBridge.swift
#	Sources/Observing/ListMonitor.swift
#	Sources/Setup/DataStack.swift
#	Sources/Setup/StorageInterfaces/ICloudStore.swift
#	Sources/Setup/StorageInterfaces/LegacySQLiteStore.swift
#	Sources/Setup/StorageInterfaces/SQLiteStore.swift
#	Sources/Setup/StorageInterfaces/StorageInterface.swift
2016-09-27 18:55:37 +09:00
John Estropia ed8c7b35e8 Reduce leaking (a little) on the workaround for NSFetchRequest.affectedStores ARC bug 2016-09-27 17:31:08 +09:00
John Rommel Estropia 4d2ebe4ea8 workaround #100 (NSFetchRequest.affectedStores ARC bug) 2016-09-27 02:39:28 +09:00
John Estropia 54be9d471c renamed ImportableObject and ImportableUniqueObject protocol methods to Swift 3 naming style 2016-09-21 12:00:48 +09:00
John Rommel Estropia f18d62f643 travis yml update 2016-09-17 14:27:36 +09:00
John Rommel Estropia af141d4a31 travis yml update 2016-09-17 14:26:33 +09:00
John Rommel Estropia 2da659a967 travis yml update 2016-09-17 14:14:29 +09:00
John Rommel Estropia e5f162c5e1 minor readme edits 2016-09-17 13:59:04 +09:00
John Rommel Estropia effa231719 fix travis 2016-09-17 13:37:00 +09:00
John Rommel Estropia 6cef8f4b4f updated travis yml 2016-09-17 13:23:56 +09:00
John Rommel Estropia aa6bceaaf3 working for Swift 2.3! 2016-09-17 12:22:25 +09:00
John Rommel Estropia 0dbd05b172 version bump 2016-09-11 14:30:32 +09:00
John Rommel Estropia 243c4044ab fix bridging producing base abstract class instead of subclass concrete class 2016-09-11 14:30:25 +09:00
John Rommel Estropia df835114cb ignore errors when deleting wal files 2016-09-10 22:57:45 +09:00
John Rommel Estropia f99d3cc21a fix RecreateStoreOnModelMismatch option not working when an existing xcdatamodel gets updated without adding a new version 2016-09-10 22:51:33 +09:00
John Estropia a51ed1a007 WIP: Renaming to meet Swift 3 API guidelines 2016-09-09 18:30:08 +09:00
John Estropia e5245a0e5b user #keyPath() for keys in demo app and in unit tests 2016-09-09 17:05:55 +09:00
John Estropia 0fa2a23461 workaround for iOS 10 regression in "affectedStores" retain bug 2016-09-09 13:09:13 +09:00
John Estropia 3f28198552 Magical NSFetchedResultsController bugfix.... 2016-09-09 12:49:10 +09:00
John Rommel Estropia 4a34012d58 version bump 2016-09-08 00:40:58 +09:00
John EstropiaandGitHub 45690a29c6 Merge pull request #92 from ThibaultVlacich/develop
Add DEBUG flag to the Debug config
2016-09-07 19:01:19 +09:00
John Estropia 82de482191 WIP: broken generics 2016-09-06 20:16:46 +09:00
John Estropia b502895d63 Merge branch 'develop' into swift3_develop
# Conflicts:
#	Sources/Internal/NotificationObserver.swift
2016-09-06 12:05:40 +09:00
John Estropia ed0fdc76fe update podspec 2016-09-06 11:19:38 +09:00
John Estropia 58f4907575 Prevent retain cycles in NSManagedObjectContext (fixes #87) 2016-09-06 11:13:16 +09:00
John Estropia 0ba63c6e72 WIP: Xcode 8 beta 6 2016-09-06 09:57:28 +09:00
John Rommel Estropia e9be711d4c WIP: demo app 2016-07-25 08:21:22 +09:00
John Rommel Estropia db5b8ca702 Merge branch 'develop' into swift3_develop
# Conflicts:
#	Cartfile.resolved
#	Carthage/Checkouts/GCDKit
#	CoreStoreTests/ErrorTests.swift
#	Sources/Fetching and Querying/Concrete Clauses/Select.swift
#	Sources/ObjectiveC/CSError.swift
2016-07-22 00:47:03 +09:00
John Rommel Estropia 1950224863 version bump 2016-07-22 00:33:15 +09:00
John Rommel Estropia f0cd288657 allow querying on relationship attributes (fixes #83) 2016-07-22 00:29:48 +09:00
John Rommel Estropia 2f39f9188b WIP: the great renaming 2016-07-21 23:12:24 +09:00
John Estropia 3344e42d7c version bump 2016-07-21 11:51:57 +09:00
John Estropia e4b6c06401 fixed internal errors getting thrown as .Unknown instead of .InternalError (fixes #84) 2016-07-21 11:51:49 +09:00
John Rommel Estropia 872e69ddc6 WIP 2016-07-21 08:34:13 +09:00
John Rommel Estropia f9e33101a0 WIP 2016-07-21 08:32:16 +09:00
John Rommel Estropia 0621c54868 WIP 2016-07-21 02:48:23 +09:00
John Rommel Estropia a638620858 WIP 2016-07-21 02:45:42 +09:00
John Rommel Estropia 267c21063a WIP: segfault 2016-07-20 08:12:04 +09:00