Andrew Schwartzmeyer
5ef851a170
Port NativeItemExists for Linux
...
Without using .NET
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
e89fa7b1dc
Clean up IsExecutable and IsSymLink
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
093587fecb
Rename Native so it is Unix.NativeMethods
...
Like the rest of PowerShell.
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
6a23655b2f
Rename LinuxPlatform to Unix
...
Since it supports both Linux and OS X. This follows the .NET Core
convention.
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
551e2e6fc4
Format CorePsPlatform
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
77a9b4b5d2
Remove unnecessary throws in CorePsPlatform
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
2abe461992
Refactor to use GetUserFromPid
2016-07-13 15:46:25 -07:00
Andrew Schwartzmeyer
e6d3cbcce0
Implement Get-Process -IncludeUserName for Linux
...
So much plumbing. The correct way to identify the owner of a process on
Linux is to get the owner of the /proc/<PID> file. However, .NET Core
has no API to get this information, thus it had to be plumbed through to
the native library.
2016-07-13 15:46:25 -07:00
quoctruong91
35ac5999ac
Rename enum interface; Change location used in NuGetProvider to go up 1 level
2016-07-06 10:28:31 -07:00
quoctruong91
54784cb77a
Expose Platform API from SMA and uses that in NuGetProvider
2016-07-05 14:16:35 -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
8ee6d6ca43
Update files from Source Depot changeset [SD:715912]
...
Corresponds to 77eda782aa78ba8b7a36c51ee619629ce6c990f2 in psl-monad.
2016-06-15 18:02:03 -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
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
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
George Fleming
1b97c954ea
remove dependency on native GetHostname
2016-05-05 09:08:06 -07:00
Andrew Schwartzmeyer
822244d261
Fix properties
...
Static but not const, go figure.
2016-04-08 15:08:16 -07:00
Andrew Schwartzmeyer
49066d212a
Replace IsX method with IsCore property
2016-04-08 15:04:16 -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
Andrew Schwartzmeyer
6f2110f38a
Replace use of IsLinux with IsWindows
...
So that IsLinux can stop being overloading for OS X.
2016-04-08 14:50:37 -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
Andrew Schwartzmeyer
b9232256fb
Remove duplicate #if CORECLR from SMA/CoreCLR
2016-04-01 13:16:35 -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