Commit Graph

1481 Commits

Author SHA1 Message Date
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
Nabil Hachicha bf80fca2c0 Running chrome debug mode request on UI thread + using Facebook SoLoader instead of the Relinker + cleaning dependencies 2016-01-21 13:36:54 +00:00
Thomas Goyne 4b001e1842 Extract some logic to a helper function to avoid recursion in update_schema() 2016-01-20 16:26:30 -08:00
Thomas Goyne 8d7b5d8d08 Remove the tracking of if any changes were made from update_realm_with_schema()
It was no longer actually used for anything since we now check if any changes
are actually needed before calling it (to avoid beginning a write transaction
when not needed).
2016-01-20 16:26:30 -08:00
Thomas Goyne 9c2d4703ed Reshuffle the updating of m_config in Realm::update_schema() 2016-01-20 16:26:30 -08:00
Thomas Goyne 6c25eeb85c Fix race condition in multiprocess schema init
If the schema was initialized by a different process between when the old
schema was read and the write transaction was began, the schema init code would
see the updated schema version but not re-read the schema, resulting in it
thinking that a migration was required when the schema actually matched.
2016-01-20 16:26:29 -08:00
kishikawa katsumi 0bae415718 Read-only Realm should be opened even in immutable directory Realm files in an app bundle should be opened if marked as read-only 2016-01-20 16:25:10 -08:00
Mark Rowe 415bfe4d35 Merge pull request #33 from realm/mar/cmake
Add a CMake build system
2016-01-20 15:48:53 -08:00
Nabil HACHICHA bd379dd376 fixing crash on reload JS 2016-01-20 15:46:27 +00:00
Scott Kyle 1bb335c587 Merge pull request #197 from realm/sk-react-native-0.18
Update React Tests to support React Native 0.18
2016-01-19 15:12:51 -08:00
Scott Kyle afade2530c Make ReactExample look decent on Android as well
Mission (mostly) Accomplished!
2016-01-19 15:10:19 -08:00
Ari Lazier ad7ebef1a9 use make_unique with gcc4.9 2016-01-19 13:12:24 -08:00
Ari Lazier b3530a43ff use make_unique with gcc4.9 2016-01-19 13:12:24 -08:00
Mark Rowe 1ff80797ed Add information on using the build system to the README. 2016-01-19 10:55:07 -08:00
Ari Lazier fc5ed389e1 merge latest object store 2016-01-19 10:51:43 -08:00
Ari Lazier c4d5b9f5cc merge latest object store 2016-01-19 10:51:43 -08:00
Mark Rowe fbb386a735 Improve things a little for Linux. 2016-01-19 10:41:25 -08:00
Mark Rowe 548701c2fd Remove a bogus forward-declaration. 2016-01-19 10:41:25 -08:00
Mark Rowe 9d43f8952e Rework `download_realm_core` to avoid re-downloading core on clean builds. 2016-01-19 10:41:25 -08:00
Mark Rowe c4191d8af6 Hook the parser tests into the CMake build system. 2016-01-19 10:41:25 -08:00