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
05c0c8ef
Commit
05c0c8ef
authored
Mar 28, 1999
by
Dimitrie O. Paun
Committed by
Alexandre Julliard
Mar 28, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed some debug messages from one channel to another, to clean up a
bit the debug channel usage.
parent
1ff60f34
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
136 additions
and
134 deletions
+136
-134
menu.c
controls/menu.c
+1
-1
uitools.c
controls/uitools.c
+5
-5
comboex.c
dlls/comctl32/comboex.c
+1
-1
brush.c
graphics/x11drv/brush.c
+1
-1
graphics.c
graphics/x11drv/graphics.c
+1
-1
debug.h
include/debug.h
+113
-113
debugdefs.h
include/debugdefs.h
+1
-1
global.c
memory/global.c
+0
-1
ddeml.c
misc/ddeml.c
+12
-9
event.c
windows/x11drv/event.c
+1
-1
No files found.
controls/menu.c
View file @
05c0c8ef
...
...
@@ -3830,7 +3830,7 @@ HMENU16 WINAPI LoadMenu16( HINSTANCE16 instance, SEGPTR name )
if
(
str
[
0
]
==
'#'
)
name
=
(
SEGPTR
)
atoi
(
str
+
1
);
}
else
TRACE
(
resource
,
"(%04x,%04x)
\n
"
,
instance
,
LOWORD
(
name
));
TRACE
(
menu
,
"(%04x,%04x)
\n
"
,
instance
,
LOWORD
(
name
));
if
(
!
name
)
return
0
;
...
...
controls/uitools.c
View file @
05c0c8ef
...
...
@@ -927,7 +927,7 @@ static BOOL UITOOLS95_DrawFrameButton(HDC hdc, LPRECT rc, UINT uState)
return
UITOOLS95_DFC_ButtonRadio
(
hdc
,
rc
,
uState
);
default:
WARN
(
uitool
s
,
"Invalid button state=0x%04x
\n
"
,
uState
);
WARN
(
graphic
s
,
"Invalid button state=0x%04x
\n
"
,
uState
);
}
return
FALSE
;
...
...
@@ -1063,7 +1063,7 @@ static BOOL UITOOLS95_DrawFrameCaption(HDC dc, LPRECT r, UINT uFlags)
break
;
default:
WARN
(
uitool
s
,
"Invalid caption; flags=0x%04x
\n
"
,
uFlags
);
WARN
(
graphic
s
,
"Invalid caption; flags=0x%04x
\n
"
,
uFlags
);
return
FALSE
;
}
...
...
@@ -1233,7 +1233,7 @@ static BOOL UITOOLS95_DrawFrameScroll(HDC dc, LPRECT r, UINT uFlags)
return
TRUE
;
default:
WARN
(
uitool
s
,
"Invalid scroll; flags=0x%04x
\n
"
,
uFlags
);
WARN
(
graphic
s
,
"Invalid scroll; flags=0x%04x
\n
"
,
uFlags
);
return
FALSE
;
}
...
...
@@ -1335,7 +1335,7 @@ static BOOL UITOOLS95_DrawFrameMenu(HDC dc, LPRECT r, UINT uFlags)
break
;
default:
WARN
(
uitool
s
,
"Invalid menu; flags=0x%04x
\n
"
,
uFlags
);
WARN
(
graphic
s
,
"Invalid menu; flags=0x%04x
\n
"
,
uFlags
);
retval
=
FALSE
;
break
;
}
...
...
@@ -1383,7 +1383,7 @@ BOOL WINAPI DrawFrameControl( HDC hdc, LPRECT rc, UINT uType,
case
DFC_SCROLL
:
return
UITOOLS95_DrawFrameScroll
(
hdc
,
rc
,
uState
);
default:
WARN
(
uitool
s
,
"(%x,%p,%d,%x), bad type!
\n
"
,
WARN
(
graphic
s
,
"(%x,%p,%d,%x), bad type!
\n
"
,
hdc
,
rc
,
uType
,
uState
);
}
return
FALSE
;
...
...
dlls/comctl32/comboex.c
View file @
05c0c8ef
...
...
@@ -162,7 +162,7 @@ COMBOEX_Create (HWND hwnd, WPARAM wParam, LPARAM lParam)
/* allocate memory for info structure */
infoPtr
=
(
COMBOEX_INFO
*
)
COMCTL32_Alloc
(
sizeof
(
COMBOEX_INFO
));
if
(
infoPtr
==
NULL
)
{
ERR
(
listview
,
"could not allocate info memory!
\n
"
);
ERR
(
comboex
,
"could not allocate info memory!
\n
"
);
return
0
;
}
...
...
graphics/x11drv/brush.c
View file @
05c0c8ef
...
...
@@ -184,7 +184,7 @@ static BOOL BRUSH_SelectPatternBrush( DC * dc, HBITMAP hbitmap )
return
0
;
if
(
bmp
->
DDBitmap
->
funcs
!=
dc
->
funcs
)
{
WARN
(
bitmap
,
"Trying to select non-X11 DDB into an X11 dc
\n
"
);
WARN
(
gdi
,
"Trying to select non-X11 DDB into an X11 dc
\n
"
);
return
0
;
}
...
...
graphics/x11drv/graphics.c
View file @
05c0c8ef
...
...
@@ -293,7 +293,7 @@ BOOL X11DRV_SetupGCForText( DC * dc )
GCFont
,
&
val
);
return
TRUE
;
}
WARN
(
dc
,
"Physical font failure
\n
"
);
WARN
(
graphics
,
"Physical font failure
\n
"
);
return
FALSE
;
}
...
...
include/debug.h
View file @
05c0c8ef
...
...
@@ -32,119 +32,119 @@
#define dbch_ddeml 24
#define dbch_ddraw 25
#define dbch_debug 26
#define dbch_d
ialog
27
#define dbch_di
nput
28
#define dbch_d
ll
29
#define dbch_d
osfs
30
#define dbch_dos
mem
31
#define dbch_d
play
32
#define dbch_d
river
33
#define dbch_d
sound
34
#define dbch_
edit
35
#define dbch_e
ven
t 36
#define dbch_e
xec
37
#define dbch_
file
38
#define dbch_fi
xup
39
#define dbch_f
ont
40
#define dbch_
gdi
41
#define dbch_g
lobal
42
#define dbch_g
raphics
43
#define dbch_
header
44
#define dbch_hea
p
45
#define dbch_h
ook
46
#define dbch_ho
tkey
47
#define dbch_
icon
48
#define dbch_i
magehlp
49
#define dbch_image
list
50
#define dbch_im
m
51
#define dbch_i
nt
52
#define dbch_int
10
53
#define dbch_int1
6
54
#define dbch_int1
7
55
#define dbch_int1
9
56
#define dbch_int
21
57
#define dbch_int
3
1 58
#define dbch_i
o
59
#define dbch_i
paddress
60
#define dbch_
key
61
#define dbch_key
board
62
#define dbch_
ldt
63
#define dbch_l
istbox
64
#define dbch_list
view
65
#define dbch_l
ocal
66
#define dbch_
mci
67
#define dbch_mci
anim
68
#define dbch_mcia
vi
69
#define dbch_mci
mid
i 70
#define dbch_mci
wave
71
#define dbch_m
di
72
#define dbch_m
enu
73
#define dbch_me
ssage
74
#define dbch_me
tafil
e 75
#define dbch_m
idi
76
#define dbch_m
maux
77
#define dbch_mm
io
78
#define dbch_mm
sys
79
#define dbch_mm
time
80
#define dbch_m
odul
e 81
#define dbch_mo
nthcal
82
#define dbch_m
pr
83
#define dbch_m
sacm
84
#define dbch_ms
g
85
#define dbch_ms
video
86
#define dbch_
nativefont
87
#define dbch_n
onclie
nt 88
#define dbch_n
tdll
89
#define dbch_
ole
90
#define dbch_
pager
91
#define dbch_pa
lette
92
#define dbch_p
idl
93
#define dbch_p
rint
94
#define dbch_pr
ocess
95
#define dbch_pro
file
96
#define dbch_pro
gress
97
#define dbch_pro
p
98
#define dbch_prop
sheet
99
#define dbch_p
sapi
100
#define dbch_ps
drv
101
#define dbch_
ras
102
#define dbch_r
ebar
103
#define dbch_re
g
104
#define dbch_reg
ion
105
#define dbch_re
lay
106
#define dbch_re
source
107
#define dbch_
scroll
108
#define dbch_s
ecurity
109
#define dbch_se
gment
110
#define dbch_se
lector
111
#define dbch_se
m
112
#define dbch_se
ndmsg
113
#define dbch_se
rver
114
#define dbch_s
hell
115
#define dbch_sh
m
116
#define dbch_s
noop
117
#define dbch_s
ound
118
#define dbch_s
tatic
119
#define dbch_stat
usbar
120
#define dbch_st
ress
121
#define dbch_str
ing
122
#define dbch_s
yscolor
123
#define dbch_sys
tem
124
#define dbch_
tab
125
#define dbch_ta
pi
126
#define dbch_ta
sk
127
#define dbch_t
ext
128
#define dbch_t
hread
129
#define dbch_th
unk
130
#define dbch_t
imer
131
#define dbch_t
oolba
r 132
#define dbch_tool
help
133
#define dbch_tool
tips
134
#define dbch_t
rackbar
135
#define dbch_tr
eeview
136
#define dbch_t
tydrv
137
#define dbch_t
weak
138
#define dbch_
uitools
139
#define dbch_d
elayhlp
27
#define dbch_di
alog
28
#define dbch_d
input
29
#define dbch_d
ll
30
#define dbch_dos
fs
31
#define dbch_d
osmem
32
#define dbch_d
play
33
#define dbch_d
river
34
#define dbch_
dsound
35
#define dbch_e
di
t 36
#define dbch_e
vent
37
#define dbch_
exec
38
#define dbch_fi
le
39
#define dbch_f
ixup
40
#define dbch_
font
41
#define dbch_g
di
42
#define dbch_g
lobal
43
#define dbch_
graphics
44
#define dbch_hea
der
45
#define dbch_h
eap
46
#define dbch_ho
ok
47
#define dbch_
hotkey
48
#define dbch_i
con
49
#define dbch_image
hlp
50
#define dbch_im
agelist
51
#define dbch_i
mm
52
#define dbch_int 53
#define dbch_int1
0
54
#define dbch_int1
6
55
#define dbch_int1
7
56
#define dbch_int
19
57
#define dbch_int
2
1 58
#define dbch_i
nt31
59
#define dbch_i
o
60
#define dbch_
ipaddress
61
#define dbch_key 62
#define dbch_
keyboard
63
#define dbch_l
dt
64
#define dbch_list
box
65
#define dbch_l
istview
66
#define dbch_
local
67
#define dbch_mci 68
#define dbch_mcia
nim
69
#define dbch_mci
av
i 70
#define dbch_mci
midi
71
#define dbch_m
ciwave
72
#define dbch_m
di
73
#define dbch_me
nu
74
#define dbch_me
ssag
e 75
#define dbch_m
etafile
76
#define dbch_m
idi
77
#define dbch_mm
aux
78
#define dbch_mm
io
79
#define dbch_mm
sys
80
#define dbch_m
mtim
e 81
#define dbch_mo
dule
82
#define dbch_m
onthcal
83
#define dbch_m
pr
84
#define dbch_ms
acm
85
#define dbch_ms
g
86
#define dbch_
msvideo
87
#define dbch_n
ativefo
nt 88
#define dbch_n
onclient
89
#define dbch_
ntdll
90
#define dbch_
ole
91
#define dbch_pa
ger
92
#define dbch_p
alette
93
#define dbch_p
idl
94
#define dbch_pr
int
95
#define dbch_pro
cess
96
#define dbch_pro
file
97
#define dbch_pro
gress
98
#define dbch_prop 99
#define dbch_p
ropsheet
100
#define dbch_ps
api
101
#define dbch_
psdrv
102
#define dbch_r
as
103
#define dbch_re
bar
104
#define dbch_reg 105
#define dbch_re
gion
106
#define dbch_re
lay
107
#define dbch_
resource
108
#define dbch_s
croll
109
#define dbch_se
curity
110
#define dbch_se
gment
111
#define dbch_se
lector
112
#define dbch_se
m
113
#define dbch_se
ndmsg
114
#define dbch_s
erver
115
#define dbch_sh
ell
116
#define dbch_s
hm
117
#define dbch_s
noop
118
#define dbch_s
ound
119
#define dbch_stat
ic
120
#define dbch_st
atusbar
121
#define dbch_str
ess
122
#define dbch_s
tring
123
#define dbch_sys
color
124
#define dbch_
system
125
#define dbch_ta
b
126
#define dbch_ta
pi
127
#define dbch_t
ask
128
#define dbch_t
ext
129
#define dbch_th
read
130
#define dbch_t
hunk
131
#define dbch_t
ime
r 132
#define dbch_tool
bar
133
#define dbch_tool
help
134
#define dbch_t
ooltips
135
#define dbch_tr
ackbar
136
#define dbch_t
reeview
137
#define dbch_t
tydrv
138
#define dbch_
tweak
139
#define dbch_unknown 140
#define dbch_updown 141
#define dbch_ver 142
...
...
include/debugdefs.h
View file @
05c0c8ef
...
...
@@ -190,6 +190,7 @@ const char* debug_ch_name[] = {
"ddeml"
,
"ddraw"
,
"debug"
,
"delayhlp"
,
"dialog"
,
"dinput"
,
"dll"
,
...
...
@@ -302,7 +303,6 @@ const char* debug_ch_name[] = {
"treeview"
,
"ttydrv"
,
"tweak"
,
"uitools"
,
"unknown"
,
"updown"
,
"ver"
,
...
...
memory/global.c
View file @
05c0c8ef
...
...
@@ -886,7 +886,6 @@ HANDLE16 WINAPI FarGetOwner16( HGLOBAL16 handle )
*/
WORD
WINAPI
GlobalHandleToSel16
(
HGLOBAL16
handle
)
{
TRACE
(
toolhelp
,
"%04x
\n
"
,
handle
);
if
(
!
handle
)
return
0
;
#ifdef CONFIG_IPC
if
(
is_dde_handle
(
handle
))
return
DDE_GlobalHandleToSel
(
handle
);
...
...
misc/ddeml.c
View file @
05c0c8ef
...
...
@@ -326,19 +326,21 @@ UINT WINAPI DdeInitializeW( LPDWORD pidInst, PFNCALLBACK pfnCallback,
SECURITY_ATTRIBUTES
s_attrib
;
s_att
=
&
s_attrib
;
// probably not really capable of handling mutliple processes, but should handle
// multiple instances within one process
/* probably not really capable of handling mutliple processes,
but should handle multiple instances within one process */
if
(
ulRes
)
{
ERR
(
dde
,
"Reserved value not zero? What does this mean?
\n
"
);
FIXME
(
ddeml
,
"(%p,%p,0x%lx,%ld): stub
\n
"
,
pidInst
,
pfnCallback
,
afCmd
,
ulRes
);
ERR
(
ddeml
,
"Reserved value not zero? What does this mean?
\n
"
);
FIXME
(
ddeml
,
"(%p,%p,0x%lx,%ld): stub
\n
"
,
pidInst
,
pfnCallback
,
afCmd
,
ulRes
);
/* trap this and no more until we know more */
return
DMLERR_NO_ERROR
;
}
if
(
!
pfnCallback
)
{
/* this one may be wrong - MS dll seems to accept the condition, leave this until we find out more !! */
/* this one may be wrong - MS dll seems to accept the condition,
leave this until we find out more !! */
/* can't set up the instance with nothing to act as a callback */
...
...
@@ -346,13 +348,14 @@ UINT WINAPI DdeInitializeW( LPDWORD pidInst, PFNCALLBACK pfnCallback,
return
DMLERR_INVALIDPARAMETER
;
/* might be DMLERR_DLL_USAGE */
}
/* grab enough heap for one control struct - not really necessary for re-initialise
but allows us to use same validation routines */
this_instance
=
(
DDE_HANDLE_ENTRY
*
)
HeapAlloc
(
SystemHeap
,
0
,
sizeof
(
DDE_HANDLE_ENTRY
)
);
/* grab enough heap for one control struct - not really necessary
for re-initialise but allows us to use same validation routines */
this_instance
=
(
DDE_HANDLE_ENTRY
*
)
HeapAlloc
(
SystemHeap
,
0
,
sizeof
(
DDE_HANDLE_ENTRY
)
);
if
(
this_instance
==
NULL
)
{
// catastrophe !! warn user & abort
ERR
(
ddeml
,
"Instance create failed - out of memory
\n
"
);
ERR
(
ddeml
,
"Instance create failed - out of memory
\n
"
);
return
DMLERR_SYS_ERROR
;
}
this_instance
->
Next_Entry
=
NULL
;
...
...
windows/x11drv/event.c
View file @
05c0c8ef
...
...
@@ -1130,7 +1130,7 @@ static void EVENT_SelectionNotify( XSelectionEvent *event )
if
(
event
->
target
!=
XA_STRING
)
X11DRV_CLIPBOARD_ReadSelection
(
0
,
None
);
else
X11DRV_CLIPBOARD_ReadSelection
(
event
->
requestor
,
event
->
property
);
TRACE
(
clipboard
,
"
\t
SelectionNotify done!
\n
"
);
TRACE
(
event
,
"
\t
SelectionNotify done!
\n
"
);
}
...
...
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