Commit graph

1021 commits

Author SHA1 Message Date
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
PowerShell Team b38773eb79 Update files from Source Depot changeset [SD:709766]
Corresponds to 15b1623435d6a195d1e877ba5c43709d991f573a in psl-monad.
2016-05-31 14:12:49 -07:00
Andrew Schwartzmeyer 9fbb63cd08 Revert ALC rename 2016-05-31 13:22:25 -07:00
Andrew Schwartzmeyer e76a61e137 Update TypeCatalogParser for CoreConsoleHost removal 2016-05-27 16:22:38 -07:00
Andrew Schwartzmeyer 0d172cb562 Revert CoreConsoleHost changes made to SMA 2016-05-27 16:16:34 -07:00
Andrew Schwartzmeyer 20f103b0d4 Revert EndProcessing to original code
This appears to have been changed in a bad merge. Now these changes are
exactly as in source-depot at [SD:706766].
2016-05-27 11:52:31 -07:00
Andrew Schwartzmeyer d811fe37ea Port ConsoleHost break handler to System.Console 2016-05-25 15:31:25 -07:00
Jan Kotas ef9a37df79 Rename PowerShellAssemblyLoadContext to PowerShellAssemblyLoader
PowerShellAssemblyLoadContext does not inherit from AssemblyLoadContext. Rename
it to avoid confusion.
2016-05-24 09:55:04 -07:00
Jan Kotas 44ba0bb28f Switch from AssemblyLoadContext.InitializeDefaultContext to AssemblyLoadContext.Resolving event
AssemblyLoadContext.InitializeDefaultContext was removed for .NET Core 1.0 RTM. Replaced its use
with AssemblyLoadContext.Resolving event.
2016-05-24 09:55:04 -07:00
Andrew Schwartzmeyer f34f5f5ea8 Bump windows-build 2016-05-23 13:14:49 -07:00
PowerShell Team b8dced8e80 Update files from Source Depot changeset [SD:706766]
Corresponds to e2ce37c87c0ab9795bfac2389edc1aff934bdb9e in psl-monad.
2016-05-23 13:14:28 -07:00
Andrew Schwartzmeyer 1365c2b336 Bump windows-build with MMI package 2016-05-23 10:54:08 -07:00
Andrew Schwartzmeyer b1c1cd70e1 Remove MMI project 2016-05-23 10:48:31 -07:00
Andy Schwartzmeyer e69312a964 Merge pull request #1015 from PowerShell/andschwa/secure-string-version
Bump System.Security.SecureString to 4.0.0
2016-05-19 16:10:35 -07:00
Andrew Schwartzmeyer 6c38dc4fb3 Bump Eventing's SecureString version dependency 2016-05-19 15:18:48 -07:00
Andrew Schwartzmeyer 5b61acd28d Bump System.Security.SecureString version to 4.0.0 2016-05-19 15:18:32 -07:00
James Truher 8583cf5e96 update PSVersionTable code to use powershell.version rather than .version because on Linux the .version file doesn't seem to be binplaced. I postulate this is because it's a hidden file 2016-05-19 13:19:16 -07:00
Andy Schwartzmeyer 99402343fc Merge pull request #1000 from PowerShell/andschwa/delete-profile
Remove system profile
2016-05-19 10:00:51 -07:00
James Truher [MSFT] 538f8643a2 Merge pull request #999 from PowerShell/jimtru-AddGitCommitToPSVersionTable
add functionality to PSVersionTable to include GitCommitID and update…
2016-05-19 09:56:17 -07:00
Andrew Schwartzmeyer aa5007cd7a Bump windows-build 2016-05-18 17:48:43 -07:00
Andy Schwartzmeyer 5bdb215034 Don't compile GetComputerInfoCommand.cs 2016-05-18 17:47:25 -07:00
PowerShell Team d9bf6b037f Update files from Source Depot changeset [SD:704605]
Corresponds to 75764b265885c1a346d1b2dbcb281d61b71c5b31 in psl-monad.
2016-05-18 17:41:26 -07:00