Find file History
Latest commit 046f66a Jan 31, 2017 @mykmelez mykmelez committed with jasnell src: fix building --without-v8-plartform
* declare v8_platform.platform_ unconditionally

  v8_platform.platform_ is referenced by node::Start
  without regard to the value of NODE_USE_V8_PLATFORM,
  so it should be declared unconditionally, otherwise
  Node fails to compile when !NODE_USE_V8_PLATFORM.

* update v8_platform.StartInspector signature

  The call signature of v8_platform.StartInspector needs
  to be the same whether or not NODE_USE_V8_PLATFORM,
  otherwise Node will fail to compile if HAVE_INSPECTOR
  and !NODE_USE_V8_PLATFORM.

* don't call tracing_agent->Start w/nullptr

  node::tracing::Agent::Start can't accept a nullptr
  argument to its platform parameter, so don't call it
  when Node is compiled with NODE_USE_V8_PLATFORM=0.

* refactor tracing_agent into v8_platform

  Move tracing_agent global into the v8_platform struct,
  renaming it to tracing_agent_; CHECK(tracing_agent_ ==
  nullptr) in StartTracingAgent() to detect double calls;
  and relace another tracing_agent->Stop() call with a call
  to StopTracingAgent().

PR-URL: #11088
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Permalink
..
Failed to load latest commit information.
res etw: add event messages Mar 31, 2016
tracing src: fix TracingController cleanup Jan 7, 2017
CNNICHashWhitelist.inc crypto: Remove expired certs from CNNIC whitelist Feb 3, 2017
StartComAndWoSignData.inc crypto: add cert check issued by StartCom/WoSign Feb 3, 2017
async-wrap-inl.h async_wrap: mode constructor/destructor to .cc Dec 1, 2016
async-wrap.cc async_wrap: clear destroy_ids vector Dec 22, 2016
async-wrap.h async_wrap: call destroy() callback in uv_idle_t Dec 1, 2016
backtrace_posix.cc src: unbreak build when compiling against uclibc Sep 5, 2016
backtrace_win32.cc src: print backtrace on fatal error Jun 29, 2016
base-object-inl.h src: pull OnConnection from pipe_wrap and tcp_wrap Jul 25, 2016
base-object.h src: pull OnConnection from pipe_wrap and tcp_wrap Jul 25, 2016
base64.h string_bytes: Make base64 encode/decode reusable May 23, 2016
cares_wrap.cc dns: implement {ttl: true} for dns.resolve6() Nov 18, 2016
connect_wrap.cc src: unifying PipeConnectWrap and TCPConnectWrap Jul 28, 2016
connect_wrap.h src: unifying PipeConnectWrap and TCPConnectWrap Jul 28, 2016
connection_wrap.cc src: remove unnecessary req_wrap_obj Jan 23, 2017
connection_wrap.h src: pull AfterConnect from pipe_wrap and tcp_wrap Sep 11, 2016
debug-agent.cc inspector: move options parsing Dec 9, 2016
debug-agent.h inspector: move options parsing Dec 9, 2016
env-inl.h async_wrap: close the destroy_ids_idle_handle_ Dec 24, 2016
env.cc async_wrap: call destroy() callback in uv_idle_t Dec 1, 2016
env.h lib,src: support values > 4GB in heap statistics Dec 11, 2016
fs_event_wrap.cc src: remove unneeded ABORT after CHECK Sep 22, 2016
handle_wrap.cc src: rename handle__ to handle_ in HandleWrap Sep 24, 2016
handle_wrap.h src: rename handle__ to handle_ in HandleWrap Sep 24, 2016
inspector_agent.cc inspector: no crash when WS server can't start Jan 20, 2017
inspector_agent.h inspector: move options parsing Dec 9, 2016
inspector_socket.cc inspector: zero out structure members Sep 20, 2016
inspector_socket.h inspector: zero out structure members Sep 20, 2016
inspector_socket_server.cc inspector: no crash when WS server can't start Jan 20, 2017
inspector_socket_server.h inspector: no crash when WS server can't start Jan 20, 2017
js_stream.cc src: no abort from getter if object isn't wrapped May 24, 2016
js_stream.h src: add include guards to internal headers May 25, 2016
node.cc src: fix building --without-v8-plartform Feb 3, 2017
node.d dtrace: add missing translator Feb 3, 2012
node.h src: move trace_event.h include to internal header Jan 26, 2017
node.stp src: remove unused dtrace probes Feb 2, 2015
node_buffer.cc buffer: allow Uint8Array input to methods Dec 21, 2016
node_buffer.h buffer: fix buffer alignment restriction Mar 19, 2016
node_config.cc process: add --redirect-warnings command line argument Jan 30, 2017
node_constants.cc zlib: move constants into zlib.constants Jun 12, 2016
node_constants.h src: add include guards to internal headers May 25, 2016
node_contextify.cc Revert "src: don't overwrite non-writable vm globals" Jan 25, 2017
node_counters.cc src: replace ARRAY_SIZE with typesafe arraysize Apr 5, 2016
node_counters.h src: add include guards to internal headers May 25, 2016
node_crypto.cc crypto: add cert check issued by StartCom/WoSign Feb 3, 2017
node_crypto.h crypto: allow adding extra certs to well-known CAs Nov 23, 2016
node_crypto_bio.cc src: remove unneeded ABORT after CHECK Sep 22, 2016
node_crypto_bio.h src: fix runtime/int cpplint warnings Jun 28, 2016
node_crypto_clienthello-inl.h src: add include guards to internal headers May 25, 2016
node_crypto_clienthello.cc crypto: fix undefined behavior in ParseExtension Jul 11, 2016
node_crypto_clienthello.h crypto: fix undefined behavior in ParseExtension Jul 11, 2016
node_crypto_groups.h src: add include guards to internal headers May 25, 2016
node_debug_options.cc src, inspector: add --inspect-brk option Jan 3, 2017
node_debug_options.h inspector: move options parsing Dec 9, 2016
node_dtrace.cc dtrace: resolve conversion warnings from SLURP_INT Dec 27, 2016
node_dtrace.h src: add include guards to internal headers May 25, 2016
node_file.cc src: speed up module loading, don't resize buffer Oct 24, 2016
node_file.h src: add include guards to internal headers May 25, 2016
node_http_parser.cc src: fix readability/braces cpplint warnings Jun 28, 2016
node_http_parser.h src: add include guards to internal headers May 25, 2016
node_i18n.cc buffer: fix transcode for single-byte enc to ucs2 Dec 6, 2016
node_i18n.h ">url: adding WHATWG URL support Oct 11, 2016
node_internals.h process: add --redirect-warnings command line argument Jan 30, 2017
node_javascript.cc src,tools: speed up startup by 2.5% Oct 25, 2016
node_javascript.h src: add include guards to internal headers May 25, 2016
node_lttng.cc src: replace ARRAY_SIZE with typesafe arraysize Apr 5, 2016
node_lttng.h src: add include guards to internal headers May 25, 2016
node_lttng_provider.h src: add include guards to internal headers May 25, 2016
node_lttng_tp.h src: lint node_lttng_tp.h Jun 28, 2016
node_main.cc src,win: use correct exit code in old versions Aug 30, 2016
node_mutex.h src: use RAII for mutexes and condition variables Jun 21, 2016
node_object_wrap.h src: replace deprecated SetWeak in object_wrap Mar 4, 2016
node_os.cc src: add a missing space in node_os.cc Jan 23, 2017
node_provider.d src: remove unused dtrace probes Feb 2, 2015
node_revert.cc src: avoid compiler warning in node_revert.cc Feb 9, 2016
node_revert.h src: add include guards to internal headers May 25, 2016
node_root_certs.h crypto: update root certificates Jun 23, 2016
node_stat_watcher.cc src: no abort from getter if object isn't wrapped May 24, 2016
node_stat_watcher.h src: fix readability/inheritance cpplint warnings Jun 28, 2016
node_url.cc src: remove usage of V8 deprecated API in node_url.cc Feb 1, 2017
node_url.h ">url: adding WHATWG URL support Oct 11, 2016
node_util.cc buffer: allow Uint8Array input to methods Dec 21, 2016
node_v8.cc lib,src: support values > 4GB in heap statistics Dec 11, 2016
node_version.h src: update NODE_MODULE_VERSION to 52 Jan 26, 2017
node_watchdog.cc watchdog: add flag to mark handler as disabled Dec 23, 2016
node_watchdog.h watchdog: add flag to mark handler as disabled Dec 23, 2016
node_win32_etw_provider-inl.h src: add include guards to internal headers May 25, 2016
node_win32_etw_provider.cc src: check uv_async_init() return value Jun 29, 2016
node_win32_etw_provider.h src: add include guards to internal headers May 25, 2016
node_win32_perfctr_provider.cc src: lint node_win32_perfctr_provider.cc Jun 28, 2016
node_win32_perfctr_provider.h src: add include guards to internal headers May 25, 2016
node_wrap.h src: add include guards to internal headers May 25, 2016
node_zlib.cc zlib: fix raw inflate with custom dictionary Sep 20, 2016
nolttng_macros.py tracing: add lttng support for tracing on linux Feb 9, 2015
notrace_macros.py src: remove unused dtrace probes Feb 2, 2015
perfctr_macros.py windows: add tracing with performance counters Nov 21, 2012
pipe_wrap.cc src: enable writev for pipe handles on Unix Jan 12, 2017
pipe_wrap.h src: pull AfterConnect from pipe_wrap and tcp_wrap Sep 11, 2016
process_wrap.cc src: remove redundant spawn/spawnSync type checks Dec 25, 2016
req-wrap-inl.h src: add include guards to internal headers May 25, 2016
req-wrap.h src: make ReqWrap req_ member private Sep 23, 2016
signal_wrap.cc src: remove unused using decls Aug 8, 2016
spawn_sync.cc child_process: allow Infinity as maxBuffer value Jan 17, 2017
spawn_sync.h child_process: allow Infinity as maxBuffer value Jan 17, 2017
stream_base-inl.h buffer: introduce latin1 encoding term Jun 7, 2016
stream_base.cc stream_base: homogenize req_wrap_obj use Dec 19, 2016
stream_base.h src: make ReqWrap req_ member private Sep 23, 2016
stream_wrap.cc src: provide allocation + nullptr check shortcuts Sep 29, 2016
stream_wrap.h src: add include guards to internal headers May 25, 2016
string_bytes.cc src: fix build for older clang Oct 4, 2016
string_bytes.h src: add include guards to internal headers May 25, 2016
string_search.cc src: fix readability/namespace cpplint warnings Jun 28, 2016
string_search.h src: remove obsolete NOLINT comments Jun 28, 2016
tcp_wrap.cc src: make ReqWrap req_ member private Sep 23, 2016
tcp_wrap.h src: pull AfterConnect from pipe_wrap and tcp_wrap Sep 11, 2016
timer_wrap.cc timers: remove unused repeat param in timer_wrap Aug 9, 2016
tls_wrap.cc src: provide allocation + nullptr check shortcuts Sep 29, 2016
tls_wrap.h src: remove unused data member write_queue_size_ Jun 29, 2016
tree.h dns: don't rely on libuv for c-ares integration Aug 6, 2012
tty_wrap.cc src: remove unused using decls Aug 8, 2016
tty_wrap.h src: add include guards to internal headers May 25, 2016
udp_wrap.cc src: remove out-of-date TODO comment Oct 10, 2016
udp_wrap.h src: remove unused function declaration Oct 3, 2016
util-inl.h src: squelch unused function warnings in util.h Nov 18, 2016
util.cc src: notify V8 for low memory when alloc fails Sep 29, 2016
util.h src: squelch unused function warnings in util.h Nov 18, 2016
uv.cc src: remove unused using decls Aug 8, 2016
v8abbr.h src: lint v8abbr.h Jun 28, 2016
v8ustack.d dtrace: fix ustack helper for V8 5.1 Jun 29, 2016