6611 Commits

Author SHA1 Message Date
Matthias Clasen
4ab9132735 Refer to the correct gcc deprecation options
This oversight was pointed out in bug 585520.
2009-06-23 13:07:03 -04:00
Matthias Clasen
0ee3ed07d3 Fix some typos in list documentation
This fixes bug 585726.
2009-06-23 13:06:59 -04:00
Matthias Clasen
af390010fb Fix the icon property implementation
Turns out both the setter and the getter were broken...
Fixes bug 585676.
2009-06-23 13:06:48 -04:00
Matthias Clasen
29b1fd54d9 Trivial formatting fixes 2009-06-23 13:06:45 -04:00
Matthias Clasen
2192f1003f Use inotify_init1 when available
To avoid leaking the inotify fd. Fixes bug 585478.
2009-06-23 13:06:40 -04:00
Benjamin Otte
3eb4323149 don't make strings const when they are not
gets rid of compiler warnings
2009-06-23 13:06:34 -04:00
Matthias Clasen
6d8d934823 Fix an oversight in the previous commit
We don't want to unset DISPLAY etc, if none is specified in the
app launch context.
2009-06-23 13:06:30 -04:00
Matthias Clasen
979929206b Fix g_string_chunk_insert_len to accept nuls
Contrary to what the documentation says, g_string_chunk_insert_len
was stopping at the first nul. Also add a test. Fixes bug 585088.
2009-06-23 13:06:26 -04:00
Matthias Clasen
12c411a98e Make setting DISPLAY work
And remove a bunch of grotty code to manipulate an environment
array at the same time. Instead, simply call setenv in the child_setup
function.
2009-06-23 13:06:20 -04:00
Matthias Clasen
0981552099 Support automake 1.11 2009-06-23 13:06:17 -04:00
Benjamin Otte
1feacdd38b only query file info in g_file_copy() when we need it
The default implementation of g_file_copy() checked the size of the file
to copy to give useful progress updates unconditionally. This can cause
long delays on 1-connection FTP servers while it tries to open a second
connection before it returns EBUSY. This patch makes this query only
happen when we actually send progress updates.
2009-06-23 12:57:47 -04:00
Alexander Larsson
d9b46acb72 Copy namespaces correctly in g_file_copy_attributes
File attribute namespaces are delimited with "::", but
build_attribute_list_for_copy only used ":", so we didn't copy
any writable namespaces.
2009-06-23 17:44:09 +02:00
Alexander Larsson
00547ece56 Use io_prio as mainloop prio for async-emulation (#579449)
I'm not sure why we used the elaborate formula to convert the io-priority
to the priority of the mainloop idle when emulating async i/o with idles.
However, it causes the default io priority to be less than the normal
idle prio, so the i/o won't be scheduled if there is an idle outstanding.

There is really no great mapping to use here, doing blocking i/o in an
idle of any prio is generally bad and apps doing a lot of async i/o should
initialize threads. However, if we use the io-priority directly we at least
avoid the starvation problem above and make things easier to understand.
2009-06-18 19:52:15 +02:00
A S Alam
5334599790 updating for Punjabi 2009-06-18 06:18:03 +05:30
Runa Bhattacharjee
fb9d3b9952 Updated Bengali India Translation 2009-06-09 11:55:38 +05:30
Matthias Clasen
7f1729b4fd Bump version to 2.20.4 2009-05-29 13:57:21 -04:00
Matthias Clasen
3c3776dce3 2.20.3 2.20.3 2009-05-29 13:15:11 -04:00
Matthias Clasen
61f78d562d Update for 2.20.3 2009-05-29 01:44:17 -04:00
Matthias Clasen
1f32eb927e Fix a locking problem in g_main_context_iterate()
We failed to ensure that the context is locked on every exit of
the function. This fixes bug 583324.
2009-05-29 01:18:56 -04:00
Alexander Larsson
91e8f21c93 Don't dereference identifier_type if it is NULL (#579558) 2009-05-29 01:18:07 -04:00
Robert Bragg
c2ed17a1a7 Take a reference on the gio file monitors while signaling pending file changes
It was possible for a signal handler to remove the last reference and
dispose the monitor.  If there were remaining pending_file_changes they
tried to dereference the disposed monitor.

This patch simply calls g_object_{ref,unref} around the loop that signals
the changes.
2009-05-29 01:17:32 -04:00
Christian Persch
eb6c59bc48 Preserve errno when using g_set_error with _() and g_strerror() 2009-05-29 01:16:12 -04:00
Shixin Zeng
faeeebab03 Fix string length bugs in GWinHttpFile (#580347) 2009-05-28 12:52:23 +03:00
Hans Breuer
8607901a74 Correct reference and implement close_fn (#578769)
Do proper referencing and unreferencing of
GWinHttpFileInputStream::file and
GWinHttpFileInputStream::file::vfs. Implement
GWinHttpFileInputStream::close_fn.
2009-05-27 15:16:38 +03:00
Miquel Esplà
cd7e05bd0d Added Valencian-Catalan translation 2009-05-25 00:25:21 +02:00
Matthias Clasen
0e79a64be2 Forgotten commit 2009-05-17 17:29:45 -04:00
Matthias Clasen
619200637a Bump version 2009-05-16 23:57:00 -04:00
Matthias Clasen
abdd332535 Update for 2.20.2 2.20.2 2009-05-16 22:52:14 -04:00
Paul Pogonyshev
56bbed8168 Don't try to ref NULL pointer in g_desktop_app_info_dup()
Fixes bug #573246.
2009-05-16 20:59:14 -04:00
Petr Kovar
9a040209b6 Updated Czech translation 2009-05-03 18:32:21 +02:00
Jordi Mas i Hernandez
517636c7a8 Minor fixes to Catalan translation 2009-04-26 20:15:55 +02:00
Johan Bilien
d71e37892c Fix translation from GIO's file attr to xattr attributes
Bug 579862 – requesting xattr::foo ends up calling getxattr(...,
user.:foo,...)

The patch makes sure we escape xattr::, not xattr:, before adding user.
and calling getxattr.
2009-04-22 19:40:13 +01:00
zabeeh khan
c17d4dd117 Pashto Translation committed as per the request made by Zabeeh Khan on the gnome-i18n list 2009-04-17 11:27:38 +05:30
Matthias Clasen
b85834c223 Bump version 2009-04-11 18:10:24 -04:00
Matthias Clasen
2c1dc529e8 Add a note about handling non-hal backends 2009-04-09 21:34:49 -04:00
Matthias Clasen
6e11246cc8 Release GLib 2.20.1 2.20.1 2009-04-09 18:47:28 -04:00
Matthias Clasen
009689e09b Update for 2.20.1 2009-04-09 17:43:59 -04:00
Matthias Clasen
e68a35689f Fix G_DEFINE_TYPE_EXTENDED docs
Make the docs for G_DEFINE_TYPE_EXTENDED match the actual
definition of the macro.  (#577985)
2009-04-09 14:56:49 -04:00
Gian Mario Tagliaretti
856632c496 Fix a typo in GFile docs
Fixed function name in GFile docs from g_set_display_name to
g_file_set_display_name so that gtk-doc can link correctly.  (#578002)
2009-04-09 14:35:57 -04:00
Kenneth Nielsen
950de29d0e Updated Danish translation\n\nUpdated Danish translation by Kenneth Nielsen. 2009-04-09 13:49:00 +02:00
Peter Kjellerstedt
efc2cdbfc9 Fix parsing of timezones
Make g_time_val_from_iso8601 handle timezones with minutes correctly;
also accept comma as a fraction separator.  (#578369)
2009-04-08 10:26:11 -04:00
Alexander Larsson
d0cf7b3878 Only mark regular files as backup files
Apps don't generally create backup directories, etc. So, if the file
ends with ~ but is not a regular file shouldn't be considered a backup
file. (#573673)
2009-04-08 09:12:02 +02:00
Funda Wang
85a795b9ba Updated Simplified Chinese translation from Ray Wang
<wanglei1123@gmail.com>
2009-04-05 11:05:47 +08:00
Thanos Lefteris
7fd8708308 Updated Greek translation
Signed-off-by: Simos Xenitellis <simos@gnome.org>
2009-04-03 20:12:27 +01:00
Matthias Clasen
e6e82c51a6 Move hex_digits to rodata
Turn a string into a constant array.
2009-04-03 00:35:43 -04:00
Matthias Clasen
25ff8ee748 Don't lie about ext4 filesystems
When returning a filesystem type id, say "ext3/ext4" instead of "ext3",
since both use the same superblock magic, so we can't discriminate
them without more work.
2009-04-03 00:23:54 -04:00
Paolo Borelli
e8a42bb81c Regex leak on error path
Don't leak the GRegex struct when g_regex_new() fails.
2009-04-03 00:04:39 -04:00
Matthias Clasen
82a5f787d6 Update requirements
Mention that the mimetype-functionality of GIO reqires update-mime-database
and update-desktop-database at runtime. (#577128)
2009-04-02 23:57:59 -04:00
Matthias Clasen
20774c5663 Add a rule to generate ChangeLog
We use the same rule pango uses to create a ChangeLog file with
the help of git-log. The format is somewhat different from traditional
ChangeLog, but it contains the relevant information.
2009-04-02 23:42:29 -04:00
Matthias Clasen
b7f9a1ac83 Rename ChangeLog to ChangeLog.pre-2-20
Rename ChangeLog to prevent old habits from luring me into adding
entries there. Also, this makes room for autogenerating a ChangeLog
at make dist.
2009-04-02 23:14:54 -04:00