platform/upstream/glib.git
16 years agoImprove Windows-specific parts of documentation. Mention the different C
Tor Lillqvist [Sat, 21 Jun 2008 11:36:24 +0000 (11:36 +0000)]
Improve Windows-specific parts of documentation. Mention the different C

2008-06-21  Tor Lillqvist  <tml@novell.com>

* glib/gstdio.c: Improve Windows-specific parts of
documentation. Mention the different C library issue in more
places.

svn path=/trunk/; revision=7068

16 years agoRemove duplicated entries. They are documented and should be shown.
Stefan Kost [Sat, 21 Jun 2008 11:33:53 +0000 (11:33 +0000)]
Remove duplicated entries. They are documented and should be shown.

* docs/reference/gobject/gobject-sections.txt:
  Remove duplicated entries. They are documented and should be shown.

svn path=/trunk/; revision=7067

16 years agoMigrating docs.
Stefan Kost [Sat, 21 Jun 2008 11:27:45 +0000 (11:27 +0000)]
Migrating docs.

* docs/reference/gobject/tmpl/enumerations_flags.sgml:
* gobject/genums.c:
* gobject/genums.h:
  Migrating docs.

svn path=/trunk/; revision=7066

16 years agoMigrating docs.
Stefan Kost [Sat, 21 Jun 2008 10:19:58 +0000 (10:19 +0000)]
Migrating docs.

* docs/reference/gobject/tmpl/gboxed.sgml:
* gobject/gboxed.c:
* gobject/gboxed.h:
* gobject/gvaluetypes.c:
  Migrating docs.

svn path=/trunk/; revision=7065

16 years agoBug 316221 - G_LOCK warns about breaking strict-aliasing rules
Sebastian Dröge [Fri, 20 Jun 2008 11:29:25 +0000 (11:29 +0000)]
Bug 316221 - G_LOCK warns about breaking strict-aliasing rules
* configure.in:
* glib/gthread.h: Revert previous patch as it doesn't improve the
situation and results in other warnings.

svn path=/trunk/; revision=7064

16 years agoBug 539123 – annotate g_d[n]gettext with G_GNUC_FORMAT
Christian Persch [Thu, 19 Jun 2008 14:09:42 +0000 (14:09 +0000)]
Bug 539123 – annotate g_d[n]gettext with G_GNUC_FORMAT

svn path=/trunk/; revision=7062

16 years agoBug 539074 - Cannot get exit status with g_spawn_command_line_sync()
Tor Lillqvist [Thu, 19 Jun 2008 07:13:36 +0000 (07:13 +0000)]
Bug 539074 - Cannot get exit status with g_spawn_command_line_sync()

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

Bug 539074 - Cannot get exit status with g_spawn_command_line_sync()

* glib/gspawn-win32-helper.c (main): Write also the exit status of
the spawned process to the error report pipe. Patch by Hiroyuki
Ikezoe.

svn path=/trunk/; revision=7060

16 years agoAnnotate functions
Matthias Clasen [Thu, 19 Jun 2008 05:21:29 +0000 (05:21 +0000)]
Annotate functions

svn path=/trunk/; revision=7059

16 years agofix a comment
Matthias Clasen [Thu, 19 Jun 2008 04:40:15 +0000 (04:40 +0000)]
fix a comment

svn path=/trunk/; revision=7058

16 years agoset tv_usec to 0 rather than 1 when a fraction of a second is not
Matthias Clasen [Thu, 19 Jun 2008 04:14:25 +0000 (04:14 +0000)]
set tv_usec to 0 rather than 1 when a fraction of a second is not

        * glib/gtimer.c (g_time_val_from_iso8601): set tv_usec to 0 rather
        than 1 when a fraction of a second is not specified
        (g_time_val_from_iso8601): calculate a fraction of a second
        correctly even in case it does not happen to consist of exactly
        six digits; do not allow random data after the ISO 8601 string,
        only whitespace
        (make g_time_val_to_iso8601): support fractions of a second
        Patch by Peter Kjellerstedt

        * tests/testglib.c: Update to match

svn path=/trunk/; revision=7057

16 years agoDon't do fallback for user-home and user-desktop to avoid problems with
Matthias Clasen [Thu, 19 Jun 2008 03:30:17 +0000 (03:30 +0000)]
Don't do fallback for user-home and user-desktop to avoid problems with

        * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
        to avoid problems with partial icon themes.

