Commit Graph

5733 Commits

Author SHA1 Message Date
Matthias Clasen
273f7036f1 Remove an erroneous @returns
svn path=/trunk/; revision=7022
2008-06-12 03:25:56 +00:00
Matthias Clasen
dcc8b76a34 updates
svn path=/trunk/; revision=7021
2008-06-12 03:15:42 +00:00
Behdad Esfahbod
e0916c3f54 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
2008-06-11 23:37:49 +00:00
Matthias Clasen
8882576e90 hex, I mean it
svn path=/trunk/; revision=7019
2008-06-11 22:00:06 +00:00
Djihed Afifi
c0a1ec055e Updated Arabic Translation by Khaled Hosny.
svn path=/trunk/; revision=7018
2008-06-11 21:36:42 +00:00
Matthias Clasen
3305266a37 Use po/LINGUAS
svn path=/trunk/; revision=7017
2008-06-11 20:31:44 +00:00
A. Walton
52a03b97c6 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
2008-06-11 20:02:31 +00:00
Matthias Clasen
de09a5803a 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
2008-06-11 19:38:35 +00:00
Matthias Clasen
f532b61fea Fix make check
svn path=/trunk/; revision=7014
2008-06-11 18:58:56 +00:00
Matthias Clasen
4f2c99af79 Allow PLT entry for g_clear_error
svn path=/trunk/; revision=7013
2008-06-11 18:50:17 +00:00
Matthias Clasen
3d89a7781b Add Since tag to goffset
svn path=/trunk/; revision=7012
2008-06-11 18:35:38 +00:00
Matthias Clasen
40334783bc 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
2008-06-11 18:25:44 +00:00
Tor Lillqvist
fc8ee1f68a 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
2008-06-11 18:06:46 +00:00
Matthias Clasen
f9f98f1c8b Fix a typo
svn path=/trunk/; revision=7009
2008-06-11 17:56:49 +00:00
Matthias Clasen
777df550ab more doc fixage
svn path=/trunk/; revision=7008
2008-06-11 17:47:53 +00:00
Matthias Clasen
5b12bf33a4 Improve docs
svn path=/trunk/; revision=7007
2008-06-11 17:03:11 +00:00
Matthias Clasen
74820f48db Improve docs
svn path=/trunk/; revision=7006
2008-06-11 17:00:57 +00:00
Matthias Clasen
7372ce2981 Doc improvements
svn path=/trunk/; revision=7005
2008-06-11 16:35:53 +00:00
Matthias Clasen
107d1d330d fix some docs
svn path=/trunk/; revision=7004
2008-06-11 16:27:22 +00:00
Matthias Clasen
12fe21210e Improve the docs
svn path=/trunk/; revision=7003
2008-06-11 16:17:56 +00:00
Matthias Clasen
1d7f670632 Improve the docs
svn path=/trunk/; revision=7002
2008-06-11 15:58:02 +00:00
Ross Burton
7653f50019 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
2008-06-11 15:48:06 +00:00
Matthias Clasen
bd216ba3c8 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
2008-06-11 15:01:11 +00:00
Matthias Clasen
90f1812309 Fix docs
svn path=/trunk/; revision=6999
2008-06-11 14:58:42 +00:00
Matthias Clasen
bb5bfd3546 revert unintended change
svn path=/trunk/; revision=6998
2008-06-11 14:25:18 +00:00
Matthias Clasen
9aad44c339 Don't unref before last use
svn path=/trunk/; revision=6997
2008-06-11 14:05:45 +00:00
Sebastian Dröge
8013b215cd 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
2008-06-11 07:37:45 +00:00
Tor Lillqvist
a689811a41 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
2008-06-11 06:57:22 +00:00
Matthias Clasen
e0072d4441 Additions
svn path=/trunk/; revision=6994
2008-06-10 17:54:24 +00:00
Matthias Clasen
cc1ad36f99 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
2008-06-10 17:03:15 +00:00
Matthias Clasen
0e51f02ccb 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
2008-06-10 16:56:25 +00:00
Matthias Clasen
0f370f9a04 Add g_themed_icon_prepend_name
svn path=/trunk/; revision=6991
2008-06-10 16:45:54 +00:00
Matthias Clasen
e12152159f 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
2008-06-10 15:55:31 +00:00
Matthias Clasen
972a981f30 Fix attribution
svn path=/trunk/; revision=6989
2008-06-10 15:38:42 +00:00
Matthias Clasen
a0c45852e1 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
2008-06-10 15:37:41 +00:00
Matthias Clasen
946b78006b 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
2008-06-10 15:27:39 +00:00
14:06:34 Tim Janik
a52a14e4a9 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
2008-06-10 12:07:18 +00:00
Tim Janik
0e1960fd6e g_type_class_ref() comment fixes.
svn path=/trunk/; revision=6985
2008-06-10 11:41:34 +00:00
Paolo Borelli
9944e93fda 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
2008-06-10 11:40:45 +00:00
13:34:01 Tim Janik
6908da5a57 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
2008-06-10 11:35:46 +00:00
13:15:29 Tim Janik
e9f756f17e 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
2008-06-10 11:26:50 +00:00
Michael Natterer
b15a223a8a 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
2008-06-10 10:51:29 +00:00
Tor Lillqvist
8b5ad297da 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
2008-06-10 10:35:20 +00:00
Tor Lillqvist
c7b21acd7b 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
2008-06-10 10:34:02 +00:00
Theppitak Karoonboonyanan
cf524f48ca Updated Thai translation.
2008-06-10  Theppitak Karoonboonyanan  <thep@linux.thai.net>

	* th.po: Updated Thai translation.


svn path=/trunk/; revision=6978
2008-06-10 09:06:11 +00:00
Matthias Clasen
9331b3f1ce Fix the build
svn path=/trunk/; revision=6977
2008-06-09 21:38:35 +00:00
Matthias Clasen
c82988e262 Use icons from the shared mime database, if available.
svn path=/trunk/; revision=6976
2008-06-09 17:33:43 +00:00
Matthias Clasen
2bd31c9e6c Sync with upstream
svn path=/trunk/; revision=6975
2008-06-09 16:45:19 +00:00
Tor Lillqvist
7bbfdf3c6b Cosmetics.
svn path=/trunk/; revision=6973
2008-06-09 03:49:14 +00:00
Kjartan Maraas
0301e039f0 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
2008-06-07 18:40:42 +00:00