gmodule: New variable. (dist-hook): Handle $(BUILT_EXTRA_DIST).

gmodule:
* Makefile.am (BUILT_EXTRA_DIST): New variable.
(dist-hook): Handle $(BUILT_EXTRA_DIST).

gobject:
* Makefile.am (BUILT_EXTRA_DIST): New variable.
(dist-hook): Handle $(BUILT_EXTRA_DIST).
(*): Remove traces of @STRIP_{BEGIN,END}@.

gthread:
* Makefile.am (BUILT_EXTRA_DIST): New variable.
(dist-hook): Handle $(BUILT_EXTRA_DIST).

docs/reference:
'make distcheck' fixes.
* glib/Makefile.am (EXTRA_DIST): Add $(DOC_MODULE)-decl.txt.
(html): Run 'gtkdoc-fixxref' in $(srcdir).
(dist-check-gtkdoc): Add missing quote.
(dist-hook): Copy in dependency order, so that none of the
makerules are fired in a tarball build.

* gobject/Makefile.am: Likewise.

toplevel:
Remove need for acconfig.h, and misc. cleanups.
* acglib.m4 (GLIB_SIZEOF): Add 'autoheader' comment to
AC_DEFINE_UNQUOTED.
(GLIB_BYTE_CONTENTS): Likewise.

* configure.in: Add 'autoheader' comments to all AC_DEFINE(...)
and AC_DEFINE_UNQUOTED(...) lines.
Replace AC_MSG_CHECKING/AC_CACHE_VAL with AC_CACHE_CHECK.
(AM_PROG_LIBTOOL): Move after AC_PROG_CC.

* acconfig.h: Empty out.

* Makefile.am (BUILT_EXTRA_DIST): New variable.  List 'dist'able
files that are created in the builddir.
(dist-hook): Handle those files.
(libglib_1_3_la_SOURCES): Remove @ALLOCA@.  @ALLOCA@ should only
be used in an _LDADD or _LIBADD, since it expands (if necessary)
to 'alloca.o'.

* tests/Makefile.am (BUILT_EXTRA_DIST): New variable.
(dist-hook): Handle $(BUILT_EXTRA_DIST).
This commit is contained in:
Raja R Harinath 2000-10-16 01:02:19 +00:00
parent eb27cad0f0
commit a626a650e5
23 changed files with 1484 additions and 1297 deletions

176
ChangeLog
View File

@ -1,3 +1,27 @@
2000-10-15 Raja R Harinath <harinath@cs.umn.edu>
Remove need for acconfig.h, and misc. cleanups.
* acglib.m4 (GLIB_SIZEOF): Add 'autoheader' comment to
AC_DEFINE_UNQUOTED.
(GLIB_BYTE_CONTENTS): Likewise.
* configure.in: Add 'autoheader' comments to all AC_DEFINE(...)
and AC_DEFINE_UNQUOTED(...) lines.
Replace AC_MSG_CHECKING/AC_CACHE_VAL with AC_CACHE_CHECK.
(AM_PROG_LIBTOOL): Move after AC_PROG_CC.
* acconfig.h: Empty out.
* Makefile.am (BUILT_EXTRA_DIST): New variable. List 'dist'able
files that are created in the builddir.
(dist-hook): Handle those files.
(libglib_1_3_la_SOURCES): Remove @ALLOCA@. @ALLOCA@ should only
be used in an _LDADD or _LIBADD, since it expands (if necessary)
to 'alloca.o'.
* tests/Makefile.am (BUILT_EXTRA_DIST): New variable.
(dist-hook): Handle $(BUILT_EXTRA_DIST).
2000-10-13 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* grand.c: Added inline documentation.
@ -422,18 +446,18 @@ Mon Aug 21 14:39:36 2000 Owen Taylor <otaylor@redhat.com>
Sun Aug 6 20:06:02 2000 Tim Janik <timj@gtk.org>
* gmessages.c (g_log_domain_check_free): keep *last updated while
running through the domain list, so we don't screw up the removal,
patch provided by Gady Kozma <gadykozma@hotmail.com>.
* gmessages.c (g_log_domain_check_free): keep *last updated while
running through the domain list, so we don't screw up the removal,
patch provided by Gady Kozma <gadykozma@hotmail.com>.
Sun Aug 6 20:03:41 2000 Tim Janik <timj@gtk.org>
* gmessages.c (g_log_remove_handler): keep *last updated while running
through the handler list, so we don't screw up the removal.
* gmessages.c (g_log_remove_handler): keep *last updated while running
through the handler list, so we don't screw up the removal.
Sun Jul 30 16:54:13 2000 Owen Taylor <otaylor@redhat.com>
* gunicode.h: Fix stray character
* gunicode.h: Fix stray character
* gutf8.c (g_unichar_to_utf8): Allow outbuf to be NULL, in
which case we just compute the length.
@ -444,7 +468,7 @@ Sun Jul 30 16:54:13 2000 Owen Taylor <otaylor@redhat.com>
2000-07-31 Havoc Pennington <hp@redhat.com>
* glib-2.0.pc.in, gobject-2.0.pc.in, gmodule-2.0.pc.in,
* glib-2.0.pc.in, gobject-2.0.pc.in, gmodule-2.0.pc.in,
gobject-2.0.pc.in: pkg-config data files
* Makefile.am: Install/dist the .pc files
@ -554,18 +578,18 @@ Wed Jul 26 05:47:48 2000 Tim Janik <timj@gtk.org>
* glib.h: added g_strlcat() and g_strlcpy() wrappers, supplied by
David Wheeler <dwheeler@ida.org>:
* glib.h, gstrfuncs.c: added g_strlcpy and g_strlcat to support
safe manipulation of fixed-length string buffers.
These functions were originally developed by Todd Miller to simplify
development of security-related programs, and
are available on many (but not all) Unix-like systems,
including OpenBSD, FreeBSD, and Solaris. See
ftp://ftp.openbsd.org/pub/OpenBSD/src/lib/libc/string/strlcpy.3
and http://www.openbsd.org/security.html.
If there's a strlcpy/strlcat on the system, it's called, otherwise
an implementation is provided.
* glib.h, gstrfuncs.c: added g_strlcpy and g_strlcat to support
safe manipulation of fixed-length string buffers.
These functions were originally developed by Todd Miller to simplify
development of security-related programs, and
are available on many (but not all) Unix-like systems,
including OpenBSD, FreeBSD, and Solaris. See
ftp://ftp.openbsd.org/pub/OpenBSD/src/lib/libc/string/strlcpy.3
and http://www.openbsd.org/security.html.
If there's a strlcpy/strlcat on the system, it's called, otherwise
an implementation is provided.
* testglib.c: Added tests for g_strlcpy, g_strlcat.
* testglib.c: Added tests for g_strlcpy, g_strlcat.
Wed Jul 26 05:03:24 2000 Tim Janik <timj@gtk.org>
@ -734,7 +758,7 @@ Mon Jul 3 17:18:19 2000 Owen Taylor <otaylor@redhat.com>
Thu Jun 29 15:57:28 2000 Owen Taylor <otaylor@redhat.com>
* NEWS: updated
* NEWS: updated
* Makefile.am: added snapcheck target to go along with snapshot
@ -806,26 +830,26 @@ Mon May 29 14:10:35 2000 Owen Taylor <otaylor@redhat.com>
Fri May 19 11:39:29 2000 Tim Janik <timj@gtk.org>
* gutils.c (g_snprintf):
(g_vsnprintf): added argument assertments.
* gutils.c (g_snprintf):
(g_vsnprintf): added argument assertments.
* gstring.c (g_string_assign): added argument assertments.
(g_string_truncate): make len a guint.
* gstring.c (g_string_assign): added argument assertments.
(g_string_truncate): make len a guint.
Fri May 19 09:00:44 2000 Tim Janik <timj@gtk.org>
* gmem.c (g_free): fixed SIZEOF_LONG==4 assumption with
ENABLE_MEM_CHECK, from Art Haas <ahaas@neosoft.com>.
* gmem.c (g_free): fixed SIZEOF_LONG==4 assumption with
ENABLE_MEM_CHECK, from Art Haas <ahaas@neosoft.com>.
* gslist.c (g_slist_reverse): shut up compiler.
* gslist.c (g_slist_reverse): shut up compiler.
* gscanner.c (g_scanner_get_token_ll): removed inline assignment.
* gscanner.c (g_scanner_get_token_ll): removed inline assignment.
* garray.c: remove index>=0 checks for unsigned indices.
* garray.c: remove index>=0 checks for unsigned indices.
* gmain.c (g_idle_prepare): timeout assignment fix.
* gmain.c (g_idle_prepare): timeout assignment fix.
* gtree.c (g_tree_node_rotate_right): shut up compiler.
* gtree.c (g_tree_node_rotate_right): shut up compiler.
2000-05-13 Tor Lillqvist <tml@iki.fi>
@ -852,8 +876,8 @@ Fri May 19 09:00:44 2000 Tim Janik <timj@gtk.org>
Thu May 4 02:04:46 2000 Tim Janik <timj@gtk.org>
* configure.in (STRIP_DUMMY): some Make 3.79 $(strip ) versions are
broken and require an empty arg, give it to them.
* configure.in (STRIP_DUMMY): some Make 3.79 $(strip ) versions are
broken and require an empty arg, give it to them.
Fri Apr 28 23:54:35 2000 Tim Janik <timj@gtk.org>
@ -970,9 +994,9 @@ Wed May 10 19:52:44 2000 Owen Taylor <otaylor@redhat.com>
Wed Apr 19 08:32:32 2000 Tim Janik <timj@gtk.org>
* gscanner.c (g_scanner_new): make sure that
scanner->config->cset_skip_characters is "" instead of NULL, so we
don't segfault further on.
* gscanner.c (g_scanner_new): make sure that
scanner->config->cset_skip_characters is "" instead of NULL, so we
don't segfault further on.
2000-04-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
@ -1207,14 +1231,14 @@ Wed Mar 1 10:39:39 2000 Tim Janik <timj@gtk.org>
Fri Jan 28 11:37:41 2000 Owen Taylor <otaylor@redhat.com>
Bug #4156 - Changes vaguely modelled after Scott Gifford's patch
Bug #4156 - Changes vaguely modelled after Scott Gifford's patch
* gtimer.c (g_timer_elapsed): Never report negative times -
clip times to 0.
* gtimer.c (g_timer_elapsed): Never report negative times -
clip times to 0.
* gmain.c (g_timeout_prepare): Guard against unexpected
clock shifts by never setting a timeout of more than
data->interval msecs.
* gmain.c (g_timeout_prepare): Guard against unexpected
clock shifts by never setting a timeout of more than
data->interval msecs.
2000-02-27 Tor Lillqvist <tml@iki.fi>
@ -1235,7 +1259,7 @@ Fri Jan 28 11:37:41 2000 Owen Taylor <otaylor@redhat.com>
Thu Feb 17 12:53:44 2000 Tim Janik <timj@gtk.org>
* gstring.c: changed g_str_hash() to a 31 bit version based on
* gstring.c: changed g_str_hash() to a 31 bit version based on
a submission by Karl Nelson and hand optimized ad absurdum by
various people ;)
@ -1376,9 +1400,9 @@ Sun Jan 9 13:28:36 2000 Tim Janik <timj@gtk.org>
1999-11-08 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Make the test for getpwuid_r work on newer AIX
versions, too. Still works on Solaris and Linux. Patch from Craig
Rodrigues <rodrigc@mediaone.net>.
* configure.in: Make the test for getpwuid_r work on newer AIX
versions, too. Still works on Solaris and Linux. Patch from Craig
Rodrigues <rodrigc@mediaone.net>.
1999-11-08 Tor Lillqvist <tml@iki.fi>
@ -1424,13 +1448,13 @@ Sun Oct 31 18:55:01 1999 ape@spacetec.no (Asbjorn Pettersen)
Sun Oct 17 18:11:40 1999 Tim Janik <timj@gtk.org>
* gdataset.c (g_data_set_internal): remove g_dataset_global_lock around
destroy() notification here as well.
* gdataset.c (g_data_set_internal): remove g_dataset_global_lock around
destroy() notification here as well.
1999-10-15 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gdataset.c (g_datalist_clear_i): Avoid Freezing, when g_datalist
is called recursivly. Reported by Ola Andersson <rand@ling.umu.se>.
* gdataset.c (g_datalist_clear_i): Avoid Freezing, when g_datalist
is called recursivly. Reported by Ola Andersson <rand@ling.umu.se>.
Tue Oct 12 14:17:12 1999 Tim Janik <timj@gtk.org>
@ -1478,7 +1502,7 @@ Tue Oct 12 03:34:40 1999 Tim Janik <timj@gtk.org>
we handle G_LITTLE_ENDIAN and G_BIG_ENDIAN as of currently. ieee floats
and doubles are supported (used for storage) by at least intel, ppc and
sparc, reference:
http://twister.ou.edu/workshop.docs/common-tools/numerical_comp_guide/ncg_math.doc.html
http://twister.ou.edu/workshop.docs/common-tools/numerical_comp_guide/ncg_math.doc.html
Mon Oct 11 18:01:49 1999 Tim Janik <timj@gtk.org>
@ -2095,10 +2119,10 @@ Mon Mar 8 07:42:08 1999 Tim Janik <timj@gtk.org>
1999-03-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gutils.c (g_get_any_init): Fixed yet another bloody
implementation of getpwuid_r on AIX. Thanks to Olaf Dietsche
<olaf.dietsche+list.gtk@netcologne.de>. I would like a configure
test better than that, but have no idea, how to do that easily.
* gutils.c (g_get_any_init): Fixed yet another bloody
implementation of getpwuid_r on AIX. Thanks to Olaf Dietsche
<olaf.dietsche+list.gtk@netcologne.de>. I would like a configure
test better than that, but have no idea, how to do that easily.
Sun Feb 21 22:11:51 CST 1999 Shawn T. Amundson <amundson@gtk.org>
@ -2134,7 +2158,7 @@ Sat May 8 01:52:29 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
gmodule/Makefile.am
gmodule/gmodule.c
gmodule/gmoduleconf.h.in
gmodule/gmodule-beos.c
gmodule/gmodule-beos.c
gthread/Makefile.am: Port to BeOS by myself and Richard Offer.
1999-05-06 Tor Lillqvist <tml@iki.fi>
@ -2314,7 +2338,7 @@ Fri Mar 19 16:29:50 PST 1999 Manish Singh <yosh@gimp.org>
* acconfig.h: Removed unnecessary macros.
* glibconfig.h.win32, config.h.win32: Moved G_THREADS_IMPL_POSIX
* glibconfig.h.win32, config.h.win32: Moved G_THREADS_IMPL_POSIX
from config.h.win32 to glibconfig.h.win32. Taken from glib 1.2
branch.
@ -2329,39 +2353,39 @@ Wed Mar 17 03:14:56 1999 Tim Janik <timj@gtk.org>
Wed Mar 17 01:46:28 1999 Tim Janik <timj@gtk.org>
* merges from glib-1-2:
* merges from glib-1-2:
Sun Mar 14 17:50:35 1999 Tim Janik <timj@gtk.org>
* gmem.c (g_mem_chunk_*): changed a bunch of g_assert() statements
to g_return_if_fail().
(g_mem_profile):
(g_mem_chunk_print):
(g_mem_chunk_info): removed some extraneous "\n"s at the end of the log
messages.
* gmem.c (g_mem_chunk_*): changed a bunch of g_assert() statements
to g_return_if_fail().
(g_mem_profile):
(g_mem_chunk_print):
(g_mem_chunk_info): removed some extraneous "\n"s at the end of the log
messages.
* gtimer.c (g_timer_*): changed a bunch of g_assert() statements
to g_return_if_fail().
* grel.c (g_*): changed a bunch of g_assert() statements to
g_return_if_fail() and added some extra ones to check relation != NULL.
* gtimer.c (g_timer_*): changed a bunch of g_assert() statements
to g_return_if_fail().
* grel.c (g_*): changed a bunch of g_assert() statements to
g_return_if_fail() and added some extra ones to check relation != NULL.
Tue Mar 9 23:25:50 1999 Tim Janik <timj@gtk.org>
* configure.in: check for working realloc (NULL,).
* gmem.c (g_realloc): use malloc() for initial allocation on systems
where realloc(NULL,) will not work (this is the case on SunOS, reported
by Tom Geiger).
* configure.in: check for working realloc (NULL,).
* gmem.c (g_realloc): use malloc() for initial allocation on systems
where realloc(NULL,) will not work (this is the case on SunOS, reported
by Tom Geiger).
Mon Mar 8 07:42:08 1999 Tim Janik <timj@gtk.org>
* ghook.c (g_hook_unref): when !hook_list->is_setup, wrap the
flag around the call to g_hook_free() to avoid spurious
warnings (happens during destruction phase).
* ghook.c (g_hook_unref): when !hook_list->is_setup, wrap the
flag around the call to g_hook_free() to avoid spurious
warnings (happens during destruction phase).
1999-03-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gmem.c: Fixed a stupid cut'n'paste error of mine. Thanks to
Friedrich Dominicus <Friedrich.Dominicus@inka.de>
* gmem.c: Fixed a stupid cut'n'paste error of mine. Thanks to
Friedrich Dominicus <Friedrich.Dominicus@inka.de>
1999-03-16 Timur Bakeyev <mc@bat.ru>

View File

