Yosuke Furukawa
400d6e56f9
doc: fix libuv link
...
PR-URL: https://github.com/iojs/io.js/pull/803
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2015-02-11 17:01:22 +01:00
Ben Noordhuis
789bbb91d3
doc: update node.js references in api docs
...
Fixes: https://github.com/iojs/io.js/issues/740
PR-URL: https://github.com/iojs/io.js/pull/750
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2015-02-07 17:07:15 -05:00
C. Scott Ananian
08a5b442e4
node: add signature to SET_PROTOTYPE_METHOD
...
This prevents segfaults when a native method is reassigned to a
different object (which corrupts args.This()). When unwrapping,
clients should use args.Holder() instead of args.This().
Closes #6690 .
Signed-off-by: Trevor Norris <trev.norris@gmail.com>
2014-04-02 01:48:34 -07:00
Ben Noordhuis
1f17f88071
src, test: fix up ObjectWrap, `make test-addons`
...
V8 was upgraded from 3.22 to 3.24 in commit 1c7bf24
. Upgrade source
files in test/addons/ and automatically generated tests from
doc/api/addons.markdown to the new V8 API.
This coincidentally fixes a bug in src/node_object_wrap.h where it was
still using the old V8 weak persistent handle interface, which is gone
in 3.24.
2014-03-14 00:41:04 +04:00
Fedor Indutny
1442c1c6de
addons: build and test examples
...
fix #6910
2014-01-22 00:39:13 +04:00
Scott Blomquist
a9a53ca05a
doc: Update documentation to reflect ObjectWrap changes
2013-10-29 14:53:03 -07:00
Timothy J Fontaine
61ccaf9a97
Merge remote-tracking branch 'upstream/v0.10'
...
Conflicts:
ChangeLog
deps/uv/ChangeLog
deps/uv/include/uv-darwin.h
deps/uv/src/unix/fsevents.c
deps/uv/src/unix/process.c
deps/uv/src/version.c
doc/api/addons.markdown
doc/api/cluster.markdown
doc/api/http.markdown
lib/http.js
lib/tls.js
src/node_crypto.cc
src/node_http_parser.cc
src/node_version.h
src/pipe_wrap.cc
src/v8abbr.h
src/v8ustack.d
test/simple/test-http-pipeline-flood.js
2013-10-25 11:26:05 -07:00
Ben Noordhuis
51cdce8322
doc: addon: fix object instantiation examples
...
* Extend examples to show how to handle non-constructor invocation in
constructor callback functions.
* Fix up examples to initialize member variables at object construction.
* Fix up a few naming inconsistencies.
Fixes #5701 .
2013-10-10 14:09:39 +02:00
Rod Vagg
d3b06f19cb
doc: cleanup addons code, fix isolate positioning
...
isolate declaration global and above `using namespace v8`
removed BUILDING_NODE_EXTENSION and tidied up code
2013-06-18 12:12:10 +02:00
Rod Vagg
98aad77f46
doc: cleanup addons docs for 80 char lines
2013-06-18 12:05:36 +02:00
isaacs
97c70a6628
Merge remote-tracking branch 'ry/v0.10'
...
Conflicts:
src/node.cc
src/node_version.h
2013-03-28 13:11:04 -07:00
Benjamin Ruston
372911ffc7
doc: addon: fix grammar
2013-03-27 12:37:54 +01:00
Trevor Norris
da4d79ac47
docs: show how to use Isolate
...
Part of the 3.17 update is to pass the isolate as an argument. The addon
docs have been updated with this usage.
2013-03-20 01:11:02 +01:00
isaacs
bdc7251b64
doc: fix line wrapping in addons.markdown
2013-01-25 14:27:46 -08:00
Rod Vagg
f210710795
doc: NODE_MODULE() to pass full `module` to addons
...
mainly to allow native addons to export single functions on `exports`
rather than being restricted to operating on an existing `exports`
object.
added link to addons repo in docs
2013-01-25 14:26:52 -08:00
Jeroen Janssen
1fc2c3823c
doc: updated JavaScript casing where relevant
...
Fixes #3326 .
2012-05-26 19:34:13 +09:00
Zachary Scott
46acb09ed8
docs: rewrite "addons" docs to use node-gyp
...
Closes #3100 .
Closes #3101 .
2012-04-12 18:32:01 -07:00
isaacs
24a2706a3b
doc refactor: addons
2012-02-27 11:14:31 -08:00
Artur Adib
e282c0a081
docs: document common add-on design patterns
2012-01-19 16:31:36 +01:00
Ryan Dahl
d85c85aac1
Change 'real example' in addon doc
2011-12-23 15:10:22 -08:00
Roman Shtylman
1c62e807e1
doc: add note about NODE_MODULE module_name requirement
...
module_name needs to match the final binary name
2011-11-28 20:52:40 +01:00
Artur Adib
960ccdc72c
docs: clarify addon docs
2011-11-17 13:15:49 +01:00
Ben Noordhuis
26874e2e07
docs: addons: fix example
2011-10-30 17:15:10 +01:00
Ben Noordhuis
004e6fbe1f
docs: addons: fix NODE_SET_METHOD example
2011-10-28 22:36:55 +02:00
Fedor Indutny
178e2ce65f
docs: improve addons, readline, repl documentation
2011-10-11 21:44:09 +02:00
koichik
db6ea10948
Correct some links
2011-03-07 10:17:54 -08:00
Ryan Dahl
45adc907c9
ry/node -> joyent/node
2011-02-23 16:38:34 -08:00
Kai Chen
b2fd88ef7a
correct some inline links in api document
2010-12-22 19:49:04 -08:00
Silas Sewell
11b2ee7632
Various doc tweaks (2-spaces vs tabs, EOL-whitespace, repl prompt, "world" vs "World", etc...)
2010-11-21 14:33:09 -08:00
Oleg Efimov
8b980d729c
Fix line wrapping in docs. Add tics for constants in docs text.
2010-11-18 15:41:15 -08:00
Micheil Smith
e190c9616e
Splitting documentation
2010-10-28 14:59:15 -07:00