Commit Graph

13660 Commits

Author SHA1 Message Date
Patrick Ohly
a8811fb864 GDBusMethodInvocation: leak and potential crash
_g_dbus_method_invocation_new is said to allow method_info == NULL,
but will crash inside g_dbus_method_info_ref when the method_info
really is NULL, because g_dbus_method_info_ref does not allow NULL as
parameter. Fixed by checking for NULL in _g_dbus_method_invocation_new
itself.

The leak itself happens because _g_dbus_method_invocation_new stores a
new reference to the method_info without also unreferencing it. Fixed
by adding the missing unref, protected by an if because the pointer
may be NULL.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=695376
2013-03-17 22:46:20 -04:00
Rūdolfs Mazurs
1a9567139d Updated Latvian translation 2013-03-17 20:08:27 +02:00
Ihar Hrachyshka
a484b6205d Updated Belarusian translation. 2013-03-17 16:40:46 +03:00
Gheyret Kenji
9a8bae8036 Updated Uyghur translation
Signed-off-by: Gheyret Kenji <gheyret@gmail.com>
2013-03-17 13:54:19 +09:00
Stephan Bergmann
255c65f83c gmacros: Ensure GUINT32/64_SWAP_LE_BE macros parenthesize arguments
Like all macros, we need to parenthesize arguments to ensure the order
of operations is correct.

See the mail thread starting at
<http://lists.fedoraproject.org/pipermail/devel/2013-March/180302.html>
"GCC produced wrong code in gvfs-1.14.2-3.fc18.x86_64" for how this
caused trouble with GVFS (which in turn caused trouble with
LibreOffice, where running "soffice sftp://.../.../test.odt" to access
an .odt file via GVFS failed to properly type-detect that file as a
Writer document and produced bogus error messages about the file being
broken).

https://bugzilla.gnome.org/show_bug.cgi?id=695925
2013-03-15 12:51:49 -04:00
Duarte Loreto
55a235d377 Updated Portuguese translation and converted to New Spelling (Novo AO) 2013-03-15 12:55:57 +00:00
Sébastien Wilmet
e3c2d03092 Doc: clarify set_property() vfunc
Implementations "don't need to ...". It was not clear what happen
if they do it all the same.

https://bugzilla.gnome.org/show_bug.cgi?id=695887
2013-03-15 09:07:30 +01:00
Sébastien Wilmet
e569079414 Doc: clarify a bit g_signal_connect_object()
"the object" can be a bit confusing for a beginner, he can think it is
the @instance.

https://bugzilla.gnome.org/show_bug.cgi?id=695887
2013-03-15 09:07:29 +01:00
Martin Srebotnjak
2c566aa09e Updated Slovenian translation 2013-03-14 23:17:33 +01:00
Sweta Kothari
2d1456b0ed Updated gujarati file 2013-03-14 16:28:11 +05:30
Sweta Kothari
a0a68efc1e Updated gujarati file 2013-03-14 15:24:20 +05:30
Emilio Pozuelo Monfort
605c4ca24e live-g-file: test hidden files
We test for traditional Unix dot-leading files as well as
for files listed in the .hidden file.

https://bugzilla.gnome.org/show_bug.cgi?id=695147
2013-03-13 09:41:09 -04:00
Ryan Lortie
3902006a5b glocalfileinfo: Stop using PATH_MAX for .hidden
We were using PATH_MAX to size a static array for reading lines from
the .hidden file.  Some platforms (Hurd) don't declare a PATH_MAX.

Switch to using g_file_get_contents() and g_str_split('\n') instead.

Also take the time to clean up a bit with a switch to using a 'set mode'
GHashTable (since this code was originally written before we had those).

This patch is largely based on a patch from Emilio Pozuelo Monfort (who
also reported the bug).

https://bugzilla.gnome.org/show_bug.cgi?id=695147
2013-03-13 09:41:03 -04:00
Gheyret Kenji
8028f54c9c Updated Uyghur translation
Signed-off-by: Gheyret Kenji <gheyret@gmail.com>
2013-03-13 20:48:15 +09:00
Gheyret Kenji
498d907bcb Updated Uyghur translation
Signed-off-by: Gheyret Kenji <gheyret@gmail.com>
2013-03-13 20:39:02 +09:00
Joe Hansen
4db7e5ea0d Updated Danish translation 2013-03-12 23:14:39 +01:00
Carles Ferrando
ee8d54b0cf [l10n] Updated Catalan (Valencian) translation 2013-03-12 23:02:33 +01:00
Gil Forcada
7b7cf94577 [l10n] Updated Catalan translation 2013-03-12 23:02:24 +01:00
Claude Paroz
5131421c09 Updated French translation 2013-03-12 18:17:12 +01:00
Ryan Lortie
e359bc09c2 tests: clean up for Unicode corrigendum #9
Unicode corrigendum #9 spells out in no uncertain terms that on
conversion interfaces we should not reject characters like U+FFFE and
U+FFFF which we were doing before.

