platform/upstream/glib.git
16 years agoDoc update
Tomas Bzatek [Tue, 8 Apr 2008 15:56:42 +0000 (15:56 +0000)]
Doc update

2008-04-08  Tomas Bzatek  <tbzatek@redhat.com>

        * gfile.c: (g_file_replace):
        Doc update

svn path=/trunk/; revision=6841

16 years ago Bug 491554 – Update to Unicode 5.1.0
Matthias Clasen [Tue, 8 Apr 2008 02:59:05 +0000 (02:59 +0000)]
    Bug 491554 – Update to Unicode 5.1.0

        * glib/gunichartables.h:
        * glib/gunicode.h:
        * glib/gunibreak.h:
        * glib/gmirroringtable.h:
        * glib/gscripttable.h:
        * glib/gen-script-table.pl: Update to Unicode 5.1.0. Patch by
        Behdad Esfahbod

svn path=/trunk/; revision=6834

16 years ago Bug 526619 – make test-report crash
Matthias Clasen [Tue, 8 Apr 2008 02:22:37 +0000 (02:22 +0000)]
    Bug 526619 – make test-report crash

        * glib/gtester.c: Allocate enough space for argv. Patch by
         Hiroyuki Ikezoe

svn path=/trunk/; revision=6832

16 years ago Bug 526796 – Wrong order of arguments in g_file_copy's fallback
Matthias Clasen [Tue, 8 Apr 2008 01:59:47 +0000 (01:59 +0000)]
    Bug 526796 – Wrong order of arguments in g_file_copy's fallback

        * gfile.c (file_copy_fallback): Fix the argument order. Patch
        by Christian Kellner.

svn path=/trunk/; revision=6830

16 years agoAdd missing *.
Matthias Clasen [Tue, 8 Apr 2008 01:54:28 +0000 (01:54 +0000)]
Add missing *.

        * gobject/tut_howto.xml: Add missing *.

svn path=/trunk/; revision=6829

16 years agoCredits update according to #522335#c6.
Stanislav Brabec [Mon, 7 Apr 2008 08:37:16 +0000 (08:37 +0000)]
Credits update according to #522335#c6.

svn path=/trunk/; revision=6828

16 years agoMake the fix for bug 448943 work.
Matthias Clasen [Fri, 4 Apr 2008 13:06:14 +0000 (13:06 +0000)]
Make the fix for bug 448943 work.

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

        * glib/gmain.c: Make the fix for bug 448943 work.

svn path=/trunk/; revision=6826

16 years agoDon't list the user directory as a mount, fix potential issue when other
Sebastien Bacher [Fri, 4 Apr 2008 07:37:34 +0000 (07:37 +0000)]
Don't list the user directory as a mount, fix potential issue when other

2008-04-04  Sebastien Bacher  <seb128@ubuntu.com>

* gunixmounts.c: (g_unix_mount_guess_should_display):
Don't list the user directory as a mount, fix potential issue
when other users have a similar naming and don't special case the
gvfs mounts there since that's not required (#525866)

svn path=/trunk/; revision=6825

16 years agoDefine GLIB_STATIC_COMPILATION here also, if needed.
Tor Lillqvist [Thu, 3 Apr 2008 22:43:31 +0000 (22:43 +0000)]
Define GLIB_STATIC_COMPILATION here also, if needed.

2008-04-04  Tor Lillqvist  <tml@novell.com>

* glibconfig.h.win32.in: Define GLIB_STATIC_COMPILATION here also,
if needed.

svn path=/trunk/; revision=6822

16 years agoClarification.
Tor Lillqvist [Thu, 3 Apr 2008 22:09:39 +0000 (22:09 +0000)]
Clarification.

svn path=/trunk/; revision=6821

16 years agoMake sure we don't build both shared and static at the same time on
Tor Lillqvist [Thu, 3 Apr 2008 22:03:32 +0000 (22:03 +0000)]
Make sure we don't build both shared and static at the same time on

2008-04-04  Tor Lillqvist  <tml@novell.com>

* configure.in: Make sure we don't build both shared and static at
the same time on Windows. Put a #define for
GLIB_STATIC_COMPILATION into glibconfig.h in the static case, so
that the use of variables from libglib gets the dllimport stuff in
the GLIB_VAR macro as defined in gtypes.h automatically
correct. This means that a shared and static build of GLib can't
be installed in the same prefix on Windows, which sucks a bit. But
with variables in the GLib API, there isn't much we can do
otherwise. The alternative would be to force the developer who
compiles against a statically built GLib to use
-DGLIB_STATIC_COMPILATION.

svn path=/trunk/; revision=6820

16 years agoDon't enforce shared library build only on Windows. It might well make
Tor Lillqvist [Thu, 3 Apr 2008 20:17:15 +0000 (20:17 +0000)]
Don't enforce shared library build only on Windows. It might well make

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

* configure.in: Don't enforce shared library build only on
Windows. It might well make sense to build static libraries in
some use cases.

* glib/gutils.c: Don't compile the DllMain if building libglib
statically. Also in that case don't return NULL from
_glib_get_installation_directory(), but return the installation
directory of the program's .exe file.

svn path=/trunk/; revision=6818

