wine
23 years agoComplete Listview Unicodification.
Dimitrie O. Paun [Mon, 4 Feb 2002 18:44:16 +0000 (18:44 +0000)] 
Complete Listview Unicodification.
Simplify the setting of (sub)item text by using common code.

23 years ago- wineconsole now exits if the started program inside it terminates
Eric Pouech [Mon, 4 Feb 2002 18:41:32 +0000 (18:41 +0000)] 
- wineconsole now exits if the started program inside it terminates
  before the console actually starts up.
- Removed the last Ansi imported APIs since now Propsheet has a decent
  Unicode interface.
- Fixed a couple of menu related bugs (states were wrong).
- Finished input selection code (mark and key for selection moving are
  operational, generating mouse events to programs attached to the
  console).

23 years agoFixed some bad behavior when many symbols with same names where found.
Eric Pouech [Mon, 4 Feb 2002 18:40:40 +0000 (18:40 +0000)] 
Fixed some bad behavior when many symbols with same names where found.
Removed external readline support.

23 years agoAdded implementation of SetItemW.
Aric Stewart [Mon, 4 Feb 2002 18:37:32 +0000 (18:37 +0000)] 
Added implementation of SetItemW.

23 years agoStoring an IP address in a signed int results in bugs if it starts
François Gouget [Mon, 4 Feb 2002 18:36:42 +0000 (18:36 +0000)] 
Storing an IP address in a signed int results in bugs if it starts
with >=128.

23 years agoReimplement GetStringTypeA and GetStringTypeExA.
Dmitry Timoshkov [Mon, 4 Feb 2002 18:34:32 +0000 (18:34 +0000)] 
Reimplement GetStringTypeA and GetStringTypeExA.

23 years agoDo not destroy ITypeLib held by ITypeInfo before the latter is freed.
Malte Starostik [Mon, 4 Feb 2002 18:32:20 +0000 (18:32 +0000)] 
Do not destroy ITypeLib held by ITypeInfo before the latter is freed.

23 years agoVT_EMPTY can be coerced to VT_I4, value 0.
Marcus Meissner [Mon, 4 Feb 2002 18:31:53 +0000 (18:31 +0000)] 
VT_EMPTY can be coerced to VT_I4, value 0.

23 years agoMoved style correcting code to the WM_CREATE handler and added
Dmitry Timoshkov [Mon, 4 Feb 2002 18:31:17 +0000 (18:31 +0000)] 
Moved style correcting code to the WM_CREATE handler and added
clearing of WS_EX_CLIENTEDGE and WS_EX_WINDOWEDGE as in Windows.
Added SetWindowPos(SWP_FRAMECHANGED) to make changes take effect.

23 years agoAuthors: Dmitry Timoshkov <dmitry@codeweavers.com>, Guy Albertelli <guy@codeweavers...
Alexandre Julliard [Mon, 4 Feb 2002 18:30:44 +0000 (18:30 +0000)] 
Authors: Dmitry Timoshkov <dmitry@codeweavers.com>, Guy Albertelli <guy@codeweavers.com>
Use GetSystemMetrics() to for caption metrics in NONCLIENTMETRICS
struct. Initialize iScrollWidth and iScrollHeight entries for
SPI_GETNONCLIENTMETRICS.

23 years agoFix problem exposed by the improvements in version 8b. Demonstrated by
Guy L. Albertelli [Mon, 4 Feb 2002 18:30:13 +0000 (18:30 +0000)] 
Fix problem exposed by the improvements in version 8b. Demonstrated by
OE 4.

23 years agoMove __stdcall/__cdecl to the right place.
Patrik Stridvall [Sat, 2 Feb 2002 18:42:11 +0000 (18:42 +0000)] 
Move __stdcall/__cdecl to the right place.

23 years ago- Made runtest "use strict".
Patrik Stridvall [Sat, 2 Feb 2002 18:22:08 +0000 (18:22 +0000)] 
- Made runtest "use strict".
- Added new option -M to specify which modules should be tested as
  builtin.

23 years agomalloc.h is obsolete and stdlib.h should be used instead.
Francois Gouget [Sat, 2 Feb 2002 18:16:25 +0000 (18:16 +0000)] 
malloc.h is obsolete and stdlib.h should be used instead.

