Commit graph

826 commits

Author SHA1 Message Date
Andrew Schwartzmeyer ff73a5cd98 Move Pester to src/Modules 2016-04-01 18:09:30 -07:00
Andrew Schwartzmeyer 774dcb7996 Migrate libpsl-native googletest submodule 2016-04-01 18:02:20 -07:00
Andrew Schwartzmeyer 0102a55da5 Add 'src/libpsl-native/' from commit '4bb241ad11c54985617343fbeb8700cfdcdf7ae0'
git-subtree-dir: src/libpsl-native
git-subtree-mainline: 2264613ae3
git-subtree-split: 4bb241ad11
2016-04-01 17:59:08 -07:00
Andrew Schwartzmeyer 2264613ae3 Remove libpsl-native submodule 2016-04-01 17:57:58 -07:00
Andrew Schwartzmeyer fde63f4bc0 Add win81-x64 runtime
It's what AppVeyor uses.
2016-04-01 17:52:00 -07:00
Andrew Schwartzmeyer 1293c63289 Deploy powershell.exe as content for ConsoleHost
CMake will now output the artifacts of the native build into the
ConsoleHost project, where .NET CLI picks it up as content and deploys
it automatically.
2016-04-01 16:48:16 -07:00
Andrew Schwartzmeyer b9232256fb Remove duplicate #if CORECLR from SMA/CoreCLR 2016-04-01 13:16:35 -07:00
Andrew Schwartzmeyer 646d234d1f Revert "Remove runtimes sections from projects"
This reverts commit 47fd1a45bc.

Per dotnet/cli#2029, RID inference is no longer supported by NuGet, and
so the runtimes section needs to exist again.
2016-04-01 13:01:15 -07:00
Andrew Schwartzmeyer 39f92b436d Bump windows-build
This commit was forgotten.
2016-03-31 13:31:21 -07:00
Andrew Schwartzmeyer f49e2b259c Update CorePsTypeCatalog.cs 2016-03-31 13:22:04 -07:00
Andrew Schwartzmeyer d7b104110e Bump .NET Core packages to 23931-00 2016-03-31 12:33:44 -07:00
Andrew Schwartzmeyer f03c5f4c0b Ignore all libraries in host 2016-03-30 23:30:26 -07:00
Sergei Vorobev b5e70ccad7 Fix hardcoded path to resources in EventLogLogProvider.cs 2016-03-30 20:01:34 -07:00
PowerShell Team 45140c5752 Move files from psl-monad submodule to super-project
This commit uses master branch 860eb5d
2016-03-30 20:01:33 -07:00
Sergei Vorobev 111b254f3d Remove psl-monad submodule
Fix #656
2016-03-30 20:01:05 -07:00
Sergei Vorobev 43b5dfdf9c Make powershell-native use source from the superproject 2016-03-30 19:33:19 -07:00
Sergei Vorobev 67a98694f6 Bump windows-build submodule version to in-tree resx 2016-03-30 17:16:51 -07:00
Sergei Vorobev fe5bb28fd1 Remove compileFiles and resource sections from project.json files 2016-03-30 17:16:50 -07:00
Sergei Vorobev abf005fc38 Update AssemlbyInfo.cs files to use snk from super-project
Conflicts:
	src/System.Management.Automation/AssemblyInfo.cs
2016-03-30 17:16:49 -07:00
PowerShell Team 60b3b304f2 Move files from psl-monad submodule to super-project
This commit uses psl-monad branch source-depot 7209cb9
And corresponds to [SD:688741]
2016-03-30 17:16:23 -07:00
Andrew Schwartzmeyer e972cf27b7 Bump monad submodule with ALC/TPA fixes 2016-03-29 14:38:21 -07:00
Andrew Schwartzmeyer 37d825c741 Don't send a path to the ALC 2016-03-29 13:18:35 -07:00
Andrew Schwartzmeyer 489af53052 Bump libpsl-native submodule 2016-03-29 11:18:31 -07:00
Andrew Schwartzmeyer 03c452c98c Deploy native library automatically 2016-03-29 11:18:12 -07:00
George Fleming a516cc2b05 Updated src/monad 2016-03-28 15:11:46 -07:00
George Fleming 7fedb1942e Add src/libpsl-native 2016-03-28 14:36:13 -07:00
George Fleming 3a051adab7 Add src/monad 2016-03-28 14:35:55 -07:00
Andrew Schwartzmeyer eb938415bc Fix use of ResourceManager in monad 2016-03-28 10:49:08 -07:00
Andrew Schwartzmeyer 2f29f43e42 Set default culture to en-US
So that the resource manager doesn't try to load a non-existent
satellite assembly (and thus throw).

