0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/src
Fedor Indutny 291b310e21 stream_base: various improvements
Expose and use in TLSWrap an `v8::External` wrap of the
`StreamBase*` pointer instead of guessing the ancestor C++ class in
`node_wrap.h`.

Make use of `StreamBase::Callback` structure for storing/passing both
callback and context in a single object.

Introduce `GetObject()` for future user-land usage, when a child class
is not going to be inherited from AsyncWrap.

PR-URL: https://github.com/nodejs/node/pull/2351
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
2015-08-20 01:14:37 -07:00
..
res build: update manifest to include Windows 10 2015-08-09 10:22:52 +02:00
async-wrap-inl.h async-wrap: add provider id and object info cb 2015-06-17 12:58:39 -06:00
async-wrap.cc deps: update v8 to 4.4.63.9 2015-08-04 11:56:14 -07:00
async-wrap.h async-wrap: add provider id and object info cb 2015-06-17 12:58:39 -06:00
base-object-inl.h Revert "core: set PROVIDER type as Persistent class id" 2015-05-28 21:48:44 +02:00
base-object.h Revert "core: set PROVIDER type as Persistent class id" 2015-05-28 21:48:44 +02:00
cares_wrap.cc async-wrap: add provider id and object info cb 2015-06-17 12:58:39 -06:00
CNNICHashWhitelist.inc crypto: add cert check to CNNIC Whitelist 2015-06-16 23:26:29 +09:00
debug-agent.cc src: switch from QUEUE to intrusive list 2015-02-11 23:06:29 +01:00
debug-agent.h src: switch from QUEUE to intrusive list 2015-02-11 23:06:29 +01:00
env-inl.h deps: upgrade v8 to 4.4.63.12 2015-08-04 11:56:15 -07:00
env.cc core: implement runtime flag to trace sync io 2015-05-18 10:05:32 -06:00
env.h stream_base: various improvements 2015-08-20 01:14:37 -07:00
fs_event_wrap.cc async-wrap: add provider id and object info cb 2015-06-17 12:58:39 -06:00
handle_wrap.cc timers: make Timer.close idempotent 2015-03-27 20:50:09 +02:00
handle_wrap.h src: switch from QUEUE to intrusive list 2015-02-11 23:06:29 +01:00
js_stream.cc src: introduce internal Buffer::Copy() function 2015-08-13 20:04:56 +02:00
js_stream.h async-wrap: add provider id and object info cb 2015-06-17 12:58:39 -06:00
node_buffer.cc src: better error message on failed Buffer malloc 2015-08-18 13:51:05 +02:00
node_buffer.h src: move internal functions out of node_buffer.h 2015-08-13 20:04:54 +02:00
node_constants.cc Remove excessive copyright/license boilerplate 2015-01-12 15:30:28 -08:00
node_constants.h Remove excessive copyright/license boilerplate 2015-01-12 15:30:28 -08:00
node_contextify.cc vm: fix symbol access 2015-08-04 11:56:11 -07:00
node_counters.cc Remove excessive copyright/license boilerplate 2015-01-12 15:30:28 -08:00
node_counters.h src: fix -Wempty-body compiler warnings 2015-03-05 20:08:30 +01:00
node_crypto_bio.cc node_crypto_bio: adjust external memory size 2015-03-08 19:07:46 -04:00
node_crypto_bio.h src: fix crypto bio integer wraparound on 32 bits 2015-03-18 20:06:20 +01:00
node_crypto_clienthello-inl.h Remove excessive copyright/license boilerplate 2015-01-12 15:30:28 -08:00
node_crypto_clienthello.cc build,src: remove sslv3 support 2015-01-13 01:59:30 +01:00
node_crypto_clienthello.h Remove excessive copyright/license boilerplate 2015-01-12 15:30:28 -08:00
node_crypto_groups.h Remove excessive copyright/license boilerplate 2015-01-12 15:30:28 -08:00
node_crypto.cc crypto: check for OpenSSL errors when signing 2015-08-17 21:38:12 -07:00
node_crypto.h tls: introduce internal onticketkeycallback 2015-08-08 07:16:58 +09:00
node_dtrace.cc make: remove node_dtrace from cpplint excludes 2015-03-16 16:20:16 -04:00
node_dtrace.h Remove excessive copyright/license boilerplate 2015-01-12 15:30:28 -08:00
node_file.cc src: don't use fopen() in require() fast path 2015-08-17 20:17:55 +02:00
node_file.h Remove excessive copyright/license boilerplate 2015-01-12 15:30:28 -08:00
node_http_parser.cc src: fix -Wmissing-field-initializers warning 2015-05-04 13:59:31 +02:00
node_http_parser.h Remove excessive copyright/license boilerplate 2015-01-12 15:30:28 -08:00
node_i18n.cc Remove excessive copyright/license boilerplate 2015-01-12 15:30:28 -08:00
node_i18n.h src: hide InitializeICUDirectory symbol 2015-06-02 21:44:18 +02:00
node_internals.h src: rename Buffer::Use() to Buffer::New() 2015-08-13 20:04:58 +02:00
node_javascript.cc Remove excessive copyright/license boilerplate 2015-01-12 15:30:28 -08:00
node_javascript.h Remove excessive copyright/license boilerplate 2015-01-12 15:30:28 -08:00
node_lttng_provider.h tracing: add lttng support for tracing on linux 2015-02-09 18:06:57 +01:00
node_lttng_tp.h tracing: add lttng support for tracing on linux 2015-02-09 18:06:57 +01:00
node_lttng.cc tracing: add lttng support for tracing on linux 2015-02-09 18:06:57 +01:00
node_lttng.h tracing: add lttng support for tracing on linux 2015-02-09 18:06:57 +01:00
node_main.cc Remove excessive copyright/license boilerplate 2015-01-12 15:30:28 -08:00
node_object_wrap.h doc: multiple documentation updates cherry picked from v0.12 2015-08-05 08:44:55 -07:00
node_os.cc os: add homedir() 2015-06-05 22:58:14 -04:00
node_provider.d src: remove unused dtrace probes 2015-02-02 21:55:56 +01:00
node_root_certs.h crypto: update root certificates 2015-06-02 19:28:14 +02:00
node_stat_watcher.cc Remove excessive copyright/license boilerplate 2015-01-12 15:30:28 -08:00
node_stat_watcher.h async-wrap: add provider id and object info cb 2015-06-17 12:58:39 -06:00
node_v8.cc src: add total_available_size to v8 statistics 2015-08-11 22:51:50 +02:00
node_version.h Working on v4.0.0 2015-08-05 00:37:02 -07:00
node_watchdog.cc watchdog: fix timeout for early polling return 2015-01-28 09:52:45 +11:00
node_watchdog.h Remove excessive copyright/license boilerplate 2015-01-12 15:30:28 -08:00
node_win32_etw_provider-inl.h dtrace: fix removal of unused probes 2015-02-03 22:37:42 +11:00
node_win32_etw_provider.cc Remove excessive copyright/license boilerplate 2015-01-12 15:30:28 -08:00
node_win32_etw_provider.h src: remove unused dtrace probes 2015-02-02 21:55:56 +01:00
node_win32_perfctr_provider.cc Remove excessive copyright/license boilerplate 2015-01-12 15:30:28 -08:00
node_win32_perfctr_provider.h Remove excessive copyright/license boilerplate 2015-01-12 15:30:28 -08:00
node_wrap.h stream_base: various improvements 2015-08-20 01:14:37 -07:00
node_zlib.cc async-wrap: add provider id and object info cb 2015-06-17 12:58:39 -06:00
node.cc src: fix memory leak in DLOpen 2015-08-17 21:22:49 +02:00
node.d
node.h src: export the ParseEncoding function on Windows 2015-05-07 12:30:12 -04:00
node.js events: deprecate static listenerCount function 2015-08-20 03:17:08 +05:30
node.stp src: remove unused dtrace probes 2015-02-02 21:55:56 +01:00
nolttng_macros.py tracing: add lttng support for tracing on linux 2015-02-09 18:06:57 +01:00
notrace_macros.py src: remove unused dtrace probes 2015-02-02 21:55:56 +01:00
perfctr_macros.py
pipe_wrap.cc async-wrap: add provider id and object info cb 2015-06-17 12:58:39 -06:00
pipe_wrap.h async-wrap: add provider id and object info cb 2015-06-17 12:58:39 -06:00
process_wrap.cc async-wrap: add provider id and object info cb 2015-06-17 12:58:39 -06:00
req-wrap-inl.h src: switch from QUEUE to intrusive list 2015-02-11 23:06:29 +01:00
req-wrap.h src: switch from QUEUE to intrusive list 2015-02-11 23:06:29 +01:00
signal_wrap.cc async-wrap: add provider id and object info cb 2015-06-17 12:58:39 -06:00
spawn_sync.cc buffer: switch API to return MaybeLocal<T> 2015-08-04 11:56:11 -07:00
spawn_sync.h src: fix minor inefficiency in Buffer::New() call 2015-05-05 00:41:59 +02:00
stream_base-inl.h stream_base: various improvements 2015-08-20 01:14:37 -07:00
stream_base.cc stream_base: various improvements 2015-08-20 01:14:37 -07:00
stream_base.h stream_base: various improvements 2015-08-20 01:14:37 -07:00
stream_wrap.cc stream_base: various improvements 2015-08-20 01:14:37 -07:00
stream_wrap.h stream_base: .writev() has limited support 2015-02-28 16:50:36 -06:00
string_bytes.cc buffer: make additional changes to native API 2015-08-04 11:56:11 -07:00
string_bytes.h src: remove NODE_INVALID_UTF8 environment variable 2015-03-05 20:44:18 +01:00
tcp_wrap.cc async-wrap: add provider id and object info cb 2015-06-17 12:58:39 -06:00
tcp_wrap.h async-wrap: add provider id and object info cb 2015-06-17 12:58:39 -06:00
timer_wrap.cc timers: improve Timer.now() performance 2015-07-28 00:13:30 +02:00
tls_wrap.cc stream_base: various improvements 2015-08-20 01:14:37 -07:00
tls_wrap.h tls: fix throughput issues after incorrect merge 2015-08-17 18:50:53 -07:00
tree.h
tty_wrap.cc tty: do not add shutdown method to handle 2015-03-05 13:38:22 -05:00
tty_wrap.h async-wrap: add provider id and object info cb 2015-06-17 12:58:39 -06:00
udp_wrap.cc src: rename Buffer::Use() to Buffer::New() 2015-08-13 20:04:58 +02:00
udp_wrap.h async-wrap: add provider id and object info cb 2015-06-17 12:58:39 -06:00
util-inl.h deps: update v8 to 4.4.63.9 2015-08-04 11:56:14 -07:00
util.cc src: fix deprecation warnings 2015-04-30 01:05:32 +02:00
util.h deps: update v8 to 4.4.63.9 2015-08-04 11:56:14 -07:00
uv.cc Remove excessive copyright/license boilerplate 2015-01-12 15:30:28 -08:00
v8abbr.h v8abbr: ASCIISTRINGTAG => ONEBYTESTRINGTAG 2015-02-03 19:25:31 +03:00
v8ustack.d dtrace: backport two byte string fix 2013-10-09 08:49:39 -07:00