Commit Graph

2998 Commits

Author SHA1 Message Date
Brian Munkholm 3c07391997 Merge pull request #1225 from justjenu/patch-1
Update link to community newsletter
2017-08-18 10:14:05 +02:00
Jennifer Hooper 8301d2838c Update link to community newsletter 2017-08-17 13:13:57 -07:00
kristiandupont 88dbbb4e50 [2.0.0-rc5] Bump version 2017-08-17 15:25:40 +02:00
Yavor Georgiev 614c699385 [2.0.0-rc4] Bump version 2017-08-17 13:21:34 +02:00
Yavor Georgiev 1be5340129 [2.0.0-rc3] Bump version 2017-08-17 13:20:41 +02:00
Yavor Georgiev 5db836dc8b use newest ROS 2017-08-17 13:02:21 +02:00
Yavor Georgiev c78f82ac0c Update download script for the new core build system 2017-08-17 13:01:41 +02:00
Yavor Georgiev e0a9cc6246 use sync 2.0.0-rc12 2017-08-17 13:01:01 +02:00
Yavor Georgiev c8a86f6fd7 bring back the download binaries condition in gyp 2017-08-17 13:01:01 +02:00
Yavor Georgiev 05cce5aeec use newest object store 2017-08-17 13:01:01 +02:00
Yavor Georgiev b17dcddd17 use sync 2.0-rc11 2017-08-17 12:56:01 +02:00
Yavor Georgiev 272c996a5f use latest sync 2017-08-17 12:56:01 +02:00
Yavor Georgiev 2710eabee1 use sync 2.0 2017-08-17 12:55:21 +02:00
kristiandupont 0db8fac3e5 [1.10.3] Version bump 2017-08-17 11:35:13 +02:00
Brian Munkholm e5cd112197 Update README.md 2017-08-16 21:03:24 +02:00
Brian Munkholm b528c8dace Update README.md 2017-08-16 21:02:12 +02:00
Brian Munkholm c2d90d6fa7 Update license for Core 2017-08-16 21:00:48 +02:00
Kenneth Geisshirt 1dd85b591a Merge pull request #1190 from ejoy-jsc/master
correct testProgressNotificationsForRealmOpen
2017-08-16 14:56:14 +02:00
blagoev cd187eca43 Merge pull request #1210 from realm/depreciate-setAccessToken
Deprecate setAccessToken
2017-08-16 12:51:27 +03:00
Kristian Dupont c24cc16ebf Fix a few publish issues (#1215)
* Stop trying to kill the server twice after testing

* Fix test targets to run before publishing

* ...

* Remove electron runner from publish for now

* Update changelog
2017-08-16 11:11:28 +02:00
kristiandupont 796ebe2533 [1.10.2] Bump version 2017-08-15 15:12:18 +02:00
blagoev fad3b369dc fix bad term 2017-08-15 12:36:15 +03:00
blagoev 86999412f0 Depreciate setAccessToken
rename setAccessToken to setFeatureToken
expose both functions while setAccessToken is depreciated
Trim token argument string
2017-08-15 12:36:15 +03:00
Kristian Dupont 08acb83e58 Update pull_request_template.md 2017-08-14 12:43:59 +02:00
Kristian Dupont f55fa10b6b Add environment-check script (#1199)
* Add environment-check script

* Check version without using semver module
2017-08-14 10:30:03 +02:00
Kræn Hansen e4e1431c55 Running js tests in Electron renderer process (#1196)
* First take on running the tests inside an Electron render process

* Making progress

* Making it possible to override the location of the admin token

* Ignoreing the realm-object-server files

* Fixing a console.log to return a string instead of a boolean

But it should probably be removed entirely

* Making the downloaded ROS log less

* Adjusting comments in the test.sh

* Checking number of windows to determine an Electron crash

* Added a test that triggers garbage collection of ArrayBuffers

* Enabled the ability to run the tests in Electrons main process

* Run tests first in main process and the render

* Added a README.md that documents how Electron tests can be run

* Added a comment on why the garbage-collection test was added.

* Waiting with reading the admin token, until it is actually used

* Disabling the GarbageCollectionTests for now
2017-08-11 10:30:57 +02:00
Yavor Georgiev fb7f11263c Modernize V8 ArrayBuffer usage (#1198)
Instead of manually allocating a chunk of memory and asking V8 to create an ArrayBuffer around it, have V8 create an ArrayBuffer with its own allocator and copy the data in it. (fixes #1197)

Remove an extra copy when reading data from ArrayBufferViews.

Remove TODOs for Node.js versions older than 4.
2017-08-10 11:45:48 +02:00
Kristian Dupont bb3411f7f7 Fix Object.setPrototypeOf issue on Android (#1195)
* Fix Object.setPrototypeOf issue on Android

* Fix prototype chain
2017-08-09 15:08:19 +02:00
Jagdeep Nagpal ee3b855efb Remove override annotation (#1178) 2017-08-09 11:09:31 +02:00
Kristian Dupont b09385f97d Make jsdoc import tutorials (#1181) 2017-08-08 11:35:03 +02:00
toanz 7d903cc96e correct testProgressNotificationsForRealmOpen
ProgressNotifications is not working , this test is incorrect
2017-08-07 10:28:01 +07:00
Yavor Georgiev b71eec6b98
[1.10.1] Bump version 2017-08-02 14:07:16 +02:00
blagoev c090cd9700 Merge pull request #1146 from realm/ni/open-async
Don’t invoke openAsync callback twice
2017-07-27 13:26:57 +03:00
blagoev 68df00154f Merge pull request #1162 from realm/aviwarner-patch-1
Create SUPPORT.md
2017-07-27 12:09:01 +03:00
Avi Warner 8f50bb772a Create SUPPORT.md
Creating a SUPPORT.md file to improve issue submission
2017-07-25 11:27:28 -07:00
David Shore 56d571c204 Update README 2017-07-21 11:35:27 -07:00
Nikola Irinchev bbe62c361b
Don’t execute callback in Realm.open either 2017-07-18 11:28:33 +03:00
Nikola Irinchev 081c3e5224
Add changelog 2017-07-18 00:22:59 +03:00
Nikola Irinchev bd10a6d8e0
Don’t invoke openAsync callback twice 2017-07-18 00:16:25 +03:00
Yavor Georgiev 22a086859f
[1.10.0] Bump version 2017-07-12 16:45:35 +02:00
Yavor Georgiev 479e8eebaa Merge pull request #1138 from realm/yg/realm-is-empty
Add `Realm.empty`
2017-07-12 14:16:29 +02:00
Yavor Georgiev 5dd9264225
Add `Realm.empty` 2017-07-12 13:02:21 +02:00
Yavor Georgiev ced6df9819 Merge pull request #1135 from realm/yg/node-fatal-exceptions
Rethrow callback errors as fatal Node.js errors
2017-07-11 18:09:32 +02:00
Yavor Georgiev b1d23bb782
Realm.open and Realm.openAsync should try/catch opening the realm
and pass the error on to the promise and callback respectively so that it can be handled by the caller
2017-07-11 17:47:10 +02:00
Yavor Georgiev 1e58351ace
Don’t enter node::MakeCallback if we have a calling context
this means we already have JavaScript frames on the execution stack
2017-07-11 17:47:10 +02:00
Yavor Georgiev fe756bdc86
Rethrow callback errors as fatal Node.js errors
Instead of rethrowing the JavaScript error emitted from a callback function, we should instead pass it to `node::FatalException`.

Callbacks are employed when there is no other JavaScript frame on the stack prior so rethrowing the JS error as a C++ exception is not going to propagate the error back to JavaScript. `node::FatalException` will raise the `uncaughtError` event on the `process` object , print the error and stacktrace, and alert the debugger is there is one attached. This would make our async callbacks behave consistently with Node’s own async callbacks such as `setTimeout` when encountering an error.
2017-07-11 17:47:09 +02:00
Yavor Georgiev e0facc77ff Fix jsdoc build (#1133)
Using a path relative to the `docs/conf.json` file seems to fix the `FATAL: Unable to load template: Cannot find module 'docs/jsdoc-template/template/publish'` issue.

See 0830c6e2f9.
2017-07-11 13:33:38 +02:00
blagoev fb3979110d fix docs 2017-07-11 12:41:36 +03:00
Yavor Georgiev 7b9c4eee46
[1.9.0] Bump version 2017-07-10 17:26:44 +02:00
Yavor Georgiev ab29ac4490 Fix linter issues (#1132) 2017-07-10 16:53:00 +02:00