31 Commits
Author SHA1 Message Date
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
Robert Holt 4e8c8a0ce9 Add private contract delegate for PSES to handle idle (#1679) 2021-10-27 11:31:08 -07: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 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 b1736f67d9 Update build to use .NET 3.1 for compliance (#1702) 2020-07-26 10:19:36 -07:00
Dongbo Wang 2664653ecd Update build as we move help content to PowerShell-Docs (#1537) 2020-05-19 15:08:21 -07:00
Steve Lee 60bd4c069b Remove MIT License, move License.txt to root and update build script (#1452) 2020-04-20 14:57:00 -07:00
Dongbo Wang 37f2dd1ad8 Simply the way to get semantic version information in build (#1324) 2020-01-30 09:45:41 -08:00
Dongbo Wang bca45bb59a Add ProjectUri in module manifest (#1245) 2019-12-11 15:31:26 -08:00
Dongbo Wang 7050b12edf 2.0.0-beta4 release preparation (#905)
- Update the `InformationalVersion` tag to `2.0.0-beta4`
- Update the change log
- Update URLs to point to the PowerShell GitHub org.
2019-05-01 18:09:07 -07:00
Dongbo Wang fdd38b9761 Rename 'TestPSReadLine' to 'MockPSConsole' (#890) 2019-04-12 16:08:06 -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
Steve Lee 905ab44ee3 ensure text files use crlf line endings (#872) 2019-04-07 11:45:10 -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 52983255fc Disable stdin/stdout check for CI on non-Windows (#804)
Also - only run tests once in AppVeyor.
2018-11-09 10:06:13 -08:00
Jason Shirk dae3f14a9c Cache nuget packages and dotnet tools in AppVeyor (#777) 2018-10-15 23:09:35 -07:00
Jason Shirk f1758c316d Add some checks to publish task 2018-10-01 19:06:19 -07: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
Max Kozlov e7fcd377c5 Update nuget.exe URL
Fix #606
2017-12-15 11:18:14 -08:00
Jason Shirk d3b01e280c Add Publish task, generate prerelease tag
The Prerelease tag in the module manifest is generated from the
AssemblyInformationalAttribute in Microsoft.PowerShell.PSReadLine2.dll.
2017-12-05 23:28:28 -08:00
Jason Shirk a432645ac9 Change Install task to also install for PSCore 2017-12-01 17:08:18 -08:00
Jason Shirk 416ca3e4e3 Rename Microsoft.PowerShell.PSReadline.dll
To work around PowerShell Core not loading the dll from the same
directory as PSReadLine.psd1, I've renamed the dll.
2017-12-01 17:05:43 -08:00
Jason Shirk 19a5575f0a One more appveyor fix 2017-11-26 20:07:14 -08:00
Jason Shirk 6fc5918591 Fix appveyor 2017-11-26 19:55:01 -08:00
Jason Shirk 21b50d0084 Attempt to fix appveyor build 2017-11-26 19:42:38 -08:00
Jason Shirk d68e17ec38 Generate catalog 2017-11-26 19:37:35 -08:00
Jason Shirk e10725d765 Generate consistent newlines in about topic 2017-11-26 18:34:46 -08:00
Jason Shirk 46d232c22a s/PSReadline/PSReadLine/g
I was terribly inconsistent.

This is a breaking change, though unlikely to cause troubles.
The apis are mostly used in PowerShell scripts which is not
case sensitive.
The cmdlet name change is also mostly safe.

At any rate, this is version 2.0 and breaking changes should be OK.
2017-11-25 21:59:55 -08:00