Matthew Brener
a666c51110
its to it's where appropriate in throttlemanager
2016-08-25 18:19:33 +10:00
Paul Higinbotham
e779d5dda1
Fix for issue 1528: SSH based remoting does not handle errors during connection attempt ( #1856 )
2016-08-18 16:08:58 -07:00
PaulHigin
44ad7f9e3c
These changes implement PowerShell remoting over SSH. The changes include feedback from code review comments.
2016-08-12 15:47:46 -07:00
Dongbo Wang
3ff19e1d80
Update module path calculation logic to support side-by-side.
...
Use 'Path.PathSeparator' instead of ';' to separate paths, so that it uses ';' on windows and ':' on unix.
Also refactor some code as part of the change.
2016-08-11 21:36:48 -07:00
Jason Shirk (POWERSHELL)
cf40937552
Fix remoting break caused by refactoring
...
Remoting apparently depends on the names of private fields
not changing between versions of PowerShell.
Because of this, these refactorings broke remoting:
* rename private fields
* convert to auto-property
2016-08-05 17:55:49 -07:00
PowerShell Team
c1ee6c9d6d
Refactoring - replace always null expressions with null
2016-08-03 12:14:28 -07:00
PowerShell Team
22d2273ce4
Refactoring - use ?? in more places
2016-08-03 12:14:28 -07:00
PowerShell Team
85d6e9f022
Refactoring - adjust modifiers declaration order
2016-08-03 12:14:28 -07:00
PowerShell Team
ae8d2ed794
Refactor - convert to auto-property
...
Mostly using R# to automatically refactor, with some manual
fixups where it wouldn't work automatically (e.g. xml comments
on fields) or some it seemed to miss.
Some minor code reformatting was also done on properties near
other stuff I was manually inspecting.
2016-08-03 12:14:28 -07:00
PowerShell Team
bc4901bd59
Remove unused using statements
2016-08-03 12:06:06 -07:00
Paul Allen
a7f58b2026
split the wsman apis into client/server shared libraries
2016-08-02 11:40:09 -07:00
Jason Shirk
9742b64170
Merge pull request #1591 from lzybkr/code_formatting
...
Code formatting
2016-08-01 16:46:05 -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
Mike Richmond
19138f3f62
Fixing reverse PInvoke worker callback pointer structure layout to synchronize it between managed and unmanaged code.
2016-08-01 15:02:52 -07:00
Jason Shirk (POWERSHELL)
673dd2c355
Change preprocessor macro LINUX to UNIX
2016-07-22 10:49:45 -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
73a1a51f69
Remove Platform.HasRegistry query
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
c78732d226
Remove ClrFacade.Load
...
Instead, rely on intercepting Assembly.Load
2016-06-28 18:31:38 -07:00
Andrew Schwartzmeyer
2f892e8127
Use Marshal.ZeroFreeCoTaskMemUnicode
...
This removes the ClrFacade function of the same name as this API is in
.NET Core 1.0 Marhsal class, not SecureStringMarshal.
2016-06-27 15:30:47 -07:00
PowerShell Team
207d2b3195
Integrate changes from SD between [SD:715912] and [SD:717473]
2016-06-22 06:24:08 -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
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
b8dced8e80
Update files from Source Depot changeset [SD:706766]
...
Corresponds to e2ce37c87c0ab9795bfac2389edc1aff934bdb9e in psl-monad.
2016-05-23 13:14:28 -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
PowerShell Team
3998ce06ba
Update files from Source Depot changeset [SD:700586]
...
Corresponds to 84837459913bb00660964d19ea07f5e0c7b4b442 in psl-monad.
2016-04-28 13:53:04 -07:00
Sergei Vorobev
273328d06f
Update files from psl-monad source-depot [SD:695331]
...
Corresponds to 1218e29752ba4
2016-04-13 09:41:34 -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
8e4343e881
Merge remote-tracking branch 'origin/source-depot' into vors/master
2016-04-04 12:56:23 -07:00
PowerShell Team
5386c71bb2
Update files from psl-monad
...
This commit uses psl-monad branch source-depot cc6afbeb
And corresponds to [SD:692351]
2016-03-31 17:27:44 -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
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