Dongbo Wang
60a48d6177
Prepare for the v2.2.5 release of PSReadLine ( #3300 )
v2.2.5
2022-05-03 13:00:17 -07:00
Dongbo Wang
0d49231e06
Prepare for the 2.2.4-beta1 release of PSReadLine ( #3295 )
v2.2.4-beta1
2022-04-27 15:07:30 -07:00
Patrick Meinecke
e94afef3a0
Sync ReadKeyProc thread with pipeline thread ( #3294 )
...
The pipeline thread was returning before the `ReadKeyProcThread` had finished processing the dummy input.
This was occurring somewhat frequently when `ReadLine` was invoked multiple times in a row creating a race condition.
With these changes, the pipeline thread will wait for dummy input to be received, dequeue the key, and continue with normal cancellation logic.
2022-04-27 10:56:26 -07:00
Dongbo Wang
77e256abcb
Update build to use net462 ( #3285 )
...
net461 is reaching end of support on 4/26/2022.
2022-04-20 16:01:19 -07:00
Dongbo Wang
b083ce7481
Update comment message to use 2.2.3 as the latest version ( #3284 )
v2.2.3
2022-04-20 14:42:32 -07:00
Dongbo Wang
117e778093
Prepare for the 2.2.3 release of PSReadLine ( #3283 )
2022-04-20 14:31:16 -07:00
Dongbo Wang
703f7a4833
Update the cancellation related code ( #3280 )
2022-04-19 11:21:48 -07:00
Andy Schwartzmeyer
72edd4498b
Respect cancellation in ReadOneOrMoreKeys() ( #3274 )
...
Because .NET's . `Console.ReadKey()` is uncancellable, when a hosting
application cancels PSReadLine, it also has to send a key press to get
`ReadKey` to return. In this case, we want to ignore the key press (and
a user certainly would not be expecting it, as `ReadLine` has already
been canceled).
2022-04-19 09:09:00 -07:00
Dongbo Wang
38395add9e
Update comment message to use 2.2.2 as the latest version ( #3218 )
2022-02-22 11:55:40 -08:00
Dongbo Wang
878a0743c8
Prepare for the 2.2.2 release of PSReadLine ( #3217 )
v2.2.2
2022-02-22 11:22:25 -08:00
Dongbo Wang
4cd148e677
Update to use the 1.0.0 version of Microsoft.PowerShell.Pager ( #3206 )
2022-02-09 08:32:49 -08:00
Dongbo Wang
39761f9fb8
No need to clear lines when it's not a menu completion rendering ( #3199 )
2022-02-02 10:38:28 -08:00
Dongbo Wang
544f4bf58e
Update comment message to use 2.2.1-rc1 as the latest version ( #3189 )
2022-01-28 12:28:20 -08:00
Dongbo Wang
2184540dca
Prepare for the 2.2.1-rc1 release of PSReadLine ( #3188 )
v2.2.1-rc1
2022-01-28 11:47:28 -08:00
Dongbo Wang
3a9ff61fef
Update build agent again to use PSMMS2019-Secure ( #3187 )
2022-01-27 15:39:19 -08:00
Dongbo Wang
5b25af899d
Update build agent to use MMSWindows2019-Secure per requirement ( #3174 )
2022-01-19 14:27:49 -08:00
Dongbo Wang
272bf9989b
Update the HelpInfoURI to point to the latest help content ( #3171 )
2022-01-18 17:14:32 -08:00
Dongbo Wang
f637a06ddb
Update the version of PowerShell nuget packages to 7.2.0 ( #3170 )
2022-01-18 13:58:32 -08:00
Dongbo Wang
61ffd3a554
Minor update to the README.md to better organize the resources about PSReadLine ( #3152 )
2022-01-12 09:56:34 -08:00
Chad Gorshing
4c02d5c10f
Update README.md with updated links to content helping get set up ( #3149 )
2022-01-12 09:42:28 -08:00
Dongbo Wang
acb8ccbb17
Make Ctrl+r in Vi edit mode same as Emacs edit mode ( #3148 )
2022-01-11 17:13:49 -08:00
Dongbo Wang
0824ad134f
Make HistorySearchBackward and HistorySearchForward able to navigate the list view ( #3144 )
2022-01-11 15:38:49 -08:00
Dongbo Wang
17fe4a5613
Update comment message to use 2.2.0-beta5 as the latest
2022-01-10 09:50:43 -08:00
Dongbo Wang
8d217bd8a7
Prepare for the 2.2.0-beta5 release of PSReadLine ( #3136 )
v2.2.0-beta5
2022-01-05 16:43:10 -08:00
Dongbo Wang
f46f15d2d6
Improve RecomputeInitialCoords to be more robust and handle a couple special cases ( #3074 )
2022-01-03 16:40:25 -08:00
Dongbo Wang
15850a4e2e
Fix the PowerShell version regex matching, again ( #3113 )
2021-12-17 13:48:06 -08:00
Dongbo Wang
2b6e32e369
Fix the regex for matching 7.2.x PS versions ( #3110 )
2021-12-16 10:03:36 -08:00
Dongbo Wang
b76883665b
Add BasicScrollingConsole to support test cases for scrolling up scenarios ( #3081 )
2021-12-14 15:14:03 -08:00
Dongbo Wang
8e6893c0ba
Fix the regex matching in the issue-triage script ( #3082 )
2021-12-04 14:44:16 -08:00
Dongbo Wang
835bfd2bf8
Skip the AST analysis when command-line input has any parsing errors ( #3075 )
2021-12-02 16:24:09 -08:00
Dongbo Wang
49d34de894
Trigger the GitHub action by issue-open event ( #3041 )
2021-11-16 12:27:50 -08:00
Dongbo Wang
9c816be20f
Fix the escaping of double quotes on Ubuntu agent ( #3030 )
2021-11-13 09:27:59 -08:00
Dongbo Wang
2f12660dd7
Fix the double quotes in the comment text for duplicate-issue handling ( #3029 )
2021-11-13 09:18:08 -08:00
Dongbo Wang
ead84f981d
Update GitHub action to handle the TypeLoadException issue ( #3025 )
2021-11-12 17:01:06 -08:00
Dongbo Wang
e02b0da57a
Handle screen buffer scrolling correctly for inline dynamic help ( #2951 )
2021-11-04 15:44:16 -07:00
Dongbo Wang
81bf8669fd
Fix 2 menu completion issues that happen when we need to scroll screen buffer ( #2949 )
2021-11-04 14:24:05 -07:00
Dongbo Wang
203d55c78a
Prepare for the v2.2.0-beta4 release ( #2937 )
v2.2.0-beta4
2021-10-27 17:07:39 -07:00
Dongbo Wang
e8b5d84a66
Disable warning for the private contract field with PSES ( #2935 )
2021-10-27 13:16:40 -07:00
Dongbo Wang
cdc164ca4b
Generate OnIdle event only if the editing buffer is empty ( #2934 )
2021-10-27 13:08:08 -07:00
Robert Holt
4e8c8a0ce9
Add private contract delegate for PSES to handle idle ( #1679 )
2021-10-27 11:31:08 -07:00
Dongbo Wang
7edfa93cd2
Reset all attributes before changing color in rendering to avoid color leaking ( #2925 )
2021-10-20 17:48:13 -07:00
Dongbo Wang
1280763116
Make the default sensitive history scrubbing function a little smarter ( #2921 )
2021-10-13 17:43:02 -07:00
Dongbo Wang
878b670170
Generate ADO SBOM for PSReadLine ( #2918 )
2021-10-11 15:09:20 -07:00
Dongbo Wang
d9cc944338
Update the exception report to make it work better with the new bug template ( #2917 )
2021-10-11 09:29:52 -07:00
Dongbo Wang
d44178b049
Update the description of the 'Screenshot' step in the issue template ( #2900 )
2021-09-27 09:44:27 -07:00
Dongbo Wang
290c358ca1
Update the issue templates to use form templates ( #2898 )
2021-09-25 16:40:54 -07:00
Dongbo Wang
0ae04cdc2a
Update the inline suggestion rendering to not exceed the max window buffer ( #2892 )
2021-09-23 14:17:17 -07:00
Maxime Labelle
1966609701
[vi-mode] Undo now leaves the cursor under the position at the start of the deletion ( #2045 )
2021-09-21 23:04:43 -07:00
Dongbo Wang
355bd0894a
Update 'CreateCharInfoBuffer' to support continuous 'NextLineToken' ( #2880 )
2021-09-20 17:14:45 -07:00
Dongbo Wang
d37599781f
Fix GotoBrace to handle the case when the text buffer is empty ( #2879 )
2021-09-20 13:49:25 -07:00