16 years agoBug 525972 - UCS-4 not in the new win_iconv implementation
Tor Lillqvist [Thu, 3 Apr 2008 14:59:39 +0000 (14:59 +0000)]
Bug 525972 - UCS-4 not in the new win_iconv implementation

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

Bug 525972 - UCS-4 not in the new win_iconv implementation

* glib/win_iconv.c: Add UCS-4. Also add spelling of UCS-2 without
the hyphen.

svn path=/trunk/; revision=6816

16 years agoBug 448943 – g_timeout_add_seconds() problems
Matthias Clasen [Thu, 3 Apr 2008 04:51:16 +0000 (04:51 +0000)]
Bug 448943 – g_timeout_add_seconds() problems

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

        Bug 448943 – g_timeout_add_seconds() problems

        * glib/gmain.c (g_timeout_set_expiration): Prevent expiration
        time going negative. Reported by Cody Russell, analyzed by
        Olivier Crete, patch by Sjoerd Simons.

svn path=/trunk/; revision=6814

16 years agoAdd credits
Matthias Clasen [Thu, 3 Apr 2008 04:18:08 +0000 (04:18 +0000)]
Add credits

svn path=/trunk/; revision=6813

16 years agoCorrect an example
Matthias Clasen [Thu, 3 Apr 2008 04:17:19 +0000 (04:17 +0000)]
Correct an example

svn path=/trunk/; revision=6812

16 years agoFix the docs
Matthias Clasen [Thu, 3 Apr 2008 04:11:13 +0000 (04:11 +0000)]
Fix the docs

svn path=/trunk/; revision=6811

16 years agoFix the docs
Matthias Clasen [Thu, 3 Apr 2008 04:07:44 +0000 (04:07 +0000)]
Fix the docs

svn path=/trunk/; revision=6810

16 years agoBug 524314 - g_convert() on Win32 implicitly converts full width
Tor Lillqvist [Wed, 2 Apr 2008 02:43:45 +0000 (02:43 +0000)]
Bug 524314 - g_convert() on Win32 implicitly converts full width

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

Bug 524314 - g_convert() on Win32 implicitly converts full width
alphanumerics into half width

* glib/win_iconv.c: Update from Yukihiro Nakadaira. Use
WC_NO_BEST_FIT_CHARS flag for WideCharToMultiByte() unless the
//translit flag was suffixed to the codeset name.

* glib/gconvert.c: Include win_iconv.c earlier so that its
definition of WINVER before it includes <windows.h> is used.

svn path=/trunk/; revision=6808

16 years agocs.po: Updated Czech translation.
Petr Kovář [Tue, 1 Apr 2008 23:50:37 +0000 (23:50 +0000)]
cs.po: Updated Czech translation.

svn path=/trunk/; revision=6806

16 years agoDon't leak parent.
Alexander Larsson [Mon, 31 Mar 2008 20:04:24 +0000 (20:04 +0000)]
Don't leak parent.

2008-03-31  Alexander Larsson  <alexl@redhat.com>

* glocalfile.c (get_parent):
Don't leak parent.

svn path=/trunk/; revision=6801

