George Fleming
b8598b74ac
Use new Listener signature
2016-04-19 15:14:22 -07:00
George Fleming
71ab234674
fix typo
2016-04-15 12:35:11 -07:00
George Fleming
969dc932ec
Change InvalidOperationException to PSInvalidOperationException because monad code looks only for PS version to rethrow MissingMandatoryParameter exception.
2016-04-15 10:56:22 -07:00
George Fleming
4c1ee1c589
Prevent UI popups when run with -noninteractive
2016-04-14 11:18:47 -07:00
George Fleming
ec61d56c0e
minor change to error message
2016-04-14 10:54:01 -07:00
George Fleming
d1edcb38bd
Redo command-line parsing, add -noninteractive and -encodedcommand options
2016-04-14 09:09:52 -07:00
George Fleming
eb9daf0238
Host code to enable PSReadLine, and remove checking of .NET Framework version if CORECLR
2016-04-13 11:42:59 -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
George Fleming
454524cf72
new native code and test for obtaining target of symlinks
2016-03-25 14:37:16 -07:00
George Fleming
5e9c31107c
Changes per Andy comments, and add revert of colors at end of PS
2016-03-23 16:17:06 -07:00
George Fleming
aab00e2ee1
Fixes UI-related bugs, and migrate Console.Write to myHost.UI.Write
2016-03-23 14:11:04 -07:00
George Fleming
d565462286
Reverse TreatControlCAsInput now that CoreFx fix has arrived
2016-03-23 14:11:04 -07:00
George Fleming
5a487f0836
Fix rendering issue with leading spaces, and added support for additional ctrl commands
2016-03-23 14:11:04 -07:00
George Fleming
d234ca2499
Add color to reverse search
2016-03-23 14:11:04 -07:00
George Fleming
2708d2bc08
Add Ctrl-R reverse search
2016-03-23 14:11:04 -07:00
George Fleming
89839b69e7
Render multi-line command as a single-line command
2016-03-23 14:11:04 -07:00
George Fleming
e713af87bb
Adding support for Ctrl-K, Ctrl-Y, and Ctrl-L
2016-03-23 14:11:04 -07:00
George Fleming
2deb871ab2
Tested, except for reversed TreatControlCAsInput
2016-03-23 14:11:04 -07:00
George Fleming
cc0b25e515
Pending verification of TreatControlCAsInput
2016-03-23 14:11:04 -07:00
George Fleming
43508acc18
Add src/monad
2016-03-04 16:51:40 -08:00
George Fleming
3849c9256e
Add src/libpsl-native
2016-03-04 16:51:24 -08:00
George Fleming
e52da3b1e5
Add hardlink test for New-Item
2016-03-04 16:51:24 -08:00
George Fleming
5e0728e48e
New native code to support creation of hard links
2016-03-04 15:59:32 -08:00
George Fleming
dbe06ac2d7
Bump monad submodule with Invoke-History fix
2016-03-04 15:25:14 -08:00
George Fleming
134ccef8c0
Remove directory symlink first to avoid broken symlink issues
2016-03-01 15:57:16 -08:00
George Fleming
d622477073
Change order of delete to get around broken symlink issue
2016-03-01 15:57:16 -08:00
George Fleming
5ab50a183f
New test for symlink of directory
2016-03-01 15:57:16 -08:00
George Fleming
b1edc1f039
Bump monad
2016-03-01 15:57:11 -08:00
George Fleming
c02b29847f
Bump libpsl-native
2016-03-01 15:56:00 -08:00
George Fleming
95cea5155b
cleanup per andschwa comment
2016-03-01 15:33:29 -08:00
George Fleming
ab3203916b
Clean up usage of pipes, as it causes crashes in debugger sub-prompt
2016-02-29 09:51:26 -08:00
George Fleming
19dbaaf54c
Add native test for createSymLink
2016-02-26 15:16:42 -08:00
George Fleming
4bfa1fa231
Add new CreateSymLink function
2016-02-26 14:31:17 -08:00
George Fleming
6776a909b2
Simply code
2016-02-23 15:23:12 -08:00
George Fleming
e92c1e80cc
Add support for here-string
2016-02-23 15:10:32 -08:00
George Fleming
a494516c5d
Handle multi-line commands
2016-02-23 12:53:47 -08:00
George Fleming
4bcc0f781f
Fix crash when cursor goes 'off screen'
2016-02-22 17:02:37 -08:00
George Fleming
567bc785ef
Reposition cursor after tab
2016-02-21 13:09:45 -08:00
George Fleming
3a0eee9894
Fix case where tab completion is not at end of command
2016-02-20 17:58:03 -08:00
George Fleming
8cbb08964c
Fix a special down arrow scenario
2016-02-19 09:10:40 -08:00
George Fleming
23bdcdd330
Adding monad branch
2016-02-18 15:32:46 -08:00
George Fleming
3c2ec835c0
New changes to readline.cs to improve tab-completion and up/down arrow
2016-02-18 15:32:31 -08:00
George Fleming
70d42fc581
Move check of no match
2016-02-16 09:52:21 -08:00
George Fleming
7648857c97
Additional changes to correct tab-completion
2016-02-16 09:46:26 -08:00
George Fleming
c74f68494a
Fixes one of tab-completion problems
2016-02-12 15:23:46 -08:00
George Fleming
1ec5676f25
Fix "handle is invalid" error on AppVeyor
2016-02-12 11:15:57 -08:00
George Fleming
43d284f6b3
New pester test for Import-LocalizedData
2016-02-11 10:13:56 -08:00
George Fleming
4fe69773d4
Modified Get-ChildItem pester test to check for sorted list of files
2016-02-10 15:52:21 -08:00
George Fleming
8adffbb2e2
Fix HOMEPATH and Wait-Event tests
...
On Windows, HOMEPATH is not necessarily `\Users\username`, so the test
was made to match more loosely.
Wait-Event's timeout varied more than expected, so the test's range was
increased.
2016-02-08 10:59:15 -08:00
George Fleming
6ce53af354
Fix errors on CoreCLR Windows port
2016-02-08 10:59:02 -08:00
George Fleming
bdffd103d9
Remove / and /tmp references
2016-02-08 10:59:02 -08:00
George Fleming
cb6d7011d9
Clean up temp files in pester scripts
2016-02-08 10:59:02 -08:00
George Fleming
7e2b25e4d0
Use ConsoleReadLine for script debugger
...
Instead of Console.ReadLine() so that arrow keys and tab-completion can
be used.
2016-02-01 17:36:30 -08:00
George Fleming
b0e55b9181
Enable PowerShell script debugger
2016-01-19 12:35:13 -08:00
George Fleming
ed59522056
Add new pester test to clean up created file
2016-01-06 10:14:17 -08:00
George Fleming
6a40891df2
Rename cmdlets
2016-01-05 15:16:10 -08:00
George Fleming
ef6f5d06e5
Adding Get-DscConfiguration, and Get/Set-DscLocalConfiguration cmdlets
2016-01-05 12:03:22 -08:00
George Fleming
b21977bcce
Enumerate WriteObject output
2016-01-04 10:28:18 -08:00
George Fleming
401abdc7e8
New pester test for Start-DscConfiguration
2016-01-04 10:27:43 -08:00
George Fleming
67b53068e1
Clean up code
2015-12-31 11:22:15 -08:00
George Fleming
07c4bec698
Refactor some code
2015-12-31 11:13:15 -08:00
George Fleming
4de201e318
process xml output
2015-12-30 16:14:05 -08:00
George Fleming
e8eaf86830
New Start-DscConfiguration cmdlet
2015-12-28 16:23:09 -08:00
George Fleming
f018ea47a4
Added Get-OmiInstance Pester test
2015-12-23 11:16:21 -08:00
George Fleming
d0e2c22e54
Added Get-OmiInstance cmdlet
...
In a separate module importable into PowerShell.
2015-12-23 11:15:38 -08:00
George Fleming
58e1f8d7fe
Merge pull request 282 from dev/setdate-native into develop
...
Merge dev/setdate-native to develop
2015-11-16 19:32:09 +00:00
George Fleming
f2b70e32ba
Remove microsecond
2015-11-13 10:05:55 -08:00
George Fleming
f1c8f15fb5
SetDate function
2015-11-12 16:31:30 -08:00
George Fleming
fd4cce4ce1
Fix Exit-PSHostProcess cmdlet crash issue
2015-11-12 13:20:25 -08:00
George Fleming
c70677c575
Merge pull request 272 from dev/start-process-pester into develop
...
Merge dev/start-process-pester to develop
2015-11-11 22:45:09 +00:00
George Fleming
08e1293ac9
Previous push got lost
2015-11-11 14:43:28 -08:00
George Fleming
57763681da
Fix Jenkins build issues
2015-11-11 13:16:00 -08:00
George Fleming
242d961681
Adding monad submodule
2015-11-11 11:43:09 -08:00
George Fleming
55586dadf5
Changes per review comments
2015-11-11 10:17:22 -08:00
George Fleming
59f53d109e
Added RedirectStandardInput Test
2015-11-10 10:52:00 -08:00
George Fleming
c6ed10e926
Renamed file
2015-11-10 09:45:21 -08:00
George Fleming
951fbeaad0
new start-process pester test
2015-11-10 08:41:54 -08:00
George Fleming
aeabd5aa53
Fix for history
2015-11-05 09:30:09 -08:00
George Fleming
dfea2bf927
Further cleanup of pal.h
2015-11-04 08:53:54 -08:00
George Fleming
cec13f438c
Merge pull request 245 from dev/isexecutable-native into develop
...
Merge dev/isexecutable-native to develop
2015-11-03 22:02:05 +00:00
George Fleming
af00ffc4db
adding submodules
2015-11-03 13:55:31 -08:00
George Fleming
102f6163a1
Remove unnecessary code
2015-11-03 12:24:36 -08:00
George Fleming
8747ba1e47
Clean up of pal.h
2015-11-03 12:24:36 -08:00
George Fleming
43f2d476f5
New IsExecutable function
2015-11-03 12:24:36 -08:00
George Fleming
efefcad0f8
New xunit tests for domainname and isexecutable
2015-11-03 11:51:59 -08:00
George Fleming
a7418ff660
Merge pull request 238 from dev/symlink into develop
...
Add tests for FQDN and SymLink
2015-11-02 23:08:27 +00:00
George Fleming
c9cac40c5a
Merge pull request 236 from dev/symlink-native into develop
...
Adding new isSymLink() function
2015-10-30 23:34:59 +00:00
George Fleming
af52de746b
Add tests for FQDN and SymLink
2015-10-30 15:30:36 -07:00
George Fleming
2de4fe9be6
Adding new isSymLink() function
2015-10-30 11:47:44 -07:00
George Fleming
3a02f1b3a0
Change /bin/hostname to just hostname, and let sh figure out the path
2015-10-29 08:47:36 -07:00
George Fleming
2eaf911346
Add new getfullyqualifiedname test
2015-10-28 16:42:15 -07:00
George Fleming
2d442eb732
Skip getaddrinfo if hostname is already FQDN
2015-10-28 16:41:24 -07:00
George Fleming
29d496e3ac
Adding additional comments
2015-10-28 10:24:43 -07:00
George Fleming
e776d01cc8
Change reference of GetComputerName
2015-10-27 16:43:43 -07:00
George Fleming
9ce93b0897
Merge branch 'develop' into dev/FQDN
2015-10-27 15:56:58 -07:00
George Fleming
c21fad08a5
Merge pull request 221 from dev/GetComputerName-Native into develop
2015-10-27 22:42:36 +00:00
George Fleming
1759f9a2f6
Changes per Zack comments
2015-10-27 15:33:25 -07:00