Commit Graph

12886 Commits

Author SHA1 Message Date
Matthias Clasen
580b58c3c0 Update GConf migration guide
Newer intltool makes this much easier. Yay
https://bugzilla.gnome.org/show_bug.cgi?id=674620
2012-09-23 11:23:29 -04:00
Matthias Clasen
6270b3f384 Fix g_ptr_array_ref_docs
https://bugzilla.gnome.org/show_bug.cgi?id=676034
2012-09-23 11:16:26 -04:00
Matthias Clasen
26ecc52073 Clarify g_type_init docs
Mention that there's no way to undo it.
https://bugzilla.gnome.org/show_bug.cgi?id=654239
2012-09-23 11:13:57 -04:00
Matthias Clasen
1ea6c0d6d4 Update to latest version
We should really stop shipping this, but I don't want to make
such a change on the day before a stable release, so I'll just
update it to avoid noise in diffs.
2012-09-23 10:47:22 -04:00
Anita Reitere
91ff013e7f Updated Latvian translation 2012-09-23 17:44:20 +03:00
Mario Blättermann
3632d0000d [l10n] Updated German translation 2012-09-23 14:43:07 +02:00
Matthias Clasen
344066e0c1 Fix gio docs 2012-09-23 02:18:56 -04:00
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