I see somebody's posting a few fix-typo-in-comments patches, e.g. http://www.winehq.org/pipermail/wine-patches/2007-December/048099.html http://www.winehq.org/pipermail/wine-patches/2007-December/048101.html
That reminds me that I worked out some time ago how to find such typos efficiently. At the risk of encouraging lots of silly typo-fixing patches, I've documented the process here: http://kegel.com/wine/spellingpolice/
For instance, to find typos in comments in shell32, you can do:
sudo apt-get install ispell
wget http://kegel.com/wine/spellingpolice/stop.txt wget http://kegel.com/wine/spellingpolice/lspell-pl.txt -O lspell.pl perl lspell.pl stop.txt ~/wine-git/dlls/shell32/*.[ch]
This outputs:
/home/dank/wine-git/dlls/shell32/autocomplete.c: 1
dispays
/home/dank/wine-git/dlls/shell32/brsfolder.c: 1
relativ
/home/dank/wine-git/dlls/shell32/dataobject.c: 1
droping
/home/dank/wine-git/dlls/shell32/iconcache.c: 1
resoure
/home/dank/wine-git/dlls/shell32/pidl.c: 1
relativ
/home/dank/wine-git/dlls/shell32/pidl.h: 1
desribes
/home/dank/wine-git/dlls/shell32/shell.c: 1
incidently
/home/dank/wine-git/dlls/shell32/shfldr_fs.c: 1
spezified
/home/dank/wine-git/dlls/shell32/shfldr_unixfs.c: 4
appart relativ savely should'nt
/home/dank/wine-git/dlls/shell32/shlexec.c: 1
foward
/home/dank/wine-git/dlls/shell32/shlfileop.c: 2
ERRROR INVLID
/home/dank/wine-git/dlls/shell32/shlfolder.c: 1
whitch
/home/dank/wine-git/dlls/shell32/shlview.c: 2
buily provied
/home/dank/wine-git/dlls/shell32/trash.c: 1
DESCRITION
On Sat, 29 Dec 2007, Dan Kegel wrote: [...]
I've run my 'typos' script on your custom dictionary and noticed it allows a couple of bad words:
nonexistant upto UPTO wether
and also
Codeweavers Bad capitalization, should be 'CodeWeavers'. I'm including it because the dictionary seems case sensitive.
It also allows all variants of the following though I realize you have no choice because these are part of longer Microsoft identifiers: OCCURED (from STATUS_MCA_OCCURED) SEPERATOR (from MDP_SEPERATOR, SDDL_SEPERATOR and SEPERATOR)
Typos: http://fgouget.free.fr/index-en.shtml#typos http://fgouget.free.fr/typos/typos
On Dec 30, 2007 1:22 AM, Francois Gouget fgouget@free.fr wrote:
Fixed, thanks! (I'm leaving the variants of CodeWeavers as that error is not bad enough to make me cringe; I'm trying to encourage people to only fix the really annoying ones). - Dan
Hi,
while I was searching for a description for some functions in the html-documentation I found some broken links (these two fixes). So they aren't only comments because they are used to produce the links in the documentation ;-).
But if I have some time I'd like to fix some typos. Thanks for the nice description.
Cheers Rico
Dan Kegel wrote:
On Dec 29, 2007 9:48 PM, Dan Kegel dank@kegel.com wrote:
It looks like Alexandre is accepting patches to fix typos in comments. See http://www.winehq.org/pipermail/wine-cvs/2008-January/039273.html http://www.winehq.org/pipermail/wine-cvs/2008-January/039274.html
From the looks of it, he prefers you to submit one patch
with all your typo fixes in it rather than lots of little ones. - Dan