419 Commits

Author SHA1 Message Date
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
Tim Janik
6fbe816b6b do not return NULL symbols.
Wed Mar  1 05:34:47 2000  Tim Janik  <timj@gtk.org>

        * gmodule-beos.c (_g_module_symbol): do not return NULL symbols.

        * gmodule-os2.c: removed NetBSD specific defines.
        (_g_module_self): set an error message for unsupported behaviour.

        * gmodule-beos.c: many coding style fixups.
        (_g_module_open):
        (_g_module_self):
        (_g_module_close):
        (_g_module_symbol): bunch of memory leaks plugged.

        * gmodule-dl.c: make sure the error message returned from dlerror()
        is always != NULL, by using a wrapper function fetch_dlerror(). based
        on a patch to fix _g_module_symbol() for NetBSD from Scott Presnell
        <srp@zgi.com>.

        * gmodule-dld.c: minor indentation.

        * gmodule-win32.c: minor cleanups.
2000-03-01 04:53:47 +00:00
Tim Janik
47e9e8475c updates 2000-02-19 18:59:19 +00:00
Tim Janik
60e25f269b added test to check that not yet bound symbols in shared libraries of the
Sat Feb 19 19:43:29 2000  Tim Janik  <timj@gtk.org>

        * testgmodule.c (main): added test to check that not yet bound symbols
        in shared libraries of the main module are retrievable, from David Gero.

        * gmodule-dld.c (_g_module_symbol): applied patch by David Gero
        <dgero@nortelnetworks.com>, so lookups for module_self also return
        library symbols on AIX.
2000-02-19 18:46:06 +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
GLIB_1_2_7
2000-02-16 13:02:54 +00:00
Tim Janik
ec9b73bcd4 typo 2000-02-15 12:43:33 +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
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
Elliot Lee
394aa7c551 Make 'dist-hook' targets, which copy the .spec file into $(distdir),
Make 'dist-hook' targets, which copy the .spec file into $(distdir), depend upon the
.spec file, so that the .spec file will be regenerated when a previously-compiled tree
is 'dist'd with a new version number.
1999-09-24 16:17:58 +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
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
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
Manish Singh
642f6b8d66 rambopoo commit
-Yosh
1999-08-23 19:20:17 +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
Elliot Lee
5c61c9d060 Allow defining a CUSTOM_RELEASE at RPM build time 1999-07-29 20:08:53 +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
Elliot Lee
2d434bf0f4 Add maintainers list 1999-06-15 17:20:45 +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
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
6266424c35 Use -module for test plugins too
-Yosh
1999-05-01 17:57:38 +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
248902fa93 Remove extraneous CRs in config.h.win32.in. (No ChangeLog entry
necessary, I presume.)
1999-05-01 08:03:16 +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