platform/upstream/glib.git
16 years agoUpdates
Matthias Clasen [Mon, 4 Aug 2008 16:03:41 +0000 (16:03 +0000)]
Updates

svn path=/trunk/; revision=7295

16 years agoBug 546017 – Don't copy attributes when copying a symlink
Matthias Clasen [Mon, 4 Aug 2008 15:58:25 +0000 (15:58 +0000)]
Bug 546017 – Don't copy attributes when copying a symlink

2008-08-04  Matthias Clasen  <mclasen@redhat.com>

        Bug 546017 – Don't copy attributes when copying a symlink

        * gfile.c (g_file_copy_attributes): Specify
        G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
        g_file_set_attributes_from_info. Patch by Christian Kellner

svn path=/trunk/; revision=7294

16 years agoUpdated Korean translation
Changwoo Ryu [Mon, 4 Aug 2008 13:24:30 +0000 (13:24 +0000)]
Updated Korean translation

svn path=/trunk/; revision=7293

16 years agoBug 546079 – leak in xdgmime
Carlos Garcia Campos [Sun, 3 Aug 2008 18:49:12 +0000 (18:49 +0000)]
Bug 546079 – leak in xdgmime

2008-08-03  Carlos Garcia Campos  <carlosgc@gnome.org>

Bug 546079 – leak in xdgmime

* xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.

svn path=/trunk/; revision=7292

16 years agowin32/gwin32directorymonitor.h Whitespace cleanup to match GLib style.
Tor Lillqvist [Sun, 3 Aug 2008 00:17:39 +0000 (00:17 +0000)]
win32/gwin32directorymonitor.h Whitespace cleanup to match GLib style.

2008-08-03  Tor Lillqvist  <tml@novell.com>

* win32/gwin32directorymonitor.h
* win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
style.

svn path=/trunk/; revision=7291

16 years agoMake prototype match LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning.
Tor Lillqvist [Sun, 3 Aug 2008 00:06:39 +0000 (00:06 +0000)]
Make prototype match LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning.

2008-08-03  Tor Lillqvist  <tml@novell.com>

* win32/gwin32directorymonitor.c
(g_win32_directory_monitor_callback): Make prototype match
LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
pointer.

(g_win32_directory_monitor_constructor):
GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
names in the GLib API on Windows, so convert to UTF-16 and open
with CreateFileW().

svn path=/trunk/; revision=7290

16 years agoBug 541036 - Gnumeric crashes when trying to open Desktop or user's folder
Tor Lillqvist [Sat, 2 Aug 2008 23:51:51 +0000 (23:51 +0000)]
Bug 541036 - Gnumeric crashes when trying to open Desktop or user's folder

2008-08-03  Tor Lillqvist  <tml@novell.com>

Bug 541036 - Gnumeric crashes when trying to open Desktop or
user's folder under Windows

* win32/gwin32directorymonitor.c
(g_win32_directory_monitor_constructor): Ignore error from
CreateFile() when opening directory. Instead of asserting, just
store INVALID_HANDLE_VALUE then in
GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
ReadDirectoryChangesW().
(g_win32_directory_monitor_cancel): Don't attempt to close
directory handle if it is INVALID_HANDLE_VALUE.

svn path=/trunk/; revision=7289

16 years agoAdd 64-bit versions of GPOINTER_TO_INT(), GPOINTER_TO_UINT() and vice
Tor Lillqvist [Sat, 2 Aug 2008 11:21:14 +0000 (11:21 +0000)]
Add 64-bit versions of GPOINTER_TO_INT(), GPOINTER_TO_UINT() and vice

2008-08-02  Tor Lillqvist  <tml@novell.com>

* glibconfig.h.win32.in: Add 64-bit versions of
GPOINTER_TO_INT(), GPOINTER_TO_UINT() and vice versa, too.

svn path=/trunk/; revision=7288

16 years agoAdd gintptr and guintptr typedefs here, too, appropriately ifdeffed for
Tor Lillqvist [Sat, 2 Aug 2008 08:51:27 +0000 (08:51 +0000)]
Add gintptr and guintptr typedefs here, too, appropriately ifdeffed for

2008-08-02  Tor Lillqvist  <tml@novell.com>

* glibconfig.h.win32.in: Add gintptr and guintptr typedefs here,
too, appropriately ifdeffed for 32/64 bit, gcc/MSVC.

svn path=/trunk/; revision=7287

16 years agoBug 545954 - 64-bit issue in dirent
Tor Lillqvist [Sat, 2 Aug 2008 08:43:30 +0000 (08:43 +0000)]
Bug 545954 - 64-bit issue in dirent

2008-08-02  Tor Lillqvist  <tml@novell.com>

Bug 545954 - 64-bit issue in dirent

