summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog98
-rw-r--r--ChangeLog.pre-2-098
-rw-r--r--ChangeLog.pre-2-1098
-rw-r--r--ChangeLog.pre-2-1298
-rw-r--r--ChangeLog.pre-2-298
-rw-r--r--ChangeLog.pre-2-498
-rw-r--r--ChangeLog.pre-2-698
-rw-r--r--ChangeLog.pre-2-898
-rw-r--r--acconfig.h1
-rw-r--r--configure.in60
-rw-r--r--glib/gstrfuncs.c101
-rw-r--r--gstrfuncs.c101
12 files changed, 566 insertions, 481 deletions
diff --git a/ChangeLog b/ChangeLog
index 2c49d6907..55168cc5a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+Tue Jan 19 00:44:24 1999 Josh MacDonald <jmacd@axis.hip.berkeley.edu>
+
+ * gstrfuncs.c (g_strsignal): The "extern char* sys_siglist"
+ declaration breaks systems with different declarations, like
+ mine (FreeBSD). So, I added a configuration variable to decide
+ whether the declaration is neccesary. Change also appears on
+ line 275 of configure.in.
+
Sun Jan 17 17:13:54 CST 1999 Shawn T. Amundson <amundson@gtk.org>
* Released GLib 1.1.13
@@ -156,7 +164,7 @@ Tue Jan 12 09:57:06 PST 1999 Manish Singh <yosh@gimp.org>
* gdate.c: Include config.h to get HAVE_LOCALTIME_R macro.
* configure.in: Moved function check back to the place, they've
- been before.
+ been before.
1999-01-11 Jeff Garzik <jgarzik@pobox.com>
@@ -267,7 +275,7 @@ Mon Jan 4 14:38:11 1999 Tim Janik <timj@gtk.org>
Mon Jan 4 02:58:13 CST 1999 Shawn T. Amundson <amundson@gtk.org>
- * Released GLib 1.1.12
+ * Released GLib 1.1.12
* INSTALL:
NEWS:
@@ -333,9 +341,9 @@ Fri Jan 1 20:43:19 EST 1999 Jeff Garzik <jgarzik@pobox.com>
Sat Jan 2 02:20:59 1999 Tim Janik <timj@gtk.org>
* ghook.c:
- (g_hook_list_invoke):
- (g_hook_list_invoke_check):
- (g_hook_list_marshal_check):
+ (g_hook_list_invoke):
+ (g_hook_list_invoke_check):
+ (g_hook_list_marshal_check):
(g_hook_list_marshal): avoid unneccessary extra hook referencing (the
explicit hook referencing became unneccessarry with my changes from
Mon Dec 21 21:48:29 1998).
@@ -358,7 +366,7 @@ Fri Jan 1 17:09:19 EST 1999 Jeff Garzik <jgarzik@pobox.com>
Wed Dec 30 18:24:57 CST 1998 Shawn T. Amundson <amundson@gtk.org>
- * Released GLib 1.1.11
+ * Released GLib 1.1.11
* INSTALL:
NEWS:
@@ -368,7 +376,7 @@ Wed Dec 30 18:24:57 CST 1998 Shawn T. Amundson <amundson@gtk.org>
1998-12-30 Raja R Harinath <harinath@cs.umn.edu>
- * glib.h (G[U]INT64_FROM_{LE,BE}):
+ * glib.h (G[U]INT64_FROM_{LE,BE}):
Define to G[U]INT64_TO_{LE,BE}, not G[U]INT32_TO_{LE,BE}.
Fri Dec 25 19:56:33 PST 1998 Manish Singh <yosh@gimp.org>
@@ -398,7 +406,7 @@ Tue Dec 22 10:32:11 1998 Tim Janik <timj@gtk.org>
Mon Dec 21 21:48:29 1998 Tim Janik <timj@gtk.org>
- * glib.h:
+ * glib.h:
* gmain.c: there was a reference count race for hooks during invocation
loops. since all (known) hook loop implementations, do currently start
out with g_hook_first_valid() and iterate with g_hook_next_valid(),
@@ -458,7 +466,7 @@ Fri Dec 18 12:51:39 1998 Owen Taylor <otaylor@redhat.com>
Fri Dec 18 00:03:17 1998 Tim Janik <timj@gtk.org>
- * glib.h:
+ * glib.h:
* gmain.c:
(g_main_is_running): new function to check whether a main loop has been
quitted.
@@ -486,11 +494,11 @@ Thu Dec 17 23:43:47 1998 Tim Janik <timj@gtk.org>
* garray.c (g_ptr_array_remove_index): Fixed size in g_memmove,
reported by Alexander Larsson <alla@lysator.liu.se>.
- * gmem.c: Fixed bug, that made compile fail for -DENABLE_MEM_PROFILE.
+ * gmem.c: Fixed bug, that made compile fail for -DENABLE_MEM_PROFILE.
Wed Dec 16 23:04:26 CST 1998 Shawn T. Amundson <amundson@gtk.org>
- * Released GLib 1.1.9
+ * Released GLib 1.1.9
* INSTALL:
NEWS:
@@ -586,7 +594,7 @@ Tue Dec 15 23:16:05 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* INSTALL:
NEWS:
- README
+ README
configure.in:
glib.spec:
docs/glib-config.1: Incremented version
@@ -610,7 +618,7 @@ Tue Dec 15 17:17:46 1998 Owen Taylor <otaylor@redhat.com>
1998-12-15 Havoc Pennington <hp@pobox.com>
* gdate.c (g_date_prepare_to_parse): Solaris has a broken strftime
- that produced garbage output for the test date I was using to
+ that produced garbage output for the test date I was using to
set up the parser. So use a different date that Solaris seems
to like.
@@ -692,7 +700,7 @@ Tue Dec 15 10:40:09 1998 Owen Taylor <otaylor@redhat.com>
* gmain.c (g_main_poll_add_unlocked): first take a new poll record
form the poll_free_list.
-
+
* gmem.c, gstrfuncs.c, gutils.c: Made it MT safe.
* gthraed/*.c: Added copyright headers.
@@ -704,7 +712,7 @@ Tue Dec 15 10:40:09 1998 Owen Taylor <otaylor@redhat.com>
* gthread/gthread.c (g_thread_try_init): Call g_mutex_init().
* gthread/testgthread.c: updated test program.
-
+
Tue Dec 8 18:49:56 1998 Owen Taylor <otaylor@redhat.com>
* Start at adding thread-safety. (mostly work
@@ -762,7 +770,7 @@ Mon Dec 7 23:10:41 PST 1998 Manish Singh <yosh@gimp.org>
1998-12-02 Havoc Pennington <hp@pobox.com>
- * gdate.c (g_date_set_month): If Julian is valid, we have to
+ * gdate.c (g_date_set_month): If Julian is valid, we have to
update the dmy representation before setting the components
of it.
(g_date_set_day): Same.
@@ -770,13 +778,13 @@ Mon Dec 7 23:10:41 PST 1998 Manish Singh <yosh@gimp.org>
1998-12-02 Havoc Pennington <hp@pobox.com>
- * testgdate.c, testgdateparser.c: Two new files. This is kind of
- ugly code, but I want to go ahead and make the tests available.
- It isn't contaminating any other code. :-) Since one of these
- is interactive and the other takes a while to run, I've kept
+ * testgdate.c, testgdateparser.c: Two new files. This is kind of
+ ugly code, but I want to go ahead and make the tests available.
+ It isn't contaminating any other code. :-) Since one of these
+ is interactive and the other takes a while to run, I've kept
them separate from testglib for now.
* Makefile.am: Build gdate test programs.
-
+
1998-12-02 Havoc Pennington <hp@pobox.com>
* gdate.c (g_date_valid): Rely on GDate::dmy and GDate::Julian
@@ -799,7 +807,7 @@ Sat Nov 28 12:53:47 1998 Owen Taylor <otaylor@redhat.com>
1998-12-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
- * glib.h:
+ * glib.h:
* gdate.c: changed `gpointer struct_tm_p' parameter of
g_date_to_struct_tm back to `struct tm *tm' and forward declared
`struct tm' in glib.h; yes, this is nice, we still need not
@@ -812,7 +820,7 @@ Tue Dec 1 23:01:44 CST 1998 Shawn T. Amundson <amundson@gtk.org>
README:
glib.spec:
docs/glib-config.1: Incremented versions to 1.1.6.
-
+
Wed Dec 2 02:10:59 1998 Tim Janik <timj@gtk.org>
* gdate.c: s/time_t/GTime/ and s/g_print/g_message/
@@ -822,13 +830,13 @@ Wed Dec 2 02:10:59 1998 Tim Janik <timj@gtk.org>
g_date_set_time() to time_t, changed struct tm parameter of
g_date_to_struct_tm to `gpointer struct_tm_p'. yes, this is not
nice, but including time.h actually breaks a bunch of code.
-
+
* incremented GLib version to 1.1.6.
1998-11-30 Havoc Pennington <hp@pobox.com>
* gdate.c: New file, implements calendrical calculations.
-
+
* glib.h: Added declarations for GDate module.
Mon Nov 30 07:12:10 1998 Tim Janik <timj@gtk.org>
@@ -853,7 +861,7 @@ Sat Nov 28 01:23:25 1998 Tim Janik <timj@gtk.org>
Thu Nov 26 01:36:20 1998 Tim Janik <timj@gtk.org>
- * glib.h:
+ * glib.h:
* ghash.c: reverted the g_hash_table_set_key_freefunc() addition,
since it's to specialized and needs to be resolved in a generic
fashion.
@@ -889,7 +897,7 @@ Tue Nov 24 14:05:47 EST 1998 Michael K. Johnson <johnsonm@redhat.com>
* glib.h: added GFreeFunc and g_hash_table_set_key_freefunc()
prototype.
* ghash.c: added g_hash_table_set_key_freefunc() implementation.
- Modified the prototypes of the functions g_hash_node_destroy() and
+ Modified the prototypes of the functions g_hash_node_destroy() and
g_hash_nodes_destroy(), and changed the functions that call them
to match the new definitions.
This changes no external interfaces, and should create no binary
@@ -1007,7 +1015,7 @@ Wed Nov 4 15:06:44 PST 1998 Manish Singh <yosh@gimp.org>
1998-11-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
- * glib.h:
+ * glib.h:
* garray.c:
(g_array_remove_index): new function for removing an entry from an
array while preserving the order
@@ -1040,7 +1048,7 @@ Sat Oct 31 20:14:22 PST 1998 Manish Singh <yosh@gimp.org>
* gmessages.c
* gscanner.c: #include <config.h> in here too, for HAVE_UNISTD_H
-
+
1998-11-01 Tor Lillqvist <tml@iki.fi>
* glib.def: Added the new functions.
@@ -1059,7 +1067,7 @@ Sat Oct 31 20:14:22 PST 1998 Manish Singh <yosh@gimp.org>
1998-10-31 Raja R Harinath <harinath@cs.umn.edu>
Land glib-rrh-19981025-0.patch.
- * Makefile.am (glibconfig.h): New rule.
+ * Makefile.am (glibconfig.h): New rule.
(stamp-gc-h): New rule. Generate `glibconfig.h'.
* configure.in (AM_CONFIG_HEADER): It is now `config.h'.
(HAVE_BROKEN_WCTYPE): On Solaris, look for iswalnum in -lw before
@@ -1072,7 +1080,7 @@ Sat Oct 31 20:14:22 PST 1998 Manish Singh <yosh@gimp.org>
* gmem.c: Likewise.
* gstrfuncs.c: Likewise.
* gutils.c: Likewise.
-
+
Sat Oct 31 05:08:26 1998 Tim Janik <timj@gtk.org>
* glib.h: removed old G_ENUM(), G_FLAGS(), G_NV() and G_SV() macros.
@@ -1099,7 +1107,7 @@ Tue Oct 27 07:25:53 1998 Tim Janik <timj@gtk.org>
filedescriptor, which hooks onto the current scanning position.
(this became neccessary with the implementation of buffered
reads).
- (g_scanner_input_file):
+ (g_scanner_input_file):
(g_scanner_input_text): automatically blow the read ahead buffer.
(g_scanner_get_char): blow the read ahead buffer when the end of
input is reached, i.e. a '\000' char is read.
@@ -1156,7 +1164,7 @@ Tue Oct 27 03:00:50 1998 Tim Janik <timj@gtk.org>
* glib.h (struct dirent): use lower case structure members.
- * glib.h:
+ * glib.h:
* makefile.lcc:
* makefile.msc:
s/COMPILING_GLIB/GLIB_COMPILATION/
@@ -1220,7 +1228,7 @@ Tue Oct 27 03:00:50 1998 Tim Janik <timj@gtk.org>
Conditionalized inclusion of unistd.h. Added changes for
Microsoft C. Added CR to the skipped character set. Added small
workaround for MSC compiler bug in g_scanner_cur_value.
-
+
* gstrfuncs.c:
Added the function g_strescape, which escapes the backslash
character. Needed especially when printing Windows filenames.
@@ -1240,19 +1248,19 @@ Tue Oct 27 03:00:50 1998 Tim Janik <timj@gtk.org>
* makefile.lcc makefile.msc:
New files. Compiler-specific makefiles for LCC-Win32 and
Microsoft C. Only Microsoft C is actually supported currently.
-
+
* testglib.c:
Added pathname check cases for Windows. Added workaround for
bug in the Microsoft runtime library. Improved some tests a bit.
-
+
Sun Oct 25 01:24:01 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* Released GLib 1.1.4
* docs/Makefile.am:
* docs/.cvsignore
- * docs/glib-config.1:
- * docs/glib.texi: Moved docs from gtk and created glib-config.1
+ * docs/glib-config.1:
+ * docs/glib.texi: Moved docs from gtk and created glib-config.1
from gtk-config.1 in gtk
* configure.in:
@@ -1262,17 +1270,17 @@ Sun Oct 25 01:24:01 CST 1998 Shawn T. Amundson <amundson@gtk.org>
distribution. Added in a 'sanity' rule.
* NEWS:
- * README:
+ * README:
* INSTALL: Updated for the release
Sun Oct 25 07:30:10 1998 Tim Janik <timj@gtk.org>
* gscanner.c:
- (g_scanner_peek_next_char):
+ (g_scanner_peek_next_char):
(g_scanner_get_char): no more characters are available if read() returns
anything less than 1, not only on 0 return.
- * glib.h:
+ * glib.h:
* gstrfuncs.c: final API cleanup of string arrays to suit sopwith's
argument order requirements.
(g_strsplit): renamed from g_str_array_split().
@@ -1300,7 +1308,7 @@ Wed Oct 21 19:22:58 1998 Tim Janik <timj@gtk.org>
Wed Oct 21 17:03:05 1998 Tim Janik <timj@gtk.org>
- * glib.h:
+ * glib.h:
* gstrfuncs.c: API cleanups of the new g_str* functions for consistency
with the existing naming scheme for g_str* functions. grouped the g_str*
functions that will return a newly allocated string seperatedly. all of
@@ -1452,7 +1460,7 @@ Sun Sep 20 02:09:44 1998 Josh MacDonald <jmacd@axis.hip.berkeley.edu>
* glib.h: New function g_hash_table_foreach_remove is similar to
g_hash_table_foreach, but the callback's return value indicates
- whether to remove the element (if TRUE) or not (if FALSE).
+ whether to remove the element (if TRUE) or not (if FALSE).
Returns the number of elements deleted.
Fri Sep 18 11:31:50 PDT 1998 Manish Singh <yosh@gimp.org>
@@ -1528,7 +1536,7 @@ Mon Sep 7 07:53:21 1998 Tim Janik <timj@gtk.org>
* glib.h: inlining hassle. for compilers that don't allow the `inline'
keyword, mostly because of strict ANSI C compliance or dumbness, we try
- to fall back to either `__inline__' or `__inline'.
+ to fall back to either `__inline__' or `__inline'.
we define G_CAN_INLINE, if the compiler seems to be actually *capable*
to do function inlining, in which case inline function bodys do make
sense. we also define G_INLINE_FUNC to properly export the function
@@ -1566,7 +1574,7 @@ Sat Sep 5 18:03:36 1998 Tom Tromey <tromey@cygnus.com>
Sat Sep 5 04:40:02 1998 Tim Janik <timj@gtk.org>
- * glib.h:
+ * glib.h:
(g_chunk_new0): use g_mem_chunk_alloc0() to allocate the memchunk,
so the correct size of the memchunk is allocated with 0's and not
a memory portion of the size of the desired type.
diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0
index 2c49d6907..55168cc5a 100644
--- a/ChangeLog.pre-2-0
+++ b/ChangeLog.pre-2-0
@@ -1,3 +1,11 @@
+Tue Jan 19 00:44:24 1999 Josh MacDonald <jmacd@axis.hip.berkeley.edu>
+
+ * gstrfuncs.c (g_strsignal): The "extern char* sys_siglist"
+ declaration breaks systems with different declarations, like
+ mine (FreeBSD). So, I added a configuration variable to decide
+ whether the declaration is neccesary. Change also appears on
+ line 275 of configure.in.
+
Sun Jan 17 17:13:54 CST 1999 Shawn T. Amundson <amundson@gtk.org>
* Released GLib 1.1.13
@@ -156,7 +164,7 @@ Tue Jan 12 09:57:06 PST 1999 Manish Singh <yosh@gimp.org>
* gdate.c: Include config.h to get HAVE_LOCALTIME_R macro.
* configure.in: Moved function check back to the place, they've
- been before.
+ been before.
1999-01-11 Jeff Garzik <jgarzik@pobox.com>
@@ -267,7 +275,7 @@ Mon Jan 4 14:38:11 1999 Tim Janik <timj@gtk.org>
Mon Jan 4 02:58:13 CST 1999 Shawn T. Amundson <amundson@gtk.org>
- * Released GLib 1.1.12
+ * Released GLib 1.1.12
* INSTALL:
NEWS:
@@ -333,9 +341,9 @@ Fri Jan 1 20:43:19 EST 1999 Jeff Garzik <jgarzik@pobox.com>
Sat Jan 2 02:20:59 1999 Tim Janik <timj@gtk.org>
* ghook.c:
- (g_hook_list_invoke):
- (g_hook_list_invoke_check):
- (g_hook_list_marshal_check):
+ (g_hook_list_invoke):
+ (g_hook_list_invoke_check):
+ (g_hook_list_marshal_check):
(g_hook_list_marshal): avoid unneccessary extra hook referencing (the
explicit hook referencing became unneccessarry with my changes from
Mon Dec 21 21:48:29 1998).
@@ -358,7 +366,7 @@ Fri Jan 1 17:09:19 EST 1999 Jeff Garzik <jgarzik@pobox.com>
Wed Dec 30 18:24:57 CST 1998 Shawn T. Amundson <amundson@gtk.org>
- * Released GLib 1.1.11
+ * Released GLib 1.1.11
* INSTALL:
NEWS:
@@ -368,7 +376,7 @@ Wed Dec 30 18:24:57 CST 1998 Shawn T. Amundson <amundson@gtk.org>
1998-12-30 Raja R Harinath <harinath@cs.umn.edu>
- * glib.h (G[U]INT64_FROM_{LE,BE}):
+ * glib.h (G[U]INT64_FROM_{LE,BE}):
Define to G[U]INT64_TO_{LE,BE}, not G[U]INT32_TO_{LE,BE}.
Fri Dec 25 19:56:33 PST 1998 Manish Singh <yosh@gimp.org>
@@ -398,7 +406,7 @@ Tue Dec 22 10:32:11 1998 Tim Janik <timj@gtk.org>
Mon Dec 21 21:48:29 1998 Tim Janik <timj@gtk.org>
- * glib.h:
+ * glib.h:
* gmain.c: there was a reference count race for hooks during invocation
loops. since all (known) hook loop implementations, do currently start
out with g_hook_first_valid() and iterate with g_hook_next_valid(),
@@ -458,7 +466,7 @@ Fri Dec 18 12:51:39 1998 Owen Taylor <otaylor@redhat.com>
Fri Dec 18 00:03:17 1998 Tim Janik <timj@gtk.org>
- * glib.h:
+ * glib.h:
* gmain.c:
(g_main_is_running): new function to check whether a main loop has been
quitted.
@@ -486,11 +494,11 @@ Thu Dec 17 23:43:47 1998 Tim Janik <timj@gtk.org>
* garray.c (g_ptr_array_remove_index): Fixed size in g_memmove,
reported by Alexander Larsson <alla@lysator.liu.se>.
- * gmem.c: Fixed bug, that made compile fail for -DENABLE_MEM_PROFILE.
+ * gmem.c: Fixed bug, that made compile fail for -DENABLE_MEM_PROFILE.
Wed Dec 16 23:04:26 CST 1998 Shawn T. Amundson <amundson@gtk.org>
- * Released GLib 1.1.9
+ * Released GLib 1.1.9
* INSTALL:
NEWS:
@@ -586,7 +594,7 @@ Tue Dec 15 23:16:05 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* INSTALL:
NEWS:
- README
+ README
configure.in:
glib.spec:
docs/glib-config.1: Incremented version
@@ -610,7 +618,7 @@ Tue Dec 15 17:17:46 1998 Owen Taylor <otaylor@redhat.com>
1998-12-15 Havoc Pennington <hp@pobox.com>
* gdate.c (g_date_prepare_to_parse): Solaris has a broken strftime
- that produced garbage output for the test date I was using to
+ that produced garbage output for the test date I was using to
set up the parser. So use a different date that Solaris seems
to like.
@@ -692,7 +700,7 @@ Tue Dec 15 10:40:09 1998 Owen Taylor <otaylor@redhat.com>
* gmain.c (g_main_poll_add_unlocked): first take a new poll record
form the poll_free_list.
-
+
* gmem.c, gstrfuncs.c, gutils.c: Made it MT safe.
* gthraed/*.c: Added copyright headers.
@@ -704,7 +712,7 @@ Tue Dec 15 10:40:09 1998 Owen Taylor <otaylor@redhat.com>
* gthread/gthread.c (g_thread_try_init): Call g_mutex_init().
* gthread/testgthread.c: updated test program.
-
+
Tue Dec 8 18:49:56 1998 Owen Taylor <otaylor@redhat.com>
* Start at adding thread-safety. (mostly work
@@ -762,7 +770,7 @@ Mon Dec 7 23:10:41 PST 1998 Manish Singh <yosh@gimp.org>
1998-12-02 Havoc Pennington <hp@pobox.com>
- * gdate.c (g_date_set_month): If Julian is valid, we have to
+ * gdate.c (g_date_set_month): If Julian is valid, we have to
update the dmy representation before setting the components
of it.
(g_date_set_day): Same.
@@ -770,13 +778,13 @@ Mon Dec 7 23:10:41 PST 1998 Manish Singh <yosh@gimp.org>
1998-12-02 Havoc Pennington <hp@pobox.com>
- * testgdate.c, testgdateparser.c: Two new files. This is kind of
- ugly code, but I want to go ahead and make the tests available.
- It isn't contaminating any other code. :-) Since one of these
- is interactive and the other takes a while to run, I've kept
+ * testgdate.c, testgdateparser.c: Two new files. This is kind of
+ ugly code, but I want to go ahead and make the tests available.
+ It isn't contaminating any other code. :-) Since one of these
+ is interactive and the other takes a while to run, I've kept
them separate from testglib for now.
* Makefile.am: Build gdate test programs.
-
+
1998-12-02 Havoc Pennington <hp@pobox.com>
* gdate.c (g_date_valid): Rely on GDate::dmy and GDate::Julian
@@ -799,7 +807,7 @@ Sat Nov 28 12:53:47 1998 Owen Taylor <otaylor@redhat.com>
1998-12-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
- * glib.h:
+ * glib.h:
* gdate.c: changed `gpointer struct_tm_p' parameter of
g_date_to_struct_tm back to `struct tm *tm' and forward declared
`struct tm' in glib.h; yes, this is nice, we still need not
@@ -812,7 +820,7 @@ Tue Dec 1 23:01:44 CST 1998 Shawn T. Amundson <amundson@gtk.org>
README:
glib.spec:
docs/glib-config.1: Incremented versions to 1.1.6.
-
+
Wed Dec 2 02:10:59 1998 Tim Janik <timj@gtk.org>
* gdate.c: s/time_t/GTime/ and s/g_print/g_message/
@@ -822,13 +830,13 @@ Wed Dec 2 02:10:59 1998 Tim Janik <timj@gtk.org>
g_date_set_time() to time_t, changed struct tm parameter of
g_date_to_struct_tm to `gpointer struct_tm_p'. yes, this is not
nice, but including time.h actually breaks a bunch of code.
-
+
* incremented GLib version to 1.1.6.
1998-11-30 Havoc Pennington <hp@pobox.com>
* gdate.c: New file, implements calendrical calculations.
-
+
* glib.h: Added declarations for GDate module.
Mon Nov 30 07:12:10 1998 Tim Janik <timj@gtk.org>
@@ -853,7 +861,7 @@ Sat Nov 28 01:23:25 1998 Tim Janik <timj@gtk.org>
Thu Nov 26 01:36:20 1998 Tim Janik <timj@gtk.org>
- * glib.h:
+ * glib.h:
* ghash.c: reverted the g_hash_table_set_key_freefunc() addition,
since it's to specialized and needs to be resolved in a generic
fashion.
@@ -889,7 +897,7 @@ Tue Nov 24 14:05:47 EST 1998 Michael K. Johnson <johnsonm@redhat.com>
* glib.h: added GFreeFunc and g_hash_table_set_key_freefunc()
prototype.
* ghash.c: added g_hash_table_set_key_freefunc() implementation.
- Modified the prototypes of the functions g_hash_node_destroy() and
+ Modified the prototypes of the functions g_hash_node_destroy() and
g_hash_nodes_destroy(), and changed the functions that call them
to match the new definitions.
This changes no external interfaces, and should create no binary
@@ -1007,7 +1015,7 @@ Wed Nov 4 15:06:44 PST 1998 Manish Singh <yosh@gimp.org>
1998-11-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
- * glib.h:
+ * glib.h:
* garray.c:
(g_array_remove_index): new function for removing an entry from an
array while preserving the order
@@ -1040,7 +1048,7 @@ Sat Oct 31 20:14:22 PST 1998 Manish Singh <yosh@gimp.org>
* gmessages.c
* gscanner.c: #include <config.h> in here too, for HAVE_UNISTD_H
-
+
1998-11-01 Tor Lillqvist <tml@iki.fi>
* glib.def: Added the new functions.
@@ -1059,7 +1067,7 @@ Sat Oct 31 20:14:22 PST 1998 Manish Singh <yosh@gimp.org>
1998-10-31 Raja R Harinath <harinath@cs.umn.edu>
Land glib-rrh-19981025-0.patch.
- * Makefile.am (glibconfig.h): New rule.
+ * Makefile.am (glibconfig.h): New rule.
(stamp-gc-h): New rule. Generate `glibconfig.h'.
* configure.in (AM_CONFIG_HEADER): It is now `config.h'.
(HAVE_BROKEN_WCTYPE): On Solaris, look for iswalnum in -lw before
@@ -1072,7 +1080,7 @@ Sat Oct 31 20:14:22 PST 1998 Manish Singh <yosh@gimp.org>
* gmem.c: Likewise.
* gstrfuncs.c: Likewise.
* gutils.c: Likewise.
-
+
Sat Oct 31 05:08:26 1998 Tim Janik <timj@gtk.org>
* glib.h: removed old G_ENUM(), G_FLAGS(), G_NV() and G_SV() macros.
@@ -1099,7 +1107,7 @@ Tue Oct 27 07:25:53 1998 Tim Janik <timj@gtk.org>
filedescriptor, which hooks onto the current scanning position.
(this became neccessary with the implementation of buffered
reads).
- (g_scanner_input_file):
+ (g_scanner_input_file):
(g_scanner_input_text): automatically blow the read ahead buffer.
(g_scanner_get_char): blow the read ahead buffer when the end of
input is reached, i.e. a '\000' char is read.
@@ -1156,7 +1164,7 @@ Tue Oct 27 03:00:50 1998 Tim Janik <timj@gtk.org>
* glib.h (struct dirent): use lower case structure members.
- * glib.h:
+ * glib.h:
* makefile.lcc:
* makefile.msc:
s/COMPILING_GLIB/GLIB_COMPILATION/
@@ -1220,7 +1228,7 @@ Tue Oct 27 03:00:50 1998 Tim Janik <timj@gtk.org>
Conditionalized inclusion of unistd.h. Added changes for
Microsoft C. Added CR to the skipped character set. Added small
workaround for MSC compiler bug in g_scanner_cur_value.
-
+
* gstrfuncs.c:
Added the function g_strescape, which escapes the backslash
character. Needed especially when printing Windows filenames.
@@ -1240,19 +1248,19 @@ Tue Oct 27 03:00:50 1998 Tim Janik <timj@gtk.org>
* makefile.lcc makefile.msc:
New files. Compiler-specific makefiles for LCC-Win32 and
Microsoft C. Only Microsoft C is actually supported currently.
-
+
* testglib.c:
Added pathname check cases for Windows. Added workaround for
bug in the Microsoft runtime library. Improved some tests a bit.
-
+
Sun Oct 25 01:24:01 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* Released GLib 1.1.4
* docs/Makefile.am:
* docs/.cvsignore
- * docs/glib-config.1:
- * docs/glib.texi: Moved docs from gtk and created glib-config.1
+ * docs/glib-config.1:
+ * docs/glib.texi: Moved docs from gtk and created glib-config.1
from gtk-config.1 in gtk
* configure.in:
@@ -1262,17 +1270,17 @@ Sun Oct 25 01:24:01 CST 1998 Shawn T. Amundson <amundson@gtk.org>
distribution. Added in a 'sanity' rule.
* NEWS:
- * README:
+ * README:
* INSTALL: Updated for the release
Sun Oct 25 07:30:10 1998 Tim Janik <timj@gtk.org>
* gscanner.c:
- (g_scanner_peek_next_char):
+ (g_scanner_peek_next_char):
(g_scanner_get_char): no more characters are available if read() returns
anything less than 1, not only on 0 return.
- * glib.h:
+ * glib.h:
* gstrfuncs.c: final API cleanup of string arrays to suit sopwith's
argument order requirements.
(g_strsplit): renamed from g_str_array_split().
@@ -1300,7 +1308,7 @@ Wed Oct 21 19:22:58 1998 Tim Janik <timj@gtk.org>
Wed Oct 21 17:03:05 1998 Tim Janik <timj@gtk.org>
- * glib.h:
+ * glib.h:
* gstrfuncs.c: API cleanups of the new g_str* functions for consistency
with the existing naming scheme for g_str* functions. grouped the g_str*
functions that will return a newly allocated string seperatedly. all of
@@ -1452,7 +1460,7 @@ Sun Sep 20 02:09:44 1998 Josh MacDonald <jmacd@axis.hip.berkeley.edu>
* glib.h: New function g_hash_table_foreach_remove is similar to
g_hash_table_foreach, but the callback's return value indicates
- whether to remove the element (if TRUE) or not (if FALSE).
+ whether to remove the element (if TRUE) or not (if FALSE).
Returns the number of elements deleted.
Fri Sep 18 11:31:50 PDT 1998 Manish Singh <yosh@gimp.org>
@@ -1528,7 +1536,7 @@ Mon Sep 7 07:53:21 1998 Tim Janik <timj@gtk.org>
* glib.h: inlining hassle. for compilers that don't allow the `inline'
keyword, mostly because of strict ANSI C compliance or dumbness, we try
- to fall back to either `__inline__' or `__inline'.
+ to fall back to either `__inline__' or `__inline'.
we define G_CAN_INLINE, if the compiler seems to be actually *capable*
to do function inlining, in which case inline function bodys do make
sense. we also define G_INLINE_FUNC to properly export the function
@@ -1566,7 +1574,7 @@ Sat Sep 5 18:03:36 1998 Tom Tromey <tromey@cygnus.com>
Sat Sep 5 04:40:02 1998 Tim Janik <timj@gtk.org>
- * glib.h:
+ * glib.h:
(g_chunk_new0): use g_mem_chunk_alloc0() to allocate the memchunk,
so the correct size of the memchunk is allocated with 0's and not
a memory portion of the size of the desired type.
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index 2c49d6907..55168cc5a 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,3 +1,11 @@
+Tue Jan 19 00:44:24 1999 Josh MacDonald <jmacd@axis.hip.berkeley.edu>
+
+ * gstrfuncs.c (g_strsignal): The "extern char* sys_siglist"
+ declaration breaks systems with different declarations, like
+ mine (FreeBSD). So, I added a configuration variable to decide
+ whether the declaration is neccesary. Change also appears on
+ line 275 of configure.in.
+
Sun Jan 17 17:13:54 CST 1999 Shawn T. Amundson <amundson@gtk.org>
* Released GLib 1.1.13
@@ -156,7 +164,7 @@ Tue Jan 12 09:57:06 PST 1999 Manish Singh <yosh@gimp.org>
* gdate.c: Include config.h to get HAVE_LOCALTIME_R macro.
* configure.in: Moved function check back to the place, they've
- been before.
+ been before.
1999-01-11 Jeff Garzik <jgarzik@pobox.com>
@@ -267,7 +275,7 @@ Mon Jan 4 14:38:11 1999 Tim Janik <timj@gtk.org>
Mon Jan 4 02:58:13 CST 1999 Shawn T. Amundson <amundson@gtk.org>
- * Released GLib 1.1.12
+ * Released GLib 1.1.12
* INSTALL:
NEWS:
@@ -333,9 +341,9 @@ Fri Jan 1 20:43:19 EST 1999 Jeff Garzik <jgarzik@pobox.com>
Sat Jan 2 02:20:59 1999 Tim Janik <timj@gtk.org>
* ghook.c:
- (g_hook_list_invoke):
- (g_hook_list_invoke_check):
- (g_hook_list_marshal_check):
+ (g_hook_list_invoke):
+ (g_hook_list_invoke_check):
+ (g_hook_list_marshal_check):
(g_hook_list_marshal): avoid unneccessary extra hook referencing (the
explicit hook referencing became unneccessarry with my changes from
Mon Dec 21 21:48:29 1998).
@@ -358,7 +366,7 @@ Fri Jan 1 17:09:19 EST 1999 Jeff Garzik <jgarzik@pobox.com>
Wed Dec 30 18:24:57 CST 1998 Shawn T. Amundson <amundson@gtk.org>
- * Released GLib 1.1.11
+ * Released GLib 1.1.11
* INSTALL:
NEWS:
@@ -368,7 +376,7 @@ Wed Dec 30 18:24:57 CST 1998 Shawn T. Amundson <amundson@gtk.org>
1998-12-30 Raja R Harinath <harinath@cs.umn.edu>
- * glib.h (G[U]INT64_FROM_{LE,BE}):
+ * glib.h (G[U]INT64_FROM_{LE,BE}):
Define to G[U]INT64_TO_{LE,BE}, not G[U]INT32_TO_{LE,BE}.
Fri Dec 25 19:56:33 PST 1998 Manish Singh <yosh@gimp.org>
@@ -398,7 +406,7 @@ Tue Dec 22 10:32:11 1998 Tim Janik <timj@gtk.org>
Mon Dec 21 21:48:29 1998 Tim Janik <timj@gtk.org>
- * glib.h:
+ * glib.h:
* gmain.c: there was a reference count race for hooks during invocation
loops. since all (known) hook loop implementations, do currently start
out with g_hook_first_valid() and iterate with g_hook_next_valid(),
@@ -458,7 +466,7 @@ Fri Dec 18 12:51:39 1998 Owen Taylor <otaylor@redhat.com>
Fri Dec 18 00:03:17 1998 Tim Janik <timj@gtk.org>
- * glib.h:
+ * glib.h:
* gmain.c:
(g_main_is_running): new function to check whether a main loop has been
quitted.
@@ -486,11 +494,11 @@ Thu Dec 17 23:43:47 1998 Tim Janik <timj@gtk.org>
* garray.c (g_ptr_array_remove_index): Fixed size in g_memmove,
reported by Alexander Larsson <alla@lysator.liu.se>.
- * gmem.c: Fixed bug, that made compile fail for -DENABLE_MEM_PROFILE.
+ * gmem.c: Fixed bug, that made compile fail for -DENABLE_MEM_PROFILE.
Wed Dec 16 23:04:26 CST 1998 Shawn T. Amundson <amundson@gtk.org>
- * Released GLib 1.1.9
+ * Released GLib 1.1.9
* INSTALL:
NEWS:
@@ -586,7 +594,7 @@ Tue Dec 15 23:16:05 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* INSTALL:
NEWS:
- README
+ README
configure.in:
glib.spec:
docs/glib-config.1: Incremented version
@@ -610,7 +618,7 @@ Tue Dec 15 17:17:46 1998 Owen Taylor <otaylor@redhat.com>
1998-12-15 Havoc Pennington <hp@pobox.com>
* gdate.c (g_date_prepare_to_parse): Solaris has a broken strftime
- that produced garbage output for the test date I was using to
+ that produced garbage output for the test date I was using to
set up the parser. So use a different date that Solaris seems
to like.
@@ -692,7 +700,7 @@ Tue Dec 15 10:40:09 1998 Owen Taylor <otaylor@redhat.com>
* gmain.c (g_main_poll_add_unlocked): first take a new poll record
form the poll_free_list.
-
+
* gmem.c, gstrfuncs.c, gutils.c: Made it MT safe.
* gthraed/*.c: Added copyright headers.
@@ -704,7 +712,7 @@ Tue Dec 15 10:40:09 1998 Owen Taylor <otaylor@redhat.com>
* gthread/gthread.c (g_thread_try_init): Call g_mutex_init().
* gthread/testgthread.c: updated test program.
-
+
Tue Dec 8 18:49:56 1998 Owen Taylor <otaylor@redhat.com>
* Start at adding thread-safety. (mostly work
@@ -762,7 +770,7 @@ Mon Dec 7 23:10:41 PST 1998 Manish Singh <yosh@gimp.org>
1998-12-02 Havoc Pennington <hp@pobox.com>
- * gdate.c (g_date_set_month): If Julian is valid, we have to
+ * gdate.c (g_date_set_month): If Julian is valid, we have to
update the dmy representation before setting the components
of it.
(g_date_set_day): Same.
@@ -770,13 +778,13 @@ Mon Dec 7 23:10:41 PST 1998 Manish Singh <yosh@gimp.org>
1998-12-02 Havoc Pennington <hp@pobox.com>
- * testgdate.c, testgdateparser.c: Two new files. This is kind of
- ugly code, but I want to go ahead and make the tests available.
- It isn't contaminating any other code. :-) Since one of these
- is interactive and the other takes a while to run, I've kept
+ * testgdate.c, testgdateparser.c: Two new files. This is kind of
+ ugly code, but I want to go ahead and make the tests available.
+ It isn't contaminating any other code. :-) Since one of these
+ is interactive and the other takes a while to run, I've kept
them separate from testglib for now.
* Makefile.am: Build gdate test programs.
-
+
1998-12-02 Havoc Pennington <hp@pobox.com>
* gdate.c (g_date_valid): Rely on GDate::dmy and GDate::Julian
@@ -799,7 +807,7 @@ Sat Nov 28 12:53:47 1998 Owen Taylor <otaylor@redhat.com>
1998-12-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
- * glib.h:
+ * glib.h:
* gdate.c: changed `gpointer struct_tm_p' parameter of
g_date_to_struct_tm back to `struct tm *tm' and forward declared
`struct tm' in glib.h; yes, this is nice, we still need not
@@ -812,7 +820,7 @@ Tue Dec 1 23:01:44 CST 1998 Shawn T. Amundson <amundson@gtk.org>
README:
glib.spec:
docs/glib-config.1: Incremented versions to 1.1.6.
-
+
Wed Dec 2 02:10:59 1998 Tim Janik <timj@gtk.org>
* gdate.c: s/time_t/GTime/ and s/g_print/g_message/
@@ -822,13 +830,13 @@ Wed Dec 2 02:10:59 1998 Tim Janik <timj@gtk.org>
g_date_set_time() to time_t, changed struct tm parameter of
g_date_to_struct_tm to `gpointer struct_tm_p'. yes, this is not
nice, but including time.h actually breaks a bunch of code.
-
+
* incremented GLib version to 1.1.6.
1998-11-30 Havoc Pennington <hp@pobox.com>
* gdate.c: New file, implements calendrical calculations.
-
+
* glib.h: Added declarations for GDate module.
Mon Nov 30 07:12:10 1998 Tim Janik <timj@gtk.org>
@@ -853,7 +861,7 @@ Sat Nov 28 01:23:25 1998 Tim Janik <timj@gtk.org>
Thu Nov 26 01:36:20 1998 Tim Janik <timj@gtk.org>
- * glib.h:
+ * glib.h:
* ghash.c: reverted the g_hash_table_set_key_freefunc() addition,
since it's to specialized and needs to be resolved in a generic
fashion.
@@ -889,7 +897,7 @@ Tue Nov 24 14:05:47 EST 1998 Michael K. Johnson <johnsonm@redhat.com>
* glib.h: added GFreeFunc and g_hash_table_set_key_freefunc()
prototype.
* ghash.c: added g_hash_table_set_key_freefunc() implementation.
- Modified the prototypes of the functions g_hash_node_destroy() and
+ Modified the prototypes of the functions g_hash_node_destroy() and
g_hash_nodes_destroy(), and changed the functions that call them
to match the new definitions.
This changes no external interfaces, and should create no binary
@@ -1007,7 +1015,7 @@ Wed Nov 4 15:06:44 PST 1998 Manish Singh <yosh@gimp.org>
1998-11-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
- * glib.h:
+ * glib.h:
* garray.c:
(g_array_remove_index): new function for removing an entry from an
array while preserving the order
@@ -1040,7 +1048,7 @@ Sat Oct 31 20:14:22 PST 1998 Manish Singh <yosh@gimp.org>
* gmessages.c
* gscanner.c: #include <config.h> in here too, for HAVE_UNISTD_H
-
+
1998-11-01 Tor Lillqvist <tml@iki.fi>
* glib.def: Added the new functions.
@@ -1059,7 +1067,7 @@ Sat Oct 31 20:14:22 PST 1998 Manish Singh <yosh@gimp.org>
1998-10-31 Raja R Harinath <harinath@cs.umn.edu>
Land glib-rrh-19981025-0.patch.
- * Makefile.am (glibconfig.h): New rule.
+ * Makefile.am (glibconfig.h): New rule.
(stamp-gc-h): New rule. Generate `glibconfig.h'.
* configure.in (AM_CONFIG_HEADER): It is now `config.h'.
(HAVE_BROKEN_WCTYPE): On Solaris, look for iswalnum in -lw before
@@ -1072,7 +1080,7 @@ Sat Oct 31 20:14:22 PST 1998 Manish Singh <yosh@gimp.org>
* gmem.c: Likewise.
* gstrfuncs.c: Likewise.
* gutils.c: Likewise.
-
+
Sat Oct 31 05:08:26 1998 Tim Janik <timj@gtk.org>
* glib.h: removed old G_ENUM(), G_FLAGS(), G_NV() and G_SV() macros.
@@ -1099,7 +1107,7 @@ Tue Oct 27 07:25:53 1998 Tim Janik <timj@gtk.org>
filedescriptor, which hooks onto the current scanning position.
(this became neccessary with the implementation of buffered
reads).
- (g_scanner_input_file):
+ (g_scanner_input_file):
(g_scanner_input_text): automatically blow the read ahead buffer.
(g_scanner_get_char): blow the read ahead buffer when the end of
input is reached, i.e. a '\000' char is read.
@@ -1156,7 +1164,7 @@ Tue Oct 27 03:00:50 1998 Tim Janik <timj@gtk.org>
* glib.h (struct dirent): use lower case structure members.
- * glib.h:
+ * glib.h:
* makefile.lcc:
* makefile.msc:
s/COMPILING_GLIB/GLIB_COMPILATION/
@@ -1220,7 +1228,7 @@ Tue Oct 27 03:00:50 1998 Tim Janik <timj@gtk.org>
Conditionalized inclusion of unistd.h. Added changes for
Microsoft C. Added CR to the skipped character set. Added small
workaround for MSC compiler bug in g_scanner_cur_value.
-
+
* gstrfuncs.c:
Added the function g_strescape, which escapes the backslash
character. Needed especially when printing Windows filenames.
@@ -1240,19 +1248,19 @@ Tue Oct 27 03:00:50 1998 Tim Janik <timj@gtk.org>
* makefile.lcc makefile.msc:
New files. Compiler-specific makefiles for LCC-Win32 and
Microsoft C. Only Microsoft C is actually supported currently.
-
+
* testglib.c:
Added pathname check cases for Windows. Added workaround for
bug in the Microsoft runtime library. Improved some tests a bit.
-
+
Sun Oct 25 01:24:01 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* Released GLib 1.1.4
* docs/Makefile.am:
* docs/.cvsignore
- * docs/glib-config.1:
- * docs/glib.texi: Moved docs from gtk and created glib-config.1
+ * docs/glib-config.1:
+ * docs/glib.texi: Moved docs from gtk and created glib-config.1
from gtk-config.1 in gtk
* configure.in:
@@ -1262,17 +1270,17 @@ Sun Oct 25 01:24:01 CST 1998 Shawn T. Amundson <amundson@gtk.org>
distribution. Added in a 'sanity' rule.
* NEWS:
- * README:
+ * README:
* INSTALL: Updated for the release
Sun Oct 25 07:30:10 1998 Tim Janik <timj@gtk.org>
* gscanner.c:
- (g_scanner_peek_next_char):
+ (g_scanner_peek_next_char):
(g_scanner_get_char): no more characters are available if read() returns
anything less than 1, not only on 0 return.
- * glib.h:
+ * glib.h:
* gstrfuncs.c: final API cleanup of string arrays to suit sopwith's
argument order requirements.
(g_strsplit): renamed from g_str_array_split().
@@ -1300,7 +1308,7 @@ Wed Oct 21 19:22:58 1998 Tim Janik <timj@gtk.org>
Wed Oct 21 17:03:05 1998 Tim Janik <timj@gtk.org>
- * glib.h:
+ * glib.h:
* gstrfuncs.c: API cleanups of the new g_str* functions for consistency
with the existing naming scheme for g_str* functions. grouped the g_str*
functions that will return a newly allocated string seperatedly. all of
@@ -1452,7 +1460,7 @@ Sun Sep 20 02:09:44 1998 Josh MacDonald <jmacd@axis.hip.berkeley.edu>
* glib.h: New function g_hash_table_foreach_remove is similar to
g_hash_table_foreach, but the callback's return value indicates
- whether to remove the element (if TRUE) or not (if FALSE).
+ whether to remove the element (if TRUE) or not (if FALSE).
Returns the number of elements deleted.
Fri Sep 18 11:31:50 PDT 1998 Manish Singh <yosh@gimp.org>
@@ -1528,7 +1536,7 @@ Mon Sep 7 07:53:21 1998 Tim Janik <timj@gtk.org>
* glib.h: inlining hassle. for compilers that don't allow the `inline'
keyword, mostly because of strict ANSI C compliance or dumbness, we try
- to fall back to either `__inline__' or `__inline'.
+ to fall back to either `__inline__' or `__inline'.
we define G_CAN_INLINE, if the compiler seems to be actually *capable*
to do function inlining, in which case inline function bodys do make
sense. we also define G_INLINE_FUNC to properly export the function
@@ -1566,7 +1574,7 @@ Sat Sep 5 18:03:36 1998 Tom Tromey <tromey@cygnus.com>
Sat Sep 5 04:40:02 1998 Tim Janik <timj@gtk.org>
- * glib.h:
+ * glib.h:
(g_chunk_new0): use g_mem_chunk_alloc0() to allocate the memchunk,
so the correct size of the memchunk is allocated with 0's and not
a memory portion of the size of the desired type.
diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12
index 2c49d6907..55168cc5a 100644
--- a/ChangeLog.pre-2-12
+++ b/ChangeLog.pre-2-12
@@ -1,3 +1,11 @@
+Tue Jan 19 00:44:24 1999 Josh MacDonald <jmacd@axis.hip.berkeley.edu>
+
+ * gstrfuncs.c (g_strsignal): The "extern char* sys_siglist"
+ declaration breaks systems with different declarations, like
+ mine (FreeBSD). So, I added a configuration variable to decide
+ whether the declaration is neccesary. Change also appears on
+ line 275 of configure.in.
+
Sun Jan 17 17:13:54 CST 1999 Shawn T. Amundson <amundson@gtk.org>
* Released GLib 1.1.13
@@ -156,7 +164,7 @@ Tue Jan 12 09:57:06 PST 1999 Manish Singh <yosh@gimp.org>
* gdate.c: Include config.h to get HAVE_LOCALTIME_R macro.
* configure.in: Moved function check back to the place, they've
- been before.
+ been before.
1999-01-11 Jeff Garzik <jgarzik@pobox.com>
@@ -267,7 +275,7 @@ Mon Jan 4 14:38:11 1999 Tim Janik <timj@gtk.org>
Mon Jan 4 02:58:13 CST 1999 Shawn T. Amundson <amundson@gtk.org>
- * Released GLib 1.1.12
+ * Released GLib 1.1.12
* INSTALL:
NEWS:
@@ -333,9 +341,9 @@ Fri Jan 1 20:43:19 EST 1999 Jeff Garzik <jgarzik@pobox.com>
Sat Jan 2 02:20:59 1999 Tim Janik <timj@gtk.org>
* ghook.c:
- (g_hook_list_invoke):
- (g_hook_list_invoke_check):
- (g_hook_list_marshal_check):
+ (g_hook_list_invoke):
+ (g_hook_list_invoke_check):
+ (g_hook_list_marshal_check):
(g_hook_list_marshal): avoid unneccessary extra hook referencing (the
explicit hook referencing became unneccessarry with my changes from
Mon Dec 21 21:48:29 1998).
@@ -358,7 +366,7 @@ Fri Jan 1 17:09:19 EST 1999 Jeff Garzik <jgarzik@pobox.com>
Wed Dec 30 18:24:57 CST 1998 Shawn T. Amundson <amundson@gtk.org>
- * Released GLib 1.1.11
+ * Released GLib 1.1.11
* INSTALL:
NEWS:
@@ -368,7 +376,7 @@ Wed Dec 30 18:24:57 CST 1998 Shawn T. Amundson <amundson@gtk.org>
1998-12-30 Raja R Harinath <harinath@cs.umn.edu>
- * glib.h (G[U]INT64_FROM_{LE,BE}):
+ * glib.h (G[U]INT64_FROM_{LE,BE}):
Define to G[U]INT64_TO_{LE,BE}, not G[U]INT32_TO_{LE,BE}.
Fri Dec 25 19:56:33 PST 1998 Manish Singh <yosh@gimp.org>
@@ -398,7 +406,7 @@ Tue Dec 22 10:32:11 1998 Tim Janik <timj@gtk.org>
Mon Dec 21 21:48:29 1998 Tim Janik <timj@gtk.org>
- * glib.h:
+ * glib.h:
* gmain.c: there was a reference count race for hooks during invocation
loops. since all (known) hook loop implementations, do currently start
out with g_hook_first_valid() and iterate with g_hook_next_valid(),
@@ -458,7 +466,7 @@ Fri Dec 18 12:51:39 1998 Owen Taylor <otaylor@redhat.com>
Fri Dec 18 00:03:17 1998 Tim Janik <timj@gtk.org>
- * glib.h:
+ * glib.h:
* gmain.c:
(g_main_is_running): new function to check whether a main loop has been
quitted.
@@ -486,11 +494,11 @@ Thu Dec 17 23:43:47 1998 Tim Janik <timj@gtk.org>
* garray.c (g_ptr_array_remove_index): Fixed size in g_memmove,
reported by Alexander Larsson <alla@lysator.liu.se>.
- * gmem.c: Fixed bug, that made compile fail for -DENABLE_MEM_PROFILE.
+ * gmem.c: Fixed bug, that made compile fail for -DENABLE_MEM_PROFILE.
Wed Dec 16 23:04:26 CST 1998 Shawn T. Amundson <amundson@gtk.org>
- * Released GLib 1.1.9
+ * Released GLib 1.1.9
* INSTALL:
NEWS:
@@ -586,7 +594,7 @@ Tue Dec 15 23:16:05 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* INSTALL:
NEWS:
- README
+ README
configure.in:
glib.spec:
docs/glib-config.1: Incremented version
@@ -610,7 +618,7 @@ Tue Dec 15 17:17:46 1998 Owen Taylor <otaylor@redhat.com>
1998-12-15 Havoc Pennington <hp@pobox.com>
* gdate.c (g_date_prepare_to_parse): Solaris has a broken strftime
- that produced garbage output for the test date I was using to
+ that produced garbage output for the test date I was using to
set up the parser. So use a different date that Solaris seems
to like.
@@ -692,7 +700,7 @@ Tue Dec 15 10:40:09 1998 Owen Taylor <otaylor@redhat.com>
* gmain.c (g_main_poll_add_unlocked): first take a new poll record
form the poll_free_list.
-
+
* gmem.c, gstrfuncs.c, gutils.c: Made it MT safe.
* gthraed/*.c: Added copyright headers.
@@ -704,7 +712,7 @@ Tue Dec 15 10:40:09 1998 Owen Taylor <otaylor@redhat.com>
* gthread/gthread.c (g_thread_try_init): Call g_mutex_init().
* gthread/testgthread.c: updated test program.
-
+
Tue Dec 8 18:49:56 1998 Owen Taylor <otaylor@redhat.com>
* Start at adding thread-safety. (mostly work
@@ -762,7 +770,7 @@ Mon Dec 7 23:10:41 PST 1998 Manish Singh <yosh@gimp.org>
1998-12-02 Havoc Pennington <hp@pobox.com>
- * gdate.c (g_date_set_month): If Julian is valid, we have to
+ * gdate.c (g_date_set_month): If Julian is valid, we have to
update the dmy representation before setting the components
of it.
(g_date_set_day): Same.
@@ -770,13 +778,13 @@ Mon Dec 7 23:10:41 PST 1998 Manish Singh <yosh@gimp.org>
1998-12-02 Havoc Pennington <hp@pobox.com>
- * testgdate.c, testgdateparser.c: Two new files. This is kind of
- ugly code, but I want to go ahead and make the tests available.
- It isn't contaminating any other code. :-) Since one of these
- is interactive and the other takes a while to run, I've kept
+ * testgdate.c, testgdateparser.c: Two new files. This is kind of
+ ugly code, but I want to go ahead and make the tests available.
+ It isn't contaminating any other code. :-) Since one of these
+ is interactive and the other takes a while to run, I've kept
them separate from testglib for now.
* Makefile.am: Build gdate test programs.
-
+
1998-12-02 Havoc Pennington <hp@pobox.com>
* gdate.c (g_date_valid): Rely on GDate::dmy and GDate::Julian
@@ -799,7 +807,7 @@ Sat Nov 28 12:53:47 1998 Owen Taylor <otaylor@redhat.com>
1998-12-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
- * glib.h:
+ * glib.h:
* gdate.c: changed `gpointer struct_tm_p' parameter of
g_date_to_struct_tm back to `struct tm *tm' and forward declared
`struct tm' in glib.h; yes, this is nice, we still need not
@@ -812,7 +820,7 @@ Tue Dec 1 23:01:44 CST 1998 Shawn T. Amundson <amundson@gtk.org>
README:
glib.spec:
docs/glib-config.1: Incremented versions to 1.1.6.
-
+
Wed Dec 2 02:10:59 1998 Tim Janik <timj@gtk.org>
* gdate.c: s/time_t/GTime/ and s/g_print/g_message/
@@ -822,13 +830,13 @@ Wed Dec 2 02:10:59 1998 Tim Janik <timj@gtk.org>
g_date_set_time() to time_t, changed struct tm parameter of
g_date_to_struct_tm to `gpointer struct_tm_p'. yes, this is not
nice, but including time.h actually breaks a bunch of code.
-
+
* incremented GLib version to 1.1.6.
1998-11-30 Havoc Pennington <hp@pobox.com>
* gdate.c: New file, implements calendrical calculations.
-
+
* glib.h: Added declarations for GDate module.
Mon Nov 30 07:12:10 1998 Tim Janik <timj@gtk.org>
@@ -853,7 +861,7 @@ Sat Nov 28 01:23:25 1998 Tim Janik <timj@gtk.org>
Thu Nov 26 01:36:20 1998 Tim Janik <timj@gtk.org>
- * glib.h:
+ * glib.h:
* ghash.c: reverted the g_hash_table_set_key_freefunc() addition,
since it's to specialized and needs to be resolved in a generic
fashion.
@@ -889,7 +897,7 @@ Tue Nov 24 14:05:47 EST 1998 Michael K. Johnson <johnsonm@redhat.com>
* glib.h: added GFreeFunc and g_hash_table_set_key_freefunc()
prototype.
* ghash.c: added g_hash_table_set_key_freefunc() implementation.
- Modified the prototypes of the functions g_hash_node_destroy() and
+ Modified the prototypes of the functions g_hash_node_destroy() and
g_hash_nodes_destroy(), and changed the functions that call them
to match the new definitions.
This changes no external interfaces, and should create no binary
@@ -1007,7 +1015,7 @@ Wed Nov 4 15:06:44 PST 1998 Manish Singh <yosh@gimp.org>
1998-11-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
- * glib.h:
+ * glib.h:
* garray.c:
(g_array_remove_index): new function for removing an entry from an
array while preserving the order
@@ -1040,7 +1048,7 @@ Sat Oct 31 20:14:22 PST 1998 Manish Singh <yosh@gimp.org>
* gmessages.c
* gscanner.c: #include <config.h> in here too, for HAVE_UNISTD_H
-
+
1998-11-01 Tor Lillqvist <tml@iki.fi>
* glib.def: Added the new functions.
@@ -1059,7 +1067,7 @@ Sat Oct 31 20:14:22 PST 1998 Manish Singh <yosh@gimp.org>
1998-10-31 Raja R Harinath <harinath@cs.umn.edu>
Land glib-rrh-19981025-0.patch.
- * Makefile.am (glibconfig.h): New rule.
+ * Makefile.am (glibconfig.h): New rule.
(stamp-gc-h): New rule. Generate `glibconfig.h'.
* configure.in (AM_CONFIG_HEADER): It is now `config.h'.
(HAVE_BROKEN_WCTYPE): On Solaris, look for iswalnum in -lw before
@@ -1072,7 +1080,7 @@ Sat Oct 31 20:14:22 PST 1998 Manish Singh <yosh@gimp.org>
* gmem.c: Likewise.
* gstrfuncs.c: Likewise.
* gutils.c: Likewise.
-
+
Sat Oct 31 05:08:26 1998 Tim Janik <timj@gtk.org>
* glib.h: removed old G_ENUM(), G_FLAGS(), G_NV() and G_SV() macros.
@@ -1099,7 +1107,7 @@ Tue Oct 27 07:25:53 1998 Tim Janik <timj@gtk.org>
filedescriptor, which hooks onto the current scanning position.
(this became neccessary with the implementation of buffered
reads).
- (g_scanner_input_file):
+ (g_scanner_input_file):
(g_scanner_input_text): automatically blow the read ahead buffer.
(g_scanner_get_char): blow the read ahead buffer when the end of
input is reached, i.e. a '\000' char is read.
@@ -1156,7 +1164,7 @@ Tue Oct 27 03:00:50 1998 Tim Janik <timj@gtk.org>
* glib.h (struct dirent): use lower case structure members.
- * glib.h:
+ * glib.h:
* makefile.lcc:
* makefile.msc:
s/COMPILING_GLIB/GLIB_COMPILATION/
@@ -1220,7 +1228,7 @@ Tue Oct 27 03:00:50 1998 Tim Janik <timj@gtk.org>
Conditionalized inclusion of unistd.h. Added changes for
Microsoft C. Added CR to the skipped character set. Added small
workaround for MSC compiler bug in g_scanner_cur_value.
-
+
* gstrfuncs.c:
Added the function g_strescape, which escapes the backslash
character. Needed especially when printing Windows filenames.
@@ -1240,19 +1248,19 @@ Tue Oct 27 03:00:50 1998 Tim Janik <timj@gtk.org>
* makefile.lcc makefile.msc:
New files. Compiler-specific makefiles for LCC-Win32 and
Microsoft C. Only Microsoft C is actually supported currently.
-
+
* testglib.c:
Added pathname check cases for Windows. Added workaround for
bug in the Microsoft runtime library. Improved some tests a bit.
-
+
Sun Oct 25 01:24:01 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* Released GLib 1.1.4
* docs/Makefile.am:
* docs/.cvsignore
- * docs/glib-config.1:
- * docs/glib.texi: Moved docs from gtk and created glib-config.1
+ * docs/glib-config.1:
+ * docs/glib.texi: Moved docs from gtk and created glib-config.1
from gtk-config.1 in gtk
* configure.in:
@@ -1262,17 +1270,17 @@ Sun Oct 25 01:24:01 CST 1998 Shawn T. Amundson <amundson@gtk.org>
distribution. Added in a 'sanity' rule.
* NEWS:
- * README:
+ * README:
* INSTALL: Updated for the release
Sun Oct 25 07:30:10 1998 Tim Janik <timj@gtk.org>
* gscanner.c:
- (g_scanner_peek_next_char):
+ (g_scanner_peek_next_char):
(g_scanner_get_char): no more characters are available if read() returns
anything less than 1, not only on 0 return.
- * glib.h:
+ * glib.h:
* gstrfuncs.c: final API cleanup of string arrays to suit sopwith's
argument order requirements.
(g_strsplit): renamed from g_str_array_split().
@@ -1300,7 +1308,7 @@ Wed Oct 21 19:22:58 1998 Tim Janik <timj@gtk.org>
Wed Oct 21 17:03:05 1998 Tim Janik <timj@gtk.org>
- * glib.h:
+ * glib.h:
* gstrfuncs.c: API cleanups of the new g_str* functions for consistency
with the existing naming scheme for g_str* functions. grouped the g_str*
functions that will return a newly allocated string seperatedly. all of
@@ -1452,7 +1460,7 @@ Sun Sep 20 02:09:44 1998 Josh MacDonald <jmacd@axis.hip.berkeley.edu>
* glib.h: New function g_hash_table_foreach_remove is similar to
g_hash_table_foreach, but the callback's return value indicates
- whether to remove the element (if TRUE) or not (if FALSE).
+ whether to remove the element (if TRUE) or not (if FALSE).
Returns the number of elements deleted.
Fri Sep 18 11:31:50 PDT 1998 Manish Singh <yosh@gimp.org>
@@ -1528,7 +1536,7 @@ Mon Sep 7 07:53:21 1998 Tim Janik <timj@gtk.org>
* glib.h: inlining hassle. for compilers that don't allow the `inline'
keyword, mostly because of strict ANSI C compliance or dumbness, we try
- to fall back to either `__inline__' or `__inline'.
+ to fall back to either `__inline__' or `__inline'.
we define G_CAN_INLINE, if the compiler seems to be actually *capable*
to do function inlining, in which case inline function bodys do make
sense. we also define G_INLINE_FUNC to properly export the function
@@ -1566,7 +1574,7 @@ Sat Sep 5 18:03:36 1998 Tom Tromey <tromey@cygnus.com>
Sat Sep 5 04:40:02 1998 Tim Janik <timj@gtk.org>
- * glib.h:
+ * glib.h:
(g_chunk_new0): use g_mem_chunk_alloc0() to allocate the memchunk,
so the correct size of the memchunk is allocated with 0's and not
a memory portion of the size of the desired type.
diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2
index 2c49d6907..55168cc5a 100644
--- a/ChangeLog.pre-2-2
+++ b/ChangeLog.pre-2-2
@@ -1,3 +1,11 @@
+Tue Jan 19 00:44:24 1999 Josh MacDonald <jmacd@axis.hip.berkeley.edu>
+
+ * gstrfuncs.c (g_strsignal): The "extern char* sys_siglist"
+ declaration breaks systems with different declarations, like
+ mine (FreeBSD). So, I added a configuration variable to decide
+ whether the declaration is neccesary. Change also appears on
+ line 275 of configure.in.
+
Sun Jan 17 17:13:54 CST 1999 Shawn T. Amundson <amundson@gtk.org>
* Released GLib 1.1.13
@@ -156,7 +164,7 @@ Tue Jan 12 09:57:06 PST 1999 Manish Singh <yosh@gimp.org>
* gdate.c: Include config.h to get HAVE_LOCALTIME_R macro.
* configure.in: Moved function check back to the place, they've
- been before.
+ been before.
1999-01-11 Jeff Garzik <jgarzik@pobox.com>
@@ -267,7 +275,7 @@ Mon Jan 4 14:38:11 1999 Tim Janik <timj@gtk.org>
Mon Jan 4 02:58:13 CST 1999 Shawn T. Amundson <amundson@gtk.org>
- * Released GLib 1.1.12
+ * Released GLib 1.1.12
* INSTALL:
NEWS:
@@ -333,9 +341,9 @@ Fri Jan 1 20:43:19 EST 1999 Jeff Garzik <jgarzik@pobox.com>
Sat Jan 2 02:20:59 1999 Tim Janik <timj@gtk.org>
* ghook.c:
- (g_hook_list_invoke):
- (g_hook_list_invoke_check):
- (g_hook_list_marshal_check):
+ (g_hook_list_invoke):
+ (g_hook_list_invoke_check):
+ (g_hook_list_marshal_check):
(g_hook_list_marshal): avoid unneccessary extra hook referencing (the
explicit hook referencing became unneccessarry with my changes from
Mon Dec 21 21:48:29 1998).
@@ -358,7 +366,7 @@ Fri Jan 1 17:09:19 EST 1999 Jeff Garzik <jgarzik@pobox.com>
Wed Dec 30 18:24:57 CST 1998 Shawn T. Amundson <amundson@gtk.org>
- * Released GLib 1.1.11
+ * Released GLib 1.1.11
* INSTALL:
NEWS:
@@ -368,7 +376,7 @@ Wed Dec 30 18:24:57 CST 1998 Shawn T. Amundson <amundson@gtk.org>
1998-12-30 Raja R Harinath <harinath@cs.umn.edu>
- * glib.h (G[U]INT64_FROM_{LE,BE}):
+ * glib.h (G[U]INT64_FROM_{LE,BE}):
Define to G[U]INT64_TO_{LE,BE}, not G[U]INT32_TO_{LE,BE}.
Fri Dec 25 19:56:33 PST 1998 Manish Singh <yosh@gimp.org>
@@ -398,7 +406,7 @@ Tue Dec 22 10:32:11 1998 Tim Janik <timj@gtk.org>
Mon Dec 21 21:48:29 1998 Tim Janik <timj@gtk.org>
- * glib.h:
+ * glib.h:
* gmain.c: there was a reference count race for hooks during invocation
loops. since all (known) hook loop implementations, do currently start
out with g_hook_first_valid() and iterate with g_hook_next_valid(),
@@ -458,7 +466,7 @@ Fri Dec 18 12:51:39 1998 Owen Taylor <otaylor@redhat.com>
Fri Dec 18 00:03:17 1998 Tim Janik <timj@gtk.org>
- * glib.h:
+ * glib.h:
* gmain.c:
(g_main_is_running): new function to check whether a main loop has been
quitted.
@@ -486,11 +494,11 @@ Thu Dec 17 23:43:47 1998 Tim Janik <timj@gtk.org>
* garray.c (g_ptr_array_remove_index): Fixed size in g_memmove,
reported by Alexander Larsson <alla@lysator.liu.se>.
- * gmem.c: Fixed bug, that made compile fail for -DENABLE_MEM_PROFILE.
+ * gmem.c: Fixed bug, that made compile fail for -DENABLE_MEM_PROFILE.
Wed Dec 16 23:04:26 CST 1998 Shawn T. Amundson <amundson@gtk.org>
- * Released GLib 1.1.9
+ * Released GLib 1.1.9
* INSTALL:
NEWS:
@@ -586,7 +594,7 @@ Tue Dec 15 23:16:05 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* INSTALL:
NEWS:
- README
+ README
configure.in:
glib.spec:
docs/glib-config.1: Incremented version
@@ -610,7 +618,7 @@ Tue Dec 15 17:17:46 1998 Owen Taylor <otaylor@redhat.com>
1998-12-15 Havoc Pennington <hp@pobox.com>
* gdate.c (g_date_prepare_to_parse): Solaris has a broken strftime
- that produced garbage output for the test date I was using to
+ that produced garbage output for the test date I was using to
set up the parser. So use a different date that Solaris seems
to like.
@@ -692,7 +700,7 @@ Tue Dec 15 10:40:09 1998 Owen Taylor <otaylor@redhat.com>
* gmain.c (g_main_poll_add_unlocked): first take a new poll record
form the poll_free_list.
-
+
* gmem.c, gstrfuncs.c, gutils.c: Made it MT safe.
* gthraed/*.c: Added copyright headers.
@@ -704,7 +712,7 @@ Tue Dec 15 10:40:09 1998 Owen Taylor <otaylor@redhat.com>
* gthread/gthread.c (g_thread_try_init): Call g_mutex_init().
* gthread/testgthread.c: updated test program.
-
+
Tue Dec 8 18:49:56 1998 Owen Taylor <otaylor@redhat.com>
* Start at adding thread-safety. (mostly work
@@ -762,7 +770,7 @@ Mon Dec 7 23:10:41 PST 1998 Manish Singh <yosh@gimp.org>
1998-12-02 Havoc Pennington <hp@pobox.com>
- * gdate.c (g_date_set_month): If Julian is valid, we have to
+ * gdate.c (g_date_set_month): If Julian is valid, we have to
update the dmy representation before setting the components
of it.
(g_date_set_day): Same.
@@ -770,13 +778,13 @@ Mon Dec 7 23:10:41 PST 1998 Manish Singh <yosh@gimp.org>
1998-12-02 Havoc Pennington <hp@pobox.com>
- * testgdate.c, testgdateparser.c: Two new files. This is kind of
- ugly code, but I want to go ahead and make the tests available.
- It isn't contaminating any other code. :-) Since one of these
- is interactive and the other takes a while to run, I've kept
+ * testgdate.c, testgdateparser.c: Two new files. This is kind of
+ ugly code, but I want to go ahead and make the tests available.
+ It isn't contaminating any other code. :-) Since one of these
+ is interactive and the other takes a while to run, I've kept
them separate from testglib for now.
* Makefile.am: Build gdate test programs.
-
+
1998-12-02 Havoc Pennington <hp@pobox.com>
* gdate.c (g_date_valid): Rely on GDate::dmy and GDate::Julian
@@ -799,7 +807,7 @@ Sat Nov 28 12:53:47 1998 Owen Taylor <otaylor@redhat.com>
1998-12-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
- * glib.h:
+ * glib.h:
* gdate.c: changed `gpointer struct_tm_p' parameter of
g_date_to_struct_tm back to `struct tm *tm' and forward declared
`struct tm' in glib.h; yes, this is nice, we still need not
@@ -812,7 +820,7 @@ Tue Dec 1 23:01:44 CST 1998 Shawn T. Amundson <amundson@gtk.org>
README:
glib.spec:
docs/glib-config.1: Incremented versions to 1.1.6.
-
+
Wed Dec 2 02:10:59 1998 Tim Janik <timj@gtk.org>
* gdate.c: s/time_t/GTime/ and s/g_print/g_message/
@@ -822,13 +830,13 @@ Wed Dec 2 02:10:59 1998 Tim Janik <timj@gtk.org>
g_date_set_time() to time_t, changed struct tm parameter of
g_date_to_struct_tm to `gpointer struct_tm_p'. yes, this is not
nice, but including time.h actually breaks a bunch of code.
-
+
* incremented GLib version to 1.1.6.
1998-11-30 Havoc Pennington <hp@pobox.com>
* gdate.c: New file, implements calendrical calculations.
-
+
* glib.h: Added declarations for GDate module.
Mon Nov 30 07:12:10 1998 Tim Janik <timj@gtk.org>
@@ -853,7 +861,7 @@ Sat Nov 28 01:23:25 1998 Tim Janik <timj@gtk.org>
Thu Nov 26 01:36:20 1998 Tim Janik <timj@gtk.org>
- * glib.h:
+ * glib.h:
* ghash.c: reverted the g_hash_table_set_key_freefunc() addition,
since it's to specialized and needs to be resolved in a generic
fashion.
@@ -889,7 +897,7 @@ Tue Nov 24 14:05:47 EST 1998 Michael K. Johnson <johnsonm@redhat.com>
* glib.h: added GFreeFunc and g_hash_table_set_key_freefunc()
prototype.
* ghash.c: added g_hash_table_set_key_freefunc() implementation.
- Modified the prototypes of the functions g_hash_node_destroy() and
+ Modified the prototypes of the functions g_hash_node_destroy() and
g_hash_nodes_destroy(), and changed the functions that call them
to match the new definitions.
This changes no external interfaces, and should create no binary
@@ -1007,7 +1015,7 @@ Wed Nov 4 15:06:44 PST 1998 Manish Singh <yosh@gimp.org>
1998-11-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
- * glib.h:
+ * glib.h:
* garray.c:
(g_array_remove_index): new function for removing an entry from an
array while preserving the order
@@ -1040,7 +1048,7 @@ Sat Oct 31 20:14:22 PST 1998 Manish Singh <yosh@gimp.org>
* gmessages.c
* gscanner.c: #include <config.h> in here too, for HAVE_UNISTD_H
-
+
1998-11-01 Tor Lillqvist <tml@iki.fi>
* glib.def: Added the new functions.
@@ -1059,7 +1067,7 @@ Sat Oct 31 20:14:22 PST 1998 Manish Singh <yosh@gimp.org>
1998-10-31 Raja R Harinath <harinath@cs.umn.edu>
Land glib-rrh-19981025-0.patch.
- * Makefile.am (glibconfig.h): New rule.
+ * Makefile.am (glibconfig.h): New rule.
(stamp-gc-h): New rule. Generate `glibconfig.h'.
* configure.in (AM_CONFIG_HEADER): It is now `config.h'.
(HAVE_BROKEN_WCTYPE): On Solaris, look for iswalnum in -lw before
@@ -1072,7 +1080,7 @@ Sat Oct 31 20:14:22 PST 1998 Manish Singh <yosh@gimp.org>
* gmem.c: Likewise.
* gstrfuncs.c: Likewise.
* gutils.c: Likewise.
-
+
Sat Oct 31 05:08:26 1998 Tim Janik <timj@gtk.org>
* glib.h: removed old G_ENUM(), G_FLAGS(), G_NV() and G_SV() macros.
@@ -1099,7 +1107,7 @@ Tue Oct 27 07:25:53 1998 Tim Janik <timj@gtk.org>
filedescriptor, which hooks onto the current scanning position.
(this became neccessary with the implementation of buffered
reads).
- (g_scanner_input_file):
+ (g_scanner_input_file):
(g_scanner_input_text): automatically blow the read ahead buffer.
(g_scanner_get_char): blow the read ahead buffer when the end of
input is reached, i.e. a '\000' char is read.
@@ -1156,7 +1164,7 @@ Tue Oct 27 03:00:50 1998 Tim Janik <timj@gtk.org>
* glib.h (struct dirent): use lower case structure members.
- * glib.h:
+ * glib.h:
* makefile.lcc:
* makefile.msc:
s/COMPILING_GLIB/GLIB_COMPILATION/
@@ -1220,7 +1228,7 @@ Tue Oct 27 03:00:50 1998 Tim Janik <timj@gtk.org>
Conditionalized inclusion of unistd.h. Added changes for
Microsoft C. Added CR to the skipped character set. Added small
workaround for MSC compiler bug in g_scanner_cur_value.
-
+
* gstrfuncs.c:
Added the function g_strescape, which escapes the backslash
character. Needed especially when printing Windows filenames.
@@ -1240,19 +1248,19 @@ Tue Oct 27 03:00:50 1998 Tim Janik <timj@gtk.org>
* makefile.lcc makefile.msc:
New files. Compiler-specific makefiles for LCC-Win32 and
Microsoft C. Only Microsoft C is actually supported currently.
-
+
* testglib.c:
Added pathname check cases for Windows. Added workaround for
bug in the Microsoft runtime library. Improved some tests a bit.
-
+
Sun Oct 25 01:24:01 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* Released GLib 1.1.4
* docs/Makefile.am:
* docs/.cvsignore
- * docs/glib-config.1:
- * docs/glib.texi: Moved docs from gtk and created glib-config.1
+ * docs/glib-config.1:
+ * docs/glib.texi: Moved docs from gtk and created glib-config.1
from gtk-config.1 in gtk
* configure.in:
@@ -1262,17 +1270,17 @@ Sun Oct 25 01:24:01 CST 1998 Shawn T. Amundson <amundson@gtk.org>
distribution. Added in a 'sanity' rule.
* NEWS:
- * README:
+ * README:
* INSTALL: Updated for the release
Sun Oct 25 07:30:10 1998 Tim Janik <timj@gtk.org>
* gscanner.c:
- (g_scanner_peek_next_char):
+ (g_scanner_peek_next_char):
(g_scanner_get_char): no more characters are available if read() returns
anything less than 1, not only on 0 return.
- * glib.h:
+ * glib.h:
* gstrfuncs.c: final API cleanup of string arrays to suit sopwith's
argument order requirements.
(g_strsplit): renamed from g_str_array_split().
@@ -1300,7 +1308,7 @@ Wed Oct 21 19:22:58 1998 Tim Janik <timj@gtk.org>
Wed Oct 21 17:03:05 1998 Tim Janik <timj@gtk.org>
- * glib.h:
+ * glib.h:
* gstrfuncs.c: API cleanups of the new g_str* functions for consistency
with the existing naming scheme for g_str* functions. grouped the g_str*
functions that will return a newly allocated string seperatedly. all of
@@ -1452,7 +1460,7 @@ Sun Sep 20 02:09:44 1998 Josh MacDonald <jmacd@axis.hip.berkeley.edu>
* glib.h: New function g_hash_table_foreach_remove is similar to
g_hash_table_foreach, but the callback's return value indicates
- whether to remove the element (if TRUE) or not (if FALSE).
+ whether to remove the element (if TRUE) or not (if FALSE).
Returns the number of elements deleted.
Fri Sep 18 11:31:50 PDT 1998 Manish Singh <yosh@gimp.org>
@@ -1528,7 +1536,7 @@ Mon Sep 7 07:53:21 1998 Tim Janik <timj@gtk.org>
* glib.h: inlining hassle. for compilers that don't allow the `inline'
keyword, mostly because of strict ANSI C compliance or dumbness, we try
- to fall back to either `__inline__' or `__inline'.
+ to fall back to either `__inline__' or `__inline'.
we define G_CAN_INLINE, if the compiler seems to be actually *capable*
to do function inlining, in which case inline function bodys do make
sense. we also define G_INLINE_FUNC to properly export the function
@@ -1566,7 +1574,7 @@ Sat Sep 5 18:03:36 1998 Tom Tromey <tromey@cygnus.com>
Sat Sep 5 04:40:02 1998 Tim Janik <timj@gtk.org>
- * glib.h:
+ * glib.h:
(g_chunk_new0): use g_mem_chunk_alloc0() to allocate the memchunk,
so the correct size of the memchunk is allocated with 0's and not
a memory portion of the size of the desired type.
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index 2c49d6907..55168cc5a 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -1,3 +1,11 @@
+Tue Jan 19 00:44:24 1999 Josh MacDonald <jmacd@axis.hip.berkeley.edu>
+
+ * gstrfuncs.c (g_strsignal): The "extern char* sys_siglist"
+ declaration breaks systems with different declarations, like
+ mine (FreeBSD). So, I added a configuration variable to decide
+ whether the declaration is neccesary. Change also appears on
+ line 275 of configure.in.
+
Sun Jan 17 17:13:54 CST 1999 Shawn T. Amundson <amundson@gtk.org>
* Released GLib 1.1.13
@@ -156,7 +164,7 @@ Tue Jan 12 09:57:06 PST 1999 Manish Singh <yosh@gimp.org>
* gdate.c: Include config.h to get HAVE_LOCALTIME_R macro.
* configure.in: Moved function check back to the place, they've
- been before.
+ been before.
1999-01-11 Jeff Garzik <jgarzik@pobox.com>
@@ -267,7 +275,7 @@ Mon Jan 4 14:38:11 1999 Tim Janik <timj@gtk.org>
Mon Jan 4 02:58:13 CST 1999 Shawn T. Amundson <amundson@gtk.org>
- * Released GLib 1.1.12
+ * Released GLib 1.1.12
* INSTALL:
NEWS:
@@ -333,9 +341,9 @@ Fri Jan 1 20:43:19 EST 1999 Jeff Garzik <jgarzik@pobox.com>
Sat Jan 2 02:20:59 1999 Tim Janik <timj@gtk.org>
* ghook.c:
- (g_hook_list_invoke):
- (g_hook_list_invoke_check):
- (g_hook_list_marshal_check):
+ (g_hook_list_invoke):
+ (g_hook_list_invoke_check):
+ (g_hook_list_marshal_check):
(g_hook_list_marshal): avoid unneccessary extra hook referencing (the
explicit hook referencing became unneccessarry with my changes from
Mon Dec 21 21:48:29 1998).
@@ -358,7 +366,7 @@ Fri Jan 1 17:09:19 EST 1999 Jeff Garzik <jgarzik@pobox.com>
Wed Dec 30 18:24:57 CST 1998 Shawn T. Amundson <amundson@gtk.org>
- * Released GLib 1.1.11
+ * Released GLib 1.1.11
* INSTALL:
NEWS:
@@ -368,7 +376,7 @@ Wed Dec 30 18:24:57 CST 1998 Shawn T. Amundson <amundson@gtk.org>
1998-12-30 Raja R Harinath <harinath@cs.umn.edu>
- * glib.h (G[U]INT64_FROM_{LE,BE}):
+ * glib.h (G[U]INT64_FROM_{LE,BE}):
Define to G[U]INT64_TO_{LE,BE}, not G[U]INT32_TO_{LE,BE}.
Fri Dec 25 19:56:33 PST 1998 Manish Singh <yosh@gimp.org>
@@ -398,7 +406,7 @@ Tue Dec 22 10:32:11 1998 Tim Janik <timj@gtk.org>
Mon Dec 21 21:48:29 1998 Tim Janik <timj@gtk.org>
- * glib.h:
+ * glib.h:
* gmain.c: there was a reference count race for hooks during invocation
loops. since all (known) hook loop implementations, do currently start
out with g_hook_first_valid() and iterate with g_hook_next_valid(),
@@ -458,7 +466,7 @@ Fri Dec 18 12:51:39 1998 Owen Taylor <otaylor@redhat.com>
Fri Dec 18 00:03:17 1998 Tim Janik <timj@gtk.org>
- * glib.h:
+ * glib.h:
* gmain.c:
(g_main_is_running): new function to check whether a main loop has been
quitted.
@@ -486,11 +494,11 @@ Thu Dec 17 23:43:47 1998 Tim Janik <timj@gtk.org>
* garray.c (g_ptr_array_remove_index): Fixed size in g_memmove,
reported by Alexander Larsson <alla@lysator.liu.se>.
- * gmem.c: Fixed bug, that made compile fail for -DENABLE_MEM_PROFILE.
+ * gmem.c: Fixed bug, that made compile fail for -DENABLE_MEM_PROFILE.
Wed Dec 16 23:04:26 CST 1998 Shawn T. Amundson <amundson@gtk.org>
- * Released GLib 1.1.9
+ * Released GLib 1.1.9
* INSTALL:
NEWS:
@@ -586,7 +594,7 @@ Tue Dec 15 23:16:05 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* INSTALL:
NEWS:
- README
+ README
configure.in:
glib.spec:
docs/glib-config.1: Incremented version
@@ -610,7 +618,7 @@ Tue Dec 15 17:17:46 1998 Owen Taylor <otaylor@redhat.com>
1998-12-15 Havoc Pennington <hp@pobox.com>
* gdate.c (g_date_prepare_to_parse): Solaris has a broken strftime
- that produced garbage output for the test date I was using to
+ that produced garbage output for the test date I was using to
set up the parser. So use a different date that Solaris seems
to like.
@@ -692,7 +700,7 @@ Tue Dec 15 10:40:09 1998 Owen Taylor <otaylor@redhat.com>
* gmain.c (g_main_poll_add_unlocked): first take a new poll record
form the poll_free_list.
-
+
* gmem.c, gstrfuncs.c, gutils.c: Made it MT safe.
* gthraed/*.c: Added copyright headers.
@@ -704,7 +712,7 @@ Tue Dec 15 10:40:09 1998 Owen Taylor <otaylor@redhat.com>
* gthread/gthread.c (g_thread_try_init): Call g_mutex_init().
* gthread/testgthread.c: updated test program.
-
+
Tue Dec 8 18:49:56 1998 Owen Taylor <otaylor@redhat.com>
* Start at adding thread-safety. (mostly work
@@ -762,7 +770,7 @@ Mon Dec 7 23:10:41 PST 1998 Manish Singh <yosh@gimp.org>
1998-12-02 Havoc Pennington <hp@pobox.com>
- * gdate.c (g_date_set_month): If Julian is valid, we have to
+ * gdate.c (g_date_set_month): If Julian is valid, we have to
update the dmy representation before setting the components
of it.
(g_date_set_day): Same.
@@ -770,13 +778,13 @@ Mon Dec 7 23:10:41 PST 1998 Manish Singh <yosh@gimp.org>
1998-12-02 Havoc Pennington <hp@pobox.com>
- * testgdate.c, testgdateparser.c: Two new files. This is kind of
- ugly code, but I want to go ahead and make the tests available.
- It isn't contaminating any other code. :-) Since one of these
- is interactive and the other takes a while to run, I've kept
+ * testgdate.c, testgdateparser.c: Two new files. This is kind of
+ ugly code, but I want to go ahead and make the tests available.
+ It isn't contaminating any other code. :-) Since one of these
+ is interactive and the other takes a while to run, I've kept
them separate from testglib for now.
* Makefile.am: Build gdate test programs.
-
+
1998-12-02 Havoc Pennington <hp@pobox.com>
* gdate.c (g_date_valid): Rely on GDate::dmy and GDate::Julian
@@ -799,7 +807,7 @@ Sat Nov 28 12:53:47 1998 Owen Taylor <otaylor@redhat.com>
1998-12-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
- * glib.h:
+ * glib.h:
* gdate.c: changed `gpointer struct_tm_p' parameter of
g_date_to_struct_tm back to `struct tm *tm' and forward declared
`struct tm' in glib.h; yes, this is nice, we still need not
@@ -812,7 +820,7 @@ Tue Dec 1 23:01:44 CST 1998 Shawn T. Amundson <amundson@gtk.org>
README:
glib.spec:
docs/glib-config.1: Incremented versions to 1.1.6.
-
+
Wed Dec 2 02:10:59 1998 Tim Janik <timj@gtk.org>
* gdate.c: s/time_t/GTime/ and s/g_print/g_message/
@@ -822,13 +830,13 @@ Wed Dec 2 02:10:59 1998 Tim Janik <timj@gtk.org>
g_date_set_time() to time_t, changed struct tm parameter of
g_date_to_struct_tm to `gpointer struct_tm_p'. yes, this is not
nice, but including time.h actually breaks a bunch of code.
-
+
* incremented GLib version to 1.1.6.
1998-11-30 Havoc Pennington <hp@pobox.com>
* gdate.c: New file, implements calendrical calculations.
-
+
* glib.h: Added declarations for GDate module.
Mon Nov 30 07:12:10 1998 Tim Janik <timj@gtk.org>
@@ -853,7 +861,7 @@ Sat Nov 28 01:23:25 1998 Tim Janik <timj@gtk.org>
Thu Nov 26 01:36:20 1998 Tim Janik <timj@gtk.org>
- * glib.h:
+ * glib.h:
* ghash.c: reverted the g_hash_table_set_key_freefunc() addition,
since it's to specialized and needs to be resolved in a generic
fashion.
@@ -889,7 +897,7 @@ Tue Nov 24 14:05:47 EST 1998 Michael K. Johnson <johnsonm@redhat.com>
* glib.h: added GFreeFunc and g_hash_table_set_key_freefunc()
prototype.
* ghash.c: added g_hash_table_set_key_freefunc() implementation.
- Modified the prototypes of the functions g_hash_node_destroy() and
+ Modified the prototypes of the functions g_hash_node_destroy() and
g_hash_nodes_destroy(), and changed the functions that call them
to match the new definitions.
This changes no external interfaces, and should create no binary
@@ -1007,7 +1015,7 @@ Wed Nov 4 15:06:44 PST 1998 Manish Singh <yosh@gimp.org>
1998-11-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
- * glib.h:
+ * glib.h:
* garray.c:
(g_array_remove_index): new function for removing an entry from an
array while preserving the order
@@ -1040,7 +1048,7 @@ Sat Oct 31 20:14:22 PST 1998 Manish Singh <yosh@gimp.org>
* gmessages.c
* gscanner.c: #include <config.h> in here too, for HAVE_UNISTD_H
-
+
1998-11-01 Tor Lillqvist <tml@iki.fi>
* glib.def: Added the new functions.
@@ -1059,7 +1067,7 @@ Sat Oct 31 20:14:22 PST 1998 Manish Singh <yosh@gimp.org>
1998-10-31 Raja R Harinath <harinath@cs.umn.edu>
Land glib-rrh-19981025-0.patch.
- * Makefile.am (glibconfig.h): New rule.
+ * Makefile.am (glibconfig.h): New rule.
(stamp-gc-h): New rule. Generate `glibconfig.h'.
* configure.in (AM_CONFIG_HEADER): It is now `config.h'.
(HAVE_BROKEN_WCTYPE): On Solaris, look for iswalnum in -lw before
@@ -1072,7 +1080,7 @@ Sat Oct 31 20:14:22 PST 1998 Manish Singh <yosh@gimp.org>
* gmem.c: Likewise.
* gstrfuncs.c: Likewise.
* gutils.c: Likewise.
-
+
Sat Oct 31 05:08:26 1998 Tim Janik <timj@gtk.org>
* glib.h: removed old G_ENUM(), G_FLAGS(), G_NV() and G_SV() macros.
@@ -1099,7 +1107,7 @@ Tue Oct 27 07:25:53 1998 Tim Janik <timj@gtk.org>
filedescriptor, which hooks onto the current scanning position.
(this became neccessary with the implementation of buffered
reads).
- (g_scanner_input_file):
+ (g_scanner_input_file):
(g_scanner_input_text): automatically blow the read ahead buffer.
(g_scanner_get_char): blow the read ahead buffer when the end of
input is reached, i.e. a '\000' char is read.
@@ -1156,7 +1164,7 @@ Tue Oct 27 03:00:50 1998 Tim Janik <timj@gtk.org>
* glib.h (struct dirent): use lower case structure members.
- * glib.h:
+ * glib.h:
* makefile.lcc:
* makefile.msc:
s/COMPILING_GLIB/GLIB_COMPILATION/
@@ -1220,7 +1228,7 @@ Tue Oct 27 03:00:50 1998 Tim Janik <timj@gtk.org>
Conditionalized inclusion of unistd.h. Added changes for
Microsoft C. Added CR to the skipped character set. Added small
workaround for MSC compiler bug in g_scanner_cur_value.
-
+
* gstrfuncs.c:
Added the function g_strescape, which escapes the backslash
character. Needed especially when printing Windows filenames.
@@ -1240,19 +1248,19 @@ Tue Oct 27 03:00:50 1998 Tim Janik <timj@gtk.org>
* makefile.lcc makefile.msc:
New files. Compiler-specific makefiles for LCC-Win32 and
Microsoft C. Only Microsoft C is actually supported currently.
-
+
* testglib.c:
Added pathname check cases for Windows. Added workaround for
bug in the Microsoft runtime library. Improved some tests a bit.
-
+
Sun Oct 25 01:24:01 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* Released GLib 1.1.4
* docs/Makefile.am:
* docs/.cvsignore
- * docs/glib-config.1:
- * docs/glib.texi: Moved docs from gtk and created glib-config.1
+ * docs/glib-config.1:
+ * docs/glib.texi: Moved docs from gtk and created glib-config.1
from gtk-config.1 in gtk
* configure.in:
@@ -1262,17 +1270,17 @@ Sun Oct 25 01:24:01 CST 1998 Shawn T. Amundson <amundson@gtk.org>
distribution. Added in a 'sanity' rule.
* NEWS:
- * README:
+ * README:
* INSTALL: Updated for the release
Sun Oct 25 07:30:10 1998 Tim Janik <timj@gtk.org>
* gscanner.c:
- (g_scanner_peek_next_char):
+ (g_scanner_peek_next_char):
(g_scanner_get_char): no more characters are available if read() returns
anything less than 1, not only on 0 return.
- * glib.h:
+ * glib.h:
* gstrfuncs.c: final API cleanup of string arrays to suit sopwith's
argument order requirements.
(g_strsplit): renamed from g_str_array_split().
@@ -1300,7 +1308,7 @@ Wed Oct 21 19:22:58 1998 Tim Janik <timj@gtk.org>
Wed Oct 21 17:03:05 1998 Tim Janik <timj@gtk.org>
- * glib.h:
+ * glib.h:
* gstrfuncs.c: API cleanups of the new g_str* functions for consistency
with the existing naming scheme for g_str* functions. grouped the g_str*
functions that will return a newly allocated string seperatedly. all of
@@ -1452,7 +1460,7 @@ Sun Sep 20 02:09:44 1998 Josh MacDonald <jmacd@axis.hip.berkeley.edu>
* glib.h: New function g_hash_table_foreach_remove is similar to
g_hash_table_foreach, but the callback's return value indicates
- whether to remove the element (if TRUE) or not (if FALSE).
+ whether to remove the element (if TRUE) or not (if FALSE).
Returns the number of elements deleted.
Fri Sep 18 11:31:50 PDT 1998 Manish Singh <yosh@gimp.org>
@@ -1528,7 +1536,7 @@ Mon Sep 7 07:53:21 1998 Tim Janik <timj@gtk.org>
* glib.h: inlining hassle. for compilers that don't allow the `inline'
keyword, mostly because of strict ANSI C compliance or dumbness, we try
- to fall back to either `__inline__' or `__inline'.
+ to fall back to either `__inline__' or `__inline'.
we define G_CAN_INLINE, if the compiler seems to be actually *capable*
to do function inlining, in which case inline function bodys do make
sense. we also define G_INLINE_FUNC to properly export the function
@@ -1566,7 +1574,7 @@ Sat Sep 5 18:03:36 1998 Tom Tromey <tromey@cygnus.com>
Sat Sep 5 04:40:02 1998 Tim Janik <timj@gtk.org>
- * glib.h:
+ * glib.h:
(g_chunk_new0): use g_mem_chunk_alloc0() to allocate the memchunk,
so the correct size of the memchunk is allocated with 0's and not
a memory portion of the size of the desired type.
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index 2c49d6907..55168cc5a 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -1,3 +1,11 @@
+Tue Jan 19 00:44:24 1999 Josh MacDonald <jmacd@axis.hip.berkeley.edu>
+
+ * gstrfuncs.c (g_strsignal): The "extern char* sys_siglist"
+ declaration breaks systems with different declarations, like
+ mine (FreeBSD). So, I added a configuration variable to decide
+ whether the declaration is neccesary. Change also appears on
+ line 275 of configure.in.
+
Sun Jan 17 17:13:54 CST 1999 Shawn T. Amundson <amundson@gtk.org>
* Released GLib 1.1.13
@@ -156,7 +164,7 @@ Tue Jan 12 09:57:06 PST 1999 Manish Singh <yosh@gimp.org>
* gdate.c: Include config.h to get HAVE_LOCALTIME_R macro.
* configure.in: Moved function check back to the place, they've
- been before.
+ been before.
1999-01-11 Jeff Garzik <jgarzik@pobox.com>
@@ -267,7 +275,7 @@ Mon Jan 4 14:38:11 1999 Tim Janik <timj@gtk.org>
Mon Jan 4 02:58:13 CST 1999 Shawn T. Amundson <amundson@gtk.org>
- * Released GLib 1.1.12
+ * Released GLib 1.1.12
* INSTALL:
NEWS:
@@ -333,9 +341,9 @@ Fri Jan 1 20:43:19 EST 1999 Jeff Garzik <jgarzik@pobox.com>
Sat Jan 2 02:20:59 1999 Tim Janik <timj@gtk.org>
* ghook.c:
- (g_hook_list_invoke):
- (g_hook_list_invoke_check):
- (g_hook_list_marshal_check):
+ (g_hook_list_invoke):
+ (g_hook_list_invoke_check):
+ (g_hook_list_marshal_check):
(g_hook_list_marshal): avoid unneccessary extra hook referencing (the
explicit hook referencing became unneccessarry with my changes from
Mon Dec 21 21:48:29 1998).
@@ -358,7 +366,7 @@ Fri Jan 1 17:09:19 EST 1999 Jeff Garzik <jgarzik@pobox.com>
Wed Dec 30 18:24:57 CST 1998 Shawn T. Amundson <amundson@gtk.org>
- * Released GLib 1.1.11
+ * Released GLib 1.1.11
* INSTALL:
NEWS:
@@ -368,7 +376,7 @@ Wed Dec 30 18:24:57 CST 1998 Shawn T. Amundson <amundson@gtk.org>
1998-12-30 Raja R Harinath <harinath@cs.umn.edu>
- * glib.h (G[U]INT64_FROM_{LE,BE}):
+ * glib.h (G[U]INT64_FROM_{LE,BE}):
Define to G[U]INT64_TO_{LE,BE}, not G[U]INT32_TO_{LE,BE}.
Fri Dec 25 19:56:33 PST 1998 Manish Singh <yosh@gimp.org>
@@ -398,7 +406,7 @@ Tue Dec 22 10:32:11 1998 Tim Janik <timj@gtk.org>
Mon Dec 21 21:48:29 1998 Tim Janik <timj@gtk.org>
- * glib.h:
+ * glib.h:
* gmain.c: there was a reference count race for hooks during invocation
loops. since all (known) hook loop implementations, do currently start
out with g_hook_first_valid() and iterate with g_hook_next_valid(),
@@ -458,7 +466,7 @@ Fri Dec 18 12:51:39 1998 Owen Taylor <otaylor@redhat.com>
Fri Dec 18 00:03:17 1998 Tim Janik <timj@gtk.org>
- * glib.h:
+ * glib.h:
* gmain.c:
(g_main_is_running): new function to check whether a main loop has been
quitted.
@@ -486,11 +494,11 @@ Thu Dec 17 23:43:47 1998 Tim Janik <timj@gtk.org>
* garray.c (g_ptr_array_remove_index): Fixed size in g_memmove,
reported by Alexander Larsson <alla@lysator.liu.se>.
- * gmem.c: Fixed bug, that made compile fail for -DENABLE_MEM_PROFILE.
+ * gmem.c: Fixed bug, that made compile fail for -DENABLE_MEM_PROFILE.
Wed Dec 16 23:04:26 CST 1998 Shawn T. Amundson <amundson@gtk.org>
- * Released GLib 1.1.9
+ * Released GLib 1.1.9
* INSTALL:
NEWS:
@@ -586,7 +594,7 @@ Tue Dec 15 23:16:05 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* INSTALL:
NEWS:
- README
+ README
configure.in:
glib.spec:
docs/glib-config.1: Incremented version
@@ -610,7 +618,7 @@ Tue Dec 15 17:17:46 1998 Owen Taylor <otaylor@redhat.com>
1998-12-15 Havoc Pennington <hp@pobox.com>
* gdate.c (g_date_prepare_to_parse): Solaris has a broken strftime
- that produced garbage output for the test date I was using to
+ that produced garbage output for the test date I was using to
set up the parser. So use a different date that Solaris seems
to like.
@@ -692,7 +700,7 @@ Tue Dec 15 10:40:09 1998 Owen Taylor <otaylor@redhat.com>
* gmain.c (g_main_poll_add_unlocked): first take a new poll record
form the poll_free_list.
-
+
* gmem.c, gstrfuncs.c, gutils.c: Made it MT safe.
* gthraed/*.c: Added copyright headers.
@@ -704,7 +712,7 @@ Tue Dec 15 10:40:09 1998 Owen Taylor <otaylor@redhat.com>
* gthread/gthread.c (g_thread_try_init): Call g_mutex_init().
* gthread/testgthread.c: updated test program.
-
+
Tue Dec 8 18:49:56 1998 Owen Taylor <otaylor@redhat.com>
* Start at adding thread-safety. (mostly work
@@ -762,7 +770,7 @@ Mon Dec 7 23:10:41 PST 1998 Manish Singh <yosh@gimp.org>
1998-12-02 Havoc Pennington <hp@pobox.com>
- * gdate.c (g_date_set_month): If Julian is valid, we have to
+ * gdate.c (g_date_set_month): If Julian is valid, we have to
update the dmy representation before setting the components
of it.
(g_date_set_day): Same.
@@ -770,13 +778,13 @@ Mon Dec 7 23:10:41 PST 1998 Manish Singh <yosh@gimp.org>
1998-12-02 Havoc Pennington <hp@pobox.com>
- * testgdate.c, testgdateparser.c: Two new files. This is kind of
- ugly code, but I want to go ahead and make the tests available.
- It isn't contaminating any other code. :-) Since one of these
- is interactive and the other takes a while to run, I've kept
+ * testgdate.c, testgdateparser.c: Two new files. This is kind of
+ ugly code, but I want to go ahead and make the tests available.
+ It isn't contaminating any other code. :-) Since one of these
+ is interactive and the other takes a while to run, I've kept
them separate from testglib for now.
* Makefile.am: Build gdate test programs.
-
+
1998-12-02 Havoc Pennington <hp@pobox.com>
* gdate.c (g_date_valid): Rely on GDate::dmy and GDate::Julian
@@ -799,7 +807,7 @@ Sat Nov 28 12:53:47 1998 Owen Taylor <otaylor@redhat.com>
1998-12-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
- * glib.h:
+ * glib.h:
* gdate.c: changed `gpointer struct_tm_p' parameter of
g_date_to_struct_tm back to `struct tm *tm' and forward declared
`struct tm' in glib.h; yes, this is nice, we still need not
@@ -812,7 +820,7 @@ Tue Dec 1 23:01:44 CST 1998 Shawn T. Amundson <amundson@gtk.org>
README:
glib.spec:
docs/glib-config.1: Incremented versions to 1.1.6.
-
+
Wed Dec 2 02:10:59 1998 Tim Janik <timj@gtk.org>
* gdate.c: s/time_t/GTime/ and s/g_print/g_message/
@@ -822,13 +830,13 @@ Wed Dec 2 02:10:59 1998 Tim Janik <timj@gtk.org>
g_date_set_time() to time_t, changed struct tm parameter of
g_date_to_struct_tm to `gpointer struct_tm_p'. yes, this is not
nice, but including time.h actually breaks a bunch of code.
-
+
* incremented GLib version to 1.1.6.
1998-11-30 Havoc Pennington <hp@pobox.com>
* gdate.c: New file, implements calendrical calculations.
-
+
* glib.h: Added declarations for GDate module.
Mon Nov 30 07:12:10 1998 Tim Janik <timj@gtk.org>
@@ -853,7 +861,7 @@ Sat Nov 28 01:23:25 1998 Tim Janik <timj@gtk.org>
Thu Nov 26 01:36:20 1998 Tim Janik <timj@gtk.org>
- * glib.h:
+ * glib.h:
* ghash.c: reverted the g_hash_table_set_key_freefunc() addition,
since it's to specialized and needs to be resolved in a generic
fashion.
@@ -889,7 +897,7 @@ Tue Nov 24 14:05:47 EST 1998 Michael K. Johnson <johnsonm@redhat.com>
* glib.h: added GFreeFunc and g_hash_table_set_key_freefunc()
prototype.
* ghash.c: added g_hash_table_set_key_freefunc() implementation.
- Modified the prototypes of the functions g_hash_node_destroy() and
+ Modified the prototypes of the functions g_hash_node_destroy() and
g_hash_nodes_destroy(), and changed the functions that call them
to match the new definitions.
This changes no external interfaces, and should create no binary
@@ -1007,7 +1015,7 @@ Wed Nov 4 15:06:44 PST 1998 Manish Singh <yosh@gimp.org>
1998-11-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
- * glib.h:
+ * glib.h:
* garray.c:
(g_array_remove_index): new function for removing an entry from an
array while preserving the order
@@ -1040,7 +1048,7 @@ Sat Oct 31 20:14:22 PST 1998 Manish Singh <yosh@gimp.org>
* gmessages.c
* gscanner.c: #include <config.h> in here too, for HAVE_UNISTD_H
-
+
1998-11-01 Tor Lillqvist <tml@iki.fi>
* glib.def: Added the new functions.
@@ -1059,7 +1067,7 @@ Sat Oct 31 20:14:22 PST 1998 Manish Singh <yosh@gimp.org>
1998-10-31 Raja R Harinath <harinath@cs.umn.edu>
Land glib-rrh-19981025-0.patch.
- * Makefile.am (glibconfig.h): New rule.
+ * Makefile.am (glibconfig.h): New rule.
(stamp-gc-h): New rule. Generate `glibconfig.h'.
* configure.in (AM_CONFIG_HEADER): It is now `config.h'.
(HAVE_BROKEN_WCTYPE): On Solaris, look for iswalnum in -lw before
@@ -1072,7 +1080,7 @@ Sat Oct 31 20:14:22 PST 1998 Manish Singh <yosh@gimp.org>
* gmem.c: Likewise.
* gstrfuncs.c: Likewise.
* gutils.c: Likewise.
-
+
Sat Oct 31 05:08:26 1998 Tim Janik <timj@gtk.org>
* glib.h: removed old G_ENUM(), G_FLAGS(), G_NV() and G_SV() macros.
@@ -1099,7 +1107,7 @@ Tue Oct 27 07:25:53 1998 Tim Janik <timj@gtk.org>
filedescriptor, which hooks onto the current scanning position.
(this became neccessary with the implementation of buffered
reads).
- (g_scanner_input_file):
+ (g_scanner_input_file):
(g_scanner_input_text): automatically blow the read ahead buffer.
(g_scanner_get_char): blow the read ahead buffer when the end of
input is reached, i.e. a '\000' char is read.
@@ -1156,7 +1164,7 @@ Tue Oct 27 03:00:50 1998 Tim Janik <timj@gtk.org>
* glib.h (struct dirent): use lower case structure members.
- * glib.h:
+ * glib.h:
* makefile.lcc:
* makefile.msc:
s/COMPILING_GLIB/GLIB_COMPILATION/
@@ -1220,7 +1228,7 @@ Tue Oct 27 03:00:50 1998 Tim Janik <timj@gtk.org>
Conditionalized inclusion of unistd.h. Added changes for
Microsoft C. Added CR to the skipped character set. Added small
workaround for MSC compiler bug in g_scanner_cur_value.
-
+
* gstrfuncs.c:
Added the function g_strescape, which escapes the backslash
character. Needed especially when printing Windows filenames.
@@ -1240,19 +1248,19 @@ Tue Oct 27 03:00:50 1998 Tim Janik <timj@gtk.org>
* makefile.lcc makefile.msc:
New files. Compiler-specific makefiles for LCC-Win32 and
Microsoft C. Only Microsoft C is actually supported currently.
-
+
* testglib.c:
Added pathname check cases for Windows. Added workaround for
bug in the Microsoft runtime library. Improved some tests a bit.
-
+
Sun Oct 25 01:24:01 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* Released GLib 1.1.4
* docs/Makefile.am:
* docs/.cvsignore
- * docs/glib-config.1:
- * docs/glib.texi: Moved docs from gtk and created glib-config.1
+ * docs/glib-config.1:
+ * docs/glib.texi: Moved docs from gtk and created glib-config.1
from gtk-config.1 in gtk
* configure.in:
@@ -1262,17 +1270,17 @@ Sun Oct 25 01:24:01 CST 1998 Shawn T. Amundson <amundson@gtk.org>
distribution. Added in a 'sanity' rule.
* NEWS:
- * README:
+ * README:
* INSTALL: Updated for the release
Sun Oct 25 07:30:10 1998 Tim Janik <timj@gtk.org>
* gscanner.c:
- (g_scanner_peek_next_char):
+ (g_scanner_peek_next_char):
(g_scanner_get_char): no more characters are available if read() returns
anything less than 1, not only on 0 return.
- * glib.h:
+ * glib.h:
* gstrfuncs.c: final API cleanup of string arrays to suit sopwith's
argument order requirements.
(g_strsplit): renamed from g_str_array_split().
@@ -1300,7 +1308,7 @@ Wed Oct 21 19:22:58 1998 Tim Janik <timj@gtk.org>
Wed Oct 21 17:03:05 1998 Tim Janik <timj@gtk.org>
- * glib.h:
+ * glib.h:
* gstrfuncs.c: API cleanups of the new g_str* functions for consistency
with the existing naming scheme for g_str* functions. grouped the g_str*
functions that will return a newly allocated string seperatedly. all of
@@ -1452,7 +1460,7 @@ Sun Sep 20 02:09:44 1998 Josh MacDonald <jmacd@axis.hip.berkeley.edu>
* glib.h: New function g_hash_table_foreach_remove is similar to
g_hash_table_foreach, but the callback's return value indicates
- whether to remove the element (if TRUE) or not (if FALSE).
+ whether to remove the element (if TRUE) or not (if FALSE).
Returns the number of elements deleted.
Fri Sep 18 11:31:50 PDT 1998 Manish Singh <yosh@gimp.org>
@@ -1528,7 +1536,7 @@ Mon Sep 7 07:53:21 1998 Tim Janik <timj@gtk.org>
* glib.h: inlining hassle. for compilers that don't allow the `inline'
keyword, mostly because of strict ANSI C compliance or dumbness, we try
- to fall back to either `__inline__' or `__inline'.
+ to fall back to either `__inline__' or `__inline'.
we define G_CAN_INLINE, if the compiler seems to be actually *capable*
to do function inlining, in which case inline function bodys do make
sense. we also define G_INLINE_FUNC to properly export the function
@@ -1566,7 +1574,7 @@ Sat Sep 5 18:03:36 1998 Tom Tromey <tromey@cygnus.com>
Sat Sep 5 04:40:02 1998 Tim Janik <timj@gtk.org>
- * glib.h:
+ * glib.h:
(g_chunk_new0): use g_mem_chunk_alloc0() to allocate the memchunk,
so the correct size of the memchunk is allocated with 0's and not
a memory portion of the size of the desired type.
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index 2c49d6907..55168cc5a 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -1,3 +1,11 @@
+Tue Jan 19 00:44:24 1999 Josh MacDonald <jmacd@axis.hip.berkeley.edu>
+
+ * gstrfuncs.c (g_strsignal): The "extern char* sys_siglist"
+ declaration breaks systems with different declarations, like
+ mine (FreeBSD). So, I added a configuration variable to decide
+ whether the declaration is neccesary. Change also appears on
+ line 275 of configure.in.
+
Sun Jan 17 17:13:54 CST 1999 Shawn T. Amundson <amundson@gtk.org>
* Released GLib 1.1.13
@@ -156,7 +164,7 @@ Tue Jan 12 09:57:06 PST 1999 Manish Singh <yosh@gimp.org>
* gdate.c: Include config.h to get HAVE_LOCALTIME_R macro.
* configure.in: Moved function check back to the place, they've
- been before.
+ been before.
1999-01-11 Jeff Garzik <jgarzik@pobox.com>
@@ -267,7 +275,7 @@ Mon Jan 4 14:38:11 1999 Tim Janik <timj@gtk.org>
Mon Jan 4 02:58:13 CST 1999 Shawn T. Amundson <amundson@gtk.org>
- * Released GLib 1.1.12
+ * Released GLib 1.1.12
* INSTALL:
NEWS:
@@ -333,9 +341,9 @@ Fri Jan 1 20:43:19 EST 1999 Jeff Garzik <jgarzik@pobox.com>
Sat Jan 2 02:20:59 1999 Tim Janik <timj@gtk.org>
* ghook.c:
- (g_hook_list_invoke):
- (g_hook_list_invoke_check):
- (g_hook_list_marshal_check):
+ (g_hook_list_invoke):
+ (g_hook_list_invoke_check):
+ (g_hook_list_marshal_check):
(g_hook_list_marshal): avoid unneccessary extra hook referencing (the
explicit hook referencing became unneccessarry with my changes from
Mon Dec 21 21:48:29 1998).
@@ -358,7 +366,7 @@ Fri Jan 1 17:09:19 EST 1999 Jeff Garzik <jgarzik@pobox.com>
Wed Dec 30 18:24:57 CST 1998 Shawn T. Amundson <amundson@gtk.org>
- * Released GLib 1.1.11
+ * Released GLib 1.1.11
* INSTALL:
NEWS:
@@ -368,7 +376,7 @@ Wed Dec 30 18:24:57 CST 1998 Shawn T. Amundson <amundson@gtk.org>
1998-12-30 Raja R Harinath <harinath@cs.umn.edu>
- * glib.h (G[U]INT64_FROM_{LE,BE}):
+ * glib.h (G[U]INT64_FROM_{LE,BE}):
Define to G[U]INT64_TO_{LE,BE}, not G[U]INT32_TO_{LE,BE}.
Fri Dec 25 19:56:33 PST 1998 Manish Singh <yosh@gimp.org>
@@ -398,7 +406,7 @@ Tue Dec 22 10:32:11 1998 Tim Janik <timj@gtk.org>
Mon Dec 21 21:48:29 1998 Tim Janik <timj@gtk.org>
- * glib.h:
+ * glib.h:
* gmain.c: there was a reference count race for hooks during invocation
loops. since all (known) hook loop implementations, do currently start
out with g_hook_first_valid() and iterate with g_hook_next_valid(),
@@ -458,7 +466,7 @@ Fri Dec 18 12:51:39 1998 Owen Taylor <otaylor@redhat.com>
Fri Dec 18 00:03:17 1998 Tim Janik <timj@gtk.org>
- * glib.h:
+ * glib.h:
* gmain.c:
(g_main_is_running): new function to check whether a main loop has been
quitted.
@@ -486,11 +494,11 @@ Thu Dec 17 23:43:47 1998 Tim Janik <timj@gtk.org>
* garray.c (g_ptr_array_remove_index): Fixed size in g_memmove,
reported by Alexander Larsson <alla@lysator.liu.se>.
- * gmem.c: Fixed bug, that made compile fail for -DENABLE_MEM_PROFILE.
+ * gmem.c: Fixed bug, that made compile fail for -DENABLE_MEM_PROFILE.
Wed Dec 16 23:04:26 CST 1998 Shawn T. Amundson <amundson@gtk.org>
- * Released GLib 1.1.9
+ * Released GLib 1.1.9
* INSTALL:
NEWS:
@@ -586,7 +594,7 @@ Tue Dec 15 23:16:05 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* INSTALL:
NEWS:
- README
+ README
configure.in:
glib.spec:
docs/glib-config.1: Incremented version
@@ -610,7 +618,7 @@ Tue Dec 15 17:17:46 1998 Owen Taylor <otaylor@redhat.com>
1998-12-15 Havoc Pennington <hp@pobox.com>
* gdate.c (g_date_prepare_to_parse): Solaris has a broken strftime
- that produced garbage output for the test date I was using to
+ that produced garbage output for the test date I was using to
set up the parser. So use a different date that Solaris seems
to like.
@@ -692,7 +700,7 @@ Tue Dec 15 10:40:09 1998 Owen Taylor <otaylor@redhat.com>
* gmain.c (g_main_poll_add_unlocked): first take a new poll record
form the poll_free_list.
-
+
* gmem.c, gstrfuncs.c, gutils.c: Made it MT safe.
* gthraed/*.c: Added copyright headers.
@@ -704,7 +712,7 @@ Tue Dec 15 10:40:09 1998 Owen Taylor <otaylor@redhat.com>
* gthread/gthread.c (g_thread_try_init): Call g_mutex_init().
* gthread/testgthread.c: updated test program.
-
+
Tue Dec 8 18:49:56 1998 Owen Taylor <otaylor@redhat.com>
* Start at adding thread-safety. (mostly work
@@ -762,7 +770,7 @@ Mon Dec 7 23:10:41 PST 1998 Manish Singh <yosh@gimp.org>
1998-12-02 Havoc Pennington <hp@pobox.com>
- * gdate.c (g_date_set_month): If Julian is valid, we have to
+ * gdate.c (g_date_set_month): If Julian is valid, we have to
update the dmy representation before setting the components
of it.
(g_date_set_day): Same.
@@ -770,13 +778,13 @@ Mon Dec 7 23:10:41 PST 1998 Manish Singh <yosh@gimp.org>
1998-12-02 Havoc Pennington <hp@pobox.com>
- * testgdate.c, testgdateparser.c: Two new files. This is kind of
- ugly code, but I want to go ahead and make the tests available.
- It isn't contaminating any other code. :-) Since one of these
- is interactive and the other takes a while to run, I've kept
+ * testgdate.c, testgdateparser.c: Two new files. This is kind of
+ ugly code, but I want to go ahead and make the tests available.
+ It isn't contaminating any other code. :-) Since one of these
+ is interactive and the other takes a while to run, I've kept
them separate from testglib for now.
* Makefile.am: Build gdate test programs.
-
+
1998-12-02 Havoc Pennington <hp@pobox.com>
* gdate.c (g_date_valid): Rely on GDate::dmy and GDate::Julian
@@ -799,7 +807,7 @@ Sat Nov 28 12:53:47 1998 Owen Taylor <otaylor@redhat.com>
1998-12-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
- * glib.h:
+ * glib.h:
* gdate.c: changed `gpointer struct_tm_p' parameter of
g_date_to_struct_tm back to `struct tm *tm' and forward declared
`struct tm' in glib.h; yes, this is nice, we still need not
@@ -812,7 +820,7 @@ Tue Dec 1 23:01:44 CST 1998 Shawn T. Amundson <amundson@gtk.org>
README:
glib.spec:
docs/glib-config.1: Incremented versions to 1.1.6.
-
+
Wed Dec 2 02:10:59 1998 Tim Janik <timj@gtk.org>
* gdate.c: s/time_t/GTime/ and s/g_print/g_message/
@@ -822,13 +830,13 @@ Wed Dec 2 02:10:59 1998 Tim Janik <timj@gtk.org>
g_date_set_time() to time_t, changed struct tm parameter of
g_date_to_struct_tm to `gpointer struct_tm_p'. yes, this is not
nice, but including time.h actually breaks a bunch of code.
-
+
* incremented GLib version to 1.1.6.
1998-11-30 Havoc Pennington <hp@pobox.com>
* gdate.c: New file, implements calendrical calculations.
-
+
* glib.h: Added declarations for GDate module.
Mon Nov 30 07:12:10 1998 Tim Janik <timj@gtk.org>
@@ -853,7 +861,7 @@ Sat Nov 28 01:23:25 1998 Tim Janik <timj@gtk.org>
Thu Nov 26 01:36:20 1998 Tim Janik <timj@gtk.org>
- * glib.h:
+ * glib.h:
* ghash.c: reverted the g_hash_table_set_key_freefunc() addition,
since it's to specialized and needs to be resolved in a generic
fashion.
@@ -889,7 +897,7 @@ Tue Nov 24 14:05:47 EST 1998 Michael K. Johnson <johnsonm@redhat.com>
* glib.h: added GFreeFunc and g_hash_table_set_key_freefunc()
prototype.
* ghash.c: added g_hash_table_set_key_freefunc() implementation.
- Modified the prototypes of the functions g_hash_node_destroy() and
+ Modified the prototypes of the functions g_hash_node_destroy() and
g_hash_nodes_destroy(), and changed the functions that call them
to match the new definitions.
This changes no external interfaces, and should create no binary
@@ -1007,7 +1015,7 @@ Wed Nov 4 15:06:44 PST 1998 Manish Singh <yosh@gimp.org>
1998-11-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
- * glib.h:
+ * glib.h:
* garray.c:
(g_array_remove_index): new function for removing an entry from an
array while preserving the order
@@ -1040,7 +1048,7 @@ Sat Oct 31 20:14:22 PST 1998 Manish Singh <yosh@gimp.org>
* gmessages.c
* gscanner.c: #include <config.h> in here too, for HAVE_UNISTD_H
-
+
1998-11-01 Tor Lillqvist <tml@iki.fi>
* glib.def: Added the new functions.
@@ -1059,7 +1067,7 @@ Sat Oct 31 20:14:22 PST 1998 Manish Singh <yosh@gimp.org>
1998-10-31 Raja R Harinath <harinath@cs.umn.edu>
Land glib-rrh-19981025-0.patch.
- * Makefile.am (glibconfig.h): New rule.
+ * Makefile.am (glibconfig.h): New rule.
(stamp-gc-h): New rule. Generate `glibconfig.h'.
* configure.in (AM_CONFIG_HEADER): It is now `config.h'.
(HAVE_BROKEN_WCTYPE): On Solaris, look for iswalnum in -lw before
@@ -1072,7 +1080,7 @@ Sat Oct 31 20:14:22 PST 1998 Manish Singh <yosh@gimp.org>
* gmem.c: Likewise.
* gstrfuncs.c: Likewise.
* gutils.c: Likewise.
-
+
Sat Oct 31 05:08:26 1998 Tim Janik <timj@gtk.org>
* glib.h: removed old G_ENUM(), G_FLAGS(), G_NV() and G_SV() macros.
@@ -1099,7 +1107,7 @@ Tue Oct 27 07:25:53 1998 Tim Janik <timj@gtk.org>
filedescriptor, which hooks onto the current scanning position.
(this became neccessary with the implementation of buffered
reads).
- (g_scanner_input_file):
+ (g_scanner_input_file):
(g_scanner_input_text): automatically blow the read ahead buffer.
(g_scanner_get_char): blow the read ahead buffer when the end of
input is reached, i.e. a '\000' char is read.
@@ -1156,7 +1164,7 @@ Tue Oct 27 03:00:50 1998 Tim Janik <timj@gtk.org>
* glib.h (struct dirent): use lower case structure members.
- * glib.h:
+ * glib.h:
* makefile.lcc:
* makefile.msc:
s/COMPILING_GLIB/GLIB_COMPILATION/
@@ -1220,7 +1228,7 @@ Tue Oct 27 03:00:50 1998 Tim Janik <timj@gtk.org>
Conditionalized inclusion of unistd.h. Added changes for
Microsoft C. Added CR to the skipped character set. Added small
workaround for MSC compiler bug in g_scanner_cur_value.
-
+
* gstrfuncs.c:
Added the function g_strescape, which escapes the backslash
character. Needed especially when printing Windows filenames.
@@ -1240,19 +1248,19 @@ Tue Oct 27 03:00:50 1998 Tim Janik <timj@gtk.org>
* makefile.lcc makefile.msc:
New files. Compiler-specific makefiles for LCC-Win32 and
Microsoft C. Only Microsoft C is actually supported currently.
-
+
* testglib.c:
Added pathname check cases for Windows. Added workaround for
bug in the Microsoft runtime library. Improved some tests a bit.
-
+
Sun Oct 25 01:24:01 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* Released GLib 1.1.4
* docs/Makefile.am:
* docs/.cvsignore
- * docs/glib-config.1:
- * docs/glib.texi: Moved docs from gtk and created glib-config.1
+ * docs/glib-config.1:
+ * docs/glib.texi: Moved docs from gtk and created glib-config.1
from gtk-config.1 in gtk
* configure.in:
@@ -1262,17 +1270,17 @@ Sun Oct 25 01:24:01 CST 1998 Shawn T. Amundson <amundson@gtk.org>
distribution. Added in a 'sanity' rule.
* NEWS:
- * README:
+ * README:
* INSTALL: Updated for the release
Sun Oct 25 07:30:10 1998 Tim Janik <timj@gtk.org>
* gscanner.c:
- (g_scanner_peek_next_char):
+ (g_scanner_peek_next_char):
(g_scanner_get_char): no more characters are available if read() returns
anything less than 1, not only on 0 return.
- * glib.h:
+ * glib.h:
* gstrfuncs.c: final API cleanup of string arrays to suit sopwith's
argument order requirements.
(g_strsplit): renamed from g_str_array_split().
@@ -1300,7 +1308,7 @@ Wed Oct 21 19:22:58 1998 Tim Janik <timj@gtk.org>
Wed Oct 21 17:03:05 1998 Tim Janik <timj@gtk.org>
- * glib.h:
+ * glib.h:
* gstrfuncs.c: API cleanups of the new g_str* functions for consistency
with the existing naming scheme for g_str* functions. grouped the g_str*
functions that will return a newly allocated string seperatedly. all of
@@ -1452,7 +1460,7 @@ Sun Sep 20 02:09:44 1998 Josh MacDonald <jmacd@axis.hip.berkeley.edu>
* glib.h: New function g_hash_table_foreach_remove is similar to
g_hash_table_foreach, but the callback's return value indicates
- whether to remove the element (if TRUE) or not (if FALSE).
+ whether to remove the element (if TRUE) or not (if FALSE).
Returns the number of elements deleted.
Fri Sep 18 11:31:50 PDT 1998 Manish Singh <yosh@gimp.org>
@@ -1528,7 +1536,7 @@ Mon Sep 7 07:53:21 1998 Tim Janik <timj@gtk.org>
* glib.h: inlining hassle. for compilers that don't allow the `inline'
keyword, mostly because of strict ANSI C compliance or dumbness, we try
- to fall back to either `__inline__' or `__inline'.
+ to fall back to either `__inline__' or `__inline'.
we define G_CAN_INLINE, if the compiler seems to be actually *capable*
to do function inlining, in which case inline function bodys do make
sense. we also define G_INLINE_FUNC to properly export the function
@@ -1566,7 +1574,7 @@ Sat Sep 5 18:03:36 1998 Tom Tromey <tromey@cygnus.com>
Sat Sep 5 04:40:02 1998 Tim Janik <timj@gtk.org>
- * glib.h:
+ * glib.h:
(g_chunk_new0): use g_mem_chunk_alloc0() to allocate the memchunk,
so the correct size of the memchunk is allocated with 0's and not
a memory portion of the size of the desired type.
diff --git a/acconfig.h b/acconfig.h
index fb2903349..1c0162a10 100644
--- a/acconfig.h
+++ b/acconfig.h
@@ -65,6 +65,7 @@
#undef NO_FD_SET
#undef NO_SYS_ERRLIST
#undef NO_SYS_SIGLIST
+#undef NO_SYS_SIGLIST_DECL
#undef WITH_SYMBOL_UNDERSCORE
diff --git a/configure.in b/configure.in
index 9e345c18c..be17aa3f9 100644
--- a/configure.in
+++ b/configure.in
@@ -178,7 +178,7 @@ AC_CHECK_SIZEOF(int)
AC_CHECK_SIZEOF(void *)
AC_CHECK_SIZEOF(long long)
-dnl long doubles were not used, and a portability problem
+dnl long doubles were not used, and a portability problem
dnl AC_C_LONG_DOUBLE
AC_C_CONST
@@ -265,13 +265,23 @@ fi
AC_MSG_CHECKING(for sys_siglist)
AC_TRY_LINK(, [
extern char *sys_siglist[];
-sys_siglist[1][0] = 0;
+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)
fi
+# Check for sys_siglist decl (see Tue Jan 19 00:44:24 1999 in changelog)
+AC_MSG_CHECKING(for sys_siglist declaration)
+AC_TRY_COMPILE([#include <signal.h>], [
+strlen (sys_siglist[0]);
+], glib_ok=yes, glib_ok=no)
+AC_MSG_RESULT($glib_ok)
+if test $glib_ok = yes; then
+ AC_DEFINE(NO_SYS_SIGLIST_DECL)
+fi
+
# Check if <sys/select.h> needs to be included for fd_set
AC_MSG_CHECKING([for fd_set])
AC_TRY_COMPILE([#include <sys/types.h>],
@@ -292,7 +302,7 @@ fi
# These are used only in GDK (gdki18n.h)
# This stuff is here only so that we can define these
# things in glibconfig.h. If gtk+ started using an installed
-# gdkconfig.h file, then the definitions would belong there.
+# gdkconfig.h file, then the definitions would belong there.
# Check for wchar.h
@@ -490,19 +500,19 @@ dnl *** check whether we need preceeding underscores
f1 = dlsym (handle, "glib_underscore_test");
f2 = dlsym (handle, "_glib_underscore_test");
} return (!f2 || f1);
- }],
- glib_cv_uscore=yes,
+ }],
+ glib_cv_uscore=yes,
glib_cv_uscore=no,
)
rm -f plugin.c plugin.o plugin.lo
])
- AC_MSG_RESULT($glib_cv_uscore)
+ AC_MSG_RESULT($glib_cv_uscore)
if test "x$glib_cv_uscore" = "xyes"; then
G_MODULE_NEED_USCORE=1
else
G_MODULE_NEED_USCORE=0
- fi
-
+ fi
+
LDFLAGS="$LDFLAGS_orig"
dnl *** check for having dlerror()
AC_CHECK_FUNC(dlerror,
@@ -548,13 +558,13 @@ THREAD_NO_IMPLEMENTATION="You do not have any known thread system on your
FLAG_DOES_NOT_WORK="I can't find the MACRO, that enables thread safety on your
platform (normaly it's "_REENTRANT"). I'll not use any flag on
- compilation now, but then your programs might not work.
+ compilation now, but then your programs might not work.
Please provide information on how it is done on your system."
LIBS_NOT_FOUND_1="I can't find the libraries for the thread implementation
"
-LIBS_NOT_FOUND_2=". Please choose another thread implementation or
+LIBS_NOT_FOUND_2=". Please choose another thread implementation or
provide informationon your thread implementation."
dnl determination of thread implementation
@@ -583,7 +593,7 @@ if test "x$want_threads" = xyes || test "x$want_threads" = xposix; then
fi
dnl ********** DG/UX ************
if test "x$have_threads" = xnone; then
- AC_CHECK_LIB(thread, __d10_pthread_attr_init,
+ AC_CHECK_LIB(thread, __d10_pthread_attr_init,
have_threads=posix)
fi
fi
@@ -614,7 +624,7 @@ case $have_threads in
posix)
G_THREAD_LIBS=error
AC_CHECK_LIB(pthread, pthread_attr_init,
- G_THREAD_LIBS="-lpthread")
+ G_THREAD_LIBS="-lpthread")
if test "x$G_THREAD_LIBS" = xerror; then
AC_CHECK_LIB(pthreads, pthread_attr_init,
G_THREAD_LIBS="-lpthreads")
@@ -628,7 +638,7 @@ case $have_threads in
fi
dnl ********** DG/UX ************
if test "x$G_THREAD_LIBS" = xerror; then
- AC_CHECK_LIB(thread, __d10_pthread_attr_init,
+ AC_CHECK_LIB(thread, __d10_pthread_attr_init,
G_THREAD_LIBS="-lthread"
G_THREAD_CFLAGS="-D_POSIX4A_DRAFT10_SOURCE")
fi
@@ -678,7 +688,7 @@ G_THREAD_CFLAGS="$G_THREAD_CFLAGS -D_REENTRANT" # good default guess
case $host in
*-aix*)
G_THREAD_CFLAGS="$G_THREAD_CFLAGS -D_THREAD_SAFE"
- if test x"$GCC" = xyes; then
+ if test x"$GCC" = xyes; then
G_THREAD_CFLAGS="$G_THREAD_CFLAGS -mthreads"
fi
;;
@@ -690,11 +700,11 @@ G_THREAD_CFLAGS="$G_THREAD_CFLAGS -D_REENTRANT" # good default guess
;;
esac
- # if we are not finding the ctime_r function, then we probably are
+ # if we are not finding the ctime_r function, then we probably are
# not using the proper multithread flag
old_CPPFLAGS=$CPPFLAGS
CPPFLAGS="$CPPFLAGS $G_THREAD_CFLAGS"
- AC_EGREP_HEADER([[^a-zA-Z_]ctime_r[^a-zA-Z_]], time.h, ,
+ AC_EGREP_HEADER([[^a-zA-Z_]ctime_r[^a-zA-Z_]], time.h, ,
G_THREAD_CFLAGS=
AC_MSG_WARN($FLAG_DOES_NOT_WORK))
CPPFLAGS=$old_CPPFLAGS
@@ -757,7 +767,7 @@ AC_OUTPUT_COMMANDS([
##
## Case 1 is difficult. We know that `automake' sets one of
## CONFIG_FILES or CONFIG_HEADERS to empty. This heuristic works
-## only when AM_CONFIG_HEADER is set, however.
+## only when AM_CONFIG_HEADER is set, however.
if test -n "${CONFIG_FILES}" && test -n "${CONFIG_HEADERS}"; then
# Both CONFIG_FILES and CONFIG_HEADERS are non-empty ==> Case 1
@@ -784,10 +794,10 @@ _______EOF
if test x$glib_limits_h = xyes; then
echo '#include <limits.h>' >> $outfile
- fi
+ fi
if test x$glib_float_h = xyes; then
echo '#include <float.h>' >> $outfile
- fi
+ fi
if test x$glib_values_h = xyes; then
echo '#include <values.h>' >> $outfile
fi
@@ -834,7 +844,7 @@ _______EOF
typedef signed $gint32 gint32;
typedef unsigned $gint32 guint32;
_______EOF
- fi
+ fi
if test -n "$gint64"; then
@@ -846,9 +856,9 @@ ${glib_extension}typedef unsigned $gint64 guint64;
#define G_GINT64_CONSTANT(val) $gint64_constant
_______EOF
- fi
+ fi
+
-
if test -z "$glib_unknown_void_p"; then
cat >>$outfile <<_______EOF
@@ -908,7 +918,7 @@ typedef struct _GMutex* GStaticMutex;
#define g_static_mutex_get_mutex(mutex) (g_static_mutex_get_mutex_impl (&(mutex)))
_______EOF
fi
-
+
echo >>$outfile
g_bit_sizes="16 32"
if test -n "$gint64"; then
@@ -939,8 +949,8 @@ _______EOF
if test -r glibconfig-sysdefs.h; then
cat glibconfig-sysdefs.h >>$outfile
fi
-
-
+
+
cat >>$outfile <<_______EOF
$glib_wc
diff --git a/glib/gstrfuncs.c b/glib/gstrfuncs.c
index 268d2831c..dde990159 100644
--- a/glib/gstrfuncs.c
+++ b/glib/gstrfuncs.c
@@ -17,7 +17,7 @@
* Boston, MA 02111-1307, USA.
*/
-/*
+/*
* MT safe
*/
@@ -41,7 +41,7 @@ gchar*
g_strdup (const gchar *str)
{
gchar *new_str;
-
+
if (str)
{
new_str = g_new (char, strlen (str) + 1);
@@ -49,7 +49,7 @@ g_strdup (const gchar *str)
}
else
new_str = NULL;
-
+
return new_str;
}
@@ -142,9 +142,9 @@ g_strconcat (const gchar *string1, ...)
va_list args;
gchar *s;
gchar *concat;
-
+
g_return_val_if_fail (string1 != NULL, NULL);
-
+
l = 1 + strlen (string1);
va_start (args, string1);
s = va_arg (args, gchar*);
@@ -154,10 +154,10 @@ g_strconcat (const gchar *string1, ...)
s = va_arg (args, gchar*);
}
va_end (args);
-
+
concat = g_new (gchar, l);
concat[0] = 0;
-
+
strcat (concat, string1);
va_start (args, string1);
s = va_arg (args, gchar*);
@@ -167,7 +167,7 @@ g_strconcat (const gchar *string1, ...)
s = va_arg (args, gchar*);
}
va_end (args);
-
+
return concat;
}
@@ -179,23 +179,23 @@ g_strtod (const gchar *nptr,
gchar *fail_pos_2;
gdouble val_1;
gdouble val_2 = 0;
-
+
g_return_val_if_fail (nptr != NULL, 0);
-
+
fail_pos_1 = NULL;
fail_pos_2 = NULL;
-
+
val_1 = strtod (nptr, &fail_pos_1);
-
+
if (fail_pos_1 && fail_pos_1[0] != 0)
{
gchar *old_locale;
-
+
old_locale = setlocale (LC_NUMERIC, "C");
val_2 = strtod (nptr, &fail_pos_2);
setlocale (LC_NUMERIC, old_locale);
}
-
+
if (!fail_pos_1 || fail_pos_1[0] == 0 || fail_pos_1 >= fail_pos_2)
{
if (endptr)
@@ -213,9 +213,9 @@ g_strtod (const gchar *nptr,
gchar*
g_strerror (gint errnum)
{
- static GStaticPrivate msg_private = G_STATIC_PRIVATE_INIT;
+ static GStaticPrivate msg_private = G_STATIC_PRIVATE_INIT;
char *msg;
-
+
#ifdef HAVE_STRERROR
return strerror (errnum);
#elif NO_SYS_ERRLIST
@@ -636,7 +636,7 @@ g_strerror (gint errnum)
#else /* NO_SYS_ERRLIST */
extern int sys_nerr;
extern char *sys_errlist[];
-
+
if ((errnum > 0) && (errnum <= sys_nerr))
return sys_errlist [errnum];
#endif /* NO_SYS_ERRLIST */
@@ -655,9 +655,9 @@ g_strerror (gint errnum)
gchar*
g_strsignal (gint signum)
{
- static GStaticPrivate msg_private = G_STATIC_PRIVATE_INIT;
+ static GStaticPrivate msg_private = G_STATIC_PRIVATE_INIT;
char *msg;
-
+
#ifdef HAVE_STRSIGNAL
extern char *strsignal (int sig);
return strsignal (signum);
@@ -759,8 +759,13 @@ g_strsignal (gint signum)
#endif
}
#else /* NO_SYS_SIGLIST */
+
+#ifndef NO_SYS_SIGLIST_DECL
+ /*(see Tue Jan 19 00:44:24 1999 in changelog)*/
extern char *sys_siglist[];
- return sys_siglist [signum];
+#endif
+
+ return (char*) /* this function should return const --josh */ sys_siglist [signum];
#endif /* NO_SYS_SIGLIST */
msg = g_static_private_get (&msg_private);
@@ -769,7 +774,7 @@ g_strsignal (gint signum)
msg = g_new( gchar, 64 );
g_static_private_set (&msg_private, msg, g_free);
}
-
+
sprintf (msg, "unknown signal (%d)", signum);
return msg;
}
@@ -779,25 +784,25 @@ g_printf_string_upper_bound (const gchar* format,
va_list args)
{
guint len = 1;
-
+
while (*format)
{
gboolean long_int = FALSE;
gboolean extra_long = FALSE;
gchar c;
-
+
c = *format++;
-
+
if (c == '%')
{
gboolean done = FALSE;
-
+
while (*format && !done)
{
switch (*format++)
{
gchar *string_arg;
-
+
case '*':
len += va_arg (args, int);
break;
@@ -907,7 +912,7 @@ g_printf_string_upper_bound (const gchar* format,
else
len += 1;
}
-
+
return len;
}
@@ -915,11 +920,11 @@ void
g_strdown (gchar *string)
{
register gchar *s;
-
+
g_return_if_fail (string != NULL);
-
+
s = string;
-
+
while (*s)
{
*s = tolower (*s);
@@ -931,11 +936,11 @@ void
g_strup (gchar *string)
{
register gchar *s;
-
+
g_return_if_fail (string != NULL);
-
+
s = string;
-
+
while (*s)
{
*s = toupper (*s);
@@ -947,18 +952,18 @@ void
g_strreverse (gchar *string)
{
g_return_if_fail (string != NULL);
-
+
if (*string)
{
register gchar *h, *t;
-
+
h = string;
t = string + strlen (string) - 1;
-
+
while (h < t)
{
register gchar c;
-
+
c = *h;
*h = *t;
h++;
@@ -976,7 +981,7 @@ g_strcasecmp (const gchar *s1,
return strcasecmp (s1, s2);
#else
gint c1, c2;
-
+
g_return_val_if_fail (s1 != NULL, 0);
g_return_val_if_fail (s2 != NULL, 0);
@@ -991,7 +996,7 @@ g_strcasecmp (const gchar *s1,
return (c1 - c2);
s1++; s2++;
}
-
+
return (((gint)(guchar) *s1) - ((gint)(guchar) *s2));
#endif
}
@@ -1005,7 +1010,7 @@ g_strncasecmp (const gchar *s1,
return strncasecmp (s1, s2, n);
#else
gint c1, c2;
-
+
g_return_val_if_fail (s1 != NULL, 0);
g_return_val_if_fail (s2 != NULL, 0);
@@ -1034,12 +1039,12 @@ g_strdelimit (gchar *string,
gchar new_delim)
{
register gchar *c;
-
+
g_return_val_if_fail (string != NULL, NULL);
-
+
if (!delimiters)
delimiters = G_STR_DELIMITERS;
-
+
for (c = string; *c; c++)
{
if (strchr (delimiters, *c))
@@ -1132,12 +1137,12 @@ g_strsplit (const gchar *string,
if (s)
{
guint delimiter_len = strlen (delimiter);
-
+
do
{
guint len;
gchar *new_string;
-
+
len = s - string;
new_string = g_new (gchar, len + 1);
strncpy (new_string, string, len);
@@ -1154,7 +1159,7 @@ g_strsplit (const gchar *string,
n++;
string_list = g_slist_prepend (string_list, g_strdup (string));
}
-
+
str_array = g_new (gchar*, n);
i = n - 1;
@@ -1187,7 +1192,7 @@ g_strjoinv (const gchar *separator,
gchar **str_array)
{
gchar *string;
-
+
g_return_val_if_fail (str_array != NULL, NULL);
if(separator == NULL)
@@ -1202,7 +1207,7 @@ g_strjoinv (const gchar *separator,
len = 1 + strlen (str_array[0]);
for(i = 1; str_array[i] != NULL; i++)
len += separator_len + strlen(str_array[i]);
-
+
string = g_new (gchar, len);
*string = 0;
strcat (string, *str_array);
diff --git a/gstrfuncs.c b/gstrfuncs.c
index 268d2831c..dde990159 100644
--- a/gstrfuncs.c
+++ b/gstrfuncs.c
@@ -17,7 +17,7 @@
* Boston, MA 02111-1307, USA.
*/
-/*
+/*
* MT safe
*/
@@ -41,7 +41,7 @@ gchar*
g_strdup (const gchar *str)
{
gchar *new_str;
-
+
if (str)
{
new_str = g_new (char, strlen (str) + 1);
@@ -49,7 +49,7 @@ g_strdup (const gchar *str)
}
else
new_str = NULL;
-
+
return new_str;
}
@@ -142,9 +142,9 @@ g_strconcat (const gchar *string1, ...)
va_list args;
gchar *s;
gchar *concat;
-
+
g_return_val_if_fail (string1 != NULL, NULL);
-
+
l = 1 + strlen (string1);
va_start (args, string1);
s = va_arg (args, gchar*);
@@ -154,10 +154,10 @@ g_strconcat (const gchar *string1, ...)
s = va_arg (args, gchar*);
}
va_end (args);
-
+
concat = g_new (gchar, l);
concat[0] = 0;
-
+
strcat (concat, string1);
va_start (args, string1);
s = va_arg (args, gchar*);
@@ -167,7 +167,7 @@ g_strconcat (const gchar *string1, ...)
s = va_arg (args, gchar*);
}
va_end (args);
-
+
return concat;
}
@@ -179,23 +179,23 @@ g_strtod (const gchar *nptr,
gchar *fail_pos_2;
gdouble val_1;
gdouble val_2 = 0;
-
+
g_return_val_if_fail (nptr != NULL, 0);
-
+
fail_pos_1 = NULL;
fail_pos_2 = NULL;
-
+
val_1 = strtod (nptr, &fail_pos_1);
-
+
if (fail_pos_1 && fail_pos_1[0] != 0)
{
gchar *old_locale;
-
+
old_locale = setlocale (LC_NUMERIC, "C");
val_2 = strtod (nptr, &fail_pos_2);
setlocale (LC_NUMERIC, old_locale);
}
-
+
if (!fail_pos_1 || fail_pos_1[0] == 0 || fail_pos_1 >= fail_pos_2)
{
if (endptr)
@@ -213,9 +213,9 @@ g_strtod (const gchar *nptr,
gchar*
g_strerror (gint errnum)
{
- static GStaticPrivate msg_private = G_STATIC_PRIVATE_INIT;
+ static GStaticPrivate msg_private = G_STATIC_PRIVATE_INIT;
char *msg;
-
+
#ifdef HAVE_STRERROR
return strerror (errnum);
#elif NO_SYS_ERRLIST
@@ -636,7 +636,7 @@ g_strerror (gint errnum)
#else /* NO_SYS_ERRLIST */
extern int sys_nerr;
extern char *sys_errlist[];
-
+
if ((errnum > 0) && (errnum <= sys_nerr))
return sys_errlist [errnum];
#endif /* NO_SYS_ERRLIST */
@@ -655,9 +655,9 @@ g_strerror (gint errnum)
gchar*
g_strsignal (gint signum)
{
- static GStaticPrivate msg_private = G_STATIC_PRIVATE_INIT;
+ static GStaticPrivate msg_private = G_STATIC_PRIVATE_INIT;
char *msg;
-
+
#ifdef HAVE_STRSIGNAL
extern char *strsignal (int sig);
return strsignal (signum);
@@ -759,8 +759,13 @@ g_strsignal (gint signum)
#endif
}
#else /* NO_SYS_SIGLIST */
+
+#ifndef NO_SYS_SIGLIST_DECL
+ /*(see Tue Jan 19 00:44:24 1999 in changelog)*/
extern char *sys_siglist[];
- return sys_siglist [signum];
+#endif
+
+ return (char*) /* this function should return const --josh */ sys_siglist [signum];
#endif /* NO_SYS_SIGLIST */
msg = g_static_private_get (&msg_private);
@@ -769,7 +774,7 @@ g_strsignal (gint signum)
msg = g_new( gchar, 64 );
g_static_private_set (&msg_private, msg, g_free);
}
-
+
sprintf (msg, "unknown signal (%d)", signum);
return msg;
}
@@ -779,25 +784,25 @@ g_printf_string_upper_bound (const gchar* format,
va_list args)
{
guint len = 1;
-
+
while (*format)
{
gboolean long_int = FALSE;
gboolean extra_long = FALSE;
gchar c;
-
+
c = *format++;
-
+
if (c == '%')
{
gboolean done = FALSE;
-
+
while (*format && !done)
{
switch (*format++)
{
gchar *string_arg;
-
+
case '*':
len += va_arg (args, int);
break;
@@ -907,7 +912,7 @@ g_printf_string_upper_bound (const gchar* format,
else
len += 1;
}
-
+
return len;
}
@@ -915,11 +920,11 @@ void
g_strdown (gchar *string)
{
register gchar *s;
-
+
g_return_if_fail (string != NULL);
-
+
s = string;
-
+
while (*s)
{
*s = tolower (*s);
@@ -931,11 +936,11 @@ void
g_strup (gchar *string)
{
register gchar *s;
-
+
g_return_if_fail (string != NULL);
-
+
s = string;
-
+
while (*s)
{
*s = toupper (*s);
@@ -947,18 +952,18 @@ void
g_strreverse (gchar *string)
{
g_return_if_fail (string != NULL);
-
+
if (*string)
{
register gchar *h, *t;
-
+
h = string;
t = string + strlen (string) - 1;
-
+
while (h < t)
{
register gchar c;
-
+
c = *h;
*h = *t;
h++;
@@ -976,7 +981,7 @@ g_strcasecmp (const gchar *s1,
return strcasecmp (s1, s2);
#else
gint c1, c2;
-
+
g_return_val_if_fail (s1 != NULL, 0);
g_return_val_if_fail (s2 != NULL, 0);
@@ -991,7 +996,7 @@ g_strcasecmp (const gchar *s1,
return (c1 - c2);
s1++; s2++;
}
-
+
return (((gint)(guchar) *s1) - ((gint)(guchar) *s2));
#endif
}
@@ -1005,7 +1010,7 @@ g_strncasecmp (const gchar *s1,
return strncasecmp (s1, s2, n);
#else
gint c1, c2;
-
+
g_return_val_if_fail (s1 != NULL, 0);
g_return_val_if_fail (s2 != NULL, 0);
@@ -1034,12 +1039,12 @@ g_strdelimit (gchar *string,
gchar new_delim)
{
register gchar *c;
-
+
g_return_val_if_fail (string != NULL, NULL);
-
+
if (!delimiters)
delimiters = G_STR_DELIMITERS;
-
+
for (c = string; *c; c++)
{
if (strchr (delimiters, *c))
@@ -1132,12 +1137,12 @@ g_strsplit (const gchar *string,
if (s)
{
guint delimiter_len = strlen (delimiter);
-
+
do
{
guint len;
gchar *new_string;
-
+
len = s - string;
new_string = g_new (gchar, len + 1);
strncpy (new_string, string, len);
@@ -1154,7 +1159,7 @@ g_strsplit (const gchar *string,
n++;
string_list = g_slist_prepend (string_list, g_strdup (string));
}
-
+
str_array = g_new (gchar*, n);
i = n - 1;
@@ -1187,7 +1192,7 @@ g_strjoinv (const gchar *separator,
gchar **str_array)
{
gchar *string;
-
+
g_return_val_if_fail (str_array != NULL, NULL);
if(separator == NULL)
@@ -1202,7 +1207,7 @@ g_strjoinv (const gchar *separator,
len = 1 + strlen (str_array[0]);
for(i = 1; str_array[i] != NULL; i++)
len += separator_len + strlen(str_array[i]);
-
+
string = g_new (gchar, len);
*string = 0;
strcat (string, *str_array);