23 years agoWe can use normal imports for shell32 now.
Alexandre Julliard [Sat, 2 Feb 2002 18:15:27 +0000 (18:15 +0000)] 
We can use normal imports for shell32 now.

23 years agoEnsure that the whole modified text is returned from DrawTextExA.
Bill Medland [Sat, 2 Feb 2002 18:14:35 +0000 (18:14 +0000)] 
Ensure that the whole modified text is returned from DrawTextExA.

23 years agoDo not use the PEB lock as loader lock, use a separate critical
Alexandre Julliard [Sat, 2 Feb 2002 18:13:50 +0000 (18:13 +0000)] 
Do not use the PEB lock as loader lock, use a separate critical
section for that (and for the graphics drivers).

23 years agoFixed some more missing parenthesis issues.
Andreas Mohr [Sat, 2 Feb 2002 18:06:03 +0000 (18:06 +0000)] 
Fixed some more missing parenthesis issues.

23 years ago- add documentation section to README
Andreas Mohr [Sat, 2 Feb 2002 18:03:55 +0000 (18:03 +0000)] 
- add documentation section to README
- updated HOWTO-winelib
- added native DLL config info to configuring.sgml
- greatly improve directory description of wine.conf man page
- add --debugmsg +all warning to wine man page

23 years agoFlip A<->W conversion in dispinfo_notifyT.
Huw D M Davies [Sat, 2 Feb 2002 17:57:00 +0000 (17:57 +0000)] 
Flip A<->W conversion in dispinfo_notifyT.

23 years agoFix to GetItemW to stop whiping out the items text.
Aric Stewart [Fri, 1 Feb 2002 19:54:10 +0000 (19:54 +0000)] 
Fix to GetItemW to stop whiping out the items text.

23 years agoconfig.h should be included first (if at all).
Francois Gouget [Fri, 1 Feb 2002 19:09:32 +0000 (19:09 +0000)] 
config.h should be included first (if at all).
Fix return of convert_value.

23 years agoDon't try to set fields in nonexistant lpLineCountryList.
Guy Albertelli [Fri, 1 Feb 2002 19:01:31 +0000 (19:01 +0000)] 
Don't try to set fields in nonexistant lpLineCountryList.
Supply valid tapi codes.

23 years agoAllow integer atoms in set_property and remove_property. Needed by
Rein Klazes [Thu, 31 Jan 2002 23:34:18 +0000 (23:34 +0000)] 
Allow integer atoms in set_property and remove_property. Needed by
FindText common dialog.

23 years agoLOAD_LIBRARY_AS_DATAFILE modules must be mapped like normal files, not
Alexandre Julliard [Thu, 31 Jan 2002 23:32:57 +0000 (23:32 +0000)] 
LOAD_LIBRARY_AS_DATAFILE modules must be mapped like normal files, not
like PE images. Fixed resource loading to handle that.

23 years agoMove __stdcall/__cdecl to the right place.
Patrik Stridvall [Thu, 31 Jan 2002 23:22:07 +0000 (23:22 +0000)] 
Move __stdcall/__cdecl to the right place.

23 years agoGive users a hint to clean their config from comments and empty lines
Uwe Bonnes [Thu, 31 Jan 2002 21:48:59 +0000 (21:48 +0000)] 
Give users a hint to clean their config from comments and empty lines
for a bug report.

23 years agoAdded missing parenthesis in ShGetFileInfoA.
Gerard Patel [Thu, 31 Jan 2002 21:48:38 +0000 (21:48 +0000)] 
Added missing parenthesis in ShGetFileInfoA.

23 years agoFixed function 0xb.
Nog [Thu, 31 Jan 2002 21:47:57 +0000 (21:47 +0000)] 
Fixed function 0xb.

23 years agoFixed some issues found by winapi_check.
Patrik Stridvall [Thu, 31 Jan 2002 21:47:34 +0000 (21:47 +0000)] 
Fixed some issues found by winapi_check.

23 years agoMinor API update.
Patrik Stridvall [Thu, 31 Jan 2002 21:46:40 +0000 (21:46 +0000)] 
Minor API update.

23 years agoCodeWeavers
Alexandre Julliard [Thu, 31 Jan 2002 21:05:05 +0000 (21:05 +0000)] 
CodeWeavers
Minor fixes.

