Commit Graph

7023 Commits

Author SHA1 Message Date
Tommi Vainikainen
a92f10d712 Updated Finnish translation 2009-09-12 19:10:57 +03:00
Tor Lillqvist
410305255d Remove old crap for fetching the "build" directory from svn 2009-09-12 01:57:46 +03:00
Sjoerd Simons
8667317766 Fix GNetworkAddress skipping addresses when enumerating
g_network_address_address_enumerator_next_finish takes the first item of the
address list and moves the pointer to the next one, so we shouldn't do the same
in g_network_address_address_enumerator_next_async function

Fixes bug #593941
2009-09-11 15:25:34 +01:00
Richard Hughes
cdd04f36ca Make the error const for g_simple_async_result_set_from_error 2009-09-11 15:20:34 +01:00
James Hunt
11477609d1 g_socket_send_message() fails due to invalid sendmsg(2) params.
g_socket_send_message() and g_socket_send_to() fail with ENOBUFS or
EFAULT due to the fact that if no "address" argument is specified to
g_socket_send_message, when g_socket_send_message() calls sendmsg(2),
the 2nd parameter to sendmsg ("const struct msghdr *msg") contains
uninitialized values. The fix is simple - initialize msg.msg_name to
NULL and msg.msg_msg_namelen to 0.

https://bugzilla.gnome.org/show_bug.cgi?id=594759
2009-09-11 08:52:14 -04:00
Rajesh Ranjan
29baa5eebd hindi update by Rajesh Ranjan 2009-09-11 16:00:29 +05:30
Ani
9dc9b39284 Updated Malayalam Translations 2009-09-11 12:18:50 +05:30
Maxim V. Dziumanenko
c3bbec5213 Updated Ukrainian translation 2009-09-11 01:48:56 +03:00
Christian Dywan
278ac0a45d Bug 579050 Allow making selected critical and warning messages non-fatal
Implement g_test_log_set_fatal_handler which is a function similar to
g_log_set_default_handler but for use in unit tests where certain
errors have to be ignored because it is not possible to fix or avoid
them otherwise. A unit test is added.
2009-09-10 16:45:49 +02:00
Shankar Prasad
4b1217b7e0 Updated Kannada(kn) translation 2009-09-10 12:26:13 +05:30
Kostas Papadimas
664dd25665 Updated Greek translation. 2009-09-09 18:38:12 +03:00
Sweta Kothari
593cd7a683 Updated Gujarati Translations 2009-09-09 16:54:43 +05:30
Dan Winship
f393e80587 Clarify g_ptr_array_set_size() docs re: free_func 2009-09-08 11:19:13 -04:00
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