Commit Graph

12863 Commits

Author SHA1 Message Date
Daniel Mustieles
3d6c6ff6af Updated Spanish translation 2012-09-18 16:35:15 +02:00
Ryan Lortie
ce3dddb622 GApplication: document differences from libunique
People implementing GApplication often waste a lot of time by trying to
use it as if it were libunique.  Add a note to the docs about the
difference.
2012-09-18 10:14:35 -04:00
Ryan Lortie
2cffb96088 bump version 2012-09-18 08:38:04 -04:00
Sandeep Sheshrao Shedmake
f6463bf095 Updated Marathi Translations 2012-09-18 13:13:52 +05:30
Rajesh Ranjan
a336201bf4 hindi update 2012-09-18 13:11:18 +05:30
Rafael Ferreira
b004390600 Updated Brazilian Portuguese translation 2012-09-17 23:35:57 -03:00
Gabor Kelemen
b289114991 Updated Hungarian translation 2012-09-18 01:21:04 +02:00
Ryan Lortie
a47761a36e GLib 2.33.14 2012-09-17 17:53:58 -04:00
Yuri Myasoedov
c4a20dd6c7 Updated Russian translation 2012-09-17 20:29:36 +04:00
Dieter Verfaillie
db22102038 gresource tests: fix VPATH builds emitting errors during dependency generation
Adding the --sourcedir option fixes these:
/path/to/src/gio/tests/test2.gresource.xml: Error on line 5 char 1: Failed to locate 'test1.txt' in current directory.
/path/to/src/gio/tests/test3.gresource.xml: Error on line 5 char 1: Failed to locate 'test1.txt' in current directory.
/path/to/src/gio/tests/test4.gresource.xml: Error on line 5 char 1: Failed to locate 'test1.txt' in current directory.
/path/to/src/gio/tests/test.gresource.xml: Error on line 5 char 1: Failed to locate 'test1.txt' in current directory.
2012-09-17 15:29:59 +02:00
Aurimas Černius
2edbee58f6 Updated Lithuanian translation 2012-09-16 23:11:25 +03:00
Chao-Hsiung Liao
1b4e2169ec Updated Traditional Chinese translation(Hong Kong and Taiwan) 2012-09-16 12:20:45 +08:00
Ask H. Larsen
262d7cbc7a Updated Danish translation 2012-09-16 02:09:14 +02:00
Matej Urbančič
b726ec7181 Updated Slovenian translation 2012-09-15 20:49:54 +02:00
Duarte Loreto
d0b695e237 Updated Portuguese translation 2012-09-15 19:29:25 +01:00
Seong-ho Cho
ac7dcd810b Updated Korean translation 2012-09-15 15:07:04 +09:00
Andika Triwidada
87eceb2001 Updated Indonesian translation 2012-09-15 11:51:46 +07:00
Fran Diéguez
d2526f509d Updated Galician translations 2012-09-15 01:43:08 +02:00
Matthias Clasen
80105f173a Fix the doc build 2012-09-14 19:40:24 -04:00
Tom Tryfonidis
e21847d9bb Updated Greek translation 2012-09-14 19:50:21 +03:00
Ihar Hrachyshka
552d6b4db2 Updated Belarusian translation. 2012-09-14 13:26:34 +03:00
Alexandre Franke
2e01c0da3c Update French translation 2012-09-14 09:44:48 +02:00
Мирослав Николић
7c6ce77dd3 Updated Serbian translation 2012-09-14 09:23:53 +02:00
Nilamdyuti Goswami
25e3047241 Assamese translation updated 2012-09-14 11:53:39 +05:30
A S Alam
d47e83676a update Punjabi Translation 2012-09-14 07:30:04 +05:30
Piotr Drąg
1a8f413555 Updated Polish translation 2012-09-14 00:53:20 +02:00
Colin Walters
d6cbb29f59 CVE-2012-3524: Hardening for being run in a setuid environment
Some programs attempt to use libglib (or even libgio) when setuid.
For a long time, GTK+ simply aborted if launched in this
configuration, but we never had a real policy for GLib.

I'm not sure whether we should advertise such support.  However, given
that there are real-world programs that do this currently, we can make
them safer with not too much effort.

Better to fix a problem caused by an interaction between two
components in *both* places if possible.

This patch adds a private function g_check_setuid() which is used to
first ensure we don't run an external dbus-launch binary if
DBUS_SESSION_BUS_ADDRESS isn't set.

Second, we also ensure the local VFS is used in this case.  The
gdaemonvfs extension point will end up talking to the session bus
which is typically undesirable in a setuid context.

Implementing g_check_setuid() is interesting - whether or not we're
running in a privilege-escalated path is operating system specific.
Note that GTK+'s code to check euid versus uid worked historically on
Unix, more modern systems have filesystem capabilities and SELinux
domain transitions, neither of which are captured by the uid
comparison.

