329 Commits

Author SHA1 Message Date
Sebastian Wilhelmi
43acfbf619 The last commit was not quite right. This time it should work.
The last commit was not quite right. This time it should work.
2000-05-18 15:13:00 +00:00
Sebastian Wilhelmi
4611fe9446 Use strlen instead of exit in the test for sys_siglist, as using strlen
2000-05-18  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* configure.in: Use strlen instead of exit in the test for
	sys_siglist, as using strlen (function without side effects) makes
	the compiler remove that for optimized compilation and the linker
	wont see the symbol, thus a successfull link doesn't mean, that
	the symbol exists. Hint from Robert Pouliot
	<robert.pouliot@bell.ca>.

	* configure.in: Also look for thread functions in libthreads. Hint
	also from Robert Pouliot <robert.pouliot@bell.ca>.
2000-05-18 15:06:39 +00:00
Sebastian Wilhelmi
5c722885e3 Really initialize the whole GPtrArray to 0 after resizing. Pionted out by
2000-04-19  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* garray.c (g_ptr_array_maybe_expand): Really initialize the whole
	GPtrArray to 0 after resizing. Pionted out by David Menestrina
	<dmenest@Princeton.EDU>. Fixes Bug #9270. This needn't be applied
	to glib-1.3.
2000-04-19 11:06:54 +00:00
Tim Janik
e01d746cba make sure that scanner->config->cset_skip_characters is "" instead of
Wed Apr 19 08:32:32 2000  Tim Janik  <timj@gtk.org>

        * gscanner.c (g_scanner_new): make sure that
        scanner->config->cset_skip_characters is "" instead of NULL, so we
        don't segfault further on.
2000-04-19 06:37:29 +00:00
Elliot Lee
cbb5e7af5f A stringified double can be longer than 32 chars - fix space calculation
* gstrfuncs.c: A stringified double can be longer than 32 chars -
fix space calculation routine to 'double' the max amount of space
a double & long double can take.
2000-04-10 05:30:24 +00:00
Tim Janik
6cf3b7866d put a comment for the g_datalist_ and g_dataset_ API, that these fucntions
Fri Mar 24 03:34:02 2000  Tim Janik  <timj@gtk.org>

        * glib.h: put a comment for the g_datalist_ and g_dataset_ API, that
        these fucntions are scheduled for a rename in GLib 1.3.
2000-03-24 02:40:23 +00:00
Elliot Lee
7d275054e5 gmem.c (g_mem_chunk_area_compare): Fix 64-bitness bug in comparing two
gmem.c (g_mem_chunk_area_compare): Fix 64-bitness bug in comparing two
pointers more than 4G apart.
2000-03-22 21:42:03 +00:00
Sebastian Wilhelmi
2b8fb12960 The mutex in the check for pthread_mutex_trylock should be a static var.
2000-03-21  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* configure.in: The mutex in the check for pthread_mutex_trylock
	should be a static var. Thanks to Wan-Teh Chang <wtc@netscape.com>
	for pointing this out.
2000-03-21 09:23:52 +00:00
Sebastian Wilhelmi
e97d7be284 Changed GCC version test to also accept major versions > 2. Thanks to Ben
2000-02-18  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* configure.in: Changed GCC version test to also accept major
	versions > 2. Thanks to Ben Gertzfield <che@debian.org> for
	pointing this out.
2000-02-18 09:31:45 +00:00
Tim Janik
f657d43811 reverted my last commit, g_thread_init() *does* have an implementation.
Thu Feb 17 12:24:55 2000  Tim Janik  <timj@gtk.org>

        * glib.h: reverted my last commit, g_thread_init() *does*
        have an implementation.
2000-02-17 11:29:17 +00:00
Tim Janik
a1c9dc62e8 remove extraneous prototype for g_thread_init().
Thu Feb 17 04:25:02 2000  Tim Janik  <timj@gtk.org>

        * glib.h: remove extraneous prototype for g_thread_init().
2000-02-17 03:26:49 +00:00
CST 2000 Shawn T. Amundson
258ea8f8b0 Released GLib 1.2.7
Wed Feb 16 05:18:37 CST 2000  Shawn T. Amundson <amundson@gtk.org>

        * Released GLib 1.2.7
