Commit Graph

299 Commits

Author SHA1 Message Date
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
Havoc Pennington
f5722475f1 When using the vsnprintf() implementation, '\0'-terminate the resulting
1999-04-18  Havoc Pennington  <hp@pobox.com>

	* gutils.c (g_snprintf): When using the vsnprintf()
		implementation, '\0'-terminate the resulting string
			and return its length rather than -1.
1999-04-19 01:05:17 +00:00
Tim Janik
cd49c36373 feature G_TOKEN_EOF as a valid expected token as well, so we get "-
Fri Apr 16 06:52:07 1999  Tim Janik  <timj@gtk.org>

        * gscanner.c (g_scanner_unexp_token): feature G_TOKEN_EOF as a valid
        expected token as well, so we get "- expected end of file" instead of
        "- expected (unknown) token <0>".
1999-04-17 03:38:35 +00:00
CDT 1999 Shawn T. Amundson
3118e37ac8 Released GLib 1.2.2
Tue Apr 13 16:16:14 CDT 1999 Shawn T. Amundson <amundson@gtk.org>

        * Released GLib 1.2.2
1999-04-13 21:24:18 +00:00
Elliot Lee
8611980b6b g_strchug: s/strcpy/memmove/ 1999-04-12 15:22:36 +00:00
Sebastian Wilhelmi
822c785df0 Adjusted the test for an unimplemented getpwuid_r. Info from Michael
1999-04-12  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* configure.in: Adjusted the test for an unimplemented
	getpwuid_r. Info from Michael Pruett <mikep@ugcs.caltech.edu>.
1999-04-12 09:16:07 +00:00
Tim Janik
7f3b25b0d6 bumped versin number to GLib 1.2.2, interface 2, binary 2.
Sun Apr 11 15:07:34 1999  Tim Janik  <timj@gtk.org>

        * configure.in: bumped versin number to GLib 1.2.2, interface 2,
        binary 2.

        * NEWS: updates.

Sun Apr 11 14:37:06 1999  Tim Janik  <timj@gtk.org>

        * gstrfuncs.c (g_strcasecmp): always check for s1, s2 != NULL.
1999-04-11 14:59:33 +00:00
Tim Janik
1fa161fbb8 removed braces around inline strings for the G_GNUC_FUNCTION and
Sat Apr 10 19:30:50 1999  Tim Janik  <timj@gtk.org>

        * glib.h: removed braces around inline strings for the G_GNUC_FUNCTION
        and G_GNUC_PRETTY_FUNCTION macros, so the macros can be used for compile
        time string concatenation.
1999-04-10 18:55:08 +00:00
Owen Taylor
7c1f07d1ef Check for two threads calling g_main_iterate at once.
Thu Apr  8 19:53:19 1999  Owen Taylor  <otaylor@redhat.com>

	* gmain.c (g_main_iterate): Check for two threads
	calling g_main_iterate at once.

	* gmain.c: If the set of poll file descriptors changes
	during a call to poll(), abort that call, and start
	a new poll. My test program still segfaults
	obscurely on glibc 2.0 (in read()!!!), but now it works on
	glibc 2.1, so I'll blame something else for the other segfault.
1999-04-09 00:03:37 +00:00
Sebastian Wilhelmi
6a1327a2ef Fixed slight bug, that made configure hang on some systems. Please do not
1999-03-31  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* configure.in: Fixed slight bug, that made configure hang on some
	systems. Please do not merge this into 1.3 branch. It's taken care
	of differently there. Info from J. Rhett Aultman
	<cuplan@alley.gator.net>
1999-03-31 12:29:08 +00:00
CST 1999 Shawn T. Amundson
36f6b54fb2 Released GLib 1.2.1
Wed Mar 24 21:23:47 CST 1999 Shawn T. Amundson <amundson@gtk.org>

        * Released GLib 1.2.1

        * README:
          INSTALL:
          NEWS:
          sanity_check: updated

        * glibconfig.h.win32.in:
          Makefile.am:
          docs/glib-config.1.in:
          docs/Makefile.am: Added files used to generate new files.

        * glibconfig.h.win32:
          docs/glib-config.1: Removed, now generated.

        * configure.in: Added to output now-generated files.
