ci: spelling: update to 0.0.15a; update whitelist (#5413)

* Cleaning up the whitelist a bit.
  * The magic to exclude repeated characters worked 👍 
  * Every successful run on master now logs its suggested cleanup, e.g. for 5740e197c2 has https://github.com/microsoft/terminal/runs/596271627#step:4:37 
* ⚠️ This check-spelling 0.0.15a+ tolerates Windows line endings in the `whitelist.txt` file (another project I touched had some `.gitconfig` magic which required supporting them).
  This means that if someone edits the file w/ something that likes Windows line endings, the file will successfully convert (instead of it being ignored and check-spelling complaining about everything). Most likely anyone else who then edits the file will use something that will maintain the line endings.
This commit is contained in:
Josh Soref 2020-04-21 17:07:04 -04:00 committed by GitHub
parent 6995d0b2dc
commit bc6ea11233
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 9 additions and 71 deletions

View file

@ -2,4 +2,5 @@ IMap
ICustom ICustom
IObject IObject
LCID LCID
NCHITTEST
rfind rfind

View file

@ -39,6 +39,7 @@ oldnewthing
osgwiki osgwiki
paulcam paulcam
pauldotknopf pauldotknopf
PGP
Pham Pham
Rincewind Rincewind
rprichard rprichard

View file

@ -7,10 +7,7 @@ ABCDEFGHIJ
abcdefghijk abcdefghijk
abcdefghijklmnop abcdefghijklmnop
ABCDEFGHIJKLMNOPQRST ABCDEFGHIJKLMNOPQRST
ABCDEFGHIJKLMNOPQRSTQ
abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
ABCDEFGHIJPQRST
ABCDEFGHIJPQRSTQ
QQQQQQQQQQABCDEFGHIJ QQQQQQQQQQABCDEFGHIJ
QQQQQQQQQQABCDEFGHIJKLMNOPQRSTQQQQQQQQQ QQQQQQQQQQABCDEFGHIJKLMNOPQRSTQQQQQQQQQ
QQQQQQQQQQABCDEFGHIJKLMNOPQRSTQQQQQQQQQQ QQQQQQQQQQABCDEFGHIJKLMNOPQRSTQQQQQQQQQQ

View file

@ -1,6 +1,3 @@
aaaaa
aaaaaa
aaaaaaaaaaaaaaaaaaa
AAAAAABBBBBBCCC AAAAAABBBBBBCCC
AAAAABBBBBBBCCC AAAAABBBBBBBCCC
AAD AAD
@ -77,7 +74,6 @@ applet
appletname appletname
applicationmodel applicationmodel
APPLMODAL APPLMODAL
APPLOGIC
appmodel appmodel
apps apps
APPWINDOW APPWINDOW
@ -136,15 +132,13 @@ azzle
baac baac
backend backend
backgrounded backgrounded
backgrounder Backgrounder
backgrounding backgrounding
backport backport
backstory backstory
Batang Batang
baz baz
Bazz Bazz
BBBB
BBBBBBBBBBBBBBBBBBBBBBBBBB
BBBBCCCCC BBBBCCCCC
bbc bbc
bbd bbd
@ -238,7 +232,6 @@ CBoolean
cbt cbt
cbuffer cbuffer
CCCBB CCCBB
CCCC
ccf ccf
cch cch
CCHAR CCHAR
@ -318,7 +311,6 @@ cnt
CNTRL CNTRL
codebase codebase
Codeflow Codeflow
codeofconduct
codepage codepage
codepoint codepoint
codeproject codeproject
@ -400,7 +392,6 @@ constness
contentfiles contentfiles
conterm conterm
CONTEXTMENU CONTEXTMENU
controlkeystates
contsf contsf
contypes contypes
convarea convarea
@ -472,9 +463,7 @@ CURRENTPAGE
CURSORCOLOR CURSORCOLOR
CURSORSIZE CURSORSIZE
CURSORTYPE CURSORTYPE
customframe
CUU CUU
cvd
cw cw
Cwa Cwa
cwch cwch
@ -507,8 +496,6 @@ CYVSCROLL
dahall dahall
dai dai
DATABLOCK DATABLOCK
dataprotection
dataprotectionprovider
DATAVIEW DATAVIEW
DATAW DATAW
dba dba
@ -536,7 +523,6 @@ dcommon
DCompile DCompile
dcompiler dcompiler
ddb ddb
DDDD
dde dde
DDESHARE DDESHARE
DDevice DDevice
@ -632,7 +618,7 @@ dialogbox
diffing diffing
DINLINE DINLINE
directio directio
directx DIRECTX
Dirs Dirs
DISABLENOSCROLL DISABLENOSCROLL
DISPLAYATTRIBUTE DISPLAYATTRIBUTE
@ -713,7 +699,6 @@ edputil
edu edu
eeb eeb
eee eee
EEEE
Efast Efast
EHsc EHsc
EJO EJO
@ -778,7 +763,6 @@ FACENODE
FACESIZE FACESIZE
failfast failfast
FAILIFTHERE FAILIFTHERE
FAILOUT
fallthrough fallthrough
FARPROC FARPROC
fba fba
@ -804,7 +788,6 @@ fesb
ffc ffc
FFDE FFDE
FFF FFF
ffff
FFrom FFrom
FGCOLOR FGCOLOR
fgetc fgetc
@ -827,7 +810,6 @@ finalizer
FINDCASE FINDCASE
FINDDLG FINDDLG
FINDDOWN FINDDOWN
findlocalename
FINDSTR FINDSTR
FINDSTRINGEXACT FINDSTRINGEXACT
FINDUP FINDUP
@ -900,7 +882,6 @@ GETALIASESLENGTH
GETALIASEXES GETALIASEXES
GETALIASEXESLENGTH GETALIASEXESLENGTH
GETAUTOHIDEBAREX GETAUTOHIDEBAREX
getboundingrectangles
GETCARETWIDTH GETCARETWIDTH
getch getch
getchar getchar
@ -919,7 +900,6 @@ GETDLGCODE
GETDPISCALEDSIZE GETDPISCALEDSIZE
GETFONTINFO GETFONTINFO
GETFONTSIZE GETFONTSIZE
getglyphs
GETHARDWARESTATE GETHARDWARESTATE
GETHUNGAPPTIMEOUT GETHUNGAPPTIMEOUT
GETICON GETICON
@ -929,8 +909,6 @@ GETKEYSTATE
GETLARGESTWINDOWSIZE GETLARGESTWINDOWSIZE
GETLBTEXT GETLBTEXT
getline getline
getlocalename
getlocalenamelength
GETMINMAXINFO GETMINMAXINFO
GETMOUSEINFO GETMOUSEINFO
GETNUMBEROFFONTS GETNUMBEROFFONTS
@ -940,8 +918,6 @@ GETPOS
GETSELECTIONINFO GETSELECTIONINFO
getset getset
GETSTATE GETSTATE
getstring
getstringlength
GETTEXT GETTEXT
GETTEXTLEN GETTEXTLEN
GETTITLE GETTITLE
@ -953,9 +929,6 @@ GETWHEELSCROLLLINES
getwriter getwriter
Gfun Gfun
gfx gfx
ggggg
gggggg
ggggggg
gh gh
github github
githubusercontent githubusercontent
@ -988,7 +961,7 @@ GWL
GWLP GWLP
gwsz gwsz
HABCDEF HABCDEF
hackathon Hackathon
halfwidth halfwidth
HALTCOND HALTCOND
HANGEUL HANGEUL
@ -1018,7 +991,6 @@ hhx
HIBYTE HIBYTE
HICON HICON
HIDEWINDOW HIDEWINDOW
hidpi
HIGHLIGHTTEXT HIGHLIGHTTEXT
hinst hinst
HINSTANCE HINSTANCE
@ -1109,9 +1081,6 @@ idllib
IDOK IDOK
IDR IDR
idth idth
idwritefontcollection
idwritelocalizedstrings
idwritetextanalyzer
idx idx
IDXGI IDXGI
IDynamic IDynamic
@ -1139,7 +1108,6 @@ ime
Imm Imm
IMouse IMouse
impl impl
implementingtextandtextrange
inbox inbox
inclusivity inclusivity
INCONTEXT INCONTEXT
@ -1160,7 +1128,6 @@ inout
INPATHROOT INPATHROOT
Inplace Inplace
inproc inproc
inputdev
Inputkeyinfo Inputkeyinfo
INPUTPROCESSORPROFILE INPUTPROCESSORPROFILE
inputrc inputrc
@ -1211,14 +1178,11 @@ iterm
itermcolors itermcolors
ITerminal ITerminal
IText IText
itextprovider
itextrangeprovider
itf itf
Ith Ith
itoa itoa
IUI IUI
IUia IUia
iuiautomationtextrange
IUnknown IUnknown
ivalid ivalid
IVector IVector
@ -1311,7 +1275,6 @@ listptr
listptrsize listptrsize
lk lk
lld lld
LLLLLLLL
llvm llvm
llx llx
LMENU LMENU
@ -1526,7 +1489,6 @@ nbsp
Nc Nc
NCCALCSIZE NCCALCSIZE
NCCREATE NCCREATE
nchittest
NCHITTEST'ed NCHITTEST'ed
NCLBUTTONDOWN NCLBUTTONDOWN
NCLBUTTONUP NCLBUTTONUP
@ -1555,13 +1517,10 @@ NEWTEXTMETRIC
NEWTEXTMETRICEX NEWTEXTMETRICEX
Newtonsoft Newtonsoft
NEXTLINE NEXTLINE
nf
nfe nfe
nlength nlength
Nls Nls
NLSMODE NLSMODE
nn
nnn
NOACTIVATE NOACTIVATE
NOAPPLYNOW NOAPPLYNOW
NOCLIP NOCLIP
@ -1784,7 +1743,6 @@ PFONT
PFONTENUMDATA PFONTENUMDATA
PFS PFS
pgdn pgdn
pgp
pguid pguid
pgup pgup
PHANDLE PHANDLE
@ -1817,9 +1775,7 @@ pntm
PNTSTATUS PNTSTATUS
POBJECT POBJECT
Podcast Podcast
pointerpoint
POINTSLIST POINTSLIST
polytextoutw
POLYTEXTW POLYTEXTW
popclip popclip
popd popd
@ -1936,7 +1892,6 @@ pythonw
qi qi
QJ QJ
qo qo
QQQQ
qsort qsort
queryable queryable
QUESTIONMARK QUESTIONMARK
@ -2058,7 +2013,6 @@ robomac
roundtrip roundtrip
ROWSTOSCROLL ROWSTOSCROLL
RRF RRF
RRRRRRR
rtcore rtcore
RTEXT RTEXT
rtf rtf
@ -2226,7 +2180,6 @@ SOURCESDIRECTORY
SPACEBAR SPACEBAR
spammy spammy
spand spand
Spc
splashscreen splashscreen
sprintf sprintf
sqlproj sqlproj
@ -2315,7 +2268,6 @@ syscalls
SYSCHAR SYSCHAR
SYSCOMMAND SYSCOMMAND
SYSDEADCHAR SYSDEADCHAR
sysinfo
Sysinternals Sysinternals
SYSKEYDOWN SYSKEYDOWN
SYSKEYUP SYSKEYUP
@ -2428,7 +2380,6 @@ TOPLEFT
TOPRIGHT TOPRIGHT
tosign tosign
touchpad touchpad
tounicodeex
towlower towlower
towupper towupper
Tpp Tpp
@ -2490,8 +2441,6 @@ uget
uia uia
UIACCESS UIACCESS
uiacore uiacore
uiauto
uiautomationclient
uiautomationcore uiautomationcore
Uid Uid
uielem uielem
@ -2512,7 +2461,6 @@ Unfocus
unfocuses unfocuses
unhighlighting unhighlighting
unicode unicode
unicodechar
UNICODESTRING UNICODESTRING
UNICODETEXT UNICODETEXT
UNICRT UNICRT
@ -2579,7 +2527,6 @@ uxtheme
Vals Vals
Vanara Vanara
vararg vararg
varenum
vbproj vbproj
vclib vclib
Vcount Vcount
@ -2616,7 +2563,6 @@ VProc
VRaw VRaw
VREDRAW VREDRAW
vsc vsc
vsconfig
vscprintf vscprintf
VSCROLL VSCROLL
vsinfo vsinfo
@ -2694,7 +2640,6 @@ wikipedia
wil wil
WImpl WImpl
WINAPI WINAPI
winauto
winbase winbase
winbasep winbasep
wincon wincon
@ -2725,10 +2670,8 @@ WINDOWPOSCHANGING
windowproc windowproc
windowrect windowrect
windowsapp windowsapp
windowsinsiderpreview
windowsinternalstring windowsinternalstring
WINDOWSIZE WINDOWSIZE
windowsterminal
windowsx windowsx
WINDOWTEXT WINDOWTEXT
windowtheme windowtheme
@ -2783,7 +2726,6 @@ WPresent
wprintf wprintf
wprp wprp
wprpi wprpi
wpt
wregex wregex
WResult WResult
writeback writeback
@ -2840,7 +2782,6 @@ xca
XCast XCast
xce xce
XCENTER XCENTER
XChars
XColors XColors
xcopy xcopy
XCount XCount
@ -2872,13 +2813,11 @@ xutr
xvalue xvalue
XVIRTUALSCREEN XVIRTUALSCREEN
XWalk XWalk
xxxx
xy xy
yact yact
YAML YAML
YCast YCast
YCENTER YCENTER
YChars
YCount YCount
YDPI YDPI
yml yml

View file

@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v2.0.0 - uses: actions/checkout@v2.0.0
with: with:
fetch-depth: 5 fetch-depth: 5
- uses: check-spelling/check-spelling@0.0.14-alpha - uses: check-spelling/check-spelling@0.0.15-alpha
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
bucket: .github/actions bucket: .github/actions

View file

@ -5,7 +5,7 @@ import "../AppLogic.idl";
namespace TerminalApp namespace TerminalApp
{ {
// ADD ARBITRARY APP LOGIC TO APPLOGIC.IDL, NOT HERE. // ADD ARBITRARY APP LOGIC TO AppLogic.idl, NOT HERE.
// This is for XAML platform setup only. // This is for XAML platform setup only.
[default_interface] runtimeclass App : Microsoft.Toolkit.Win32.UI.XamlHost.XamlApplication [default_interface] runtimeclass App : Microsoft.Toolkit.Win32.UI.XamlHost.XamlApplication
{ {

View file

@ -141,7 +141,7 @@ namespace winrt::TerminalApp::implementation
// Function Description: // Function Description:
// - Get the AppLogic for the current active Xaml application, or null if there isn't one. // - Get the AppLogic for the current active Xaml application, or null if there isn't one.
// Return value: // Return value:
// - A pointer (bare) to the applogic, or nullptr. The app logic outlives all other objects, // - A pointer (bare) to the AppLogic, or nullptr. The app logic outlives all other objects,
// unless the application is in a terrible way, so this is "safe." // unless the application is in a terrible way, so this is "safe."
AppLogic* AppLogic::Current() noexcept AppLogic* AppLogic::Current() noexcept
try try

View file

@ -33,7 +33,7 @@ Run the test:
- Run with no arguments to see the order in which processes are signaled. - Run with no arguments to see the order in which processes are signaled.
- Run `closetest.exe -d alternate --gap -n 4` to require multiple Close - Run `closetest.exe -d alternate --gap -n 4` to require multiple Close
button clicks. button clicks.
- Observe the "closetest: child nnn: attached to console" messages in DbgView - Observe the "closetest: child ###: attached to console" messages in DbgView
- Click the console's Close button. - Click the console's Close button.
- Observe the `CTRL_CLOSE_EVENT` messages in DbgView. - Observe the `CTRL_CLOSE_EVENT` messages in DbgView.
DETAILS: DETAILS: