Tor Lillqvist [Sun, 24 Feb 2008 22:53:52 +0000 (22:53 +0000)]
Mention that the recent fix to the gspawn helper process
synchronization on Windows fixes #510664.
svn path=/trunk/; revision=6577
Tor Lillqvist [Sun, 24 Feb 2008 21:31:44 +0000 (21:31 +0000)]
Guard against _glib_get_installation_directory() returning NULL. In that
2008-02-24 Tor Lillqvist <tml@novell.com>
* glib/gspawn-win32.c: Guard against
_glib_get_installation_directory() returning NULL. In that
case, just use the name of the helper process executable
without path.
svn path=/trunk/; revision=6576
Tor Lillqvist [Sun, 24 Feb 2008 21:15:47 +0000 (21:15 +0000)]
New internal function.
2008-02-24 Tor Lillqvist <tml@novell.com>
* glib/gutils.c (_glib_get_installation_directory): New internal function.
* glib/gspawn-win32.c: When spawning the helper process, use an
explicit full path. (#518292)
* glib/gspawn-win32.c
* glib/gspawn-win32-helper.c: Fix race condition when using the
helper process: When the helper process writes the handle of the
actual started user process to the parent process, it must be
duplicated in the parent process with DuplicateHandle() so that it
is a valid handle in that process. However, if the helper process
has happened to exit before the DuplicateHandle() call, the
duplication will fail. Thus we must synchronise the helper
process's exit. Use another pipe for this.
Take care not to inherit the writing end of this pipe to the
helper process. Also, in the helper process, take care not to
inherit either of the pipes used for communication with the parent
process to the started user process.
svn path=/trunk/; revision=6575
Åsmund Skjæveland [Sun, 24 Feb 2008 16:34:26 +0000 (16:34 +0000)]
Updated Norwegian Nynorsk translation.
2008-02-24 Åsmund Skjæveland <aasmunds@ulrik.uio.no>
* nn.po: Updated Norwegian Nynorsk translation.
svn path=/trunk/; revision=6574
Åsmund Skjæveland [Sun, 24 Feb 2008 16:33:09 +0000 (16:33 +0000)]
Updated Norwegian Nynorsk translation.
2008-02-24 Åsmund Skjæveland <aasmunds@ulrik.uio.no>
* nn.po: Updated Norwegian Nynorsk translation.
svn path=/trunk/; revision=6573
Theppitak Karoonboonyanan [Sun, 24 Feb 2008 12:09:14 +0000 (12:09 +0000)]
Fix typo reported by Akom C.
2008-02-24 Theppitak Karoonboonyanan <thep@linux.thai.net>
* th.po: Fix typo reported by Akom C.
svn path=/trunk/; revision=6572
Tor Lillqvist [Sun, 24 Feb 2008 01:46:42 +0000 (01:46 +0000)]
Use alertable wait functions so that I/O completion routines or user-mode
2008-02-24 Tor Lillqvist <tml@novell.com>
* glib/gmain.c (g_poll) [Win32]: Use alertable wait functions so
that I/O completion routines or user-mode Asynchronous Procedure
Calls can be run. (#517484, Vlad Grecescu)
svn path=/trunk/; revision=6571
Tor Lillqvist [Sun, 24 Feb 2008 01:07:41 +0000 (01:07 +0000)]
Mention G_WIN32_DLLMAIN_FOR_DLL_NAME() will be deprecated in the future.
2008-02-24 Tor Lillqvist <tml@novell.com>
* glib/gutils.h: Mention G_WIN32_DLLMAIN_FOR_DLL_NAME() will be
deprecated in the future.
* glib/gutils.c: Drop use of G_WIN32_DLLMAIN_FOR_DLL_NAME(). Use a
minimal DllMain() instead that just saves the DLL handle.
(g_win32_get_system_data_dirs_for_module, _glib_get_locale_dir)
(get_module_share_dir): Use
g_win32_get_package_installation_directory_of_module().
svn path=/trunk/; revision=6570
Tor Lillqvist [Sun, 24 Feb 2008 00:38:01 +0000 (00:38 +0000)]
New function. Supersedes g_win32_get_package_installation_directory() and
2008-02-24 Tor Lillqvist <tml@novell.com>
* glib/gwin32.c
(g_win32_get_package_installation_directory_of_module): New
function. Supersedes g_win32_get_package_installation_directory()
and g_win32_get_package_installation_directory().
It makes more sense to have the function for this functionality
take a HMODULE as parameter instead of DLL name. The typical use
scenario has been to have a DllMain() function that retrieves the
full pathname for the DLL in question, and saves just the basename
of that. Then later code passes that saved dll basename to
g_win32_get_package_installation_directory(), which retrieves the
corresponding DLL handle, and then retrieves up its full
pathname. (Which DLlMain() already had.) It is less convoluted to
have a DllMain() that just saves the DLL handle, and then when
needed call this function to get the corresponding installation
folder.
(get_package_directory_from_module): Use
g_win32_get_package_installation_directory_of_module().
(g_win32_get_package_installation_directory)
(g_win32_get_package_installation_subdirectory): Mention these
functions will be deprecated and recommend using
g_win32_get_package_installation_directory_of_module() instead.
* glib/gwin32.h: Declare
g_win32_get_package_installation_directory_of_module().
* glib/glib.symbols: Add it.
svn path=/trunk/; revision=6569
Gabor Kelemen [Sat, 23 Feb 2008 21:55:49 +0000 (21:55 +0000)]
Translation updated
2008-02-23 Gabor Kelemen <kelemeng@gnome.hu>
* hu.po: Translation updated
svn path=/trunk/; revision=6568
Priit Laes [Sat, 23 Feb 2008 08:29:08 +0000 (08:29 +0000)]
Estonian translation update by Ivar Smolin.
2008-02-23 Priit Laes <plaes@svn.gnome.org>
* et.po: Estonian translation update by Ivar Smolin.
svn path=/trunk/; revision=6567
Matthias Clasen [Sat, 23 Feb 2008 06:59:06 +0000 (06:59 +0000)]
Updates
svn path=/trunk/; revision=6566
Matthias Clasen [Sat, 23 Feb 2008 06:34:41 +0000 (06:34 +0000)]
Add new symbols
svn path=/trunk/; revision=6565
Matthias Clasen [Sat, 23 Feb 2008 06:34:00 +0000 (06:34 +0000)]
Typo fix
svn path=/trunk/; revision=6564
Matthias Clasen [Sat, 23 Feb 2008 05:25:27 +0000 (05:25 +0000)]
Return NULL when the key is not found. (#513171, Дилян
2008-02-23 Matthias Clasen <mclasen@redhat.com>
* glib/gkeyfile.c (g_key_file_get_string_list): Return
NULL when the key is not found. (#513171, Дилян Палаузов)
svn path=/trunk/; revision=6563
Matthias Clasen [Sat, 23 Feb 2008 05:14:34 +0000 (05:14 +0000)]
Don't test user directories for being non-null. (#517084, Yevgen Muntyan)
2008-02-23 Matthias Clasen <mclasen@redhat.com>
* tests/testglib.c: Don't test user directories for being
non-null. (#517084, Yevgen Muntyan)
svn path=/trunk/; revision=6562
Matthias Clasen [Sat, 23 Feb 2008 05:06:18 +0000 (05:06 +0000)]
Documentation updates
svn path=/trunk/; revision=6561
Matthias Clasen [Sat, 23 Feb 2008 05:05:39 +0000 (05:05 +0000)]
Small doc fix
svn path=/trunk/; revision=6560
Matthias Clasen [Sat, 23 Feb 2008 05:04:13 +0000 (05:04 +0000)]
Updates
svn path=/trunk/; revision=6559
Luca Ferretti [Fri, 22 Feb 2008 16:01:42 +0000 (16:01 +0000)]
Updated Italian translation.
2008-02-22 Luca Ferretti <elle.uca@libero.it>
* it.po: Updated Italian translation.
svn path=/trunk/; revision=6558
Alexander Larsson [Fri, 22 Feb 2008 14:56:50 +0000 (14:56 +0000)]
Look at old-style gnome mime icon names too, as many have not moved to the
2008-02-22 Alexander Larsson <alexl@redhat.com>
* gcontenttype.c (g_content_type_get_icon):
Look at old-style gnome mime icon names too, as many
have not moved to the new style.
svn path=/trunk/; revision=6557
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