Repository navigation
lib: externalized messages support #4311
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
Closed
Closed
Changes from 1 commit
Commits
Show all changes
60 commits
Select commit
Hold shift + click to select a range
b187d16
src: externalized messages support, 2nd pass
jasnell 6401743
src: externalize debugger.js messages
jasnell 3fcddc4
src: externalized _debug_agent.js messages
jasnell 503092e
test, src: add test-internal-messages.js, address nits
jasnell 4359ec9
src: fix lint issue
jasnell c48ec49
src: externalize lib/_http_agent.js messages
jasnell 112b084
src: externalize _http_client.js messages
jasnell 8538841
src: externalize _http_outgoing.js messages, address nits
jasnell ff170ed
src: remove NODE_ prefix from message identifiers
jasnell bdca377
src: externalize _http_server.js messages
jasnell b270571
src: externalize _linklist.js messages
jasnell 1b1e228
src: externalize _stream_readable.js messages
jasnell ee2228d
src: externalize _stream_transform.js messages
jasnell 71d1fae
src: externalize _stream_wrap.js messages
jasnell eb882bc
src: externalized _stream_writable.js messages
jasnell 0de2994
tools: enable restParams for eslint
jasnell 0f0298e
src: externalize _tls_legacy.js messages, refactor debug
jasnell f095579
src: externalize _tls_wrap.js messages
jasnell 62f6ec9
src: externalize assert.js messages
jasnell 5d73fb3
src: externalize buffer.js messages
jasnell b1bc41f
src: externalize child-process.js messages
jasnell 018472b
src: externalize cluster.js messages
jasnell 7aa5d4f
src: externalize console.js messages
jasnell 20640e8
src: externalize crypto.js messages
jasnell 78b9090
src: externalize dgram.js messages
jasnell 82679a5
src: externalize dns.js messages
jasnell 649721b
src: externalize events.js messages
jasnell 11b96dc
src: externalize fs.js messages
jasnell abc08a9
src: externalize http.js messages
jasnell 0b9c3af
src: externalize https.js messages
jasnell 0e8b40a
src: externalize module.js messages
jasnell 650ab1c
src: externalize net.js messages
jasnell d89c414
src: externalize os.js messages
jasnell 181e5c6
src: externalize path.js messages
jasnell b1ca5e1
src: externalize punycode.js messages
jasnell 55fa5d8
src: externalize readline.js messages
jasnell 5f4861d
src: externalize repl.js messages
jasnell 67185ec
src: externalize string_decoder.js messages
jasnell f0c5782
src: externalize sys.js messages
jasnell 497329f
src: externalized timers.js messages
jasnell e142e8a
src: externalize tls.js messages
jasnell 678e8e8
src: externalize url.js messages
jasnell 0a197c8
src: externalize util.js messages
jasnell cd4db97
src: externalize zlib.js messages
jasnell 61240ea
src: externalize internal/child_process.js messages
jasnell 259a36d
src: externalize internal/repl.js messages
jasnell 96aa61f
src: externalize internal/socket_list.js messages
jasnell b885af3
src: externalize internal/v8_prof_polyfill.js messages
jasnell 924aa9d
src: externalize additional messages missed
jasnell 086bd73
src: avoid runtime calls
jasnell 46fcb2d
src: code cleanup
jasnell edcb53b
src: refactor I18N.Error, I18N.TypeError and I18N.RangeError
jasnell 42b7c7f
src: internal/messages.js code cleanup
jasnell 21b1d95
src: begin externalizing src/* messages
jasnell 5545855
src: externalize more native strings
jasnell 08866a3
src: support varargs in messages, externalize src/node_dtrace.cc
jasnell 44cc074
src: refactor macros to make env explicit, externalize node_file.cc
jasnell a5d97de
src: externalize additional src/*.cc files
jasnell 9fc6ec1
src: externalize remaining errors in src/*.cc
jasnell 92df8e6
src: externalize node.cc messages and print help, cleanups
jasnell File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
src: internal/messages.js code cleanup
- Loading branch information
commit 42b7c7f17ad4570b0054211b8c104e29552461d6
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the function always has one argument it's better to declare it as
function message(key) {, that avoids an ArgumentsAdaptorTrampoline stack frame.