16 years agoAlways return a GFileType enum value (#520715).
A. Walton [Mon, 31 Mar 2008 19:32:58 +0000 (19:32 +0000)]
Always return a GFileType enum value (#520715).

2008-03-31  A. Walton  <awalton@svn.gnome.org>

* gfile.c (g_file_query_file_type):
Always return a GFileType enum value (#520715).

svn path=/trunk/; revision=6799

16 years agoFix typo in changelog
Alexander Larsson [Mon, 31 Mar 2008 19:21:19 +0000 (19:21 +0000)]
Fix typo in changelog

svn path=/trunk/; revision=6797

16 years agoRead readdir() info chunks (of 1000) and sort the chunks by inode before
Alexander Larsson [Mon, 31 Mar 2008 19:18:46 +0000 (19:18 +0000)]
Read readdir() info chunks (of 1000) and sort the chunks by inode before

2008-03-31  Alexander Larsson  <alexl@redhat.com>

        * glocalfileenumerator.c:
Read readdir() info chunks (of 1000) and sort
the chunks by inode before stat:ing.
This is a 20% performance increase in testing
gvfs-ls on /usr/bin with cold cache.

svn path=/trunk/; revision=6796

16 years agoImprove fix for #525192 below: Use SleepEx() so that the sleep is
Tor Lillqvist [Mon, 31 Mar 2008 18:05:47 +0000 (18:05 +0000)]
Improve fix for #525192 below: Use SleepEx() so that the sleep is

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

* glib/gmain.c (g_poll): Improve fix for #525192 below: Use
SleepEx() so that the sleep is alertable. Thanks to John
Ehresman.

svn path=/trunk/; revision=6794

16 years agoClarify docs for g_memory_output_stream_get_size. Add
Alexander Larsson [Mon, 31 Mar 2008 13:49:46 +0000 (13:49 +0000)]
Clarify docs for g_memory_output_stream_get_size. Add

2008-03-31  Alexander Larsson  <alexl@redhat.com>

        * gmemoryoutputstream.c:
Clarify docs for g_memory_output_stream_get_size.
Add g_memory_output_stream_get_data_size.

svn path=/trunk/; revision=6792

16 years agoFix Cygwin breakage. Patch by Lieven van der Heide.
Tor Lillqvist [Mon, 31 Mar 2008 13:41:03 +0000 (13:41 +0000)]
Fix Cygwin breakage. Patch by Lieven van der Heide.

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

* glib/gwin32.c
(g_win32_get_package_installation_directory_of_module): Fix Cygwin
breakage. Patch by Lieven van der Heide.

svn path=/trunk/; revision=6790

16 years agoreapply inlining fix from r6333 to fix: Bug 522292 - Gives warnings in
10:39:17 Tim Janik [Mon, 31 Mar 2008 08:52:23 +0000 (08:52 +0000)]
reapply inlining fix from r6333 to fix: Bug 522292 - Gives warnings in

2008-03-31 10:39:17  Tim Janik  <timj@imendio.com>

        * glib/gutils.h: reapply inlining fix from r6333 to fix:
        Bug 522292 - Gives warnings in glib/gutils.h with GCC in C99 mode
        and again:
        Bug 315437 - extern inline -> static inline

svn path=/trunk/; revision=6789

16 years agoBug 525192 - 100% CPU if run main loop with no IO sources
Tor Lillqvist [Mon, 31 Mar 2008 07:37:17 +0000 (07:37 +0000)]
Bug 525192 - 100% CPU if run main loop with no IO sources

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

Bug 525192 - 100% CPU if run main loop with no IO sources

* glib/gmain.c (g_poll) [Win32]: Patch by Neil Roberts.

svn path=/trunk/; revision=6787

16 years agoAdd g_file_query_file_type convenience function to query the type of a
Matthias Clasen [Mon, 31 Mar 2008 04:46:22 +0000 (04:46 +0000)]
Add g_file_query_file_type convenience function to query the type of a

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

        * gio.symbols:
        * gfile.c:
        * gfile.h: Add g_file_query_file_type convenience function
        to query the type of a file.  (#520715, Mikkel Kamstrup Erlandsen)

svn path=/trunk/; revision=6784

16 years agoDon't use ARG_MAX. (#522335, patch by Sebastian Dröge)
Matthias Clasen [Mon, 31 Mar 2008 04:22:55 +0000 (04:22 +0000)]
Don't use ARG_MAX. (#522335, patch by Sebastian Dröge)

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

        * glib/gtester.c: Don't use ARG_MAX.  (#522335, patch by
        Sebastian Dröge)

svn path=/trunk/; revision=6782

16 years agoAdd macros wrapping the gcc alloc_size function attribute. (#523019,
Matthias Clasen [Mon, 31 Mar 2008 04:17:22 +0000 (04:17 +0000)]
Add macros wrapping the gcc alloc_size function attribute. (#523019,

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

        * glib/gmacros.h: Add macros wrapping the gcc alloc_size
        function attribute.  (#523019, Rodrigo Moya)

        * glib/gmem.h:
        * glib/gslice.h:
        * glib/gstrfuncs.h: Use the new attribute where appropriate.

svn path=/trunk/; revision=6781

16 years agoSimple fixes to help building GLib on embedded systems without NLS.
Matthias Clasen [Mon, 31 Mar 2008 03:52:57 +0000 (03:52 +0000)]
Simple fixes to help building GLib on embedded systems without NLS.

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

        * glib/glibintl.h:
        * glib/gstrfuncs.c:
        * glib/gutils.c: Simple fixes to help building GLib on
        embedded systems without NLS.  (#524350, Peter Kjellerstedt)

svn path=/trunk/; revision=6779

16 years agoFix the build with -DG_DISABLE_ASSERT. (#525060, Arfrever Frehtes
Matthias Clasen [Mon, 31 Mar 2008 03:45:28 +0000 (03:45 +0000)]
Fix the build with -DG_DISABLE_ASSERT. (#525060, Arfrever Frehtes

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

        * glib/ghash.c: Fix the build with -DG_DISABLE_ASSERT.
        (#525060, Arfrever Frehtes Taifersar Arahesis)

svn path=/trunk/; revision=6777

16 years agoReplace occurrances of G_GNUC_PRETTY_FUNCTION by G_STRFUNC. (#524344,
Matthias Clasen [Mon, 31 Mar 2008 03:39:00 +0000 (03:39 +0000)]
Replace occurrances of G_GNUC_PRETTY_FUNCTION by G_STRFUNC. (#524344,

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

        * glib/gthread.h: Replace occurrances of G_GNUC_PRETTY_FUNCTION
        by G_STRFUNC.  (#524344, Peter, Kjellerstedt)

svn path=/trunk/; revision=6775

16 years agoFix some documentation typos. (#524950, Rob Bradford)
Matthias Clasen [Mon, 31 Mar 2008 03:30:48 +0000 (03:30 +0000)]
Fix some documentation typos. (#524950, Rob Bradford)

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

        * gfileenumerator.c:
        * gfile.c: Fix some documentation typos.  (#524950, Rob Bradford)

svn path=/trunk/; revision=6773

16 years agoFix a doc typo. (#524742, Hiroyuki Ikezoe)
Matthias Clasen [Mon, 31 Mar 2008 03:17:54 +0000 (03:17 +0000)]
Fix a doc typo. (#524742, Hiroyuki Ikezoe)

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

        * glib/gtestutils.c: Fix a doc typo. (#524742, Hiroyuki Ikezoe)

svn path=/trunk/; revision=6771

16 years agoAdds GIO_EXTRA_MODULES environment variable support, closing bug #523039.
A. Walton [Fri, 28 Mar 2008 14:31:09 +0000 (14:31 +0000)]
Adds GIO_EXTRA_MODULES environment variable support, closing bug #523039.

2008-03-28  A. Walton  <awalton@svn.gnome.org>

* giomodule.c (_g_io_modules_ensure_loaded):
Adds GIO_EXTRA_MODULES environment variable support, closing bug
#523039.

svn path=/trunk/; revision=6768

16 years agoFix up last commit.
Alexander Larsson [Fri, 28 Mar 2008 13:57:29 +0000 (13:57 +0000)]
Fix up last commit.

2008-03-28  Alexander Larsson  <alexl@redhat.com>

        * gfile.c:
        (copy_stream_with_progress):
Fix up last commit.

svn path=/trunk/; revision=6766

16 years agoFix ChangeLog entry
Alexander Larsson [Fri, 28 Mar 2008 12:44:37 +0000 (12:44 +0000)]
Fix ChangeLog entry

svn path=/trunk/; revision=6765

16 years agoFallback to g_file_query_info for source size if
Alexander Larsson [Fri, 28 Mar 2008 12:43:11 +0000 (12:43 +0000)]
Fallback to g_file_query_info for source size if

2008-03-28  Alexander Larsson  <alexl@redhat.com>

        * gfile.c:
        (copy_stream_with_progress):
        (file_copy_fallback):
Fallback to g_file_query_info for source size
if g_file_input_stream_query_info fails. (#524579)

svn path=/trunk/; revision=6763

16 years agoReuse old string instead of adding new one.
Alexander Larsson [Fri, 28 Mar 2008 11:44:04 +0000 (11:44 +0000)]
Reuse old string instead of adding new one.

2008-03-28  Alexander Larsson  <alexl@redhat.com>

* glocalfile.c (g_local_file_move):
Reuse old string instead of adding new one.

svn path=/trunk/; revision=6762

16 years agostill copyright issue. I hate copyright.
Lin Ma [Fri, 28 Mar 2008 09:30:52 +0000 (09:30 +0000)]
still copyright issue. I hate copyright.

2008-03-28  Lin Ma  <Lin.Ma@Sun.COM>

* fen/*.[hc]: still copyright issue. I hate copyright.

svn path=/trunk/; revision=6760

16 years agoReturn G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
Alexander Larsson [Thu, 27 Mar 2008 20:13:00 +0000 (20:13 +0000)]
Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving

2008-03-27  Alexander Larsson  <alexl@redhat.com>

* glocalfile.c (g_local_file_move):
Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
file over directory. This is according to the docs and what the move via
copy+remove fallback does.

svn path=/trunk/; revision=6758

16 years agoUpdated copyright.
Lin Ma [Thu, 27 Mar 2008 09:14:54 +0000 (09:14 +0000)]
Updated copyright.

2008-03-27  Lin Ma  <Lin.Ma@Sun.COM>

* fen/*.[hc]: Updated copyright.

svn path=/trunk/; revision=6757

16 years agoUpdate Vietnamese translation
Nguyễn Thái Ngọc Duy [Sun, 23 Mar 2008 09:21:27 +0000 (09:21 +0000)]
Update Vietnamese translation

2008-03-23  Nguyễn Thái Ngọc Duy <pclouds@gmail.com>

* vi.po: Update Vietnamese translation

svn path=/trunk/; revision=6754

16 years agoBug 523877 – gbookmarkfile: avoid using g_string_append_printf() and
Claudio Saavedra [Sat, 22 Mar 2008 23:52:39 +0000 (23:52 +0000)]
Bug 523877 – gbookmarkfile: avoid using g_string_append_printf() and

2008-03-22  Claudio Saavedra  <csaavedra@gnome.org>

Bug 523877 – gbookmarkfile: avoid using g_string_append_printf() and
other optimizations

* glib/gbookmarkfile.c: (bookmark_metadata_dump),
(bookmark_item_dump), (g_bookmark_file_dump), (expand_exec_line):
Replace all calls to g_string_append_printf with g_strconcat () or
g_string_append () where appropriate, to reduce the file creation time.
Also, use g_string_sized_new () with an appropriate buffer size instead
of g_string_new (NULL), to reduce time spent in memory reallocation.
(#523877, Claudio Saavedra, Emmanuele Bassi)

svn path=/trunk/; revision=6752

16 years agoBug 518160 - replace two g_strdup_printf calls in GBookmarkFile
Emmanuele Bassi [Sat, 22 Mar 2008 17:01:52 +0000 (17:01 +0000)]
Bug 518160 - replace two g_strdup_printf calls in GBookmarkFile

2008-03-22  Emmanuele Bassi  <ebassi@gnome.org>

Bug 518160 - replace two g_strdup_printf calls in GBookmarkFile

* glib/gbookmarkfile.c (is_element_full): Compare the fragments
instead of building two strings; this avoids two g_strdup_printf()
per namespaced element enountered. (#518160, Felix Riemann)

svn path=/trunk/; revision=6751

16 years agoUpdated Slovenian translation
Matej Urbančič [Fri, 21 Mar 2008 18:12:32 +0000 (18:12 +0000)]
Updated Slovenian translation

svn path=/trunk/; revision=6748

16 years agoFinal fixes for struct statfs.f_fstypename checks (OpenBSD). (#521045)
Alexander Larsson [Thu, 20 Mar 2008 11:44:12 +0000 (11:44 +0000)]
Final fixes for struct statfs.f_fstypename checks (OpenBSD). (#521045)

2008-03-20  Alexander Larsson  <alexl@redhat.com>

        * configure.in:
Final fixes for struct statfs.f_fstypename checks (OpenBSD). (#521045)
Patch from ephraim_owns@hotmail.com

svn path=/trunk/; revision=6746

16 years agoTranslation updated by Ivar Smolin
Priit Laes [Thu, 20 Mar 2008 09:50:40 +0000 (09:50 +0000)]
Translation updated by Ivar Smolin

2008-03-20  Priit Laes  <plaes at svn dot gnome dot org>

* et.po: Translation updated by Ivar Smolin

svn path=/trunk/; revision=6745

16 years agoRemoved a bad formatted msg.
Lin Ma [Thu, 20 Mar 2008 09:49:41 +0000 (09:49 +0000)]
Removed a bad formatted msg.

2008-03-20  Lin Ma  <Lin.Ma@Sun.COM>

* fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.

svn path=/trunk/; revision=6744

16 years agoFixed FEN does not emit attribute changed events when optimizing changed
Lin Ma [Thu, 20 Mar 2008 09:40:28 +0000 (09:40 +0000)]
Fixed FEN does not emit attribute changed events when optimizing changed

2008-03-20  Lin Ma  <Lin.Ma@Sun.COM>

        * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
        not emit attribute changed events when optimizing changed events.
        * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
warning messages.

svn path=/trunk/; revision=6743

16 years agoBug 523298 - win_iconv can't convert from UTF-8 to GB18030 (or vice versa)
Tor Lillqvist [Thu, 20 Mar 2008 02:40:23 +0000 (02:40 +0000)]
Bug 523298 - win_iconv can't convert from UTF-8 to GB18030 (or vice versa)

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

Bug 523298 - win_iconv can't convert from UTF-8 to GB18030 (or vice versa)

* glib/win_iconv.c: Fixes for code page 54936 (GB18030)
(mbtowc_flags): New function. Check if a code page is one of those
for which the dwFlags parameter to MultiByteToWideChar() must be
zero. Return 0 or MB_ERR_INVALID_CHARS.
(mbcs_mblen): New function for multi-byte (more than two bytes for
some characters) code pages. Only handles 54936 for now.
(make_csconv): Use it for 54936.
(kernel_mbtowc): Use mbtowc_flags().

svn path=/trunk/; revision=6741

16 years agoDoc additions
Matthias Clasen [Wed, 19 Mar 2008 20:54:49 +0000 (20:54 +0000)]
Doc additions

svn path=/trunk/; revision=6740

16 years agoDocument GVFS_DISABLE_FUSE
Matthias Clasen [Wed, 19 Mar 2008 20:36:56 +0000 (20:36 +0000)]
Document GVFS_DISABLE_FUSE

svn path=/trunk/; revision=6739

16 years agoconsider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
Sebastien Bacher [Wed, 19 Mar 2008 14:07:00 +0000 (14:07 +0000)]
consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)

2008-03-19  Sebastien Bacher  <seb128@ubuntu.com>

* gunixmounts.c: (guess_mount_type):
consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)

svn path=/trunk/; revision=6737

16 years agoBump block side for copy to 64k to minimize overhead for low latency
Alexander Larsson [Wed, 19 Mar 2008 12:16:20 +0000 (12:16 +0000)]
Bump block side for copy to 64k to minimize overhead for low latency

2008-03-19  Alexander Larsson  <alexl@redhat.com>

        * gfile.c:
        (copy_stream_with_progress):
Bump block side for copy to 64k to minimize
overhead for low latency links. (#523015)

svn path=/trunk/; revision=6735

16 years agoBug 522292 - Gives warnings in glib/gutils.h with GCC in C99 mode
Sebastian Dröge [Tue, 18 Mar 2008 20:06:04 +0000 (20:06 +0000)]
Bug 522292 - Gives warnings in glib/gutils.h with GCC in C99 mode
* glib/gutils.h: Use "__attribute__ ((__gnu_inline__))" for inlining
if either __GNUC_STDC_INLINE__ or __GNUC_GNU_INLINE__ are defined. In
gcc version prior to 4.3 no correct C99-inline was implemented which
has semantic differences to GNU inline.

svn path=/trunk/; revision=6733

16 years agoUpdated Translation
Laurent Dhima [Tue, 18 Mar 2008 15:56:50 +0000 (15:56 +0000)]
Updated Translation

svn path=/trunk/; revision=6732

16 years agoUpdated Greek translation by Giannis Katsampiris
Simos Xenitellis [Tue, 18 Mar 2008 10:54:17 +0000 (10:54 +0000)]
Updated Greek translation by Giannis Katsampiris

svn path=/trunk/; revision=6729

16 years agoUpdated Translation
Laurent Dhima [Tue, 18 Mar 2008 10:02:26 +0000 (10:02 +0000)]
Updated Translation

svn path=/trunk/; revision=6728

16 years agoUpdated zh_CN translation from manphiz
Yang Zhang [Mon, 17 Mar 2008 04:13:31 +0000 (04:13 +0000)]
Updated zh_CN translation from manphiz

svn path=/trunk/; revision=6724

16 years agoDon't bother defining Autoconf variables for glib.def, gmodule.def,
Tor Lillqvist [Sun, 16 Mar 2008 10:16:57 +0000 (10:16 +0000)]
Don't bother defining Autoconf variables for glib.def, gmodule.def,

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

* configure.in: Don't bother defining Autoconf variables for
glib.def, gmodule.def, gobject.def and gthread.def when this can
be handled easily in */Makefile.am which are the only files that
use them. Remove also TESTGMODULE_EXP which isn't used at all.

* */Makefile.am: Corrsponding changes.

svn path=/trunk/; revision=6722

16 years agoMake libgio-2.0.la depend on gio.def on Windows.
Tor Lillqvist [Sun, 16 Mar 2008 09:30:21 +0000 (09:30 +0000)]
Make libgio-2.0.la depend on gio.def on Windows.

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

* Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
depend on gio.def on Windows.

svn path=/trunk/; revision=6721

16 years agoTranslation updated
Gabor Kelemen [Sun, 16 Mar 2008 01:07:11 +0000 (01:07 +0000)]
Translation updated

2008-03-16  Gabor Kelemen  <kelemeng@gnome.hu>

* hu.po: Translation updated

svn path=/trunk/; revision=6720

16 years agoUpdated Russian translation.
Yuri Kozlov [Sat, 15 Mar 2008 22:55:43 +0000 (22:55 +0000)]
Updated Russian translation.

2008-03-15  Yuri Kozlov <kozlov.y@gmail.com>

* ru.po: Updated Russian translation.

svn path=/trunk/; revision=6717

16 years agoUpdated Slovak translation.
Marcel Telka [Sat, 15 Mar 2008 14:04:08 +0000 (14:04 +0000)]
Updated Slovak translation.

2008-03-15  Marcel Telka  <marcel@telka.sk>

* sk.po: Updated Slovak translation.

svn path=/trunk/; revision=6715

16 years agoMake up an ending for this sentence.
Matthias Clasen [Sat, 15 Mar 2008 00:40:47 +0000 (00:40 +0000)]
Make up an ending for this sentence.

svn path=/trunk/; revision=6714

16 years agomake it possible to disable single-file includes by defining
Michael Natterer [Fri, 14 Mar 2008 19:30:38 +0000 (19:30 +0000)]
make it possible to disable single-file includes by defining

2008-03-14  Michael Natterer  <mitch@imendio.com>

* glib/*.h: make it possible to disable single-file includes by
defining G_DISABLE_SINGLE_INCLUDES when building against GLib.
Approved by Tim Janik.

* glib/glib.h: include <glib/gslice.h>.

* glib/gi18n.h
* glib/gi18n-lib.h
* glib/gprintf.h: include <glib.h> so the above works when these
files are included without including <glib.h> first.

svn path=/trunk/; revision=6713

16 years agoAdd g_unix_mount_monitor_set_rate_limit() function (#521946)
David Zeuthen [Fri, 14 Mar 2008 11:18:59 +0000 (11:18 +0000)]
Add g_unix_mount_monitor_set_rate_limit() function (#521946)

2008-03-12  David Zeuthen  <davidz@redhat.com>

* gio.symbols:
* gunixmounts.[ch]:
Add g_unix_mount_monitor_set_rate_limit() function (#521946)

svn path=/trunk/; revision=6711

16 years agoAvoid redudant tests (#521851) Patch from Josselin Mouette
Alexander Larsson [Fri, 14 Mar 2008 11:15:49 +0000 (11:15 +0000)]
Avoid redudant tests (#521851) Patch from Josselin Mouette

2008-03-14  Alexander Larsson  <alexl@redhat.com>

        * gunixmounts.c:
        (guess_mount_type):
Avoid redudant tests (#521851)
Patch from Josselin Mouette

svn path=/trunk/; revision=6710

16 years agoFix C89 issue (#521672) Patch from Jens Granseuer
Alexander Larsson [Fri, 14 Mar 2008 11:06:01 +0000 (11:06 +0000)]
Fix C89 issue (#521672) Patch from Jens Granseuer

2008-03-14  Alexander Larsson  <alexl@redhat.com>

        * gfilemonitor.c:
        (g_file_monitor_is_cancelled):
Fix C89 issue (#521672)
Patch from Jens Granseuer

svn path=/trunk/; revision=6708

16 years agoShut down fam (including removing fam GSource) when module is unloaded
Alexander Larsson [Fri, 14 Mar 2008 11:02:42 +0000 (11:02 +0000)]
Shut down fam (including removing fam GSource) when module is unloaded

2008-03-14  Alexander Larsson  <alexl@redhat.com>

        * fam/fam-helper.[ch]:
        * fam/fam-module.c:
Shut down fam (including removing fam GSource) when
module is unloaded (#521513)
Patch from Joe Marcus Clarke

svn path=/trunk/; revision=6706

16 years agoFix up FEN ifdefs
Alexander Larsson [Fri, 14 Mar 2008 09:45:44 +0000 (09:45 +0000)]
Fix up FEN ifdefs

2008-03-14  Alexander Larsson  <alexl@redhat.com>

        * giomodule.c:
        (_g_io_modules_ensure_loaded):
Fix up FEN ifdefs

svn path=/trunk/; revision=6705

16 years agoUse right define name for f_fstypename member check
Alexander Larsson [Fri, 14 Mar 2008 09:19:09 +0000 (09:19 +0000)]
Use right define name for f_fstypename member check

2008-03-14  Alexander Larsson  <alexl@redhat.com>

        * glocalfile.c:
        (g_local_file_query_filesystem_info):
Use right define name for f_fstypename member check

2008-03-14  Alexander Larsson  <alexl@redhat.com>

        * configure.in:
Add required includes for f_fstypename member check.

svn path=/trunk/; revision=6703

16 years agoAdded. Added. Added. Added. Added. Added. Added. Added. Added. Added.
Alexander Larsson [Fri, 14 Mar 2008 08:58:24 +0000 (08:58 +0000)]
Added. Added. Added. Added. Added. Added. Added. Added. Added. Added.

2008-03-14  Alexander Larsson  <alexl@redhat.com>

        * Makefile.am:
        * fen/Makefile.am: Added.
        * fen/fen-data.[ch]: Added.
        * fen/fen-dump.[ch]: Added.
        * fen/fen-helper.[ch]: Added.
        * fen/fen-kernel.[ch]: Added.
        * fen/fen-missing.[ch]: Added.
        * fen/fen-node.[ch]: Added.
        * fen/fen-sub.[ch]: Added.
        * fen/gfendirectorymonitor.[ch]: Added.
        * fen/gfenfilemonitor.[ch]: Added.
        * giomodule.c:
Added Solaris FEN file notification backend.
Patch from Lin Ma <Lin.Ma@Sun.COM>

svn path=/trunk/; revision=6702

16 years agoAdd lib/gio-2.0.lib and lib/gio-2.0.def.
Tor Lillqvist [Thu, 13 Mar 2008 17:12:03 +0000 (17:12 +0000)]
Add lib/gio-2.0.lib and lib/gio-2.0.def.

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

* glib-zip.in: Add lib/gio-2.0.lib and lib/gio-2.0.def.

svn path=/trunk/; revision=6701

16 years agoActually use the gio.def file when linking the library on Windows. Produce
Tor Lillqvist [Thu, 13 Mar 2008 17:10:04 +0000 (17:10 +0000)]
Actually use the gio.def file when linking the library on Windows. Produce

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

* Makefile.am: Actually use the gio.def file when linking the
library on Windows. Produce .lib library for Microsoft's toolchain
when possible. Install the .lib and .def file like for the other
libraries of GLib.

svn path=/trunk/; revision=6700

16 years agoInclude live-g-file in standard set of tests, making a temporary directory
Tomas Bzatek [Thu, 13 Mar 2008 16:32:31 +0000 (16:32 +0000)]
Include live-g-file in standard set of tests, making a temporary directory

2008-03-13  Tomas Bzatek  <tbzatek@redhat.com>

        * tests/live-g-file.c:
        Include live-g-file in standard set of tests, making a temporary
        directory in source structure.

        Clean target directory before the tests (write mode only)

svn path=/trunk/; revision=6699

16 years agoExpand gio/win32/Makefile.
Tor Lillqvist [Wed, 12 Mar 2008 19:09:11 +0000 (19:09 +0000)]
Expand gio/win32/Makefile.

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

* configure.in: Expand gio/win32/Makefile.

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

Bug 517419 - gio win32 directory monitor
Implementation by Vlad Grecescu.

* win32/Makefile.am
* win32/gwin32directorymonitor.h
* win32/gwin32directorymonitor.c: New files.

* giomodule.c: Set up the GWin32DirectoryMonitor plumbing.

* Makefile.am: Add the win32 subdirectory.

svn path=/trunk/; revision=6698

16 years agoIntroduce a macro GLocalFileStat that is the normal struct stat on Unix
Tor Lillqvist [Wed, 12 Mar 2008 18:33:59 +0000 (18:33 +0000)]
Introduce a macro GLocalFileStat that is the normal struct stat on Unix

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

* glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
normal struct stat on Unix but struct _stati64 on Windows to have
access to 64-bit file size information. Use that instead of struct
stat in the functions declared here in this private header.

* glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
warnings about unused functions and variables. Don't set
meaningless attributes like inode numbers on Windows.

svn path=/trunk/; revision=6697

16 years agog_file_contains_file() doesn't exist anymore
Benjamin Otte [Wed, 12 Mar 2008 16:47:06 +0000 (16:47 +0000)]
g_file_contains_file() doesn't exist anymore

2008-03-12  Benjamin Otte  <otte@gnome.org>

* gio/gio-sections.txt:
g_file_contains_file() doesn't exist anymore

svn path=/trunk/; revision=6696

16 years agotrim whitespace so gtk-doc groks the function name
Benjamin Otte [Wed, 12 Mar 2008 16:45:43 +0000 (16:45 +0000)]
trim whitespace so gtk-doc groks the function name

2008-03-12  Benjamin Otte  <otte@gnome.org>

* gvfs.h:
trim whitespace so gtk-doc groks the function name

svn path=/trunk/; revision=6695

16 years agoBump version
Matthias Clasen [Wed, 12 Mar 2008 16:19:10 +0000 (16:19 +0000)]
Bump version

svn path=/trunk/; revision=6694

16 years agoRotate ChangeLog
Matthias Clasen [Wed, 12 Mar 2008 16:13:54 +0000 (16:13 +0000)]
Rotate ChangeLog

svn path=/trunk/; revision=6693

16 years agoBug 316221 - G_LOCK warns about breaking strict-aliasing rules
Sebastian Dröge [Wed, 12 Mar 2008 15:36:38 +0000 (15:36 +0000)]
Bug 316221 - G_LOCK warns about breaking strict-aliasing rules
* configure.in:
* glib/gthread.h: Prevent the compiler from warning about breaking
strict-aliasing rules when using gcc 4.3 and G_LOCK on C sources.

svn path=/trunk/; revision=6691

16 years agoUpdated Dutch translation by Wouter Bolsterlee.
Wouter Bolsterlee [Wed, 12 Mar 2008 15:04:22 +0000 (15:04 +0000)]
Updated Dutch translation by Wouter Bolsterlee.

2008-03-12  Wouter Bolsterlee  <wbolster@svn.gnome.org>

* nl.po: Updated Dutch translation by Wouter Bolsterlee.

svn path=/trunk/; revision=6690

16 years agoImplement as empty, returning FALSE, on Win32.
Tor Lillqvist [Wed, 12 Mar 2008 13:16:54 +0000 (13:16 +0000)]
Implement as empty, returning FALSE, on Win32.

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

* glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
returning FALSE, on Win32.

svn path=/trunk/; revision=6689

16 years agoUpdated Galician Translation.
Ignacio Casal Quinteiro [Wed, 12 Mar 2008 09:59:34 +0000 (09:59 +0000)]
Updated Galician Translation.

svn path=/trunk/; revision=6688

16 years agominor update in pt_BR
Jonh Wendell S. Santana [Wed, 12 Mar 2008 00:06:09 +0000 (00:06 +0000)]
minor update in pt_BR

svn path=/trunk/; revision=6687

16 years agoBug 520914 - win_iconv doesn't support UCS-2
Tor Lillqvist [Wed, 12 Mar 2008 00:04:52 +0000 (00:04 +0000)]
Bug 520914 - win_iconv doesn't support UCS-2

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

Bug 520914 - win_iconv doesn't support UCS-2

* glib/win_iconv.c: Make UCS-2 just an alias for
UTF-16. Technically this is wrong of course, but shouldn't matter
an awful lot in practice.

svn path=/trunk/; revision=6686

16 years agosv.po: Updated Swedish translation
Daniel Nylander [Tue, 11 Mar 2008 20:23:16 +0000 (20:23 +0000)]
sv.po: Updated Swedish translation

svn path=/trunk/; revision=6684

16 years agoUpdated Catalan translation
Gil Forcada Codinachs [Tue, 11 Mar 2008 19:12:57 +0000 (19:12 +0000)]
Updated Catalan translation

svn path=/trunk/; revision=6683

16 years agoUpdated British English translation.
Philip Withnall [Tue, 11 Mar 2008 17:30:39 +0000 (17:30 +0000)]
Updated British English translation.

2008-03-11  Philip Withnall  <pwithnall@svn.gnome.org>

* en_GB.po: Updated British English translation.

svn path=/trunk/; revision=6682

16 years agoupdated Turkish translation
Baris Cicek [Tue, 11 Mar 2008 17:06:49 +0000 (17:06 +0000)]
updated Turkish translation

svn path=/trunk/; revision=6681

16 years agoBug 521591 – g_markup_parse_context_parse() creates GError message that
Murray Cumming [Tue, 11 Mar 2008 15:43:25 +0000 (15:43 +0000)]
Bug 521591 – g_markup_parse_context_parse() creates GError message that

2008-03-11  Murray Cumming  <murrayc@murrayc.com>

Bug 521591 – g_markup_parse_context_parse() creates GError message that
is invalid UTF8.

* glib/gmarkup.c (set_error): Make sure that the GError::message is
valid UTF-8 even if it is complaining about invalid UTF-8 in the
markup text, using _g_utf8_make_valid().

svn path=/trunk/; revision=6680

16 years agoCorrectly implement can_trash by actually looking for a trash dir, not
Alexander Larsson [Tue, 11 Mar 2008 14:48:28 +0000 (14:48 +0000)]
Correctly implement can_trash by actually looking for a trash dir, not

2008-03-11  Alexander Larsson  <alexl@redhat.com>

        * glocalfile.c:
        * glocalfileinfo.[ch]:
Correctly implement can_trash by actually
looking for a trash dir, not just assuming
one exists.

svn path=/trunk/; revision=6679

16 years agoUpdated Basque translation.
Inaki Larranaga Murgoitio [Tue, 11 Mar 2008 13:17:24 +0000 (13:17 +0000)]
Updated Basque translation.

2008-03-11  Inaki Larranaga Murgoitio  <dooteo@euskalgnu.org>

* eu.po: Updated Basque translation.

svn path=/trunk/; revision=6678

16 years agoUpdated Japanese translation.
Takeshi AIHANA [Tue, 11 Mar 2008 11:50:34 +0000 (11:50 +0000)]
Updated Japanese translation.

2008-03-11  Takeshi AIHANA <takeshi.aihana@gmail.com>

        * ja.po: Updated Japanese translation.

svn path=/trunk/; revision=6677