Uh oh!
There was an error while loading. Please reload this page.
readline: make tab size configurable - #31318
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
bnoordhuis
left a comment
There was a problem hiding this comment.
The historySize changes should be a separate commit and arguably a separate PR because it's unrelated.
Uh oh!
There was an error while loading. Please reload this page.
This comment has been minimized.
This comment has been minimized.
60f32a5 to
77effd2CompareBridgeAR
commented
Jan 12, 2020
@bnoordhuis I removed the refactoring. |
77effd2 to
5f1947dCompare
This comment has been minimized.
This comment has been minimized.
BridgeAR
commented
Jan 13, 2020
@nodejs/readline @nodejs/repl PTAL (this is the basis to add the same option to the |
Uh oh!
There was an error while loading. Please reload this page.
Trott
commented
Jan 14, 2020
Not opposed to this, but curious what the motivation is. Is this something you've needed but didn't have? Is it something someone has asked for? |
@Trott neither. The reason is that it's possible to change the tab size in terminals. |
BridgeAR
commented
Jan 17, 2020
@nodejs/repl @nodejs/readline this could use some reviews. |
mcollina
left a comment
There was a problem hiding this comment.
I would prefer if this did not edit existings tests as well, it makes the review harder.
BridgeAR
commented
Jan 20, 2020
I updated the tests to be independent but I want to note that we just copy 95% of the test code all the time. |
nodejs-github-bot
commented
Jan 20, 2020
nodejs-github-bot
commented
Jan 20, 2020
nodejs-github-bot
commented
Jan 20, 2020
Uh oh!
There was an error while loading. Please reload this page.
d7eddc1 to
0b9ec1dComparenodejs-github-bot
commented
Jan 22, 2020
nodejs-github-bot
commented
Jan 25, 2020
nodejs-github-bot
commented
Jan 26, 2020
nodejs-github-bot
commented
Jan 26, 2020
nodejs-github-bot
commented
Jan 26, 2020
nodejs-github-bot
commented
Jan 27, 2020
nodejs-github-bot
commented
Feb 5, 2020
0b9ec1d to
27983d4CompareThis adds the `tabSize` option to readline to allow different tab sizes.
27983d4 to
c7571e2Comparenodejs-github-bot
commented
Feb 6, 2020
nodejs-github-bot
commented
Feb 6, 2020
This adds the `tabSize` option to readline to allow different tab sizes. PR-URL: #31318 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Denys Otrishko <shishugi@gmail.com> Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
addaleax
commented
Feb 7, 2020
Landed in f9a27ea |
This adds the `tabSize` option to readline to allow different tab sizes. PR-URL: #31318 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Denys Otrishko <shishugi@gmail.com> Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
Notable changes: * async_hooks * add executionAsyncResource (Matteo Collina) #30959 * crypto * add crypto.diffieHellman (Tobias Nießen) #31178 * add DH support to generateKeyPair (Tobias Nießen) #31178 * simplify DH groups (Tobias Nießen) #31178 * add key type 'dh' (Tobias Nießen) #31178 * test * skip keygen tests on arm systems (Tobias Nießen) #31178 * perf_hooks * add property flags to GCPerformanceEntry (Kirill Fomichev) #29547 * process * report ArrayBuffer memory in `memoryUsage()` (Anna Henningsen) #31550 * readline * make tab size configurable (Ruben Bridgewater) #31318 * report * add support for Workers (Anna Henningsen) #31386 * worker * add ability to take heap snapshot from parent thread (Anna Henningsen) #31569 * added new collaborators * add ronag to collaborators (Robert Nagy) #31498 PR-URL: #31837
Notable changes: * async_hooks * add executionAsyncResource (Matteo Collina) #30959 * crypto * add crypto.diffieHellman (Tobias Nießen) #31178 * add DH support to generateKeyPair (Tobias Nießen) #31178 * simplify DH groups (Tobias Nießen) #31178 * add key type 'dh' (Tobias Nießen) #31178 * test * skip keygen tests on arm systems (Tobias Nießen) #31178 * perf_hooks * add property flags to GCPerformanceEntry (Kirill Fomichev) #29547 * process * report ArrayBuffer memory in `memoryUsage()` (Anna Henningsen) #31550 * readline * make tab size configurable (Ruben Bridgewater) #31318 * report * add support for Workers (Anna Henningsen) #31386 * worker * add ability to take heap snapshot from parent thread (Anna Henningsen) #31569 * added new collaborators * add ronag to collaborators (Robert Nagy) #31498 PR-URL: #31837
targos
commented
Apr 25, 2020
Depends on #31423 to land on v12.x |
This adds the
tabSizeoption to readline to allow different tabsizes. It also cleans up some code and unifies the linebreak RegExp.
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes