Commit Graph

1257 Commits

Author SHA1 Message Date
Scott Kyle 6c3782d05e Make our Android module buildable as a dependency
This enables apps that use `react-native link` to build without the error: "Configuration with name 'default' not found"
2016-02-08 14:22:04 -08:00
Scott Kyle 0702fed747 Add `npm test` command 2016-02-08 14:19:16 -08:00
Ari Lazier 53946d3952 script fix 2016-02-08 11:48:38 -08:00
Ari Lazier e8d472a2e8 script bug fix 2016-02-08 11:30:40 -08:00
Ari Lazier c5a7e4ac30 don't run debug for androi since it isn't hooked up 2016-02-08 11:16:18 -08:00
Scott Kyle 1c1b2ec4ab Add postinstall script to create symlinks
This includes a top-level "android" symlink that should allow `react-native link` command to work.
2016-02-08 03:26:27 -08:00
Scott Kyle 38868fe657 Use start_packager function for Android tests 2016-02-08 03:09:22 -08:00
Nabil Hachicha 788189100d remove unecessary gradle file 2016-02-04 18:51:37 +00:00
Nabil Hachicha 49a74e5646 Refactor & formatting code 2016-02-04 18:30:26 +00:00
Thomas Goyne 74eb195e7f Add wrappers for a bunch more LinkView methods 2016-02-03 18:05:56 -08:00
Thomas Goyne fdc67777bb Make List default constructable 2016-02-03 18:05:56 -08:00
Thomas Goyne 4c5389dbac Return RowExpr from List::get() 2016-02-03 18:05:55 -08:00
Thomas Goyne 8e58fc693c Call verify_attached() from verify_in_transaction() 2016-02-03 18:05:55 -08:00
Thomas Goyne 27acf3f109 Fix spelling of verify_in_transaction 2016-02-03 18:05:55 -08:00
Thomas Goyne 9152198962 Change List::realm() to List::get_realm() for consistency 2016-02-03 18:05:55 -08:00
Thomas Goyne 6276266d67 Make List const-correct 2016-02-03 18:05:55 -08:00
Thomas Goyne 1cbbf1958f Check the thread in all of List's methods 2016-02-03 18:05:55 -08:00
Thomas Goyne 243ae32187 Fix incorrect error message 2016-02-03 18:05:55 -08:00
Thomas Goyne 0819f72b1b Remove call to sync_if_needed() on a LinkView 2016-02-03 18:05:55 -08:00
Thomas Goyne 62d573c1d9 Remove std:: from size_t in list.* 2016-02-03 18:05:55 -08:00
Thomas Goyne 356c17ba11 Remove list.hpp's dependency on shared_realm.hpp 2016-02-03 18:05:54 -08:00
Thomas Goyne 07c40b4517 Reformat list.{hpp,cpp} to match core style 2016-02-03 18:05:44 -08:00
Nabil Hachicha 97345e62a9 unlocking device after the app is installed 2016-02-03 19:00:21 +00:00
Nabil Hachicha e5ff3683ee starting packager in bg process 2016-02-03 16:43:35 +00:00
Nabil Hachicha 7f0eea2636 reverting start packer 2016-02-03 16:26:35 +00:00
Nabil Hachicha 69edbcbfb6 start packager only once 2016-02-03 16:06:26 +00:00
Scott Kyle 9b37284b4e Small fix to Application.mk
We were overriding the APP_LDFLAGS rather than appending to it.
2016-02-02 14:53:28 -08:00
Scott Kyle bdc20d5263 Fix CI test script for Android
This also makes it run successfully on a Mac.
2016-02-02 14:52:24 -08:00
Ari Lazier 2539d1feb4 REALM_HAVE_CONFIG 2016-02-02 08:56:32 -08:00
Ari Lazier af50a6c255 update to proper core version 2016-02-01 10:46:46 -08:00
Nabil Hachicha e5ee6d8e9c fixes #209 download core in gradle task 2016-01-30 18:26:27 +00:00
Scott Kyle 31db79e29b Remove realm dependency in realm-tests
This caused an error with NPM v3 and was not necessary for us to have.
2016-01-29 00:48:22 -08:00
Scott Kyle 55e67d9bce Update ReactTests Xcode project 2016-01-29 00:48:22 -08:00
Nabil Hachicha 7a78791215 Fixing submodule deps 2016-01-28 16:18:09 +00:00
Nabil Hachicha b92a281b5e add missing refactored files 2016-01-28 15:11:33 +00:00
Nabil Hachicha 1e4c905cdc Change package name fixes #204 2016-01-28 15:09:36 +00:00
Nabil Hachicha dd9242e584 cleaning NDK flags 2016-01-28 14:11:27 +00:00
Scott Kyle bcc53c089f Cleanup test script
This should make it cleanup artifacts more reliably, and gives the script a consistent style.
2016-01-28 00:25:52 -08:00
Scott Kyle 4917a8e939 Use dummy libjsc.so while allowing undefined symbols
We no longer need to have the rebuilt JSC binaries because instead we build a dummy libjsc.so and link against it while allow undefined symbols. At runtime, it will link in the real libjsc.so and resolve the symbols.
2016-01-27 21:23:56 -08:00
Scott Kyle 687307ccfa Respect shebang inside shell scripts 2016-01-27 12:34:24 -08:00
Scott Kyle 6c3835f6b7 Remove redundant gitignore files 2016-01-27 12:02:20 -08:00
Scott Kyle 42aa043da0 Git ignore JavaScriptCore headers 2016-01-27 12:02:10 -08:00
Scott Kyle 28f745648d Change PEGTL submodule back to latest
This was accidentally reverted in the previous commit.
2016-01-27 12:01:50 -08:00
Nabil Hachicha 1cf62f6c10 downloading JSC header from svn 2016-01-27 14:11:56 +00:00
Scott Kyle f957db3a3a Update run-android.sh scripts 2016-01-26 15:16:49 -08:00
Ari Lazier c92062fb37 use latest from PEGTL 2016-01-26 14:15:48 -08:00
Nabil Hachicha 6320f478c2 fixing script echo 2016-01-26 21:10:23 +00:00
Nabil Hachicha 9b0d389ea1 fixing adb path 2016-01-26 21:05:37 +00:00
Nabil Hachicha 2eb8238101 fixing adb path 2016-01-26 21:01:00 +00:00
Nabil Hachicha 56aa718cee fixing nvm 2016-01-26 20:48:47 +00:00