Commit Graph
920 Commits
Author SHA1 Message Date
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
Dongbo Wang 078a2b3cc4 Fix rendering when continuation prompt is an empty string (#2875) 2021-09-20 09:26:12 -07:00
Dongbo Wang 118b9e5238 Release mutex when facing AbandonedMutexException (#2867) 2021-09-20 09:25:12 -07:00
Dongbo Wang 82e35b857c Migrate the release build to use the 1ES agent pool and also fix the API scan (#2859) 2021-09-15 16:08:17 -07:00
Dongbo Wang bc485e0208 Pass the cancellation token along instead of using the default one (#2636) 2021-07-01 16:10:11 -07:00
Steve Lee ad74cef250 Don't ignore ConsoleKey.Packet type as that is simply Unicode (#2632) 2021-07-01 10:44:46 -07:00
Dongbo Wang b2763825e4 Temporarily add back the API that is depended by PSES to avoid breaking changes (#2533) v2.2.0-beta3 2021-06-01 14:15:58 -07:00
Dongbo Wang c614b3d685 Prepare for the 2.2.0-beta3 release (#2532) 2021-06-01 11:57:04 -07:00
Dongbo Wang f5a7ebda97 Update the use of the prediction interface to adapt to the breaking changes introduced in PowerShell 7.2.0-preview.6 (#2524) 2021-06-01 10:32:44 -07:00
Dongbo Wang dc38b451be Fix a null-ref exception in DynamicHelpImpl (#2292) 2021-03-11 09:14:44 -08:00
Dongbo Wang f8fb650774 Prepare for the 2.2.0-beta2 release (#2241) v2.2.0-beta2 2021-02-23 12:18:22 -08:00
Dongbo Wang 8df5b6ba08 Update PSReadLine corresponding to the prediction interface update (#2225) 2021-02-22 18:17:26 -08:00
Dongbo Wang 4b239f2436 Add white spaces to the emacs dispatch table (#2223) 2021-02-17 15:47:46 -08:00
Dongbo Wang 6ed95a23d5 Add the SelectCommandArgument bind-able function (#2222) 2021-02-17 15:25:27 -08:00
Dongbo Wang bbb729c214 Move prediction functions to a new group (#2211) 2021-02-11 22:41:24 -08:00
Maxime Labelle 0de63689c4 Remove LineIsMultiline in favor of multi-line agnostic algorithms (#1125) (#2047) 2021-02-11 15:57:37 -08:00
Aditya Patwardhan 6cf129ee35 Add the "Dynamic Help" feature to PSReadLine (#1777)
- Adds a way to view help on alternate screen buffer for full help and uses a Pager from `Microsoft.PowerShell.Pager`.
- Implements dynamic help for parameters by showing it below the current command line like `MenuComplete`.
2021-02-10 17:04:50 -08:00
Maxime Labelle 9e09968960 Prevent crash in GotoFirstNonBlankOfLine (#2050) (#2051) 2021-02-09 22:21:14 -08:00
Maxime Labelle 9d5b41f1f6 Refactor the usage of _clipboard (#2022) 2021-02-09 22:14:12 -08:00
Maxime Labelle 47fb95728c Make d0 to delete to the start of the current logical line in a multiline buffer in VI mode (#2002) 2021-02-09 21:45:37 -08:00
Dongbo Wang 71196640f2 Fix the GitHub action (#2118) 2021-01-10 23:09:04 -08:00
Dongbo Wang d06c417ddc Add github action to pre-triage new issues (#2117)
Add a GitHub Action to pre-triage new issue -- close the issues that are duplicate of #1306 and #1315
2021-01-09 21:51:00 -08:00
jiriurban21 439bd25fe2 Highlight the install command in README.md (#2088) 2021-01-06 10:36:54 -08:00
Maxime Labelle 1f6c5c0bc0 Deleting backward to or until a character should preserve the character under the cursor (#2007) 2020-12-07 11:43:30 -08:00
Maxime Labelle 352edb9c62 Use 'd^' to delete from the first non-blank character of a logical line (#2001) 2020-12-07 11:37:10 -08:00
Dongbo Wang a7fd34f09c Update nuget.config based on guidance (#2003) 2020-12-01 14:31:13 -08:00
Dongbo Wang fb5191c945 Update the release build to use ESRP signing and unify the compliance job (#1983) 2020-11-27 11:22:53 -08:00
Dongbo Wang 7fb13ea5c8 Add readonly modifier to some private fields (#1984) 2020-11-24 13:40:30 -08:00
Anthony Allen b65141ef9e Add argument selection handler to sample profile (#1947) 2020-11-18 14:17:56 -08:00
Dongbo Wang 9f786b3397 Fix three issues with the menu completion (#1946)
1. Fix menu completion to work with the predictive list view (fix #1935 -- regression introduced in 2.2.0-beta1)
2. Fix menu completion to clear lines properly when the menu top changes on re-drawing (regression introduced in 2.2.0-beta1)
3. Fix how `RightArrow`, `LeftArrow`, `UpArrow`, and `DownArrow` navigate in the menu view (enhancement)
2020-11-13 11:20:51 -08:00
Tyler James Leonhardt 726e7c6f29 Include a checkbox to PR template to test in various kinds of terminals (#1936) 2020-11-05 15:59:33 -08:00
Dongbo Wang b3f0d76497 Update ChangeLog for the 2.2.0-beta1 release (#1931) v2.2.0-beta1 2020-11-04 20:20:56 -08:00
Dongbo Wang 417fe5c83b Update the release build to work with new module artifacts (#1930)
- Use a new builder pool, which has the latest PowerShell 7.0.3 available.
- Remove catalog related steps, as the catalog file is unnecessary to PowerShell Gallery now.
- Update the signing xml file to sign the new "Polyfiller" assemblies.
2020-11-04 12:53:03 -08:00
Dongbo Wang fd1265e385 Add the prediction ListView and also hook up with the CommandPrediction APIs introduced in PS 7.1 (#1909) 2020-11-03 14:17:37 -08:00
Dongbo Wang 3856776b1d Update ChangeLog and version for the 2.1.0 GA release (#1922) v2.1.0 2020-11-02 15:11:17 -08:00
Dongbo Wang 900dc4c932 Update ChangeLog and version for the 2.1.0-rc1 release (#1875) v2.1.0-rc1 2020-10-13 12:33:48 -07:00
Dongbo Wang 219ffa17c2 Allow MaximumHistoryCount to be set from user's profile (#1869) 2020-10-09 10:42:26 -07:00