mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-11 03:34:05 +02:00
The "extern char* sys_siglist" declaration breaks systems with different
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.
This commit is contained in:
committed by
Josh MacDonald
parent
a478fc7a3f
commit
e6c71cedb9
98
ChangeLog
98
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>
|
Sun Jan 17 17:13:54 CST 1999 Shawn T. Amundson <amundson@gtk.org>
|
||||||
|
|
||||||
* Released GLib 1.1.13
|
* 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.
|
* gdate.c: Include config.h to get HAVE_LOCALTIME_R macro.
|
||||||
|
|
||||||
* configure.in: Moved function check back to the place, they've
|
* configure.in: Moved function check back to the place, they've
|
||||||
been before.
|
been before.
|
||||||
|
|
||||||
1999-01-11 Jeff Garzik <jgarzik@pobox.com>
|
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>
|
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:
|
* INSTALL:
|
||||||
NEWS:
|
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>
|
Sat Jan 2 02:20:59 1999 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* ghook.c:
|
* ghook.c:
|
||||||
(g_hook_list_invoke):
|
(g_hook_list_invoke):
|
||||||
(g_hook_list_invoke_check):
|
(g_hook_list_invoke_check):
|
||||||
(g_hook_list_marshal_check):
|
(g_hook_list_marshal_check):
|
||||||
(g_hook_list_marshal): avoid unneccessary extra hook referencing (the
|
(g_hook_list_marshal): avoid unneccessary extra hook referencing (the
|
||||||
explicit hook referencing became unneccessarry with my changes from
|
explicit hook referencing became unneccessarry with my changes from
|
||||||
Mon Dec 21 21:48:29 1998).
|
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>
|
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:
|
* INSTALL:
|
||||||
NEWS:
|
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>
|
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}.
|
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>
|
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>
|
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
|
* gmain.c: there was a reference count race for hooks during invocation
|
||||||
loops. since all (known) hook loop implementations, do currently start
|
loops. since all (known) hook loop implementations, do currently start
|
||||||
out with g_hook_first_valid() and iterate with g_hook_next_valid(),
|
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>
|
Fri Dec 18 00:03:17 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* glib.h:
|
* glib.h:
|
||||||
* gmain.c:
|
* gmain.c:
|
||||||
(g_main_is_running): new function to check whether a main loop has been
|
(g_main_is_running): new function to check whether a main loop has been
|
||||||
quitted.
|
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,
|
* garray.c (g_ptr_array_remove_index): Fixed size in g_memmove,
|
||||||
reported by Alexander Larsson <alla@lysator.liu.se>.
|
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>
|
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:
|
* INSTALL:
|
||||||
NEWS:
|
NEWS:
|
||||||
@@ -586,7 +594,7 @@ Tue Dec 15 23:16:05 CST 1998 Shawn T. Amundson <amundson@gtk.org>
|
|||||||
|
|
||||||
* INSTALL:
|
* INSTALL:
|
||||||
NEWS:
|
NEWS:
|
||||||
README
|
README
|
||||||
configure.in:
|
configure.in:
|
||||||
glib.spec:
|
glib.spec:
|
||||||
docs/glib-config.1: Incremented version
|
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>
|
1998-12-15 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* gdate.c (g_date_prepare_to_parse): Solaris has a broken strftime
|
* 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
|
set up the parser. So use a different date that Solaris seems
|
||||||
to like.
|
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
|
* gmain.c (g_main_poll_add_unlocked): first take a new poll record
|
||||||
form the poll_free_list.
|
form the poll_free_list.
|
||||||
|
|
||||||
* gmem.c, gstrfuncs.c, gutils.c: Made it MT safe.
|
* gmem.c, gstrfuncs.c, gutils.c: Made it MT safe.
|
||||||
|
|
||||||
* gthraed/*.c: Added copyright headers.
|
* 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/gthread.c (g_thread_try_init): Call g_mutex_init().
|
||||||
|
|
||||||
* gthread/testgthread.c: updated test program.
|
* gthread/testgthread.c: updated test program.
|
||||||
|
|
||||||
Tue Dec 8 18:49:56 1998 Owen Taylor <otaylor@redhat.com>
|
Tue Dec 8 18:49:56 1998 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* Start at adding thread-safety. (mostly work
|
* 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>
|
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
|
update the dmy representation before setting the components
|
||||||
of it.
|
of it.
|
||||||
(g_date_set_day): Same.
|
(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>
|
1998-12-02 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* testgdate.c, testgdateparser.c: Two new files. This is kind of
|
* testgdate.c, testgdateparser.c: Two new files. This is kind of
|
||||||
ugly code, but I want to go ahead and make the tests available.
|
ugly code, but I want to go ahead and make the tests available.
|
||||||
It isn't contaminating any other code. :-) Since one of these
|
It isn't contaminating any other code. :-) Since one of these
|
||||||
is interactive and the other takes a while to run, I've kept
|
is interactive and the other takes a while to run, I've kept
|
||||||
them separate from testglib for now.
|
them separate from testglib for now.
|
||||||
* Makefile.am: Build gdate test programs.
|
* Makefile.am: Build gdate test programs.
|
||||||
|
|
||||||
1998-12-02 Havoc Pennington <hp@pobox.com>
|
1998-12-02 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* gdate.c (g_date_valid): Rely on GDate::dmy and GDate::Julian
|
* 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>
|
1998-12-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
* glib.h:
|
* glib.h:
|
||||||
* gdate.c: changed `gpointer struct_tm_p' parameter of
|
* gdate.c: changed `gpointer struct_tm_p' parameter of
|
||||||
g_date_to_struct_tm back to `struct tm *tm' and forward declared
|
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
|
`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:
|
README:
|
||||||
glib.spec:
|
glib.spec:
|
||||||
docs/glib-config.1: Incremented versions to 1.1.6.
|
docs/glib-config.1: Incremented versions to 1.1.6.
|
||||||
|
|
||||||
Wed Dec 2 02:10:59 1998 Tim Janik <timj@gtk.org>
|
Wed Dec 2 02:10:59 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gdate.c: s/time_t/GTime/ and s/g_print/g_message/
|
* 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_set_time() to time_t, changed struct tm parameter of
|
||||||
g_date_to_struct_tm to `gpointer struct_tm_p'. yes, this is not
|
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.
|
nice, but including time.h actually breaks a bunch of code.
|
||||||
|
|
||||||
* incremented GLib version to 1.1.6.
|
* incremented GLib version to 1.1.6.
|
||||||
|
|
||||||
1998-11-30 Havoc Pennington <hp@pobox.com>
|
1998-11-30 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* gdate.c: New file, implements calendrical calculations.
|
* gdate.c: New file, implements calendrical calculations.
|
||||||
|
|
||||||
* glib.h: Added declarations for GDate module.
|
* glib.h: Added declarations for GDate module.
|
||||||
|
|
||||||
Mon Nov 30 07:12:10 1998 Tim Janik <timj@gtk.org>
|
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>
|
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,
|
* ghash.c: reverted the g_hash_table_set_key_freefunc() addition,
|
||||||
since it's to specialized and needs to be resolved in a generic
|
since it's to specialized and needs to be resolved in a generic
|
||||||
fashion.
|
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()
|
* glib.h: added GFreeFunc and g_hash_table_set_key_freefunc()
|
||||||
prototype.
|
prototype.
|
||||||
* ghash.c: added g_hash_table_set_key_freefunc() implementation.
|
* 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
|
g_hash_nodes_destroy(), and changed the functions that call them
|
||||||
to match the new definitions.
|
to match the new definitions.
|
||||||
This changes no external interfaces, and should create no binary
|
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>
|
1998-11-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
* glib.h:
|
* glib.h:
|
||||||
* garray.c:
|
* garray.c:
|
||||||
(g_array_remove_index): new function for removing an entry from an
|
(g_array_remove_index): new function for removing an entry from an
|
||||||
array while preserving the order
|
array while preserving the order
|
||||||
@@ -1040,7 +1048,7 @@ Sat Oct 31 20:14:22 PST 1998 Manish Singh <yosh@gimp.org>
|
|||||||
|
|
||||||
* gmessages.c
|
* gmessages.c
|
||||||
* gscanner.c: #include <config.h> in here too, for HAVE_UNISTD_H
|
* gscanner.c: #include <config.h> in here too, for HAVE_UNISTD_H
|
||||||
|
|
||||||
1998-11-01 Tor Lillqvist <tml@iki.fi>
|
1998-11-01 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* glib.def: Added the new functions.
|
* 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>
|
1998-10-31 Raja R Harinath <harinath@cs.umn.edu>
|
||||||
|
|
||||||
Land glib-rrh-19981025-0.patch.
|
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'.
|
(stamp-gc-h): New rule. Generate `glibconfig.h'.
|
||||||
* configure.in (AM_CONFIG_HEADER): It is now `config.h'.
|
* configure.in (AM_CONFIG_HEADER): It is now `config.h'.
|
||||||
(HAVE_BROKEN_WCTYPE): On Solaris, look for iswalnum in -lw before
|
(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.
|
* gmem.c: Likewise.
|
||||||
* gstrfuncs.c: Likewise.
|
* gstrfuncs.c: Likewise.
|
||||||
* gutils.c: Likewise.
|
* gutils.c: Likewise.
|
||||||
|
|
||||||
Sat Oct 31 05:08:26 1998 Tim Janik <timj@gtk.org>
|
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.
|
* 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.
|
filedescriptor, which hooks onto the current scanning position.
|
||||||
(this became neccessary with the implementation of buffered
|
(this became neccessary with the implementation of buffered
|
||||||
reads).
|
reads).
|
||||||
(g_scanner_input_file):
|
(g_scanner_input_file):
|
||||||
(g_scanner_input_text): automatically blow the read ahead buffer.
|
(g_scanner_input_text): automatically blow the read ahead buffer.
|
||||||
(g_scanner_get_char): blow the read ahead buffer when the end of
|
(g_scanner_get_char): blow the read ahead buffer when the end of
|
||||||
input is reached, i.e. a '\000' char is read.
|
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 (struct dirent): use lower case structure members.
|
||||||
|
|
||||||
* glib.h:
|
* glib.h:
|
||||||
* makefile.lcc:
|
* makefile.lcc:
|
||||||
* makefile.msc:
|
* makefile.msc:
|
||||||
s/COMPILING_GLIB/GLIB_COMPILATION/
|
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
|
Conditionalized inclusion of unistd.h. Added changes for
|
||||||
Microsoft C. Added CR to the skipped character set. Added small
|
Microsoft C. Added CR to the skipped character set. Added small
|
||||||
workaround for MSC compiler bug in g_scanner_cur_value.
|
workaround for MSC compiler bug in g_scanner_cur_value.
|
||||||
|
|
||||||
* gstrfuncs.c:
|
* gstrfuncs.c:
|
||||||
Added the function g_strescape, which escapes the backslash
|
Added the function g_strescape, which escapes the backslash
|
||||||
character. Needed especially when printing Windows filenames.
|
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:
|
* makefile.lcc makefile.msc:
|
||||||
New files. Compiler-specific makefiles for LCC-Win32 and
|
New files. Compiler-specific makefiles for LCC-Win32 and
|
||||||
Microsoft C. Only Microsoft C is actually supported currently.
|
Microsoft C. Only Microsoft C is actually supported currently.
|
||||||
|
|
||||||
* testglib.c:
|
* testglib.c:
|
||||||
Added pathname check cases for Windows. Added workaround for
|
Added pathname check cases for Windows. Added workaround for
|
||||||
bug in the Microsoft runtime library. Improved some tests a bit.
|
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>
|
Sun Oct 25 01:24:01 CST 1998 Shawn T. Amundson <amundson@gtk.org>
|
||||||
|
|
||||||
* Released GLib 1.1.4
|
* Released GLib 1.1.4
|
||||||
|
|
||||||
* docs/Makefile.am:
|
* docs/Makefile.am:
|
||||||
* docs/.cvsignore
|
* docs/.cvsignore
|
||||||
* docs/glib-config.1:
|
* docs/glib-config.1:
|
||||||
* docs/glib.texi: Moved docs from gtk and created glib-config.1
|
* docs/glib.texi: Moved docs from gtk and created glib-config.1
|
||||||
from gtk-config.1 in gtk
|
from gtk-config.1 in gtk
|
||||||
|
|
||||||
* configure.in:
|
* 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.
|
distribution. Added in a 'sanity' rule.
|
||||||
|
|
||||||
* NEWS:
|
* NEWS:
|
||||||
* README:
|
* README:
|
||||||
* INSTALL: Updated for the release
|
* INSTALL: Updated for the release
|
||||||
|
|
||||||
Sun Oct 25 07:30:10 1998 Tim Janik <timj@gtk.org>
|
Sun Oct 25 07:30:10 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gscanner.c:
|
* gscanner.c:
|
||||||
(g_scanner_peek_next_char):
|
(g_scanner_peek_next_char):
|
||||||
(g_scanner_get_char): no more characters are available if read() returns
|
(g_scanner_get_char): no more characters are available if read() returns
|
||||||
anything less than 1, not only on 0 return.
|
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
|
* gstrfuncs.c: final API cleanup of string arrays to suit sopwith's
|
||||||
argument order requirements.
|
argument order requirements.
|
||||||
(g_strsplit): renamed from g_str_array_split().
|
(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>
|
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
|
* 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*
|
with the existing naming scheme for g_str* functions. grouped the g_str*
|
||||||
functions that will return a newly allocated string seperatedly. all of
|
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
|
* glib.h: New function g_hash_table_foreach_remove is similar to
|
||||||
g_hash_table_foreach, but the callback's return value indicates
|
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.
|
Returns the number of elements deleted.
|
||||||
|
|
||||||
Fri Sep 18 11:31:50 PDT 1998 Manish Singh <yosh@gimp.org>
|
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'
|
* glib.h: inlining hassle. for compilers that don't allow the `inline'
|
||||||
keyword, mostly because of strict ANSI C compliance or dumbness, we try
|
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*
|
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
|
to do function inlining, in which case inline function bodys do make
|
||||||
sense. we also define G_INLINE_FUNC to properly export the function
|
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>
|
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,
|
(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
|
so the correct size of the memchunk is allocated with 0's and not
|
||||||
a memory portion of the size of the desired type.
|
a memory portion of the size of the desired type.
|
||||||
|
@@ -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>
|
Sun Jan 17 17:13:54 CST 1999 Shawn T. Amundson <amundson@gtk.org>
|
||||||
|
|
||||||
* Released GLib 1.1.13
|
* 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.
|
* gdate.c: Include config.h to get HAVE_LOCALTIME_R macro.
|
||||||
|
|
||||||
* configure.in: Moved function check back to the place, they've
|
* configure.in: Moved function check back to the place, they've
|
||||||
been before.
|
been before.
|
||||||
|
|
||||||
1999-01-11 Jeff Garzik <jgarzik@pobox.com>
|
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>
|
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:
|
* INSTALL:
|
||||||
NEWS:
|
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>
|
Sat Jan 2 02:20:59 1999 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* ghook.c:
|
* ghook.c:
|
||||||
(g_hook_list_invoke):
|
(g_hook_list_invoke):
|
||||||
(g_hook_list_invoke_check):
|
(g_hook_list_invoke_check):
|
||||||
(g_hook_list_marshal_check):
|
(g_hook_list_marshal_check):
|
||||||
(g_hook_list_marshal): avoid unneccessary extra hook referencing (the
|
(g_hook_list_marshal): avoid unneccessary extra hook referencing (the
|
||||||
explicit hook referencing became unneccessarry with my changes from
|
explicit hook referencing became unneccessarry with my changes from
|
||||||
Mon Dec 21 21:48:29 1998).
|
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>
|
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:
|
* INSTALL:
|
||||||
NEWS:
|
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>
|
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}.
|
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>
|
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>
|
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
|
* gmain.c: there was a reference count race for hooks during invocation
|
||||||
loops. since all (known) hook loop implementations, do currently start
|
loops. since all (known) hook loop implementations, do currently start
|
||||||
out with g_hook_first_valid() and iterate with g_hook_next_valid(),
|
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>
|
Fri Dec 18 00:03:17 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* glib.h:
|
* glib.h:
|
||||||
* gmain.c:
|
* gmain.c:
|
||||||
(g_main_is_running): new function to check whether a main loop has been
|
(g_main_is_running): new function to check whether a main loop has been
|
||||||
quitted.
|
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,
|
* garray.c (g_ptr_array_remove_index): Fixed size in g_memmove,
|
||||||
reported by Alexander Larsson <alla@lysator.liu.se>.
|
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>
|
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:
|
* INSTALL:
|
||||||
NEWS:
|
NEWS:
|
||||||
@@ -586,7 +594,7 @@ Tue Dec 15 23:16:05 CST 1998 Shawn T. Amundson <amundson@gtk.org>
|
|||||||
|
|
||||||
* INSTALL:
|
* INSTALL:
|
||||||
NEWS:
|
NEWS:
|
||||||
README
|
README
|
||||||
configure.in:
|
configure.in:
|
||||||
glib.spec:
|
glib.spec:
|
||||||
docs/glib-config.1: Incremented version
|
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>
|
1998-12-15 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* gdate.c (g_date_prepare_to_parse): Solaris has a broken strftime
|
* 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
|
set up the parser. So use a different date that Solaris seems
|
||||||
to like.
|
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
|
* gmain.c (g_main_poll_add_unlocked): first take a new poll record
|
||||||
form the poll_free_list.
|
form the poll_free_list.
|
||||||
|
|
||||||
* gmem.c, gstrfuncs.c, gutils.c: Made it MT safe.
|
* gmem.c, gstrfuncs.c, gutils.c: Made it MT safe.
|
||||||
|
|
||||||
* gthraed/*.c: Added copyright headers.
|
* 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/gthread.c (g_thread_try_init): Call g_mutex_init().
|
||||||
|
|
||||||
* gthread/testgthread.c: updated test program.
|
* gthread/testgthread.c: updated test program.
|
||||||
|
|
||||||
Tue Dec 8 18:49:56 1998 Owen Taylor <otaylor@redhat.com>
|
Tue Dec 8 18:49:56 1998 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* Start at adding thread-safety. (mostly work
|
* 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>
|
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
|
update the dmy representation before setting the components
|
||||||
of it.
|
of it.
|
||||||
(g_date_set_day): Same.
|
(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>
|
1998-12-02 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* testgdate.c, testgdateparser.c: Two new files. This is kind of
|
* testgdate.c, testgdateparser.c: Two new files. This is kind of
|
||||||
ugly code, but I want to go ahead and make the tests available.
|
ugly code, but I want to go ahead and make the tests available.
|
||||||
It isn't contaminating any other code. :-) Since one of these
|
It isn't contaminating any other code. :-) Since one of these
|
||||||
is interactive and the other takes a while to run, I've kept
|
is interactive and the other takes a while to run, I've kept
|
||||||
them separate from testglib for now.
|
them separate from testglib for now.
|
||||||
* Makefile.am: Build gdate test programs.
|
* Makefile.am: Build gdate test programs.
|
||||||
|
|
||||||
1998-12-02 Havoc Pennington <hp@pobox.com>
|
1998-12-02 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* gdate.c (g_date_valid): Rely on GDate::dmy and GDate::Julian
|
* 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>
|
1998-12-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
* glib.h:
|
* glib.h:
|
||||||
* gdate.c: changed `gpointer struct_tm_p' parameter of
|
* gdate.c: changed `gpointer struct_tm_p' parameter of
|
||||||
g_date_to_struct_tm back to `struct tm *tm' and forward declared
|
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
|
`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:
|
README:
|
||||||
glib.spec:
|
glib.spec:
|
||||||
docs/glib-config.1: Incremented versions to 1.1.6.
|
docs/glib-config.1: Incremented versions to 1.1.6.
|
||||||
|
|
||||||
Wed Dec 2 02:10:59 1998 Tim Janik <timj@gtk.org>
|
Wed Dec 2 02:10:59 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gdate.c: s/time_t/GTime/ and s/g_print/g_message/
|
* 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_set_time() to time_t, changed struct tm parameter of
|
||||||
g_date_to_struct_tm to `gpointer struct_tm_p'. yes, this is not
|
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.
|
nice, but including time.h actually breaks a bunch of code.
|
||||||
|
|
||||||
* incremented GLib version to 1.1.6.
|
* incremented GLib version to 1.1.6.
|
||||||
|
|
||||||
1998-11-30 Havoc Pennington <hp@pobox.com>
|
1998-11-30 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* gdate.c: New file, implements calendrical calculations.
|
* gdate.c: New file, implements calendrical calculations.
|
||||||
|
|
||||||
* glib.h: Added declarations for GDate module.
|
* glib.h: Added declarations for GDate module.
|
||||||
|
|
||||||
Mon Nov 30 07:12:10 1998 Tim Janik <timj@gtk.org>
|
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>
|
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,
|
* ghash.c: reverted the g_hash_table_set_key_freefunc() addition,
|
||||||
since it's to specialized and needs to be resolved in a generic
|
since it's to specialized and needs to be resolved in a generic
|
||||||
fashion.
|
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()
|
* glib.h: added GFreeFunc and g_hash_table_set_key_freefunc()
|
||||||
prototype.
|
prototype.
|
||||||
* ghash.c: added g_hash_table_set_key_freefunc() implementation.
|
* 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
|
g_hash_nodes_destroy(), and changed the functions that call them
|
||||||
to match the new definitions.
|
to match the new definitions.
|
||||||
This changes no external interfaces, and should create no binary
|
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>
|
1998-11-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
* glib.h:
|
* glib.h:
|
||||||
* garray.c:
|
* garray.c:
|
||||||
(g_array_remove_index): new function for removing an entry from an
|
(g_array_remove_index): new function for removing an entry from an
|
||||||
array while preserving the order
|
array while preserving the order
|
||||||
@@ -1040,7 +1048,7 @@ Sat Oct 31 20:14:22 PST 1998 Manish Singh <yosh@gimp.org>
|
|||||||
|
|
||||||
* gmessages.c
|
* gmessages.c
|
||||||
* gscanner.c: #include <config.h> in here too, for HAVE_UNISTD_H
|
* gscanner.c: #include <config.h> in here too, for HAVE_UNISTD_H
|
||||||
|
|
||||||
1998-11-01 Tor Lillqvist <tml@iki.fi>
|
1998-11-01 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* glib.def: Added the new functions.
|
* 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>
|
1998-10-31 Raja R Harinath <harinath@cs.umn.edu>
|
||||||
|
|
||||||
Land glib-rrh-19981025-0.patch.
|
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'.
|
(stamp-gc-h): New rule. Generate `glibconfig.h'.
|
||||||
* configure.in (AM_CONFIG_HEADER): It is now `config.h'.
|
* configure.in (AM_CONFIG_HEADER): It is now `config.h'.
|
||||||
(HAVE_BROKEN_WCTYPE): On Solaris, look for iswalnum in -lw before
|
(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.
|
* gmem.c: Likewise.
|
||||||
* gstrfuncs.c: Likewise.
|
* gstrfuncs.c: Likewise.
|
||||||
* gutils.c: Likewise.
|
* gutils.c: Likewise.
|
||||||
|
|
||||||
Sat Oct 31 05:08:26 1998 Tim Janik <timj@gtk.org>
|
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.
|
* 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.
|
filedescriptor, which hooks onto the current scanning position.
|
||||||
(this became neccessary with the implementation of buffered
|
(this became neccessary with the implementation of buffered
|
||||||
reads).
|
reads).
|
||||||
(g_scanner_input_file):
|
(g_scanner_input_file):
|
||||||
(g_scanner_input_text): automatically blow the read ahead buffer.
|
(g_scanner_input_text): automatically blow the read ahead buffer.
|
||||||
(g_scanner_get_char): blow the read ahead buffer when the end of
|
(g_scanner_get_char): blow the read ahead buffer when the end of
|
||||||
input is reached, i.e. a '\000' char is read.
|
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 (struct dirent): use lower case structure members.
|
||||||
|
|
||||||
* glib.h:
|
* glib.h:
|
||||||
* makefile.lcc:
|
* makefile.lcc:
|
||||||
* makefile.msc:
|
* makefile.msc:
|
||||||
s/COMPILING_GLIB/GLIB_COMPILATION/
|
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
|
Conditionalized inclusion of unistd.h. Added changes for
|
||||||
Microsoft C. Added CR to the skipped character set. Added small
|
Microsoft C. Added CR to the skipped character set. Added small
|
||||||
workaround for MSC compiler bug in g_scanner_cur_value.
|
workaround for MSC compiler bug in g_scanner_cur_value.
|
||||||
|
|
||||||
* gstrfuncs.c:
|
* gstrfuncs.c:
|
||||||
Added the function g_strescape, which escapes the backslash
|
Added the function g_strescape, which escapes the backslash
|
||||||
character. Needed especially when printing Windows filenames.
|
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:
|
* makefile.lcc makefile.msc:
|
||||||
New files. Compiler-specific makefiles for LCC-Win32 and
|
New files. Compiler-specific makefiles for LCC-Win32 and
|
||||||
Microsoft C. Only Microsoft C is actually supported currently.
|
Microsoft C. Only Microsoft C is actually supported currently.
|
||||||
|
|
||||||
* testglib.c:
|
* testglib.c:
|
||||||
Added pathname check cases for Windows. Added workaround for
|
Added pathname check cases for Windows. Added workaround for
|
||||||
bug in the Microsoft runtime library. Improved some tests a bit.
|
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>
|
Sun Oct 25 01:24:01 CST 1998 Shawn T. Amundson <amundson@gtk.org>
|
||||||
|
|
||||||
* Released GLib 1.1.4
|
* Released GLib 1.1.4
|
||||||
|
|
||||||
* docs/Makefile.am:
|
* docs/Makefile.am:
|
||||||
* docs/.cvsignore
|
* docs/.cvsignore
|
||||||
* docs/glib-config.1:
|
* docs/glib-config.1:
|
||||||
* docs/glib.texi: Moved docs from gtk and created glib-config.1
|
* docs/glib.texi: Moved docs from gtk and created glib-config.1
|
||||||
from gtk-config.1 in gtk
|
from gtk-config.1 in gtk
|
||||||
|
|
||||||
* configure.in:
|
* 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.
|
distribution. Added in a 'sanity' rule.
|
||||||
|
|
||||||
* NEWS:
|
* NEWS:
|
||||||
* README:
|
* README:
|
||||||
* INSTALL: Updated for the release
|
* INSTALL: Updated for the release
|
||||||
|
|
||||||
Sun Oct 25 07:30:10 1998 Tim Janik <timj@gtk.org>
|
Sun Oct 25 07:30:10 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gscanner.c:
|
* gscanner.c:
|
||||||
(g_scanner_peek_next_char):
|
(g_scanner_peek_next_char):
|
||||||
(g_scanner_get_char): no more characters are available if read() returns
|
(g_scanner_get_char): no more characters are available if read() returns
|
||||||
anything less than 1, not only on 0 return.
|
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
|
* gstrfuncs.c: final API cleanup of string arrays to suit sopwith's
|
||||||
argument order requirements.
|
argument order requirements.
|
||||||
(g_strsplit): renamed from g_str_array_split().
|
(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>
|
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
|
* 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*
|
with the existing naming scheme for g_str* functions. grouped the g_str*
|
||||||
functions that will return a newly allocated string seperatedly. all of
|
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
|
* glib.h: New function g_hash_table_foreach_remove is similar to
|
||||||
g_hash_table_foreach, but the callback's return value indicates
|
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.
|
Returns the number of elements deleted.
|
||||||
|
|
||||||
Fri Sep 18 11:31:50 PDT 1998 Manish Singh <yosh@gimp.org>
|
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'
|
* glib.h: inlining hassle. for compilers that don't allow the `inline'
|
||||||
keyword, mostly because of strict ANSI C compliance or dumbness, we try
|
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*
|
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
|
to do function inlining, in which case inline function bodys do make
|
||||||
sense. we also define G_INLINE_FUNC to properly export the function
|
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>
|
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,
|
(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
|
so the correct size of the memchunk is allocated with 0's and not
|
||||||
a memory portion of the size of the desired type.
|
a memory portion of the size of the desired type.
|
||||||
|
@@ -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>
|
Sun Jan 17 17:13:54 CST 1999 Shawn T. Amundson <amundson@gtk.org>
|
||||||
|
|
||||||
* Released GLib 1.1.13
|
* 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.
|
* gdate.c: Include config.h to get HAVE_LOCALTIME_R macro.
|
||||||
|
|
||||||
* configure.in: Moved function check back to the place, they've
|
* configure.in: Moved function check back to the place, they've
|
||||||
been before.
|
been before.
|
||||||
|
|
||||||
1999-01-11 Jeff Garzik <jgarzik@pobox.com>
|
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>
|
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:
|
* INSTALL:
|
||||||
NEWS:
|
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>
|
Sat Jan 2 02:20:59 1999 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* ghook.c:
|
* ghook.c:
|
||||||
(g_hook_list_invoke):
|
(g_hook_list_invoke):
|
||||||
(g_hook_list_invoke_check):
|
(g_hook_list_invoke_check):
|
||||||
(g_hook_list_marshal_check):
|
(g_hook_list_marshal_check):
|
||||||
(g_hook_list_marshal): avoid unneccessary extra hook referencing (the
|
(g_hook_list_marshal): avoid unneccessary extra hook referencing (the
|
||||||
explicit hook referencing became unneccessarry with my changes from
|
explicit hook referencing became unneccessarry with my changes from
|
||||||
Mon Dec 21 21:48:29 1998).
|
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>
|
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:
|
* INSTALL:
|
||||||
NEWS:
|
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>
|
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}.
|
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>
|
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>
|
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
|
* gmain.c: there was a reference count race for hooks during invocation
|
||||||
loops. since all (known) hook loop implementations, do currently start
|
loops. since all (known) hook loop implementations, do currently start
|
||||||
out with g_hook_first_valid() and iterate with g_hook_next_valid(),
|
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>
|
Fri Dec 18 00:03:17 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* glib.h:
|
* glib.h:
|
||||||
* gmain.c:
|
* gmain.c:
|
||||||
(g_main_is_running): new function to check whether a main loop has been
|
(g_main_is_running): new function to check whether a main loop has been
|
||||||
quitted.
|
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,
|
* garray.c (g_ptr_array_remove_index): Fixed size in g_memmove,
|
||||||
reported by Alexander Larsson <alla@lysator.liu.se>.
|
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>
|
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:
|
* INSTALL:
|
||||||
NEWS:
|
NEWS:
|
||||||
@@ -586,7 +594,7 @@ Tue Dec 15 23:16:05 CST 1998 Shawn T. Amundson <amundson@gtk.org>
|
|||||||
|
|
||||||
* INSTALL:
|
* INSTALL:
|
||||||
NEWS:
|
NEWS:
|
||||||
README
|
README
|
||||||
configure.in:
|
configure.in:
|
||||||
glib.spec:
|
glib.spec:
|
||||||
docs/glib-config.1: Incremented version
|
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>
|
1998-12-15 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* gdate.c (g_date_prepare_to_parse): Solaris has a broken strftime
|
* 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
|
set up the parser. So use a different date that Solaris seems
|
||||||
to like.
|
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
|
* gmain.c (g_main_poll_add_unlocked): first take a new poll record
|
||||||
form the poll_free_list.
|
form the poll_free_list.
|
||||||
|
|
||||||
* gmem.c, gstrfuncs.c, gutils.c: Made it MT safe.
|
* gmem.c, gstrfuncs.c, gutils.c: Made it MT safe.
|
||||||
|
|
||||||
* gthraed/*.c: Added copyright headers.
|
* 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/gthread.c (g_thread_try_init): Call g_mutex_init().
|
||||||
|
|
||||||
* gthread/testgthread.c: updated test program.
|
* gthread/testgthread.c: updated test program.
|
||||||
|
|
||||||
Tue Dec 8 18:49:56 1998 Owen Taylor <otaylor@redhat.com>
|
Tue Dec 8 18:49:56 1998 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* Start at adding thread-safety. (mostly work
|
* 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>
|
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
|
update the dmy representation before setting the components
|
||||||
of it.
|
of it.
|
||||||
(g_date_set_day): Same.
|
(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>
|
1998-12-02 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* testgdate.c, testgdateparser.c: Two new files. This is kind of
|
* testgdate.c, testgdateparser.c: Two new files. This is kind of
|
||||||
ugly code, but I want to go ahead and make the tests available.
|
ugly code, but I want to go ahead and make the tests available.
|
||||||
It isn't contaminating any other code. :-) Since one of these
|
It isn't contaminating any other code. :-) Since one of these
|
||||||
is interactive and the other takes a while to run, I've kept
|
is interactive and the other takes a while to run, I've kept
|
||||||
them separate from testglib for now.
|
them separate from testglib for now.
|
||||||
* Makefile.am: Build gdate test programs.
|
* Makefile.am: Build gdate test programs.
|
||||||
|
|
||||||
1998-12-02 Havoc Pennington <hp@pobox.com>
|
1998-12-02 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* gdate.c (g_date_valid): Rely on GDate::dmy and GDate::Julian
|
* 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>
|
1998-12-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
* glib.h:
|
* glib.h:
|
||||||
* gdate.c: changed `gpointer struct_tm_p' parameter of
|
* gdate.c: changed `gpointer struct_tm_p' parameter of
|
||||||
g_date_to_struct_tm back to `struct tm *tm' and forward declared
|
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
|
`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:
|
README:
|
||||||
glib.spec:
|
glib.spec:
|
||||||
docs/glib-config.1: Incremented versions to 1.1.6.
|
docs/glib-config.1: Incremented versions to 1.1.6.
|
||||||
|
|
||||||
Wed Dec 2 02:10:59 1998 Tim Janik <timj@gtk.org>
|
Wed Dec 2 02:10:59 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gdate.c: s/time_t/GTime/ and s/g_print/g_message/
|
* 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_set_time() to time_t, changed struct tm parameter of
|
||||||
g_date_to_struct_tm to `gpointer struct_tm_p'. yes, this is not
|
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.
|
nice, but including time.h actually breaks a bunch of code.
|
||||||
|
|
||||||
* incremented GLib version to 1.1.6.
|
* incremented GLib version to 1.1.6.
|
||||||
|
|
||||||
1998-11-30 Havoc Pennington <hp@pobox.com>
|
1998-11-30 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* gdate.c: New file, implements calendrical calculations.
|
* gdate.c: New file, implements calendrical calculations.
|
||||||
|
|
||||||
* glib.h: Added declarations for GDate module.
|
* glib.h: Added declarations for GDate module.
|
||||||
|
|
||||||
Mon Nov 30 07:12:10 1998 Tim Janik <timj@gtk.org>
|
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>
|
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,
|
* ghash.c: reverted the g_hash_table_set_key_freefunc() addition,
|
||||||
since it's to specialized and needs to be resolved in a generic
|
since it's to specialized and needs to be resolved in a generic
|
||||||
fashion.
|
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()
|
* glib.h: added GFreeFunc and g_hash_table_set_key_freefunc()
|
||||||
prototype.
|
prototype.
|
||||||
* ghash.c: added g_hash_table_set_key_freefunc() implementation.
|
* 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
|
g_hash_nodes_destroy(), and changed the functions that call them
|
||||||
to match the new definitions.
|
to match the new definitions.
|
||||||
This changes no external interfaces, and should create no binary
|
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>
|
1998-11-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
* glib.h:
|
* glib.h:
|
||||||
* garray.c:
|
* garray.c:
|
||||||
(g_array_remove_index): new function for removing an entry from an
|
(g_array_remove_index): new function for removing an entry from an
|
||||||
array while preserving the order
|
array while preserving the order
|
||||||
@@ -1040,7 +1048,7 @@ Sat Oct 31 20:14:22 PST 1998 Manish Singh <yosh@gimp.org>
|
|||||||
|
|
||||||
* gmessages.c
|
* gmessages.c
|
||||||
* gscanner.c: #include <config.h> in here too, for HAVE_UNISTD_H
|
* gscanner.c: #include <config.h> in here too, for HAVE_UNISTD_H
|
||||||
|
|
||||||
1998-11-01 Tor Lillqvist <tml@iki.fi>
|
1998-11-01 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* glib.def: Added the new functions.
|
* 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>
|
1998-10-31 Raja R Harinath <harinath@cs.umn.edu>
|
||||||
|
|
||||||
Land glib-rrh-19981025-0.patch.
|
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'.
|
(stamp-gc-h): New rule. Generate `glibconfig.h'.
|
||||||
* configure.in (AM_CONFIG_HEADER): It is now `config.h'.
|
* configure.in (AM_CONFIG_HEADER): It is now `config.h'.
|
||||||
(HAVE_BROKEN_WCTYPE): On Solaris, look for iswalnum in -lw before
|
(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.
|
* gmem.c: Likewise.
|
||||||
* gstrfuncs.c: Likewise.
|
* gstrfuncs.c: Likewise.
|
||||||
* gutils.c: Likewise.
|
* gutils.c: Likewise.
|
||||||
|
|
||||||
Sat Oct 31 05:08:26 1998 Tim Janik <timj@gtk.org>
|
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.
|
* 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.
|
filedescriptor, which hooks onto the current scanning position.
|
||||||
(this became neccessary with the implementation of buffered
|
(this became neccessary with the implementation of buffered
|
||||||
reads).
|
reads).
|
||||||
(g_scanner_input_file):
|
(g_scanner_input_file):
|
||||||
(g_scanner_input_text): automatically blow the read ahead buffer.
|
(g_scanner_input_text): automatically blow the read ahead buffer.
|
||||||
(g_scanner_get_char): blow the read ahead buffer when the end of
|
(g_scanner_get_char): blow the read ahead buffer when the end of
|
||||||
input is reached, i.e. a '\000' char is read.
|
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 (struct dirent): use lower case structure members.
|
||||||
|
|
||||||
* glib.h:
|
* glib.h:
|
||||||
* makefile.lcc:
|
* makefile.lcc:
|
||||||
* makefile.msc:
|
* makefile.msc:
|
||||||
s/COMPILING_GLIB/GLIB_COMPILATION/
|
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
|
Conditionalized inclusion of unistd.h. Added changes for
|
||||||
Microsoft C. Added CR to the skipped character set. Added small
|
Microsoft C. Added CR to the skipped character set. Added small
|
||||||
workaround for MSC compiler bug in g_scanner_cur_value.
|
workaround for MSC compiler bug in g_scanner_cur_value.
|
||||||
|
|
||||||
* gstrfuncs.c:
|
* gstrfuncs.c:
|
||||||
Added the function g_strescape, which escapes the backslash
|
Added the function g_strescape, which escapes the backslash
|
||||||
character. Needed especially when printing Windows filenames.
|
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:
|
* makefile.lcc makefile.msc:
|
||||||
New files. Compiler-specific makefiles for LCC-Win32 and
|
New files. Compiler-specific makefiles for LCC-Win32 and
|
||||||
Microsoft C. Only Microsoft C is actually supported currently.
|
Microsoft C. Only Microsoft C is actually supported currently.
|
||||||
|
|
||||||
* testglib.c:
|
* testglib.c:
|
||||||
Added pathname check cases for Windows. Added workaround for
|
Added pathname check cases for Windows. Added workaround for
|
||||||
bug in the Microsoft runtime library. Improved some tests a bit.
|
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>
|
Sun Oct 25 01:24:01 CST 1998 Shawn T. Amundson <amundson@gtk.org>
|
||||||
|
|
||||||
* Released GLib 1.1.4
|
* Released GLib 1.1.4
|
||||||
|
|
||||||
* docs/Makefile.am:
|
* docs/Makefile.am:
|
||||||
* docs/.cvsignore
|
* docs/.cvsignore
|
||||||
* docs/glib-config.1:
|
* docs/glib-config.1:
|
||||||
* docs/glib.texi: Moved docs from gtk and created glib-config.1
|
* docs/glib.texi: Moved docs from gtk and created glib-config.1
|
||||||
from gtk-config.1 in gtk
|
from gtk-config.1 in gtk
|
||||||
|
|
||||||
* configure.in:
|
* 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.
|
distribution. Added in a 'sanity' rule.
|
||||||
|
|
||||||
* NEWS:
|
* NEWS:
|
||||||
* README:
|
* README:
|
||||||
* INSTALL: Updated for the release
|
* INSTALL: Updated for the release
|
||||||
|
|
||||||
Sun Oct 25 07:30:10 1998 Tim Janik <timj@gtk.org>
|
Sun Oct 25 07:30:10 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gscanner.c:
|
* gscanner.c:
|
||||||
(g_scanner_peek_next_char):
|
(g_scanner_peek_next_char):
|
||||||
(g_scanner_get_char): no more characters are available if read() returns
|
(g_scanner_get_char): no more characters are available if read() returns
|
||||||
anything less than 1, not only on 0 return.
|
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
|
* gstrfuncs.c: final API cleanup of string arrays to suit sopwith's
|
||||||
argument order requirements.
|
argument order requirements.
|
||||||
(g_strsplit): renamed from g_str_array_split().
|
(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>
|
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
|
* 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*
|
with the existing naming scheme for g_str* functions. grouped the g_str*
|
||||||
functions that will return a newly allocated string seperatedly. all of
|
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
|
* glib.h: New function g_hash_table_foreach_remove is similar to
|
||||||
g_hash_table_foreach, but the callback's return value indicates
|
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.
|
Returns the number of elements deleted.
|
||||||
|
|
||||||
Fri Sep 18 11:31:50 PDT 1998 Manish Singh <yosh@gimp.org>
|
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'
|
* glib.h: inlining hassle. for compilers that don't allow the `inline'
|
||||||
keyword, mostly because of strict ANSI C compliance or dumbness, we try
|
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*
|
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
|
to do function inlining, in which case inline function bodys do make
|
||||||
sense. we also define G_INLINE_FUNC to properly export the function
|
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>
|
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,
|
(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
|
so the correct size of the memchunk is allocated with 0's and not
|
||||||
a memory portion of the size of the desired type.
|
a memory portion of the size of the desired type.
|
||||||
|
@@ -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>
|
Sun Jan 17 17:13:54 CST 1999 Shawn T. Amundson <amundson@gtk.org>
|
||||||
|
|
||||||
* Released GLib 1.1.13
|
* 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.
|
* gdate.c: Include config.h to get HAVE_LOCALTIME_R macro.
|
||||||
|
|
||||||
* configure.in: Moved function check back to the place, they've
|
* configure.in: Moved function check back to the place, they've
|
||||||
been before.
|
been before.
|
||||||
|
|
||||||
1999-01-11 Jeff Garzik <jgarzik@pobox.com>
|
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>
|
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:
|
* INSTALL:
|
||||||
NEWS:
|
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>
|
Sat Jan 2 02:20:59 1999 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* ghook.c:
|
* ghook.c:
|
||||||
(g_hook_list_invoke):
|
(g_hook_list_invoke):
|
||||||
(g_hook_list_invoke_check):
|
(g_hook_list_invoke_check):
|
||||||
(g_hook_list_marshal_check):
|
(g_hook_list_marshal_check):
|
||||||
(g_hook_list_marshal): avoid unneccessary extra hook referencing (the
|
(g_hook_list_marshal): avoid unneccessary extra hook referencing (the
|
||||||
explicit hook referencing became unneccessarry with my changes from
|
explicit hook referencing became unneccessarry with my changes from
|
||||||
Mon Dec 21 21:48:29 1998).
|
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>
|
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:
|
* INSTALL:
|
||||||
NEWS:
|
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>
|
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}.
|
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>
|
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>
|
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
|
* gmain.c: there was a reference count race for hooks during invocation
|
||||||
loops. since all (known) hook loop implementations, do currently start
|
loops. since all (known) hook loop implementations, do currently start
|
||||||
out with g_hook_first_valid() and iterate with g_hook_next_valid(),
|
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>
|
Fri Dec 18 00:03:17 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* glib.h:
|
* glib.h:
|
||||||
* gmain.c:
|
* gmain.c:
|
||||||
(g_main_is_running): new function to check whether a main loop has been
|
(g_main_is_running): new function to check whether a main loop has been
|
||||||
quitted.
|
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,
|
* garray.c (g_ptr_array_remove_index): Fixed size in g_memmove,
|
||||||
reported by Alexander Larsson <alla@lysator.liu.se>.
|
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>
|
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:
|
* INSTALL:
|
||||||
NEWS:
|
NEWS:
|
||||||
@@ -586,7 +594,7 @@ Tue Dec 15 23:16:05 CST 1998 Shawn T. Amundson <amundson@gtk.org>
|
|||||||
|
|
||||||
* INSTALL:
|
* INSTALL:
|
||||||
NEWS:
|
NEWS:
|
||||||
README
|
README
|
||||||
configure.in:
|
configure.in:
|
||||||
glib.spec:
|
glib.spec:
|
||||||
docs/glib-config.1: Incremented version
|
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>
|
1998-12-15 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* gdate.c (g_date_prepare_to_parse): Solaris has a broken strftime
|
* 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
|
set up the parser. So use a different date that Solaris seems
|
||||||
to like.
|
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
|
* gmain.c (g_main_poll_add_unlocked): first take a new poll record
|
||||||
form the poll_free_list.
|
form the poll_free_list.
|
||||||
|
|
||||||
* gmem.c, gstrfuncs.c, gutils.c: Made it MT safe.
|
* gmem.c, gstrfuncs.c, gutils.c: Made it MT safe.
|
||||||
|
|
||||||
* gthraed/*.c: Added copyright headers.
|
* 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/gthread.c (g_thread_try_init): Call g_mutex_init().
|
||||||
|
|
||||||
* gthread/testgthread.c: updated test program.
|
* gthread/testgthread.c: updated test program.
|
||||||
|
|
||||||
Tue Dec 8 18:49:56 1998 Owen Taylor <otaylor@redhat.com>
|
Tue Dec 8 18:49:56 1998 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* Start at adding thread-safety. (mostly work
|
* 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>
|
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
|
update the dmy representation before setting the components
|
||||||
of it.
|
of it.
|
||||||
(g_date_set_day): Same.
|
(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>
|
1998-12-02 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* testgdate.c, testgdateparser.c: Two new files. This is kind of
|
* testgdate.c, testgdateparser.c: Two new files. This is kind of
|
||||||
ugly code, but I want to go ahead and make the tests available.
|
ugly code, but I want to go ahead and make the tests available.
|
||||||
It isn't contaminating any other code. :-) Since one of these
|
It isn't contaminating any other code. :-) Since one of these
|
||||||
is interactive and the other takes a while to run, I've kept
|
is interactive and the other takes a while to run, I've kept
|
||||||
them separate from testglib for now.
|
them separate from testglib for now.
|
||||||
* Makefile.am: Build gdate test programs.
|
* Makefile.am: Build gdate test programs.
|
||||||
|
|
||||||
1998-12-02 Havoc Pennington <hp@pobox.com>
|
1998-12-02 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* gdate.c (g_date_valid): Rely on GDate::dmy and GDate::Julian
|
* 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>
|
1998-12-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
* glib.h:
|
* glib.h:
|
||||||
* gdate.c: changed `gpointer struct_tm_p' parameter of
|
* gdate.c: changed `gpointer struct_tm_p' parameter of
|
||||||
g_date_to_struct_tm back to `struct tm *tm' and forward declared
|
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
|
`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:
|
README:
|
||||||
glib.spec:
|
glib.spec:
|
||||||
docs/glib-config.1: Incremented versions to 1.1.6.
|
docs/glib-config.1: Incremented versions to 1.1.6.
|
||||||
|
|
||||||
Wed Dec 2 02:10:59 1998 Tim Janik <timj@gtk.org>
|
Wed Dec 2 02:10:59 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gdate.c: s/time_t/GTime/ and s/g_print/g_message/
|
* 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_set_time() to time_t, changed struct tm parameter of
|
||||||
g_date_to_struct_tm to `gpointer struct_tm_p'. yes, this is not
|
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.
|
nice, but including time.h actually breaks a bunch of code.
|
||||||
|
|
||||||
* incremented GLib version to 1.1.6.
|
* incremented GLib version to 1.1.6.
|
||||||
|
|
||||||
1998-11-30 Havoc Pennington <hp@pobox.com>
|
1998-11-30 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* gdate.c: New file, implements calendrical calculations.
|
* gdate.c: New file, implements calendrical calculations.
|
||||||
|
|
||||||
* glib.h: Added declarations for GDate module.
|
* glib.h: Added declarations for GDate module.
|
||||||
|
|
||||||
Mon Nov 30 07:12:10 1998 Tim Janik <timj@gtk.org>
|
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>
|
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,
|
* ghash.c: reverted the g_hash_table_set_key_freefunc() addition,
|
||||||
since it's to specialized and needs to be resolved in a generic
|
since it's to specialized and needs to be resolved in a generic
|
||||||
fashion.
|
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()
|
* glib.h: added GFreeFunc and g_hash_table_set_key_freefunc()
|
||||||
prototype.
|
prototype.
|
||||||
* ghash.c: added g_hash_table_set_key_freefunc() implementation.
|
* 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
|
g_hash_nodes_destroy(), and changed the functions that call them
|
||||||
to match the new definitions.
|
to match the new definitions.
|
||||||
This changes no external interfaces, and should create no binary
|
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>
|
1998-11-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
* glib.h:
|
* glib.h:
|
||||||
* garray.c:
|
* garray.c:
|
||||||
(g_array_remove_index): new function for removing an entry from an
|
(g_array_remove_index): new function for removing an entry from an
|
||||||
array while preserving the order
|
array while preserving the order
|
||||||
@@ -1040,7 +1048,7 @@ Sat Oct 31 20:14:22 PST 1998 Manish Singh <yosh@gimp.org>
|
|||||||
|
|
||||||
* gmessages.c
|
* gmessages.c
|
||||||
* gscanner.c: #include <config.h> in here too, for HAVE_UNISTD_H
|
* gscanner.c: #include <config.h> in here too, for HAVE_UNISTD_H
|
||||||
|
|
||||||
1998-11-01 Tor Lillqvist <tml@iki.fi>
|
1998-11-01 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* glib.def: Added the new functions.
|
* 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>
|
1998-10-31 Raja R Harinath <harinath@cs.umn.edu>
|
||||||
|
|
||||||
Land glib-rrh-19981025-0.patch.
|
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'.
|
(stamp-gc-h): New rule. Generate `glibconfig.h'.
|
||||||
* configure.in (AM_CONFIG_HEADER): It is now `config.h'.
|
* configure.in (AM_CONFIG_HEADER): It is now `config.h'.
|
||||||
(HAVE_BROKEN_WCTYPE): On Solaris, look for iswalnum in -lw before
|
(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.
|
* gmem.c: Likewise.
|
||||||
* gstrfuncs.c: Likewise.
|
* gstrfuncs.c: Likewise.
|
||||||
* gutils.c: Likewise.
|
* gutils.c: Likewise.
|
||||||
|
|
||||||
Sat Oct 31 05:08:26 1998 Tim Janik <timj@gtk.org>
|
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.
|
* 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.
|
filedescriptor, which hooks onto the current scanning position.
|
||||||
(this became neccessary with the implementation of buffered
|
(this became neccessary with the implementation of buffered
|
||||||
reads).
|
reads).
|
||||||
(g_scanner_input_file):
|
(g_scanner_input_file):
|
||||||
(g_scanner_input_text): automatically blow the read ahead buffer.
|
(g_scanner_input_text): automatically blow the read ahead buffer.
|
||||||
(g_scanner_get_char): blow the read ahead buffer when the end of
|
(g_scanner_get_char): blow the read ahead buffer when the end of
|
||||||
input is reached, i.e. a '\000' char is read.
|
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 (struct dirent): use lower case structure members.
|
||||||
|
|
||||||
* glib.h:
|
* glib.h:
|
||||||
* makefile.lcc:
|
* makefile.lcc:
|
||||||
* makefile.msc:
|
* makefile.msc:
|
||||||
s/COMPILING_GLIB/GLIB_COMPILATION/
|
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
|
Conditionalized inclusion of unistd.h. Added changes for
|
||||||
Microsoft C. Added CR to the skipped character set. Added small
|
Microsoft C. Added CR to the skipped character set. Added small
|
||||||
workaround for MSC compiler bug in g_scanner_cur_value.
|
workaround for MSC compiler bug in g_scanner_cur_value.
|
||||||
|
|
||||||
* gstrfuncs.c:
|
* gstrfuncs.c:
|
||||||
Added the function g_strescape, which escapes the backslash
|
Added the function g_strescape, which escapes the backslash
|
||||||
character. Needed especially when printing Windows filenames.
|
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:
|
* makefile.lcc makefile.msc:
|
||||||
New files. Compiler-specific makefiles for LCC-Win32 and
|
New files. Compiler-specific makefiles for LCC-Win32 and
|
||||||
Microsoft C. Only Microsoft C is actually supported currently.
|
Microsoft C. Only Microsoft C is actually supported currently.
|
||||||
|
|
||||||
* testglib.c:
|
* testglib.c:
|
||||||
Added pathname check cases for Windows. Added workaround for
|
Added pathname check cases for Windows. Added workaround for
|
||||||
bug in the Microsoft runtime library. Improved some tests a bit.
|
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>
|
Sun Oct 25 01:24:01 CST 1998 Shawn T. Amundson <amundson@gtk.org>
|
||||||
|
|
||||||
* Released GLib 1.1.4
|
* Released GLib 1.1.4
|
||||||
|
|
||||||
* docs/Makefile.am:
|
* docs/Makefile.am:
|
||||||
* docs/.cvsignore
|
* docs/.cvsignore
|
||||||
* docs/glib-config.1:
|
* docs/glib-config.1:
|
||||||
* docs/glib.texi: Moved docs from gtk and created glib-config.1
|
* docs/glib.texi: Moved docs from gtk and created glib-config.1
|
||||||
from gtk-config.1 in gtk
|
from gtk-config.1 in gtk
|
||||||
|
|
||||||
* configure.in:
|
* 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.
|
distribution. Added in a 'sanity' rule.
|
||||||
|
|
||||||
* NEWS:
|
* NEWS:
|
||||||
* README:
|
* README:
|
||||||
* INSTALL: Updated for the release
|
* INSTALL: Updated for the release
|
||||||
|
|
||||||
Sun Oct 25 07:30:10 1998 Tim Janik <timj@gtk.org>
|
Sun Oct 25 07:30:10 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gscanner.c:
|
* gscanner.c:
|
||||||
(g_scanner_peek_next_char):
|
(g_scanner_peek_next_char):
|
||||||
(g_scanner_get_char): no more characters are available if read() returns
|
(g_scanner_get_char): no more characters are available if read() returns
|
||||||
anything less than 1, not only on 0 return.
|
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
|
* gstrfuncs.c: final API cleanup of string arrays to suit sopwith's
|
||||||
argument order requirements.
|
argument order requirements.
|
||||||
(g_strsplit): renamed from g_str_array_split().
|
(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>
|
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
|
* 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*
|
with the existing naming scheme for g_str* functions. grouped the g_str*
|
||||||
functions that will return a newly allocated string seperatedly. all of
|
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
|
* glib.h: New function g_hash_table_foreach_remove is similar to
|
||||||
g_hash_table_foreach, but the callback's return value indicates
|
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.
|
Returns the number of elements deleted.
|
||||||
|
|
||||||
Fri Sep 18 11:31:50 PDT 1998 Manish Singh <yosh@gimp.org>
|
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'
|
* glib.h: inlining hassle. for compilers that don't allow the `inline'
|
||||||
keyword, mostly because of strict ANSI C compliance or dumbness, we try
|
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*
|
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
|
to do function inlining, in which case inline function bodys do make
|
||||||
sense. we also define G_INLINE_FUNC to properly export the function
|
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>
|
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,
|
(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
|
so the correct size of the memchunk is allocated with 0's and not
|
||||||
a memory portion of the size of the desired type.
|
a memory portion of the size of the desired type.
|
||||||
|
@@ -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>
|
Sun Jan 17 17:13:54 CST 1999 Shawn T. Amundson <amundson@gtk.org>
|
||||||
|
|
||||||
* Released GLib 1.1.13
|
* 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.
|
* gdate.c: Include config.h to get HAVE_LOCALTIME_R macro.
|
||||||
|
|
||||||
* configure.in: Moved function check back to the place, they've
|
* configure.in: Moved function check back to the place, they've
|
||||||
been before.
|
been before.
|
||||||
|
|
||||||
1999-01-11 Jeff Garzik <jgarzik@pobox.com>
|
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>
|
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:
|
* INSTALL:
|
||||||
NEWS:
|
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>
|
Sat Jan 2 02:20:59 1999 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* ghook.c:
|
* ghook.c:
|
||||||
(g_hook_list_invoke):
|
(g_hook_list_invoke):
|
||||||
(g_hook_list_invoke_check):
|
(g_hook_list_invoke_check):
|
||||||
(g_hook_list_marshal_check):
|
(g_hook_list_marshal_check):
|
||||||
(g_hook_list_marshal): avoid unneccessary extra hook referencing (the
|
(g_hook_list_marshal): avoid unneccessary extra hook referencing (the
|
||||||
explicit hook referencing became unneccessarry with my changes from
|
explicit hook referencing became unneccessarry with my changes from
|
||||||
Mon Dec 21 21:48:29 1998).
|
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>
|
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:
|
* INSTALL:
|
||||||
NEWS:
|
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>
|
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}.
|
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>
|
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>
|
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
|
* gmain.c: there was a reference count race for hooks during invocation
|
||||||
loops. since all (known) hook loop implementations, do currently start
|
loops. since all (known) hook loop implementations, do currently start
|
||||||
out with g_hook_first_valid() and iterate with g_hook_next_valid(),
|
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>
|
Fri Dec 18 00:03:17 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* glib.h:
|
* glib.h:
|
||||||
* gmain.c:
|
* gmain.c:
|
||||||
(g_main_is_running): new function to check whether a main loop has been
|
(g_main_is_running): new function to check whether a main loop has been
|
||||||
quitted.
|
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,
|
* garray.c (g_ptr_array_remove_index): Fixed size in g_memmove,
|
||||||
reported by Alexander Larsson <alla@lysator.liu.se>.
|
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>
|
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:
|
* INSTALL:
|
||||||
NEWS:
|
NEWS:
|
||||||
@@ -586,7 +594,7 @@ Tue Dec 15 23:16:05 CST 1998 Shawn T. Amundson <amundson@gtk.org>
|
|||||||
|
|
||||||
* INSTALL:
|
* INSTALL:
|
||||||
NEWS:
|
NEWS:
|
||||||
README
|
README
|
||||||
configure.in:
|
configure.in:
|
||||||
glib.spec:
|
glib.spec:
|
||||||
docs/glib-config.1: Incremented version
|
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>
|
1998-12-15 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* gdate.c (g_date_prepare_to_parse): Solaris has a broken strftime
|
* 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
|
set up the parser. So use a different date that Solaris seems
|
||||||
to like.
|
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
|
* gmain.c (g_main_poll_add_unlocked): first take a new poll record
|
||||||
form the poll_free_list.
|
form the poll_free_list.
|
||||||
|
|
||||||
* gmem.c, gstrfuncs.c, gutils.c: Made it MT safe.
|
* gmem.c, gstrfuncs.c, gutils.c: Made it MT safe.
|
||||||
|
|
||||||
* gthraed/*.c: Added copyright headers.
|
* 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/gthread.c (g_thread_try_init): Call g_mutex_init().
|
||||||
|
|
||||||
* gthread/testgthread.c: updated test program.
|
* gthread/testgthread.c: updated test program.
|
||||||
|
|
||||||
Tue Dec 8 18:49:56 1998 Owen Taylor <otaylor@redhat.com>
|
Tue Dec 8 18:49:56 1998 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* Start at adding thread-safety. (mostly work
|
* 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>
|
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
|
update the dmy representation before setting the components
|
||||||
of it.
|
of it.
|
||||||
(g_date_set_day): Same.
|
(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>
|
1998-12-02 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* testgdate.c, testgdateparser.c: Two new files. This is kind of
|
* testgdate.c, testgdateparser.c: Two new files. This is kind of
|
||||||
ugly code, but I want to go ahead and make the tests available.
|
ugly code, but I want to go ahead and make the tests available.
|
||||||
It isn't contaminating any other code. :-) Since one of these
|
It isn't contaminating any other code. :-) Since one of these
|
||||||
is interactive and the other takes a while to run, I've kept
|
is interactive and the other takes a while to run, I've kept
|
||||||
them separate from testglib for now.
|
them separate from testglib for now.
|
||||||
* Makefile.am: Build gdate test programs.
|
* Makefile.am: Build gdate test programs.
|
||||||
|
|
||||||
1998-12-02 Havoc Pennington <hp@pobox.com>
|
1998-12-02 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* gdate.c (g_date_valid): Rely on GDate::dmy and GDate::Julian
|
* 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>
|
1998-12-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
* glib.h:
|
* glib.h:
|
||||||
* gdate.c: changed `gpointer struct_tm_p' parameter of
|
* gdate.c: changed `gpointer struct_tm_p' parameter of
|
||||||
g_date_to_struct_tm back to `struct tm *tm' and forward declared
|
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
|
`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:
|
README:
|
||||||
glib.spec:
|
glib.spec:
|
||||||
docs/glib-config.1: Incremented versions to 1.1.6.
|
docs/glib-config.1: Incremented versions to 1.1.6.
|
||||||
|
|
||||||
Wed Dec 2 02:10:59 1998 Tim Janik <timj@gtk.org>
|
Wed Dec 2 02:10:59 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gdate.c: s/time_t/GTime/ and s/g_print/g_message/
|
* 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_set_time() to time_t, changed struct tm parameter of
|
||||||
g_date_to_struct_tm to `gpointer struct_tm_p'. yes, this is not
|
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.
|
nice, but including time.h actually breaks a bunch of code.
|
||||||
|
|
||||||
* incremented GLib version to 1.1.6.
|
* incremented GLib version to 1.1.6.
|
||||||
|
|
||||||
1998-11-30 Havoc Pennington <hp@pobox.com>
|
1998-11-30 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* gdate.c: New file, implements calendrical calculations.
|
* gdate.c: New file, implements calendrical calculations.
|
||||||
|
|
||||||
* glib.h: Added declarations for GDate module.
|
* glib.h: Added declarations for GDate module.
|
||||||
|
|
||||||
Mon Nov 30 07:12:10 1998 Tim Janik <timj@gtk.org>
|
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>
|
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,
|
* ghash.c: reverted the g_hash_table_set_key_freefunc() addition,
|
||||||
since it's to specialized and needs to be resolved in a generic
|
since it's to specialized and needs to be resolved in a generic
|
||||||
fashion.
|
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()
|
* glib.h: added GFreeFunc and g_hash_table_set_key_freefunc()
|
||||||
prototype.
|
prototype.
|
||||||
* ghash.c: added g_hash_table_set_key_freefunc() implementation.
|
* 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
|
g_hash_nodes_destroy(), and changed the functions that call them
|
||||||
to match the new definitions.
|
to match the new definitions.
|
||||||
This changes no external interfaces, and should create no binary
|
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>
|
1998-11-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
* glib.h:
|
* glib.h:
|
||||||
* garray.c:
|
* garray.c:
|
||||||
(g_array_remove_index): new function for removing an entry from an
|
(g_array_remove_index): new function for removing an entry from an
|
||||||
array while preserving the order
|
array while preserving the order
|
||||||
@@ -1040,7 +1048,7 @@ Sat Oct 31 20:14:22 PST 1998 Manish Singh <yosh@gimp.org>
|
|||||||
|
|
||||||
* gmessages.c
|
* gmessages.c
|
||||||
* gscanner.c: #include <config.h> in here too, for HAVE_UNISTD_H
|
* gscanner.c: #include <config.h> in here too, for HAVE_UNISTD_H
|
||||||
|
|
||||||
1998-11-01 Tor Lillqvist <tml@iki.fi>
|
1998-11-01 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* glib.def: Added the new functions.
|
* 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>
|
1998-10-31 Raja R Harinath <harinath@cs.umn.edu>
|
||||||
|
|
||||||
Land glib-rrh-19981025-0.patch.
|
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'.
|
(stamp-gc-h): New rule. Generate `glibconfig.h'.
|
||||||
* configure.in (AM_CONFIG_HEADER): It is now `config.h'.
|
* configure.in (AM_CONFIG_HEADER): It is now `config.h'.
|
||||||
(HAVE_BROKEN_WCTYPE): On Solaris, look for iswalnum in -lw before
|
(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.
|
* gmem.c: Likewise.
|
||||||
* gstrfuncs.c: Likewise.
|
* gstrfuncs.c: Likewise.
|
||||||
* gutils.c: Likewise.
|
* gutils.c: Likewise.
|
||||||
|
|
||||||
Sat Oct 31 05:08:26 1998 Tim Janik <timj@gtk.org>
|
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.
|
* 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.
|
filedescriptor, which hooks onto the current scanning position.
|
||||||
(this became neccessary with the implementation of buffered
|
(this became neccessary with the implementation of buffered
|
||||||
reads).
|
reads).
|
||||||
(g_scanner_input_file):
|
(g_scanner_input_file):
|
||||||
(g_scanner_input_text): automatically blow the read ahead buffer.
|
(g_scanner_input_text): automatically blow the read ahead buffer.
|
||||||
(g_scanner_get_char): blow the read ahead buffer when the end of
|
(g_scanner_get_char): blow the read ahead buffer when the end of
|
||||||
input is reached, i.e. a '\000' char is read.
|
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 (struct dirent): use lower case structure members.
|
||||||
|
|
||||||
* glib.h:
|
* glib.h:
|
||||||
* makefile.lcc:
|
* makefile.lcc:
|
||||||
* makefile.msc:
|
* makefile.msc:
|
||||||
s/COMPILING_GLIB/GLIB_COMPILATION/
|
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
|
Conditionalized inclusion of unistd.h. Added changes for
|
||||||
Microsoft C. Added CR to the skipped character set. Added small
|
Microsoft C. Added CR to the skipped character set. Added small
|
||||||
workaround for MSC compiler bug in g_scanner_cur_value.
|
workaround for MSC compiler bug in g_scanner_cur_value.
|
||||||
|
|
||||||
* gstrfuncs.c:
|
* gstrfuncs.c:
|
||||||
Added the function g_strescape, which escapes the backslash
|
Added the function g_strescape, which escapes the backslash
|
||||||
character. Needed especially when printing Windows filenames.
|
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:
|
* makefile.lcc makefile.msc:
|
||||||
New files. Compiler-specific makefiles for LCC-Win32 and
|
New files. Compiler-specific makefiles for LCC-Win32 and
|
||||||
Microsoft C. Only Microsoft C is actually supported currently.
|
Microsoft C. Only Microsoft C is actually supported currently.
|
||||||
|
|
||||||
* testglib.c:
|
* testglib.c:
|
||||||
Added pathname check cases for Windows. Added workaround for
|
Added pathname check cases for Windows. Added workaround for
|
||||||
bug in the Microsoft runtime library. Improved some tests a bit.
|
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>
|
Sun Oct 25 01:24:01 CST 1998 Shawn T. Amundson <amundson@gtk.org>
|
||||||
|
|
||||||
* Released GLib 1.1.4
|
* Released GLib 1.1.4
|
||||||
|
|
||||||
* docs/Makefile.am:
|
* docs/Makefile.am:
|
||||||
* docs/.cvsignore
|
* docs/.cvsignore
|
||||||
* docs/glib-config.1:
|
* docs/glib-config.1:
|
||||||
* docs/glib.texi: Moved docs from gtk and created glib-config.1
|
* docs/glib.texi: Moved docs from gtk and created glib-config.1
|
||||||
from gtk-config.1 in gtk
|
from gtk-config.1 in gtk
|
||||||
|
|
||||||
* configure.in:
|
* 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.
|
distribution. Added in a 'sanity' rule.
|
||||||
|
|
||||||
* NEWS:
|
* NEWS:
|
||||||
* README:
|
* README:
|
||||||
* INSTALL: Updated for the release
|
* INSTALL: Updated for the release
|
||||||
|
|
||||||
Sun Oct 25 07:30:10 1998 Tim Janik <timj@gtk.org>
|
Sun Oct 25 07:30:10 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gscanner.c:
|
* gscanner.c:
|
||||||
(g_scanner_peek_next_char):
|
(g_scanner_peek_next_char):
|
||||||
(g_scanner_get_char): no more characters are available if read() returns
|
(g_scanner_get_char): no more characters are available if read() returns
|
||||||
anything less than 1, not only on 0 return.
|
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
|
* gstrfuncs.c: final API cleanup of string arrays to suit sopwith's
|
||||||
argument order requirements.
|
argument order requirements.
|
||||||
(g_strsplit): renamed from g_str_array_split().
|
(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>
|
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
|
* 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*
|
with the existing naming scheme for g_str* functions. grouped the g_str*
|
||||||
functions that will return a newly allocated string seperatedly. all of
|
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
|
* glib.h: New function g_hash_table_foreach_remove is similar to
|
||||||
g_hash_table_foreach, but the callback's return value indicates
|
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.
|
Returns the number of elements deleted.
|
||||||
|
|
||||||
Fri Sep 18 11:31:50 PDT 1998 Manish Singh <yosh@gimp.org>
|
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'
|
* glib.h: inlining hassle. for compilers that don't allow the `inline'
|
||||||
keyword, mostly because of strict ANSI C compliance or dumbness, we try
|
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*
|
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
|
to do function inlining, in which case inline function bodys do make
|
||||||
sense. we also define G_INLINE_FUNC to properly export the function
|
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>
|
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,
|
(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
|
so the correct size of the memchunk is allocated with 0's and not
|
||||||
a memory portion of the size of the desired type.
|
a memory portion of the size of the desired type.
|
||||||
|
@@ -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>
|
Sun Jan 17 17:13:54 CST 1999 Shawn T. Amundson <amundson@gtk.org>
|
||||||
|
|
||||||
* Released GLib 1.1.13
|
* 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.
|
* gdate.c: Include config.h to get HAVE_LOCALTIME_R macro.
|
||||||
|
|
||||||
* configure.in: Moved function check back to the place, they've
|
* configure.in: Moved function check back to the place, they've
|
||||||
been before.
|
been before.
|
||||||
|
|
||||||
1999-01-11 Jeff Garzik <jgarzik@pobox.com>
|
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>
|
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:
|
* INSTALL:
|
||||||
NEWS:
|
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>
|
Sat Jan 2 02:20:59 1999 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* ghook.c:
|
* ghook.c:
|
||||||
(g_hook_list_invoke):
|
(g_hook_list_invoke):
|
||||||
(g_hook_list_invoke_check):
|
(g_hook_list_invoke_check):
|
||||||
(g_hook_list_marshal_check):
|
(g_hook_list_marshal_check):
|
||||||
(g_hook_list_marshal): avoid unneccessary extra hook referencing (the
|
(g_hook_list_marshal): avoid unneccessary extra hook referencing (the
|
||||||
explicit hook referencing became unneccessarry with my changes from
|
explicit hook referencing became unneccessarry with my changes from
|
||||||
Mon Dec 21 21:48:29 1998).
|
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>
|
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:
|
* INSTALL:
|
||||||
NEWS:
|
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>
|
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}.
|
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>
|
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>
|
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
|
* gmain.c: there was a reference count race for hooks during invocation
|
||||||
loops. since all (known) hook loop implementations, do currently start
|
loops. since all (known) hook loop implementations, do currently start
|
||||||
out with g_hook_first_valid() and iterate with g_hook_next_valid(),
|
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>
|
Fri Dec 18 00:03:17 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* glib.h:
|
* glib.h:
|
||||||
* gmain.c:
|
* gmain.c:
|
||||||
(g_main_is_running): new function to check whether a main loop has been
|
(g_main_is_running): new function to check whether a main loop has been
|
||||||
quitted.
|
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,
|
* garray.c (g_ptr_array_remove_index): Fixed size in g_memmove,
|
||||||
reported by Alexander Larsson <alla@lysator.liu.se>.
|
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>
|
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:
|
* INSTALL:
|
||||||
NEWS:
|
NEWS:
|
||||||
@@ -586,7 +594,7 @@ Tue Dec 15 23:16:05 CST 1998 Shawn T. Amundson <amundson@gtk.org>
|
|||||||
|
|
||||||
* INSTALL:
|
* INSTALL:
|
||||||
NEWS:
|
NEWS:
|
||||||
README
|
README
|
||||||
configure.in:
|
configure.in:
|
||||||
glib.spec:
|
glib.spec:
|
||||||
docs/glib-config.1: Incremented version
|
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>
|
1998-12-15 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* gdate.c (g_date_prepare_to_parse): Solaris has a broken strftime
|
* 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
|
set up the parser. So use a different date that Solaris seems
|
||||||
to like.
|
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
|
* gmain.c (g_main_poll_add_unlocked): first take a new poll record
|
||||||
form the poll_free_list.
|
form the poll_free_list.
|
||||||
|
|
||||||
* gmem.c, gstrfuncs.c, gutils.c: Made it MT safe.
|
* gmem.c, gstrfuncs.c, gutils.c: Made it MT safe.
|
||||||
|
|
||||||
* gthraed/*.c: Added copyright headers.
|
* 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/gthread.c (g_thread_try_init): Call g_mutex_init().
|
||||||
|
|
||||||
* gthread/testgthread.c: updated test program.
|
* gthread/testgthread.c: updated test program.
|
||||||
|
|
||||||
Tue Dec 8 18:49:56 1998 Owen Taylor <otaylor@redhat.com>
|
Tue Dec 8 18:49:56 1998 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* Start at adding thread-safety. (mostly work
|
* 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>
|
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
|
update the dmy representation before setting the components
|
||||||
of it.
|
of it.
|
||||||
(g_date_set_day): Same.
|
(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>
|
1998-12-02 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* testgdate.c, testgdateparser.c: Two new files. This is kind of
|
* testgdate.c, testgdateparser.c: Two new files. This is kind of
|
||||||
ugly code, but I want to go ahead and make the tests available.
|
ugly code, but I want to go ahead and make the tests available.
|
||||||
It isn't contaminating any other code. :-) Since one of these
|
It isn't contaminating any other code. :-) Since one of these
|
||||||
is interactive and the other takes a while to run, I've kept
|
is interactive and the other takes a while to run, I've kept
|
||||||
them separate from testglib for now.
|
them separate from testglib for now.
|
||||||
* Makefile.am: Build gdate test programs.
|
* Makefile.am: Build gdate test programs.
|
||||||
|
|
||||||
1998-12-02 Havoc Pennington <hp@pobox.com>
|
1998-12-02 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* gdate.c (g_date_valid): Rely on GDate::dmy and GDate::Julian
|
* 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>
|
1998-12-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
* glib.h:
|
* glib.h:
|
||||||
* gdate.c: changed `gpointer struct_tm_p' parameter of
|
* gdate.c: changed `gpointer struct_tm_p' parameter of
|
||||||
g_date_to_struct_tm back to `struct tm *tm' and forward declared
|
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
|
`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:
|
README:
|
||||||
glib.spec:
|
glib.spec:
|
||||||
docs/glib-config.1: Incremented versions to 1.1.6.
|
docs/glib-config.1: Incremented versions to 1.1.6.
|
||||||
|
|
||||||
Wed Dec 2 02:10:59 1998 Tim Janik <timj@gtk.org>
|
Wed Dec 2 02:10:59 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gdate.c: s/time_t/GTime/ and s/g_print/g_message/
|
* 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_set_time() to time_t, changed struct tm parameter of
|
||||||
g_date_to_struct_tm to `gpointer struct_tm_p'. yes, this is not
|
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.
|
nice, but including time.h actually breaks a bunch of code.
|
||||||
|
|
||||||
* incremented GLib version to 1.1.6.
|
* incremented GLib version to 1.1.6.
|
||||||
|
|
||||||
1998-11-30 Havoc Pennington <hp@pobox.com>
|
1998-11-30 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* gdate.c: New file, implements calendrical calculations.
|
* gdate.c: New file, implements calendrical calculations.
|
||||||
|
|
||||||
* glib.h: Added declarations for GDate module.
|
* glib.h: Added declarations for GDate module.
|
||||||
|
|
||||||
Mon Nov 30 07:12:10 1998 Tim Janik <timj@gtk.org>
|
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>
|
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,
|
* ghash.c: reverted the g_hash_table_set_key_freefunc() addition,
|
||||||
since it's to specialized and needs to be resolved in a generic
|
since it's to specialized and needs to be resolved in a generic
|
||||||
fashion.
|
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()
|
* glib.h: added GFreeFunc and g_hash_table_set_key_freefunc()
|
||||||
prototype.
|
prototype.
|
||||||
* ghash.c: added g_hash_table_set_key_freefunc() implementation.
|
* 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
|
g_hash_nodes_destroy(), and changed the functions that call them
|
||||||
to match the new definitions.
|
to match the new definitions.
|
||||||
This changes no external interfaces, and should create no binary
|
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>
|
1998-11-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
* glib.h:
|
* glib.h:
|
||||||
* garray.c:
|
* garray.c:
|
||||||
(g_array_remove_index): new function for removing an entry from an
|
(g_array_remove_index): new function for removing an entry from an
|
||||||
array while preserving the order
|
array while preserving the order
|
||||||
@@ -1040,7 +1048,7 @@ Sat Oct 31 20:14:22 PST 1998 Manish Singh <yosh@gimp.org>
|
|||||||
|
|
||||||
* gmessages.c
|
* gmessages.c
|
||||||
* gscanner.c: #include <config.h> in here too, for HAVE_UNISTD_H
|
* gscanner.c: #include <config.h> in here too, for HAVE_UNISTD_H
|
||||||
|
|
||||||
1998-11-01 Tor Lillqvist <tml@iki.fi>
|
1998-11-01 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* glib.def: Added the new functions.
|
* 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>
|
1998-10-31 Raja R Harinath <harinath@cs.umn.edu>
|
||||||
|
|
||||||
Land glib-rrh-19981025-0.patch.
|
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'.
|
(stamp-gc-h): New rule. Generate `glibconfig.h'.
|
||||||
* configure.in (AM_CONFIG_HEADER): It is now `config.h'.
|
* configure.in (AM_CONFIG_HEADER): It is now `config.h'.
|
||||||
(HAVE_BROKEN_WCTYPE): On Solaris, look for iswalnum in -lw before
|
(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.
|
* gmem.c: Likewise.
|
||||||
* gstrfuncs.c: Likewise.
|
* gstrfuncs.c: Likewise.
|
||||||
* gutils.c: Likewise.
|
* gutils.c: Likewise.
|
||||||
|
|
||||||
Sat Oct 31 05:08:26 1998 Tim Janik <timj@gtk.org>
|
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.
|
* 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.
|
filedescriptor, which hooks onto the current scanning position.
|
||||||
(this became neccessary with the implementation of buffered
|
(this became neccessary with the implementation of buffered
|
||||||
reads).
|
reads).
|
||||||
(g_scanner_input_file):
|
(g_scanner_input_file):
|
||||||
(g_scanner_input_text): automatically blow the read ahead buffer.
|
(g_scanner_input_text): automatically blow the read ahead buffer.
|
||||||
(g_scanner_get_char): blow the read ahead buffer when the end of
|
(g_scanner_get_char): blow the read ahead buffer when the end of
|
||||||
input is reached, i.e. a '\000' char is read.
|
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 (struct dirent): use lower case structure members.
|
||||||
|
|
||||||
* glib.h:
|
* glib.h:
|
||||||
* makefile.lcc:
|
* makefile.lcc:
|
||||||
* makefile.msc:
|
* makefile.msc:
|
||||||
s/COMPILING_GLIB/GLIB_COMPILATION/
|
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
|
Conditionalized inclusion of unistd.h. Added changes for
|
||||||
Microsoft C. Added CR to the skipped character set. Added small
|
Microsoft C. Added CR to the skipped character set. Added small
|
||||||
workaround for MSC compiler bug in g_scanner_cur_value.
|
workaround for MSC compiler bug in g_scanner_cur_value.
|
||||||
|
|
||||||
* gstrfuncs.c:
|
* gstrfuncs.c:
|
||||||
Added the function g_strescape, which escapes the backslash
|
Added the function g_strescape, which escapes the backslash
|
||||||
character. Needed especially when printing Windows filenames.
|
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:
|
* makefile.lcc makefile.msc:
|
||||||
New files. Compiler-specific makefiles for LCC-Win32 and
|
New files. Compiler-specific makefiles for LCC-Win32 and
|
||||||
Microsoft C. Only Microsoft C is actually supported currently.
|
Microsoft C. Only Microsoft C is actually supported currently.
|
||||||
|
|
||||||
* testglib.c:
|
* testglib.c:
|
||||||
Added pathname check cases for Windows. Added workaround for
|
Added pathname check cases for Windows. Added workaround for
|
||||||
bug in the Microsoft runtime library. Improved some tests a bit.
|
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>
|
Sun Oct 25 01:24:01 CST 1998 Shawn T. Amundson <amundson@gtk.org>
|
||||||
|
|
||||||
* Released GLib 1.1.4
|
* Released GLib 1.1.4
|
||||||
|
|
||||||
* docs/Makefile.am:
|
* docs/Makefile.am:
|
||||||
* docs/.cvsignore
|
* docs/.cvsignore
|
||||||
* docs/glib-config.1:
|
* docs/glib-config.1:
|
||||||
* docs/glib.texi: Moved docs from gtk and created glib-config.1
|
* docs/glib.texi: Moved docs from gtk and created glib-config.1
|
||||||
from gtk-config.1 in gtk
|
from gtk-config.1 in gtk
|
||||||
|
|
||||||
* configure.in:
|
* 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.
|
distribution. Added in a 'sanity' rule.
|
||||||
|
|
||||||
* NEWS:
|
* NEWS:
|
||||||
* README:
|
* README:
|
||||||
* INSTALL: Updated for the release
|
* INSTALL: Updated for the release
|
||||||
|
|
||||||
Sun Oct 25 07:30:10 1998 Tim Janik <timj@gtk.org>
|
Sun Oct 25 07:30:10 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gscanner.c:
|
* gscanner.c:
|
||||||
(g_scanner_peek_next_char):
|
(g_scanner_peek_next_char):
|
||||||
(g_scanner_get_char): no more characters are available if read() returns
|
(g_scanner_get_char): no more characters are available if read() returns
|
||||||
anything less than 1, not only on 0 return.
|
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
|
* gstrfuncs.c: final API cleanup of string arrays to suit sopwith's
|
||||||
argument order requirements.
|
argument order requirements.
|
||||||
(g_strsplit): renamed from g_str_array_split().
|
(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>
|
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
|
* 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*
|
with the existing naming scheme for g_str* functions. grouped the g_str*
|
||||||
functions that will return a newly allocated string seperatedly. all of
|
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
|
* glib.h: New function g_hash_table_foreach_remove is similar to
|
||||||
g_hash_table_foreach, but the callback's return value indicates
|
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.
|
Returns the number of elements deleted.
|
||||||
|
|
||||||
Fri Sep 18 11:31:50 PDT 1998 Manish Singh <yosh@gimp.org>
|
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'
|
* glib.h: inlining hassle. for compilers that don't allow the `inline'
|
||||||
keyword, mostly because of strict ANSI C compliance or dumbness, we try
|
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*
|
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
|
to do function inlining, in which case inline function bodys do make
|
||||||
sense. we also define G_INLINE_FUNC to properly export the function
|
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>
|
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,
|
(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
|
so the correct size of the memchunk is allocated with 0's and not
|
||||||
a memory portion of the size of the desired type.
|
a memory portion of the size of the desired type.
|
||||||
|
@@ -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>
|
Sun Jan 17 17:13:54 CST 1999 Shawn T. Amundson <amundson@gtk.org>
|
||||||
|
|
||||||
* Released GLib 1.1.13
|
* 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.
|
* gdate.c: Include config.h to get HAVE_LOCALTIME_R macro.
|
||||||
|
|
||||||
* configure.in: Moved function check back to the place, they've
|
* configure.in: Moved function check back to the place, they've
|
||||||
been before.
|
been before.
|
||||||
|
|
||||||
1999-01-11 Jeff Garzik <jgarzik@pobox.com>
|
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>
|
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:
|
* INSTALL:
|
||||||
NEWS:
|
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>
|
Sat Jan 2 02:20:59 1999 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* ghook.c:
|
* ghook.c:
|
||||||
(g_hook_list_invoke):
|
(g_hook_list_invoke):
|
||||||
(g_hook_list_invoke_check):
|
(g_hook_list_invoke_check):
|
||||||
(g_hook_list_marshal_check):
|
(g_hook_list_marshal_check):
|
||||||
(g_hook_list_marshal): avoid unneccessary extra hook referencing (the
|
(g_hook_list_marshal): avoid unneccessary extra hook referencing (the
|
||||||
explicit hook referencing became unneccessarry with my changes from
|
explicit hook referencing became unneccessarry with my changes from
|
||||||
Mon Dec 21 21:48:29 1998).
|
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>
|
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:
|
* INSTALL:
|
||||||
NEWS:
|
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>
|
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}.
|
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>
|
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>
|
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
|
* gmain.c: there was a reference count race for hooks during invocation
|
||||||
loops. since all (known) hook loop implementations, do currently start
|
loops. since all (known) hook loop implementations, do currently start
|
||||||
out with g_hook_first_valid() and iterate with g_hook_next_valid(),
|
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>
|
Fri Dec 18 00:03:17 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* glib.h:
|
* glib.h:
|
||||||
* gmain.c:
|
* gmain.c:
|
||||||
(g_main_is_running): new function to check whether a main loop has been
|
(g_main_is_running): new function to check whether a main loop has been
|
||||||
quitted.
|
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,
|
* garray.c (g_ptr_array_remove_index): Fixed size in g_memmove,
|
||||||
reported by Alexander Larsson <alla@lysator.liu.se>.
|
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>
|
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:
|
* INSTALL:
|
||||||
NEWS:
|
NEWS:
|
||||||
@@ -586,7 +594,7 @@ Tue Dec 15 23:16:05 CST 1998 Shawn T. Amundson <amundson@gtk.org>
|
|||||||
|
|
||||||
* INSTALL:
|
* INSTALL:
|
||||||
NEWS:
|
NEWS:
|
||||||
README
|
README
|
||||||
configure.in:
|
configure.in:
|
||||||
glib.spec:
|
glib.spec:
|
||||||
docs/glib-config.1: Incremented version
|
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>
|
1998-12-15 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* gdate.c (g_date_prepare_to_parse): Solaris has a broken strftime
|
* 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
|
set up the parser. So use a different date that Solaris seems
|
||||||
to like.
|
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
|
* gmain.c (g_main_poll_add_unlocked): first take a new poll record
|
||||||
form the poll_free_list.
|
form the poll_free_list.
|
||||||
|
|
||||||
* gmem.c, gstrfuncs.c, gutils.c: Made it MT safe.
|
* gmem.c, gstrfuncs.c, gutils.c: Made it MT safe.
|
||||||
|
|
||||||
* gthraed/*.c: Added copyright headers.
|
* 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/gthread.c (g_thread_try_init): Call g_mutex_init().
|
||||||
|
|
||||||
* gthread/testgthread.c: updated test program.
|
* gthread/testgthread.c: updated test program.
|
||||||
|
|
||||||
Tue Dec 8 18:49:56 1998 Owen Taylor <otaylor@redhat.com>
|
Tue Dec 8 18:49:56 1998 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* Start at adding thread-safety. (mostly work
|
* 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>
|
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
|
update the dmy representation before setting the components
|
||||||
of it.
|
of it.
|
||||||
(g_date_set_day): Same.
|
(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>
|
1998-12-02 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* testgdate.c, testgdateparser.c: Two new files. This is kind of
|
* testgdate.c, testgdateparser.c: Two new files. This is kind of
|
||||||
ugly code, but I want to go ahead and make the tests available.
|
ugly code, but I want to go ahead and make the tests available.
|
||||||
It isn't contaminating any other code. :-) Since one of these
|
It isn't contaminating any other code. :-) Since one of these
|
||||||
is interactive and the other takes a while to run, I've kept
|
is interactive and the other takes a while to run, I've kept
|
||||||
them separate from testglib for now.
|
them separate from testglib for now.
|
||||||
* Makefile.am: Build gdate test programs.
|
* Makefile.am: Build gdate test programs.
|
||||||
|
|
||||||
1998-12-02 Havoc Pennington <hp@pobox.com>
|
1998-12-02 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* gdate.c (g_date_valid): Rely on GDate::dmy and GDate::Julian
|
* 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>
|
1998-12-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
* glib.h:
|
* glib.h:
|
||||||
* gdate.c: changed `gpointer struct_tm_p' parameter of
|
* gdate.c: changed `gpointer struct_tm_p' parameter of
|
||||||
g_date_to_struct_tm back to `struct tm *tm' and forward declared
|
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
|
`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:
|
README:
|
||||||
glib.spec:
|
glib.spec:
|
||||||
docs/glib-config.1: Incremented versions to 1.1.6.
|
docs/glib-config.1: Incremented versions to 1.1.6.
|
||||||
|
|
||||||
Wed Dec 2 02:10:59 1998 Tim Janik <timj@gtk.org>
|
Wed Dec 2 02:10:59 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gdate.c: s/time_t/GTime/ and s/g_print/g_message/
|
* 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_set_time() to time_t, changed struct tm parameter of
|
||||||
g_date_to_struct_tm to `gpointer struct_tm_p'. yes, this is not
|
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.
|
nice, but including time.h actually breaks a bunch of code.
|
||||||
|
|
||||||
* incremented GLib version to 1.1.6.
|
* incremented GLib version to 1.1.6.
|
||||||
|
|
||||||
1998-11-30 Havoc Pennington <hp@pobox.com>
|
1998-11-30 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* gdate.c: New file, implements calendrical calculations.
|
* gdate.c: New file, implements calendrical calculations.
|
||||||
|
|
||||||
* glib.h: Added declarations for GDate module.
|
* glib.h: Added declarations for GDate module.
|
||||||
|
|
||||||
Mon Nov 30 07:12:10 1998 Tim Janik <timj@gtk.org>
|
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>
|
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,
|
* ghash.c: reverted the g_hash_table_set_key_freefunc() addition,
|
||||||
since it's to specialized and needs to be resolved in a generic
|
since it's to specialized and needs to be resolved in a generic
|
||||||
fashion.
|
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()
|
* glib.h: added GFreeFunc and g_hash_table_set_key_freefunc()
|
||||||
prototype.
|
prototype.
|
||||||
* ghash.c: added g_hash_table_set_key_freefunc() implementation.
|
* 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
|
g_hash_nodes_destroy(), and changed the functions that call them
|
||||||
to match the new definitions.
|
to match the new definitions.
|
||||||
This changes no external interfaces, and should create no binary
|
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>
|
1998-11-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
* glib.h:
|
* glib.h:
|
||||||
* garray.c:
|
* garray.c:
|
||||||
(g_array_remove_index): new function for removing an entry from an
|
(g_array_remove_index): new function for removing an entry from an
|
||||||
array while preserving the order
|
array while preserving the order
|
||||||
@@ -1040,7 +1048,7 @@ Sat Oct 31 20:14:22 PST 1998 Manish Singh <yosh@gimp.org>
|
|||||||
|
|
||||||
* gmessages.c
|
* gmessages.c
|
||||||
* gscanner.c: #include <config.h> in here too, for HAVE_UNISTD_H
|
* gscanner.c: #include <config.h> in here too, for HAVE_UNISTD_H
|
||||||
|
|
||||||
1998-11-01 Tor Lillqvist <tml@iki.fi>
|
1998-11-01 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* glib.def: Added the new functions.
|
* 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>
|
1998-10-31 Raja R Harinath <harinath@cs.umn.edu>
|
||||||
|
|
||||||
Land glib-rrh-19981025-0.patch.
|
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'.
|
(stamp-gc-h): New rule. Generate `glibconfig.h'.
|
||||||
* configure.in (AM_CONFIG_HEADER): It is now `config.h'.
|
* configure.in (AM_CONFIG_HEADER): It is now `config.h'.
|
||||||
(HAVE_BROKEN_WCTYPE): On Solaris, look for iswalnum in -lw before
|
(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.
|
* gmem.c: Likewise.
|
||||||
* gstrfuncs.c: Likewise.
|
* gstrfuncs.c: Likewise.
|
||||||
* gutils.c: Likewise.
|
* gutils.c: Likewise.
|
||||||
|
|
||||||
Sat Oct 31 05:08:26 1998 Tim Janik <timj@gtk.org>
|
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.
|
* 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.
|
filedescriptor, which hooks onto the current scanning position.
|
||||||
(this became neccessary with the implementation of buffered
|
(this became neccessary with the implementation of buffered
|
||||||
reads).
|
reads).
|
||||||
(g_scanner_input_file):
|
(g_scanner_input_file):
|
||||||
(g_scanner_input_text): automatically blow the read ahead buffer.
|
(g_scanner_input_text): automatically blow the read ahead buffer.
|
||||||
(g_scanner_get_char): blow the read ahead buffer when the end of
|
(g_scanner_get_char): blow the read ahead buffer when the end of
|
||||||
input is reached, i.e. a '\000' char is read.
|
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 (struct dirent): use lower case structure members.
|
||||||
|
|
||||||
* glib.h:
|
* glib.h:
|
||||||
* makefile.lcc:
|
* makefile.lcc:
|
||||||
* makefile.msc:
|
* makefile.msc:
|
||||||
s/COMPILING_GLIB/GLIB_COMPILATION/
|
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
|
Conditionalized inclusion of unistd.h. Added changes for
|
||||||
Microsoft C. Added CR to the skipped character set. Added small
|
Microsoft C. Added CR to the skipped character set. Added small
|
||||||
workaround for MSC compiler bug in g_scanner_cur_value.
|
workaround for MSC compiler bug in g_scanner_cur_value.
|
||||||
|
|
||||||
* gstrfuncs.c:
|
* gstrfuncs.c:
|
||||||
Added the function g_strescape, which escapes the backslash
|
Added the function g_strescape, which escapes the backslash
|
||||||
character. Needed especially when printing Windows filenames.
|
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:
|
* makefile.lcc makefile.msc:
|
||||||
New files. Compiler-specific makefiles for LCC-Win32 and
|
New files. Compiler-specific makefiles for LCC-Win32 and
|
||||||
Microsoft C. Only Microsoft C is actually supported currently.
|
Microsoft C. Only Microsoft C is actually supported currently.
|
||||||
|
|
||||||
* testglib.c:
|
* testglib.c:
|
||||||
Added pathname check cases for Windows. Added workaround for
|
Added pathname check cases for Windows. Added workaround for
|
||||||
bug in the Microsoft runtime library. Improved some tests a bit.
|
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>
|
Sun Oct 25 01:24:01 CST 1998 Shawn T. Amundson <amundson@gtk.org>
|
||||||
|
|
||||||
* Released GLib 1.1.4
|
* Released GLib 1.1.4
|
||||||
|
|
||||||
* docs/Makefile.am:
|
* docs/Makefile.am:
|
||||||
* docs/.cvsignore
|
* docs/.cvsignore
|
||||||
* docs/glib-config.1:
|
* docs/glib-config.1:
|
||||||
* docs/glib.texi: Moved docs from gtk and created glib-config.1
|
* docs/glib.texi: Moved docs from gtk and created glib-config.1
|
||||||
from gtk-config.1 in gtk
|
from gtk-config.1 in gtk
|
||||||
|
|
||||||
* configure.in:
|
* 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.
|
distribution. Added in a 'sanity' rule.
|
||||||
|
|
||||||
* NEWS:
|
* NEWS:
|
||||||
* README:
|
* README:
|
||||||
* INSTALL: Updated for the release
|
* INSTALL: Updated for the release
|
||||||
|
|
||||||
Sun Oct 25 07:30:10 1998 Tim Janik <timj@gtk.org>
|
Sun Oct 25 07:30:10 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gscanner.c:
|
* gscanner.c:
|
||||||
(g_scanner_peek_next_char):
|
(g_scanner_peek_next_char):
|
||||||
(g_scanner_get_char): no more characters are available if read() returns
|
(g_scanner_get_char): no more characters are available if read() returns
|
||||||
anything less than 1, not only on 0 return.
|
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
|
* gstrfuncs.c: final API cleanup of string arrays to suit sopwith's
|
||||||
argument order requirements.
|
argument order requirements.
|
||||||
(g_strsplit): renamed from g_str_array_split().
|
(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>
|
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
|
* 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*
|
with the existing naming scheme for g_str* functions. grouped the g_str*
|
||||||
functions that will return a newly allocated string seperatedly. all of
|
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
|
* glib.h: New function g_hash_table_foreach_remove is similar to
|
||||||
g_hash_table_foreach, but the callback's return value indicates
|
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.
|
Returns the number of elements deleted.
|
||||||
|
|
||||||
Fri Sep 18 11:31:50 PDT 1998 Manish Singh <yosh@gimp.org>
|
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'
|
* glib.h: inlining hassle. for compilers that don't allow the `inline'
|
||||||
keyword, mostly because of strict ANSI C compliance or dumbness, we try
|
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*
|
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
|
to do function inlining, in which case inline function bodys do make
|
||||||
sense. we also define G_INLINE_FUNC to properly export the function
|
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>
|
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,
|
(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
|
so the correct size of the memchunk is allocated with 0's and not
|
||||||
a memory portion of the size of the desired type.
|
a memory portion of the size of the desired type.
|
||||||
|
@@ -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>
|
Sun Jan 17 17:13:54 CST 1999 Shawn T. Amundson <amundson@gtk.org>
|
||||||
|
|
||||||
* Released GLib 1.1.13
|
* 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.
|
* gdate.c: Include config.h to get HAVE_LOCALTIME_R macro.
|
||||||
|
|
||||||
* configure.in: Moved function check back to the place, they've
|
* configure.in: Moved function check back to the place, they've
|
||||||
been before.
|
been before.
|
||||||
|
|
||||||
1999-01-11 Jeff Garzik <jgarzik@pobox.com>
|
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>
|
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:
|
* INSTALL:
|
||||||
NEWS:
|
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>
|
Sat Jan 2 02:20:59 1999 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* ghook.c:
|
* ghook.c:
|
||||||
(g_hook_list_invoke):
|
(g_hook_list_invoke):
|
||||||
(g_hook_list_invoke_check):
|
(g_hook_list_invoke_check):
|
||||||
(g_hook_list_marshal_check):
|
(g_hook_list_marshal_check):
|
||||||
(g_hook_list_marshal): avoid unneccessary extra hook referencing (the
|
(g_hook_list_marshal): avoid unneccessary extra hook referencing (the
|
||||||
explicit hook referencing became unneccessarry with my changes from
|
explicit hook referencing became unneccessarry with my changes from
|
||||||
Mon Dec 21 21:48:29 1998).
|
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>
|
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:
|
* INSTALL:
|
||||||
NEWS:
|
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>
|
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}.
|
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>
|
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>
|
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
|
* gmain.c: there was a reference count race for hooks during invocation
|
||||||
loops. since all (known) hook loop implementations, do currently start
|
loops. since all (known) hook loop implementations, do currently start
|
||||||
out with g_hook_first_valid() and iterate with g_hook_next_valid(),
|
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>
|
Fri Dec 18 00:03:17 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* glib.h:
|
* glib.h:
|
||||||
* gmain.c:
|
* gmain.c:
|
||||||
(g_main_is_running): new function to check whether a main loop has been
|
(g_main_is_running): new function to check whether a main loop has been
|
||||||
quitted.
|
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,
|
* garray.c (g_ptr_array_remove_index): Fixed size in g_memmove,
|
||||||
reported by Alexander Larsson <alla@lysator.liu.se>.
|
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>
|
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:
|
* INSTALL:
|
||||||
NEWS:
|
NEWS:
|
||||||
@@ -586,7 +594,7 @@ Tue Dec 15 23:16:05 CST 1998 Shawn T. Amundson <amundson@gtk.org>
|
|||||||
|
|
||||||
* INSTALL:
|
* INSTALL:
|
||||||
NEWS:
|
NEWS:
|
||||||
README
|
README
|
||||||
configure.in:
|
configure.in:
|
||||||
glib.spec:
|
glib.spec:
|
||||||
docs/glib-config.1: Incremented version
|
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>
|
1998-12-15 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* gdate.c (g_date_prepare_to_parse): Solaris has a broken strftime
|
* 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
|
set up the parser. So use a different date that Solaris seems
|
||||||
to like.
|
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
|
* gmain.c (g_main_poll_add_unlocked): first take a new poll record
|
||||||
form the poll_free_list.
|
form the poll_free_list.
|
||||||
|
|
||||||
* gmem.c, gstrfuncs.c, gutils.c: Made it MT safe.
|
* gmem.c, gstrfuncs.c, gutils.c: Made it MT safe.
|
||||||
|
|
||||||
* gthraed/*.c: Added copyright headers.
|
* 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/gthread.c (g_thread_try_init): Call g_mutex_init().
|
||||||
|
|
||||||
* gthread/testgthread.c: updated test program.
|
* gthread/testgthread.c: updated test program.
|
||||||
|
|
||||||
Tue Dec 8 18:49:56 1998 Owen Taylor <otaylor@redhat.com>
|
Tue Dec 8 18:49:56 1998 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* Start at adding thread-safety. (mostly work
|
* 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>
|
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
|
update the dmy representation before setting the components
|
||||||
of it.
|
of it.
|
||||||
(g_date_set_day): Same.
|
(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>
|
1998-12-02 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* testgdate.c, testgdateparser.c: Two new files. This is kind of
|
* testgdate.c, testgdateparser.c: Two new files. This is kind of
|
||||||
ugly code, but I want to go ahead and make the tests available.
|
ugly code, but I want to go ahead and make the tests available.
|
||||||
It isn't contaminating any other code. :-) Since one of these
|
It isn't contaminating any other code. :-) Since one of these
|
||||||
is interactive and the other takes a while to run, I've kept
|
is interactive and the other takes a while to run, I've kept
|
||||||
them separate from testglib for now.
|
them separate from testglib for now.
|
||||||
* Makefile.am: Build gdate test programs.
|
* Makefile.am: Build gdate test programs.
|
||||||
|
|
||||||
1998-12-02 Havoc Pennington <hp@pobox.com>
|
1998-12-02 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* gdate.c (g_date_valid): Rely on GDate::dmy and GDate::Julian
|
* 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>
|
1998-12-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
* glib.h:
|
* glib.h:
|
||||||
* gdate.c: changed `gpointer struct_tm_p' parameter of
|
* gdate.c: changed `gpointer struct_tm_p' parameter of
|
||||||
g_date_to_struct_tm back to `struct tm *tm' and forward declared
|
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
|
`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:
|
README:
|
||||||
glib.spec:
|
glib.spec:
|
||||||
docs/glib-config.1: Incremented versions to 1.1.6.
|
docs/glib-config.1: Incremented versions to 1.1.6.
|
||||||
|
|
||||||
Wed Dec 2 02:10:59 1998 Tim Janik <timj@gtk.org>
|
Wed Dec 2 02:10:59 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gdate.c: s/time_t/GTime/ and s/g_print/g_message/
|
* 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_set_time() to time_t, changed struct tm parameter of
|
||||||
g_date_to_struct_tm to `gpointer struct_tm_p'. yes, this is not
|
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.
|
nice, but including time.h actually breaks a bunch of code.
|
||||||
|
|
||||||
* incremented GLib version to 1.1.6.
|
* incremented GLib version to 1.1.6.
|
||||||
|
|
||||||
1998-11-30 Havoc Pennington <hp@pobox.com>
|
1998-11-30 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* gdate.c: New file, implements calendrical calculations.
|
* gdate.c: New file, implements calendrical calculations.
|
||||||
|
|
||||||
* glib.h: Added declarations for GDate module.
|
* glib.h: Added declarations for GDate module.
|
||||||
|
|
||||||
Mon Nov 30 07:12:10 1998 Tim Janik <timj@gtk.org>
|
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>
|
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,
|
* ghash.c: reverted the g_hash_table_set_key_freefunc() addition,
|
||||||
since it's to specialized and needs to be resolved in a generic
|
since it's to specialized and needs to be resolved in a generic
|
||||||
fashion.
|
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()
|
* glib.h: added GFreeFunc and g_hash_table_set_key_freefunc()
|
||||||
prototype.
|
prototype.
|
||||||
* ghash.c: added g_hash_table_set_key_freefunc() implementation.
|
* 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
|
g_hash_nodes_destroy(), and changed the functions that call them
|
||||||
to match the new definitions.
|
to match the new definitions.
|
||||||
This changes no external interfaces, and should create no binary
|
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>
|
1998-11-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
* glib.h:
|
* glib.h:
|
||||||
* garray.c:
|
* garray.c:
|
||||||
(g_array_remove_index): new function for removing an entry from an
|
(g_array_remove_index): new function for removing an entry from an
|
||||||
array while preserving the order
|
array while preserving the order
|
||||||
@@ -1040,7 +1048,7 @@ Sat Oct 31 20:14:22 PST 1998 Manish Singh <yosh@gimp.org>
|
|||||||
|
|
||||||
* gmessages.c
|
* gmessages.c
|
||||||
* gscanner.c: #include <config.h> in here too, for HAVE_UNISTD_H
|
* gscanner.c: #include <config.h> in here too, for HAVE_UNISTD_H
|
||||||
|
|
||||||
1998-11-01 Tor Lillqvist <tml@iki.fi>
|
1998-11-01 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* glib.def: Added the new functions.
|
* 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>
|
1998-10-31 Raja R Harinath <harinath@cs.umn.edu>
|
||||||
|
|
||||||
Land glib-rrh-19981025-0.patch.
|
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'.
|
(stamp-gc-h): New rule. Generate `glibconfig.h'.
|
||||||
* configure.in (AM_CONFIG_HEADER): It is now `config.h'.
|
* configure.in (AM_CONFIG_HEADER): It is now `config.h'.
|
||||||
(HAVE_BROKEN_WCTYPE): On Solaris, look for iswalnum in -lw before
|
(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.
|
* gmem.c: Likewise.
|
||||||
* gstrfuncs.c: Likewise.
|
* gstrfuncs.c: Likewise.
|
||||||
* gutils.c: Likewise.
|
* gutils.c: Likewise.
|
||||||
|
|
||||||
Sat Oct 31 05:08:26 1998 Tim Janik <timj@gtk.org>
|
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.
|
* 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.
|
filedescriptor, which hooks onto the current scanning position.
|
||||||
(this became neccessary with the implementation of buffered
|
(this became neccessary with the implementation of buffered
|
||||||
reads).
|
reads).
|
||||||
(g_scanner_input_file):
|
(g_scanner_input_file):
|
||||||
(g_scanner_input_text): automatically blow the read ahead buffer.
|
(g_scanner_input_text): automatically blow the read ahead buffer.
|
||||||
(g_scanner_get_char): blow the read ahead buffer when the end of
|
(g_scanner_get_char): blow the read ahead buffer when the end of
|
||||||
input is reached, i.e. a '\000' char is read.
|
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 (struct dirent): use lower case structure members.
|
||||||
|
|
||||||
* glib.h:
|
* glib.h:
|
||||||
* makefile.lcc:
|
* makefile.lcc:
|
||||||
* makefile.msc:
|
* makefile.msc:
|
||||||
s/COMPILING_GLIB/GLIB_COMPILATION/
|
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
|
Conditionalized inclusion of unistd.h. Added changes for
|
||||||
Microsoft C. Added CR to the skipped character set. Added small
|
Microsoft C. Added CR to the skipped character set. Added small
|
||||||
workaround for MSC compiler bug in g_scanner_cur_value.
|
workaround for MSC compiler bug in g_scanner_cur_value.
|
||||||
|
|
||||||
* gstrfuncs.c:
|
* gstrfuncs.c:
|
||||||
Added the function g_strescape, which escapes the backslash
|
Added the function g_strescape, which escapes the backslash
|
||||||
character. Needed especially when printing Windows filenames.
|
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:
|
* makefile.lcc makefile.msc:
|
||||||
New files. Compiler-specific makefiles for LCC-Win32 and
|
New files. Compiler-specific makefiles for LCC-Win32 and
|
||||||
Microsoft C. Only Microsoft C is actually supported currently.
|
Microsoft C. Only Microsoft C is actually supported currently.
|
||||||
|
|
||||||
* testglib.c:
|
* testglib.c:
|
||||||
Added pathname check cases for Windows. Added workaround for
|
Added pathname check cases for Windows. Added workaround for
|
||||||
bug in the Microsoft runtime library. Improved some tests a bit.
|
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>
|
Sun Oct 25 01:24:01 CST 1998 Shawn T. Amundson <amundson@gtk.org>
|
||||||
|
|
||||||
* Released GLib 1.1.4
|
* Released GLib 1.1.4
|
||||||
|
|
||||||
* docs/Makefile.am:
|
* docs/Makefile.am:
|
||||||
* docs/.cvsignore
|
* docs/.cvsignore
|
||||||
* docs/glib-config.1:
|
* docs/glib-config.1:
|
||||||
* docs/glib.texi: Moved docs from gtk and created glib-config.1
|
* docs/glib.texi: Moved docs from gtk and created glib-config.1
|
||||||
from gtk-config.1 in gtk
|
from gtk-config.1 in gtk
|
||||||
|
|
||||||
* configure.in:
|
* 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.
|
distribution. Added in a 'sanity' rule.
|
||||||
|
|
||||||
* NEWS:
|
* NEWS:
|
||||||
* README:
|
* README:
|
||||||
* INSTALL: Updated for the release
|
* INSTALL: Updated for the release
|
||||||
|
|
||||||
Sun Oct 25 07:30:10 1998 Tim Janik <timj@gtk.org>
|
Sun Oct 25 07:30:10 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gscanner.c:
|
* gscanner.c:
|
||||||
(g_scanner_peek_next_char):
|
(g_scanner_peek_next_char):
|
||||||
(g_scanner_get_char): no more characters are available if read() returns
|
(g_scanner_get_char): no more characters are available if read() returns
|
||||||
anything less than 1, not only on 0 return.
|
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
|
* gstrfuncs.c: final API cleanup of string arrays to suit sopwith's
|
||||||
argument order requirements.
|
argument order requirements.
|
||||||
(g_strsplit): renamed from g_str_array_split().
|
(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>
|
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
|
* 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*
|
with the existing naming scheme for g_str* functions. grouped the g_str*
|
||||||
functions that will return a newly allocated string seperatedly. all of
|
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
|
* glib.h: New function g_hash_table_foreach_remove is similar to
|
||||||
g_hash_table_foreach, but the callback's return value indicates
|
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.
|
Returns the number of elements deleted.
|
||||||
|
|
||||||
Fri Sep 18 11:31:50 PDT 1998 Manish Singh <yosh@gimp.org>
|
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'
|
* glib.h: inlining hassle. for compilers that don't allow the `inline'
|
||||||
keyword, mostly because of strict ANSI C compliance or dumbness, we try
|
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*
|
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
|
to do function inlining, in which case inline function bodys do make
|
||||||
sense. we also define G_INLINE_FUNC to properly export the function
|
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>
|
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,
|
(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
|
so the correct size of the memchunk is allocated with 0's and not
|
||||||
a memory portion of the size of the desired type.
|
a memory portion of the size of the desired type.
|
||||||
|
@@ -65,6 +65,7 @@
|
|||||||
#undef NO_FD_SET
|
#undef NO_FD_SET
|
||||||
#undef NO_SYS_ERRLIST
|
#undef NO_SYS_ERRLIST
|
||||||
#undef NO_SYS_SIGLIST
|
#undef NO_SYS_SIGLIST
|
||||||
|
#undef NO_SYS_SIGLIST_DECL
|
||||||
|
|
||||||
#undef WITH_SYMBOL_UNDERSCORE
|
#undef WITH_SYMBOL_UNDERSCORE
|
||||||
|
|
||||||
|
60
configure.in
60
configure.in
@@ -178,7 +178,7 @@ AC_CHECK_SIZEOF(int)
|
|||||||
AC_CHECK_SIZEOF(void *)
|
AC_CHECK_SIZEOF(void *)
|
||||||
AC_CHECK_SIZEOF(long long)
|
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
|
dnl AC_C_LONG_DOUBLE
|
||||||
AC_C_CONST
|
AC_C_CONST
|
||||||
|
|
||||||
@@ -265,13 +265,23 @@ fi
|
|||||||
AC_MSG_CHECKING(for sys_siglist)
|
AC_MSG_CHECKING(for sys_siglist)
|
||||||
AC_TRY_LINK(, [
|
AC_TRY_LINK(, [
|
||||||
extern char *sys_siglist[];
|
extern char *sys_siglist[];
|
||||||
sys_siglist[1][0] = 0;
|
strlen (sys_siglist[0]);
|
||||||
], glib_ok=yes, glib_ok=no)
|
], glib_ok=yes, glib_ok=no)
|
||||||
AC_MSG_RESULT($glib_ok)
|
AC_MSG_RESULT($glib_ok)
|
||||||
if test $glib_ok = no; then
|
if test $glib_ok = no; then
|
||||||
AC_DEFINE(NO_SYS_SIGLIST)
|
AC_DEFINE(NO_SYS_SIGLIST)
|
||||||
fi
|
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
|
# Check if <sys/select.h> needs to be included for fd_set
|
||||||
AC_MSG_CHECKING([for fd_set])
|
AC_MSG_CHECKING([for fd_set])
|
||||||
AC_TRY_COMPILE([#include <sys/types.h>],
|
AC_TRY_COMPILE([#include <sys/types.h>],
|
||||||
@@ -292,7 +302,7 @@ fi
|
|||||||
# These are used only in GDK (gdki18n.h)
|
# These are used only in GDK (gdki18n.h)
|
||||||
# This stuff is here only so that we can define these
|
# This stuff is here only so that we can define these
|
||||||
# things in glibconfig.h. If gtk+ started using an installed
|
# 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
|
# Check for wchar.h
|
||||||
|
|
||||||
@@ -490,19 +500,19 @@ dnl *** check whether we need preceeding underscores
|
|||||||
f1 = dlsym (handle, "glib_underscore_test");
|
f1 = dlsym (handle, "glib_underscore_test");
|
||||||
f2 = dlsym (handle, "_glib_underscore_test");
|
f2 = dlsym (handle, "_glib_underscore_test");
|
||||||
} return (!f2 || f1);
|
} return (!f2 || f1);
|
||||||
}],
|
}],
|
||||||
glib_cv_uscore=yes,
|
glib_cv_uscore=yes,
|
||||||
glib_cv_uscore=no,
|
glib_cv_uscore=no,
|
||||||
)
|
)
|
||||||
rm -f plugin.c plugin.o plugin.lo
|
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
|
if test "x$glib_cv_uscore" = "xyes"; then
|
||||||
G_MODULE_NEED_USCORE=1
|
G_MODULE_NEED_USCORE=1
|
||||||
else
|
else
|
||||||
G_MODULE_NEED_USCORE=0
|
G_MODULE_NEED_USCORE=0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
LDFLAGS="$LDFLAGS_orig"
|
LDFLAGS="$LDFLAGS_orig"
|
||||||
dnl *** check for having dlerror()
|
dnl *** check for having dlerror()
|
||||||
AC_CHECK_FUNC(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
|
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
|
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."
|
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_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."
|
provide informationon your thread implementation."
|
||||||
|
|
||||||
dnl determination of thread implementation
|
dnl determination of thread implementation
|
||||||
@@ -583,7 +593,7 @@ if test "x$want_threads" = xyes || test "x$want_threads" = xposix; then
|
|||||||
fi
|
fi
|
||||||
dnl ********** DG/UX ************
|
dnl ********** DG/UX ************
|
||||||
if test "x$have_threads" = xnone; then
|
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)
|
have_threads=posix)
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
@@ -614,7 +624,7 @@ case $have_threads in
|
|||||||
posix)
|
posix)
|
||||||
G_THREAD_LIBS=error
|
G_THREAD_LIBS=error
|
||||||
AC_CHECK_LIB(pthread, pthread_attr_init,
|
AC_CHECK_LIB(pthread, pthread_attr_init,
|
||||||
G_THREAD_LIBS="-lpthread")
|
G_THREAD_LIBS="-lpthread")
|
||||||
if test "x$G_THREAD_LIBS" = xerror; then
|
if test "x$G_THREAD_LIBS" = xerror; then
|
||||||
AC_CHECK_LIB(pthreads, pthread_attr_init,
|
AC_CHECK_LIB(pthreads, pthread_attr_init,
|
||||||
G_THREAD_LIBS="-lpthreads")
|
G_THREAD_LIBS="-lpthreads")
|
||||||
@@ -628,7 +638,7 @@ case $have_threads in
|
|||||||
fi
|
fi
|
||||||
dnl ********** DG/UX ************
|
dnl ********** DG/UX ************
|
||||||
if test "x$G_THREAD_LIBS" = xerror; then
|
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_LIBS="-lthread"
|
||||||
G_THREAD_CFLAGS="-D_POSIX4A_DRAFT10_SOURCE")
|
G_THREAD_CFLAGS="-D_POSIX4A_DRAFT10_SOURCE")
|
||||||
fi
|
fi
|
||||||
@@ -678,7 +688,7 @@ G_THREAD_CFLAGS="$G_THREAD_CFLAGS -D_REENTRANT" # good default guess
|
|||||||
case $host in
|
case $host in
|
||||||
*-aix*)
|
*-aix*)
|
||||||
G_THREAD_CFLAGS="$G_THREAD_CFLAGS -D_THREAD_SAFE"
|
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"
|
G_THREAD_CFLAGS="$G_THREAD_CFLAGS -mthreads"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
@@ -690,11 +700,11 @@ G_THREAD_CFLAGS="$G_THREAD_CFLAGS -D_REENTRANT" # good default guess
|
|||||||
;;
|
;;
|
||||||
esac
|
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
|
# not using the proper multithread flag
|
||||||
old_CPPFLAGS=$CPPFLAGS
|
old_CPPFLAGS=$CPPFLAGS
|
||||||
CPPFLAGS="$CPPFLAGS $G_THREAD_CFLAGS"
|
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=
|
G_THREAD_CFLAGS=
|
||||||
AC_MSG_WARN($FLAG_DOES_NOT_WORK))
|
AC_MSG_WARN($FLAG_DOES_NOT_WORK))
|
||||||
CPPFLAGS=$old_CPPFLAGS
|
CPPFLAGS=$old_CPPFLAGS
|
||||||
@@ -757,7 +767,7 @@ AC_OUTPUT_COMMANDS([
|
|||||||
##
|
##
|
||||||
## Case 1 is difficult. We know that `automake' sets one of
|
## Case 1 is difficult. We know that `automake' sets one of
|
||||||
## CONFIG_FILES or CONFIG_HEADERS to empty. This heuristic works
|
## 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
|
if test -n "${CONFIG_FILES}" && test -n "${CONFIG_HEADERS}"; then
|
||||||
# Both CONFIG_FILES and CONFIG_HEADERS are non-empty ==> Case 1
|
# Both CONFIG_FILES and CONFIG_HEADERS are non-empty ==> Case 1
|
||||||
@@ -784,10 +794,10 @@ _______EOF
|
|||||||
|
|
||||||
if test x$glib_limits_h = xyes; then
|
if test x$glib_limits_h = xyes; then
|
||||||
echo '#include <limits.h>' >> $outfile
|
echo '#include <limits.h>' >> $outfile
|
||||||
fi
|
fi
|
||||||
if test x$glib_float_h = xyes; then
|
if test x$glib_float_h = xyes; then
|
||||||
echo '#include <float.h>' >> $outfile
|
echo '#include <float.h>' >> $outfile
|
||||||
fi
|
fi
|
||||||
if test x$glib_values_h = xyes; then
|
if test x$glib_values_h = xyes; then
|
||||||
echo '#include <values.h>' >> $outfile
|
echo '#include <values.h>' >> $outfile
|
||||||
fi
|
fi
|
||||||
@@ -834,7 +844,7 @@ _______EOF
|
|||||||
typedef signed $gint32 gint32;
|
typedef signed $gint32 gint32;
|
||||||
typedef unsigned $gint32 guint32;
|
typedef unsigned $gint32 guint32;
|
||||||
_______EOF
|
_______EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
if test -n "$gint64"; then
|
if test -n "$gint64"; then
|
||||||
@@ -846,9 +856,9 @@ ${glib_extension}typedef unsigned $gint64 guint64;
|
|||||||
|
|
||||||
#define G_GINT64_CONSTANT(val) $gint64_constant
|
#define G_GINT64_CONSTANT(val) $gint64_constant
|
||||||
_______EOF
|
_______EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if test -z "$glib_unknown_void_p"; then
|
if test -z "$glib_unknown_void_p"; then
|
||||||
cat >>$outfile <<_______EOF
|
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)))
|
#define g_static_mutex_get_mutex(mutex) (g_static_mutex_get_mutex_impl (&(mutex)))
|
||||||
_______EOF
|
_______EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo >>$outfile
|
echo >>$outfile
|
||||||
g_bit_sizes="16 32"
|
g_bit_sizes="16 32"
|
||||||
if test -n "$gint64"; then
|
if test -n "$gint64"; then
|
||||||
@@ -939,8 +949,8 @@ _______EOF
|
|||||||
if test -r glibconfig-sysdefs.h; then
|
if test -r glibconfig-sysdefs.h; then
|
||||||
cat glibconfig-sysdefs.h >>$outfile
|
cat glibconfig-sysdefs.h >>$outfile
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
cat >>$outfile <<_______EOF
|
cat >>$outfile <<_______EOF
|
||||||
|
|
||||||
$glib_wc
|
$glib_wc
|
||||||
|
101
glib/gstrfuncs.c
101
glib/gstrfuncs.c
@@ -17,7 +17,7 @@
|
|||||||
* Boston, MA 02111-1307, USA.
|
* Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* MT safe
|
* MT safe
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -41,7 +41,7 @@ gchar*
|
|||||||
g_strdup (const gchar *str)
|
g_strdup (const gchar *str)
|
||||||
{
|
{
|
||||||
gchar *new_str;
|
gchar *new_str;
|
||||||
|
|
||||||
if (str)
|
if (str)
|
||||||
{
|
{
|
||||||
new_str = g_new (char, strlen (str) + 1);
|
new_str = g_new (char, strlen (str) + 1);
|
||||||
@@ -49,7 +49,7 @@ g_strdup (const gchar *str)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
new_str = NULL;
|
new_str = NULL;
|
||||||
|
|
||||||
return new_str;
|
return new_str;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -142,9 +142,9 @@ g_strconcat (const gchar *string1, ...)
|
|||||||
va_list args;
|
va_list args;
|
||||||
gchar *s;
|
gchar *s;
|
||||||
gchar *concat;
|
gchar *concat;
|
||||||
|
|
||||||
g_return_val_if_fail (string1 != NULL, NULL);
|
g_return_val_if_fail (string1 != NULL, NULL);
|
||||||
|
|
||||||
l = 1 + strlen (string1);
|
l = 1 + strlen (string1);
|
||||||
va_start (args, string1);
|
va_start (args, string1);
|
||||||
s = va_arg (args, gchar*);
|
s = va_arg (args, gchar*);
|
||||||
@@ -154,10 +154,10 @@ g_strconcat (const gchar *string1, ...)
|
|||||||
s = va_arg (args, gchar*);
|
s = va_arg (args, gchar*);
|
||||||
}
|
}
|
||||||
va_end (args);
|
va_end (args);
|
||||||
|
|
||||||
concat = g_new (gchar, l);
|
concat = g_new (gchar, l);
|
||||||
concat[0] = 0;
|
concat[0] = 0;
|
||||||
|
|
||||||
strcat (concat, string1);
|
strcat (concat, string1);
|
||||||
va_start (args, string1);
|
va_start (args, string1);
|
||||||
s = va_arg (args, gchar*);
|
s = va_arg (args, gchar*);
|
||||||
@@ -167,7 +167,7 @@ g_strconcat (const gchar *string1, ...)
|
|||||||
s = va_arg (args, gchar*);
|
s = va_arg (args, gchar*);
|
||||||
}
|
}
|
||||||
va_end (args);
|
va_end (args);
|
||||||
|
|
||||||
return concat;
|
return concat;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -179,23 +179,23 @@ g_strtod (const gchar *nptr,
|
|||||||
gchar *fail_pos_2;
|
gchar *fail_pos_2;
|
||||||
gdouble val_1;
|
gdouble val_1;
|
||||||
gdouble val_2 = 0;
|
gdouble val_2 = 0;
|
||||||
|
|
||||||
g_return_val_if_fail (nptr != NULL, 0);
|
g_return_val_if_fail (nptr != NULL, 0);
|
||||||
|
|
||||||
fail_pos_1 = NULL;
|
fail_pos_1 = NULL;
|
||||||
fail_pos_2 = NULL;
|
fail_pos_2 = NULL;
|
||||||
|
|
||||||
val_1 = strtod (nptr, &fail_pos_1);
|
val_1 = strtod (nptr, &fail_pos_1);
|
||||||
|
|
||||||
if (fail_pos_1 && fail_pos_1[0] != 0)
|
if (fail_pos_1 && fail_pos_1[0] != 0)
|
||||||
{
|
{
|
||||||
gchar *old_locale;
|
gchar *old_locale;
|
||||||
|
|
||||||
old_locale = setlocale (LC_NUMERIC, "C");
|
old_locale = setlocale (LC_NUMERIC, "C");
|
||||||
val_2 = strtod (nptr, &fail_pos_2);
|
val_2 = strtod (nptr, &fail_pos_2);
|
||||||
setlocale (LC_NUMERIC, old_locale);
|
setlocale (LC_NUMERIC, old_locale);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!fail_pos_1 || fail_pos_1[0] == 0 || fail_pos_1 >= fail_pos_2)
|
if (!fail_pos_1 || fail_pos_1[0] == 0 || fail_pos_1 >= fail_pos_2)
|
||||||
{
|
{
|
||||||
if (endptr)
|
if (endptr)
|
||||||
@@ -213,9 +213,9 @@ g_strtod (const gchar *nptr,
|
|||||||
gchar*
|
gchar*
|
||||||
g_strerror (gint errnum)
|
g_strerror (gint errnum)
|
||||||
{
|
{
|
||||||
static GStaticPrivate msg_private = G_STATIC_PRIVATE_INIT;
|
static GStaticPrivate msg_private = G_STATIC_PRIVATE_INIT;
|
||||||
char *msg;
|
char *msg;
|
||||||
|
|
||||||
#ifdef HAVE_STRERROR
|
#ifdef HAVE_STRERROR
|
||||||
return strerror (errnum);
|
return strerror (errnum);
|
||||||
#elif NO_SYS_ERRLIST
|
#elif NO_SYS_ERRLIST
|
||||||
@@ -636,7 +636,7 @@ g_strerror (gint errnum)
|
|||||||
#else /* NO_SYS_ERRLIST */
|
#else /* NO_SYS_ERRLIST */
|
||||||
extern int sys_nerr;
|
extern int sys_nerr;
|
||||||
extern char *sys_errlist[];
|
extern char *sys_errlist[];
|
||||||
|
|
||||||
if ((errnum > 0) && (errnum <= sys_nerr))
|
if ((errnum > 0) && (errnum <= sys_nerr))
|
||||||
return sys_errlist [errnum];
|
return sys_errlist [errnum];
|
||||||
#endif /* NO_SYS_ERRLIST */
|
#endif /* NO_SYS_ERRLIST */
|
||||||
@@ -655,9 +655,9 @@ g_strerror (gint errnum)
|
|||||||
gchar*
|
gchar*
|
||||||
g_strsignal (gint signum)
|
g_strsignal (gint signum)
|
||||||
{
|
{
|
||||||
static GStaticPrivate msg_private = G_STATIC_PRIVATE_INIT;
|
static GStaticPrivate msg_private = G_STATIC_PRIVATE_INIT;
|
||||||
char *msg;
|
char *msg;
|
||||||
|
|
||||||
#ifdef HAVE_STRSIGNAL
|
#ifdef HAVE_STRSIGNAL
|
||||||
extern char *strsignal (int sig);
|
extern char *strsignal (int sig);
|
||||||
return strsignal (signum);
|
return strsignal (signum);
|
||||||
@@ -759,8 +759,13 @@ g_strsignal (gint signum)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
#else /* NO_SYS_SIGLIST */
|
#else /* NO_SYS_SIGLIST */
|
||||||
|
|
||||||
|
#ifndef NO_SYS_SIGLIST_DECL
|
||||||
|
/*(see Tue Jan 19 00:44:24 1999 in changelog)*/
|
||||||
extern char *sys_siglist[];
|
extern char *sys_siglist[];
|
||||||
return sys_siglist [signum];
|
#endif
|
||||||
|
|
||||||
|
return (char*) /* this function should return const --josh */ sys_siglist [signum];
|
||||||
#endif /* NO_SYS_SIGLIST */
|
#endif /* NO_SYS_SIGLIST */
|
||||||
|
|
||||||
msg = g_static_private_get (&msg_private);
|
msg = g_static_private_get (&msg_private);
|
||||||
@@ -769,7 +774,7 @@ g_strsignal (gint signum)
|
|||||||
msg = g_new( gchar, 64 );
|
msg = g_new( gchar, 64 );
|
||||||
g_static_private_set (&msg_private, msg, g_free);
|
g_static_private_set (&msg_private, msg, g_free);
|
||||||
}
|
}
|
||||||
|
|
||||||
sprintf (msg, "unknown signal (%d)", signum);
|
sprintf (msg, "unknown signal (%d)", signum);
|
||||||
return msg;
|
return msg;
|
||||||
}
|
}
|
||||||
@@ -779,25 +784,25 @@ g_printf_string_upper_bound (const gchar* format,
|
|||||||
va_list args)
|
va_list args)
|
||||||
{
|
{
|
||||||
guint len = 1;
|
guint len = 1;
|
||||||
|
|
||||||
while (*format)
|
while (*format)
|
||||||
{
|
{
|
||||||
gboolean long_int = FALSE;
|
gboolean long_int = FALSE;
|
||||||
gboolean extra_long = FALSE;
|
gboolean extra_long = FALSE;
|
||||||
gchar c;
|
gchar c;
|
||||||
|
|
||||||
c = *format++;
|
c = *format++;
|
||||||
|
|
||||||
if (c == '%')
|
if (c == '%')
|
||||||
{
|
{
|
||||||
gboolean done = FALSE;
|
gboolean done = FALSE;
|
||||||
|
|
||||||
while (*format && !done)
|
while (*format && !done)
|
||||||
{
|
{
|
||||||
switch (*format++)
|
switch (*format++)
|
||||||
{
|
{
|
||||||
gchar *string_arg;
|
gchar *string_arg;
|
||||||
|
|
||||||
case '*':
|
case '*':
|
||||||
len += va_arg (args, int);
|
len += va_arg (args, int);
|
||||||
break;
|
break;
|
||||||
@@ -907,7 +912,7 @@ g_printf_string_upper_bound (const gchar* format,
|
|||||||
else
|
else
|
||||||
len += 1;
|
len += 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
return len;
|
return len;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -915,11 +920,11 @@ void
|
|||||||
g_strdown (gchar *string)
|
g_strdown (gchar *string)
|
||||||
{
|
{
|
||||||
register gchar *s;
|
register gchar *s;
|
||||||
|
|
||||||
g_return_if_fail (string != NULL);
|
g_return_if_fail (string != NULL);
|
||||||
|
|
||||||
s = string;
|
s = string;
|
||||||
|
|
||||||
while (*s)
|
while (*s)
|
||||||
{
|
{
|
||||||
*s = tolower (*s);
|
*s = tolower (*s);
|
||||||
@@ -931,11 +936,11 @@ void
|
|||||||
g_strup (gchar *string)
|
g_strup (gchar *string)
|
||||||
{
|
{
|
||||||
register gchar *s;
|
register gchar *s;
|
||||||
|
|
||||||
g_return_if_fail (string != NULL);
|
g_return_if_fail (string != NULL);
|
||||||
|
|
||||||
s = string;
|
s = string;
|
||||||
|
|
||||||
while (*s)
|
while (*s)
|
||||||
{
|
{
|
||||||
*s = toupper (*s);
|
*s = toupper (*s);
|
||||||
@@ -947,18 +952,18 @@ void
|
|||||||
g_strreverse (gchar *string)
|
g_strreverse (gchar *string)
|
||||||
{
|
{
|
||||||
g_return_if_fail (string != NULL);
|
g_return_if_fail (string != NULL);
|
||||||
|
|
||||||
if (*string)
|
if (*string)
|
||||||
{
|
{
|
||||||
register gchar *h, *t;
|
register gchar *h, *t;
|
||||||
|
|
||||||
h = string;
|
h = string;
|
||||||
t = string + strlen (string) - 1;
|
t = string + strlen (string) - 1;
|
||||||
|
|
||||||
while (h < t)
|
while (h < t)
|
||||||
{
|
{
|
||||||
register gchar c;
|
register gchar c;
|
||||||
|
|
||||||
c = *h;
|
c = *h;
|
||||||
*h = *t;
|
*h = *t;
|
||||||
h++;
|
h++;
|
||||||
@@ -976,7 +981,7 @@ g_strcasecmp (const gchar *s1,
|
|||||||
return strcasecmp (s1, s2);
|
return strcasecmp (s1, s2);
|
||||||
#else
|
#else
|
||||||
gint c1, c2;
|
gint c1, c2;
|
||||||
|
|
||||||
g_return_val_if_fail (s1 != NULL, 0);
|
g_return_val_if_fail (s1 != NULL, 0);
|
||||||
g_return_val_if_fail (s2 != NULL, 0);
|
g_return_val_if_fail (s2 != NULL, 0);
|
||||||
|
|
||||||
@@ -991,7 +996,7 @@ g_strcasecmp (const gchar *s1,
|
|||||||
return (c1 - c2);
|
return (c1 - c2);
|
||||||
s1++; s2++;
|
s1++; s2++;
|
||||||
}
|
}
|
||||||
|
|
||||||
return (((gint)(guchar) *s1) - ((gint)(guchar) *s2));
|
return (((gint)(guchar) *s1) - ((gint)(guchar) *s2));
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
@@ -1005,7 +1010,7 @@ g_strncasecmp (const gchar *s1,
|
|||||||
return strncasecmp (s1, s2, n);
|
return strncasecmp (s1, s2, n);
|
||||||
#else
|
#else
|
||||||
gint c1, c2;
|
gint c1, c2;
|
||||||
|
|
||||||
g_return_val_if_fail (s1 != NULL, 0);
|
g_return_val_if_fail (s1 != NULL, 0);
|
||||||
g_return_val_if_fail (s2 != NULL, 0);
|
g_return_val_if_fail (s2 != NULL, 0);
|
||||||
|
|
||||||
@@ -1034,12 +1039,12 @@ g_strdelimit (gchar *string,
|
|||||||
gchar new_delim)
|
gchar new_delim)
|
||||||
{
|
{
|
||||||
register gchar *c;
|
register gchar *c;
|
||||||
|
|
||||||
g_return_val_if_fail (string != NULL, NULL);
|
g_return_val_if_fail (string != NULL, NULL);
|
||||||
|
|
||||||
if (!delimiters)
|
if (!delimiters)
|
||||||
delimiters = G_STR_DELIMITERS;
|
delimiters = G_STR_DELIMITERS;
|
||||||
|
|
||||||
for (c = string; *c; c++)
|
for (c = string; *c; c++)
|
||||||
{
|
{
|
||||||
if (strchr (delimiters, *c))
|
if (strchr (delimiters, *c))
|
||||||
@@ -1132,12 +1137,12 @@ g_strsplit (const gchar *string,
|
|||||||
if (s)
|
if (s)
|
||||||
{
|
{
|
||||||
guint delimiter_len = strlen (delimiter);
|
guint delimiter_len = strlen (delimiter);
|
||||||
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
guint len;
|
guint len;
|
||||||
gchar *new_string;
|
gchar *new_string;
|
||||||
|
|
||||||
len = s - string;
|
len = s - string;
|
||||||
new_string = g_new (gchar, len + 1);
|
new_string = g_new (gchar, len + 1);
|
||||||
strncpy (new_string, string, len);
|
strncpy (new_string, string, len);
|
||||||
@@ -1154,7 +1159,7 @@ g_strsplit (const gchar *string,
|
|||||||
n++;
|
n++;
|
||||||
string_list = g_slist_prepend (string_list, g_strdup (string));
|
string_list = g_slist_prepend (string_list, g_strdup (string));
|
||||||
}
|
}
|
||||||
|
|
||||||
str_array = g_new (gchar*, n);
|
str_array = g_new (gchar*, n);
|
||||||
|
|
||||||
i = n - 1;
|
i = n - 1;
|
||||||
@@ -1187,7 +1192,7 @@ g_strjoinv (const gchar *separator,
|
|||||||
gchar **str_array)
|
gchar **str_array)
|
||||||
{
|
{
|
||||||
gchar *string;
|
gchar *string;
|
||||||
|
|
||||||
g_return_val_if_fail (str_array != NULL, NULL);
|
g_return_val_if_fail (str_array != NULL, NULL);
|
||||||
|
|
||||||
if(separator == NULL)
|
if(separator == NULL)
|
||||||
@@ -1202,7 +1207,7 @@ g_strjoinv (const gchar *separator,
|
|||||||
len = 1 + strlen (str_array[0]);
|
len = 1 + strlen (str_array[0]);
|
||||||
for(i = 1; str_array[i] != NULL; i++)
|
for(i = 1; str_array[i] != NULL; i++)
|
||||||
len += separator_len + strlen(str_array[i]);
|
len += separator_len + strlen(str_array[i]);
|
||||||
|
|
||||||
string = g_new (gchar, len);
|
string = g_new (gchar, len);
|
||||||
*string = 0;
|
*string = 0;
|
||||||
strcat (string, *str_array);
|
strcat (string, *str_array);
|
||||||
|
101
gstrfuncs.c
101
gstrfuncs.c
@@ -17,7 +17,7 @@
|
|||||||
* Boston, MA 02111-1307, USA.
|
* Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* MT safe
|
* MT safe
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -41,7 +41,7 @@ gchar*
|
|||||||
g_strdup (const gchar *str)
|
g_strdup (const gchar *str)
|
||||||
{
|
{
|
||||||
gchar *new_str;
|
gchar *new_str;
|
||||||
|
|
||||||
if (str)
|
if (str)
|
||||||
{
|
{
|
||||||
new_str = g_new (char, strlen (str) + 1);
|
new_str = g_new (char, strlen (str) + 1);
|
||||||
@@ -49,7 +49,7 @@ g_strdup (const gchar *str)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
new_str = NULL;
|
new_str = NULL;
|
||||||
|
|
||||||
return new_str;
|
return new_str;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -142,9 +142,9 @@ g_strconcat (const gchar *string1, ...)
|
|||||||
va_list args;
|
va_list args;
|
||||||
gchar *s;
|
gchar *s;
|
||||||
gchar *concat;
|
gchar *concat;
|
||||||
|
|
||||||
g_return_val_if_fail (string1 != NULL, NULL);
|
g_return_val_if_fail (string1 != NULL, NULL);
|
||||||
|
|
||||||
l = 1 + strlen (string1);
|
l = 1 + strlen (string1);
|
||||||
va_start (args, string1);
|
va_start (args, string1);
|
||||||
s = va_arg (args, gchar*);
|
s = va_arg (args, gchar*);
|
||||||
@@ -154,10 +154,10 @@ g_strconcat (const gchar *string1, ...)
|
|||||||
s = va_arg (args, gchar*);
|
s = va_arg (args, gchar*);
|
||||||
}
|
}
|
||||||
va_end (args);
|
va_end (args);
|
||||||
|
|
||||||
concat = g_new (gchar, l);
|
concat = g_new (gchar, l);
|
||||||
concat[0] = 0;
|
concat[0] = 0;
|
||||||
|
|
||||||
strcat (concat, string1);
|
strcat (concat, string1);
|
||||||
va_start (args, string1);
|
va_start (args, string1);
|
||||||
s = va_arg (args, gchar*);
|
s = va_arg (args, gchar*);
|
||||||
@@ -167,7 +167,7 @@ g_strconcat (const gchar *string1, ...)
|
|||||||
s = va_arg (args, gchar*);
|
s = va_arg (args, gchar*);
|
||||||
}
|
}
|
||||||
va_end (args);
|
va_end (args);
|
||||||
|
|
||||||
return concat;
|
return concat;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -179,23 +179,23 @@ g_strtod (const gchar *nptr,
|
|||||||
gchar *fail_pos_2;
|
gchar *fail_pos_2;
|
||||||
gdouble val_1;
|
gdouble val_1;
|
||||||
gdouble val_2 = 0;
|
gdouble val_2 = 0;
|
||||||
|
|
||||||
g_return_val_if_fail (nptr != NULL, 0);
|
g_return_val_if_fail (nptr != NULL, 0);
|
||||||
|
|
||||||
fail_pos_1 = NULL;
|
fail_pos_1 = NULL;
|
||||||
fail_pos_2 = NULL;
|
fail_pos_2 = NULL;
|
||||||
|
|
||||||
val_1 = strtod (nptr, &fail_pos_1);
|
val_1 = strtod (nptr, &fail_pos_1);
|
||||||
|
|
||||||
if (fail_pos_1 && fail_pos_1[0] != 0)
|
if (fail_pos_1 && fail_pos_1[0] != 0)
|
||||||
{
|
{
|
||||||
gchar *old_locale;
|
gchar *old_locale;
|
||||||
|
|
||||||
old_locale = setlocale (LC_NUMERIC, "C");
|
old_locale = setlocale (LC_NUMERIC, "C");
|
||||||
val_2 = strtod (nptr, &fail_pos_2);
|
val_2 = strtod (nptr, &fail_pos_2);
|
||||||
setlocale (LC_NUMERIC, old_locale);
|
setlocale (LC_NUMERIC, old_locale);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!fail_pos_1 || fail_pos_1[0] == 0 || fail_pos_1 >= fail_pos_2)
|
if (!fail_pos_1 || fail_pos_1[0] == 0 || fail_pos_1 >= fail_pos_2)
|
||||||
{
|
{
|
||||||
if (endptr)
|
if (endptr)
|
||||||
@@ -213,9 +213,9 @@ g_strtod (const gchar *nptr,
|
|||||||
gchar*
|
gchar*
|
||||||
g_strerror (gint errnum)
|
g_strerror (gint errnum)
|
||||||
{
|
{
|
||||||
static GStaticPrivate msg_private = G_STATIC_PRIVATE_INIT;
|
static GStaticPrivate msg_private = G_STATIC_PRIVATE_INIT;
|
||||||
char *msg;
|
char *msg;
|
||||||
|
|
||||||
#ifdef HAVE_STRERROR
|
#ifdef HAVE_STRERROR
|
||||||
return strerror (errnum);
|
return strerror (errnum);
|
||||||
#elif NO_SYS_ERRLIST
|
#elif NO_SYS_ERRLIST
|
||||||
@@ -636,7 +636,7 @@ g_strerror (gint errnum)
|
|||||||
#else /* NO_SYS_ERRLIST */
|
#else /* NO_SYS_ERRLIST */
|
||||||
extern int sys_nerr;
|
extern int sys_nerr;
|
||||||
extern char *sys_errlist[];
|
extern char *sys_errlist[];
|
||||||
|
|
||||||
if ((errnum > 0) && (errnum <= sys_nerr))
|
if ((errnum > 0) && (errnum <= sys_nerr))
|
||||||
return sys_errlist [errnum];
|
return sys_errlist [errnum];
|
||||||
#endif /* NO_SYS_ERRLIST */
|
#endif /* NO_SYS_ERRLIST */
|
||||||
@@ -655,9 +655,9 @@ g_strerror (gint errnum)
|
|||||||
gchar*
|
gchar*
|
||||||
g_strsignal (gint signum)
|
g_strsignal (gint signum)
|
||||||
{
|
{
|
||||||
static GStaticPrivate msg_private = G_STATIC_PRIVATE_INIT;
|
static GStaticPrivate msg_private = G_STATIC_PRIVATE_INIT;
|
||||||
char *msg;
|
char *msg;
|
||||||
|
|
||||||
#ifdef HAVE_STRSIGNAL
|
#ifdef HAVE_STRSIGNAL
|
||||||
extern char *strsignal (int sig);
|
extern char *strsignal (int sig);
|
||||||
return strsignal (signum);
|
return strsignal (signum);
|
||||||
@@ -759,8 +759,13 @@ g_strsignal (gint signum)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
#else /* NO_SYS_SIGLIST */
|
#else /* NO_SYS_SIGLIST */
|
||||||
|
|
||||||
|
#ifndef NO_SYS_SIGLIST_DECL
|
||||||
|
/*(see Tue Jan 19 00:44:24 1999 in changelog)*/
|
||||||
extern char *sys_siglist[];
|
extern char *sys_siglist[];
|
||||||
return sys_siglist [signum];
|
#endif
|
||||||
|
|
||||||
|
return (char*) /* this function should return const --josh */ sys_siglist [signum];
|
||||||
#endif /* NO_SYS_SIGLIST */
|
#endif /* NO_SYS_SIGLIST */
|
||||||
|
|
||||||
msg = g_static_private_get (&msg_private);
|
msg = g_static_private_get (&msg_private);
|
||||||
@@ -769,7 +774,7 @@ g_strsignal (gint signum)
|
|||||||
msg = g_new( gchar, 64 );
|
msg = g_new( gchar, 64 );
|
||||||
g_static_private_set (&msg_private, msg, g_free);
|
g_static_private_set (&msg_private, msg, g_free);
|
||||||
}
|
}
|
||||||
|
|
||||||
sprintf (msg, "unknown signal (%d)", signum);
|
sprintf (msg, "unknown signal (%d)", signum);
|
||||||
return msg;
|
return msg;
|
||||||
}
|
}
|
||||||
@@ -779,25 +784,25 @@ g_printf_string_upper_bound (const gchar* format,
|
|||||||
va_list args)
|
va_list args)
|
||||||
{
|
{
|
||||||
guint len = 1;
|
guint len = 1;
|
||||||
|
|
||||||
while (*format)
|
while (*format)
|
||||||
{
|
{
|
||||||
gboolean long_int = FALSE;
|
gboolean long_int = FALSE;
|
||||||
gboolean extra_long = FALSE;
|
gboolean extra_long = FALSE;
|
||||||
gchar c;
|
gchar c;
|
||||||
|
|
||||||
c = *format++;
|
c = *format++;
|
||||||
|
|
||||||
if (c == '%')
|
if (c == '%')
|
||||||
{
|
{
|
||||||
gboolean done = FALSE;
|
gboolean done = FALSE;
|
||||||
|
|
||||||
while (*format && !done)
|
while (*format && !done)
|
||||||
{
|
{
|
||||||
switch (*format++)
|
switch (*format++)
|
||||||
{
|
{
|
||||||
gchar *string_arg;
|
gchar *string_arg;
|
||||||
|
|
||||||
case '*':
|
case '*':
|
||||||
len += va_arg (args, int);
|
len += va_arg (args, int);
|
||||||
break;
|
break;
|
||||||
@@ -907,7 +912,7 @@ g_printf_string_upper_bound (const gchar* format,
|
|||||||
else
|
else
|
||||||
len += 1;
|
len += 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
return len;
|
return len;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -915,11 +920,11 @@ void
|
|||||||
g_strdown (gchar *string)
|
g_strdown (gchar *string)
|
||||||
{
|
{
|
||||||
register gchar *s;
|
register gchar *s;
|
||||||
|
|
||||||
g_return_if_fail (string != NULL);
|
g_return_if_fail (string != NULL);
|
||||||
|
|
||||||
s = string;
|
s = string;
|
||||||
|
|
||||||
while (*s)
|
while (*s)
|
||||||
{
|
{
|
||||||
*s = tolower (*s);
|
*s = tolower (*s);
|
||||||
@@ -931,11 +936,11 @@ void
|
|||||||
g_strup (gchar *string)
|
g_strup (gchar *string)
|
||||||
{
|
{
|
||||||
register gchar *s;
|
register gchar *s;
|
||||||
|
|
||||||
g_return_if_fail (string != NULL);
|
g_return_if_fail (string != NULL);
|
||||||
|
|
||||||
s = string;
|
s = string;
|
||||||
|
|
||||||
while (*s)
|
while (*s)
|
||||||
{
|
{
|
||||||
*s = toupper (*s);
|
*s = toupper (*s);
|
||||||
@@ -947,18 +952,18 @@ void
|
|||||||
g_strreverse (gchar *string)
|
g_strreverse (gchar *string)
|
||||||
{
|
{
|
||||||
g_return_if_fail (string != NULL);
|
g_return_if_fail (string != NULL);
|
||||||
|
|
||||||
if (*string)
|
if (*string)
|
||||||
{
|
{
|
||||||
register gchar *h, *t;
|
register gchar *h, *t;
|
||||||
|
|
||||||
h = string;
|
h = string;
|
||||||
t = string + strlen (string) - 1;
|
t = string + strlen (string) - 1;
|
||||||
|
|
||||||
while (h < t)
|
while (h < t)
|
||||||
{
|
{
|
||||||
register gchar c;
|
register gchar c;
|
||||||
|
|
||||||
c = *h;
|
c = *h;
|
||||||
*h = *t;
|
*h = *t;
|
||||||
h++;
|
h++;
|
||||||
@@ -976,7 +981,7 @@ g_strcasecmp (const gchar *s1,
|
|||||||
return strcasecmp (s1, s2);
|
return strcasecmp (s1, s2);
|
||||||
#else
|
#else
|
||||||
gint c1, c2;
|
gint c1, c2;
|
||||||
|
|
||||||
g_return_val_if_fail (s1 != NULL, 0);
|
g_return_val_if_fail (s1 != NULL, 0);
|
||||||
g_return_val_if_fail (s2 != NULL, 0);
|
g_return_val_if_fail (s2 != NULL, 0);
|
||||||
|
|
||||||
@@ -991,7 +996,7 @@ g_strcasecmp (const gchar *s1,
|
|||||||
return (c1 - c2);
|
return (c1 - c2);
|
||||||
s1++; s2++;
|
s1++; s2++;
|
||||||
}
|
}
|
||||||
|
|
||||||
return (((gint)(guchar) *s1) - ((gint)(guchar) *s2));
|
return (((gint)(guchar) *s1) - ((gint)(guchar) *s2));
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
@@ -1005,7 +1010,7 @@ g_strncasecmp (const gchar *s1,
|
|||||||
return strncasecmp (s1, s2, n);
|
return strncasecmp (s1, s2, n);
|
||||||
#else
|
#else
|
||||||
gint c1, c2;
|
gint c1, c2;
|
||||||
|
|
||||||
g_return_val_if_fail (s1 != NULL, 0);
|
g_return_val_if_fail (s1 != NULL, 0);
|
||||||
g_return_val_if_fail (s2 != NULL, 0);
|
g_return_val_if_fail (s2 != NULL, 0);
|
||||||
|
|
||||||
@@ -1034,12 +1039,12 @@ g_strdelimit (gchar *string,
|
|||||||
gchar new_delim)
|
gchar new_delim)
|
||||||
{
|
{
|
||||||
register gchar *c;
|
register gchar *c;
|
||||||
|
|
||||||
g_return_val_if_fail (string != NULL, NULL);
|
g_return_val_if_fail (string != NULL, NULL);
|
||||||
|
|
||||||
if (!delimiters)
|
if (!delimiters)
|
||||||
delimiters = G_STR_DELIMITERS;
|
delimiters = G_STR_DELIMITERS;
|
||||||
|
|
||||||
for (c = string; *c; c++)
|
for (c = string; *c; c++)
|
||||||
{
|
{
|
||||||
if (strchr (delimiters, *c))
|
if (strchr (delimiters, *c))
|
||||||
@@ -1132,12 +1137,12 @@ g_strsplit (const gchar *string,
|
|||||||
if (s)
|
if (s)
|
||||||
{
|
{
|
||||||
guint delimiter_len = strlen (delimiter);
|
guint delimiter_len = strlen (delimiter);
|
||||||
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
guint len;
|
guint len;
|
||||||
gchar *new_string;
|
gchar *new_string;
|
||||||
|
|
||||||
len = s - string;
|
len = s - string;
|
||||||
new_string = g_new (gchar, len + 1);
|
new_string = g_new (gchar, len + 1);
|
||||||
strncpy (new_string, string, len);
|
strncpy (new_string, string, len);
|
||||||
@@ -1154,7 +1159,7 @@ g_strsplit (const gchar *string,
|
|||||||
n++;
|
n++;
|
||||||
string_list = g_slist_prepend (string_list, g_strdup (string));
|
string_list = g_slist_prepend (string_list, g_strdup (string));
|
||||||
}
|
}
|
||||||
|
|
||||||
str_array = g_new (gchar*, n);
|
str_array = g_new (gchar*, n);
|
||||||
|
|
||||||
i = n - 1;
|
i = n - 1;
|
||||||
@@ -1187,7 +1192,7 @@ g_strjoinv (const gchar *separator,
|
|||||||
gchar **str_array)
|
gchar **str_array)
|
||||||
{
|
{
|
||||||
gchar *string;
|
gchar *string;
|
||||||
|
|
||||||
g_return_val_if_fail (str_array != NULL, NULL);
|
g_return_val_if_fail (str_array != NULL, NULL);
|
||||||
|
|
||||||
if(separator == NULL)
|
if(separator == NULL)
|
||||||
@@ -1202,7 +1207,7 @@ g_strjoinv (const gchar *separator,
|
|||||||
len = 1 + strlen (str_array[0]);
|
len = 1 + strlen (str_array[0]);
|
||||||
for(i = 1; str_array[i] != NULL; i++)
|
for(i = 1; str_array[i] != NULL; i++)
|
||||||
len += separator_len + strlen(str_array[i]);
|
len += separator_len + strlen(str_array[i]);
|
||||||
|
|
||||||
string = g_new (gchar, len);
|
string = g_new (gchar, len);
|
||||||
*string = 0;
|
*string = 0;
|
||||||
strcat (string, *str_array);
|
strcat (string, *str_array);
|
||||||
|
Reference in New Issue
Block a user