Commit graph

6833 commits

Author SHA1 Message Date
Greg Zimmerman
2a1b6ed9fe Add script to create icns files. (#7456)
Add script to generate macOS icon file. It does not attempt to integrate with the current build process as the macOS icon file is mostly static.

`libsvg` was chosen because of its low dependency count over other solutions that use backends like Chromium, PhontomJS, etc. ImageMagick's `convert` was tested but resulting PNGs where not satisfactory and would have required an overcomplicated script having to calculate the `density` argument.

* Has a dependency on librsvg (can be installed via Brew)
* Uses SVG file as input
* Can be integrated in later to build process if desired

Closes #7455
2019-01-02 12:11:47 -08:00
Steve Lee
725bfdaf88 Enable install of Preview MSI release side-by-side with Stable release (#8513)
When installing (or upgrading) Preview builds the component ids for the files are the same as the installed files from the stable MSI.  MSI sees this and assumes the file is already installed so skips installing files that haven't changed (been updated) which results in missing files in the preview install folder and pwsh fails to start.  Fix is to dynamically generate new component ids (and compoentrefs) in `files.wxs` using `_Preview` suffix and use that when building a preview package.

Tested manually.

cc @bergmeister if you can help validate different scenarios.

Fix https://github.com/PowerShell/PowerShell/issues/8289
2019-01-02 12:00:43 -08:00
Travis Plunk
878a46df20
get macOS to publish daily build to nugetfeed (#8464) 2019-01-02 11:55:14 -08:00
dependabot[bot]
c44044d855 Build(deps): Bump Markdig.Signed from 0.15.5 to 0.15.6 (#8558) 2019-01-01 02:16:51 +05:00
dependabot[bot]
9cfab9d58f Build(deps): Bump NJsonSchema from 9.13.10 to 9.13.11 (#8569) 2019-01-01 02:16:09 +05:00
Ilya
dfd2f69369
Style: Change 'String.' to 'string.' (#8568) 2018-12-31 20:44:16 +05:00
Ilya
56569b9315
Style: Replace String.IsNullOrEmpty with string.IsNullOrEmpty (#8557) 2018-12-31 15:10:15 +05:00
Ilya
f31750c0d1
Fix typo in AMSI test (#8561) 2018-12-29 18:16:50 +05:00
Ilya
7207db6360
Style: Convert to upper first char in <param> and <exception> doc tags (#8556) 2018-12-29 08:25:49 +05:00
Ilya
479fc64aff
Style: Add period before </param> and </exception> doc tags (#8553) 2018-12-28 16:39:06 +05:00
xtqqczze
70de294fea Remove use of cmdlet aliases from .\test\powershell (#8546) 2018-12-28 13:48:23 +05:00
Ilya
767c13fca1
Style: Remove extra spaces after <para> and before </para> docs tags (#8547) 2018-12-28 11:05:14 +05:00
Steve Lee
e7870278c7 Remove duplicate Open Here context menu item upgrading to newer Preview release (#8496)
Remove old `Open` regkey
2018-12-27 14:10:59 +05:00
Steve Lee
9f8d643f70 Fix mistake on deserialization (#8502)
Replace this.hideHeader with this.repeatHeader
2018-12-27 12:10:59 +05:00
xtqqczze
b850d57c78 Style: Remove preceding spaces from C# preprocessor-type keywords (#8540) 2018-12-26 11:59:10 +05:00
Ilya
399574430e
Style: remove '<remarks> </remarks>' (#8538) 2018-12-26 08:03:57 +05:00
Ilya
871ce5696d
Style: Add period before returns doc tag (#8535)
- add period before "</returns>" doc tag
- remove extra space before "</returns>" doc tag
- convert first char after "<returns>" doc tag to upper case
2018-12-25 21:43:03 +05:00
Ilya
1ae1594bd9
Style: Change 'Object[]' to 'object[]' (#8526) 2018-12-24 12:32:38 +05:00
Ilya
42ba9d22ce
Style: Change 'Object' to 'object' (#8522) 2018-12-24 12:01:44 +05:00
Ilya
d0bbfe6279
Style: Change UInt64? to ulong? (#8527)
* Style: Change UInt64? to ulong?

* Style: Change UInt32? to uint?

* Style: Change UInt16? to ushort?
2018-12-24 11:27:47 +05:00
Ilya
d8af22c33b
Style: Change 'Byte{}' to 'byte[]' (#8525) 2018-12-24 11:23:18 +05:00
Steve Lee
4af3068566 Code cleanup: Add space after closing brace where needed (#8530)
* Update TestService

* Update WebListener

* Update Controllers

* Update ExpTest

* Update MyApp

* Update Logic

* Update Logic

* Update MyApp

* Update Microsoft.Management.Infrastructure.CimCmdlets

* Update Microsoft.PowerShell.Commands.Diagnostics

* Update Microsoft.PowerShell.ScheduledJob

* Update Microsoft.WSMan.Management

* Update Microsoft.WSMan.Runtime

* Update ResGen

* Update TypeCatalogGen

* Update commands

* Update Eventing

* Update Reader

* Update utility

* Update ShowCommand

* Update trace

* Update WebCmdlet

* Update Common

* Update CoreCLR

* Update common

* Update format-object

* Update format-wide

* Update out-file

* Update out-printer

* Update out-string

* Update OutGridView

* Update LocalAccounts

* Update Commands

* Update security

* Update CoreCLR

* Update DscSupport

* Update engine

* Update help

* Update logging

* Update namespaces

* Update security

* Update utils

* Update config

* Update perfCounters

* Update tracing

* Update cmdletization

* Update other

* Update cim

* Update xml

* Update CoreCLR

* Update common

* Update DefaultFormatters

* Update out-console

* Update out-textInterface

* Update DisplayDatabase

* Update Utilities

* Update COM

* Update ComInterop

* Update CommandCompletion

* Update debugger

* Update ExperimentalFeature

* Update hostifaces

* Update interpreter

* Update lang

* Update Modules

* Update parser

* Update runtime

* Update client

* Update commands

* Update common

* Update fanin

* Update server

* Update WireDataFormat

* Update Binding

* Update Operations

* Update interface

* Update cmdletization

* Update cim

* Update management

* Update WindowsTaskbarJumpList

* Update msh
2018-12-24 11:20:06 +05:00
Ilya
40223881cb
Style: Change 'System.Boolean' to 'bool' (#8521) 2018-12-23 10:41:10 +05:00
Mathias R. Jessen
0e971a42bf Fix xml nesting bug in CustomSerializer.WriteMemberInfoCollection() (#8476)
WriteMemberInfoCollection() calls WriteEndElement() at most once, even if WriteStartElement() has been called more than once. This commit moves the WriteEndElement() call up immediately after the elements text value has been written.
2018-12-22 22:50:11 +05:00
Dongbo Wang
289981a017 Change 'String' to 'string' for simple references (#8519) 2018-12-22 14:26:06 +05:00
Steve Lee
2eb7ca8309 Fix formatting of header of table when center aligned (#8497) 2018-12-22 12:57:44 +05:00
Dongbo Wang
140a66ca73 Change 'Int32' to 'int' for simple references in variable declaration (#8518) 2018-12-22 12:33:10 +05:00
Dongbo Wang
c5733f872c Style: Member access symbols should be followed with member name (#8517) 2018-12-22 12:15:47 +05:00
Dongbo Wang
8d27eb44b1
Style: Remove extra space before colon in named parameters (#8504) 2018-12-21 10:26:34 -08:00
dependabot[bot]
83ac846123 Bump NJsonSchema from 9.13.9 to 9.13.10 (#8511) 2018-12-21 10:23:14 -08:00
Dongbo Wang
56ad1d3a65
Style: Use the shorthand of the nullable type (#8501) 2018-12-21 10:07:01 -08:00
Dongbo Wang
2bfbcd4f07 Remove empty lines; correct space on closing square brackets, negative signs, and generic brackets (#8508) 2018-12-21 12:23:04 +05:00
Dongbo Wang
e999e1dba5 Remove space after new keyword in implicitly typed array allocation (#8505) 2018-12-21 12:19:58 +05:00
Dongbo Wang
2fbda4e62b The static keyword should be right after access modifier (#8506) 2018-12-21 11:56:05 +05:00
Dongbo Wang
ff227729d3 Remove comments after closing bracket (#8503) 2018-12-21 11:54:10 +05:00
Dongbo Wang
c4f569e758 Remove space character after '!' (#8507) 2018-12-21 11:51:15 +05:00
dependabot[bot]
a5c1cd84b6 Bump NJsonSchema from 9.13.7 to 9.13.9 (#8498) 2018-12-20 16:37:21 -08:00
Luke Jeremy
56fc426f8b Add -UseMinimalHeader to Start-Transcript to minimize transcript header (#8402) 2018-12-20 11:12:14 -08:00
Steve Lee
110f78b818 Add -RepeatHeader to Format-Table to enable repeating header for each screen full (#8481)
When using a screen reader or just getting the output of a table with lots of rows, the header is no longer on the screen and the columns may no longer make sense without the context.  This change adds a `-RepeatHeader` switch to `Format-Table` to enable re-outputting the header after every screen full (minus 1 row).  Expectation is that the user is piping the output to a pager (e.g. less) which uses the bottom row for pager information.  I followed the `AutoSize` parameter as the way to get the parameter from the cmdlet into the deep formatting object where it's needed.
2018-12-20 11:05:34 -08:00
Joel Sallow (/u/ta11ow)
64bbdbe61c Add Tests for ConfirmImpact Ratings (#8214) 2018-12-20 23:15:42 +05:00
dependabot[bot]
d356e25a47 Bump NJsonSchema from 9.13.4 to 9.13.7 (#8493) 2018-12-19 12:37:02 -08:00
Paul Higinbotham
bc29337460 Fix 'Debug-Runspace' for Unix platforms and properly enable Windows identity impersonation code (#8451) 2018-12-19 10:14:53 -08:00
Ilya
c857392c34
Fix style issues in xUnit tests (#8465) 2018-12-18 21:11:21 +05:00
Sydney Smith
2b4199a78a Updating links to point to ms docs VS Code docs (#8468)
* Updated links to point to Microsoft Docs
* Delete using-vscode.md
* Delete vscode.png
2018-12-16 14:39:45 +05:00
dependabot[bot]
7eeb0f1d3a Bump NJsonSchema from 9.13.3 to 9.13.4 (#8462)
Bumps [NJsonSchema](https://github.com/rsuter/NJsonSchema) from 9.13.3 to 9.13.4.
2018-12-14 15:17:52 -08:00
Travis Plunk
20d9bd5f0a
pass nugetkey as param (#8461) 2018-12-13 17:23:41 -08:00
Travis Plunk
80a5be921d
Fix daily NuGet publishing (#8460)
Fix daily NuGet publishing

## PR Checklist

- [x] [PR has a meaningful title](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission)
    - Use the present tense and imperative mood when describing your changes
- [x] [Summarized changes](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission)
- [x] [Change is not breaking](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#making-breaking-changes)
- [x] [Make sure all `.h`, `.cpp`, `.cs`, `.ps1` and `.psm1` files have the correct copyright header](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission)
- [x] This PR is ready to merge and is not [Work in Progress](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---work-in-progress).
    - If the PR is work in progress, please add the prefix `WIP:` to the beginning of the title and remove the prefix when the PR is ready.
- **User-facing changes**
    - [ ] Not Applicable
    - **OR**
    - [ ] User-facing [Documentation needed](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission)
        - [ ] Issue filed - Issue link:
- **Testing - New and feature**
    - [ ] Not Applicable or can only be tested interactively
    - **OR**
    - [ ] [Make sure you've added a new test if existing tests do not effectively test the code changed](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#before-submitting)
        - [ ] [Add `[feature]` if the change is significant or affects feature tests](https://github.com/PowerShell/PowerShell/blob/master/docs/testing-guidelines/testing-guidelines.md#requesting-additional-tests-for-a-pr)
2018-12-13 15:25:22 -08:00
Ilya
a9f106da58 Move xUnit tests in new folder (#8356)
## Motivation

I have a PR where there are many new xUnit tests.
It would also be useful to create new xUnit tests for public APIs.
The number of xUnit tests will increase and their ordering is required.

## PR Summary

- Move C# xUnit tests in new folder. This allows to put new xUnit tests in directory structure in accordance with directory structure where cs files are.
- Use an xUnit TestCaseOrderer attribute to sequentially process tests for `powershell.config.json`.
- Update README.md
- A race condition was fixed which allowed  to run all XUnit tests in single batch job.
2018-12-13 14:22:07 -08:00
dependabot[bot]
cd8319aac7 Bump NJsonSchema from 9.13.2 to 9.13.3 (#8457)
Bumps [NJsonSchema](https://github.com/rsuter/NJsonSchema) from 9.13.2 to 9.13.3.
- [Release notes](https://github.com/rsuter/NJsonSchema/releases)
- [Commits](https://github.com/rsuter/NJsonSchema/commits)
2018-12-13 13:32:13 -08:00
RDIL
0514d837bf Add gitkracken files to gitignore (#8434) 2018-12-12 12:56:25 -08:00