* win32/dirent/dirent.h: Use __int64 for the dd_handle on 64-bit
Windows. (Would use intptr_t, but that is not available before
MSVS8, and we want to keep this compilable also with MSVS6 and 7,
I think.) Thanks to Richard Hult.

svn path=/trunk/; revision=7286

16 years agoUpdates
Matthias Clasen [Fri, 1 Aug 2008 22:16:03 +0000 (22:16 +0000)]
Updates

svn path=/trunk/; revision=7285

16 years agoTypo fix
Matthias Clasen [Fri, 1 Aug 2008 22:08:40 +0000 (22:08 +0000)]
Typo fix

svn path=/trunk/; revision=7284

16 years agoAdditions
Matthias Clasen [Fri, 1 Aug 2008 21:28:54 +0000 (21:28 +0000)]
Additions

svn path=/trunk/; revision=7283

16 years agoRemove debug spew
Matthias Clasen [Fri, 1 Aug 2008 21:18:02 +0000 (21:18 +0000)]
Remove debug spew

svn path=/trunk/; revision=7282

16 years agoAdd bug ref
Matthias Clasen [Fri, 1 Aug 2008 18:36:31 +0000 (18:36 +0000)]
Add bug ref

svn path=/trunk/; revision=7281

16 years agoClarify some docs
Matthias Clasen [Fri, 1 Aug 2008 18:36:01 +0000 (18:36 +0000)]
Clarify some docs

svn path=/trunk/; revision=7280

16 years agoAdd a since
Matthias Clasen [Fri, 1 Aug 2008 18:30:37 +0000 (18:30 +0000)]
Add a since

svn path=/trunk/; revision=7279

16 years agoFix a typo
Matthias Clasen [Fri, 1 Aug 2008 18:26:30 +0000 (18:26 +0000)]
Fix a typo

svn path=/trunk/; revision=7278

16 years agoadapt to gmodule.symbols usage
Hans Breuer [Fri, 1 Aug 2008 14:17:43 +0000 (14:17 +0000)]
adapt to gmodule.symbols usage

2008-08-01  Hans Breuer  <hans@breuer.org>

* makefile.msc.in : adapt to gmodule.symbols usage

svn path=/trunk/; revision=7277

16 years agoadd gemblembedicon
Hans Breuer [Fri, 1 Aug 2008 14:15:02 +0000 (14:15 +0000)]
add gemblembedicon

2008-08-01  Hans Breuer  <hans@breuer.org>

* makefile.msc : add gemblembedicon

svn path=/trunk/; revision=7276

16 years agoUpdated Portuguese translation.
Duarte Loreto [Thu, 31 Jul 2008 10:27:05 +0000 (10:27 +0000)]
Updated Portuguese translation.

2008-07-31  Duarte Loreto <happyguy_pt@hotmail.com>

* pt.po: Updated Portuguese translation.

svn path=/trunk/; revision=7275

16 years agoBug 545457 – gdmsetup crashed with SIGSEGV in
Matthias Clasen [Wed, 30 Jul 2008 16:45:46 +0000 (16:45 +0000)]
Bug 545457 – gdmsetup crashed with SIGSEGV in

2008-07-30  Matthias Clasen  <mclasen@redhat.com>

        Bug 545457 – gdmsetup crashed with SIGSEGV in
        g_unix_mount_guess_should_display()

        * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
        crash if no mount is found.

svn path=/trunk/; revision=7274

16 years agoBug 545485 - Implicit declaration of utime()
Tor Lillqvist [Wed, 30 Jul 2008 15:35:01 +0000 (15:35 +0000)]
Bug 545485 - Implicit declaration of utime()

2008-07-30  Tor Lillqvist  <tml@novell.com>

Bug 545485 - Implicit declaration of utime()

* glib/gstdio.c: Include <utime.h> on POSIX.

svn path=/trunk/; revision=7273

16 years agoOutput to glibconfig.h typedefs for gintptr as the signed integer type
Tor Lillqvist [Wed, 30 Jul 2008 15:30:26 +0000 (15:30 +0000)]
Output to glibconfig.h typedefs for gintptr as the signed integer type

2008-07-28  Tor Lillqvist  <tml@novell.com>

* configure.in: Output to glibconfig.h typedefs for gintptr as the
signed integer type that can hold a pointer, and guintptr as the
corresponding unsigned type. These types are portable equivalents
to intptr_t and uintptr_t which are not available in all
compilers.

For all current platforms, they will presumably end up as the same
types as gssize and gsize, but in theory size_t can be smaller
than intptr_t. Also, the intended use case for gintptr and
guintptr is different from that of gssize and gsize. As the name
indicates, gintptr is for when one wants an integer type that can
hold a pointer, and gsize is for when one wants an integer type
that can hold the value of the sizeof operator.

svn path=/trunk/; revision=7272

16 years agoUpdated Galician Translation.
Ignacio Casal Quinteiro [Tue, 29 Jul 2008 14:08:40 +0000 (14:08 +0000)]
Updated Galician Translation.

