Commit Graph

7010 Commits

Author SHA1 Message Date
Alexander Shopov
eadd2ce7ff Updated Bulgarian translation 2009-09-08 07:41:28 +03:00
Dan Winship
bc1dd5cf11 Call element_free_func when shrinking array with g_ptr_array_set_size 2009-09-07 12:35:51 -04:00
Sandeep Shedmake
9a29f087e7 Updated Marathi Translations 2009-09-07 19:14:52 +05:30
Alexander Larsson
8af494d987 Avoid reading uninitialized memory
If the statfs call fails, don't look at the result.
2009-09-07 12:50:58 +02:00
Alexander Larsson
06de24f430 Remove warning in g_simple_async_result_complete
This warning hits code that uses GSimpleAsyncResult outside of a
mainloop as a helper object. For instance EggDBus does this.
Since the bugs this warning would fix are pretty easy to spot
and since EggDBus is deployed already we just remove the
"called from outside main loop" warning.

However, we need to keep the "called from wrong context" warning
as that is very helpful when debugging misuse of the new multiple
main context code.
2009-09-07 10:25:14 +02:00
Matthias Clasen
034d516160 Another dead assignment 2009-09-07 03:28:35 -04:00
Matthias Clasen
6cda9bfb02 Remove a dead initialization 2009-09-07 03:14:15 -04:00
Matthias Clasen
30645bd0a5 Remove a dead increment 2009-09-07 03:12:06 -04:00
Matthias Clasen
0d1ffbf361 Remove another dead assignment 2009-09-07 03:10:01 -04:00
Matthias Clasen
f2c8572d84 Remmove a dead assignment.
Spotted by clang.
2009-09-07 03:07:22 -04:00
Matthias Clasen
1ec32c403b Move a assignment to the relevant #ifdef branch
Dead code spotted by clang.
2009-09-07 03:02:58 -04:00
Matthias Clasen
e67c3cf2b0 Remove dead code 2009-09-07 03:01:02 -04:00
Matthias Clasen
80fd5ed402 Don't evaluate an uninitialized value
Bug found by clang.
2009-09-07 02:50:51 -04:00
Tomasz Dominikowski
7ea8a2a863 Updated Polish translation 2009-09-06 14:20:45 +02:00
Takayuki KUSANO
93fbae22d4 Update Japanese translation 2009-09-05 22:34:58 +09:00
Jorge González
6b406dda7b Updated Spanish translation 2009-09-05 13:47:41 +02:00
Matthias Clasen
e77b827884 Bump version 2009-09-04 21:20:09 -04:00
Matthias Clasen
296d481c7e 2.21.6 2009-09-04 21:19:02 -04:00
Matthias Clasen
05c2aeaf33 Add a Since: tag 2009-09-04 20:41:25 -04:00
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