Ari Lazier
85c655a91c
fix for constructor destruction after timeout
2016-11-09 17:46:26 -08:00
Ari Lazier
4fc874f35c
some small fixes for download-core script
2016-11-09 15:01:42 -08:00
Radu Tutueanu
9833b8e490
Build macOS with sync by default
2016-11-09 19:07:26 +01:00
Radu Tutueanu
c995253202
Fix building with sync
2016-11-09 17:25:25 +01:00
Radu Tutueanu
ba48933561
Enable building without sync
...
This is needed because the linux node binding needs to work without sync
2016-11-09 16:47:17 +01:00
Ari Lazier
92adb669d5
hook up new object store apis
2016-10-26 17:00:46 -07:00
Yavor Georgiev
b2d7d66b90
remove UvAsync
2016-10-12 01:15:27 +02:00
Yavor Georgiev
a37fe03e20
bring back node ci
2016-10-11 22:30:39 +02:00
Yavor Georgiev
33b87e6582
remove the node sync logger
2016-10-11 01:33:10 +02:00
Yavor Georgiev
245328009a
expose the node class constructor
2016-10-11 00:38:32 +02:00
Yavor Georgiev
28924b4f99
Build the node addon as a static library
2016-10-10 14:20:54 +02:00
Yavor Georgiev
5623653477
prepare for the glorious future
2016-10-08 19:36:03 +02: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
Yavor Georgiev
6a6ed5a214
Get the path to nan relatively
...
Under npm3 the `realm` and `nan` modules might end up as siblings so the best way to get the path to `nan` is to require it from within the `realm` module. The `nan` module prints its path so it can be captured by an external build system like in this patch.
2016-07-21 17:39:03 +02:00
Ari Lazier
7d42d26fe9
quote dir path
2016-06-20 12:02:55 -07:00
Ari Lazier
5488eff9b9
recursively delete management directories
2016-06-20 11:41:18 -07:00
Ari Lazier
5eb64025f9
remove management directories in node
2016-06-20 10:49:53 -07:00
Scott Kyle
928ab03ce4
Update to download and use core build for Node
...
This will need to be updated again with a newer version since 1.1.2 build was created on CI but is not actually on static.realm.io until a new release is made.
2016-06-17 11:19:19 -07:00
Scott Kyle
12517a0d1e
Add ability to run Node tests on Linux
...
It uses the Android ExternalCommitHelper implementation.
The Dockerfile requires that you have a static library build of core for Linux with PIC enabled.
2016-06-17 02:38:33 -07:00
Scott Kyle
13ab8f8111
Refactor thread_id.hpp into cpp and thread_local.hpp
2016-06-16 17:02:53 -07:00
Scott Kyle
af52e9f437
Make stuff build for Node and Android
2016-06-14 17:22:04 -07:00
Scott Kyle
6d524107e0
Silence warnings about member function pointers
...
The base ClassDefinition defines its constructor member as null, but some subclass have a static constructor function. This allows both cases to be handled without a warning.
2016-06-13 17:24:43 -07:00
Scott Kyle
8a52cf8ffe
Merge branch 'sk-node-notifier'
...
* sk-node-notifier:
Create a HandleScope before calling callbacks
Add a working WeakRealmNotifier for Node
2016-05-27 13:25:50 -07:00
Scott Kyle
858d67125d
Consolidate RealmNode.xcodeproj into RealmJS.xcodeproj
...
Moved it up one level since it references the whole source tree inside the src/ directory. Added the functionality to run Node tests from Xcode on the existing RealmNode target.
2016-05-19 14:50:27 -07:00
Scott Kyle
2eacb66ac4
Add a working WeakRealmNotifier for Node
...
Uses libuv APIs to async schedule onto the default Node run loop.
2016-05-19 14:49:21 -07:00
Ari Lazier
7f5ca3cee7
fix tab
2016-05-19 13:59:50 -07:00
Ari Lazier
b06d93a27d
node fixes
2016-05-19 13:35:06 -07:00
Ari Lazier
6af98acd11
combine other classes
2016-05-16 15:43:46 -07:00
Scott Kyle
eb72459cce
Make sure the right node-gyp is called
2016-05-16 12:57:46 -07:00
Scott Kyle
5bc72ab2cf
Make Date testing work for Node
2016-05-13 16:30:57 -07:00
Scott Kyle
0b1a686f60
Add platform.cpp file for Node
2016-05-13 16:26:31 -07:00
Ari Lazier
e7b341dfdb
merge latest from master
2016-05-13 15:05:19 -07:00
Ari Lazier
cf4fd74f52
pr fixes for build script
2016-05-10 14:01:27 -07:00
Ari Lazier
a960d88893
add project for building/debugging node
2016-05-09 15:16:37 -07:00
Scott Kyle
24dab1e8d7
Heed v8 warning in Node v6 from v8::Template::Set
2016-05-04 02:14:50 -07:00
Scott Kyle
889b762566
Allow protected values to be empty
...
This makes them much more friendly to being put inside of STL containers, like maps.
2016-05-02 12:33:20 -07:00
Scott Kyle
ca87f5a3e0
Fix Node crash from calling function with empty this
2016-04-27 10:42:42 -07:00
Scott Kyle
2a58862070
Add test script for Node
2016-04-19 14:10:10 -07:00
Scott Kyle
a0424c6600
Fix some styling of exception handling in JS wrappers
2016-04-18 15:11:36 -07:00
Scott Kyle
5c56a99403
Split up JS abstractions into type-specific files
2016-04-18 01:15:54 -07:00
Scott Kyle
5ed2c3cf25
Define most of node::ObjectWrap separately
2016-04-17 22:00:06 -07:00
Scott Kyle
7c97a1752e
Remove need for BaseClassDefinition
2016-04-16 16:46:16 -07:00
Scott Kyle
133289ad85
All tests now pass on Node
2016-04-15 16:06:44 -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
84559316d8
compact property getter/setter types
2016-04-14 11:06:17 -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