Commit Graph

12879 Commits

Author SHA1 Message Date
Matthias Clasen
a12c277acb Fix GRegex docs 2012-09-23 02:00:03 -04:00
Matthias Clasen
6283f801b0 Fix up g_tree_foreach docs 2012-09-23 02:00:03 -04:00
Matthias Clasen
d9f8381aa8 Fix up docs for GDuplicateFunc 2012-09-23 01:59:57 -04:00
Matthias Clasen
cc2b1839f5 Updates 2012-09-23 01:18:53 -04:00
Shankar Prasad
1820aa55ab Updated kn translation 2012-09-23 02:27:15 +05:30
Rūdolfs Mazurs
814679b61e Updated Latvian translation 2012-09-22 20:02:44 +03:00
Carles Ferrando
3e328a63b8 [l10n]Updated Catalan (Valencian) translation 2012-09-22 16:45:48 +02:00
Gil Forcada
378be2a141 [l10n] Updated Catalan translation 2012-09-22 16:45:48 +02:00
Yaron Shahrabani
0d2383999d Updated Hebrew translation. 2012-09-22 15:24:19 +03:00
Alexander Shopov
8a08fde54b Updated Bulgarian translation 2012-09-22 13:00:25 +03:00
Shankar Prasad
5b8b7419a8 Updated kn translation 2012-09-22 00:21:35 +05:30
Rafael Ferreira
65e2a235af Updated Brazilian Portuguese Translation 2012-09-21 15:41:12 -03:00
Krishnababu Krothapalli
af3557a74c Updated Telugu Translations 2012-09-20 16:15:01 +05:30
Chun-wei Fan
3dd65859a7 gio: Fix build on Windows
The newly-introduced functions, g_content_type_get_symbolic_icon() and
g_content_type_get_generic_icon_name() don't seem to be for Windows, at
least for now.  So filter them out from gio.symbols on Windows.

Also, glocalfileinfo.c calls g_content_type_get_symbolic_icon() in
get_icon(), so only build that code when on Unix, for the time being.

https://bugzilla.gnome.org/show_bug.cgi?id=684278
2012-09-19 10:32:05 +08:00
Fran Diéguez
18143b7aef Updated Galician translations 2012-09-19 02:27:16 +02:00
Bruce Cowan
01d10600ed Updated British English translation 2012-09-18 18:35:04 +01:00
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