@ -1,3 +1,27 @@
2000-10-15 Raja R Harinath <harinath@cs.umn.edu>
Remove need for acconfig.h, and misc. cleanups.
* acglib.m4 (GLIB_SIZEOF): Add 'autoheader' comment to
AC_DEFINE_UNQUOTED.
(GLIB_BYTE_CONTENTS): Likewise.
* configure.in: Add 'autoheader' comments to all AC_DEFINE(...)
and AC_DEFINE_UNQUOTED(...) lines.
Replace AC_MSG_CHECKING/AC_CACHE_VAL with AC_CACHE_CHECK.
(AM_PROG_LIBTOOL): Move after AC_PROG_CC.
* acconfig.h: Empty out.
* Makefile.am (BUILT_EXTRA_DIST): New variable. List 'dist'able
files that are created in the builddir.
(dist-hook): Handle those files.
(libglib_1_3_la_SOURCES): Remove @ALLOCA@. @ALLOCA@ should only
be used in an _LDADD or _LIBADD, since it expands (if necessary)
to 'alloca.o'.
* tests/Makefile.am (BUILT_EXTRA_DIST): New variable.
(dist-hook): Handle $(BUILT_EXTRA_DIST).
2000-10-13 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* grand.c: Added inline documentation.
@ -422,18 +446,18 @@ Mon Aug 21 14:39:36 2000 Owen Taylor <otaylor@redhat.com>
Sun Aug 6 20:06:02 2000 Tim Janik <timj@gtk.org>
* gmessages.c (g_log_domain_check_free): keep *last updated while
running through the domain list, so we don't screw up the removal,
patch provided by Gady Kozma <gadykozma@hotmail.com>.
* gmessages.c (g_log_domain_check_free): keep *last updated while
running through the domain list, so we don't screw up the removal,
patch provided by Gady Kozma <gadykozma@hotmail.com>.
Sun Aug 6 20:03:41 2000 Tim Janik <timj@gtk.org>
* gmessages.c (g_log_remove_handler): keep *last updated while running
through the handler list, so we don't screw up the removal.
* gmessages.c (g_log_remove_handler): keep *last updated while running
through the handler list, so we don't screw up the removal.
Sun Jul 30 16:54:13 2000 Owen Taylor <otaylor@redhat.com>
* gunicode.h: Fix stray character
* gunicode.h: Fix stray character
* gutf8.c (g_unichar_to_utf8): Allow outbuf to be NULL, in
which case we just compute the length.
@ -444,7 +468,7 @@ Sun Jul 30 16:54:13 2000 Owen Taylor <otaylor@redhat.com>
2000-07-31 Havoc Pennington <hp@redhat.com>
* glib-2.0.pc.in, gobject-2.0.pc.in, gmodule-2.0.pc.in,
* glib-2.0.pc.in, gobject-2.0.pc.in, gmodule-2.0.pc.in,
gobject-2.0.pc.in: pkg-config data files
* Makefile.am: Install/dist the .pc files
@ -554,18 +578,18 @@ Wed Jul 26 05:47:48 2000 Tim Janik <timj@gtk.org>
* glib.h: added g_strlcat() and g_strlcpy() wrappers, supplied by
David Wheeler <dwheeler@ida.org>:
* glib.h, gstrfuncs.c: added g_strlcpy and g_strlcat to support
safe manipulation of fixed-length string buffers.
These functions were originally developed by Todd Miller to simplify
development of security-related programs, and
are available on many (but not all) Unix-like systems,
including OpenBSD, FreeBSD, and Solaris. See
ftp://ftp.openbsd.org/pub/OpenBSD/src/lib/libc/string/strlcpy.3
and http://www.openbsd.org/security.html.
If there's a strlcpy/strlcat on the system, it's called, otherwise
an implementation is provided.
* glib.h, gstrfuncs.c: added g_strlcpy and g_strlcat to support
safe manipulation of fixed-length string buffers.
These functions were originally developed by Todd Miller to simplify
development of security-related programs, and
are available on many (but not all) Unix-like systems,
including OpenBSD, FreeBSD, and Solaris. See
ftp://ftp.openbsd.org/pub/OpenBSD/src/lib/libc/string/strlcpy.3
and http://www.openbsd.org/security.html.
If there's a strlcpy/strlcat on the system, it's called, otherwise
an implementation is provided.
* testglib.c: Added tests for g_strlcpy, g_strlcat.
* testglib.c: Added tests for g_strlcpy, g_strlcat.
Wed Jul 26 05:03:24 2000 Tim Janik <timj@gtk.org>
@ -734,7 +758,7 @@ Mon Jul 3 17:18:19 2000 Owen Taylor <otaylor@redhat.com>
Thu Jun 29 15:57:28 2000 Owen Taylor <otaylor@redhat.com>
* NEWS: updated
* NEWS: updated
* Makefile.am: added snapcheck target to go along with snapshot
@ -806,26 +830,26 @@ Mon May 29 14:10:35 2000 Owen Taylor <otaylor@redhat.com>
Fri May 19 11:39:29 2000 Tim Janik <timj@gtk.org>
* gutils.c (g_snprintf):
(g_vsnprintf): added argument assertments.
* gutils.c (g_snprintf):
(g_vsnprintf): added argument assertments.
* gstring.c (g_string_assign): added argument assertments.
(g_string_truncate): make len a guint.
* gstring.c (g_string_assign): added argument assertments.
(g_string_truncate): make len a guint.
Fri May 19 09:00:44 2000 Tim Janik <timj@gtk.org>
* gmem.c (g_free): fixed SIZEOF_LONG==4 assumption with
ENABLE_MEM_CHECK, from Art Haas <ahaas@neosoft.com>.
* gmem.c (g_free): fixed SIZEOF_LONG==4 assumption with
ENABLE_MEM_CHECK, from Art Haas <ahaas@neosoft.com>.
* gslist.c (g_slist_reverse): shut up compiler.
* gslist.c (g_slist_reverse): shut up compiler.
* gscanner.c (g_scanner_get_token_ll): removed inline assignment.
* gscanner.c (g_scanner_get_token_ll): removed inline assignment.
* garray.c: remove index>=0 checks for unsigned indices.
* garray.c: remove index>=0 checks for unsigned indices.
* gmain.c (g_idle_prepare): timeout assignment fix.
* gmain.c (g_idle_prepare): timeout assignment fix.
* gtree.c (g_tree_node_rotate_right): shut up compiler.
* gtree.c (g_tree_node_rotate_right): shut up compiler.
2000-05-13 Tor Lillqvist <tml@iki.fi>
@ -852,8 +876,8 @@ Fri May 19 09:00:44 2000 Tim Janik <timj@gtk.org>
Thu May 4 02:04:46 2000 Tim Janik <timj@gtk.org>
* configure.in (STRIP_DUMMY): some Make 3.79 $(strip ) versions are
broken and require an empty arg, give it to them.
* configure.in (STRIP_DUMMY): some Make 3.79 $(strip ) versions are
broken and require an empty arg, give it to them.
Fri Apr 28 23:54:35 2000 Tim Janik <timj@gtk.org>
@ -970,9 +994,9 @@ Wed May 10 19:52:44 2000 Owen Taylor <otaylor@redhat.com>
Wed Apr 19 08:32:32 2000 Tim Janik <timj@gtk.org>
* gscanner.c (g_scanner_new): make sure that
scanner->config->cset_skip_characters is "" instead of NULL, so we
don't segfault further on.
* gscanner.c (g_scanner_new): make sure that
scanner->config->cset_skip_characters is "" instead of NULL, so we
don't segfault further on.
2000-04-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
@ -1207,14 +1231,14 @@ Wed Mar 1 10:39:39 2000 Tim Janik <timj@gtk.org>
Fri Jan 28 11:37:41 2000 Owen Taylor <otaylor@redhat.com>
Bug #4156 - Changes vaguely modelled after Scott Gifford's patch
Bug #4156 - Changes vaguely modelled after Scott Gifford's patch
* gtimer.c (g_timer_elapsed): Never report negative times -
clip times to 0.
* gtimer.c (g_timer_elapsed): Never report negative times -
clip times to 0.
* gmain.c (g_timeout_prepare): Guard against unexpected
clock shifts by never setting a timeout of more than
data->interval msecs.
* gmain.c (g_timeout_prepare): Guard against unexpected
clock shifts by never setting a timeout of more than
data->interval msecs.
2000-02-27 Tor Lillqvist <tml@iki.fi>
@ -1235,7 +1259,7 @@ Fri Jan 28 11:37:41 2000 Owen Taylor <otaylor@redhat.com>
Thu Feb 17 12:53:44 2000 Tim Janik <timj@gtk.org>
* gstring.c: changed g_str_hash() to a 31 bit version based on
* gstring.c: changed g_str_hash() to a 31 bit version based on
a submission by Karl Nelson and hand optimized ad absurdum by
various people ;)
@ -1376,9 +1400,9 @@ Sun Jan 9 13:28:36 2000 Tim Janik <timj@gtk.org>
1999-11-08 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Make the test for getpwuid_r work on newer AIX
versions, too. Still works on Solaris and Linux. Patch from Craig
Rodrigues <rodrigc@mediaone.net>.
* configure.in: Make the test for getpwuid_r work on newer AIX
versions, too. Still works on Solaris and Linux. Patch from Craig
Rodrigues <rodrigc@mediaone.net>.
1999-11-08 Tor Lillqvist <tml@iki.fi>
@ -1424,13 +1448,13 @@ Sun Oct 31 18:55:01 1999 ape@spacetec.no (Asbjorn Pettersen)
Sun Oct 17 18:11:40 1999 Tim Janik <timj@gtk.org>
* gdataset.c (g_data_set_internal): remove g_dataset_global_lock around
destroy() notification here as well.
* gdataset.c (g_data_set_internal): remove g_dataset_global_lock around
destroy() notification here as well.
1999-10-15 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gdataset.c (g_datalist_clear_i): Avoid Freezing, when g_datalist
is called recursivly. Reported by Ola Andersson <rand@ling.umu.se>.
* gdataset.c (g_datalist_clear_i): Avoid Freezing, when g_datalist
is called recursivly. Reported by Ola Andersson <rand@ling.umu.se>.
Tue Oct 12 14:17:12 1999 Tim Janik <timj@gtk.org>
@ -1478,7 +1502,7 @@ Tue Oct 12 03:34:40 1999 Tim Janik <timj@gtk.org>
we handle G_LITTLE_ENDIAN and G_BIG_ENDIAN as of currently. ieee floats
and doubles are supported (used for storage) by at least intel, ppc and
sparc, reference:
http://twister.ou.edu/workshop.docs/common-tools/numerical_comp_guide/ncg_math.doc.html
http://twister.ou.edu/workshop.docs/common-tools/numerical_comp_guide/ncg_math.doc.html
Mon Oct 11 18:01:49 1999 Tim Janik <timj@gtk.org>
@ -2095,10 +2119,10 @@ Mon Mar 8 07:42:08 1999 Tim Janik <timj@gtk.org>
1999-03-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gutils.c (g_get_any_init): Fixed yet another bloody
implementation of getpwuid_r on AIX. Thanks to Olaf Dietsche
<olaf.dietsche+list.gtk@netcologne.de>. I would like a configure
test better than that, but have no idea, how to do that easily.
* gutils.c (g_get_any_init): Fixed yet another bloody
implementation of getpwuid_r on AIX. Thanks to Olaf Dietsche
<olaf.dietsche+list.gtk@netcologne.de>. I would like a configure
test better than that, but have no idea, how to do that easily.
Sun Feb 21 22:11:51 CST 1999 Shawn T. Amundson <amundson@gtk.org>
@ -2134,7 +2158,7 @@ Sat May 8 01:52:29 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
gmodule/Makefile.am
gmodule/gmodule.c
gmodule/gmoduleconf.h.in
gmodule/gmodule-beos.c
gmodule/gmodule-beos.c
gthread/Makefile.am: Port to BeOS by myself and Richard Offer.
1999-05-06 Tor Lillqvist <tml@iki.fi>
@ -2314,7 +2338,7 @@ Fri Mar 19 16:29:50 PST 1999 Manish Singh <yosh@gimp.org>
* acconfig.h: Removed unnecessary macros.
* glibconfig.h.win32, config.h.win32: Moved G_THREADS_IMPL_POSIX
* glibconfig.h.win32, config.h.win32: Moved G_THREADS_IMPL_POSIX
from config.h.win32 to glibconfig.h.win32. Taken from glib 1.2
branch.
@ -2329,39 +2353,39 @@ Wed Mar 17 03:14:56 1999 Tim Janik <timj@gtk.org>
Wed Mar 17 01:46:28 1999 Tim Janik <timj@gtk.org>
* merges from glib-1-2:
* merges from glib-1-2:
Sun Mar 14 17:50:35 1999 Tim Janik <timj@gtk.org>
* gmem.c (g_mem_chunk_*): changed a bunch of g_assert() statements
to g_return_if_fail().
(g_mem_profile):
(g_mem_chunk_print):
(g_mem_chunk_info): removed some extraneous "\n"s at the end of the log
messages.
* gmem.c (g_mem_chunk_*): changed a bunch of g_assert() statements
to g_return_if_fail().
(g_mem_profile):
(g_mem_chunk_print):
(g_mem_chunk_info): removed some extraneous "\n"s at the end of the log
messages.
* gtimer.c (g_timer_*): changed a bunch of g_assert() statements
to g_return_if_fail().
* grel.c (g_*): changed a bunch of g_assert() statements to
g_return_if_fail() and added some extra ones to check relation != NULL.
* gtimer.c (g_timer_*): changed a bunch of g_assert() statements
to g_return_if_fail().
* grel.c (g_*): changed a bunch of g_assert() statements to
g_return_if_fail() and added some extra ones to check relation != NULL.
Tue Mar 9 23:25:50 1999 Tim Janik <timj@gtk.org>
* configure.in: check for working realloc (NULL,).
* gmem.c (g_realloc): use malloc() for initial allocation on systems
where realloc(NULL,) will not work (this is the case on SunOS, reported
by Tom Geiger).
* configure.in: check for working realloc (NULL,).
* gmem.c (g_realloc): use malloc() for initial allocation on systems
where realloc(NULL,) will not work (this is the case on SunOS, reported
by Tom Geiger).
Mon Mar 8 07:42:08 1999 Tim Janik <timj@gtk.org>
* ghook.c (g_hook_unref): when !hook_list->is_setup, wrap the
flag around the call to g_hook_free() to avoid spurious
warnings (happens during destruction phase).
* ghook.c (g_hook_unref): when !hook_list->is_setup, wrap the
flag around the call to g_hook_free() to avoid spurious
warnings (happens during destruction phase).
1999-03-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gmem.c: Fixed a stupid cut'n'paste error of mine. Thanks to
Friedrich Dominicus <Friedrich.Dominicus@inka.de>
* gmem.c: Fixed a stupid cut'n'paste error of mine. Thanks to
Friedrich Dominicus <Friedrich.Dominicus@inka.de>
1999-03-16 Timur Bakeyev <mc@bat.ru>

View File

@ -1,3 +1,27 @@
2000-10-15 Raja R Harinath <harinath@cs.umn.edu>
Remove need for acconfig.h, and misc. cleanups.
* acglib.m4 (GLIB_SIZEOF): Add 'autoheader' comment to
AC_DEFINE_UNQUOTED.
(GLIB_BYTE_CONTENTS): Likewise.
* configure.in: Add 'autoheader' comments to all AC_DEFINE(...)
and AC_DEFINE_UNQUOTED(...) lines.
Replace AC_MSG_CHECKING/AC_CACHE_VAL with AC_CACHE_CHECK.
(AM_PROG_LIBTOOL): Move after AC_PROG_CC.
* acconfig.h: Empty out.
* Makefile.am (BUILT_EXTRA_DIST): New variable. List 'dist'able
files that are created in the builddir.
(dist-hook): Handle those files.
(libglib_1_3_la_SOURCES): Remove @ALLOCA@. @ALLOCA@ should only
be used in an _LDADD or _LIBADD, since it expands (if necessary)
to 'alloca.o'.
* tests/Makefile.am (BUILT_EXTRA_DIST): New variable.
(dist-hook): Handle $(BUILT_EXTRA_DIST).
2000-10-13 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* grand.c: Added inline documentation.
@ -422,18 +446,18 @@ Mon Aug 21 14:39:36 2000 Owen Taylor <otaylor@redhat.com>
Sun Aug 6 20:06:02 2000 Tim Janik <timj@gtk.org>
* gmessages.c (g_log_domain_check_free): keep *last updated while
running through the domain list, so we don't screw up the removal,
patch provided by Gady Kozma <gadykozma@hotmail.com>.
* gmessages.c (g_log_domain_check_free): keep *last updated while
running through the domain list, so we don't screw up the removal,
patch provided by Gady Kozma <gadykozma@hotmail.com>.
Sun Aug 6 20:03:41 2000 Tim Janik <timj@gtk.org>
* gmessages.c (g_log_remove_handler): keep *last updated while running
through the handler list, so we don't screw up the removal.
* gmessages.c (g_log_remove_handler): keep *last updated while running
through the handler list, so we don't screw up the removal.
Sun Jul 30 16:54:13 2000 Owen Taylor <otaylor@redhat.com>
* gunicode.h: Fix stray character
* gunicode.h: Fix stray character
* gutf8.c (g_unichar_to_utf8): Allow outbuf to be NULL, in
which case we just compute the length.
@ -444,7 +468,7 @@ Sun Jul 30 16:54:13 2000 Owen Taylor <otaylor@redhat.com>
2000-07-31 Havoc Pennington <hp@redhat.com>
* glib-2.0.pc.in, gobject-2.0.pc.in, gmodule-2.0.pc.in,
* glib-2.0.pc.in, gobject-2.0.pc.in, gmodule-2.0.pc.in,
gobject-2.0.pc.in: pkg-config data files
* Makefile.am: Install/dist the .pc files
@ -554,18 +578,18 @@ Wed Jul 26 05:47:48 2000 Tim Janik <timj@gtk.org>
* glib.h: added g_strlcat() and g_strlcpy() wrappers, supplied by
David Wheeler <dwheeler@ida.org>:
* glib.h, gstrfuncs.c: added g_strlcpy and g_strlcat to support
safe manipulation of fixed-length string buffers.
These functions were originally developed by Todd Miller to simplify
development of security-related programs, and
are available on many (but not all) Unix-like systems,
including OpenBSD, FreeBSD, and Solaris. See
ftp://ftp.openbsd.org/pub/OpenBSD/src/lib/libc/string/strlcpy.3
and http://www.openbsd.org/security.html.
If there's a strlcpy/strlcat on the system, it's called, otherwise
an implementation is provided.
* glib.h, gstrfuncs.c: added g_strlcpy and g_strlcat to support
safe manipulation of fixed-length string buffers.
These functions were originally developed by Todd Miller to simplify
development of security-related programs, and
are available on many (but not all) Unix-like systems,
including OpenBSD, FreeBSD, and Solaris. See
ftp://ftp.openbsd.org/pub/OpenBSD/src/lib/libc/string/strlcpy.3
and http://www.openbsd.org/security.html.
If there's a strlcpy/strlcat on the system, it's called, otherwise
an implementation is provided.
* testglib.c: Added tests for g_strlcpy, g_strlcat.
* testglib.c: Added tests for g_strlcpy, g_strlcat.
Wed Jul 26 05:03:24 2000 Tim Janik <timj@gtk.org>
@ -734,7 +758,7 @@ Mon Jul 3 17:18:19 2000 Owen Taylor <otaylor@redhat.com>
Thu Jun 29 15:57:28 2000 Owen Taylor <otaylor@redhat.com>
* NEWS: updated
* NEWS: updated
* Makefile.am: added snapcheck target to go along with snapshot
@ -806,26 +830,26 @@ Mon May 29 14:10:35 2000 Owen Taylor <otaylor@redhat.com>
Fri May 19 11:39:29 2000 Tim Janik <timj@gtk.org>
* gutils.c (g_snprintf):
(g_vsnprintf): added argument assertments.
* gutils.c (g_snprintf):
(g_vsnprintf): added argument assertments.
* gstring.c (g_string_assign): added argument assertments.
(g_string_truncate): make len a guint.
* gstring.c (g_string_assign): added argument assertments.
(g_string_truncate): make len a guint.
Fri May 19 09:00:44 2000 Tim Janik <timj@gtk.org>
* gmem.c (g_free): fixed SIZEOF_LONG==4 assumption with
ENABLE_MEM_CHECK, from Art Haas <ahaas@neosoft.com>.
* gmem.c (g_free): fixed SIZEOF_LONG==4 assumption with
ENABLE_MEM_CHECK, from Art Haas <ahaas@neosoft.com>.
* gslist.c (g_slist_reverse): shut up compiler.
* gslist.c (g_slist_reverse): shut up compiler.
* gscanner.c (g_scanner_get_token_ll): removed inline assignment.
* gscanner.c (g_scanner_get_token_ll): removed inline assignment.
* garray.c: remove index>=0 checks for unsigned indices.
* garray.c: remove index>=0 checks for unsigned indices.
* gmain.c (g_idle_prepare): timeout assignment fix.
* gmain.c (g_idle_prepare): timeout assignment fix.
* gtree.c (g_tree_node_rotate_right): shut up compiler.
* gtree.c (g_tree_node_rotate_right): shut up compiler.
2000-05-13 Tor Lillqvist <tml@iki.fi>
@ -852,8 +876,8 @@ Fri May 19 09:00:44 2000 Tim Janik <timj@gtk.org>
Thu May 4 02:04:46 2000 Tim Janik <timj@gtk.org>
* configure.in (STRIP_DUMMY): some Make 3.79 $(strip ) versions are
broken and require an empty arg, give it to them.
* configure.in (STRIP_DUMMY): some Make 3.79 $(strip ) versions are
broken and require an empty arg, give it to them.
Fri Apr 28 23:54:35 2000 Tim Janik <timj@gtk.org>
@ -970,9 +994,9 @@ Wed May 10 19:52:44 2000 Owen Taylor <otaylor@redhat.com>
Wed Apr 19 08:32:32 2000 Tim Janik <timj@gtk.org>
* gscanner.c (g_scanner_new): make sure that
scanner->config->cset_skip_characters is "" instead of NULL, so we
don't segfault further on.
* gscanner.c (g_scanner_new): make sure that
scanner->config->cset_skip_characters is "" instead of NULL, so we
don't segfault further on.
2000-04-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
@ -1207,14 +1231,14 @@ Wed Mar 1 10:39:39 2000 Tim Janik <timj@gtk.org>
Fri Jan 28 11:37:41 2000 Owen Taylor <otaylor@redhat.com>
Bug #4156 - Changes vaguely modelled after Scott Gifford's patch
Bug #4156 - Changes vaguely modelled after Scott Gifford's patch
* gtimer.c (g_timer_elapsed): Never report negative times -
clip times to 0.
* gtimer.c (g_timer_elapsed): Never report negative times -
clip times to 0.
* gmain.c (g_timeout_prepare): Guard against unexpected
clock shifts by never setting a timeout of more than
data->interval msecs.
* gmain.c (g_timeout_prepare): Guard against unexpected
clock shifts by never setting a timeout of more than
data->interval msecs.
2000-02-27 Tor Lillqvist <tml@iki.fi>
@ -1235,7 +1259,7 @@ Fri Jan 28 11:37:41 2000 Owen Taylor <otaylor@redhat.com>
Thu Feb 17 12:53:44 2000 Tim Janik <timj@gtk.org>
* gstring.c: changed g_str_hash() to a 31 bit version based on
* gstring.c: changed g_str_hash() to a 31 bit version based on
a submission by Karl Nelson and hand optimized ad absurdum by
various people ;)
@ -1376,9 +1400,9 @@ Sun Jan 9 13:28:36 2000 Tim Janik <timj@gtk.org>
1999-11-08 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Make the test for getpwuid_r work on newer AIX
versions, too. Still works on Solaris and Linux. Patch from Craig
Rodrigues <rodrigc@mediaone.net>.
* configure.in: Make the test for getpwuid_r work on newer AIX
versions, too. Still works on Solaris and Linux. Patch from Craig
Rodrigues <rodrigc@mediaone.net>.
1999-11-08 Tor Lillqvist <tml@iki.fi>
@ -1424,13 +1448,13 @@ Sun Oct 31 18:55:01 1999 ape@spacetec.no (Asbjorn Pettersen)
Sun Oct 17 18:11:40 1999 Tim Janik <timj@gtk.org>
* gdataset.c (g_data_set_internal): remove g_dataset_global_lock around
destroy() notification here as well.
* gdataset.c (g_data_set_internal): remove g_dataset_global_lock around
destroy() notification here as well.
1999-10-15 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gdataset.c (g_datalist_clear_i): Avoid Freezing, when g_datalist
is called recursivly. Reported by Ola Andersson <rand@ling.umu.se>.
* gdataset.c (g_datalist_clear_i): Avoid Freezing, when g_datalist
is called recursivly. Reported by Ola Andersson <rand@ling.umu.se>.
Tue Oct 12 14:17:12 1999 Tim Janik <timj@gtk.org>
@ -1478,7 +1502,7 @@ Tue Oct 12 03:34:40 1999 Tim Janik <timj@gtk.org>
we handle G_LITTLE_ENDIAN and G_BIG_ENDIAN as of currently. ieee floats
and doubles are supported (used for storage) by at least intel, ppc and
sparc, reference:
http://twister.ou.edu/workshop.docs/common-tools/numerical_comp_guide/ncg_math.doc.html
http://twister.ou.edu/workshop.docs/common-tools/numerical_comp_guide/ncg_math.doc.html
Mon Oct 11 18:01:49 1999 Tim Janik <timj@gtk.org>
@ -2095,10 +2119,10 @@ Mon Mar 8 07:42:08 1999 Tim Janik <timj@gtk.org>
1999-03-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gutils.c (g_get_any_init): Fixed yet another bloody
implementation of getpwuid_r on AIX. Thanks to Olaf Dietsche
<olaf.dietsche+list.gtk@netcologne.de>. I would like a configure
test better than that, but have no idea, how to do that easily.
* gutils.c (g_get_any_init): Fixed yet another bloody
implementation of getpwuid_r on AIX. Thanks to Olaf Dietsche
<olaf.dietsche+list.gtk@netcologne.de>. I would like a configure
test better than that, but have no idea, how to do that easily.
Sun Feb 21 22:11:51 CST 1999 Shawn T. Amundson <amundson@gtk.org>
@ -2134,7 +2158,7 @@ Sat May 8 01:52:29 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
gmodule/Makefile.am
gmodule/gmodule.c
gmodule/gmoduleconf.h.in
gmodule/gmodule-beos.c
gmodule/gmodule-beos.c
gthread/Makefile.am: Port to BeOS by myself and Richard Offer.
1999-05-06 Tor Lillqvist <tml@iki.fi>
@ -2314,7 +2338,7 @@ Fri Mar 19 16:29:50 PST 1999 Manish Singh <yosh@gimp.org>
* acconfig.h: Removed unnecessary macros.
* glibconfig.h.win32, config.h.win32: Moved G_THREADS_IMPL_POSIX
* glibconfig.h.win32, config.h.win32: Moved G_THREADS_IMPL_POSIX
from config.h.win32 to glibconfig.h.win32. Taken from glib 1.2
branch.
@ -2329,39 +2353,39 @@ Wed Mar 17 03:14:56 1999 Tim Janik <timj@gtk.org>
Wed Mar 17 01:46:28 1999 Tim Janik <timj@gtk.org>
* merges from glib-1-2:
* merges from glib-1-2:
Sun Mar 14 17:50:35 1999 Tim Janik <timj@gtk.org>
* gmem.c (g_mem_chunk_*): changed a bunch of g_assert() statements
to g_return_if_fail().
(g_mem_profile):
(g_mem_chunk_print):
(g_mem_chunk_info): removed some extraneous "\n"s at the end of the log
messages.
* gmem.c (g_mem_chunk_*): changed a bunch of g_assert() statements
to g_return_if_fail().
(g_mem_profile):
(g_mem_chunk_print):
(g_mem_chunk_info): removed some extraneous "\n"s at the end of the log
messages.
* gtimer.c (g_timer_*): changed a bunch of g_assert() statements
to g_return_if_fail().
* grel.c (g_*): changed a bunch of g_assert() statements to
g_return_if_fail() and added some extra ones to check relation != NULL.
* gtimer.c (g_timer_*): changed a bunch of g_assert() statements
to g_return_if_fail().
* grel.c (g_*): changed a bunch of g_assert() statements to
g_return_if_fail() and added some extra ones to check relation != NULL.
Tue Mar 9 23:25:50 1999 Tim Janik <timj@gtk.org>
* configure.in: check for working realloc (NULL,).
* gmem.c (g_realloc): use malloc() for initial allocation on systems
where realloc(NULL,) will not work (this is the case on SunOS, reported
by Tom Geiger).
* configure.in: check for working realloc (NULL,).
* gmem.c (g_realloc): use malloc() for initial allocation on systems
where realloc(NULL,) will not work (this is the case on SunOS, reported
by Tom Geiger).
Mon Mar 8 07:42:08 1999 Tim Janik <timj@gtk.org>
* ghook.c (g_hook_unref): when !hook_list->is_setup, wrap the
flag around the call to g_hook_free() to avoid spurious
warnings (happens during destruction phase).
* ghook.c (g_hook_unref): when !hook_list->is_setup, wrap the
flag around the call to g_hook_free() to avoid spurious
warnings (happens during destruction phase).
1999-03-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gmem.c: Fixed a stupid cut'n'paste error of mine. Thanks to
Friedrich Dominicus <Friedrich.Dominicus@inka.de>
* gmem.c: Fixed a stupid cut'n'paste error of mine. Thanks to
Friedrich Dominicus <Friedrich.Dominicus@inka.de>
1999-03-16 Timur Bakeyev <mc@bat.ru>