svn path=/trunk/; revision=7271

16 years agoUpdated Arabic Translation by Khaled Hosny.
Djihed Afifi [Tue, 29 Jul 2008 01:28:36 +0000 (01:28 +0000)]
Updated Arabic Translation by Khaled Hosny.

svn path=/trunk/; revision=7270

16 years agoBug 545203 – gfile.c: argument is different type.
Matthias Clasen [Mon, 28 Jul 2008 19:12:19 +0000 (19:12 +0000)]
Bug 545203 – gfile.c: argument is different type.

2008-07-28  Matthias Clasen  <mclasen@redhat.com>

        Bug 545203 – gfile.c: argument is different type.

        * gfile.c (open_read_async_thread): Pass a GError **
        to g_file_set_error_literal.
        Reported by Kazuki Iwamoto

svn path=/trunk/; revision=7269

16 years agoBug 545157 – wrong/no list of "open with" applications for .cc and .cpp
Matthias Clasen [Mon, 28 Jul 2008 18:58:34 +0000 (18:58 +0000)]
Bug 545157 – wrong/no list of "open with" applications for .cc and .cpp

2008-07-28  Matthias Clasen  <mclasen@redhat.com>

        Bug 545157 – wrong/no list of "open with" applications for .cc and
        .cpp files

        * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
        Collect all ancestors, not just direct parents. Pointed
        out by Bastien Nocera

svn path=/trunk/; revision=7268

16 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Mon, 28 Jul 2008 18:26:54 +0000 (18:26 +0000)]
Updated Norwegian bokmål translation.

2008-07-28  Kjartan Maraas  <kmaraas@gnome.org>

* nb.po: Updated Norwegian bokmål translation.

svn path=/trunk/; revision=7267

16 years agoInstall gemblemedicon.h
Matthias Clasen [Mon, 28 Jul 2008 18:25:49 +0000 (18:25 +0000)]
Install gemblemedicon.h

svn path=/trunk/; revision=7266

16 years agoAdd g_markup_context_get_user_data
Matthias Clasen [Mon, 28 Jul 2008 16:52:15 +0000 (16:52 +0000)]
Add g_markup_context_get_user_data

svn path=/trunk/; revision=7265

16 years agoForgotten entry
Matthias Clasen [Mon, 28 Jul 2008 15:53:43 +0000 (15:53 +0000)]
Forgotten entry

svn path=/trunk/; revision=7264

16 years agoAdd a GIcon implementation that can add an emblem to another icon.
Matthias Clasen [Mon, 28 Jul 2008 15:35:07 +0000 (15:35 +0000)]
Add a GIcon implementation that can add an emblem to another icon.

2008-07-28  Matthias Clasen  <mclasen@redhat.com>

        * gemblemedicon.[hc]: Add a GIcon implementation that can
        add an emblem to another icon.

        * gio.h:
        * Makefile.am:
        * gio.symbols: Glue

        * gloadableicon.c:
        * gfileicon.c: Small documenatation additions.

svn path=/trunk/; revision=7263

16 years agoMessage catalogs should always get installed into share/locale nowadays,
Tor Lillqvist [Mon, 28 Jul 2008 00:36:49 +0000 (00:36 +0000)]
Message catalogs should always get installed into share/locale nowadays,

2008-07-28  Tor Lillqvist  <tml@novell.com>

* glib-zip.in: Message catalogs should always get installed into
share/locale nowadays, don't bother with the convoluted logic
checking if they are in lib/locale instead. Put the correct helper
programs in the zipfile.

svn path=/trunk/; revision=7262

16 years agoCorrect return type.
Tor Lillqvist [Mon, 28 Jul 2008 00:26:09 +0000 (00:26 +0000)]
Correct return type.

2008-07-28  Tor Lillqvist  <tml@novell.com>

* gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
type.

svn path=/trunk/; revision=7261

16 years agoFix problems on 64-bit Windows. Avoid warnings, some of which indicated
Tor Lillqvist [Mon, 28 Jul 2008 00:24:14 +0000 (00:24 +0000)]
Fix problems on 64-bit Windows. Avoid warnings, some of which indicated

2008-07-28  Tor Lillqvist  <tml@novell.com>

Fix problems on 64-bit Windows. Avoid warnings, some of which
indicated actual problems, some which were just annoyances.

Where casts to an integer type are needed for pointers, use
gssize. Technically intptr_t would be the more proper type, but we
still want to be compilable with MSVS6 and 7 which don't have
intptr_t. MSVS8 and 9 do have intptr_t, but in <crtdefs.h>, not
<stdint.h>.

Use %p to print out handles. Use gssize casts when assigning
GPollFD::fd fields.

Use G_GSIZE_FORMAT when printing size_t values.

