Commit Graph

2469 Commits

Author SHA1 Message Date
Thomas Goyne 32b05dcdaa Use the static runtime on Windows 2017-09-05 11:16:59 -07:00
Thomas Goyne d3fde5f728 Bump objectstore version again 2017-09-05 10:16:08 -07:00
Thomas Goyne 682a45a18e Disambiguate some uses of PropertyType for msvc 2017-09-05 10:04:41 -07:00
Thomas Goyne 2185442f41 Link against static core/sync for node
The CMake packaging added shared libraries to the node release package, but the
build system isn't set up to work with them so just go back to using the static
libraries.
2017-09-01 17:27:26 -07:00
Thomas Goyne 4e7f70965f Remove incorrect include paths 2017-09-01 15:55:59 -07:00
Thomas Goyne 9a434e502a Improve error reporting on test failures a little 2017-08-31 16:43:25 -07:00
Thomas Goyne 7e1466b47a Don't throw an exception every 10ms in the RPC worker
Cuts the time taken to run the react native tests on my machine from 198
seconds to 41 seconds. Probably has a similar impact on the react native
debugger performance.
2017-08-31 16:43:25 -07:00
Thomas Goyne c06daa795e Add missing files to the xcode project 2017-08-31 16:43:25 -07:00
Thomas Goyne dd2d98a9e0 Fix downloading the prebuilt core for ios 2017-08-31 14:38:19 -07:00
Thomas Goyne 736277084e Fix creating admin token users 2017-08-31 13:49:45 -07:00
Thomas Goyne 26b4cdf33f Report what went wrong when refreshAccessToken fails 2017-08-31 13:49:45 -07:00
Thomas Goyne e75496571f Fix unhandled promise rejection warnings when access token refreshing fails 2017-08-31 13:49:45 -07:00
Thomas Goyne ce749578e1 Fix error reporting from admin-user-helper.js
In some cases errors were not being bubbled out correctly.
2017-08-31 13:49:45 -07:00
Thomas Goyne 886949472d Fix a test which tried to use a bool primary key 2017-08-31 13:49:45 -07:00
Thomas Goyne 9c1b04f8e5 Restore old list property validation logic 2017-08-31 13:49:45 -07:00
Thomas Goyne cb9a3c9f76 Add the invalid value to the type error exception message 2017-08-31 13:49:45 -07:00
Thomas Goyne 944ef57b59 Fix property type conversions to ObjectStore types 2017-08-31 13:49:45 -07:00
Thomas Goyne ce0ce3d299 Update to latest objectstore master and core/sync 2017-08-31 13:49:45 -07:00
Thomas Goyne 675b517274 Fix some incorrect checks for Array property types 2017-08-29 15:23:49 -07:00
blagoev f5a940fd0c Fix admin-user-helper 2017-08-29 15:23:49 -07:00
blagoev 1e5c8b95e1 fix property type checking 2017-08-29 14:52:21 -07:00
blagoev f115a641b0 Remove not needed casts 2017-08-29 14:52:04 -07:00
blagoev 5e6f576e31 address code review for property type checks 2017-08-29 14:52:02 -07:00
blagoev 736cbd3ef3 Update object store 2017-08-29 14:51:25 -07: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