Commit Graph

5866 Commits

Author SHA1 Message Date
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
Tor Lillqvist
fa7e176e4b 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
2008-06-07 04:03:47 +00:00
Yevgen Muntyan
c5df5e88d9 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
2008-06-02 19:35:15 +00:00
Luca Ferretti
9d3834b708 Updated Italian translation.
2008-05-31  Luca Ferretti  <elle.uca@libero.it>

	* it.po: Updated Italian translation.

svn path=/trunk/; revision=6968
2008-05-31 09:33:54 +00:00
Philipp Kerling
0bc3e4a986 Updated German translation.
2008-05-31  Philipp Kerling  <k.philipp@gmail.com>

	* de.po: Updated German translation.

svn path=/trunk/; revision=6967
2008-05-31 09:07:22 +00:00
Michael Natterer
a8a3606966 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
2008-05-30 09:05:08 +00:00
Tor Lillqvist
0622b5275e 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
2008-05-30 06:36:55 +00:00
Tor Lillqvist
87bc41714f 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
2008-05-29 23:05:35 +00:00
Tor Lillqvist
40c54c33eb 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
2008-05-29 18:05:26 +00:00
Matthias Clasen
3d65ed3d54 Add indexes
svn path=/trunk/; revision=6959
2008-05-29 03:49:48 +00:00
Tor Lillqvist
5011dc9878 More verbiage.
svn path=/trunk/; revision=6957
2008-05-29 02:49:29 +00:00
Tor Lillqvist
fbecd2e8ae wint_t is short on Windows, and gcc warns: "wint_t is promoted to int when
2008-05-29  Tor Lillqvist  <tml@novell.com>

	* glib/gnulib/printf-args.c (printf_fetchargs): wint_t is short on
	Windows, and gcc warns: "wint_t is promoted to int when passed
	through ... (so you should pass int not wint_t to va_arg)." So do
	that then.


svn path=/trunk/; revision=6956
2008-05-29 02:43:49 +00:00
Michael Natterer
82bc28361e add G_DISABLE_SINGLE_INCLUDES to CPPFLAGS globally.
2008-05-28  Michael Natterer  <mitch@imendio.com>

	* configure.in: add G_DISABLE_SINGLE_INCLUDES to CPPFLAGS
	globally.

	* glib/tests/option-context.c
	* glib/tests/testing.c
	* tests/testingbase64.c: don't include <glib/gtestutils.h>


svn path=/trunk/; revision=6955
2008-05-28 16:18:27 +00:00
Michael Natterer
03a5797a62 don't define G_DISABLE_SINGLE_INCLUDES, it's in the global CPPFLAGS now.
2008-05-28  Michael Natterer  <mitch@imendio.com>

	* Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
	the global CPPFLAGS now.

	* tests/data-input-stream.c
	* tests/data-output-stream.c
	* tests/g-file-info.c
	* tests/g-file.c
	* tests/live-g-file.c
	* tests/memory-input-stream.c: don't include <glib/gtestutils.h>


svn path=/trunk/; revision=6954
2008-05-28 16:17:45 +00:00
Michael Natterer
4aff47a711 don't define G_DISABLE_SINGLE_INCLUDES, it's in the global CPPFLAGS now.
2008-05-28  Michael Natterer  <mitch@imendio.com>

	* Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
	the global CPPFLAGS now.


svn path=/trunk/; revision=6953
2008-05-28 16:17:13 +00:00
Michael Natterer
ca5fa5691c don't define G_DISABLE_SINGLE_INCLUDES, it's in the global CPPFLAGS now.
2008-05-28  Michael Natterer  <mitch@imendio.com>

	* Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
	the global CPPFLAGS now.


svn path=/trunk/; revision=6952
2008-05-28 16:16:55 +00:00
Michael Natterer
1364c9b365 don't define G_DISABLE_SINGLE_INCLUDES, it's in the global CPPFLAGS now.
2008-05-28  Michael Natterer  <mitch@imendio.com>

	* Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
	the global CPPFLAGS now.


svn path=/trunk/; revision=6951
2008-05-28 16:16:38 +00:00
Matthias Clasen
0d1d918b39 Bump version
svn path=/trunk/; revision=6950
2008-05-27 21:25:12 +00:00