* configure.in: Define automake conditional G_OS_WIN32_X64 which
is true on Win64.

* glib/giochannel.h: Use slightly different prototype for
g_io_channel_win32_new_messages() on Win64 with gsize instead of
guint.

* glib/giowin32.c
* glib/gmain.c
* glib/gspawn-win32.c
* tests/testglib.c: Generic changes as described above.

* glib/gmain.h: Don't bother mentioning GIMP in comment.

* glib/grel.c (tuple_hash_2): Use all bits of pointer.

* glib/gspawn-win32.c
* glib/gspawn-win32-helper.c: Use gssize types in the
communication between parent and helper process, so that we can
pass process handles, which are pointers, also on Win64.

* glib/gtimer.c (g_time_val_to_iso8601): time_t is 64 bits on
Win64 so we can't pass the address of a GTimeVal::tv_sec which is
a long directly to gmtime(). On the other hand, changing
GTimeVal::tv_sec to be a gint64 on Win64 is not really feasible
either, as that would then require changes in much code that uses
GTimeVals.

* glib/gspawn-win32.c
* glib/Makefile.am: Call the helper programs
gspawn-win64-helper.exe and gspawn-win64-helper-console.exe on
Win64, to avoid potential risk of running a 32-bit version of the
helper.

svn path=/trunk/; revision=7260

16 years agoNew file.
Tor Lillqvist [Sun, 27 Jul 2008 17:35:46 +0000 (17:35 +0000)]
New file.

2008-07-27  Tor Lillqvist  <tml@novell.com>

* gmodule.symbols: New file.

* gmodule.c: Bypass the Windows ABI compatibility symbols on
64-bit Windows. Thus no need to keep the file name in system
codepage around on 64-bit Windows either.

* Makefile.am: Produce gmodule.def from gmodule.symbols. Dist
gmodule.symbols instead of gmodule.def.

* gmodule.def: Drop from SVN.

svn path=/trunk/; revision=7259

16 years agoForgot g_io_channel_new_file
Tor Lillqvist [Sun, 27 Jul 2008 17:20:45 +0000 (17:20 +0000)]
Forgot g_io_channel_new_file

svn path=/trunk/; revision=7258

16 years agoglib/glib.symbols glib/gconvert.c glib/gdir.c glib/gfileutils.c
Tor Lillqvist [Sun, 27 Jul 2008 17:15:16 +0000 (17:15 +0000)]
glib/glib.symbols glib/gconvert.c glib/gdir.c glib/gfileutils.c

2008-07-27  Tor Lillqvist  <tml@novell.com>

* glib/glib.symbols
* glib/gconvert.c
* glib/gdir.c
* glib/gfileutils.c
* glib/giowin32.c
* glib/gspawn-win32.c
* glib/gutils.c
* glib/gwin32.c: Bypass the Windows "ABI compatibility" symbols on
_WIN64. As there hasn't been any widely deployed 64-bit Windows
builds of the really old GLib (pre-2.8.1) versions those refer to,
there is no need to have the "ABI compatibility" versions in the
DLL.

* glib/makegalias.pl: Handle #ifndef _WIN64: Just output it, too.

svn path=/trunk/; revision=7257

16 years agogtype.h Revert my change from 2008-07-24. No G_TYPE_FORMAT is needed. Just
Tor Lillqvist [Sun, 27 Jul 2008 15:58:48 +0000 (15:58 +0000)]
gtype.h Revert my change from 2008-07-24. No G_TYPE_FORMAT is needed. Just

2008-07-27  Tor Lillqvist  <tml@novell.com>

* gtype.h
* gtype.c: Revert my change from 2008-07-24. No G_TYPE_FORMAT is
needed. Just use G_GSIZE_FORMAT always when printing GType values.

svn path=/trunk/; revision=7256

16 years agoSet LIB_EXE_MACHINE_FLAG to either X86 or X64 on Windows. AC_SUBST it.
Tor Lillqvist [Sun, 27 Jul 2008 15:54:15 +0000 (15:54 +0000)]
Set LIB_EXE_MACHINE_FLAG to either X86 or X64 on Windows. AC_SUBST it.

2008-07-27  Tor Lillqvist  <tml@novell.com>

* configure.in: Set LIB_EXE_MACHINE_FLAG to either X86 or X64 on
Windows. AC_SUBST it.

* */Makefile.am: Correspondingly, pass appropriate -machine
flag to lib.exe when producing the import library for the MS
toolchain.

svn path=/trunk/; revision=7255

16 years agoUpdated Japanese translation.
Takeshi AIHANA [Sat, 26 Jul 2008 06:42:48 +0000 (06:42 +0000)]
Updated Japanese translation.

2008-07-26  Takeshi AIHANA <takeshi.aihana@gmail.com>

        * ja.po: Updated Japanese translation.

svn path=/trunk/; revision=7254