View File

@ -1,3 +1,27 @@
2000-10-15 Raja R Harinath <harinath@cs.umn.edu>
Remove need for acconfig.h, and misc. cleanups.
* acglib.m4 (GLIB_SIZEOF): Add 'autoheader' comment to
AC_DEFINE_UNQUOTED.
(GLIB_BYTE_CONTENTS): Likewise.
* configure.in: Add 'autoheader' comments to all AC_DEFINE(...)
and AC_DEFINE_UNQUOTED(...) lines.
Replace AC_MSG_CHECKING/AC_CACHE_VAL with AC_CACHE_CHECK.
(AM_PROG_LIBTOOL): Move after AC_PROG_CC.
* acconfig.h: Empty out.
* Makefile.am (BUILT_EXTRA_DIST): New variable. List 'dist'able
files that are created in the builddir.
(dist-hook): Handle those files.
(libglib_1_3_la_SOURCES): Remove @ALLOCA@. @ALLOCA@ should only
be used in an _LDADD or _LIBADD, since it expands (if necessary)
to 'alloca.o'.
* tests/Makefile.am (BUILT_EXTRA_DIST): New variable.
(dist-hook): Handle $(BUILT_EXTRA_DIST).
2000-10-13 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* grand.c: Added inline documentation.
@ -422,18 +446,18 @@ Mon Aug 21 14:39:36 2000 Owen Taylor <otaylor@redhat.com>
Sun Aug 6 20:06:02 2000 Tim Janik <timj@gtk.org>
* gmessages.c (g_log_domain_check_free): keep *last updated while
running through the domain list, so we don't screw up the removal,
patch provided by Gady Kozma <gadykozma@hotmail.com>.
* gmessages.c (g_log_domain_check_free): keep *last updated while
running through the domain list, so we don't screw up the removal,
patch provided by Gady Kozma <gadykozma@hotmail.com>.
Sun Aug 6 20:03:41 2000 Tim Janik <timj@gtk.org>
* gmessages.c (g_log_remove_handler): keep *last updated while running
through the handler list, so we don't screw up the removal.
* gmessages.c (g_log_remove_handler): keep *last updated while running
through the handler list, so we don't screw up the removal.
Sun Jul 30 16:54:13 2000 Owen Taylor <otaylor@redhat.com>
* gunicode.h: Fix stray character
* gunicode.h: Fix stray character
* gutf8.c (g_unichar_to_utf8): Allow outbuf to be NULL, in
which case we just compute the length.
@ -444,7 +468,7 @@ Sun Jul 30 16:54:13 2000 Owen Taylor <otaylor@redhat.com>
2000-07-31 Havoc Pennington <hp@redhat.com>
* glib-2.0.pc.in, gobject-2.0.pc.in, gmodule-2.0.pc.in,
* glib-2.0.pc.in, gobject-2.0.pc.in, gmodule-2.0.pc.in,
gobject-2.0.pc.in: pkg-config data files
* Makefile.am: Install/dist the .pc files
@ -554,18 +578,18 @@ Wed Jul 26 05:47:48 2000 Tim Janik <timj@gtk.org>
* glib.h: added g_strlcat() and g_strlcpy() wrappers, supplied by
David Wheeler <dwheeler@ida.org>:
* glib.h, gstrfuncs.c: added g_strlcpy and g_strlcat to support
safe manipulation of fixed-length string buffers.
These functions were originally developed by Todd Miller to simplify
development of security-related programs, and
are available on many (but not all) Unix-like systems,
including OpenBSD, FreeBSD, and Solaris. See
ftp://ftp.openbsd.org/pub/OpenBSD/src/lib/libc/string/strlcpy.3
and http://www.openbsd.org/security.html.
If there's a strlcpy/strlcat on the system, it's called, otherwise
an implementation is provided.
* glib.h, gstrfuncs.c: added g_strlcpy and g_strlcat to support
safe manipulation of fixed-length string buffers.
These functions were originally developed by Todd Miller to simplify
development of security-related programs, and
are available on many (but not all) Unix-like systems,
including OpenBSD, FreeBSD, and Solaris. See
ftp://ftp.openbsd.org/pub/OpenBSD/src/lib/libc/string/strlcpy.3
and http://www.openbsd.org/security.html.
If there's a strlcpy/strlcat on the system, it's called, otherwise
an implementation is provided.
* testglib.c: Added tests for g_strlcpy, g_strlcat.
* testglib.c: Added tests for g_strlcpy, g_strlcat.
Wed Jul 26 05:03:24 2000 Tim Janik <timj@gtk.org>
@ -734,7 +758,7 @@ Mon Jul 3 17:18:19 2000 Owen Taylor <otaylor@redhat.com>
Thu Jun 29 15:57:28 2000 Owen Taylor <otaylor@redhat.com>
* NEWS: updated
* NEWS: updated
* Makefile.am: added snapcheck target to go along with snapshot
@ -806,26 +830,26 @@ Mon May 29 14:10:35 2000 Owen Taylor <otaylor@redhat.com>
Fri May 19 11:39:29 2000 Tim Janik <timj@gtk.org>
* gutils.c (g_snprintf):
(g_vsnprintf): added argument assertments.
* gutils.c (g_snprintf):
(g_vsnprintf): added argument assertments.
* gstring.c (g_string_assign): added argument assertments.
(g_string_truncate): make len a guint.
* gstring.c (g_string_assign): added argument assertments.
(g_string_truncate): make len a guint.
Fri May 19 09:00:44 2000 Tim Janik <timj@gtk.org>
* gmem.c (g_free): fixed SIZEOF_LONG==4 assumption with
ENABLE_MEM_CHECK, from Art Haas <ahaas@neosoft.com>.
* gmem.c (g_free): fixed SIZEOF_LONG==4 assumption with
ENABLE_MEM_CHECK, from Art Haas <ahaas@neosoft.com>.
* gslist.c (g_slist_reverse): shut up compiler.
* gslist.c (g_slist_reverse): shut up compiler.
* gscanner.c (g_scanner_get_token_ll): removed inline assignment.
* gscanner.c (g_scanner_get_token_ll): removed inline assignment.
* garray.c: remove index>=0 checks for unsigned indices.
* garray.c: remove index>=0 checks for unsigned indices.
* gmain.c (g_idle_prepare): timeout assignment fix.
* gmain.c (g_idle_prepare): timeout assignment fix.
* gtree.c (g_tree_node_rotate_right): shut up compiler.
* gtree.c (g_tree_node_rotate_right): shut up compiler.
2000-05-13 Tor Lillqvist <tml@iki.fi>
@ -852,8 +876,8 @@ Fri May 19 09:00:44 2000 Tim Janik <timj@gtk.org>
Thu May 4 02:04:46 2000 Tim Janik <timj@gtk.org>
* configure.in (STRIP_DUMMY): some Make 3.79 $(strip ) versions are
broken and require an empty arg, give it to them.
* configure.in (STRIP_DUMMY): some Make 3.79 $(strip ) versions are
broken and require an empty arg, give it to them.
Fri Apr 28 23:54:35 2000 Tim Janik <timj@gtk.org>
@ -970,9 +994,9 @@ Wed May 10 19:52:44 2000 Owen Taylor <otaylor@redhat.com>
Wed Apr 19 08:32:32 2000 Tim Janik <timj@gtk.org>
* gscanner.c (g_scanner_new): make sure that
scanner->config->cset_skip_characters is "" instead of NULL, so we
don't segfault further on.
* gscanner.c (g_scanner_new): make sure that
scanner->config->cset_skip_characters is "" instead of NULL, so we
don't segfault further on.
2000-04-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
@ -1207,14 +1231,14 @@ Wed Mar 1 10:39:39 2000 Tim Janik <timj@gtk.org>
Fri Jan 28 11:37:41 2000 Owen Taylor <otaylor@redhat.com>
Bug #4156 - Changes vaguely modelled after Scott Gifford's patch
Bug #4156 - Changes vaguely modelled after Scott Gifford's patch
* gtimer.c (g_timer_elapsed): Never report negative times -
clip times to 0.
* gtimer.c (g_timer_elapsed): Never report negative times -
clip times to 0.
* gmain.c (g_timeout_prepare): Guard against unexpected
clock shifts by never setting a timeout of more than
data->interval msecs.
* gmain.c (g_timeout_prepare): Guard against unexpected
clock shifts by never setting a timeout of more than
data->interval msecs.
2000-02-27 Tor Lillqvist <tml@iki.fi>
@ -1235,7 +1259,7 @@ Fri Jan 28 11:37:41 2000 Owen Taylor <otaylor@redhat.com>
Thu Feb 17 12:53:44 2000 Tim Janik <timj@gtk.org>
* gstring.c: changed g_str_hash() to a 31 bit version based on
* gstring.c: changed g_str_hash() to a 31 bit version based on
a submission by Karl Nelson and hand optimized ad absurdum by
various people ;)
@ -1376,9 +1400,9 @@ Sun Jan 9 13:28:36 2000 Tim Janik <timj@gtk.org>
1999-11-08 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Make the test for getpwuid_r work on newer AIX
versions, too. Still works on Solaris and Linux. Patch from Craig
Rodrigues <rodrigc@mediaone.net>.
* configure.in: Make the test for getpwuid_r work on newer AIX
versions, too. Still works on Solaris and Linux. Patch from Craig
Rodrigues <rodrigc@mediaone.net>.
1999-11-08 Tor Lillqvist <tml@iki.fi>
@ -1424,13 +1448,13 @@ Sun Oct 31 18:55:01 1999 ape@spacetec.no (Asbjorn Pettersen)
Sun Oct 17 18:11:40 1999 Tim Janik <timj@gtk.org>
* gdataset.c (g_data_set_internal): remove g_dataset_global_lock around
destroy() notification here as well.
* gdataset.c (g_data_set_internal): remove g_dataset_global_lock around
destroy() notification here as well.
1999-10-15 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gdataset.c (g_datalist_clear_i): Avoid Freezing, when g_datalist
is called recursivly. Reported by Ola Andersson <rand@ling.umu.se>.
* gdataset.c (g_datalist_clear_i): Avoid Freezing, when g_datalist
is called recursivly. Reported by Ola Andersson <rand@ling.umu.se>.
Tue Oct 12 14:17:12 1999 Tim Janik <timj@gtk.org>
@ -1478,7 +1502,7 @@ Tue Oct 12 03:34:40 1999 Tim Janik <timj@gtk.org>
we handle G_LITTLE_ENDIAN and G_BIG_ENDIAN as of currently. ieee floats
and doubles are supported (used for storage) by at least intel, ppc and
sparc, reference:
http://twister.ou.edu/workshop.docs/common-tools/numerical_comp_guide/ncg_math.doc.html
http://twister.ou.edu/workshop.docs/common-tools/numerical_comp_guide/ncg_math.doc.html
Mon Oct 11 18:01:49 1999 Tim Janik <timj@gtk.org>
@ -2095,10 +2119,10 @@ Mon Mar 8 07:42:08 1999 Tim Janik <timj@gtk.org>
1999-03-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gutils.c (g_get_any_init): Fixed yet another bloody
implementation of getpwuid_r on AIX. Thanks to Olaf Dietsche
<olaf.dietsche+list.gtk@netcologne.de>. I would like a configure
test better than that, but have no idea, how to do that easily.
* gutils.c (g_get_any_init): Fixed yet another bloody
implementation of getpwuid_r on AIX. Thanks to Olaf Dietsche
<olaf.dietsche+list.gtk@netcologne.de>. I would like a configure
test better than that, but have no idea, how to do that easily.
Sun Feb 21 22:11:51 CST 1999 Shawn T. Amundson <amundson@gtk.org>
@ -2134,7 +2158,7 @@ Sat May 8 01:52:29 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
gmodule/Makefile.am
gmodule/gmodule.c
gmodule/gmoduleconf.h.in
gmodule/gmodule-beos.c
gmodule/gmodule-beos.c
gthread/Makefile.am: Port to BeOS by myself and Richard Offer.
1999-05-06 Tor Lillqvist <tml@iki.fi>
@ -2314,7 +2338,7 @@ Fri Mar 19 16:29:50 PST 1999 Manish Singh <yosh@gimp.org>
* acconfig.h: Removed unnecessary macros.
* glibconfig.h.win32, config.h.win32: Moved G_THREADS_IMPL_POSIX
* glibconfig.h.win32, config.h.win32: Moved G_THREADS_IMPL_POSIX
from config.h.win32 to glibconfig.h.win32. Taken from glib 1.2
branch.
@ -2329,39 +2353,39 @@ Wed Mar 17 03:14:56 1999 Tim Janik <timj@gtk.org>
Wed Mar 17 01:46:28 1999 Tim Janik <timj@gtk.org>
* merges from glib-1-2:
* merges from glib-1-2:
Sun Mar 14 17:50:35 1999 Tim Janik <timj@gtk.org>
* gmem.c (g_mem_chunk_*): changed a bunch of g_assert() statements
to g_return_if_fail().
(g_mem_profile):
(g_mem_chunk_print):
(g_mem_chunk_info): removed some extraneous "\n"s at the end of the log
messages.
* gmem.c (g_mem_chunk_*): changed a bunch of g_assert() statements
to g_return_if_fail().
(g_mem_profile):
(g_mem_chunk_print):
(g_mem_chunk_info): removed some extraneous "\n"s at the end of the log
messages.
* gtimer.c (g_timer_*): changed a bunch of g_assert() statements
to g_return_if_fail().
* grel.c (g_*): changed a bunch of g_assert() statements to
g_return_if_fail() and added some extra ones to check relation != NULL.
* gtimer.c (g_timer_*): changed a bunch of g_assert() statements
to g_return_if_fail().
* grel.c (g_*): changed a bunch of g_assert() statements to
g_return_if_fail() and added some extra ones to check relation != NULL.
Tue Mar 9 23:25:50 1999 Tim Janik <timj@gtk.org>
* configure.in: check for working realloc (NULL,).
* gmem.c (g_realloc): use malloc() for initial allocation on systems
where realloc(NULL,) will not work (this is the case on SunOS, reported
by Tom Geiger).
* configure.in: check for working realloc (NULL,).
* gmem.c (g_realloc): use malloc() for initial allocation on systems
where realloc(NULL,) will not work (this is the case on SunOS, reported
by Tom Geiger).
Mon Mar 8 07:42:08 1999 Tim Janik <timj@gtk.org>
* ghook.c (g_hook_unref): when !hook_list->is_setup, wrap the
flag around the call to g_hook_free() to avoid spurious
warnings (happens during destruction phase).
* ghook.c (g_hook_unref): when !hook_list->is_setup, wrap the
flag around the call to g_hook_free() to avoid spurious
warnings (happens during destruction phase).
1999-03-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gmem.c: Fixed a stupid cut'n'paste error of mine. Thanks to
Friedrich Dominicus <Friedrich.Dominicus@inka.de>
* gmem.c: Fixed a stupid cut'n'paste error of mine. Thanks to
Friedrich Dominicus <Friedrich.Dominicus@inka.de>
1999-03-16 Timur Bakeyev <mc@bat.ru>

View File

