Jonh Wendell [Fri, 22 Feb 2008 11:48:52 +0000 (11:48 +0000)]
Brazilian Portuguese translation updated by Og Maciel.
2008-02-22 Jonh Wendell <jwendell@gnome.org>
* pt_BR.po: Brazilian Portuguese translation updated by Og Maciel.
svn path=/trunk/; revision=6556
Vincent van Adrighem [Fri, 22 Feb 2008 07:50:24 +0000 (07:50 +0000)]
Translation updated by Tino Meinen.
2008-02-22 Vincent van Adrighem <adrighem@gnome.org>
* nl.po: Translation updated by Tino Meinen.
svn path=/trunk/; revision=6555
Matthias Clasen [Thu, 21 Feb 2008 18:20:17 +0000 (18:20 +0000)]
Doc fixes
svn path=/trunk/; revision=6554
Yang Zhang [Thu, 21 Feb 2008 13:51:11 +0000 (13:51 +0000)]
Updated zh_CN translation from manphiz
svn path=/trunk/; revision=6553
Tor Lillqvist [Thu, 21 Feb 2008 13:07:49 +0000 (13:07 +0000)]
glib/gutf8.c (g_get_charset) glib/gconvert.c (g_locale_from_utf8) Clarify
2008-02-21 Tor Lillqvist <tml@novell.com>
* glib/gutf8.c (g_get_charset)
* glib/gconvert.c (g_locale_from_utf8)
* docs/reference/glib/running.sgml: Clarify character set
issues on Windows.
svn path=/trunk/; revision=6551
David Zeuthen [Thu, 21 Feb 2008 12:35:05 +0000 (12:35 +0000)]
Implement this function by moving bits from glocalfileinfo.c
2008-02-21 David Zeuthen <davidz@redhat.com>
* glocalfileinfo.c: (_g_local_file_info_get):
* gcontenttype.c:
(g_content_type_get_icon): Implement this function by
moving bits from glocalfileinfo.c
(g_content_type_get_description): Unalias before getting
description (#517687)
* gfile.c: (g_file_class_init),
(g_file_query_filesystem_info_async),
(g_file_query_filesystem_info_finish),
(query_filesystem_info_data_free),
(query_filesystem_info_async_thread),
(g_file_real_query_filesystem_info_async),
(g_file_real_query_filesystem_info_finish):
* gfile.h: Implement async version of
g_file_query_filesystem_info()
* gfileinfo.h: Add new attributes for filesystem::use-preview
* gio.symbols: Update
* gthemedicon.c: (g_themed_icon_append_name):
* gthemedicon.h: Add new new convenience function.
* gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
(get_mounts), (get_volumes), (get_connected_drives),
(get_volume_for_uuid), (get_mount_for_uuid),
(g_union_volume_monitor_init), (populate_union_monitor),
(g_volume_monitor_get), (_g_mount_get_for_mount_path),
(g_volume_monitor_adopt_orphan_mount):
* gvolumemonitor.c:
* gvolumemonitor.h: Use recursive locks so it's safe for volume
monitor implementations to call into the main volume monitor. Also
separate object initialization and volume monitor initialization
such that non-native volume monitors can properly adopt their
mounts away.
svn path=/trunk/; revision=6550
Alexander Larsson [Thu, 21 Feb 2008 11:44:48 +0000 (11:44 +0000)]
Fix doc typo
2008-02-21 Alexander Larsson <alexl@redhat.com>
* gfile.c:
Fix doc typo
svn path=/trunk/; revision=6549
Alexander Larsson [Thu, 21 Feb 2008 11:43:55 +0000 (11:43 +0000)]
Fix doc typo
2008-02-21 Alexander Larsson <alexl@redhat.com>
* gfile.c:
Fix doc typo
svn path=/trunk/; revision=6548
Alexander Larsson [Thu, 21 Feb 2008 10:21:11 +0000 (10:21 +0000)]
Add more documentation about how GFiles work (from #517086)
2008-02-21 Alexander Larsson <alexl@redhat.com>
* gfile.c:
Add more documentation about how GFiles work (from #517086)
svn path=/trunk/; revision=6547
Alexander Larsson [Thu, 21 Feb 2008 09:09:59 +0000 (09:09 +0000)]
Add new g_file_has_prefix that does the same as g_file_contains_file.
2008-02-21 Alexander Larsson <alexl@redhat.com>
* gfile.[ch]:
* gio.symbols:
Add new g_file_has_prefix that does the same as g_file_contains_file.
Deprecate g_file_contains_file and add a macro that converts
it to g_file_has_prefix.
The reason for this change is that the contains_file() name seems to
imply that this does more work than what it does, but its really only
a name match (from #517086)
* gdummyfile.c:
* glocalfile.c:
* tests/g-file.c:
Update to match the above change.
svn path=/trunk/; revision=6546
Benjamin Otte [Wed, 20 Feb 2008 18:52:10 +0000 (18:52 +0000)]
even more cases of not returning in error path
2008-02-20 Benjamin Otte <otte@gnome.org>
* gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
(g_file_eject_mountable):
even more cases of not returning in error path
svn path=/trunk/; revision=6545
Benjamin Otte [Wed, 20 Feb 2008 18:45:18 +0000 (18:45 +0000)]
return from function in error path.
2008-02-20 Benjamin Otte <otte@gnome.org>
* gfile.c: (g_file_mount_mountable):
return from function in error path.
svn path=/trunk/; revision=6544
Tor Lillqvist [Tue, 19 Feb 2008 22:53:58 +0000 (22:53 +0000)]
Change the g_error() to g_message() to avoid stopping on warnings. At
2008-02-20 Tor Lillqvist <tml@novell.com>
* glib/gtestutils.c (g_test_trap_fork) [Win32]: Change the
g_error() to g_message() to avoid stopping on warnings. At least
now testglib runs to completion and the old tests in it get
exercised even if the newfangled ones don't.
(g_test_trap_assertions) [Win32]: Bypass on Windows.
svn path=/trunk/; revision=6542
Yannig MARCHEGAY [Tue, 19 Feb 2008 22:33:50 +0000 (22:33 +0000)]
Updated Occitan translation
svn path=/trunk/; revision=6541
Yannig MARCHEGAY [Tue, 19 Feb 2008 22:31:52 +0000 (22:31 +0000)]
Updated Occitan translation
svn path=/trunk/; revision=6540
Yannig MARCHEGAY [Tue, 19 Feb 2008 22:12:09 +0000 (22:12 +0000)]
Updated Occitan translation
svn path=/trunk/; revision=6539
Sven Neumann [Tue, 19 Feb 2008 13:30:26 +0000 (13:30 +0000)]
moved ChangeLog entries to their proper location in docs/reference
svn path=/trunk/; revision=6537
Sylvain Pasche [Tue, 19 Feb 2008 08:49:16 +0000 (08:49 +0000)]
Remove trailing coma in GMountMountFlags struct
2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
* gfile.h:
Remove trailing coma in GMountMountFlags struct
svn path=/trunk/; revision=6536
Ignacio Casal Quinteiro [Mon, 18 Feb 2008 21:24:51 +0000 (21:24 +0000)]
Updated Galician Translation.
svn path=/trunk/; revision=6535
Matej Urbančič [Mon, 18 Feb 2008 17:46:31 +0000 (17:46 +0000)]
Updated Slovenian translation
svn path=/trunk/; revision=6534
Alexander Larsson [Mon, 18 Feb 2008 15:35:16 +0000 (15:35 +0000)]
Use g_unlink/g_rename instead of unlink/rename; do not pass raw filenames
2008-02-18 Alexander Larsson <alexl@redhat.com>
* glocalfile.c:
* glocalfileinfo.c:
* glocalfileoutputstream.c:
Use g_unlink/g_rename instead of unlink/rename;
do not pass raw filenames to g_set_error. (#517239)
Patch from Yevgen Muntyan.
svn path=/trunk/; revision=6533
Nguyễn Thái Ngọc Duy [Mon, 18 Feb 2008 12:42:04 +0000 (12:42 +0000)]
Updated Vietnamese translation
2008-02-18 Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
* vi.po: Updated Vietnamese translation
svn path=/trunk/; revision=6532
Alexander Larsson [Mon, 18 Feb 2008 10:10:58 +0000 (10:10 +0000)]
Open files with O_BINARY on windows. (#517140)
2008-02-18 Alexander Larsson <alexl@redhat.com>
* glocalfile.c:
* glocalfileoutputstream.c:
Open files with O_BINARY on windows. (#517140)
svn path=/trunk/; revision=6531
Ilkka Tuohela [Mon, 18 Feb 2008 04:36:35 +0000 (04:36 +0000)]
Updated Finnish translation
svn path=/trunk/; revision=6530
Yair Hershkovitz [Sun, 17 Feb 2008 16:58:52 +0000 (16:58 +0000)]
updated hebrew translation
svn path=/trunk/; revision=6529
Marco Barisione [Sun, 17 Feb 2008 14:26:30 +0000 (14:26 +0000)]
Avoid some useless casts from const gchar * to gchar *. (#516597, patch by
2008-02-17 Marco Barisione <marco@barisione.org>
* glib/gregex.c: (translate_compile_error), (g_regex_new): Avoid some
useless casts from const gchar * to gchar *. (#516597, patch by
Yevgen Muntyan)
svn path=/trunk/; revision=6528
Marco Barisione [Sun, 17 Feb 2008 14:07:32 +0000 (14:07 +0000)]
Don't return duplicate matches when matching empty strings. (#515944) Add
2008-02-17 Marco Barisione <marco@barisione.org>
* glib/gregex.c: (match_info_new), (g_match_info_next): Don't return
duplicate matches when matching empty strings. (#515944)
* tests/regex-test.c: Add tests.
svn path=/trunk/; revision=6527
Hans Breuer [Sun, 17 Feb 2008 12:49:12 +0000 (12:49 +0000)]
define CSIDL_MYPICTURES if not available use G_STRFUNC instead of compiler
2008-02-17 Hans Breuer <hans@breuer.org>
* glib/gutils.c : define CSIDL_MYPICTURES if not available
* gthread/gthread-win32.c : use G_STRFUNC instead of compiler
specific __FUNCTION__
svn path=/trunk/; revision=6526
Djihed Afifi [Sun, 17 Feb 2008 12:02:31 +0000 (12:02 +0000)]
Updated Arabic Translation by Khaled Hosny.
svn path=/trunk/; revision=6525
Kjartan Maraas [Sun, 17 Feb 2008 11:00:41 +0000 (11:00 +0000)]
Updated Norwegian bokmål translation.
2008-02-17 Kjartan Maraas <kmaraas@gnome.org>
* nb.po: Updated Norwegian bokmål translation.
svn path=/trunk/; revision=6524
David Lodge [Sun, 17 Feb 2008 09:23:21 +0000 (09:23 +0000)]
Update en_GB translation
svn path=/trunk/; revision=6523
Ihar Hrachyshka [Sat, 16 Feb 2008 21:34:05 +0000 (21:34 +0000)]
Updated Belarusian Latin translation.
svn path=/trunk/; revision=6522
Alexander Larsson [Thu, 14 Feb 2008 16:47:56 +0000 (16:47 +0000)]
Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
2008-02-14 Alexander Larsson <alexl@redhat.com>
* glocalfileoutputstream.c:
Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
svn path=/trunk/; revision=6518
Runa Bhattacharjee [Thu, 14 Feb 2008 12:25:46 +0000 (12:25 +0000)]
Added Entry for Kannada Translation Updation by Shankar Prasad
svn path=/trunk/; revision=6517
Runa Bhattacharjee [Thu, 14 Feb 2008 12:25:23 +0000 (12:25 +0000)]
Updated Kannada Translations by Shankar Prasad
svn path=/trunk/; revision=6516
Gil Forcada Codinachs [Thu, 14 Feb 2008 11:56:29 +0000 (11:56 +0000)]
Updated Catalan translation
svn path=/trunk/; revision=6515
Alexander Larsson [Thu, 14 Feb 2008 11:00:09 +0000 (11:00 +0000)]
Copy permissions with file on copy (#514084) This is what cp does and
2008-02-14 Alexander Larsson <alexl@redhat.com>
* glocalfile.c:
Copy permissions with file on copy (#514084)
This is what cp does and makes sure e.g. the
exec permissions are kept.
Its kinda weird in that it keeps the permission bits
the same while the uid and gid are different. However
the new uid is the user so its not a security issue,
and I've heard no complaints about cp on this issue.
svn path=/trunk/; revision=6514
Ilkka Tuohela [Thu, 14 Feb 2008 04:15:52 +0000 (04:15 +0000)]
Updated Finnish translation
svn path=/trunk/; revision=6512
Ryan Lortie [Wed, 13 Feb 2008 20:27:18 +0000 (20:27 +0000)]
add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
2008-02-13 Ryan Lortie <desrt@desrt.ca>
* docs/reference/gio/gio-sections.txt: add
G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
2008-02-13 Ryan Lortie <desrt@desrt.ca>
* gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
svn path=/trunk/; revision=6511
Alexander Larsson [Wed, 13 Feb 2008 13:33:57 +0000 (13:33 +0000)]
Define IN_ONLYDIR if not in header (#515346)
2008-02-13 Alexander Larsson <alexl@redhat.com>
* inotify/inotify-path.c:
Define IN_ONLYDIR if not in header (#515346)
svn path=/trunk/; revision=6510
Ilkka Tuohela [Wed, 13 Feb 2008 12:41:10 +0000 (12:41 +0000)]
Updated Finnish translation
svn path=/trunk/; revision=6509
Tor Lillqvist [Wed, 13 Feb 2008 11:59:14 +0000 (11:59 +0000)]
Doc change: Deprecate passing anything but NULL for the "package"
2008-02-13 Tor Lillqvist <tml@novell.com>
* glib/gwin32.c: Doc change: Deprecate passing anything but NULL
for the "package" parameter to
g_win32_get_package_installation_directory() and
g_win32_get_package_installation_subdirectory().
svn path=/trunk/; revision=6508
Matthias Clasen [Wed, 13 Feb 2008 02:30:14 +0000 (02:30 +0000)]
Additions
svn path=/trunk/; revision=6507
Alexander Larsson [Tue, 12 Feb 2008 10:06:01 +0000 (10:06 +0000)]
C89 fixes (#515892)
2008-02-12 Alexander Larsson <alexl@redhat.com>
* tests/live-g-file.c:
C89 fixes (#515892)
svn path=/trunk/; revision=6506
Matthias Clasen [Mon, 11 Feb 2008 22:33:02 +0000 (22:33 +0000)]
Bump version
svn path=/trunk/; revision=6505
Matthias Clasen [Mon, 11 Feb 2008 22:30:35 +0000 (22:30 +0000)]
2.15.5
svn path=/trunk/; revision=6503
Matthias Clasen [Mon, 11 Feb 2008 21:51:23 +0000 (21:51 +0000)]
Updates
svn path=/trunk/; revision=6502
Matthias Clasen [Mon, 11 Feb 2008 18:31:43 +0000 (18:31 +0000)]
Add g_mount_mount_flags_get_type
svn path=/trunk/; revision=6501
Matthias Clasen [Mon, 11 Feb 2008 18:28:42 +0000 (18:28 +0000)]
Make the g_test_add macro work with gcc 4.3
2008-02-10 Matthias Clasen <mclasen@redhat.com>
* glib/gtestutils.h: Make the g_test_add macro work with
gcc 4.3
* tests/gobject/paramspec-test.c: Adapt to recent changes in
GParamGType initialization.
svn path=/trunk/; revision=6500
Matthias Clasen [Mon, 11 Feb 2008 17:35:44 +0000 (17:35 +0000)]
Fix a typo
svn path=/trunk/; revision=6499
Alexander Larsson [Mon, 11 Feb 2008 12:21:49 +0000 (12:21 +0000)]
Correctly handle NULL GAttributeMatcher meaning matches nothing. (Fixes
2008-02-11 Alexander Larsson <alexl@redhat.com>
* gfileinfo.c:
(g_file_info_set_attribute_mask):
(g_file_attribute_matcher_matches_id):
Correctly handle NULL GAttributeMatcher meaning
matches nothing. (Fixes #513492)
svn path=/trunk/; revision=6498
Alexander Larsson [Mon, 11 Feb 2008 11:12:36 +0000 (11:12 +0000)]
Added GMountMountFlags enum and added a flags argument to all mount calls.
2008-02-11 Alexander Larsson <alexl@redhat.com>
* gfile.[ch]:
* gmount.[ch]:
* gvolume.[ch]:
Added GMountMountFlags enum and added a flags
argument to all mount calls.
This is an API/ABI change for future extensibility,
as I think we will need at least an
inhibit-autorun flag (the panel needs this).
There are no flags defined yet though.
svn path=/trunk/; revision=6497
Alexander Larsson [Mon, 11 Feb 2008 10:41:00 +0000 (10:41 +0000)]
Added new standard::description attribute. Requested by Vincent, and
2008-02-11 Alexander Larsson <alexl@redhat.com>
* gfileinfo.h:
Added new standard::description attribute.
Requested by Vincent, and useful for both
panel and nautilus
svn path=/trunk/; revision=6496
Alexander Larsson [Mon, 11 Feb 2008 08:47:17 +0000 (08:47 +0000)]
Minor docs cleanup
2008-02-11 Alexander Larsson <alexl@redhat.com>
* gdesktopappinfo.c:
Minor docs cleanup
svn path=/trunk/; revision=6495
Matthias Clasen [Mon, 11 Feb 2008 07:18:56 +0000 (07:18 +0000)]
Additions
svn path=/trunk/; revision=6494
Matthias Clasen [Mon, 11 Feb 2008 07:17:48 +0000 (07:17 +0000)]
Add more docs
svn path=/trunk/; revision=6493
Matthias Clasen [Mon, 11 Feb 2008 07:12:56 +0000 (07:12 +0000)]
Documentation additions
svn path=/trunk/; revision=6492
Matthias Clasen [Sun, 10 Feb 2008 05:22:39 +0000 (05:22 +0000)]
Check for getmntent_r
svn path=/trunk/; revision=6491
Matthias Clasen [Sun, 10 Feb 2008 05:20:00 +0000 (05:20 +0000)]
Consistently use getmntent_r() and fall back to getmntent(). (#515492)
2008-02-09 Matthias Clasen <mclasen@redhat.com>
* gunixmounts.c: Consistently use getmntent_r() and fall
back to getmntent(). (#515492)
svn path=/trunk/; revision=6490
Matthias Clasen [Sun, 10 Feb 2008 04:54:25 +0000 (04:54 +0000)]
Fix a mismerge
svn path=/trunk/; revision=6489
Philip Withnall [Sun, 10 Feb 2008 04:48:31 +0000 (04:48 +0000)]
Improve the documentation for the G_MODULE_EXPORT macro. (#514470)
2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
* glib/tmpl/modules.sgml: Improve the documentation for
the G_MODULE_EXPORT macro. (#514470)
svn path=/trunk/; revision=6488
Matthias Clasen [Sun, 10 Feb 2008 04:41:25 +0000 (04:41 +0000)]
/bin/ksh can't handle a for-loop with no arguments, so add a "." for when
2008-02-09 Matthias Clasen <mclasen@redhat.com>
* Makefile.decl: /bin/ksh can't handle a for-loop with no
arguments, so add a "." for when $(SUBDIRS) is empty.
* glib/tests/option-context.c:
* glib/tests/testing.c:
* gthread/gthread-posix.c:
* tets/testingbase64.c:
* glib/gtester.c:
* glib/gsequence.c: Portability fixes. (#515154)
svn path=/trunk/; revision=6487
Matthias Clasen [Sun, 10 Feb 2008 04:26:54 +0000 (04:26 +0000)]
Doc improvement
svn path=/trunk/; revision=6486
Inaki Larranaga Murgoitio [Fri, 8 Feb 2008 16:42:26 +0000 (16:42 +0000)]
Updated Basque translation.
2008-02-08 Inaki Larranaga Murgoitio <dooteo@euskalgnu.org>
* eu.po: Updated Basque translation.
svn path=/trunk/; revision=6485
Alexander Larsson [Fri, 8 Feb 2008 16:12:55 +0000 (16:12 +0000)]
Add g_volume_should_automount. Docs needed.
2008-02-08 Alexander Larsson <alexl@redhat.com>
* gio.symbols:
* gunixvolume.c:
* gvolume.[ch]:
Add g_volume_should_automount.
Docs needed.
svn path=/trunk/; revision=6484
Gil Forcada Codinachs [Thu, 7 Feb 2008 16:29:09 +0000 (16:29 +0000)]
Updated Catalan translation
svn path=/trunk/; revision=6483
Tor Lillqvist [Thu, 7 Feb 2008 13:07:19 +0000 (13:07 +0000)]
Unfortunately the mingw implementations of C99-style snprintf and
2008-02-07 Tor Lillqvist <tml@novell.com>
* configure.in: Unfortunately the mingw implementations of
C99-style snprintf and vsnprintf don't seem to be quite good
enough, at least not in mingw-runtime-3.14. I don't know exactly
what the problem is, but it is related to floating point
formatting and decimal point vs. comma, and the symptoms show up
in some dialogs in GIMP, presumably also elsewhere. The simple
tests in AC_FUNC_VSNPRINTF_C99 and AC_FUNC_SNPRINTF_C99 aren't
rigorous enough to notice, though. So preset
ac_cv_func_vsnprintf_c99 and ac_cv_func_snprintf_c99 to "no".
svn path=/trunk/; revision=6482
12:58:54 Tim Janik [Thu, 7 Feb 2008 12:00:34 +0000 (12:00 +0000)]
fixed build order to build gobject after gmodule gthread so gobject tests
2008-02-07 12:58:54 Tim Janik <timj@imendio.com>
* Makefile.am: fixed build order to build gobject after gmodule gthread
so gobject tests can be threaded.
svn path=/trunk/; revision=6480
Tim Janik [Thu, 7 Feb 2008 10:26:00 +0000 (10:26 +0000)]
Fixed typo spotted by Xan.
svn path=/trunk/; revision=6479
Tor Lillqvist [Thu, 7 Feb 2008 09:56:25 +0000 (09:56 +0000)]
live-g-file won't build on Windows, too Unix-specific.
2008-02-07 Tor Lillqvist <tml@novell.com>
* tests/Makefile.am (TEST_PROGS): live-g-file won't build on
Windows, too Unix-specific.
svn path=/trunk/; revision=6478
Changwoo Ryu [Thu, 7 Feb 2008 08:33:26 +0000 (08:33 +0000)]
Updated Korean translation.
svn path=/trunk/; revision=6477
Ryan Lortie [Thu, 7 Feb 2008 07:13:39 +0000 (07:13 +0000)]
add for(;;); after the g_log call so that GCC stops issuing false warnings
2008-02-07 Ryan Lortie <desrt@desrt.ca>
* glib/gmessages.h (g_error): add for(;;); after the g_log call so
that GCC stops issuing false warnings about reachability Bug #514920
svn path=/trunk/; revision=6476
Matthias Clasen [Thu, 7 Feb 2008 04:51:56 +0000 (04:51 +0000)]
Update to PCRE 7.6
svn path=/trunk/; revision=6470
Behdad Esfahbod [Wed, 6 Feb 2008 17:36:06 +0000 (17:36 +0000)]
Skip g_bit_*(). Inline functions may end up with a local plt if the
2008-02-06 Behdad Esfahbod <behdad@gnome.org>
* pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
a local plt if the compiler doesn't support what we want. Bug #514702
svn path=/trunk/; revision=6469
Behdad Esfahbod [Wed, 6 Feb 2008 17:35:25 +0000 (17:35 +0000)]
Skip g_bit_*(). Inline functions may end up with a local plt if the
2008-02-06 Behdad Esfahbod <behdad@gnome.org>
* glib/pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
a local plt if the compiler doesn't support what we want. Bug #514702
svn path=/trunk/; revision=6468
Murray Cumming [Wed, 6 Feb 2008 16:02:20 +0000 (16:02 +0000)]
Fixed some minor typos in documentation.
2008-02-06 Murray Cumming <murrayc@murrayc.com>
* glib/gconvert.c:
* glib/pcre/pcre_internal.h: Fixed some minor typos in documentation.
svn path=/trunk/; revision=6467
Christian Persch [Wed, 6 Feb 2008 15:10:08 +0000 (15:10 +0000)]
Save errno before calling other funcs that potentially alter it. Bug
* gio/gdesktopappinfo.c: (ensure_dir):
* gio/glocalfile.c: (g_local_file_query_filesystem_info),
(g_local_file_read), (g_local_file_delete), (g_local_file_trash),
(g_local_file_move):
* gio/glocalfileinfo.c: (set_xattr), (_g_local_file_info_get),
(_g_local_file_info_get_from_fd), (set_unix_mode),
(set_unix_uid_gid), (set_symlink), (set_mtime_atime):
* gio/glocalfileinputstream.c: (g_local_file_input_stream_read),
(g_local_file_input_stream_skip),
(g_local_file_input_stream_close),
(g_local_file_input_stream_seek):
* gio/glocalfileoutputstream.c:
(g_local_file_output_stream_write),
(g_local_file_output_stream_close),
(g_local_file_output_stream_seek),
(g_local_file_output_stream_truncate), (copy_file_data),
(handle_overwrite_open):
* gio/gunixinputstream.c: (g_unix_input_stream_read),
(g_unix_input_stream_close), (read_async_cb), (close_async_cb):
* gio/gunixoutputstream.c: (g_unix_output_stream_write),
(g_unix_output_stream_close), (write_async_cb), (close_async_cb):
Save
errno before calling other funcs that potentially alter it. Bug
#514766.
svn path=/trunk/; revision=6466
Tomas Bzatek [Wed, 6 Feb 2008 13:52:07 +0000 (13:52 +0000)]
New GIO testing module working over real data
2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
* tests/Makefile.am:
* tests/live-g-file.c:
* tests/live-g-file.txt:
New GIO testing module working over real data
svn path=/trunk/; revision=6465
Tomas Bzatek [Wed, 6 Feb 2008 13:45:26 +0000 (13:45 +0000)]
Fallback to rename() if link() is not available (when no support on target
2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
* glocalfileoutputstream.c (g_local_file_output_stream_close):
Fallback to rename() if link() is not available
(when no support on target filesystem)
svn path=/trunk/; revision=6464
Michael Natterer [Wed, 6 Feb 2008 13:22:57 +0000 (13:22 +0000)]
replace "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
2008-02-06 Michael Natterer <mitch@imendio.com>
* gfileinfo.c (g_file_info_get_icon): replace
"icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
svn path=/trunk/; revision=6463
Tomas Bzatek [Wed, 6 Feb 2008 12:59:49 +0000 (12:59 +0000)]
Documentation update of error codes
2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
* gfile.c (g_file_create):
Documentation update of error codes
svn path=/trunk/; revision=6462
Alexander Larsson [Wed, 6 Feb 2008 10:57:27 +0000 (10:57 +0000)]
Update to use both mimeapps.list and defaults.list as discussed on xdg
2008-02-06 Alexander Larsson <alexl@redhat.com>
* gdesktopappinfo.c:
Update to use both mimeapps.list and
defaults.list as discussed on xdg list.
svn path=/trunk/; revision=6461
Benjamin Otte [Wed, 6 Feb 2008 10:26:53 +0000 (10:26 +0000)]
Fix some typos in the documentation.
2008-02-06 Benjamin Otte <otte@gnome.org>
* gasyncresult.c:
* gfilenamecompleter.c:
Fix some typos in the documentation.
svn path=/trunk/; revision=6460
Alexander Larsson [Wed, 6 Feb 2008 10:06:54 +0000 (10:06 +0000)]
Don't succeed with trash if newly created trash dir has the wrong owner.
2008-02-06 Alexander Larsson <alexl@redhat.com>
* glocalfile.c (g_local_file_trash):
Don't succeed with trash if newly created
trash dir has the wrong owner. (#514696)
svn path=/trunk/; revision=6459
Djihed Afifi [Wed, 6 Feb 2008 09:42:17 +0000 (09:42 +0000)]
Updated Arabic Translation by Khaled Hosny.
svn path=/trunk/; revision=6458
Benjamin Otte [Wed, 6 Feb 2008 09:36:47 +0000 (09:36 +0000)]
make GParamGType require the set type during construction instead of using
* gparamspecs.c: (param_gtype_set_default), (param_gtype_validate):
make GParamGType require the set type during construction instead of
using G_TYPE_NONE, which causes issues when setting.
Bug 513073 - g_param_spec_gtype breaks with G_PARAM_CONSTRUCT
svn path=/trunk/; revision=6457
Theppitak Karoonboonyanan [Wed, 6 Feb 2008 09:00:07 +0000 (09:00 +0000)]
Updated Thai translation.
2008-02-06 Theppitak Karoonboonyanan <thep@linux.thai.net>
* th.po: Updated Thai translation.
svn path=/trunk/; revision=6456
Matthias Clasen [Wed, 6 Feb 2008 02:59:47 +0000 (02:59 +0000)]
forgotten file
svn path=/trunk/; revision=6455
18:52:07 Tim Janik [Tue, 5 Feb 2008 17:52:52 +0000 (17:52 +0000)]
added recursive mutex to protect class initialization, default interface
2008-02-05 18:52:07 Tim Janik <timj@imendio.com>
* gtype.c: added recursive mutex to protect class initialization,
default interface initialization and per-class interface construction.
a lock to this recursive mutex is held during user callback invocations
such as initializers or finalizers, effectively allowing only one thread
to run class/interface initializers/finalizers at a time.
also made misc fixups. this fixes:
Bug 64764 - Class initialization isn't thread safe.
svn path=/trunk/; revision=6454
18:42:42 Tim Janik [Tue, 5 Feb 2008 17:43:09 +0000 (17:43 +0000)]
generate gobject/tests/Makefile.
2008-02-05 18:42:42 Tim Janik <timj@imendio.com>
* configure.in: generate gobject/tests/Makefile.
svn path=/trunk/; revision=6453
18:41:22 Tim Janik [Tue, 5 Feb 2008 17:42:09 +0000 (17:42 +0000)]
integrate tests/.
2008-02-05 18:41:22 Tim Janik <timj@imendio.com>
* Makefile.am: integrate tests/.
* tests/: new directory for libgobject tests.
* tests/Makefile.am: build and run threadtests.
* tests/threadtests.c: test multi-threaded initializers for
object classes and interfaces.
svn path=/trunk/; revision=6452
Alexander Larsson [Tue, 5 Feb 2008 10:11:12 +0000 (10:11 +0000)]
Don't spew warnings when destination is not a GLocalFile.
2008-02-05 Alexander Larsson <alexl@redhat.com>
* glocalfile.c (g_local_file_move):
Don't spew warnings when destination is not
a GLocalFile.
svn path=/trunk/; revision=6451
Tor Lillqvist [Mon, 4 Feb 2008 22:25:55 +0000 (22:25 +0000)]
Include the gio import library in the developer zipfile.
2008-02-05 Tor Lillqvist <tml@novell.com>
* glib-zip.in: Include the gio import library in the developer
zipfile.
svn path=/trunk/; revision=6450
Tor Lillqvist [Mon, 4 Feb 2008 22:18:27 +0000 (22:18 +0000)]
Include gio-2.0.pc in the developer zipfile.
2008-02-05 Tor Lillqvist <tml@novell.com>
* glib-zip.in: Include gio-2.0.pc in the developer zipfile.
svn path=/trunk/; revision=6449
Jonathon Jongsma [Mon, 4 Feb 2008 10:04:40 +0000 (10:04 +0000)]
modify the new_sized() constructor to take a gsize param instead of guint
2008-02-02 Jonathon Jongsma <jjongsma@gnome.org>
* gio/gbufferedoutputstream.c:
* gio/gbufferedoutputstream.h: modify the new_sized() constructor to take a
gsize param instead of guint to match the GBufferedInputStream constructor.
svn path=/trunk/; revision=6448
Jovan Naumovski [Mon, 4 Feb 2008 03:12:27 +0000 (03:12 +0000)]
2008-02-04 Jovan Naumovski <jovanna@svn.gnome.org> *mk.po: Updated Macedonian translation.
svn path=/trunk/; revision=6447
Leonardo Ferreira Fontenelle [Mon, 4 Feb 2008 01:20:25 +0000 (01:20 +0000)]
Brazilian Portuguese translation updated by Vladimir Melo and Luiz
2008-02-03 Leonardo Ferreira Fontenelle <leonardof@svn.gnome.org>
* pt_BR.po: Brazilian Portuguese translation updated by Vladimir Melo
and Luiz Armesto.
svn path=/trunk/; revision=6446
Hans Breuer [Sun, 3 Feb 2008 22:41:06 +0000 (22:41 +0000)]
update
2008-02-03 Hans Breuer <hans@breuer.org>
* **/makefile.msc.in : update
svn path=/trunk/; revision=6445
Hans Breuer [Sun, 3 Feb 2008 22:40:29 +0000 (22:40 +0000)]
update
2008-02-03 Hans Breuer <hans@breuer.org>
* makefile.msc : update
svn path=/trunk/; revision=6444
Sebastian Dröge [Sun, 3 Feb 2008 10:54:13 +0000 (10:54 +0000)]
Check for gmtime_r. Missing part of bug #511807.
* configure.in: Check for gmtime_r. Missing part of bug #511807.
svn path=/trunk/; revision=6443