16 years agoadded new sample test to prepare for extended range random tests.
15:47:08 Tim Janik [Fri, 25 Jul 2008 13:49:00 +0000 (13:49 +0000)]
added new sample test to prepare for extended range random tests.

2008-07-25 15:47:08  Tim Janik  <timj@imendio.com>

        * glib/tests/testing.c (test_random_conversions): added new sample
        test to prepare for extended range random tests.

svn path=/trunk/; revision=7253

16 years agoAlso export a g_mount_guess_content_type_sync() function.
David Zeuthen [Thu, 24 Jul 2008 21:21:22 +0000 (21:21 +0000)]
Also export a g_mount_guess_content_type_sync() function.

2008-07-24  David Zeuthen  <davidz@redhat.com>

        * gmount.[ch]:
        * gio.symbols:
        Also export a g_mount_guess_content_type_sync() function.

svn path=/trunk/; revision=7252

16 years agoInclude <stdio.h> for FILENAME_MAX on newer mingw installations.
Tor Lillqvist [Thu, 24 Jul 2008 01:13:33 +0000 (01:13 +0000)]
Include <stdio.h> for FILENAME_MAX on newer mingw installations.

2008-07-24  Tor Lillqvist  <tml@novell.com>

* glib/gdir.c: Include <stdio.h> for FILENAME_MAX on newer mingw
installations.

svn path=/trunk/; revision=7251

16 years agoDefine G_TYPE_FORMAT as the printf format for a GType value. Either
Tor Lillqvist [Thu, 24 Jul 2008 01:11:52 +0000 (01:11 +0000)]
Define G_TYPE_FORMAT as the printf format for a GType value. Either

2008-07-24  Tor Lillqvist  <tml@novell.com>

* gtype.h: Define G_TYPE_FORMAT as the printf format for a GType
value. Either G_GSIZE_FORMAT or "lu".

* gtype.c: Use it instead of the C99 zu.

svn path=/trunk/; revision=7250

16 years agoUse G_GSIZE_FORMAT instead of the C99 "zu".
Tor Lillqvist [Thu, 24 Jul 2008 00:50:08 +0000 (00:50 +0000)]
Use G_GSIZE_FORMAT instead of the C99 "zu".

2008-07-24  Tor Lillqvist  <tml@novell.com>

* glib/gslice.c (smc_notify_free): Use G_GSIZE_FORMAT instead of
the C99 "zu".

svn path=/trunk/; revision=7249

16 years agoMust output the GLIB_USING_SYSTEM_PRINTF to glibconfig.h using the same
Tor Lillqvist [Thu, 24 Jul 2008 00:29:56 +0000 (00:29 +0000)]
Must output the GLIB_USING_SYSTEM_PRINTF to glibconfig.h using the same

2008-07-24  Tor Lillqvist  <tml@novell.com>

* configure.in: Must output the GLIB_USING_SYSTEM_PRINTF to
glibconfig.h using the same two phase code as for the other
defines in it. Can't check enable_included_printf directly in the
shell code that is the first argument to AC_CONFIG_COMMANDS().

Preset glib_cv_stack_grows=no on Windows to help
cross-compilation.

* configure.in: Enhancements for 64-bit Windows:

Handle also size_t being larger than long. It is long long
a.k.a. __int64 on the LLP64 Win64.

Set glib_void_p and glib_long correctly. Their assignments were
crossed. It hasn't mattered on LP64 platforms like all (?) 64-bit
UNIXes, but on the LLP Win64 it was wrong.

svn path=/trunk/; revision=7248

16 years agoCheck also _WIN64.
Tor Lillqvist [Wed, 23 Jul 2008 23:53:15 +0000 (23:53 +0000)]
Check also _WIN64.

2008-07-24  Tor Lillqvist  <tml@novell.com>

* glibconfig.h.win32.in: Check also _WIN64.

svn path=/trunk/; revision=7247

16 years agoMinor update to Pashto translation by Zabeeh Khan
Gil Forcada Codinachs [Wed, 23 Jul 2008 21:54:54 +0000 (21:54 +0000)]
Minor update to Pashto translation by Zabeeh Khan

svn path=/trunk/; revision=7246

16 years agoPatch for 64-bit Windows from Richard Hult.
Tor Lillqvist [Wed, 23 Jul 2008 21:05:16 +0000 (21:05 +0000)]
Patch for 64-bit Windows from Richard Hult.

2008-07-24  Tor Lillqvist  <tml@novell.com>

* glibconfig.h.win32.in: Patch for 64-bit Windows from Richard
Hult.

svn path=/trunk/; revision=7245

16 years agoFix a typo
Matthias Clasen [Wed, 23 Jul 2008 17:04:36 +0000 (17:04 +0000)]
Fix a typo

svn path=/trunk/; revision=7244