On Linux/glibc, the way this works is that the kernel sets an
AT_SECURE flag in the ELF auxiliary vector, and glibc looks for it on
startup.  If found, then glibc sets a public-but-undocumented
__libc_enable_secure variable which we can use.  Unfortunately, while
it *previously* worked to check this variable, a combination of newer
binutils and RPM break it:
http://www.openwall.com/lists/owl-dev/2012/08/14/1

So for now on Linux/glibc, we fall back to the historical Unix version
until we get glibc fixed.

On some BSD variants, there is a issetugid() function.  On other Unix
variants, we fall back to what GTK+ has been doing.

Reported-By: Sebastian Krahmer <krahmer@suse.de>
Signed-off-by: Colin Walters <walters@verbum.org>
2012-09-13 18:34:29 -04:00
William Jon McCann
cc3238a9c9 Add api to get the generic icon name for a mime type
https://bugzilla.gnome.org/show_bug.cgi?id=683744
2012-09-13 12:50:02 -04:00
Mario Blättermann
8d362a14e4 Updated German translation 2012-09-13 11:05:59 +02:00
Alexander Larsson
c99acf51d0 Fix regression in g_shell_parse_argv()
The commit in 6e4acf44b3 broke
the fallthrough case for '\\' when it changed the '#' case.

This caused issues like this:
  https://bugzilla.gnome.org/show_bug.cgi?id=683821

https://bugzilla.gnome.org/show_bug.cgi?id=562907
2012-09-13 10:20:27 +02:00
Sandeep Sheshrao Shedmake
d6b9df6949 Updated Marathi Translations 2012-09-12 15:49:27 +05:30
Matthias Clasen
47a3b76ac5 Move GIO-specific information to the GIO docs 2012-09-11 23:15:03 -04:00
Matthias Clasen
fc7dc33113 Add a section about writing GLib applications
For now, this includes some information about threads and security.
2012-09-11 22:41:18 -04:00
Matthias Clasen
6a50dc511b Drop GVFS_INOTIFY_DIAG debug feature
Just not a good idea to have this in production code.
2012-09-11 20:24:30 -04:00
Nilamdyuti Goswami
7a0c47843f Assamese translation updated 2012-09-11 18:55:54 +05:30
Thomas Bechtold
c9a3cd6d8b Fix gdbus connection annotations
g_dbus_connection_call_with_unix_fd_list_sync () and
g_dbus_connection_call_sync () should allow None for the
bus_name parameter.

https://bugzilla.gnome.org/show_bug.cgi?id=683771

Signed-off-by: Richard Hughes <richard@hughsie.com>
2012-09-11 13:16:32 +01:00
Claude Paroz
3a7d89a414 Updated French translation by Alexandre Franke and Claude Paroz 2012-09-10 11:01:39 +02:00
LRN
59ad2acfc5 gwin32mount.c: Fix syntax error
Signed-off-by: Colin Walters <walters@verbum.org>

https://bugzilla.gnome.org/show_bug.cgi?id=683641
2012-09-09 10:49:45 -04:00
Duarte Loreto
1a99d0eb99 Updated Portuguese translation 2012-09-09 01:30:24 +01:00
Martin Srebotnjak
a9720d1497 Updated Slovenian translation 2012-09-08 20:40:24 +02:00
Ryan Lortie
73a100d2ef G_DEFINE_QUARK: fix up some implementation issues
https://bugzilla.gnome.org/show_bug.cgi?id=683360
2012-09-08 14:08:01 -04:00
Marek Černocký
986405c37a Updated Czech translation 2012-09-08 11:17:27 +02:00
Ihar Hrachyshka
fcbc30451e Updated Belarusian translation. 2012-09-07 18:27:47 +03:00
Yaron Shahrabani
0c582a0cfc Updated Hebrew translation. 2012-09-07 16:52:28 +03:00
Мирослав Николић
e2ca8f1df1 Updated Serbian translation 2012-09-06 22:34:36 +02:00
Colin Walters
e6df67abe6 tests/gvariant: Fix test on big endian architectures
We need to ensure we get the exact same byte-level GVariant, so
byteswap on big endian architectures.

https://bugzilla.gnome.org/show_bug.cgi?id=683384
2012-09-06 09:23:06 -04:00
Martin Pitt
02f143c2d9 Box GTimeZone to make it introspectable
https://bugzilla.gnome.org/show_bug.cgi?id=683167
2012-09-06 06:18:42 +02:00
Bruce Cowan
f4980c6295 Updated British English translation 2012-09-05 13:13:54 +01:00
Chao-Hsiung Liao
54fa6a0bcf Updated Traditional Chinese translation(Hong Kong and Taiwan) 2012-09-05 19:52:32 +08:00
Dirgita
9ecbb2dfd3 Updated Indonesian translation 2012-09-04 19:47:46 +07:00