79 Commits

Author SHA1 Message Date
Ari Lazier
3e37795d62 fix for unregistering notifications in a notification 2016-11-09 18:01:56 -08:00
Ari Lazier
85c655a91c fix for constructor destruction after timeout 2016-11-09 17:46:26 -08:00
Radu Tutueanu
ba48933561 Enable building without sync
This is needed because the linux node binding needs to work without sync
2016-11-09 16:47:17 +01:00
Ari Lazier
8ce8f52105 add test for login 2016-11-08 14:07:04 -08:00
Ari Lazier
92adb669d5 hook up new object store apis 2016-10-26 17:00:46 -07:00
Ari Lazier
5e1ecdf19e default the schema version to 0 when a schema is provided 2016-10-26 17:00:33 -07:00
Ari Lazier
18c419fb96 don't set version to 0 when not set 2016-10-26 17:00:33 -07:00
Yavor Georgiev
0ff7357cc3 Build for node without sync 2016-10-10 14:20:33 +02:00
Ari Lazier
9d0df0de3d Sync and fine grained notifications 2016-10-04 15:07:14 -07:00
Thomas Goyne
f8ed437003 Update the binding for object store API changes 2016-08-02 09:31:25 -07:00
Ari Lazier
2e3b95f2e7 merge latest master 2016-06-14 16:40:57 -07:00
Ari Lazier
81a32909c1 update to latest object store changes 2016-06-14 14:33:27 -07:00
Scott Kyle
cdcb99a502 Improvements from PR feedback 2016-06-09 13:07:05 -07:00
Scott Kyle
cd0bb079b7 Implement objectForPrimaryKey() method
Resolves #328
2016-06-03 16:51:32 -07:00
Mark Rowe
344fc42d4e Avoid copying Object unnecessarily. 2016-05-31 15:54:43 -07:00
Ari Lazier
38c6eb7b6b more pr feedback 2016-05-27 16:03:03 -07:00
Ari Lazier
9012549c5d object store pr feedback 2016-05-27 15:45:56 -07:00
Scott Kyle
78a8311ba6 Merge branch '0.13.x'
* 0.13.x:
  [0.13.2] Bump version
  fix for upgrading optional date properties
2016-05-26 14:36:17 -07:00
Ari Lazier
027d4fd153 fix for upgrading optional date properties 2016-05-26 13:30:51 -07:00
Ari Lazier
b06d93a27d node fixes 2016-05-19 13:35:06 -07:00
Ari Lazier
8709f04e8b pr fixes 2016-05-19 12:22:07 -07:00
Ari Lazier
fd25afe214 add isValid methods to results and list 2016-05-16 16:01:14 -07:00
Ari Lazier
6af98acd11 combine other classes 2016-05-16 15:43:46 -07:00
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