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
5920de5f
Commit
5920de5f
authored
May 09, 2011
by
Francois Gouget
Committed by
Alexandre Julliard
May 09, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Assorted spelling and case fixes.
parent
bfbc0158
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
31 additions
and
31 deletions
+31
-31
monthcal.c
dlls/comctl32/monthcal.c
+2
-2
cryptnet.c
dlls/cryptnet/tests/cryptnet.c
+1
-1
visual.c
dlls/d3d9/tests/visual.c
+2
-2
mesh.c
dlls/d3dx9_36/mesh.c
+1
-1
mesh.c
dlls/d3dx9_36/tests/mesh.c
+1
-1
gdiplus.c
dlls/gdiplus/gdiplus.c
+1
-1
iphlpapi.c
dlls/iphlpapi/tests/iphlpapi.c
+9
-9
navigate.c
dlls/mshtml/navigate.c
+1
-1
exectest.html
dlls/mshtml/tests/exectest.html
+1
-1
domdoc.c
dlls/msxml3/tests/domdoc.c
+2
-2
message.c
dlls/user.exe16/message.c
+1
-1
usp10.c
dlls/usp10/tests/usp10.c
+2
-2
context.c
dlls/wined3d/context.c
+1
-1
glsl_shader.c
dlls/wined3d/glsl_shader.c
+1
-1
state.c
dlls/wined3d/state.c
+1
-1
swapchain.c
dlls/wined3d/swapchain.c
+2
-2
qtsplitter.c
dlls/wineqtdecoder/qtsplitter.c
+1
-1
regproc.c
programs/regedit/regproc.c
+1
-1
No files found.
dlls/comctl32/monthcal.c
View file @
5920de5f
...
...
@@ -465,7 +465,7 @@ int MONTHCAL_CalculateDayOfWeek(SYSTEMTIME *date, BOOL inplace)
return
st
.
wDayOfWeek
;
}
/* add/sub
s
tract 'months' from date */
/* add/subtract 'months' from date */
static
inline
void
MONTHCAL_GetMonth
(
SYSTEMTIME
*
date
,
INT
months
)
{
INT
length
,
m
=
date
->
wMonth
+
months
;
...
...
@@ -2560,7 +2560,7 @@ MONTHCAL_Create(HWND hwnd, LPCREATESTRUCTW lpcs)
MONTHCAL_SetFont
(
infoPtr
,
GetStockObject
(
DEFAULT_GUI_FONT
),
FALSE
);
/* initialize info structure */
/* FIXME: calculate systemtime ->> localtime(sub
s
tract timezoneinfo) */
/* FIXME: calculate systemtime ->> localtime(subtract timezoneinfo) */
GetLocalTime
(
&
infoPtr
->
todaysDate
);
MONTHCAL_SetFirstDayOfWeek
(
infoPtr
,
-
1
);
...
...
dlls/cryptnet/tests/cryptnet.c
View file @
5920de5f
...
...
@@ -721,7 +721,7 @@ static void test_verifyRevocation(void)
CertCloseStore
(
revPara
.
hCrlStore
,
0
);
/* Test again with a valid CRL. This time, the cert should be revoked when
* the time is after the validity period of the CRL, or considered
* "revocation offline" when the
the
checked time precedes the validity
* "revocation offline" when the checked time precedes the validity
* period of the CRL.
*/
revPara
.
hCrlStore
=
CertOpenStore
(
CERT_STORE_PROV_MEMORY
,
0
,
0
,
...
...
dlls/d3d9/tests/visual.c
View file @
5920de5f
...
...
@@ -5179,10 +5179,10 @@ static void cnd_test(IDirect3DDevice9 *device)
* set by the compiler, it was added manually after compilation. Note that the COISSUE
* flag on a color(.xyz) operation is only allowed after an alpha operation. DirectX doesn't
* have proper docs, but GL_ATI_fragment_shader explains the pairing of color and alpha ops
*
good
enough.
*
well
enough.
*
* The shader attempts to test the range [-1;1] against coissued cnd, which is a bit tricky.
* The input from t0 is [0;1]. 0.5 is sub
s
tracted, then we have to multiply with 2. Since
* The input from t0 is [0;1]. 0.5 is subtracted, then we have to multiply with 2. Since
* constants are clamped to [-1;1], a 2.0 is constructed by adding c0.r(=1.0) to c0.r into r1.r,
* then r1(2.0, 0.0, 0.0, 0.0) is passed to dp3(explained above).
*/
...
...
dlls/d3dx9_36/mesh.c
View file @
5920de5f
...
...
@@ -2454,7 +2454,7 @@ static HRESULT triangulate(struct triangulation_array *triangulations)
/* Perform 2D polygon triangulation for complex glyphs.
* Triangulation is performed using a sweep line concept, from right to left,
* by processing vertices in sorted order. Complex polygons are split into
* monotone polygons which are triangulated sep
e
rately. */
* monotone polygons which are triangulated sep
a
rately. */
/* FIXME: The order of the faces is not consistent with the native implementation. */
/* Reserve space for maximum possible faces from triangulation.
...
...
dlls/d3dx9_36/tests/mesh.c
View file @
5920de5f
...
...
@@ -2530,7 +2530,7 @@ static BOOL compute_text_mesh(struct mesh *mesh, HDC hdc, LPCSTR text, FLOAT dev
}
/* FIXME: compute expected faces */
/* Add placeholder to sep
e
rate glyph outlines */
/* Add placeholder to sep
a
rate glyph outlines */
vertex_ptr
->
position
.
x
=
0
;
vertex_ptr
->
position
.
y
=
0
;
vertex_ptr
->
position
.
z
=
0
;
...
...
dlls/gdiplus/gdiplus.c
View file @
5920de5f
...
...
@@ -119,7 +119,7 @@ void WINAPI GdiplusNotificationUnhook(ULONG_PTR token)
ULONG
WINAPI
GdiplusShutdown_wrapper
(
ULONG_PTR
token
)
{
/* Notice the slightly different prototype from the official
* signature which forces us to use the
the
_wrapper suffix.
* signature which forces us to use the _wrapper suffix.
*/
/* FIXME: no object tracking */
...
...
dlls/iphlpapi/tests/iphlpapi.c
View file @
5920de5f
...
...
@@ -834,7 +834,7 @@ static void testNotifyAddrChange(void)
}
ok
(
ret
==
ERROR_IO_PENDING
,
"NotifyAddrChange returned %d, expected ERROR_IO_PENDING
\n
"
,
ret
);
ret
=
GetLastError
();
todo_wine
ok
(
ret
==
ERROR_IO_PENDING
,
"GetLastError returned %d, ex
cep
ted ERROR_IO_PENDING
\n
"
,
ret
);
todo_wine
ok
(
ret
==
ERROR_IO_PENDING
,
"GetLastError returned %d, ex
pec
ted ERROR_IO_PENDING
\n
"
,
ret
);
success
=
gCancelIPChangeNotify
(
&
overlapped
);
todo_wine
ok
(
success
==
TRUE
,
"CancelIPChangeNotify returned FALSE, expected TRUE
\n
"
);
...
...
@@ -849,9 +849,9 @@ static void testNotifyAddrChange(void)
ok
(
ret
==
ERROR_IO_PENDING
,
"NotifyAddrChange returned %d, expected ERROR_IO_PENDING
\n
"
,
ret
);
todo_wine
ok
(
handle
!=
INVALID_HANDLE_VALUE
,
"NotifyAddrChange returned invalid file handle
\n
"
);
success
=
GetOverlappedResult
(
handle
,
&
overlapped
,
&
bytes
,
FALSE
);
todo_wine
ok
(
success
==
FALSE
,
"GetOverlappedResult returned TRUE, ex
cep
ted FALSE
\n
"
);
todo_wine
ok
(
success
==
FALSE
,
"GetOverlappedResult returned TRUE, ex
pec
ted FALSE
\n
"
);
ret
=
GetLastError
();
todo_wine
ok
(
ret
==
ERROR_IO_INCOMPLETE
,
"GetLastError returned %d, ex
cep
ted ERROR_IO_INCOMPLETE
\n
"
,
ret
);
todo_wine
ok
(
ret
==
ERROR_IO_INCOMPLETE
,
"GetLastError returned %d, ex
pec
ted ERROR_IO_INCOMPLETE
\n
"
,
ret
);
success
=
gCancelIPChangeNotify
(
&
overlapped
);
todo_wine
ok
(
success
==
TRUE
,
"CancelIPChangeNotify returned FALSE, expected TRUE
\n
"
);
...
...
@@ -860,19 +860,19 @@ static void testNotifyAddrChange(void)
handle
=
NULL
;
ZeroMemory
(
&
overlapped
,
sizeof
(
overlapped
));
overlapped
.
hEvent
=
CreateEvent
(
NULL
,
FALSE
,
FALSE
,
NULL
);
trace
(
"Testing asyncronous ipv4 address change notification. Please "
"change ipv4 address of one of your network interfaces
\n
"
);
trace
(
"Testing async
h
ronous ipv4 address change notification. Please "
"change
the
ipv4 address of one of your network interfaces
\n
"
);
ret
=
gNotifyAddrChange
(
&
handle
,
&
overlapped
);
ok
(
ret
==
ERROR_IO_PENDING
,
"NotifyAddrChange returned %d, expected NO_ERROR
\n
"
,
ret
);
success
=
GetOverlappedResult
(
handle
,
&
overlapped
,
&
bytes
,
TRUE
);
ok
(
success
==
TRUE
,
"GetOverlappedResult returned FALSE, ex
cep
ted TRUE
\n
"
);
ok
(
success
==
TRUE
,
"GetOverlappedResult returned FALSE, ex
pec
ted TRUE
\n
"
);
}
/* test syncronous functionality */
/* test sync
h
ronous functionality */
if
(
winetest_interactive
)
{
trace
(
"Testing syncronous ipv4 address change notification. Please "
"change ipv4 address of one of your network interfaces
\n
"
);
trace
(
"Testing sync
h
ronous ipv4 address change notification. Please "
"change
the
ipv4 address of one of your network interfaces
\n
"
);
ret
=
gNotifyAddrChange
(
NULL
,
NULL
);
todo_wine
ok
(
ret
==
NO_ERROR
,
"NotifyAddrChange returned %d, expected NO_ERROR
\n
"
,
ret
);
}
...
...
dlls/mshtml/navigate.c
View file @
5920de5f
...
...
@@ -1117,7 +1117,7 @@ static nsresult NSAPI nsAsyncVerifyRedirectCallback_QueryInterface(nsIAsyncVerif
*
result
=
&
This
->
nsIAsyncVerifyRedirectCallback_iface
;
}
else
{
*
result
=
NULL
;
WARN
(
"unimplmented iface %s
\n
"
,
debugstr_guid
(
riid
));
WARN
(
"unimpl
e
mented iface %s
\n
"
,
debugstr_guid
(
riid
));
return
NS_NOINTERFACE
;
}
...
...
dlls/mshtml/tests/exectest.html
View file @
5920de5f
...
...
@@ -21,7 +21,7 @@ document.write("<script>"
len
=
document
.
getElementsByTagName
(
'script'
).
length
;
ok
(
len
===
2
,
"script col length = "
+
len
);
ok
(
executed
,
"writen script not executed"
);
ok
(
executed
,
"writ
t
en script not executed"
);
external
.
reportSuccess
();
</script>
...
...
dlls/msxml3/tests/domdoc.c
View file @
5920de5f
...
...
@@ -7179,7 +7179,7 @@ static void test_nodeTypedValue(void)
VariantClear
(
&
value
);
}
hr
=
IXMLDOMDocument_createCDATASection
(
doc
,
_bstr_
(
"[1]*2=3; &gee thats not right!"
),
&
cdata
);
hr
=
IXMLDOMDocument_createCDATASection
(
doc
,
_bstr_
(
"[1]*2=3; &gee that
'
s not right!"
),
&
cdata
);
ok
(
hr
==
S_OK
,
"ret %08x
\n
"
,
hr
);
{
V_VT
(
&
value
)
=
VT_NULL
;
...
...
@@ -7187,7 +7187,7 @@ static void test_nodeTypedValue(void)
hr
=
IXMLDOMCDATASection_get_nodeTypedValue
(
cdata
,
&
value
);
ok
(
hr
==
S_OK
,
"ret %08x
\n
"
,
hr
);
ok
(
V_VT
(
&
value
)
==
VT_BSTR
,
"got %d
\n
"
,
V_VT
(
&
value
));
ok
(
!
lstrcmpW
(
V_BSTR
(
&
value
),
_bstr_
(
"[1]*2=3; &gee thats not right!"
)),
"got wrong value
\n
"
);
ok
(
!
lstrcmpW
(
V_BSTR
(
&
value
),
_bstr_
(
"[1]*2=3; &gee that
'
s not right!"
)),
"got wrong value
\n
"
);
IXMLDOMCDATASection_Release
(
cdata
);
VariantClear
(
&
value
);
}
...
...
dlls/user.exe16/message.c
View file @
5920de5f
...
...
@@ -1425,7 +1425,7 @@ LRESULT WINPROC_CallProc32ATo16( winproc_callback16_t callback, HWND hwnd, UINT
case
CB_GETEDITSEL
:
ret
=
callback
(
HWND_16
(
hwnd
),
CB_GETEDITSEL16
,
wParam
,
lParam
,
result
,
arg
);
if
(
wParam
)
*
((
PUINT
)(
wParam
))
=
LOWORD
(
*
result
);
if
(
lParam
)
*
((
PUINT
)(
lParam
))
=
HIWORD
(
*
result
);
/* FIXME: sub
s
tract 1? */
if
(
lParam
)
*
((
PUINT
)(
lParam
))
=
HIWORD
(
*
result
);
/* FIXME: subtract 1? */
break
;
case
CB_ADDSTRING
:
case
CB_FINDSTRING
:
...
...
dlls/usp10/tests/usp10.c
View file @
5920de5f
...
...
@@ -1120,7 +1120,7 @@ static void test_ScriptXtoX(void)
ok
(
piTrailing
==
1
,
"iX=%d should return piTrailing=1 not %d
\n
"
,
iX
,
piTrailing
);
}
/* 0,1,2 are act
aully fractional offsets meaning that they will not be reporting the same iCP as comes in so don
t test those */
/* 0,1,2 are act
ually fractional offsets meaning that they will not be reporting the same iCP as comes in so don'
t test those */
for
(
iCP
=
3
;
iCP
<
10
;
iCP
++
)
{
iX
=
offsets
[
iCP
];
...
...
@@ -1240,7 +1240,7 @@ static void test_ScriptString(HDC hdc)
*
* This set of tests are for the string functions of uniscribe. The ScriptStringAnalyse
* function allocates memory pointed to by the SCRIPT_STRING_ANALYSIS ssa pointer. This
* memory i
f
freed by ScriptStringFree. There needs to be a valid hdc for this as
* memory i
s
freed by ScriptStringFree. There needs to be a valid hdc for this as
* ScriptStringAnalyse calls ScriptSItemize, ScriptShape and ScriptPlace which require it.
*
*/
...
...
dlls/wined3d/context.c
View file @
5920de5f
...
...
@@ -1380,7 +1380,7 @@ struct wined3d_context *context_create(struct wined3d_swapchain *swapchain,
}
/* DirectDraw supports 8bit paletted render targets and these are used by
* old games like Star
c
raft and C&C. Most modern hardware doesn't support
* old games like Star
C
raft and C&C. Most modern hardware doesn't support
* 8bit natively so we perform some form of 8bit -> 32bit conversion. The
* conversion (ab)uses the alpha component for storing the palette index.
* For this reason we require a format with 8bit alpha, so request
...
...
dlls/wined3d/glsl_shader.c
View file @
5920de5f
...
...
@@ -1213,7 +1213,7 @@ static void shader_generate_glsl_declarations(const struct wined3d_context *cont
/* DirectX apps expect integer values, while OpenGL drivers add approximately 0.5. This causes
* off-by-one problems as spotted by the vPos d3d9 visual test. Unfortunately the ATI cards do
* not add exactly 0.5, but rather something like 0.49999999 or 0.50000001, which still causes
* precision troubles when we just sub
s
tract 0.5.
* precision troubles when we just subtract 0.5.
*
* To deal with that just floor() the position. This will eliminate the fraction on all cards.
*
...
...
dlls/wined3d/state.c
View file @
5920de5f
...
...
@@ -263,7 +263,7 @@ static GLenum gl_blend_factor(WINED3DBLEND factor, const struct wined3d_format *
/* To compensate for the lack of format switching with backbuffer
* offscreen rendering, and with onscreen rendering, we modify the
* alpha test parameters for (INV)DESTALPHA if the render target
* doesn't support alpha blending. A non
-
existent alpha channel
* doesn't support alpha blending. A nonexistent alpha channel
* returns 1.0, so WINED3DBLEND_DESTALPHA becomes GL_ONE, and
* WINED3DBLEND_INVDESTALPHA becomes GL_ZERO. */
case
WINED3DBLEND_DESTALPHA
:
...
...
dlls/wined3d/swapchain.c
View file @
5920de5f
...
...
@@ -207,9 +207,9 @@ HRESULT CDECL wined3d_swapchain_get_raster_status(const struct wined3d_swapchain
}
/* Obtaining the raster status is a widely implemented but optional
* feature. When this method returns OK Star
c
raft 2 expects the
* feature. When this method returns OK Star
C
raft 2 expects the
* raster_status->InVBlank value to actually change over time. To prevent
* Star
c
raft 2 from running in an infinite loop at startup this method
* Star
C
raft 2 from running in an infinite loop at startup this method
* returns INVALIDCALL. */
return
WINED3DERR_INVALIDCALL
;
}
...
...
dlls/wineqtdecoder/qtsplitter.c
View file @
5920de5f
...
...
@@ -905,7 +905,7 @@ static HRESULT QT_Process_Movie(QTSplitter* filter)
if
(
err
!=
noErr
)
{
FIXME
(
"Quick
t
ime cannot handle media type(%i)
\n
"
,
err
);
FIXME
(
"Quick
T
ime cannot handle media type(%i)
\n
"
,
err
);
return
VFW_E_TYPE_NOT_ACCEPTED
;
}
...
...
programs/regedit/regproc.c
View file @
5920de5f
...
...
@@ -1179,7 +1179,7 @@ static void export_hkey(FILE *file, HKEY key,
line_len
+=
len
;
/* At this point we know wstr is '\0'-terminated
* so we can sub
s
tract 1 from the size
* so we can subtract 1 from the size
*/
REGPROC_export_string
(
line_buf
,
line_buf_size
,
&
line_len
,
wstr
,
val_size1
/
sizeof
(
WCHAR
)
-
1
);
...
...
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