Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
diff --git a/dlls/comctl32/animate.c b/dlls/comctl32/animate.c
index dbcc023..6b6e6a6 100644
--- a/dlls/comctl32/animate.c
+++ b/dlls/comctl32/animate.c
@@ -5,6 +5,20 @@
* Copyright 1998, 1999 Eric Kohl
* 1999 Eric Pouech
*
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
* NOTES
* I will only improve this control once in a while.
* Eric <ekohl@abo.rhein-zeitung.de>
@@ -19,9 +33,9 @@
#include "commctrl.h"
#include "vfw.h"
#include "mmsystem.h"
-#include "debugtools.h"
+#include "wine/debug.h"
-DEFAULT_DEBUG_CHANNEL(animate);
+WINE_DEFAULT_DEBUG_CHANNEL(animate);
static struct {
HMODULE hModule;
diff --git a/dlls/comctl32/comboex.c b/dlls/comctl32/comboex.c
index 3cc712c..1da42e7 100644
--- a/dlls/comctl32/comboex.c
+++ b/dlls/comctl32/comboex.c
@@ -1,4 +1,28 @@
/*
+ * ComboBoxEx control v2 (mod6)
+ *
+ * Copyright 1998, 1999 Eric Kohl
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * NOTES
+ * This is just a dummy control. An author is needed! Any volunteers?
+ * I will only improve this control once in a while.
+ * Eric <ekohl@abo.rhein-zeitung.de>
+ *
+ *
* TODO <-------------
* 1. The following extended styles need to be implemented, use will
* result in a FIXME:
@@ -14,20 +38,8 @@
* I_INDENTCALLBACK
* 3. No use is made of the iOverlay image.
* 4. Notify CBEN_DRAGBEGIN is not implemented.
- */
-
-
-/*
- * ComboBoxEx control v2 (mod6)
*
- * Copyright 1998, 1999 Eric Kohl
*
- * NOTES
- * This is just a dummy control. An author is needed! Any volunteers?
- * I will only improve this control once in a while.
- * Eric <ekohl@abo.rhein-zeitung.de>
- *
-
* Changes Guy Albertelli <galberte@neo.lrun.com>
* v1 Implemented messages: CB_SETITEMHEIGHT, WM_WINDOWPOSCHANGING,
* WM_DRAWITEM, and WM_MEASUREITEM. Fixed WM_CREATE. Fixed height
@@ -84,15 +96,15 @@
#include <string.h>
#include "winbase.h"
#include "commctrl.h"
-#include "debugtools.h"
+#include "wine/debug.h"
#include "wine/unicode.h"
-DEFAULT_DEBUG_CHANNEL(comboex);
+WINE_DEFAULT_DEBUG_CHANNEL(comboex);
/*
* The following is necessary for the test done in COMBOEX_DrawItem
* to determine whether to dump out the DRAWITEM structure or not.
*/
-DECLARE_DEBUG_CHANNEL(message);
+WINE_DECLARE_DEBUG_CHANNEL(message);
/* Item structure */
typedef struct
diff --git a/dlls/comctl32/comctl32.h b/dlls/comctl32/comctl32.h
index b72cefc..120e096 100644
--- a/dlls/comctl32/comctl32.h
+++ b/dlls/comctl32/comctl32.h
@@ -5,6 +5,19 @@
* Copyright 1999 Thuy Nguyen
* Copyright 1999 Eric Kohl
*
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef __WINE_COMCTL32_H
diff --git a/dlls/comctl32/comctl32undoc.c b/dlls/comctl32/comctl32undoc.c
index f426b3c..fedd06a 100644
--- a/dlls/comctl32/comctl32undoc.c
+++ b/dlls/comctl32/comctl32undoc.c
@@ -5,6 +5,20 @@
* 1998 Juergen Schmied <j.schmied@metronet.de>
* 2000 Eric Kohl for CodeWeavers
*
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
* NOTES
* All of these functions are UNDOCUMENTED!! And I mean UNDOCUMENTED!!!!
* Do NOT rely on names or contents of undocumented structures and types!!!
@@ -30,9 +44,9 @@
#include "wine/unicode.h"
#include "comctl32.h"
-#include "debugtools.h"
+#include "wine/debug.h"
-DEFAULT_DEBUG_CHANNEL(commctrl);
+WINE_DEFAULT_DEBUG_CHANNEL(commctrl);
extern HANDLE COMCTL32_hHeap; /* handle to the private heap */
diff --git a/dlls/comctl32/comctl_De.rc b/dlls/comctl32/comctl_De.rc
index 18bb4ab..77b80c5 100644
--- a/dlls/comctl32/comctl_De.rc
+++ b/dlls/comctl32/comctl_De.rc
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2000 Uwe Bonnes
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
LANGUAGE LANG_GERMAN, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE
diff --git a/dlls/comctl32/comctl_En.rc b/dlls/comctl32/comctl_En.rc
index 76e5a71..8001d59 100644
--- a/dlls/comctl32/comctl_En.rc
+++ b/dlls/comctl32/comctl_En.rc
@@ -1,3 +1,21 @@
+/*
+ * Copyright 1999 Eric Kohl
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
IDD_PROPSHEET DIALOG DISCARDABLE 0, 0, 220, 140
diff --git a/dlls/comctl32/commctrl.c b/dlls/comctl32/commctrl.c
index 1a999b7..7da5e59 100644
--- a/dlls/comctl32/commctrl.c
+++ b/dlls/comctl32/commctrl.c
@@ -4,6 +4,19 @@
* Copyright 1997 Dimitrie O. Paun
* Copyright 1998,2000 Eric Kohl
*
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <string.h>
@@ -16,9 +29,9 @@
#define NO_SHLWAPI_STREAM
#include "shlwapi.h"
#include "comctl32.h"
-#include "debugtools.h"
+#include "wine/debug.h"
-DEFAULT_DEBUG_CHANNEL(commctrl);
+WINE_DEFAULT_DEBUG_CHANNEL(commctrl);
extern void ANIMATE_Register(void);
extern void ANIMATE_Unregister(void);
diff --git a/dlls/comctl32/datetime.c b/dlls/comctl32/datetime.c
index 477b7a4..e620dea 100644
--- a/dlls/comctl32/datetime.c
+++ b/dlls/comctl32/datetime.c
@@ -5,6 +5,19 @@
* Copyright 1999, 2000 Alex Priem <alexp@sci.kun.nl>
* Copyright 2000 Chris Morgan <cmorgan@wpi.edu>
*
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* TODO:
* - All messages.
@@ -19,9 +32,9 @@
#include "winbase.h"
#include "wingdi.h"
#include "commctrl.h"
-#include "debugtools.h"
+#include "wine/debug.h"
-DEFAULT_DEBUG_CHANNEL(datetime);
+WINE_DEFAULT_DEBUG_CHANNEL(datetime);
typedef struct
{
diff --git a/dlls/comctl32/draglist.c b/dlls/comctl32/draglist.c
index d7225c2..46364c8 100644
--- a/dlls/comctl32/draglist.c
+++ b/dlls/comctl32/draglist.c
@@ -3,6 +3,20 @@
*
* Copyright 1999 Eric Kohl
*
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
* NOTES
* This is just a dummy control. An author is needed! Any volunteers?
* I will only improve this control once in a while.
@@ -13,9 +27,9 @@
*/
#include "commctrl.h"
-#include "debugtools.h"
+#include "wine/debug.h"
-DEFAULT_DEBUG_CHANNEL(commctrl);
+WINE_DEFAULT_DEBUG_CHANNEL(commctrl);
static DWORD dwLastScrollTime = 0;
diff --git a/dlls/comctl32/flatsb.c b/dlls/comctl32/flatsb.c
index 774f8e4..a4bdb3f 100644
--- a/dlls/comctl32/flatsb.c
+++ b/dlls/comctl32/flatsb.c
@@ -4,6 +4,20 @@
* Copyright 1998, 1999 Eric Kohl
* Copyright 1998 Alex Priem
*
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
* NOTES
* This is just a dummy control. An author is needed! Any volunteers?
* I will only improve this control once in a while.
@@ -19,9 +33,9 @@
#include "winbase.h"
#include "winerror.h"
#include "commctrl.h"
-#include "debugtools.h"
+#include "wine/debug.h"
-DEFAULT_DEBUG_CHANNEL(commctrl);
+WINE_DEFAULT_DEBUG_CHANNEL(commctrl);
typedef struct
{
diff --git a/dlls/comctl32/header.c b/dlls/comctl32/header.c
index d4cdda2..29b35cf 100644
--- a/dlls/comctl32/header.c
+++ b/dlls/comctl32/header.c
@@ -4,6 +4,20 @@
* Copyright 1998 Eric Kohl
* Copyright 2000 Eric Kohl for CodeWeavers
*
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
* TODO:
* - Imagelist support (partially).
* - Callback items (under construction).
@@ -24,9 +38,9 @@
#include "commctrl.h"
#include "comctl32.h"
#include "imagelist.h"
-#include "debugtools.h"
+#include "wine/debug.h"
-DEFAULT_DEBUG_CHANNEL(header);
+WINE_DEFAULT_DEBUG_CHANNEL(header);
typedef struct
{
diff --git a/dlls/comctl32/hotkey.c b/dlls/comctl32/hotkey.c
index 349a5a4..55aa230 100644
--- a/dlls/comctl32/hotkey.c
+++ b/dlls/comctl32/hotkey.c
@@ -3,6 +3,20 @@
*
* Copyright 1998, 1999 Eric Kohl
*
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
* NOTES
* Development in progress. An author is needed! Any volunteers?
* I will only improve this control once in a while.
@@ -16,9 +30,9 @@
#include <string.h>
#include "winbase.h"
#include "commctrl.h"
-#include "debugtools.h"
+#include "wine/debug.h"
-DEFAULT_DEBUG_CHANNEL(hotkey);
+WINE_DEFAULT_DEBUG_CHANNEL(hotkey);
typedef struct tagHOTKEY_INFO
{
diff --git a/dlls/comctl32/imagelist.c b/dlls/comctl32/imagelist.c
index 7aa5c3e..01bbcbf 100644
--- a/dlls/comctl32/imagelist.c
+++ b/dlls/comctl32/imagelist.c
@@ -6,6 +6,20 @@
* 2001 Michael Stefaniuc
* 2001 Charles Loep for CodeWeavers
*
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
* TODO:
* - Fix ImageList_DrawIndirect (xBitmap, yBitmap, rgbFg, rgbBk, dwRop).
* - Fix ImageList_GetIcon.
@@ -36,9 +50,9 @@
#include "wine/obj_storage.h"
#include "commctrl.h"
#include "imagelist.h"
-#include "debugtools.h"
+#include "wine/debug.h"
-DEFAULT_DEBUG_CHANNEL(imagelist);
+WINE_DEFAULT_DEBUG_CHANNEL(imagelist);
#define MAX_OVERLAYIMAGE 15
diff --git a/dlls/comctl32/imagelist.h b/dlls/comctl32/imagelist.h
index e710466..d23166f 100644
--- a/dlls/comctl32/imagelist.h
+++ b/dlls/comctl32/imagelist.h
@@ -2,6 +2,20 @@
* ImageList definitions
*
* Copyright 1998 Eric Kohl
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef __WINE_IMAGELIST_H
diff --git a/dlls/comctl32/ipaddress.c b/dlls/comctl32/ipaddress.c
index 1d9616c..dc97321 100644
--- a/dlls/comctl32/ipaddress.c
+++ b/dlls/comctl32/ipaddress.c
@@ -6,6 +6,20 @@
* Copyright 1998, 1999 Eric Kohl
* Copyright 1998 Alex Priem <alexp@sci.kun.nl>
*
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
* NOTES
*
* TODO:
@@ -28,9 +42,9 @@
#include "winbase.h"
#include "commctrl.h"
-#include "debugtools.h"
+#include "wine/debug.h"
-DEFAULT_DEBUG_CHANNEL(ipaddress);
+WINE_DEFAULT_DEBUG_CHANNEL(ipaddress);
typedef struct
{
diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c
index 485df24..a948d70 100644
--- a/dlls/comctl32/listview.c
+++ b/dlls/comctl32/listview.c
@@ -7,6 +7,20 @@
* Copyright 2001 Codeweavers Inc.
* Copyright 2002 Dimitrie O. Paun
*
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
* NOTES
* Listview control implementation.
*
@@ -54,9 +68,9 @@
#include "winnt.h"
#include "heap.h"
#include "commctrl.h"
-#include "debugtools.h"
+#include "wine/debug.h"
-DEFAULT_DEBUG_CHANNEL(listview);
+WINE_DEFAULT_DEBUG_CHANNEL(listview);
/* Some definitions for inline edit control */
typedef BOOL (*EditlblCallbackW)(HWND, LPWSTR, DWORD);
diff --git a/dlls/comctl32/monthcal.c b/dlls/comctl32/monthcal.c
index 2a758cc..ec1b87d 100644
--- a/dlls/comctl32/monthcal.c
+++ b/dlls/comctl32/monthcal.c
@@ -7,6 +7,20 @@
* James Abbatiello <abbeyj@wpi.edu>
* Copyright 2000 Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
*
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
* TODO:
* - Notifications.
*
@@ -28,9 +42,9 @@
#include "winnls.h"
#include "commctrl.h"
#include "comctl32.h"
-#include "debugtools.h"
+#include "wine/debug.h"
-DEFAULT_DEBUG_CHANNEL(monthcal);
+WINE_DEFAULT_DEBUG_CHANNEL(monthcal);
#define MC_SEL_LBUTUP 1 /* Left button released */
#define MC_SEL_LBUTDOWN 2 /* Left button pressed in calendar */
diff --git a/dlls/comctl32/nativefont.c b/dlls/comctl32/nativefont.c
index 0ac909c..bc9e4f8 100644
--- a/dlls/comctl32/nativefont.c
+++ b/dlls/comctl32/nativefont.c
@@ -3,6 +3,20 @@
*
* Copyright 1998, 1999 Eric Kohl
*
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
* NOTES
* This is just a dummy control. An author is needed! Any volunteers?
* I will only improve this control once in a while.
@@ -16,9 +30,9 @@
#include <string.h>
#include "winbase.h"
#include "commctrl.h"
-#include "debugtools.h"
+#include "wine/debug.h"
-DEFAULT_DEBUG_CHANNEL(nativefont);
+WINE_DEFAULT_DEBUG_CHANNEL(nativefont);
typedef struct
{
diff --git a/dlls/comctl32/pager.c b/dlls/comctl32/pager.c
index c15f188..247906e 100644
--- a/dlls/comctl32/pager.c
+++ b/dlls/comctl32/pager.c
@@ -3,6 +3,20 @@
*
* Copyright 1998, 1999 Eric Kohl
*
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
* NOTES
* Tested primarily with the controlspy Pager application.
* Susan Farley (susan@codeweavers.com)
@@ -17,9 +31,9 @@
#include <string.h>
#include "winbase.h"
#include "commctrl.h"
-#include "debugtools.h"
+#include "wine/debug.h"
-DEFAULT_DEBUG_CHANNEL(pager);
+WINE_DEFAULT_DEBUG_CHANNEL(pager);
typedef struct
{
diff --git a/dlls/comctl32/progress.c b/dlls/comctl32/progress.c
index 5708150..9b83fef 100644
--- a/dlls/comctl32/progress.c
+++ b/dlls/comctl32/progress.c
@@ -4,14 +4,27 @@
* Copyright 1997, 2002 Dimitrie O. Paun
* Copyright 1998, 1999 Eric Kohl
*
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <string.h>
#include "winbase.h"
#include "commctrl.h"
-#include "debugtools.h"
+#include "wine/debug.h"
-DEFAULT_DEBUG_CHANNEL(progress);
+WINE_DEFAULT_DEBUG_CHANNEL(progress);
typedef struct
{
diff --git a/dlls/comctl32/propsheet.c b/dlls/comctl32/propsheet.c
index aead13a..8098a58 100644
--- a/dlls/comctl32/propsheet.c
+++ b/dlls/comctl32/propsheet.c
@@ -4,6 +4,20 @@
* Copyright 1998 Francis Beaudet
* Copyright 1999 Thuy Nguyen
*
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
* TODO:
* - Tab order
* - Unicode property sheets
@@ -15,7 +29,7 @@
#include "prsht.h"
#include "winnls.h"
#include "comctl32.h"
-#include "debugtools.h"
+#include "wine/debug.h"
#include "heap.h"
@@ -145,7 +159,7 @@
BOOL WINAPI
PROPSHEET_DialogProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
-DEFAULT_DEBUG_CHANNEL(propsheet);
+WINE_DEFAULT_DEBUG_CHANNEL(propsheet);
#define add_flag(a) if (dwFlags & a) {strcat(string, #a );strcat(string," ");}
/******************************************************************************
diff --git a/dlls/comctl32/rebar.c b/dlls/comctl32/rebar.c
index 5dce257..2c49314 100644
--- a/dlls/comctl32/rebar.c
+++ b/dlls/comctl32/rebar.c
@@ -24,6 +24,20 @@
*
* Copyright 1998, 1999 Eric Kohl
*
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
* NOTES
* An author is needed! Any volunteers?
* I will only improve this control once in a while.
@@ -127,9 +141,9 @@
#include "wine/unicode.h"
#include "commctrl.h"
/* #include "spy.h" */
-#include "debugtools.h"
+#include "wine/debug.h"
-DEFAULT_DEBUG_CHANNEL(rebar);
+WINE_DEFAULT_DEBUG_CHANNEL(rebar);
typedef struct
{
diff --git a/dlls/comctl32/rsrc.rc b/dlls/comctl32/rsrc.rc
index 75d6733..b8b7a2c 100644
--- a/dlls/comctl32/rsrc.rc
+++ b/dlls/comctl32/rsrc.rc
@@ -1,6 +1,22 @@
/*
* Top level resource file for Common Controls
*
+ * Copyright 1999 Bertho Stultiens
+ * Copyright 1999 Eric Kohl
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "windef.h"
diff --git a/dlls/comctl32/smoothscroll.c b/dlls/comctl32/smoothscroll.c
index e3bf9b6..dd1683d 100644
--- a/dlls/comctl32/smoothscroll.c
+++ b/dlls/comctl32/smoothscroll.c
@@ -3,6 +3,20 @@
*
* Copyright 2000 Marcus Meissner <marcus@jet.franken.de>
*
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
* TODO
* - actually add smooth scrolling
*/
@@ -11,9 +25,9 @@
#include "winreg.h"
#include "winerror.h"
#include "commctrl.h"
-#include "debugtools.h"
+#include "wine/debug.h"
-DEFAULT_DEBUG_CHANNEL(commctrl);
+WINE_DEFAULT_DEBUG_CHANNEL(commctrl);
static DWORD smoothscroll = 2;
diff --git a/dlls/comctl32/status.c b/dlls/comctl32/status.c
index da3f3d3..a0d0cf2 100644
--- a/dlls/comctl32/status.c
+++ b/dlls/comctl32/status.c
@@ -3,6 +3,20 @@
*
* Copyright 1996 Bruce Milner
* Copyright 1998, 1999 Eric Kohl
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/*
* FIXME/TODO
@@ -16,9 +30,9 @@
#include "winbase.h"
#include "wine/unicode.h"
#include "commctrl.h"
-#include "debugtools.h"
+#include "wine/debug.h"
-DEFAULT_DEBUG_CHANNEL(statusbar);
+WINE_DEFAULT_DEBUG_CHANNEL(statusbar);
typedef struct
{
diff --git a/dlls/comctl32/tab.c b/dlls/comctl32/tab.c
index c970402..59e23f1 100644
--- a/dlls/comctl32/tab.c
+++ b/dlls/comctl32/tab.c
@@ -5,6 +5,20 @@
* Copyright 1999 Alex Priem <alexp@sci.kun.nl>
* Copyright 1999 Francis Beaudet
*
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
* TODO:
* Image list support
* Unicode support (under construction)
@@ -18,10 +32,10 @@
#include "winbase.h"
#include "commctrl.h"
#include "comctl32.h"
-#include "debugtools.h"
+#include "wine/debug.h"
#include <math.h>
-DEFAULT_DEBUG_CHANNEL(tab);
+WINE_DEFAULT_DEBUG_CHANNEL(tab);
typedef struct
{
diff --git a/dlls/comctl32/toolbar.c b/dlls/comctl32/toolbar.c
index 6eff4e5..11a0084 100644
--- a/dlls/comctl32/toolbar.c
+++ b/dlls/comctl32/toolbar.c
@@ -4,6 +4,20 @@
* Copyright 1998,1999 Eric Kohl
* Copyright 2000 Eric Kohl for CodeWeavers
*
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
* Differences between MSDN and actual native control operation:
* 1. MSDN says: "TBSTYLE_LIST: Creates a flat toolbar with button text
* to the right of the bitmap. Otherwise, this style is
@@ -55,9 +69,9 @@
#include "commctrl.h"
#include "imagelist.h"
#include "comctl32.h"
-#include "debugtools.h"
+#include "wine/debug.h"
-DEFAULT_DEBUG_CHANNEL(toolbar);
+WINE_DEFAULT_DEBUG_CHANNEL(toolbar);
typedef struct
{
diff --git a/dlls/comctl32/tooltips.c b/dlls/comctl32/tooltips.c
index 712f38d..4c3887e 100644
--- a/dlls/comctl32/tooltips.c
+++ b/dlls/comctl32/tooltips.c
@@ -3,6 +3,20 @@
*
* Copyright 1998, 1999 Eric Kohl
*
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
* TODO:
* - Unicode support (started).
* - Custom draw support.
@@ -62,9 +76,9 @@
#include "winbase.h"
#include "wine/unicode.h"
#include "commctrl.h"
-#include "debugtools.h"
+#include "wine/debug.h"
-DEFAULT_DEBUG_CHANNEL(tooltips);
+WINE_DEFAULT_DEBUG_CHANNEL(tooltips);
typedef struct
{
diff --git a/dlls/comctl32/trackbar.c b/dlls/comctl32/trackbar.c
index 2a356b5..4bc2e59 100644
--- a/dlls/comctl32/trackbar.c
+++ b/dlls/comctl32/trackbar.c
@@ -4,6 +4,19 @@
* Copyright 1998, 1999 Eric Kohl <ekohl@abo.rhein-zeitung.de>
* Copyright 1998,1999 Alex Priem <alexp@sci.kun.nl>
*
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* TODO:
* - Some messages.
@@ -26,9 +39,9 @@
#include "winbase.h"
#include "commctrl.h"
-#include "debugtools.h"
+#include "wine/debug.h"
-DEFAULT_DEBUG_CHANNEL(trackbar);
+WINE_DEFAULT_DEBUG_CHANNEL(trackbar);
typedef struct
{
diff --git a/dlls/comctl32/treeview.c b/dlls/comctl32/treeview.c
index ec7d73c..649ba1f 100644
--- a/dlls/comctl32/treeview.c
+++ b/dlls/comctl32/treeview.c
@@ -4,6 +4,20 @@
* Copyright 1998,1999 Alex Priem <alexp@sci.kun.nl>
* Copyright 1999 Sylvain St-Germain
*
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
* Note that TREEVIEW_INFO * and HTREEITEM are the same thing.
*
* Note2: All items always! have valid (allocated) pszText field.
@@ -34,7 +48,7 @@
#include "wingdi.h"
#include "commctrl.h"
#include "comctl32.h"
-#include "debugtools.h"
+#include "wine/debug.h"
/* internal structures */
@@ -150,7 +164,7 @@
VOID TREEVIEW_Unregister (VOID);
-DEFAULT_DEBUG_CHANNEL(treeview);
+WINE_DEFAULT_DEBUG_CHANNEL(treeview);
#define TEXT_CALLBACK_SIZE 260
diff --git a/dlls/comctl32/updown.c b/dlls/comctl32/updown.c
index ee67fea..a08b6e0 100644
--- a/dlls/comctl32/updown.c
+++ b/dlls/comctl32/updown.c
@@ -3,6 +3,20 @@
*
* Copyright 1997 Dimitrie O. Paun
*
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
* TODO:
* - I think I do not handle correctly the WS_BORDER style.
* (Should be fixed. <ekohl@abo.rhein-zeitung.de>)
@@ -31,9 +45,9 @@
#include "winuser.h"
#include "commctrl.h"
#include "winnls.h"
-#include "debugtools.h"
+#include "wine/debug.h"
-DEFAULT_DEBUG_CHANNEL(updown);
+WINE_DEFAULT_DEBUG_CHANNEL(updown);
#define UPDOWN_BUDDYCLASSNAMELEN 40