2000-02-16 13:02:54 +00:00
Tim Janik
7aecb12ae7 changed g_str_hash() to a 31 bit version based on a submission by Karl
Mon Feb 14 22:32:49 2000  Tim Janik  <timj@gtk.org>

        * gstring.c: changed g_str_hash() to a 31 bit version based on
        a submission by Karl Nelson and hand optimized ad absurdum by
        various people ;)
2000-02-14 21:38:52 +00:00
Tim Janik
7767686fda up version number to 1.2.7, interface age 7 and binary age 7.
Fri Feb  4 19:39:38 2000  Tim Janik  <timj@gtk.org>

        * configure.in: up version number to 1.2.7, interface age 7 and
        binary age 7.

        * NEWS: updates.
2000-02-04 03:21:46 +00:00
Manish Singh
f466a5ef53 acinclude.m4 config.guess config.sub ltconfig upgrade to libtool 1.3.4
* acinclude.m4
* config.guess
* config.sub
* ltconfig
* ltmain.sh: upgrade to libtool 1.3.4 (bugfix only release)

* gmain.c: removed spurious non-commented #endif suffix

-Yosh
2000-02-03 00:53:22 +00:00
Owen Taylor
adcb31e535 Bug #4156 - Changes vaguely modelled after Scott Gifford's patch
Fri Jan 28 11:37:41 2000  Owen Taylor  <otaylor@redhat.com>

        Bug #4156 - Changes vaguely modelled after Scott Gifford's patch

	* gtimer.c (g_timer_elapsed): Never report negative times -
	clip times to 0.

	* gmain.c (g_timeout_prepare): Guard against unexpected
	clock shifts by never setting a timeout of more than
	data->interval msecs.
2000-01-27 17:06:14 +00:00
Tim Janik
2d28bd300f s/current_time/dispatch_time/ for the dispatch() handlers. refetch the
Wed Jan 26 05:29:11 2000  Tim Janik  <timj@gtk.org>

        * glib.h:
        * gmain.c: s/current_time/dispatch_time/ for the dispatch() handlers.
        refetch the current time after invocation of poll() to cover up for
        the time spent in that function call.
2000-01-26 04:31:25 +00:00
Tim Janik
5581fb1f27 correctly fetch the current locale, fix from owen.
Sun Jan  9 13:28:36 2000  Tim Janik  <timj@gtk.org>

        * gstrfuncs.c (g_strtod): correctly fetch the current locale,
        fix from owen.
2000-01-09 10:59:09 +00:00
Sebastian Wilhelmi
bb4b0d6cc9 Oops, corrected ChangeLog Message 1999-11-08 09:37:10 +00:00
Sebastian Wilhelmi
0735756eaa Make the test for getpwuid_r work on newer AIX versions, too. Still works
1999-11-08  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* Make the test for getpwuid_r work on newer AIX versions,
	too. Still works on Solaris and Linux. Patch from Craig Rodrigues
	<rodrigc@mediaone.net>.
1999-11-08 09:36:07 +00:00
Asbjørn Pettersen
9838e5e84f add G_DIR_xx for OS/2 1999-11-02 16:23:44 +00:00
Asbjørn Pettersen
a6039388a3 test if node is NULL 1999-10-31 18:00:58 +00:00
Tim Janik
531f83a566 remove g_dataset_global_lock around destroy() notification here as well.
Sun Oct 17 18:11:40 1999  Tim Janik  <timj@gtk.org>

        * gdataset.c (g_data_set_internal): remove g_dataset_global_lock around
        destroy() notification here as well.
1999-10-17 16:01:48 +00:00
Sebastian Wilhelmi
7695497f00 Added Credit.
Added Credit.
1999-10-15 12:00:59 +00:00
Sebastian Wilhelmi
615be16749 Avoid Freezing, when g_datalist is called recursivly.
1999-10-15  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* gdataset.c (g_datalist_clear_i): Avoid Freezing, when g_datalist
	is called recursivly.
1999-10-15 12:00:22 +00:00
CDT 1999 Shawn T. Amundson
5636dc8433 Released GLib 1.2.6
Thu Oct  7 12:28:27 CDT 1999 Shawn T. Amundson <amundson@gtk.org>

        * Released GLib 1.2.6
