Ari Lazier
e76cb3b905
combine class definitions and implementations for list and results
2016-05-16 15:43:46 -07:00
Ari Lazier
0f74101074
Merge pull request #423 from realm/al-timestamp
...
Use new timestamp format
2016-05-16 13:52:31 -07:00
Ari Lazier
bd04185772
use const ref for argument
2016-05-16 12:50:29 -07:00
Ari Lazier
4d40896e5e
make method static
2016-05-16 12:45:29 -07:00
Ari Lazier
2f69728827
pr fixes
2016-05-16 11:29:58 -07:00
Scott Kyle
7a26d192ba
Merge pull request #427 from realm/sk-object-inheritance
...
Fix ES6 class inheritance of Realm.Object with Babel
2016-05-16 11:17:45 -07:00
Scott Kyle
0b1a686f60
Add platform.cpp file for Node
2016-05-13 16:26:31 -07:00
Ari Lazier
e7b341dfdb
merge latest from master
2016-05-13 15:05:19 -07:00
Scott Kyle
651449108e
Improve usage of js::PropertyAttributes
2016-05-09 16:08:04 -07:00
Ari Lazier
9c7b01091f
convert old date columns
2016-05-09 13:12:48 -07:00
Scott Kyle
40855f789c
Prevent accidental leak of RealmDelegate
...
If a binding context already exists, we make sure it's a js::RealmDelegate for the same JS context. If not, then we throw an exception because this could lead to serious trouble.
Also, we update the defaults and constructors only if new ones were provided.
2016-05-06 15:40:35 -07:00
Ari Lazier
87c9dda321
add hook for detecting file format upgrade
2016-05-05 19:39:50 -07:00
Ari Lazier
76c2d3cd54
fix leaking realm
2016-05-05 17:10:56 -07:00
Ari Lazier
54fede2715
upgrade to latest core and object store
2016-05-05 13:09:07 -07:00
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