Commit Graph

7389 Commits

Author SHA1 Message Date
Matthias Clasen
8b3853b8a1 Reduce false positives in static analysis
Tools like clang fail to recognize that stanzas like
g_return_if_fail (GTK_IS_FOO (w)) guarantee w != NULL. By minimally
rewriting the type-checking macros, we can avoid these false positives.
2009-09-18 19:20:06 -04:00
Matthias Clasen
53fc10d269 Fix a lot of clang complaints
Mostly dead assignments.
2009-09-18 19:20:06 -04:00
Dumitru Mișu Moldovan
04d632ccf5 Updated Romanian translation 2009-09-18 00:17:32 +03:00
Miloš Popović
3bfba7924c Updated Serbian translation 2009-09-17 17:58:52 +00:00
krishnababu k
dd7f660fb7 Updated Telugu Translation 2009-09-17 21:18:57 +05:30
ifelix
256662ddba Updated Tamil Translations 2009-09-17 15:50:19 +05:30
Fran Diéguez
78c548b506 UPdated Galician Translation 2009-09-16 16:15:05 +02:00
Runa Bhattacharjee
d88b6a3d60 Updated Bengali India Translations 2009-09-15 18:31:49 +05:30
Manoj Kumar Giri
011592af55 Upadted Oriya Translation 2009-09-15 16:22:41 +05:30
Theppitak Karoonboonyanan
ddc85a8b02 Updated Thai translation. 2009-09-15 14:29:36 +07:00
Amitakhya Phukan
3a240a7f71 Updating Assamese translations. 2009-09-15 12:48:50 +05:30
Kjartan Maraas
ef5e66c330 Update Norwegian bokmål translation. 2009-09-14 00:16:51 +02:00
Aron Xu
220bde833a Updated Simplified Chinese translation. 2009-09-13 15:09:29 +08:00
A S Alam
7e514b6efa Updating Translation for Punjabi 2009-09-13 08:58:57 +05:30
Ask H. Larsen
e1957bd71c Updated Danish translation 2009-09-13 03:16:47 +02:00
Bruce Cowan
6366015dec Updated British English translation 2009-09-12 20:04:29 +01:00
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