Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
0e4adae9
Commit
0e4adae9
authored
Jan 04, 2008
by
Austin English
Committed by
Alexandre Julliard
Jan 07, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Spelling fixes.
parent
f296a8ca
Hide whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
40 additions
and
40 deletions
+40
-40
dct64_i386.c
dlls/winemp3.acm/dct64_i386.c
+2
-2
decode_i386.c
dlls/winemp3.acm/decode_i386.c
+2
-2
huffman.h
dlls/winemp3.acm/huffman.h
+2
-2
layer3.c
dlls/winemp3.acm/layer3.c
+1
-1
audio.c
dlls/winenas.drv/audio.c
+1
-1
audio.c
dlls/wineoss.drv/audio.c
+1
-1
midi.c
dlls/wineoss.drv/midi.c
+4
-4
midipatch.c
dlls/wineoss.drv/midipatch.c
+1
-1
bitblt.c
dlls/winex11.drv/bitblt.c
+1
-1
desktop.c
dlls/winex11.drv/desktop.c
+1
-1
dib.c
dlls/winex11.drv/dib.c
+2
-2
event.c
dlls/winex11.drv/event.c
+1
-1
opengl.c
dlls/winex11.drv/opengl.c
+2
-2
winpos.c
dlls/winex11.drv/winpos.c
+2
-2
wintab.c
dlls/winex11.drv/wintab.c
+2
-2
xdnd.c
dlls/winex11.drv/xdnd.c
+1
-1
xrender.c
dlls/winex11.drv/xrender.c
+1
-1
ftp.c
dlls/wininet/ftp.c
+2
-2
http.c
dlls/wininet/http.c
+4
-4
internet.c
dlls/wininet/internet.c
+1
-1
generated.c
dlls/wininet/tests/generated.c
+1
-1
url.c
dlls/wininet/tests/url.c
+3
-3
urlcache.c
dlls/wininet/urlcache.c
+2
-2
No files found.
dlls/winemp3.acm/dct64_i386.c
View file @
0e4adae9
/*
/*
* Copyright (c) Michael Hipp and other authors of the mpglib project.
* Copyright (c) Michael Hipp and other authors of the mpglib project.
*
*
* Discrete Cosine Tansform (DCT) for subband synthesis
* Discrete Cosine T
r
ansform (DCT) for subband synthesis
* optimized for machines with no auto-increment.
* optimized for machines with no auto-increment.
* The performance is highly compiler dependen
d
. Maybe
* The performance is highly compiler dependen
t
. Maybe
* the dct64.c version for 'normal' processor may be faster
* the dct64.c version for 'normal' processor may be faster
* even for Intel processors.
* even for Intel processors.
*
*
...
...
dlls/winemp3.acm/decode_i386.c
View file @
0e4adae9
...
@@ -4,8 +4,8 @@
...
@@ -4,8 +4,8 @@
* copyright (c) 1995,1996,1997 by Michael Hipp, All rights reserved.
* copyright (c) 1995,1996,1997 by Michael Hipp, All rights reserved.
* See also 'README'
* See also 'README'
*
*
*
slighlt
y optimized for machines without autoincrement/decrement.
*
Slightl
y optimized for machines without autoincrement/decrement.
* The performance is highly compiler dependen
d
. Maybe
* The performance is highly compiler dependen
t
. Maybe
* the decode.c version for 'normal' processor may be faster
* the decode.c version for 'normal' processor may be faster
* even for Intel processors.
* even for Intel processors.
*
*
...
...
dlls/winemp3.acm/huffman.h
View file @
0e4adae9
/*
/*
* Copyright (c) Michael Hipp and other authors of the mpglib project.
* Copyright (c) Michael Hipp and other authors of the mpglib project.
*
*
* huffman tables ... recalcu
alted to work with my optim
zed
* huffman tables ... recalcu
lated to work with my optimi
zed
* decoder scheme (MH)
* decoder scheme (MH)
*
*
* probably we could save a few bytes of memory, because the
* probably we could save a few bytes of memory, because the
* smaller tables are often
the
part of a bigger table
* smaller tables are often part of a bigger table
*
*
* This library is free software; you can redistribute it and/or
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* modify it under the terms of the GNU Lesser General Public
...
...
dlls/winemp3.acm/layer3.c
View file @
0e4adae9
...
@@ -1571,7 +1571,7 @@ static void III_antialias(real xr[SBLIMIT][SSLIMIT],struct gr_info_s *gr_info)
...
@@ -1571,7 +1571,7 @@ static void III_antialias(real xr[SBLIMIT][SSLIMIT],struct gr_info_s *gr_info)
}
}
/*
/*
DCT ins
i
pired by Jeff Tsay's DCT from the maplay package
DCT inspired by Jeff Tsay's DCT from the maplay package
this is an optimized version with manual unroll.
this is an optimized version with manual unroll.
References:
References:
...
...
dlls/winenas.drv/audio.c
View file @
0e4adae9
...
@@ -484,7 +484,7 @@ static int NAS_DestroyRingMessage(MSG_RING* mr)
...
@@ -484,7 +484,7 @@ static int NAS_DestroyRingMessage(MSG_RING* mr)
/******************************************************************
/******************************************************************
* NAS_AddRingMessage
* NAS_AddRingMessage
*
*
* Inserts a new message into the ring (should be called from DriverProc deriv
at
ed routines)
* Inserts a new message into the ring (should be called from DriverProc derived routines)
*/
*/
static
int
NAS_AddRingMessage
(
MSG_RING
*
mr
,
enum
win_wm_message
msg
,
DWORD
param
,
BOOL
wait
)
static
int
NAS_AddRingMessage
(
MSG_RING
*
mr
,
enum
win_wm_message
msg
,
DWORD
param
,
BOOL
wait
)
{
{
...
...
dlls/wineoss.drv/audio.c
View file @
0e4adae9
...
@@ -1299,7 +1299,7 @@ static int OSS_DestroyRingMessage(OSS_MSG_RING* omr)
...
@@ -1299,7 +1299,7 @@ static int OSS_DestroyRingMessage(OSS_MSG_RING* omr)
/******************************************************************
/******************************************************************
* OSS_AddRingMessage
* OSS_AddRingMessage
*
*
* Inserts a new message into the ring (should be called from DriverProc deriv
at
ed routines)
* Inserts a new message into the ring (should be called from DriverProc derived routines)
*/
*/
static
int
OSS_AddRingMessage
(
OSS_MSG_RING
*
omr
,
enum
win_wm_message
msg
,
DWORD
param
,
BOOL
wait
)
static
int
OSS_AddRingMessage
(
OSS_MSG_RING
*
omr
,
enum
win_wm_message
msg
,
DWORD
param
,
BOOL
wait
)
{
{
...
...
dlls/wineoss.drv/midi.c
View file @
0e4adae9
...
@@ -109,7 +109,7 @@ static WINE_MIDIOUT MidiOutDev[MAX_MIDIOUTDRV];
...
@@ -109,7 +109,7 @@ static WINE_MIDIOUT MidiOutDev[MAX_MIDIOUTDRV];
/* this is the total number of MIDI out devices found (synth and port) */
/* this is the total number of MIDI out devices found (synth and port) */
static
int
MODM_NumDevs
=
0
;
static
int
MODM_NumDevs
=
0
;
/* this is the number of FM synthe
t
izers (index from 0 to NUMFMSYNTHDEVS - 1) */
/* this is the number of FM synthe
s
izers (index from 0 to NUMFMSYNTHDEVS - 1) */
static
int
MODM_NumFMSynthDevs
=
0
;
static
int
MODM_NumFMSynthDevs
=
0
;
/* the Midi ports have index from NUMFMSYNTHDEVS to NumDevs - 1 */
/* the Midi ports have index from NUMFMSYNTHDEVS to NumDevs - 1 */
...
@@ -299,9 +299,9 @@ LRESULT OSS_MidiInit(void)
...
@@ -299,9 +299,9 @@ LRESULT OSS_MidiInit(void)
/* This whole part is somewhat obscure to me. I'll keep trying to dig
/* This whole part is somewhat obscure to me. I'll keep trying to dig
info about it. If you happen to know, please tell us. The very
info about it. If you happen to know, please tell us. The very
descritive minfo.dev_type was not used here.
descri
p
tive minfo.dev_type was not used here.
*/
*/
/* Manufac ID. We do not have access to this with soundcard.h
/* Manufac
turer
ID. We do not have access to this with soundcard.h
Does not seem to be a problem, because in mmsystem.h only
Does not seem to be a problem, because in mmsystem.h only
Microsoft's ID is listed */
Microsoft's ID is listed */
MidiOutDev
[
numsynthdevs
+
i
].
caps
.
wMid
=
0x00FF
;
MidiOutDev
[
numsynthdevs
+
i
].
caps
.
wMid
=
0x00FF
;
...
@@ -980,7 +980,7 @@ typedef struct sChannel {
...
@@ -980,7 +980,7 @@ typedef struct sChannel {
int
bender
;
int
bender
;
int
benderRange
;
int
benderRange
;
/* controlers */
/* control
l
ers */
int
bank
;
/* CTL_BANK_SELECT */
int
bank
;
/* CTL_BANK_SELECT */
int
volume
;
/* CTL_MAIN_VOLUME */
int
volume
;
/* CTL_MAIN_VOLUME */
int
balance
;
/* CTL_BALANCE */
int
balance
;
/* CTL_BALANCE */
...
...
dlls/wineoss.drv/midipatch.c
View file @
0e4adae9
...
@@ -126,7 +126,7 @@ const unsigned char midiFMInstrumentPatches[128 * 16] = {
...
@@ -126,7 +126,7 @@ const unsigned char midiFMInstrumentPatches[128 * 16] = {
/* 96 Synth SFX 1 - Ice Rain */
0x07
,
0x01
,
0x87
,
0x80
,
0xf0
,
0xf0
,
0x05
,
0x05
,
0x00
,
0x00
,
0x04
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
/* 96 Synth SFX 1 - Ice Rain */
0x07
,
0x01
,
0x87
,
0x80
,
0xf0
,
0xf0
,
0x05
,
0x05
,
0x00
,
0x00
,
0x04
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
/* 97 Synth SFX 2 - Soundtrack */
0x07
,
0x01
,
0x87
,
0x80
,
0xf0
,
0xf0
,
0x05
,
0x05
,
0x00
,
0x00
,
0x04
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
/* 97 Synth SFX 2 - Soundtrack */
0x07
,
0x01
,
0x87
,
0x80
,
0xf0
,
0xf0
,
0x05
,
0x05
,
0x00
,
0x00
,
0x04
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
/* 98 Synth SFX 3 - Crystal */
0x07
,
0x01
,
0x87
,
0x80
,
0xf0
,
0xf0
,
0x05
,
0x05
,
0x00
,
0x00
,
0x04
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
/* 98 Synth SFX 3 - Crystal */
0x07
,
0x01
,
0x87
,
0x80
,
0xf0
,
0xf0
,
0x05
,
0x05
,
0x00
,
0x00
,
0x04
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
/* 99 Synth SFX 4 - At
h
mosphere */
0x07
,
0x01
,
0x87
,
0x80
,
0xf0
,
0xf0
,
0x05
,
0x05
,
0x00
,
0x00
,
0x04
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
/* 99 Synth SFX 4 - Atmosphere */
0x07
,
0x01
,
0x87
,
0x80
,
0xf0
,
0xf0
,
0x05
,
0x05
,
0x00
,
0x00
,
0x04
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
/* 100 Synth SFX 5 - Brightness */
0x07
,
0x01
,
0x87
,
0x80
,
0xf0
,
0xf0
,
0x05
,
0x05
,
0x00
,
0x00
,
0x04
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
/* 100 Synth SFX 5 - Brightness */
0x07
,
0x01
,
0x87
,
0x80
,
0xf0
,
0xf0
,
0x05
,
0x05
,
0x00
,
0x00
,
0x04
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
/* 101 Synth SFX 6 - Goblin */
0x07
,
0x01
,
0x87
,
0x80
,
0xf0
,
0xf0
,
0x05
,
0x05
,
0x00
,
0x00
,
0x04
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
/* 101 Synth SFX 6 - Goblin */
0x07
,
0x01
,
0x87
,
0x80
,
0xf0
,
0xf0
,
0x05
,
0x05
,
0x00
,
0x00
,
0x04
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
/* 102 Synth SFX 7 - Echo drops */
0x07
,
0x01
,
0x87
,
0x80
,
0xf0
,
0xf0
,
0x05
,
0x05
,
0x00
,
0x00
,
0x04
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
/* 102 Synth SFX 7 - Echo drops */
0x07
,
0x01
,
0x87
,
0x80
,
0xf0
,
0xf0
,
0x05
,
0x05
,
0x00
,
0x00
,
0x04
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
...
...
dlls/winex11.drv/bitblt.c
View file @
0e4adae9
...
@@ -928,7 +928,7 @@ static int BITBLT_GetSrcArea( X11DRV_PDEVICE *physDevSrc, X11DRV_PDEVICE *physDe
...
@@ -928,7 +928,7 @@ static int BITBLT_GetSrcArea( X11DRV_PDEVICE *physDevSrc, X11DRV_PDEVICE *physDe
if
(
physDevDst
->
depth
==
1
)
if
(
physDevDst
->
depth
==
1
)
{
{
/* MSDN says if StretchBlt must convert a bitmap from monochrome
/* MSDN says if StretchBlt must convert a bitmap from monochrome
to color or vice versa, the forground and background color of
to color or vice versa, the for
e
ground and background color of
the device context are used. In fact, it also applies to the
the device context are used. In fact, it also applies to the
case when it is converted from mono to mono. */
case when it is converted from mono to mono. */
XSetBackground
(
gdi_display
,
gc
,
physDevDst
->
textPixel
);
XSetBackground
(
gdi_display
,
gc
,
physDevDst
->
textPixel
);
...
...
dlls/winex11.drv/desktop.c
View file @
0e4adae9
...
@@ -124,7 +124,7 @@ static LONG X11DRV_desktop_SetCurrentMode(int mode)
...
@@ -124,7 +124,7 @@ static LONG X11DRV_desktop_SetCurrentMode(int mode)
if
(
dwBpp
!=
dd_modes
[
mode
].
dwBPP
)
if
(
dwBpp
!=
dd_modes
[
mode
].
dwBPP
)
{
{
FIXME
(
"Cannot change screen BPP from %d to %d
\n
"
,
dwBpp
,
dd_modes
[
mode
].
dwBPP
);
FIXME
(
"Cannot change screen BPP from %d to %d
\n
"
,
dwBpp
,
dd_modes
[
mode
].
dwBPP
);
/* Ignore the depth mis
s
match
/* Ignore the depth mismatch
*
*
* Some (older) applications require a specific bit depth, this will allow them
* Some (older) applications require a specific bit depth, this will allow them
* to run. X11drv performs a color depth conversion if needed.
* to run. X11drv performs a color depth conversion if needed.
...
...
dlls/winex11.drv/dib.c
View file @
0e4adae9
...
@@ -2636,7 +2636,7 @@ static void X11DRV_DIB_SetImageBits_24( int lines, const BYTE *srcbits,
...
@@ -2636,7 +2636,7 @@ static void X11DRV_DIB_SetImageBits_24( int lines, const BYTE *srcbits,
case
4
:
case
4
:
case
8
:
case
8
:
{
{
/* ==== rgb 888 dib -> any bmp
b
ormat ==== */
/* ==== rgb 888 dib -> any bmp
f
ormat ==== */
const
BYTE
*
srcbyte
;
const
BYTE
*
srcbyte
;
/* Windows only supports one 24bpp DIB format: RGB888 */
/* Windows only supports one 24bpp DIB format: RGB888 */
...
@@ -3652,7 +3652,7 @@ static int X11DRV_DIB_GetImageBits( const X11DRV_DIB_IMAGEBITS_DESCR *descr )
...
@@ -3652,7 +3652,7 @@ static int X11DRV_DIB_GetImageBits( const X11DRV_DIB_IMAGEBITS_DESCR *descr )
/* We must save and restore the bmpImage's masks in order
/* We must save and restore the bmpImage's masks in order
* to preserve them across the call to XShmGetImage, which
* to preserve them across the call to XShmGetImage, which
* decides to ele
minate them since it doesn't happen to know
* decides to eli
minate them since it doesn't happen to know
* what the format of the image is supposed to be, even though
* what the format of the image is supposed to be, even though
* we do. */
* we do. */
saveRed
=
bmpImage
->
red_mask
;
saveRed
=
bmpImage
->
red_mask
;
...
...
dlls/winex11.drv/event.c
View file @
0e4adae9
...
@@ -651,7 +651,7 @@ static HWND find_drop_window( HWND hQueryWnd, LPPOINT lpPt )
...
@@ -651,7 +651,7 @@ static HWND find_drop_window( HWND hQueryWnd, LPPOINT lpPt )
/**********************************************************************
/**********************************************************************
* EVENT_DropFromOffix
* EVENT_DropFromOffix
*
*
* don't know if it still works (last Changlog is from 96/11/04)
* don't know if it still works (last Chang
e
log is from 96/11/04)
*/
*/
static
void
EVENT_DropFromOffiX
(
HWND
hWnd
,
XClientMessageEvent
*
event
)
static
void
EVENT_DropFromOffiX
(
HWND
hWnd
,
XClientMessageEvent
*
event
)
{
{
...
...
dlls/winex11.drv/opengl.c
View file @
0e4adae9
...
@@ -2623,8 +2623,8 @@ static GLboolean WINAPI X11DRV_wglGetPixelFormatAttribivARB(HDC hdc, int iPixelF
...
@@ -2623,8 +2623,8 @@ static GLboolean WINAPI X11DRV_wglGetPixelFormatAttribivARB(HDC hdc, int iPixelF
return
GL_FALSE
;
return
GL_FALSE
;
}
}
/* Convert the WGL pixelformat to a GLX one, if this fails then most likely the iPixelFormat isn't sup
op
rted.
/* Convert the WGL pixelformat to a GLX one, if this fails then most likely the iPixelFormat isn't sup
po
rted.
* We don't have to fail yet as a program can specify an inval
e
d iPixelFormat (lets say 0) if it wants to query
* We don't have to fail yet as a program can specify an inval
i
d iPixelFormat (lets say 0) if it wants to query
* the number of supported WGL formats. Whether the iPixelFormat is valid is handled in the for-loop below. */
* the number of supported WGL formats. Whether the iPixelFormat is valid is handled in the for-loop below. */
fmt
=
ConvertPixelFormatWGLtoGLX
(
gdi_display
,
iPixelFormat
,
TRUE
/* Offscreen */
,
&
nWGLFormats
);
fmt
=
ConvertPixelFormatWGLtoGLX
(
gdi_display
,
iPixelFormat
,
TRUE
/* Offscreen */
,
&
nWGLFormats
);
if
(
!
fmt
)
{
if
(
!
fmt
)
{
...
...
dlls/winex11.drv/winpos.c
View file @
0e4adae9
...
@@ -1052,7 +1052,7 @@ static void draw_moving_frame( HDC hdc, RECT *rect, BOOL thickframe )
...
@@ -1052,7 +1052,7 @@ static void draw_moving_frame( HDC hdc, RECT *rect, BOOL thickframe )
/***********************************************************************
/***********************************************************************
* start_size_move
* start_size_move
*
*
* Initiali
sation of a move or resize, when initiati
ed from a menu choice.
* Initiali
zation of a move or resize, when initiat
ed from a menu choice.
* Return hit test code for caption or sizing border.
* Return hit test code for caption or sizing border.
*/
*/
static
LONG
start_size_move
(
HWND
hwnd
,
WPARAM
wParam
,
POINT
*
capturePoint
,
LONG
style
)
static
LONG
start_size_move
(
HWND
hwnd
,
WPARAM
wParam
,
POINT
*
capturePoint
,
LONG
style
)
...
@@ -1069,7 +1069,7 @@ static LONG start_size_move( HWND hwnd, WPARAM wParam, POINT *capturePoint, LONG
...
@@ -1069,7 +1069,7 @@ static LONG start_size_move( HWND hwnd, WPARAM wParam, POINT *capturePoint, LONG
/* Move pointer at the center of the caption */
/* Move pointer at the center of the caption */
RECT
rect
=
rectWindow
;
RECT
rect
=
rectWindow
;
/* Note: to be exactly centered we should take the different types
/* Note: to be exactly centered we should take the different types
* of border into account, but it shouldn't make more tha
t
a few pixels
* of border into account, but it shouldn't make more tha
n
a few pixels
* of difference so let's not bother with that */
* of difference so let's not bother with that */
rect
.
top
+=
GetSystemMetrics
(
SM_CYBORDER
);
rect
.
top
+=
GetSystemMetrics
(
SM_CYBORDER
);
if
(
style
&
WS_SYSMENU
)
if
(
style
&
WS_SYSMENU
)
...
...
dlls/winex11.drv/wintab.c
View file @
0e4adae9
...
@@ -459,13 +459,13 @@ void X11DRV_LoadTabletInfo(HWND hwnddefault)
...
@@ -459,13 +459,13 @@ void X11DRV_LoadTabletInfo(HWND hwnddefault)
if
(
!
X11DRV_XInput_Init
())
if
(
!
X11DRV_XInput_Init
())
{
{
ERR
(
"Unable to initialize
d
the XInput library.
\n
"
);
ERR
(
"Unable to initialize the XInput library.
\n
"
);
return
;
return
;
}
}
hwndTabletDefault
=
hwnddefault
;
hwndTabletDefault
=
hwnddefault
;
/* Do base initializaion */
/* Do base initializa
t
ion */
strcpyW
(
gSysContext
.
lcName
,
SZ_CONTEXT_NAME
);
strcpyW
(
gSysContext
.
lcName
,
SZ_CONTEXT_NAME
);
strcpyW
(
gSysDevice
.
NAME
,
SZ_DEVICE_NAME
);
strcpyW
(
gSysDevice
.
NAME
,
SZ_DEVICE_NAME
);
...
...
dlls/winex11.drv/xdnd.c
View file @
0e4adae9
...
@@ -443,7 +443,7 @@ static int X11DRV_XDND_DeconstructTextPlain(int property, void* data, int len)
...
@@ -443,7 +443,7 @@ static int X11DRV_XDND_DeconstructTextPlain(int property, void* data, int len)
{
{
char
*
dostext
;
char
*
dostext
;
/* Always supp
p
ly plain text */
/* Always supply plain text */
X11DRV_XDND_UnixToDos
(
&
dostext
,
(
char
*
)
data
,
len
);
X11DRV_XDND_UnixToDos
(
&
dostext
,
(
char
*
)
data
,
len
);
X11DRV_XDND_InsertXDNDData
(
property
,
CF_TEXT
,
dostext
,
strlen
(
dostext
));
X11DRV_XDND_InsertXDNDData
(
property
,
CF_TEXT
,
dostext
,
strlen
(
dostext
));
...
...
dlls/winex11.drv/xrender.c
View file @
0e4adae9
...
@@ -1050,7 +1050,7 @@ static void SmoothGlyphGray(XImage *image, int x, int y, void *bitmap, XGlyphInf
...
@@ -1050,7 +1050,7 @@ static void SmoothGlyphGray(XImage *image, int x, int y, void *bitmap, XGlyphInf
/*************************************************************
/*************************************************************
* get_tile_pict
* get_tile_pict
*
*
* Returns an appropiate Picture for tiling the text colour.
* Returns an approp
r
iate Picture for tiling the text colour.
* Call and use result within the xrender_cs
* Call and use result within the xrender_cs
*/
*/
static
Picture
get_tile_pict
(
enum
drawable_depth_type
type
,
int
text_pixel
)
static
Picture
get_tile_pict
(
enum
drawable_depth_type
type
,
int
text_pixel
)
...
...
dlls/wininet/ftp.c
View file @
0e4adae9
...
@@ -2354,7 +2354,7 @@ INT FTP_ReceiveResponse(LPWININETFTPSESSIONW lpwfs, DWORD_PTR dwContext)
...
@@ -2354,7 +2354,7 @@ INT FTP_ReceiveResponse(LPWININETFTPSESSIONW lpwfs, DWORD_PTR dwContext)
if
(
lpszResponse
[
3
]
!=
'-'
)
if
(
lpszResponse
[
3
]
!=
'-'
)
break
;
break
;
else
else
{
/* Start of multiline re
ps
onse. Loop until we get "nnn " */
{
/* Start of multiline re
sp
onse. Loop until we get "nnn " */
multiline
=
TRUE
;
multiline
=
TRUE
;
memcpy
(
firstprefix
,
lpszResponse
,
3
);
memcpy
(
firstprefix
,
lpszResponse
,
3
);
firstprefix
[
3
]
=
' '
;
firstprefix
[
3
]
=
' '
;
...
@@ -3430,7 +3430,7 @@ static BOOL FTP_ParseDirectory(LPWININETFTPSESSIONW lpwfs, INT nSocket, LPCWSTR
...
@@ -3430,7 +3430,7 @@ static BOOL FTP_ParseDirectory(LPWININETFTPSESSIONW lpwfs, INT nSocket, LPCWSTR
TRACE
(
"
\n
"
);
TRACE
(
"
\n
"
);
/* Allocate intial file properties array */
/* Allocate in
i
tial file properties array */
*
lpafp
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
FILEPROPERTIESW
)
*
(
sizeFilePropArray
));
*
lpafp
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
FILEPROPERTIESW
)
*
(
sizeFilePropArray
));
if
(
!*
lpafp
)
if
(
!*
lpafp
)
return
FALSE
;
return
FALSE
;
...
...
dlls/wininet/http.c
View file @
0e4adae9
...
@@ -281,7 +281,7 @@ static LPWSTR HTTP_BuildHeaderRequestString( LPWININETHTTPREQW lpwhr, LPCWSTR ve
...
@@ -281,7 +281,7 @@ static LPWSTR HTTP_BuildHeaderRequestString( LPWININETHTTPREQW lpwhr, LPCWSTR ve
req
[
n
++
]
=
path
;
req
[
n
++
]
=
path
;
req
[
n
++
]
=
http1_1
?
g_szHttp1_1
:
g_szHttp1_0
;
req
[
n
++
]
=
http1_1
?
g_szHttp1_1
:
g_szHttp1_0
;
/* Append custom request heades */
/* Append custom request heade
r
s */
for
(
i
=
0
;
i
<
lpwhr
->
nCustHeaders
;
i
++
)
for
(
i
=
0
;
i
<
lpwhr
->
nCustHeaders
;
i
++
)
{
{
if
(
lpwhr
->
pCustHeaders
[
i
].
wFlags
&
HDR_ISREQUEST
)
if
(
lpwhr
->
pCustHeaders
[
i
].
wFlags
&
HDR_ISREQUEST
)
...
@@ -723,7 +723,7 @@ BOOL WINAPI HttpAddRequestHeadersA(HINTERNET hHttpRequest,
...
@@ -723,7 +723,7 @@ BOOL WINAPI HttpAddRequestHeadersA(HINTERNET hHttpRequest,
}
}
/* read any content returned by the server so that the connection can be
/* read any content returned by the server so that the connection can be
* re
su
ed */
* re
us
ed */
static
void
HTTP_DrainContent
(
LPWININETHTTPREQW
lpwhr
)
static
void
HTTP_DrainContent
(
LPWININETHTTPREQW
lpwhr
)
{
{
DWORD
bytes_read
;
DWORD
bytes_read
;
...
@@ -1768,7 +1768,7 @@ static BOOL WINAPI HTTP_HttpQueryInfoW( LPWININETHTTPREQW lpwhr, DWORD dwInfoLev
...
@@ -1768,7 +1768,7 @@ static BOOL WINAPI HTTP_HttpQueryInfoW( LPWININETHTTPREQW lpwhr, DWORD dwInfoLev
if
(
index
>=
0
)
if
(
index
>=
0
)
lphttpHdr
=
&
lpwhr
->
pCustHeaders
[
index
];
lphttpHdr
=
&
lpwhr
->
pCustHeaders
[
index
];
/* Ensure header satis
i
fies requested attributes */
/* Ensure header satisfies requested attributes */
if
(
!
lphttpHdr
||
if
(
!
lphttpHdr
||
((
dwInfoLevel
&
HTTP_QUERY_FLAG_REQUEST_HEADERS
)
&&
((
dwInfoLevel
&
HTTP_QUERY_FLAG_REQUEST_HEADERS
)
&&
(
~
lphttpHdr
->
wFlags
&
HDR_ISREQUEST
)))
(
~
lphttpHdr
->
wFlags
&
HDR_ISREQUEST
)))
...
@@ -1780,7 +1780,7 @@ static BOOL WINAPI HTTP_HttpQueryInfoW( LPWININETHTTPREQW lpwhr, DWORD dwInfoLev
...
@@ -1780,7 +1780,7 @@ static BOOL WINAPI HTTP_HttpQueryInfoW( LPWININETHTTPREQW lpwhr, DWORD dwInfoLev
if
(
lpdwIndex
)
if
(
lpdwIndex
)
(
*
lpdwIndex
)
++
;
(
*
lpdwIndex
)
++
;
/* coalesce value to re
uq
ested type */
/* coalesce value to re
qu
ested type */
if
(
dwInfoLevel
&
HTTP_QUERY_FLAG_NUMBER
)
if
(
dwInfoLevel
&
HTTP_QUERY_FLAG_NUMBER
)
{
{
*
(
int
*
)
lpBuffer
=
atoiW
(
lphttpHdr
->
lpszValue
);
*
(
int
*
)
lpBuffer
=
atoiW
(
lphttpHdr
->
lpszValue
);
...
...
dlls/wininet/internet.c
View file @
0e4adae9
...
@@ -2808,7 +2808,7 @@ BOOL WINAPI InternetCheckConnectionW( LPCWSTR lpszUrl, DWORD dwFlags, DWORD dwRe
...
@@ -2808,7 +2808,7 @@ BOOL WINAPI InternetCheckConnectionW( LPCWSTR lpszUrl, DWORD dwFlags, DWORD dwRe
if
(
lpszUrl
==
NULL
)
if
(
lpszUrl
==
NULL
)
{
{
/*
/*
* According to the doc we are sup
ost
to use the ip for the next
* According to the doc we are sup
posed
to use the ip for the next
* server in the WnInet internal server database. I have
* server in the WnInet internal server database. I have
* no idea what that is or how to get it.
* no idea what that is or how to get it.
*
*
...
...
dlls/wininet/tests/generated.c
View file @
0e4adae9
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
#include "wine/test.h"
#include "wine/test.h"
/***********************************************************************
/***********************************************************************
* Compability macros
* Compa
ti
bility macros
*/
*/
#define DWORD_PTR UINT_PTR
#define DWORD_PTR UINT_PTR
...
...
dlls/wininet/tests/url.c
View file @
0e4adae9
...
@@ -241,7 +241,7 @@ static void InternetCrackUrl_test(void)
...
@@ -241,7 +241,7 @@ static void InternetCrackUrl_test(void)
ok
(
GLE
!=
0xdeadbeef
&&
GLE
!=
ERROR_SUCCESS
,
"Expected GLE to represent a failure
\n
"
);
ok
(
GLE
!=
0xdeadbeef
&&
GLE
!=
ERROR_SUCCESS
,
"Expected GLE to represent a failure
\n
"
);
/* Invalid Call: must set size of components structure (Windows only
/* Invalid Call: must set size of components structure (Windows only
*
i
nforces this on the InternetCrackUrlA version of the call) */
*
e
nforces this on the InternetCrackUrlA version of the call) */
copy_compsA
(
&
urlSrc
,
&
urlComponents
,
0
,
1024
,
1024
,
1024
,
2048
,
1024
);
copy_compsA
(
&
urlSrc
,
&
urlComponents
,
0
,
1024
,
1024
,
1024
,
2048
,
1024
);
SetLastError
(
0xdeadbeef
);
SetLastError
(
0xdeadbeef
);
urlComponents
.
dwStructSize
=
0
;
urlComponents
.
dwStructSize
=
0
;
...
@@ -250,7 +250,7 @@ static void InternetCrackUrl_test(void)
...
@@ -250,7 +250,7 @@ static void InternetCrackUrl_test(void)
ok
(
GLE
!=
0xdeadbeef
&&
GLE
!=
ERROR_SUCCESS
,
"Expected GLE to represent a failure
\n
"
);
ok
(
GLE
!=
0xdeadbeef
&&
GLE
!=
ERROR_SUCCESS
,
"Expected GLE to represent a failure
\n
"
);
/* Invalid Call: size of dwStructSize must be one of the "standard" sizes
/* Invalid Call: size of dwStructSize must be one of the "standard" sizes
* of the URL_COMPONENTS structure (Windows only
i
nforces this on the
* of the URL_COMPONENTS structure (Windows only
e
nforces this on the
* InternetCrackUrlA version of the call) */
* InternetCrackUrlA version of the call) */
copy_compsA
(
&
urlSrc
,
&
urlComponents
,
0
,
1024
,
1024
,
1024
,
2048
,
1024
);
copy_compsA
(
&
urlSrc
,
&
urlComponents
,
0
,
1024
,
1024
,
1024
,
2048
,
1024
);
SetLastError
(
0xdeadbeef
);
SetLastError
(
0xdeadbeef
);
...
@@ -461,7 +461,7 @@ static void InternetCreateUrlA_test(void)
...
@@ -461,7 +461,7 @@ static void InternetCreateUrlA_test(void)
"Expected ERROR_INVALID_PARAMETER, got %d
\n
"
,
GetLastError
());
"Expected ERROR_INVALID_PARAMETER, got %d
\n
"
,
GetLastError
());
ok
(
len
==
-
1
,
"Expected len -1, got %d
\n
"
,
len
);
ok
(
len
==
-
1
,
"Expected len -1, got %d
\n
"
,
len
);
/* test valid lpUrlComponets, empt
r
y szUrl
/* test valid lpUrlComponets, empty szUrl
* lpdwUrlLength is size of buffer required on exit, including
* lpdwUrlLength is size of buffer required on exit, including
* the terminating null when GLE == ERROR_INSUFFICIENT_BUFFER
* the terminating null when GLE == ERROR_INSUFFICIENT_BUFFER
*/
*/
...
...
dlls/wininet/urlcache.c
View file @
0e4adae9
...
@@ -113,7 +113,7 @@ typedef struct _URL_CACHEFILE_ENTRY
...
@@ -113,7 +113,7 @@ typedef struct _URL_CACHEFILE_ENTRY
/* packing to dword align start of next field */
/* packing to dword align start of next field */
/* CHAR szSourceUrlName[]; (url) */
/* CHAR szSourceUrlName[]; (url) */
/* packing to dword align start of next field */
/* packing to dword align start of next field */
/* CHAR szLocalFileName[]; (local file name exluding path) */
/* CHAR szLocalFileName[]; (local file name ex
c
luding path) */
/* packing to dword align start of next field */
/* packing to dword align start of next field */
/* CHAR szHeaderInfo[]; (header info) */
/* CHAR szHeaderInfo[]; (header info) */
}
URL_CACHEFILE_ENTRY
;
}
URL_CACHEFILE_ENTRY
;
...
@@ -171,7 +171,7 @@ typedef struct _URLCACHECONTAINER
...
@@ -171,7 +171,7 @@ typedef struct _URLCACHECONTAINER
LPWSTR
path
;
/* path to url container directory */
LPWSTR
path
;
/* path to url container directory */
HANDLE
hMapping
;
/* handle of file mapping */
HANDLE
hMapping
;
/* handle of file mapping */
DWORD
file_size
;
/* size of file when mapping was opened */
DWORD
file_size
;
/* size of file when mapping was opened */
HANDLE
hMutex
;
/* hande of mutex */
HANDLE
hMutex
;
/* hand
l
e of mutex */
}
URLCACHECONTAINER
;
}
URLCACHECONTAINER
;
...
...
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