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
20cd9356
Commit
20cd9356
authored
Sep 12, 2000
by
Andreas Mohr
Committed by
Alexandre Julliard
Sep 12, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- fixes debugger output
- get rid of wrong comments - fix comments - .spec spelling fix - improve warning message
parent
973cc740
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
31 additions
and
30 deletions
+31
-30
button.c
controls/button.c
+3
-3
break.c
debugger/break.c
+3
-1
winedbg.c
debugger/winedbg.c
+3
-0
commctrl.c
dlls/comctl32/commctrl.c
+1
-1
tab.c
dlls/comctl32/tab.c
+3
-7
x11.c
dlls/ddraw/ddraw/x11.c
+1
-1
gdi.spec
dlls/gdi/gdi.spec
+1
-1
file.c
files/file.c
+13
-13
main.c
misc/main.c
+1
-1
process.c
scheduler/process.c
+1
-1
message.c
windows/message.c
+1
-1
No files found.
controls/button.c
View file @
20cd9356
...
...
@@ -241,7 +241,7 @@ static inline LRESULT WINAPI ButtonWndProc_locked(WND* wndPtr, UINT uMsg,
!
(
SendMessageA
(
hWnd
,
BM_GETCHECK
,
0
,
0
)
&
BST_CHECKED
))
{
/* The notification is sent when the button (BS_AUTORADIOBUTTON)
is unc
k
ecked and the focus was not given by a mouse click. */
is unc
h
ecked and the focus was not given by a mouse click. */
if
(
style
==
BS_AUTORADIOBUTTON
)
SendMessageA
(
hWnd
,
BM_SETCHECK
,
BUTTON_CHECKED
,
0
);
SendMessageA
(
GetParent
(
hWnd
),
WM_COMMAND
,
...
...
@@ -437,7 +437,7 @@ static void BUTTON_DrawPushButton(
rc
.
right
++
,
rc
.
bottom
++
;
DrawEdge
(
hDC
,
&
rc
,
EDGE_RAISED
,
BF_RECT
);
/* To place
d
e bitmap correctly */
/* To place
th
e bitmap correctly */
xBorderOffset
+=
GetSystemMetrics
(
SM_CXEDGE
);
yBorderOffset
+=
GetSystemMetrics
(
SM_CYEDGE
);
...
...
@@ -549,7 +549,7 @@ static void BUTTON_DrawPushButton(
xOffset
=
(((
rc
.
right
-
rc
.
left
)
-
2
*
xBorderOffset
)
-
imageWidth
)
/
2
;
yOffset
=
(((
rc
.
bottom
-
rc
.
top
)
-
2
*
yBorderOffset
)
-
imageHeight
)
/
2
;
/* If the image is too big for the button then create a region*/
/* If the image is too big for the button then create a region
*/
if
(
xOffset
<
0
||
yOffset
<
0
)
{
HRGN
hBitmapRgn
=
0
;
...
...
debugger/break.c
View file @
20cd9356
...
...
@@ -466,13 +466,15 @@ void DEBUG_AddWatchpoint( const DBG_VALUE *_value, BOOL is_write )
DEBUG_Printf
(
DBG_CHN_MESG
,
"Bad address. Watchpoint not set
\n
"
);
breakpoints
[
num
].
refcount
=
0
;
}
else
{
breakpoints
[
num
].
u
.
w
.
rw
=
(
is_write
)
?
TRUE
:
FALSE
;
breakpoints
[
reg
].
u
.
w
.
reg
=
reg
;
DEBUG_Printf
(
DBG_CHN_MESG
,
"Watchpoint %d at "
,
num
);
DEBUG_PrintAddress
(
&
breakpoints
[
num
].
addr
,
breakpoints
[
num
].
is32
?
32
:
16
,
TRUE
);
DEBUG_Printf
(
DBG_CHN_MESG
,
"
\n
"
);
}
}
/***********************************************************************
...
...
debugger/winedbg.c
View file @
20cd9356
...
...
@@ -427,7 +427,10 @@ static BOOL DEBUG_HandleException(EXCEPTION_RECORD *rec, BOOL first_chance, BOOL
DEBUG_Printf
(
DBG_CHN_MESG
,
"critical section %08lx wait failed"
,
rec
->
ExceptionInformation
[
0
]);
if
(
!
DBG_IVAR
(
BreakOnCritSectTimeOut
))
{
DEBUG_Printf
(
DBG_CHN_MESG
,
"
\n
"
);
return
TRUE
;
}
break
;
default:
DEBUG_Printf
(
DBG_CHN_MESG
,
"%08lx"
,
rec
->
ExceptionCode
);
...
...
dlls/comctl32/commctrl.c
View file @
20cd9356
...
...
@@ -180,7 +180,7 @@ COMCTL32_LibMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
* This is the correct documentation:
*
* uMsg:
* MenuHelp() does NOT handle WM_COMMAND messages! It only handes
* MenuHelp() does NOT handle WM_COMMAND messages! It only hand
l
es
* WM_MENUSELECT messages.
*
* lpwIDs:
...
...
dlls/comctl32/tab.c
View file @
20cd9356
...
...
@@ -692,7 +692,7 @@ TAB_MouseMove (HWND hwnd, WPARAM wParam, LPARAM lParam)
/******************************************************************************
* TAB_AdjustRect
*
* Calculates the tab control's display area given the window
s
rectangle or
* Calculates the tab control's display area given the window rectangle or
* the window rectangle given the requested display rectangle.
*/
static
LRESULT
TAB_AdjustRect
(
...
...
@@ -825,10 +825,6 @@ static void TAB_SetupScrolling(
*/
if
(
infoPtr
->
hwndUpDown
==
0
)
{
/*
* I use a scrollbar since it seems to be more stable than the Updown
* control.
*/
infoPtr
->
hwndUpDown
=
CreateWindowA
(
"msctls_updown32"
,
""
,
WS_VISIBLE
|
WS_CHILD
|
UDS_HORZ
,
...
...
@@ -2156,7 +2152,7 @@ TAB_Size (HWND hwnd, WPARAM wParam, LPARAM lParam)
SetWindowPos (hwnd, 0, parent_rect.left, parent_rect.top,
cx, cy, uPosFlags | SWP_NOZORDER);
} else {
FIXME
(tab,
"WM_SIZE flag %x %lx not handled\n", wParam, lParam);
FIXME
(
"WM_SIZE flag %x %lx not handled\n", wParam, lParam);
} */
/*
...
...
@@ -2204,7 +2200,7 @@ TAB_Create (HWND hwnd, WPARAM wParam, LPARAM lParam)
TRACE
(
"Created tab control, hwnd [%04x]
\n
"
,
hwnd
);
/* The tab control always has the WS_CLIPSIBLINGS style. Even
if you don't specify i
n CreateWindow. This is nece
sary in
if you don't specify i
t in CreateWindow. This is neces
sary in
order for paint to work correctly. This follows windows behaviour. */
dwStyle
=
GetWindowLongA
(
hwnd
,
GWL_STYLE
);
SetWindowLongA
(
hwnd
,
GWL_STYLE
,
dwStyle
|
WS_CLIPSIBLINGS
);
...
...
dlls/ddraw/ddraw/x11.c
View file @
20cd9356
...
...
@@ -748,7 +748,7 @@ static HRESULT WINAPI Xlib_IDirectDraw2Impl_EnumDisplayModes(
}
}
if
(
j
==
nvisuals
)
WARN
(
"Did not find visual corresponding t
he
the pixmap format !
\n
"
);
WARN
(
"Did not find visual corresponding t
o
the pixmap format !
\n
"
);
}
}
i
++
;
...
...
dlls/gdi/gdi.spec
View file @
20cd9356
...
...
@@ -430,6 +430,6 @@ owner gdi32
821 stub ICMDeleteTransform
822 stub ICMTranslateRGB
823 stub ICMTranslateRGBs
824 stub ICMCheckC
O
lorsInGamut
824 stub ICMCheckC
o
lorsInGamut
1000 pascal16 SetLayout(word long) SetLayout16
1001 stub GetLayout
files/file.c
View file @
20cd9356
...
...
@@ -5,7 +5,7 @@
* Copyright 1996 Alexandre Julliard
*
* TODO:
* Fix the CopyFileEx methods to implement the "exten
t
ed" functionality.
* Fix the CopyFileEx methods to implement the "exten
d
ed" functionality.
* Right now, they simply call the CopyFile method.
*/
...
...
@@ -151,7 +151,7 @@ static BOOL FILE_ShareDeny( int mode, int oldmode)
{
case OF_SHARE_COMPAT:
if (sharemode == OF_SHARE_COMPAT) return FALSE;
if (openmode == OF_READ) goto test_ro_err05
;
if (openmode == OF_READ) goto test_ro_err05;
goto fail_error05;
case OF_SHARE_EXCLUSIVE:
if (sharemode == OF_SHARE_COMPAT) goto fail_int24;
...
...
@@ -165,13 +165,13 @@ static BOOL FILE_ShareDeny( int mode, int oldmode)
switch (sharemode)
{
case OF_SHARE_COMPAT:
if (oldopenmode == OF_READ) goto test_ro_int24
;
if (oldopenmode == OF_READ) goto test_ro_int24;
goto fail_int24;
case OF_SHARE_DENY_NONE
:
case OF_SHARE_DENY_NONE:
return FALSE;
case OF_SHARE_DENY_WRITE
:
case OF_SHARE_DENY_WRITE:
if (oldopenmode == OF_READ) return FALSE;
case OF_SHARE_DENY_READ
:
case OF_SHARE_DENY_READ:
if (oldopenmode == OF_WRITE) return FALSE;
case OF_SHARE_EXCLUSIVE:
default:
...
...
@@ -188,11 +188,11 @@ static BOOL FILE_ShareDeny( int mode, int oldmode)
{
case OF_SHARE_COMPAT:
goto fail_int24;
case OF_SHARE_DENY_NONE
:
case OF_SHARE_DENY_NONE:
return FALSE;
case OF_SHARE_DENY_WRITE
:
case OF_SHARE_DENY_WRITE:
if (oldopenmode == OF_READ) return FALSE;
case OF_SHARE_DENY_READ
:
case OF_SHARE_DENY_READ:
if (oldopenmode == OF_WRITE) return FALSE;
case OF_SHARE_EXCLUSIVE:
default:
...
...
@@ -204,11 +204,11 @@ static BOOL FILE_ShareDeny( int mode, int oldmode)
{
case OF_SHARE_COMPAT:
goto fail_int24;
case OF_SHARE_DENY_NONE
:
case OF_SHARE_DENY_NONE:
return FALSE;
case OF_SHARE_DENY_WRITE
:
case OF_SHARE_DENY_WRITE:
if (oldopenmode == OF_READ) return FALSE;
case OF_SHARE_DENY_READ
:
case OF_SHARE_DENY_READ:
if (oldopenmode == OF_WRITE) return FALSE;
case OF_SHARE_EXCLUSIVE:
default:
...
...
@@ -1007,7 +1007,7 @@ success: /* We get here if the open was successful */
return
hFileRet
;
not_found:
/* We get here if the file does not exist */
WARN
(
"'%s' not found
\n
"
,
name
);
WARN
(
"'%s' not found
or sharing violation
\n
"
,
name
);
SetLastError
(
ERROR_FILE_NOT_FOUND
);
/* fall through */
...
...
misc/main.c
View file @
20cd9356
...
...
@@ -180,7 +180,7 @@ void MAIN_ParseDebugOptions( const char *arg )
/***********************************************************************
* MAIN_WineInit
*
* Wine initialisation
and command-line parsing
* Wine initialisation
*/
void
MAIN_WineInit
(
void
)
{
...
...
scheduler/process.c
View file @
20cd9356
...
...
@@ -40,7 +40,7 @@ PDB current_process;
static
char
**
main_exe_argv
;
static
char
main_exe_name
[
MAX_PATH
];
static
HFILE
main_exe_file
=
-
1
;
static
HFILE
main_exe_file
=
INVALID_HANDLE_VALUE
;
/***********************************************************************
...
...
windows/message.c
View file @
20cd9356
...
...
@@ -90,7 +90,7 @@ static void MSG_SendParentNotify(WND* wndPtr, WORD event, WORD idChild, LPARAM l
/***********************************************************************
* MSG_TranslateMouseMsg
*
* Translate a
n
mouse hardware event into a real mouse message.
* Translate a mouse hardware event into a real mouse message.
*
* Returns:
*
...
...
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