1999-03-25 04:04:57 +00:00
Manish Singh
6b1e2b8fed Add user_data to check and prepare functions
-Yosh
1999-03-23 21:44:16 +00:00
Tim Janik
f24c9fb7ef add user_data to the GSource ->check and ->prepare functions, so it can be
Mon Mar 22 03:54:43 1999  Tim Janik  <timj@gtk.org>

        * glib.h:
        * gmain.c: add user_data to the GSource ->check and ->prepare functions,
        so it can be used to e.g. pass a GPollFd.
        (g_main_poll): only add poll records with an events mask != 0 to the
        fd_array. don't even bother calling poll_func() if fds=timeout=0.
        added debugging printouts around poll_func() invokation that can be
        enabled with #define G_MAIN_POLL_DEBUG.
1999-03-23 01:31:47 +00:00
Manish Singh
f41bb461d2 acinclude.m4 config.guess config.sub ltconfig upgrade to libtool 1.2f
* acinclude.m4
* config.guess
* config.sub
* ltconfig
* ltmain.sh: upgrade to libtool 1.2f

* autogen.sh: libtool is not required to autogen glib

* acconfig.h: remove WITH_SYMBOL_UNDERSCORE (not explictly needed)

-Yosh
1999-03-20 00:33:34 +00:00
Sebastian Wilhelmi
849005f98e Fixed another stupid fault of mine: Did s/g_static_/g_private_/g
1999-03-18  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* gmem.c: Fixed another stupid fault of mine: Did
	s/g_static_/g_private_/g
1999-03-18 14:06:43 +00:00
Tim Janik
9f18edbb99 configure.in bumped versin number to GLib 1.2.1, interface 1, binary 1.
Wed Mar 17 03:17:42 1999  Tim Janik  <timj@gtk.org>

        * configure.in bumped versin number to GLib 1.2.1, interface 1,
        binary 1.

        * NEWS: updates.

        * glib.h: added GLIB_CHECK_VERSION() macro similar to
        GTK_CHECK_VERSION().
1999-03-17 02:37:02 +00:00
Tim Janik
dbfd5be9a6 changed a bunch of g_assert() statements to g_return_if_fail().
Sun Mar 14 17:50:35 1999  Tim Janik  <timj@gtk.org>

        * gmem.c (g_mem_chunk_*): changed a bunch of g_assert() statements
        to g_return_if_fail().
        (g_mem_profile):
        (g_mem_chunk_print):
        (g_mem_chunk_info): removed some extraneous "\n"s at the end of the log
        messages.

        * gtimer.c (g_timer_*): changed a bunch of g_assert() statements
        to g_return_if_fail().
        * grel.c (g_*): changed a bunch of g_assert() statements to
        g_return_if_fail() and added some extra ones to check relation != NULL.
