Commit Graph

1338 Commits

Author SHA1 Message Date
Ari Lazier 4e773d97fe don't download/unpack core unnecessarily 2016-03-06 08:20:04 -08:00
Scott Kyle 52f296c3ac Update API docs with info about constructors 2016-03-04 14:13:28 -08:00
Scott Kyle 7e123f8ae2 Use new StyleSheet.hairlineWidth in ReactExample 2016-03-04 13:31:14 -08:00
Scott Kyle cb4002e25c Update ReactTests to React Native 0.21 2016-03-04 13:31:14 -08:00
Scott Kyle 21b74e8e38 Update ReactNativeBenchmarks to React Native 0.21 2016-03-04 13:31:14 -08:00
Scott Kyle 50ec358e5f Update ReactExample to React Native 0.21 2016-03-04 13:31:14 -08:00
Ari Lazier 079b09ddeb Merge pull request #307 from realm/al-test-sort
Test sorting all property types
2016-03-04 13:22:30 -08:00
Ari Lazier c7d2044166 Merge pull request #304 from realm/al-relative
Support relative paths when opening realms
2016-03-04 13:22:21 -08:00
Ari Lazier d163d68b83 Merge pull request #34 from realm/al-android
Support compilation for android with gcc/remove apple specific code
2016-03-04 10:33:20 -08:00
Ari Lazier c42834d052 test strings too 2016-03-04 07:58:25 -08:00
Ari Lazier 621ee36fad test sorting all properties 2016-03-04 07:55:05 -08:00
Ari Lazier 21a4e2543e forward declare property 2016-03-04 07:28:10 -08:00
Ari Lazier 6b523bab09 forward declare property 2016-03-04 07:28:10 -08:00
Ari Lazier 42cb078a8c use core to_string 2016-03-04 07:09:49 -08:00
Ari Lazier f7927f189c use core to_string 2016-03-04 07:09:49 -08:00
Ari Lazier 987978fd4e pr fixes 2016-03-03 16:49:06 -08:00
Ari Lazier eb7f213c93 pr fixes 2016-03-03 16:49:06 -08:00
Ari Lazier 87ee697f53 react native test app fixes 2016-03-03 15:34:56 -08:00
Ari Lazier c3dc98c59f project fix 2016-03-03 15:15:39 -08:00
Ari Lazier 386740a459 copy correct test file 2016-03-03 15:09:23 -08:00
Ari Lazier fd9501458d add object store target to test script 2016-03-03 14:58:05 -08:00
Ari Lazier d07f82b3ec fixes for android 2016-03-03 14:56:18 -08:00
Ari Lazier 641eb37b2c fixes for android 2016-03-03 14:56:18 -08:00
Ari Lazier 765fe03317 fix for android core version 2016-03-03 14:50:39 -08:00
Scott Kyle 89fd01705d submodule fixes 2016-03-03 14:48:41 -08:00
Scott Kyle 17eb6bcbb5 submodule fixes 2016-03-03 14:48:41 -08:00
Ari Lazier 4923d7d953 object store fixes for js binding 2016-03-03 14:45:44 -08:00
Ari Lazier 548d700ffe object store fixes for js binding 2016-03-03 14:45:44 -08:00
Ari Lazier 7802a9e976 merge latest object store 2016-03-03 14:15:54 -08:00
Ari Lazier 05429a8163 merge latest object store 2016-03-03 14:15:54 -08:00
Ari Lazier 5f61fd970c support relative paths when opening realms 2016-03-03 13:33:49 -08:00
Scott Kyle c062d88cce Merge pull request #301 from realm/sk-iterator-methods
Fix broken iterator methods on Android
2016-03-03 13:20:29 -08:00
Scott Kyle 42cdf9daad Disallow non-constructors to have schema property
Non-constructor functions (e.g. arrow functions and native functions) as well as regular objects should not be allowed as valid schema hosts. Neither of these cases were ever actually tested or used anywhere.
2016-03-03 02:52:15 -08:00
Scott Kyle 85832f0f02 Rename some functions according to PR feedback 2016-03-03 02:49:37 -08:00
Scott Kyle 37b2c35169 Add Symbol.iterator method to List and Results
Resolves #235
2016-03-02 23:00:53 -08:00
Scott Kyle 1cba02c34d Fix broken iterator methods on Android
Turns out the JSC included with React Native on Android includes a buggy implementation of ArrayIterator that is missing an exposed next() method, so we implement it ourselves instead.
2016-03-02 22:57:36 -08:00
Mark Rowe c7f4133414 Merge pull request #50 from realm/mar/cmake-linux-and-local-core
Support building on Linux and with local builds of core
2016-03-02 16:39:07 -08:00
Thomas Goyne d73c7dba88 Merge pull request #42 from realm/tg/async-query
Add support for async queries
2016-03-02 15:13:18 -08:00
kishikawa katsumi 9045d79453 Bool and NSDate properties can be indexed.
Core supports indexing Bool and NSDate properties.
realm-java also supports indexing Bool and NSDate properties.
It is better to align the specification with realm-java.
2016-03-02 13:20:29 -08:00
Mark Rowe 3602cf7588 Factor duplicated logic out into a macro. 2016-03-02 01:16:11 -08:00
Mark Rowe ccdc3b0754 Add info to the README about using a local build of core. 2016-03-02 01:02:11 -08:00
Mark Rowe 8c56d13382 Support building on Linux.
By default, Linux uses a locally-built version of core that is prepared
in an independent working copy of the realm-core git repository.

Support is also added for using an existing local build of core on both
OS X and Linux . This can be done by running
`cmake -DREALM_CORE_VERSION=/path/to/realm-core`. The generated build
system will invoke `sh build.sh build` within the given directory prior
to building the object store.
2016-03-02 01:02:11 -08:00
Ari Lazier 062db0e95d Merge pull request #43 from realm/al/contains-test
Test contains can be used as a property name in the parser
2016-03-01 13:45:43 -08:00
Scott Kyle 00b19d95b8 Use device IP addresses to connect to RPC host
It still only tries localhost for the simulator, but for devices, we now get a list of possible IP addresses to attempt to connect to before throw a more helpful exception.

Resolves #284 and fixes #276
2016-03-01 00:56:45 -08:00
Scott Kyle 4a81b091cb Accept constructor in create() and objects() methods
This will help the linter prevent spelling mistakes and make some code more easily readable.

Resolves #233
2016-03-01 00:46:03 -08:00
Scott Kyle 578e6b9742 Merge pull request #288 from realm/sk-array-methods
Steal Array.prototype methods for List and Results
2016-03-01 00:38:27 -08:00
Scott Kyle 72bf66e57e Check for some iterator methods before testing them
Some JS engines (like Chrome) are skipping over values() due to a web compatibility reason for right now.
2016-03-01 00:14:18 -08:00
Scott Kyle bceef3c340 Move encryption-tests to right directory
This wasn't caught in a rebase, oops!
2016-02-29 12:39:00 -08:00
Scott Kyle 3858ede7c7 Rename RJSObjectSetProperty to RJSValidatedSetProperty 2016-02-29 12:37:28 -08:00
Scott Kyle 5a9ad4f2b9 Rename InvalidConstructor to UncallableConstructor 2016-02-29 12:35:12 -08:00