Commit Graph
38 Commits
Author SHA1 Message Date
Josh Soref eb3fd7ae6c Spelling comments (#2066)
* spelling: comments in src/Microsoft.Management.Infrastructure.CimCmdlets

* spelling: comments in src/Microsoft.PackageManagement.ArchiverProviders

* spelling: comments in src/Microsoft.PackageManagement.CoreProviders

* spelling: comments in src/Microsoft.PackageManagement.MetaProvider.PowerShell

* spelling: comments in src/Microsoft.PackageManagement.MsiProvider

* spelling: comments in src/Microsoft.PackageManagement.MsuProvider

* spelling: comments in src/Microsoft.PackageManagement.NuGetProvider

* spelling: comments in src/Microsoft.PackageManagement.PackageSourceListProvider

* spelling: comments in src/Microsoft.PackageManagement

* spelling: comments in src/Microsoft.PowerShell.Activities

* spelling: comments in src/Microsoft.PowerShell.Commands.Diagnostics

* spelling: comments in src/Microsoft.PowerShell.Commands.Management

* spelling: comments in src/Microsoft.PowerShell.Commands.Utility

* spelling: comments in src/Microsoft.PowerShell.ConsoleHost

* spelling: comments in src/Microsoft.PowerShell.Core.Activities

* spelling: comments in src/Microsoft.PowerShell.CoreCLR.AssemblyLoadContext

* spelling: comments in src/Microsoft.PowerShell.CoreCLR.Eventing

* spelling: comments in src/Microsoft.PowerShell.Diagnostics.Activities

* spelling: comments in src/Microsoft.PowerShell.GraphicalHost

* spelling: comments in src/Microsoft.PowerShell.LocalAccounts

* spelling: comments in src/Microsoft.PowerShell.Management.Activities

* spelling: comments in src/Microsoft.PowerShell.PSReadLine

* spelling: comments in src/Microsoft.PowerShell.PackageManagement

* spelling: comments in src/Microsoft.PowerShell.ScheduledJob

* spelling: comments in src/Microsoft.PowerShell.Security.Activities

* spelling: comments in src/Microsoft.PowerShell.Security

* spelling: comments in src/Microsoft.PowerShell.Utility.Activities

* spelling: comments in src/Microsoft.PowerShell.Workflow.ServiceCore

* spelling: comments in src/Microsoft.WSMan.Management.Activities

* spelling: comments in src/Modules

* spelling: comments in src/Schemas

* spelling: comments in src/libpsl-native

* spelling: comments in src/powershell-native

* spelling: comments in build.psm1

* spelling: comments in src/System.Management.Automation/CoreCLR

* spelling: comments in src/System.Management.Automation/DscSupport

* spelling: comments in src/System.Management.Automation/cimSupport

* spelling: comments in src/System.Management.Automation/commands

* spelling: comments in src/System.Management.Automation/engine/Modules
2016-08-26 13:46:03 -07:00
Andy Schwartzmeyer 550a21e40e Fix GetFullyQualifiedName() (#1915)
Don't expect GetComputerName() (hostname) and FQDN to be the same. They
may not be!
2016-08-18 15:25:47 -07:00
Sergei Vorobev 7f274a356d Update building/internals.md docs 2016-07-22 16:11:38 -07:00
Andrew Schwartzmeyer ed39a00f29 Add GetLStat
faccessat() does not support AT_SYMLINK_NOFOLLOW on OS X, so instead,
we use the success of lstat() to determine if the file (not following
symbolic links) exists. Also allowed for some refactoring.
2016-07-14 19:45:14 -07:00
Andrew Schwartzmeyer 74c3262f03 Fix failing New-Item tests
PowerShell expects the behavior of NativeItemExists to not follow
symbolic links.
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer 35e24ce6d4 Clean up CreateSymLink() 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 90a5382b30 Add bool IsFile(char*) to libpsl-native 2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer 955d5f8bcb Add bool IsDirectory(char*) to libpsl-native 2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer 894f8401a1 Fix CreateSymLink tests for OS X
/tmp is symlinked to /private/tmp and since we're testing symlink
resolution through FollowSymlink, we need to change what we expect to
the realpath.
2016-07-13 16:00:10 -07:00
Andrew Schwartzmeyer 2a790591f0 Clean up CreateSymLink tests 2016-07-13 15:56:12 -07:00
Andrew Schwartzmeyer 85d9370c2f Clean up FollowSymlink 2016-07-13 15:55:15 -07:00
Andrew Schwartzmeyer d44d485938 Fix FQDN test for OS X 2016-07-13 15:46:25 -07:00
Andrew Schwartzmeyer 900b46d281 Add GetUserFromPid() to libpsl
And clean up some tests.
2016-07-13 15:46:25 -07:00
Andrew Schwartzmeyer 8ac64286e1 Refactor libpsl to use GetPwUid() 2016-07-13 15:46:25 -07:00
Andrew Schwartzmeyer f3328fec5c Add tests for native GetFileOwner 2016-07-13 15:46:25 -07:00
Andrew Schwartzmeyer 13a82a59ee Add GetFileOwner 2016-07-13 15:46:25 -07:00
Andrew Schwartzmeyer 0b114a3b71 Add GetStat
Wraps stat() with mapped errno.
2016-07-13 15:46:25 -07:00
Alex Jordan e8386bd4b9 changing logic around realpath in followsymlink 2016-07-07 15:46:58 -07:00
Alex Jordan 0dc248b6f9 changes to logic in followsymlink 2016-07-07 15:02:23 -07:00
Alex Jordan 2a6b32ce5b Refactored followsymlink 2016-07-07 14:54:47 -07:00
Alex Jordan 64496d7bcc adding check for symlink to followsymlink 2016-07-07 12:12:16 -07:00
Alex Jordan 86299552a1 Absolute filepath resolution for followsymlink 2016-07-07 09:31:08 -07:00
Andrew Schwartzmeyer 0cdc7cfc7e Use COMPILE_FLAGS instead of add_compile_options
The latter came with CMake 2.8.12, and CentOS comes with 2.8.11, so we
need to use a more compatible method. Also bump the minimum required
version now that it is properly known.
2016-06-20 12:44:55 -07:00
Andrew Schwartzmeyer a1a722c4a1 Add powershell project shim
The `src/powershell` project builds Core PowerShell as a .NET CLI app,
with a dependency on `Microsoft.PowerShell.ConsoleHost`, so that the
latter can remain a library.
2016-05-17 13:28:44 -07:00
Andrew Schwartzmeyer 6f425d0ffd Make ConsoleHost deploy profiles and native libraries 2016-05-17 13:28:44 -07:00
Andrew Schwartzmeyer bfaad3f057 Programmatic update of core console host rename 2016-04-08 10:59:41 -07:00
Andrew Schwartzmeyer 5a1666c984 Fix programatic references to Linux.Host 2016-04-01 19:15:41 -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 489af53052 Bump libpsl-native submodule 2016-03-29 11:18:31 -07:00
George Fleming 7fedb1942e Add src/libpsl-native 2016-03-28 14:36:13 -07:00
Andrew Schwartzmeyer 876a3164b8 Bump libpsl-native with OS X fixes 2016-03-04 20:02:46 -08:00
George Fleming 3849c9256e Add src/libpsl-native 2016-03-04 16:51:24 -08:00
George Fleming c02b29847f Bump libpsl-native 2016-03-01 15:56:00 -08:00
Andrew Schwartzmeyer c61f649e10 Bump libpsl-native and windows-build submodules
With new readmes.
2016-01-20 11:34:35 -08:00
Andrew Schwartzmeyer ae033a5846 Move monad-native to libpsl-native on GitHub 2016-01-14 10:32:02 -08:00