1999-03-14 20:03:51 +00:00
Sebastian Wilhelmi
1227e07bd8 Also accept _Pctime_r instead of ctime_r, while seraching for the right
1999-03-12  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

       * configure.in: Also accept _Pctime_r instead of ctime_r, while
       seraching for the right `_REENTRANT' flag. This is for Digital
       UNIX 4.0d. Thanks to Sascha Brawer <sb@adasys.ch>.
1999-03-12 15:15:54 +00:00
Tim Janik
911b6132ea check for working realloc (NULL,). use malloc() for initial allocation on
Tue Mar  9 23:25:50 1999  Tim Janik  <timj@gtk.org>

        * configure.in: check for working realloc (NULL,).
        * gmem.c (g_realloc): use malloc() for initial allocation on systems
        where realloc(NULL,) will not work (this is the case on SunOS, reported
        by Tom Geiger).
1999-03-09 22:31:33 +00:00
Tim Janik
6e6166ddd3 when !hook_list->is_setup, wrap the flag around the call to g_hook_free()
Mon Mar  8 07:42:08 1999  Tim Janik  <timj@gtk.org>

        * ghook.c (g_hook_unref): when !hook_list->is_setup, wrap the
        flag around the call to g_hook_free() to avoid spurious
        warnings (happens during destruction phase).
1999-03-08 21:11:13 +00:00
Sebastian Wilhelmi
45ce5e5c30 Moved G_THREADS_IMPL_POSIX from config.h.win32 to glibconfig.h.win32
1999-03-03  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* glibconfig.h.win32, config.h.win32: Moved G_THREADS_IMPL_POSIX
	from config.h.win32 to glibconfig.h.win32

	* acconfig.h, configure.in, config.h.win32: Added test for DCE
	versions of mutex_trylock and cond_timedwait. The win32 versions
	are posix, aren't they?

	* gthread/gthread-posix.c: Fixed broken mutex_trylock and
	slightly broken	cond_timed_wait functions.
1999-03-03 08:47:23 +00:00
Sebastian Wilhelmi
3d0bb121f2 Fixed a stupid cut'n'paste error of mine. Thanks to Friedrich Dominicus
1999-03-02  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* gmem.c: Fixed a stupid cut'n'paste error of mine. Thanks to
	Friedrich Dominicus <Friedrich.Dominicus@inka.de>
1999-03-02 08:17:36 +00:00
Sebastian Wilhelmi
378c2c66df Fixed yet another bloody implementation of getpwuid_r on AIX. Thanks to
1999-03-01  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

        * gutils.c (g_get_any_init): Fixed yet another bloody
        implementation of getpwuid_r on AIX. Thanks to Olaf Dietsche
        <olaf.dietsche+list.gtk@netcologne.de>. I would like a configure
        test better than that, but have no idea, how to do that easily.
1999-03-01 10:17:12 +00:00
Shawn Amundson
a66533dbfa Increment version to 1.2.0.
Increment version to 1.2.0.

-Shawn
amundson@gtk.org
1999-02-25 21:34:25 +00:00
CST 1999 Shawn T. Amundson
b9ef2b41db inserted additional note to look for ChangeLog and AUTHORS file for a log
Wed Feb 24 00:08:42 CST 1999 Shawn T. Amundson <amundson@gtk.org>

        * *.[ch]: inserted additional note to look for ChangeLog and
	  AUTHORS file for a log of modifications.
1999-02-24 06:14:27 +00:00
Michael Fulbright
a9a2206fc6 I've made the spec file autogenerated, and I tweaked it
Dr Mike <drmike@redhat.com>
1999-02-21 18:58:59 +00:00
Tim Janik
af15d082a8 plugged a memory leak, reported by Koen D'Hondt <ripley@xs4all.nl> on 15
Thu Feb 18 08:24:12 1999  Tim Janik  <timj@gtk.org>

        * gmem.c (g_realloc): plugged a memory leak, reported by Koen D'Hondt
        <ripley@xs4all.nl> on 15 Oct 1998. allocate inital block from realloc.
1999-02-18 08:13:19 +00:00
Elliot Lee
ba2def0aee glib.spec: Do --enable-debug=no for the .rpm's.
glib.spec: Do --enable-debug=no for the .rpm's.
1999-02-18 00:10:04 +00:00
Tor Lillqvist
1dfbfe9823 Must define HAVE_PTHREAD_GETSPECIFIC_POSIX. Pity I didn't notice this
until just after 1.1.16... sigh.
1999-02-17 17:48:17 +00:00
CST 1999 Shawn T. Amundson
95a5574cf4 version=1.1.16
Tue Feb 16 14:08:59 CST 1999 Shawn T. Amundson <amundson@gtk.org>

        * NEWS
          README
          INSTALL
          config.h.win32
          configure.in
          glib.spec
          glibconfig.h.win32
          docs/glib-config.1: version=1.1.16

        * Released GLib 1.1.16
1999-02-16 21:20:13 +00:00
Sebastian Wilhelmi
8168836cd2 Changed signature of all g_static_mutex_* functions to take a pointer
1999-02-15  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* glib.h, glibconfig.h.win32, configure.in: Changed signature of
	all g_static_mutex_* functions to take a pointer rather than the
	struct itself. This is not an issue at the moment, because those
	funcs are really macros, but is it un'G'ish and might fall on our
	feet in the future.

	* gthread/testgthread.c (test_mutexes): Use new signature of
	g_static_mutex* functions.
1999-02-15 08:26:00 +00:00