Commit Graph

36 Commits

Author SHA1 Message Date
Michael Stefaniuc 9182b24b81 include: Remove unused wine_dbgstr_size().
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-20 21:52:07 +09:00
Francois Gouget be3fea546d oleaut32: Add V_RECORD() and V_RECORDINFO() and use them for wine_dbgstr_variant().
This fixes the wine_dbgstr_variant() compatibility with non __STDC__
compilers and source code that defines _FORCENAMELESSUNION.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-27 21:44:49 +09:00
Sebastian Lackner 615ef98555 include: Fix copy and paste errors in wine_dbgstr_vt. 2015-09-02 14:54:04 +09:00
Nikolay Sivov bcd8b6f4ee include: Fix null pointer dereference while tracing. 2015-03-03 17:13:52 +09:00
Nikolay Sivov 5bd6b569cd include/debug.h: Support tracing of VT_BSTR|VT_BYREF. 2015-03-02 13:47:42 +09:00
Jacek Caban d2886a05f9 wine/debug.h: Added debugstr_variant and debugstr_vt aliases and removed all duplicated implementations. 2014-07-24 17:05:55 +02:00
Jacek Caban e18ef3cf4c wine/debug.h: Added wine_dbgstr_variant and wine_dbgstr_vt implementations. 2014-07-24 17:05:51 +02:00
Alexandre Julliard baaaa58b50 include: Fix a few compiler warnings for the Mingw64 build. 2008-12-09 17:56:16 +01:00
Dmitry Timoshkov 15f4bac787 include/wine/debug.h: Fix compilation warning in 64-bit mode. 2007-05-21 15:55:46 +02:00
Andrew Talbot 4125821a99 winelib: Replace inline static with static inline. 2007-03-27 12:38:06 +02:00
Francois Gouget b0bde6b87c Assorted spelling fixes. 2007-01-18 12:56:52 +01:00
Alexandre Julliard 80cff47c87 include: Get rid of the WINE_NO_LONG_AS_INT ifdefs. 2006-12-20 14:57:08 +01:00
Michael Stefaniuc 15765dd953 The Data1 member of the GUID struct needs to be an unsigned int too for Win64 compatibility. 2006-10-16 10:53:04 +02:00
Michael Stefaniuc 705b5a00c5 debug.h, test.h: Temporary add ifdefs around some printfs to avoid format. 2006-09-29 16:09:14 +02:00
Alexandre Julliard 35e59151e9 include: Prevent internal Wine headers from being used in tests. 2006-05-25 20:07:57 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Alexandre Julliard 2058f54300 Added a __wine_dbg_set_channel_flags function to allow changing flags
from inside the code.
2005-10-18 10:49:20 +00:00
Alexandre Julliard 784c94516b Export the get_channel_flags function avoid warnings when passing a
NULL format to wine_dbg_log.
Removed a few no longer used functions.
2005-09-29 11:16:52 +00:00
Alexandre Julliard 7ddab75619 Declare debug channels as static variables so that we don't need to
generate an external .dbg.c file to define them.
2005-09-28 18:34:00 +00:00
Alexandre Julliard cbc38965c0 New scheme for keeping track of debug channels that doesn't require
maintaining a list of all loaded dlls.
2005-09-28 15:21:48 +00:00
Alexandre Julliard a443761b8d Export the temp buffer functionality in the debug functions interface
to allow sharing more code between libwine and ntdll.
2005-09-26 16:45:25 +00:00
Alexandre Julliard 75c27e17b6 Defined a proper structure for debug channels.
Also put all the function pointers inside a structure and added
__wine_dbg_set_functions to change them instead of exporting the
pointers directly.
2005-09-23 10:52:07 +00:00
Kevin Koltzau 7ab2813735 Fix pointer cast warnings in 64bit. 2005-08-23 09:36:34 +00:00
Vincent Béron 1f504141b7 Use a new DLLDEFS variable in configure/Makefiles to actually remove
all the debug messages (minus ERRs) if the user decides so.
2004-10-19 23:06:11 +00:00
Robert Shearman d6254fcb43 - AVI Splitter implementation.
- Add new debugging function wine_dbstr_longlong.
2003-11-18 20:47:48 +00:00
Dimitrie O. Paun 53f9c21fb7 Use angle brackets (<>) rather than quotes ("") for the include
directives in our .h files. This should avoid some potentially nasty
surprises for Winelib apps.
2003-08-28 21:43:34 +00:00
Alexandre Julliard 96af8c2ff5 Fixed gcc varargs macro syntax (reported by Gabriele Giorgetti). 2003-04-14 21:42:57 +00:00
Jon Griffiths 7cf70d79c3 Really get rid of debug code/strings if we're building without them. 2003-03-15 19:39:37 +00:00
Dan Kegel 0fd521fee3 Change RECT to use LONG to match win32 standard headers and fix format
strings to use %ld for RECT elements.
2003-01-08 21:09:25 +00:00
Dimitrie O. Paun 8b36681bad Rename __WINE__ to __WINESRC__. 2003-01-04 00:52:18 +00:00
Alexandre Julliard 78ff6763ed Added wine_dbg_sprintf function that allocates a temporary buffer in
the per-thread strings area.
Added inline functions to format POINT, SIZE and RECT structures.
2003-01-03 03:12:58 +00:00
Gregg Mattinson 81cbb28d07 - Forte C does not support nameless structures or unions
- Implemented __builtin_return_address for Forte C on sparc
- Implemented DECL_GLOBAL_CONSTRUCTOR for non-386, non-GNU C
- Implemented WINE_DPRINTF to have function name with Forte C
2002-07-05 21:22:09 +00:00
Alexandre Julliard 35389149de Export the debug API as functions instead of pointers.
A few other import fixes for Mingw.
2002-05-19 22:29:01 +00:00
Alexandre Julliard 0aa28b5b8d Export the debugging API from libwine instead of ntdll.
Removed debugres_[aw].
2002-05-17 02:55:48 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Alexandre Julliard dbe2cd907d Moved debug definitions to include/wine/debug.h. 2002-01-22 00:55:18 +00:00