@ -1,3 +1,27 @@
2000-10-15 Raja R Harinath <harinath@cs.umn.edu>
Remove need for acconfig.h, and misc. cleanups.
* acglib.m4 (GLIB_SIZEOF): Add 'autoheader' comment to
AC_DEFINE_UNQUOTED.
(GLIB_BYTE_CONTENTS): Likewise.
* configure.in: Add 'autoheader' comments to all AC_DEFINE(...)
and AC_DEFINE_UNQUOTED(...) lines.
Replace AC_MSG_CHECKING/AC_CACHE_VAL with AC_CACHE_CHECK.
(AM_PROG_LIBTOOL): Move after AC_PROG_CC.
* acconfig.h: Empty out.
* Makefile.am (BUILT_EXTRA_DIST): New variable. List 'dist'able
files that are created in the builddir.
(dist-hook): Handle those files.
(libglib_1_3_la_SOURCES): Remove @ALLOCA@. @ALLOCA@ should only
be used in an _LDADD or _LIBADD, since it expands (if necessary)
to 'alloca.o'.
* tests/Makefile.am (BUILT_EXTRA_DIST): New variable.
(dist-hook): Handle $(BUILT_EXTRA_DIST).
2000-10-13 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* grand.c: Added inline documentation.
@ -422,18 +446,18 @@ Mon Aug 21 14:39:36 2000 Owen Taylor <otaylor@redhat.com>
Sun Aug 6 20:06:02 2000 Tim Janik <timj@gtk.org>
* gmessages.c (g_log_domain_check_free): keep *last updated while
running through the domain list, so we don't screw up the removal,
patch provided by Gady Kozma <gadykozma@hotmail.com>.
* gmessages.c (g_log_domain_check_free): keep *last updated while
running through the domain list, so we don't screw up the removal,
patch provided by Gady Kozma <gadykozma@hotmail.com>.
Sun Aug 6 20:03:41 2000 Tim Janik <timj@gtk.org>
* gmessages.c (g_log_remove_handler): keep *last updated while running
through the handler list, so we don't screw up the removal.
* gmessages.c (g_log_remove_handler): keep *last updated while running
through the handler list, so we don't screw up the removal.
Sun Jul 30 16:54:13 2000 Owen Taylor <otaylor@redhat.com>
* gunicode.h: Fix stray character
* gunicode.h: Fix stray character
* gutf8.c (g_unichar_to_utf8): Allow outbuf to be NULL, in
which case we just compute the length.
@ -444,7 +468,7 @@ Sun Jul 30 16:54:13 2000 Owen Taylor <otaylor@redhat.com>
2000-07-31 Havoc Pennington <hp@redhat.com>
* glib-2.0.pc.in, gobject-2.0.pc.in, gmodule-2.0.pc.in,
* glib-2.0.pc.in, gobject-2.0.pc.in, gmodule-2.0.pc.in,
gobject-2.0.pc.in: pkg-config data files
* Makefile.am: Install/dist the .pc files
@ -554,18 +578,18 @@ Wed Jul 26 05:47:48 2000 Tim Janik <timj@gtk.org>
* glib.h: added g_strlcat() and g_strlcpy() wrappers, supplied by
David Wheeler <dwheeler@ida.org>:
* glib.h, gstrfuncs.c: added g_strlcpy and g_strlcat to support
safe manipulation of fixed-length string buffers.
These functions were originally developed by Todd Miller to simplify
development of security-related programs, and
are available on many (but not all) Unix-like systems,
including OpenBSD, FreeBSD, and Solaris. See
ftp://ftp.openbsd.org/pub/OpenBSD/src/lib/libc/string/strlcpy.3
and http://www.openbsd.org/security.html.
If there's a strlcpy/strlcat on the system, it's called, otherwise
an implementation is provided.
* glib.h, gstrfuncs.c: added g_strlcpy and g_strlcat to support
safe manipulation of fixed-length string buffers.
These functions were originally developed by Todd Miller to simplify
development of security-related programs, and
are available on many (but not all) Unix-like systems,
including OpenBSD, FreeBSD, and Solaris. See
ftp://ftp.openbsd.org/pub/OpenBSD/src/lib/libc/string/strlcpy.3
and http://www.openbsd.org/security.html.
If there's a strlcpy/strlcat on the system, it's called, otherwise
an implementation is provided.
* testglib.c: Added tests for g_strlcpy, g_strlcat.
* testglib.c: Added tests for g_strlcpy, g_strlcat.
Wed Jul 26 05:03:24 2000 Tim Janik <timj@gtk.org>
@ -734,7 +758,7 @@ Mon Jul 3 17:18:19 2000 Owen Taylor <otaylor@redhat.com>
Thu Jun 29 15:57:28 2000 Owen Taylor <otaylor@redhat.com>
* NEWS: updated
* NEWS: updated
* Makefile.am: added snapcheck target to go along with snapshot
@ -806,26 +830,26 @@ Mon May 29 14:10:35 2000 Owen Taylor <otaylor@redhat.com>
Fri May 19 11:39:29 2000 Tim Janik <timj@gtk.org>
* gutils.c (g_snprintf):
(g_vsnprintf): added argument assertments.
* gutils.c (g_snprintf):
(g_vsnprintf): added argument assertments.
* gstring.c (g_string_assign): added argument assertments.
(g_string_truncate): make len a guint.
* gstring.c (g_string_assign): added argument assertments.
(g_string_truncate): make len a guint.
Fri May 19 09:00:44 2000 Tim Janik <timj@gtk.org>
* gmem.c (g_free): fixed SIZEOF_LONG==4 assumption with
ENABLE_MEM_CHECK, from Art Haas <ahaas@neosoft.com>.
* gmem.c (g_free): fixed SIZEOF_LONG==4 assumption with
ENABLE_MEM_CHECK, from Art Haas <ahaas@neosoft.com>.
* gslist.c (g_slist_reverse): shut up compiler.
* gslist.c (g_slist_reverse): shut up compiler.
* gscanner.c (g_scanner_get_token_ll): removed inline assignment.
* gscanner.c (g_scanner_get_token_ll): removed inline assignment.
* garray.c: remove index>=0 checks for unsigned indices.
* garray.c: remove index>=0 checks for unsigned indices.
* gmain.c (g_idle_prepare): timeout assignment fix.
* gmain.c (g_idle_prepare): timeout assignment fix.
* gtree.c (g_tree_node_rotate_right): shut up compiler.
* gtree.c (g_tree_node_rotate_right): shut up compiler.
2000-05-13 Tor Lillqvist <tml@iki.fi>
@ -852,8 +876,8 @@ Fri May 19 09:00:44 2000 Tim Janik <timj@gtk.org>
Thu May 4 02:04:46 2000 Tim Janik <timj@gtk.org>
* configure.in (STRIP_DUMMY): some Make 3.79 $(strip ) versions are
broken and require an empty arg, give it to them.
* configure.in (STRIP_DUMMY): some Make 3.79 $(strip ) versions are
broken and require an empty arg, give it to them.
Fri Apr 28 23:54:35 2000 Tim Janik <timj@gtk.org>
@ -970,9 +994,9 @@ Wed May 10 19:52:44 2000 Owen Taylor <otaylor@redhat.com>
Wed Apr 19 08:32:32 2000 Tim Janik <timj@gtk.org>
* gscanner.c (g_scanner_new): make sure that
scanner->config->cset_skip_characters is "" instead of NULL, so we
don't segfault further on.
* gscanner.c (g_scanner_new): make sure that
scanner->config->cset_skip_characters is "" instead of NULL, so we
don't segfault further on.
2000-04-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
@ -1207,14 +1231,14 @@ Wed Mar 1 10:39:39 2000 Tim Janik <timj@gtk.org>
Fri Jan 28 11:37:41 2000 Owen Taylor <otaylor@redhat.com>
Bug #4156 - Changes vaguely modelled after Scott Gifford's patch
Bug #4156 - Changes vaguely modelled after Scott Gifford's patch
* gtimer.c (g_timer_elapsed): Never report negative times -
clip times to 0.
* gtimer.c (g_timer_elapsed): Never report negative times -
clip times to 0.
* gmain.c (g_timeout_prepare): Guard against unexpected
clock shifts by never setting a timeout of more than
data->interval msecs.
* gmain.c (g_timeout_prepare): Guard against unexpected
clock shifts by never setting a timeout of more than
data->interval msecs.
2000-02-27 Tor Lillqvist <tml@iki.fi>
@ -1235,7 +1259,7 @@ Fri Jan 28 11:37:41 2000 Owen Taylor <otaylor@redhat.com>
Thu Feb 17 12:53:44 2000 Tim Janik <timj@gtk.org>
* gstring.c: changed g_str_hash() to a 31 bit version based on
* gstring.c: changed g_str_hash() to a 31 bit version based on
a submission by Karl Nelson and hand optimized ad absurdum by
various people ;)
@ -1376,9 +1400,9 @@ Sun Jan 9 13:28:36 2000 Tim Janik <timj@gtk.org>
1999-11-08 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Make the test for getpwuid_r work on newer AIX
versions, too. Still works on Solaris and Linux. Patch from Craig
Rodrigues <rodrigc@mediaone.net>.
* configure.in: Make the test for getpwuid_r work on newer AIX
versions, too. Still works on Solaris and Linux. Patch from Craig
Rodrigues <rodrigc@mediaone.net>.
1999-11-08 Tor Lillqvist <tml@iki.fi>
@ -1424,13 +1448,13 @@ Sun Oct 31 18:55:01 1999 ape@spacetec.no (Asbjorn Pettersen)
Sun Oct 17 18:11:40 1999 Tim Janik <timj@gtk.org>
* gdataset.c (g_data_set_internal): remove g_dataset_global_lock around
destroy() notification here as well.
* gdataset.c (g_data_set_internal): remove g_dataset_global_lock around
destroy() notification here as well.
1999-10-15 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gdataset.c (g_datalist_clear_i): Avoid Freezing, when g_datalist
is called recursivly. Reported by Ola Andersson <rand@ling.umu.se>.
* gdataset.c (g_datalist_clear_i): Avoid Freezing, when g_datalist
is called recursivly. Reported by Ola Andersson <rand@ling.umu.se>.
Tue Oct 12 14:17:12 1999 Tim Janik <timj@gtk.org>
@ -1478,7 +1502,7 @@ Tue Oct 12 03:34:40 1999 Tim Janik <timj@gtk.org>
we handle G_LITTLE_ENDIAN and G_BIG_ENDIAN as of currently. ieee floats
and doubles are supported (used for storage) by at least intel, ppc and
sparc, reference:
http://twister.ou.edu/workshop.docs/common-tools/numerical_comp_guide/ncg_math.doc.html
http://twister.ou.edu/workshop.docs/common-tools/numerical_comp_guide/ncg_math.doc.html
Mon Oct 11 18:01:49 1999 Tim Janik <timj@gtk.org>
@ -2095,10 +2119,10 @@ Mon Mar 8 07:42:08 1999 Tim Janik <timj@gtk.org>
1999-03-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gutils.c (g_get_any_init): Fixed yet another bloody
implementation of getpwuid_r on AIX. Thanks to Olaf Dietsche
<olaf.dietsche+list.gtk@netcologne.de>. I would like a configure
test better than that, but have no idea, how to do that easily.
* gutils.c (g_get_any_init): Fixed yet another bloody
implementation of getpwuid_r on AIX. Thanks to Olaf Dietsche
<olaf.dietsche+list.gtk@netcologne.de>. I would like a configure
test better than that, but have no idea, how to do that easily.
Sun Feb 21 22:11:51 CST 1999 Shawn T. Amundson <amundson@gtk.org>
@ -2134,7 +2158,7 @@ Sat May 8 01:52:29 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
gmodule/Makefile.am
gmodule/gmodule.c
gmodule/gmoduleconf.h.in
gmodule/gmodule-beos.c
gmodule/gmodule-beos.c
gthread/Makefile.am: Port to BeOS by myself and Richard Offer.
1999-05-06 Tor Lillqvist <tml@iki.fi>
@ -2314,7 +2338,7 @@ Fri Mar 19 16:29:50 PST 1999 Manish Singh <yosh@gimp.org>
* acconfig.h: Removed unnecessary macros.
* glibconfig.h.win32, config.h.win32: Moved G_THREADS_IMPL_POSIX
* glibconfig.h.win32, config.h.win32: Moved G_THREADS_IMPL_POSIX
from config.h.win32 to glibconfig.h.win32. Taken from glib 1.2
branch.
@ -2329,39 +2353,39 @@ Wed Mar 17 03:14:56 1999 Tim Janik <timj@gtk.org>
Wed Mar 17 01:46:28 1999 Tim Janik <timj@gtk.org>
* merges from glib-1-2:
* merges from glib-1-2:
Sun Mar 14 17:50:35 1999 Tim Janik <timj@gtk.org>
* gmem.c (g_mem_chunk_*): changed a bunch of g_assert() statements
to g_return_if_fail().
(g_mem_profile):
(g_mem_chunk_print):
(g_mem_chunk_info): removed some extraneous "\n"s at the end of the log
messages.
* gmem.c (g_mem_chunk_*): changed a bunch of g_assert() statements
to g_return_if_fail().
(g_mem_profile):
(g_mem_chunk_print):
(g_mem_chunk_info): removed some extraneous "\n"s at the end of the log
messages.
* gtimer.c (g_timer_*): changed a bunch of g_assert() statements
to g_return_if_fail().
* grel.c (g_*): changed a bunch of g_assert() statements to
g_return_if_fail() and added some extra ones to check relation != NULL.
* gtimer.c (g_timer_*): changed a bunch of g_assert() statements
to g_return_if_fail().
* grel.c (g_*): changed a bunch of g_assert() statements to
g_return_if_fail() and added some extra ones to check relation != NULL.
Tue Mar 9 23:25:50 1999 Tim Janik <timj@gtk.org>
* configure.in: check for working realloc (NULL,).
* gmem.c (g_realloc): use malloc() for initial allocation on systems
where realloc(NULL,) will not work (this is the case on SunOS, reported
by Tom Geiger).
* configure.in: check for working realloc (NULL,).
* gmem.c (g_realloc): use malloc() for initial allocation on systems
where realloc(NULL,) will not work (this is the case on SunOS, reported
by Tom Geiger).
Mon Mar 8 07:42:08 1999 Tim Janik <timj@gtk.org>
* ghook.c (g_hook_unref): when !hook_list->is_setup, wrap the
flag around the call to g_hook_free() to avoid spurious
warnings (happens during destruction phase).
* ghook.c (g_hook_unref): when !hook_list->is_setup, wrap the
flag around the call to g_hook_free() to avoid spurious
warnings (happens during destruction phase).
1999-03-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gmem.c: Fixed a stupid cut'n'paste error of mine. Thanks to
Friedrich Dominicus <Friedrich.Dominicus@inka.de>
* gmem.c: Fixed a stupid cut'n'paste error of mine. Thanks to
Friedrich Dominicus <Friedrich.Dominicus@inka.de>
1999-03-16 Timur Bakeyev <mc@bat.ru>

View File

