Commit graph

3727 commits

Author SHA1 Message Date
Raghu Shantha [MSFT]
b540c40517 Merge pull request #1596 from PowerShell/raghushantha-windowsinstall-1
Update Windows install instructions for MSI
2016-08-01 16:34:19 -07:00
Raghu Shantha [MSFT]
d884ef2f98 Update linux.md 2016-08-01 16:33:47 -07:00
Raghu Shantha [MSFT]
818bbfda13 Update linux.md 2016-08-01 16:32:16 -07:00
Raghu Shantha [MSFT]
e184d86859 Update windows.md 2016-08-01 16:07:47 -07:00
Jason Shirk (POWERSHELL)
c34ef6141b Use nameof() where we use reflection
We use a lot of reflection, and when you rename a member (e.g. when running
the code formatter), it doesn't detect references where you're using reflection.

By using nameof(), we can now find these references (e.g. a build break) instead
of failing at runtime.
2016-08-01 15:58:17 -07:00
PowerShell Team
403ae3f53f Initial run of code formatter
I (Jason Shirk) ran https://github.com/dotnet/codeformatter with the default rules, basically:

    codeformatter /nocopyright "/c:DEBUG,UNIX,CORECLR" @files.rsp

This caused a few problems building, which were fixed up manually.

Notable changes:

`this.` is removed unless needed to disambiguate.
private instance fields are renamed to have a `_` prefix.
private static fields are renamed to have a `s_` prefix.