The culture `en-US` is the default `CurrentCulture` on all platforms I
tested, specifically not `en`.

Note that there is a problem with the FullCLR build where some other
assembly is still attempting to reference `Logging.resources` instead of
`System.Management.Automation.Logging.resources`.
2016-03-26 18:49:13 -07:00
Andrew Schwartzmeyer 6433650edf Add System.IO.MemoryMappedFiles dependency
This is a runtime dependency that causes an internal exception to be
thrown and caught when not available.
2016-03-26 17:26:18 -07:00
Andrew Schwartzmeyer aedaf53813 Bump windows-build submodule with resources fixes 2016-03-26 15:31:45 -07:00
Andrew Schwartzmeyer 3d8a3b9d45 Replace Eventing's namedResource section with resource 2016-03-26 15:30:48 -07:00
Andrew Schwartzmeyer af9296035c Replace ConsoleHost's namedResource section with resource 2016-03-26 15:30:45 -07:00
Andrew Schwartzmeyer b363fc909e Replace Security's namedResource section with resource 2016-03-26 15:30:26 -07:00
Andrew Schwartzmeyer 76fd8bd436 Replace Management's namedResource section with resource 2016-03-26 15:30:07 -07:00
Andrew Schwartzmeyer 3979d4c206 Replace Utility's namedResource section with resource 2016-03-26 15:29:48 -07:00
Andrew Schwartzmeyer 9a52f1eaa7 Replace SMA's namedResource section with resource
Specifically this enables us to leverage `dotnet-resgen` to
auto-generate the `resx` files into `resources` files for the default
culture, which are then compiled into the SMA assembly.

This requires a change to the C# bindings. The Windows build system
takes `file.resx` and compiles `file.resources`, but CLI prepends the
assembly name, thus compiling `SMA.file.resources`. So the resource
manager in the generated bindings must be adjusted to look for
`SMA.file` instead of `file`.

Note that C# bindings cannot yet be auto-generated.

Given localized resources of the form `file.en-US.resx`, `dotnet-resgen`
will create a satellite assembly and publish it to
`en-US/SMA.resources.dll`, so #666 will not be a technical problem.
2016-03-26 15:29:17 -07:00
George Fleming 454524cf72 new native code and test for obtaining target of symlinks 2016-03-25 14:37:16 -07:00
Andrew Schwartzmeyer 47fd1a45bc Remove runtimes sections from projects
No longer necessary to restore/build. Removing them allows NuGet to
restore only the packages necessary for the current platform, vastly
reducing cache sizes and restore time.

My `~/.nuget/packages` directory was almost 1GB smaller with this
change.
2016-03-25 14:29:18 -07:00
Andrew Schwartzmeyer c7124578ed Bump packages back to rc3
The primary reason to do this is that the VS Code debugger is not
compatible with rc2.

Secondarily, we want to continue tracking CoreCLR/FX master branch,
which means to continue with the latest release candidates. Since we are
releasing in August, we will be able to pick up the converged RTM
version before release.

The only advantage of rc2 is that it is frozen; but we have this anyway
because we snap to particular builds.
2016-03-25 13:03:07 -07:00
Andy Schwartzmeyer 06ab38e757 Merge pull request #730 from PowerShell/rawui2
MegaPatch that includes all of #717, plus RawUI fixes
2016-03-23 17:56:46 -07:00
Paul Allen d7eb0e1612 Pull in latest psrp fixes 2016-03-23 16:34:29 -07:00
George Fleming 5e9c31107c Changes per Andy comments, and add revert of colors at end of PS 2016-03-23 16:17:06 -07:00
George Fleming aab00e2ee1 Fixes UI-related bugs, and migrate Console.Write to myHost.UI.Write 2016-03-23 14:11:04 -07:00
George Fleming d565462286 Reverse TreatControlCAsInput now that CoreFx fix has arrived 2016-03-23 14:11:04 -07:00
George Fleming 5a487f0836 Fix rendering issue with leading spaces, and added support for additional ctrl commands 2016-03-23 14:11:04 -07:00
George Fleming d234ca2499 Add color to reverse search 2016-03-23 14:11:04 -07:00
George Fleming 2708d2bc08 Add Ctrl-R reverse search 2016-03-23 14:11:04 -07:00
George Fleming 89839b69e7 Render multi-line command as a single-line command 2016-03-23 14:11:04 -07:00
George Fleming e713af87bb Adding support for Ctrl-K, Ctrl-Y, and Ctrl-L 2016-03-23 14:11:04 -07:00