@ -1,3 +1,27 @@
2000-10-15 Raja R Harinath <harinath@cs.umn.edu>
Remove need for acconfig.h, and misc. cleanups.
* acglib.m4 (GLIB_SIZEOF): Add 'autoheader' comment to
AC_DEFINE_UNQUOTED.
(GLIB_BYTE_CONTENTS): Likewise.
* configure.in: Add 'autoheader' comments to all AC_DEFINE(...)
and AC_DEFINE_UNQUOTED(...) lines.
Replace AC_MSG_CHECKING/AC_CACHE_VAL with AC_CACHE_CHECK.
(AM_PROG_LIBTOOL): Move after AC_PROG_CC.
* acconfig.h: Empty out.
* Makefile.am (BUILT_EXTRA_DIST): New variable. List 'dist'able
files that are created in the builddir.
(dist-hook): Handle those files.
(libglib_1_3_la_SOURCES): Remove @ALLOCA@. @ALLOCA@ should only
be used in an _LDADD or _LIBADD, since it expands (if necessary)
to 'alloca.o'.
* tests/Makefile.am (BUILT_EXTRA_DIST): New variable.
(dist-hook): Handle $(BUILT_EXTRA_DIST).
2000-10-13 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* grand.c: Added inline documentation.
@ -422,18 +446,18 @@ Mon Aug 21 14:39:36 2000 Owen Taylor <otaylor@redhat.com>
Sun Aug 6 20:06:02 2000 Tim Janik <timj@gtk.org>
* gmessages.c (g_log_domain_check_free): keep *last updated while
running through the domain list, so we don't screw up the removal,
patch provided by Gady Kozma <gadykozma@hotmail.com>.
* gmessages.c (g_log_domain_check_free): keep *last updated while
running through the domain list, so we don't screw up the removal,
patch provided by Gady Kozma <gadykozma@hotmail.com>.
Sun Aug 6 20:03:41 2000 Tim Janik <timj@gtk.org>
* gmessages.c (g_log_remove_handler): keep *last updated while running
through the handler list, so we don't screw up the removal.
* gmessages.c (g_log_remove_handler): keep *last updated while running
through the handler list, so we don't screw up the removal.
Sun Jul 30 16:54:13 2000 Owen Taylor <otaylor@redhat.com>
* gunicode.h: Fix stray character
* gunicode.h: Fix stray character
* gutf8.c (g_unichar_to_utf8): Allow outbuf to be NULL, in
which case we just compute the length.
@ -444,7 +468,7 @@ Sun Jul 30 16:54:13 2000 Owen Taylor <otaylor@redhat.com>
2000-07-31 Havoc Pennington <hp@redhat.com>
* glib-2.0.pc.in, gobject-2.0.pc.in, gmodule-2.0.pc.in,
* glib-2.0.pc.in, gobject-2.0.pc.in, gmodule-2.0.pc.in,
gobject-2.0.pc.in: pkg-config data files
* Makefile.am: Install/dist the .pc files
@ -554,18 +578,18 @@ Wed Jul 26 05:47:48 2000 Tim Janik <timj@gtk.org>
* glib.h: added g_strlcat() and g_strlcpy() wrappers, supplied by
David Wheeler <dwheeler@ida.org>:
* glib.h, gstrfuncs.c: added g_strlcpy and g_strlcat to support
safe manipulation of fixed-length string buffers.
These functions were originally developed by Todd Miller to simplify
development of security-related programs, and
are available on many (but not all) Unix-like systems,
including OpenBSD, FreeBSD, and Solaris. See
ftp://ftp.openbsd.org/pub/OpenBSD/src/lib/libc/string/strlcpy.3
and http://www.openbsd.org/security.html.
If there's a strlcpy/strlcat on the system, it's called, otherwise
an implementation is provided.
* glib.h, gstrfuncs.c: added g_strlcpy and g_strlcat to support
safe manipulation of fixed-length string buffers.
These functions were originally developed by Todd Miller to simplify
development of security-related programs, and
are available on many (but not all) Unix-like systems,
including OpenBSD, FreeBSD, and Solaris. See
ftp://ftp.openbsd.org/pub/OpenBSD/src/lib/libc/string/strlcpy.3
and http://www.openbsd.org/security.html.
If there's a strlcpy/strlcat on the system, it's called, otherwise
an implementation is provided.
* testglib.c: Added tests for g_strlcpy, g_strlcat.
* testglib.c: Added tests for g_strlcpy, g_strlcat.
Wed Jul 26 05:03:24 2000 Tim Janik <timj@gtk.org>
@ -734,7 +758,7 @@ Mon Jul 3 17:18:19 2000 Owen Taylor <otaylor@redhat.com>
Thu Jun 29 15:57:28 2000 Owen Taylor <otaylor@redhat.com>
* NEWS: updated
* NEWS: updated
* Makefile.am: added snapcheck target to go along with snapshot
@ -806,26 +830,26 @@ Mon May 29 14:10:35 2000 Owen Taylor <otaylor@redhat.com>
Fri May 19 11:39:29 2000 Tim Janik <timj@gtk.org>
* gutils.c (g_snprintf):
(g_vsnprintf): added argument assertments.
* gutils.c (g_snprintf):
(g_vsnprintf): added argument assertments.
* gstring.c (g_string_assign): added argument assertments.
(g_string_truncate): make len a guint.
* gstring.c (g_string_assign): added argument assertments.
(g_string_truncate): make len a guint.
Fri May 19 09:00:44 2000 Tim Janik <timj@gtk.org>
* gmem.c (g_free): fixed SIZEOF_LONG==4 assumption with
ENABLE_MEM_CHECK, from Art Haas <ahaas@neosoft.com>.
* gmem.c (g_free): fixed SIZEOF_LONG==4 assumption with
ENABLE_MEM_CHECK, from Art Haas <ahaas@neosoft.com>.
* gslist.c (g_slist_reverse): shut up compiler.
* gslist.c (g_slist_reverse): shut up compiler.
* gscanner.c (g_scanner_get_token_ll): removed inline assignment.
* gscanner.c (g_scanner_get_token_ll): removed inline assignment.
* garray.c: remove index>=0 checks for unsigned indices.
* garray.c: remove index>=0 checks for unsigned indices.
* gmain.c (g_idle_prepare): timeout assignment fix.
* gmain.c (g_idle_prepare): timeout assignment fix.
* gtree.c (g_tree_node_rotate_right): shut up compiler.
* gtree.c (g_tree_node_rotate_right): shut up compiler.
2000-05-13 Tor Lillqvist <tml@iki.fi>
@ -852,8 +876,8 @@ Fri May 19 09:00:44 2000 Tim Janik <timj@gtk.org>
Thu May 4 02:04:46 2000 Tim Janik <timj@gtk.org>
* configure.in (STRIP_DUMMY): some Make 3.79 $(strip ) versions are
broken and require an empty arg, give it to them.
* configure.in (STRIP_DUMMY): some Make 3.79 $(strip ) versions are
broken and require an empty arg, give it to them.
Fri Apr 28 23:54:35 2000 Tim Janik <timj@gtk.org>
@ -970,9 +994,9 @@ Wed May 10 19:52:44 2000 Owen Taylor <otaylor@redhat.com>
Wed Apr 19 08:32:32 2000 Tim Janik <timj@gtk.org>
* gscanner.c (g_scanner_new): make sure that
scanner->config->cset_skip_characters is "" instead of NULL, so we
don't segfault further on.
* gscanner.c (g_scanner_new): make sure that
scanner->config->cset_skip_characters is "" instead of NULL, so we
don't segfault further on.
2000-04-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
@ -1207,14 +1231,14 @@ Wed Mar 1 10:39:39 2000 Tim Janik <timj@gtk.org>
Fri Jan 28 11:37:41 2000 Owen Taylor <otaylor@redhat.com>
Bug #4156 - Changes vaguely modelled after Scott Gifford's patch
Bug #4156 - Changes vaguely modelled after Scott Gifford's patch
* gtimer.c (g_timer_elapsed): Never report negative times -
clip times to 0.
* gtimer.c (g_timer_elapsed): Never report negative times -
clip times to 0.
* gmain.c (g_timeout_prepare): Guard against unexpected
clock shifts by never setting a timeout of more than
data->interval msecs.
* gmain.c (g_timeout_prepare): Guard against unexpected
clock shifts by never setting a timeout of more than
data->interval msecs.
2000-02-27 Tor Lillqvist <tml@iki.fi>
@ -1235,7 +1259,7 @@ Fri Jan 28 11:37:41 2000 Owen Taylor <otaylor@redhat.com>
Thu Feb 17 12:53:44 2000 Tim Janik <timj@gtk.org>
* gstring.c: changed g_str_hash() to a 31 bit version based on
* gstring.c: changed g_str_hash() to a 31 bit version based on
a submission by Karl Nelson and hand optimized ad absurdum by
various people ;)
@ -1376,9 +1400,9 @@ Sun Jan 9 13:28:36 2000 Tim Janik <timj@gtk.org>
1999-11-08 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Make the test for getpwuid_r work on newer AIX
versions, too. Still works on Solaris and Linux. Patch from Craig
Rodrigues <rodrigc@mediaone.net>.
* configure.in: Make the test for getpwuid_r work on newer AIX
versions, too. Still works on Solaris and Linux. Patch from Craig
Rodrigues <rodrigc@mediaone.net>.
1999-11-08 Tor Lillqvist <tml@iki.fi>
@ -1424,13 +1448,13 @@ Sun Oct 31 18:55:01 1999 ape@spacetec.no (Asbjorn Pettersen)
Sun Oct 17 18:11:40 1999 Tim Janik <timj@gtk.org>
* gdataset.c (g_data_set_internal): remove g_dataset_global_lock around
destroy() notification here as well.
* gdataset.c (g_data_set_internal): remove g_dataset_global_lock around
destroy() notification here as well.
1999-10-15 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gdataset.c (g_datalist_clear_i): Avoid Freezing, when g_datalist
is called recursivly. Reported by Ola Andersson <rand@ling.umu.se>.
* gdataset.c (g_datalist_clear_i): Avoid Freezing, when g_datalist
is called recursivly. Reported by Ola Andersson <rand@ling.umu.se>.
Tue Oct 12 14:17:12 1999 Tim Janik <timj@gtk.org>
@ -1478,7 +1502,7 @@ Tue Oct 12 03:34:40 1999 Tim Janik <timj@gtk.org>
we handle G_LITTLE_ENDIAN and G_BIG_ENDIAN as of currently. ieee floats
and doubles are supported (used for storage) by at least intel, ppc and
sparc, reference:
http://twister.ou.edu/workshop.docs/common-tools/numerical_comp_guide/ncg_math.doc.html
http://twister.ou.edu/workshop.docs/common-tools/numerical_comp_guide/ncg_math.doc.html
Mon Oct 11 18:01:49 1999 Tim Janik <timj@gtk.org>
@ -2095,10 +2119,10 @@ Mon Mar 8 07:42:08 1999 Tim Janik <timj@gtk.org>
1999-03-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gutils.c (g_get_any_init): Fixed yet another bloody
implementation of getpwuid_r on AIX. Thanks to Olaf Dietsche
<olaf.dietsche+list.gtk@netcologne.de>. I would like a configure
test better than that, but have no idea, how to do that easily.
* gutils.c (g_get_any_init): Fixed yet another bloody
implementation of getpwuid_r on AIX. Thanks to Olaf Dietsche
<olaf.dietsche+list.gtk@netcologne.de>. I would like a configure
test better than that, but have no idea, how to do that easily.
Sun Feb 21 22:11:51 CST 1999 Shawn T. Amundson <amundson@gtk.org>
@ -2134,7 +2158,7 @@ Sat May 8 01:52:29 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
gmodule/Makefile.am
gmodule/gmodule.c
gmodule/gmoduleconf.h.in
gmodule/gmodule-beos.c
gmodule/gmodule-beos.c
gthread/Makefile.am: Port to BeOS by myself and Richard Offer.
1999-05-06 Tor Lillqvist <tml@iki.fi>
@ -2314,7 +2338,7 @@ Fri Mar 19 16:29:50 PST 1999 Manish Singh <yosh@gimp.org>
* acconfig.h: Removed unnecessary macros.
* glibconfig.h.win32, config.h.win32: Moved G_THREADS_IMPL_POSIX
* glibconfig.h.win32, config.h.win32: Moved G_THREADS_IMPL_POSIX
from config.h.win32 to glibconfig.h.win32. Taken from glib 1.2
branch.
@ -2329,39 +2353,39 @@ Wed Mar 17 03:14:56 1999 Tim Janik <timj@gtk.org>
Wed Mar 17 01:46:28 1999 Tim Janik <timj@gtk.org>
* merges from glib-1-2:
* merges from glib-1-2:
Sun Mar 14 17:50:35 1999 Tim Janik <timj@gtk.org>
* gmem.c (g_mem_chunk_*): changed a bunch of g_assert() statements
to g_return_if_fail().
(g_mem_profile):
(g_mem_chunk_print):
(g_mem_chunk_info): removed some extraneous "\n"s at the end of the log
messages.
* gmem.c (g_mem_chunk_*): changed a bunch of g_assert() statements
to g_return_if_fail().
(g_mem_profile):
(g_mem_chunk_print):
(g_mem_chunk_info): removed some extraneous "\n"s at the end of the log
messages.
* gtimer.c (g_timer_*): changed a bunch of g_assert() statements
to g_return_if_fail().
* grel.c (g_*): changed a bunch of g_assert() statements to
g_return_if_fail() and added some extra ones to check relation != NULL.
* gtimer.c (g_timer_*): changed a bunch of g_assert() statements
to g_return_if_fail().
* grel.c (g_*): changed a bunch of g_assert() statements to
g_return_if_fail() and added some extra ones to check relation != NULL.
Tue Mar 9 23:25:50 1999 Tim Janik <timj@gtk.org>
* configure.in: check for working realloc (NULL,).
* gmem.c (g_realloc): use malloc() for initial allocation on systems
where realloc(NULL,) will not work (this is the case on SunOS, reported
by Tom Geiger).
* configure.in: check for working realloc (NULL,).
* gmem.c (g_realloc): use malloc() for initial allocation on systems
where realloc(NULL,) will not work (this is the case on SunOS, reported
by Tom Geiger).
Mon Mar 8 07:42:08 1999 Tim Janik <timj@gtk.org>
* ghook.c (g_hook_unref): when !hook_list->is_setup, wrap the
flag around the call to g_hook_free() to avoid spurious
warnings (happens during destruction phase).
* ghook.c (g_hook_unref): when !hook_list->is_setup, wrap the
flag around the call to g_hook_free() to avoid spurious
warnings (happens during destruction phase).
1999-03-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gmem.c: Fixed a stupid cut'n'paste error of mine. Thanks to
Friedrich Dominicus <Friedrich.Dominicus@inka.de>
* gmem.c: Fixed a stupid cut'n'paste error of mine. Thanks to
Friedrich Dominicus <Friedrich.Dominicus@inka.de>
1999-03-16 Timur Bakeyev <mc@bat.ru>

View File

@ -1,3 +1,27 @@
2000-10-15 Raja R Harinath <harinath@cs.umn.edu>
Remove need for acconfig.h, and misc. cleanups.
* acglib.m4 (GLIB_SIZEOF): Add 'autoheader' comment to
AC_DEFINE_UNQUOTED.
(GLIB_BYTE_CONTENTS): Likewise.
* configure.in: Add 'autoheader' comments to all AC_DEFINE(...)
and AC_DEFINE_UNQUOTED(...) lines.
Replace AC_MSG_CHECKING/AC_CACHE_VAL with AC_CACHE_CHECK.
(AM_PROG_LIBTOOL): Move after AC_PROG_CC.
* acconfig.h: Empty out.
* Makefile.am (BUILT_EXTRA_DIST): New variable. List 'dist'able
files that are created in the builddir.
(dist-hook): Handle those files.
(libglib_1_3_la_SOURCES): Remove @ALLOCA@. @ALLOCA@ should only
be used in an _LDADD or _LIBADD, since it expands (if necessary)
to 'alloca.o'.
* tests/Makefile.am (BUILT_EXTRA_DIST): New variable.
(dist-hook): Handle $(BUILT_EXTRA_DIST).
2000-10-13 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* grand.c: Added inline documentation.
@ -422,18 +446,18 @@ Mon Aug 21 14:39:36 2000 Owen Taylor <otaylor@redhat.com>
Sun Aug 6 20:06:02 2000 Tim Janik <timj@gtk.org>
* gmessages.c (g_log_domain_check_free): keep *last updated while
running through the domain list, so we don't screw up the removal,
patch provided by Gady Kozma <gadykozma@hotmail.com>.
* gmessages.c (g_log_domain_check_free): keep *last updated while
running through the domain list, so we don't screw up the removal,
patch provided by Gady Kozma <gadykozma@hotmail.com>.
Sun Aug 6 20:03:41 2000 Tim Janik <timj@gtk.org>
* gmessages.c (g_log_remove_handler): keep *last updated while running
through the handler list, so we don't screw up the removal.
* gmessages.c (g_log_remove_handler): keep *last updated while running
through the handler list, so we don't screw up the removal.
Sun Jul 30 16:54:13 2000 Owen Taylor <otaylor@redhat.com>
* gunicode.h: Fix stray character
* gunicode.h: Fix stray character
* gutf8.c (g_unichar_to_utf8): Allow outbuf to be NULL, in
which case we just compute the length.
@ -444,7 +468,7 @@ Sun Jul 30 16:54:13 2000 Owen Taylor <otaylor@redhat.com>
2000-07-31 Havoc Pennington <hp@redhat.com>
* glib-2.0.pc.in, gobject-2.0.pc.in, gmodule-2.0.pc.in,
* glib-2.0.pc.in, gobject-2.0.pc.in, gmodule-2.0.pc.in,
gobject-2.0.pc.in: pkg-config data files
* Makefile.am: Install/dist the .pc files
@ -554,18 +578,18 @@ Wed Jul 26 05:47:48 2000 Tim Janik <timj@gtk.org>
* glib.h: added g_strlcat() and g_strlcpy() wrappers, supplied by
David Wheeler <dwheeler@ida.org>:
* glib.h, gstrfuncs.c: added g_strlcpy and g_strlcat to support
safe manipulation of fixed-length string buffers.
These functions were originally developed by Todd Miller to simplify
development of security-related programs, and
are available on many (but not all) Unix-like systems,
including OpenBSD, FreeBSD, and Solaris. See
ftp://ftp.openbsd.org/pub/OpenBSD/src/lib/libc/string/strlcpy.3
and http://www.openbsd.org/security.html.
If there's a strlcpy/strlcat on the system, it's called, otherwise
an implementation is provided.
* glib.h, gstrfuncs.c: added g_strlcpy and g_strlcat to support
safe manipulation of fixed-length string buffers.
These functions were originally developed by Todd Miller to simplify
development of security-related programs, and
are available on many (but not all) Unix-like systems,
including OpenBSD, FreeBSD, and Solaris. See
ftp://ftp.openbsd.org/pub/OpenBSD/src/lib/libc/string/strlcpy.3
and http://www.openbsd.org/security.html.
If there's a strlcpy/strlcat on the system, it's called, otherwise
an implementation is provided.
* testglib.c: Added tests for g_strlcpy, g_strlcat.
* testglib.c: Added tests for g_strlcpy, g_strlcat.
Wed Jul 26 05:03:24 2000 Tim Janik <timj@gtk.org>
@ -734,7 +758,7 @@ Mon Jul 3 17:18:19 2000 Owen Taylor <otaylor@redhat.com>
Thu Jun 29 15:57:28 2000 Owen Taylor <otaylor@redhat.com>
* NEWS: updated
* NEWS: updated
* Makefile.am: added snapcheck target to go along with snapshot
@ -806,26 +830,26 @@ Mon May 29 14:10:35 2000 Owen Taylor <otaylor@redhat.com>
Fri May 19 11:39:29 2000 Tim Janik <timj@gtk.org>
* gutils.c (g_snprintf):
(g_vsnprintf): added argument assertments.
* gutils.c (g_snprintf):
(g_vsnprintf): added argument assertments.
* gstring.c (g_string_assign): added argument assertments.
(g_string_truncate): make len a guint.
* gstring.c (g_string_assign): added argument assertments.
(g_string_truncate): make len a guint.
Fri May 19 09:00:44 2000 Tim Janik <timj@gtk.org>
* gmem.c (g_free): fixed SIZEOF_LONG==4 assumption with
ENABLE_MEM_CHECK, from Art Haas <ahaas@neosoft.com>.
* gmem.c (g_free): fixed SIZEOF_LONG==4 assumption with
ENABLE_MEM_CHECK, from Art Haas <ahaas@neosoft.com>.
* gslist.c (g_slist_reverse): shut up compiler.
* gslist.c (g_slist_reverse): shut up compiler.
* gscanner.c (g_scanner_get_token_ll): removed inline assignment.
* gscanner.c (g_scanner_get_token_ll): removed inline assignment.
* garray.c: remove index>=0 checks for unsigned indices.
* garray.c: remove index>=0 checks for unsigned indices.
* gmain.c (g_idle_prepare): timeout assignment fix.
* gmain.c (g_idle_prepare): timeout assignment fix.
* gtree.c (g_tree_node_rotate_right): shut up compiler.
* gtree.c (g_tree_node_rotate_right): shut up compiler.
2000-05-13 Tor Lillqvist <tml@iki.fi>
@ -852,8 +876,8 @@ Fri May 19 09:00:44 2000 Tim Janik <timj@gtk.org>
Thu May 4 02:04:46 2000 Tim Janik <timj@gtk.org>
* configure.in (STRIP_DUMMY): some Make 3.79 $(strip ) versions are
broken and require an empty arg, give it to them.
* configure.in (STRIP_DUMMY): some Make 3.79 $(strip ) versions are
broken and require an empty arg, give it to them.
Fri Apr 28 23:54:35 2000 Tim Janik <timj@gtk.org>
@ -970,9 +994,9 @@ Wed May 10 19:52:44 2000 Owen Taylor <otaylor@redhat.com>
Wed Apr 19 08:32:32 2000 Tim Janik <timj@gtk.org>
* gscanner.c (g_scanner_new): make sure that
scanner->config->cset_skip_characters is "" instead of NULL, so we
don't segfault further on.
* gscanner.c (g_scanner_new): make sure that
scanner->config->cset_skip_characters is "" instead of NULL, so we
don't segfault further on.
2000-04-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
@ -1207,14 +1231,14 @@ Wed Mar 1 10:39:39 2000 Tim Janik <timj@gtk.org>
Fri Jan 28 11:37:41 2000 Owen Taylor <otaylor@redhat.com>
Bug #4156 - Changes vaguely modelled after Scott Gifford's patch
Bug #4156 - Changes vaguely modelled after Scott Gifford's patch
* gtimer.c (g_timer_elapsed): Never report negative times -
clip times to 0.
* gtimer.c (g_timer_elapsed): Never report negative times -
clip times to 0.
* gmain.c (g_timeout_prepare): Guard against unexpected
clock shifts by never setting a timeout of more than
data->interval msecs.
* gmain.c (g_timeout_prepare): Guard against unexpected
clock shifts by never setting a timeout of more than
data->interval msecs.
2000-02-27 Tor Lillqvist <tml@iki.fi>
@ -1235,7 +1259,7 @@ Fri Jan 28 11:37:41 2000 Owen Taylor <otaylor@redhat.com>
Thu Feb 17 12:53:44 2000 Tim Janik <timj@gtk.org>
* gstring.c: changed g_str_hash() to a 31 bit version based on
* gstring.c: changed g_str_hash() to a 31 bit version based on
a submission by Karl Nelson and hand optimized ad absurdum by
various people ;)
@ -1376,9 +1400,9 @@ Sun Jan 9 13:28:36 2000 Tim Janik <timj@gtk.org>
1999-11-08 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Make the test for getpwuid_r work on newer AIX
versions, too. Still works on Solaris and Linux. Patch from Craig
Rodrigues <rodrigc@mediaone.net>.
* configure.in: Make the test for getpwuid_r work on newer AIX
versions, too. Still works on Solaris and Linux. Patch from Craig
Rodrigues <rodrigc@mediaone.net>.
1999-11-08 Tor Lillqvist <tml@iki.fi>
@ -1424,13 +1448,13 @@ Sun Oct 31 18:55:01 1999 ape@spacetec.no (Asbjorn Pettersen)
Sun Oct 17 18:11:40 1999 Tim Janik <timj@gtk.org>
* gdataset.c (g_data_set_internal): remove g_dataset_global_lock around
destroy() notification here as well.
* gdataset.c (g_data_set_internal): remove g_dataset_global_lock around
destroy() notification here as well.
1999-10-15 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gdataset.c (g_datalist_clear_i): Avoid Freezing, when g_datalist
is called recursivly. Reported by Ola Andersson <rand@ling.umu.se>.
* gdataset.c (g_datalist_clear_i): Avoid Freezing, when g_datalist
is called recursivly. Reported by Ola Andersson <rand@ling.umu.se>.
Tue Oct 12 14:17:12 1999 Tim Janik <timj@gtk.org>
@ -1478,7 +1502,7 @@ Tue Oct 12 03:34:40 1999 Tim Janik <timj@gtk.org>
we handle G_LITTLE_ENDIAN and G_BIG_ENDIAN as of currently. ieee floats
and doubles are supported (used for storage) by at least intel, ppc and
sparc, reference:
http://twister.ou.edu/workshop.docs/common-tools/numerical_comp_guide/ncg_math.doc.html
http://twister.ou.edu/workshop.docs/common-tools/numerical_comp_guide/ncg_math.doc.html
Mon Oct 11 18:01:49 1999 Tim Janik <timj@gtk.org>
@ -2095,10 +2119,10 @@ Mon Mar 8 07:42:08 1999 Tim Janik <timj@gtk.org>
1999-03-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gutils.c (g_get_any_init): Fixed yet another bloody
implementation of getpwuid_r on AIX. Thanks to Olaf Dietsche
<olaf.dietsche+list.gtk@netcologne.de>. I would like a configure
test better than that, but have no idea, how to do that easily.
* gutils.c (g_get_any_init): Fixed yet another bloody
implementation of getpwuid_r on AIX. Thanks to Olaf Dietsche
<olaf.dietsche+list.gtk@netcologne.de>. I would like a configure
test better than that, but have no idea, how to do that easily.
Sun Feb 21 22:11:51 CST 1999 Shawn T. Amundson <amundson@gtk.org>
@ -2134,7 +2158,7 @@ Sat May 8 01:52:29 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
gmodule/Makefile.am
gmodule/gmodule.c
gmodule/gmoduleconf.h.in
gmodule/gmodule-beos.c
gmodule/gmodule-beos.c
gthread/Makefile.am: Port to BeOS by myself and Richard Offer.
1999-05-06 Tor Lillqvist <tml@iki.fi>
@ -2314,7 +2338,7 @@ Fri Mar 19 16:29:50 PST 1999 Manish Singh <yosh@gimp.org>
* acconfig.h: Removed unnecessary macros.
* glibconfig.h.win32, config.h.win32: Moved G_THREADS_IMPL_POSIX
* glibconfig.h.win32, config.h.win32: Moved G_THREADS_IMPL_POSIX
from config.h.win32 to glibconfig.h.win32. Taken from glib 1.2
branch.
@ -2329,39 +2353,39 @@ Wed Mar 17 03:14:56 1999 Tim Janik <timj@gtk.org>
Wed Mar 17 01:46:28 1999 Tim Janik <timj@gtk.org>
* merges from glib-1-2:
* merges from glib-1-2:
Sun Mar 14 17:50:35 1999 Tim Janik <timj@gtk.org>
* gmem.c (g_mem_chunk_*): changed a bunch of g_assert() statements
to g_return_if_fail().
(g_mem_profile):
(g_mem_chunk_print):
(g_mem_chunk_info): removed some extraneous "\n"s at the end of the log
messages.
* gmem.c (g_mem_chunk_*): changed a bunch of g_assert() statements
to g_return_if_fail().
(g_mem_profile):
(g_mem_chunk_print):
(g_mem_chunk_info): removed some extraneous "\n"s at the end of the log
messages.
* gtimer.c (g_timer_*): changed a bunch of g_assert() statements
to g_return_if_fail().
* grel.c (g_*): changed a bunch of g_assert() statements to
g_return_if_fail() and added some extra ones to check relation != NULL.
* gtimer.c (g_timer_*): changed a bunch of g_assert() statements
to g_return_if_fail().
* grel.c (g_*): changed a bunch of g_assert() statements to
g_return_if_fail() and added some extra ones to check relation != NULL.
Tue Mar 9 23:25:50 1999 Tim Janik <timj@gtk.org>
* configure.in: check for working realloc (NULL,).
* gmem.c (g_realloc): use malloc() for initial allocation on systems
where realloc(NULL,) will not work (this is the case on SunOS, reported
by Tom Geiger).
* configure.in: check for working realloc (NULL,).
* gmem.c (g_realloc): use malloc() for initial allocation on systems
where realloc(NULL,) will not work (this is the case on SunOS, reported
by Tom Geiger).
Mon Mar 8 07:42:08 1999 Tim Janik <timj@gtk.org>
* ghook.c (g_hook_unref): when !hook_list->is_setup, wrap the
flag around the call to g_hook_free() to avoid spurious
warnings (happens during destruction phase).
* ghook.c (g_hook_unref): when !hook_list->is_setup, wrap the
flag around the call to g_hook_free() to avoid spurious
warnings (happens during destruction phase).
1999-03-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gmem.c: Fixed a stupid cut'n'paste error of mine. Thanks to
Friedrich Dominicus <Friedrich.Dominicus@inka.de>
* gmem.c: Fixed a stupid cut'n'paste error of mine. Thanks to
Friedrich Dominicus <Friedrich.Dominicus@inka.de>
1999-03-16 Timur Bakeyev <mc@bat.ru>

