Commit Graph

2490 Commits

Author SHA1 Message Date
Andrew Schwartzmeyer
d5f6295042 Update ModuleAnalysisCache to use XDGBDS on Linux 2016-06-09 09:50:36 -07:00
Andrew Schwartzmeyer
4b0c916646 Skip tests which can't be run on Travis OS X
These should be marked as `-Pending` but Pester doesn't accept both
`-Skip` and `-Pending` parameters, so they had to be combined to support
skipping on Windows.
2016-06-09 09:50:36 -07:00
Andrew Schwartzmeyer
0e10a51802 Whitespace and formatting cleanups 2016-06-09 09:50:36 -07:00
Andrew Schwartzmeyer
140d452ba2 Fix PSReadLine history path on Windows
Bug introduced in initial port of PSReadLine. `Path.Combine` sees the
initial backslash as an absolute path, thus discarding `AppData`.
2016-06-09 09:50:36 -07:00
v-alexjo
a293707d71 XDG cache home now will create powershell child folder 2016-06-09 09:50:36 -07:00
v-alexjo
f46aa8d195 configdefault missed in refactoring 2016-06-09 09:50:36 -07:00
v-alexjo
42c0b9a5f7 Style changes and psreadline path change 2016-06-09 09:50:36 -07:00
Andrew Schwartzmeyer
41c7f9e469 Update XDG BDS tests to specifications
This renames the tests and updates for better requirement
specifications. The profile, modules, history, and startup cache data
are tested for not breaking Windows behavior, new Linux behavior, and
respecting set variables on launch. This also corrects some erroneous
assumptions I had previously made.

The ModuleAnalysisCache cannot be tested, and the startup cache data
might not be testable on Windows.
2016-06-09 09:50:36 -07:00
v-alexjo
caa4c3f163 Changing history to cache, removed redundant code 2016-06-09 09:50:36 -07:00
v-alexjo
c2527199a6 Further code review changes 2016-06-09 09:50:36 -07:00
v-alexjo
4c1f9f9c79 Adding XDG tests 2016-06-09 09:50:36 -07:00
v-alexjo
237c659b5e Changes to xdg to append powershell path 2016-06-09 09:50:36 -07:00
v-alexjo
29e97bf1aa Code review changes to XDG support 2016-06-09 09:50:36 -07:00
v-alexjo
54c64c9db6 Initial XDG support and folder default changes
Conflicts:
	src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHost.cs
