Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
90f89fa7
Commit
90f89fa7
authored
Jan 15, 2008
by
Austin English
Committed by
Alexandre Julliard
Jan 18, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tools: Spelling fixes.
parent
f6caf1be
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
31 additions
and
32 deletions
+31
-32
typegen.c
tools/widl/typegen.c
+1
-1
typelib_struct.h
tools/widl/typelib_struct.h
+7
-7
relay.c
tools/winebuild/relay.c
+1
-1
debug.c
tools/winedump/debug.c
+2
-2
msmangle.c
tools/winedump/msmangle.c
+5
-5
symbol.c
tools/winedump/symbol.c
+2
-2
winegcc.c
tools/winegcc/winegcc.c
+1
-1
mcl.c
tools/wmc/mcl.c
+2
-2
genres.c
tools/wrc/genres.c
+5
-5
newstruc.c
tools/wrc/newstruc.c
+1
-1
parser.h
tools/wrc/parser.h
+1
-2
wrc.c
tools/wrc/wrc.c
+2
-2
writeres.c
tools/wrc/writeres.c
+1
-1
No files found.
tools/widl/typegen.c
View file @
90f89fa7
...
...
@@ -2126,7 +2126,7 @@ static size_t write_typeformatstring_var(FILE *file, int indent, const func_t *f
off
=
write_array_tfs
(
file
,
var
->
attrs
,
type
,
var
->
name
,
typeformat_offset
);
ptr_type
=
get_attrv
(
var
->
attrs
,
ATTR_POINTERTYPE
);
/* Top level pointers to conformant arrays may be handled specially
since we can bypass the pointer, but if the array is bur
r
ied
since we can bypass the pointer, but if the array is buried
beneath another pointer (e.g., "[size_is(,n)] int **p" then we
always need to write the pointer. */
if
(
!
ptr_type
&&
var
->
type
!=
type
)
...
...
tools/widl/typelib_struct.h
View file @
90f89fa7
...
...
@@ -92,16 +92,16 @@ typedef struct tagMSFT_pSeg {
/* layout of the main segment directory */
typedef
struct
tagMSFT_SegDir
{
/*1*/
MSFT_pSeg
pTypeInfoTab
;
/* each type
info get
an entry of 0x64 bytes */
/*1*/
MSFT_pSeg
pTypeInfoTab
;
/* each type
info gets
an entry of 0x64 bytes */
/* (25 ints) */
/*2*/
MSFT_pSeg
pImpInfo
;
/* table with info for imported types */
/*3*/
MSFT_pSeg
pImpFiles
;
/* import libaries */
/*3*/
MSFT_pSeg
pImpFiles
;
/* import lib
r
aries */
/*4*/
MSFT_pSeg
pRefTab
;
/* References table */
/*5*/
MSFT_pSeg
pLibtab
;
/* always exists, alway same size (0x80) */
/* hash table w offsets to guid????? */
/*6*/
MSFT_pSeg
pGuidTab
;
/* all guids are stored here together with */
/* offset in some table???? */
/*7*/
MSFT_pSeg
res07
;
/* always created, alway same size (0x200) */
/*7*/
MSFT_pSeg
res07
;
/* always created, alway
s
same size (0x200) */
/* purpose largely unknown */
/*8*/
MSFT_pSeg
pNametab
;
/* name tables */
/*9*/
MSFT_pSeg
pStringtab
;
/* string table */
...
...
@@ -119,10 +119,10 @@ typedef struct tagMSFT_SegDir {
/* base type info data */
typedef
struct
tagMSFT_TypeInfoBase
{
/*000*/
INT
typekind
;
/* it is the TKIND_xxx */
/* some byte alignment stuf */
/* some byte alignment stuf
f
*/
INT
memoffset
;
/* points past the file, if no elements */
INT
res2
;
/* zero if no element, N*0x40 */
INT
res3
;
/* -1 if no lement, (N-1)*0x38 */
INT
res3
;
/* -1 if no
e
lement, (N-1)*0x38 */
/*010*/
INT
res4
;
/* always? 3 */
INT
res5
;
/* always? zero */
INT
cElement
;
/* counts elements, HI=cVars, LO=cFuncs */
...
...
@@ -171,7 +171,7 @@ typedef struct tagMSFT_ImpInfo {
/* function description data */
typedef
struct
{
/* INT recsize; record size including some xtra stuff */
/* INT recsize; record size including some
e
xtra stuff */
INT
DataType
;
/* data type of the member, eg return of function */
INT
Flags
;
/* something to do with attribute flags (LOWORD) */
#ifdef WORDS_BIGENDIAN
...
...
@@ -227,7 +227,7 @@ typedef struct {
/* Variable description data */
typedef
struct
{
/* INT recsize; // record size including some xtra stuff */
/* INT recsize; // record size including some
e
xtra stuff */
INT
DataType
;
/* data type of the variable */
INT
Flags
;
/* VarFlags (LOWORD) */
#ifdef WORDS_BIGENDIAN
...
...
tools/winebuild/relay.c
View file @
90f89fa7
...
...
@@ -383,7 +383,7 @@ static void BuildCallFrom16Core( int reg_func, int thunk )
* All routines expect that the 16-bit stack contents (arguments) and the
* return address (segptr to CallTo16_Ret) were already set up by the
* caller; nb_args must contain the number of bytes to be conserved. The
* 16-bit SS:SP will be set accordinly.
* 16-bit SS:SP will be set accordin
g
ly.
*
* All other registers are either taken from the CONTEXT86 structure
* or else set to default values. The target routine address is either
...
...
tools/winedump/debug.c
View file @
90f89fa7
...
...
@@ -193,7 +193,7 @@ static int dump_cv_sst_global_types(const OMFDirEntry* omfde)
/* doc says:
* - for NB07 & NB08 (that we don't support yet), offsets are from types
* - for NB09, offsets are from data
* For now, we only support the later
* For now, we only support the lat
t
er
*/
codeview_dump_types_from_offsets
(
data
,
(
const
DWORD
*
)(
types
+
1
),
types
->
cTypes
);
...
...
@@ -278,7 +278,7 @@ static int dump_cv_sst_src_module(const OMFDirEntry* omfde)
/* the OMFSourceFile is quite unpleasant to use:
* we have first:
* unsigned short number of segments
* unsigned short reserve
re
d
* unsigned short reserved
* unsigned long baseSrcLn[# segments]
* unsigned long offset[2 * #segments]
* odd indices are start offsets
...
...
tools/winedump/msmangle.c
View file @
90f89fa7
...
...
@@ -594,17 +594,17 @@ static char *demangle_datatype (char **str, compound_type *ct,
/* Constraints:
* There are two conventions for specifying data type consta
i
nts. I
* There are two conventions for specifying data type constants. I
* don't know how the compiler chooses between them, but I suspect it
* is based on ensuring that linker names are unique.
* Convention 1. The data type modifier is given first, followed
* by the data type it operates on. '?' means passed by value,
* 'A' means passed by reference. Note neither of these characters
* is a valid base data type. This is then followed by a character
* specifying constness or volatilty.
* specifying constness or volatil
i
ty.
* Convention 2. The base data type (which is never '?' or 'A') is
* given first. The character modifier is optionally given after
* the base type character. If a valid character mo
f
ifier is present,
* the base type character. If a valid character mo
d
ifier is present,
* then it only applies to the current data type if the character
* after that is not 'A' 'B' or 'C' (Because this makes a convention 1
* constraint for the next data type).
...
...
@@ -612,9 +612,9 @@ static char *demangle_datatype (char **str, compound_type *ct,
* The conventions are usually mixed within the same symbol.
* Since 'C' is both a qualifier and a data type, I suspect that
* convention 1 allows specifying e.g. 'volatile signed char*'. In
* convention 2 this would be 'CC' which is ambig
i
ous (i.e. Is it two
* convention 2 this would be 'CC' which is ambig
u
ous (i.e. Is it two
* pointers, or a single pointer + modifier?). In convention 1 it
* is encoded as '?CC' which is not ambig
i
ous. This probably
* is encoded as '?CC' which is not ambig
u
ous. This probably
* holds true for some other types as well.
*/
...
...
tools/winedump/symbol.c
View file @
90f89fa7
...
...
@@ -38,7 +38,7 @@ static const char * const swap_after[] =
" ,"
,
","
,
"( "
,
"("
,
" )"
,
")"
,
"wchar_t"
,
"WCHAR"
,
/* Help with Unicode comp
l
iles */
"wchar_t"
,
"WCHAR"
,
/* Help with Unicode compiles */
"wctype_t"
,
"WCHAR"
,
"wint_t"
,
"WCHAR"
,
NULL
,
NULL
...
...
@@ -166,7 +166,7 @@ const char *symbol_get_call_convention(const parsed_symbol *sym)
/*******************************************************************
* symbol_get_spec_type
*
* Get the .spec file text for a symbols argument
* Get the .spec file text for a symbol
'
s argument
*/
const
char
*
symbol_get_spec_type
(
const
parsed_symbol
*
sym
,
size_t
arg
)
{
...
...
tools/winegcc/winegcc.c
View file @
90f89fa7
...
...
@@ -987,7 +987,7 @@ int main(int argc, char **argv)
case
'x'
:
lang
=
strmake
(
"-x%s"
,
option_arg
);
strarray_add
(
opts
.
files
,
lang
);
/* we'll pass these flags ourselves, explicit
e
ly */
/* we'll pass these flags ourselves, explicitly */
raw_compiler_arg
=
raw_linker_arg
=
0
;
break
;
case
'-'
:
...
...
tools/wmc/mcl.c
View file @
90f89fa7
...
...
@@ -33,7 +33,7 @@
#include "mcy.tab.h"
/*
* Keywords are case insenitive. All normal input is treated as
* Keywords are case insen
s
itive. All normal input is treated as
* being in codepage iso-8859-1 for ascii input files (unicode
* page 0) and as equivalent unicode if unicode input is selected.
* All normal input, which is not part of a message text, is
...
...
@@ -205,7 +205,7 @@ try_again:
if
(
n
<
0
)
internal_error
(
__FILE__
,
__LINE__
,
"Could not translate to unicode (%d)
\n
"
,
n
);
if
(
n
<=
1
)
goto
try_again
;
/* Should not hapen */
goto
try_again
;
/* Should not hap
p
en */
n
--
;
/* Strip added conversion '\0' from input length */
/*
* FIXME:
...
...
tools/wrc/genres.c
View file @
90f89fa7
...
...
@@ -716,7 +716,7 @@ static res_t *dialogex2res(name_id_t *name, dialogex_t *dlgex)
{
restag
=
put_res_header
(
res
,
WRC_RT_DIALOG
,
NULL
,
name
,
dlgex
->
memopt
,
&
(
dlgex
->
lvc
));
/* FIXME: MS doc says th
e
t the first word must contain 0xffff
/* FIXME: MS doc says th
a
t the first word must contain 0xffff
* and the second 0x0001 to signal a DLGTEMPLATEEX. Borland's
* compiler reverses the two words.
* I don't know which one to choose, but I write it as Mr. B
...
...
@@ -749,8 +749,8 @@ static res_t *dialogex2res(name_id_t *name, dialogex_t *dlgex)
{
put_word
(
res
,
dlgex
->
font
->
size
);
put_word
(
res
,
dlgex
->
font
->
weight
);
/* FIXME: ? TRUE should be sufficient to say that its
* italic, but Borland's compiler says its 0x0101.
/* FIXME: ? TRUE should be sufficient to say that it
'
s
* italic, but Borland's compiler says it
'
s 0x0101.
* I just copy it here, and hope for the best.
*/
put_word
(
res
,
dlgex
->
font
->
italic
?
0x0101
:
0
);
...
...
@@ -1020,7 +1020,7 @@ static res_t *cursorgroup2res(name_id_t *name, cursor_group_t *curg)
put_word
(
res
,
cur
->
planes
);
put_word
(
res
,
cur
->
bits
);
/* FIXME: The +4 is the hotspot in the cursor resource.
* However, I cou
n
d not find this in the documentation.
* However, I cou
l
d not find this in the documentation.
* The hotspot bytes must either be included or MS
* doesn't care.
*/
...
...
@@ -1057,7 +1057,7 @@ static res_t *cursorgroup2res(name_id_t *name, cursor_group_t *curg)
put_word
(
res
,
cur
->
planes
);
put_word
(
res
,
cur
->
bits
);
/* FIXME: The +4 is the hotspot in the cursor resource.
* However, I cou
n
d not find this in the documentation.
* However, I cou
l
d not find this in the documentation.
* The hotspot bytes must either be included or MS
* doesn't care.
*/
...
...
tools/wrc/newstruc.c
View file @
90f89fa7
...
...
@@ -794,7 +794,7 @@ static void handle_ani_list(riff_tag_t *lst, enum res_e type, int isswapped)
}
else
if
(
!
memcmp
(
rtp
->
tag
,
iart
,
sizeof
(
iart
)))
{
/* Ignore the author's name; its a string */
/* Ignore the author's name; it
'
s a string */
rtp
=
NEXT_TAG
(
rtp
);
}
else
if
(
!
memcmp
(
rtp
->
tag
,
fram
,
sizeof
(
fram
)))
...
...
tools/wrc/parser.h
View file @
90f89fa7
...
...
@@ -23,7 +23,7 @@
/* From parser.y */
extern
int
parser_debug
;
extern
int
want_nl
;
/* Set when getting line-numers */
extern
int
want_nl
;
/* Set when getting line-num
b
ers */
extern
int
want_id
;
/* Set when getting the resource name */
int
parser_parse
(
void
);
...
...
@@ -36,4 +36,3 @@ extern int yy_flex_debug;
int
parser_lex
(
void
);
#endif
tools/wrc/wrc.c
View file @
90f89fa7
/*
* Copyright 1994 Martin von Loewis
* Copyrig
n
t 1998 Bertho A. Stultiens (BS)
* Copyrig
h
t 1998 Bertho A. Stultiens (BS)
* Copyright 2003 Dimitrie O. Paun
*
* This library is free software; you can redistribute it and/or
...
...
@@ -114,7 +114,7 @@ int win32 = 1;
/*
* debuglevel == DEBUGLEVEL_NONE Don't bother
* debuglevel & DEBUGLEVEL_CHAT Say whats done
* debuglevel & DEBUGLEVEL_CHAT Say what
'
s done
* debuglevel & DEBUGLEVEL_DUMP Dump internal structures
* debuglevel & DEBUGLEVEL_TRACE Create parser trace
* debuglevel & DEBUGLEVEL_PPMSG Preprocessor messages
...
...
tools/wrc/writeres.c
View file @
90f89fa7
...
...
@@ -70,7 +70,7 @@ void write_resfile(char *outname, resource_t *top)
put_word
(
res
,
0
);
/* Memory options */
put_word
(
res
,
0
);
/* Language */
put_dword
(
res
,
0
);
/* Version */
put_dword
(
res
,
0
);
/* Charateristics */
put_dword
(
res
,
0
);
/* Chara
c
teristics */
ret
=
fwrite
(
res
->
data
,
1
,
res
->
size
,
fo
);
if
(
ret
!=
res
->
size
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment