feature an extra MODULES parameter, so glib-config can be invoked with the

Mon Aug 17 01:46:14 1998  Tim Janik  <timj@gtk.org>

        * glib.m4: feature an extra MODULES parameter, so glib-config can
        be invoked with the "gmodule" argument.

        * glib.h: changed the log level to G_LOG_LEVEL_CRITICAL for all
        g_return*_if_fail statements, and made them issue a message
        like "assertion `%s' failed".

        * gmessages.c (g_logv): ugh, don't pass log_domain as NULL to
        g_log_find_domain.
This commit is contained in:
Tim Janik 1998-08-17 00:00:51 +00:00 committed by Tim Janik
parent d5803865b4
commit e93e494518
13 changed files with 125 additions and 24 deletions

View File

@ -1,3 +1,15 @@
Mon Aug 17 01:46:14 1998 Tim Janik <timj@gtk.org>
* glib.m4: feature an extra MODULES parameter, so glib-config can
be invoked with the "gmodule" argument.
* glib.h: changed the log level to G_LOG_LEVEL_CRITICAL for all
g_return*_if_fail statements, and made them issue a message
like "assertion `%s' failed".
* gmessages.c (g_logv): ugh, don't pass log_domain as NULL to
g_log_find_domain.
Sun Aug 16 20:28:27 1998 Tim Janik <timj@gtk.org>
* version bump to 1.1.3, binary age 0, interface age 0.

View File

@ -1,3 +1,15 @@
Mon Aug 17 01:46:14 1998 Tim Janik <timj@gtk.org>
* glib.m4: feature an extra MODULES parameter, so glib-config can
be invoked with the "gmodule" argument.
* glib.h: changed the log level to G_LOG_LEVEL_CRITICAL for all
g_return*_if_fail statements, and made them issue a message
like "assertion `%s' failed".
* gmessages.c (g_logv): ugh, don't pass log_domain as NULL to
g_log_find_domain.
Sun Aug 16 20:28:27 1998 Tim Janik <timj@gtk.org>
* version bump to 1.1.3, binary age 0, interface age 0.

View File

@ -1,3 +1,15 @@
Mon Aug 17 01:46:14 1998 Tim Janik <timj@gtk.org>
* glib.m4: feature an extra MODULES parameter, so glib-config can
be invoked with the "gmodule" argument.
* glib.h: changed the log level to G_LOG_LEVEL_CRITICAL for all
g_return*_if_fail statements, and made them issue a message
like "assertion `%s' failed".
* gmessages.c (g_logv): ugh, don't pass log_domain as NULL to
g_log_find_domain.
Sun Aug 16 20:28:27 1998 Tim Janik <timj@gtk.org>
* version bump to 1.1.3, binary age 0, interface age 0.

View File

@ -1,3 +1,15 @@
Mon Aug 17 01:46:14 1998 Tim Janik <timj@gtk.org>
* glib.m4: feature an extra MODULES parameter, so glib-config can
be invoked with the "gmodule" argument.
* glib.h: changed the log level to G_LOG_LEVEL_CRITICAL for all
g_return*_if_fail statements, and made them issue a message
like "assertion `%s' failed".
* gmessages.c (g_logv): ugh, don't pass log_domain as NULL to
g_log_find_domain.
Sun Aug 16 20:28:27 1998 Tim Janik <timj@gtk.org>
* version bump to 1.1.3, binary age 0, interface age 0.

View File

@ -1,3 +1,15 @@
Mon Aug 17 01:46:14 1998 Tim Janik <timj@gtk.org>
* glib.m4: feature an extra MODULES parameter, so glib-config can
be invoked with the "gmodule" argument.
* glib.h: changed the log level to G_LOG_LEVEL_CRITICAL for all
g_return*_if_fail statements, and made them issue a message
like "assertion `%s' failed".
* gmessages.c (g_logv): ugh, don't pass log_domain as NULL to
g_log_find_domain.
Sun Aug 16 20:28:27 1998 Tim Janik <timj@gtk.org>
* version bump to 1.1.3, binary age 0, interface age 0.

View File

@ -1,3 +1,15 @@
Mon Aug 17 01:46:14 1998 Tim Janik <timj@gtk.org>
* glib.m4: feature an extra MODULES parameter, so glib-config can
be invoked with the "gmodule" argument.
* glib.h: changed the log level to G_LOG_LEVEL_CRITICAL for all
g_return*_if_fail statements, and made them issue a message
like "assertion `%s' failed".
* gmessages.c (g_logv): ugh, don't pass log_domain as NULL to
g_log_find_domain.
Sun Aug 16 20:28:27 1998 Tim Janik <timj@gtk.org>
* version bump to 1.1.3, binary age 0, interface age 0.

View File

@ -1,3 +1,15 @@
Mon Aug 17 01:46:14 1998 Tim Janik <timj@gtk.org>
* glib.m4: feature an extra MODULES parameter, so glib-config can
be invoked with the "gmodule" argument.
* glib.h: changed the log level to G_LOG_LEVEL_CRITICAL for all
g_return*_if_fail statements, and made them issue a message
like "assertion `%s' failed".
* gmessages.c (g_logv): ugh, don't pass log_domain as NULL to
g_log_find_domain.
Sun Aug 16 20:28:27 1998 Tim Janik <timj@gtk.org>
* version bump to 1.1.3, binary age 0, interface age 0.

View File