16 years agoRemove leftovers
Matthias Clasen [Wed, 23 Jul 2008 16:22:32 +0000 (16:22 +0000)]
Remove leftovers

svn path=/trunk/; revision=7243

16 years agoUpdated Italian translation.
Luca Ferretti [Wed, 23 Jul 2008 16:12:25 +0000 (16:12 +0000)]
Updated Italian translation.

2008-07-23  Luca Ferretti  <elle.uca@libero.it>

* it.po: Updated Italian translation.

svn path=/trunk/; revision=7242

16 years agoSupport setting selinux attributes
Matthias Clasen [Wed, 23 Jul 2008 04:11:02 +0000 (04:11 +0000)]
Support setting selinux attributes

svn path=/trunk/; revision=7241

16 years agoTranslation updated by Ivar Smolin
Priit Laes [Tue, 22 Jul 2008 15:51:06 +0000 (15:51 +0000)]
Translation updated by Ivar Smolin

2008-07-22  Priit Laes  <plaes at svn dot gnome dot org>

* et.po: Translation updated by Ivar Smolin

svn path=/trunk/; revision=7240

16 years agoBug 544140 - fam-helper 64-bit issue?
Priit Laes [Tue, 22 Jul 2008 14:56:31 +0000 (14:56 +0000)]
Bug 544140 - fam-helper 64-bit issue?

2008-07-22  Priit Laes <plaes@plaes.org>

Bug 544140 - fam-helper 64-bit issue?

* fam/fam-helper.c: Added missing include so compiler doesn't complain.

svn path=/trunk/; revision=7239

16 years agoSet LANG variable for group caption tests to get reproducable results.
Mathias Hasselmann [Mon, 21 Jul 2008 23:34:44 +0000 (23:34 +0000)]
Set LANG variable for group caption tests to get reproducable results.

* glib/tests/option-context.c (group_captions()):
  Set LANG variable to C in the forked process to get reproducable.
  Don't silence the forked process in --verbose mode to support
  debugging.

svn path=/trunk/; revision=7238

16 years agoFix detection of struct statfs fields.
Matthias Clasen [Mon, 21 Jul 2008 22:22:59 +0000 (22:22 +0000)]
Fix detection of struct statfs fields.

svn path=/trunk/; revision=7237

16 years agoBump version
Matthias Clasen [Mon, 21 Jul 2008 18:07:55 +0000 (18:07 +0000)]
Bump version

svn path=/trunk/; revision=7236

16 years ago2.17.4 GLIB_2_17_4
Matthias Clasen [Mon, 21 Jul 2008 17:56:17 +0000 (17:56 +0000)]
2.17.4

svn path=/trunk/; revision=7234

16 years agoUpdates
Matthias Clasen [Mon, 21 Jul 2008 17:33:33 +0000 (17:33 +0000)]
Updates

svn path=/trunk/; revision=7233

16 years agoUse the right format string to get leading zeros when converting to ISO
Emmanuele Bassi [Mon, 21 Jul 2008 16:30:16 +0000 (16:30 +0000)]
Use the right format string to get leading zeros when converting to ISO

2008-07-21  Emmanuele Bassi  <ebassi@gnome.org>

* glib/gtimer.c (g_time_val_to_iso8601): Use the right format
string to get leading zeros when converting to ISO 8601. (Sven
Herzberg)

svn path=/trunk/; revision=7232

16 years agoDo not set the timestamp value using time(), as it will be overwritten
Emmanuele Bassi [Mon, 21 Jul 2008 13:05:24 +0000 (13:05 +0000)]
Do not set the timestamp value using time(), as it will be overwritten

2008-07-21  Emmanuele Bassi  <ebassi@gnome.org>

* glib/gbookmarkfile.c:
(bookmark_app_info_new): Do not set the timestamp value
using time(), as it will be overwritten anyway. (#535223,
Michael Meeks)

(parse_application_element),
(bookmark_app_info_dump): Support the "modified" attribute,
which takes an ISO-formatted string instead of a Unix time
stamp, to keep the number of g_strdup_printf() calls to a
minimum.

* glib/gtimer.c:
(g_time_val_to_iso8601): Do not use strftime(): we know
the format and contents of the ISO 8601 date format we
use.

* tests/bookmarks/valid-03.xbel: Add a test file for the
modified attribute.

svn path=/trunk/; revision=7231

16 years agoShould save before committing :)
Michael Natterer [Mon, 21 Jul 2008 10:39:28 +0000 (10:39 +0000)]
Should save before committing :)

svn path=/trunk/; revision=7230

16 years agoReviewed by Tim Janik:
Michael Natterer [Mon, 21 Jul 2008 10:36:03 +0000 (10:36 +0000)]
Reviewed by Tim Janik:

2008-07-21  Michael Natterer  <mitch@imendio.com>

Reviewed by Tim Janik:

* gsignal.c (g_signal_chain_from_overridden_handler): allocate
the temp GValue array with GSLice.

