34 Commits

Author SHA1 Message Date
Yavor Georgiev
aa506935a5 Construct Results with object type name only (#959) 2017-04-18 13:41:44 +03:00
Yavor Georgiev
7c1dab7079 Propagate token refresh errors to the session error handler (#843)
* Get a session’s error handler

* Change the signature of all methods to add the callee

* Deserialize rpc callbacks

* Expose the session error handle on its config property

* When a token refresh error occurs and there is a session error handler

propagate the error to the handler
2017-02-07 11:01:26 +01:00
Ari Lazier
b2077910a4 fix for handle scope warning 2016-11-11 11:41:27 -08:00
Ari Lazier
9d0df0de3d Sync and fine grained notifications 2016-10-04 15:07:14 -07:00
Mark Rowe
5b888ed91d Update to core 1.5.0 and the latest version of the object store. 2016-08-15 11:29:58 -07:00
Thomas Goyne
f8ed437003 Update the binding for object store API changes 2016-08-02 09:31:25 -07:00
Thomas Goyne
b59af706ea Update binding code for API changes 2016-07-18 14:15:25 -07:00
Ari Lazier
3901bf53dc Merge pull request #479 from realm/al-muti-realm
fix for setting properties to objects from other realms
2016-06-13 14:44:28 -07:00
Scott Kyle
cd20d870dd Fix crash from querying with object from another Realm 2016-06-09 15:32:37 -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
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
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
1ca5a43982 Revert TValue to ValueType, etc. 2016-04-18 12:18:13 -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
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
Karson Miller
5e9333b699 no message 2016-02-18 15:30:44 -08:00
Scott Kyle
5332131c14 Add sorted() method to List 2016-02-18 13:41:11 -08:00
Ari Lazier
1d01a1db73 don't copy query unnecessarily 2016-02-17 20:48:27 -08:00
Ari Lazier
e578b05058 pr feedback 2016-02-17 20:39:29 -08:00
Ari Lazier
63ffc760bd merge latest from master 2016-01-13 12:46:07 -08:00
Ari Lazier
3aaf988953 fixes 2016-01-05 11:05:27 -08:00
Ari Lazier
fb1d6b6a93 more import fixes 2016-01-05 11:04:06 -08:00
Scott Kyle
632f9d737e Add methods to create snapshot of List and Results
The Results class was updated to match the style of List and include a flag (m_live) that determines if it should sync updates. If an object in the static Results is deleted, then it will return null.
2015-12-30 16:53:26 -08:00
Ari Lazier
5f584f747f use underscore rather than dash 2015-11-30 11:23:29 -08:00