Commit Graph

1244 Commits

Author SHA1 Message Date
Thomas Goyne e30e2ff278 Simplify RealmCoordinator::get_coordinator() 2016-01-25 17:46:38 -08:00
Thomas Goyne 7a0c83929f Use an unordered map for the Realm coordinator cache 2016-01-25 17:46:38 -08:00
Thomas Goyne d6daa052e8 Decouple Realm instance tracking from interprocess notifications 2016-01-25 17:46:38 -08:00
Thomas Goyne 2ed90e6d79 Check for invalid schema changes even when KVO is not used 2016-01-25 10:58:30 -08:00
Thomas Goyne d5e00c9315 Handle allowed schema changes in the transaction log observer 2016-01-25 10:56:06 -08:00
Thomas Goyne f3397d48c0 Add IndexSet tests
And fix a bug that resulted in ranges not being merged.
2016-01-25 10:36:54 -08:00
Thomas Goyne c3a9489b02 Fix a potential deadlock when opening a realm 2016-01-25 10:13:44 -08:00
Thomas Goyne e87a507223 Extract cache management and inter-Realm sharing to RealmCoordinator 2016-01-25 10:13:44 -08:00
Thomas Goyne 5e71c4178e Merge pull request #17 from realm/tg-multiprocess-schema-init
Fix race condition in multiprocess schema init
2016-01-25 10:04:10 -08:00
Thomas Goyne 016112da8c Merge pull request #20 from realm/tg-read-only-realm
Fix opening read-only Realms in read-only directories
2016-01-25 10:01:45 -08:00
Thomas Goyne 4a971b0102 Merge pull request #35 from realm/tg/cmake-fixes
Add headers and core's CPP flags to cmake
2016-01-25 10:01:34 -08:00
Thomas Goyne 4607e75f90 Merge pull request #36 from realm/tg/schema-literal
Make Schema constructable from initializer lists
2016-01-25 10:01:26 -08:00
Scott Kyle a6715d210d Ignore more things when publishing with NPM
Unfortunately some kind of NPM bug is making it ignore a top-level .npmignore file.
2016-01-22 16:43:53 -08:00
Ari Lazier ba2f6e6f74 run nvm 2016-01-22 16:28:01 -08:00
Ari Lazier 907b5702c3 Merge branch 'al-android-example' of https://github.com/realm/realm-js into al-android-example 2016-01-22 16:14:28 -08:00
Nabil Hachicha b661474dcd Merge branch 'al-android-example' of https://github.com/realm/realm-js into al-android-example 2016-01-23 00:10:00 +00:00
Nabil Hachicha 0cadc72d28 adding execution right to aapt 2016-01-23 00:09:14 +00:00
Ari Lazier 9717eb4238 Merge branch 'al-android-example' of https://github.com/realm/realm-js into al-android-example 2016-01-22 15:55:07 -08:00
Nabil Hachicha 8858cbb302 remove update SDK script 2016-01-22 23:54:17 +00:00
Ari Lazier 68d2c696fc Merge branch 'al-android-example' of https://github.com/realm/realm-js into al-android-example 2016-01-22 15:53:30 -08:00
Nabil Hachicha ec5e5a5991 remove previous patched deps 2016-01-22 23:50:40 +00:00
Nabil Hachicha d77a617fc9 Merge branch 'al-android-example' of https://github.com/realm/realm-js into al-android-example 2016-01-22 23:42:47 +00:00
Nabil Hachicha 028325d97f add patched dependency for react native 2016-01-22 23:42:28 +00:00
Ari Lazier 40c02b5cbd Merge branch 'al-android-example' of https://github.com/realm/realm-js into al-android-example 2016-01-22 15:27:21 -08:00
Ari Lazier 01c3d80651 merge master 2016-01-22 15:27:17 -08:00
Nabil Hachicha c136e49bd7 Merge branch 'al-android-example' of https://github.com/realm/realm-js into al-android-example 2016-01-22 23:24:08 +00:00
Nabil Hachicha 6565f14560 updating sdk tool 2016-01-22 23:23:27 +00:00
Ari Lazier 3641260f08 don't fail if there are no child processes 2016-01-22 15:07:17 -08:00
Ari Lazier 7c8b252969 kill child processes 2016-01-22 15:03:00 -08:00
Ari Lazier 9ac642c7f3 kill adb after running tests 2016-01-22 14:48:40 -08:00
Nabil Hachicha d784d624dd add sdk manager to download build tool for Android 2016-01-22 22:41:07 +00:00
Ari Lazier e94017d039 script fix 2016-01-22 13:32:56 -08:00
Ari Lazier d758623f21 don't execute ios stuff on linux 2016-01-22 13:30:16 -08:00
Ari Lazier 077d741a1f test script 2016-01-22 13:26:37 -08:00
Ari Lazier 70eb615668 remove -q option from grep 2016-01-22 13:18:07 -08:00
Ari Lazier 15fdb6d922 clear log 2016-01-22 12:19:47 -08:00
Ari Lazier 2c0a92aa63 ci script 2016-01-22 12:15:38 -08:00
Thomas Goyne 8d10a65088 Make Schema constructable from initializer lists
This enables the following syntax for defining object schemas, which is useful for writing tests:

    Schema schema = {
        {"origin", "", {
            {"array", PropertyTypeArray, "target"}
        }},
        {"target", "", {
            {"prop1", PropertyTypeInt},
            {"prop2", PropertyTypeFloat},
        }},
    };
2016-01-22 11:55:05 -08:00
Nabil Hachicha 707ca1d3c3 Merge branch 'al-android-example' of https://github.com/realm/realm-js into al-android-example 2016-01-22 18:06:18 +00:00
Nabil Hachicha d60ed6c15a exporting tests to junit format to be used by jenkins 2016-01-22 18:05:34 +00:00
Ari Lazier b76766eb63 change package/app name from Demo to ReactNative Test App 2016-01-21 14:36:50 -08:00
Thomas Goyne 0e08e05238 Only set REALM_DEBUG for debug builds 2016-01-21 13:56:41 -08:00
Ari Lazier fe4abff106 delete files in the correct place 2016-01-21 12:37:03 -08:00
Scott Kyle 7f25ed7897 Delegate a couple ListView methods 2016-01-21 11:44:33 -08:00
Scott Kyle 5772717dee Update ReactExample to use our new ListView
It's also been updated to follow best practices with how to properly use the ListView data source.
2016-01-21 11:41:38 -08:00
Scott Kyle eb4ac0000b Efficient React ListView for Realm collections
This component is fully backwards compatible with the original React ListView, but is compatible with Realm Results and List objects to use their snapshot functionality along with more efficiently checking if each row should update.
2016-01-21 11:41:38 -08:00
Scott Kyle 58ef90dc53 Only call size() when actually needed
This would unfortunately result in adverse performance side effects because calling size() can be expensive.
2016-01-21 11:41:38 -08:00
Thomas Goyne 9d1a3da411 Add the required preprocessor flags for using core 2016-01-21 11:06:23 -08:00
Thomas Goyne 62a729fbfd Add headers to CMakeLists 2016-01-21 11:06:14 -08:00
Ari Lazier a0145df5e4 Merge pull request #202 from realm/sk-example-update
Update ReactExample Xcode Project
2016-01-21 07:28:59 -08:00