major cleanups. introduced _g_log_fallback_handler() to handle recursive
authorTim Janik <timj@gtk.org>
Wed, 27 Mar 2002 17:57:30 +0000 (17:57 +0000)
committerTim Janik <timj@src.gnome.org>
Wed, 27 Mar 2002 17:57:30 +0000 (17:57 +0000)
commitf4d7817b139f2bd0915afff141e23d76fcb05a9c
tree567db8d574922c176e1b4275354595d99c5fffd1
parent564cbf8516604f18cb2d4c2f9417e6ff7e2933d7
major cleanups. introduced _g_log_fallback_handler() to handle recursive

Wed Mar 27 18:42:22 2002  Tim Janik  <timj@gtk.org>

        * gmessages.[hc]:
        major cleanups. introduced _g_log_fallback_handler() to handle
        recursive messages which really doesn't call any GLib functions.
        this allowes the default handler to use normal GLib functions and
        also fixes user supplied log level handlers.
        fixed locking issues, based on a patch from Sebastian Willhelmi,
        attached to #74356. translate log messages from UTF-8, based
        on the same patch. save fatal and recursion flags across flag
        loop. use new integer format code from above patch.
        move GLib functions out of locked mutex state to avoid deadlocks.
        move the level prefix and filedescriptor logic into mklevel_prefix().
        move _g_debug_init() into a place where we can figure and handle
        recursion.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/gmessages.c
glib/gmessages.h