1555 Commits

Author SHA1 Message Date
Scott Kyle
9370eba229 Merge pull request #436 from realm/sk-react-native-25
Updates for React Native 0.25
2016-05-16 14:22:59 -07:00
Scott Kyle
02b770b79a Fix ESLint errors 2016-05-16 14:15:56 -07:00
Ari Lazier
0f74101074 Merge pull request #423 from realm/al-timestamp
Use new timestamp format
2016-05-16 13:52:31 -07:00
Scott Kyle
55bbcc9e56 Fix ReactTestApp imports for React Native 0.25 2016-05-16 13:24:44 -07:00
Scott Kyle
51b7a43c40 Fix ListView imports for React Native 0.25
Fixes #433
2016-05-16 13:23:19 -07:00
Scott Kyle
e304cd0032 Fix some warnings in benchmark app from RN upgrade 2016-05-16 13:21:55 -07:00
Scott Kyle
d29a6498dc Fix some warnings in ReactExample from RN upgrade 2016-05-16 13:21:28 -07:00
Scott Kyle
8db0161ed8 Update projects to React Native 0.25 2016-05-16 13:20:50 -07:00
Scott Kyle
eb72459cce Make sure the right node-gyp is called 2016-05-16 12:57:46 -07:00
Ari Lazier
bd04185772 use const ref for argument 2016-05-16 12:50:29 -07:00
Ari Lazier
4d40896e5e make method static 2016-05-16 12:45:29 -07:00
Ari Lazier
2f69728827 pr fixes 2016-05-16 11:29:58 -07:00
Scott Kyle
7a26d192ba Merge pull request #427 from realm/sk-object-inheritance
Fix ES6 class inheritance of Realm.Object with Babel
2016-05-16 11:17:45 -07:00
Scott Kyle
5bc72ab2cf Make Date testing work for Node 2016-05-13 16:30:57 -07:00
Scott Kyle
0b1a686f60 Add platform.cpp file for Node 2016-05-13 16:26:31 -07:00
Scott Kyle
c803efd01b Use ".realm" extension in tests for proper cleanup 2016-05-13 15:47:57 -07:00
Ari Lazier
e32df4e815 fix copy bundled files for ios 2016-05-13 15:44:25 -07:00
Ari Lazier
125dd0d1c7 merge it 2016-05-13 15:41:10 -07:00
Ari Lazier
2d2764a4d6 add missing files 2016-05-13 15:31:59 -07:00
Ari Lazier
d1dcd4ff3f add additional tests 2016-05-13 15:29:59 -07:00
Scott Kyle
0250234a30 Cleanup Android platform.cpp 2016-05-13 15:25:18 -07:00
Scott Kyle
1b21f21c35 Symlink ReactTestApp assets for Android 2016-05-13 15:24:48 -07:00
Ari Lazier
e7b341dfdb merge latest from master 2016-05-13 15:05:19 -07:00
Ari Lazier
78f74211b1 fix for android - create notifier after opening realm 2016-05-13 14:55:36 -07:00
Ari Lazier
0ce3cdf81d hopeful fix for android test 2016-05-13 14:15:34 -07:00
Ari Lazier
9c1b923797 fixes for test app 2016-05-13 13:05:39 -07:00
Scott Kyle
323583ed67 Merge pull request #417 from realm/sk-node-6
Fix issues in Node 6
2016-05-12 12:39:31 -07:00
Ari Lazier
299c82b7d2 pr feedback 2016-05-12 11:42:22 -07:00
Ari Lazier
194f238c1c add missing realm file 2016-05-12 10:24:11 -07:00
Nabil Hachicha
895c6a3056 Copying embedded Realm files using AssetManager from JNI 2016-05-11 19:56:59 +01:00
Nabil Hachicha
15953e13b9 Merge branch 'al-timestamp' of https://github.com/realm/realm-js into al-timestamp 2016-05-11 03:31:15 +01:00
Nabil Hachicha
57701db8f4 copy Realm file from assets into default storage folder 2016-05-11 03:30:37 +01:00
Ari Lazier
cf4fd74f52 pr fixes for build script 2016-05-10 14:01:27 -07:00
Scott Kyle
5a24dc602b Merge pull request #426 from realm/sk-delegate-leak
Plug RealmDelegate leak and support changing constructors/defaults
2016-05-10 12:45:02 -07:00
Scott Kyle
351543ca09 Rename callback based on PR feedback 2016-05-10 11:37:09 -07:00
Scott Kyle
4300e865c7 Abstracted check for Node v6 2016-05-10 11:34:33 -07:00
Scott Kyle
26d2c169a9 Support ES6 class inheritance from Realm.Object
Unfortunately, this was broken because our native Realm.Object constructor was not presenting itself as a function in JS. This fixes that and adds tests.
2016-05-09 16:49:05 -07:00
Scott Kyle
651449108e Improve usage of js::PropertyAttributes 2016-05-09 16:08:04 -07:00
Ari Lazier
919d8f7da5 bump version 2016-05-09 15:35:36 -07:00
Ari Lazier
a960d88893 add project for building/debugging node 2016-05-09 15:16:37 -07:00
Ari Lazier
da5a1fb2d8 remove files from test project - they are only needed in the test bundle 2016-05-09 13:44:35 -07:00
Ari Lazier
21b58b6a1e test that conversion actually works 2016-05-09 13:32:10 -07:00
Ari Lazier
9c7b01091f convert old date columns 2016-05-09 13:12:48 -07:00
Ari Lazier
f66dcf943f Header fix 2016-05-09 12:36:25 -07:00
Scott Kyle
d4b7a6bed3 Update RPC layer for changing constructors
This is very important for hot module reloading.
2016-05-06 15:42:17 -07:00
Scott Kyle
fef4be96bd Update tests for changing defaults and constructors 2016-05-06 15:41:17 -07:00
Scott Kyle
40855f789c Prevent accidental leak of RealmDelegate
If a binding context already exists, we make sure it's a js::RealmDelegate for the same JS context. If not, then we throw an exception because this could lead to serious trouble.

Also, we update the defaults and constructors only if new ones were provided.
2016-05-06 15:40:35 -07:00
Ari Lazier
87c9dda321 add hook for detecting file format upgrade 2016-05-05 19:39:50 -07:00
Ari Lazier
28a7efcd1b add test for current date 2016-05-05 17:36:48 -07:00
Ari Lazier
76c2d3cd54 fix leaking realm 2016-05-05 17:10:56 -07:00