Commit Graph

54 Commits

Author SHA1 Message Date
Drew McCormack
6b51e58334 Fixed some things in Magical Record example for new build system. Updated README for new instructions on building. 2014-04-30 15:00:11 +02:00
Drew McCormack
3c57524c9f Added new <Ensembles/Ensembles.h> import to Magical Record app. 2014-04-30 14:28:27 +02:00
Drew McCormack
81696ce9cc Added the ‘Simple Sync’ example. It is based on the Magical Record number sync app, but is built with vanilla Core Data. About the simplest possible example. 2014-04-30 14:24:28 +02:00
Drew McCormack
70103af2e3 Got all targets working with new static framework. Made the Mac Idiomatic app use the dynamic framework. 2014-04-30 12:57:08 +02:00
Drew McCormack
f17faae13c Added a static framework target for iOS. It builds. Not fully working yet. 2014-04-30 11:13:14 +02:00
Drew McCormack
77ff27ca60 Got Magical Record example working. 2014-04-19 15:31:37 +02:00
Drew McCormack
9d09929833 Added Magical Record example app. 2014-04-18 21:39:39 +02:00
Drew McCormack
9776d44c74 Added thread debugging launch arguments for Core Data, but it seems they may be ignored in recent OS. 2014-04-18 11:00:44 +02:00
Drew McCormack
8118e35ff1 Changed the initializers of CDEPersistentStoreEnsemble to consistently use NSURL for files. Was mixing the two.
Also cleaned up the Xcode schemes, removing the dropbox ones, and naming them better.
2014-04-12 10:52:05 +02:00
Drew McCormack
e48f8b2928 Added locking to rebaser, baseline consolidator, and the save monitor. They now lock the event store context to perform atomic operations, where necessary.
This was motivated by a case where a new object was lost on the saving device. There were a lot of rebases occurring on each device, and it seems possible that a race condition could have occurred between the save monitor creating a new event, and the rebaser absorbing that event.
2014-04-07 19:45:06 +02:00
Drew McCormack
13757cc017 Various settings changes related to new Xcode warnings. 2014-03-24 10:56:45 +01:00
Drew McCormack
6e46329d2b Added checks in awakeFromInsert: to make sure attributes (e.g. unique ids) are only initialized once.
awakeFromInsert: can be invoked multiple times when using child contexts.
2014-03-10 09:16:34 +01:00
Drew McCormack
96ff6de287 Added artwork to Idiomatic. 2014-03-06 17:52:06 +01:00
Drew McCormack
58953daebe Got login and other aspects of authentication working for Idiosync. Only thing not working is resetting password, because heroku mailer is being blocked as spam. 2014-03-05 12:13:06 +01:00
Drew McCormack
1d5f310f49 Got the basic login working for node server. You can enter your username and password, and it is stored. 2014-03-04 20:06:52 +01:00
Drew McCormack
e054f1f8fa Split off the IDMSyncManager from app delegate in Idiomatic. Dropbox and iCloud sync working, but Node login still not up and running. 2014-03-04 17:34:36 +01:00
Drew McCormack
6935837d0d Started implementing Node server UI, including storage of passwords in keychain. 2014-03-04 14:49:26 +01:00
Drew McCormack
f57c550f61 Added code to better update UI when a deleech occurs. 2014-03-03 19:47:25 +01:00
Drew McCormack
2c707767b6 More changes to node server sync. Still not working. Uploading of files seems to fail. 2014-03-02 19:36:12 +01:00
Drew McCormack
991b695540 Put Node server in idiomatic app. Not working yet. 2014-03-01 20:53:53 +01:00
Drew McCormack
4e6588d939 Merge branch 'master' of https://github.com/drewmccormack/ensembles into server
Conflicts:
	Examples/Idiomatic/Idiomatic.xcodeproj/project.pbxproj
