Commit Graph

387 Commits

Author SHA1 Message Date
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
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
Tim Janik
5ee8d2bdb8 removed inline variable assignment. s/CHECK_ERROR/SUPPORT_OR_RETURN/ to
Fri Apr 23 09:03:48 1999  Tim Janik  <timj@gtk.org>

        * gmodule.c (g_module_symbol): removed inline variable assignment.
        s/CHECK_ERROR/SUPPORT_OR_RETURN/ to make the code more self descriptive.
1999-04-24 09:45:51 +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
Stefan Jeske
e82ccff689 Fixed the lib*1.1.so* problem 1999-04-09 05:13:44 +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
Manish Singh
165f369072 Shut up CVS without typos
-Yosh
1999-03-28 01:06:58 +00:00
Manish Singh
f92d0ee1b2 Shut up CVS
-Yosh
1999-03-28 01:05:47 +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