View File

@ -1,3 +1,27 @@
2000-10-15 Raja R Harinath <harinath@cs.umn.edu>
Remove need for acconfig.h, and misc. cleanups.
* acglib.m4 (GLIB_SIZEOF): Add 'autoheader' comment to
AC_DEFINE_UNQUOTED.
(GLIB_BYTE_CONTENTS): Likewise.
* configure.in: Add 'autoheader' comments to all AC_DEFINE(...)
and AC_DEFINE_UNQUOTED(...) lines.
Replace AC_MSG_CHECKING/AC_CACHE_VAL with AC_CACHE_CHECK.
(AM_PROG_LIBTOOL): Move after AC_PROG_CC.
* acconfig.h: Empty out.
* Makefile.am (BUILT_EXTRA_DIST): New variable. List 'dist'able
files that are created in the builddir.
(dist-hook): Handle those files.
(libglib_1_3_la_SOURCES): Remove @ALLOCA@. @ALLOCA@ should only
be used in an _LDADD or _LIBADD, since it expands (if necessary)
to 'alloca.o'.
* tests/Makefile.am (BUILT_EXTRA_DIST): New variable.
(dist-hook): Handle $(BUILT_EXTRA_DIST).
2000-10-13 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* grand.c: Added inline documentation.
@ -422,18 +446,18 @@ Mon Aug 21 14:39:36 2000 Owen Taylor <otaylor@redhat.com>
Sun Aug 6 20:06:02 2000 Tim Janik <timj@gtk.org>
* gmessages.c (g_log_domain_check_free): keep *last updated while
running through the domain list, so we don't screw up the removal,
patch provided by Gady Kozma <gadykozma@hotmail.com>.
* gmessages.c (g_log_domain_check_free): keep *last updated while
running through the domain list, so we don't screw up the removal,
patch provided by Gady Kozma <gadykozma@hotmail.com>.
Sun Aug 6 20:03:41 2000 Tim Janik <timj@gtk.org>
* gmessages.c (g_log_remove_handler): keep *last updated while running
through the handler list, so we don't screw up the removal.
* gmessages.c (g_log_remove_handler): keep *last updated while running
through the handler list, so we don't screw up the removal.
Sun Jul 30 16:54:13 2000 Owen Taylor <otaylor@redhat.com>
* gunicode.h: Fix stray character
* gunicode.h: Fix stray character
* gutf8.c (g_unichar_to_utf8): Allow outbuf to be NULL, in
which case we just compute the length.
@ -444,7 +468,7 @@ Sun Jul 30 16:54:13 2000 Owen Taylor <otaylor@redhat.com>
2000-07-31 Havoc Pennington <hp@redhat.com>
* glib-2.0.pc.in, gobject-2.0.pc.in, gmodule-2.0.pc.in,
* glib-2.0.pc.in, gobject-2.0.pc.in, gmodule-2.0.pc.in,
gobject-2.0.pc.in: pkg-config data files
* Makefile.am: Install/dist the .pc files
@ -554,18 +578,18 @@ Wed Jul 26 05:47:48 2000 Tim Janik <timj@gtk.org>
* glib.h: added g_strlcat() and g_strlcpy() wrappers, supplied by
David Wheeler <dwheeler@ida.org>:
* glib.h, gstrfuncs.c: added g_strlcpy and g_strlcat to support
safe manipulation of fixed-length string buffers.
These functions were originally developed by Todd Miller to simplify
development of security-related programs, and
are available on many (but not all) Unix-like systems,
including OpenBSD, FreeBSD, and Solaris. See
ftp://ftp.openbsd.org/pub/OpenBSD/src/lib/libc/string/strlcpy.3
and http://www.openbsd.org/security.html.
If there's a strlcpy/strlcat on the system, it's called, otherwise
an implementation is provided.
* glib.h, gstrfuncs.c: added g_strlcpy and g_strlcat to support
safe manipulation of fixed-length string buffers.
These functions were originally developed by Todd Miller to simplify
development of security-related programs, and
are available on many (but not all) Unix-like systems,
including OpenBSD, FreeBSD, and Solaris. See
ftp://ftp.openbsd.org/pub/OpenBSD/src/lib/libc/string/strlcpy.3
and http://www.openbsd.org/security.html.
If there's a strlcpy/strlcat on the system, it's called, otherwise
an implementation is provided.
* testglib.c: Added tests for g_strlcpy, g_strlcat.
* testglib.c: Added tests for g_strlcpy, g_strlcat.
Wed Jul 26 05:03:24 2000 Tim Janik <timj@gtk.org>
@ -734,7 +758,7 @@ Mon Jul 3 17:18:19 2000 Owen Taylor <otaylor@redhat.com>
Thu Jun 29 15:57:28 2000 Owen Taylor <otaylor@redhat.com>
* NEWS: updated
* NEWS: updated
* Makefile.am: added snapcheck target to go along with snapshot
@ -806,26 +830,26 @@ Mon May 29 14:10:35 2000 Owen Taylor <otaylor@redhat.com>
Fri May 19 11:39:29 2000 Tim Janik <timj@gtk.org>
* gutils.c (g_snprintf):
(g_vsnprintf): added argument assertments.
* gutils.c (g_snprintf):
(g_vsnprintf): added argument assertments.
* gstring.c (g_string_assign): added argument assertments.
(g_string_truncate): make len a guint.
* gstring.c (g_string_assign): added argument assertments.
(g_string_truncate): make len a guint.
Fri May 19 09:00:44 2000 Tim Janik <timj@gtk.org>
* gmem.c (g_free): fixed SIZEOF_LONG==4 assumption with
ENABLE_MEM_CHECK, from Art Haas <ahaas@neosoft.com>.
* gmem.c (g_free): fixed SIZEOF_LONG==4 assumption with
ENABLE_MEM_CHECK, from Art Haas <ahaas@neosoft.com>.
* gslist.c (g_slist_reverse): shut up compiler.
* gslist.c (g_slist_reverse): shut up compiler.
* gscanner.c (g_scanner_get_token_ll): removed inline assignment.
* gscanner.c (g_scanner_get_token_ll): removed inline assignment.
* garray.c: remove index>=0 checks for unsigned indices.
* garray.c: remove index>=0 checks for unsigned indices.
* gmain.c (g_idle_prepare): timeout assignment fix.
* gmain.c (g_idle_prepare): timeout assignment fix.
* gtree.c (g_tree_node_rotate_right): shut up compiler.
* gtree.c (g_tree_node_rotate_right): shut up compiler.
2000-05-13 Tor Lillqvist <tml@iki.fi>
@ -852,8 +876,8 @@ Fri May 19 09:00:44 2000 Tim Janik <timj@gtk.org>
Thu May 4 02:04:46 2000 Tim Janik <timj@gtk.org>
* configure.in (STRIP_DUMMY): some Make 3.79 $(strip ) versions are
broken and require an empty arg, give it to them.
* configure.in (STRIP_DUMMY): some Make 3.79 $(strip ) versions are
broken and require an empty arg, give it to them.
Fri Apr 28 23:54:35 2000 Tim Janik <timj@gtk.org>
@ -970,9 +994,9 @@ Wed May 10 19:52:44 2000 Owen Taylor <otaylor@redhat.com>
Wed Apr 19 08:32:32 2000 Tim Janik <timj@gtk.org>
* gscanner.c (g_scanner_new): make sure that
scanner->config->cset_skip_characters is "" instead of NULL, so we
don't segfault further on.
* gscanner.c (g_scanner_new): make sure that
scanner->config->cset_skip_characters is "" instead of NULL, so we
don't segfault further on.
2000-04-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
@ -1207,14 +1231,14 @@ Wed Mar 1 10:39:39 2000 Tim Janik <timj@gtk.org>
Fri Jan 28 11:37:41 2000 Owen Taylor <otaylor@redhat.com>
Bug #4156 - Changes vaguely modelled after Scott Gifford's patch
Bug #4156 - Changes vaguely modelled after Scott Gifford's patch
* gtimer.c (g_timer_elapsed): Never report negative times -
clip times to 0.
* gtimer.c (g_timer_elapsed): Never report negative times -
clip times to 0.
* gmain.c (g_timeout_prepare): Guard against unexpected
clock shifts by never setting a timeout of more than
data->interval msecs.
* gmain.c (g_timeout_prepare): Guard against unexpected
clock shifts by never setting a timeout of more than
data->interval msecs.
2000-02-27 Tor Lillqvist <tml@iki.fi>
@ -1235,7 +1259,7 @@ Fri Jan 28 11:37:41 2000 Owen Taylor <otaylor@redhat.com>
Thu Feb 17 12:53:44 2000 Tim Janik <timj@gtk.org>
* gstring.c: changed g_str_hash() to a 31 bit version based on
* gstring.c: changed g_str_hash() to a 31 bit version based on
a submission by Karl Nelson and hand optimized ad absurdum by
various people ;)
@ -1376,9 +1400,9 @@ Sun Jan 9 13:28:36 2000 Tim Janik <timj@gtk.org>
1999-11-08 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Make the test for getpwuid_r work on newer AIX
versions, too. Still works on Solaris and Linux. Patch from Craig
Rodrigues <rodrigc@mediaone.net>.
* configure.in: Make the test for getpwuid_r work on newer AIX
versions, too. Still works on Solaris and Linux. Patch from Craig
Rodrigues <rodrigc@mediaone.net>.
1999-11-08 Tor Lillqvist <tml@iki.fi>
@ -1424,13 +1448,13 @@ Sun Oct 31 18:55:01 1999 ape@spacetec.no (Asbjorn Pettersen)
Sun Oct 17 18:11:40 1999 Tim Janik <timj@gtk.org>
* gdataset.c (g_data_set_internal): remove g_dataset_global_lock around
destroy() notification here as well.
* gdataset.c (g_data_set_internal): remove g_dataset_global_lock around
destroy() notification here as well.
1999-10-15 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gdataset.c (g_datalist_clear_i): Avoid Freezing, when g_datalist
is called recursivly. Reported by Ola Andersson <rand@ling.umu.se>.
* gdataset.c (g_datalist_clear_i): Avoid Freezing, when g_datalist
is called recursivly. Reported by Ola Andersson <rand@ling.umu.se>.
Tue Oct 12 14:17:12 1999 Tim Janik <timj@gtk.org>
@ -1478,7 +1502,7 @@ Tue Oct 12 03:34:40 1999 Tim Janik <timj@gtk.org>
we handle G_LITTLE_ENDIAN and G_BIG_ENDIAN as of currently. ieee floats
and doubles are supported (used for storage) by at least intel, ppc and
sparc, reference:
http://twister.ou.edu/workshop.docs/common-tools/numerical_comp_guide/ncg_math.doc.html
http://twister.ou.edu/workshop.docs/common-tools/numerical_comp_guide/ncg_math.doc.html
Mon Oct 11 18:01:49 1999 Tim Janik <timj@gtk.org>
@ -2095,10 +2119,10 @@ Mon Mar 8 07:42:08 1999 Tim Janik <timj@gtk.org>
1999-03-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gutils.c (g_get_any_init): Fixed yet another bloody
implementation of getpwuid_r on AIX. Thanks to Olaf Dietsche
<olaf.dietsche+list.gtk@netcologne.de>. I would like a configure
test better than that, but have no idea, how to do that easily.
* gutils.c (g_get_any_init): Fixed yet another bloody
implementation of getpwuid_r on AIX. Thanks to Olaf Dietsche
<olaf.dietsche+list.gtk@netcologne.de>. I would like a configure
test better than that, but have no idea, how to do that easily.
Sun Feb 21 22:11:51 CST 1999 Shawn T. Amundson <amundson@gtk.org>
@ -2134,7 +2158,7 @@ Sat May 8 01:52:29 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
gmodule/Makefile.am
gmodule/gmodule.c
gmodule/gmoduleconf.h.in
gmodule/gmodule-beos.c
gmodule/gmodule-beos.c
gthread/Makefile.am: Port to BeOS by myself and Richard Offer.
1999-05-06 Tor Lillqvist <tml@iki.fi>
@ -2314,7 +2338,7 @@ Fri Mar 19 16:29:50 PST 1999 Manish Singh <yosh@gimp.org>
* acconfig.h: Removed unnecessary macros.
* glibconfig.h.win32, config.h.win32: Moved G_THREADS_IMPL_POSIX
* glibconfig.h.win32, config.h.win32: Moved G_THREADS_IMPL_POSIX
from config.h.win32 to glibconfig.h.win32. Taken from glib 1.2
branch.
@ -2329,39 +2353,39 @@ Wed Mar 17 03:14:56 1999 Tim Janik <timj@gtk.org>
Wed Mar 17 01:46:28 1999 Tim Janik <timj@gtk.org>
* merges from glib-1-2:
* merges from glib-1-2:
Sun Mar 14 17:50:35 1999 Tim Janik <timj@gtk.org>
* gmem.c (g_mem_chunk_*): changed a bunch of g_assert() statements
to g_return_if_fail().
(g_mem_profile):
(g_mem_chunk_print):
(g_mem_chunk_info): removed some extraneous "\n"s at the end of the log
messages.
* gmem.c (g_mem_chunk_*): changed a bunch of g_assert() statements
to g_return_if_fail().
(g_mem_profile):
(g_mem_chunk_print):
(g_mem_chunk_info): removed some extraneous "\n"s at the end of the log
messages.
* gtimer.c (g_timer_*): changed a bunch of g_assert() statements
to g_return_if_fail().
* grel.c (g_*): changed a bunch of g_assert() statements to
g_return_if_fail() and added some extra ones to check relation != NULL.
* gtimer.c (g_timer_*): changed a bunch of g_assert() statements
to g_return_if_fail().
* grel.c (g_*): changed a bunch of g_assert() statements to
g_return_if_fail() and added some extra ones to check relation != NULL.
Tue Mar 9 23:25:50 1999 Tim Janik <timj@gtk.org>
* configure.in: check for working realloc (NULL,).
* gmem.c (g_realloc): use malloc() for initial allocation on systems
where realloc(NULL,) will not work (this is the case on SunOS, reported
by Tom Geiger).
* configure.in: check for working realloc (NULL,).
* gmem.c (g_realloc): use malloc() for initial allocation on systems
where realloc(NULL,) will not work (this is the case on SunOS, reported
by Tom Geiger).
Mon Mar 8 07:42:08 1999 Tim Janik <timj@gtk.org>
* ghook.c (g_hook_unref): when !hook_list->is_setup, wrap the
flag around the call to g_hook_free() to avoid spurious
warnings (happens during destruction phase).
* ghook.c (g_hook_unref): when !hook_list->is_setup, wrap the
flag around the call to g_hook_free() to avoid spurious
warnings (happens during destruction phase).
1999-03-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gmem.c: Fixed a stupid cut'n'paste error of mine. Thanks to
Friedrich Dominicus <Friedrich.Dominicus@inka.de>
* gmem.c: Fixed a stupid cut'n'paste error of mine. Thanks to
Friedrich Dominicus <Friedrich.Dominicus@inka.de>
1999-03-16 Timur Bakeyev <mc@bat.ru>

View File

@ -19,24 +19,28 @@ EXTRA_DIST = \
README.win32 \
TODO.xml \
glib.def \
makefile.msc \
makefile.msc.in \
makefile.mingw \
makefile.mingw.in \
giowin32.c \
glibconfig.h.win32 \
glibconfig.h.win32.in \
gwin32.c \
config.h.win32 \
config.h.win32.in \
build-dll \
glib.rc \
glib.rc.in \
glib-2.0.pc.in \
gobject-2.0.pc.in \
gmodule-2.0.pc.in \
gthread-2.0.pc.in
# These may be in the builddir too
BUILT_EXTRA_DIST = \
makefile.msc \
makefile.mingw \
glibconfig.h.win32 \
config.h.win32 \
glib.rc \
glib.spec
lib_LTLIBRARIES = libglib-1.3.la
libglib_1_3_la_SOURCES = \
@ -78,8 +82,10 @@ libglib_1_3_la_SOURCES = \
gunichartables.h \
gunidecomp.h \
gunidecomp.c \
gutils.c \
@ALLOCA@
gutils.c
## If we decide to link in 'alloca.c', this is how to do it
#libglib_1_3_la_LIBADD = @ALLOCA@
glibincludedir=$(includedir)/glib-2.0
glibinclude_HEADERS = \
@ -194,5 +200,8 @@ snapshot:
snapcheck:
$(MAKE) distcheck distdir=$(PACKAGE)-snap`date +"%Y%m%d"`
dist-hook:
cp glib.spec $(distdir)
dist-hook: $(BUILT_EXTRA_DIST)
files='$(BUILT_EXTRA_DIST)'; \
for f in $$files; do \
if test -f $$f; then d=.; else d=$(srcdir); fi; \
cp $$d/$$f $(distdir) || exit 1; done

View File