Commit f91ef4ef15 started accepting these
characters, but we had some testcases that were checking that strings
containing these characters should be rejected.

Update the tests.

https://bugzilla.gnome.org/show_bug.cgi?id=694669
2013-03-12 12:46:18 -04:00
Nilamdyuti Goswami
a839dc5df6 Assamese translation updated for gnome 3.8 2013-03-12 18:24:22 +05:30
Martin Pitt
97050e503f Fix /appinfo/mime tests
Commit f641699 (for bug 675333) introduced a check whether the Exec= program in
a .desktop actually exists. This broke the /appinfo/mime/* test cases which use
executable names like "my_app".

Use real ones instead (like "echo" and "sleep"), and add a new
/appinfo/mime/ignore-nonexisting test case which verifies that
g_desktop_app_info_new() indeed ignores nonexisting executables.

https://bugzilla.gnome.org/show_bug.cgi?id=695191
2013-03-12 07:07:07 +01:00
Milo Casagrande
48b18041c1 [l10n] Updated Italian translation. 2013-03-11 22:08:36 +01:00
Fran Diéguez
40026bce91 Updated Galician translations 2013-03-11 21:54:50 +01:00
Seong-ho Cho
1c10773d68 Updated Korean translation 2013-03-12 02:22:43 +09:00
Daniel Mustieles
77798c2278 Updated Spanish translation 2013-03-11 18:09:07 +01:00
Dimitris Spingos
f240872cf8 Updated Greek translation 2013-03-11 17:26:39 +02:00
Мирослав Николић
5e20ba457d Updated Serbian translation 2013-03-11 11:29:28 +01:00
Mario Blättermann
8a8f423629 [l10n] Updated German translation 2013-03-10 17:06:47 +01:00
Jiro Matsuzawa
1da401d7b8 [l10n] Update Japanese translation 2013-03-10 21:55:53 +09:00
Rafael Ferreira
d72e609ff6 Updated Brazilian Portuguese translation 2013-03-09 15:43:20 -03:00
Piotr Drąg
9da2125f49 Updated Polish translation 2013-03-09 19:41:07 +01:00
Aurimas Černius
92de11e7e7 Updated Lithuanian translation 2013-03-09 17:20:42 +02:00
Jiro Matsuzawa
2549c33451 gsettings-tool: Make a string translatable
https://bugzilla.gnome.org/show_bug.cgi?id=695425
2013-03-09 23:56:02 +09:00
Matej Urbančič
74e92836d0 Updated Slovenian translation 2013-03-09 13:50:59 +01:00
Ihar Hrachyshka
9c3d69eaa7 Updated Belarusian translation. 2013-03-09 14:01:43 +03:00
Dimitris Spingos
eaaa5ef6fb Updated Greek translation 2013-03-09 11:37:03 +02:00
Piotr Drąg
af61926312 Updated Polish translation 2013-03-08 20:46:44 +01:00
Mario Blättermann
85b8f23d62 [l10n] Updated German translation 2013-03-08 17:06:53 +01:00
Rafael Ferreira
7d468ad538 Updated Brazilian Portuguese translation 2013-03-08 10:37:54 -03:00
Theppitak Karoonboonyanan
33fb5227ad Updated Thai translation 2013-03-08 15:46:25 +07:00
Behdad Esfahbod
f67a9905ff [win32] Remove MemoryBarrier() fallback implementation
I added these because the older mingw32 toolchain didn't have
MemoryBarrier().  The newer mingw-w64 toolchain however has.
As reported by John Emmas this was causing build failure with
MSVC because of inline issues.  But that reminded me that we
may be taking this path even if the system implements
MemoryBarrier as a function, which is a waste.  So, just remove
it.
2013-03-07 20:21:12 -05:00
Fran Diéguez
75d424977e Updated Galician translations 2013-03-08 00:49:41 +01:00
Matthias Clasen
f1173dd725 Fix a mixup of singular and plural
Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=695339
2013-03-07 16:45:50 -05:00
Ihar Hrachyshka
b3dc7e734d Updated Belarusian translation. 2013-03-07 16:20:49 +03:00
Rafael Ferreira
865316dfb8 Updated Brazilian Portuguese translation 2013-03-07 00:31:42 -03:00
Jasper St. Pierre
155f599b20 tests/appinfo: Fix a typo
The environment variable name is BLA, not BAR, so if BAR is
set for some strange reason, the test fails.
2013-03-06 20:32:53 -05:00
Mario Blättermann
717e933e72 [l10n] Updated German translation 2013-03-05 22:33:48 +01:00
Christian Persch
f91ef4ef15 unicode: Allow noncharacters
Implement unicode corrigendum #9.

https://bugzilla.gnome.org/show_bug.cgi?id=694669
2013-03-05 17:27:53 +01:00
Ognyan Tonchev
06a59f889a base64: Fix g_base64_decode_step ()
Do not produce invalid data if there was padding character in the
previous sequence.

https://bugzilla.gnome.org/show_bug.cgi?id=694843
2013-03-05 10:55:29 -05:00