@ -1,3 +1,15 @@
Mon Aug 17 01:46:14 1998 Tim Janik <timj@gtk.org>
* glib.m4: feature an extra MODULES parameter, so glib-config can
be invoked with the "gmodule" argument.
* glib.h: changed the log level to G_LOG_LEVEL_CRITICAL for all
g_return*_if_fail statements, and made them issue a message
like "assertion `%s' failed".
* gmessages.c (g_logv): ugh, don't pass log_domain as NULL to
g_log_find_domain.
Sun Aug 16 20:28:27 1998 Tim Janik <timj@gtk.org>
* version bump to 1.1.3, binary age 0, interface age 0.

16
glib.h
View File

@ -327,8 +327,8 @@
if (!(expr)) \
{ \
g_log (G_LOG_DOMAIN, \
G_LOG_LEVEL_WARNING, \
"file %s: line %d (%s): assertion failed: (%s)", \
G_LOG_LEVEL_CRITICAL, \
"file %s: line %d (%s): assertion `%s' failed.", \
__FILE__, \
__LINE__, \
__PRETTY_FUNCTION__, \
@ -340,8 +340,8 @@
if (!(expr)) \
{ \
g_log (G_LOG_DOMAIN, \
G_LOG_LEVEL_WARNING, \
"file %s: line %d (%s): assertion failed: (%s)", \
G_LOG_LEVEL_CRITICAL, \
"file %s: line %d (%s): assertion `%s' failed.", \
__FILE__, \
__LINE__, \
__PRETTY_FUNCTION__, \
@ -355,8 +355,8 @@
if (!(expr)) \
{ \
g_log (G_LOG_DOMAIN, \
G_LOG_LEVEL_WARNING, \
"file %s: line %d: assertion failed: (%s)", \
G_LOG_LEVEL_CRITICAL, \
"file %s: line %d: assertion `%s' failed.", \
__FILE__, \
__LINE__, \
#expr); \
@ -367,8 +367,8 @@
if (!(expr)) \
{ \
g_log (G_LOG_DOMAIN, \
G_LOG_LEVEL_WARNING, \
"file %s: line %d: assertion failed: (%s)", \
G_LOG_LEVEL_CRITICAL, \
"file %s: line %d: assertion `%s' failed.", \
__FILE__, \
__LINE__, \
#expr); \

View File

@ -1,8 +1,9 @@
# Configure paths for GLIB
# Owen Taylor 97-11-3
dnl AM_PATH_GLIB([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
dnl Test for GLIB, and define GLIB_CFLAGS and GLIB_LIBS
dnl AM_PATH_GLIB([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
dnl Test for GLIB, and define GLIB_CFLAGS and GLIB_LIBS, if "gmodule" is specified
dnl in MODULES, feature the glib-config gmodule option.
dnl
AC_DEFUN(AM_PATH_GLIB,
[dnl
@ -28,6 +29,10 @@ AC_ARG_ENABLE(glibtest, [ --disable-glibtest Do not try to compile and ru
fi
fi
case "$4" in
*gmodule*) glib_config_args="$glib_config_args gmodule";;
esac
AC_PATH_PROG(GLIB_CONFIG, glib-config, no)
min_glib_version=ifelse([$1], ,0.99.7,$1)
AC_MSG_CHECKING(for GLIB - version >= $min_glib_version)

View File

@ -327,8 +327,8 @@
if (!(expr)) \
{ \
g_log (G_LOG_DOMAIN, \
G_LOG_LEVEL_WARNING, \
"file %s: line %d (%s): assertion failed: (%s)", \
G_LOG_LEVEL_CRITICAL, \
"file %s: line %d (%s): assertion `%s' failed.", \
__FILE__, \
__LINE__, \
__PRETTY_FUNCTION__, \
@ -340,8 +340,8 @@
if (!(expr)) \
{ \
g_log (G_LOG_DOMAIN, \
G_LOG_LEVEL_WARNING, \
"file %s: line %d (%s): assertion failed: (%s)", \
G_LOG_LEVEL_CRITICAL, \
"file %s: line %d (%s): assertion `%s' failed.", \
__FILE__, \
__LINE__, \
__PRETTY_FUNCTION__, \
@ -355,8 +355,8 @@
if (!(expr)) \
{ \
g_log (G_LOG_DOMAIN, \
G_LOG_LEVEL_WARNING, \
"file %s: line %d: assertion failed: (%s)", \
G_LOG_LEVEL_CRITICAL, \
"file %s: line %d: assertion `%s' failed.", \
__FILE__, \
__LINE__, \
#expr); \
@ -367,8 +367,8 @@
if (!(expr)) \
{ \
g_log (G_LOG_DOMAIN, \
G_LOG_LEVEL_WARNING, \
"file %s: line %d: assertion failed: (%s)", \
G_LOG_LEVEL_CRITICAL, \
"file %s: line %d: assertion `%s' failed.", \
__FILE__, \
__LINE__, \
#expr); \

View File

@ -266,7 +266,7 @@ g_logv (const gchar *log_domain,
GLogFunc log_func;
gpointer data = NULL;
domain = g_log_find_domain (log_domain);
domain = g_log_find_domain (log_domain ? log_domain : "");
if (g_log_depth++)
test_level |= G_LOG_FLAG_RECURSION;

View File

@ -266,7 +266,7 @@ g_logv (const gchar *log_domain,
GLogFunc log_func;
gpointer data = NULL;
domain = g_log_find_domain (log_domain);
domain = g_log_find_domain (log_domain ? log_domain : "");
if (g_log_depth++)
test_level |= G_LOG_FLAG_RECURSION;