2016-06-09 09:50:36 -07:00
Andrew Schwartzmeyer
fd649c0f77 Revert "Merge pull request #1046 from PowerShell/GetMemberCommandTest"
This reverts commit 7392c68bcb, reversing
changes made to 1ee6e4ef2d.
2016-06-08 13:24:33 -07:00
Andrew Schwartzmeyer
1f36de3e03 Revert "Merge pull request #1047 from PowerShell/CompareObjectPesterTest"
This reverts commit 1ee6e4ef2d, reversing
changes made to 5a0155dc9d.
2016-06-08 13:23:21 -07:00
James Truher [MSFT]
26691a5088 Merge pull request #1024 from PowerShell/MeasureObjectPesterTest
Add Measure-Object Pester Unit Test
2016-06-08 12:02:56 -07:00
James Truher [MSFT]
7392c68bcb Merge pull request #1046 from PowerShell/GetMemberCommandTest
Add Unit Test for Get-Member
2016-06-08 12:00:57 -07:00
James Truher [MSFT]
1ee6e4ef2d Merge pull request #1047 from PowerShell/CompareObjectPesterTest
Add Compare-Object Pester Unit Test
2016-06-08 11:59:14 -07:00
James Truher [MSFT]
5a0155dc9d Merge pull request #1056 from PowerShell/NewObjectPesterTest
Add New-Object Pester Unit Test
2016-06-08 11:57:59 -07:00
James Truher [MSFT]
8fca9646e9 Merge pull request #1057 from PowerShell/SelectXMLPesterTest
Add Select-XML Pester Unit Test
2016-06-08 11:56:23 -07:00
James Truher [MSFT]
0e2f25def5 Merge pull request #1059 from PowerShell/TeeObjectTests
Add Unit Test For Tee-Object
2016-06-08 11:53:39 -07:00
Andy Schwartzmeyer
3ad7520173 Merge pull request #1077 from PowerShell/andschwa/tools
Move some tools into tools tree
2016-06-07 10:06:13 -07:00
Andy Schwartzmeyer
109f3af562 Merge pull request #1079 from PowerShell/RaghuS-RenameAssetsBranch
Renamed 'Assets' folder to 'assets' - for systems that are case sensitive
2016-06-06 15:04:20 -07:00
Raghu Shantha [MSFT]
3ea2049e2c Renamed Assets folder to assets - for systems that are case sensitive 2016-06-06 14:28:27 -07:00
Andy Schwartzmeyer
ef1a0d4595 Merge pull request #1078 from PowerShell/RaghuS-MSIPackageFixesBranch
Fixes around MSI packaging functionality
2016-06-06 14:06:59 -07:00
Raghu Shantha [MSFT]
061cf4a6a0 Moved MSI wxs file to assets ; Renamed MSI package creation function to be compliant with PowerShell verb-noun conventions 2016-06-06 13:20:00 -07:00
Andrew Schwartzmeyer
338b9a3462 Add LLDB with SOS via tools/debug.sh note to debugging docs 2016-06-06 12:20:28 -07:00
Andrew Schwartzmeyer
112945657c Update debug.sh script for new layout 2016-06-06 12:15:49 -07:00
Andrew Schwartzmeyer
90be3585e1 Move debug.sh 2016-06-06 12:15:49 -07:00
Andrew Schwartzmeyer
0b0b141ea5 Move download.sh script to tools tree 2016-06-06 12:15:49 -07:00
Jason Shirk
096779d1be Merge pull request #1076 from PowerShell/andschwa/trace-command-docs
Add debugging info on use of Trace-Command
2016-06-06 12:09:19 -07:00
Andy Schwartzmeyer
527dbd283f Merge pull request #1073 from PowerShell/RaghuS-SignPackageToolsBranch
Utility to generate a self-signed certificate and sign a given package such as OpenPowerShell.zip/appx/msi
2016-06-06 11:58:53 -07:00
Andrew Schwartzmeyer
751f8a0635 Add debugging info on use of Trace-Command 2016-06-06 11:54:13 -07:00
Raghu Shantha [MSFT]
6c3b64f3f2 Utility to generate a self-signed certificate and sign a given package such as OpenPowerShell.zip/appx/msi 2016-06-06 09:54:25 -07:00
Andy Schwartzmeyer
814aeea8c8 Merge pull request #1072 from PowerShell/andschwa/psversiontable-issue
Ask for $PSVersionTable in issue template
2016-06-03 19:13:17 -07:00
Andrew Schwartzmeyer
195ed6e790 Ask for $PSVersionTable in issue template 2016-06-03 17:10:34 -07:00
Andy Schwartzmeyer
d833371ed9 Merge pull request #1048 from PowerShell/andschwa/skip-extensions
Don't require extensions for script.ps1 etc. on Linux
2016-06-03 14:44:26 -07:00
Andrew Schwartzmeyer
c6960f0867 Add tests for command name matching 2016-06-03 14:18:00 -07:00
Andrew Schwartzmeyer
5c4675c63f Allow scripts to be called without .ps1 extension
For instance, `script.ps1` can be called with just `script`.
2016-06-03 14:17:47 -07:00
Andy Schwartzmeyer
b9bf32d962 Merge pull request #1068 from PowerShell/andschwa/trace-command
Port Trace-Command
2016-06-03 14:13:13 -07:00
Andrew Schwartzmeyer
70be543038 Add Get-TraceSource test 2016-06-03 13:53:20 -07:00
Andrew Schwartzmeyer
dbae9e5c13 Import Trace-Command tests from source depot 2016-06-03 13:35:56 -07:00
Andrew Schwartzmeyer
facef0ce6b Enable tracing commands in module 2016-06-03 13:35:56 -07:00
Andrew Schwartzmeyer
f1741c04f5 Use Dispose() instead of Close() for CORECLR 2016-06-03 13:35:56 -07:00
Andrew Schwartzmeyer
52621adba8 Use Security.Permissions stub 2016-06-03 12:07:48 -07:00
Jason Shirk
a3748647d5 Merge pull request #919 from PowerShell/WriteTests
Add Unit Test For Write Command
2016-06-03 10:46:26 -07:00
Andrew Schwartzmeyer
e007412628 Build utility/trace sources for Core PowerShell 2016-06-03 10:27:50 -07:00
Andrew Schwartzmeyer
2b91e1ba90 Add TextWriterTraceListener to Commands.Utility 2016-06-03 10:27:50 -07:00
Andy Schwartzmeyer
2c25c14cf8 Merge pull request #1069 from PowerShell/andschwa/debian
Add Debian 8 RID
2016-06-03 10:16:08 -07:00