David Renshaw
9475b992ab
add documentation
2015-02-26 13:37:58 -05:00
David Renshaw
785778e81b
Allow clients to export a bootstrap capability.
2015-02-26 13:36:05 -05:00
David Renshaw
c2cb839cac
fix typos
2015-02-25 14:24:29 -05:00
Kenton Varda
00dd6bb16c
Merge pull request #11 from jparyani/fix-int64-fields
...
Fix toJsParams not properly respecting types of fields
2015-02-24 15:10:07 -08:00
Jason Paryani
b748000f52
Fix toJsParams not properly respecting types of fields
...
This would cause problems with large (u)int64_t fields
2015-02-24 14:12:45 -08:00
Kenton Varda
87e11a8108
Merge pull request #10 from davelab6/patch-1
...
Update README.md
2015-02-23 12:54:49 -08:00
Dave Crossland
0227824230
Update README.md
...
Point to https://github.com/capnp-js which is actively maintained
2015-02-21 21:11:27 -05:00
Kenton Varda
e61c1d9f87
Merge pull request #9 from jparyani/fix-any-pointer
...
Handle incoming AnyPointers by transforming them to a byte message
2015-02-19 21:37:33 -08:00
Jason Paryani
9f935d64f5
Rename _id to typeId
2015-02-19 16:30:48 -08:00
Jason Paryani
82d1fe0550
Add _id field for imported modules
2015-02-19 13:47:31 -08:00
Jason Paryani
17f7e2b273
Handle incoming AnyPointers by transforming them to a byte message
2015-02-19 11:27:37 -08:00
Kenton Varda
933b8cb67d
Add missing files from previous commit.
2015-01-22 15:04:23 -08:00
Kenton Varda
ac8c1a61c2
Update to support building with Ekam.
...
See: https://github.com/sandstorm-io/ekam
This will allow easier integration into the Sandstorm build, without re-publishing the package every time Sandstorm needs a minor change.
2015-01-22 13:25:01 -08:00
Kenton Varda
dc538dd4ce
Update for Cap'n Proto EventPort API change for cross-thread wakeup.
2014-12-08 22:41:08 -08:00
Kenton Varda
fad577c18a
Update for kj::Exception change in Cap'n Proto master.
2014-11-29 00:33:06 -08:00
Kenton Varda
dca1c08575
Fix for recent Cap'n Proto changes.
2014-11-03 20:52:03 -08:00
Kenton Varda
093ff9620f
Bump version number. Previous version incorrectly included prebuilt binary that doesn't work anymore.
2014-11-03 20:31:11 -08:00
Kenton Varda
9c27c9da6b
Bump version number.
2014-10-27 11:58:44 -07:00
Kenton Varda
d5e510c65d
Fix build for recent Cap'n Proto interface change and mostly-support generics.
2014-10-27 11:58:10 -07:00
Kenton Varda
bf2891c2fd
Fix readme.
2014-09-19 19:52:05 -07:00
Kenton Varda
58781fc41e
Bump version.
2014-09-19 19:16:31 -07:00
Kenton Varda
7acd978d7e
Allow Javascript servers to detect when all clients have closed a capability.
2014-09-19 19:15:59 -07:00
Kenton Varda
963018cccf
Plug various leaks of capability references.
...
In all cases, the capabilities would eventually be garbage collected, but if a user explicitly called .close() in hopes of dropping a reference proactively, it could be ignored because a leaked reference still existed.
2014-09-10 22:50:23 -07:00
Kenton Varda
23f7dd3753
Make es6-promise a peer dependency so that users don't end up with two copies of the promise library and instanceof works correctly.
2014-08-15 16:57:22 -07:00
Kenton Varda
890b92fd0a
Merge pull request #2 from jparyani/update-promise
...
Update es6-promise to version 1.0.x and lock it there.
2014-06-26 14:22:31 -07:00
Jason Paryani
29f3d62c94
Update es6-promise to version 1.0.x and lock it there.
...
Also fix `cast` being replaced by `resolve`
2014-06-26 00:26:53 -07:00
Kenton Varda
9b3e84b111
Change copyright to Sandstorm Development Group, Inc. (Kenton's company) and license to MIT, to match recent changes to Cap'n Proto itself.
2014-06-25 20:24:18 -07:00
Kenton Varda
2b3673f1c4
Bump version.
2014-06-25 20:21:34 -07:00
Kenton Varda
e20a38d3f9
Allow Capabilities to be created from Promises, like in C++. Also fix a data corruption bug that could happen if a GC occurred at the wrong time.
2014-06-25 20:19:48 -07:00
Kenton Varda
8308156626
Bump version number for OSX build fix.
2014-04-03 11:40:16 -07:00
Kenton Varda
79db681c8a
Merge pull request #1 from jparyani/fix-osx
...
Add include <sys/uio.h> to fix build on OSX
2014-04-03 11:39:38 -07:00
Jason Paryani
fea6ad3789
Add include <sys/uio.h> to fix build on OSX
2014-04-03 08:00:41 -07:00
Kenton Varda
f74f9e332f
Add contributors file.
2014-04-02 23:23:05 -07:00
Kenton Varda
1b2859ce7e
Hook require() even though the docs say not to.
2014-04-02 23:17:33 -07:00
Kenton Varda
42b1fb77d0
Initial commit.
2014-04-02 22:14:44 -07:00