(g_signal_emit_valist): dito. Remove optimization/obfuscation of
allocating up to 16 GValues on the stack and always use GSLice.

svn path=/trunk/; revision=7229

16 years agoBrazilian Portuguese translation improvements.
Leonardo Ferreira Fontenelle [Mon, 21 Jul 2008 02:59:04 +0000 (02:59 +0000)]
Brazilian Portuguese translation improvements.

2008-07-20  Leonardo Ferreira Fontenelle  <leonardof@gnome.org>

* pt_BR.po: Brazilian Portuguese translation improvements.

svn path=/trunk/; revision=7227

16 years agodoc fixes
Matthias Clasen [Mon, 21 Jul 2008 02:53:30 +0000 (02:53 +0000)]
doc fixes

svn path=/trunk/; revision=7226

16 years agoMore doc fixes
Matthias Clasen [Mon, 21 Jul 2008 02:46:54 +0000 (02:46 +0000)]
More doc fixes

svn path=/trunk/; revision=7225

16 years agoMore doc fixes
Matthias Clasen [Mon, 21 Jul 2008 02:32:14 +0000 (02:32 +0000)]
More doc fixes

svn path=/trunk/; revision=7224

16 years agoDoc fixes
Matthias Clasen [Mon, 21 Jul 2008 02:19:56 +0000 (02:19 +0000)]
Doc fixes

svn path=/trunk/; revision=7223

16 years agoForgotten entry
Matthias Clasen [Mon, 21 Jul 2008 02:05:31 +0000 (02:05 +0000)]
Forgotten entry

svn path=/trunk/; revision=7222

16 years agoUpdated German translation
Andre Klapper [Sun, 20 Jul 2008 22:18:00 +0000 (22:18 +0000)]
Updated German translation

2008-07-20  Andre Klapper  <a9016009@gmx.de>

        * de.po: Updated German translation

svn path=/trunk/; revision=7221

16 years agoPatch from Yu Kuan that makes watched sockets behave much better. See
Tor Lillqvist [Sun, 20 Jul 2008 20:44:39 +0000 (20:44 +0000)]
Patch from Yu Kuan that makes watched sockets behave much better. See

2008-07-20  Tor Lillqvist  <tml@novell.com>

* glib/giowin32.c (g_io_win32_prepare): Patch from Yu Kuan that
makes watched sockets behave much better. See gtk-devel-list
archives from May for the (unfortunately rather meager)
discussion. This patch fixes the presented simple test program,
which reasonably could be expected to work.

svn path=/trunk/; revision=7220

16 years agoMove another test
Matthias Clasen [Sun, 20 Jul 2008 02:09:05 +0000 (02:09 +0000)]
Move another test

svn path=/trunk/; revision=7209

16 years ago543504 – crash in Epiphany Web Browser: Opening local file
Matthias Clasen [Sun, 20 Jul 2008 00:34:58 +0000 (00:34 +0000)]
543504 – crash in Epiphany Web Browser: Opening local file

2008-07-19  Matthias Clasen  <mclasen@redhat.com>

        543504 – crash in Epiphany Web Browser: Opening local file

        * gappinfo.c:
        * gasyncresult.c:
        * gdesktopappinfo.c:
        * gdrive.c:
        * gfile.c:
        * gicon.c:
        * gloadableicon.c:
        * gmount.c:
        * gseekable.c:
        * gvolume.c: Register types thread-safely.
        Patch by Christian Persch

svn path=/trunk/; revision=7208

16 years agoAdd new api
Matthias Clasen [Sat, 19 Jul 2008 02:15:31 +0000 (02:15 +0000)]
Add new api

svn path=/trunk/; revision=7207

16 years agoRemove debug spew
Matthias Clasen [Sat, 19 Jul 2008 01:15:12 +0000 (01:15 +0000)]
Remove debug spew

svn path=/trunk/; revision=7206

16 years agoMore updates
Matthias Clasen [Sat, 19 Jul 2008 00:25:52 +0000 (00:25 +0000)]
More updates

svn path=/trunk/; revision=7205

16 years agoUpdates
Matthias Clasen [Fri, 18 Jul 2008 22:03:11 +0000 (22:03 +0000)]
Updates

svn path=/trunk/; revision=7204

16 years agoRemove a warning
Matthias Clasen [Fri, 18 Jul 2008 18:22:48 +0000 (18:22 +0000)]
Remove a warning

svn path=/trunk/; revision=7203

16 years ago Bug 536996 – Missing noop i18n macro equivalent to C_
Matthias Clasen [Fri, 18 Jul 2008 18:14:04 +0000 (18:14 +0000)]
    Bug 536996 – Missing noop i18n macro equivalent to C_

        * glib/glib.symbols:
        * glib/gstrfuncs.[hc]: Add g_dpgettext2() which is a
        variant of g_dpgettext() taking context and id as separate
        arguments.

        * glib/gi18n-lib.h:
        * glib/gi18n.h: Add an NC_() macro that is to C_() as N_()
        is to _().

