Tor Lillqvist [Sat, 8 Mar 2008 16:06:00 +0000 (16:06 +0000)]
Define FILE_READ_ONLY_VOLUME if it is missing from winnt.h. (#521145)
2008-03-08 Tor Lillqvist <tml@novell.com>
* glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
winnt.h. (#521145)
svn path=/trunk/; revision=6643
Yannig MARCHEGAY [Sat, 8 Mar 2008 11:20:51 +0000 (11:20 +0000)]
Updated Occitan translation
svn path=/trunk/; revision=6642
Maxim Dziumanenko [Fri, 7 Mar 2008 23:25:57 +0000 (23:25 +0000)]
Update Ukrainian translation.
2008-03-08 Maxim Dziumanenko <dziumanenko@gmail.com>
* Update Ukrainian translation.
svn path=/trunk/; revision=6641
Mugurel Tudor [Fri, 7 Mar 2008 18:08:56 +0000 (18:08 +0000)]
*ro.po: Updated Romanian translation
2008-03-07 Mugurel Tudor <mugurelu@gnome.ro>
*ro.po: Updated Romanian translation
svn path=/trunk/; revision=6639
Alexander Larsson [Fri, 7 Mar 2008 14:36:15 +0000 (14:36 +0000)]
Use struct statfs.f_fstypename if availible (e.g. on OpenBSD) Patch from
2008-03-07 Alexander Larsson <alexl@redhat.com>
* glocalfile.c:
(g_local_file_query_filesystem_info):
Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
Patch from Jasper Lievisse Adriaanse
svn path=/trunk/; revision=6638
Tor Lillqvist [Fri, 7 Mar 2008 01:58:49 +0000 (01:58 +0000)]
More edits.
svn path=/trunk/; revision=6637
Tor Lillqvist [Fri, 7 Mar 2008 01:47:26 +0000 (01:47 +0000)]
Updates.
2008-03-07 Tor Lillqvist <tml@novell.com>
* README.win32: Updates.
svn path=/trunk/; revision=6636
Gintautas Miliauskas [Fri, 7 Mar 2008 00:07:57 +0000 (00:07 +0000)]
Updated Lithuanian translation.
2008-03-07 Gintautas Miliauskas <gintas@akl.lt>
* lt.po: Updated Lithuanian translation.
svn path=/trunk/; revision=6635
Tor Lillqvist [Thu, 6 Mar 2008 13:10:06 +0000 (13:10 +0000)]
Correct milliseconds to microseconds in the doc comments for the *_USEC
2008-03-06 Tor Lillqvist <tml@novell.com>
* gfileinfo.h: Correct milliseconds to microseconds in the doc
comments for the *_USEC attributes.
svn path=/trunk/; revision=6634
Alexander Larsson [Thu, 6 Mar 2008 10:04:24 +0000 (10:04 +0000)]
Add g_return_val_if_fail check (#520700)
2008-03-06 Alexander Larsson <alexl@redhat.com>
* gfile.c (g_file_query_exists):
Add g_return_val_if_fail check (#520700)
svn path=/trunk/; revision=6633
Alexander Larsson [Thu, 6 Mar 2008 09:53:35 +0000 (09:53 +0000)]
Fix sparse warnings (#519489)
2008-03-06 Alexander Larsson <alexl@redhat.com>
* gdesktopappinfo.c:
* gfilemonitor.c:
* gthemedicon.c:
* gunionvolumemonitor.c:
* gunixmounts.c:
* tests/g-file.c:
* tests/live-g-file.c:
* xdgmime/xdgmimecache.c:
Fix sparse warnings (#519489)
svn path=/trunk/; revision=6632
Rahul Bhalerao [Wed, 5 Mar 2008 15:09:28 +0000 (15:09 +0000)]
Updated Marathi Translations
svn path=/trunk/; revision=6631
Alexander Larsson [Wed, 5 Mar 2008 11:50:27 +0000 (11:50 +0000)]
Make cancellation threadsafe (i.e. guarantee its only done once, and
2008-03-05 Alexander Larsson <alexl@redhat.com>
* gfilemonitor.c:
Make cancellation threadsafe (i.e.
guarantee its only done once, and always
done)
* glocaldirectorymonitor.c:
Make sure we the monitor lives while the
mounts_changed callback is being called (#520484)
svn path=/trunk/; revision=6630
Priit Laes [Wed, 5 Mar 2008 11:40:12 +0000 (11:40 +0000)]
Translation updated by Ivar Smolin
2008-03-05 Priit Laes <plaes at svn dot gnome dot org>
* et.po: Translation updated by Ivar Smolin
svn path=/trunk/; revision=6629
Ilkka Tuohela [Wed, 5 Mar 2008 05:01:16 +0000 (05:01 +0000)]
Updated Finnish translation
svn path=/trunk/; revision=6628
Tor Lillqvist [Wed, 5 Mar 2008 01:56:24 +0000 (01:56 +0000)]
Remove g_uri_get_scheme.
2008-03-05 Tor Lillqvist <tml@novell.com>
* glib/glib.symbols: Remove g_uri_get_scheme.
svn path=/trunk/; revision=6626
Hendrik Richter [Tue, 4 Mar 2008 18:47:26 +0000 (18:47 +0000)]
Updated German translation.
2008-03-04 Hendrik Richter <hendrikr@gnome.org>
* de.po: Updated German translation.
svn path=/trunk/; revision=6625
Amanpreet Singh Alam [Tue, 4 Mar 2008 18:04:47 +0000 (18:04 +0000)]
updating Translation for Punjabi
svn path=/trunk/; revision=6624
Wouter Bolsterlee [Tue, 4 Mar 2008 15:21:31 +0000 (15:21 +0000)]
Fix typo in parameter documentation.
2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
* gio/gbufferedinputstream.c: Fix typo in parameter
documentation.
svn path=/trunk/; revision=6622
Alexander Larsson [Tue, 4 Mar 2008 14:51:34 +0000 (14:51 +0000)]
Remove deprecated symbols we kept for one release.
2008-03-04 Alexander Larsson <alexl@redhat.com>
* gfile.c:
Remove deprecated symbols we kept for one release.
2008-03-04 Alexander Larsson <alexl@redhat.com>
* glib/gurifuncs.c:
Remove deprecated symbols we kept for one release.
svn path=/trunk/; revision=6621
Murray Cumming [Tue, 4 Mar 2008 13:15:57 +0000 (13:15 +0000)]
Tiny documentation corrections.
2008-03-04 Murray Cumming <murrayc@murrayc.com>
* ginputstream.c:
* goutputstream.c: Tiny documentation corrections.
svn path=/trunk/; revision=6620
Luca Ferretti [Tue, 4 Mar 2008 09:21:54 +0000 (09:21 +0000)]
Updated Italian translation.
2008-03-04 Luca Ferretti <elle.uca@libero.it>
* it.po: Updated Italian translation.
svn path=/trunk/; revision=6619
Alexander Larsson [Mon, 3 Mar 2008 21:38:30 +0000 (21:38 +0000)]
Fix the adopt_orphan_mount vfunc to take a volume_monitor reference in an
2008-03-03 Alexander Larsson <alexl@redhat.com>
* gunionvolumemonitor.c:
* gvolumemonitor.h:
Fix the adopt_orphan_mount vfunc to take a
volume_monitor reference in an ABI compat way.
This change is not API compat, but the added
arg is not used in the only user of this vfunc, so
all we get is a harmless warning in gvfs (#520169)
svn path=/trunk/; revision=6618
Petr Kovář [Mon, 3 Mar 2008 21:29:09 +0000 (21:29 +0000)]
cs.po: Updated Czech translation.
svn path=/trunk/; revision=6617
Matthias Clasen [Mon, 3 Mar 2008 14:42:32 +0000 (14:42 +0000)]
Add a version of G_INLINE_FUNC for __GNUC__ && __GNUC_STDC_INLINE__, patch
2008-03-03 Matthias Clasen <mclasen@redhat.com>
* glib/gutils.h: Add a version of G_INLINE_FUNC for
__GNUC__ && __GNUC_STDC_INLINE__, patch by Jakub Jelinek
svn path=/trunk/; revision=6616
Ani Peter [Mon, 3 Mar 2008 12:17:36 +0000 (12:17 +0000)]
Updated Malayalam Translation
svn path=/trunk/; revision=6615
Ani Peter [Mon, 3 Mar 2008 12:17:23 +0000 (12:17 +0000)]
Updated Malayalam Translation
svn path=/trunk/; revision=6614
Ankitkumar Rameshchandra Patel [Mon, 3 Mar 2008 08:42:04 +0000 (08:42 +0000)]
Updated Translation
svn path=/trunk/; revision=6613
Tor Lillqvist [Mon, 3 Mar 2008 04:23:16 +0000 (04:23 +0000)]
Must set the GError also in the unexpected EOF case.
2008-03-03 Tor Lillqvist <tml@novell.com>
* glib/gspawn-win32.c (read_helper_report): Must set the GError
also in the unexpected EOF case.
(do_spawn_with_pipes): Must protect also new_argv[0].
svn path=/trunk/; revision=6612
Luca Ferretti [Sun, 2 Mar 2008 19:38:28 +0000 (19:38 +0000)]
Updated Italian translation.
2008-03-02 Luca Ferretti <elle.uca@libero.it>
* it.po: Updated Italian translation.
svn path=/trunk/; revision=6611
Jorge Gonzalez Gonzalez [Sun, 2 Mar 2008 13:00:31 +0000 (13:00 +0000)]
Updated Spanish translation
svn path=/trunk/; revision=6610
Benjamin Otte [Sat, 1 Mar 2008 16:27:50 +0000 (16:27 +0000)]
fix last commit.
2008-03-01 Benjamin Otte <otte@gnome.org>
* glib/glist.c:
fix last commit.
svn path=/trunk/; revision=6609
Benjamin Otte [Sat, 1 Mar 2008 14:52:03 +0000 (14:52 +0000)]
clarify docs for g_file_delete().
2008-03-01 Benjamin Otte <otte@gnome.org>
* gfile.c:
clarify docs for g_file_delete().
svn path=/trunk/; revision=6608
Matthias Clasen [Fri, 29 Feb 2008 21:16:21 +0000 (21:16 +0000)]
Move docs inline
svn path=/trunk/; revision=6607
Priit Laes [Fri, 29 Feb 2008 21:02:17 +0000 (21:02 +0000)]
Estonian translation update by Ivar Smolin.
2008-02-29 Priit Laes <plaes@svn.gnome.org>
* et.po: Estonian translation update by Ivar Smolin.
svn path=/trunk/; revision=6606
Alexander Larsson [Fri, 29 Feb 2008 09:49:08 +0000 (09:49 +0000)]
Make sure empty files get text/plain type (#518720)
2008-02-29 Alexander Larsson <alexl@redhat.com>
* glocalfileinfo.c:
(get_content_type):
Make sure empty files get text/plain type (#518720)
svn path=/trunk/; revision=6605
Tor Lillqvist [Thu, 28 Feb 2008 22:59:39 +0000 (22:59 +0000)]
Add some GNU libiconv compatibility: Recognize "" and "char" as aliases
2008-02-29 Tor Lillqvist <tml@novell.com>
* glib/win_iconv.c (name_to_codepage): Add some GNU libiconv
compatibility: Recognize "" and "char" as aliases for the current
locale's charset. (We use the system ANSI codepage as returned by
GetACP().) Recognize "wchar_t" as an alias for UTF-16LE.
svn path=/trunk/; revision=6604
Tor Lillqvist [Thu, 28 Feb 2008 17:54:46 +0000 (17:54 +0000)]
Typo.
svn path=/trunk/; revision=6603
Stéphane Raimbault [Thu, 28 Feb 2008 13:02:33 +0000 (13:02 +0000)]
Updated French translation by Claude Paroz.
2008-02-28 Stéphane Raimbault <stephane.raimbault@gmail.com>
* fr.po: Updated French translation by Claude Paroz.
svn path=/trunk/; revision=6602
Amitakhya Phukan [Thu, 28 Feb 2008 11:39:03 +0000 (11:39 +0000)]
updated assamese translations
svn path=/trunk/; revision=6601
Matthew Barnes [Thu, 28 Feb 2008 01:48:00 +0000 (01:48 +0000)]
Make 'length' parameter signed to accomodate passing negative lengths.
2008-02-27 Matthew Barnes <mbarnes@redhat.com>
* glib/gchecksum.[ch] (g_checksum_update),
(g_compute_checksum_for_string): Make 'length' parameter
signed to accomodate passing negative lengths. (#510855)
svn path=/trunk/; revision=6600
Alexander Larsson [Wed, 27 Feb 2008 11:23:35 +0000 (11:23 +0000)]
Fix type warnings
2008-02-27 Alexander Larsson <alexl@redhat.com>
* gcontenttype.c:
Fix type warnings
* gunixvolume.c:
(g_unix_volume_mount):
Add missing GMountMountFlags argument
svn path=/trunk/; revision=6599
Alexander Larsson [Wed, 27 Feb 2008 11:16:58 +0000 (11:16 +0000)]
Handle filesystems (like ntfs-3g) that return EEXIST instead of ENOTEMPTY
2008-02-26 Alexander Larsson <alexl@redhat.com>
* glocalfile.c:
(g_local_file_delete):
Handle filesystems (like ntfs-3g) that return EEXIST instead
of ENOTEMPTY (#518816)
svn path=/trunk/; revision=6598
Tor Lillqvist [Tue, 26 Feb 2008 17:26:28 +0000 (17:26 +0000)]
Further patch by Vlad Grecescu: Drop the code path that called
2008-02-26 Tor Lillqvist <tml@novell.com>
* glib/gmain.c (g_poll): Further patch by Vlad Grecescu: Drop
the code path that called WaitMessage(), as WaitMessage()
doesn't offer any chance for APCs to run. Instead just use the
code path with MsgWaitForMultipleObjectsEx() even for the
wait-only-for-messages case. (#517484)
svn path=/trunk/; revision=6597
Kjartan Maraas [Tue, 26 Feb 2008 16:59:00 +0000 (16:59 +0000)]
Updated Norwegian bokmål translation.
2008-02-26 Kjartan Maraas <kmaraas@gnome.org>
* nb.po: Updated Norwegian bokmål translation.
2008-02-25 Matthias Clasen <mclasen@redhat.com>
svn path=/trunk/; revision=6596
Matthias Clasen [Mon, 25 Feb 2008 19:38:54 +0000 (19:38 +0000)]
bump version
svn path=/trunk/; revision=6595
Matthias Clasen [Mon, 25 Feb 2008 19:32:42 +0000 (19:32 +0000)]
2.15.6
svn path=/trunk/; revision=6593
Matthias Clasen [Mon, 25 Feb 2008 18:24:30 +0000 (18:24 +0000)]
Add Since: markers to docs. (#518556, Jerry Yu)
2008-02-25 Matthias Clasen <mclasen@redhat.com>
* glib/gtestfuncs.c: Add Since: markers to docs. (#518556,
Jerry Yu)
svn path=/trunk/; revision=6592
Wouter Bolsterlee [Mon, 25 Feb 2008 14:31:19 +0000 (14:31 +0000)]
Fixup translator comments (#518578).
2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
* gfile.c (g_file_find_enclosing_mount):
* ginputstream.c (g_input_stream_set_pending):
* glocalfile.c (g_local_file_find_enclosing_mount):
* gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
* goutputstream.c (g_output_stream_set_pending):
Fixup translator comments (#518578).
svn path=/trunk/; revision=6591
Wouter Bolsterlee [Mon, 25 Feb 2008 14:04:38 +0000 (14:04 +0000)]
Fix a few typos in translator comments and documentation.
2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
* gfile.c (g_file_find_enclosing_mount):
* giomodule.c:
* glocalfile.c (g_local_file_find_enclosing_mount):
* goutputstream.c:
Fix a few typos in translator comments and documentation.
svn path=/trunk/; revision=6590
Alexander Larsson [Mon, 25 Feb 2008 13:47:00 +0000 (13:47 +0000)]
Add translator comments (#518578)
2008-02-25 Alexander Larsson <alexl@redhat.com>
* gfile.c:
* ginputstream.c:
* glocalfile.c:
* gmount.c:
* goutputstream.c:
Add translator comments (#518578)
svn path=/trunk/; revision=6589
Alexander Larsson [Mon, 25 Feb 2008 13:32:04 +0000 (13:32 +0000)]
Rename g_uri_get_scheme to g_uri_parse_scheme. Keep g_uri_get_scheme()
2008-02-25 Alexander Larsson <alexl@redhat.com>
* glib/glib.symbols:
* glib/gurifuncs.[ch]:
Rename g_uri_get_scheme to g_uri_parse_scheme.
Keep g_uri_get_scheme() symbol for this
unstable release to avoid breaking to many apps.
svn path=/trunk/; revision=6588
Alexander Larsson [Mon, 25 Feb 2008 13:28:44 +0000 (13:28 +0000)]
Rename g_uri_get_scheme to g_uri_parse_scheme. Keep g_uri_get_scheme()
2008-02-25 Alexander Larsson <alexl@redhat.com>
* glib/gurifuncs.[ch]:
Rename g_uri_get_scheme to g_uri_parse_scheme.
Keep g_uri_get_scheme() symbol for this
unstable release to avoid breaking to many apps.
svn path=/trunk/; revision=6587
Alexander Larsson [Mon, 25 Feb 2008 13:24:56 +0000 (13:24 +0000)]
Reintroduce g_file_contains_file, keep around for one unstable release
2008-02-25 Alexander Larsson <alexl@redhat.com>
* gfile.c:
Reintroduce g_file_contains_file, keep around for one
unstable release cycle to avoid crashing to many apps.
Make sure to delete after release.
svn path=/trunk/; revision=6586
Alexander Larsson [Mon, 25 Feb 2008 13:19:58 +0000 (13:19 +0000)]
Remove deprecated g_file_contains_file.
2008-02-25 Alexander Larsson <alexl@redhat.com>
* gfile.[ch]:
Remove deprecated g_file_contains_file.
svn path=/trunk/; revision=6585
Alexander Larsson [Mon, 25 Feb 2008 12:34:30 +0000 (12:34 +0000)]
Emit actual change signals in an idle handler. This avoids reentrance and
2008-02-25 Alexander Larsson <alexl@redhat.com>
* gfilemonitor.c:
Emit actual change signals in an idle handler.
This avoids reentrance and locking problems in
the file notification backends.
svn path=/trunk/; revision=6584
Tor Lillqvist [Mon, 25 Feb 2008 12:33:30 +0000 (12:33 +0000)]
Grammar.
svn path=/trunk/; revision=6583
Alexander Larsson [Mon, 25 Feb 2008 11:15:06 +0000 (11:15 +0000)]
Remove type guessing, instead just display mounts in /media and in ~/.
2008-02-25 Alexander Larsson <alexl@redhat.com>
* gunixmounts.c:
(g_unix_mount_guess_should_display):
Remove type guessing, instead just display
mounts in /media and in ~/.
svn path=/trunk/; revision=6582
Alexander Larsson [Mon, 25 Feb 2008 09:11:09 +0000 (09:11 +0000)]
Make new strings reuse old ones.
2008-02-25 Alexander Larsson <alexl@redhat.com>
* glocalfile.c:
Make new strings reuse old ones.
svn path=/trunk/; revision=6581
Vincent van Adrighem [Mon, 25 Feb 2008 08:59:14 +0000 (08:59 +0000)]
Translation updated by Tino Meinen.
2008-02-25 Vincent van Adrighem <adrighem@gnome.org>
* nl.po: Translation updated by Tino Meinen.
svn path=/trunk/; revision=6580
Daniel Nylander [Mon, 25 Feb 2008 08:25:10 +0000 (08:25 +0000)]
sv.po: Updated Swedish translation
svn path=/trunk/; revision=6579
Alexander Larsson [Mon, 25 Feb 2008 08:15:35 +0000 (08:15 +0000)]
Implement trashing and filesystem::readonly for win32 (#517235) Patch from
2008-02-25 Alexander Larsson <alexl@redhat.com>
* glocalfile.c:
Implement trashing and filesystem::readonly for win32 (#517235)
Patch from Yevgen Muntyan
svn path=/trunk/; revision=6578
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