Commit graph

1863 commits

Author SHA1 Message Date
Andrew Schwartzmeyer
3d06cace7c Remove deprecated dependencies doc 2016-03-30 21:30:06 -07:00
Andrew Schwartzmeyer
fd51ebe78f Remove obsolete testing docs 2016-03-30 21:30:06 -07:00
Andrew Schwartzmeyer
9819c2bafb Move Git documents to subfolder 2016-03-30 21:30:06 -07:00
Sergei Vorobev
1d4e87a3ea Merge pull request #753 from PowerShell/vors/master
Merge changes that removes psl-submodule to master
2016-03-30 23:24:58 -05:00
Sergei Vorobev
244dea20a9 Fix version of dotnet-test-xunit to a previous good known one 2016-03-30 20:46:46 -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
Sergei Vorobev
136e0eecea Fix typo in PowerShellGitHubDev.psm1 mapping 2016-03-30 14:13:36 -07:00
Sergei Vorobev
707af00faf Add resx files to mapping.json 2016-03-30 14:12:50 -07:00
Sergei Vorobev
0ff62f7fc5 Add resources mapping capability to New-MappingFile 2016-03-29 16:56:57 -07:00
Sergei Vorobev
562997beb2 Add visualstudiopublic.snk into mapping.json 2016-03-29 16:56:56 -07:00
Sergei Vorobev
2139780eac Add powershell-native sources to mapping.json 2016-03-29 16:56:55 -07:00
Sergei Vorobev
7581df6bea Add Send-GitDiffToSd function to simplify sd workflow
This function will help us to port changes to source-depot
from server2016 branch
2016-03-29 16:56:55 -07:00
Sergei Vorobev
4556eaf6a7 Add mapping to enable psl-monad submodule removal
There are 2 functions:

- New-MappingFile - creates mapping.json from project.json files
  (one is included in this commit)

- Copy-SubmoduleFiles - enables copying files back and forth from
  submodule to src/<projects> based on mapping.json file
2016-03-29 16:56:54 -07:00
Andy Schwartzmeyer
d35f86669a Merge pull request #750 from PowerShell/andschwa/tpa
Fix the AssemblyLoadContext and Trusted Platform Assemblies problem
2016-03-29 15:19:24 -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
Andy Schwartzmeyer
d929d8f749 Merge pull request #748 from PowerShell/dotnet-run
Enable `dotnet-run`
2016-03-29 12:33:50 -07:00
Andrew Schwartzmeyer
497afcd237 Fix build.sh for new location of libpsl-native 2016-03-29 11:46:16 -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
Andrew Schwartzmeyer
4bb241ad11 Output libraries to host directory 2016-03-29 11:17:48 -07:00
Andy Schwartzmeyer
85b00bfaf3 Merge pull request #749 from PowerShell/morelinks
New Linux GetTarget and GetLinkType for symbolic and hard links

Also fixes GetChildItem for symbolic links
2016-03-29 11:15:47 -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
George Fleming
e6980894f7 Modify tests to display link type and link target 2016-03-28 14:35:34 -07:00
Andy Schwartzmeyer
7057c4bfee Merge pull request #743 from PowerShell/andschwa/cli-resources
Use dotnet-resgen to compile resx files
2016-03-28 11:27:40 -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
Andrew Schwartzmeyer
18ba3f3365 Fix VS Code attach debugging configuration
Needs to be `processName`, not `program`. Go figure.
2016-03-26 15:27:15 -07:00
Andy Schwartzmeyer
fe8f012f8e Merge pull request #699 from PowerShell/vscode
Add VS Code launch and task files
2016-03-25 15:19:16 -07:00
Andrew Schwartzmeyer
f9e7e6c89c Handle Start-PSBuild -Restore -Runtime ...
If a runtime is given, we need to restore for that particular runtime as
well.

This also enables `Warning` `dotnet restore` output, and increases the
verbosity to `Info` if `-Verbose` is used.
2016-03-25 15:08:30 -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
840d14e6df Add attach configuration 2016-03-25 14:16:38 -07:00