svn path=/trunk/; revision=7056

16 years agobits and pieces from gtk-2-12 and gunix*.[hc] to make the file chooser
Hans Breuer [Tue, 17 Jun 2008 21:40:04 +0000 (21:40 +0000)]
bits and pieces from gtk-2-12 and gunix*.[hc] to make the file chooser

2008-06-17  Hans Breuer  <hans@breuer.org>

        * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
        gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
access again on win32, see bug #538127
        * giomodule.c : ensure GWin32VolumeMonitor is registered
        * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
        * Makefile.am makefile.msc : updated

svn path=/trunk/; revision=7055

16 years agofixed the date
Hans Breuer [Mon, 16 Jun 2008 20:35:48 +0000 (20:35 +0000)]
fixed the date

svn path=/trunk/; revision=7053

16 years agodeclaration and initialization in one step avoids c99ism
Hans Breuer [Mon, 16 Jun 2008 20:34:42 +0000 (20:34 +0000)]
declaration and initialization in one step avoids c99ism

2008-05-19  Hans Breuer  <hans@breuer.org>

* glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
and initialization in one step avoids c99ism

svn path=/trunk/; revision=7052

16 years agoUse g_set_error_literal where appropriate. Patch from bug #535947.
Christian Persch [Mon, 16 Jun 2008 16:53:58 +0000 (16:53 +0000)]
Use g_set_error_literal where appropriate. Patch from bug #535947.

svn path=/trunk/; revision=7051

16 years agoAdd g_set_error_literal. Bug #535947.
Christian Persch [Mon, 16 Jun 2008 16:41:01 +0000 (16:41 +0000)]
Add g_set_error_literal. Bug #535947.

svn path=/trunk/; revision=7050

16 years agoBug 538362 - Get Win32 icons back in the file chooser
Tor Lillqvist [Mon, 16 Jun 2008 13:23:14 +0000 (13:23 +0000)]
Bug 538362 - Get Win32 icons back in the file chooser

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

Bug 538362 - Get Win32 icons back in the file chooser

* gcontenttype.c (g_content_type_get_icon): Look up the icon
corresponding to a file extension in the Registry. Patch by Hans
Breuer.
(get_registry_classes_key): Handle also REG_EXPAND_SZ type values.

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

Patches by Hans Breuer:

* glocalfile.c (is_xp_or_later): Handle compiling against older
SDK headers with missing VerifyVersionInfo().  Conditioned on
_MSC_VER, but should probably use some better test.
* glocalfile.c (g_local_file_query_filesystem_info): Don't test
uninitialised statfs_result variable on Win32.

svn path=/trunk/; revision=7049

16 years agochain up unconditionally in finalize() and dispose(). Also don't
Michael Natterer [Mon, 16 Jun 2008 09:54:04 +0000 (09:54 +0000)]
chain up unconditionally in finalize() and dispose(). Also don't

2008-06-16  Michael Natterer  <mitch@imendio.com>

* *.c: chain up unconditionally in finalize() and dispose(). Also
don't dereference these function pointers when calling them since
that has no meaning at all.

svn path=/trunk/; revision=7048

16 years agoPut my changelog entries in the right changelog, whoops
Ross Burton [Mon, 16 Jun 2008 09:31:20 +0000 (09:31 +0000)]
Put my changelog entries in the right changelog, whoops

svn path=/trunk/; revision=7047

16 years agochanged return value to const gchar* to fix warning.
Michael Natterer [Mon, 16 Jun 2008 09:25:57 +0000 (09:25 +0000)]
changed return value to const gchar* to fix warning.

2008-06-16  Michael Natterer  <mitch@imendio.com>

* glib/goption.c (dgettext_swapped): changed return value to
const gchar* to fix warning.

svn path=/trunk/; revision=7046

16 years agoRemove check for dispose implementation as it annoys Emmanuele.
Ross Burton [Mon, 16 Jun 2008 09:16:25 +0000 (09:16 +0000)]
Remove check for dispose implementation as it annoys Emmanuele.

2008-06-16  Ross Burton  <ross@burtonini.com>

* gio/gfileenumerator.c:
Remove check for dispose implementation as it annoys Emmanuele.

svn path=/trunk/; revision=7045

