Commit Graph

2449 Commits

Author SHA1 Message Date
Yavor Georgiev acd962d602 Make sure all callbacks enqueue on the Node.js event loop (#1079)
Fixes #1077
2017-06-19 13:19:43 +02:00
Yavor Georgiev 3e80683ad8 Extract admin status from the refresh token (#1078)
* Extract admin status from the refresh token

Fixes #1063

* wire up rpc
2017-06-17 16:59:15 +02:00
Yavor Georgiev 208dc858b5 update the windows pre-gyp script (#1072) 2017-06-16 11:01:22 +02:00
Yavor Georgiev 0f5d6a1df4
[1.8.0] Bump version 2017-06-15 16:27:43 +02:00
Niklas Nisbeth 236f8df1aa update pre-gyp info in package.json (#1030) 2017-06-15 15:52:32 +02:00
Adam Lebsack fdc9414013 Use sync 1.10.0 (#1068) 2017-06-15 15:50:00 +02:00
Yavor Georgiev 237e1ba158 Support the new React Native C++ bridge (#1065)
* Support the new React Native C++ bridge

Fixes #1049

* address code review comments

* handle the case when the websocket executor does not exist
2017-06-14 14:44:28 +02:00
Kristian Dupont af72770094 Replace calls to sync.cleanup with sync.removealllisteners (#1066) 2017-06-14 12:54:47 +02:00
blagoev 523c1ec772 add a note about stale node_modules directory 2017-06-13 12:53:40 +03:00
blagoev 416632c9ad Merge pull request #1062 from realm/blagoev/fix-RN-debug-with-vscode
Return debugger context if running on node in vscode debugger
2017-06-13 12:27:45 +03:00
JP Simard d5255e4d3e update license to match changes in realm-cocoa (#1041) 2017-06-06 11:45:08 +02:00
blagoev 5b17e14378 Fix api reference for callbacks 2017-05-31 14:22:53 +03:00
blagoev 3764d4bf55 Return debugger context if running on node in vscode debugger
Experimental
2017-05-29 09:33:06 +03:00
blagoev 2390f9b084 Merge pull request #869 from realm/kd/fix-execution-context-detection
Update index.js to report missing react-native link
2017-05-29 09:00:16 +03:00
Mark Rowe b78bcefc67 Merge pull request #1023 from realm/tg/object-accessor-updates
Update to work with new object store object accessor API
2017-05-24 12:57:03 -07:00
Radu Tutueanu 8c33481011 Use sync 1.9.2 2017-05-24 12:50:27 +02:00
Mark Rowe 98d57a34ce Update to core v2.8.1 and sync v1.9.x.
FIXME: We'll need to update to sync v1.9.2 once it is available as
v1.9.1 does not include core v2.8.1. This may result in the missing
symbols on Linux problem only being fixed when sync is disabled.
2017-05-23 11:52:43 -07:00
Mark Rowe b108d06231 Use `int64_t` rather than `long long` as the integer type in the accessor
implementation.

This matches what core uses for integers, and avoids ambiguity that
otherwise results when `int64_t` is declared as `long` rather than `long long`.
2017-05-22 20:17:35 -07:00
Mark Rowe 75f8b28831 Fix the Node build.
Tweak the signature on some of the accessor methods to take
`JSEngine::Value`s by value rather than by const reference. Some Node
APIs appear to assume that only non-const objects will be used.
2017-05-22 16:19:15 -07:00
Mark Rowe 66da78af74 Merge remote-tracking branch 'origin/master' into tg/object-accessor-updates 2017-05-22 14:39:55 -07:00
Mark Rowe 43200b1db5 Update the recently-added `RealmClass::wait_for_download_completion` to
use the new object accessor interface.
2017-05-22 14:33:39 -07:00
blagoev f4528ae6f5 fix for open async in RN Debug 2017-05-20 09:41:51 +03:00
blagoev cc2e685594 Fix for react-tests in Debug 2017-05-20 09:17:48 +03:00
blagoev aab7171643 add test for working with local realms with async open api 2017-05-19 09:18:48 +03:00
blagoev ea7b10191a Add test for async open api with no schema usage 2017-05-19 08:59:03 +03:00
Ari Lazier 9258d95550 Adapter Docs (#930)
* adapter docs

* fix undefined bug
2017-05-18 13:40:25 +02:00
kristiandupont 401a6043bf [1.3.1] Bump version 2017-05-18 13:13:28 +02:00
Kristian Dupont 22d4b2e391 Fix doc mistake (#1028)
* Fix doc mistake

* Remove throw doc in Realm.open
2017-05-18 13:11:51 +02:00
kristiandupont 1323a8d110 Fix changelog 2017-05-18 13:03:21 +02:00
Kristian Dupont 57414f641d Update docs for Realm.open and Realm.openAsync (#1027)
* Update docs for Realm.open and Realm.openAsync

* Update realm.js
2017-05-18 12:40:26 +02:00
blagoev 26a0079135 remove obsolete scripts 2017-05-18 07:53:37 +03:00
Thomas Goyne 08052e12f6 Update to work with new API for arrays of primitives 2017-05-17 11:02:45 -07:00
Thomas Goyne 62bfaf2d05 Update to core 2.7.0 2017-05-17 11:01:46 -07:00
blagoev be328accb4 Merge pull request #1021 from realm/download-api-3
Download API with fixes for windows build
2017-05-17 20:07:00 +03:00
blagoev ebb8d8efa6 Revert "reverted the debugger attached timeout change that might be causing CI to hang"
This reverts commit c019ffc33a.
2017-05-17 16:23:49 +03:00
blagoev c019ffc33a reverted the debugger attached timeout change that might be causing CI to hang 2017-05-17 16:18:56 +03:00
blagoev cf8e6efb16 fix build for no sync on windows 2017-05-17 16:10:20 +03:00
blagoev 158b513a12 Cleaner error checking 2017-05-17 16:10:00 +03:00
blagoev cb72fe1977 addressed pr review comments 2017-05-17 16:09:48 +03:00
blagoev a0f963775b Fix download api for RN
fix tests when run in RN
2017-05-17 16:09:19 +03:00
blagoev 0d3fbccbe1 forgotten file 2017-05-17 16:09:05 +03:00
blagoev be0611a255 Pass the error code and message to user code 2017-05-17 16:08:55 +03:00
blagoev 4b67d883b6 Add a fix for RN hang with promises 2017-05-17 16:08:42 +03:00
blagoev 4aecf90176 enable all session-tests and Realm.openAsync 2017-05-17 16:08:24 +03:00
blagoev d0a6ca5db6 Fix showing syntax errors in sync test files 2017-05-17 16:08:12 +03:00
blagoev 315b8c1a7a Fix download api to wait correctly using schema less realm
Added tests using two processes (nodes only)
2017-05-17 16:08:01 +03:00
blagoev 4e77bf326f fix Realm.open to use the correct ctor function 2017-05-17 16:07:35 +03:00
blagoev 216484aede Initial download api support 2017-05-17 16:07:08 +03:00
blagoev 4751aca0dc Fix event_loop_dispatcher 2017-05-17 16:06:21 +03:00
blagoev 33bb01be11 Fix EventLoopDispatcher
Fixes callback not called due to dispatcher freed when instance go out of scope. Preserves the EventLoopSignal if there are pending invocations
2017-05-17 16:05:46 +03:00