0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/src
Joyee Cheung 48f9b36459
src: move node::errno_string into node_errors.h/cc
Move `node::errno_string` into node_errors.h/cc and move it into
the `node:errors` namespace to reduce the size of the header.
It's not on any performance-critical code path so does not need
to be inlined.

PR-URL: https://github.com/nodejs/node/pull/25396
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
2019-01-14 18:03:22 +01:00
..
inspector src: introduce DCHECK macro 2018-12-26 12:25:32 -05:00
large_pages src: fix fully-static & large-pages combination 2018-10-31 18:43:53 -04:00
res
tracing src: trace_events: fix race with metadata events 2019-01-08 00:43:48 +01:00
aliased_buffer.h src: introduce DCHECK macro 2018-12-26 12:25:32 -05:00
async_wrap-inl.h
async_wrap.cc src: schedule destroy hooks in BeforeExit early during bootstrap 2018-12-18 10:56:49 -08:00
async_wrap.h src: schedule destroy hooks in BeforeExit early during bootstrap 2018-12-18 10:56:49 -08:00
base64.h
base_object-inl.h src: introduce DCHECK macro 2018-12-26 12:25:32 -05:00
base_object.h
callback_scope.cc src: move InternalMakeCallback and MakeCallback 2019-01-09 05:49:29 +01:00
cares_wrap.cc src: fix warning in cares_wrap.cc 2018-12-31 11:39:00 -05:00
connect_wrap.cc
connect_wrap.h
connection_wrap.cc
connection_wrap.h
debug_utils.cc src: port GetLoadedLibraries for freebsd 2018-12-20 12:16:11 +05:30
debug_utils.h src: use DCHECK_* macros where possible 2018-12-26 12:25:19 -05:00
env-inl.h src: refactor tickInfo access 2019-01-06 10:28:44 +08:00
env.cc src: move node::errno_string into node_errors.h/cc 2019-01-14 18:03:22 +01:00
env.h src: initialize Environment members in class definition 2019-01-09 00:47:35 +01:00
exceptions.cc src: move node::errno_string into node_errors.h/cc 2019-01-14 18:03:22 +01:00
fs_event_wrap.cc src: fix type mismatch warnings from missing priv 2018-12-03 19:44:15 -08:00
handle_wrap.cc
handle_wrap.h
heap_utils.cc src: fix type mismatch warnings from missing priv 2018-12-03 19:44:15 -08:00
http_parser_adaptor.h deps: introduce llhttp 2018-11-10 17:54:21 -05:00
inspector_agent.cc process: move C++ process events into node_process_events.cc 2019-01-11 20:11:56 +08:00
inspector_agent.h inspector: split the HostPort being used and the one parsed from CLI 2018-12-09 06:26:53 +08:00
inspector_io.cc inspector: split the HostPort being used and the one parsed from CLI 2018-12-09 06:26:53 +08:00
inspector_io.h inspector: split the HostPort being used and the one parsed from CLI 2018-12-09 06:26:53 +08:00
inspector_js_api.cc inspector: move process.binding to internalBinding 2018-12-13 05:30:51 +01:00
inspector_socket_server.cc
inspector_socket_server.h
inspector_socket.cc http: switch default parser to llhttp 2018-12-09 21:57:39 +01:00
inspector_socket.h
js_native_api_types.h src: factor out Node.js-agnostic N-APIs 2018-11-17 14:38:51 -08:00
js_native_api_v8_internals.h src: add include for standalone compile 2018-11-21 16:37:59 -08:00
js_native_api_v8.cc src: use Local version of ToBoolean() 2018-12-11 16:00:22 -05:00
js_native_api_v8.h n-api: handle reference delete before finalize 2018-11-23 10:01:54 -05:00
js_native_api.h src: add NAPI_VERSION_EXPERIMENTAL 2019-01-04 16:48:56 -05:00
js_stream.cc src: fix type mismatch warnings from missing priv 2018-12-03 19:44:15 -08:00
js_stream.h src: fix type mismatch warnings from missing priv 2018-12-03 19:44:15 -08:00
memory_tracker-inl.h
memory_tracker.h src: bundle persistent-to-local methods as class 2018-11-13 05:27:40 +01:00
module_wrap.cc src: pass along MaybeLocal<> state from URL::ToObject() 2018-12-31 01:10:36 +01:00
module_wrap.h src: fix type mismatch warnings from missing priv 2018-12-03 19:44:15 -08:00
node_api_types.h src: factor out Node.js-agnostic N-APIs 2018-11-17 14:38:51 -08:00
node_api.cc src: move C++ binding/addon related code into node_binding{.h, .cc} 2018-11-30 20:14:24 -08:00
node_api.h src: factor out Node.js-agnostic N-APIs 2018-11-17 14:38:51 -08:00
node_binding.cc src: move process.nextTick and promise setup into node_task_queue.cc 2018-12-24 07:57:15 +08:00
node_binding.h src: unload addons when environment quits 2018-12-19 18:35:38 -08:00
node_buffer.cc buffer: move initialization of buffer prototype into node.js 2019-01-10 16:59:24 +08:00
node_buffer.h
node_code_cache_stub.cc src: remove code cache integrity check 2018-12-18 18:02:08 +08:00
node_config.cc worker: remove --experimental-worker flag 2019-01-09 00:31:33 +01:00
node_constants.cc src: move per-process global variables into node::per_process 2019-01-08 00:28:16 +01:00
node_constants.h
node_context_data.h
node_contextify.cc src: fix type mismatch warnings from missing priv 2018-12-03 19:44:15 -08:00
node_contextify.h src: remove unused method declaration 2019-01-07 08:40:42 +01:00
node_credentials.cc src: move per-process global variables into node::per_process 2019-01-08 00:28:16 +01:00
node_crypto_bio.cc
node_crypto_bio.h
node_crypto_clienthello-inl.h tls: remove unused ocsp extension parsing 2018-12-28 12:57:24 -08:00
node_crypto_clienthello.cc tls: remove unused ocsp extension parsing 2018-12-28 12:57:24 -08:00
node_crypto_clienthello.h tls: remove unused ocsp extension parsing 2018-12-28 12:57:24 -08:00
node_crypto_groups.h
node_crypto.cc src: declare process-related C++ methods in node_process.h 2019-01-11 20:11:55 +08:00
node_crypto.h crypto: add key object API 2018-12-24 14:50:16 +01:00
node_domain.cc src: fix type mismatch warnings from missing priv 2018-12-03 19:44:15 -08:00
node_dtrace.cc src: fix v8 compiler warnings in src 2018-11-11 08:02:30 +01:00
node_dtrace.h
node_encoding.cc
node_env_var.cc src: declare process-related C++ methods in node_process.h 2019-01-11 20:11:55 +08:00
node_errors.cc src: move node::errno_string into node_errors.h/cc 2019-01-14 18:03:22 +01:00
node_errors.h src: move node::errno_string into node_errors.h/cc 2019-01-14 18:03:22 +01:00
node_file.cc src: declare process-related C++ methods in node_process.h 2019-01-11 20:11:55 +08:00
node_file.h src: clean clang-tidy errors in node_file.h 2018-10-24 11:52:29 -04:00
node_http2_state.h
node_http2.cc src: use isolate version of BooleanValue() 2018-12-08 22:42:05 -08:00
node_http2.h
node_http_parser_impl.h src: move per-process global variables into node::per_process 2019-01-08 00:28:16 +01:00
node_http_parser_llhttp.cc src: move the declaration of http parser versions into node_metadata.h 2018-12-21 07:46:30 +08:00
node_http_parser_traditional.cc src: move the declaration of http parser versions into node_metadata.h 2018-12-21 07:46:30 +08:00
node_i18n.cc src: initialize ICU version in per_process::metadata.versions 2018-12-21 07:46:47 +08:00
node_i18n.h
node_internals.h src: move node::errno_string into node_errors.h/cc 2019-01-14 18:03:22 +01:00
node_main.cc process: move POSIX credential accessors into node_credentials.cc 2018-12-19 02:44:03 +08:00
node_messaging.cc src: declare process-related C++ methods in node_process.h 2019-01-11 20:11:55 +08:00
node_messaging.h worker: enable transferring WASM modules 2019-01-06 00:54:13 +01:00
node_metadata.cc src: move arch, platform and release into node_metadata.cc 2019-01-06 10:44:57 +08:00
node_metadata.h src: move arch, platform and release into node_metadata.cc 2019-01-06 10:44:57 +08:00
node_mutex.h
node_native_module.cc src: simplify NativeModule caching and remove redundant data 2019-01-12 22:56:02 +08:00
node_native_module.h src: simplify NativeModule caching and remove redundant data 2019-01-12 22:56:02 +08:00
node_object_wrap.h
node_options-inl.h src: add kUInteger parsing 2018-12-20 09:31:52 -05:00
node_options.cc worker: remove --experimental-worker flag 2019-01-09 00:31:33 +01:00
node_options.h worker: remove --experimental-worker flag 2019-01-09 00:31:33 +01:00
node_os.cc os: improve networkInterfaces() performance 2019-01-14 07:42:27 +01:00
node_perf_common.h perf_hooks: make GC tracking state per-Environment 2018-12-17 02:29:10 +01:00
node_perf.cc perf_hooks: make GC tracking state per-Environment 2018-12-17 02:29:10 +01:00
node_perf.h
node_persistent.h src: bundle persistent-to-local methods as class 2018-11-13 05:27:40 +01:00
node_platform.cc
node_platform.h
node_postmortem_metadata.cc src: mark some global state as const 2018-12-16 20:21:45 -08:00
node_process_events.cc process: move C++ process events into node_process_events.cc 2019-01-11 20:11:56 +08:00
node_process_methods.cc src: declare process-related C++ methods in node_process.h 2019-01-11 20:11:55 +08:00
node_process_object.cc src: declare process-related C++ methods in node_process.h 2019-01-11 20:11:55 +08:00
node_process.h process: move C++ process events into node_process_events.cc 2019-01-11 20:11:56 +08:00
node_provider.d
node_revert.h src: move per-process global variables into node::per_process 2019-01-08 00:28:16 +01:00
node_root_certs.h crypto: update root certificates 2018-12-21 15:54:43 +01:00
node_serdes.cc v8: enable inline WASM in serialization API 2019-01-06 00:52:57 +01:00
node_stat_watcher.cc src: fix v8 compiler warnings in src 2018-11-11 08:02:30 +01:00
node_stat_watcher.h
node_symbols.cc src: move symbols binding into node_symbols.cc 2018-12-24 07:57:13 +08:00
node_task_queue.cc src: remove unused isolate variable 2019-01-06 19:43:19 +01:00
node_trace_events.cc trace_events: move SetupTraceCategoryState into node_trace_events.cc 2018-12-21 16:48:25 +08:00
node_types.cc src: fix type mismatch warnings from missing priv 2018-12-03 19:44:15 -08:00
node_union_bytes.h process: specialize building and storage of process.config 2018-12-11 06:40:09 +08:00
node_url.cc src: simplify JS Array creation 2019-01-02 14:46:14 +01:00
node_url.h src: pass along MaybeLocal<> state from URL::ToObject() 2018-12-31 01:10:36 +01:00
node_util.cc process: move eval and exception bootstrap ito process/execution.js 2018-12-31 14:19:48 +08:00
node_v8.cc src: fix type mismatch warnings from missing priv 2018-12-03 19:44:15 -08:00
node_version.h src: update NODE_MODULE_VERSION to 68 2018-12-06 15:25:10 +01:00
node_watchdog.cc src: do not alias new and old signal masks 2018-12-07 10:13:51 -08:00
node_watchdog.h
node_win32_etw_provider-inl.h
node_win32_etw_provider.cc
node_win32_etw_provider.h
node_worker.cc inspector: split the HostPort being used and the one parsed from CLI 2018-12-09 06:26:53 +08:00
node_worker.h
node_zlib.cc zlib: add brotli support 2019-01-05 21:36:46 +01:00
node.cc src: dispose of V8 platform in process.exit() 2019-01-12 20:10:04 +01:00
node.d
node.h src: fix Set() usage in node.h 2018-11-07 12:29:37 -05:00
node.stp
notrace_macros.py test: do not lint macros files (again) 2018-12-11 12:16:40 +01:00
pipe_wrap.cc src: fix type mismatch warnings from missing priv 2018-12-03 19:44:15 -08:00
pipe_wrap.h src: fix type mismatch warnings from missing priv 2018-12-03 19:44:15 -08:00
process_wrap.cc src: fix type mismatch warnings from missing priv 2018-12-03 19:44:15 -08:00
req_wrap-inl.h
req_wrap.h
sharedarraybuffer_metadata.cc worker: use engine-provided deleter for SharedArrayBuffers 2019-01-03 23:44:52 +01:00
sharedarraybuffer_metadata.h worker: use engine-provided deleter for SharedArrayBuffers 2019-01-03 23:44:52 +01:00
signal_wrap.cc src: declare process-related C++ methods in node_process.h 2019-01-11 20:11:55 +08:00
spawn_sync.cc src: use isolate version of BooleanValue() 2018-12-08 22:42:05 -08:00
spawn_sync.h src: fix type mismatch warnings from missing priv 2018-12-03 19:44:15 -08:00
stream_base-inl.h src: add DCHECK macros 2018-12-24 10:41:15 +01:00
stream_base.cc src: add DCHECK macros 2018-12-24 10:41:15 +01:00
stream_base.h src: improve StreamBase write throughput 2018-10-28 15:15:15 +01:00
stream_pipe.cc src: fix type mismatch warnings from missing priv 2018-12-03 19:44:15 -08:00
stream_pipe.h
stream_wrap.cc src: fix type mismatch warnings from missing priv 2018-12-03 19:44:15 -08:00
stream_wrap.h src: fix type mismatch warnings from missing priv 2018-12-03 19:44:15 -08:00
string_bytes.cc
string_bytes.h src: fulfill Maybe contract in InlineDecoder 2018-12-30 20:15:39 +01:00
string_decoder-inl.h
string_decoder.cc src: introduce DCHECK macro 2018-12-26 12:25:32 -05:00
string_decoder.h
string_search.h src: remove unused variable from string_search.h 2018-12-30 19:45:14 -08:00
tcp_wrap.cc src: extract common Bind method 2018-12-17 16:40:39 -05:00
tcp_wrap.h src: extract common Bind method 2018-12-17 16:40:39 -05:00
timers.cc src: fix type mismatch warnings from missing priv 2018-12-03 19:44:15 -08:00
tls_wrap.cc src: add .code and SSL specific error properties 2018-12-27 14:28:33 -08:00
tls_wrap.h src: fix type mismatch warnings from missing priv 2018-12-03 19:44:15 -08:00
tty_wrap.cc src: fix type mismatch warnings from missing priv 2018-12-03 19:44:15 -08:00
tty_wrap.h src: fix type mismatch warnings from missing priv 2018-12-03 19:44:15 -08:00
udp_wrap.cc src: fix type mismatch warnings from missing priv 2018-12-03 19:44:15 -08:00
udp_wrap.h src: fix type mismatch warnings from missing priv 2018-12-03 19:44:15 -08:00
util-inl.h src: improve ToV8Value() functions 2019-01-02 14:46:13 +01:00
util.cc src: use generic helper for splitting strings 2019-01-09 00:26:01 +01:00
util.h src: use generic helper for splitting strings 2019-01-09 00:26:01 +01:00
uv.cc src: declare process-related C++ methods in node_process.h 2019-01-11 20:11:55 +08:00
v8abbr.h src: update postmortem constant 2018-12-06 15:25:59 +01:00
v8ustack.d