2438 Commits

Author SHA1 Message Date
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 v1.3.1 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 c019ffc33a594797e24a89344979a3e95206e738.
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
blagoev
468e69d76e Improve VS Code debug
Allow debugging of session-tests and improve VS Code debug tasks.
New VS Code task to download and start server for debugging
New VS Code tasks to build only changed files and full rebuild
2017-05-17 16:05:15 +03:00
blagoev
e3ef08b837 Merge pull request #1017 from realm/revert-1005-download-api
Revert "Download api (aka open async api)"
2017-05-17 15:13:14 +03:00
blagoev
018afe6207 Revert "Download api (aka open async api)" 2017-05-17 15:12:30 +03:00
blagoev
8258e184f4 Merge pull request #1005 from realm/download-api
Download api (aka open async api)
2017-05-17 14:29:42 +03:00
blagoev
b100e782cb Cleaner error checking 2017-05-16 12:11:23 +03:00
blagoev
ab626253e5 addressed pr review comments 2017-05-15 15:33:53 +03:00
blagoev
45e18a4300 Fix download api for RN
fix tests when run in RN
2017-05-12 15:38:44 +03:00
blagoev
d214b72fc6 forgotten file 2017-05-12 01:41:04 +03:00
blagoev
1ae58780bf Pass the error code and message to user code 2017-05-12 01:40:15 +03:00
blagoev
6be9ad5e35 Add a fix for RN hang with promises 2017-05-12 00:04:19 +03:00
blagoev
6c3dc8258a enable all session-tests and Realm.openAsync 2017-05-11 23:54:29 +03:00