1999-10-07 17:39:11 +00:00
Manish Singh
799a5d05c8 list acglib.m4 in CONFIGURE_DEPENDENCIES so we hook in to automake's default
configure rule instead of making our own

-Yosh
1999-10-03 19:11:18 +00:00
CDT 1999 Shawn T. Amundson
6f9ddcf51e Released GLib 1.2.5
Thu Sep 23 19:47:10 CDT 1999 Shawn T. Amundson <amundson@gtk.org>

        * Released GLib 1.2.5
1999-09-24 01:01:08 +00:00
Tim Janik
302ec721e0 applied patch from Soeren Sandmann <sandmann@daimi.au.dk>, to force mem
Fri Sep 17 10:24:45 1999  Tim Janik  <timj@gtk.org>

        * gmem.c (g_mem_chunk_compute_size) (g_mem_chunk_new): applied patch
        from Soeren Sandmann <sandmann@daimi.au.dk>, to force mem chunk's area
        sizes to be a multitiple of atom_size, and to eliminate the MAX_MEM_AREA
        restriction of 65536 bytes. we also catch cases where users pass an area
        size < atom size with a return_if_fail statement now (which is ok,
        because previously this lead to memory corruption anyways).
1999-09-17 09:03:51 +00:00
Tim Janik
c8a027e975 added --export-dynamic so we can load dynmic modules, (required, according
Thu Aug 26 15:09:36 1999  Tim Janik  <timj@gtk.org>

        * Makefile.am:
        * gmodule/Makefile.am:
        * gthread/Makefile.am: added --export-dynamic so we can load dynmic
        modules, (required, according to the libtool 1.3.3 docu).
1999-08-26 13:09:43 +00:00
CDT 1999 Shawn T. Amundson
29d0773fb2 Released GLib 1.2.4
Mon Aug 23 14:42:58 CDT 1999 Shawn T. Amundson <amundson@gtk.org>

        * Released GLib 1.2.4
1999-08-23 22:47:23 +00:00
Tim Janik
df4f26e24c update version to 1.2.4, interface age 4, binary age 4.
Mon Aug 23 18:29:45 1999  Tim Janik  <timj@gtk.org>

        * configure.in: update version to 1.2.4, interface age 4, binary age 4.

        * NEWS: updates.

        * Makefile.am: require automake 1.4, build README from README.in and
        INSTALL from INSTALL.in in dist-hook.

        * README.in:
        * INSTALL.in: new files to autogenerate README and INSTALL from.

        * COPYING: update to the GNU LESSER GENERAL PUBLIC LICENSE.
1999-08-23 19:27:39 +00:00
Tim Janik
4efeb9dd98 added newlines 1999-08-02 18:19:38 +00:00
Elliot Lee
508ae4786c Distribution the .in versions of the various Windoze makefiles.
Distribution the .in versions of the various Windoze makefiles.
1999-07-29 23:38:17 +00:00
Manish Singh
fae05831e3 libtool 1.3.3 upgrade
-Yosh
1999-07-17 05:19:15 +00:00
Sebastian Wilhelmi
c40fbfb8c6 Fixed the use of the is..... and to..... macros, which take unsigned
1999-06-18  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* gdate.c, gstrfuncs.c, gstring.c: Fixed the use of the
	is..... and to..... macros, which take unsigned chars, not chars!
	Thanks to Morten Welinder <terra@diku.dk> for pointing this out.
1999-06-18 07:59:19 +00:00
Manish Singh
cd3dc1ccbd check isatty() before querying so we don't loop endlessly
* gerror.c (g_on_error_query): check isatty() before querying so
we don't loop endlessly

-Yosh
1999-06-03 23:35:10 +00:00
Manish Singh
51bd87c02b libtool 1.3.2
-Yosh
1999-05-29 18:17:12 +00:00
Sebastian Wilhelmi
187c191219 provide a poll() prototype for SunOS, as it doesn't provide one itself.
1999-05-26  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* gmain.c: provide a poll() prototype for SunOS, as it doesn't
	provide one itself. Reported by Christian Parg
	<cparg@fs-design.de>.
1999-05-26 12:12:21 +00:00
Owen Taylor
78fd20c910 Use g_memmove() not memmove(). (Reported by Charles Levert
Tue May 25 12:23:07 1999  Owen Taylor  <otaylor@redhat.com>

	* gstrfuncs.c (g_strchug): Use g_memmove() not memmove().
	(Reported by Charles Levert <charles@comm.polymtl.ca>)
1999-05-25 16:21:13 +00:00
CDT 1999 Shawn T. Amundson
9b679abd55 Released GLib 1.2.3
Mon May 10 22:03:52 CDT 1999 Shawn T. Amundson <amundson@gtk.org>

        * Released GLib 1.2.3
1999-05-11 03:06:59 +00:00
Tor Lillqvist
8ad2440517 Correct rules for making the win32-related files that are made from
* Makefile.am tests/Makefile.am: Correct rules for making the
	win32-related files that are made from corresponding .in files.
	Is there a cleaner way than explicitly writing rules that invoke
	config.status?
1999-05-08 14:17:01 +00:00
Manish Singh
36ea7e4925 libtool 1.3 upgrade
use -avoid-version for gmodule test stuff

-Yosh
1999-05-01 17:25:25 +00:00
Tor Lillqvist
7310bf723f Oops, e-mail address in ChangeLog was bogus. 1999-04-29 21:50:47 +00:00
Tor Lillqvist
1b9116f9e4 Don't distribute glibconfig.h.win32.in, but glibconfig.h.win32. Generate
* Makefile.am: Don't distribute glibconfig.h.win32.in, but
	glibconfig.h.win32. Generate it when making a dist. Also generate
	makefile.msc and config.h.win32 from corresponding .in files when
	making dist.

	* configure.in: Also substitute @GLIB_INTERFACE_AGE@ and
	@GLIB_BINARY_AGE@ (needed in config.h.win32).

	* glibconfig.h.win32.in: Use static mutex structure and initial
	value corresponding to the 1999-04-07 snapshot of pthreads-win32.

	* tests/Makefile.am: Distribute makefile.msc. Generate it when
	making dist.

	* tests/makefile.msc.in: New file.

	* tests/node-test.c: Include <stdlib.h> for exit().
1999-04-29 21:38:56 +00:00
Tim Janik
d5a1c85ba6 minor code cleanups.
Thu Apr 29 02:16:36 1999  Tim Janik  <timj@gtk.org>

        * gstrfuncs.c: minor code cleanups.
1999-04-29 00:18:54 +00:00
Owen Taylor
ff140aa613 Mask out ERR HUP and NVAL from the events field so we don't give IRIX
Tue Apr 27 13:11:29 1999  Owen Taylor  <otaylor@redhat.com>

	* gmain.c (g_main_poll): Mask out ERR HUP and NVAL from
	the events field so we don't give IRIX fits.
1999-04-27 17:14:45 +00:00
Tim Janik
89713b8320 behave conservative with G_TOKEN_IDENTIFIER_NULL and always assume
Tue Apr 20 08:42:22 1999  Tim Janik  <timj@gtk.org>

        * gscanner.c (g_scanner_unexp_token): behave conservative with
        G_TOKEN_IDENTIFIER_NULL and always assume scanner->value.v_string
        to be "null" in that case.
1999-04-21 00:57:16 +00:00
Havoc Pennington
dfa88ed86d When using the vsnprintf() implementation, '\0'-terminate the resulting
1999-04-20  Havoc Pennington  <hp@pobox.com>

	* gutils.c (g_vsnprintf):  When using the vsnprintf()
		implementation, '\0'-terminate the resulting string
			and return its length rather than -1.
1999-04-20 19:07:12 +00:00
Owen Taylor
ca97a570cd Added missing #ifdef G_THREADS_ENABLED. (I never liked G_THREADS_ENABLED
Mon Apr 19 13:42:21 1999  Owen Taylor  <otaylor@redhat.com>

	* gmain.c (g_main_iterate): Added missing
	#ifdef G_THREADS_ENABLED. (I never liked G_THREADS_ENABLED in
	the first place)
1999-04-19 17:42:53 +00:00