16 years agoBug 536252 – GFileEnumerator should allow access to the containing GFile
Ross Burton [Mon, 16 Jun 2008 08:49:08 +0000 (08:49 +0000)]
Bug 536252 – GFileEnumerator should allow access to the containing GFile

2008-06-16  Ross Burton  <ross@burtonini.com>

Bug 536252 – GFileEnumerator should allow access to the containing
GFile

* gio/gfileenumerator.c:
* gio/gfileenumerator.h:
* gio/gfile.h:
Add g_file_enumerator_get_container() and a container writeable
construct-only property.  Also shuffle around typedefs to make it
compile.

* gio/glocalfileenumerator.c:
* gio/glocalfileenumerator.h:
* gio/glocalfile.c:
Instead of a string filename take a GFile in the constructor and
use it to set the container property.

* gio/gio.symbols:
* docs/reference/gio/gio-sections.txt:
Update with new API.

svn path=/trunk/; revision=7044

16 years agoMake includes more uniform
Matthias Clasen [Mon, 16 Jun 2008 04:36:03 +0000 (04:36 +0000)]
Make includes more uniform

svn path=/trunk/; revision=7043

16 years agoAdditions
Matthias Clasen [Sun, 15 Jun 2008 01:50:24 +0000 (01:50 +0000)]
Additions

svn path=/trunk/; revision=7042

16 years agoMove docs around
Matthias Clasen [Sun, 15 Jun 2008 00:49:30 +0000 (00:49 +0000)]
Move docs around

svn path=/trunk/; revision=7041

16 years agoDocument break types
Matthias Clasen [Sun, 15 Jun 2008 00:20:03 +0000 (00:20 +0000)]
Document break types

svn path=/trunk/; revision=7040

16 years agoAdd docs
Matthias Clasen [Sun, 15 Jun 2008 00:04:59 +0000 (00:04 +0000)]
Add docs

svn path=/trunk/; revision=7039

16 years agoAdd docs
Matthias Clasen [Sun, 15 Jun 2008 00:03:54 +0000 (00:03 +0000)]
Add docs

svn path=/trunk/; revision=7038

16 years agoDon't leak the pipes to child processes. Patch by Thiago Macieira.
Matthias Clasen [Fri, 13 Jun 2008 14:11:03 +0000 (14:11 +0000)]
Don't leak the pipes to child processes. Patch by Thiago Macieira.

        * glib/gmain.c (g_main_context_init_pipe): Don't leak the
        pipes to child processes. Patch by Thiago Macieira.

svn path=/trunk/; revision=7037

16 years agoto get the default translation target on win32 use g_win32_get_locale()
Hans Breuer [Fri, 13 Jun 2008 08:05:33 +0000 (08:05 +0000)]
to get the default translation target on win32 use g_win32_get_locale()

2008-06-13  Hans Breuer  <hans@breuer.org>

* glib/gstrfuncs.c : to get the default translation target on
win32 use g_win32_get_locale() instead of setlocale(LS_MESSAGES,NULL)
Fixes bug #538044

* glib/makefile.msc.in gio/makefile.msc : updated

svn path=/trunk/; revision=7036

16 years agoUse less fancy unicode filenames, so the test doesn't fail on Mac OS X
Yevgen Muntyan [Fri, 13 Jun 2008 03:56:26 +0000 (03:56 +0000)]
Use less fancy unicode filenames, so the test doesn't fail on Mac OS X

2008-06-12  Yevgen Muntyan  <muntyan@tamu.edu>