23 years agoPaint control immediately on WM_SETTEXT.
Guy Albertelli [Thu, 31 Jan 2002 21:02:17 +0000 (21:02 +0000)] 
Paint control immediately on WM_SETTEXT.

23 years agoCodeWeavers
Alexandre Julliard [Thu, 31 Jan 2002 21:01:35 +0000 (21:01 +0000)] 
CodeWeavers
Small fixes.

23 years ago- better trace output
Guy Albertelli [Thu, 31 Jan 2002 20:49:10 +0000 (20:49 +0000)] 
- better trace output
- support string sent in by address, rather then index
- add FIXMEs for multiple image lists
- protect agains inexistent buttons
- call up to the DefWindowProc when erasing bkgnd when appropriate

23 years agoImplement function 0xb (Read mouse motion counters) and 0xf (Set
Nog [Thu, 31 Jan 2002 20:45:02 +0000 (20:45 +0000)] 
Implement function 0xb (Read mouse motion counters) and 0xf (Set
mickey/pixel ratio).

23 years ago- Introduce a significant design decision.
Bill Medland [Thu, 31 Jan 2002 20:44:39 +0000 (20:44 +0000)] 
- Introduce a significant design decision.
- Recalculate the prefix location if ellipsification alters it.  This
  carefully does NOT emulate a Microsoft bug in which reprefixing is
  wrong when the first character removed by ellipsification is the one
  that would have been underlined (under Win98 at least).

23 years agoAuthors: Dmitry Timoshkov <dmitry@codeweavers.com>, Eric Kohl <ekohl@codeweavers...
Alexandre Julliard [Thu, 31 Jan 2002 20:44:02 +0000 (20:44 +0000)] 
Authors: Dmitry Timoshkov <dmitry@codeweavers.com>, Eric Kohl <ekohl@codeweavers.com>
Implemented CheckTokenMembership and GetAce.

23 years agoDon't repaint header when scrolling a listview vertically.
Gerard Patel [Thu, 31 Jan 2002 20:38:25 +0000 (20:38 +0000)] 
Don't repaint header when scrolling a listview vertically.

23 years ago- fix order of parameters is SendNotify
Guy Albertelli [Thu, 31 Jan 2002 20:37:49 +0000 (20:37 +0000)] 
- fix order of parameters is SendNotify
- always use the dlg cntrl ID of the sender

23 years agoAdded NULL checks on all rectangle pointers.
Guy Albertelli [Thu, 31 Jan 2002 20:34:01 +0000 (20:34 +0000)] 
Added NULL checks on all rectangle pointers.

23 years agoAdded LdrDisableThreadCalloutsForDll.
Dmitry Timoshkov [Tue, 29 Jan 2002 18:30:16 +0000 (18:30 +0000)] 
Added LdrDisableThreadCalloutsForDll.

23 years agoAuthors: Aric Stewart <aric@codeweavers.com>, Huw D M Davies <hdavies@codeweavers...
Alexandre Julliard [Tue, 29 Jan 2002 18:21:20 +0000 (18:21 +0000)] 
Authors: Aric Stewart <aric@codeweavers.com>, Huw D M Davies <hdavies@codeweavers.com>
Added stubs for CheckEscapes[AW] and ExtractAssociatedIconExW.

23 years agoAdded location of local application data.
Eric Kohl [Tue, 29 Jan 2002 18:19:59 +0000 (18:19 +0000)] 
Added location of local application data.

23 years agoFixed RtlAddAccessAllowedAce return value.
Dmitry Timoshkov [Tue, 29 Jan 2002 18:17:46 +0000 (18:17 +0000)] 
Fixed RtlAddAccessAllowedAce return value.

23 years agoAdded stubs for NdrDllCanUnloadNow and NdrDllGetClassObject.
Mike McCormack [Tue, 29 Jan 2002 18:16:39 +0000 (18:16 +0000)] 
Added stubs for NdrDllCanUnloadNow and NdrDllGetClassObject.

23 years agoAdded GetComputerNameEx[AW] semi-stub.
Dmitry Timoshkov [Tue, 29 Jan 2002 18:15:11 +0000 (18:15 +0000)] 
Added GetComputerNameEx[AW] semi-stub.

23 years agoAdded FindFirstUrlCacheEntry[AW] stubs.
Eric Kohl [Tue, 29 Jan 2002 18:12:28 +0000 (18:12 +0000)] 
Added FindFirstUrlCacheEntry[AW] stubs.

23 years agoAdded some MAPI stubs.
Aric Stewart [Tue, 29 Jan 2002 18:10:53 +0000 (18:10 +0000)] 
Added some MAPI stubs.

23 years agoAdded a pass-through msvcrt20.
Aric Stewart [Tue, 29 Jan 2002 18:09:46 +0000 (18:09 +0000)] 
Added a pass-through msvcrt20.

23 years agoAdded Extract stub.
Eric Kohl [Tue, 29 Jan 2002 18:03:36 +0000 (18:03 +0000)] 
Added Extract stub.

23 years agoAdded ImmDisableIME stub.
Eric Kohl [Tue, 29 Jan 2002 18:02:13 +0000 (18:02 +0000)] 
Added ImmDisableIME stub.

23 years agoImplemented _wmakepath.
Dmitry Timoshkov [Tue, 29 Jan 2002 18:00:44 +0000 (18:00 +0000)] 
Implemented _wmakepath.

23 years agoAdded support for DOS EMS memory.
Jukka Heinonen [Tue, 29 Jan 2002 17:55:21 +0000 (17:55 +0000)] 
Added support for DOS EMS memory.

23 years ago'test -e' is not supported on Solaris, replace with '-f' or '-d'.
Francois Gouget [Tue, 29 Jan 2002 17:52:28 +0000 (17:52 +0000)] 
'test -e' is not supported on Solaris, replace with '-f' or '-d'.

23 years agoFix problems with listview notification.
Gerard Patel [Tue, 29 Jan 2002 17:51:00 +0000 (17:51 +0000)] 
Fix problems with listview notification.

23 years agoDo not write beyond end of color table in X11DRV_DIB_SetDIBColorTable.
Dmitry Timoshkov [Tue, 29 Jan 2002 17:50:26 +0000 (17:50 +0000)] 
Do not write beyond end of color table in X11DRV_DIB_SetDIBColorTable.

23 years ago- add new SetRange functions (instead of duplicating the code)
Dimitrie O. Paun [Tue, 29 Jan 2002 17:15:48 +0000 (17:15 +0000)] 
- add new SetRange functions (instead of duplicating the code)
- pass the infoPtr around instead of the hwnd
- use W-functions instead of A-functions
- more checks in case of failures
- make indentation and style consistent throughout the file

23 years agoAuthors: Guy Albertelli <guy@codeweavers.com>, Mike McCormack <mike_mccormack@start...
Alexandre Julliard [Tue, 29 Jan 2002 17:14:53 +0000 (17:14 +0000)] 
Authors: Guy Albertelli <guy@codeweavers.com>, Mike McCormack <mike_mccormack@start.com.au>
Property sheet Unicodification.
Support additional wizard flags.

23 years agoImplemented ImageList_Write.
Charles Loep [Tue, 29 Jan 2002 17:12:20 +0000 (17:12 +0000)] 
Implemented ImageList_Write.

23 years agoEliminate some useless error messages.
Guy Albertelli [Tue, 29 Jan 2002 17:11:30 +0000 (17:11 +0000)] 
Eliminate some useless error messages.

23 years agoDon't define HAVE_FREETYPE unless we have freetype.h.
Huw D M Davies [Tue, 29 Jan 2002 17:09:28 +0000 (17:09 +0000)] 
Don't define HAVE_FREETYPE unless we have freetype.h.

23 years agoCorrect optlen when WS_setsockopt is called with SO_LINGER.
Rein Klazes [Tue, 29 Jan 2002 17:06:11 +0000 (17:06 +0000)] 
Correct optlen when WS_setsockopt is called with SO_LINGER.

23 years agoWeird thing with lcid of library is that if sublang is neutral then we
Huw D M Davies [Tue, 29 Jan 2002 17:05:11 +0000 (17:05 +0000)] 
Weird thing with lcid of library is that if sublang is neutral then we
return the primary lang else we return 0.

23 years agoDon't fill colormap beyond end of screen depth.
Guy Albertelli [Tue, 29 Jan 2002 17:04:16 +0000 (17:04 +0000)] 
Don't fill colormap beyond end of screen depth.

23 years agoFixed file extension problem in the file dialog.
Charles Loep [Tue, 29 Jan 2002 16:58:39 +0000 (16:58 +0000)] 
Fixed file extension problem in the file dialog.

23 years agoRemoved IsBadStringPtrA call that caused trouble.
Huw D M Davies [Tue, 29 Jan 2002 16:56:48 +0000 (16:56 +0000)] 
Removed IsBadStringPtrA call that caused trouble.

23 years agoFix errors resulting from missing parenthesis.
Charles Loep [Tue, 29 Jan 2002 16:54:50 +0000 (16:54 +0000)] 
Fix errors resulting from missing parenthesis.

23 years agoText/Bkgnd color fixes.
Guy Albertelli [Tue, 29 Jan 2002 16:52:24 +0000 (16:52 +0000)] 
Text/Bkgnd color fixes.

23 years agoSimplify and fix listview ellipsification of large text labels.
Dimitrie O. Paun [Tue, 29 Jan 2002 16:50:40 +0000 (16:50 +0000)] 
Simplify and fix listview ellipsification of large text labels.

23 years agoXFONT_GetAvgCharWidth: Always round up.
Uwe Bonnes [Tue, 29 Jan 2002 16:48:20 +0000 (16:48 +0000)] 
XFONT_GetAvgCharWidth: Always round up.

23 years agoFixed copy/paste bug.
Alexandre Julliard [Tue, 29 Jan 2002 03:13:00 +0000 (03:13 +0000)] 
Fixed copy/paste bug.

23 years agoMake FIXMEs more grep-able.
Dimitrie O. Paun [Tue, 29 Jan 2002 03:12:19 +0000 (03:12 +0000)] 
Make FIXMEs more grep-able.

23 years agoAvoid converting nonexistent text from A->W.
Gerard Patel [Tue, 29 Jan 2002 03:08:24 +0000 (03:08 +0000)] 
Avoid converting nonexistent text from A->W.

23 years agoUses Xrender extension to allow client side font rendering.
Huw D M Davies [Tue, 29 Jan 2002 03:07:21 +0000 (03:07 +0000)] 
Uses Xrender extension to allow client side font rendering.
Adds nice things like anti-aliased text.

23 years agoAvoid wildcards in .cvsignore.
Patrik Stridvall [Tue, 29 Jan 2002 03:05:12 +0000 (03:05 +0000)] 
Avoid wildcards in .cvsignore.

23 years agoAuthors: Huw D M Davies <hdavies@codeweavers.com>, Charles Loep <charles@codeweavers...
Alexandre Julliard [Tue, 29 Jan 2002 03:02:50 +0000 (03:02 +0000)] 
Authors: Huw D M Davies <hdavies@codeweavers.com>, Charles Loep <charles@codeweavers.com>
Various fixes for gdi font handling code including:
- Using TTs VDMX table to ensure that we get exactly that same size
  font that Windows uses.
- Fixes to many members of the metrics structures.
- Font cache.
- Rotated text support.
- Support for GGO_GRAY?_BITMAP (ready for anti-aliased text).
- Support for GGO_NATIVE.

23 years agoChanges wine_main to main to properly build on all platforms.
Steven Edwards [Tue, 29 Jan 2002 02:59:22 +0000 (02:59 +0000)] 
Changes wine_main to main to properly build on all platforms.

23 years agoShould process the .dynsym of shared libraries instead of the .stab.
Clemens [Tue, 29 Jan 2002 02:58:20 +0000 (02:58 +0000)] 
Should process the .dynsym of shared libraries instead of the .stab.

23 years agoFixed ==/!= mismatch.
Andreas Mohr [Tue, 29 Jan 2002 02:56:50 +0000 (02:56 +0000)] 
Fixed ==/!= mismatch.

23 years agoDo not be too smart and add WS_CAPTION in AdjustWindowRectEx.
Dmitry Timoshkov [Tue, 29 Jan 2002 02:56:05 +0000 (02:56 +0000)] 
Do not be too smart and add WS_CAPTION in AdjustWindowRectEx.

23 years agoAvoid conflict with htonl & friends in Winelib on FreeBSD.
Francois Gouget [Tue, 29 Jan 2002 02:55:41 +0000 (02:55 +0000)] 
Avoid conflict with htonl & friends in Winelib on FreeBSD.

23 years agoRename s_addr to src_addr to avoid a conflict on Solaris.
Francois Gouget [Tue, 29 Jan 2002 02:55:24 +0000 (02:55 +0000)] 
Rename s_addr to src_addr to avoid a conflict on Solaris.
Rename d_addr to dst_addr for symmetry.

23 years agoPrefix _JBLEN to avoid conflict on FreeBSD.
Francois Gouget [Tue, 29 Jan 2002 02:54:43 +0000 (02:54 +0000)] 
Prefix _JBLEN to avoid conflict on FreeBSD.

23 years agoFleshed out some metafile conversions.
Aric Stewart [Tue, 29 Jan 2002 02:54:22 +0000 (02:54 +0000)] 
Fleshed out some metafile conversions.

23 years agoAdded the correct halftone palette.
Aric Stewart [Tue, 29 Jan 2002 02:53:43 +0000 (02:53 +0000)] 
Added the correct halftone palette.

23 years agoImplement function number 0x5 (Return mouse button press information).
Nog [Tue, 29 Jan 2002 02:51:47 +0000 (02:51 +0000)] 
Implement function number 0x5 (Return mouse button press information).

23 years agoWork around ftruncate implementations that don't support extending
Alexandre Julliard [Tue, 29 Jan 2002 02:51:12 +0000 (02:51 +0000)] 
Work around ftruncate implementations that don't support extending
files.

23 years agoFix PathCreateFromUrl{A|W} to return the corrrect error code in all
Guy L. Albertelli [Tue, 29 Jan 2002 02:47:46 +0000 (02:47 +0000)] 
Fix PathCreateFromUrl{A|W} to return the corrrect error code in all
cases.

23 years agoFix SHRegOpenUSKey{A|W} and SHRegQueryUSValue{A|W} to actually use
Guy L. Albertelli [Tue, 29 Jan 2002 02:47:17 +0000 (02:47 +0000)] 
Fix SHRegOpenUSKey{A|W} and SHRegQueryUSValue{A|W} to actually use
previously open keys.

23 years agoLow-resolution and low-color VGA modes are now mapped into mode
Jukka Heinonen [Tue, 29 Jan 2002 02:46:43 +0000 (02:46 +0000)] 
Low-resolution and low-color VGA modes are now mapped into mode
640x480x8. Added preliminary support for four bit modes.

23 years agoPut the prefix-underline-drawing away into it's own function so we can
Bill Medland [Tue, 29 Jan 2002 02:46:09 +0000 (02:46 +0000)] 
Put the prefix-underline-drawing away into it's own function so we can
see what is happening.

23 years agoGetDiskFreeSpace needs to set the last error on failure.
Aric Stewart [Tue, 29 Jan 2002 02:45:23 +0000 (02:45 +0000)] 
GetDiskFreeSpace needs to set the last error on failure.

23 years agoA couple of additions.
Bill Medland [Tue, 29 Jan 2002 02:44:44 +0000 (02:44 +0000)] 
A couple of additions.

23 years agoRelease 20020122. wine-20020122
Alexandre Julliard [Tue, 22 Jan 2002 22:24:17 +0000 (22:24 +0000)] 
Release 20020122.

23 years agoRemoved no longer used average width calculation.
Alexandre Julliard [Tue, 22 Jan 2002 20:09:44 +0000 (20:09 +0000)] 
Removed no longer used average width calculation.

23 years agoThe \\<nr> magic in LoadTypeLibEx found directories, which was not
Marcus Meissner [Tue, 22 Jan 2002 18:28:51 +0000 (18:28 +0000)] 
The \\<nr> magic in LoadTypeLibEx found directories, which was not
intended. Return error in that case.

23 years agoAbort if we do not find yacc or bison.
Marcus Meissner [Tue, 22 Jan 2002 18:28:25 +0000 (18:28 +0000)] 
Abort if we do not find yacc or bison.

23 years agoMoved guids needed for Proxy/Stub factories to respective .h files,
Marcus Meissner [Tue, 22 Jan 2002 18:27:24 +0000 (18:27 +0000)] 
Moved guids needed for Proxy/Stub factories to respective .h files,
add to libwine_uuid.

23 years agoDon't include debugtools.h in the header file, moved it to the C files
Alexandre Julliard [Tue, 22 Jan 2002 00:57:16 +0000 (00:57 +0000)] 
Don't include debugtools.h in the header file, moved it to the C files
that need it (and used the new wine/debug.h while we are at it).