Commit Graph
1042 Commits
Author SHA1 Message Date
Chunqing Chen d1015eddb2 Add project.json to src/Microsoft.PowerShell.Commands.Diagnostics/project.json 2016-06-15 15:27:06 -07:00
Andrew Schwartzmeyer b30aabc12b Revert string comparison changes
These comparisons did not need to be changed as the input path is not
modified. The normalized relate path created from the stack (if this
code path is taken) is created with the correct path separators.
2016-06-15 12:16:54 -07:00
Andrew Schwartzmeyer d162437b7b Remove string literals in registry provider 2016-06-15 12:16:54 -07:00
Andrew Schwartzmeyer 3262a4b3ec Fix GetDriveQualifiedPath for single root filesystems
Reverted to original code and fixed correctly.
2016-06-15 12:16:54 -07:00
Andrew Schwartzmeyer 3464f9aee3 Fix ExpandMshGlobPath for single root filesystems
Reverted to original code and fixed correctly.
2016-06-15 12:16:54 -07:00
Andrew Schwartzmeyer ee40426fb3 Fix path root comparisons for Linux
Assuming the path may not be normalized, to make PowerShell slash
agnostic in a filesystem whose "drive" is a '/' and a 'C:\', we need to
compare to both '/' and '\' for users of PowerShell's alternate path
separator on Linux ('\').
2016-06-15 12:16:54 -07:00
Andrew Schwartzmeyer a8f93c3c64 Fix the alternate path separator for Linux
Because normalization of paths occurs through the location globber and
filesystem provider by way of `path.Replace(alternate, default)`,
changing the alternate path separator on Linux to be '\' instead of
.NET's '/' let's PowerShell be "slash agnostic."
2016-06-15 12:16:54 -07:00
Andrew Schwartzmeyer 4b3b48adec Remove resgen artifacts
This has been deprecated by building these files on the fly using a
template in PowerShell, instead of using the resgen Windows-only binary.
2016-06-15 11:20:19 -07:00
Sergei Vorobev 65acf49845 Replace aliases by full names to fix build 2016-06-15 10:34:10 -07:00
Sergei Vorobev d92620dcf3 Move resgen artifacts from submodules into src subfolders
Submodule adds unnessesary complexity.
This commit removes dependency on pre-generated C# bindings.
Start-PsBuild -ResGen will call Start-ResGen.
It also has auto-detect logic to simplify first time expirience.
2016-06-15 10:34:10 -07:00
Sergei Vorobev c7af71ed0e Merge pull request #1107 from PowerShell/andschwa/exclude-files
Remove CORECLR guards
2016-06-14 22:00:27 -07:00
Dongbo Wang cae7b925a1 Bump windows-build submodule version for LocalAccounts 2016-06-14 17:04:58 -07:00
PowerShell Team 802630c261 Add source files for Microsoft.PowerShell.LocalAccounts [SD:709776]
Commit 15b1623
2016-06-14 17:02:50 -07:00
Dongbo Wang 1829beb917 Fix map.json for LocalAccounts 2016-06-14 16:59:38 -07:00
Dongbo Wang d33cb11439 Update project.json files to build Microsoft.PowerShell.LocalAccounts 2016-06-14 16:56:05 -07:00
Dongbo Wang e64773d446 Add map.json for LocalAccounts 2016-06-14 16:55:46 -07:00
Andrew Schwartzmeyer d16cfbd04f Work-around dotnet bug
The include must be duplicated because the root `buildOptions` is not
being applied "whenever compiling the project."
2016-06-14 16:21:36 -07:00
Andrew Schwartzmeyer 01f1c5348d Exclude FullCLR files from CoreCLR build 2016-06-14 16:21:17 -07:00
Andrew Schwartzmeyer 047525aa9d Revert unnecessary changes 2016-06-14 16:21:17 -07:00
Andrew Schwartzmeyer 69ce0e7107 Revert CORECLR guard from FullCLR files
This reverts the `if !CORECLR ... #endif` guard surrounding FullCLR
files by applying the original diff from the `source-depot` branch, thus
the accidentally overwritten BOMs were restored as well.
2016-06-14 16:06:48 -07:00
Sergei Vorobev 85e2ecd504 Add new map.json files 2016-06-13 17:39:11 -07:00
Andrew Schwartzmeyer 2639f2a8ae Use include key in copyToOutput and publishOptions
While the schema says that a `string[]` will be picked up as if `{
"include" : [ ... ] }` was used, it does not. This is a .NET CLI bug.
2016-06-10 13:00:33 -07:00
Andrew Schwartzmeyer 9b2be207f7 Don't attempt to publish any profiles
PowerShell does not ship with any default profiles.
2016-06-10 12:44:18 -07:00
Andrew Schwartzmeyer 44f3fb1211 Update content to copyToOutput and publishOptions
These must be duplicated as we require the same files for both `build`
and `publish`. This is the requirement of the new schema, as `content`
was split.

Note that while each key can take an object, if given just a `string[]`
as we do here, it defaults to `include`.

See the new schema: https://github.com/aspnet/Announcements/issues/175
2016-06-10 12:41:26 -07:00
Andrew Schwartzmeyer 1a1de1d4a0 Remove unnecessary LINUX configuration from Commands.Utility 2016-06-10 11:52:35 -07:00
Andrew Schwartzmeyer e61d698bbc Remove NOETW in favor of LINUX
ETW is available on Windows, so this is only (and will always be)
necessary for Linux.
2016-06-10 11:49:40 -07:00
Andrew Schwartzmeyer 80aceb7a8a Move compile data to build options 2016-06-10 11:15:37 -07:00
Andrew Schwartzmeyer e3056303aa Rename compilationOptions to buildOptions in project.json files
This resolves #928. This is a breaking change in that you *must* be
running a recent version of .NET CLI.
2016-06-10 11:03:56 -07:00
Sergei Vorobev 32b90c048a Remove Microsoft.PowerShell.Diagnostics from default Snapins on LINUX 2016-06-10 07:16:33 +00:00
Andrew Schwartzmeyer 539f8696e5 XDG cache directory now guaranteed to exist 2016-06-09 09:50:36 -07:00
Andrew Schwartzmeyer d5f6295042 Update ModuleAnalysisCache to use XDGBDS on Linux 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
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 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 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
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
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
Andrew Schwartzmeyer 9c7e97e325 Add Debian 8 RID 2016-06-03 09:37:59 -07:00
Andy Schwartzmeyer bb6e2f2d49 Merge pull request #1049 from PowerShell/andschwa/revert-history-merge
Revert EndProcessing to original code
2016-05-31 15:51:47 -07:00
Andrew Schwartzmeyer 7736f0d9e0 Bump windows-build 2016-05-31 14:14:53 -07:00