* tests/live-g-file.c (sample_struct):
        Use less fancy unicode filenames, so the test doesn't fail
        on Mac OS X (#531476).

svn path=/trunk/; revision=7035

16 years agobump version
Matthias Clasen [Thu, 12 Jun 2008 18:39:50 +0000 (18:39 +0000)]
bump version

svn path=/trunk/; revision=7034

16 years ago2.17.2 GLIB_2_17_2
Matthias Clasen [Thu, 12 Jun 2008 18:37:44 +0000 (18:37 +0000)]
2.17.2

svn path=/trunk/; revision=7032

16 years agoBump version
Matthias Clasen [Thu, 12 Jun 2008 17:23:35 +0000 (17:23 +0000)]
Bump version

svn path=/trunk/; revision=7031

16 years ago2.17.1 GLIB_2_17_1
Matthias Clasen [Thu, 12 Jun 2008 17:21:49 +0000 (17:21 +0000)]
2.17.1

svn path=/trunk/; revision=7029

16 years agoadditions
Matthias Clasen [Thu, 12 Jun 2008 15:47:26 +0000 (15:47 +0000)]
additions

svn path=/trunk/; revision=7028

16 years agoRemove mention of G_WIN32_PRETEND_WIN9X
Matthias Clasen [Thu, 12 Jun 2008 12:59:28 +0000 (12:59 +0000)]
Remove mention of  G_WIN32_PRETEND_WIN9X

svn path=/trunk/; revision=7027

16 years agoAdd g_file_make_directory_with_parents.
Ross Burton [Thu, 12 Jun 2008 10:51:34 +0000 (10:51 +0000)]
Add g_file_make_directory_with_parents.

2008-06-12  Ross Burton  <ross@burtonini.com>

* gio/gio-sections.txt:
Add g_file_make_directory_with_parents.

svn path=/trunk/; revision=7026

16 years agoTesting documentation fixups
Matthias Clasen [Thu, 12 Jun 2008 06:20:04 +0000 (06:20 +0000)]
Testing documentation fixups

svn path=/trunk/; revision=7025

16 years agoDocumentation fixups
Matthias Clasen [Thu, 12 Jun 2008 06:18:14 +0000 (06:18 +0000)]
Documentation fixups

svn path=/trunk/; revision=7024

16 years agoTiny doc fix
Matthias Clasen [Thu, 12 Jun 2008 03:55:32 +0000 (03:55 +0000)]
Tiny doc fix

svn path=/trunk/; revision=7023

16 years agoRemove an erroneous @returns
Matthias Clasen [Thu, 12 Jun 2008 03:25:56 +0000 (03:25 +0000)]
Remove an erroneous @returns

svn path=/trunk/; revision=7022

16 years agoupdates
Matthias Clasen [Thu, 12 Jun 2008 03:15:42 +0000 (03:15 +0000)]
updates

svn path=/trunk/; revision=7021

16 years agoBug 503071 – Application direction changes to right to left even if
Behdad Esfahbod [Wed, 11 Jun 2008 23:37:49 +0000 (23:37 +0000)]
Bug 503071 – Application direction changes to right to left even if

2008-06-11  Behdad Esfahbod  <behdad@gnome.org>

        Bug 503071 – Application direction changes to right to left even if
        theres no translation

        * glib/gi18n-lib.h:
        * glib/glib.symbols:
        * glib/gstrfuncs.h:
        * glib/gstrfuncs.c:
        Add new functions g_dgettext() and g_dngettext().

        * glib/gutils.c (glib_gettext):
        * glib/gfileutils.c (g_format_size_for_display):
        * glib/goption.c (dgettext_swapped):
        Use the new functions.

svn path=/trunk/; revision=7020

16 years agohex, I mean it
Matthias Clasen [Wed, 11 Jun 2008 22:00:06 +0000 (22:00 +0000)]
hex, I mean it

svn path=/trunk/; revision=7019

16 years agoUpdated Arabic Translation by Khaled Hosny.
Djihed Afifi [Wed, 11 Jun 2008 21:36:42 +0000 (21:36 +0000)]
Updated Arabic Translation by Khaled Hosny.

svn path=/trunk/; revision=7018

16 years agoUse po/LINGUAS
Matthias Clasen [Wed, 11 Jun 2008 20:31:44 +0000 (20:31 +0000)]
Use po/LINGUAS

svn path=/trunk/; revision=7017

16 years agoFix broken test case.
A. Walton [Wed, 11 Jun 2008 20:02:31 +0000 (20:02 +0000)]
Fix broken test case.

2008-06-11  A. Walton  <awalton@gnome.org>

* tests/g-file.c (test_g_file_new_null):
Fix broken test case.

svn path=/trunk/; revision=7016

16 years agoHandle strfxrm returning -1 a little better. Problem pointed out by Takao
Matthias Clasen [Wed, 11 Jun 2008 19:38:35 +0000 (19:38 +0000)]
Handle strfxrm returning -1 a little better. Problem pointed out by Takao

        * glib/gunicollate.c (g_utf8_collate_key): Handle strfxrm returning
        -1 a little better. Problem pointed out by Takao Fujiwara

svn path=/trunk/; revision=7015

16 years agoFix make check
Matthias Clasen [Wed, 11 Jun 2008 18:58:56 +0000 (18:58 +0000)]
Fix make check

svn path=/trunk/; revision=7014

16 years agoAllow PLT entry for g_clear_error
Matthias Clasen [Wed, 11 Jun 2008 18:50:17 +0000 (18:50 +0000)]
Allow PLT entry for g_clear_error

svn path=/trunk/; revision=7013

16 years agoAdd Since tag to goffset
Matthias Clasen [Wed, 11 Jun 2008 18:35:38 +0000 (18:35 +0000)]
Add Since tag to goffset

svn path=/trunk/; revision=7012

16 years agoFix typos Noticed by Areg Beketovski
Matthias Clasen [Wed, 11 Jun 2008 18:25:44 +0000 (18:25 +0000)]
Fix typos Noticed by Areg Beketovski

        * glib/tmpl/macros_misc.sgml:
        * gobject/tmpl/gclosure.sgml:
        * gobject/tmpl/gtype.sgml: Fix typos
        Noticed by Areg Beketovski

svn path=/trunk/; revision=7011

16 years agog_win32_error_message() works fine for the Winsock WSA* error codes, too,
Tor Lillqvist [Wed, 11 Jun 2008 18:06:46 +0000 (18:06 +0000)]
g_win32_error_message() works fine for the Winsock WSA* error codes, too,

2008-06-11  Tor Lillqvist  <tml@novell.com>

* glib/giowin32.c: g_win32_error_message() works fine for the
Winsock WSA* error codes, too, so drop the winsock_error_message()
function.

svn path=/trunk/; revision=7010

16 years agoFix a typo
Matthias Clasen [Wed, 11 Jun 2008 17:56:49 +0000 (17:56 +0000)]
Fix a typo

svn path=/trunk/; revision=7009

16 years agomore doc fixage
Matthias Clasen [Wed, 11 Jun 2008 17:47:53 +0000 (17:47 +0000)]
more doc fixage

svn path=/trunk/; revision=7008

16 years agoImprove docs
Matthias Clasen [Wed, 11 Jun 2008 17:03:11 +0000 (17:03 +0000)]
Improve docs

svn path=/trunk/; revision=7007

16 years agoImprove docs
Matthias Clasen [Wed, 11 Jun 2008 17:00:57 +0000 (17:00 +0000)]
Improve docs

svn path=/trunk/; revision=7006

16 years agoDoc improvements
Matthias Clasen [Wed, 11 Jun 2008 16:35:53 +0000 (16:35 +0000)]
Doc improvements

svn path=/trunk/; revision=7005

16 years agofix some docs
Matthias Clasen [Wed, 11 Jun 2008 16:27:22 +0000 (16:27 +0000)]
fix some docs

svn path=/trunk/; revision=7004

16 years agoImprove the docs
Matthias Clasen [Wed, 11 Jun 2008 16:17:56 +0000 (16:17 +0000)]
Improve the docs

svn path=/trunk/; revision=7003

16 years agoImprove the docs
Matthias Clasen [Wed, 11 Jun 2008 15:58:02 +0000 (15:58 +0000)]
Improve the docs

svn path=/trunk/; revision=7002

16 years agoBug 511367 - add g_file_make_directory_with_parents.
Ross Burton [Wed, 11 Jun 2008 15:48:06 +0000 (15:48 +0000)]
Bug 511367 - add g_file_make_directory_with_parents.

2008-06-11  Ross Burton  <ross@burtonini.com>

Bug 511367 - add g_file_make_directory_with_parents.

* gio/gfile.c:
* gio/gfile.h:
* gio/gio.symbols: Add g_file_make_directory_with_parents.

svn path=/trunk/; revision=7001

16 years ago Bug 528717 – Misprint in the description of the parameter
Matthias Clasen [Wed, 11 Jun 2008 15:01:11 +0000 (15:01 +0000)]
    Bug 528717 – Misprint in the description of the parameter
        'type_id' for the interface g_type_register_fundamental

        * gobject/tmpl/gtype.sgml: Remove references to GTypeFundamentals
        Pointed out by Areg Beketovski

svn path=/trunk/; revision=7000

16 years agoFix docs
Matthias Clasen [Wed, 11 Jun 2008 14:58:42 +0000 (14:58 +0000)]
Fix docs

svn path=/trunk/; revision=6999

16 years agorevert unintended change
Matthias Clasen [Wed, 11 Jun 2008 14:25:18 +0000 (14:25 +0000)]
revert unintended change

svn path=/trunk/; revision=6998

16 years agoDon't unref before last use
Matthias Clasen [Wed, 11 Jun 2008 14:05:45 +0000 (14:05 +0000)]
Don't unref before last use

svn path=/trunk/; revision=6997

16 years agoBug 531900 – Use __builtin_offsetof for G_STRUCT_OFFSET if building
Sebastian Dröge [Wed, 11 Jun 2008 07:37:45 +0000 (07:37 +0000)]
Bug 531900 – Use __builtin_offsetof for G_STRUCT_OFFSET if building
with gcc 4.0 or newer
* glib/gmacros.h: Use __builtin_offsetof for G_STRUCT_OFFSET if
building with gcc 4.0 or newer.

svn path=/trunk/; revision=6996

16 years agoglib/gmain.c Clarify what a "child pid" is in the doc comments.
Tor Lillqvist [Wed, 11 Jun 2008 06:57:22 +0000 (06:57 +0000)]
glib/gmain.c Clarify what a "child pid" is in the doc comments.

2008-06-11  Tor Lillqvist  <tml@novell.com>

* glib/gmain.c
* glib/gspawn.c: Clarify what a "child pid" is in the doc
comments.

svn path=/trunk/; revision=6995

16 years agoAdditions
Matthias Clasen [Tue, 10 Jun 2008 17:54:24 +0000 (17:54 +0000)]
Additions

svn path=/trunk/; revision=6994

16 years ago Bug 536158 – also bump GHashTable version when a node is removed via
Matthias Clasen [Tue, 10 Jun 2008 17:03:15 +0000 (17:03 +0000)]
    Bug 536158 – also bump GHashTable version when a node is removed via
        g_hash_table_iter_remove()/g_hash_table_iter_steal()

        * glib/ghash.c (iter_remove_or_steal): Bump the hash table
        version. Patch by Jean-Yves Lefort

svn path=/trunk/; revision=6993

16 years ago Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
Matthias Clasen [Tue, 10 Jun 2008 16:56:25 +0000 (16:56 +0000)]
    Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
        folder

        * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
        as icon for the desktop directory, also make user-home and
        user-desktop the preferred icons.

svn path=/trunk/; revision=6992

16 years agoAdd g_themed_icon_prepend_name
Matthias Clasen [Tue, 10 Jun 2008 16:45:54 +0000 (16:45 +0000)]
Add g_themed_icon_prepend_name

svn path=/trunk/; revision=6991

16 years ago Bug 537392 – Additional colon in xattr name
Matthias Clasen [Tue, 10 Jun 2008 15:55:31 +0000 (15:55 +0000)]
    Bug 537392 – Additional colon in xattr name

        * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
        too. Reported by  Alessandro Morandi

svn path=/trunk/; revision=6990

16 years agoFix attribution
Matthias Clasen [Tue, 10 Jun 2008 15:38:42 +0000 (15:38 +0000)]
Fix attribution

svn path=/trunk/; revision=6989

16 years ago Bug 536641 – Filesystem querying in gio does not list AFS and autofs
Matthias Clasen [Tue, 10 Jun 2008 15:37:41 +0000 (15:37 +0000)]
    Bug 536641 – Filesystem querying in gio does not list AFS and autofs
        file systems

        * glocalfile.c (get_fs_type): Add afs and autofs.
        Patch by Danny Baumann.

svn path=/trunk/; revision=6988

16 years ago Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
Matthias Clasen [Tue, 10 Jun 2008 15:27:39 +0000 (15:27 +0000)]
    Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")

        * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
        is no parent.  (Owen Taylor, patch by Christian Persch)

svn path=/trunk/; revision=6987

16 years agofixed documentation regarding type checking macros that do and do not
14:06:34 Tim Janik [Tue, 10 Jun 2008 12:07:18 +0000 (12:07 +0000)]
fixed documentation regarding type checking macros that do and do not

2008-06-10 14:06:34  Tim Janik  <timj@imendio.com>

        * gobject/tmpl/gtype.sgml: fixed documentation regarding type checking
        macros that do and do not issue warnings.

svn path=/trunk/; revision=6986

16 years agog_type_class_ref() comment fixes.
Tim Janik [Tue, 10 Jun 2008 11:41:34 +0000 (11:41 +0000)]
g_type_class_ref() comment fixes.

svn path=/trunk/; revision=6985

16 years agodo not leak the output stream.
Paolo Borelli [Tue, 10 Jun 2008 11:40:45 +0000 (11:40 +0000)]
do not leak the output stream.

2008-06-10  Paolo Borelli  <pborelli@katamail.com>

* gfile.c (g_file_replace_contents): do not leak the output stream.

svn path=/trunk/; revision=6984

16 years agoadded race condition tester from Michael Meeks with a couple fixes so it's
13:34:01 Tim Janik [Tue, 10 Jun 2008 11:35:46 +0000 (11:35 +0000)]
added race condition tester from Michael Meeks with a couple fixes so it's

2008-06-10 13:34:01  Tim Janik  <timj@imendio.com>

        * tests/threadtests.c: added race condition tester from Michael Meeks
        with a couple fixes so it's not triggering development warnings. From:
        Bug 537555 - GObject instantiation not thread safe ...

svn path=/trunk/; revision=6983

16 years agofixed race condition where references to partially initialized classes
13:15:29 Tim Janik [Tue, 10 Jun 2008 11:26:50 +0000 (11:26 +0000)]
fixed race condition where references to partially initialized classes

2008-06-10 13:15:29  Tim Janik  <timj@imendio.com>

        * gtype.c (g_type_class_ref): fixed race condition where references to
        partially initialized classes could be handed out.

svn path=/trunk/; revision=6982

16 years agofix SEGV by not using uninitialized memory as array index.
Michael Natterer [Tue, 10 Jun 2008 10:51:29 +0000 (10:51 +0000)]
fix SEGV by not using uninitialized memory as array index.

2008-06-10  Michael Natterer  <mitch@imendio.com>

* gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
uninitialized memory as array index.

svn path=/trunk/; revision=6981

16 years agoAdd TODO comments.
Tor Lillqvist [Tue, 10 Jun 2008 10:35:20 +0000 (10:35 +0000)]
Add TODO comments.

2008-06-10  Tor Lillqvist  <tml@novell.com>

* gcontenttype.c (g_content_type_get_icon) [Win32]:
Add TODO comments.

svn path=/trunk/; revision=6980

16 years agoAdd TODO comment.
Tor Lillqvist [Tue, 10 Jun 2008 10:34:02 +0000 (10:34 +0000)]
Add TODO comment.

2008-06-10  Tor Lillqvist  <tml@novell.com>

* gcontenttype.c (g_content_type_can_be_executable) [Win32]: Add
TODO comment.

svn path=/trunk/; revision=6979

16 years agoUpdated Thai translation.
Theppitak Karoonboonyanan [Tue, 10 Jun 2008 09:06:11 +0000 (09:06 +0000)]
Updated Thai translation.

2008-06-10  Theppitak Karoonboonyanan  <thep@linux.thai.net>

* th.po: Updated Thai translation.

svn path=/trunk/; revision=6978

16 years agoFix the build
Matthias Clasen [Mon, 9 Jun 2008 21:38:35 +0000 (21:38 +0000)]
Fix the build

svn path=/trunk/; revision=6977

16 years agoUse icons from the shared mime database, if available.
Matthias Clasen [Mon, 9 Jun 2008 17:33:43 +0000 (17:33 +0000)]
Use icons from the shared mime database, if available.

svn path=/trunk/; revision=6976

16 years agoSync with upstream
Matthias Clasen [Mon, 9 Jun 2008 16:45:19 +0000 (16:45 +0000)]
Sync with upstream

svn path=/trunk/; revision=6975

16 years agoCosmetics.
Tor Lillqvist [Mon, 9 Jun 2008 03:49:14 +0000 (03:49 +0000)]
Cosmetics.

svn path=/trunk/; revision=6973

16 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Sat, 7 Jun 2008 18:40:42 +0000 (18:40 +0000)]
Updated Norwegian bokmål translation.

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

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

