42 Commits

Author SHA1 Message Date
Ari Lazier
5a9e24cb06 tab to space 2016-04-29 13:11:19 -07:00
Ari Lazier
2b35360117 add readOnly property 2016-04-28 15:50:43 -07:00
Ari Lazier
b9b3812c86 support for read-only realms 2016-04-28 15:42:28 -07:00
Ari Lazier
af9b54074e pr feedback 2016-04-28 13:03:38 -07:00
Ari Lazier
8602787fc9 add schema getters 2016-04-27 08:31:05 -07:00
Ari Lazier
fea0b69865 add support for non-memmber functions 2016-04-27 08:30:59 -07:00
Ari Lazier
17e5946af4 support for data migrations 2016-04-27 08:30:59 -07:00
Ari Lazier
27d973151f pr fixes 2016-04-26 16:59:03 -07:00
Ari Lazier
b59784670b create RealmObject class and make isValid a member 2016-04-26 16:30:04 -07:00
Ari Lazier
3509caedd5 bugfix for empty results, fix for realm.isValid 2016-04-19 17:29:34 -07:00
Ari Lazier
6072061463 api to check if object has been deleted 2016-04-19 17:29:34 -07:00
Scott Kyle
8e5afeccc9 Fix another crash involving protected values 2016-04-19 03:58:23 -07:00
Scott Kyle
541791fd85 Fix crash by properly protecting JSC values
The previous implementation was lazy and ended up unprotecting values due to the move constructor being defaulted.
2016-04-19 03:18:02 -07:00
Scott Kyle
8ff23b5411 Fix build issues on Android
GCC was more strict with how we handled some types.
2016-04-18 18:30:55 -07:00
Scott Kyle
fc49470b3c Fix for failing nested transaction test 2016-04-18 15:11:56 -07:00
Scott Kyle
1ca5a43982 Revert TValue to ValueType, etc. 2016-04-18 12:18:13 -07:00
Scott Kyle
49e2b54151 Convert some more camelCase in js_realm.hpp 2016-04-18 12:17:45 -07:00
Scott Kyle
d57483c675 Rename js_object.hpp -> js_realm_object.hpp 2016-04-18 01:14:48 -07:00
Scott Kyle
10f08747e7 Rename remained camelCase to snake_case
And fix some minor build warnings along the way.
2016-04-18 01:01:04 -07:00
Scott Kyle
7c97a1752e Remove need for BaseClassDefinition 2016-04-16 16:46:16 -07:00
Scott Kyle
133289ad85 All tests now pass on Node 2016-04-15 16:06:44 -07:00
Ari Lazier
bd4088ce91 key templates off explicitly defined classes rather than the internal type 2016-04-15 13:47:01 -07:00
Ari Lazier
e8ca5ff92e ObjectClass -> ClassDefinition 2016-04-15 10:50:15 -07:00
Ari Lazier
c817ac7eac create -> create_instance 2016-04-14 11:19:01 -07:00
Ari Lazier
0b2a75bdc3 use different naming convention for extracted template types 2016-04-14 10:54:43 -07:00
Scott Kyle
c0c65ad620 Make all JSC tests pass again 2016-04-13 03:21:18 -07:00
Scott Kyle
05c432deb1 WIP Node support
The JS engine details are mostly abstracted away. This breaks JSC support until the rest of the pieces are in place. The Node version builds and runs, but crashes when creating a Realm object.
2016-04-12 11:53:30 -07:00
Ari Lazier
f80bcd882d convert schema parsing 2016-03-30 16:14:48 -07:00
Ari Lazier
61685dee83 use string wrapper, finish realm constructor conversion 2016-03-30 14:56:33 -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
Tim Anglade
7cc2f69736 Merge pull request #264 from realm/km-js-fixlicense
License update
2016-02-21 18:56:59 -08:00
Karson Miller
5e9333b699 no message 2016-02-18 15:30:44 -08:00
Scott Kyle
b34e52b290 The schema property should be directly on constructor
The constructor is now also called with `this` set as the constructed object.

Fixes #232
2016-02-18 11:10:02 -08:00
Ari Lazier
e90d2c514b rebase from master 2016-01-05 19:33:56 -08:00
Nabil Hachicha
c3d5fd4e09 add Core include + fix c++14 issue 2016-01-05 11:04:06 -08:00
Ari Lazier
fb1d6b6a93 more import fixes 2016-01-05 11:04:06 -08:00
Ari Lazier
5f584f747f use underscore rather than dash 2015-11-30 11:23:29 -08:00