summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaja R Harinath <harinath@src.gnome.org>2000-10-16 01:02:19 +0000
committerRaja R Harinath <harinath@src.gnome.org>2000-10-16 01:02:19 +0000
commita626a650e533eba3ee76f4c8375cf41bc964f6cf (patch)
tree067e983978a01d330e221c0bc352a8a43fbf2a83
parenteb27cad0f0495e9e74f06650eb40448f196e2b7b (diff)
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).
-rw-r--r--ChangeLog280
-rw-r--r--ChangeLog.pre-2-0280
-rw-r--r--ChangeLog.pre-2-10280
-rw-r--r--ChangeLog.pre-2-12280
-rw-r--r--ChangeLog.pre-2-2280
-rw-r--r--ChangeLog.pre-2-4280
-rw-r--r--ChangeLog.pre-2-6280
-rw-r--r--ChangeLog.pre-2-8280
-rw-r--r--Makefile.am27
-rw-r--r--acconfig.h76
-rw-r--r--acglib.m45
-rw-r--r--configure.in200
-rw-r--r--docs/reference/ChangeLog11
-rw-r--r--docs/reference/glib/Makefile.am12
-rw-r--r--docs/reference/gobject/Makefile.am10
-rw-r--r--glib/Makefile.am27
-rw-r--r--gmodule/ChangeLog74
-rw-r--r--gmodule/Makefile.am15
-rw-r--r--gobject/ChangeLog9
-rw-r--r--gobject/Makefile.am39
-rw-r--r--gthread/ChangeLog5
-rw-r--r--gthread/Makefile.am15
-rw-r--r--tests/Makefile.am12
23 files changed, 1482 insertions, 1295 deletions
diff --git a/ChangeLog b/ChangeLog
index 89f2f73ce..4b6ce0fa0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
@@ -26,11 +50,11 @@
* gmacros.h: Added G_BEGIN_DECLS and G_END_DECLS to mean: 'in case
of C++: extern "C" { ... }' analogous to glibc __BEGIN_DECLS and
__END_DECLS.
-
+
* configure.in, gerror.h, gfileutils.h, gshell.h, gspawn.h,
gunicode.h, : Changed guard-macro names to something more
consistent.
-
+
* configure.in, *.h: Use G_BEGIN_DECLS and G_END_DECLS.
* configure.in: Defined GLIB_HAVE_ALLOCA_H instead of including
@@ -59,7 +83,7 @@
2000-10-09 Havoc Pennington <hp@redhat.com>
* Makefile.am, tests/Makefile.am: Add new files.
-
+
* tests/spawn-test.c, tests/shell-test.c: new tests for
the shell/spawn stuff
@@ -84,7 +108,7 @@
* makefile.msc.in: Revamp to be like makefile.mingw.in, make
the MSVC build actually work again.
-
+
* gmodule/makefile.msc.in
* gobject/makefile.msc.in
* gthread/makefile.msc.in: New files, like their mingw counterparts.
@@ -92,17 +116,17 @@
* gmodule/Makefile.am
* gobject/Makefile.am
* gthread/Makefile.am: Make and distribute them.
-
+
* */makefile.mingw.in: Allow override of GLib version number from
the build/win32/module.defs file.
-
+
* glib.def: Add new entry point.
* tests/gio-test.c (main): Fix the Win32-only code to use current
API, g_io_channel_win32_make_pollfd() and g_io_channel_win32_poll().
Fixes from Hans Breuer:
-
+
* glib.h (struct DIR): Keep the last readdir result cached inside
the DIR struct, to enable several DIRs being open simultaneously.
@@ -161,9 +185,9 @@
(GConvertError): generic error is conventionally called
_FAILED rather than _OTHER, at least at the moment,
according to GError docs in docs/reference.
-
+
* gconvert.c: s/_OTHER/_FAILED/
-
+
2000-09-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Adjusted the test for an unimplemented
@@ -219,7 +243,7 @@ Mon Sep 25 2000 Elliot Lee <sopwith@redhat.com>
* glib.h: Only use the gcc-variable-macro-argument-extension for
gcc >= 2.4. Both patches from Jonas Oberg <jonas@gnu.org>.
-
+
Mon Sep 18 10:58:21 2000 Owen Taylor <otaylor@redhat.com>
* gutf8.c: Implement g_ucs4_to_utf8 which was in
@@ -229,7 +253,7 @@ Sun Sep 17 2000 Elliot Lee <sopwith@redhat.com>
* glib.h configure.in: Define g_alloca() as an
alloca-that-works-anywhere.
-
+
* gconvert.c: Fix warnings which could have caused problems on
64-bit platforms.
@@ -243,7 +267,7 @@ Sun Sep 10 12:37:40 2000 Owen Taylor <otaylor@redhat.com>
Also add g_convert_with_fallback() to take care of conversions
where we accept some loss going to the target encoding.
-
+
2000-09-10 Havoc Pennington <hp@redhat.com>
* gutf8.c (g_utf8_validate): Add this function.
@@ -301,7 +325,7 @@ Tue Sep 5 20:16:27 2000 Owen Taylor <otaylor@redhat.com>
* gstring.c (g_string_free): Use g_return_val_if_fail instead of
g_return_if_fail, as the function now is supposed to return
something.
-
+
* gerror.c, gerror.h (g_propagte_error): Added function
g_propagte_error to hand over local errors to the calling
function.
@@ -315,7 +339,7 @@ Tue Sep 5 20:16:27 2000 Owen Taylor <otaylor@redhat.com>
* tests/thread-test.c, tests/threadpool-test.c: Adapted
accordingly.
-
+
2000-08-31 Tor Lillqvist <tml@iki.fi>
* glib.h
@@ -422,19 +446,19 @@ 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,9 +468,9 @@ 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
* configure.in: Output the .pc files
@@ -480,7 +504,7 @@ Sun Jul 30 10:44:16 2000 Tim Janik <timj@gtk.org>
the polling routine eventually notices. Meanwhile, the data being
read is stored in a circular buffer, from where the IO channel's
read() method picks it up.
-
+
If the buffer fills up the reading thread has to wait for space
becoming available. For this another Win32 Event is used. The IO
Channel's read() method signals this when it has read some data
@@ -503,9 +527,9 @@ Sun Jul 30 10:44:16 2000 Tim Janik <timj@gtk.org>
* glib.h: Update documentation for IO Channels on Win32. Remove
the declarations for the as of now obsolete old functions related
to IO Channels for pipes with "wakeup" messages.
-
+
* glib.def: Some new functions.
-
+
* tests/gio-test.c: New file, to test GIOChannel and main loop.
* tests/Makefile.am
@@ -516,7 +540,7 @@ Sun Jul 30 10:44:16 2000 Tim Janik <timj@gtk.org>
* giowin32.c: Compile in the debugging code all the time, but only
output debug messages if told so. Add (unadvertised) function to
turn on/off debug messages for a channel.
-
+
(buffer_read): Don't loop. It is expected behaviour to return a
short read occasionally, for instance when reading from
pipes. It's the calling code that should loop if it *knows* how
@@ -526,7 +550,7 @@ Sun Jul 30 10:44:16 2000 Tim Janik <timj@gtk.org>
(recv_message): Loop calling g_io_channel_read() (in a new
function read_all()) until we have all the bytes we want (that we
know the writer has written/will write).
-
+
Thu Jul 27 05:15:11 2000 Tim Janik <timj@gtk.org>
* gstrfuncs.c (g_strlcpy, g_strlcat): completed tor's fix
@@ -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>
@@ -612,7 +636,7 @@ Wed Jul 26 00:46:03 2000 Tim Janik <timj@gtk.org>
deprecated. They will issue an warning once, when compiled with
G_ENABLE_DEBUG. This fixes Bug #3883. For discussion see
http://mail.gnome.org/pipermail/gtk-devel-list/2000-April/003139.html
-
+
2000-07-19 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in, glib.h: glibconfig.h and glib.h now include files
@@ -662,7 +686,7 @@ Fri Jul 14 12:22:49 2000 Owen Taylor <otaylor@redhat.com>
* Makefile.am gobject/Makefile.am gmodule/Makefile.am:
Move include files into /usr/include/glib-2.0.
-
+
Thu Jul 6 18:54:49 2000 Owen Taylor <otaylor@redhat.com>
* docs/Makefile.am (EXTRA_DIST): Remove info files
@@ -734,10 +758,10 @@ 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
-
+
* gstring.c glib.h (g_string_hash): Add g_string_hash to
go along with g_string_equal.
@@ -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>
@@ -916,7 +940,7 @@ Wed May 10 19:52:44 2000 Owen Taylor <otaylor@redhat.com>
* gasyncqueue.c: New File implementing an asynchronous queue to be
used for asynchronous inter-thread communication.
-
+
* gthreadpool.c: New File implementing a thread pool to be used
for distributing work among several threads.
@@ -928,7 +952,7 @@ Wed May 10 19:52:44 2000 Owen Taylor <otaylor@redhat.com>
the thread pool.
* tests/Makefile.am: Changed accordingly.
-
+
2000-04-26 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Look for both pthread_create and pthread_join in
@@ -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>
@@ -995,7 +1019,7 @@ Wed Apr 19 08:32:32 2000 Tim Janik <timj@gtk.org>
memory released by the user, but cached by GLib. This lets a
garbage collector have a more correct view of the actually used
memory.
-
+
* garray.c, glib.h: Added g_(array|ptr_array|byte_array)_sized_new
functions, that reserve a certain amount of memeory for the array
at creation time to avoid reallocation. Fixes bug #6707 from
@@ -1084,7 +1108,7 @@ Wed Mar 22 16:49:57 2000 Owen Taylor <otaylor@redhat.com>
handling of priorities for older solaris versions and posix
threads. Thanks to Wan-Teh Chang <wtc@netscape.com> for suggesting
some of those changes.
-
+
* config.guess, config.sub, ltconfig, ltmain.sh:
Upgrade to libtool 1.3.4.
@@ -1133,7 +1157,7 @@ Wed Mar 22 16:49:57 2000 Owen Taylor <otaylor@redhat.com>
* configure.in: Don't use priorities for threads, when the
minimal/maximal priorities couldn't be determined at configure
time.
-
+
* configure.in, gthread.c: Always define GSystemThread in
glibconfig.h to represent a system thread.
@@ -1149,14 +1173,14 @@ Wed Mar 22 16:49:57 2000 Owen Taylor <otaylor@redhat.com>
* gthread.c (g_thread_self): Do not test the system_thread to be
non-zero to speed things up.
-
+
* gthread.c (g_mutex_init): Therefore set the system_thread of the
main thread here.
* tests/thread-test.c: Rerun all tests once again, but this time
we fool the system into thinking, that the available thread system
is not native, but userprovided.
-
+
2000-03-13 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gqueue.c (g_queue_push_tail_link, g_queue_push_head_link): We
@@ -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 ;)
@@ -1262,7 +1286,7 @@ Thu Feb 17 12:53:44 2000 Tim Janik <timj@gtk.org>
* glib.h: Declare g_string_insert_len, g_string_append_len,
g_string_prepend_len
-
+
Sun Feb 13 08:16:47 2000 Tim Janik <timj@gtk.org>
* configure.in: wtf??? someone destroyed the configure.in, reverting to
@@ -1275,7 +1299,7 @@ Sun Feb 13 08:16:47 2000 Tim Janik <timj@gtk.org>
* Makefile.am
* gmodule/Makefile.am
* gthread/Makefile.am: Change accordingly.
-
+
* makefile.cygwin: Corresponding changes, some cleanup.
2000-02-05 Tor Lillqvist <tml@iki.fi>
@@ -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,8 +1502,8 @@ 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>
* configure.in: added additional checks to figure sizes of size_t,
@@ -1537,7 +1561,7 @@ Wed Sep 22 01:53:18 1999 Tim Janik <timj@gtk.org>
for erroring out on this, instead of just issueing a warning).
* glib.h (g_trash_stack_pop): use uncasted NULL again.
-
+
Fri Sep 17 10:24:45 1999 Tim Janik <timj@gtk.org>
* gmem.c (g_mem_chunk_compute_size) (g_mem_chunk_new): applied patch
@@ -1659,7 +1683,7 @@ Sat Jul 24 20:11:35 1999 Tim Janik <timj@gtk.org>
deprecated g_strescape(), we need the SunOS variants here.
* gdate.c: added DEBUG_MSG() macro to wrap old messages.
-
+
* *.*: CVS merges.
* upgrade to libtool 1.3.3.
@@ -1676,7 +1700,7 @@ Sat Jul 24 20:11:35 1999 Tim Janik <timj@gtk.org>
* makefile.cygwin.in
* tests/makefile.cygwin.in: Remove .gcc from DLL name.
-
+
1999-07-13 Tor Lillqvist <tml@iki.fi>
* README.win32: Correct URL for mingw runtime sources.
@@ -1716,7 +1740,7 @@ Sat Jul 24 20:11:35 1999 Tim Janik <timj@gtk.org>
* glib.h: Updated the commentary about g_memmove to be right and
more GLib-like.
-
+
* configure.in: Removed test for rand_r, as it isn't used anymore.
1999-06-30 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
@@ -1752,7 +1776,7 @@ Sat Jul 24 20:11:35 1999 Tim Janik <timj@gtk.org>
* gtimer.c: Implement g_usleep on native Win32 using Sleep (which
only has millisecond granularity, though).
-
+
* makefile.cygwin.in
* makefile.msc.in: Update pthreads snapshot version. File
name changes. Remove testgthread.
@@ -1869,7 +1893,7 @@ Mon May 10 22:03:52 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
win32-related files that are made from corresponding .in files.
Is there a cleaner way than explicitly writing rules that invoke
config.status?
-
+
Sat May 1 10:18:01 PDT 1999 Manish Singh <yosh@gimp.org>
* acinclude.m4
@@ -1887,7 +1911,7 @@ Sat May 1 10:18:01 PDT 1999 Manish Singh <yosh@gimp.org>
* configure.in: Also substitute @GLIB_INTERFACE_AGE@ and
@GLIB_BINARY_AGE@ (needed in config.h.win32).
-
+
* glibconfig.h.win32.in: Use static mutex structure and initial
value corresponding to the 1999-04-07 snapshot of pthreads-win32.
@@ -1954,7 +1978,7 @@ Sun Apr 11 15:07:34 1999 Tim Janik <timj@gtk.org>
* configure.in: bumped versin number to GLib 1.2.2, interface 2,
binary 2.
-
+
* NEWS: updates.
Sun Apr 11 14:37:06 1999 Tim Janik <timj@gtk.org>
@@ -1984,7 +2008,7 @@ Thu Apr 8 19:53:19 1999 Owen Taylor <otaylor@redhat.com>
systems. Please do not merge this into 1.3 branch. It's taken care
of differently there. Info from J. Rhett Aultman
<cuplan@alley.gator.net>
-
+
Wed Mar 24 21:23:47 CST 1999 Shawn T. Amundson <amundson@gtk.org>
* Released GLib 1.2.1
@@ -2003,7 +2027,7 @@ Wed Mar 24 21:23:47 CST 1999 Shawn T. Amundson <amundson@gtk.org>
docs/glib-config.1: Removed, now generated.
* configure.in: Added to output now-generated files.
-
+
Tue Mar 23 13:43:39 PST 1999 Manish Singh <yosh@gimp.org>
* giounix.c: add user_data param to check and prepare functions
@@ -2037,10 +2061,10 @@ Fri Mar 19 16:29:50 PST 1999 Manish Singh <yosh@gimp.org>
s/g_static_/g_private_/g
Wed Mar 17 03:17:42 1999 Tim Janik <timj@gtk.org>
-
+
* configure.in bumped versin number to GLib 1.2.1, interface 1,
binary 1.
-
+
* NEWS: updates.
* glib.h: added GLIB_CHECK_VERSION() macro similar to
@@ -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>
@@ -2114,7 +2138,7 @@ Wed Feb 24 00:08:42 CST 1999 Shawn T. Amundson <amundson@gtk.org>
Sun Feb 21 14:01:00 1999 Dr Mike <drmike@redhat.com>
* Made specfile generated, tweaked slightly
-
+
Sat May 8 06:00:17 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
* configure.in
@@ -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>
@@ -2147,14 +2171,14 @@ Sat May 8 01:52:29 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
* configure.in: Also substitute @GLIB_MAJOR_VERSION@,
@GLIB_MINOR_VERSION@, and @GLIB_INTERFACE_AGE@.
-
+
* Makefile.am tests/Makefile.am: Also distribute makefile.cygwin.
-
+
* gerror.c (g_on_error_query): On Win32, put up a MessageBox and
then exit.
* glib.def: Add a couple of functions.
-
+
Sat May 1 10:26:20 PDT 1999 Manish Singh <yosh@gimp.org>
* acinclude.m4
@@ -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>
@@ -2394,7 +2418,7 @@ Mon Mar 8 07:42:08 1999 Tim Janik <timj@gtk.org>
lf for double). Defining G_INT_FORMAT makes sense however, as we
might want to define gint to something different than int someday
in the future. Idea from Sascha Brawer <sb@adasys.ch>.
-
+
1999-03-14 Jeff Garzik <jgarzik@pobox.com>
* gdate.c:
diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0
index 89f2f73ce..4b6ce0fa0 100644
--- a/ChangeLog.pre-2-0
+++ b/ChangeLog.pre-2-0
@@ -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.
@@ -26,11 +50,11 @@
* gmacros.h: Added G_BEGIN_DECLS and G_END_DECLS to mean: 'in case
of C++: extern "C" { ... }' analogous to glibc __BEGIN_DECLS and
__END_DECLS.
-
+
* configure.in, gerror.h, gfileutils.h, gshell.h, gspawn.h,
gunicode.h, : Changed guard-macro names to something more
consistent.
-
+
* configure.in, *.h: Use G_BEGIN_DECLS and G_END_DECLS.
* configure.in: Defined GLIB_HAVE_ALLOCA_H instead of including
@@ -59,7 +83,7 @@
2000-10-09 Havoc Pennington <hp@redhat.com>
* Makefile.am, tests/Makefile.am: Add new files.
-
+
* tests/spawn-test.c, tests/shell-test.c: new tests for
the shell/spawn stuff
@@ -84,7 +108,7 @@
* makefile.msc.in: Revamp to be like makefile.mingw.in, make
the MSVC build actually work again.
-
+
* gmodule/makefile.msc.in
* gobject/makefile.msc.in
* gthread/makefile.msc.in: New files, like their mingw counterparts.
@@ -92,17 +116,17 @@
* gmodule/Makefile.am
* gobject/Makefile.am
* gthread/Makefile.am: Make and distribute them.
-
+
* */makefile.mingw.in: Allow override of GLib version number from
the build/win32/module.defs file.
-
+
* glib.def: Add new entry point.
* tests/gio-test.c (main): Fix the Win32-only code to use current
API, g_io_channel_win32_make_pollfd() and g_io_channel_win32_poll().
Fixes from Hans Breuer:
-
+
* glib.h (struct DIR): Keep the last readdir result cached inside
the DIR struct, to enable several DIRs being open simultaneously.
@@ -161,9 +185,9 @@
(GConvertError): generic error is conventionally called
_FAILED rather than _OTHER, at least at the moment,
according to GError docs in docs/reference.
-
+
* gconvert.c: s/_OTHER/_FAILED/
-
+
2000-09-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Adjusted the test for an unimplemented
@@ -219,7 +243,7 @@ Mon Sep 25 2000 Elliot Lee <sopwith@redhat.com>
* glib.h: Only use the gcc-variable-macro-argument-extension for
gcc >= 2.4. Both patches from Jonas Oberg <jonas@gnu.org>.
-
+
Mon Sep 18 10:58:21 2000 Owen Taylor <otaylor@redhat.com>
* gutf8.c: Implement g_ucs4_to_utf8 which was in
@@ -229,7 +253,7 @@ Sun Sep 17 2000 Elliot Lee <sopwith@redhat.com>
* glib.h configure.in: Define g_alloca() as an
alloca-that-works-anywhere.
-
+
* gconvert.c: Fix warnings which could have caused problems on
64-bit platforms.
@@ -243,7 +267,7 @@ Sun Sep 10 12:37:40 2000 Owen Taylor <otaylor@redhat.com>
Also add g_convert_with_fallback() to take care of conversions
where we accept some loss going to the target encoding.
-
+
2000-09-10 Havoc Pennington <hp@redhat.com>
* gutf8.c (g_utf8_validate): Add this function.
@@ -301,7 +325,7 @@ Tue Sep 5 20:16:27 2000 Owen Taylor <otaylor@redhat.com>
* gstring.c (g_string_free): Use g_return_val_if_fail instead of
g_return_if_fail, as the function now is supposed to return
something.
-
+
* gerror.c, gerror.h (g_propagte_error): Added function
g_propagte_error to hand over local errors to the calling
function.
@@ -315,7 +339,7 @@ Tue Sep 5 20:16:27 2000 Owen Taylor <otaylor@redhat.com>
* tests/thread-test.c, tests/threadpool-test.c: Adapted
accordingly.
-
+
2000-08-31 Tor Lillqvist <tml@iki.fi>
* glib.h
@@ -422,19 +446,19 @@ 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,9 +468,9 @@ 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
* configure.in: Output the .pc files
@@ -480,7 +504,7 @@ Sun Jul 30 10:44:16 2000 Tim Janik <timj@gtk.org>
the polling routine eventually notices. Meanwhile, the data being
read is stored in a circular buffer, from where the IO channel's
read() method picks it up.
-
+
If the buffer fills up the reading thread has to wait for space
becoming available. For this another Win32 Event is used. The IO
Channel's read() method signals this when it has read some data
@@ -503,9 +527,9 @@ Sun Jul 30 10:44:16 2000 Tim Janik <timj@gtk.org>
* glib.h: Update documentation for IO Channels on Win32. Remove
the declarations for the as of now obsolete old functions related
to IO Channels for pipes with "wakeup" messages.
-
+
* glib.def: Some new functions.
-
+
* tests/gio-test.c: New file, to test GIOChannel and main loop.
* tests/Makefile.am
@@ -516,7 +540,7 @@ Sun Jul 30 10:44:16 2000 Tim Janik <timj@gtk.org>
* giowin32.c: Compile in the debugging code all the time, but only
output debug messages if told so. Add (unadvertised) function to
turn on/off debug messages for a channel.
-
+
(buffer_read): Don't loop. It is expected behaviour to return a
short read occasionally, for instance when reading from
pipes. It's the calling code that should loop if it *knows* how
@@ -526,7 +550,7 @@ Sun Jul 30 10:44:16 2000 Tim Janik <timj@gtk.org>
(recv_message): Loop calling g_io_channel_read() (in a new
function read_all()) until we have all the bytes we want (that we
know the writer has written/will write).
-
+
Thu Jul 27 05:15:11 2000 Tim Janik <timj@gtk.org>
* gstrfuncs.c (g_strlcpy, g_strlcat): completed tor's fix
@@ -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>
@@ -612,7 +636,7 @@ Wed Jul 26 00:46:03 2000 Tim Janik <timj@gtk.org>
deprecated. They will issue an warning once, when compiled with
G_ENABLE_DEBUG. This fixes Bug #3883. For discussion see
http://mail.gnome.org/pipermail/gtk-devel-list/2000-April/003139.html
-
+
2000-07-19 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in, glib.h: glibconfig.h and glib.h now include files
@@ -662,7 +686,7 @@ Fri Jul 14 12:22:49 2000 Owen Taylor <otaylor@redhat.com>
* Makefile.am gobject/Makefile.am gmodule/Makefile.am:
Move include files into /usr/include/glib-2.0.
-
+
Thu Jul 6 18:54:49 2000 Owen Taylor <otaylor@redhat.com>
* docs/Makefile.am (EXTRA_DIST): Remove info files
@@ -734,10 +758,10 @@ 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
-
+
* gstring.c glib.h (g_string_hash): Add g_string_hash to
go along with g_string_equal.
@@ -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>
@@ -916,7 +940,7 @@ Wed May 10 19:52:44 2000 Owen Taylor <otaylor@redhat.com>
* gasyncqueue.c: New File implementing an asynchronous queue to be
used for asynchronous inter-thread communication.
-
+
* gthreadpool.c: New File implementing a thread pool to be used
for distributing work among several threads.
@@ -928,7 +952,7 @@ Wed May 10 19:52:44 2000 Owen Taylor <otaylor@redhat.com>
the thread pool.
* tests/Makefile.am: Changed accordingly.
-
+
2000-04-26 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Look for both pthread_create and pthread_join in
@@ -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>
@@ -995,7 +1019,7 @@ Wed Apr 19 08:32:32 2000 Tim Janik <timj@gtk.org>
memory released by the user, but cached by GLib. This lets a
garbage collector have a more correct view of the actually used
memory.
-
+
* garray.c, glib.h: Added g_(array|ptr_array|byte_array)_sized_new
functions, that reserve a certain amount of memeory for the array
at creation time to avoid reallocation. Fixes bug #6707 from
@@ -1084,7 +1108,7 @@ Wed Mar 22 16:49:57 2000 Owen Taylor <otaylor@redhat.com>
handling of priorities for older solaris versions and posix
threads. Thanks to Wan-Teh Chang <wtc@netscape.com> for suggesting
some of those changes.
-
+
* config.guess, config.sub, ltconfig, ltmain.sh:
Upgrade to libtool 1.3.4.
@@ -1133,7 +1157,7 @@ Wed Mar 22 16:49:57 2000 Owen Taylor <otaylor@redhat.com>
* configure.in: Don't use priorities for threads, when the
minimal/maximal priorities couldn't be determined at configure
time.
-
+
* configure.in, gthread.c: Always define GSystemThread in
glibconfig.h to represent a system thread.
@@ -1149,14 +1173,14 @@ Wed Mar 22 16:49:57 2000 Owen Taylor <otaylor@redhat.com>
* gthread.c (g_thread_self): Do not test the system_thread to be
non-zero to speed things up.
-
+
* gthread.c (g_mutex_init): Therefore set the system_thread of the
main thread here.
* tests/thread-test.c: Rerun all tests once again, but this time
we fool the system into thinking, that the available thread system
is not native, but userprovided.
-
+
2000-03-13 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gqueue.c (g_queue_push_tail_link, g_queue_push_head_link): We
@@ -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 ;)
@@ -1262,7 +1286,7 @@ Thu Feb 17 12:53:44 2000 Tim Janik <timj@gtk.org>
* glib.h: Declare g_string_insert_len, g_string_append_len,
g_string_prepend_len
-
+
Sun Feb 13 08:16:47 2000 Tim Janik <timj@gtk.org>
* configure.in: wtf??? someone destroyed the configure.in, reverting to
@@ -1275,7 +1299,7 @@ Sun Feb 13 08:16:47 2000 Tim Janik <timj@gtk.org>
* Makefile.am
* gmodule/Makefile.am
* gthread/Makefile.am: Change accordingly.
-
+
* makefile.cygwin: Corresponding changes, some cleanup.
2000-02-05 Tor Lillqvist <tml@iki.fi>
@@ -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,8 +1502,8 @@ 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>
* configure.in: added additional checks to figure sizes of size_t,
@@ -1537,7 +1561,7 @@ Wed Sep 22 01:53:18 1999 Tim Janik <timj@gtk.org>
for erroring out on this, instead of just issueing a warning).
* glib.h (g_trash_stack_pop): use uncasted NULL again.
-
+
Fri Sep 17 10:24:45 1999 Tim Janik <timj@gtk.org>
* gmem.c (g_mem_chunk_compute_size) (g_mem_chunk_new): applied patch
@@ -1659,7 +1683,7 @@ Sat Jul 24 20:11:35 1999 Tim Janik <timj@gtk.org>
deprecated g_strescape(), we need the SunOS variants here.
* gdate.c: added DEBUG_MSG() macro to wrap old messages.
-
+
* *.*: CVS merges.
* upgrade to libtool 1.3.3.
@@ -1676,7 +1700,7 @@ Sat Jul 24 20:11:35 1999 Tim Janik <timj@gtk.org>
* makefile.cygwin.in
* tests/makefile.cygwin.in: Remove .gcc from DLL name.
-
+
1999-07-13 Tor Lillqvist <tml@iki.fi>
* README.win32: Correct URL for mingw runtime sources.
@@ -1716,7 +1740,7 @@ Sat Jul 24 20:11:35 1999 Tim Janik <timj@gtk.org>
* glib.h: Updated the commentary about g_memmove to be right and
more GLib-like.
-
+
* configure.in: Removed test for rand_r, as it isn't used anymore.
1999-06-30 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
@@ -1752,7 +1776,7 @@ Sat Jul 24 20:11:35 1999 Tim Janik <timj@gtk.org>
* gtimer.c: Implement g_usleep on native Win32 using Sleep (which
only has millisecond granularity, though).
-
+
* makefile.cygwin.in
* makefile.msc.in: Update pthreads snapshot version. File
name changes. Remove testgthread.
@@ -1869,7 +1893,7 @@ Mon May 10 22:03:52 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
win32-related files that are made from corresponding .in files.
Is there a cleaner way than explicitly writing rules that invoke
config.status?
-
+
Sat May 1 10:18:01 PDT 1999 Manish Singh <yosh@gimp.org>
* acinclude.m4
@@ -1887,7 +1911,7 @@ Sat May 1 10:18:01 PDT 1999 Manish Singh <yosh@gimp.org>
* configure.in: Also substitute @GLIB_INTERFACE_AGE@ and
@GLIB_BINARY_AGE@ (needed in config.h.win32).
-
+
* glibconfig.h.win32.in: Use static mutex structure and initial
value corresponding to the 1999-04-07 snapshot of pthreads-win32.
@@ -1954,7 +1978,7 @@ Sun Apr 11 15:07:34 1999 Tim Janik <timj@gtk.org>
* configure.in: bumped versin number to GLib 1.2.2, interface 2,
binary 2.
-
+
* NEWS: updates.
Sun Apr 11 14:37:06 1999 Tim Janik <timj@gtk.org>
@@ -1984,7 +2008,7 @@ Thu Apr 8 19:53:19 1999 Owen Taylor <otaylor@redhat.com>
systems. Please do not merge this into 1.3 branch. It's taken care
of differently there. Info from J. Rhett Aultman
<cuplan@alley.gator.net>
-
+
Wed Mar 24 21:23:47 CST 1999 Shawn T. Amundson <amundson@gtk.org>
* Released GLib 1.2.1
@@ -2003,7 +2027,7 @@ Wed Mar 24 21:23:47 CST 1999 Shawn T. Amundson <amundson@gtk.org>
docs/glib-config.1: Removed, now generated.
* configure.in: Added to output now-generated files.
-
+
Tue Mar 23 13:43:39 PST 1999 Manish Singh <yosh@gimp.org>
* giounix.c: add user_data param to check and prepare functions
@@ -2037,10 +2061,10 @@ Fri Mar 19 16:29:50 PST 1999 Manish Singh <yosh@gimp.org>
s/g_static_/g_private_/g
Wed Mar 17 03:17:42 1999 Tim Janik <timj@gtk.org>
-
+
* configure.in bumped versin number to GLib 1.2.1, interface 1,
binary 1.
-
+
* NEWS: updates.
* glib.h: added GLIB_CHECK_VERSION() macro similar to
@@ -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>
@@ -2114,7 +2138,7 @@ Wed Feb 24 00:08:42 CST 1999 Shawn T. Amundson <amundson@gtk.org>
Sun Feb 21 14:01:00 1999 Dr Mike <drmike@redhat.com>
* Made specfile generated, tweaked slightly
-
+
Sat May 8 06:00:17 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
* configure.in
@@ -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>
@@ -2147,14 +2171,14 @@ Sat May 8 01:52:29 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
* configure.in: Also substitute @GLIB_MAJOR_VERSION@,
@GLIB_MINOR_VERSION@, and @GLIB_INTERFACE_AGE@.
-
+
* Makefile.am tests/Makefile.am: Also distribute makefile.cygwin.
-
+
* gerror.c (g_on_error_query): On Win32, put up a MessageBox and
then exit.
* glib.def: Add a couple of functions.
-
+
Sat May 1 10:26:20 PDT 1999 Manish Singh <yosh@gimp.org>
* acinclude.m4
@@ -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>
@@ -2394,7 +2418,7 @@ Mon Mar 8 07:42:08 1999 Tim Janik <timj@gtk.org>
lf for double). Defining G_INT_FORMAT makes sense however, as we
might want to define gint to something different than int someday
in the future. Idea from Sascha Brawer <sb@adasys.ch>.
-
+
1999-03-14 Jeff Garzik <jgarzik@pobox.com>
* gdate.c:
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index 89f2f73ce..4b6ce0fa0 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -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.
@@ -26,11 +50,11 @@
* gmacros.h: Added G_BEGIN_DECLS and G_END_DECLS to mean: 'in case
of C++: extern "C" { ... }' analogous to glibc __BEGIN_DECLS and
__END_DECLS.
-
+
* configure.in, gerror.h, gfileutils.h, gshell.h, gspawn.h,
gunicode.h, : Changed guard-macro names to something more
consistent.
-
+
* configure.in, *.h: Use G_BEGIN_DECLS and G_END_DECLS.
* configure.in: Defined GLIB_HAVE_ALLOCA_H instead of including
@@ -59,7 +83,7 @@
2000-10-09 Havoc Pennington <hp@redhat.com>
* Makefile.am, tests/Makefile.am: Add new files.
-
+
* tests/spawn-test.c, tests/shell-test.c: new tests for
the shell/spawn stuff
@@ -84,7 +108,7 @@
* makefile.msc.in: Revamp to be like makefile.mingw.in, make
the MSVC build actually work again.
-
+
* gmodule/makefile.msc.in
* gobject/makefile.msc.in
* gthread/makefile.msc.in: New files, like their mingw counterparts.
@@ -92,17 +116,17 @@
* gmodule/Makefile.am
* gobject/Makefile.am
* gthread/Makefile.am: Make and distribute them.
-
+
* */makefile.mingw.in: Allow override of GLib version number from
the build/win32/module.defs file.
-
+
* glib.def: Add new entry point.
* tests/gio-test.c (main): Fix the Win32-only code to use current
API, g_io_channel_win32_make_pollfd() and g_io_channel_win32_poll().
Fixes from Hans Breuer:
-
+
* glib.h (struct DIR): Keep the last readdir result cached inside
the DIR struct, to enable several DIRs being open simultaneously.
@@ -161,9 +185,9 @@
(GConvertError): generic error is conventionally called
_FAILED rather than _OTHER, at least at the moment,
according to GError docs in docs/reference.
-
+
* gconvert.c: s/_OTHER/_FAILED/
-
+
2000-09-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Adjusted the test for an unimplemented
@@ -219,7 +243,7 @@ Mon Sep 25 2000 Elliot Lee <sopwith@redhat.com>
* glib.h: Only use the gcc-variable-macro-argument-extension for
gcc >= 2.4. Both patches from Jonas Oberg <jonas@gnu.org>.
-
+
Mon Sep 18 10:58:21 2000 Owen Taylor <otaylor@redhat.com>
* gutf8.c: Implement g_ucs4_to_utf8 which was in
@@ -229,7 +253,7 @@ Sun Sep 17 2000 Elliot Lee <sopwith@redhat.com>
* glib.h configure.in: Define g_alloca() as an
alloca-that-works-anywhere.
-
+
* gconvert.c: Fix warnings which could have caused problems on
64-bit platforms.
@@ -243,7 +267,7 @@ Sun Sep 10 12:37:40 2000 Owen Taylor <otaylor@redhat.com>
Also add g_convert_with_fallback() to take care of conversions
where we accept some loss going to the target encoding.
-
+
2000-09-10 Havoc Pennington <hp@redhat.com>
* gutf8.c (g_utf8_validate): Add this function.
@@ -301,7 +325,7 @@ Tue Sep 5 20:16:27 2000 Owen Taylor <otaylor@redhat.com>
* gstring.c (g_string_free): Use g_return_val_if_fail instead of
g_return_if_fail, as the function now is supposed to return
something.
-
+
* gerror.c, gerror.h (g_propagte_error): Added function
g_propagte_error to hand over local errors to the calling
function.
@@ -315,7 +339,7 @@ Tue Sep 5 20:16:27 2000 Owen Taylor <otaylor@redhat.com>
* tests/thread-test.c, tests/threadpool-test.c: Adapted
accordingly.
-
+
2000-08-31 Tor Lillqvist <tml@iki.fi>
* glib.h
@@ -422,19 +446,19 @@ 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,9 +468,9 @@ 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
* configure.in: Output the .pc files
@@ -480,7 +504,7 @@ Sun Jul 30 10:44:16 2000 Tim Janik <timj@gtk.org>
the polling routine eventually notices. Meanwhile, the data being
read is stored in a circular buffer, from where the IO channel's
read() method picks it up.
-
+
If the buffer fills up the reading thread has to wait for space
becoming available. For this another Win32 Event is used. The IO
Channel's read() method signals this when it has read some data
@@ -503,9 +527,9 @@ Sun Jul 30 10:44:16 2000 Tim Janik <timj@gtk.org>
* glib.h: Update documentation for IO Channels on Win32. Remove
the declarations for the as of now obsolete old functions related
to IO Channels for pipes with "wakeup" messages.
-
+
* glib.def: Some new functions.
-
+
* tests/gio-test.c: New file, to test GIOChannel and main loop.
* tests/Makefile.am
@@ -516,7 +540,7 @@ Sun Jul 30 10:44:16 2000 Tim Janik <timj@gtk.org>
* giowin32.c: Compile in the debugging code all the time, but only
output debug messages if told so. Add (unadvertised) function to
turn on/off debug messages for a channel.
-
+
(buffer_read): Don't loop. It is expected behaviour to return a
short read occasionally, for instance when reading from
pipes. It's the calling code that should loop if it *knows* how
@@ -526,7 +550,7 @@ Sun Jul 30 10:44:16 2000 Tim Janik <timj@gtk.org>
(recv_message): Loop calling g_io_channel_read() (in a new
function read_all()) until we have all the bytes we want (that we
know the writer has written/will write).
-
+
Thu Jul 27 05:15:11 2000 Tim Janik <timj@gtk.org>
* gstrfuncs.c (g_strlcpy, g_strlcat): completed tor's fix
@@ -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>
@@ -612,7 +636,7 @@ Wed Jul 26 00:46:03 2000 Tim Janik <timj@gtk.org>
deprecated. They will issue an warning once, when compiled with
G_ENABLE_DEBUG. This fixes Bug #3883. For discussion see
http://mail.gnome.org/pipermail/gtk-devel-list/2000-April/003139.html
-
+
2000-07-19 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in, glib.h: glibconfig.h and glib.h now include files
@@ -662,7 +686,7 @@ Fri Jul 14 12:22:49 2000 Owen Taylor <otaylor@redhat.com>
* Makefile.am gobject/Makefile.am gmodule/Makefile.am:
Move include files into /usr/include/glib-2.0.
-
+
Thu Jul 6 18:54:49 2000 Owen Taylor <otaylor@redhat.com>
* docs/Makefile.am (EXTRA_DIST): Remove info files
@@ -734,10 +758,10 @@ 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
-
+
* gstring.c glib.h (g_string_hash): Add g_string_hash to
go along with g_string_equal.
@@ -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>
@@ -916,7 +940,7 @@ Wed May 10 19:52:44 2000 Owen Taylor <otaylor@redhat.com>
* gasyncqueue.c: New File implementing an asynchronous queue to be
used for asynchronous inter-thread communication.
-
+
* gthreadpool.c: New File implementing a thread pool to be used
for distributing work among several threads.
@@ -928,7 +952,7 @@ Wed May 10 19:52:44 2000 Owen Taylor <otaylor@redhat.com>
the thread pool.
* tests/Makefile.am: Changed accordingly.
-
+
2000-04-26 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Look for both pthread_create and pthread_join in
@@ -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>
@@ -995,7 +1019,7 @@ Wed Apr 19 08:32:32 2000 Tim Janik <timj@gtk.org>
memory released by the user, but cached by GLib. This lets a
garbage collector have a more correct view of the actually used
memory.
-
+
* garray.c, glib.h: Added g_(array|ptr_array|byte_array)_sized_new
functions, that reserve a certain amount of memeory for the array
at creation time to avoid reallocation. Fixes bug #6707 from
@@ -1084,7 +1108,7 @@ Wed Mar 22 16:49:57 2000 Owen Taylor <otaylor@redhat.com>
handling of priorities for older solaris versions and posix
threads. Thanks to Wan-Teh Chang <wtc@netscape.com> for suggesting
some of those changes.
-
+
* config.guess, config.sub, ltconfig, ltmain.sh:
Upgrade to libtool 1.3.4.
@@ -1133,7 +1157,7 @@ Wed Mar 22 16:49:57 2000 Owen Taylor <otaylor@redhat.com>
* configure.in: Don't use priorities for threads, when the
minimal/maximal priorities couldn't be determined at configure
time.
-
+
* configure.in, gthread.c: Always define GSystemThread in
glibconfig.h to represent a system thread.
@@ -1149,14 +1173,14 @@ Wed Mar 22 16:49:57 2000 Owen Taylor <otaylor@redhat.com>
* gthread.c (g_thread_self): Do not test the system_thread to be
non-zero to speed things up.
-
+
* gthread.c (g_mutex_init): Therefore set the system_thread of the
main thread here.
* tests/thread-test.c: Rerun all tests once again, but this time
we fool the system into thinking, that the available thread system
is not native, but userprovided.
-
+
2000-03-13 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gqueue.c (g_queue_push_tail_link, g_queue_push_head_link): We
@@ -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 ;)
@@ -1262,7 +1286,7 @@ Thu Feb 17 12:53:44 2000 Tim Janik <timj@gtk.org>
* glib.h: Declare g_string_insert_len, g_string_append_len,
g_string_prepend_len
-
+
Sun Feb 13 08:16:47 2000 Tim Janik <timj@gtk.org>
* configure.in: wtf??? someone destroyed the configure.in, reverting to
@@ -1275,7 +1299,7 @@ Sun Feb 13 08:16:47 2000 Tim Janik <timj@gtk.org>
* Makefile.am
* gmodule/Makefile.am
* gthread/Makefile.am: Change accordingly.
-
+
* makefile.cygwin: Corresponding changes, some cleanup.
2000-02-05 Tor Lillqvist <tml@iki.fi>
@@ -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,8 +1502,8 @@ 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>
* configure.in: added additional checks to figure sizes of size_t,
@@ -1537,7 +1561,7 @@ Wed Sep 22 01:53:18 1999 Tim Janik <timj@gtk.org>
for erroring out on this, instead of just issueing a warning).
* glib.h (g_trash_stack_pop): use uncasted NULL again.
-
+
Fri Sep 17 10:24:45 1999 Tim Janik <timj@gtk.org>
* gmem.c (g_mem_chunk_compute_size) (g_mem_chunk_new): applied patch
@@ -1659,7 +1683,7 @@ Sat Jul 24 20:11:35 1999 Tim Janik <timj@gtk.org>
deprecated g_strescape(), we need the SunOS variants here.
* gdate.c: added DEBUG_MSG() macro to wrap old messages.
-
+
* *.*: CVS merges.
* upgrade to libtool 1.3.3.
@@ -1676,7 +1700,7 @@ Sat Jul 24 20:11:35 1999 Tim Janik <timj@gtk.org>
* makefile.cygwin.in
* tests/makefile.cygwin.in: Remove .gcc from DLL name.
-
+
1999-07-13 Tor Lillqvist <tml@iki.fi>
* README.win32: Correct URL for mingw runtime sources.
@@ -1716,7 +1740,7 @@ Sat Jul 24 20:11:35 1999 Tim Janik <timj@gtk.org>
* glib.h: Updated the commentary about g_memmove to be right and
more GLib-like.
-
+
* configure.in: Removed test for rand_r, as it isn't used anymore.
1999-06-30 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
@@ -1752,7 +1776,7 @@ Sat Jul 24 20:11:35 1999 Tim Janik <timj@gtk.org>
* gtimer.c: Implement g_usleep on native Win32 using Sleep (which
only has millisecond granularity, though).
-
+
* makefile.cygwin.in
* makefile.msc.in: Update pthreads snapshot version. File
name changes. Remove testgthread.
@@ -1869,7 +1893,7 @@ Mon May 10 22:03:52 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
win32-related files that are made from corresponding .in files.
Is there a cleaner way than explicitly writing rules that invoke
config.status?
-
+
Sat May 1 10:18:01 PDT 1999 Manish Singh <yosh@gimp.org>
* acinclude.m4
@@ -1887,7 +1911,7 @@ Sat May 1 10:18:01 PDT 1999 Manish Singh <yosh@gimp.org>
* configure.in: Also substitute @GLIB_INTERFACE_AGE@ and
@GLIB_BINARY_AGE@ (needed in config.h.win32).
-
+
* glibconfig.h.win32.in: Use static mutex structure and initial
value corresponding to the 1999-04-07 snapshot of pthreads-win32.
@@ -1954,7 +1978,7 @@ Sun Apr 11 15:07:34 1999 Tim Janik <timj@gtk.org>
* configure.in: bumped versin number to GLib 1.2.2, interface 2,
binary 2.
-
+
* NEWS: updates.
Sun Apr 11 14:37:06 1999 Tim Janik <timj@gtk.org>
@@ -1984,7 +2008,7 @@ Thu Apr 8 19:53:19 1999 Owen Taylor <otaylor@redhat.com>
systems. Please do not merge this into 1.3 branch. It's taken care
of differently there. Info from J. Rhett Aultman
<cuplan@alley.gator.net>
-
+
Wed Mar 24 21:23:47 CST 1999 Shawn T. Amundson <amundson@gtk.org>
* Released GLib 1.2.1
@@ -2003,7 +2027,7 @@ Wed Mar 24 21:23:47 CST 1999 Shawn T. Amundson <amundson@gtk.org>
docs/glib-config.1: Removed, now generated.
* configure.in: Added to output now-generated files.
-
+
Tue Mar 23 13:43:39 PST 1999 Manish Singh <yosh@gimp.org>
* giounix.c: add user_data param to check and prepare functions
@@ -2037,10 +2061,10 @@ Fri Mar 19 16:29:50 PST 1999 Manish Singh <yosh@gimp.org>
s/g_static_/g_private_/g
Wed Mar 17 03:17:42 1999 Tim Janik <timj@gtk.org>
-
+
* configure.in bumped versin number to GLib 1.2.1, interface 1,
binary 1.
-
+
* NEWS: updates.
* glib.h: added GLIB_CHECK_VERSION() macro similar to
@@ -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>
@@ -2114,7 +2138,7 @@ Wed Feb 24 00:08:42 CST 1999 Shawn T. Amundson <amundson@gtk.org>
Sun Feb 21 14:01:00 1999 Dr Mike <drmike@redhat.com>
* Made specfile generated, tweaked slightly
-
+
Sat May 8 06:00:17 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
* configure.in
@@ -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>
@@ -2147,14 +2171,14 @@ Sat May 8 01:52:29 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
* configure.in: Also substitute @GLIB_MAJOR_VERSION@,
@GLIB_MINOR_VERSION@, and @GLIB_INTERFACE_AGE@.
-
+
* Makefile.am tests/Makefile.am: Also distribute makefile.cygwin.
-
+
* gerror.c (g_on_error_query): On Win32, put up a MessageBox and
then exit.
* glib.def: Add a couple of functions.
-
+
Sat May 1 10:26:20 PDT 1999 Manish Singh <yosh@gimp.org>
* acinclude.m4
@@ -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>
@@ -2394,7 +2418,7 @@ Mon Mar 8 07:42:08 1999 Tim Janik <timj@gtk.org>
lf for double). Defining G_INT_FORMAT makes sense however, as we
might want to define gint to something different than int someday
in the future. Idea from Sascha Brawer <sb@adasys.ch>.
-
+
1999-03-14 Jeff Garzik <jgarzik@pobox.com>
* gdate.c:
diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12
index 89f2f73ce..4b6ce0fa0 100644
--- a/ChangeLog.pre-2-12
+++ b/ChangeLog.pre-2-12
@@ -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.
@@ -26,11 +50,11 @@
* gmacros.h: Added G_BEGIN_DECLS and G_END_DECLS to mean: 'in case
of C++: extern "C" { ... }' analogous to glibc __BEGIN_DECLS and
__END_DECLS.
-
+
* configure.in, gerror.h, gfileutils.h, gshell.h, gspawn.h,
gunicode.h, : Changed guard-macro names to something more
consistent.
-
+
* configure.in, *.h: Use G_BEGIN_DECLS and G_END_DECLS.
* configure.in: Defined GLIB_HAVE_ALLOCA_H instead of including
@@ -59,7 +83,7 @@
2000-10-09 Havoc Pennington <hp@redhat.com>
* Makefile.am, tests/Makefile.am: Add new files.
-
+
* tests/spawn-test.c, tests/shell-test.c: new tests for
the shell/spawn stuff
@@ -84,7 +108,7 @@
* makefile.msc.in: Revamp to be like makefile.mingw.in, make
the MSVC build actually work again.
-
+
* gmodule/makefile.msc.in
* gobject/makefile.msc.in
* gthread/makefile.msc.in: New files, like their mingw counterparts.
@@ -92,17 +116,17 @@
* gmodule/Makefile.am
* gobject/Makefile.am
* gthread/Makefile.am: Make and distribute them.
-
+
* */makefile.mingw.in: Allow override of GLib version number from
the build/win32/module.defs file.
-
+
* glib.def: Add new entry point.
* tests/gio-test.c (main): Fix the Win32-only code to use current
API, g_io_channel_win32_make_pollfd() and g_io_channel_win32_poll().
Fixes from Hans Breuer:
-
+
* glib.h (struct DIR): Keep the last readdir result cached inside
the DIR struct, to enable several DIRs being open simultaneously.
@@ -161,9 +185,9 @@
(GConvertError): generic error is conventionally called
_FAILED rather than _OTHER, at least at the moment,
according to GError docs in docs/reference.
-
+
* gconvert.c: s/_OTHER/_FAILED/
-
+
2000-09-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Adjusted the test for an unimplemented
@@ -219,7 +243,7 @@ Mon Sep 25 2000 Elliot Lee <sopwith@redhat.com>
* glib.h: Only use the gcc-variable-macro-argument-extension for
gcc >= 2.4. Both patches from Jonas Oberg <jonas@gnu.org>.
-
+
Mon Sep 18 10:58:21 2000 Owen Taylor <otaylor@redhat.com>
* gutf8.c: Implement g_ucs4_to_utf8 which was in
@@ -229,7 +253,7 @@ Sun Sep 17 2000 Elliot Lee <sopwith@redhat.com>
* glib.h configure.in: Define g_alloca() as an
alloca-that-works-anywhere.
-
+
* gconvert.c: Fix warnings which could have caused problems on
64-bit platforms.
@@ -243,7 +267,7 @@ Sun Sep 10 12:37:40 2000 Owen Taylor <otaylor@redhat.com>
Also add g_convert_with_fallback() to take care of conversions
where we accept some loss going to the target encoding.
-
+
2000-09-10 Havoc Pennington <hp@redhat.com>
* gutf8.c (g_utf8_validate): Add this function.
@@ -301,7 +325,7 @@ Tue Sep 5 20:16:27 2000 Owen Taylor <otaylor@redhat.com>
* gstring.c (g_string_free): Use g_return_val_if_fail instead of
g_return_if_fail, as the function now is supposed to return
something.
-
+
* gerror.c, gerror.h (g_propagte_error): Added function
g_propagte_error to hand over local errors to the calling
function.
@@ -315,7 +339,7 @@ Tue Sep 5 20:16:27 2000 Owen Taylor <otaylor@redhat.com>
* tests/thread-test.c, tests/threadpool-test.c: Adapted
accordingly.
-
+
2000-08-31 Tor Lillqvist <tml@iki.fi>
* glib.h
@@ -422,19 +446,19 @@ 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,9 +468,9 @@ 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
* configure.in: Output the .pc files
@@ -480,7 +504,7 @@ Sun Jul 30 10:44:16 2000 Tim Janik <timj@gtk.org>
the polling routine eventually notices. Meanwhile, the data being
read is stored in a circular buffer, from where the IO channel's
read() method picks it up.
-
+
If the buffer fills up the reading thread has to wait for space
becoming available. For this another Win32 Event is used. The IO
Channel's read() method signals this when it has read some data
@@ -503,9 +527,9 @@ Sun Jul 30 10:44:16 2000 Tim Janik <timj@gtk.org>
* glib.h: Update documentation for IO Channels on Win32. Remove
the declarations for the as of now obsolete old functions related
to IO Channels for pipes with "wakeup" messages.
-
+
* glib.def: Some new functions.
-
+
* tests/gio-test.c: New file, to test GIOChannel and main loop.
* tests/Makefile.am
@@ -516,7 +540,7 @@ Sun Jul 30 10:44:16 2000 Tim Janik <timj@gtk.org>
* giowin32.c: Compile in the debugging code all the time, but only
output debug messages if told so. Add (unadvertised) function to
turn on/off debug messages for a channel.
-
+
(buffer_read): Don't loop. It is expected behaviour to return a
short read occasionally, for instance when reading from
pipes. It's the calling code that should loop if it *knows* how
@@ -526,7 +550,7 @@ Sun Jul 30 10:44:16 2000 Tim Janik <timj@gtk.org>
(recv_message): Loop calling g_io_channel_read() (in a new
function read_all()) until we have all the bytes we want (that we
know the writer has written/will write).
-
+
Thu Jul 27 05:15:11 2000 Tim Janik <timj@gtk.org>
* gstrfuncs.c (g_strlcpy, g_strlcat): completed tor's fix
@@ -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>
@@ -612,7 +636,7 @@ Wed Jul 26 00:46:03 2000 Tim Janik <timj@gtk.org>
deprecated. They will issue an warning once, when compiled with
G_ENABLE_DEBUG. This fixes Bug #3883. For discussion see
http://mail.gnome.org/pipermail/gtk-devel-list/2000-April/003139.html
-
+
2000-07-19 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in, glib.h: glibconfig.h and glib.h now include files
@@ -662,7 +686,7 @@ Fri Jul 14 12:22:49 2000 Owen Taylor <otaylor@redhat.com>
* Makefile.am gobject/Makefile.am gmodule/Makefile.am:
Move include files into /usr/include/glib-2.0.
-
+
Thu Jul 6 18:54:49 2000 Owen Taylor <otaylor@redhat.com>
* docs/Makefile.am (EXTRA_DIST): Remove info files
@@ -734,10 +758,10 @@ 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
-
+
* gstring.c glib.h (g_string_hash): Add g_string_hash to
go along with g_string_equal.
@@ -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>
@@ -916,7 +940,7 @@ Wed May 10 19:52:44 2000 Owen Taylor <otaylor@redhat.com>
* gasyncqueue.c: New File implementing an asynchronous queue to be
used for asynchronous inter-thread communication.
-
+
* gthreadpool.c: New File implementing a thread pool to be used
for distributing work among several threads.
@@ -928,7 +952,7 @@ Wed May 10 19:52:44 2000 Owen Taylor <otaylor@redhat.com>
the thread pool.
* tests/Makefile.am: Changed accordingly.
-
+
2000-04-26 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Look for both pthread_create and pthread_join in
@@ -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>
@@ -995,7 +1019,7 @@ Wed Apr 19 08:32:32 2000 Tim Janik <timj@gtk.org>
memory released by the user, but cached by GLib. This lets a
garbage collector have a more correct view of the actually used
memory.
-
+
* garray.c, glib.h: Added g_(array|ptr_array|byte_array)_sized_new
functions, that reserve a certain amount of memeory for the array
at creation time to avoid reallocation. Fixes bug #6707 from
@@ -1084,7 +1108,7 @@ Wed Mar 22 16:49:57 2000 Owen Taylor <otaylor@redhat.com>
handling of priorities for older solaris versions and posix
threads. Thanks to Wan-Teh Chang <wtc@netscape.com> for suggesting
some of those changes.
-
+
* config.guess, config.sub, ltconfig, ltmain.sh:
Upgrade to libtool 1.3.4.
@@ -1133,7 +1157,7 @@ Wed Mar 22 16:49:57 2000 Owen Taylor <otaylor@redhat.com>
* configure.in: Don't use priorities for threads, when the
minimal/maximal priorities couldn't be determined at configure
time.
-
+
* configure.in, gthread.c: Always define GSystemThread in
glibconfig.h to represent a system thread.
@@ -1149,14 +1173,14 @@ Wed Mar 22 16:49:57 2000 Owen Taylor <otaylor@redhat.com>
* gthread.c (g_thread_self): Do not test the system_thread to be
non-zero to speed things up.
-
+
* gthread.c (g_mutex_init): Therefore set the system_thread of the
main thread here.
* tests/thread-test.c: Rerun all tests once again, but this time
we fool the system into thinking, that the available thread system
is not native, but userprovided.
-
+
2000-03-13 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gqueue.c (g_queue_push_tail_link, g_queue_push_head_link): We
@@ -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 ;)
@@ -1262,7 +1286,7 @@ Thu Feb 17 12:53:44 2000 Tim Janik <timj@gtk.org>
* glib.h: Declare g_string_insert_len, g_string_append_len,
g_string_prepend_len
-
+
Sun Feb 13 08:16:47 2000 Tim Janik <timj@gtk.org>
* configure.in: wtf??? someone destroyed the configure.in, reverting to
@@ -1275,7 +1299,7 @@ Sun Feb 13 08:16:47 2000 Tim Janik <timj@gtk.org>
* Makefile.am
* gmodule/Makefile.am
* gthread/Makefile.am: Change accordingly.
-
+
* makefile.cygwin: Corresponding changes, some cleanup.
2000-02-05 Tor Lillqvist <tml@iki.fi>
@@ -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,8 +1502,8 @@ 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>
* configure.in: added additional checks to figure sizes of size_t,
@@ -1537,7 +1561,7 @@ Wed Sep 22 01:53:18 1999 Tim Janik <timj@gtk.org>
for erroring out on this, instead of just issueing a warning).
* glib.h (g_trash_stack_pop): use uncasted NULL again.
-
+
Fri Sep 17 10:24:45 1999 Tim Janik <timj@gtk.org>
* gmem.c (g_mem_chunk_compute_size) (g_mem_chunk_new): applied patch
@@ -1659,7 +1683,7 @@ Sat Jul 24 20:11:35 1999 Tim Janik <timj@gtk.org>
deprecated g_strescape(), we need the SunOS variants here.
* gdate.c: added DEBUG_MSG() macro to wrap old messages.
-
+
* *.*: CVS merges.
* upgrade to libtool 1.3.3.
@@ -1676,7 +1700,7 @@ Sat Jul 24 20:11:35 1999 Tim Janik <timj@gtk.org>
* makefile.cygwin.in
* tests/makefile.cygwin.in: Remove .gcc from DLL name.
-
+
1999-07-13 Tor Lillqvist <tml@iki.fi>
* README.win32: Correct URL for mingw runtime sources.
@@ -1716,7 +1740,7 @@ Sat Jul 24 20:11:35 1999 Tim Janik <timj@gtk.org>
* glib.h: Updated the commentary about g_memmove to be right and
more GLib-like.
-
+
* configure.in: Removed test for rand_r, as it isn't used anymore.
1999-06-30 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
@@ -1752,7 +1776,7 @@ Sat Jul 24 20:11:35 1999 Tim Janik <timj@gtk.org>
* gtimer.c: Implement g_usleep on native Win32 using Sleep (which
only has millisecond granularity, though).
-
+
* makefile.cygwin.in
* makefile.msc.in: Update pthreads snapshot version. File
name changes. Remove testgthread.
@@ -1869,7 +1893,7 @@ Mon May 10 22:03:52 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
win32-related files that are made from corresponding .in files.
Is there a cleaner way than explicitly writing rules that invoke
config.status?
-
+
Sat May 1 10:18:01 PDT 1999 Manish Singh <yosh@gimp.org>
* acinclude.m4
@@ -1887,7 +1911,7 @@ Sat May 1 10:18:01 PDT 1999 Manish Singh <yosh@gimp.org>
* configure.in: Also substitute @GLIB_INTERFACE_AGE@ and
@GLIB_BINARY_AGE@ (needed in config.h.win32).
-
+
* glibconfig.h.win32.in: Use static mutex structure and initial
value corresponding to the 1999-04-07 snapshot of pthreads-win32.
@@ -1954,7 +1978,7 @@ Sun Apr 11 15:07:34 1999 Tim Janik <timj@gtk.org>
* configure.in: bumped versin number to GLib 1.2.2, interface 2,
binary 2.
-
+
* NEWS: updates.
Sun Apr 11 14:37:06 1999 Tim Janik <timj@gtk.org>
@@ -1984,7 +2008,7 @@ Thu Apr 8 19:53:19 1999 Owen Taylor <otaylor@redhat.com>
systems. Please do not merge this into 1.3 branch. It's taken care
of differently there. Info from J. Rhett Aultman
<cuplan@alley.gator.net>
-
+
Wed Mar 24 21:23:47 CST 1999 Shawn T. Amundson <amundson@gtk.org>
* Released GLib 1.2.1
@@ -2003,7 +2027,7 @@ Wed Mar 24 21:23:47 CST 1999 Shawn T. Amundson <amundson@gtk.org>
docs/glib-config.1: Removed, now generated.
* configure.in: Added to output now-generated files.
-
+
Tue Mar 23 13:43:39 PST 1999 Manish Singh <yosh@gimp.org>
* giounix.c: add user_data param to check and prepare functions
@@ -2037,10 +2061,10 @@ Fri Mar 19 16:29:50 PST 1999 Manish Singh <yosh@gimp.org>
s/g_static_/g_private_/g
Wed Mar 17 03:17:42 1999 Tim Janik <timj@gtk.org>
-
+
* configure.in bumped versin number to GLib 1.2.1, interface 1,
binary 1.
-
+
* NEWS: updates.
* glib.h: added GLIB_CHECK_VERSION() macro similar to
@@ -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>
@@ -2114,7 +2138,7 @@ Wed Feb 24 00:08:42 CST 1999 Shawn T. Amundson <amundson@gtk.org>
Sun Feb 21 14:01:00 1999 Dr Mike <drmike@redhat.com>
* Made specfile generated, tweaked slightly
-
+
Sat May 8 06:00:17 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
* configure.in
@@ -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>
@@ -2147,14 +2171,14 @@ Sat May 8 01:52:29 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
* configure.in: Also substitute @GLIB_MAJOR_VERSION@,
@GLIB_MINOR_VERSION@, and @GLIB_INTERFACE_AGE@.
-
+
* Makefile.am tests/Makefile.am: Also distribute makefile.cygwin.
-
+
* gerror.c (g_on_error_query): On Win32, put up a MessageBox and
then exit.
* glib.def: Add a couple of functions.
-
+
Sat May 1 10:26:20 PDT 1999 Manish Singh <yosh@gimp.org>
* acinclude.m4
@@ -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>
@@ -2394,7 +2418,7 @@ Mon Mar 8 07:42:08 1999 Tim Janik <timj@gtk.org>
lf for double). Defining G_INT_FORMAT makes sense however, as we
might want to define gint to something different than int someday
in the future. Idea from Sascha Brawer <sb@adasys.ch>.
-
+
1999-03-14 Jeff Garzik <jgarzik@pobox.com>
* gdate.c:
diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2
index 89f2f73ce..4b6ce0fa0 100644
--- a/ChangeLog.pre-2-2
+++ b/ChangeLog.pre-2-2
@@ -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.
@@ -26,11 +50,11 @@
* gmacros.h: Added G_BEGIN_DECLS and G_END_DECLS to mean: 'in case
of C++: extern "C" { ... }' analogous to glibc __BEGIN_DECLS and
__END_DECLS.
-
+
* configure.in, gerror.h, gfileutils.h, gshell.h, gspawn.h,
gunicode.h, : Changed guard-macro names to something more
consistent.
-
+
* configure.in, *.h: Use G_BEGIN_DECLS and G_END_DECLS.
* configure.in: Defined GLIB_HAVE_ALLOCA_H instead of including
@@ -59,7 +83,7 @@
2000-10-09 Havoc Pennington <hp@redhat.com>
* Makefile.am, tests/Makefile.am: Add new files.
-
+
* tests/spawn-test.c, tests/shell-test.c: new tests for
the shell/spawn stuff
@@ -84,7 +108,7 @@
* makefile.msc.in: Revamp to be like makefile.mingw.in, make
the MSVC build actually work again.
-
+
* gmodule/makefile.msc.in
* gobject/makefile.msc.in
* gthread/makefile.msc.in: New files, like their mingw counterparts.
@@ -92,17 +116,17 @@
* gmodule/Makefile.am
* gobject/Makefile.am
* gthread/Makefile.am: Make and distribute them.
-
+
* */makefile.mingw.in: Allow override of GLib version number from
the build/win32/module.defs file.
-
+
* glib.def: Add new entry point.
* tests/gio-test.c (main): Fix the Win32-only code to use current
API, g_io_channel_win32_make_pollfd() and g_io_channel_win32_poll().
Fixes from Hans Breuer:
-
+
* glib.h (struct DIR): Keep the last readdir result cached inside
the DIR struct, to enable several DIRs being open simultaneously.
@@ -161,9 +185,9 @@
(GConvertError): generic error is conventionally called
_FAILED rather than _OTHER, at least at the moment,
according to GError docs in docs/reference.
-
+
* gconvert.c: s/_OTHER/_FAILED/
-
+
2000-09-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Adjusted the test for an unimplemented
@@ -219,7 +243,7 @@ Mon Sep 25 2000 Elliot Lee <sopwith@redhat.com>
* glib.h: Only use the gcc-variable-macro-argument-extension for
gcc >= 2.4. Both patches from Jonas Oberg <jonas@gnu.org>.
-
+
Mon Sep 18 10:58:21 2000 Owen Taylor <otaylor@redhat.com>
* gutf8.c: Implement g_ucs4_to_utf8 which was in
@@ -229,7 +253,7 @@ Sun Sep 17 2000 Elliot Lee <sopwith@redhat.com>
* glib.h configure.in: Define g_alloca() as an
alloca-that-works-anywhere.
-
+
* gconvert.c: Fix warnings which could have caused problems on
64-bit platforms.
@@ -243,7 +267,7 @@ Sun Sep 10 12:37:40 2000 Owen Taylor <otaylor@redhat.com>
Also add g_convert_with_fallback() to take care of conversions
where we accept some loss going to the target encoding.
-
+
2000-09-10 Havoc Pennington <hp@redhat.com>
* gutf8.c (g_utf8_validate): Add this function.
@@ -301,7 +325,7 @@ Tue Sep 5 20:16:27 2000 Owen Taylor <otaylor@redhat.com>
* gstring.c (g_string_free): Use g_return_val_if_fail instead of
g_return_if_fail, as the function now is supposed to return
something.
-
+
* gerror.c, gerror.h (g_propagte_error): Added function
g_propagte_error to hand over local errors to the calling
function.
@@ -315,7 +339,7 @@ Tue Sep 5 20:16:27 2000 Owen Taylor <otaylor@redhat.com>
* tests/thread-test.c, tests/threadpool-test.c: Adapted
accordingly.
-
+
2000-08-31 Tor Lillqvist <tml@iki.fi>
* glib.h
@@ -422,19 +446,19 @@ 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,9 +468,9 @@ 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
* configure.in: Output the .pc files
@@ -480,7 +504,7 @@ Sun Jul 30 10:44:16 2000 Tim Janik <timj@gtk.org>
the polling routine eventually notices. Meanwhile, the data being
read is stored in a circular buffer, from where the IO channel's
read() method picks it up.
-
+
If the buffer fills up the reading thread has to wait for space
becoming available. For this another Win32 Event is used. The IO
Channel's read() method signals this when it has read some data
@@ -503,9 +527,9 @@ Sun Jul 30 10:44:16 2000 Tim Janik <timj@gtk.org>
* glib.h: Update documentation for IO Channels on Win32. Remove
the declarations for the as of now obsolete old functions related
to IO Channels for pipes with "wakeup" messages.
-
+
* glib.def: Some new functions.
-
+
* tests/gio-test.c: New file, to test GIOChannel and main loop.
* tests/Makefile.am
@@ -516,7 +540,7 @@ Sun Jul 30 10:44:16 2000 Tim Janik <timj@gtk.org>
* giowin32.c: Compile in the debugging code all the time, but only
output debug messages if told so. Add (unadvertised) function to
turn on/off debug messages for a channel.
-
+
(buffer_read): Don't loop. It is expected behaviour to return a
short read occasionally, for instance when reading from
pipes. It's the calling code that should loop if it *knows* how
@@ -526,7 +550,7 @@ Sun Jul 30 10:44:16 2000 Tim Janik <timj@gtk.org>
(recv_message): Loop calling g_io_channel_read() (in a new
function read_all()) until we have all the bytes we want (that we
know the writer has written/will write).
-
+
Thu Jul 27 05:15:11 2000 Tim Janik <timj@gtk.org>
* gstrfuncs.c (g_strlcpy, g_strlcat): completed tor's fix
@@ -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>
@@ -612,7 +636,7 @@ Wed Jul 26 00:46:03 2000 Tim Janik <timj@gtk.org>
deprecated. They will issue an warning once, when compiled with
G_ENABLE_DEBUG. This fixes Bug #3883. For discussion see
http://mail.gnome.org/pipermail/gtk-devel-list/2000-April/003139.html
-
+
2000-07-19 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in, glib.h: glibconfig.h and glib.h now include files
@@ -662,7 +686,7 @@ Fri Jul 14 12:22:49 2000 Owen Taylor <otaylor@redhat.com>
* Makefile.am gobject/Makefile.am gmodule/Makefile.am:
Move include files into /usr/include/glib-2.0.
-
+
Thu Jul 6 18:54:49 2000 Owen Taylor <otaylor@redhat.com>
* docs/Makefile.am (EXTRA_DIST): Remove info files
@@ -734,10 +758,10 @@ 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
-
+
* gstring.c glib.h (g_string_hash): Add g_string_hash to
go along with g_string_equal.
@@ -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>
@@ -916,7 +940,7 @@ Wed May 10 19:52:44 2000 Owen Taylor <otaylor@redhat.com>
* gasyncqueue.c: New File implementing an asynchronous queue to be
used for asynchronous inter-thread communication.
-
+
* gthreadpool.c: New File implementing a thread pool to be used
for distributing work among several threads.
@@ -928,7 +952,7 @@ Wed May 10 19:52:44 2000 Owen Taylor <otaylor@redhat.com>
the thread pool.
* tests/Makefile.am: Changed accordingly.
-
+
2000-04-26 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Look for both pthread_create and pthread_join in
@@ -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>
@@ -995,7 +1019,7 @@ Wed Apr 19 08:32:32 2000 Tim Janik <timj@gtk.org>
memory released by the user, but cached by GLib. This lets a
garbage collector have a more correct view of the actually used
memory.
-
+
* garray.c, glib.h: Added g_(array|ptr_array|byte_array)_sized_new
functions, that reserve a certain amount of memeory for the array
at creation time to avoid reallocation. Fixes bug #6707 from
@@ -1084,7 +1108,7 @@ Wed Mar 22 16:49:57 2000 Owen Taylor <otaylor@redhat.com>
handling of priorities for older solaris versions and posix
threads. Thanks to Wan-Teh Chang <wtc@netscape.com> for suggesting
some of those changes.
-
+
* config.guess, config.sub, ltconfig, ltmain.sh:
Upgrade to libtool 1.3.4.
@@ -1133,7 +1157,7 @@ Wed Mar 22 16:49:57 2000 Owen Taylor <otaylor@redhat.com>
* configure.in: Don't use priorities for threads, when the
minimal/maximal priorities couldn't be determined at configure
time.
-
+
* configure.in, gthread.c: Always define GSystemThread in
glibconfig.h to represent a system thread.
@@ -1149,14 +1173,14 @@ Wed Mar 22 16:49:57 2000 Owen Taylor <otaylor@redhat.com>
* gthread.c (g_thread_self): Do not test the system_thread to be
non-zero to speed things up.
-
+
* gthread.c (g_mutex_init): Therefore set the system_thread of the
main thread here.
* tests/thread-test.c: Rerun all tests once again, but this time
we fool the system into thinking, that the available thread system
is not native, but userprovided.
-
+
2000-03-13 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gqueue.c (g_queue_push_tail_link, g_queue_push_head_link): We
@@ -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 ;)
@@ -1262,7 +1286,7 @@ Thu Feb 17 12:53:44 2000 Tim Janik <timj@gtk.org>
* glib.h: Declare g_string_insert_len, g_string_append_len,
g_string_prepend_len
-
+
Sun Feb 13 08:16:47 2000 Tim Janik <timj@gtk.org>
* configure.in: wtf??? someone destroyed the configure.in, reverting to
@@ -1275,7 +1299,7 @@ Sun Feb 13 08:16:47 2000 Tim Janik <timj@gtk.org>
* Makefile.am
* gmodule/Makefile.am
* gthread/Makefile.am: Change accordingly.
-
+
* makefile.cygwin: Corresponding changes, some cleanup.
2000-02-05 Tor Lillqvist <tml@iki.fi>
@@ -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,8 +1502,8 @@ 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>
* configure.in: added additional checks to figure sizes of size_t,
@@ -1537,7 +1561,7 @@ Wed Sep 22 01:53:18 1999 Tim Janik <timj@gtk.org>
for erroring out on this, instead of just issueing a warning).
* glib.h (g_trash_stack_pop): use uncasted NULL again.
-
+
Fri Sep 17 10:24:45 1999 Tim Janik <timj@gtk.org>
* gmem.c (g_mem_chunk_compute_size) (g_mem_chunk_new): applied patch
@@ -1659,7 +1683,7 @@ Sat Jul 24 20:11:35 1999 Tim Janik <timj@gtk.org>
deprecated g_strescape(), we need the SunOS variants here.
* gdate.c: added DEBUG_MSG() macro to wrap old messages.
-
+
* *.*: CVS merges.
* upgrade to libtool 1.3.3.
@@ -1676,7 +1700,7 @@ Sat Jul 24 20:11:35 1999 Tim Janik <timj@gtk.org>
* makefile.cygwin.in
* tests/makefile.cygwin.in: Remove .gcc from DLL name.
-
+
1999-07-13 Tor Lillqvist <tml@iki.fi>
* README.win32: Correct URL for mingw runtime sources.
@@ -1716,7 +1740,7 @@ Sat Jul 24 20:11:35 1999 Tim Janik <timj@gtk.org>
* glib.h: Updated the commentary about g_memmove to be right and
more GLib-like.
-
+
* configure.in: Removed test for rand_r, as it isn't used anymore.
1999-06-30 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
@@ -1752,7 +1776,7 @@ Sat Jul 24 20:11:35 1999 Tim Janik <timj@gtk.org>
* gtimer.c: Implement g_usleep on native Win32 using Sleep (which
only has millisecond granularity, though).
-
+
* makefile.cygwin.in
* makefile.msc.in: Update pthreads snapshot version. File
name changes. Remove testgthread.
@@ -1869,7 +1893,7 @@ Mon May 10 22:03:52 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
win32-related files that are made from corresponding .in files.
Is there a cleaner way than explicitly writing rules that invoke
config.status?
-
+
Sat May 1 10:18:01 PDT 1999 Manish Singh <yosh@gimp.org>
* acinclude.m4
@@ -1887,7 +1911,7 @@ Sat May 1 10:18:01 PDT 1999 Manish Singh <yosh@gimp.org>
* configure.in: Also substitute @GLIB_INTERFACE_AGE@ and
@GLIB_BINARY_AGE@ (needed in config.h.win32).
-
+
* glibconfig.h.win32.in: Use static mutex structure and initial
value corresponding to the 1999-04-07 snapshot of pthreads-win32.
@@ -1954,7 +1978,7 @@ Sun Apr 11 15:07:34 1999 Tim Janik <timj@gtk.org>
* configure.in: bumped versin number to GLib 1.2.2, interface 2,
binary 2.
-
+
* NEWS: updates.
Sun Apr 11 14:37:06 1999 Tim Janik <timj@gtk.org>
@@ -1984,7 +2008,7 @@ Thu Apr 8 19:53:19 1999 Owen Taylor <otaylor@redhat.com>
systems. Please do not merge this into 1.3 branch. It's taken care
of differently there. Info from J. Rhett Aultman
<cuplan@alley.gator.net>
-
+
Wed Mar 24 21:23:47 CST 1999 Shawn T. Amundson <amundson@gtk.org>
* Released GLib 1.2.1
@@ -2003,7 +2027,7 @@ Wed Mar 24 21:23:47 CST 1999 Shawn T. Amundson <amundson@gtk.org>
docs/glib-config.1: Removed, now generated.
* configure.in: Added to output now-generated files.
-
+
Tue Mar 23 13:43:39 PST 1999 Manish Singh <yosh@gimp.org>
* giounix.c: add user_data param to check and prepare functions
@@ -2037,10 +2061,10 @@ Fri Mar 19 16:29:50 PST 1999 Manish Singh <yosh@gimp.org>
s/g_static_/g_private_/g
Wed Mar 17 03:17:42 1999 Tim Janik <timj@gtk.org>
-
+
* configure.in bumped versin number to GLib 1.2.1, interface 1,
binary 1.
-
+
* NEWS: updates.
* glib.h: added GLIB_CHECK_VERSION() macro similar to
@@ -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>
@@ -2114,7 +2138,7 @@ Wed Feb 24 00:08:42 CST 1999 Shawn T. Amundson <amundson@gtk.org>
Sun Feb 21 14:01:00 1999 Dr Mike <drmike@redhat.com>
* Made specfile generated, tweaked slightly
-
+
Sat May 8 06:00:17 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
* configure.in
@@ -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>
@@ -2147,14 +2171,14 @@ Sat May 8 01:52:29 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
* configure.in: Also substitute @GLIB_MAJOR_VERSION@,
@GLIB_MINOR_VERSION@, and @GLIB_INTERFACE_AGE@.
-
+
* Makefile.am tests/Makefile.am: Also distribute makefile.cygwin.
-
+
* gerror.c (g_on_error_query): On Win32, put up a MessageBox and
then exit.
* glib.def: Add a couple of functions.
-
+
Sat May 1 10:26:20 PDT 1999 Manish Singh <yosh@gimp.org>
* acinclude.m4
@@ -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>
@@ -2394,7 +2418,7 @@ Mon Mar 8 07:42:08 1999 Tim Janik <timj@gtk.org>
lf for double). Defining G_INT_FORMAT makes sense however, as we
might want to define gint to something different than int someday
in the future. Idea from Sascha Brawer <sb@adasys.ch>.
-
+
1999-03-14 Jeff Garzik <jgarzik@pobox.com>
* gdate.c:
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index 89f2f73ce..4b6ce0fa0 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -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.
@@ -26,11 +50,11 @@
* gmacros.h: Added G_BEGIN_DECLS and G_END_DECLS to mean: 'in case
of C++: extern "C" { ... }' analogous to glibc __BEGIN_DECLS and
__END_DECLS.
-
+
* configure.in, gerror.h, gfileutils.h, gshell.h, gspawn.h,
gunicode.h, : Changed guard-macro names to something more
consistent.
-
+
* configure.in, *.h: Use G_BEGIN_DECLS and G_END_DECLS.
* configure.in: Defined GLIB_HAVE_ALLOCA_H instead of including
@@ -59,7 +83,7 @@
2000-10-09 Havoc Pennington <hp@redhat.com>
* Makefile.am, tests/Makefile.am: Add new files.
-
+
* tests/spawn-test.c, tests/shell-test.c: new tests for
the shell/spawn stuff
@@ -84,7 +108,7 @@
* makefile.msc.in: Revamp to be like makefile.mingw.in, make
the MSVC build actually work again.
-
+
* gmodule/makefile.msc.in
* gobject/makefile.msc.in
* gthread/makefile.msc.in: New files, like their mingw counterparts.
@@ -92,17 +116,17 @@
* gmodule/Makefile.am
* gobject/Makefile.am
* gthread/Makefile.am: Make and distribute them.
-
+
* */makefile.mingw.in: Allow override of GLib version number from
the build/win32/module.defs file.
-
+
* glib.def: Add new entry point.
* tests/gio-test.c (main): Fix the Win32-only code to use current
API, g_io_channel_win32_make_pollfd() and g_io_channel_win32_poll().
Fixes from Hans Breuer:
-
+
* glib.h (struct DIR): Keep the last readdir result cached inside
the DIR struct, to enable several DIRs being open simultaneously.
@@ -161,9 +185,9 @@
(GConvertError): generic error is conventionally called
_FAILED rather than _OTHER, at least at the moment,
according to GError docs in docs/reference.
-
+
* gconvert.c: s/_OTHER/_FAILED/
-
+
2000-09-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Adjusted the test for an unimplemented
@@ -219,7 +243,7 @@ Mon Sep 25 2000 Elliot Lee <sopwith@redhat.com>
* glib.h: Only use the gcc-variable-macro-argument-extension for
gcc >= 2.4. Both patches from Jonas Oberg <jonas@gnu.org>.
-
+
Mon Sep 18 10:58:21 2000 Owen Taylor <otaylor@redhat.com>
* gutf8.c: Implement g_ucs4_to_utf8 which was in
@@ -229,7 +253,7 @@ Sun Sep 17 2000 Elliot Lee <sopwith@redhat.com>
* glib.h configure.in: Define g_alloca() as an
alloca-that-works-anywhere.
-
+
* gconvert.c: Fix warnings which could have caused problems on
64-bit platforms.
@@ -243,7 +267,7 @@ Sun Sep 10 12:37:40 2000 Owen Taylor <otaylor@redhat.com>
Also add g_convert_with_fallback() to take care of conversions
where we accept some loss going to the target encoding.
-
+
2000-09-10 Havoc Pennington <hp@redhat.com>
* gutf8.c (g_utf8_validate): Add this function.
@@ -301,7 +325,7 @@ Tue Sep 5 20:16:27 2000 Owen Taylor <otaylor@redhat.com>
* gstring.c (g_string_free): Use g_return_val_if_fail instead of
g_return_if_fail, as the function now is supposed to return
something.
-
+
* gerror.c, gerror.h (g_propagte_error): Added function
g_propagte_error to hand over local errors to the calling
function.
@@ -315,7 +339,7 @@ Tue Sep 5 20:16:27 2000 Owen Taylor <otaylor@redhat.com>
* tests/thread-test.c, tests/threadpool-test.c: Adapted
accordingly.
-
+
2000-08-31 Tor Lillqvist <tml@iki.fi>
* glib.h
@@ -422,19 +446,19 @@ 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,9 +468,9 @@ 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
* configure.in: Output the .pc files
@@ -480,7 +504,7 @@ Sun Jul 30 10:44:16 2000 Tim Janik <timj@gtk.org>
the polling routine eventually notices. Meanwhile, the data being
read is stored in a circular buffer, from where the IO channel's
read() method picks it up.
-
+
If the buffer fills up the reading thread has to wait for space
becoming available. For this another Win32 Event is used. The IO
Channel's read() method signals this when it has read some data
@@ -503,9 +527,9 @@ Sun Jul 30 10:44:16 2000 Tim Janik <timj@gtk.org>
* glib.h: Update documentation for IO Channels on Win32. Remove
the declarations for the as of now obsolete old functions related
to IO Channels for pipes with "wakeup" messages.
-
+
* glib.def: Some new functions.
-
+
* tests/gio-test.c: New file, to test GIOChannel and main loop.
* tests/Makefile.am
@@ -516,7 +540,7 @@ Sun Jul 30 10:44:16 2000 Tim Janik <timj@gtk.org>
* giowin32.c: Compile in the debugging code all the time, but only
output debug messages if told so. Add (unadvertised) function to
turn on/off debug messages for a channel.
-
+
(buffer_read): Don't loop. It is expected behaviour to return a
short read occasionally, for instance when reading from
pipes. It's the calling code that should loop if it *knows* how
@@ -526,7 +550,7 @@ Sun Jul 30 10:44:16 2000 Tim Janik <timj@gtk.org>
(recv_message): Loop calling g_io_channel_read() (in a new
function read_all()) until we have all the bytes we want (that we
know the writer has written/will write).
-
+
Thu Jul 27 05:15:11 2000 Tim Janik <timj@gtk.org>
* gstrfuncs.c (g_strlcpy, g_strlcat): completed tor's fix
@@ -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>
@@ -612,7 +636,7 @@ Wed Jul 26 00:46:03 2000 Tim Janik <timj@gtk.org>
deprecated. They will issue an warning once, when compiled with
G_ENABLE_DEBUG. This fixes Bug #3883. For discussion see
http://mail.gnome.org/pipermail/gtk-devel-list/2000-April/003139.html
-
+
2000-07-19 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in, glib.h: glibconfig.h and glib.h now include files
@@ -662,7 +686,7 @@ Fri Jul 14 12:22:49 2000 Owen Taylor <otaylor@redhat.com>
* Makefile.am gobject/Makefile.am gmodule/Makefile.am:
Move include files into /usr/include/glib-2.0.
-
+
Thu Jul 6 18:54:49 2000 Owen Taylor <otaylor@redhat.com>
* docs/Makefile.am (EXTRA_DIST): Remove info files
@@ -734,10 +758,10 @@ 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
-
+
* gstring.c glib.h (g_string_hash): Add g_string_hash to
go along with g_string_equal.
@@ -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>
@@ -916,7 +940,7 @@ Wed May 10 19:52:44 2000 Owen Taylor <otaylor@redhat.com>
* gasyncqueue.c: New File implementing an asynchronous queue to be
used for asynchronous inter-thread communication.
-
+
* gthreadpool.c: New File implementing a thread pool to be used
for distributing work among several threads.
@@ -928,7 +952,7 @@ Wed May 10 19:52:44 2000 Owen Taylor <otaylor@redhat.com>
the thread pool.
* tests/Makefile.am: Changed accordingly.
-
+
2000-04-26 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Look for both pthread_create and pthread_join in
@@ -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>
@@ -995,7 +1019,7 @@ Wed Apr 19 08:32:32 2000 Tim Janik <timj@gtk.org>
memory released by the user, but cached by GLib. This lets a
garbage collector have a more correct view of the actually used
memory.
-
+
* garray.c, glib.h: Added g_(array|ptr_array|byte_array)_sized_new
functions, that reserve a certain amount of memeory for the array
at creation time to avoid reallocation. Fixes bug #6707 from
@@ -1084,7 +1108,7 @@ Wed Mar 22 16:49:57 2000 Owen Taylor <otaylor@redhat.com>
handling of priorities for older solaris versions and posix
threads. Thanks to Wan-Teh Chang <wtc@netscape.com> for suggesting
some of those changes.
-
+
* config.guess, config.sub, ltconfig, ltmain.sh:
Upgrade to libtool 1.3.4.
@@ -1133,7 +1157,7 @@ Wed Mar 22 16:49:57 2000 Owen Taylor <otaylor@redhat.com>
* configure.in: Don't use priorities for threads, when the
minimal/maximal priorities couldn't be determined at configure
time.
-
+
* configure.in, gthread.c: Always define GSystemThread in
glibconfig.h to represent a system thread.
@@ -1149,14 +1173,14 @@ Wed Mar 22 16:49:57 2000 Owen Taylor <otaylor@redhat.com>
* gthread.c (g_thread_self): Do not test the system_thread to be
non-zero to speed things up.
-
+
* gthread.c (g_mutex_init): Therefore set the system_thread of the
main thread here.
* tests/thread-test.c: Rerun all tests once again, but this time
we fool the system into thinking, that the available thread system
is not native, but userprovided.
-
+
2000-03-13 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gqueue.c (g_queue_push_tail_link, g_queue_push_head_link): We
@@ -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 ;)
@@ -1262,7 +1286,7 @@ Thu Feb 17 12:53:44 2000 Tim Janik <timj@gtk.org>
* glib.h: Declare g_string_insert_len, g_string_append_len,
g_string_prepend_len
-
+
Sun Feb 13 08:16:47 2000 Tim Janik <timj@gtk.org>
* configure.in: wtf??? someone destroyed the configure.in, reverting to
@@ -1275,7 +1299,7 @@ Sun Feb 13 08:16:47 2000 Tim Janik <timj@gtk.org>
* Makefile.am
* gmodule/Makefile.am
* gthread/Makefile.am: Change accordingly.
-
+
* makefile.cygwin: Corresponding changes, some cleanup.
2000-02-05 Tor Lillqvist <tml@iki.fi>
@@ -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,8 +1502,8 @@ 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>
* configure.in: added additional checks to figure sizes of size_t,
@@ -1537,7 +1561,7 @@ Wed Sep 22 01:53:18 1999 Tim Janik <timj@gtk.org>
for erroring out on this, instead of just issueing a warning).
* glib.h (g_trash_stack_pop): use uncasted NULL again.
-
+
Fri Sep 17 10:24:45 1999 Tim Janik <timj@gtk.org>
* gmem.c (g_mem_chunk_compute_size) (g_mem_chunk_new): applied patch
@@ -1659,7 +1683,7 @@ Sat Jul 24 20:11:35 1999 Tim Janik <timj@gtk.org>
deprecated g_strescape(), we need the SunOS variants here.
* gdate.c: added DEBUG_MSG() macro to wrap old messages.
-
+
* *.*: CVS merges.
* upgrade to libtool 1.3.3.
@@ -1676,7 +1700,7 @@ Sat Jul 24 20:11:35 1999 Tim Janik <timj@gtk.org>
* makefile.cygwin.in
* tests/makefile.cygwin.in: Remove .gcc from DLL name.
-
+
1999-07-13 Tor Lillqvist <tml@iki.fi>
* README.win32: Correct URL for mingw runtime sources.
@@ -1716,7 +1740,7 @@ Sat Jul 24 20:11:35 1999 Tim Janik <timj@gtk.org>
* glib.h: Updated the commentary about g_memmove to be right and
more GLib-like.
-
+
* configure.in: Removed test for rand_r, as it isn't used anymore.
1999-06-30 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
@@ -1752,7 +1776,7 @@ Sat Jul 24 20:11:35 1999 Tim Janik <timj@gtk.org>
* gtimer.c: Implement g_usleep on native Win32 using Sleep (which
only has millisecond granularity, though).
-
+
* makefile.cygwin.in
* makefile.msc.in: Update pthreads snapshot version. File
name changes. Remove testgthread.
@@ -1869,7 +1893,7 @@ Mon May 10 22:03:52 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
win32-related files that are made from corresponding .in files.
Is there a cleaner way than explicitly writing rules that invoke
config.status?
-
+
Sat May 1 10:18:01 PDT 1999 Manish Singh <yosh@gimp.org>
* acinclude.m4
@@ -1887,7 +1911,7 @@ Sat May 1 10:18:01 PDT 1999 Manish Singh <yosh@gimp.org>
* configure.in: Also substitute @GLIB_INTERFACE_AGE@ and
@GLIB_BINARY_AGE@ (needed in config.h.win32).
-
+
* glibconfig.h.win32.in: Use static mutex structure and initial
value corresponding to the 1999-04-07 snapshot of pthreads-win32.
@@ -1954,7 +1978,7 @@ Sun Apr 11 15:07:34 1999 Tim Janik <timj@gtk.org>
* configure.in: bumped versin number to GLib 1.2.2, interface 2,
binary 2.
-
+
* NEWS: updates.
Sun Apr 11 14:37:06 1999 Tim Janik <timj@gtk.org>
@@ -1984,7 +2008,7 @@ Thu Apr 8 19:53:19 1999 Owen Taylor <otaylor@redhat.com>
systems. Please do not merge this into 1.3 branch. It's taken care
of differently there. Info from J. Rhett Aultman
<cuplan@alley.gator.net>
-
+
Wed Mar 24 21:23:47 CST 1999 Shawn T. Amundson <amundson@gtk.org>
* Released GLib 1.2.1
@@ -2003,7 +2027,7 @@ Wed Mar 24 21:23:47 CST 1999 Shawn T. Amundson <amundson@gtk.org>
docs/glib-config.1: Removed, now generated.
* configure.in: Added to output now-generated files.
-
+
Tue Mar 23 13:43:39 PST 1999 Manish Singh <yosh@gimp.org>
* giounix.c: add user_data param to check and prepare functions
@@ -2037,10 +2061,10 @@ Fri Mar 19 16:29:50 PST 1999 Manish Singh <yosh@gimp.org>
s/g_static_/g_private_/g
Wed Mar 17 03:17:42 1999 Tim Janik <timj@gtk.org>
-
+
* configure.in bumped versin number to GLib 1.2.1, interface 1,
binary 1.
-
+
* NEWS: updates.
* glib.h: added GLIB_CHECK_VERSION() macro similar to
@@ -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>
@@ -2114,7 +2138,7 @@ Wed Feb 24 00:08:42 CST 1999 Shawn T. Amundson <amundson@gtk.org>
Sun Feb 21 14:01:00 1999 Dr Mike <drmike@redhat.com>
* Made specfile generated, tweaked slightly
-
+
Sat May 8 06:00:17 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
* configure.in
@@ -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>
@@ -2147,14 +2171,14 @@ Sat May 8 01:52:29 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
* configure.in: Also substitute @GLIB_MAJOR_VERSION@,
@GLIB_MINOR_VERSION@, and @GLIB_INTERFACE_AGE@.
-
+
* Makefile.am tests/Makefile.am: Also distribute makefile.cygwin.
-
+
* gerror.c (g_on_error_query): On Win32, put up a MessageBox and
then exit.
* glib.def: Add a couple of functions.
-
+
Sat May 1 10:26:20 PDT 1999 Manish Singh <yosh@gimp.org>
* acinclude.m4
@@ -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>
@@ -2394,7 +2418,7 @@ Mon Mar 8 07:42:08 1999 Tim Janik <timj@gtk.org>
lf for double). Defining G_INT_FORMAT makes sense however, as we
might want to define gint to something different than int someday
in the future. Idea from Sascha Brawer <sb@adasys.ch>.
-
+
1999-03-14 Jeff Garzik <jgarzik@pobox.com>
* gdate.c:
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index 89f2f73ce..4b6ce0fa0 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -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.
@@ -26,11 +50,11 @@
* gmacros.h: Added G_BEGIN_DECLS and G_END_DECLS to mean: 'in case
of C++: extern "C" { ... }' analogous to glibc __BEGIN_DECLS and
__END_DECLS.
-
+
* configure.in, gerror.h, gfileutils.h, gshell.h, gspawn.h,
gunicode.h, : Changed guard-macro names to something more
consistent.
-
+
* configure.in, *.h: Use G_BEGIN_DECLS and G_END_DECLS.
* configure.in: Defined GLIB_HAVE_ALLOCA_H instead of including
@@ -59,7 +83,7 @@
2000-10-09 Havoc Pennington <hp@redhat.com>
* Makefile.am, tests/Makefile.am: Add new files.
-
+
* tests/spawn-test.c, tests/shell-test.c: new tests for
the shell/spawn stuff
@@ -84,7 +108,7 @@
* makefile.msc.in: Revamp to be like makefile.mingw.in, make
the MSVC build actually work again.
-
+
* gmodule/makefile.msc.in
* gobject/makefile.msc.in
* gthread/makefile.msc.in: New files, like their mingw counterparts.
@@ -92,17 +116,17 @@
* gmodule/Makefile.am
* gobject/Makefile.am
* gthread/Makefile.am: Make and distribute them.
-
+
* */makefile.mingw.in: Allow override of GLib version number from
the build/win32/module.defs file.
-
+
* glib.def: Add new entry point.
* tests/gio-test.c (main): Fix the Win32-only code to use current
API, g_io_channel_win32_make_pollfd() and g_io_channel_win32_poll().
Fixes from Hans Breuer:
-
+
* glib.h (struct DIR): Keep the last readdir result cached inside
the DIR struct, to enable several DIRs being open simultaneously.
@@ -161,9 +185,9 @@
(GConvertError): generic error is conventionally called
_FAILED rather than _OTHER, at least at the moment,
according to GError docs in docs/reference.
-
+
* gconvert.c: s/_OTHER/_FAILED/
-
+
2000-09-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Adjusted the test for an unimplemented
@@ -219,7 +243,7 @@ Mon Sep 25 2000 Elliot Lee <sopwith@redhat.com>
* glib.h: Only use the gcc-variable-macro-argument-extension for
gcc >= 2.4. Both patches from Jonas Oberg <jonas@gnu.org>.
-
+
Mon Sep 18 10:58:21 2000 Owen Taylor <otaylor@redhat.com>
* gutf8.c: Implement g_ucs4_to_utf8 which was in
@@ -229,7 +253,7 @@ Sun Sep 17 2000 Elliot Lee <sopwith@redhat.com>
* glib.h configure.in: Define g_alloca() as an
alloca-that-works-anywhere.
-
+
* gconvert.c: Fix warnings which could have caused problems on
64-bit platforms.
@@ -243,7 +267,7 @@ Sun Sep 10 12:37:40 2000 Owen Taylor <otaylor@redhat.com>
Also add g_convert_with_fallback() to take care of conversions
where we accept some loss going to the target encoding.
-
+
2000-09-10 Havoc Pennington <hp@redhat.com>
* gutf8.c (g_utf8_validate): Add this function.
@@ -301,7 +325,7 @@ Tue Sep 5 20:16:27 2000 Owen Taylor <otaylor@redhat.com>
* gstring.c (g_string_free): Use g_return_val_if_fail instead of
g_return_if_fail, as the function now is supposed to return
something.
-
+
* gerror.c, gerror.h (g_propagte_error): Added function
g_propagte_error to hand over local errors to the calling
function.
@@ -315,7 +339,7 @@ Tue Sep 5 20:16:27 2000 Owen Taylor <otaylor@redhat.com>
* tests/thread-test.c, tests/threadpool-test.c: Adapted
accordingly.
-
+
2000-08-31 Tor Lillqvist <tml@iki.fi>
* glib.h
@@ -422,19 +446,19 @@ 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,9 +468,9 @@ 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
* configure.in: Output the .pc files
@@ -480,7 +504,7 @@ Sun Jul 30 10:44:16 2000 Tim Janik <timj@gtk.org>
the polling routine eventually notices. Meanwhile, the data being
read is stored in a circular buffer, from where the IO channel's
read() method picks it up.
-
+
If the buffer fills up the reading thread has to wait for space
becoming available. For this another Win32 Event is used. The IO
Channel's read() method signals this when it has read some data
@@ -503,9 +527,9 @@ Sun Jul 30 10:44:16 2000 Tim Janik <timj@gtk.org>
* glib.h: Update documentation for IO Channels on Win32. Remove
the declarations for the as of now obsolete old functions related
to IO Channels for pipes with "wakeup" messages.
-
+
* glib.def: Some new functions.
-
+
* tests/gio-test.c: New file, to test GIOChannel and main loop.
* tests/Makefile.am
@@ -516,7 +540,7 @@ Sun Jul 30 10:44:16 2000 Tim Janik <timj@gtk.org>
* giowin32.c: Compile in the debugging code all the time, but only
output debug messages if told so. Add (unadvertised) function to
turn on/off debug messages for a channel.
-
+
(buffer_read): Don't loop. It is expected behaviour to return a
short read occasionally, for instance when reading from
pipes. It's the calling code that should loop if it *knows* how
@@ -526,7 +550,7 @@ Sun Jul 30 10:44:16 2000 Tim Janik <timj@gtk.org>
(recv_message): Loop calling g_io_channel_read() (in a new
function read_all()) until we have all the bytes we want (that we
know the writer has written/will write).
-
+
Thu Jul 27 05:15:11 2000 Tim Janik <timj@gtk.org>
* gstrfuncs.c (g_strlcpy, g_strlcat): completed tor's fix
@@ -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>
@@ -612,7 +636,7 @@ Wed Jul 26 00:46:03 2000 Tim Janik <timj@gtk.org>
deprecated. They will issue an warning once, when compiled with
G_ENABLE_DEBUG. This fixes Bug #3883. For discussion see
http://mail.gnome.org/pipermail/gtk-devel-list/2000-April/003139.html
-
+
2000-07-19 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in, glib.h: glibconfig.h and glib.h now include files
@@ -662,7 +686,7 @@ Fri Jul 14 12:22:49 2000 Owen Taylor <otaylor@redhat.com>
* Makefile.am gobject/Makefile.am gmodule/Makefile.am:
Move include files into /usr/include/glib-2.0.
-
+
Thu Jul 6 18:54:49 2000 Owen Taylor <otaylor@redhat.com>
* docs/Makefile.am (EXTRA_DIST): Remove info files
@@ -734,10 +758,10 @@ 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
-
+
* gstring.c glib.h (g_string_hash): Add g_string_hash to
go along with g_string_equal.
@@ -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>
@@ -916,7 +940,7 @@ Wed May 10 19:52:44 2000 Owen Taylor <otaylor@redhat.com>
* gasyncqueue.c: New File implementing an asynchronous queue to be
used for asynchronous inter-thread communication.
-
+
* gthreadpool.c: New File implementing a thread pool to be used
for distributing work among several threads.
@@ -928,7 +952,7 @@ Wed May 10 19:52:44 2000 Owen Taylor <otaylor@redhat.com>
the thread pool.
* tests/Makefile.am: Changed accordingly.
-
+
2000-04-26 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Look for both pthread_create and pthread_join in
@@ -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>
@@ -995,7 +1019,7 @@ Wed Apr 19 08:32:32 2000 Tim Janik <timj@gtk.org>
memory released by the user, but cached by GLib. This lets a
garbage collector have a more correct view of the actually used
memory.
-
+
* garray.c, glib.h: Added g_(array|ptr_array|byte_array)_sized_new
functions, that reserve a certain amount of memeory for the array
at creation time to avoid reallocation. Fixes bug #6707 from
@@ -1084,7 +1108,7 @@ Wed Mar 22 16:49:57 2000 Owen Taylor <otaylor@redhat.com>
handling of priorities for older solaris versions and posix
threads. Thanks to Wan-Teh Chang <wtc@netscape.com> for suggesting
some of those changes.
-
+
* config.guess, config.sub, ltconfig, ltmain.sh:
Upgrade to libtool 1.3.4.
@@ -1133,7 +1157,7 @@ Wed Mar 22 16:49:57 2000 Owen Taylor <otaylor@redhat.com>
* configure.in: Don't use priorities for threads, when the
minimal/maximal priorities couldn't be determined at configure
time.
-
+
* configure.in, gthread.c: Always define GSystemThread in
glibconfig.h to represent a system thread.
@@ -1149,14 +1173,14 @@ Wed Mar 22 16:49:57 2000 Owen Taylor <otaylor@redhat.com>
* gthread.c (g_thread_self): Do not test the system_thread to be
non-zero to speed things up.
-
+
* gthread.c (g_mutex_init): Therefore set the system_thread of the
main thread here.
* tests/thread-test.c: Rerun all tests once again, but this time
we fool the system into thinking, that the available thread system
is not native, but userprovided.
-
+
2000-03-13 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gqueue.c (g_queue_push_tail_link, g_queue_push_head_link): We
@@ -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 ;)
@@ -1262,7 +1286,7 @@ Thu Feb 17 12:53:44 2000 Tim Janik <timj@gtk.org>
* glib.h: Declare g_string_insert_len, g_string_append_len,
g_string_prepend_len
-
+
Sun Feb 13 08:16:47 2000 Tim Janik <timj@gtk.org>
* configure.in: wtf??? someone destroyed the configure.in, reverting to
@@ -1275,7 +1299,7 @@ Sun Feb 13 08:16:47 2000 Tim Janik <timj@gtk.org>
* Makefile.am
* gmodule/Makefile.am
* gthread/Makefile.am: Change accordingly.
-
+
* makefile.cygwin: Corresponding changes, some cleanup.
2000-02-05 Tor Lillqvist <tml@iki.fi>
@@ -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,8 +1502,8 @@ 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>
* configure.in: added additional checks to figure sizes of size_t,
@@ -1537,7 +1561,7 @@ Wed Sep 22 01:53:18 1999 Tim Janik <timj@gtk.org>
for erroring out on this, instead of just issueing a warning).
* glib.h (g_trash_stack_pop): use uncasted NULL again.
-
+
Fri Sep 17 10:24:45 1999 Tim Janik <timj@gtk.org>
* gmem.c (g_mem_chunk_compute_size) (g_mem_chunk_new): applied patch
@@ -1659,7 +1683,7 @@ Sat Jul 24 20:11:35 1999 Tim Janik <timj@gtk.org>
deprecated g_strescape(), we need the SunOS variants here.
* gdate.c: added DEBUG_MSG() macro to wrap old messages.
-
+
* *.*: CVS merges.
* upgrade to libtool 1.3.3.
@@ -1676,7 +1700,7 @@ Sat Jul 24 20:11:35 1999 Tim Janik <timj@gtk.org>
* makefile.cygwin.in
* tests/makefile.cygwin.in: Remove .gcc from DLL name.
-
+
1999-07-13 Tor Lillqvist <tml@iki.fi>
* README.win32: Correct URL for mingw runtime sources.
@@ -1716,7 +1740,7 @@ Sat Jul 24 20:11:35 1999 Tim Janik <timj@gtk.org>
* glib.h: Updated the commentary about g_memmove to be right and
more GLib-like.
-
+
* configure.in: Removed test for rand_r, as it isn't used anymore.
1999-06-30 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
@@ -1752,7 +1776,7 @@ Sat Jul 24 20:11:35 1999 Tim Janik <timj@gtk.org>
* gtimer.c: Implement g_usleep on native Win32 using Sleep (which
only has millisecond granularity, though).
-
+
* makefile.cygwin.in
* makefile.msc.in: Update pthreads snapshot version. File
name changes. Remove testgthread.
@@ -1869,7 +1893,7 @@ Mon May 10 22:03:52 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
win32-related files that are made from corresponding .in files.
Is there a cleaner way than explicitly writing rules that invoke
config.status?
-
+
Sat May 1 10:18:01 PDT 1999 Manish Singh <yosh@gimp.org>
* acinclude.m4
@@ -1887,7 +1911,7 @@ Sat May 1 10:18:01 PDT 1999 Manish Singh <yosh@gimp.org>
* configure.in: Also substitute @GLIB_INTERFACE_AGE@ and
@GLIB_BINARY_AGE@ (needed in config.h.win32).
-
+
* glibconfig.h.win32.in: Use static mutex structure and initial
value corresponding to the 1999-04-07 snapshot of pthreads-win32.
@@ -1954,7 +1978,7 @@ Sun Apr 11 15:07:34 1999 Tim Janik <timj@gtk.org>
* configure.in: bumped versin number to GLib 1.2.2, interface 2,
binary 2.
-
+
* NEWS: updates.
Sun Apr 11 14:37:06 1999 Tim Janik <timj@gtk.org>
@@ -1984,7 +2008,7 @@ Thu Apr 8 19:53:19 1999 Owen Taylor <otaylor@redhat.com>
systems. Please do not merge this into 1.3 branch. It's taken care
of differently there. Info from J. Rhett Aultman
<cuplan@alley.gator.net>
-
+
Wed Mar 24 21:23:47 CST 1999 Shawn T. Amundson <amundson@gtk.org>
* Released GLib 1.2.1
@@ -2003,7 +2027,7 @@ Wed Mar 24 21:23:47 CST 1999 Shawn T. Amundson <amundson@gtk.org>
docs/glib-config.1: Removed, now generated.
* configure.in: Added to output now-generated files.
-
+
Tue Mar 23 13:43:39 PST 1999 Manish Singh <yosh@gimp.org>
* giounix.c: add user_data param to check and prepare functions
@@ -2037,10 +2061,10 @@ Fri Mar 19 16:29:50 PST 1999 Manish Singh <yosh@gimp.org>
s/g_static_/g_private_/g
Wed Mar 17 03:17:42 1999 Tim Janik <timj@gtk.org>
-
+
* configure.in bumped versin number to GLib 1.2.1, interface 1,
binary 1.
-
+
* NEWS: updates.
* glib.h: added GLIB_CHECK_VERSION() macro similar to
@@ -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>
@@ -2114,7 +2138,7 @@ Wed Feb 24 00:08:42 CST 1999 Shawn T. Amundson <amundson@gtk.org>
Sun Feb 21 14:01:00 1999 Dr Mike <drmike@redhat.com>
* Made specfile generated, tweaked slightly
-
+
Sat May 8 06:00:17 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
* configure.in
@@ -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>
@@ -2147,14 +2171,14 @@ Sat May 8 01:52:29 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
* configure.in: Also substitute @GLIB_MAJOR_VERSION@,
@GLIB_MINOR_VERSION@, and @GLIB_INTERFACE_AGE@.
-
+
* Makefile.am tests/Makefile.am: Also distribute makefile.cygwin.
-
+
* gerror.c (g_on_error_query): On Win32, put up a MessageBox and
then exit.
* glib.def: Add a couple of functions.
-
+
Sat May 1 10:26:20 PDT 1999 Manish Singh <yosh@gimp.org>
* acinclude.m4
@@ -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>
@@ -2394,7 +2418,7 @@ Mon Mar 8 07:42:08 1999 Tim Janik <timj@gtk.org>
lf for double). Defining G_INT_FORMAT makes sense however, as we
might want to define gint to something different than int someday
in the future. Idea from Sascha Brawer <sb@adasys.ch>.
-
+
1999-03-14 Jeff Garzik <jgarzik@pobox.com>
* gdate.c:
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index 89f2f73ce..4b6ce0fa0 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -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.
@@ -26,11 +50,11 @@
* gmacros.h: Added G_BEGIN_DECLS and G_END_DECLS to mean: 'in case
of C++: extern "C" { ... }' analogous to glibc __BEGIN_DECLS and
__END_DECLS.
-
+
* configure.in, gerror.h, gfileutils.h, gshell.h, gspawn.h,
gunicode.h, : Changed guard-macro names to something more
consistent.
-
+
* configure.in, *.h: Use G_BEGIN_DECLS and G_END_DECLS.
* configure.in: Defined GLIB_HAVE_ALLOCA_H instead of including
@@ -59,7 +83,7 @@
2000-10-09 Havoc Pennington <hp@redhat.com>
* Makefile.am, tests/Makefile.am: Add new files.
-
+
* tests/spawn-test.c, tests/shell-test.c: new tests for
the shell/spawn stuff
@@ -84,7 +108,7 @@
* makefile.msc.in: Revamp to be like makefile.mingw.in, make
the MSVC build actually work again.
-
+
* gmodule/makefile.msc.in
* gobject/makefile.msc.in
* gthread/makefile.msc.in: New files, like their mingw counterparts.
@@ -92,17 +116,17 @@
* gmodule/Makefile.am
* gobject/Makefile.am
* gthread/Makefile.am: Make and distribute them.
-
+
* */makefile.mingw.in: Allow override of GLib version number from
the build/win32/module.defs file.
-
+
* glib.def: Add new entry point.
* tests/gio-test.c (main): Fix the Win32-only code to use current
API, g_io_channel_win32_make_pollfd() and g_io_channel_win32_poll().
Fixes from Hans Breuer:
-
+
* glib.h (struct DIR): Keep the last readdir result cached inside
the DIR struct, to enable several DIRs being open simultaneously.
@@ -161,9 +185,9 @@
(GConvertError): generic error is conventionally called
_FAILED rather than _OTHER, at least at the moment,
according to GError docs in docs/reference.
-
+
* gconvert.c: s/_OTHER/_FAILED/
-
+
2000-09-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Adjusted the test for an unimplemented
@@ -219,7 +243,7 @@ Mon Sep 25 2000 Elliot Lee <sopwith@redhat.com>
* glib.h: Only use the gcc-variable-macro-argument-extension for
gcc >= 2.4. Both patches from Jonas Oberg <jonas@gnu.org>.
-
+
Mon Sep 18 10:58:21 2000 Owen Taylor <otaylor@redhat.com>
* gutf8.c: Implement g_ucs4_to_utf8 which was in
@@ -229,7 +253,7 @@ Sun Sep 17 2000 Elliot Lee <sopwith@redhat.com>
* glib.h configure.in: Define g_alloca() as an
alloca-that-works-anywhere.
-
+
* gconvert.c: Fix warnings which could have caused problems on
64-bit platforms.
@@ -243,7 +267,7 @@ Sun Sep 10 12:37:40 2000 Owen Taylor <otaylor@redhat.com>
Also add g_convert_with_fallback() to take care of conversions
where we accept some loss going to the target encoding.
-
+
2000-09-10 Havoc Pennington <hp@redhat.com>
* gutf8.c (g_utf8_validate): Add this function.
@@ -301,7 +325,7 @@ Tue Sep 5 20:16:27 2000 Owen Taylor <otaylor@redhat.com>
* gstring.c (g_string_free): Use g_return_val_if_fail instead of
g_return_if_fail, as the function now is supposed to return
something.
-
+
* gerror.c, gerror.h (g_propagte_error): Added function
g_propagte_error to hand over local errors to the calling
function.
@@ -315,7 +339,7 @@ Tue Sep 5 20:16:27 2000 Owen Taylor <otaylor@redhat.com>
* tests/thread-test.c, tests/threadpool-test.c: Adapted
accordingly.
-
+
2000-08-31 Tor Lillqvist <tml@iki.fi>
* glib.h
@@ -422,19 +446,19 @@ 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,9 +468,9 @@ 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
* configure.in: Output the .pc files
@@ -480,7 +504,7 @@ Sun Jul 30 10:44:16 2000 Tim Janik <timj@gtk.org>
the polling routine eventually notices. Meanwhile, the data being
read is stored in a circular buffer, from where the IO channel's
read() method picks it up.
-
+
If the buffer fills up the reading thread has to wait for space
becoming available. For this another Win32 Event is used. The IO
Channel's read() method signals this when it has read some data
@@ -503,9 +527,9 @@ Sun Jul 30 10:44:16 2000 Tim Janik <timj@gtk.org>
* glib.h: Update documentation for IO Channels on Win32. Remove
the declarations for the as of now obsolete old functions related
to IO Channels for pipes with "wakeup" messages.
-
+
* glib.def: Some new functions.
-
+
* tests/gio-test.c: New file, to test GIOChannel and main loop.
* tests/Makefile.am
@@ -516,7 +540,7 @@ Sun Jul 30 10:44:16 2000 Tim Janik <timj@gtk.org>
* giowin32.c: Compile in the debugging code all the time, but only
output debug messages if told so. Add (unadvertised) function to
turn on/off debug messages for a channel.
-
+
(buffer_read): Don't loop. It is expected behaviour to return a
short read occasionally, for instance when reading from
pipes. It's the calling code that should loop if it *knows* how
@@ -526,7 +550,7 @@ Sun Jul 30 10:44:16 2000 Tim Janik <timj@gtk.org>
(recv_message): Loop calling g_io_channel_read() (in a new
function read_all()) until we have all the bytes we want (that we
know the writer has written/will write).
-
+
Thu Jul 27 05:15:11 2000 Tim Janik <timj@gtk.org>
* gstrfuncs.c (g_strlcpy, g_strlcat): completed tor's fix
@@ -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>
@@ -612,7 +636,7 @@ Wed Jul 26 00:46:03 2000 Tim Janik <timj@gtk.org>
deprecated. They will issue an warning once, when compiled with
G_ENABLE_DEBUG. This fixes Bug #3883. For discussion see
http://mail.gnome.org/pipermail/gtk-devel-list/2000-April/003139.html
-
+
2000-07-19 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in, glib.h: glibconfig.h and glib.h now include files
@@ -662,7 +686,7 @@ Fri Jul 14 12:22:49 2000 Owen Taylor <otaylor@redhat.com>
* Makefile.am gobject/Makefile.am gmodule/Makefile.am:
Move include files into /usr/include/glib-2.0.
-
+
Thu Jul 6 18:54:49 2000 Owen Taylor <otaylor@redhat.com>
* docs/Makefile.am (EXTRA_DIST): Remove info files
@@ -734,10 +758,10 @@ 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
-
+
* gstring.c glib.h (g_string_hash): Add g_string_hash to
go along with g_string_equal.
@@ -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>
@@ -916,7 +940,7 @@ Wed May 10 19:52:44 2000 Owen Taylor <otaylor@redhat.com>
* gasyncqueue.c: New File implementing an asynchronous queue to be
used for asynchronous inter-thread communication.
-
+
* gthreadpool.c: New File implementing a thread pool to be used
for distributing work among several threads.
@@ -928,7 +952,7 @@ Wed May 10 19:52:44 2000 Owen Taylor <otaylor@redhat.com>
the thread pool.
* tests/Makefile.am: Changed accordingly.
-
+
2000-04-26 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Look for both pthread_create and pthread_join in
@@ -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>
@@ -995,7 +1019,7 @@ Wed Apr 19 08:32:32 2000 Tim Janik <timj@gtk.org>
memory released by the user, but cached by GLib. This lets a
garbage collector have a more correct view of the actually used
memory.
-
+
* garray.c, glib.h: Added g_(array|ptr_array|byte_array)_sized_new
functions, that reserve a certain amount of memeory for the array
at creation time to avoid reallocation. Fixes bug #6707 from
@@ -1084,7 +1108,7 @@ Wed Mar 22 16:49:57 2000 Owen Taylor <otaylor@redhat.com>
handling of priorities for older solaris versions and posix
threads. Thanks to Wan-Teh Chang <wtc@netscape.com> for suggesting
some of those changes.
-
+
* config.guess, config.sub, ltconfig, ltmain.sh:
Upgrade to libtool 1.3.4.
@@ -1133,7 +1157,7 @@ Wed Mar 22 16:49:57 2000 Owen Taylor <otaylor@redhat.com>
* configure.in: Don't use priorities for threads, when the
minimal/maximal priorities couldn't be determined at configure
time.
-
+
* configure.in, gthread.c: Always define GSystemThread in
glibconfig.h to represent a system thread.
@@ -1149,14 +1173,14 @@ Wed Mar 22 16:49:57 2000 Owen Taylor <otaylor@redhat.com>
* gthread.c (g_thread_self): Do not test the system_thread to be
non-zero to speed things up.
-
+
* gthread.c (g_mutex_init): Therefore set the system_thread of the
main thread here.
* tests/thread-test.c: Rerun all tests once again, but this time
we fool the system into thinking, that the available thread system
is not native, but userprovided.
-
+
2000-03-13 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gqueue.c (g_queue_push_tail_link, g_queue_push_head_link): We
@@ -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 ;)
@@ -1262,7 +1286,7 @@ Thu Feb 17 12:53:44 2000 Tim Janik <timj@gtk.org>
* glib.h: Declare g_string_insert_len, g_string_append_len,
g_string_prepend_len
-
+
Sun Feb 13 08:16:47 2000 Tim Janik <timj@gtk.org>
* configure.in: wtf??? someone destroyed the configure.in, reverting to
@@ -1275,7 +1299,7 @@ Sun Feb 13 08:16:47 2000 Tim Janik <timj@gtk.org>
* Makefile.am
* gmodule/Makefile.am
* gthread/Makefile.am: Change accordingly.
-
+
* makefile.cygwin: Corresponding changes, some cleanup.
2000-02-05 Tor Lillqvist <tml@iki.fi>
@@ -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,8 +1502,8 @@ 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>
* configure.in: added additional checks to figure sizes of size_t,
@@ -1537,7 +1561,7 @@ Wed Sep 22 01:53:18 1999 Tim Janik <timj@gtk.org>
for erroring out on this, instead of just issueing a warning).
* glib.h (g_trash_stack_pop): use uncasted NULL again.
-
+
Fri Sep 17 10:24:45 1999 Tim Janik <timj@gtk.org>
* gmem.c (g_mem_chunk_compute_size) (g_mem_chunk_new): applied patch
@@ -1659,7 +1683,7 @@ Sat Jul 24 20:11:35 1999 Tim Janik <timj@gtk.org>
deprecated g_strescape(), we need the SunOS variants here.
* gdate.c: added DEBUG_MSG() macro to wrap old messages.
-
+
* *.*: CVS merges.
* upgrade to libtool 1.3.3.
@@ -1676,7 +1700,7 @@ Sat Jul 24 20:11:35 1999 Tim Janik <timj@gtk.org>
* makefile.cygwin.in
* tests/makefile.cygwin.in: Remove .gcc from DLL name.
-
+
1999-07-13 Tor Lillqvist <tml@iki.fi>
* README.win32: Correct URL for mingw runtime sources.
@@ -1716,7 +1740,7 @@ Sat Jul 24 20:11:35 1999 Tim Janik <timj@gtk.org>
* glib.h: Updated the commentary about g_memmove to be right and
more GLib-like.
-
+
* configure.in: Removed test for rand_r, as it isn't used anymore.
1999-06-30 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
@@ -1752,7 +1776,7 @@ Sat Jul 24 20:11:35 1999 Tim Janik <timj@gtk.org>
* gtimer.c: Implement g_usleep on native Win32 using Sleep (which
only has millisecond granularity, though).
-
+
* makefile.cygwin.in
* makefile.msc.in: Update pthreads snapshot version. File
name changes. Remove testgthread.
@@ -1869,7 +1893,7 @@ Mon May 10 22:03:52 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
win32-related files that are made from corresponding .in files.
Is there a cleaner way than explicitly writing rules that invoke
config.status?
-
+
Sat May 1 10:18:01 PDT 1999 Manish Singh <yosh@gimp.org>
* acinclude.m4
@@ -1887,7 +1911,7 @@ Sat May 1 10:18:01 PDT 1999 Manish Singh <yosh@gimp.org>
* configure.in: Also substitute @GLIB_INTERFACE_AGE@ and
@GLIB_BINARY_AGE@ (needed in config.h.win32).
-
+
* glibconfig.h.win32.in: Use static mutex structure and initial
value corresponding to the 1999-04-07 snapshot of pthreads-win32.
@@ -1954,7 +1978,7 @@ Sun Apr 11 15:07:34 1999 Tim Janik <timj@gtk.org>
* configure.in: bumped versin number to GLib 1.2.2, interface 2,
binary 2.
-
+
* NEWS: updates.
Sun Apr 11 14:37:06 1999 Tim Janik <timj@gtk.org>
@@ -1984,7 +2008,7 @@ Thu Apr 8 19:53:19 1999 Owen Taylor <otaylor@redhat.com>
systems. Please do not merge this into 1.3 branch. It's taken care
of differently there. Info from J. Rhett Aultman
<cuplan@alley.gator.net>
-
+
Wed Mar 24 21:23:47 CST 1999 Shawn T. Amundson <amundson@gtk.org>
* Released GLib 1.2.1
@@ -2003,7 +2027,7 @@ Wed Mar 24 21:23:47 CST 1999 Shawn T. Amundson <amundson@gtk.org>
docs/glib-config.1: Removed, now generated.
* configure.in: Added to output now-generated files.
-
+
Tue Mar 23 13:43:39 PST 1999 Manish Singh <yosh@gimp.org>
* giounix.c: add user_data param to check and prepare functions
@@ -2037,10 +2061,10 @@ Fri Mar 19 16:29:50 PST 1999 Manish Singh <yosh@gimp.org>
s/g_static_/g_private_/g
Wed Mar 17 03:17:42 1999 Tim Janik <timj@gtk.org>
-
+
* configure.in bumped versin number to GLib 1.2.1, interface 1,
binary 1.
-
+
* NEWS: updates.
* glib.h: added GLIB_CHECK_VERSION() macro similar to
@@ -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>
@@ -2114,7 +2138,7 @@ Wed Feb 24 00:08:42 CST 1999 Shawn T. Amundson <amundson@gtk.org>
Sun Feb 21 14:01:00 1999 Dr Mike <drmike@redhat.com>
* Made specfile generated, tweaked slightly
-
+
Sat May 8 06:00:17 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
* configure.in
@@ -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>
@@ -2147,14 +2171,14 @@ Sat May 8 01:52:29 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
* configure.in: Also substitute @GLIB_MAJOR_VERSION@,
@GLIB_MINOR_VERSION@, and @GLIB_INTERFACE_AGE@.
-
+
* Makefile.am tests/Makefile.am: Also distribute makefile.cygwin.
-
+
* gerror.c (g_on_error_query): On Win32, put up a MessageBox and
then exit.
* glib.def: Add a couple of functions.
-
+
Sat May 1 10:26:20 PDT 1999 Manish Singh <yosh@gimp.org>
* acinclude.m4
@@ -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>
@@ -2394,7 +2418,7 @@ Mon Mar 8 07:42:08 1999 Tim Janik <timj@gtk.org>
lf for double). Defining G_INT_FORMAT makes sense however, as we
might want to define gint to something different than int someday
in the future. Idea from Sascha Brawer <sb@adasys.ch>.
-
+
1999-03-14 Jeff Garzik <jgarzik@pobox.com>
* gdate.c:
diff --git a/Makefile.am b/Makefile.am
index dd0a2e509..efb1bcc37 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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
diff --git a/acconfig.h b/acconfig.h
index f73f375a4..df4af9c61 100644
--- a/acconfig.h
+++ b/acconfig.h
@@ -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:
diff --git a/acglib.m4 b/acglib.m4
index cc2cd3987..f8d8fb547 100644
--- a/acglib.m4
+++ b/acglib.m4
@@ -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
])
diff --git a/configure.in b/configure.in
index 79608a235..c558d4bf2 100644
--- a/configure.in
+++ b/configure.in
@@ -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)
+ AC_DEFINE(G_VA_COPY_AS_ARRAY,1, ['va_lists' cannot be copies as values])
fi
-AC_MSG_RESULT($glib_cv_va_val_copy)
-
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. ***"
])
-
diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog
index 4f4e27740..8bab7cae5 100644
--- a/docs/reference/ChangeLog
+++ b/docs/reference/ChangeLog
@@ -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.
diff --git a/docs/reference/glib/Makefile.am b/docs/reference/glib/Makefile.am
index aaff3b0f9..cd92ff5b8 100644
--- a/docs/reference/glib/Makefile.am
+++ b/docs/reference/glib/Makefile.am
@@ -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
diff --git a/docs/reference/gobject/Makefile.am b/docs/reference/gobject/Makefile.am
index df704b1bf..5cbe65066 100644
--- a/docs/reference/gobject/Makefile.am
+++ b/docs/reference/gobject/Makefile.am
@@ -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
diff --git a/glib/Makefile.am b/glib/Makefile.am
index dd0a2e509..efb1bcc37 100644
--- a/glib/Makefile.am
+++ b/glib/Makefile.am
@@ -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
diff --git a/gmodule/ChangeLog b/gmodule/ChangeLog
index 4f0d91535..3ffd54e71 100644
--- a/gmodule/ChangeLog
+++ b/gmodule/ChangeLog
@@ -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>
@@ -114,9 +119,9 @@ Sat Jul 24 20:47:18 1999 Tim Janik <timj@gtk.org>
* merged changes from GLib-1-2 branch.
1999-05-06 Tor Lillqvist <tml@iki.fi>
-
+
* gmodule.c: Remove LibMain.
-
+
Sat May 1 10:58:57 PDT 1999 Manish Singh <yosh@gimp.org>
* Makefile.am: use -avoid-version and -module for test plugins
@@ -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>
@@ -199,7 +204,7 @@ Tue Oct 27 04:00:11 1998 Tim Janik <timj@gtk.org>
* gmodule-dld.c (_g_module_build_path):
* gmodule-win32.c (_g_module_build_path):
feature empty "" directories.
-
+
* we need some more magic in the _g_module_build_path variants
so we don't append/prepend lib and .so, .sl or .dll for those names
that already contain it.
@@ -208,20 +213,20 @@ Tue Oct 27 04:00:11 1998 Tim Janik <timj@gtk.org>
windows support.
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>
@@ -309,7 +314,6 @@ Sun Aug 9 15:57:38 1998 Tim Janik <timj@gtk.org>
* gmodule.h:
* 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>
diff --git a/gmodule/Makefile.am b/gmodule/Makefile.am
index 659d00cac..497d4c603 100644
--- a/gmodule/Makefile.am
+++ b/gmodule/Makefile.am
@@ -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
+
diff --git a/gobject/ChangeLog b/gobject/ChangeLog
index 98e5f31df..eddfe3f6d 100644
--- a/gobject/ChangeLog
+++ b/gobject/ChangeLog
@@ -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'.
diff --git a/gobject/Makefile.am b/gobject/Makefile.am
index c05591cd7..88e563418 100644
--- a/gobject/Makefile.am
+++ b/gobject/Makefile.am
@@ -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
+
diff --git a/gthread/ChangeLog b/gthread/ChangeLog
index f0de00140..947ee8b8d 100644
--- a/gthread/ChangeLog
+++ b/gthread/ChangeLog
@@ -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
diff --git a/gthread/Makefile.am b/gthread/Makefile.am
index d80bafb8b..a6936ebed 100644
--- a/gthread/Makefile.am
+++ b/gthread/Makefile.am
@@ -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
+
diff --git a/tests/Makefile.am b/tests/Makefile.am
index f2846e91b..cee05aeeb 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -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
+