Thomas Goyne
c65d536573
Remove Realm::m_in_transaction and use the value from the SharedGroup
...
There were a bunch of places where m_in_transaction was not being updated
correctly when exceptions were thrown, and this eliminates that as a possible
problem entirely.
2016-03-07 13:18:20 -08:00
Thomas Goyne
b7283be7d1
Merge pull request #52 from realm/tg/core-0.97.0
...
Update to core 0.97.0
2016-03-07 13:13:59 -08:00
Thomas Goyne
c65f79ae2a
Merge pull request #53 from realm/tg/whitespace
...
Strip all trailing whitespace from files
2016-03-07 13:13:31 -08:00
Thomas Goyne
af0db71187
Strip all trailing whitespace from files
2016-03-07 12:47:02 -08:00
Thomas Goyne
c94770be81
Update to core 0.97.0
2016-03-07 12:46:36 -08:00
Scott Kyle
1a127b425b
Merge pull request #289 from realm/sk-accept-constructor
...
Accept constructor in create() and objects() methods
2016-03-07 12:23:26 -08:00
Scott Kyle
91960152df
Capitalize Realm in API docs
2016-03-07 12:23:04 -08:00
Ari Lazier
a9e9710f82
fix spacing
2016-03-06 08:22:29 -08:00
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