svn path=/trunk/; revision=6972

16 years agoDefine X_OK if not defined (MSVC).
Tor Lillqvist [Sat, 7 Jun 2008 04:03:47 +0000 (04:03 +0000)]
Define X_OK if not defined (MSVC).

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

* glib/gstdio.c (g_access): Define X_OK if not defined (MSVC).

svn path=/trunk/; revision=6970

16 years agoBug 531403 - g_utf8_collate broken on Mac.
Yevgen Muntyan [Mon, 2 Jun 2008 19:35:15 +0000 (19:35 +0000)]
Bug 531403 - g_utf8_collate broken on Mac.

2008-06-02  Yevgen Muntyan  <muntyan@tamu.edu>

Bug 531403 - g_utf8_collate broken on Mac.

* glib/gunicollate.c:  (g_utf8_collate): use UCCompareTextDefault;
        (collate_key_to_string), (carbon_collate_key_with_collator),
        (carbon_collate_key), (carbon_collate_key_for_filename): new
        functions using Carbon API to get collate key for g_utf8_collate_key()
        and g_utf8_collate_key_for_filename();
        (g_utf8_collate_key), (g_utf8_collate_key_for_filename): use those.

svn path=/trunk/; revision=6969

16 years agoUpdated Italian translation.
Luca Ferretti [Sat, 31 May 2008 09:33:54 +0000 (09:33 +0000)]
Updated Italian translation.

