21 Commits
Author SHA1 Message Date
dependabot[bot] d82abc8892 Bump Newtonsoft.Json from 12.0.3 to 13.0.1 in test (#3353) 2022-06-22 13:34:14 -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 f637a06ddb Update the version of PowerShell nuget packages to 7.2.0 (#3170) 2022-01-18 13:58:32 -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 355bd0894a Update 'CreateCharInfoBuffer' to support continuous 'NextLineToken' (#2880) 2021-09-20 17:14:45 -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 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 f8fb650774 Prepare for the 2.2.0-beta2 release (#2241) 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
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
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 04bb23f6d2 Update the release build to satisfy the compliance requirement (#1726) 2020-08-02 16:46:02 -07:00
Dongbo Wang b1736f67d9 Update build to use .NET 3.1 for compliance (#1702) 2020-07-26 10:19:36 -07:00
Dongbo Wang 78635c0a48 Compliance: Update the .NET Core version and PowerShell SDK package (#1320) 2020-01-28 09:44:26 -08:00
Maxime Labelle f25a089290 Supporting line wise yanks, including paste and undo. (#811) 2019-11-08 14:42:13 -08:00
Dongbo Wang b7b8f7bb1d Update .csproj files to depend on 'netcoreapp 2.1.12' and 'Microsoft.PowerShell.SDK 6.2.2' (#980) 2019-07-30 12:02:41 -07:00
Dongbo Wang 8454358ec4 Refactor the build scripts and AppVeyor CI (#888)
This PR refactors the building scripts and fix the AppVeyor CI. Major changes are:
1. Add `build.ps1` to provide simple entry points that can be used in CI.
2. Add `tools/helper.psm1` to group utility functions. Move the scripts for `RunTests` to `helper.psm1`. The plan is to move big chunk of build action scripts to the `helper.psm1` to make `PSReadLine.build.ps1` less cumbersome but more clear about what build actions are available.
3. Fix the AppVeyor CI.
2019-04-12 14:06:42 -07:00
Jason Shirk a7af25aa37 Stop dispatching on ConsoleKeyInfo (#831)
There are likely issues introduced by this PR,
but I'm merging for a new Beta so this code gets more testing.

* Introduce PSKeyInfo type alias
* Explicit conversions b/w ConsoleKeyInfo and PSKeyInfo
* Change tests to use actual ConsoleKeyInfo data
* Add fr-FR keyboard layout tests
* Add KeyInfo-ru-RU-windows.json (#839)

All impossible without Shift shortcuts labeled as "Investigate: true"
Alt+Spacebar tracked by windows itself

* Add KeyInfo for Polish (Programmers) layout on Windows and Linux (#870)

On Windows *Alt+Spacebar* is hijacked by Windows
On Linux any *Alt+F1-12* combination was not detected
2019-03-20 16:14:05 -07:00
Jason Shirk 194c8dba42 Add internal clipboard (#803)
For Mac/Linux, if the commands to use the system clipboard are missing,
we can at least simulate a clipboard internally, just for PSReadLine.

This is allows the clipboard tests to run in the Azure DevOps CI for
Linux.
2018-11-09 09:43:21 -08:00
Steve Lee f92ecfe085 Enable building with dotnet cli for non-Windows (#692)
* Enable building with PSCore6
* Fix tests to work on non-Windows
* Added clipboard capability for non-Windows
2018-09-29 22:17:03 -07:00
Jason Shirk f1705e9bb2 Switch from MSTest to xUnit, enable tests in AppVeyor (#600) 2017-12-15 11:59:57 -08:00