Commit Graph
159 Commits
Author SHA1 Message Date
Andrew Schwartzmeyer 10ea1733e9 Update to .NET Core 1.0 packages 2016-06-27 15:30:47 -07:00
Andrew Schwartzmeyer 97df59f553 Re-enable checking of assemblies with strong names
This removes the `UsesCodeSignedAssemblies()` switch in `CorePsPlatform`
and reverts the work-arounds skipping strong name checking.
2016-06-27 14:49:46 -07:00
PowerShell Team 207d2b3195 Integrate changes from SD between [SD:715912] and [SD:717473] 2016-06-22 06:24:08 -07:00
Sergei Vorobev 713ddfdf05 Remove authors section from product project.json 2016-06-16 19:33:19 -07:00
Andrew Schwartzmeyer 9375b1f303 Downgrade packages to build 24027
This is the ancient build that Nano uses.
2016-06-16 15:48:18 -07:00
Andrew Schwartzmeyer 8e7c2ca30b Sign all assemblies with key 2016-06-16 15:48:18 -07:00
Andy Schwartzmeyer acf2f58f26 Merge pull request #1120 from PowerShell/andschwa/merge-sd
Merge SD changeset 715912
2016-06-16 00:15:58 -07:00
Andrew Schwartzmeyer d2cb5610e1 Resurrect ArchitectureSensitiveAttribute
Removal was backed out in SD:712734
2016-06-15 18:02:03 -07:00
PowerShell Team 8ee6d6ca43 Update files from Source Depot changeset [SD:715912]
Corresponds to 77eda782aa78ba8b7a36c51ee619629ce6c990f2 in psl-monad.
2016-06-15 18:02:03 -07:00
Andy Schwartzmeyer cd6b4e2ebc Merge pull request #1090 from PowerShell/scriptdebug
Fix Broken Powershell Debugging
2016-06-15 17:38:16 -07:00
Andrew Schwartzmeyer 2afe0a1ad3 Update SD file mappings
The `ConsoleTextWriter.cs` file had a case-sensitivity issue. The
`ArchitectureSensitiveAttribute.cs` and `nativemsh` files were deleted
in SD.
2016-06-15 15:45:12 -07:00
v-alexjo acd9249fe2 Added PORTABLE as define for debugging and reidented tests. 2016-06-15 12:33:11 -07:00
v-alexjo 72cd28c336 Moving debugging tests out of Set-PSBreakpoint tests 2016-06-15 12:32:10 -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
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
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 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 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
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
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
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 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
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
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
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
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
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