Matthias Clasen
0119faa5b0
2.20.5
2009-08-28 21:32:18 -04:00
Matthias Clasen
0eb0963256
Updates
2.20.5
2009-08-27 23:56:42 -04:00
Matthias Clasen
ca79339e22
Use the saved errno value
...
Bug 591995
2009-08-27 23:51:53 -04:00
Matthias Clasen
1674764f0c
Read /dev/urandom unbuffered
...
To avoid wasting entropy. Bug 593232.
2009-08-27 23:51:44 -04:00
Christian Persch
0bfd984003
Preserve errno
...
When using errno in g_set_error with _(), preserve errno. Bug #592457 .
2009-08-27 23:51:21 -04:00
Alexander Larsson
d349f2f6e5
Only fsync if the existing file is > 0 bytes
...
This means we don't sync in the case where we created an (empty)
temp file and now replace it with the data.
This fixes (among other things) the performance of trashing files.
2009-08-27 23:49:48 -04:00
Matthias Clasen
408950287d
Avoid some compiler warnings.
2009-08-27 23:48:37 -04:00
Matthias Clasen
9939347cce
Another possible error code clash, yay
2009-08-27 23:48:13 -04:00
Carles Ferrando
5084b8d9b8
Minor update to Catalan (Valencian) translation
2009-08-24 18:34:48 +02:00
Shixin Zeng
ce09f940b6
[Win32] Avoid superfluous '/' from g_file_resolve_relative_path()
...
Patch from bug #591532 .
2009-08-14 23:21:12 +03:00
Tor Lillqvist
d3b4d03784
Avoid gcc warning on Windows
...
Avoid "function declaration isn't a prototype" warnings from gcc 4.4
in the Windows-specific code.
2009-08-14 23:02:47 +03:00
Antón Méixome
e536290bb0
Updated Galician translation
2009-08-10 16:25:24 +02:00
Matthias Clasen
fbcbfc7453
Bump version
2009-06-27 01:29:06 -04:00
Matthias Clasen
213b4ca60a
2.20.42.20.4
2.20.4
2009-06-27 01:25:56 -04:00
Matthias Clasen
cf72d0f757
Updates
2009-06-27 00:14:46 -04:00
Matthias Clasen
340ad3d17f
Fix a typo
2009-06-26 23:01:12 -04:00
Tom Parker
bfb3aa9d48
Add NULL to end of g_filename_complete_get_completions() return value
...
g_filename_complete_get_completions() return value is meant to be a
g_strfreev-compatible array i.e. NULL-terminated. However, pointer arrays
aren't automagically NULL-terminated. This fixes bug 586868
2009-06-26 22:41:23 -04:00
Matthias Clasen
d5444c9b49
Use pipe2 when available
...
This avoids a small window for races between pipe and fdset.
Reported in bug 579933 by Thiago Macieira.
2009-06-23 13:07:38 -04:00
Alexander Larsson
6cf974af38
Avoid unnecessary work if mount watching not specified ( #585360 )
...
If G_FILE_MONITOR_WATCH_MOUNTS isn't specified, don't do all the work
when the mtab changes.
2009-06-23 13:07:14 -04:00
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