916 Commits

Author SHA1 Message Date
Ari Lazier
29213f1d87 wrap list properties 2016-03-30 14:18:44 -07:00
Ari Lazier
c249eea505 wrap realm properties 2016-03-30 13:48:24 -07:00
Ari Lazier
2baec5bec6 move static methods and constructor 2016-03-30 13:09:05 -07:00
Ari Lazier
0282e98232 move exception handling to method wrapper 2016-03-30 11:55:13 -07:00
Ari Lazier
58d50bb3c5 refactor realm 2016-03-30 10:23:15 -07:00
Ari Lazier
016d723731 tmp 2016-03-30 09:16:38 -07:00
Ari Lazier
5b2a59d5c6 converted BindingContext 2016-03-29 16:17:57 -07:00
Scott Kyle
2c0d8f8cef [0.11.1] Bump version 2016-03-29 15:30:39 -07:00
Ari Lazier
e7d954a727 wrap all types in a single type and use static class methods 2016-03-29 14:12:27 -07:00
Ari Lazier
b4990fbbff convert more of Realm 2016-03-29 13:36:01 -07:00
Scott Kyle
0f9f450062 Remove changes_available implementation that asserts
This gets called when a Realm changes on another thread, but is called on the correct thread on iOS. It doesn't look like it will be called on Android, so we can unofficially support iOS accessing Realms from multiple bindings for now.

Fixes #352
2016-03-29 12:59:06 -07:00
Ari Lazier
9626842f8e start refactoring realm 2016-03-28 13:21:36 -07:00
Ari Lazier
20bac8e2c7 refactor list 2016-03-25 12:13:49 -07:00
Scott Kyle
daa2948028 Move RealmJS.xcodeproj to be under src/ios 2016-03-23 13:39:12 -07:00
Scott Kyle
0e74362e4c Merge pull request #340 from realm/sk-collection
Make List and Results inherit from Collection
2016-03-21 15:27:18 -07:00
Ari Lazier
4b2e47a861 support encrypted realm when getting schemaVersion 2016-03-21 13:34:12 -07:00
Ari Lazier
836cfc1c6b add chrome debugging, use -1 for not versioned 2016-03-21 13:34:12 -07:00
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