New header containing GTK_DEBUG-style debugging support for GLib.
authorMatthias Clasen <matthiasc@src.gnome.org>
Thu, 21 Feb 2002 23:07:34 +0000 (23:07 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Thu, 21 Feb 2002 23:07:34 +0000 (23:07 +0000)
commit642897a7f32914495ab1e416717901597870422f
treea8ef684c4b4a57daee4205ec691f1f2cdab1b1be
parent470d428f1d4e1b73aa180ac4d56518a7cb54a769
New header containing GTK_DEBUG-style debugging support for GLib.

* glib/gdebug.h: New header containing GTK_DEBUG-style debugging
support for GLib. Currently only the fatal_warnings debug option exists.

* glib/gmessages.c (g_log_msg_prefix_init): New one-shot function
for parsing G_MESSAGES_PREFIXED.
(_g_debug_init): New one-shot function for parsing G_DEBUG.
(g_log_write_prefix): Use g_log_msg_prefix_init().
(g_messages_init): Use g_log_msg_prefix_init() and _g_debug_init().

* glib/Makefile.am (libglib_1_3_la_SOURCES): Add gdebug.h.

* glib/Makefile.am (IGNORE_HFILES): Add gdebug.h.

* glib/running.sgml: Document the G_DEBUG environment variable.

* glib/tmpl/threads.sgml: Replace g_thread_wait() by
g_thread_join() in two places.
15 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
docs/reference/ChangeLog
docs/reference/glib/Makefile.am
docs/reference/glib/running.sgml
docs/reference/glib/tmpl/threads.sgml
glib/Makefile.am
glib/gdebug.h [new file with mode: 0644]
glib/gmessages.c