Author: hpoussin
Date: Sat Nov 24 18:31:50 2007
New Revision: 30722
URL:
http://svn.reactos.org/svn/reactos?rev=30722&view=rev
Log:
Remove YDEBUG define support, replaced by DEBUGCHANNEL environment variable
Syntax: set DEBUGCHANNEL = [[fixme|err|warn|trace]+|-{channel}|all]*
Modified:
trunk/reactos/base/system/winlogon/sas.c
trunk/reactos/base/system/winlogon/screensaver.c
trunk/reactos/base/system/winlogon/setup.c
trunk/reactos/base/system/winlogon/winlogon.c
trunk/reactos/base/system/winlogon/wlx.c
trunk/reactos/dll/win32/kernel32/file/lock.c
trunk/reactos/dll/win32/msgina/gui.c
trunk/reactos/dll/win32/msgina/msgina.c
trunk/reactos/dll/win32/msgina/tui.c
trunk/reactos/dll/win32/newdev/newdev.c
trunk/reactos/dll/win32/shell32/drive.c
trunk/reactos/dll/win32/shell32/fprop.c
trunk/reactos/dll/win32/shell32/recyclebin.c
trunk/reactos/dll/win32/shell32/she_ocmenu.c
trunk/reactos/dll/win32/shell32/shv_bg_cmenu.c
trunk/reactos/dll/win32/shell32/shv_item_cmenu.c
trunk/reactos/dll/win32/shell32/shv_item_new.c
trunk/reactos/dll/win32/shell32/startmenu.c
trunk/reactos/dll/win32/user32/windows/spy.c
trunk/reactos/include/reactos/wine/debug.h
Modified: trunk/reactos/base/system/winlogon/sas.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/winlogon/sas.c…
==============================================================================
--- trunk/reactos/base/system/winlogon/sas.c (original)
+++ trunk/reactos/base/system/winlogon/sas.c Sat Nov 24 18:31:50 2007
@@ -13,7 +13,6 @@
#include "winlogon.h"
-//#define YDEBUG
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(winlogon);
Modified: trunk/reactos/base/system/winlogon/screensaver.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/winlogon/scree…
==============================================================================
--- trunk/reactos/base/system/winlogon/screensaver.c (original)
+++ trunk/reactos/base/system/winlogon/screensaver.c Sat Nov 24 18:31:50 2007
@@ -10,7 +10,6 @@
#include "winlogon.h"
-#define YDEBUG
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(winlogon);
Modified: trunk/reactos/base/system/winlogon/setup.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/winlogon/setup…
==============================================================================
--- trunk/reactos/base/system/winlogon/setup.c (original)
+++ trunk/reactos/base/system/winlogon/setup.c Sat Nov 24 18:31:50 2007
@@ -10,7 +10,6 @@
#include "winlogon.h"
-//#define YDEBUG
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(winlogon);
Modified: trunk/reactos/base/system/winlogon/winlogon.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/winlogon/winlo…
==============================================================================
--- trunk/reactos/base/system/winlogon/winlogon.c (original)
+++ trunk/reactos/base/system/winlogon/winlogon.c Sat Nov 24 18:31:50 2007
@@ -12,7 +12,6 @@
#include "winlogon.h"
-//#define YDEBUG
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(winlogon);
Modified: trunk/reactos/base/system/winlogon/wlx.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/winlogon/wlx.c…
==============================================================================
--- trunk/reactos/base/system/winlogon/wlx.c (original)
+++ trunk/reactos/base/system/winlogon/wlx.c Sat Nov 24 18:31:50 2007
@@ -12,7 +12,6 @@
#include "winlogon.h"
-//#define YDEBUG
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(winlogon);
Modified: trunk/reactos/dll/win32/kernel32/file/lock.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/file/lo…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/file/lock.c (original)
+++ trunk/reactos/dll/win32/kernel32/file/lock.c Sat Nov 24 18:31:50 2007
@@ -15,7 +15,6 @@
#include <k32.h>
-//#define YDEBUG
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(kernel32);
Modified: trunk/reactos/dll/win32/msgina/gui.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msgina/gui.c?rev…
==============================================================================
--- trunk/reactos/dll/win32/msgina/gui.c (original)
+++ trunk/reactos/dll/win32/msgina/gui.c Sat Nov 24 18:31:50 2007
@@ -7,7 +7,6 @@
#include "msgina.h"
-//#define YDEBUG
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(msgina);
Modified: trunk/reactos/dll/win32/msgina/msgina.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msgina/msgina.c?…
==============================================================================
--- trunk/reactos/dll/win32/msgina/msgina.c (original)
+++ trunk/reactos/dll/win32/msgina/msgina.c Sat Nov 24 18:31:50 2007
@@ -26,7 +26,6 @@
#include "msgina.h"
-//#define YDEBUG
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(msgina);
Modified: trunk/reactos/dll/win32/msgina/tui.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msgina/tui.c?rev…
==============================================================================
--- trunk/reactos/dll/win32/msgina/tui.c (original)
+++ trunk/reactos/dll/win32/msgina/tui.c Sat Nov 24 18:31:50 2007
@@ -7,7 +7,6 @@
#include "msgina.h"
-#define YDEBUG
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(msgina);
Modified: trunk/reactos/dll/win32/newdev/newdev.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/newdev/newdev.c?…
==============================================================================
--- trunk/reactos/dll/win32/newdev/newdev.c (original)
+++ trunk/reactos/dll/win32/newdev/newdev.c Sat Nov 24 18:31:50 2007
@@ -19,7 +19,6 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-//#define YDEBUG
#include "newdev_private.h"
WINE_DEFAULT_DEBUG_CHANNEL(newdev);
Modified: trunk/reactos/dll/win32/shell32/drive.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/drive.c?…
==============================================================================
--- trunk/reactos/dll/win32/shell32/drive.c (original)
+++ trunk/reactos/dll/win32/shell32/drive.c Sat Nov 24 18:31:50 2007
@@ -20,7 +20,6 @@
#include "config.h"
#include "wine/port.h"
-//#define YDEBUG
#define LARGEINT_PROTOS
#define LargeIntegerDivide RtlLargeIntegerDivide
#define ExtendedIntegerMultiply RtlExtendedIntegerMultiply
Modified: trunk/reactos/dll/win32/shell32/fprop.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/fprop.c?…
==============================================================================
--- trunk/reactos/dll/win32/shell32/fprop.c (original)
+++ trunk/reactos/dll/win32/shell32/fprop.c Sat Nov 24 18:31:50 2007
@@ -20,7 +20,6 @@
#define COBJMACROS
#define NONAMELESSUNION
-//#define YDEBUG
#include "config.h"
#include "wine/port.h"
Modified: trunk/reactos/dll/win32/shell32/recyclebin.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/recycleb…
==============================================================================
--- trunk/reactos/dll/win32/shell32/recyclebin.c (original)
+++ trunk/reactos/dll/win32/shell32/recyclebin.c Sat Nov 24 18:31:50 2007
@@ -19,7 +19,6 @@
*/
#include "config.h"
-//#define YDEBUG
#define COBJMACROS
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
Modified: trunk/reactos/dll/win32/shell32/she_ocmenu.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/she_ocme…
==============================================================================
--- trunk/reactos/dll/win32/shell32/she_ocmenu.c (original)
+++ trunk/reactos/dll/win32/shell32/she_ocmenu.c Sat Nov 24 18:31:50 2007
@@ -23,7 +23,6 @@
#define COBJMACROS
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
-//#define YDEBUG
#include "winerror.h"
#include "wine/debug.h"
Modified: trunk/reactos/dll/win32/shell32/shv_bg_cmenu.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shv_bg_c…
==============================================================================
--- trunk/reactos/dll/win32/shell32/shv_bg_cmenu.c (original)
+++ trunk/reactos/dll/win32/shell32/shv_bg_cmenu.c Sat Nov 24 18:31:50 2007
@@ -23,7 +23,6 @@
#define COBJMACROS
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
-//#define YDEBUG
#include "wine/debug.h"
#include "windef.h"
Modified: trunk/reactos/dll/win32/shell32/shv_item_cmenu.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shv_item…
==============================================================================
--- trunk/reactos/dll/win32/shell32/shv_item_cmenu.c (original)
+++ trunk/reactos/dll/win32/shell32/shv_item_cmenu.c Sat Nov 24 18:31:50 2007
@@ -23,7 +23,6 @@
#define COBJMACROS
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
-//#define YDEBUG
#include "winerror.h"
#include "wine/debug.h"
Modified: trunk/reactos/dll/win32/shell32/shv_item_new.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shv_item…
==============================================================================
--- trunk/reactos/dll/win32/shell32/shv_item_new.c (original)
+++ trunk/reactos/dll/win32/shell32/shv_item_new.c Sat Nov 24 18:31:50 2007
@@ -11,7 +11,6 @@
#define COBJMACROS
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
-//#define YDEBUG
#include "wine/debug.h"
#include "windef.h"
Modified: trunk/reactos/dll/win32/shell32/startmenu.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/startmen…
==============================================================================
--- trunk/reactos/dll/win32/shell32/startmenu.c (original)
+++ trunk/reactos/dll/win32/shell32/startmenu.c Sat Nov 24 18:31:50 2007
@@ -20,7 +20,6 @@
#define COBJMACROS
-//#define YDEBUG
#include "wine/debug.h"
#include "windef.h"
Modified: trunk/reactos/dll/win32/user32/windows/spy.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/windows/s…
==============================================================================
--- trunk/reactos/dll/win32/user32/windows/spy.c (original)
+++ trunk/reactos/dll/win32/user32/windows/spy.c Sat Nov 24 18:31:50 2007
@@ -24,7 +24,6 @@
#include <richedit.h>
#include <prsht.h>
-//#define YDEBUG
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(message);
Modified: trunk/reactos/include/reactos/wine/debug.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/wine/debug…
==============================================================================
--- trunk/reactos/include/reactos/wine/debug.h (original)
+++ trunk/reactos/include/reactos/wine/debug.h Sat Nov 24 18:31:50 2007
@@ -49,11 +49,7 @@
__WINE_DBCL_TRACE = 3, /* 0x8 */
/* lazy init flag */
-#ifdef YDEBUG
- __WINE_DBCL_INIT = 0xf
-#else
__WINE_DBCL_INIT = 0x7
-#endif
};
struct __wine_debug_channel