Ari Lazier
324c3d702b
support getting the schema version from unopened realms
2016-03-21 13:34:11 -07:00
Ari Lazier
c32dff40a2
case insensitive searches
2016-03-21 13:32:03 -07:00
Ari Lazier
8b986f031c
case insensitive searches
2016-03-21 13:32:03 -07:00
Scott Kyle
b5ce02c0ce
Make List and Results inherit from Collection
...
This will allow for easier type checking, documentation, etc.
2016-03-20 11:51:16 -07:00
Ari Lazier
7ef25e9e14
its a struct
2016-03-18 20:04:30 -07:00
Ari Lazier
693df136d5
its a struct
2016-03-18 20:04:30 -07:00
Ari Lazier
f186c3d1b7
android fixes for latests object store
2016-03-18 19:58:45 -07:00
Ari Lazier
67f2f40297
android fixes for latests object store
2016-03-18 19:58:45 -07:00
Ari Lazier
b2e4d93732
support for indexed properties
2016-03-18 16:50:55 -07:00
Ari Lazier
7fe2f69b8c
latest object store
2016-03-18 16:14:11 -07:00
Ari Lazier
b02f64e727
latest object store
2016-03-18 16:14:11 -07:00
Thomas Goyne
aaccb8992f
Merge pull request #51 from realm/tg/indexable
...
Bool and NSDate properties can be indexed.
2016-03-18 15:33:56 -07:00
Scott Kyle
301214dd39
Fix List splice method to be spec compatible
...
If the second argument is omitted, then all objects after the provided index should be removed. This is the same behavior as Array.prototype.splice.
2016-03-17 14:48:39 -07:00
Scott Kyle
5d872d6233
Remove accidentally included files in npm package
...
The 0.11.0-rc was bloated by lots of unnecessary build products and other miscellaneous files.
2016-03-16 16:48:04 -07:00
Scott Kyle
7feadb27b2
Fix ARM hook into JSGlobalContextCreateInGroup
...
We were loading into the program counter, which is not good in THUMB mode, so we now instead load into R3, since it's a temp register not used by this function (it only takes two arguments). Also, when building this module in THUMB mode itself, we needed to clear the ARM instruction cache, which wasn't needed when switching from THUMB to ARM mode.
2016-03-15 13:57:09 -07:00
Nabil Hachicha
53c28dca16
fixes gcc optimisation causing RealmCoordinator to use a empty/default path
...
fix indentation
2016-03-14 16:42:52 -07:00
Nabil Hachicha
48d8b6a2e7
fixes #329
2016-03-14 16:09:22 -07:00
Nabil Hachicha
92f3314a0b
fixes #329
2016-03-14 16:09:22 -07:00
Ari Lazier
991c25865a
fix for reload in example
2016-03-13 10:09:53 -07:00
Ari Lazier
e459194bfd
fix for reload in example
2016-03-13 10:09:53 -07:00
Ari Lazier
aa08d25ed0
Merge pull request #305 from realm/al-object-store
...
Latest object store changes and core
2016-03-10 16:03:12 -08:00
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
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
Ari Lazier
6b523bab09
forward declare property
2016-03-04 07:28:10 -08:00
Ari Lazier
21a4e2543e
forward declare property
2016-03-04 07:28:10 -08:00
Ari Lazier
f7927f189c
use core to_string
2016-03-04 07:09:49 -08:00
Ari Lazier
42cb078a8c
use core to_string
2016-03-04 07:09:49 -08:00
Ari Lazier
eb7f213c93
pr fixes
2016-03-03 16:49:06 -08:00
Ari Lazier
987978fd4e
pr fixes
2016-03-03 16:49:06 -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
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
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
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
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
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
Scott Kyle
44a29d8dd4
Expose List and Results constructors into JS
2016-02-29 03:24:58 -08:00
Scott Kyle
154422a3d1
Make realm instances pass instanceof check
2016-02-29 03:24:58 -08:00
Ari Lazier
e495cc4685
add encryption support
2016-02-26 11:08:59 -08:00
Thomas Goyne
b7b2822082
Make it possible to disable the commit notifier background worker
...
This makes it much easier to write tests which test the work done on the
background thread.
2016-02-25 11:19:00 -08:00