I left some projects alone (like PackageManagement) and also left some generated code alone.
2016-08-01 15:57:03 -07:00
joeyaiello
f729b34456 add line breaks to license 2016-08-01 15:48:54 -07:00
Mike Richmond
38143711f9 Merge pull request #1597 from PowerShell/mirichmo/fixing-reverse-pinvoke
Fixing reverse PInvoke worker callback pointer structure layout to sy…
2016-08-01 15:33:10 -07:00
Mike Richmond
19138f3f62 Fixing reverse PInvoke worker callback pointer structure layout to synchronize it between managed and unmanaged code. 2016-08-01 15:02:52 -07:00
Jason Shirk
e68d9731dd Merge pull request #1578 from alexandair/patch-2
Updating maintainers\README
2016-08-01 14:34:58 -07:00
Raghu Shantha [MSFT]
902b063583 Update windows.md 2016-08-01 14:03:51 -07:00
Raghu Shantha [MSFT]
6efad14aa6 Update linux.md 2016-08-01 13:55:00 -07:00
Raghu Shantha [MSFT]
c9949159f1 Update linux.md 2016-08-01 13:52:15 -07:00
Raghu Shantha [MSFT]
7ee02189ed Update linux.md 2016-08-01 13:46:48 -07:00
Jianyun
ed2e569c02 Merge pull request #1592 from PowerShell/jianyunt/docs
fixed the broken links and other minor updates due to the recent learning-powershell path changes.
2016-08-01 13:28:55 -07:00
Jianyun Tao
f5d04c37f7 fixed the broken links and other minor updates due to the recent learning-powershell path changes. 2016-08-01 11:37:15 -07:00
Jianyun Tao
1e7a49600d fixed the broken links and other minor updates due to the recent learning-powershell path changes. 2016-08-01 11:21:55 -07:00
Jianyun
bc4fe11888 Merge pull request #1551 from PowerShell/AngelCalvo-patch-3
Update learning-powershell.md
2016-08-01 09:53:46 -07:00
Sergei Vorobev
6839dab88b Merge pull request #1580 from PowerShell/AngelCalvo-patch-1
Update README.md
2016-07-31 16:32:44 -07:00
Angel Calvo
63cfde07f3 Update README.md
Added link to the Windows Installation Pakage
2016-07-31 09:51:00 -07:00
Michael Greene
5e2493a7e8 caps in title 2016-07-30 08:23:46 -05:00
Michael Greene
708f32cca4 spaces in prompt examples 2016-07-30 08:23:14 -05:00
Michael Greene
1acc7175da caps for cmdlet 2016-07-30 08:21:07 -05:00
Michael Greene
362eef0c6e remove publish commands and correct formatting of example 2016-07-30 08:20:11 -05:00
Jason Shirk
ecb97415a5 Merge pull request #1577 from PowerShell/joey/license
add MIT license to root
2016-07-29 19:05:10 -07:00
Sergei Vorobev
56fe9fd6bb Merge pull request #1437 from PowerShell/johnkord-Linux_DSC
Enabling DSC MOF compilation on Linux
2016-07-29 18:31:44 -07:00
John Kordich
a0339d4a12 Linux DSC MOF compilation changes 2016-07-29 16:29:52 -07:00
Aleksandar Nikolić
ace4f250d2 Updating maintainers\ 2016-07-29 23:59:50 +02:00
joeyaiello
da6f7abb4b update README with license info 2016-07-29 14:15:46 -07:00
joeyaiello
ea069f7a49 add MIT license to root 2016-07-29 14:11:52 -07:00
Michael Greene
53f8cdb29c example formattting 2016-07-29 15:02:34 -05:00
Michael Greene
4fecbfe964 Merge branch 'master' into migreene 2016-07-29 14:58:42 -05:00
Sergei Vorobev
31cd2728ca Merge pull request #1573 from PowerShell/test/mmi-alpha02
Change MMI package to alpha02
2016-07-29 12:50:32 -07:00
Sergei Vorobev
e9606ac793 Change MMI package to alpha02 2016-07-29 12:24:02 -07:00
Jason Shirk
6d0396484e Merge pull request #1549 from PowerShell/AngelCalvo-patch-2
Update README.md
2016-07-29 12:08:53 -07:00
Quoc Truong
a56b29c3a0 Merge pull request #1557 from PowerShell/quoct/addpseditiontag
Add a tag to check for PSEdition for Find-Packageprovider
2016-07-29 11:38:51 -07:00
Michael Greene
8e9100ae4a page to describe creating and working with simple script files 2016-07-29 13:04:33 -05:00
Jason Shirk
4af12afa4c Merge pull request #1510 from PowerShell/maertend-patch-3
Delete rest.ps1
2016-07-29 10:16:23 -07:00
Dongbo Wang
034f9ba46d Merge pull request #1570 from PowerShell/test/fix-master
Revert back to old MMI package, until we fix regression
2016-07-29 09:25:02 -07:00
Jason Shirk
46df245174 Merge pull request #1564 from PowerShell/AngelCalvo-patch-4
Update README.md
2016-07-29 09:11:25 -07:00
Jason Shirk
0513425ff9 Merge pull request #1566 from PowerShell/andschwa/chars
Fix PSReadLine custom key binding on Linux
2016-07-29 09:10:10 -07:00
Sergei Vorobev
dcde9bd583 Revert back to old MMI package, until we fix regression 2016-07-29 08:49:33 -07:00
Michael Greene
f3bac7faf0 demo PowerShellGet repositories 2016-07-29 07:23:11 -05:00
Sergei Vorobev
d5f3fd3f83 Fix Microsoft.PowerShell.GraphicalHost/map.json 2016-07-28 23:20:22 -07:00
Sergei Vorobev
3e6179112b Fix Microsoft.PowerShell.Commands.Utility/map.json 2016-07-28 23:15:19 -07:00
Sergei Vorobev
3f9c4d648e Merge pull request #1560 from PowerShell/vors/sd-sync
Bring the latest changes from windows source tree
2016-07-28 22:59:53 -07:00
Andrew Schwartzmeyer
9cc6673b27 Add regression tests for custom key bindings
Also tests capitalized key bindings, hence the need to compare case
sensitively.
2016-07-28 22:41:04 -07:00
Andrew Schwartzmeyer
59624e9b2f Fix comparison for default ConsoleKey 2016-07-28 21:51:03 -07:00
Andrew Schwartzmeyer
554ef0b780 Use GetCharFromConsoleKey on Windows
Due to virtual key codes on Windows, simple chords like Ctrl+] are not
recognized as such. Instead, the ConsoleKey is Oem6, and the KeyChar is
an control code.
2016-07-28 21:51:02 -07:00
Andrew Schwartzmeyer
d5b339fb5d Revert changes made to GetGestureString
Given the use of key.KeyChar, the original implementation is now
portable.
2016-07-28 21:35:19 -07:00