Commit Graph

7191 Commits

Author SHA1 Message Date
Matthias Clasen
2ae69f5124 Updates 2009-09-04 20:39:27 -04:00
Benjamin Otte
4114f1214c Bug 594034 - Use g_mkstemp_full() when creating the replacement file
Previous code used g_mkstemp(). But when using
G_FILE_CREATE_REPLACE_DESTINATION, no attempt was made to ensure proper
mode and flags of the created temporary file. The visible issue was that
the file was always created with mode 0600 as opposed to using 0666.
(The invisible issue was that O_RDWR was used instead of O_WRONLY.)
2009-09-04 22:45:57 +02:00
Benjamin Otte
24bec5c5bd Bug 594034 - Add g_mkstemp_full()
This function exposes more variables than g_mkstemp() and therefor
allows more flexibility when creating temporary files.
The intended use is gio's code for g_file_replace() (see next patch)
2009-09-04 22:45:07 +02:00
Ivar Smolin
16ddefea15 Updating Estonian translation 2009-09-04 18:58:00 +03:00
Christian Kirbach
c642965b23 Updated German translation 2009-09-04 15:16:04 +02:00
Daniel Nylander
c77fd0bb04 Updated Swedish translation 2009-09-04 06:31:34 +02:00
Claude Paroz
7628e1b477 Updated French translation 2009-09-04 00:07:40 +02:00
Fábio Nogueira
5a66c4bdb7 Updated Brazilian Portuguese translation. 2009-09-02 12:29:30 -04:00
Inaki Larranaga Murgoitio
de125e51a0 Updated Basque language 2009-09-02 18:19:27 +02:00
Gabor Kelemen
ff9b29ce5b Hungarian translation updated 2009-09-02 18:05:23 +02:00
Duarte Loreto
f2320a40f1 Updated Portuguese translation 2009-09-01 23:34:41 +01:00
Luca Ferretti
f783515323 Updated Italian translation 2009-09-01 23:47:14 +02:00
Benjamin Otte
3826963e65 Use lchmod instead of stat + chown if available
Fallout of the NOFLOOW_SYMLINKS fix from bug 593406
2009-09-01 21:53:35 +02:00
Benjamin Otte
48e0af0157 Bug 593406 - Permissions set to 777 after copying via Nautilus
Only fail to set the permissions when the actual file is a symlink.
The previous fix failed for every file when NOFOLLOW_SYMLINKS was set.
2009-09-01 21:33:11 +02:00
Benjamin Otte
bb7852e34b Only do the chmod NOFOLLOW_SYMLINK checks with HAVE_SYMLINK 2009-09-01 21:29:43 +02:00
Dan Winship
8212aadac7 g_time_val_from_iso8601: handle timezoneless dates
per ISO 8601:2004 4.2.5.2

Based on a patch from Andy Shevchenko
http://bugzilla.gnome.org/show_bug.cgi?id=589491
2009-09-01 09:40:03 -04:00
Benjamin Otte
fc44bf40a4 Fix gtk-doc syntax 2009-09-01 12:48:55 +02:00
Benjamin Otte
e695c0932f Bug 593406 - Permissions set to 777 after copying via Nautilus
When doing a g_file_copy() with nofollow-symlinks (to copy a link for
example), the later copying of the file attributes copies the source
links 777 attributes to the target's attributes. As chmod affects the
symlink target, this would cause such copies to always set the target to
777 mode.

This patch makes setting the mode with nofollow-symlinks fail with
NOT_SUPPORTED.

The aforementioned g_file_copy() will still succeed, because it ignores
errors of the attribute copy.
2009-09-01 12:15:31 +02:00
Kjartan Maraas
e967a47117 Update Norwegian bokmål translation. 2009-09-01 10:52:59 +02:00
Sandeep Shedmake
c433158e86 Updated Marathi Translations 2009-08-31 20:47:13 +05:30
Sandeep Shedmake
c59dbb4ddf Updated Marathi Translations 2009-08-31 20:29:16 +05:30
krishnababu k
ee8e145472 Updated Telugu Translations 2009-08-31 19:41:54 +05:30
Shankar Prasad
3a7560b00a Updated Kannada(kn) translation 2009-08-31 13:34:44 +05:30
Rodrigo L. M. Flores
31924b1980 Updated Brazilian Portuguese mailing list address. 2009-08-30 19:41:47 -03:00
Petr Kovar
f2b8b69112 Updated Czech translation 2009-08-29 21:05:19 +02:00
Matthias Clasen
c47dca4cfe Re-commit 30b8774f7f
Turns out Alex had agreed to this.
2009-08-27 23:40:16 -04:00
Matthias Clasen
2889f1b8a3 Use the saved errno value
Bug 591995
2009-08-27 23:02:08 -04:00
Matthias Clasen
3ba64e72cf Read /dev/urandom unbuffered
To avoid wasting entropy. Bug 593232.
2009-08-27 22:59:05 -04:00
Matthias Clasen
3a47f48311 Revert "add a "gsettings-backend" extension point to GIO"
This reverts commit 30b8774f7f.
2009-08-27 22:51:53 -04:00
Ryan Lortie
30b8774f7f add a "gsettings-backend" extension point to GIO 2009-08-27 13:45:48 -04:00
Luca Ferretti
df981f82a0 Updated Italian translation 2009-08-26 22:04:58 +02:00
Luca Ferretti
71b684b9cf Updated Italian translation 2009-08-26 15:32:23 +02:00
Amitakhya Phukan
884c789ef5 Updating Assamese translations 2009-08-26 17:34:17 +05:30
Ani
195abb97ff Updated Malayalam Translations 2009-08-26 15:18:57 +05:30
ifelix
6c1466a2d2 Updated Tamil Translations 2009-08-25 14:10:56 +05:30
Manoj Kumar Giri
64b49c9087 Updated Oriya Translation 2009-08-25 12:14:41 +05:30
Baris Cicek
24c31a79e1 Updated Turkish translation. 2009-08-25 00:38:34 +03:00
Luca Ferretti
ef5aef582e Fix bump version 2009-08-24 21:28:11 +02:00
Matthias Clasen
83d3242d12 Bump version 2009-08-24 14:15:13 -04:00
Matthias Clasen
106cd06ff3 2.21.5 2009-08-24 14:13:49 -04:00
Matthias Clasen
eadef0325a Documentation fixes 2009-08-24 13:34:38 -04:00
Matthias Clasen
d1cbb96428 Updates 2009-08-24 13:34:38 -04:00
Carles Ferrando
002da02df8 Minor update to Catalan (Valencian) translation 2009-08-24 18:38:33 +02:00
Rajesh Ranjan
2e0656063b hindi updated by Rajesh Ranjan 2009-08-24 16:52:25 +05:30
Sweta Kothari
4a5e71b847 Updated Gujarati Translations 2009-08-24 14:23:56 +05:30
Duarte Loreto
90f9eb6e40 Updated Portuguese translation 2009-08-23 14:59:14 +01:00
Changwoo Ryu
feedeb1d12 Update Korean translation 2009-08-23 00:50:28 +09:00
Christian Persch
8ef30758d5 Preserve errno
When using errno in g_set_error with _(), preserve errno. Bug #592457.
2009-08-22 15:08:43 +02:00
A S Alam
feff29aefc Update Punjabi after Review 2009-08-22 06:15:29 +05:30
Tommi Vainikainen
a568b054ad Updated Finnish translation 2009-08-21 23:43:53 +03:00