Commit b1233b1
Node js 24 (#58)
* Port to NAPI (microsoft#644)
* Port to NAPI
The "5th pty bug" in microsoft#432 fixed also.
* Fix help message in pty.cc
* Move NAPI deps to devDependencies in package.json
* Apply most of deepak1556's suggestions
* Fix winpty
* Fix conpty missing CloseHandle
* Use unique_ptr to avoid `goto`s
* Why macos failed?
* fix: ci and minor cleanups
* fix build failed on windows
---------
Co-authored-by: deepak1556 <hop2deep@gmail.com>
* build(deps): bump ip from 2.0.0 to 2.0.1
Bumps [ip](https://github.com/indutny/node-ip) from 2.0.0 to 2.0.1.
- [Commits](indutny/node-ip@v2.0.0...v2.0.1)
---
updated-dependencies:
- dependency-name: ip
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
* api scan
* fix job name
* chore: fix APIScan software name (microsoft#667)
* fix: comment out invalid API call (microsoft#669)
* fix: assertion on node environment shutdown (microsoft#672)
* Upgrade node-gyp to fix microsoft#643 and microsoft#646 (microsoft#673)
* chore: remove deprecated api `process.binding` (microsoft#653)
* Remove deprecated API `process.binding`
Originally designed to work with ancient node.js 0.12 and io.js
* Fix node `net.Socket` limitations
nodejs/node#37780
* chore: migrate pipeline to use 1ES template (microsoft#676)
* build(deps): bump tar from 6.2.0 to 6.2.1
Bumps [tar](https://github.com/isaacs/node-tar) from 6.2.0 to 6.2.1.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](isaacs/node-tar@v6.2.0...v6.2.1)
---
updated-dependencies:
- dependency-name: tar
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
* docs: add a note on Spectre-mitigated libraries (microsoft#679)
* build(deps): bump braces from 3.0.2 to 3.0.3
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](micromatch/braces@3.0.2...3.0.3)
---
updated-dependencies:
- dependency-name: braces
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
* Include termios.h on freebsd
* Get conpty.dll conditionally loading
* Add conpty dlls and node headers
* Add useConptyDll option
* Copy conpty.dll and openconsole.exe depending on arch in postinstall
* Ship third_party folder with module
This needs to be there to copy over the right binary on postinstall
Part of microsoft/vscode#224488
* Don't run CI for node 16
* Disable APIScan task
* Fix winpty resize and reduce test flakiness
* Publish third_party folder
* Improve can't find conpty.dll exception message
Part of microsoft/vscode#224488
* Get path of conpty.node for conpty.dll
Part of microsoft/vscode#224488
* Update to newer version of conpty
* Fix correct method being loaded when not using conptydll
Part of microsoft/vscode#224488
* Copy right dll/exe based on npm_config_arch
Part of microsoft/vscode#224488
Part of microsoft/vscode#225355
* Bring back clear impl
Fixes microsoft#711
* Close piClient.hThread handle
Fixes microsoft#717
* Move buffer_ to heap
Resolves warning:
src\win\path_util.cc(54): warning C6262: Function uses '131804' bytes of stack: exceeds /analyze:stacksize '16384'. Consider moving some data to heap.
* Catch possible exceptions in ~Agent
Fixes warning:
deps\winpty\src\agent\Agent.cc(231): warning C4722: 'Agent::~Agent': destructor never returns, potential memory leak
* yarn.lock -> package-lock.json
Fixes microsoft#712
* Regenerate dependencies
* Fix typo in trace log
Follow up microsoft#720
* Move to compile commands on postinstall for fixing intellisense
Fixes microsoft#707
* chore: use node 20 and fix build (microsoft#730)
* chore: use node 20 and fix build
* chore: bump macOS deployment target
* spec: reduce flakyness
* Revert "chore: bump macOS deployment target"
This reverts commit d9d18b3.
---------
Co-authored-by: deepak1556 <hop2deep@gmail.com>
* chore: add new publish pipeline (microsoft#727)
Also allows the CI pipeline to use the Unofficial template
* fix: ensure proper cleanup of console process on shutdown
* fix: publish pipeline broken APIScan task (microsoft#756)
* chore: improve cleanup with useConptyDll mode
* chore: update tests
* chore: auto-publish beta versions (microsoft#757)
* chore: work around blocked release integration (microsoft#758)
* Update to conpty v1.22 (microsoft#759)
* Update to conpty v1.22
Fixes microsoft#490
* Add logs to show the problem happening
* spec: increase exit delay
* refactor: input and output handling with conpty
* Close the input read and output write handles after creating
the client process
* Call ReleasePseudoConsole after creating the client process
which will cause the output read handle to close when there
is no more data from the session
* For manual termination via Kill, we close the input write handle
and call into ClosePseudoConsole, we should then drain the output
handle
NB: ideally draining the output handle should have been enough
to cause the client process to close but it doesn't work, we call
TerminateProcess to fix this case.
* chore: restore legacy conpty path
---------
Co-authored-by: deepak1556 <hop2deep@gmail.com>
* chore: remove old publishing stage (microsoft#761)
* fix: restore conpty non-dll path (microsoft#766)
* chore: add BinSkim flags to winpty (microsoft#767)
* chore: add BinSkim flags to winpty
* Apply PR feedback
* conpty@1.22.250204002
* Change buffer size to 128KiB
Fixes microsoft#765
* chore: match trigger with perf-bot's (microsoft#773)
* chore: match exclude with latest conpty (microsoft#774)
* chore: use folder wildcard (microsoft#775)
* Revert "conpty@1.22.250204002"
This reverts commit 247ae7d.
* fix: gate conpty-exclusive call behind conpty check (microsoft#778)
* NodeJS-24
* Node 20
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: kkocdko <31189892+kkocdko@users.noreply.github.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com>
Co-authored-by: SteVen Batten <sbatten@microsoft.com>
Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com>
Co-authored-by: jpcastberg <jpcastberg@gmail.com>1 parent e04bd02 commit b1233b1
18 files changed
Lines changed: 264 additions & 246 deletions
File tree
- .github/workflows
- .prebuild
- deps/winpty/src
- scripts
- src
- win
- worker
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | 27 | | |
32 | 28 | | |
33 | 29 | | |
34 | | - | |
| 30 | + | |
35 | 31 | | |
36 | | - | |
37 | | - | |
| 32 | + | |
38 | 33 | | |
39 | | - | |
40 | | - | |
| 34 | + | |
41 | 35 | | |
42 | | - | |
43 | | - | |
| 36 | + | |
44 | 37 | | |
45 | 38 | | |
46 | 39 | | |
47 | 40 | | |
48 | 41 | | |
49 | | - | |
| 42 | + | |
50 | 43 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | 44 | | |
56 | 45 | | |
57 | 46 | | |
58 | | - | |
| 47 | + | |
59 | 48 | | |
60 | | - | |
61 | | - | |
| 49 | + | |
62 | 50 | | |
63 | | - | |
64 | | - | |
| 51 | + | |
65 | 52 | | |
66 | | - | |
67 | | - | |
| 53 | + | |
68 | 54 | | |
69 | | - | |
70 | | - | |
| 55 | + | |
71 | 56 | | |
72 | 57 | | |
73 | 58 | | |
74 | 59 | | |
75 | 60 | | |
76 | 61 | | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | 62 | | |
82 | 63 | | |
83 | 64 | | |
84 | | - | |
| 65 | + | |
85 | 66 | | |
86 | | - | |
87 | | - | |
| 67 | + | |
88 | 68 | | |
89 | | - | |
90 | | - | |
| 69 | + | |
91 | 70 | | |
92 | | - | |
93 | | - | |
| 71 | + | |
94 | 72 | | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
50 | 52 | | |
51 | 53 | | |
52 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
44 | 47 | | |
45 | 48 | | |
46 | 49 | | |
47 | 50 | | |
48 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
49 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
50 | 64 | | |
51 | 65 | | |
52 | 66 | | |
| |||
129 | 143 | | |
130 | 144 | | |
131 | 145 | | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
132 | 149 | | |
133 | 150 | | |
134 | 151 | | |
135 | 152 | | |
136 | 153 | | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
137 | 160 | | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
138 | 166 | | |
139 | 167 | | |
140 | 168 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | 63 | | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
0 commit comments