Commit Graph

2533 Commits

Author SHA1 Message Date
Emanuele Zattin c7a7d1228b Make shellcheck happy about test.sh 2017-01-02 13:35:45 +01:00
Kristian Dupont 4dc0403c58 Make eslint happy 2016-12-29 10:53:51 +01:00
Kristian Dupont f0fd0d4308 [0.15.2] Bump version 2016-12-29 10:35:07 +01:00
Mark Rowe d8e13bc7bb Switch to using object store's master branch (#748)
* Switch to using object store's master branch.

* Switch to caching Realm instances per JavaScript execution context.
2016-12-28 17:28:44 +01:00
Nabil Hachicha 914866beff Nh/fix 753 (#755)
* Fix Android compilation (Using  EPOLL commit helper)

* Fixe Symbol.iterator on Android

* Fixing testSchema test for Release
2016-12-28 17:16:37 +01:00
Karl Kuehn 40b3b0d6e7 improve resetting the iOS simulator (#710)
Reworks how the simulator is handled to ensure that we are using a single targeted simulator platform (e.g.: iOS 9 on iPhone 5s), and that the Simulator is in good shape to handle that.
2016-12-22 10:02:15 -08:00
Kristian Dupont e74a657725 Improve realm constructor logic (#742)
* Add user file

* Clean up initialization and add error message

* Revert "Add user file"

This reverts commit 2948f4cfc2dfd2d5d75594307b1e89806b817eb7.

* Make index.js more robust

* Fix review comments
2016-12-22 13:20:19 +01:00
Kristian Dupont 5684fd5aa8 Disable dead code elimination (#757)
* Disable dead code elimination

* Remove changes from realmjs project
2016-12-21 16:27:04 +01:00
Mark Rowe 537bc19858 Fix running `./scripts/test.sh react-tests`. (#747)
The RealmReactTests target was failing to build because it was not
linking against libReact.a
2016-12-21 16:00:38 +01:00
Ari Lazier c95129cff9 fix download core script to properly check the sync dependency (#735) 2016-12-21 15:30:24 +01:00
Nabil Hachicha b9706b1e80 Nh/fixes 740 (#743)
* Fix Android testing CI job, we don't use the packager since we build the Release bundle
* Test run on Docker-cph-01 or Docker-cph-02
2016-12-20 19:01:45 +00:00
Nabil Hachicha 43dabf5cbd Nh/symbol iterator android (#732)
* Fix Symbol.iterator on Android
2016-12-20 18:56:51 +00:00
Kristian Dupont 63cd9013cc Add install script to conditionally launch node-pre-gyp (#689)
* Add user file

* Add install script to conditionally launch node-pre-gyp

* Let install script deal with plain npm install

* Make eslint happy

* Use require.resolve instead of brittle relative path

* Update install script to forward pre-gyp error

* Fix error in install.js

* Revert "Add user file"

This reverts commit 2948f4cfc2dfd2d5d75594307b1e89806b817eb7.
2016-12-20 17:10:37 +01:00
Ari Lazier 02d51d6efe doc additions (#724)
* doc additions

* Update sync.js

* Update sync.js

Mirror previous update to call parameter in callback `change_event` to match classname
2016-12-20 17:00:39 +01:00
Kristian Dupont c1e7ddcda1 Throw when deleting detached object (#694)
* Throw when deleting detached object

* Update error message

* Add user file

* Throw when deleting detached object

* Update error message

* Revert "Add user file"

This reverts commit 2948f4cfc2dfd2d5d75594307b1e89806b817eb7.
2016-12-20 16:28:02 +01:00
Karl Kuehn 112cda2e4f use stash/unstash rather than multiple checkouts (#712)
Checks out the repo on one machine, then uses stash/unstash to get that checkout onto all the other machines. Additionally adds a timeout to the android build to prevent those from hanging machines indefinitely and does some general cleanup on the Jenkinsfile.
2016-12-16 13:23:11 -08:00
Radu Tutueanu 6606f15327 Merge pull request #728 from realm/al/custom-dir
Allow use of a custom sync dir
2016-12-12 15:39:19 +01:00
Kristian Dupont 80fc4f4b13 Update Readme (#695)
* Update readme

* Remove node build instructions
2016-12-12 14:37:06 +01:00
Nabil Hachicha 1acbbd9708 Fix Android compilation (Using EPOLL commit helper) (#707)
* Fix Android compilation (Using  EPOLL commit helper)
* Using Nexus 5 for Android tests
2016-12-11 11:37:37 +00:00
Ari Lazier 43cb7bc463 only use custom dir for the notifier 2016-12-09 17:16:07 +01:00
Ari Lazier 64730e7e97 allow use of a custom sync dir 2016-12-09 12:49:59 +01:00
Radu Tutueanu d7c44fa7e9 Use mockery in tests to setup the realm module path(#727)
* Use mockery to set up the realm module path

* Use the right path

* Add mockery to devDependencies

* Remove unnecessary symbolic link
2016-12-09 09:05:15 +01:00
Radu Tutueanu 8eb639678e Accept a custom path for the realm module (#725)
* Accept a custom path for the realm module

* Use the correct argument for the realm module path
2016-12-08 13:01:41 +01:00
Ari Lazier 87260a42c9 Merge pull request #718 from realm/kd/test-closed-realm-protection
Add tests for closed-realm access protection
2016-12-07 16:44:35 +01:00
Ari Lazier bfa9402a06 submodule udpate 2016-12-07 16:39:39 +01:00
Kristian Dupont 5c0bd7a97b Update android external commit helper 2016-12-07 16:33:11 +01:00
Kristian Dupont 62f5157565 Update object store 2016-12-07 16:33:11 +01:00
Kristian Dupont 43d94d1b8b Add checks for removeListener 2016-12-07 16:31:52 +01:00
Kristian Dupont 1d4bb7c2ad Add more tests and fix add_notification 2016-12-07 16:31:52 +01:00
Kristian Dupont bf85c285a0 Add tests for closed-realm access protection 2016-12-07 16:31:52 +01:00
Radu Tutueanu 50d8a55d3f Use the KILL signal when killing the server 2016-12-07 13:28:05 +01:00
Radu Tutueanu 19d82caec4 Update ObjectStore (#723) 2016-12-07 11:21:32 +01:00
Ari Lazier 9ddc2065bb Merge pull request #717 from realm/al/notifier
Use latest core, sync, and object store
2016-12-07 07:40:30 +01:00
Ari Lazier 3fb20537b5 update notifier docs 2016-12-06 17:42:15 +01:00
Ari Lazier b9a2c92a8b test fixes 2016-12-06 14:43:07 +01:00
Radu Tutueanu 2c99e73e6b Update sync and ros package names 2016-12-06 12:43:25 +01:00
Ari Lazier ce676d313b use the proper version of core 2016-12-06 11:50:48 +01:00
Ari Lazier 216d97ed5d update object store 2016-12-06 10:24:30 +01:00
Ari Lazier 4b0f945072 update proper core and sync versions 2016-12-05 16:54:31 +01:00
Ari Lazier 4f3bf08704 use proper object store merge 2016-12-05 16:25:52 +01:00
Ari Lazier 335d035752 update object-store 2016-12-05 16:25:52 +01:00
Ari Lazier 696a80ec0a merge master 2016-12-05 16:25:07 +01:00
Marius Rackwitz 8964e4d7f9 Only set the path derived from the SyncManager if none was provided (#679)
* Only set the path derived from the SyncManager if none was provided

* Disable synchronizeChangeswithTwoClientsAndOneUser
2016-11-29 10:51:26 +01:00
Ari Lazier dae2311f27 Merge pull request #701 from realm/al/js-latest
fixes for latest object store update
2016-11-28 12:49:43 -08:00
Ari Lazier 6ed6b77b52 Remove unneccesary braces 2016-11-28 10:40:50 -08:00
Ari Lazier 0f8536f23c fix for node/osx 2016-11-28 09:02:15 -08:00
Ari Lazier 0b69a38f8b fix for node/linux 2016-11-28 08:41:45 -08:00
Ari Lazier e48e0b19f7 fixes for latest object store update 2016-11-28 07:42:41 -08:00
Adam Lebsack 9900d24181 Merge pull request #664 from realm/ajl/add-tests
Added tests directory to package.json
2016-11-28 13:44:44 +01:00
Adam Lebsack a4e0ddb76a Merge pull request #666 from realm/ajl/jenkinsfile
Jenkinsfile to replace js_pr
2016-11-28 12:54:46 +01:00