This website requires JavaScript.
18c54885f4
Merge pull request #71 from orblivion/patch-1
node14
Kenton Varda
2021-10-05 19:28:50 -05:00
644e5e4a4d
Suggest libcapnp-dev instead of capnproto-dev
Daniel Krol
2021-10-04 21:38:23 -04:00
ca17e686f2
Port to Node 14.
Kenton Varda
2021-09-04 12:06:22 -05:00
a2ed298d34
Merge pull request #68 from zenhack/module-stubs
node10
Kenton Varda
2020-12-16 21:52:36 -06:00
8509161f7c
Merge pull request #67 from zenhack/typescript-decl-fix
Kenton Varda
2020-12-14 16:53:50 -06:00
b88ab5a305
Add .capnp.js stubs generated by capnpc-node-typescript.
Ian Denhardt
2020-12-12 02:29:24 -05:00
ac4c2574a6
ts declarations: Add comments describing how the type parameters work.
Ian Denhardt
2020-12-12 02:00:08 -05:00
0ba69aec95
Fix a mistake in the type declaration file.
Ian Denhardt
2020-12-12 01:54:15 -05:00
7ef8da3d79
Merge pull request #66 from zenhack/gitignore-capnp.node
Kenton Varda
2020-12-07 13:39:16 -06:00
0e9376071e
Add capnp.node to .gitignore
Ian Denhardt
2020-12-07 10:42:43 -05:00
d75642d0e8
Merge pull request #62 from zenhack/typescript-declaration-file
Kenton Varda
2020-11-30 16:05:15 -06:00
6eb94df293
Add a typescript declaration file.
Ian Denhardt
2020-09-21 15:56:16 -04:00
544bf09271
Merge pull request #60 from ocdtrekkie/patch-1
Kenton Varda
2020-06-08 09:53:11 -05:00
b45f75c8f9
Readme typos
Jacob Weisz
2020-06-08 07:38:12 -05:00
752d3cdffd
Merge pull request #59 from zenhack/null-handle-cleanup
Kenton Varda
2020-05-11 10:03:05 -05:00
0371c68bcd
More defensive/sensible handling of a case that probably can't happen.
Ian Denhardt
2020-05-09 23:56:19 -04:00
ae6f591602
Merge pull request #58 from zenhack/version-bump
Kenton Varda
2020-03-24 13:03:16 -05:00
81aeebf181
Bump version in package.json
Ian Denhardt
2020-03-23 15:38:59 -04:00
0cc5054ea2
Merge branch 'node8' into node10
Kenton Varda
2020-03-14 18:24:46 -05:00
cdda439e4a
Merge pull request #57 from redsift/node12
Kenton Varda
2020-03-14 17:25:45 -05:00
932e589f36
Merge pull request #55 from zenhack/exception-docs
Kenton Varda
2020-01-08 17:50:15 -06:00
46fd0a8b6e
Document how exceptions work.
Ian Denhardt
2020-01-07 16:18:36 -05:00
5e8c4c0b1b
Merge pull request #51 from redsift/fix/build
Kenton Varda
2020-01-07 10:56:44 -06:00
7ab91af445
pipe stdout and stderr from child process so we can see the logs
Deepak Prabhakara
2019-12-22 20:36:22 +00:00
05644ec31b
v8 and nan compilation fixes for node12
Deepak Prabhakara
2019-12-22 23:03:40 +00:00
28de5052c0
Merge pull request #1 from redsift/fix/build
Christos Vontas
2019-12-11 13:50:24 +00:00
c720781a5f
afterBuild needs to run after all IO has finished
Christos Vontas
2019-12-11 13:42:05 +00:00
d8de1b49ad
Disambiguate getsockname() call.
node8
Kenton Varda
2019-11-23 11:19:17 -08:00
4df200effa
Implement KJ's new whenWriteDisconnected().
Kenton Varda
2019-02-09 15:31:44 -08:00
cbb3ab40fb
Fix age-old bug with flag combining.
Kenton Varda
2019-02-09 15:29:42 -08:00
eae9c1c54b
Update for Node 10.
Kenton Varda
2019-01-07 13:42:47 -08:00
1abd120c12
Update to C++14 as required by Cap'n Proto 0.7.
Kenton Varda
2019-01-07 13:40:56 -08:00
ca30a96c1c
Merge pull request #43 from qm3ster/patch-1
Kenton Varda
2018-05-14 15:27:29 -07:00
d2f4c72d64
update capnp-js link
Mihal Malostanidis
2018-05-08 00:02:48 +03:00
202e13c66f
Hack: For Sandstorm build, catch segfaults and print stack traces.
Kenton Varda
2018-04-15 17:28:00 -07:00
a3e975d43c
Bump version number and publish again because apparently npm went and published a 13MB scratch folder I had in the directory last time, wtf.
Kenton Varda
2018-02-09 08:43:47 -08:00
f1e9306cd6
Release 0.3.0 which supports node 8+.
Kenton Varda
2018-02-04 14:17:42 -08:00
c6fe3c2624
Revert "Add temporary code to count local capability types and support dumping them to stderr periodically."
Kenton Varda
2018-02-04 14:16:01 -08:00
7fb9018515
Correctly handle pipelining on a Capability.
Kenton Varda
2018-02-04 14:12:01 -08:00
742d6b5b79
Fix obvious, glaring memory leak. I dunno what to say.
Kenton Varda
2018-01-06 12:17:56 -08:00
ec1721f298
Node 8: Properly support capabilities defined using ES6 classes.
Kenton Varda
2017-11-18 16:50:37 -08:00
5aeffa328a
Node 8: Transition from V8 hidden values to V8 private values.
Kenton Varda
2017-11-18 16:49:55 -08:00
1609fa1155
Merge branch 'node4' of github.com:kentonv/node-capnp into node4
node4
Kenton Varda
2017-09-30 12:05:53 -07:00
f575e4013c
Add the ability to listen on a unix socket delivering connections via SCM_RIGHTS.
Kenton Varda
2017-09-30 12:05:30 -07:00
6525163b1b
Update for recent KJ changes. Fixes #36 .
Kenton Varda
2017-09-30 12:04:57 -07:00
7afd129314
Merge pull request #31 from dwrensha/capnp-node-is-missing
Kenton Varda
2017-09-30 12:03:17 -07:00
f2bfd6f95f
Release 0.2.0 which supports node 4+.
Kenton Varda
2017-09-19 09:25:56 -07:00
888f772ef3
Fix several v8 usage bugs that could be causing our memory leaks.
Kenton Varda
2017-04-29 15:46:07 -07:00
fbdb9959a9
Revert "Work around apparent memory leak in Node?"
Kenton Varda
2017-03-01 14:20:44 -08:00
816cbc38e0
Add a chacha20() function for Sandstorm's use, and add #ifdefs so that Sandstorm-private code isn't included in non-Sandstorm builds.
Kenton Varda
2017-02-16 20:06:05 -08:00
8497d70320
Work around apparent memory leak in Node?
Kenton Varda
2017-02-14 02:51:54 -08:00
4f251bedc6
Merge pull request #32 from kentonv/powerbox-query
Kenton Varda
2016-12-07 23:03:56 -08:00
8dbc7e700d
Update test per @dwrensha's review comments.
Kenton Varda
2016-12-05 10:43:52 -08:00
1d0caa3f30
Support 'null' appearing in pointer lists.
Kenton Varda
2016-12-05 10:43:27 -08:00
302ae1779f
Implement Sandstorm powerbox query matching algorithm as a library function.
Kenton Varda
2016-12-04 16:58:10 -08:00
8e001b1ff1
Update for change to wrapConnectingSocketFd() signature.
Kenton Varda
2016-11-30 18:34:06 -08:00
492b1c9905
Fix closeAll().
Kenton Varda
2016-11-12 13:20:00 -08:00
dd23d9bc5c
Fix error message: 'capnp.node.node' -> 'capnp.node'
David Renshaw
2016-11-05 19:22:11 -04:00
74958750f1
Add temporary code to count local capability types and support dumping them to stderr periodically.
Kenton Varda
2016-11-03 15:33:07 -07:00
05d868bc8f
Do type checking / unwrapping the right way.
Kenton Varda
2016-08-08 19:55:52 -07:00
f48e50e7ff
Don't download/install ES6 Promise polyfill anymore.
Kenton Varda
2016-08-08 18:55:05 -07:00
674090dba2
Silence some warnings originating in macros.
Kenton Varda
2016-08-08 18:54:44 -07:00
2b241848f5
Fix RPC callbacks using node::MakeCallback().
Kenton Varda
2016-08-08 18:33:08 -07:00
4f2ee9bb8f
Fix random crashes during GC.
Kenton Varda
2016-07-04 02:32:48 -07:00
8d57b61bba
Promise capabilities take ownership of the capability to which they resolve.
Kenton Varda
2016-06-20 14:26:57 -07:00
0c60f1f777
Support "flat" encoding, and "packed-flat" too.
Kenton Varda
2016-03-27 07:15:50 -07:00
e3ce43e2be
Include Javascript stack when converting to KJ exception.
Kenton Varda
2016-03-27 05:47:13 -07:00
f7066436e9
Make the overhead computation look less like it has an integer underflow
Drew Fisher
2016-02-18 19:00:57 -08:00
533aa8043d
Compute a tighter upper bound on the buffer needed for packed encoding
Drew Fisher
2016-02-18 15:48:41 -08:00
22a56c1607
Add tests for packed encoding/decoding.
Drew Fisher
2016-02-18 15:11:13 -08:00
7965ca80f5
Add support for serializing structures to packed Cap'n Proto encoding
Drew Fisher
2016-02-18 14:00:10 -08:00
2bdf71bbe2
Add support for parsing structures in Cap'n Proto's packed encoding
Drew Fisher
2016-02-18 12:03:03 -08:00
65edaa8a57
Promise capabilities take ownership of the capability to which they resolve.
master
Kenton Varda
2016-06-20 14:26:57 -07:00
27ef02fac9
Support "flat" encoding, and "packed-flat" too.
Kenton Varda
2016-03-27 07:15:50 -07:00
39743ab28a
Include Javascript stack when converting to KJ exception.
Kenton Varda
2016-03-27 05:47:13 -07:00
92b821f54f
Support "flat" encoding, and "packed-flat" too.
verbose-debug-log
Kenton Varda
2016-03-27 07:15:50 -07:00
62501e2e05
Include Javascript stack when converting to KJ exception.
Kenton Varda
2016-03-27 05:47:13 -07:00
586a0b507a
Make the overhead computation look less like it has an integer underflow
Drew Fisher
2016-02-18 19:00:57 -08:00
8731696b87
Compute a tighter upper bound on the buffer needed for packed encoding
Drew Fisher
2016-02-18 15:48:41 -08:00
4c52f07a80
Add tests for packed encoding/decoding.
Drew Fisher
2016-02-18 15:11:13 -08:00
ce1fc89df4
Add support for serializing structures to packed Cap'n Proto encoding
Drew Fisher
2016-02-18 14:00:10 -08:00
6b18e62df3
Add support for parsing structures in Cap'n Proto's packed encoding
Drew Fisher
2016-02-18 12:03:03 -08:00
1c39e04adf
Merge pull request #27 from zarvox/parse-packed
Kenton Varda
2016-02-18 20:00:23 -08:00
dcf1b10278
Make the overhead computation look less like it has an integer underflow
Drew Fisher
2016-02-18 19:00:57 -08:00
ccdb72c931
Compute a tighter upper bound on the buffer needed for packed encoding
Drew Fisher
2016-02-18 15:48:41 -08:00
09c79de07d
Add tests for packed encoding/decoding.
Drew Fisher
2016-02-18 15:11:13 -08:00
b013752ed5
Add support for serializing structures to packed Cap'n Proto encoding
Drew Fisher
2016-02-18 14:00:10 -08:00
6b899a4250
Add support for parsing structures in Cap'n Proto's packed encoding
Drew Fisher
2016-02-18 12:03:03 -08:00
3d5d0c9d38
Update package.json to reflect the node API chanage. (I'm not actually sure if this works with 0.12, but it definitely doesn't work with 0.10 anymore.)
Kenton Varda
2016-02-15 19:11:14 -08:00
4128f687a8
Expose expectedSizeFromPrefix to node.
Kenton Varda
2016-02-15 19:05:43 -08:00
eba8a33e66
Port to Node 4.
Kenton Varda
2016-02-14 23:33:53 -08:00
10e269d298
Void values are normally represented as 'null', so ignoring 'null' fields is wrong.
Kenton Varda
2016-02-09 18:34:04 -08:00
133c15771b
Void values are normally represented as 'null', so ignoring 'null' fields is wrong.
Kenton Varda
2016-02-09 18:34:04 -08:00
e999e82d46
Turn off the C++ logging and double-down on Javascript. We're closing in now.
Kenton Varda
2015-12-17 11:21:24 -08:00
d6a93a7ff4
Yes more debug logging.
Kenton Varda
2015-12-08 11:22:42 -08:00
963dc37a1b
More debug logging.
Kenton Varda
2015-11-21 19:56:46 -08:00
6b5faf488c
More moar debug logging.
Kenton Varda
2015-11-13 19:37:12 -08:00
55d9a51855
Treat closed capability as disconnected.
Kenton Varda
2015-11-10 09:54:13 -08:00
30beb85403
Treat closed capability as disconnected.
Kenton Varda
2015-11-10 09:54:13 -08:00
53914ae5d9
moar logging
Kenton Varda
2015-11-06 11:18:42 -08:00