summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog9
-rw-r--r--ChangeLog.pre-2-09
-rw-r--r--ChangeLog.pre-2-109
-rw-r--r--ChangeLog.pre-2-29
-rw-r--r--ChangeLog.pre-2-49
-rw-r--r--ChangeLog.pre-2-69
-rw-r--r--ChangeLog.pre-2-89
-rw-r--r--gdk/gdk.c9
-rw-r--r--gdk/gdkinternals.h7
9 files changed, 71 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index 6ffe5b0296..183c1ccca6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2002-02-13 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/gdkinternals.h: Add some more GdkDebugFlags, for more
+ fine-grained debugging output (mainly used in the Win32 backend).
+
+ * gdk/gdk.c: Corresponding additions to the gdk_debug_keys table.
+
Wed Feb 13 15:42:42 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktooltips.[ch] gtkwidget.c: Implement Control-F1
@@ -1706,7 +1713,7 @@ Sat Jan 12 16:57:31 2002 Kristian Rietveld <kris@gtk.org>
cursor, set the Windows cursor to none first.
* gdk/win32/gdkgc-win32.c (predraw_set_foreground): Delete the old
- brush that was in the DC, like the win32-procution branch does. I
+ brush that was in the DC, like the win32-production branch does. I
guess this plugs a resource leak? With the HDC cache, the old
brush might be something we created ourselves, and not a stock
brush. And it doesn't do any harm to call DeleteObject on stock
diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0
index 6ffe5b0296..183c1ccca6 100644
--- a/ChangeLog.pre-2-0
+++ b/ChangeLog.pre-2-0
@@ -1,3 +1,10 @@
+2002-02-13 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/gdkinternals.h: Add some more GdkDebugFlags, for more
+ fine-grained debugging output (mainly used in the Win32 backend).
+
+ * gdk/gdk.c: Corresponding additions to the gdk_debug_keys table.
+
Wed Feb 13 15:42:42 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktooltips.[ch] gtkwidget.c: Implement Control-F1
@@ -1706,7 +1713,7 @@ Sat Jan 12 16:57:31 2002 Kristian Rietveld <kris@gtk.org>
cursor, set the Windows cursor to none first.
* gdk/win32/gdkgc-win32.c (predraw_set_foreground): Delete the old
- brush that was in the DC, like the win32-procution branch does. I
+ brush that was in the DC, like the win32-production branch does. I
guess this plugs a resource leak? With the HDC cache, the old
brush might be something we created ourselves, and not a stock
brush. And it doesn't do any harm to call DeleteObject on stock
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index 6ffe5b0296..183c1ccca6 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,3 +1,10 @@
+2002-02-13 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/gdkinternals.h: Add some more GdkDebugFlags, for more
+ fine-grained debugging output (mainly used in the Win32 backend).
+
+ * gdk/gdk.c: Corresponding additions to the gdk_debug_keys table.
+
Wed Feb 13 15:42:42 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktooltips.[ch] gtkwidget.c: Implement Control-F1
@@ -1706,7 +1713,7 @@ Sat Jan 12 16:57:31 2002 Kristian Rietveld <kris@gtk.org>
cursor, set the Windows cursor to none first.
* gdk/win32/gdkgc-win32.c (predraw_set_foreground): Delete the old
- brush that was in the DC, like the win32-procution branch does. I
+ brush that was in the DC, like the win32-production branch does. I
guess this plugs a resource leak? With the HDC cache, the old
brush might be something we created ourselves, and not a stock
brush. And it doesn't do any harm to call DeleteObject on stock
diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2
index 6ffe5b0296..183c1ccca6 100644
--- a/ChangeLog.pre-2-2
+++ b/ChangeLog.pre-2-2
@@ -1,3 +1,10 @@
+2002-02-13 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/gdkinternals.h: Add some more GdkDebugFlags, for more
+ fine-grained debugging output (mainly used in the Win32 backend).
+
+ * gdk/gdk.c: Corresponding additions to the gdk_debug_keys table.
+
Wed Feb 13 15:42:42 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktooltips.[ch] gtkwidget.c: Implement Control-F1
@@ -1706,7 +1713,7 @@ Sat Jan 12 16:57:31 2002 Kristian Rietveld <kris@gtk.org>
cursor, set the Windows cursor to none first.
* gdk/win32/gdkgc-win32.c (predraw_set_foreground): Delete the old
- brush that was in the DC, like the win32-procution branch does. I
+ brush that was in the DC, like the win32-production branch does. I
guess this plugs a resource leak? With the HDC cache, the old
brush might be something we created ourselves, and not a stock
brush. And it doesn't do any harm to call DeleteObject on stock
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index 6ffe5b0296..183c1ccca6 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -1,3 +1,10 @@
+2002-02-13 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/gdkinternals.h: Add some more GdkDebugFlags, for more
+ fine-grained debugging output (mainly used in the Win32 backend).
+
+ * gdk/gdk.c: Corresponding additions to the gdk_debug_keys table.
+
Wed Feb 13 15:42:42 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktooltips.[ch] gtkwidget.c: Implement Control-F1
@@ -1706,7 +1713,7 @@ Sat Jan 12 16:57:31 2002 Kristian Rietveld <kris@gtk.org>
cursor, set the Windows cursor to none first.
* gdk/win32/gdkgc-win32.c (predraw_set_foreground): Delete the old
- brush that was in the DC, like the win32-procution branch does. I
+ brush that was in the DC, like the win32-production branch does. I
guess this plugs a resource leak? With the HDC cache, the old
brush might be something we created ourselves, and not a stock
brush. And it doesn't do any harm to call DeleteObject on stock
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index 6ffe5b0296..183c1ccca6 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -1,3 +1,10 @@
+2002-02-13 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/gdkinternals.h: Add some more GdkDebugFlags, for more
+ fine-grained debugging output (mainly used in the Win32 backend).
+
+ * gdk/gdk.c: Corresponding additions to the gdk_debug_keys table.
+
Wed Feb 13 15:42:42 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktooltips.[ch] gtkwidget.c: Implement Control-F1
@@ -1706,7 +1713,7 @@ Sat Jan 12 16:57:31 2002 Kristian Rietveld <kris@gtk.org>
cursor, set the Windows cursor to none first.
* gdk/win32/gdkgc-win32.c (predraw_set_foreground): Delete the old
- brush that was in the DC, like the win32-procution branch does. I
+ brush that was in the DC, like the win32-production branch does. I
guess this plugs a resource leak? With the HDC cache, the old
brush might be something we created ourselves, and not a stock
brush. And it doesn't do any harm to call DeleteObject on stock
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index 6ffe5b0296..183c1ccca6 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -1,3 +1,10 @@
+2002-02-13 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/gdkinternals.h: Add some more GdkDebugFlags, for more
+ fine-grained debugging output (mainly used in the Win32 backend).
+
+ * gdk/gdk.c: Corresponding additions to the gdk_debug_keys table.
+
Wed Feb 13 15:42:42 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktooltips.[ch] gtkwidget.c: Implement Control-F1
@@ -1706,7 +1713,7 @@ Sat Jan 12 16:57:31 2002 Kristian Rietveld <kris@gtk.org>
cursor, set the Windows cursor to none first.
* gdk/win32/gdkgc-win32.c (predraw_set_foreground): Delete the old
- brush that was in the DC, like the win32-procution branch does. I
+ brush that was in the DC, like the win32-production branch does. I
guess this plugs a resource leak? With the HDC cache, the old
brush might be something we created ourselves, and not a stock
brush. And it doesn't do any harm to call DeleteObject on stock
diff --git a/gdk/gdk.c b/gdk/gdk.c
index 04020ebc75..097a396422 100644
--- a/gdk/gdk.c
+++ b/gdk/gdk.c
@@ -59,9 +59,16 @@ static const GDebugKey gdk_debug_keys[] = {
{"dnd", GDK_DEBUG_DND},
{"xim", GDK_DEBUG_XIM},
{"nograbs", GDK_DEBUG_NOGRABS},
+ {"colormap", GDK_DEBUG_COLORMAP},
+ {"gdkrgb", GDK_DEBUG_GDKRGB},
+ {"gc", GDK_DEBUG_GC},
+ {"pixmap", GDK_DEBUG_PIXMAP},
+ {"image", GDK_DEBUG_IMAGE},
+ {"input", GDK_DEBUG_INPUT},
+ {"cursor", GDK_DEBUG_CURSOR},
};
-static const int gdk_ndebug_keys = sizeof(gdk_debug_keys)/sizeof(GDebugKey);
+static const int gdk_ndebug_keys = G_N_ELEMENTS (gdk_debug_keys);
#endif /* G_ENABLE_DEBUG */
diff --git a/gdk/gdkinternals.h b/gdk/gdkinternals.h
index 327d56560d..ae7a9451af 100644
--- a/gdk/gdkinternals.h
+++ b/gdk/gdkinternals.h
@@ -69,6 +69,13 @@ typedef enum {
GDK_DEBUG_DND = 1 << 2,
GDK_DEBUG_XIM = 1 << 3,
GDK_DEBUG_NOGRABS = 1 << 4,
+ GDK_DEBUG_COLORMAP = 1 << 5,
+ GDK_DEBUG_GDKRGB = 1 << 6,
+ GDK_DEBUG_GC = 1 << 7,
+ GDK_DEBUG_PIXMAP = 1 << 8,
+ GDK_DEBUG_IMAGE = 1 << 9,
+ GDK_DEBUG_INPUT = 1 <<10,
+ GDK_DEBUG_CURSOR = 1 <<11
} GdkDebugFlag;
#ifndef GDK_DISABLE_DEPRECATED