2014-02-25 19:29:22 +01:00
Drew McCormack
9104778662 Changed name of ensembles server to node server. Added delegate methods and some credentials code. 2014-02-25 19:24:30 +01:00
Drew McCormack
2b4c5fcbca Set MOMC_NO_INVERSE_RELATIONSHIP_WARNINGS to YES for idiomatic. We don’t want an inverse on IDMMediaFile. 2014-02-21 11:33:16 +01:00
Drew McCormack
40ff79f7ae Got images working in Idiomatic. 2014-02-21 11:23:59 +01:00
Drew McCormack
9c63ab3841 Added new model version for Idiomatic, which includes media data. Also added a image view in the iOS UI, but it isn’t working yet. 2014-02-21 10:38:50 +01:00
Drew McCormack
abaf5a9f9e Got all unit tests working after recent changes to CDEPropertyChangeValue class. 2014-02-18 11:54:10 +01:00
Drew McCormack
b4cf22de89 Started adding a cloud file system for the ensembles server. 2014-02-17 21:10:01 +01:00
Drew McCormack
0362110bbe Updated the event store model to include a CDEDataFile entity. Also updated the CDEPropertyChangeValue to include a delegate which can be used to store large NSData objects. 2014-02-17 15:59:27 +01:00
Drew McCormack
cd4f86fa91 Put in missing tearDowns in the CDEDropboxCloudFileSystem. These were causing the dropbox sync to fail.
Now works.
2014-02-12 14:37:14 +01:00
Drew McCormack
d5b05c80e6 Got selection of cloud service working in Idiomatic. iCloud works, but still issues with Dropbox. 2014-02-12 12:14:56 +01:00
Drew McCormack
0b58b420b5 Added methods to connect and disconnect from sync services. 2014-02-11 17:33:58 +01:00
Drew McCormack
1eedd53b27 Started adding dropbox option in idiomatic. Not working yet. 2014-02-11 16:00:33 +01:00
Drew McCormack
33f5743722 Updated Idiomatic to link in Dropbox SDK. Not included in UI or App yet. 2014-02-11 13:06:12 +01:00
Drew McCormack
2991c71749 Reverted Idiomatic to only use plain text, instead of attributed text. The attributed text is not cross platform compatible.
Any existing copies of Idiomatic need to be removed, and any cloud data deleted.
2014-01-01 11:58:38 +01:00
Drew McCormack
a8c293964c Improved the iCloud file system error handling. Added a timeout to CDEAsynchronousTaskQueue run loop. 2013-12-16 13:35:15 +01:00
Drew McCormack
b5930da36c Removed block-based retain cycle in Idiomatic for iOS. 2013-11-24 19:58:05 +01:00
Drew McCormack
bbb3e7f766 Split Dropbox code off main project. You now need to include it separately if you want to use it.
Started updating podspec with subspecs (including Dropbox).
2013-11-19 20:05:06 +01:00
Drew McCormack
bdf69077ad Added model version checking. If a model version is found in a new event, and the version can’t be found in the existing local models, the merge stops with an error. 2013-11-09 17:49:30 +01:00
Drew McCormack
816994130a Idiomatic on iOS now will include the selected tag in any new notes. 2013-10-31 10:59:00 +01:00
Drew McCormack
1c76be6485 Merge branch 'master' of https://github.com/fdstevex/ensembles into ordered-rels 2013-10-24 21:14:03 +02:00
Steve Tibbett
b0d2e69428 Adds ordered relationship support.
This involves:
 - Adding a movedIdentifiers dictionary to CDEPropertyChangeValue
 - Treating the relationship as an NSOrderedSet instead of an NSSet where needed
 - Storing the index of any new objects or index changes when storing ordered property changes
 - Adds a unit test that swaps two items in a relationship and ensures the ordering is sync’ed
2013-10-18 06:18:53 -04:00
Drew McCormack
fb12dacdd1 Added automatic persistent store migration options for certain Event stores in the framework. 2013-10-13 15:05:58 +02:00
Drew McCormack
99aa9b19ff Added new version for the event store model, so that the uniqueIdentifier property could be added to CDEStoreModificationEvent. The plan is to use this to track what events are in an incomplete state, and thereby detect crashes and other issues that would leave things in an invalid state. 2013-10-13 12:56:35 +02:00
Drew McCormack
47834a342e Updated DropboxSDK, and made Dropbox project a dependency of other projects. 2013-10-12 14:51:19 +02:00
Drew McCormack
67ed5d26b4 Added Dropbox File System, and submodule for the DropboxSDK. Not fully tested, but is compiling. 2013-10-12 14:46:54 +02:00
Drew McCormack
4197f8d534 Cleaned up the new Mac example app code. 2013-10-09 20:45:39 +02:00
Ernesto
de98fa77bf Refactor AppDelegate in Mac App to include IDM prefix 2013-10-07 20:02:36 +02:00
Ernesto
0754d3402f Removed unused files. 2013-10-05 19:40:27 +02:00
Ernesto
2cca755dcc removed Mac Sample test target. 2013-10-05 19:31:00 +02:00
Ernesto
509983cbb7 Mac OSX Sample 2013-10-05 19:30:08 +02:00