ci: spelling: update to v0.0.18 (#10035)

Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>

<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? -->
## Summary of the Pull Request

Upgrade check-spelling to [v0.0.18](https://github.com/check-spelling/check-spelling/releases/tag/v0.0.18)

<!-- Other than the issue solved, is this relevant to any other issues/existing PRs? --> 
## References

<!-- Please review the items on the PR checklist before submitting-->
## PR Checklist
* [ ] Closes #xxx
* [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA
* [ ] Tests added/passed
* [ ] Documentation updated. If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/terminal) and link it here: #xxx
* [ ] Schema updated.
* [ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

<!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here -->
## Detailed Description of the Pull Request / Additional comments

I've replaced the `dictionary` directory with `allow` and `reject`. When terminal got check-spelling, I didn't have a way to do `allow`/`reject` (but they were added a while ago). With this release, the bot will complain about items that are in user managed files that wouldn't be valid, this is mostly `-`s in dictionary files, but it also includes numbers `0`..`9` and `_`. If a specific token needs to be accepted but not its sub-elements, the item should be added to `patterns.txt` instead  (`D2DERR_SHADER_COMPILE_FAILED` is an example).

With this version, check-spelling defaults to only considering tokens with at least 3 letters. It's possible to tune it back to 2 (or even 1), but in testing, the 2 character tokens have ended up not being worthwhile.  (This can be [adjusted](https://github.com/check-spelling/check-spelling/wiki/Configuration#shortest_word) if it turns out that people manage to misspell two character tokens often enough to justify checking them.)

<!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well -->
## Validation Steps Performed

I ran a number of passes of the spell checker in https://github.com/check-spelling/terminal/actions (note: I tend to delete this repository, so this link may be dead at some point, and action run logs expire).
This commit is contained in:
Josh Soref 2021-05-14 09:28:37 -04:00 committed by GitHub
parent 7dadde5dd6
commit bbe8275f69
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 282 additions and 480756 deletions

View file

@ -1,3 +1,4 @@
<!-- markdownlint-disable MD033 MD041 -->
<details>
<summary>
:pencil2: Contributor please read this
@ -8,9 +9,10 @@ By default the command suggestion will generate a file named based on your commi
:warning: The command is written for posix shells. You can copy the contents of each `perl` command excluding the outer `'` marks and dropping any `'"`/`"'` quotation mark pairs into a file and then run `perl file.pl` from the root of the repository to run the code. Alternatively, you can manually insert the items...
If the listed items are:
* ... **misspelled**, then please *correct* them instead of using the command.
* ... *names*, please add them to `.github/actions/spelling/dictionary/names.txt`.
* ... APIs, you can add them to a file in `.github/actions/spelling/dictionary/`.
* ... *names*, please add them to `.github/actions/spelling/allow/names.txt`.
* ... APIs, you can add them to a file in `.github/actions/spelling/allow/`.
* ... just things you're using, please add them to an appropriate file in `.github/actions/spelling/expect/`.
* ... tokens you only need in one place and shouldn't *generally be used*, you can add an item in an appropriate file in `.github/actions/spelling/patterns/`.
@ -18,10 +20,31 @@ See the `README.md` in each directory for more information.
:microscope: You can test your commits **without** *appending* to a PR by creating a new branch with that extra change and pushing it to your fork. The [check-spelling](https://github.com/marketplace/actions/check-spelling) action will run in response to your **push** -- it doesn't require an open pull request. By using such a branch, you can limit the number of typos your peers see you make. :wink:
:clamp: If you see a bunch of garbage and it relates to a binary-ish string, please add a file path to the `.github/actions/spelling/excludes.txt` file instead of just accepting the garbage.
<details><summary>:clamp: If you see a bunch of garbage</summary>
If it relates to a ...
<details><summary>well-formed pattern</summary>
See if there's a [pattern](https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples:-patterns) that would match it.
If not, try writing one and adding it to a `patterns/{file}.txt`.
Patterns are Perl 5 Regular Expressions - you can [test](
https://www.regexplanet.com/advanced/perl/) yours before committing to verify it will match your lines.
Note that patterns can't match multiline strings.
</details>
<details><summary>binary-ish string</summary>
Please add a file path to the `excludes.txt` file instead of just accepting the garbage.
File paths are Perl 5 Regular Expressions - you can [test](
https://www.regexplanet.com/advanced/perl/) yours before committing to verify it will match your files.
`^` refers to the file's path from the root of the repository, so `^README\.md$` would exclude [README.md](https://github.com/microsoft/terminal/blob/main/README.md) (on whichever branch you're using).
`^` refers to the file's path from the root of the repository, so `^README\.md$` would exclude [README.md](
../tree/HEAD/README.md) (on whichever branch you're using).
</details>
</details>
</details>

View file

@ -1,4 +1,4 @@
# Dictionaries are lists of words to accept unconditionally
# Allow files are lists of words to accept unconditionally
While check spelling will complain about an expected word
which is no longer present, you can include things here even if
@ -8,11 +8,11 @@ E.g., you could include a list of system APIs here, or potential
contributors (so that if a future commit includes their name,
it'll be accepted).
### Files
## Files
| File | Description |
| ---- | ----------- |
| [Dictionary](dictionary.txt) | Primary US English dictionary |
| [Allow](allow.txt) | Supplements to the dictionary |
| [Chinese](chinese.txt) | Chinese words |
| [Japanese](japanese.txt) | Japanese words |
| [Microsoft](microsoft.txt) | Microsoft brand items |

View file

@ -0,0 +1,52 @@
Apc
apc
clickable
dalet
Dcs
dcs
dialytika
dje
downside
downsides
dze
dzhe
Enum'd
ftp
geeksforgeeks
ghe
gje
hostname
hostnames
hyperlink
hyperlinking
hyperlinks
img
It'd
kje
lje
maxed
mru
nje
ogonek
ok'd
overlined
postmodern
ptys
qof
reimplementation
reserialization
reserialize
reserializes
runtimes
shcha
Sos
timestamped
tokenizes
tonos
tshe
UIs
versioned
We'd
wildcards
yeru
zhe

View file

@ -13,7 +13,6 @@ COMDLG
cstdint
CXICON
CYICON
D2DERR_SHADER_COMPILE_FAILED
dataobject
dcomp
DERR
@ -97,7 +96,6 @@ RETURNCMD
rfind
roundf
RSHIFT
rx
schandle
semver
serializer
@ -124,7 +122,6 @@ tmp
tolower
TTask
TVal
tx
UPDATEINIFILE
userenv
wcsstr

View file

@ -0,0 +1,117 @@
alice
aliceblue
antiquewhite
blanchedalmond
blueviolet
burlywood
cadetblue
cornflowerblue
cornsilk
cyan
darkblue
darkcyan
darkgoldenrod
darkgray
darkgreen
darkgrey
darkkhaki
darkmagenta
darkolivegreen
darkorange
darkorchid
darkred
darksalmon
darkseagreen
darkslateblue
darkslategray
darkslategrey
darkturquoise
darkviolet
deeppink
deepskyblue
dimgray
dimgrey
dodgerblue
firebrick
floralwhite
forestgreen
gainsboro
ghostwhite
greenyellow
hotpink
indian
indianred
lavenderblush
lawngreen
lemonchiffon
lightblue
lightcoral
lightcyan
lightgoldenrod
lightgoldenrodyellow
lightgray
lightgreen
lightgrey
lightpink
lightsalmon
lightseagreen
lightskyblue
lightslateblue
lightslategray
lightslategrey
lightsteelblue
lightyellow
limegreen
mediumaquamarine
mediumblue
mediumorchid
mediumpurple
mediumseagreen
mediumslateblue
mediumspringgreen
mediumturquoise
mediumvioletred
midnightblue
mintcream
mistyrose
navajo
navajowhite
navyblue
oldlace
olivedrab
orangered
palegoldenrod
palegreen
paleturquoise
palevioletred
papayawhip
peachpuff
peru
powderblue
rebecca
rebeccapurple
rosybrown
royalblue
saddlebrown
sandybrown
seagreen
sienna
skyblue
slateblue
slategray
slategrey
springgreen
steelblue
violetred
webgray
webgreen
webgrey
webmaroon
webpurple
whitesmoke
xaroon
xray
xreen
xrey
xurple
yellowgreen

View file

@ -1,3 +1,3 @@
isnan
powf
sqrtf
isnan

View file

@ -3,13 +3,17 @@ ADMINS
altform
altforms
appendwttlogging
appx
appxbundle
appxerror
appxmanifest
backplating
bitmaps
BOMs
CPLs
CPRs
cpptools
cppvsdbg
CPRs
DACL
DACLs
diffs
@ -38,6 +42,8 @@ robocopy
SACLs
Shobjidl
Skype
sxs
Sysinternals
sysnative
systemroot
taskkill

View file

@ -13,6 +13,7 @@ ethanschoonover
Firefox
Gatta
glsl
Gravell
Grie
Griese
Hernan
@ -69,8 +70,8 @@ Wirt
Wojciech
zadjii
Zamor
zamora
Zamora
zamora
Zoey
zorio
Zverovich

View file

@ -1,782 +0,0 @@
snow
ghost-white
ghostwhite
white-smoke
whitesmoke
gainsboro
floral-white
floralwhite
old-lace
oldlace
linen
antique-white
antiquewhite
papaya-whip
papayawhip
blanched-almond
blanchedalmond
bisque
peach-puff
peachpuff
navajo-white
navajowhite
moccasin
cornsilk
ivory
lemon-chiffon
lemonchiffon
seashell
honeydew
mint-cream
mintcream
azure
alice-blue
aliceblue
lavender
lavender-blush
lavenderblush
misty-rose
mistyrose
white
black
dark-slate-gray
darkslategray
dark-slate-grey
darkslategrey
dim-gray
dimgray
dim-grey
dimgrey
slate-gray
slategray
slate-grey
slategrey
light-slate-gray
lightslategray
light-slate-grey
lightslategrey
gray
grey
xray
x11gray
xrey
x11grey
web-gray
webgray
web-grey
webgrey
light-grey
lightgrey
light-gray
lightgray
midnight-blue
midnightblue
navy
navy-blue
navyblue
cornflower-blue
cornflowerblue
dark-slate-blue
darkslateblue
slate-blue
slateblue
medium-slate-blue
mediumslateblue
light-slate-blue
lightslateblue
medium-blue
mediumblue
royal-blue
royalblue
blue
dodger-blue
dodgerblue
deep-sky-blue
deepskyblue
sky-blue
skyblue
light-sky-blue
lightskyblue
steel-blue
steelblue
light-steel-blue
lightsteelblue
light-blue
lightblue
powder-blue
powderblue
pale-turquoise
paleturquoise
dark-turquoise
darkturquoise
medium-turquoise
mediumturquoise
turquoise
cyan
aqua
light-cyan
lightcyan
cadet-blue
cadetblue
medium-aquamarine
mediumaquamarine
aquamarine
dark-green
darkgreen
dark-olive-green
darkolivegreen
dark-sea-green
darkseagreen
sea-green
seagreen
medium-sea-green
mediumseagreen
light-sea-green
lightseagreen
pale-green
palegreen
spring-green
springgreen
lawn-green
lawngreen
green
lime
xreen
x11green
web-green
webgreen
chartreuse
medium-spring-green
mediumspringgreen
green-yellow
greenyellow
lime-green
limegreen
yellow-green
yellowgreen
forest-green
forestgreen
olive-drab
olivedrab
dark-khaki
darkkhaki
khaki
pale-goldenrod
palegoldenrod
light-goldenrod-yellow
lightgoldenrodyellow
light-yellow
lightyellow
yellow
gold
light-goldenrod
lightgoldenrod
goldenrod
dark-goldenrod
darkgoldenrod
rosy-brown
rosybrown
indian-red
indianred
saddle-brown
saddlebrown
sienna
peru
burlywood
beige
wheat
sandy-brown
sandybrown
tan
chocolate
firebrick
brown
dark-salmon
darksalmon
salmon
light-salmon
lightsalmon
orange
dark-orange
darkorange
coral
light-coral
lightcoral
tomato
orange-red
orangered
red
hot-pink
hotpink
deep-pink
deeppink
pink
light-pink
lightpink
pale-violet-red
palevioletred
maroon
xaroon
x11maroon
web-maroon
webmaroon
medium-violet-red
mediumvioletred
violet-red
violetred
magenta
fuchsia
violet
plum
orchid
medium-orchid
mediumorchid
dark-orchid
darkorchid
dark-violet
darkviolet
blue-violet
blueviolet
purple
xurple
x11purple
web-purple
webpurple
medium-purple
mediumpurple
thistle
snow1
snow2
snow3
snow4
seashell1
seashell2
seashell3
seashell4
antiquewhite1
antiquewhite2
antiquewhite3
antiquewhite4
bisque1
bisque2
bisque3
bisque4
peachpuff1
peachpuff2
peachpuff3
peachpuff4
navajowhite1
navajowhite2
navajowhite3
navajowhite4
lemonchiffon1
lemonchiffon2
lemonchiffon3
lemonchiffon4
cornsilk1
cornsilk2
cornsilk3
cornsilk4
ivory1
ivory2
ivory3
ivory4
honeydew1
honeydew2
honeydew3
honeydew4
lavenderblush1
lavenderblush2
lavenderblush3
lavenderblush4
mistyrose1
mistyrose2
mistyrose3
mistyrose4
azure1
azure2
azure3
azure4
slateblue1
slateblue2
slateblue3
slateblue4
royalblue1
royalblue2
royalblue3
royalblue4
blue1
blue2
blue3
blue4
dodgerblue1
dodgerblue2
dodgerblue3
dodgerblue4
steelblue1
steelblue2
steelblue3
steelblue4
deepskyblue1
deepskyblue2
deepskyblue3
deepskyblue4
skyblue1
skyblue2
skyblue3
skyblue4
lightskyblue1
lightskyblue2
lightskyblue3
lightskyblue4
slategray1
slategray2
slategray3
slategray4
lightsteelblue1
lightsteelblue2
lightsteelblue3
lightsteelblue4
lightblue1
lightblue2
lightblue3
lightblue4
lightcyan1
lightcyan2
lightcyan3
lightcyan4
paleturquoise1
paleturquoise2
paleturquoise3
paleturquoise4
cadetblue1
cadetblue2
cadetblue3
cadetblue4
turquoise1
turquoise2
turquoise3
turquoise4
cyan1
cyan2
cyan3
cyan4
darkslategray1
darkslategray2
darkslategray3
darkslategray4
aquamarine1
aquamarine2
aquamarine3
aquamarine4
darkseagreen1
darkseagreen2
darkseagreen3
darkseagreen4
seagreen1
seagreen2
seagreen3
seagreen4
palegreen1
palegreen2
palegreen3
palegreen4
springgreen1
springgreen2
springgreen3
springgreen4
green1
green2
green3
green4
chartreuse1
chartreuse2
chartreuse3
chartreuse4
olivedrab1
olivedrab2
olivedrab3
olivedrab4
darkolivegreen1
darkolivegreen2
darkolivegreen3
darkolivegreen4
khaki1
khaki2
khaki3
khaki4
lightgoldenrod1
lightgoldenrod2
lightgoldenrod3
lightgoldenrod4
lightyellow1
lightyellow2
lightyellow3
lightyellow4
yellow1
yellow2
yellow3
yellow4
gold1
gold2
gold3
gold4
goldenrod1
goldenrod2
goldenrod3
goldenrod4
darkgoldenrod1
darkgoldenrod2
darkgoldenrod3
darkgoldenrod4
rosybrown1
rosybrown2
rosybrown3
rosybrown4
indianred1
indianred2
indianred3
indianred4
sienna1
sienna2
sienna3
sienna4
burlywood1
burlywood2
burlywood3
burlywood4
wheat1
wheat2
wheat3
wheat4
tan1
tan2
tan3
tan4
chocolate1
chocolate2
chocolate3
chocolate4
firebrick1
firebrick2
firebrick3
firebrick4
brown1
brown2
brown3
brown4
salmon1
salmon2
salmon3
salmon4
lightsalmon1
lightsalmon2
lightsalmon3
lightsalmon4
orange1
orange2
orange3
orange4
darkorange1
darkorange2
darkorange3
darkorange4
coral1
coral2
coral3
coral4
tomato1
tomato2
tomato3
tomato4
orangered1
orangered2
orangered3
orangered4
red1
red2
red3
red4
deeppink1
deeppink2
deeppink3
deeppink4
hotpink1
hotpink2
hotpink3
hotpink4
pink1
pink2
pink3
pink4
lightpink1
lightpink2
lightpink3
lightpink4
palevioletred1
palevioletred2
palevioletred3
palevioletred4
maroon1
maroon2
maroon3
maroon4
violetred1
violetred2
violetred3
violetred4
magenta1
magenta2
magenta3
magenta4
orchid1
orchid2
orchid3
orchid4
plum1
plum2
plum3
plum4
mediumorchid1
mediumorchid2
mediumorchid3
mediumorchid4
darkorchid1
darkorchid2
darkorchid3
darkorchid4
purple1
purple2
purple3
purple4
mediumpurple1
mediumpurple2
mediumpurple3
mediumpurple4
thistle1
thistle2
thistle3
thistle4
gray0
grey0
gray1
grey1
gray2
grey2
gray3
grey3
gray4
grey4
gray5
grey5
gray6
grey6
gray7
grey7
gray8
grey8
gray9
grey9
gray10
grey10
gray11
grey11
gray12
grey12
gray13
grey13
gray14
grey14
gray15
grey15
gray16
grey16
gray17
grey17
gray18
grey18
gray19
grey19
gray20
grey20
gray21
grey21
gray22
grey22
gray23
grey23
gray24
grey24
gray25
grey25
gray26
grey26
gray27
grey27
gray28
grey28
gray29
grey29
gray30
grey30
gray31
grey31
gray32
grey32
gray33
grey33
gray34
grey34
gray35
grey35
gray36
grey36
gray37
grey37
gray38
grey38
gray39
grey39
gray40
grey40
gray41
grey41
gray42
grey42
gray43
grey43
gray44
grey44
gray45
grey45
gray46
grey46
gray47
grey47
gray48
grey48
gray49
grey49
gray50
grey50
gray51
grey51
gray52
grey52
gray53
grey53
gray54
grey54
gray55
grey55
gray56
grey56
gray57
grey57
gray58
grey58
gray59
grey59
gray60
grey60
gray61
grey61
gray62
grey62
gray63
grey63
gray64
grey64
gray65
grey65
gray66
grey66
gray67
grey67
gray68
grey68
gray69
grey69
gray70
grey70
gray71
grey71
gray72
grey72
gray73
grey73
gray74
grey74
gray75
grey75
gray76
grey76
gray77
grey77
gray78
grey78
gray79
grey79
gray80
grey80
gray81
grey81
gray82
grey82
gray83
grey83
gray84
grey84
gray85
grey85
gray86
grey86
gray87
grey87
gray88
grey88
gray89
grey89
gray90
grey90
gray91
grey91
gray92
grey92
gray93
grey93
gray94
grey94
gray95
grey95
gray96
grey96
gray97
grey97
gray98
grey98
gray99
grey99
gray100
grey100
dark-grey
darkgrey
dark-gray
darkgray
dark-blue
darkblue
dark-cyan
darkcyan
dark-magenta
darkmagenta
dark-red
darkred
light-green
lightgreen
crimson
indigo
olive
rebecca-purple
rebeccapurple
silver
teal

File diff suppressed because it is too large Load diff

View file

@ -1,3 +1,4 @@
(?:(?i)\.png$)
(?:^|/)dirs$
(?:^|/)go\.mod$
(?:^|/)go\.sum$
@ -35,7 +36,6 @@ SUMS$
\.pbxproj$
\.pdf$
\.pem$
(?:(?i)\.png$)
\.psd$
\.runsettings$
\.sig$
@ -54,14 +54,26 @@ SUMS$
\.zip$
^consolegit2gitfilters\.json$
^dep/
^oss/
^doc/reference/master-sequence-list.csv$
^doc/reference/UTF8-torture-test\.txt$
^oss/
^src/host/ft_uia/run\.bat$
^src/host/runft\.bat$
^src/host/runut\.bat$
^src/interactivity/onecore/BgfxEngine\.
^src/renderer/wddmcon/WddmConRenderer\.
^src/terminal/adapter/ut_adapter/run\.bat$
^src/terminal/parser/delfuzzpayload\.bat$
^src/terminal/parser/ft_fuzzer/run\.bat$
^src/terminal/parser/ft_fuzzer/VTCommandFuzzer\.cpp$
^src/types/ut_types/UtilsTests.cpp$
^src/terminal/parser/ft_fuzzwrapper/run\.bat$
^src/terminal/parser/ut_parser/run\.bat$
^src/tools/integrity/packageuwp/ConsoleUWP\.appxSources$
^src/tools/lnkd/lnkd\.bat$
^src/tools/pixels/pixels\.bat$
^src/tools/texttests/fira\.txt$
^src/tools/U8U16Test/(?:fr|ru|zh)\.txt$
^src/types/ut_types/UtilsTests.cpp$
^\.github/actions/spelling/
^\.gitignore$
^doc/reference/master-sequence-list.csv$
^\XamlStyler.json$

View file

@ -1,4 +1,12 @@
AAAa
AAAAA
AAAAAAAAAAAAA
AAAAAABBBBBBCCC
AAAAABBBBBBBCCC
AAAAABBBBBBCCC
AAAAABCCCCCCCCC
AAAAADCCCCCCCCC
abcd
abcd
abcde
abcdef
@ -6,12 +14,19 @@ ABCDEFG
ABCDEFGH
ABCDEFGHIJ
abcdefghijk
ABCDEFGHIJKLMNO
abcdefghijklmnop
ABCDEFGHIJKLMNOPQRST
abcdefghijklmnopqrstuvwxyz
ABCG
ABE
BBGGRR
abf
BBBBB
BBBBBBBB
BBBBBBBBBBBBBBDDDD
BBBBBCCC
BBBBCCCCC
BBGGRR
EFG
EFGh
QQQQQQQQQQABCDEFGHIJ
@ -32,3 +47,4 @@ ZYXWVUT
ZZBBZ
ZZZBB
ZZZBZ
ZZZZZ

View file

@ -1,13 +1,4 @@
AAAAAABBBBBBCCC
AAAAABBBBBBBCCC
AAAAABBBBBBCCC
AAAAABCCCCCCCCC
AAAAADCCCCCCCCC
ABANDONFONT
abcd
ABCDEFGHIJKLMNO
ABCG
abf
abgr
abi
ACCESSTOKEN
@ -45,7 +36,6 @@ ALTF
ALTNUMPAD
ALWAYSTIP
amd
ansd
ansicode
ansicpg
ANSISYS
@ -61,7 +51,6 @@ APCs
api
APIENTRY
apiset
apos
APPBARDATA
appconsult
APPICON
@ -73,10 +62,6 @@ APPLMODAL
appmodel
apps
APPWINDOW
appx
appxbundle
appxerror
appxmanifest
APrep
apsect
APSTUDIO
@ -132,11 +117,8 @@ backstory
Batang
baz
Bazz
BBBBBCCC
BBBBCCCCC
BBDM
bbwe
bc
bcount
bcrypt
bcx
@ -258,7 +240,6 @@ Childitem
chk
chrono
CHT
ci
Cic
cjk
ckuehl
@ -353,7 +334,6 @@ conlibk
conmsgl
CONNECTINFO
CONOUT
conpixels
conprops
conpropsp
conpty
@ -394,7 +374,7 @@ cout
CPG
cpinfo
CPINFOEX
cplinfo
CPLINFO
cplusplus
cpp
CPPCORECHECK
@ -414,7 +394,7 @@ cref
crend
CRLFs
crloew
crt
Crt
CRTLIBS
csbi
csbiex
@ -457,13 +437,11 @@ CURSORCOLOR
CURSORSIZE
CURSORTYPE
CUU
cw
Cwa
cwch
cwchar
cwctype
cwd
cx
cxcy
CXFRAME
CXFULLSCREEN
@ -605,11 +583,9 @@ devicecode
devicefamily
devops
Dext
df
DFactory
DFF
DFMT
dh
dhandler
dialogbox
diffing
@ -667,7 +643,6 @@ DUNICODE
DUNIT
dup'ed
dvi
dw
dwl
DWLP
dwm
@ -683,7 +658,6 @@ eachother
eae
eaf
EASTEUROPE
eb
ECH
echokey
ecount
@ -697,7 +671,6 @@ edu
Efast
EHsc
EJO
EK
ELEMENTNOTAVAILABLE
elems
elif
@ -731,7 +704,6 @@ etcoreapp
ETW
ETX
EUDC
ev
EVENTID
eventing
everytime
@ -744,7 +716,6 @@ executables
executionengine
exemain
EXETYPE
exeuwp
exewin
exitwin
expectedinput
@ -767,7 +738,6 @@ fcb
fcharset
fclose
fcntl
fd
fdc
FDD
fdopen
@ -854,9 +824,7 @@ fuzzwrapper
fwdecl
fwe
fwlink
Fx
GAUSSIAN
gb
gci
gcx
gcy
@ -921,7 +889,6 @@ getwriter
GFEh
Gfun
gfx
gh
GHIJK
GHIJKL
GHIJKLM
@ -938,7 +905,6 @@ gonce
Google
goutput
GPUs
Gravell's
grayscale
GREENSCROLL
Grehan
@ -971,7 +937,6 @@ HBMMENU
hbmp
hbr
hbrush
hc
HCmd
hdc
hdr
@ -981,7 +946,6 @@ HEIGHTSCROLL
hfile
hfont
hglobal
hh
hhh
HHmm
hhook
@ -998,7 +962,6 @@ HISTORYNODUP
HISTORYSIZE
hittest
HIWORD
hk
HKCU
hkey
hkl
@ -1045,7 +1008,6 @@ HTRIGHT
HTTOP
HTTOPLEFT
HTTOPRIGHT
hu
hungapp
HVP
hwheel
@ -1224,7 +1186,6 @@ kcub
kcud
kcuf
kcuu
Kd
kernelbase
kernelbasestaging
KEYBDINPUT
@ -1239,19 +1200,15 @@ Keymapping
keyscan
keystate
keyup
KF
khome
KILLACTIVE
KILLFOCUS
kinda
KJ
KLF
KLMNO
KLMNOPQRST
KLMNOPQRSTQQQQQ
KU
KVM
KX
langid
LANGUAGELIST
lasterror
@ -1289,7 +1246,6 @@ listbox
listproperties
listptr
listptrsize
lk
lld
LLVM
llx
@ -1509,7 +1465,6 @@ namestream
nano
natvis
nbsp
nc
NCCALCSIZE
NCCREATE
NCLBUTTONDOWN
@ -1635,8 +1590,6 @@ nupkg
nuspec
NVIDIA
NVR
Nx
oa
OACR
oauth
objbase
@ -1648,8 +1601,6 @@ oemcp
OEMFONT
OEMFORMAT
offboarded
OI
Oj
OLEAUT
OLECHAR
onecore
@ -1662,7 +1613,6 @@ onecoreuuid
ONECOREWINDOWS
onehalf
ONLCR
Oo
openbash
opencode
opencon
@ -1674,7 +1624,6 @@ openps
opensource
openvt
openxmlformats
oq
ORIGINALFILENAME
osc
OSCBG
@ -1692,7 +1641,6 @@ osign
oss
ostream
ostringstream
Ou
ouicompat
outdir
outfile
@ -1701,7 +1649,6 @@ OUTOFCONTEXT
OUTOFMEMORY
outout
Outptr
Ov
OVERLAPPEDWINDOW
OWNDC
OWNERDRAWFIXED
@ -1721,7 +1668,6 @@ passthrough
PATCOPY
pathcch
PATTERNID
pb
PBOOL
PBYTE
pcat
@ -1916,22 +1862,17 @@ PUNICODE
pushd
putchar
putwchar
pv
PVOID
pw
pwch
PWCHAR
PWDDMCONSOLECONTEXT
PWORD
pws
pwsh
pwstr
pwsz
px
py
pythonw
qi
QJ
qo
qos
QRSTU
qsort
queryable
@ -2041,13 +1982,11 @@ rgui
rgw
rgwch
rhs
ri
RIGHTALIGN
RIGHTBUTTON
riid
RIPMSG
Rl
rmdir
RIS
RMENU
roadmap
robomac
@ -2063,7 +2002,6 @@ RTFTo
Rtl
RTLREADING
RTTI
ru
ruleset
runas
runasradio
@ -2215,7 +2153,6 @@ SLIST
slmult
sln
slpit
smalllogo
SManifest
SMARTQUOTE
SMTO
@ -2229,7 +2166,6 @@ SOURCESDIRECTORY
SPACEBAR
spammy
spand
splashscreen
sprintf
sqlproj
srand
@ -2273,7 +2209,6 @@ stgm
stl
stoi
stol
storelogo
stoul
stoutapot
strikethrough
@ -2307,15 +2242,13 @@ swappable
SWMR
SWP
swprintf
sx
sy
SYMED
SYNCPAINT
sys
syscalls
SYSCHAR
SYSCOMMAND
SYSDEADCHAR
Sysinternals
SYSKEYDOWN
SYSKEYUP
SYSLINK
@ -2324,7 +2257,6 @@ sysparams
sysparamsext
SYSTEMHAND
SYSTEMMENU
sz
tabview
TAdd
taef
@ -2397,7 +2329,6 @@ textinfo
TEXTMETRIC
TEXTMETRICW
textmode
tf
TFCAT
tfoo
TFunction
@ -2412,7 +2343,6 @@ Timeline
titlebar
TITLEISLINKNAME
TJson
tl
TLambda
TLEN
Tlg
@ -2464,7 +2394,6 @@ tsf
TStr
TSTRFORMAT
TSub
tt
TTBITMAP
ttf
TTFONT
@ -2491,7 +2420,7 @@ uapadmin
UAX
ubuntu
ucd
UCD
ucd
ucdxml
uch
UCHAR
@ -2509,7 +2438,6 @@ uielem
UIELEMENTENABLEDONLY
uint
uintptr
ul
ulcch
ulong
Unadvise
@ -2604,7 +2532,6 @@ vec
VERCTRL
versioning
VERTBAR
vf
VFT
vga
vgaoem
@ -2613,7 +2540,6 @@ viewports
Virt
VIRTTERM
Virtualizing
vk
vkey
VKKEYSCAN
VMs
@ -2828,9 +2754,7 @@ WUX
WVerify
wwaproj
WWith
wx
wxh
xa
xact
xaml
Xamlmeta
@ -2860,7 +2784,7 @@ xml
xmlns
xor
xorg
XOrg
xorg
Xpath
XPosition
XResource
@ -2880,7 +2804,6 @@ xutr
xvalue
XVIRTUALSCREEN
XWalk
xy
Xzn
yact
YAML
@ -2894,19 +2817,8 @@ YPosition
YSize
YSubstantial
YVIRTUALSCREEN
Yw
YWalk
yx
yy
YZ
Zc
ZCmd
ZCtrl
zd
zh
ZM
zsh
zu
zxcvbnm
zy
zz

View file

@ -1,5 +1,4 @@
http
td
www
ecma
rapidtables
@ -10,7 +9,6 @@ robertelder
kovidgoyal
leonerd
fixterms
uk
winui
appshellintegration
cppreference

View file

@ -22,3 +22,4 @@ Base64::s_(?:En|De)code\(L"[^"]+"
VERIFY_ARE_EQUAL\(L"[^"]+"
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\+/"
std::memory_order_[\w]+
D2DERR_SHADER_COMPILE_FAILED

22
.github/actions/spelling/reject.txt vendored Normal file
View file

@ -0,0 +1,22 @@
^attache$
^attacher$
^attachers$
^spae$
^spaebook$
^spaecraft$
^spaed$
^spaedom$
^spaeing$
^spaeings$
^spae-man$
^spaeman$
^spaer$
^Spaerobee$
^spaes$
^spaewife$
^spaewoman$
^spaework$
^spaewright$
^wether$
^wethers$
^wetherteg$

View file

@ -8,8 +8,12 @@ jobs:
name: Spell checking
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.0.0
- name: checkout-merge
if: "contains(github.event_name, 'pull_request')"
uses: actions/checkout@v2.0.0
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 5
- uses: check-spelling/check-spelling@0.0.17-alpha
ref: refs/pull/${{github.event.pull_request.number}}/merge
- name: checkout
if: "!contains(github.event_name, 'pull_request')"
uses: actions/checkout@v2.0.0
- uses: check-spelling/check-spelling@v0.0.18

View file

@ -617,7 +617,7 @@ std::vector<Commandline> AppCommandlineArgs::BuildCommands(const std::vector<con
// Check the string for a delimiter.
// * If there isn't a delimiter, add the arg to the current commandline.
// * If there is a delimiter, split the string at that delimiter. Add the
// first part of the string to the current command, ansd start a new
// first part of the string to the current command, and start a new
// command with the second bit.
for (const auto& arg : args)
{