Commit Graph

735 Commits

Author SHA1 Message Date
Behdad Esfahbod
992a0c5ed5 Use libtool to determine shared library suffix. (#357245)
2006-12-26  Behdad Esfahbod  <behdad@gnome.org>

        * configure.in: Use libtool to determine shared library suffix.
        (#357245)
2006-12-26 20:18:58 +00:00
Matthias Clasen
493e7ca45f Fix the broken poll test. (#387260, Christian Persch)
2006-12-18  Matthias Clasen  <mclasen@redhat.com>

        * configure.in: Fix the broken poll test.  (#387260,
        Christian Persch)
2006-12-19 15:28:17 +00:00
Matthias Clasen
558383d62c Fix bug 161288:
2006-12-18  Matthias Clasen  <mclasen@redhat.com>

        Fix bug 161288:

        * configure.in: Check for wcslen.

        * glib/gnulib/vasnprintf.c: Handle wcslen missing.
2006-12-18 14:38:07 +00:00
Matthias Clasen
1787a7e164 Use AC_LANG_SOURCE for the clock test.
2006-12-17  Matthias Clasen  <mclasen@redhat.com>

        * configure.in: Use AC_LANG_SOURCE for the clock test.
2006-12-18 01:16:03 +00:00
Matthias Clasen
37df9c784d Make montonic clock test work again. Does AC_COMPILE_IFELSE not get
2006-12-17  Matthias Clasen  <mclasen@redhat.com>

        * configure.in: Make montonic clock test work again. Does
        AC_COMPILE_IFELSE not get confdefs ? Also, move the clock
        tests below the thread checks to fix #364663.
2006-12-17 18:39:10 +00:00
Matthias Clasen
d4dc24fc1b Use AC_COMPILE_IFELSE for the monotonic clock test. (#362918, Han-Wen
2006-12-16  Matthias Clasen  <mclasen@redhat.com>

        * configure.in: Use AC_COMPILE_IFELSE for the monotonic
        clock test.  (#362918, Han-Wen Nienhuys, Jeremy Lainé)
2006-12-16 22:11:23 +00:00
Matthias Clasen
0aa53c3a3d On Solaris, set CFLAGS and LDFLAGS that work both with Sun cc and gcc.
2006-12-15  Matthias Clasen  <mclasen@redhat.com>

        * configure.in: On Solaris, set CFLAGS and LDFLAGS that
        work both with Sun cc and gcc.  (#315061, Lazlo Peter)
2006-12-16 03:52:27 +00:00
Matthias Clasen
af475972c6 Fix #357585, Padraig O'Briain.
2006-12-15  Matthias Clasen  <mclasen@redhat.com>

	Fix #357585, Padraig O'Briain.

	* configure.in: Check for fdwalk.

	* glib/gspawn.c (do_exec): Use fdwalk() to close all
	file descriptors.

	* glib/gspawn.c (fdwalk): Fallback implementation of
	fdwalk.
2006-12-15 05:33:32 +00:00
Matthias Clasen
caecf2dda0 Add a check for broken poll on Mac OS X.
2006-12-12  Matthias Clasen  <mclasen@redhat.com>

        * configure.in: Add a check for broken poll on Mac OS X.

        * glib/gmain.c: Use poll emulation on OS X.  (#302672, Toby Peterson,
        patch by Dave Vasilevsky)
2006-12-12 20:04:45 +00:00
Matthias Clasen
088c08a2a5 Use nsleep to implement g_usleep on AIX. (#321974, Andrew Paprocki)
2006-10-01  Matthias Clasen  <mclasen@redhat.com>

	* glib/gtimer.c (g_usleep): Use nsleep to implement
	g_usleep on AIX.  (#321974, Andrew Paprocki)

	* configure.in: Check for nsleep
2006-10-01 05:53:49 +00:00
Matthias Clasen
47133ec63f Bump version 2006-09-10 05:45:45 +00:00
Abel Cheung
d6a4b61c33 Added 'dz' 'hy' to ALL_LINGUAS.
2006-09-01  Abel Cheung  <abel@oaka.org>

	* configure.in: Added 'dz' 'hy' to ALL_LINGUAS.
2006-09-01 11:28:14 +00:00
Matthias Clasen
514351b127 Improve clock_gettime check 2006-09-01 06:08:23 +00:00
Matthias Clasen
401b01f196 fix problems with the previous commit 2006-08-31 23:16:57 +00:00
Matthias Clasen
5d42c18262 Add missing includes to a few test programs. (#353580, Chris Wilson)
2006-08-31  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Add missing includes to a few test
	programs.  (#353580, Chris Wilson)
2006-08-31 18:29:12 +00:00
Matthias Clasen
77332513b9 fix pthread compiler flag detection 2006-08-28 03:54:28 +00:00
Matthias Clasen
8f05c1da81 Fix the pthread compiler flag detection.
2006-08-25  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Fix the pthread compiler flag detection.

	* glib/gunicode.h:
	* glib/gutf8.c (_g_utf8_make_valid): Rename make_valid_utf8
	from gconvert.c, move it to gutf8.c, and export it privately.

	* glib/gconvert.c (g_filename_display_name): Adjust callers.

	* glib/gkeyfile.c: Use _g_utf8_make_valid() in a number of
	places to ensure error messages are valid UTF-8.  (#351853,
	Simon Budig)
2006-08-26 03:44:45 +00:00
Matthias Clasen
18be028241 bump version 2006-08-16 00:48:18 +00:00
Matthias Clasen
cc2aaddeb2 Bump version 2006-07-22 18:28:17 +00:00
Runa Bhattacharjee
5d06ae5019 Added Bengali India (bn_IN) to ALL_LINGUAS 2006-07-03 08:26:55 +00:00
Matthias Clasen
283a7e6013 Bump version 2006-07-02 20:17:00 +00:00
Matthias Clasen
900a819f45 Set version to 2.12 2006-07-02 18:35:53 +00:00
Matthias Clasen
de6a4865a0 Bump version 2006-06-20 15:10:41 +00:00
Matthias Clasen
e39b793341 Bump version 2006-06-12 15:40:07 +00:00
Matthias Clasen
c514cf2135 Bump version 2006-06-05 17:35:54 +00:00
Matthias Clasen
0c26468057 2.11.2 2006-06-05 17:34:53 +00:00
Matthias Clasen
6d1461b478 Don't compile timeloop on Minix 2006-05-24 12:58:26 +00:00
Matthias Clasen
503db3a1fa bump version 2006-05-15 17:40:38 +00:00
Matthias Clasen
ba7dd25959 2.11.1 2006-05-15 17:16:28 +00:00
Matthias Clasen
a71284ce30 Bump version 2006-05-03 02:12:01 +00:00
Kjartan Maraas
31db06fc99 Remove obsolete entry for no_NO. And the translation.
2006-04-17  Kjartan Maraas  <kmaraas@gnome.org>

	* configure.in: Remove obsolete entry for no_NO.
	* po/no.po: And the translation.
2006-04-17 12:10:01 +00:00
Dom Lachowicz
8dece49a5f bump version number to 2.11.0 2006-03-27 17:06:50 +00:00
Emmanuele Bassi
6db9ec4070 Check for timegm.
2006-03-23  Emmanuele Bassi  <ebassi@cvs.gnome.org>

	* configure.in: Check for timegm.

	* glib/gtimer.h:
	* glib/gtimer.c:
	* glib/glib.symbols:
	* docs/reference/glib/glib-sections.txt: Added g_time_val_to_iso8601
	and g_time_val_from_iso8601, to convert a GTimeVal to and from an
	ISO 8601 encoded date.

	* tests/testglib.c: Added test cases for g_time_val_to_iso8601()
	and g_time_val_from_iso8601() functions.
2006-03-23 02:54:29 +00:00
Vladimer Sichinava
b78ec7a1b5 Updated Georgian translation 2006-03-20 23:21:19 +00:00
Anders Carlsson
8a51746479 Revert fix for #322476, it breaks module loading since libtool on darwin
2006-03-13  Anders Carlsson  <andersca@luminoth.local>

        * configure.in: Revert fix for #322476, it breaks module loading
        since libtool on darwin makes shared modules use .so and shared
        libraries use .dylib. The fix breaks shared module loading everywhere
        in GTK+.
2006-03-13 08:40:54 +00:00
Matthias Clasen
2430f1f039 Bump version 2006-03-07 19:18:16 +00:00
Anders Carlsson
4e41e5c2fb Make .dylib the shared library suffix on darwin. (#322476, Vladimir Panov)
2006-03-06  Anders Carlsson  <andersca@imendio.com>

        * configure.in:
        Make .dylib the shared library suffix on darwin.
        (#322476, Vladimir Panov)
2006-03-06 08:06:22 +00:00
Anders Carlsson
c57fc7b6fd Skip checking thread flags on Darwin. Fix suggested by Manish Singh.
2006-03-06  Anders Carlsson  <andersca@imendio.com>

        * configure.in:
        Skip checking thread flags on Darwin. Fix suggested by Manish Singh.
        (#314794, Gregor Riepl)
2006-03-06 07:53:24 +00:00
Matthias Clasen
eab0e631cb Bump version 2006-02-24 18:03:36 +00:00
Matthias Clasen
da3fc6eed8 Preparations for 2.10 2006-02-24 14:25:06 +00:00
Tim Janik
8a8f185feb only define _XOPEN_SOURCE to 600 to get at posix_memalign() in case we
Tue Feb 14 17:00:43 2006  Tim Janik  <timj@imendio.com>

        * glib/gslice.c: only define _XOPEN_SOURCE to 600 to get at
        posix_memalign() in case we actually are going to use it, because
        we detected a compliant implementation (#328997).

        * configure.in (enable_included_printf): don't include malloc.h when
        testing for posix_memalign() funcitonality, since this may break the
        test on some systems (#328997).
2006-02-14 16:31:37 +00:00
Matthias Clasen
af818b6bc8 Bump version 2006-02-11 14:17:05 +00:00
Tim Janik
7162fbbbfd generate build/win32/vs8/Makefile, to fix build breakage.
Tue Jan 31 12:33:48 2006  Tim Janik  <timj@imendio.com>

        * configure.in: generate build/win32/vs8/Makefile, to fix build breakage.
2006-01-31 11:39:03 +00:00
Matthias Clasen
42c462606f Bump version 2006-01-27 14:37:54 +00:00
Tim Janik
bd88bf87da fixed buglets reported by Jens Granseuer in #328254.
Wed Jan 25 19:16:57 2006  Tim Janik  <timj@imendio.com>

        * fixed buglets reported by Jens Granseuer in #328254.

        * configure.in: free the memory allocated in posix_memalign() tests.

        * glib/gslice.c: spelling fixes.
2006-01-25 18:20:28 +00:00
Tim Janik
eda944bca5 honour g_mem_gc_friendly settings when freeing slices, make sure
Wed Jan 25 16:39:18 2006  Tim Janik  <timj@imendio.com>

        * glib/gslice.c: honour g_mem_gc_friendly settings when freeing
        slices, make sure g_mem_gc_friendly is properly initialized.

        * gmem.[hc]: ensure g_mem_gc_friendly is initialized from G_DEBUG upon
        the first allocation. applied some branching optimizations.

        * docs/macros.txt: reflected --enable-gc-friendly change and
        described ENABLE_GC_FRIENDLY_DEFAULT as well as G_DEBUG=gc-friendly.

        * configure.in: changed --enable-gc-friendly=yes to define
        ENABLE_GC_FRIENDLY_DEFAULT.

        * glib/garray.c: changed ENABLE_GC_FRIENDLY macro #ifdef-s to
        if (G_UNLIKELY (g_mem_gc_friendly)).

        * glib/gtree.c:
        * glib/ghash.c: removed ENABLE_GC_FRIENDLY code which is now taken
        care of by g_slice_free1().

        * tests/slice-test.c: fixed leaks, reported by Kjartan Maraas.
2006-01-25 15:51:43 +00:00
Tim Janik
7b744cf4d2 only use posix_memalign() if it's known to work, revert to memalign()
Tue Jan 24 17:49:36 2006  Tim Janik  <timj@imendio.com>

        * glib/gslice.c: only use posix_memalign() if it's known to work,
        revert to memalign() otherwise.

        * configure.in: check for broken posix_memalign() implementations
        to fix #328254.
2006-01-24 16:56:17 +00:00
Matthias Clasen
fc2c35293d Change the shared libary extension for hpux-ia64 to so. (#328253, The
2006-01-23  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Change the shared libary extension for hpux-ia64
	to so.  (#328253, The Written Word)
2006-01-24 05:04:57 +00:00
Matthias Clasen
c2d358fbbb Bump version 2006-01-18 17:35:27 +00:00
Matthias Clasen
47d0894a11 Bump version 2006-01-17 00:04:52 +00:00
Matthias Clasen
3439650dd1 Bump version 2006-01-06 05:09:30 +00:00
Matthias Clasen
e16ec3b973 Fix another strict aliasing problem.
2006-01-05  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Fix another strict aliasing problem.
2006-01-05 14:30:04 +00:00
Abel Cheung
9c9e953440 Added "ml" "zh_HK" to ALL_LINGUAS.
2006-01-04  Abel Cheung  <maddog@linuxhall.org>

	* configure.in: Added "ml" "zh_HK" to ALL_LINGUAS.
2006-01-04 02:27:22 +00:00
Matthias Clasen
1e4efb6554 Fix #316221, Michal Benes, Stanislav Brabec;
2005-12-27  Matthias Clasen  <mclasen@redhat.com>

        Fix #316221, Michal Benes, Stanislav Brabec;

        * configure.in: Fix a strict aliasing problem in
        g_static_mutex_get_mutex().
        * glib/gthread.h: ...and in
        g_static_mutex_get_mutex_impl_shortcut().
2005-12-27 19:50:02 +00:00
Matthias Clasen
d947ad7167 Partial fix for bug #32937, Bogdan Nicula.
2005-12-27  Matthias Clasen  <mclasen@redhat.com>

        Partial fix for bug #32937, Bogdan Nicula.

        * configure.in: Check for malloc.h
        * glib/gslice.c: Don't include malloc.h unconditionally.
2005-12-27 19:15:12 +00:00
Matthias Clasen
0d19d25fe4 Bump version 2005-12-09 20:00:06 +00:00
Matthias Clasen
886e00c760 Revert an accidental commit 2005-12-05 21:09:20 +00:00
Matthias Clasen
f42f6da6d5 Remove support for Solaris threads. (#136971, Sebastian Wilhelmi, patch by
2005-12-02  Matthias Clasen  <mclasen@redhat.com>

	* glib/gspawn.c:
	* configure.in: Remove support for Solaris threads.
	(#136971, Sebastian Wilhelmi, patch by Andrew Paprocki)
2005-12-02 21:37:25 +00:00
Matthias Clasen
7ddcde62c0 Define G_GUINT64_CONSTANT in analogy to G_GINT64_CONSTANT. (#322568,
2005-12-02  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Define G_GUINT64_CONSTANT in analogy to
	G_GINT64_CONSTANT.  (#322568, Andrew Paprocki)
2005-12-02 21:25:45 +00:00
Tim Janik
733b1789c1 new slice allocator implementation.
Thu Dec  1 17:32:46 2005  Tim Janik  <timj@imendio.com>

        * glib/gslice.[hc]: new slice allocator implementation.

        * tests/slice-test.c: added random slice allocation test.

        * glib/gthread.[hc]: removed newly added private thread mem API.

        * glib/gthreadinit.h:
        * glib/gmessages.c:
        * glib/gthread.c:
        * glib/gmem.c: divided glib threading initialisation into three phases,
        initialisation where private keys and messaging are not available (only
        needed by gmem.c), initialisation without messaging but private keys
        available (gslice.c, gmessage.c), and full fledged initialisers that
        server the rest of glib. initialisation functions got renamed to reflect
        the limitations of their corresponding phases.

        * glib/gmem.c: removed memchunk code, defer allocations to
        g_slice_* instead.

        * glib/gmem.[hc]: removed g_slice_* skeletons.

        * glib/glib.symbols: added g_slice_* symbols.

        * configure.in: check for availability of posix_memalign(3), memalign(3)
        and valloc(3).

        * glib/Makefile.am: added gslice.[hc].
2005-12-01 16:34:33 +00:00
Matthias Clasen
6796398522 Fix G_STMT_START / G_STMT_END on Solaris. (#321972, Andrew Paprocki)
2005-11-28  Matthias Clasen  <mclasen@redhat.com>

        Fix G_STMT_START / G_STMT_END on Solaris.  (#321972,
        Andrew Paprocki)

        * configure.in: Check whether do { } while (0) works.

        * glib/gmacros.h: Use do { } while (0) for G_STMT_START /
        G_STMT_END if it works.
2005-11-30 04:54:57 +00:00
Matthias Clasen
ee90a04fcb Bump version 2005-11-18 14:01:59 +00:00
Simos Xenitellis
5fd0cf735c Added Tatar translation by Albert Fazlí 2005-11-10 00:29:41 +00:00
Erdal Ronahi
ff1b39b754 Added Kurdish translation 2005-10-27 18:36:09 +00:00
Manish Singh
03e630f025 Use AC_CHECK_FUNCS for _NSGetEnviron, to get the config.h symbol
2005-10-19  Manish Singh  <yosh@gimp.org>

        * configure.in: Use AC_CHECK_FUNCS for _NSGetEnviron, to get the
        config.h symbol automatically. Fixes bug #313731.
2005-10-19 18:37:48 +00:00
Matthias Clasen
6c1eca79c8 Bump version 2005-08-26 19:27:01 +00:00
Matthias Clasen
be07400b2d Bump version 2005-08-23 04:57:18 +00:00
Tor Lillqvist
3c449f00cc Check for <sys/wait.h>
2005-08-18  Tor Lillqvist  <tml@novell.com>

	* configure.in: Check for <sys/wait.h>

	* glib/gbacktrace.c: Include <sys/wait.h> on if HAVE_SYS_WAIT_H.
2005-08-18 13:08:18 +00:00
Matthias Clasen
a1ab92582c Check for crt_externs.h and _NSGetEnviron.
2005-08-17  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Check for crt_externs.h and _NSGetEnviron.

	* glib/gutils.c: On Darwin, include crt-externs.h and
	define environ using _NSGetEnviron().  (#313731)
2005-08-17 18:31:08 +00:00
Matthias Clasen
ea7ebd6e8e Bump version 2005-08-12 17:45:16 +00:00
Matthias Clasen
19fb1c599e Bump version to 2.8.0 2005-08-12 12:56:57 +00:00
Matthias Clasen
717f3d4abb Enable the endianness test.
2005-08-08  Matthias Clasen  <mclasen@redhat.com>

	* tests/convert-test.c: Enable the endianness test.

	* glib/gconvert.c: Make the caching of iconv descriptors
	optional.

	* configure.in: Add an --enable-iconv-cache option, and
	default to disabling iconv caching on new enough glibc.
	Somebody with access to Solaris systems will need to test
	if opening/closing of iconv descriptors is enough of
	a performance problem to warrant the caching on that
	platform. Note that the caching is causing correctness
	problems in some corner cases, thus turning it off
	is desirable unless it has severe performance implications.
2005-08-08 19:50:38 +00:00
Sunil Mohan Adapa
ee7932f307 Added Telugu translation done by Vikram Phaneendra <vikramphaneendra@yahoo.co.in>, Dandu Prasad <dandu_prasad2000@yahoo.com> and Ramana Sai <rmn_sai@yahoo.co.in> 2005-08-08 09:54:32 +00:00
Matthias Clasen
0273f0e337 Bump version 2005-08-05 16:10:41 +00:00
Matthias Clasen
a22afd365e Bump version 2005-08-03 21:03:17 +00:00
Matthias Clasen
4f016b4824 Add native atomic operations for s390.
2005-08-03  Matthias Clasen  <mclasen@redhat.com>

        * glib/gatomic.c: Add native atomic operations
        for s390.

        * configure.in: ... and use them on s390.
2005-08-03 20:18:15 +00:00
Matthias Clasen
988eaa83c0 Bump version 2005-08-02 16:22:17 +00:00
Matthias Clasen
ab033c6d1b Try -mt as compiler flag for threads, needed for the HP C compiler on
2005-07-26  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Try -mt as compiler flag for threads, needed
	for the HP C compiler on HP-UX.  (#163051, Paul Cornett)
2005-07-26 19:37:34 +00:00
Matthias Clasen
8fca0ec9cf Bump version 2005-07-22 17:21:52 +00:00
Matthias Clasen
0719f3b463 Bump version 2005-07-15 17:41:28 +00:00
Matthias Clasen
39ea11ce6b Make refcounting threadsafe by using atomic operations. (#166020, Wim
2005-07-15  Matthias Clasen  <mclasen@redhat.com>

	Make refcounting threadsafe by using atomic
	operations.  (#166020, Wim Taymans)

	* gobject.c: Use a recursive lock to protect the
	notify queue.
	(g_object_unref): Get rid of g_object_last_unref and
	do the last unref handling in g_object_unref.
	(g_object_ref, g_object_unref): Use atomic operations.

	* gsignal.c (struct _HandlerMatch): Use a full integer
	for the ref_count field.
	(handler_ref, handler_unref_R): Use atomic operations.

	* gparam.c (g_param_spec_ref, g_param_spec_unref):
	Use atomic operations instead of a lock to make the
	refcounting threadsafe.

	* gclosure.c (g_closure_ref, g_closure_unref): Use atomic
	operations. This is more complicated here, since the
	refcount is stored in a bitfield, so we also have
	to access all other bitfield members atomically.

	* gsignal.c (handlers_find): Read the meta_marshal flag
	of the closure atomically.

	* tests/Makefile.am (SUBDIRS): Add tests/refcount

	* configure.in: Add tests/refcount

	* tests/refcount/properties.c: Test property changes
	from multiple threads.

	* tests/refcount/signals.c: Test signal emission from
	multiple threads.

	* tests/refcount/objects.c: Test refcounting from
	multiple threads.

	* tests/refcount/objects2.c:
	* tests/refcount/properties2.c: Tests to measure the
	overhead of threadsafe refcounting.

	* glib/giochannel.c (g_io_channel_ref, g_io_channel_unref):
	Use atomic operations to make refcounting
	threadsafe.  (#166020, Wim Taymans)
2005-07-15 16:51:10 +00:00
Tor Lillqvist
d22f051252 Don't use autoconf variables for the resource object files on Win32 any
2005-07-09  Tor Lillqvist  <tml@novell.com>

	* configure.in: Don't use autoconf variables for the resource
	object files on Win32 any longer. Instead handle that in the
	Makefile.am files. Check for windres.

	* glibconfig.h.win32.in: Minor tuning to match the
	configure-produced glibconfig.h closely.

	* */Makefile.am: Don't use the scripts in build/win32 to
	compile the .rc file into a resource object file. (This means
	we loose the build number increment magic, but I doubt it was
	that useful anyway.) Instead use windres directly. To pass the
	normal .o file produced by windres through libtool, which
	wants .lo files, pass it directly to the linker using a -Wl
	option.

	* */*.rc.in: Thus replace BUILDNUMBER with 0.
2005-07-08 23:04:06 +00:00
Matthias Clasen
352742b86a Bump version 2005-07-08 19:25:07 +00:00
Matthias Clasen
f8fa5693ad Forgot one case 2005-07-08 03:30:24 +00:00
Matthias Clasen
08dabde55f Improve the AIX size_t size detection test 2005-07-08 03:28:26 +00:00
Matthias Clasen
fc28f0832f Make the size_t size detection work on AIX. (#309725)
2005-07-07  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Make the size_t size detection work on AIX.
	(#309725)
2005-07-07 20:37:54 +00:00
Matthias Clasen
3a17f81e3b Require a newer gtk-doc 2005-07-06 04:10:15 +00:00
Matthias Clasen
d400e5fc4b Bump version 2005-07-01 04:11:48 +00:00
Matthias Clasen
399b0456ce 2.7.1 2005-06-30 21:01:58 +00:00
Matthias Clasen
b78a0792a4 Apply a patch which may make GLib work on BeOS again. (#309157, Kian
2005-06-30  Matthias Clasen  <mclasen@redhat.com>

	Apply a patch which may make GLib work on BeOS again.
	(#309157, Kian Duffy)

	* glib/gmain.c: Update the BeOS includes.

	* glib/gstdio.c:
	* glib/gutils.c (g_find_program_in_path):
	* glib/gbacktrace.c (g_on_error_stack_trace): Use the UNIX
	implementation on BeOS, as well.

	* configure.in: Don't put glib 1.0 into G_MODULE_LIBS, even
	on BeOS.
2005-06-30 19:43:48 +00:00
Matthias Clasen
748c230205 Add an mmap() wrapper called GMappedFile. (#148218, David Schleef, Behdad
2005-06-24  Matthias Clasen  <mclasen@redhat.com>

	Add an mmap() wrapper called GMappedFile. (#148218,
	David Schleef, Behdad Esfahbod)

	* glib/gmappedfile.[hc]: New files.

	* configure.in: Check for mmap.

	* glib/Makefile.am: Add new files.

	* glib/glib.symbols: Add new functions.

	* glib/glib.h: Include gmappedfile.h

	* tests/mapping-test.c: Tests for GMappedFile.

	* tests/Makefile.am: Add new file.
2005-06-25 03:38:32 +00:00
Theppitak Karoonboonyanan
ef3ae3af4f Added 'th' (Thai) to ALL_LINGUAS. Added Thai translation.
2005-06-14  Theppitak Karoonboonyanan  <thep@linux.thai.net>

	* configure.in: Added 'th' (Thai) to ALL_LINGUAS.
	* po/th.po: Added Thai translation.
2005-06-14 09:30:08 +00:00
Matthias Clasen
74a1197296 Post-release version bump 2005-06-10 16:06:40 +00:00
Brian Cameron
e9cc05b828 Added gmodule-no-export-2.0-uninstalled.pc.in to allow building of other
2005-05-06  Brian Cameron  <brian.cameron@sun.com>

        * configure.in, gmodule-no-export-2.0-uninstalled.pc.in,
          Makefile.am:  Added gmodule-no-export-2.0-uninstalled.pc.in
          to allow building of other libraries like pango when
          glib is uninstalled.
2005-05-06 21:54:52 +00:00
Gabor Kelemen
810e3f1605 Added hu to ALL_LINGUAS.
2005-04-27  Gabor Kelemen  <kelemeng@gnome.hu>

	* configure.in: Added hu to ALL_LINGUAS.
2005-04-27 00:24:10 +00:00
Steven Michael Murphy
b838e1c303 Added new Language, Kinyarwanda (rw), to this package 2005-03-31 06:22:19 +00:00
Tor Lillqvist
acd35e1044 Apparently AC_LIBTOOL_WIN32_DLL isn't deprecated after all, and in fact
2005-03-27  Tor Lillqvist  <tml@novell.com>

	* configure.in: Apparently AC_LIBTOOL_WIN32_DLL isn't deprecated
	after all, and in fact necessary with HEAD libtool.
2005-03-27 19:14:14 +00:00
Matthias Clasen
3e725d3e02 Bump version 2005-03-09 19:38:42 +00:00
Matthias Clasen
fecea1491e Don't forget to set G_THREAD_LIBS_FOR_GTHREAD on non-linux platforms.
2005-02-23  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Don't forget to set G_THREAD_LIBS_FOR_GTHREAD
	on non-linux platforms.  (#168177, Michael Banck)
2005-02-24 04:24:16 +00:00
Adi Attar
2d82003e98 Added Xhosa translation Added "xh" to ALL_LINGUAS.
2005-02-16  Adi Attar  <aattar@cvs.gnome.org>

	* xh.po: Added Xhosa translation
	* configure.in: Added "xh" to ALL_LINGUAS.
2005-02-16 16:42:20 +00:00
Tor Lillqvist
02ef59aeb7 configure.in (G_LIBS_EXTRA) I think we can include <winsock2.h> and link
2005-02-05  Tor Lillqvist  <tml@novell.com>

	* configure.in (G_LIBS_EXTRA)
	* glib/giowin32.c: I think we can include <winsock2.h> and link
	with -lws2_32. Only Windows 95 originally didn't have Winsock 2,
	and it's available as an update for it. Not that we use any actual
	Winsock 2 -only features, but still, simpler to link directly with
	ws2_32.dll instead of going through wsock32.dll.
2005-02-05 22:39:40 +00:00
Matthias Clasen
f92617db07 Remove the --enable-ansi option (#160469)
2005-02-04  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Remove the --enable-ansi option  (#160469)
2005-02-05 03:38:06 +00:00
Matthias Clasen
1adf109e5d Define a HAVE_GNUC_VISIBILITY automake conditional.
2005-02-04  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Define a HAVE_GNUC_VISIBILITY automake
	conditional.

	* glib/Makefile.am (TESTS): Only check the abi if
	the compiler supports visibility, otherwise we
	know there will be (harmless) extra symbols.
	(#166181, Ed Avis)
2005-02-05 03:02:20 +00:00
Matthias Clasen
5a866843df Move doc comments inline.
2005-02-02  Matthias Clasen  <mclasen@redhat.com>

	* glib/gutils.c: Move doc comments inline.

	* glib/ghash.h: Adjust some argument names.

	* configure.in: Give meaningful names to g_memmove()
	arguments.
2005-02-02 06:07:14 +00:00
Christian Rose
638ff5498d Added "tl" to ALL_LINGUAS. Added Tagalog translation by Eric Pareja
2005-01-28  Christian Rose  <menthos@menthos.com>

	* configure.in: Added "tl" to ALL_LINGUAS.
	* po/tl.po: Added Tagalog translation by
	Eric Pareja <xenos@upm.edu.ph>.
2005-01-28 18:43:34 +00:00
Tor Lillqvist
68bf100001 sh portability fix. Use "test" and not [. (#163144, Robert Ögren)
2005-01-15  Tor Lillqvist  <tml@iki.fi>

	* configure.in: sh portability fix. Use "test" and not [.
	(#163144, Robert Ögren)
2005-01-15 22:40:16 +00:00
Owen Taylor
de67d93121 Add gmodule-export-2.0.pc to AC_CONFIG_FILES.
2005-01-11  Owen Taylor <otaylor@redhat.com>

        * configure.in: Add gmodule-export-2.0.pc to AC_CONFIG_FILES.

        * glib/Makefile.am gobject/Makefile.am gthread/Makefile.am:
        Use grep | head -n 1 instead of grep -m 1 which doesn't work
        with slightly older versions of GNU grep in
        install-libtool-import-lib rule.
2005-01-11 20:39:00 +00:00
Matthias Clasen
1fd8041920 Bump version
2005-01-07  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Bump version
2005-01-07 17:39:54 +00:00
Tor Lillqvist
bd77b4b4a9 configure.in glib/Makefile.am Win32 cross-compilation fixes. (#163144, J.
2005-01-06  Tor Lillqvist  <tml@iki.fi>

	* configure.in
	* glib/Makefile.am
	* gobject/Makefile.am: Win32 cross-compilation fixes. (#163144,
	J. Ali Harlow)
2005-01-06 19:15:49 +00:00
Matthias Clasen
44fea2aa61 Fix the inlining magic. (#157536, Jens Hatlak, and #149907, Morten
2005-01-04  Matthias Clasen  <mclasen@redhat.com>

	Fix the inlining magic.  (#157536, Jens Hatlak, and
	#149907, Morten Welinder)

	* configure.in: Define G_CAN_INLINE in glibconfig.h

	* glib/gutils.h: Streamline the inlining magic a bit,
	don't use extern when implementing the non-inlined
	version.
2005-01-04 05:31:44 +00:00
J. Ali Harlow
572e8b2756 Don't use AC_TRY_RUN to test for long long format when using the
2005-01-01  J. Ali Harlow  <ali@juiblex.co.uk>

	* configure.in: Don't use AC_TRY_RUN to test for long long format
	when using the MSVCRT.DLL runtime since we know the answer anyway
	and it causes some mild inconvience when cross compiling.

	* README.win32: Add a reference to the cross compiling section
	of the reference manual.

	* docs/reference/glib/cross.sgml: MinGW uses MSVCRT.DLL which
	requires %I64i instead of %lli. (#161306)
2005-01-03 00:20:47 +00:00
Matthias Clasen
b1f6eaf987 Add an OS_LINUX conditional.
2004-12-27  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Add an OS_LINUX conditional.

	* glib/Makefile.am (TESTS): Only check the ABI on
	linux, since the shell script is not portable, and libtool
	deficiencies may distort the ABI on other platforms.  (#161741)
2004-12-27 06:55:08 +00:00
Matthias Clasen
1af564b175 Bump version 2004-12-16 06:14:53 +00:00
Matthias Clasen
0a8f9521e9 Set version to 2.6.0
2004-12-14  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Set version to 2.6.0
2004-12-14 13:38:14 +00:00
Matthias Clasen
5512fb6ef5 Remove a no longer needed hack for libtool < 1.5.2. (#100697, Owen Taylor,
2004-12-06  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Remove a no longer needed hack for
	libtool < 1.5.2.  (#100697, Owen Taylor, Sebastian Wilhelmi)
2004-12-06 06:20:19 +00:00
Matthias Clasen
5d753b3829 Bump version.
2004-12-02  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Bump version.
2004-12-02 21:32:58 +00:00
Kjartan Maraas
c2404e6cc9 Add «nb» to ALL_LINGUAS.
2004-11-25  Kjartan Maraas  <kmaraas@gnome.org>

	* configure.in: Add «nb» to ALL_LINGUAS.
2004-11-25 21:02:49 +00:00
Matthias Clasen
846e5140c3 Add gmodule-no-export-2.0.pc.in
2004-11-16  Matthias Clasen  <mclasen@redhat.com>

	* Makefile.am (EXTRA_DIST):
	* configure.in (AC_CONFIG_FILES): Add gmodule-no-export-2.0.pc.in

	* gmodule-no-export-2.0.pc.in: Add a variants of gmodule-2.0.pc.in
	which doesn't add -Wl,--export-dynamic, since Pango or GTK+ don't
	need it.  (#125627, Owen Taylor)
2004-11-17 03:33:05 +00:00
Matthias Clasen
2691609ffc Bump version.
2004-11-12  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Bump version.
2004-11-12 18:16:10 +00:00
Matthias Clasen
7f1bfaee74 *** empty log message *** 2004-11-02 23:06:58 +00:00
Matthias Clasen
24c2d623b5 Bump version 2004-10-27 18:31:10 +00:00
Gora Mohanty
18de636289 configure.in: Added 'or' to ALL_LINGUAS.
po/or.po: Updated Oriya translation.
2004-10-26 16:32:46 +00:00
Matthias Clasen
975bda37be Bump version 2004-09-18 21:25:10 +00:00
Matthias Clasen
dafdffd751 Implement the same PLT reduction technique used in GTK+:
Thu Sep 16 02:03:15 2004  Matthias Clasen  <maclas@gmx.de>

	Implement the same PLT reduction technique used in GTK+:
2004-09-16 06:05:53 +00:00
Matthias Clasen
0d0f7c9c98 Version bump. 2004-08-25 05:26:59 +00:00
Tor Lillqvist
a56aee27f6 Win32 equivalences of the XDG folders
2004-08-25  Tor Lillqvist  <tml@iki.fi>

	Win32 equivalences of the XDG folders

	* glib/gutils.c (get_special_folder): New function, calls
	SHGetSpecialFolderLocation() to get path to places like the My
	Documents folder.
	(g_get_any_init): Use CSIDL_PROFILE as HOME if not
	overridden by env vars.
	(g_get_user_data_dir): Use CSIDL_PERSONAL.
	(g_get_user_config_dir): Use CSIDL_APPDATA.
	(g_get_user_cache_dir): Use CSIDL_INTERNET_CACHE. Debatable...
	(g_get_system_data_dirs): Use CSIDL_COMMON_APPDATA and
	CSIDL_COMMON_DOCUMENTS.
	(g_get_system_config_dirs): Use CSIDL_COMMON_APPDATA.

	* configure.in: Add -lole32 to G_LIBS_EXTRA for mingw.

	* glib/glib.def: Add the new functions.
2004-08-25 00:39:13 +00:00
Matthias Clasen
a272e118cc Check for all four values of the visibility attribute; gcc 2.96 seems to
2004-08-17  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Check for all four values of the
	visibility attribute; gcc 2.96 seems to miss
	"default".  (#150379, Vincent Noel)
2004-08-17 20:28:24 +00:00
Christian Rose
7a6abe42e4 Added "bs" to ALL_LINGUAS. Added Bosnian translation by Kenan Hadžiavdić
2004-08-16  Christian Rose  <menthos@menthos.com>

	* configure.in: Added "bs" to ALL_LINGUAS.
	* po/bs.po: Added Bosnian translation by
	Kenan Hadžiavdić <kenanh@frisurf.no>.
2004-08-16 17:00:37 +00:00
Matthias Clasen
3156c8e9cf Remove G_GNUC_INTERNAL from here. Check whether the visibility attribute
2004-08-10  Matthias Clasen  <mclasen@redhat.com>

	* glib/gmacros.h: Remove G_GNUC_INTERNAL from here.
	* configure.in: Check whether the visibility attribute
	works and define G_HAVE_GNUC_VISIBILITY and
	G_GNUC_INTERNAL in glibconfig.h correspondingly.
2004-08-10 18:52:30 +00:00
Matthias Clasen
cfdc6c0829 *** empty log message *** 2004-08-01 04:35:24 +00:00
Soeren Sandmann
5cc247f328 Bump version number
Tue Jul 20 04:31:40 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

	* configure.in: Bump version number
2004-07-20 02:34:30 +00:00
Matthias Clasen
5994d59be1 Use a small test library instead of libpthread.so for testing RTLD_GLOBAL
Sun Jul  4 01:52:18 2004  Matthias Clasen  <maclas@gmx.de>

	* configure.in: Use a small test library instead of
	libpthread.so for testing RTLD_GLOBAL brokenness.  (#139567,
	Julio M. Merino Vidal)
2004-07-04 05:59:37 +00:00
Pawan Chitrakar
9c7ae62fd7 Added "ne.po" Nepali translation
Sun Jun  6 15:23:00 2004  Pawan Chitrakar  <pawan@nplinux.org>

	* ne.po: Added "ne.po" Nepali translation

	* configure.in: Added "ne"(Nepali) in ALL_LINGUAS
2004-06-06 09:45:34 +00:00
Matthias Clasen
b745e58abc Bump version number to 2.5.0.
2004-05-06  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Bump version number to 2.5.0.
2004-05-06 13:26:26 +00:00
Pablo Saratxaga
0cd3252daf Added Walloon file 2004-05-03 12:36:16 +00:00
Matthias Clasen
0ce7180eec === Released 2.4.1 ===
2004-04-30  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.4.1 ===

	* glib/libcharset/Makefile.am (INCLUDES): Add -I$(top_srcdir)
	to make make distcheck happy.

	* configure.in: Version 2.4.1, interface age 1.

	* NEWS: Updates
2004-04-30 14:45:14 +00:00
Guntupalli Karunakar
07f1cd7dba added gujarati translations 2004-04-08 15:28:47 +00:00
Tor Lillqvist
ffe52d70b2 Remove AC_CYGWIN, obsolete. Don't let pthreads be found on Cygwin, they
2004-04-03  Tor Lillqvist  <tml@iki.fi>

	* configure.in: Remove AC_CYGWIN, obsolete. Don't let pthreads be
	found on Cygwin, they don't work. (#138401, Roger Leigh)
2004-04-03 04:46:41 +00:00
Adam Weinberger
81f3d4e713 Added en_CA to ALL_LINGUAS. Added Canadian English translation.
* configure.in: Added en_CA to ALL_LINGUAS.
	* po/en_CA.po: Added Canadian English translation.
2004-03-30 21:24:20 +00:00
Tor Lillqvist
dd5cac5ed9 Define HAVE_INT64_AND_I64 also in the mingw (gcc on Win32) case, where the
2004-03-16  Tor Lillqvist  <tml@iki.fi>

	* configure.in: Define HAVE_INT64_AND_I64 also in the mingw (gcc
	on Win32) case, where the 64-bit type is called long long, but the
	system printf/scanf format modifier for 64-bit integers is still I64.
2004-03-17 19:07:37 +00:00
Gareth Owen
c1bbb15ae0 Added en_GB to ALL_LINGUAS Added British translation
2004-03-16  Gareth Owen  <gowen72@yahoo.com>

	* configure.in: Added en_GB to ALL_LINGUAS
	* po/en_GB.po: Added British translation
2004-03-17 02:37:04 +00:00
Owen Taylor
c309c65ecb === Released 2.4.0 ===
Tue Mar 16 11:50:56 2004  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.4.0 ===

        * configure.in: Version 2.4.0, interface age 0.

        * README.in: Updates

        * NEWS: Updates
2004-03-16 19:10:34 +00:00
Owen Taylor
55df929d48 === Released 2.3.6 ===
Tue Mar  9 09:16:11 2004  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.3.6 ===

        * configure.in: Version 2.3.6, interface age 1.

        * NEWS: Updates
2004-03-09 14:44:02 +00:00
Alastair McKinstry
f29dea8510 Add Irish to ALL_LINGUAS 2004-03-08 21:22:48 +00:00
Danilo Šegan
6a0a220699 Added Serbian Jekavian translation by Bojan Suzić. 2004-03-07 15:35:36 +00:00
Tor Lillqvist
fd64571b80 Update.
2004-03-06  Tor Lillqvist  <tml@iki.fi>

	* README.win32: Update.

	* configure.in
	* Makefile.am
	* */Makefile.am: Drop the hand-written makefile.mingw(.in)
	files. They haven't been maintained in a long time. As several
	people have managed to build GLib for Win32 using the
	autoconfiscation mechanism, there is no real reason to even try to
	maintain the hand-written mingw makefiles.
2004-03-06 07:37:46 +00:00
Guntupalli Karunakar
44cd7bfe51 Added Punjabi translation 2004-03-04 10:57:35 +00:00
Owen Taylor
109ebb109a === Released 2.3.5 ===
Mon Mar  1 16:49:51 2004  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.3.5 ===

        * configure.in: Version 2.3.5, interface ago 0.

        * NEWS: Some further updates.
2004-03-02 00:05:36 +00:00
Owen Taylor
38cbfaeb7a Patch from J. Ali Harlow
Mon Mar  1 15:39:57 2004  Owen Taylor  <otaylor@redhat.com>

       Patch from J. Ali Harlow

        * configure.in: Use void * not HANDLE for GPid on win32.

        * glib/gspawn.[ch] glib/gspawn-win32.[ch] glib/glib.def:
        Add g_spawn_close_pid().

        * glib/gspawn.[ch]: Make g_spawn functions take
        GPid * instead if int * (GPid == int on unix, will
        produce compile warnings until fixed on Win32.)

        * tests/child-test.c: Make the test a little more
        inappropriately verbose.

        * glib/gmain.c: Add some documentation warnings about
        not closing @pid while the source is active.
2004-03-01 20:47:49 +00:00
Sebastian Wilhelmi
fe2efd06a0 Moved the assembler functions from gatomic.h to gatomic.c, which makes for
2004-02-29  Sebastian Wilhelmi  <seppi@seppi.de>

	* configure.in, glib/gatomic.c, glib/gatomic.h: Moved the
	assembler functions from gatomic.h to gatomic.c, which makes for
	better maintainability. Also use gint instead of gint32 to be able
	to use reference counting for ABI-fixed structures with
	gint/guint.

	* glib/gthread.h: Adapted accordingly.

	* tests/atomic-test.c: Updated to test for G_MAXINT and G_MININT.

	* glib/glib-overrides.txt, glib/glib-sections.txt,
	glib/tmpl/atomic_operations.sgml: Updated according to code changes.
2004-02-29 16:47:48 +00:00
Sebastian Wilhelmi
ea9d13892e empty G_ATOMIC_MEMORY_BARRIER() definition for !G_THREADS_ENABLED
2004-02-26  Sebastian Wilhelmi  <seppi@seppi.de>

	* glib/gatomic.h: empty G_ATOMIC_MEMORY_BARRIER() definition for
	!G_THREADS_ENABLED

	* glib/gthread.h: Define g_once and
	g_static_mutex_get_mutex_impl_shortcut in terms of
	G_MEMORY_BARRIER, if defined and if we can inline.

	* configure.in: Remove double checked locking feature check.
2004-02-26 16:53:55 +00:00
Sebastian Wilhelmi
76c213543a Removed the PID niceness surrogate for thread priorities as requested by
2004-02-26  Sebastian Wilhelmi  <seppi@seppi.de>

	* configure.in, config.h.win32.in, glib/gthread.c: Removed the PID
	niceness surrogate for thread priorities as requested by Tim. It
	does more harm than good.

        * glib/tmpl/threads.sgml: Updated to reflect removal of the PID
	niceness surrogate for thread priorities.
2004-02-26 14:44:42 +00:00
Sebastian Wilhelmi
dbbb29f608 New files to implement atomic operations for different platforms. Fixes
2004-02-26  Sebastian Wilhelmi  <seppi@seppi.de>

	* glib/gatomic.c, glib/gatomic.h: New files to implement atomic
	operations for different platforms. Fixes bug #63621.

	* glib/glib.h: Include gatomic.h.

	* configure.in: Add test for assembler routines for atomic operations.

	* glib/Makefile.am: Add gatomic.c, gatomic.h.

	* tests/Makefile.am, tests/atomic-test.c: Unit test for atomic
	operations.

	* glib/glib-overrides.txt, glib/glib-sections.txt,
	glib/glib-docs.sgml, glib/tmpl/atomic_operations.sgml: Add docs
	for atomic operations.
2004-02-26 14:30:35 +00:00
Sebastian Wilhelmi
28a267e306 For the PID thread priorities surrogate use gettid instead of getpid. This
2004-02-25  Sebastian Wilhelmi  <seppi@seppi.de>

	* configure.in, glib/gthread.c: For the PID thread priorities
	surrogate use gettid instead of getpid. This also works with nptl
	(on linux-2.6), as well as with linuxthreads (on linux-2.4).
2004-02-25 13:23:14 +00:00
Owen Taylor
81e39b7858 === Released 2.3.3 ===
Tue Feb 24 14:09:21 2004  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.3.3 ===

        * configure.in: Version 2.3.3, interface age 0.
2004-02-24 19:27:19 +00:00
Matthias Clasen
1c49b23e91 Set the gmodule suffix to 'a' for aix and use the aix gmodule
Sun Feb 22 02:28:43 2004  Matthias Clasen  <maclas@gmx.de>

	* configure.in: Set the gmodule suffix to 'a' for aix and
	use the aix gmodule implementation.  (#85930, Laurent Vivier)

	Bug #85930, Laurent Vivier:

	* gmodule-ar.c: Implementation of native module management for AIX.
	* gmoduleconf.h.in:
	* gmodule.c: Support gmodule-ar.c
2004-02-22 01:31:24 +00:00
Manish Singh
fec8b1d45c Remove unnecessary STRIP_* definitions, and GNU make check. Really fixes
Sat Feb 14 11:05:26 2004  Manish Singh  <yosh@gimp.org>

        * configure.in: Remove unnecessary STRIP_* definitions, and GNU
        make check. Really fixes #134102.
2004-02-14 19:05:02 +00:00
Matthias Clasen
ad7581b792 Make the check for GNU make work when MAKE is a full path. (#134102, Julio
Sat Feb 14 02:11:08 2004  Matthias Clasen  <maclas@gmx.de>

	* configure.in: Make the check for GNU make work when MAKE is a
	full path.  (#134102, Julio M. Merino Vidal)
2004-02-14 01:08:15 +00:00
Matthias Clasen
61d0ff7edd Suppress xsltproc and xmlcatalog checks if enable_man=no. (#134091, Julio
Sat Feb 14 02:08:03 2004  Matthias Clasen  <maclas@gmx.de>

	* configure.in: Suppress xsltproc and xmlcatalog checks
	if enable_man=no.  (#134091, Julio M. Merino Vidal)
2004-02-14 01:04:47 +00:00
Matthias Clasen
540d02ba8b Wrap waitpid() as a GSource. This is a partial implementation of the "Unix
Sat Feb 14 01:21:34 2004  Matthias Clasen  <maclas@gmx.de>

	* glib/gmain.h:
	* glib/gmain.c (g_child_watch_source_new):
	* glib/gmain.c (g_child_watch_add):
	* glib/gmain.c (g_child_watch_add_full): Wrap waitpid() as a
	GSource. This is a partial implementation of the "Unix signal
	source".  (#50296, Jonathan R. Blandford)

	* configure.in: Add the necessary configury to typedef GPid
	appropriately.

	* tests/Makefile.am:
	* tests/child-test.c: Test child_watch sources.
2004-02-14 00:23:36 +00:00
Denis Lackovic
e56dd1b7e5 *** empty log message *** 2004-02-05 22:59:07 +00:00
Owen Taylor
7ace455394 Add g_timer_continue(). (#98536, Tim-Philipp Müller)
Thu Jan 22 13:55:44 2004  Owen Taylor  <otaylor@redhat.com>

        * glib/gtimer.c: Add g_timer_continue().
        (#98536, Tim-Philipp Müller)

        * configure.in: Version 2.3.2, interface age 0.

        * NEWS: tweak, finish.
2004-01-22 19:56:28 +00:00
Manish Singh
31a1fedf68 Add G_MAXSIZE, define in terms of G_MAXUfoo.
Sun Jan 11 16:13:20 2004  Manish Singh  <yosh@gimp.org>

        * configure.in: Add G_MAXSIZE, define in terms of G_MAXUfoo.

        * tests/type-test.c: Add test for G_MAXSIZE.

        * glibconfig.h.win32.in: Cleanup, add some missing bits.
2004-01-12 00:16:18 +00:00
Matthias Clasen
04c96e8fa3 Fix for #103710, Mark Jones:
Tue Dec  2 02:29:41 2003  Matthias Clasen  <maclas@gmx.de>

	Fix for #103710, Mark Jones:

	* glib/gtypes.h (G_MAXINT64): Define G_{MIN,MAX,MAXU}INT{8,16,32,64}.
	* configure.in: Don't put G_{MIN,MAX,MAXU}INT64 in glibconfig.h.
2003-12-02 01:31:43 +00:00
Manish Singh
b5ae75aa4a Added G_GSIZE_FORMAT and friends.
Thu Nov 20 15:09:40 2003  Manish Singh  <yosh@gimp.org>

        * configure.in: Added G_GSIZE_FORMAT and friends.

        * tests/printf-test.c
        * tests/testglib.c
        * tests/type-test.c: Add tests for the above.
2003-11-20 23:12:05 +00:00
Matthias Clasen
f3a59d07bc Don't blindly set glib_cv_long_long_format to "ll" when using the included
Sat Nov 15 00:46:14 2003  Matthias Clasen  <maclas@gmx.de>

	* configure.in: Don't blindly set glib_cv_long_long_format to
	"ll" when using the included printf. As long as the native
	printf supports 64bit printing, use the native format.
	(#119525, Tor Lillquist)
2003-11-14 23:48:03 +00:00
Owen Taylor
9feec516be Version 2.3.1, interface age 0.
Wed Nov 12 15:06:27 2003  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Version 2.3.1, interface age 0.

        * NEWS: Update for 2.3.1.
2003-11-12 20:28:35 +00:00
Matthias Clasen
76433d5365 Fix 64bit printing for MSVC builds (#119292, Hans Breuer):
Sun Nov  2 01:47:31 2003  Matthias Clasen  <maclas@gmx.de>

	Fix 64bit printing for MSVC builds (#119292, Hans Breuer):

	* configure.in (HAVE_INT64_AND_I64): Define for MSVC to
	include support for printing __int64 with format %I64 in
	the gnulib printf wrappers.
	* glib/gnulib/printf-args.h (enum arg_type): Add TYPE_INT64
	and TYPE_UINT64.
	* glib/gnulib/printf-args.h (struct argument): Add a_int64 and
	a_uint64 members.
	* glib/gnulib/printf-args.c (printf_fetchargs): Support
	TYPE_INT64 and TYPE_UINT64.
	* glib/gnulib/printf-parse.c (printf_parse): Parse I64 format
	modifier and map formats to TYPE_INT64.
	* glib/gnulib/vasnprintf.c (vasnprintf): Print TYPE_INT64 with
	format modifier I64.
	* glib/gnulib/README: Document the __int64 support.
2003-11-02 00:54:02 +00:00
Matthias Clasen
4dbdd6e05e Remove the semicolon from the definition of g_once(), so that
Fri Oct 31 00:13:53 2003  Matthias Clasen  <maclas@gmx.de>

	* configure.in: Remove the semicolon from the definition of
	g_once(), so that GPOINTER_TO_INT (g_once (...)) works.
2003-10-30 23:17:57 +00:00
Tor Lillqvist
5d097b8591 Force shared library (DLL) only on Windows. (I don't think that is
2003-10-24  Tor Lillqvist  <tml@iki.fi>

	* configure.in: Force shared library (DLL) only on Windows.
	(I don't think that is controversial?) Remove unnecessary
	AC_LIBTOOL_WIN32_DLL. Don't use -D_REENTRANT on
	Win32, it is not used by mingw or MSVC headers.

	* config.h.win32.in
	* glibconfig.h.win32.in: Match what configure produces.

	* glib/gconvert.c
	* glib/gutils.c: Mark a couple of functions and variables that
	aren't public as static.

	* glib/gnulib/g-gnulib.h: Undef HAVE_SNPRINTF before (re)defining
	it potentially differently, to silence compiler.

	* glib/glib.def: Add some missing entries.

	* tests/gobject/Makefile.am (LDADD): Reorder, put libgobject after
	libtestgobject.

	* tests/gobject/ifaceproperties.c (main): NULL-terminate arg list
	to g_object_set() and _get().
2003-10-24 03:41:22 +00:00
Matthias Clasen
9a76ff17c1 Make the various printf feature test macros reflect the system printf,
2003-10-05  Matthias Clasen  <maclas@gmx.de>

	* configure.in: Make the various printf feature test macros
	reflect the system printf, even when using the included printf.
	In particular, don't force HAVE_C99_SNPRINTF, since g-gnulib.h
	needs that test result.  (#122973)

	* glib/gprintf.c (g_vasprintf): Don't rely on HAVE_VASPRINTF,
	directly check for _g_vasprintf.

	* glib/gprintfint.h (_g_vasprintf): Only define _g_vasprintf()
	if vasprintf() is available.

	* glib/gnulib/printf.c (_g_gnulib_vfprintf): Don't write
	trailing nul to the file. (#122973)

	* acinclude.m4 (AC_FUNC_VSNPRINTF_C99): Make the test
	detect non-C99-compliance of AIX 5.1 and Solaris
	vsnprintf().  (#122496)
2003-10-04 23:24:02 +00:00
Gediminas Paulauskas
dc5ce54a5f Added Lithuanian translation 2003-09-28 18:17:08 +00:00
Owen Taylor
4ec041d593 New directory, framework for automated GObject tests.
Fri Sep 12 16:26:21 2003  Owen Taylor  <otaylor@redhat.com>

        * tests/gobject/ configure.in: New directory, framework
        for automated GObject tests.

        * tests/gobject/override.c: Move testoverride.c
        here, automate.

        * tests/gobject/ifaceinit.c: Move testifaceinit.c here.

        * tests/gobject/accumulator.c: Test signal accumulators,
        including g_signal_accumulator_true_handled.
2003-09-12 20:37:09 +00:00
Samel Jn Gunnarsson
0b771a2441 Added "is" to ALL_LINGUAS.
2003-08-23  Samel Jn Gunnarsson  <sammi@techattack.nu>

	* configure.in: Added "is" to ALL_LINGUAS.
2003-08-23 01:05:02 +00:00
Matthias Clasen
3c51de64fe Integrate gnulib vasnprintf(). 2003-07-28 23:00:05 +00:00
Matthias Clasen
48b894f78c configure.in changes forgotten in last commit. 2003-07-28 20:14:09 +00:00
Joel Brich
686c2b540d Added "eo" to ALL_LINGUAS. Added Esperanto translation from Charles
2003-07-10  Joel Brich  <joel.brich@laposte.net>

	* configure.in: Added "eo" to ALL_LINGUAS.
	* po/eo.po: Added Esperanto translation
	from Charles Voegler <cvoegler@dweasel.com>
2003-07-10 18:24:49 +00:00
Matthias Clasen
876f907863 Support for one-time initialization functions. (#69668, Sebastian
2003-07-09  Matthias Clasen  <maclas@gmx.de>

	Support for one-time initialization functions.  (#69668, Sebastian Wilhelmi)

	* configure.in: Check whether double checked locking is safe, define g_once() in
	glibconfig.h accordingly.
	* glib/gthread.h: Add GOnce, GOnceStatus, G_ONCE_INIT and g_once_impl.
	* glib/gthread.c (g_once_impl): Fallback implementation using a mutex if double checked
	locking is unsafe.
	* tests/thread-test.c: Add tests for g_once().
2003-07-08 23:43:48 +00:00
Matthias Clasen
54f796b1b6 New macros to check for XML catalog contents and path, borrowed from
2003-06-17  Matthias Clasen  <maclas@gmx.de>

	* acinclude.m4 (JH_PATH_XML_CATALOG, JH_CHECK_XML_CATALOG): New
	macros to check for XML catalog contents and path, borrowed from
	gtk-doc.
	* configure.in: New option --enable-man to enable regeneration of
	man pages from Docbook, if the necessary tools are found.

	* gobject/Makefile.am: Add rule to regenerate man pages from
	Docbook.
	(man_MANS): Add glib-mkenums.1, glib-genmarshal.1 and gobject-query.1.
	(content_files): Add glib-mkenums.xml, glib-genmarshal.xml and
	gobject-query.xml.

	* gobject/glib-mkenums.xml:
	* gobject/glib-genmarshal.xml:
	* gobject/gobject-query.xml: New refentries.

	* gobject/glib-mkenums.1:
	* gobject/glib-genmarshal.1:
	* gobject/gobject-query.1: Man pages generated from the .xml
	sources.

	* gobject/gobject-docs.sgml: Include glib-mkenums.xml,
	glib-genmarshal.xml and gobject-query.xml.

	* glib/Makefile.am: Add rule to regenerate man pages from
	Docbook.
	(man_MANS): Add glib-gettextize.1.
	(content_files): Add glib-gettextize.xml.

	* glib/glib-gettextize.xml: New refentry.

	* glib/glib-gettextize.1: Man page generated from the .xml source.

	* glib/glib-docs.sgml: Include glib-gettextize.xml.
2003-06-17 23:08:37 +00:00
Sebastian Wilhelmi
e9c1f8f412 Remove false &. Spotted by Albert Chin
2003-06-11  Sebastian Wilhelmi  <seppi@seppi.de>

        * configure.in: Remove false &. Spotted by Albert Chin
        <gtk-devel-list@thewrittenword.com>.
2003-06-11 13:34:40 +00:00
Sebastian Wilhelmi
70ca727d22 Test for pthread_setschedparam. If not existant, disable priorities.
2003-06-03  Sebastian Wilhelmi  <seppi@seppi.de>

	* configure.in: Test for pthread_setschedparam. If not existant,
	disable priorities. (#104718)
2003-06-03 12:35:00 +00:00
PDT 2003 Manish Singh
a4fa910471 wrap 64-bit MIN/MAX limit constants in G_GINT64_CONSTANT. Fixes bug
Tue May 20 14:14:55 PDT 2003  Manish Singh  <yosh@gimp.org>

        * configure.in: wrap 64-bit MIN/MAX limit constants in
        G_GINT64_CONSTANT. Fixes bug #108699.
2003-05-20 21:17:35 +00:00
Arafat Medini
20b6300c96 *ar.po: Added Arabic translation by Arabeyes <doc@arabeyes.org>
2003-05-19 Arafat Medini <lumina@silverpen.de>

	*ar.po: Added Arabic translation by
	Arabeyes <doc@arabeyes.org>
2003-05-19 15:36:33 +00:00
Telsa Gwynne
e5e4f77027 Welsh translation from Dafydd Harries 2003-05-17 18:44:56 +00:00
Christian Rose
7feee9b513 Added sr and sr@Latn to ALL_LINGUAS. Added Serbian translation by Danilo
2003-05-05  Christian Rose  <menthos@menthos.com>

	* configure.in: Added sr and sr@Latn to ALL_LINGUAS.
	* po/sr.po, po/sr@Latn.po: Added Serbian translation by
	Danilo Šegan <dsegan@gmx.net>.
2003-05-05 13:45:22 +00:00
Christian Rose
d34ab625bc Added "yi" to ALL_LINGUAS. Added Yiddish translation by Raphael Finkel
2003-03-26  Christian Rose  <menthos@menthos.com>

	* configure.in: Added "yi" to ALL_LINGUAS.
	* po/yi.po: Added Yiddish translation by
	Raphael Finkel <raphael@cs.uky.edu>.
2003-03-26 21:48:11 +00:00
Anders Carlsson
3ce437f34d Bump version to 2.3.0
2003-03-19  Anders Carlsson  <andersca@codefactory.se>

	* configure.in: Bump version to 2.3.0
2003-03-19 21:51:36 +00:00
James Henstridge
c4391cbf37 require automake 1.7. Add calls to libtoolize and gtkdocize. Clean up some
2003-03-01  James Henstridge  <james@daa.com.au>

    * autogen.sh: require automake 1.7.  Add calls to libtoolize and
    gtkdocize.  Clean up some of the error messages.

    * configure.in: move version declaration to the top of the file
    (before AC_INIT), using M4 macros.
    GLIB_AC_DIVERT_BEFORE_HELP() calls no longer necessary, due to use
    of M4 macro expansion in help messages instead.
    Convert AC_ARG_WITH/AC_ARG_ENABLE calls to use AC_HELP_STRING to
    format help strings.  Use quadrigraphs to get square brackets to
    show correctly.
    Replace gtk-doc checks with a call to GTK_DOC_CHECK() macro.
    Use AC_CONFIG_COMMANDS([glibconfig.h], ...) to output
    glibconfig.h, so that "./config.status glibconfig.h" works.
    Add an extra AC_CONFIG_FILES call listing other files we want
    generated by config.status protected by an "if false" block.  This
    way automake generates the rules needed to rebuild the files for
    us.
    Add quotes in various places.

    * docs/reference/*/Makefile.am: convert to use the common
    gtk-doc.make file.  This localises the complexity to a single
    makefile fragment maintained with gtk-doc itself.

    * */Makefile.am: remove unneeded rules to build win32 files with
    config.status.  Automake now does this for us.
    Replace instances of @FOO@ with $(FOO) where appropriate -- this
    allows automake to do a better job checking the makefile.
    Add some files to DISTCLEANFILES where appropriate

    * Makefile.am: use the DISTCHECK_CONFIGURE_FLAGS variable to
    ensure that --enable-gtk-doc is passed to configure during a
    distcheck.  Remove the custom distcheck, since the standard one
    will now do.

    * gobject/Makefile.am: switch to BUILT_SOURCES, since that now
    works.
2003-03-04 10:10:48 +00:00
Sebastian Wilhelmi
032506b242 Make glib_thread_test not unnecessarily convert between int and void*.
2003-02-18  Sebastian Wilhelmi  <seppi@seppi.de>

	* configure.in: Make glib_thread_test not unnecessarily convert
	between int and void*. (#106278). Let main return int.

	* configure.in: Add an argument to specify the default thread
	attribute to glib_thread_test. Disappeared somewhere between 2.0
	and 2.2.
2003-02-18 14:00:16 +00:00
Sebastian Wilhelmi
f0e22eaadf Make GLib recognize Tru64Unix thread system. (#103020)
2003-02-12  Sebastian Wilhelmi  <seppi@seppi.de>

	* configure.in: Make GLib recognize Tru64Unix thread system. (#103020)
2003-02-12 13:01:35 +00:00
Mohammad DAMT
6f1d2c5e09 Added Indonesian translation Added "id" to ALL_LINGUAS
2003-02-10  Mohammad DAMT  <mdamt@bisnisweb.com>

	* po/id.po: Added Indonesian translation
	* configure.in: Added "id" to ALL_LINGUAS
2003-02-10 08:01:42 +00:00
Owen Taylor
305742130f Remove references to glib.spec. (#102231)
Thu Jan 30 16:45:13 2003  Owen Taylor  <otaylor@redhat.com>

        * Makefile.am: Remove references to glib.spec.
        (#102231)

        * configure.in: Don't generate glib.spec.
2003-01-30 21:47:23 +00:00
Pablo Saratxaga
b7f82ce8e4 Added Bengali file 2003-01-23 11:42:49 +00:00
Christian Rose
0c00bfc60e Added "mn" to ALL_LINGUAS. Added Mongolian translation by Sanlig Badral
2003-01-21  Christian Rose  <menthos@menthos.com>

	* configure.in: Added "mn" to ALL_LINGUAS.
	* po/mn.po: Added Mongolian translation by
	Sanlig Badral <badral@chinggis.com>.
2003-01-21 22:43:17 +00:00
Pablo Saratxaga
c202179763 updated Vietnamese file;
added missing langs to ALL_LINGUAS
2003-01-20 18:38:54 +00:00
Daniel Yacob
5fcbdfbfa6 Adding Amharic translation. 2003-01-16 16:28:30 +00:00
Tor Lillqvist
b123bcf25c Updates.
2003-01-05  Tor Lillqvist  <tml@iki.fi>

	* README.win32: Updates.

	* configure.in: Don't use -lm in TRIO_LIBS on Windows, with no
	libm. (Mingw has a dummy libm.a, but the .pc file should be
	useable by MSVC users, too.)
2003-01-05 22:51:09 +00:00
Manish Singh
3fa609363c use AC_COMPILE_IFELSE instead of AC_TRY_COMPILE for tests for inline
Thu Jan  2 16:19:15 2003  Manish Singh  <yosh@gimp.org>

        * configure.in: use AC_COMPILE_IFELSE instead of AC_TRY_COMPILE for
        tests for inline keywords. Fixes #101976.
2003-01-03 00:16:09 +00:00
Gil Osher
63d6e3e49d *** empty log message *** 2002-12-30 10:13:46 +00:00
Tivo Leedjrv
3eb15f35ce Added et to ALL_LINGUAS.
2002-12-28  Tivo Leedjrv  <toivo@linux.ee>

        * configure.in: Added et to ALL_LINGUAS.
2002-12-27 23:41:33 +00:00
Owen Taylor
7eafb2373c === Released 2.2.0 ===
Fri Dec 20 09:52:15 2002  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.2.0 ===

        * INSTALL.in: Document --enable-trio, --disable-mempools,
        --enable-debug. Include docs on cross compilation.

        * NEWS: Update.

        * configure.in: Version 2.2.0, interface age 0.
2002-12-20 15:23:12 +00:00
Owen Taylor
38828c2486 === Released 2.1.5 ===
Mon Dec 16 17:31:50 2002  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.1.5 ===

        * configure.in: Version 2.1.5, interface age 2.

        * NEWS: Updated.
2002-12-16 22:58:40 +00:00
Owen Taylor
66a12cdfae Add a hack to mostly deal with problems in support of -pthread and
Mon Dec 16 14:58:33 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Add a hack to mostly deal with
        problems in support of -pthread and -lpthread;
        pass -lpthread (for linux) or -Wc,-pthread (for
        other platforms) to libtool when linking libgthread.
        (#100697)
2002-12-16 22:14:40 +00:00
Matthias Clasen
c95ce4b301 Set TRIO_LIBS when building with trio.
* configure.in: Set TRIO_LIBS when building with trio.

	* glib-2.0.pc.in (Libs): Add @TRIO_LIBS@.

	* glib/trio/Makefile.am (libtrio_la_LIBADD): Use @TRIO_LIBS@.
2002-12-15 00:42:37 +00:00
Owen Taylor
9d4af5714a Fixes from Johannes Stezenbach
Thu Dec 12 23:08:29 2002  Owen Taylor  <otaylor@redhat.com>

        Fixes from Johannes Stezenbach

        * configure.in: When adding extra libraries to $LIBS for
        tests, always put them at the front, since that's how
        they'll be used in the actual Makefiles.

        * configure.in: Add a couple of missing ','s in AC_LINK_IFELSE()

        * m4macros/glib-gettext.m4: Remove a stray setting of $LIBS.
2002-12-13 04:11:32 +00:00
Owen Taylor
3c50d7bd88 Allow not setting glib_cv_long_long_format when cross-compiling since we
Thu Dec 12 20:46:26 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Allow not setting glib_cv_long_long_format
        when cross-compiling since we assume other things that
        will cause us to pull in Trio anyways.

        * configure.in: long_long_format is always ll for trio.

        * configure.in: Error out if --disable-trio is specified
        but the C library doesn't have the necessary features.
2002-12-13 02:09:48 +00:00
Owen Taylor
d852c710a0 long_long_format is always ll for trio.
Thu Dec 12 20:46:26 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: long_long_format is always ll for trio.

        * configure.in: Error out if --disable-trio is specified
        but the C library doesn't have the necessary features.
2002-12-13 01:49:42 +00:00
Manish Singh
96670b2085 pull in trio if host printf doesn't have a known way of printing 64-bit
Thu Dec 12 14:58:55 2002  Manish Singh  <yosh@gimp.org>

        * configure.in: pull in trio if host printf doesn't have a known
        way of printing 64-bit ints.

        * glib/gmacros.h: remove extra whitespace at the end

        * glib/gscanner.c (g_scanner_unexp_token): use G_GUINT64_FORMAT
        instead of hardcoding "%llu"

        * tests/testglib.c: remove obsolete conditionals using G_HAVE_GINT64,
        we always have it now.

        * tests/type-test.c: same as above, and for G_G[U]INT64_FORMAT as
        well.
2002-12-12 22:59:55 +00:00
Owen Taylor
0aa7b51ef3 Unset ac_cv_func_bind_textdomain_codeset before calling
Wed Dec 11 17:49:15 2002  Owen Taylor  <otaylor@redhat.com>

        * m4macros/glib-gettext.m4: Unset
        ac_cv_func_bind_textdomain_codeset before calling
        AC_CHECK_FUNCS(bind_textdomain_codeset) again.

        * configure.in: Remove duplicate call to
        AC_CHECK_FUNCS(bind_textdomain_codeset)
2002-12-11 22:51:37 +00:00
Pauli Virtanen
30d4eecfdc Added "fi" to ALL_LINGUAS.
2002-12-11  Pauli Virtanen <pauli.virtanen@hut.fi>

	* configure.in: Added "fi" to ALL_LINGUAS.
2002-12-11 22:38:16 +00:00
Owen Taylor
299b90ed7b Add GLIB_ASSERT_SET() as a helper for adding "must be set when
Wed Dec 11 17:00:20 2002  Owen Taylor  <otaylor@redhat.com>

        * acglib.m4 (ac_compile): Add GLIB_ASSERT_SET() as
        a helper for adding "must be set when cross-compiling"
        errors.

        * configure.in: For all cached variables without defaults,
        error out if they aren't set.
2002-12-11 22:21:32 +00:00
Owen Taylor
bf2ae7b7e5 Also assume AC_LINK_IFELSE() is OK when cross-compiling for the libs
Wed Dec 11 15:52:01 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Also assume AC_LINK_IFELSE() is
        OK when cross-compiling for the libs checks, and for
        the sched_get_priority_min() check.

        * configure.in: Add cached value glib_cv_use_pid_surrogate.
2002-12-11 21:28:45 +00:00
Owen Taylor
d67044c391 Factor out repeated thread test into a m4_define(); when cross-compiling,
Wed Dec 11 15:10:25 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Factor out repeated thread test into
        a m4_define(); when cross-compiling, assume that
        AC_LINK_IFELSE() is good enough for thinking that
        -pthread[s] is OK. (More of #58786)

        * m4macros/glib-gettext.m4: Fix typo. (Manish Singh)
2002-12-11 20:28:46 +00:00
Owen Taylor
b275382769 Version 2.1.4, interface age 1.
Wed Dec 11 14:28:50 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Version 2.1.4, interface age 1.

        * m4macros/glib-gettext.m4: Major rewrite; remove leftovers
        from building intl/, prefer libintl if both libc and libintl
        have dgettext and libintl also has bind_textdomain_codeset().
        (#70627)

        * configure.in acinclude.m4: Use an include to avoid having
        to duplicate the gettext macros between glib-gettext.m4
        and acinclude.m4.

        * m4macros/glib-gettext.m4: Do some tricks so that configure.in
        can use macros under hidden names, but aclocal will still
        find them when installed.

        * m4macros/glib-gettext.m4: Add AM_GLIB_DEFINE_LOCALEDIR
        to encapsulate install location of catalog files.

        * m4macros/glib-gettext.m4 (AM_GLIB_DEFINE_LOCALEDIR):
        Fix bug where if --prefix wasn't set on the configure line,
        GLib would look for translations in NONE/share/locale.
2002-12-11 19:42:31 +00:00
Sebastian Wilhelmi
663954b004 use 0 instead of $defattr, as it isn't defined anymore on platforms using
2002-12-09  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* configure.in: use 0 instead of $defattr, as it isn't defined
	anymore on platforms using -pthread and linux, where this is used,
	only uses 0 anyway and not "pthread_attr_default".
2002-12-09 12:22:44 +00:00
Owen Taylor
96670f6d36 Avoid literal UTF-8. (Allow it to build with IRIX cc, #72757, Tomas Ogren)
Fri Dec  6 14:34:42 2002  Owen Taylor  <otaylor@redhat.com>

        Avoid literal UTF-8. (Allow it to build with
        IRIX cc, #72757, Tomas Ogren)

        * tests/patterntest.c (main): Convert literal
        iso-8859-1 high bit characters in tests to
        string escapes.

        * glib/gunichartable.h glib/gen-unicode-tables.pl:
        Use hex \xMN escapes rather than literal UTF-8
        for casefold tables.

        * configure.in: AC_PREREQ(2.53). needed for recent
        GLIB_SIZEOF() changes.
2002-12-06 20:11:29 +00:00
Owen Taylor
ecd1f9eab4 chmod 0755 scripts in AC_OUTPUT(), since install -c won't necessarily do
Fri Dec  6 12:31:30 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: chmod 0755 scripts in AC_OUTPUT(), since
        install -c won't necessarily do that. (#74376, Martin
        Gansser, Joshua Weage)
2002-12-06 17:37:56 +00:00
Owen Taylor
05902c047b Use AC_LINK_IFELSE(), not AC_TRY_RUN() for va_copy(), __va_copy() checks.
Thu Dec  5 16:05:55 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Use AC_LINK_IFELSE(), not AC_TRY_RUN()
        for va_copy(), __va_copy() checks.

        * configure.in: When there is a reasonable default,
        provide that in the 3rd argument of AC_TRY_RUN(),
        instead of just leaving the 3rd argument empty.
2002-12-06 17:29:52 +00:00
Owen Taylor
9be4551686 Fix multiple problems with the programs in the argument of AC_TRY_RUN()
Thu Dec  5 15:43:46 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Fix multiple problems with the programs
        in the argument of AC_TRY_RUN() having preprocessor
        defines not in the first column.
2002-12-05 20:49:26 +00:00
Owen Taylor
901377bcef Start of fixes for cross-compilation. Based on patches from Dimi Shahbaz,
Thu Dec  5 15:24:14 2002  Owen Taylor  <otaylor@redhat.com>

        Start of fixes for cross-compilation. Based on
        patches from Dimi Shahbaz, Dan Kegel, Johannes Stenzenbach,
        Amy Lin. (#58786)

        * configure.in: Don't run the Digital-Unix 4 -std1 check
        when cross_compiling.

        * configure.in: Use AC_TRY_COMPILE() rather than
        AC_TRY_RUN() for inline checks. (Daniel Egger)

        * configure.in: use AC_CHECK_SIZEOF rather than
        GLIB_SIZEOF for size_t. Remove unused checks for
        size of ptrdiff_t/intmax_t.

        * acglib.m4: Resync GLIB_SIZEOF of to the current
        AC_CHECK_SIZEOF, which handles cross-compilation.

        * acglib.m4: Remove no longer needed GLIB_SYSDEFS(),
        add GLIB_CHECK_VALUE() as a wrapper around the
        amazing _AC_COMPUTE_INT() autoconf 2.5x internal.

        * configure.in: Redo the POLL* value checks in a
        cross-compilation friendly way.

Thu Dec  5 15:28:37 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/gtimer.c: Include glibconfig.h early so
        that we include <windows.h> when needed.

        * glib/gstrfuncs.c: Fix typo.
2002-12-05 20:33:26 +00:00
Owen Taylor
70d2667c40 Add 3rd argument to remaining AC_DEFINES(), so we can get rid of
Tue Dec  3 21:10:28 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Add 3rd argument to remaining AC_DEFINES(),
        so we can get rid of acconfig.h. (#76334, Daniel Egger)

        * acconfig.h: Removed.
2002-12-04 02:16:59 +00:00
Matthias Clasen
78afc275dc Check that strlcpy behaves as per the OpenBSD man page before wrapping it.
* configure.in: Check that strlcpy behaves as per the OpenBSD
	man page before wrapping it.  (#53933)
2002-12-03 22:22:22 +00:00
Ole Laursen
4f9ee6693f Added "da" to ALL_LINGUAS.
2002-11-30  Ole Laursen  <olau@hardworking.dk>

	* configure.in: Added "da" to ALL_LINGUAS.
2002-11-30 21:24:43 +00:00
Matthias Clasen
7c2ae36588 Fix the definitions around printf: either we use system printf in which
* configure.in: Fix the definitions around printf: either we use
	system printf in which case HAVE_VASPRINTF, HAVE_C99_VSNPRINTF and
	HAVE_UNIX98_PRINTF have already been determined by earlier tests,
	or we use the included printf, in which case we know that these
	three can be defined as 1.  (#99826)
2002-11-28 18:50:41 +00:00
Matthias Clasen
d2c266b3dd Fix the gtk-doc version check.
* configure.in: Fix the gtk-doc version check.
2002-11-28 00:02:17 +00:00
Sebastian Wilhelmi
17344bb1e4 Make CPPFLAGS, not CFLAGS, include G_THREAD_CFLAGS. CFLAGS is used while
2002-11-26  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* configure.in: Make CPPFLAGS, not CFLAGS, include
	G_THREAD_CFLAGS. CFLAGS is used while linking too and thus GLib
	programs would link to the threads library on some platforms. Also
	fixed a bug manifesting through this change.
2002-11-26 12:57:16 +00:00
Matthias Clasen
105183376d Add version info to API docs. 2002-11-23 01:37:17 +00:00
Sebastian Wilhelmi
77e915528f Fixed typo: PTHREAD_PRIO_MIN -> PTHREAD_PRIO_MAX. (Laurent Vivier, #99293)
2002-11-22  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* configure.in: Fixed typo: PTHREAD_PRIO_MIN ->
	PTHREAD_PRIO_MAX. (Laurent Vivier, #99293)
2002-11-22 17:40:03 +00:00
Tor Lillqvist
d1881e2dfd Update to match what is currently produced by autotools.
2002-11-21  Tor Lillqvist  <tml@iki.fi>

	* config.h.win32.in: Update to match what is currently produced by
	autotools.

	* configure.in: Remove superfluous spaces on two shell variable
	assignment lines. Don't define HAVE_GOOD_PRINTF as 0 if we don't
	have a good printf, it is tested with #ifdef.

	* glib/glib.def: Add new functions.

	* glib/Makefile.am: If !HAVE_GOOD_PRINTF, add libtio.la to LIBADD
	and DEPENDENCIES.

	* glib/glib.rc.in: Hardcode 2.0 in the names, as that is what the
	Makefile.am does.
2002-11-21 03:04:53 +00:00
Matthias Clasen
bc54ea6edf Include a printf implementation supporting C99 snprintf and SUS
positional parameters:  (#79488)

	* glib/gstrfuncs.c:
	* glib/gspawn-win32.c:
	* glib/gscanner.c:
	* glib/gconvert.c:
	* glib/gbacktrace.c: Use _g_printf wrappers.

	* glib/gutils.c (g_vsnprintf): Simplify, since we can assume C99
	snprintf semantics now.

	* glib/gmessages.c (printf_string_upper_bound): No longer needed,
	since we can assume C99 snprintf semantics now.
	(g_logv): Simplify.

	* acinclude.m4 (AC_FUNC_PRINTF_UNIX98): New macro to check wether
	printf supports SUS positional parameters.

	* configure.in: New option --enable-included-printf to force
	compilation of trio; otherwise trio is compiled if the system
	printf misses either C99 snprintf semantics of SUS positional
	parameters.

	* glib/Makefile.am (SUBDIRS): Conditionally compile trio.
	(libglib_2_0_la_SOURCES): Add gprintf.c and gprintfint.h.
	(glibsubinclude_HEADERS): Add gprintf.h.

	* glib/gprintfint.h: New private wrapping either system printf
	or trio printf variants in _g_printf wrappers for use inside glib.

	* glib/gprintf.h: New public header declaring g_printf variants.
	* glib/gprintf.c: Corresponding implementations.

	* glib/trio/*: New directory, containing the trio-1.9 sources.

	* glib/tmpl/string_utils.sgml: Add note on including gprintf.h,
	move some docs inline.

	* glib/glib-sections.txt: Add g_printf, g_vprintf, g_fprintf,
	g_vfprintf, g_sprintf, g_vsprintf.
2002-11-21 00:35:15 +00:00
Owen Taylor
10520a9228 Patch from Havoc Pennington to add functions for setting and getting a
Thu Nov  7 19:32:26 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/gutils.[ch] (g_set/get_application_name):
        Patch from Havoc Pennington to add functions for
        setting and getting a human readable application
        name.

        * configure.in: Up to version 2.1.3, since we'll
        need to depend on last addition for GTK+.
2002-11-08 00:51:25 +00:00
Owen Taylor
d227d8a02f Add -DG_DISABLE_CAST_CHECKS for everything but --enable-debug.
Mon Nov  4 10:45:48 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Add -DG_DISABLE_CAST_CHECKS for
        everything but --enable-debug.

        * configure.in: Require pkg-config 0.14. (#97553)
2002-11-05 00:27:15 +00:00
Dmitry Mastrukov
b29e35c773 configure.in: Added Belarusian to ALL_LINGUAS 2002-11-03 04:08:13 +00:00
Tor Lillqvist
a488638747 Don't set on Win32, only causes trouble.
2002-10-27  Tor Lillqvist  <tml@iki.fi>

	* configure.in (G_MODULE_LDFLAGS): Don't set on Win32, only causes
	trouble.

	* glib/gmain.c (g_poll): Fix for bug reported by Herman Bloggs
	(http://mail.gnome.org/archives/gtk-devel-list/2002-October/msg00101.html)
	and others. We waited for events only for GPollFDs whose events
	field had G_IO_IN set. We need to wait also for events for
	GPollFDs that have just G_IO_OUT set. Non-blocking sockets in the
	process of being connect()ed are one such case. Also silence a
	couple of gcc warnings.
2002-10-26 22:53:21 +00:00
Laurent Dhima
a44d3df3b9 Added "sq" to ALL_LINGUAGES
* configure.in: Added "sq" to ALL_LINGUAGES
2002-10-13 16:57:22 +00:00
Tor Lillqvist
dd373b4831 Instead of forcing -fnative-struct into CFLAGS when using gcc for Win32,
2002-09-29  Tor Lillqvist  <tml@iki.fi>

	* configure.in: Instead of forcing -fnative-struct into CFLAGS
	when using gcc for Win32, check for gcc version 3.x which uses
	-mms-bitfields instead. Also check if either of these switches is
	actually available at all, and warn if not. Thanks to Soren
	Andersen for the inspiration.
2002-09-28 23:52:52 +00:00
Tor Lillqvist
5f7945dea9 Don't link with -lwsock32 on Cygwin (#91696, Masahiro Sakai).
2002-08-26  Tor Lillqvist  <tml@iki.fi>

	* configure.in (G_LIBS_EXTRA): Don't link with -lwsock32 on
	Cygwin (#91696, Masahiro Sakai).
2002-08-26 19:39:28 +00:00
Gustavo Noronha Silva
a086c90012 new translation 2002-08-10 18:12:14 +00:00
Sebastian Wilhelmi
852ed69e87 Made the thread flags determination tests first check for the canonical
2002-07-03  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

        * configure.in: Made the thread flags determination tests first
	check for the canonical form -pthread[s], then for other
	possibilities. Also recognize some more platforms. Modeled after
	patch from Miroslaw Dobrzanski-Neumann <mne@mosaic-ag.com>
	(#77981).
2002-07-03 16:43:22 +00:00
Sebastian Wilhelmi
8f167cbecd Fixed bugs in posix thread priority resolution. Also added AIX priorities.
2002-07-03  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* configure.in: Fixed bugs in posix thread priority
	resolution. Also added AIX priorities. Fix from
	Laurent Vivier <Laurent.Vivier@bull.net>. (#82599)
2002-07-03 15:30:46 +00:00
Anders Carlsson
07f352af63 Add a forgotten trailing ` in the GLIB_BINARY_AGE expression. Also fixup
2002-07-03  Anders Carlsson  <andersca@gnu.org>

	* configure.in: Add a forgotten trailing ` in the
	GLIB_BINARY_AGE expression. Also fixup LT_CURRENT.
2002-07-03 08:14:42 +00:00
Sebastian Wilhelmi
47791a0ed8 Improve checks for dce/posix threads to also do the right thing, if the
2002-07-02  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* configure.in: Improve checks for dce/posix threads to also do
	the right thing, if the thread functions are not declared in the
	pthread.h. Idea from Miroslaw Dobrzanski-Neumann
	<mne@mosaic-ag.com> in #77981.
2002-07-02 12:41:46 +00:00
Sebastian Wilhelmi
b826ae8db4 Set binary age to 0 to make it compile.
2002-07-02  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* configure.in: Set binary age to 0 to make it compile.
2002-07-02 07:18:48 +00:00
Anders Carlsson
ab44c4b616 Up version to 2.1.0.
2002-07-01  Anders Carlsson  <andersca@gnu.org>

	* configure.in: Up version to 2.1.0.
2002-07-01 16:56:25 +00:00
Yanko Kaneti
a7174adefb Added Bulgarian (bg).
2002-06-26  Yanko Kaneti <yaneti@declera.com>

   * configure.in: (ALL_LINGUAS) Added Bulgarian (bg).

po/

   * bg.po (added): Bulgarian translation by
   Borislav Aleksandrov <B.Aleksandrov@cnsys.bg>.
2002-06-26 08:27:48 +00:00
Owen Taylor
71e5efb9cb Remove notes about now-fixed-bugs.
Wed May 22 15:40:47 2002  Owen Taylor  <otaylor@redhat.com>

        * README.in: Remove notes about now-fixed-bugs.

        * m4macros/glib-gettext.m4 acinclude.m4: Get rid
        of AC_MSG_NOTICE() usage, since some broken systems
        (Hi Debian!) might not be using autoconf-2.5x for
        downstream packages even though we require it for
        glib itself.

        * INSTALL.in: Add a note about installing extra
        converters for Solaris.

        * glib/gutils.h (g_bit_nth_msf): Fix termination
        condition. (#82582, Paolo Molaro)

Wed May 22 15:24:04 2002  Owen Taylor  <otaylor@redhat.com>

        * README.translators: Add from GTK+.

        * *.po: Convert all po files to UTF-8.
2002-05-22 19:52:41 +00:00
Owen Taylor
260befc999 ue May 21 15:51:17 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: $with_libiconv, not $with_iconv.
2002-05-21 19:53:31 +00:00
Owen Taylor
679d9be8a5 Move iconv tests before gettext checks. (#81999)
Mon May 20 18:02:46 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Move iconv tests before gettext
        checks. (#81999)

        * m4macros/glib-gettext.m4 acinclude.m4: If we can't
        link to gettext, try adding in -liconv. (#80076,
        Boyd Lynn Gerber)

        * m4macros/glib-gettext.m4 acinclude.m4: Suppress
        warnings about xgettext not being GNU gettext when
        libintl wasn't found at all.
        (#79016, Andrew P. Lentvorski, Jr.)
2002-05-21 19:09:37 +00:00
Owen Taylor
fb2e5a27d9 If sizeof(int) == sizeof(long) run compilation tests to determine which
Mon May 13 11:55:33 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in acglib.m4: If sizeof(int) == sizeof(long)
        run compilation tests to determine which way gsize should
        be defined. (#74413, reported by Miroslaw Dobrzanski-Neumann)
2002-05-13 15:57:25 +00:00
Owen Taylor
893b73e27f Update from libcharset CVS. Includes additional encodings for Solaris
Mon May 13 11:42:23 2002  Owen Taylor  <otaylor@redhat.com>

      		* glib/libcharset/*: Update from libcharset CVS.
        Includes additional encodings for Solaris (#80396,
        Qingjiang Yuan)

        * configure.in: Add getc_unlocked to CHECK_FUNCS().

        * glib/gmessages.c (strdup_convert): If
        g_convert_with_fallback() fails, print the error
        message to stderr the first time, then return
        the original string. (#78197)
2002-05-13 15:51:44 +00:00