2466 Commits

Author SHA1 Message Date
Matthias Clasen
b3b2d31602 Avoid warnings from running libtool --config. (#391364, Loïc Minier)
2007-01-02  Matthias Clasen  <mclasen@redhat.com>

        * configure.in: Avoid warnings from running libtool --config.
        (#391364, Loïc Minier)



svn path=/branches/glib-2-12/; revision=5195
2007-01-02 14:00:20 +00:00
Matthias Clasen
3a2d8a3db7 Return an error if the uri is bad. (#391370, Maciej Piechotka)
2007-01-02  Matthias Clasen  <mclasen@redhat.com>

        * glib/gbookmarkfile.c (g_bookmark_file_get_app_info):
        Return an error if the uri is bad. (#391370, Maciej Piechotka)



svn path=/branches/glib-2-12/; revision=5193
2007-01-02 13:55:43 +00:00
Michael Natterer
3abcde339a configure.in remove references to build/ until a proper decision has been
2007-01-02  Michael Natterer  <mitch@imendio.com>

	* configure.in
	* Makefile.am: remove references to build/ until a proper decision
	has been made what to do with it.


svn path=/branches/glib-2-12/; revision=5191
2007-01-02 13:24:13 +00:00
Matthias Clasen
7df1b30fb5 Silence autoconf warnings about datarootdir. (#391367, Loïc Minier)
2007-01-01  Matthias Clasen  <mclasen@redhat.com>

        * glib-gettextize.in: Silence autoconf warnings about
        datarootdir.  (#391367, Loïc Minier)



svn path=/branches/glib-2-12/; revision=5188
2007-01-02 06:00:45 +00:00
Matthias Clasen
b5b0b60454 Convert the recently added stricter keyfile syntax checks into critical
2007-01-01  Matthias Clasen  <mclasen@redhat.com>

        * glib/gkeyfile.c: Convert the recently added stricter
        keyfile syntax checks into critical warnings, to help apps
        which do bad things with key files. Note that the
        stricter checks will remain in place for 2.14.  (#390532,
        Loïc Minier)

        * tests/keyfile-test.c: Adapt



svn path=/branches/glib-2-12/; revision=5187
2007-01-02 05:54:42 +00:00
Matthias Clasen
ee9e7c1547 Use AC_CACHE_CHECK for the nl_langinfo check. (#304517, Lőrinczy
2006-12-27  Matthias Clasen  <mclasen@redhat.com>

        * configure.in: Use AC_CACHE_CHECK for the nl_langinfo
        check.  (#304517, Lőrinczy Zsigmond)
2006-12-28 04:39:30 +00:00
Matthias Clasen
53ca52cebd Don't modify the current locale. (#389300)
2006-12-27  Matthias Clasen  <mclasen@redhat.com>

        * glib/gunicollate.c (g_utf8_collate_key): Don't modify
        the current locale.  (#389300)
2006-12-27 05:13:51 +00:00
Matthias Clasen
065cbcb55f Silently skip tests if we can't set LC_COLLATE to en_US. (#336438)
2006-12-24  Matthias Clasen  <mclasen@redhat.com>

        * tests/run-collate-tests.sh:
        * tests/unicode-collate.c: Silently skip tests if
        we can't set LC_COLLATE to en_US.  (#336438)
2006-12-24 21:45:39 +00:00
Matthias Clasen
16e8e6414b Bump version 2006-12-20 17:40:39 +00:00
Matthias Clasen
2091fde20b 2.16.6 2006-12-20 17:22:56 +00:00
Matthias Clasen
a2f39f1295 Updates 2006-12-20 16:37:21 +00:00
Matthias Clasen
89ed772997 Accept '/', '+' and '.' in key names, since gnome-vfs uses mime types as
2006-12-19  Matthias Clasen  <mclasen@redhat.com>

        * glib/gkeyfile.c (g_key_file_is_key_name): Accept
        '/', '+' and '.' in key names, since gnome-vfs uses
        mime types as keys in some cache.
2006-12-19 21:03:01 +00:00
Matthias Clasen
f92287ebdc 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:26:02 +00:00
Matthias Clasen
3ebc073340 Readd a return which was removed as dead code a while ago. icc may
* glib/gmain.c (child_watch_helper_thread): Readd a
        return which was removed as dead code a while ago.
        icc may consider it dead, but gcc doesn't like non-void
        functions without a return...  (#354707)
2006-12-19 02:47:49 +00:00
Matthias Clasen
10914a8b4c Bump version 2006-12-18 21:34:42 +00:00
Matthias Clasen
dc32d554a1 Updates 2006-12-18 21:19:34 +00:00
Matthias Clasen
d58ffb5949 Try a different fix for bug 346373.
2006-12-18  Matthias Clasen  <mclasen@redhat.com>

        * tests/Makefile.am: Try a different fix for bug 346373.
2006-12-18 14:49:10 +00:00
Matthias Clasen
bc3463f011 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:37:05 +00:00
Matthias Clasen
a043967f21 Fix handling of '@' in locale names 2006-12-18 14:09:09 +00:00
Matthias Clasen
9abf964b73 Tighten up the check for allowed key and group names. (#343191, Tommi
2006-12-18  Matthias Clasen  <mclasen@redhat.com>

        * glib/gkeyfile.c: Tighten up the check for allowed
        key and group names.  (#343191, Tommi Komulainen)

        * tests/keyfile-test.c: Test handling of key and group names.
2006-12-18 07:28:03 +00:00
Matthias Clasen
071c5ef107 Don't use $RANDOM if the shell doesn't have it. (#346373, Thomas Klausner)
* tests/Makefile.am: Don't use $RANDOM if the shell doesn't
        have it.  (#346373, Thomas Klausner)
2006-12-18 05:04:40 +00:00
Matthias Clasen
966eeefa22 Put the G_GNUC_INTERNAL where gcc doesn't complain about it.
2006-12-17  Matthias Clasen  <mclasen@redhat.com>

        * glib/gconvert.c:
        * glib/gutf8.c (_g_charset_get_aliases): Put the G_GNUC_INTERNAL
        where gcc doesn't complain about it.

        * glib/ghash.c: Make ref_count an int to avoid compiler
        warnings.
2006-12-18 04:20:40 +00:00
Matthias Clasen
cba7bcc9cd 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:13:47 +00:00
Matthias Clasen
815367a003 Don't use "wait" as parameter name. (#379207, Christian Biere)
2006-12-17  Matthias Clasen  <mclasen@redhat.com>

        * glib/gthreadpool.h:
        * glib/gthreadpool.c (g_thread_pool_free): Don't use "wait"
        as parameter name.  (#379207, Christian Biere)
2006-12-17 20:32:38 +00:00
Matthias Clasen
7d48f998a1 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 ?
2006-12-17 18:36:47 +00:00
Matthias Clasen
c5c9a021f1 Don't use diff -u (#380801, Marek Rouchal)
* tests/run-markup-tests.sh: Don't use diff -u  (#380801,
        Marek Rouchal)
2006-12-17 17:59:01 +00:00
Matthias Clasen
3e0d721958 Fix the recent fdwalk()-related changes to not break mapping-test.
* glib/gspawn.c: Fix the recent fdwalk()-related changes
        to not break mapping-test.  (#286838, Marco Barisione)
2006-12-17 17:44:13 +00:00
Matthias Clasen
505287cbae 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:10:24 +00:00
Matthias Clasen
d9b8ae15fe Make ref_count a gint to avoid compiler warnings. (#321977, Andrew
2006-12-15  Matthias Clasen  <mclasen@redhat.com>

        * glib/giochannel.h: Make ref_count a gint to avoid
        compiler warnings.  (#321977, Andrew Paprocki)
2006-12-16 04:03:26 +00:00
Matthias Clasen
6dd6f7ed11 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:50:32 +00:00
Matthias Clasen
efffa75627 Undefine READ_OK to fix the build on old versions of Darwin. (#327800)
2006-12-15  Matthias Clasen  <mclasen@redhat.com>

        * glib/gspawn.c: Undefine READ_OK to fix the build on
        old versions of Darwin.  (#327800)
2006-12-16 03:42:52 +00:00
Matthias Clasen
03f97926ba Avoid a compiler warning.
2006-12-15  Matthias Clasen  <mclasen@redhat.com>

        * glib/guniprop.c (interval_compare): Avoid a compiler
        warning.
2006-12-15 22:12:08 +00:00
Matthias Clasen
7cebef5aaa Call set_cloexec() with the right parameters. (#386252, Guillaume
2006-12-15  Matthias Clasen  <mclasen@redhat.com>

        * glib/gspawn.c (do_exec): Call set_cloexec() with
        the right parameters.  (#386252, Guillaume Desmottes)
2006-12-15 18:26:54 +00:00
Matthias Clasen
b0ec624ad8 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:36:14 +00:00
Matthias Clasen
2fdb41e502 Don't use alloca and avoid allocating memory for small keys that are
2006-12-14  Matthias Clasen  <mclasen@redhat.com>

	* glib/gconvert.c (open_converter): Don't use alloca
	and avoid allocating memory for small keys that are
	already cached.  (#172406, Morten Welinder)
2006-12-15 04:36:11 +00:00
Matthias Clasen
c8c0251460 If the group is already there, make it current. (#385910, Joe Halliwell)
2006-12-14  Matthias Clasen  <mclasen@redhat.com>

        * glib/gkeyfile.c (g_key_file_add_group): If the group
        is already there, make it current.  (#385910, Joe Halliwell)

        * tests/keyfile-test.c: Add a test for duplicate groups/keys.

2
2006-12-14 23:14:07 +00:00
Matthias Clasen
03b00aa81e Require AC_CANONICAL_HOST in GLIB_WITH_NLS. (#385132, Laszlo Peter)
2006-12-13  Matthias Clasen  <mclasen@redhat.com>

        * m4macros/glib-gettext.m4: Require AC_CANONICAL_HOST in
        GLIB_WITH_NLS.  (#385132, Laszlo Peter)
2006-12-13 20:06:55 +00:00
Matthias Clasen
a888d8204b Use poll emulation on OS X 2006-12-12 20:04:03 +00:00
Matthias Clasen
af5e0a38b3 Don't use local numeric labels in inline assembler on AIX. (#316434, Hans
2006-12-11  Matthias Clasen  <mclasen@redhat.com>

        * glib/gatomic.c: Don't use local numeric labels in
        inline assembler on AIX.  (#316434, Hans Rosenfeld)
2006-12-11 14:22:07 +00:00
Matthias Clasen
b081948f1e Cast to const char *, not char *. (#138153, Nikolai Weibull)
2006-12-11  Matthias Clasen  <mclasen@redhat.com>

        * glib/gunicode.h (g_utf8_next_char): Cast to const char *,
        not char *.  (#138153, Nikolai Weibull)
2006-12-11 14:18:32 +00:00
Matthias Clasen
5a5bd5dff5 Apply a patch from James Henstridge for compatibility with automake 2.60
2006-11-15  Matthias Clasen  <mclasen@redhat.com>

        * m4macros/glib-gettext.m4: Apply a patch from James
        Henstridge for compatibility with automake 2.60 (#343825)
2006-11-15 19:28:12 +00:00
Behdad Esfahbod
48eba5770c Replace bash-specific == with sh-understood =. Fixes bug #373864.
2006-11-14  Behdad Esfahbod  <behdad@gnome.org>

        * sanity_check: Replace bash-specific == with sh-understood =.
        Fixes bug #373864.
2006-11-14 18:24:18 +00:00
Behdad Esfahbod
48529df59d Add $(GLIB_DEBUG_FLAGS). (#362543, Peter Kjellerstedt)
2006-10-16  Behdad Esfahbod  <behdad@gnome.org>

        * glib/gnulib/Makefile.am: Add $(GLIB_DEBUG_FLAGS).  (#362543,
        Peter Kjellerstedt)
2006-10-16 12:53:15 +00:00
Sebastian Wilhelmi
9e06eba5cf Compile errorcheck-mutex-test with thread libraries explicitly. (#74748,
2006-10-15  Sebastian Wilhelmi  <seppi@seppi.de>

        * tests/Makefile.am: Compile errorcheck-mutex-test with thread
        libraries explicitly. (#74748, Javier Villavicencio)
2006-10-15 12:18:26 +00:00
Matthias Clasen
72ed6175c1 Small portability fix 2006-10-08 19:57:26 +00:00
Tor Lillqvist
e28487de30 g_strdup the keys that we are passed before adding them to the hash
2006-10-07  Tor Lillqvist  <tml@novell.com>

	* glib/gwin32.c (get_package_directory_from_module)
	(g_win32_get_package_installation_directory): g_strdup the keys
	that we are passed before adding them to the hash tables, to guard
	against the caller freeing them. (#355955, Andreas Köhler)
2006-10-07 19:25:36 +00:00
Matthias Clasen
eb1b1c65ef Fix a typo 2006-10-06 18:44:33 +00:00
Matthias Clasen
cbb3cf61e7 Bump version 2006-10-01 23:30:00 +00:00
Matthias Clasen
906224c072 2.12.4 2006-10-01 23:22:36 +00:00
Matthias Clasen
46cfcadc9e Updates 2006-10-01 06:30:08 +00:00