Francisco Gamino
65eef96bf1
Update Commands.Utility.csproj for WebCmdlet files
2016-08-03 13:12:22 -07:00
Jason Shirk (POWERSHELL)
75eab56e21
csproj fixes
...
- add some missing references
- fix assembly name so InternalsVisibleTo works
2016-08-02 10:50:51 -07:00
PowerShell Team
403ae3f53f
Initial run of code formatter
...
I (Jason Shirk) ran https://github.com/dotnet/codeformatter with the default rules, basically:
codeformatter /nocopyright "/c:DEBUG,UNIX,CORECLR" @files.rsp
This caused a few problems building, which were fixed up manually.
Notable changes:
`this.` is removed unless needed to disambiguate.
private instance fields are renamed to have a `_` prefix.
private static fields are renamed to have a `s_` prefix.
I left some projects alone (like PackageManagement) and also left some generated code alone.
2016-08-01 15:57:03 -07:00
Sergei Vorobev
3e6179112b
Fix Microsoft.PowerShell.Commands.Utility/map.json
2016-07-28 23:15:19 -07:00
Sergei Vorobev
2280bea11e
Consolidate map.json files under Microsoft.PowerShell.Commands.Utility
...
Fix #1489
2016-07-28 18:02:24 -07:00
Sergei Vorobev
7d866679d0
Address some feedback
...
- Name fields more descriptive
- Use .AddRange instead of foreach
2016-07-26 17:45:49 -07:00
Sergei Vorobev
3fd885ef2d
Add-Type: add mscorlib.dll to the list of default references
...
Fix #1361
On CoreCLR 1.0.0 RTM the layout changed compare to RC2.
This change accounts for it.
This change also cleans up some left-overs for SecureString ref.
2016-07-26 17:45:49 -07:00
Sergei Vorobev
3240a2d369
Fix ConvertFrom-Json to handle mutlilines
...
Fix #956
Add Newtonsoft.Json.JsonSerializationException to catch block
that determines which mode to use: single-string or multi-string
2016-07-26 11:11:44 -07:00
Andrew Schwartzmeyer
79daea0132
Remove deprecated catch
...
These colors can be set now.
2016-07-24 16:20:46 -07:00
Francisco Gamino
3a898cb888
Addressing code review comments about the mshtml isolation work.
2016-07-24 16:20:46 -07:00
Francisco Gamino
46f8e0d60d
Make Invoke-WebRequest cmdlet work on CoreCLR without mshtml
2016-07-24 16:20:46 -07:00
Francisco Gamino
b7115879c3
Added new file structure for CoreCLR and FullCLR files.
2016-07-24 16:20:46 -07:00
Francisco Gamino
4c748211af
Moved WebCmdlet files to subfile, and added new file structure for CoreCLR and FullCLR files.
2016-07-24 16:20:46 -07:00
Andrew Schwartzmeyer
0f04de1e96
Fix some documentation warnings
...
Mostly low-hanging fruit and Linux additions/changes.
2016-07-18 19:08:28 -07:00
Andrew Schwartzmeyer
790a07222e
Disable some XML documentation warnings
...
Some projects have more warnings than I can fix.
2016-07-18 19:07:32 -07:00
Andrew Schwartzmeyer
b6f26ad7cc
Enable XML documentation generation
...
This is enabled for PowerShell projects, but not PackageManagment,
WSMan, Cim, or MMI.
2016-07-18 18:40:42 -07:00
Dongbo Wang
704f320eff
Add 'TraceCommandStrings.resx' back to CoreCLR build. TraceCommand cmdlets have been ported in Github.
2016-07-07 09:54:30 -07:00
Dongbo Wang
15fbd76df8
Exclude the unneeded gen/*.cs files from the build for each target framework
2016-07-07 09:32:21 -07:00
Dongbo Wang
b4641986a2
Update project.json files to exclude certain .resx files for each target framework
2016-07-06 13:04:31 -07:00
Dongbo Wang
b4089414de
Add back missing files to OPS -- map.json/project.json udpates
2016-07-05 16:18:24 -07:00
Jason Shirk (POWERSHELL)
efc83bbaa2
Add csproj files and sln for editing but not building
2016-07-05 10:27:41 -07:00
Jason Shirk (POWERSHELL)
dc1d672a86
Fix Measure-Object -Property w/ wildcards
...
Fixes #1215
2016-06-30 18:16:37 -07:00
Andrew Schwartzmeyer
e08c216c07
Downgrade Newtonsoft.Json package to 7.0.1
...
This is the same as on Nano.
2016-06-29 14:05:09 -07:00
Andrew Schwartzmeyer
c78732d226
Remove ClrFacade.Load
...
Instead, rely on intercepting Assembly.Load
2016-06-28 18:31:38 -07:00
Andrew Schwartzmeyer
000206ac90
Bump framework to netstandard1.6
...
This is required to use the new .NET Core RTM packages, specifically the
`IEnumerable Append` API.
2016-06-27 15:30:47 -07:00
Andrew Schwartzmeyer
10ea1733e9
Update to .NET Core 1.0 packages
2016-06-27 15:30:47 -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
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
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
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
1a1de1d4a0
Remove unnecessary LINUX configuration from Commands.Utility
2016-06-10 11:52:35 -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
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
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
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
Sergei Vorobev
bf1a2c8521
Make Add-Type work without a flat folder structure
...
- Get rid of the assumption that all framework assemlbies live in
the same place
- Enable build scenario (assemlbies are referenced directly from unpacked
nuget packages)
- Fix #766
- Re-enable Add-Type tests
2016-04-08 21:41:30 -07:00
Andrew Schwartzmeyer
f5410a18ce
Replace IsWindows method with property
...
And add *correct* IsLinux and IsOSX properties.
2016-04-08 14:54:41 -07:00
PowerShell Team
78a18c3f70
Revert "Update files from psl-monad"
...
This reverts commit 9ed2c2a68b .
This commit is here to make source-depot branch a parent of master
2016-04-06 12:03:50 -07:00
PowerShell Team
9ed2c2a68b
Update files from psl-monad
...
This commit uses psl-monad branch source-depot 28156300
And corresponds to [SD:692351]
2016-04-06 11:55:18 -07:00
Sergei Vorobev
2464d58a51
Fix file casing to enable C# binding generation
...
Use windows-build\gen\<project> instead of windows-builg\gen\<somename>
2016-04-04 14:18:10 -07:00
Sergei Vorobev
8e4343e881
Merge remote-tracking branch 'origin/source-depot' into vors/master
2016-04-04 12:56:23 -07:00