svn path=/trunk/; revision=7202

16 years agoUpdates
Matthias Clasen [Fri, 18 Jul 2008 17:55:13 +0000 (17:55 +0000)]
Updates

svn path=/trunk/; revision=7201

16 years agoFix a segfault
Matthias Clasen [Fri, 18 Jul 2008 17:48:30 +0000 (17:48 +0000)]
Fix a segfault

svn path=/trunk/; revision=7200

16 years agoAdd g_content_type_guess_for_tree
Matthias Clasen [Fri, 18 Jul 2008 15:33:22 +0000 (15:33 +0000)]
Add g_content_type_guess_for_tree

svn path=/trunk/; revision=7199

16 years agoMove another test
Matthias Clasen [Fri, 18 Jul 2008 07:07:39 +0000 (07:07 +0000)]
Move another test

svn path=/trunk/; revision=7198

16 years agoMove tests around
Matthias Clasen [Fri, 18 Jul 2008 06:25:23 +0000 (06:25 +0000)]
Move tests around

svn path=/trunk/; revision=7197

16 years agoAvoid a warning when printing a pid_t. Pointed out by Morten Welinder.
Matthias Clasen [Wed, 16 Jul 2008 23:12:00 +0000 (23:12 +0000)]
Avoid a warning when printing a pid_t. Pointed out by Morten Welinder.

        * glib/gslice.c (mem_error): Avoid a warning when printing a pid_t.
        Pointed out by Morten Welinder.

svn path=/trunk/; revision=7196

16 years agoDocument that this function does accept localized infinities and nans.
Matthias Clasen [Wed, 16 Jul 2008 22:05:24 +0000 (22:05 +0000)]
Document that this function does accept localized infinities and nans.

        * glib/gstrfuncs.c (g_ascii_strtod): Document that this
        function does accept localized infinities and nans. Reported
        by Morten Welinder.

svn path=/trunk/; revision=7195

16 years agoDetect overflow and error out. Reported by Morten Welinder.
Matthias Clasen [Wed, 16 Jul 2008 21:42:48 +0000 (21:42 +0000)]
Detect overflow and error out. Reported by Morten Welinder.

        * glib/gfileutils.c (get_contents_stdio): Detect overflow and
        error out. Reported by Morten Welinder.

svn path=/trunk/; revision=7194

16 years agoUpdated Translation
Laurent Dhima [Wed, 16 Jul 2008 15:27:48 +0000 (15:27 +0000)]
Updated Translation

svn path=/trunk/; revision=7193

16 years agoAvoid a filename conflict
Matthias Clasen [Wed, 16 Jul 2008 06:30:12 +0000 (06:30 +0000)]
Avoid a filename conflict

svn path=/trunk/; revision=7192

16 years agoPlug a leak
Matthias Clasen [Wed, 16 Jul 2008 06:13:41 +0000 (06:13 +0000)]
Plug a leak

svn path=/trunk/; revision=7191

16 years agoMore documentation fixes
Matthias Clasen [Wed, 16 Jul 2008 05:49:16 +0000 (05:49 +0000)]
More documentation fixes

svn path=/trunk/; revision=7190

16 years agoImprove an error message
Matthias Clasen [Wed, 16 Jul 2008 04:28:07 +0000 (04:28 +0000)]
Improve an error message

svn path=/trunk/; revision=7189

16 years agoImprove docs
Matthias Clasen [Wed, 16 Jul 2008 04:24:56 +0000 (04:24 +0000)]
Improve docs

svn path=/trunk/; revision=7188

16 years agoSmall documentation fixes
Matthias Clasen [Wed, 16 Jul 2008 04:21:50 +0000 (04:21 +0000)]
Small documentation fixes

svn path=/trunk/; revision=7187

16 years agoAdded Entry for addition of Pashto translations by Zabeeh Khan and entry in LINGUAS
Runa Bhattacharjee [Tue, 15 Jul 2008 16:07:46 +0000 (16:07 +0000)]
Added Entry for addition of Pashto translations by Zabeeh Khan and entry in LINGUAS

svn path=/trunk/; revision=7186

16 years agoAdded Pashto (ps) to the list of languages
Runa Bhattacharjee [Tue, 15 Jul 2008 16:06:52 +0000 (16:06 +0000)]
Added Pashto (ps) to the list of languages

svn path=/trunk/; revision=7185

16 years agoAdded Pashto Translations by Zabeeh Khan
Runa Bhattacharjee [Tue, 15 Jul 2008 16:05:46 +0000 (16:05 +0000)]
Added Pashto Translations by Zabeeh Khan

svn path=/trunk/; revision=7184