@ -34,85 +34,9 @@
/* Other stuff */
#undef ENABLE_MEM_CHECK
#undef ENABLE_MEM_PROFILE
#undef ENABLE_GC_FRIENDLY
#undef REALLOC_0_WORKS
#undef G_COMPILED_WITH_DEBUGGING
#undef G_ENABLE_MSG_PREFIX
#undef G_THREADS_ENABLED
#undef GLIB_SIZEOF_GMUTEX
#undef GLIB_SIZEOF_INTMAX_T
#undef GLIB_SIZEOF_PTRDIFF_T
#undef GLIB_SIZEOF_SIZE_T
#undef GLIB_SIZEOF_SYSTEM_THREAD
#undef GLIB_BYTE_CONTENTS_GMUTEX
#undef GLIB_BYTE_CONTENTS_GRECMUTEX
#undef HAVE_BROKEN_WCTYPE
#undef HAVE_CODESET
#undef HAVE_DOPRNT
#undef HAVE_FLOAT_H
#undef HAVE_GETCWD
#undef HAVE_GETPWUID_R
#undef HAVE_GETPWUID_R_POSIX
#undef HAVE_LIMITS_H
#undef HAVE_LONG_DOUBLE
#undef HAVE_POLL
#undef HAVE_PTHREAD_ATTR_SETSTACKSIZE
#undef HAVE_PWD_H
#undef HAVE_PW_GECOS
#undef HAVE_STRLCPY
#undef HAVE_SYS_PARAM_H
#undef HAVE_SYS_POLL_H
#undef HAVE_SYS_SELECT_H
#undef HAVE_SYS_TIME_H
#undef HAVE_SYS_TIMES_H
#undef HAVE_STRERROR
#undef HAVE_STRSIGNAL
#undef HAVE_UNISTD_H
#undef HAVE_VALUES_H
#undef HAVE_WCHAR_H
#undef HAVE_WCTYPE_H
#undef HAVE_WORKING_BCOPY
#undef NO_FD_SET
#undef NO_SYS_ERRLIST
#undef NO_SYS_SIGLIST
#undef NO_SYS_SIGLIST_DECL
#undef SIZEOF_CHAR
#undef SIZEOF_SHORT
#undef SIZEOF_LONG
#undef SIZEOF_INT
#undef SIZEOF_VOID_P
#undef G_VA_COPY
#undef G_VA_COPY_AS_ARRAY
#undef G_HAVE___INLINE
#undef G_HAVE___INLINE__
#undef G_HAVE_INLINE
#undef GLIB_MAJOR_VERSION
#undef GLIB_MINOR_VERSION
#undef GLIB_MICRO_VERSION
#undef GLIB_INTERFACE_AGE
#undef GLIB_BINARY_AGE
#undef G_THREAD_SOURCE
#undef POSIX_MIN_PRIORITY
#undef POSIX_MAX_PRIORITY
#undef POSIX_YIELD_FUNC
/* #undef PACKAGE */
/* #undef VERSION */
/* Leave that blank line there!! Autoheader needs it.
If you're adding to this file, keep in mind:

View File

@ -70,7 +70,7 @@ main()
],
[glib_Sizeof=0],
ifelse([$4], [], [], [glib_Sizeof=$4]))])
AC_DEFINE_UNQUOTED(GLIB_TR_CPP(glib_sizeof_$3), [$[]glib_Sizeof])
AC_DEFINE_UNQUOTED(GLIB_TR_CPP(glib_sizeof_$3), [$[]glib_Sizeof], [Size of $3])
popdef([glib_Sizeof])dnl
])
@ -96,7 +96,8 @@ main()
],
[glib_ByteContents=no],
[glib_ByteContents=no])])
AC_DEFINE_UNQUOTED(GLIB_TR_CPP(glib_byte_contents_$3), [$[]glib_ByteContents])
AC_DEFINE_UNQUOTED(GLIB_TR_CPP(glib_byte_contents_$3), [$[]glib_ByteContents],
[Byte contents of $3])
popdef([glib_ByteContents])dnl
])

View File

@ -62,14 +62,16 @@ AM_INIT_AUTOMAKE($PACKAGE, $VERSION, no-define)
# Specify a configuration file
AM_CONFIG_HEADER(config.h)
AC_DEFINE_UNQUOTED(GLIB_MAJOR_VERSION, $GLIB_MAJOR_VERSION)
AC_DEFINE_UNQUOTED(GLIB_MINOR_VERSION, $GLIB_MINOR_VERSION)
AC_DEFINE_UNQUOTED(GLIB_MICRO_VERSION, $GLIB_MICRO_VERSION)
AC_DEFINE_UNQUOTED(GLIB_INTERFACE_AGE, $GLIB_INTERFACE_AGE)
AC_DEFINE_UNQUOTED(GLIB_BINARY_AGE, $GLIB_BINARY_AGE)
dnl Initialize libtool
AM_PROG_LIBTOOL
AC_DEFINE_UNQUOTED(GLIB_MAJOR_VERSION, $GLIB_MAJOR_VERSION,
[Define to the GLIB major version])
AC_DEFINE_UNQUOTED(GLIB_MINOR_VERSION, $GLIB_MINOR_VERSION,
[Define to the GLIB minor version])
AC_DEFINE_UNQUOTED(GLIB_MICRO_VERSION, $GLIB_MICRO_VERSION,
[Define to the GLIB micro version])
AC_DEFINE_UNQUOTED(GLIB_INTERFACE_AGE, $GLIB_INTERFACE_AGE,
[Define to the GLIB interface age])
AC_DEFINE_UNQUOTED(GLIB_BINARY_AGE, $GLIB_BINARY_AGE,
[Define to the GLIB binary age])
dnl Initialize maintainer mode
AM_MAINTAINER_MODE
@ -115,7 +117,7 @@ fi
AC_MSG_CHECKING(whether to enable memory checking)
if test "x$enable_mem_check" = "xyes"; then
AC_DEFINE(ENABLE_MEM_CHECK, 1)
AC_DEFINE(ENABLE_MEM_CHECK, 1, [Whether to enable memory checking])
AC_SUBST(ENABLE_MEM_CHECK)
AC_MSG_RESULT(yes)
else
@ -124,7 +126,7 @@ fi
AC_MSG_CHECKING(whether to enable memory profiling)
if test "x$enable_mem_profile" = "xyes"; then
AC_DEFINE(ENABLE_MEM_PROFILE, 1)
AC_DEFINE(ENABLE_MEM_PROFILE, 1, [Whether to enable memory profiling])
AC_SUBST(ENABLE_MEM_PROFILE)
AC_MSG_RESULT(yes)
else
@ -133,7 +135,7 @@ fi
AC_MSG_CHECKING(whether to enable garbage collector friendliness)
if test "x$enable_gc_friendly" = "xyes"; then
AC_DEFINE(ENABLE_GC_FRIENDLY, 1)
AC_DEFINE(ENABLE_GC_FRIENDLY, 1, [Whether to enable GC friendliness])
AC_SUBST(ENABLE_GC_FRIENDLY)
AC_MSG_RESULT(yes)
else
@ -149,10 +151,12 @@ else
fi
fi
AC_DEFINE_UNQUOTED(G_COMPILED_WITH_DEBUGGING, "${enable_debug}")
AC_DEFINE_UNQUOTED(G_COMPILED_WITH_DEBUGGING, "${enable_debug}",
[Whether glib was compiled with debugging enabled])
if test "x$enable_msg_prefix" = "xyes"; then
AC_DEFINE_UNQUOTED(G_ENABLE_MSG_PREFIX, 1)
AC_DEFINE_UNQUOTED(G_ENABLE_MSG_PREFIX, 1,
[Enable prefixing of error messages with program names])
fi
# Checks for programs.
@ -160,26 +164,27 @@ AC_PROG_CC
AM_PROG_CC_STDC
AC_PROG_INSTALL
changequote(,)dnl
dnl Initialize libtool
AM_PROG_LIBTOOL
if test "x$GCC" = "xyes"; then
case " $CFLAGS " in
*[\ \ ]-Wall[\ \ ]*) ;;
*[[\ \ ]]-Wall[[\ \ ]]*) ;;
*) CFLAGS="$CFLAGS -Wall" ;;
esac
if test "x$enable_ansi" = "xyes"; then
case " $CFLAGS " in
*[\ \ ]-ansi[\ \ ]*) ;;
*[[\ \ ]]-ansi[[\ \ ]]*) ;;
*) CFLAGS="$CFLAGS -ansi" ;;
esac
case " $CFLAGS " in
*[\ \ ]-pedantic[\ \ ]*) ;;
*[[\ \ ]]-pedantic[[\ \ ]]*) ;;
*) CFLAGS="$CFLAGS -pedantic" ;;
esac
fi
fi
changequote([,])dnl
dnl DU4 native cc currently needs -std1 for ANSI mode (instead of K&R)
AC_MSG_CHECKING([for extra flags to get ANSI library prototypes])
@ -262,8 +267,7 @@ AC_C_CONST
dnl AC_C_INLINE is useless to us since it bails out too early, we need to
dnl truely know which ones of `inline', `__inline' and `__inline__' are
dnl actually supported.
AC_MSG_CHECKING(for __inline)
AC_CACHE_VAL(glib_cv_has__inline,[
AC_CACHE_CHECK([for __inline],glib_cv_has__inline,[
AC_TRY_RUN([
__inline int foo () { return 0; }
int main () { return foo (); }
@ -273,12 +277,10 @@ AC_CACHE_VAL(glib_cv_has__inline,[
glib_cv_has__inline=no
,)
])
AC_MSG_RESULT($glib_cv_has__inline)
case x$glib_cv_has__inline in
xyes) AC_DEFINE(G_HAVE___INLINE)
xyes) AC_DEFINE(G_HAVE___INLINE,1,[Have __inline keyword])
esac
AC_MSG_CHECKING(for __inline__)
AC_CACHE_VAL(glib_cv_has__inline__,[
AC_CACHE_CHECK([for __inline__],glib_cv_has__inline__,[
AC_TRY_RUN([
__inline__ int foo () { return 0; }
int main () { return foo (); }
@ -288,12 +290,10 @@ AC_CACHE_VAL(glib_cv_has__inline__,[
glib_cv_has__inline__=no
,)
])
AC_MSG_RESULT($glib_cv_has__inline__)
case x$glib_cv_has__inline__ in
xyes) AC_DEFINE(G_HAVE___INLINE__)
xyes) AC_DEFINE(G_HAVE___INLINE__,1,[Have __inline__ keyword])
esac
AC_MSG_CHECKING(for inline)
AC_CACHE_VAL(glib_cv_hasinline,[
AC_CACHE_CHECK([for inline], glib_cv_hasinline,[
AC_TRY_RUN([
inline int foo () { return 0; }
int main () { return foo (); }
@ -303,9 +303,8 @@ AC_CACHE_VAL(glib_cv_hasinline,[
glib_cv_hasinline=no
,)
])
AC_MSG_RESULT($glib_cv_hasinline)
case x$glib_cv_hasinline in
xyes) AC_DEFINE(G_HAVE_INLINE)
xyes) AC_DEFINE(G_HAVE_INLINE,1,[Have inline keyword])
esac
# check for bytesex stuff
@ -375,7 +374,7 @@ if test "$ac_cv_func_memmove" != "yes"; then
return(0);
}],glib_cv_working_bcopy=yes,glib_cv_working_bcopy=no)])
if test "$glib_cv_working_bcopy" == "yes"; then
AC_DEFINE(HAVE_WORKING_BCOPY)
AC_DEFINE(HAVE_WORKING_BCOPY,1,[Have a working bcopy])
fi
fi
@ -388,7 +387,7 @@ sys_errlist[sys_nerr-1][0] = 0;
], glib_ok=yes, glib_ok=no)
AC_MSG_RESULT($glib_ok)
if test $glib_ok = no; then
AC_DEFINE(NO_SYS_ERRLIST)
AC_DEFINE(NO_SYS_ERRLIST,1,[global 'sys_errlist' not found])
fi
# Check for sys_siglist
@ -399,7 +398,7 @@ exit (sys_siglist[0]);
], glib_ok=yes, glib_ok=no)
AC_MSG_RESULT($glib_ok)
if test $glib_ok = no; then
AC_DEFINE(NO_SYS_SIGLIST)
AC_DEFINE(NO_SYS_SIGLIST,1,[global 'sys_siglist' not found])
fi
# Check for sys_siglist decl (see Tue Jan 19 00:44:24 1999 in changelog)
@ -409,7 +408,7 @@ strlen (sys_siglist[0]);
], glib_ok=yes, glib_ok=no)
AC_MSG_RESULT($glib_ok)
if test $glib_ok = no; then
AC_DEFINE(NO_SYS_SIGLIST_DECL)
AC_DEFINE(NO_SYS_SIGLIST_DECL,1,[global 'sys_siglist' not declared])
fi
# Check if <sys/select.h> needs to be included for fd_set
@ -421,38 +420,36 @@ if test $gtk_ok = yes; then
else
AC_HEADER_EGREP(fd_set, sys/select.h, gtk_ok=yes)
if test $gtk_ok = yes; then
AC_DEFINE(HAVE_SYS_SELECT_H)
# *** FIXME: give it a different name
AC_DEFINE(HAVE_SYS_SELECT_H,1,[found fd_set in sys/select.h])
AC_MSG_RESULT([yes, found in sys/select.h])
else
AC_DEFINE(NO_FD_SET)
AC_DEFINE(NO_FD_SET,1,[didn't find fd_set])
AC_MSG_RESULT(no)
fi
fi
dnl *** check for sane realloc() ***
AC_MSG_CHECKING(whether realloc (NULL,) will work)
AC_CACHE_VAL(glib_cv_sane_realloc,[
AC_CACHE_CHECK([whether realloc (NULL,) will work],glib_cv_sane_realloc,[
AC_TRY_RUN([
#include <stdlib.h>
int main() {
return realloc (0, sizeof (int)) == 0;
}],
glib_cv_sane_realloc=yes
,
glib_cv_sane_realloc=no
,)
[glib_cv_sane_realloc=yes],
[glib_cv_sane_realloc=no],
[])
])
if test x$glib_cv_sane_realloc = xyes; then
AC_DEFINE(REALLOC_0_WORKS)
AC_DEFINE(REALLOC_0_WORKS,1,[whether realloc (NULL,) works])
fi
AC_MSG_RESULT($glib_cv_sane_realloc)
dnl Check for nl_langinfo and CODESET
AC_MSG_CHECKING([for nl_langinfo (CODESET)])
AC_TRY_COMPILE([#include <langinfo.h>],
[char *codeset = nl_langinfo (CODESET);],
AC_DEFINE(HAVE_CODESET)
AC_DEFINE(HAVE_CODESET,1,[Have nl_langinfo (CODESET)])
have_codeset=yes,
have_codeset=no)
AC_MSG_RESULT($have_codeset)
@ -471,7 +468,7 @@ char *p = malloc(10);
], glib_ok=yes, glib_ok=no)
AC_MSG_RESULT($glib_ok)
if test $glib_ok = yes; then
AC_DEFINE(HAVE_STRLCPY)
AC_DEFINE(HAVE_STRLCPY,1,[Have functions strlcpy and strlcat])
fi
@ -480,8 +477,7 @@ dnl *** va_copy checks ***
dnl **********************
dnl we currently check for all three va_copy possibilities, so we get
dnl all results in config.log for bug reports.
AC_MSG_CHECKING(for an implementation of va_copy())
AC_CACHE_VAL(glib_cv_va_copy,[
AC_CACHE_CHECK([for an implementation of va_copy()],glib_cv_va_copy,[
AC_TRY_RUN([
#include <stdarg.h>
void f (int i, ...) {
@ -496,14 +492,11 @@ AC_CACHE_VAL(glib_cv_va_copy,[
f (0, 42);
return 0;
}],
glib_cv_va_copy=yes
,
glib_cv_va_copy=no
,)
[glib_cv_va_copy=yes],
[glib_cv_va_copy=no],
[])
])
AC_MSG_RESULT($glib_cv_va_copy)
AC_MSG_CHECKING(for an implementation of __va_copy())
AC_CACHE_VAL(glib_cv___va_copy,[
AC_CACHE_CHECK([for an implementation of __va_copy()],glib_cv___va_copy,[
AC_TRY_RUN([
#include <stdarg.h>
void f (int i, ...) {
@ -518,14 +511,23 @@ AC_CACHE_VAL(glib_cv___va_copy,[
f (0, 42);
return 0;
}],
glib_cv___va_copy=yes
,
glib_cv___va_copy=no
,)
[glib_cv___va_copy=yes],
[glib_cv___va_copy=no],
[])
])
AC_MSG_RESULT($glib_cv___va_copy)
AC_MSG_CHECKING(whether va_lists can be copied by value)
AC_CACHE_VAL(glib_cv_va_val_copy,[
if test "x$glib_cv_va_copy" = "xyes"; then
g_va_copy_func=va_copy
else if test "x$glib_cv___va_copy" = "xyes"; then
g_va_copy_func=__va_copy
fi
fi
if test -n "$g_va_copy_func"; then
AC_DEFINE_UNQUOTED(G_VA_COPY,$g_va_copy_func,[A 'va_copy' style function])
fi
AC_CACHE_CHECK([whether va_lists can be copied by value],glib_cv_va_val_copy,[
AC_TRY_RUN([
#include <stdarg.h>
void f (int i, ...) {
@ -540,22 +542,14 @@ AC_CACHE_VAL(glib_cv_va_val_copy,[
f (0, 42);
return 0;
}],
glib_cv_va_val_copy=yes
,
glib_cv_va_val_copy=no
,)
[glib_cv_va_val_copy=yes],
[glib_cv_va_val_copy=no],
[])
])
if test "x$glib_cv_va_copy" = "xyes"; then
AC_DEFINE(G_VA_COPY, va_copy)
else if test "x$glib_cv___va_copy" = "xyes"; then
AC_DEFINE(G_VA_COPY, __va_copy)
fi
fi
if test "x$glib_cv_va_val_copy" = "xno"; then
AC_DEFINE(G_VA_COPY_AS_ARRAY)
fi
AC_MSG_RESULT($glib_cv_va_val_copy)
if test "x$glib_cv_va_val_copy" = "xno"; then
AC_DEFINE(G_VA_COPY_AS_ARRAY,1, ['va_lists' cannot be copies as values])
fi
dnl ***********************
dnl *** g_module checks ***
@ -577,11 +571,11 @@ fi
dnl *** load_image (BeOS)
if test -z "$G_MODULE_IMPL" -a "x$glib_native_beos" = "xyes"; then
AC_CHECK_LIB(root, load_image,
G_MODULE_LIBS="-lbe -lroot -lglib"
[G_MODULE_LIBS="-lbe -lroot -lglib"
G_MODULE_LIBS_EXTRA="-L\$(top_builddir_full)/.libs"
G_MODULE_PLUGIN_LIBS="-L\$(top_builddir_full)/gmodule/.libs -lgmodule"
G_MODULE_IMPL=G_MODULE_IMPL_BEOS
,)
G_MODULE_IMPL=G_MODULE_IMPL_BEOS],
[])
fi
# *** dlopen() and dlsym() in libdl
if test -z "$G_MODULE_IMPL"; then
@ -600,9 +594,8 @@ if test -z "$G_MODULE_IMPL"; then
[ G_MODULE_LDFLAGS="-Wl,-E" ],[
LDFLAGS="$SAVED_LDFLAGS -bexpall"
AC_TRY_LINK(,[ return 0; ],
G_MODULE_LDFLAGS="-bexpall",
G_MODULE_LDFLAGS="none"
)
[G_MODULE_LDFLAGS="-bexpall"],
[G_MODULE_LDFLAGS="none"])
])
LDFLAGS=$SAVED_LDFLAGS
AC_MSG_RESULT($G_MODULE_LDFLAGS)
@ -610,9 +603,9 @@ if test -z "$G_MODULE_IMPL"; then
G_MODULE_LDFLAGS=
fi
AC_CHECK_LIB(dld, shl_load,
G_MODULE_LIBS=-ldld
G_MODULE_IMPL=G_MODULE_IMPL_DLD
,)
[G_MODULE_LIBS=-ldld
G_MODULE_IMPL=G_MODULE_IMPL_DLD],
[])
fi
dnl *** additional checks for G_MODULE_IMPL_DL
if test "$G_MODULE_IMPL" = "G_MODULE_IMPL_DL"; then
@ -626,8 +619,8 @@ if test "$G_MODULE_IMPL" = "G_MODULE_IMPL_DL"; then
LIBS="$LIBS $G_MODULE_LIBS"
LDFLAGS="$LDFLAGS $G_MODULE_LDFLAGS"
dnl *** check whether we need preceeding underscores
AC_MSG_CHECKING(for preceeding underscore in symbols)
AC_CACHE_VAL(glib_cv_uscore,[
AC_CACHE_CHECK([for preceeding underscore in symbols],
glib_cv_uscore,[
AC_TRY_RUN([
#include <dlfcn.h>
int glib_underscore_test (void) { return 42; }
@ -639,12 +632,11 @@ dnl *** check whether we need preceeding underscores
f2 = dlsym (handle, "_glib_underscore_test");
} return (!f2 || f1);
}],
glib_cv_uscore=yes,
glib_cv_uscore=no,
)
[glib_cv_uscore=yes],
[glib_cv_uscore=no],
[])
rm -f plugin.c plugin.o plugin.lo
])
AC_MSG_RESULT($glib_cv_uscore)
if test "x$glib_cv_uscore" = "xyes"; then
G_MODULE_NEED_USCORE=1
else
@ -654,8 +646,8 @@ dnl *** check whether we need preceeding underscores
LDFLAGS="$LDFLAGS_orig"
dnl *** check for having dlerror()
AC_CHECK_FUNC(dlerror,
G_MODULE_HAVE_DLERROR=1,
G_MODULE_HAVE_DLERROR=0)
[G_MODULE_HAVE_DLERROR=1],
[G_MODULE_HAVE_DLERROR=0])
LIBS="$LIBS_orig"
fi
dnl *** done, have e got an implementation?
@ -954,8 +946,7 @@ if test x"$have_threads" != xnone; then
# LIBS="$LIBS $G_THREAD_LIBS"
AC_CHECK_FUNCS(localtime_r)
if test "$ac_cv_header_pwd_h" = "yes"; then
AC_MSG_CHECKING([for getpwuid_r])
AC_CACHE_VAL(ac_cv_func_getpwuid_r,
AC_CACHE_CHECK([for getpwuid_r],ac_cv_func_getpwuid_r,
[AC_TRY_RUN([#include <errno.h>
int main () { char buffer[10000], *pointer;
char getpwuid_r (long, void*, void*,
@ -968,10 +959,7 @@ if test x"$have_threads" != xnone; then
[ac_cv_func_getpwuid_r=yes],
[ac_cv_func_getpwuid_r=no])])
if test "$ac_cv_func_getpwuid_r" = yes; then
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_GETPWUID_R)
else
AC_MSG_RESULT(no)
AC_DEFINE(HAVE_GETPWUID_R,1,[Have function getpwuid_r])
fi
if test "$ac_cv_func_getpwuid_r" = "yes"; then
AC_MSG_CHECKING(whether getpwuid_r is posix like)
@ -981,7 +969,8 @@ if test x"$have_threads" != xnone; then
#include <sys/types.h>
#include <stdlib.h>],
[getpwuid_r((uid_t)0, NULL, NULL, (size_t)0, NULL);],
[AC_DEFINE(HAVE_GETPWUID_R_POSIX)
[AC_DEFINE(HAVE_GETPWUID_R_POSIX,1,
[Function getpwuid_r has the POSIX signature])
AC_MSG_RESULT(yes)],
[AC_MSG_RESULT(no)])
fi
@ -999,7 +988,8 @@ if test x"$have_threads" != xnone; then
AC_TRY_LINK([#include <pthread.h>],
[pthread_attr_t t; pthread_attr_setstacksize(&t,0)],
[AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_PTHREAD_ATTR_SETSTACKSIZE)],
AC_DEFINE(HAVE_PTHREAD_ATTR_SETSTACKSIZE,1,
[Have function pthread_attr_setstacksize])],
[AC_MSG_RESULT(no)])
AC_MSG_CHECKING(for minimal/maximal thread priority)
if test x"$posix_priority_min" = xnone; then
@ -1021,8 +1011,8 @@ if test x"$have_threads" != xnone; then
posix_priority_max=-1
else
AC_MSG_RESULT($posix_priority_min/$posix_priority_max)
AC_DEFINE_UNQUOTED(POSIX_MIN_PRIORITY,$posix_priority_min)
AC_DEFINE_UNQUOTED(POSIX_MAX_PRIORITY,$posix_priority_max)
AC_DEFINE_UNQUOTED(POSIX_MIN_PRIORITY,$posix_priority_min,[Minimum POSIX RT priority])
AC_DEFINE_UNQUOTED(POSIX_MAX_PRIORITY,$posix_priority_max,[Maximum POSIX RT priority])
fi
posix_yield_func=none
AC_MSG_CHECKING(for posix yield function)
@ -1041,7 +1031,7 @@ if test x"$have_threads" != xnone; then
AC_MSG_RESULT($posix_yield_func)
posix_yield_func="$posix_yield_func()"
fi
AC_DEFINE_UNQUOTED(POSIX_YIELD_FUNC,$posix_yield_func)
AC_DEFINE_UNQUOTED(POSIX_YIELD_FUNC,$posix_yield_func,[The POSIX RT yield function])
CPPFLAGS="$glib_save_CPPFLAGS"
else # solaris threads
GLIB_SIZEOF([#include <thread.h>],
@ -1064,7 +1054,8 @@ else
GLIB_SIZEOF(, void*, system_thread)
fi
AC_DEFINE_UNQUOTED(G_THREAD_SOURCE,"gthread-$have_threads.c")
AC_DEFINE_UNQUOTED(G_THREAD_SOURCE,"gthread-$have_threads.c",
[Source file containing theread implementation])
AC_SUBST(G_THREAD_CFLAGS)
AC_SUBST(G_THREAD_LIBS)
AC_SUBST(G_THREAD_LIBS_EXTRA)
@ -1651,4 +1642,3 @@ echo "do development with GLib 1.2 any longer."
echo ""
echo " *** You should be using GLib 1.2 instead. ***"
])

View File

@ -1,3 +1,14 @@
2000-10-15 Raja R Harinath <harinath@cs.umn.edu>
'make distcheck' fixes.
* glib/Makefile.am (EXTRA_DIST): Add $(DOC_MODULE)-decl.txt.
(html): Run 'gtkdoc-fixxref' in $(srcdir).
(dist-check-gtkdoc): Add missing quote.
(dist-hook): Copy in dependency order, so that none of the
makerules are fired in a tarball build.
* gobject/Makefile.am: Likewise.
2000-10-13 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib/glib-sections.txt: Added misc items.

View File

@ -79,6 +79,7 @@ TARGET_DIR=$(HTML_DIR)/$(DOC_MODULE)
EXTRA_DIST = \
$(DOC_MAIN_SGML_FILE) \
$(DOC_MODULE)-decl.txt \
$(DOC_MODULE)-sections.txt \
$(DOC_MODULE)-overrides.txt
@ -113,7 +114,7 @@ html:
test -d $(srcdir)/html || mkdir $(srcdir)/html
-cd $(srcdir)/html && gtkdoc-mkhtml $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)
@echo '-- Fixing Crossreferences'
gtkdoc-fixxref --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIOJNS)
cd $(srcdir) && gtkdoc-fixxref --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)
clean-local:
rm -f *~ *.bak *.signals *-unused.txt
@ -142,17 +143,18 @@ if ENABLE_GTK_DOC
dist-check-gtkdoc:
else
dist-check-gtkdoc:
@echo "*** gtk-doc must be installed and enabled in order to make dist
@echo "*** gtk-doc must be installed and enabled in order to make dist"
@false
endif
dist-hook: dist-check-gtkdoc
mkdir $(distdir)/html
mkdir $(distdir)/sgml
mkdir $(distdir)/tmpl
-cp $(srcdir)/html/*.html $(srcdir)/html/*.css $(distdir)/html
mkdir $(distdir)/sgml
mkdir $(distdir)/html
-cp $(srcdir)/tmpl/*.sgml $(distdir)/tmpl
-cp $(srcdir)/sgml/*.sgml $(distdir)/sgml
-cp $(srcdir)/sgml/*.bottom $(srcdir)/sgml/*.top $(distdir)/sgml
-cp $(srcdir)/html/index.sgml $(distdir)/html
-cp $(srcdir)/html/*.html $(srcdir)/html/*.css $(distdir)/html
.PHONY : html sgml templates scan

View File

@ -34,6 +34,7 @@ TARGET_DIR=$(HTML_DIR)/$(DOC_MODULE)
EXTRA_DIST = \
$(DOC_MAIN_SGML_FILE) \
$(DOC_MODULE)-decl.txt \
$(DOC_MODULE)-sections.txt \
$(DOC_MODULE)-overrides.txt
@ -97,17 +98,18 @@ if ENABLE_GTK_DOC
dist-check-gtkdoc:
else
dist-check-gtkdoc:
@echo "*** gtk-doc must be installed and enabled in order to make dist
@echo "*** gtk-doc must be installed and enabled in order to make dist"
@false
endif
dist-hook: dist-check-gtkdoc
mkdir $(distdir)/html
mkdir $(distdir)/sgml
mkdir $(distdir)/tmpl
-cp $(srcdir)/html/*.html $(srcdir)/html/*.css $(distdir)/html
mkdir $(distdir)/sgml
mkdir $(distdir)/html
-cp $(srcdir)/tmpl/*.sgml $(distdir)/tmpl
-cp $(srcdir)/sgml/*.sgml $(distdir)/sgml
-cp $(srcdir)/sgml/*.bottom $(srcdir)/sgml/*.top $(distdir)/sgml
-cp $(srcdir)/html/index.sgml $(distdir)/html
-cp $(srcdir)/html/*.html $(srcdir)/html/*.css $(distdir)/html
.PHONY : html sgml templates scan

View File

@ -19,24 +19,28 @@ EXTRA_DIST = \
README.win32 \
TODO.xml \
glib.def \
makefile.msc \
makefile.msc.in \
makefile.mingw \
makefile.mingw.in \
giowin32.c \
glibconfig.h.win32 \
glibconfig.h.win32.in \
gwin32.c \
config.h.win32 \
config.h.win32.in \
build-dll \
glib.rc \
glib.rc.in \
glib-2.0.pc.in \
gobject-2.0.pc.in \
gmodule-2.0.pc.in \
gthread-2.0.pc.in
# These may be in the builddir too
BUILT_EXTRA_DIST = \
makefile.msc \
makefile.mingw \
glibconfig.h.win32 \
config.h.win32 \
glib.rc \
glib.spec
lib_LTLIBRARIES = libglib-1.3.la
libglib_1_3_la_SOURCES = \
@ -78,8 +82,10 @@ libglib_1_3_la_SOURCES = \
gunichartables.h \
gunidecomp.h \
gunidecomp.c \
gutils.c \
@ALLOCA@
gutils.c
## If we decide to link in 'alloca.c', this is how to do it
#libglib_1_3_la_LIBADD = @ALLOCA@
glibincludedir=$(includedir)/glib-2.0
glibinclude_HEADERS = \
@ -194,5 +200,8 @@ snapshot:
snapcheck:
$(MAKE) distcheck distdir=$(PACKAGE)-snap`date +"%Y%m%d"`
dist-hook:
cp glib.spec $(distdir)
dist-hook: $(BUILT_EXTRA_DIST)
files='$(BUILT_EXTRA_DIST)'; \
for f in $$files; do \
if test -f $$f; then d=.; else d=$(srcdir); fi; \
cp $$d/$$f $(distdir) || exit 1; done

View File

@ -1,3 +1,8 @@
2000-10-15 Raja R Harinath <harinath@cs.umn.edu>
* Makefile.am (BUILT_EXTRA_DIST): New variable.
(dist-hook): Handle $(BUILT_EXTRA_DIST).
2000-09-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gmodule.h: Moved declaration of g_log_domain_gmodule up before
@ -72,32 +77,32 @@
Wed Mar 1 05:34:47 2000 Tim Janik <timj@gtk.org>
* gmodule-beos.c (_g_module_symbol): do not return NULL symbols.
* gmodule-beos.c (_g_module_symbol): do not return NULL symbols.
* gmodule-os2.c: removed NetBSD specific defines.
(_g_module_self): set an error message for unsupported behaviour.
* gmodule-os2.c: removed NetBSD specific defines.
(_g_module_self): set an error message for unsupported behaviour.
* gmodule-beos.c: many coding style fixups.
(_g_module_open):
(_g_module_self):
(_g_module_close):
(_g_module_symbol): bunch of memory leaks plugged.
* gmodule-beos.c: many coding style fixups.
(_g_module_open):
(_g_module_self):
(_g_module_close):
(_g_module_symbol): bunch of memory leaks plugged.
* gmodule-dl.c: make sure the error message returned from dlerror()
is always != NULL, by using a wrapper function fetch_dlerror(). based
on a patch to fix _g_module_symbol() for NetBSD from Scott Presnell
<srp@zgi.com>.
* gmodule-dl.c: make sure the error message returned from dlerror()
is always != NULL, by using a wrapper function fetch_dlerror(). based
on a patch to fix _g_module_symbol() for NetBSD from Scott Presnell
<srp@zgi.com>.
* gmodule-dld.c: minor indentation.
* gmodule-dld.c: minor indentation.
* gmodule-win32.c: minor cleanups.
* gmodule-win32.c: minor cleanups.
* merges from glib-1-2.
Sat Feb 19 19:43:29 2000 Tim Janik <timj@gtk.org>
* testgmodule.c (main): added test to check that not yet bound symbols
in shared libraries of the main module are retrievable, from David Gero.
* testgmodule.c (main): added test to check that not yet bound symbols
in shared libraries of the main module are retrievable, from David Gero.
2000-01-13 Martin Baulig <martin@home-of-linux.org>
@ -147,8 +152,8 @@ Wed Feb 10 07:56:33 1999 Tim Janik <timj@gtk.org>
Thu Jan 21 12:40:11 EST 1999 Jeff Garzik <jgarzik@pobox.com>
* gmodule-dl.c (_g_module_build_path):
Add braces to eliminate an ambiguous else warning.
* gmodule-dl.c (_g_module_build_path):
Add braces to eliminate an ambiguous else warning.
1999-01-16 Tor Lillqvist <tml@iki.fi>
@ -176,10 +181,10 @@ Fri Nov 20 14:43:44 1998 Tim Janik <timj@gtk.org>
Wed Nov 11 23:23:22 EST 1998 Jeff Garzik <jgarzik@pobox.com>
* Makefile.am : INCLUDES is the right way to add to CFLAGS, not
DEFS. Also there are bugs with '+=' in makefiles.
Got rid of DEFS line by moving G_LOG_DOMAIN setting into INCLUDES.
Removed redundant -I from INCLUDES.
* Makefile.am : INCLUDES is the right way to add to CFLAGS, not
DEFS. Also there are bugs with '+=' in makefiles.
Got rid of DEFS line by moving G_LOG_DOMAIN setting into INCLUDES.
Removed redundant -I from INCLUDES.
Tue Oct 27 04:00:11 1998 Tim Janik <timj@gtk.org>
@ -210,18 +215,18 @@ Tue Oct 27 04:00:11 1998 Tim Janik <timj@gtk.org>
1998-10-20: Tor Lillqvist <tml@iki.fi>
* gmodule/gmodule-win32.c:
New file.
New file.
* gmodule/gmodule.c gmodule/gmodule.h:
Added the funcion g_module_build_path that builds the path to
a module file, decorating the name according to the system's
conventions. Added the Windows implementation.
* gmodule/gmodule.c gmodule/gmodule.h:
Added the funcion g_module_build_path that builds the path to
a module file, decorating the name according to the system's
conventions. Added the Windows implementation.
* gmodule/libgplugin_a.c gmodule/libgplugin_b.c:
Added LibMain for LCC-Win32.
Added LibMain for LCC-Win32.
* gmodule/testgmodule.c:
Handle Windows dll names.
* gmodule/testgmodule.c:
Handle Windows dll names.
1998-10-25 Raja R Harinath <harinath@cs.umn.edu>
@ -310,7 +315,6 @@ Sun Aug 9 15:57:38 1998 Tim Janik <timj@gtk.org>
* gmodule.c: GModule library implementation, which is basically
a wrapper about system specifc dynamic loading facilities.
Sun Aug 9 10:31:05 1998 Tim Janik <timj@gtk.org>
* ChangeLog start for gmodule.

View File

@ -4,9 +4,7 @@ INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/gmodule \
-DG_LOG_DOMAIN=g_log_domain_gmodule @GLIB_DEBUG_FLAGS@
EXTRA_DIST = \
makefile.mingw \
makefile.mingw.in \
makefile.msc \
makefile.msc.in \
gmoduleconf.h.in \
gmodule.def \
@ -16,9 +14,13 @@ EXTRA_DIST = \
gmodule-win32.c \
gmodule-beos.c \
gmoduleconf.h.win32 \
gmodule.rc \
gmodule.rc.in
BUILT_EXTRA_DIST = \
makefile.mingw \
makefile.msc \
gmodule.rc
BUILT_SOURCES = gmoduleconf.h
gmoduleconf.h: gmoduleconf.h.in
@ -82,3 +84,10 @@ install-libLTLIBRARIES: libgmodule-1.3.la
release:
$(MAKE) dist distdir=$(PACKAGE)`date +"%y%m%d"`
dist-hook: $(BUILT_EXTRA_DIST)
@files='$(BUILT_EXTRA_DIST)'; \
for f in $$files; do \
if test -f $$f; then d=.; else d=$(srcdir); fi; \
cp $$d/$$f $(distdir) || exit 1; done

View File

@ -1,9 +1,16 @@
2000-10-15 Raja R Harinath <harinath@cs.umn.edu>
* Makefile.am (BUILT_EXTRA_DIST): New variable.
(dist-hook): Handle $(BUILT_EXTRA_DIST).
(*): Remove traces of @STRIP_{BEGIN,END}@.
2000-09-29 Martin Baulig <baulig@suse.de>
Several minor ANSI C fixes.
Added missing casts:
* gtype.c (type_class_init): `(gpointer) bnode->data->class.class_init_base'
* gtype.c (type_class_init):
`(gpointer) bnode->data->class.class_init_base'
in call to g_slist_prepend() and
'GBaseInitFunc class_init_base = (GBaseInitFunc) slist->data'.

View File

@ -9,21 +9,20 @@ INCLUDES = -I$(top_srcdir) -I$(top_builddir) -I. @GLIB_DEBUG_FLAGS@
lib_LTLIBRARIES = libgobject-1.3.la
# provide g_logv() domain
DEFS += -DG_LOG_DOMAIN=g_log_domain_gobject
AM_CFLAGS = -DG_LOG_DOMAIN=g_log_domain_gobject
# libtool stuff: set version and export symbols for resolving
libgobjectincludedir = $(includedir)/glib-2.0/gobject
libgobject_1_3_la_LDFLAGS = @STRIP_BEGIN@ \
libgobject_1_3_la_LDFLAGS = \
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
-export-dynamic \
@STRIP_END@
-export-dynamic
libgobject_1_3_la_LIBADD = # $(libglib)
#
# setup source file variables
#
# GObject header files for public installation (non-generated)
gobject_public_h_sources = @STRIP_BEGIN@ \
gobject_public_h_sources = \
gvalue.h \
gvaluetypes.h \
gparam.h \
@ -31,28 +30,25 @@ gobject_public_h_sources = @STRIP_BEGIN@ \
genums.h \
gobject.h \
gtype.h \
gvaluecollector.h \
@STRIP_END@
gvaluecollector.h
# private GObject header files
gobject_private_h_sources = @STRIP_BEGIN@ \
@STRIP_END@
gobject_private_h_sources =
# GObject C sources to build the library from
gobject_c_sources = @STRIP_BEGIN@ \
gobject_c_sources = \
gvalue.c \
gvaluetypes.c \
gparam.c \
gparamspecs.c \
genums.c \
gobject.c \
gtype.c \
@STRIP_END@
gtype.c
# non-header sources (headers should be specified in the above variables)
# that don't serve as direct make target sources, i.e. they don't have
# their own .lo rules and don't get publically installed
gobject_extra_sources = @STRIP_BEGIN@ \
@STRIP_END@
gobject_extra_sources =
#
# setup GObject sources and their dependancies
@ -81,14 +77,16 @@ gobject_query_LDADD = $(progs_LDADD)
# auxillary files
#
EXTRA_DIST += \
makefile.mingw \
makefile.mingw.in \
makefile.msc \
makefile.msc.in \
gobject.def \
gobject.rc \
gobject.rc.in
BUILT_EXTRA_DIST = \
makefile.mingw \
makefile.msc \
gobject.rc
gobject.rc: $(top_builddir)/config.status $(top_srcdir)/gobject/gobject.rc.in
cd $(top_builddir) && CONFIG_FILES=gobject/$@ CONFIG_HEADERS= $(SHELL) ./config.status
@ -97,3 +95,10 @@ makefile.mingw: $(top_builddir)/config.status $(top_srcdir)/gobject/makefile.min
makefile.msc: $(top_builddir)/config.status $(top_srcdir)/gobject/makefile.msc.in
cd $(top_builddir) && CONFIG_FILES=gobject/$@ CONFIG_HEADERS= $(SHELL) ./config.status
dist-hook: $(BUILT_EXTRA_DIST)
files='$(BUILT_EXTRA_DIST)'; \
for f in $$files; do \
if test -f $$f; then d=.; else d=$(srcdir); fi; \
cp $$d/$$f $(distdir) || exit 1; done

View File

@ -1,3 +1,8 @@
2000-10-15 Raja R Harinath <harinath@cs.umn.edu>
* Makefile.am (BUILT_EXTRA_DIST): New variable.
(dist-hook): Handle $(BUILT_EXTRA_DIST).
2000-09-29 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gthread-impl.c: Added errorcheck mutexes. New exported function

View File

@ -4,17 +4,19 @@ INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/gthread \
-DG_LOG_DOMAIN=\"GThread\" @GTHREAD_COMPILE_IMPL_DEFINES@
EXTRA_DIST = \
makefile.mingw \
makefile.mingw.in \
makefile.msc \
makefile.msc.in \
gthread-posix.c \
gthread-solaris.c \
gthread-none.c \
gthread.def \
gthread.rc \
gthread.rc.in
BUILT_EXTRA_DIST = \
makefile.mingw \
makefile.msc \
gthread.rc
libglib = $(top_builddir)/libglib.la # -lglib
top_builddir_full=`cd \$(top_builddir); pwd`
@ -36,3 +38,10 @@ makefile.mingw: $(top_builddir)/config.status $(top_srcdir)/gthread/makefile.min
makefile.msc: $(top_builddir)/config.status $(top_srcdir)/gthread/makefile.msc.in
cd $(top_builddir) && CONFIG_FILES=gthread/$@ CONFIG_HEADERS= $(SHELL) ./config.status
dist-hook: $(BUILT_EXTRA_DIST)
files='$(BUILT_EXTRA_DIST)'; \
for f in $$files; do \
if test -f $$f; then d=.; else d=$(srcdir); fi; \
cp $$d/$$f $(distdir) || exit 1; done

View File

@ -4,11 +4,13 @@ INCLUDES = -I$(top_srcdir) @GLIB_DEBUG_FLAGS@
EFENCE=
EXTRA_DIST = \
makefile.msc \
makefile.msc.in \
makefile.mingw \
makefile.mingw.in
BUILT_EXTRA_DIST = \
makefile.msc \
makefile.mingw
TESTS = \
array-test \
date-test \
@ -61,3 +63,9 @@ makefile.msc: $(top_builddir)/config.status $(top_srcdir)/tests/makefile.msc.in
makefile.mingw: $(top_builddir)/config.status $(top_srcdir)/tests/makefile.mingw.in
cd $(top_builddir) && CONFIG_FILES=tests/$@ CONFIG_HEADERS= $(SHELL) ./config.status
dist-hook: $(BUILT_EXTRA_DIST)
files='$(BUILT_EXTRA_DIST)'; \
for f in $$files; do \
if test -f $$f; then d=.; else d=$(srcdir); fi; \
cp $$d/$$f $(distdir) || exit 1; done