2008-05-31  Luca Ferretti  <elle.uca@libero.it>

* it.po: Updated Italian translation.

svn path=/trunk/; revision=6968

16 years agoUpdated German translation.
Philipp Kerling [Sat, 31 May 2008 09:07:22 +0000 (09:07 +0000)]
Updated German translation.

2008-05-31  Philipp Kerling  <k.philipp@gmail.com>

* de.po: Updated German translation.

svn path=/trunk/; revision=6967

16 years agoBug 535628 - test/patterntest.c still includes gpattern.h directly.
Michael Natterer [Fri, 30 May 2008 09:05:08 +0000 (09:05 +0000)]
Bug 535628 - test/patterntest.c still includes gpattern.h directly.

2008-05-30  Michael Natterer  <mitch@imendio.com>

Bug 535628 - test/patterntest.c still includes gpattern.h
directly.

* tests/patterntest.c: don't include "glib/gpattern.h" directly.
Patch from Hiroyuki Ikezoe.

svn path=/trunk/; revision=6964

16 years agoBug 535625 - alias.h:2648: error: 'utime' undeclared here (not in a
Tor Lillqvist [Fri, 30 May 2008 06:36:55 +0000 (06:36 +0000)]
Bug 535625 - alias.h:2648: error: 'utime' undeclared here (not in a

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

Bug 535625 - alias.h:2648: error: 'utime' undeclared here (not
in a function)

* glib/glib.symbols: Move g_utime inside #if !defined(G_OS_UNIX)
|| defined(G_STDIO_NO_WRAP_ON_UNIX).

svn path=/trunk/; revision=6963

16 years agoMask out X_OK to avoid problem on Vista. X_OK was just ignored by access()
Tor Lillqvist [Thu, 29 May 2008 23:05:35 +0000 (23:05 +0000)]
Mask out X_OK to avoid problem on Vista. X_OK was just ignored by access()

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

* glib/gstdio.c (g_access) [Win32]: Mask out X_OK to avoid problem
on Vista. X_OK was just ignored by access() in earlier Microsoft C
libraries. (Which is fine as executability has little meaning on
Windows.) The one on Vista returns an error if X_OK is passed.

svn path=/trunk/; revision=6961

16 years agoglib/gstdio.h Add g_utime(). No need to include <sys/utime.h> in gstdio.h,
Tor Lillqvist [Thu, 29 May 2008 18:05:26 +0000 (18:05 +0000)]
glib/gstdio.h Add g_utime(). No need to include <sys/utime.h> in gstdio.h,

2008-05-29  Tor Lillqvist  <tml@novell.com>

* glib/gstdio.h
* glib/gstdio.c: Add g_utime(). No need to include <sys/utime.h>
in gstdio.h, just use a forward struct declaration.

* glib/glib.symbols: Add it.

svn path=/trunk/; revision=6960

16 years agoAdd indexes
Matthias Clasen [Thu, 29 May 2008 03:49:48 +0000 (03:49 +0000)]
Add indexes

svn path=/trunk/; revision=6959