72 Commits
Author SHA1 Message Date
spaette 486388c59f Fix some typos in this repository (#3547) 2023-01-23 14:22:59 -08:00
Dongbo Wang 34e5c30776 Update module version in bot messages (#3361) 2022-06-27 10:26:19 -07:00
Dongbo Wang 59caa5f762 Prepare for the v2.2.6 release of PSReadLine (#3357) 2022-06-27 09:58:15 -07:00
Dongbo Wang 60a48d6177 Prepare for the v2.2.5 release of PSReadLine (#3300) 2022-05-03 13:00:17 -07:00
Dongbo Wang 0d49231e06 Prepare for the 2.2.4-beta1 release of PSReadLine (#3295) 2022-04-27 15:07:30 -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 878a0743c8 Prepare for the 2.2.2 release of PSReadLine (#3217) 2022-02-22 11:22:25 -08:00
Dongbo Wang 2184540dca Prepare for the 2.2.1-rc1 release of PSReadLine (#3188) 2022-01-28 11:47:28 -08:00
Dongbo Wang 8d217bd8a7 Prepare for the 2.2.0-beta5 release of PSReadLine (#3136) 2022-01-05 16:43:10 -08:00
Dongbo Wang 203d55c78a Prepare for the v2.2.0-beta4 release (#2937) 2021-10-27 17:07:39 -07:00
Dongbo Wang c614b3d685 Prepare for the 2.2.0-beta3 release (#2532) 2021-06-01 11:57:04 -07:00
Dongbo Wang f8fb650774 Prepare for the 2.2.0-beta2 release (#2241) 2021-02-23 12:18:22 -08:00
Dongbo Wang b3f0d76497 Update ChangeLog for the 2.2.0-beta1 release (#1931) 2020-11-04 20:20:56 -08:00
Dongbo Wang 3856776b1d Update ChangeLog and version for the 2.1.0 GA release (#1922) 2020-11-02 15:11:17 -08:00
Dongbo Wang 900dc4c932 Update ChangeLog and version for the 2.1.0-rc1 release (#1875) 2020-10-13 12:33:48 -07:00
Dongbo Wang 2005773497 Update ChangeLog and version for 2.1.0-beta2 release (#1588) 2020-06-05 11:03:23 -07:00
Dongbo Wang 9e6c6b9481 Add basic support for inline predictive suggestion (#1496) 2020-05-09 15:44:04 -07:00
Dongbo Wang 38b933fadc Update ChangeLog and version for 2.0.1 release (#1439) 2020-03-31 13:24:20 -07:00
Dongbo Wang 6b5e9ff4bd Update ChangeLog and version for 2.0.0 GA release (#1345) 2020-02-10 11:26:49 -08:00
Dongbo Wang a047a07fc4 Update ChangeLog and version for 2.0.0-rc2 release (#1296) 2020-01-13 12:02:52 -08:00
Dongbo Wang 616b8ae0cf Use '2.0.0-rc1' instead of 'rc.1' due to the PowerShellGallery's limitation (#1241) 2019-12-10 17:37:45 -08:00
Dongbo Wang 7b27696eea Update ChangeLog and version for 2.0.0-rc.1 release (#1239) 2019-12-10 16:41:51 -08:00
Dongbo Wang e7f28ff8ac Update ChangeLog to include 2 more bug fixes in the 2.0.0-beta6 release (#1186) 2019-11-14 11:45:45 -08:00
Dongbo Wang a4d54090f8 Update ChangeLog and version for 2.0.0-beta6 release (#1178) 2019-11-13 16:43:00 -08:00
Dongbo Wang 809c2872c0 Update ChangeLog and version for 2.0.0-beta5 release (#1046) 2019-09-13 13:23:54 -07: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
Jason Shirk c4929942cd Beta 3 2018-08-29 13:14:19 -07:00
Jason Shirk 0674f91a8e Correct the change log
Fix #718
2018-06-25 22:43:03 -07:00
Jason Shirk 2a3450d222 Beta2 2018-06-03 23:26:01 -07:00
Jason Shirk 8bc665daed Add support for pre-Win10
Introduced a very minimal terminal emulator, enough to support the
colors used by default (ConsoleColor).

There could be some more error checking or just somehow ignoring unknown
escapes, but we'll see if this is sufficient for now.

Fix #596
2017-12-02 12:02:51 -08:00
Jason Shirk 4be9473e90 Change selection coloring to not use inverse
Adds Selection as a configuration option for colors.

Fix #597
2017-12-01 13:41:21 -08:00
Jason Shirk 8ba9d8267e Fix rendering boundary conditions
Fix #598
2017-12-01 11:10:21 -08:00
Jason Shirk cf0ea9a4f7 Update Changes.txt 2017-11-27 10:20:24 -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
Jason Shirk 68e4038b5d Update Changes.txt 2017-10-16 15:15:19 -07:00
Josh Soref ff80a13550 Spelling comments
* spelling: comments in src/Microsoft.PowerShell.PSReadLine
2017-09-02 21:03:11 -07:00
Jason Shirk e53cc84b2e Update change log 2017-08-14 08:56:23 -07:00
Jason Shirk (POWERSHELL) 68c5d097fc Update changelog 2016-09-06 11:23:47 -07:00
Jason Shirk (POWERSHELL) 38eb016b0a Update Changes.txt 2016-01-20 15:58:05 -08:00
Keith Hill b0b441c080 Added InsertLineAbove and InsertLineBelow functions and set them up to key bind to Ctrl+Enter and Ctrl+Shift+Enter in Windows mode. Not being an emacs person, I'm not sure what key bindings these two functions would bind to. I also added unit tests for the two functions as well as a unit test for what I believe is a bug in the BeginningOfLine (home) function when in multiline mode. I also updated the project to have the appropriate default namespace so that the resource file gets re-generated with the correct resource name without having to resort to hacking the csproj file. There was also an issue with trying to run unit tests because the unit test setup of PSReadline sets engineInstrincs to null and that caused a null reference exception which I worked-around by testing for null first. 2015-07-20 19:54:33 -06:00
Jason Shirk (POWERSHELL) c986e0eae5 Rename namespace PSConsoleUtilities to Microsoft.PowerShell 2015-06-18 15:32:20 -07:00
jason@truewheels.net 8c574f3635 Update version number to 14. 2015-02-17 22:09:29 -08:00
jason@truewheels.net 51bc372cb8 Fix ScrollDisplayToCursor to work better
Fixes #190
2015-02-07 11:54:13 -08:00
jason@truewheels.net 17856e99a1 Remove demo mode
Demo mode doesn't work right now, and I found a better alternative
here:  https://github.com/Code52/carnac

Fixes #192
2015-01-26 19:45:41 -08:00
jason@truewheels.net aa4f616309 Fix ClearScreen to properly scroll
The previous change scrolled the wrong test,
losing the bottom instead of the top of the buffer.
2015-01-21 22:16:00 -08:00
jason@truewheels.net 8311386144 Color any prompt character when there is an error
cmder uses lambda as the prompt character which is a
regular character, so I just removed the test and will
color any random non-whitespace character that is used
in the prompt.

Fixes #180
2015-01-21 09:33:00 -08:00
jason@truewheels.net 49a4c4c1e6 History recall should ignore other sesions
When using UpArrow, people prefer not recalling commands
from other currently running sessions.

It's still useful to avoid entering commands that have
might have been entered in another currently running session,
so those commands can still be found when *searching*
history, either interactively, or if the search string
is not empty when using HistorySearch[Backward|Forward].

Also fixed in this change - an obscure bug where
HistoryNoDuplicates did not work well with a DigitArgument
when recalling history.

Fixes #179
2015-01-21 09:13:29 -08:00
jason@truewheels.net e2311b0a99 Support Cancel/Abort DigitArgument
There was an exception with input like:

a Alt+1 Ctrl+C

CancelLine was clearing the buffer, but didn't reset _current.
That fixes the exception, but it still clears the input line
when called to terminate DigitArgument, so instead we do something
similar to how interactive history search is terminated.

Fixes #184
2015-01-16 09:10:41 -08:00
jason@truewheels.net 2edaf0ca8b Fix bug with undo after possible completions
repro is something like:

[ArrayL <Ctrl+Space> <Ctrl+Z> <Ctrl+Space> <Ctrl+Z>
2015-01-15 17:22:15 -08:00
jason@truewheels.net 4dae28898c ValidateAndAcceptLine improvements
Script block arguments are now only validated as arguments to specific
cmdlets (which are in a user modifiable whitelist.)

A custom validation handler must now throw an exception to report an error,
returning an object is now ignored.

A sample custom validation handler was added to demonstrate typo correction.

Fixes #162
2015-01-15 09:19:09 -08:00