Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

src: rename async-wrap -> async_wrap #17022

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions node.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@
],

'sources': [
'src/async-wrap.cc',
'src/async_wrap.cc',
'src/cares_wrap.cc',
'src/connection_wrap.cc',
'src/connect_wrap.cc',
Expand Down Expand Up @@ -245,10 +245,10 @@
'src/uv.cc',
# headers to make for a more pleasant IDE experience
'src/aliased_buffer.h',
'src/async-wrap.h',
'src/async-wrap-inl.h',
'src/base-object.h',
'src/base-object-inl.h',
'src/async_wrap.h',
'src/async_wrap-inl.h',
'src/base_object.h',
'src/base_object-inl.h',
'src/connection_wrap.h',
'src/connect_wrap.h',
'src/env.h',
Expand Down Expand Up @@ -280,8 +280,8 @@
'src/tty_wrap.h',
'src/tcp_wrap.h',
'src/udp_wrap.h',
'src/req-wrap.h',
'src/req-wrap-inl.h',
'src/req_wrap.h',
'src/req_wrap-inl.h',
'src/string_bytes.h',
'src/stream_base.h',
'src/stream_base-inl.h',
Expand Down Expand Up @@ -837,7 +837,7 @@
'conditions': [
['node_target_type!="static_library"', {
'libraries': [
'<(OBJ_PATH)<(OBJ_SEPARATOR)async-wrap.<(OBJ_SUFFIX)',
'<(OBJ_PATH)<(OBJ_SEPARATOR)async_wrap.<(OBJ_SUFFIX)',
'<(OBJ_PATH)<(OBJ_SEPARATOR)env.<(OBJ_SUFFIX)',
'<(OBJ_PATH)<(OBJ_SEPARATOR)node.<(OBJ_SUFFIX)',
'<(OBJ_PATH)<(OBJ_SEPARATOR)node_buffer.<(OBJ_SUFFIX)',
Expand Down
4 changes: 2 additions & 2 deletions src/async-wrap-inl.h → src/async_wrap-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@

#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS

#include "async-wrap.h"
#include "base-object-inl.h"
#include "async_wrap.h"
#include "base_object-inl.h"
#include "node_internals.h"

namespace node {
Expand Down
2 changes: 1 addition & 1 deletion src/async-wrap.cc → src/async_wrap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
// USE OR OTHER DEALINGS IN THE SOFTWARE.

#include "async-wrap-inl.h"
#include "async_wrap-inl.h"
#include "env-inl.h"
#include "util-inl.h"

Expand Down
2 changes: 1 addition & 1 deletion src/async-wrap.h → src/async_wrap.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS

#include "base-object.h"
#include "base_object.h"
#include "v8.h"

#include <stdint.h>
Expand Down
2 changes: 1 addition & 1 deletion src/base-object-inl.h → src/base_object-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS

#include "base-object.h"
#include "base_object.h"
#include "env-inl.h"
#include "util-inl.h"
#include "v8.h"
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/cares_wrap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@

#define CARES_STATICLIB
#include "ares.h"
#include "async-wrap-inl.h"
#include "async_wrap-inl.h"
#include "env-inl.h"
#include "node.h"
#include "req-wrap-inl.h"
#include "req_wrap-inl.h"
#include "util-inl.h"
#include "uv.h"

Expand Down
2 changes: 1 addition & 1 deletion src/connect_wrap.cc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "connect_wrap.h"

#include "env-inl.h"
#include "req-wrap-inl.h"
#include "req_wrap-inl.h"
#include "util-inl.h"

namespace node {
Expand Down
4 changes: 2 additions & 2 deletions src/connect_wrap.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS

#include "env.h"
#include "req-wrap.h"
#include "async-wrap.h"
#include "req_wrap.h"
#include "async_wrap.h"
#include "v8.h"

namespace node {
Expand Down
2 changes: 1 addition & 1 deletion src/env.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "node_internals.h"
#include "async-wrap.h"
#include "async_wrap.h"
#include "v8-profiler.h"
#include "node_buffer.h"
#include "node_platform.h"
Expand Down
2 changes: 1 addition & 1 deletion src/env.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include "inspector_agent.h"
#endif
#include "handle_wrap.h"
#include "req-wrap.h"
#include "req_wrap.h"
#include "util.h"
#include "uv.h"
#include "v8.h"
Expand Down
2 changes: 1 addition & 1 deletion src/fs_event_wrap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
// USE OR OTHER DEALINGS IN THE SOFTWARE.

#include "async-wrap-inl.h"
#include "async_wrap-inl.h"
#include "env-inl.h"
#include "util-inl.h"
#include "node.h"
Expand Down
2 changes: 1 addition & 1 deletion src/handle_wrap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
// USE OR OTHER DEALINGS IN THE SOFTWARE.

#include "handle_wrap.h"
#include "async-wrap-inl.h"
#include "async_wrap-inl.h"
#include "env-inl.h"
#include "util-inl.h"
#include "node.h"
Expand Down
2 changes: 1 addition & 1 deletion src/handle_wrap.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS

#include "async-wrap.h"
#include "async_wrap.h"
#include "util.h"
#include "uv.h"
#include "v8.h"
Expand Down
2 changes: 1 addition & 1 deletion src/inspector_js_api.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "base-object-inl.h"
#include "base_object-inl.h"
#include "inspector_agent.h"
#include "inspector_io.h"
#include "node_internals.h"
Expand Down
2 changes: 1 addition & 1 deletion src/js_stream.cc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "js_stream.h"

#include "async-wrap.h"
#include "async_wrap.h"
#include "env-inl.h"
#include "node_buffer.h"
#include "stream_base-inl.h"
Expand Down
2 changes: 1 addition & 1 deletion src/js_stream.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS

#include "async-wrap.h"
#include "async_wrap.h"
#include "env.h"
#include "stream_base.h"
#include "v8.h"
Expand Down
2 changes: 1 addition & 1 deletion src/module_wrap.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <string>
#include <vector>
#include "node_url.h"
#include "base-object-inl.h"
#include "base_object-inl.h"

namespace node {
namespace loader {
Expand Down
4 changes: 2 additions & 2 deletions src/node.cc
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@
#endif

#include "ares.h"
#include "async-wrap-inl.h"
#include "async_wrap-inl.h"
#include "env-inl.h"
#include "handle_wrap.h"
#include "http_parser.h"
#include "nghttp2/nghttp2ver.h"
#include "req-wrap-inl.h"
#include "req_wrap-inl.h"
#include "string_bytes.h"
#include "tracing/agent.h"
#include "util.h"
Expand Down
2 changes: 1 addition & 1 deletion src/node_contextify.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

#include "node_internals.h"
#include "node_watchdog.h"
#include "base-object-inl.h"
#include "base_object-inl.h"
#include "v8-debug.h"

namespace node {
Expand Down
2 changes: 1 addition & 1 deletion src/node_crypto.cc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#include "node_mutex.h"
#include "tls_wrap.h" // TLSWrap

#include "async-wrap-inl.h"
#include "async_wrap-inl.h"
#include "env-inl.h"
#include "string_bytes.h"
#include "util-inl.h"
Expand Down
4 changes: 2 additions & 2 deletions src/node_crypto.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
#include "node_buffer.h"

#include "env.h"
#include "async-wrap-inl.h"
#include "base-object-inl.h"
#include "async_wrap-inl.h"
#include "base_object-inl.h"

#include "v8.h"

Expand Down
2 changes: 1 addition & 1 deletion src/node_file.cc
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include "node_internals.h"
#include "node_stat_watcher.h"

#include "req-wrap-inl.h"
#include "req_wrap-inl.h"
#include "string_bytes.h"
#include "string_search.h"

Expand Down
2 changes: 1 addition & 1 deletion src/node_http_parser.cc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include "node.h"
#include "node_buffer.h"

#include "async-wrap-inl.h"
#include "async_wrap-inl.h"
#include "env-inl.h"
#include "http_parser.h"
#include "stream_base-inl.h"
Expand Down
2 changes: 1 addition & 1 deletion src/node_i18n.cc
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
#include "node_buffer.h"
#include "env-inl.h"
#include "util-inl.h"
#include "base-object-inl.h"
#include "base_object-inl.h"
#include "v8.h"

#include <unicode/utypes.h>
Expand Down
2 changes: 1 addition & 1 deletion src/node_perf.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "node.h"
#include "node_perf_common.h"
#include "env.h"
#include "base-object-inl.h"
#include "base_object-inl.h"

#include "v8.h"
#include "uv.h"
Expand Down
2 changes: 1 addition & 1 deletion src/node_serdes.cc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "node_internals.h"
#include "node_buffer.h"
#include "base-object-inl.h"
#include "base_object-inl.h"

namespace node {

Expand Down
2 changes: 1 addition & 1 deletion src/node_stat_watcher.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
// USE OR OTHER DEALINGS IN THE SOFTWARE.

#include "node_stat_watcher.h"
#include "async-wrap-inl.h"
#include "async_wrap-inl.h"
#include "env-inl.h"
#include "util-inl.h"

Expand Down
2 changes: 1 addition & 1 deletion src/node_stat_watcher.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS

#include "node.h"
#include "async-wrap.h"
#include "async_wrap.h"
#include "env.h"
#include "uv.h"
#include "v8.h"
Expand Down
2 changes: 1 addition & 1 deletion src/node_url.cc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "node_url.h"
#include "node_internals.h"
#include "base-object-inl.h"
#include "base_object-inl.h"
#include "node_i18n.h"

#include <string>
Expand Down
2 changes: 1 addition & 1 deletion src/node_zlib.cc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include "node.h"
#include "node_buffer.h"

#include "async-wrap-inl.h"
#include "async_wrap-inl.h"
#include "env-inl.h"
#include "util-inl.h"

Expand Down
2 changes: 1 addition & 1 deletion src/pipe_wrap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

#include "pipe_wrap.h"

#include "async-wrap.h"
#include "async_wrap.h"
#include "connection_wrap.h"
#include "env-inl.h"
#include "handle_wrap.h"
Expand Down
2 changes: 1 addition & 1 deletion src/pipe_wrap.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS

#include "async-wrap.h"
#include "async_wrap.h"
#include "connection_wrap.h"
#include "env.h"

Expand Down
4 changes: 2 additions & 2 deletions src/req-wrap-inl.h → src/req_wrap-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS

#include "req-wrap.h"
#include "async-wrap-inl.h"
#include "req_wrap.h"
#include "async_wrap-inl.h"
#include "env-inl.h"
#include "util-inl.h"

Expand Down
2 changes: 1 addition & 1 deletion src/req-wrap.h → src/req_wrap.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS

#include "async-wrap.h"
#include "async_wrap.h"
#include "env.h"
#include "util.h"
#include "v8.h"
Expand Down
2 changes: 1 addition & 1 deletion src/signal_wrap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
// USE OR OTHER DEALINGS IN THE SOFTWARE.

#include "async-wrap-inl.h"
#include "async_wrap-inl.h"
#include "env-inl.h"
#include "handle_wrap.h"
#include "util-inl.h"
Expand Down
4 changes: 2 additions & 2 deletions src/stream_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS

#include "env.h"
#include "async-wrap.h"
#include "req-wrap-inl.h"
#include "async_wrap.h"
#include "req_wrap-inl.h"
#include "node.h"
#include "util.h"

Expand Down
2 changes: 1 addition & 1 deletion src/stream_wrap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include "node_buffer.h"
#include "node_counters.h"
#include "pipe_wrap.h"
#include "req-wrap-inl.h"
#include "req_wrap-inl.h"
#include "tcp_wrap.h"
#include "udp_wrap.h"
#include "util-inl.h"
Expand Down
2 changes: 1 addition & 1 deletion src/tcp_wrap.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS

#include "async-wrap.h"
#include "async_wrap.h"
#include "env.h"
#include "connection_wrap.h"

Expand Down
2 changes: 1 addition & 1 deletion src/timer_wrap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
// USE OR OTHER DEALINGS IN THE SOFTWARE.

#include "async-wrap-inl.h"
#include "async_wrap-inl.h"
#include "env-inl.h"
#include "handle_wrap.h"
#include "util-inl.h"
Expand Down
Loading