4266 Commits

Author SHA1 Message Date
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
Adam Weinberger
6c8fe8c55d Updated Canadian English translation.
2006-12-17  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.
2006-12-17 19:13:11 +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
81bfe6e056 Silence autoconf 2.60 2006-12-17 18:34:15 +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
c9a28c0879 Fri Dec 15 2006 Matthias Clasen <mclasen@redhat.com>
* gtype.c (instance_real_class_get): Dereference the pointer
        before dropping the lock.  (#378078, Jonathan Matthew)
2006-12-16 04:34:03 +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
2de47d13d3 broken pipe 2006-12-14 23:14:23 +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
5156c201b8 broken pipe 2006-12-11 14:22:44 +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
Djihed Afifi
7b7adbaa06 Updated Arabic Translation. 2006-12-01 11:08:05 +00:00
Laurent Dhima
bd9d2ea305 Updated Albanian Translation.
* sq.po: Updated Albanian Translation.
2006-11-25 10:13:29 +00:00
Djihed Afifi
79e69a76e8 Updated Arabic Translation. Updated + QA'ed 2006-11-24 14:08:23 +00:00
Pawan Chitrakar
c78059b143 Updated Nepali Translation 2006-11-21 06:38:53 +00:00
Matic Zgur
f3c6f741c4 Updated Polish translation by GNOME PL Team.
2006-11-18  Matic Zgur  <mr.zgur@gmail.com>

	* pl.po: Updated Polish translation by GNOME PL Team.
2006-11-18 17:43:34 +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
Djihed Afifi
a656b13106 Updated Arabic Translation. 2006-11-11 12:45:40 +00:00
Yair Hershkovitz
bceae37b70 updated hebrew translation 2006-10-31 15:19:16 +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
Kjartan Maraas
515f49e4ec Updated Norwegian bokmål translation.
2006-10-16  Kjartan Maraas  <kmaraas@gnome.org>

	* nb.po: Updated Norwegian bokmål translation.
2006-10-16 11:40:31 +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 GLIB_2_12_4 2006-10-01 23:22:36 +00:00
Matthias Clasen
46cfcadc9e Updates 2006-10-01 06:30:08 +00:00
Matthias Clasen
c484b995c3 Improve example. (#367625, Ross Burton)
2006-10-01  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/option.sgml: Improve example.  (#367625, Ross Burton)
2006-10-01 06:06:02 +00:00
Matthias Clasen
62d8d0b825 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:51:15 +00:00
Matthias Clasen
1b3e6f8427 Fix typos in doc comments. (#358421, Tom Tromey)
2006-10-01  Matthias Clasen  <mclasen@redhat.com>

	* glib/gmain.c: Fix typos in doc comments.
	(#358421, Tom Tromey)
2006-10-01 05:34:06 +00:00