platform/upstream/glib.git
12 years agoUpdated kn translation
Shankar Prasad [Fri, 21 Sep 2012 18:51:21 +0000 (00:21 +0530)]
Updated kn translation

12 years agoUpdated Brazilian Portuguese Translation
Rafael Ferreira [Fri, 21 Sep 2012 18:41:12 +0000 (15:41 -0300)]
Updated Brazilian Portuguese Translation

12 years agoUpdated Telugu Translations
Krishnababu Krothapalli [Thu, 20 Sep 2012 10:44:21 +0000 (16:14 +0530)]
Updated Telugu Translations

12 years agogio: Fix build on Windows
Chun-wei Fan [Tue, 18 Sep 2012 09:05:49 +0000 (17:05 +0800)]
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

12 years agoUpdated Galician translations
Fran Diéguez [Wed, 19 Sep 2012 00:27:16 +0000 (02:27 +0200)]
Updated Galician translations

12 years agoUpdated British English translation
Bruce Cowan [Tue, 18 Sep 2012 17:35:04 +0000 (18:35 +0100)]
Updated British English translation

12 years agoUpdated Spanish translation
Daniel Mustieles [Tue, 18 Sep 2012 14:35:15 +0000 (16:35 +0200)]
Updated Spanish translation

12 years agoGApplication: document differences from libunique
Ryan Lortie [Tue, 18 Sep 2012 14:14:35 +0000 (10:14 -0400)]
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.

12 years agobump version
Ryan Lortie [Tue, 18 Sep 2012 12:38:04 +0000 (08:38 -0400)]
bump version

12 years agoUpdated Marathi Translations
Sandeep Sheshrao Shedmake [Tue, 18 Sep 2012 07:43:52 +0000 (13:13 +0530)]
Updated Marathi Translations

12 years agohindi update
Rajesh Ranjan [Tue, 18 Sep 2012 07:41:18 +0000 (13:11 +0530)]
hindi update

12 years agoUpdated Brazilian Portuguese translation
Rafael Ferreira [Tue, 18 Sep 2012 02:35:57 +0000 (23:35 -0300)]
Updated Brazilian Portuguese translation

12 years agoUpdated Hungarian translation
Gabor Kelemen [Mon, 17 Sep 2012 23:21:04 +0000 (01:21 +0200)]
Updated Hungarian translation

12 years agoGLib 2.33.14 2.33.14
Ryan Lortie [Mon, 17 Sep 2012 21:53:58 +0000 (17:53 -0400)]
GLib 2.33.14

12 years agoUpdated Russian translation
Yuri Myasoedov [Mon, 17 Sep 2012 16:29:36 +0000 (20:29 +0400)]
Updated Russian translation

12 years agogresource tests: fix VPATH builds emitting errors during dependency generation
Dieter Verfaillie [Thu, 13 Sep 2012 10:13:36 +0000 (12:13 +0200)]
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.

12 years agoUpdated Lithuanian translation
Aurimas Černius [Sun, 16 Sep 2012 20:11:25 +0000 (23:11 +0300)]
Updated Lithuanian translation

12 years agoUpdated Traditional Chinese translation(Hong Kong and Taiwan)
Chao-Hsiung Liao [Sun, 16 Sep 2012 04:20:45 +0000 (12:20 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)

12 years agoUpdated Danish translation
Ask H. Larsen [Sun, 16 Sep 2012 00:09:14 +0000 (02:09 +0200)]
Updated Danish translation

12 years agoUpdated Slovenian translation
Matej Urbančič [Sat, 15 Sep 2012 18:49:54 +0000 (20:49 +0200)]
Updated Slovenian translation

12 years agoUpdated Portuguese translation
Duarte Loreto [Sat, 15 Sep 2012 18:29:25 +0000 (19:29 +0100)]
Updated Portuguese translation

12 years agoUpdated Korean translation
Seong-ho Cho [Sat, 15 Sep 2012 06:06:39 +0000 (15:06 +0900)]
Updated Korean translation

12 years agoUpdated Indonesian translation
Andika Triwidada [Sat, 15 Sep 2012 04:51:46 +0000 (11:51 +0700)]
Updated Indonesian translation

12 years agoUpdated Galician translations
Fran Diéguez [Fri, 14 Sep 2012 23:43:08 +0000 (01:43 +0200)]
Updated Galician translations

12 years agoFix the doc build
Matthias Clasen [Fri, 14 Sep 2012 23:40:24 +0000 (19:40 -0400)]
Fix the doc build

12 years agoUpdated Greek translation
Tom Tryfonidis [Fri, 14 Sep 2012 16:50:21 +0000 (19:50 +0300)]
Updated Greek translation

12 years agoUpdated Belarusian translation.
Ihar Hrachyshka [Fri, 14 Sep 2012 10:26:34 +0000 (13:26 +0300)]
Updated Belarusian translation.

12 years agoUpdate French translation
Alexandre Franke [Fri, 14 Sep 2012 07:44:48 +0000 (09:44 +0200)]
Update French translation

12 years agoUpdated Serbian translation
Мирослав Николић [Fri, 14 Sep 2012 07:23:53 +0000 (09:23 +0200)]
Updated Serbian translation

12 years agoAssamese translation updated
Nilamdyuti Goswami [Fri, 14 Sep 2012 06:23:11 +0000 (11:53 +0530)]
Assamese translation updated

12 years agoupdate Punjabi Translation
A S Alam [Fri, 14 Sep 2012 02:00:04 +0000 (07:30 +0530)]
update Punjabi Translation

12 years agoUpdated Polish translation
Piotr Drąg [Thu, 13 Sep 2012 22:53:20 +0000 (00:53 +0200)]
Updated Polish translation

12 years agoCVE-2012-3524: Hardening for being run in a setuid environment
Colin Walters [Wed, 22 Aug 2012 18:26:11 +0000 (14:26 -0400)]
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>
12 years agoAdd api to get the generic icon name for a mime type
William Jon McCann [Mon, 10 Sep 2012 19:16:58 +0000 (15:16 -0400)]
Add api to get the generic icon name for a mime type

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

12 years agoUpdated German translation
Mario Blättermann [Thu, 13 Sep 2012 09:05:59 +0000 (11:05 +0200)]
Updated German translation

12 years agoFix regression in g_shell_parse_argv()
Alexander Larsson [Thu, 13 Sep 2012 08:13:04 +0000 (10:13 +0200)]
Fix regression in g_shell_parse_argv()

The commit in 6e4acf44b3a943906432a2bf55223ac107d8e0c2 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

12 years agoUpdated Marathi Translations
Sandeep Sheshrao Shedmake [Wed, 12 Sep 2012 10:19:27 +0000 (15:49 +0530)]
Updated Marathi Translations

12 years agoMove GIO-specific information to the GIO docs
Matthias Clasen [Wed, 12 Sep 2012 03:14:39 +0000 (23:14 -0400)]
Move GIO-specific information to the GIO docs

12 years agoAdd a section about writing GLib applications
Matthias Clasen [Wed, 12 Sep 2012 02:41:18 +0000 (22:41 -0400)]
Add a section about writing GLib applications

For now, this includes some information about threads and security.

12 years agoDrop GVFS_INOTIFY_DIAG debug feature
Matthias Clasen [Wed, 12 Sep 2012 00:22:26 +0000 (20:22 -0400)]
Drop GVFS_INOTIFY_DIAG debug feature

Just not a good idea to have this in production code.

12 years agoAssamese translation updated
Nilamdyuti Goswami [Tue, 11 Sep 2012 13:25:26 +0000 (18:55 +0530)]
Assamese translation updated

12 years agoFix gdbus connection annotations
Thomas Bechtold [Tue, 11 Sep 2012 05:45:24 +0000 (07:45 +0200)]
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>
12 years agoUpdated French translation by Alexandre Franke and Claude Paroz
Claude Paroz [Mon, 10 Sep 2012 09:01:39 +0000 (11:01 +0200)]
Updated French translation by Alexandre Franke and Claude Paroz

12 years agogwin32mount.c: Fix syntax error
LRN [Sun, 9 Sep 2012 14:49:06 +0000 (10:49 -0400)]
gwin32mount.c: Fix syntax error

Signed-off-by: Colin Walters <walters@verbum.org>
https://bugzilla.gnome.org/show_bug.cgi?id=683641

12 years agoUpdated Portuguese translation
Duarte Loreto [Sun, 9 Sep 2012 00:30:24 +0000 (01:30 +0100)]
Updated Portuguese translation

12 years agoUpdated Slovenian translation
Martin Srebotnjak [Sat, 8 Sep 2012 18:40:24 +0000 (20:40 +0200)]
Updated Slovenian translation

12 years agoG_DEFINE_QUARK: fix up some implementation issues
Ryan Lortie [Wed, 5 Sep 2012 00:54:33 +0000 (20:54 -0400)]
G_DEFINE_QUARK: fix up some implementation issues

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

12 years agoUpdated Czech translation
Marek Černocký [Sat, 8 Sep 2012 09:17:27 +0000 (11:17 +0200)]
Updated Czech translation

12 years agoUpdated Belarusian translation.
Ihar Hrachyshka [Fri, 7 Sep 2012 15:27:47 +0000 (18:27 +0300)]
Updated Belarusian translation.

12 years agoUpdated Hebrew translation.
Yaron Shahrabani [Fri, 7 Sep 2012 13:52:28 +0000 (16:52 +0300)]
Updated Hebrew translation.

12 years agoUpdated Serbian translation
Мирослав Николић [Thu, 6 Sep 2012 20:34:36 +0000 (22:34 +0200)]
Updated Serbian translation

12 years agotests/gvariant: Fix test on big endian architectures
Colin Walters [Wed, 5 Sep 2012 13:04:58 +0000 (09:04 -0400)]
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

12 years agoBox GTimeZone to make it introspectable
Martin Pitt [Mon, 3 Sep 2012 19:43:50 +0000 (21:43 +0200)]
Box GTimeZone to make it introspectable

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

12 years agoUpdated British English translation
Bruce Cowan [Wed, 5 Sep 2012 12:13:54 +0000 (13:13 +0100)]
Updated British English translation

12 years agoUpdated Traditional Chinese translation(Hong Kong and Taiwan)
Chao-Hsiung Liao [Wed, 5 Sep 2012 11:52:32 +0000 (19:52 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)

12 years agoUpdated Indonesian translation
Dirgita [Tue, 4 Sep 2012 12:47:46 +0000 (19:47 +0700)]
Updated Indonesian translation

12 years agoBump version
Matthias Clasen [Mon, 3 Sep 2012 20:27:19 +0000 (16:27 -0400)]
Bump version

12 years ago2.33.10 2.33.12
Matthias Clasen [Mon, 3 Sep 2012 19:14:18 +0000 (15:14 -0400)]
2.33.10

12 years agoRevert "Updated Spanish translation"
Daniel Mustieles [Mon, 3 Sep 2012 14:18:23 +0000 (16:18 +0200)]
Revert "Updated Spanish translation"

This reverts commit bc036bf9789556f37b2872baaee3c126af7e6e3f.

12 years agoUpdated Spanish translation
Daniel Mustieles [Mon, 3 Sep 2012 14:15:35 +0000 (16:15 +0200)]
Updated Spanish translation

12 years agoRevert "xdgmime: plug a small leak"
Dan Winship [Mon, 3 Sep 2012 14:06:13 +0000 (10:06 -0400)]
Revert "xdgmime: plug a small leak"

This reverts commit 4e7031f073db2df7297feab35c9d353b0b3977d8.

The string actually does get freed somewhere else, at least in some
cases. Can be looked at again later if this reintroduces a leak.

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

12 years agoUpdated Spanish translation
Daniel Mustieles [Mon, 3 Sep 2012 14:06:57 +0000 (16:06 +0200)]
Updated Spanish translation

12 years agoupdate .gitignore
Dan Winship [Mon, 3 Sep 2012 12:56:10 +0000 (08:56 -0400)]
update .gitignore

12 years agogio/tests: fix leaks
Dan Winship [Sat, 25 Aug 2012 00:43:54 +0000 (20:43 -0400)]
gio/tests: fix leaks

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

12 years agogio/tests/cancellable: fix to still work when running slowly
Dan Winship [Fri, 24 Aug 2012 21:11:38 +0000 (17:11 -0400)]
gio/tests/cancellable: fix to still work when running slowly

The test was assuming that all cancelled ops would finish within a
certain amount of time, but this often failed under valgrind. Instead,
just run the loop until all of the ops have actually finished.

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

12 years agogio/tests: port some stuff to g_test_expect_message()
Dan Winship [Fri, 24 Aug 2012 21:11:17 +0000 (17:11 -0400)]
gio/tests: port some stuff to g_test_expect_message()

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

12 years agog_file_copy: plug a leak
Dan Winship [Fri, 24 Aug 2012 21:08:38 +0000 (17:08 -0400)]
g_file_copy: plug a leak

The fallback copy code was leaking the GFileInfo if it didn't have
G_FILE_ATTRIBUTE_STANDARD_TYPE.

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

12 years agoGDesktopAppInfo: fix leaks
Dan Winship [Fri, 24 Aug 2012 21:06:46 +0000 (17:06 -0400)]
GDesktopAppInfo: fix leaks

g_desktop_app_info_ensure_saved() was leaking the file contents.

_g_desktop_app_info_launch_uris_internal() was leaking the session bus
on error.

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

12 years agoxdgmime: plug a small leak
Dan Winship [Fri, 24 Aug 2012 21:03:35 +0000 (17:03 -0400)]
xdgmime: plug a small leak

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

12 years agogobject/tests: plug leaks
Dan Winship [Thu, 23 Aug 2012 20:53:13 +0000 (16:53 -0400)]
gobject/tests: plug leaks

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

12 years agogobject/tests: use g_test_expect_messages()
Dan Winship [Mon, 27 Aug 2012 11:45:08 +0000 (07:45 -0400)]
gobject/tests: use g_test_expect_messages()

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

12 years agoUpdated Russian translation
Yuri Kozlov [Mon, 3 Sep 2012 06:16:21 +0000 (10:16 +0400)]
Updated Russian translation

12 years agoUpdated Polish translation
Piotr Drąg [Sun, 2 Sep 2012 23:20:56 +0000 (01:20 +0200)]
Updated Polish translation

12 years agoAdd new api to symbol lists and docs
Matthias Clasen [Wed, 29 Aug 2012 04:01:15 +0000 (00:01 -0400)]
Add new api to symbol lists and docs

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

12 years agoAdd a threaded test for g_object_replace_data
Matthias Clasen [Sat, 1 Sep 2012 04:20:22 +0000 (00:20 -0400)]
Add a threaded test for g_object_replace_data

This is the threaded atomic add test from glib/tests/atomic.c,
redone using qdata instead of an atomic int to store the values.

12 years agoAdd some tests for new object data api
Matthias Clasen [Wed, 29 Aug 2012 03:56:01 +0000 (23:56 -0400)]
Add some tests for new object data api

These are non-threaded, but the do test dup and destroy somewhat.

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

12 years agoAdd an atomic compare-and-exchange operation for object data
Matthias Clasen [Tue, 28 Aug 2012 10:45:30 +0000 (06:45 -0400)]
Add an atomic compare-and-exchange operation for object data

This is useful when using object data in thread-safe libraries.

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

12 years agoAdd compare-and exchange for data lists
Matthias Clasen [Tue, 28 Aug 2012 10:44:00 +0000 (06:44 -0400)]
Add compare-and exchange for data lists

Also, make it possible to get a 'new ref' on a datalist member
in a race-free way.
This is useful when using object data in thread-safe libraries.

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

12 years agoUpdated Latvian translation
Rūdolfs Mazurs [Sun, 2 Sep 2012 13:02:50 +0000 (16:02 +0300)]
Updated Latvian translation

12 years agoUpdated Lithuanian translation
Aurimas Černius [Sun, 2 Sep 2012 12:39:16 +0000 (15:39 +0300)]
Updated Lithuanian translation

12 years agoFix gtk-doc for g_app_info_get_supported_types
Paolo Borelli [Sun, 2 Sep 2012 10:25:50 +0000 (12:25 +0200)]
Fix gtk-doc for g_app_info_get_supported_types

12 years agogdbus-codegen: avoid error when wrong interface is provided to --annotate
Aleksander Morgado [Fri, 31 Aug 2012 09:41:53 +0000 (11:41 +0200)]
gdbus-codegen: avoid error when wrong interface is provided to --annotate

If the interface given cannot be matched, `iface_obj' was left uninitialized and
the iface_obj == None check would end up crashing:

Traceback (most recent call last):
  File "/usr/bin/gdbus-codegen", line 41, in <module>
    sys.exit(codegen_main.codegen_main())
  File "/usr/lib64/gdbus-2.0/codegen/codegen_main.py", line 175, in codegen_main
    apply_annotations(all_ifaces, opts.annotate)
  File "/usr/lib64/gdbus-2.0/codegen/codegen_main.py", line 146, in apply_annotations
    apply_annotation(iface_list, iface, None, None, None, None, key, value)
  File "/usr/lib64/gdbus-2.0/codegen/codegen_main.py", line 64, in apply_annotation
    if iface_obj == None:
UnboundLocalError: local variable 'iface_obj' referenced before assignment

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

12 years agoFix shell tests
Matthias Clasen [Sat, 1 Sep 2012 03:22:16 +0000 (23:22 -0400)]
Fix shell tests

12 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Sat, 1 Sep 2012 08:42:05 +0000 (10:42 +0200)]
Updated Norwegian bokmål translation

12 years agoUpdated Vietnamese translation
Nguyễn Thái Ngọc Duy [Sat, 1 Sep 2012 06:17:05 +0000 (13:17 +0700)]
Updated Vietnamese translation

12 years agopo/vi: import from Damned Lies
Nguyễn Thái Ngọc Duy [Sat, 1 Sep 2012 06:16:36 +0000 (13:16 +0700)]
po/vi: import from Damned Lies

12 years agoUpdated Galician translations
Fran Diéguez [Fri, 31 Aug 2012 19:00:52 +0000 (21:00 +0200)]
Updated Galician translations

12 years agoBump max time in test_method_calls_on_proxy() test
Martin Pitt [Mon, 20 Aug 2012 04:02:31 +0000 (06:02 +0200)]
Bump max time in test_method_calls_on_proxy() test

On slower platforms, the overhead of the 240 D-BUS Sleep calls is larger than
the current maximum of 6 seconds. A run on a Panda board sometimes fails with

  ERROR:/build/buildd/glib2.0-2.33.8/./gio/tests/gdbus-threading.c:409:test_method_calls_on_proxy:
  assertion failed (elapsed_msec < 6000): (7365 < 6000)

Bump maximum time to 8 seconds to be more resilient to this.

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

12 years agoUpdated Greek translation
Tom Tryfonidis [Fri, 31 Aug 2012 08:08:42 +0000 (11:08 +0300)]
Updated Greek translation

12 years agoUpdated Polish translation
Piotr Drąg [Thu, 30 Aug 2012 15:59:33 +0000 (17:59 +0200)]
Updated Polish translation

12 years agoAdd ability to get symbolic icon for content type
William Jon McCann [Tue, 28 Aug 2012 23:22:01 +0000 (19:22 -0400)]
Add ability to get symbolic icon for content type

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

12 years agoAdd symbolic icon support to gfileinfo
William Jon McCann [Tue, 28 Aug 2012 22:56:53 +0000 (18:56 -0400)]
Add symbolic icon support to gfileinfo

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

12 years agoAdd symbolic icon support to drive, volume, and mount
William Jon McCann [Tue, 28 Aug 2012 19:37:43 +0000 (15:37 -0400)]
Add symbolic icon support to drive, volume, and mount

We need symbolic icon support for display in Nautilus.

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

12 years agogdbus-tool: Check return value of strrchr()
Rui Matos [Wed, 29 Aug 2012 17:18:45 +0000 (19:18 +0200)]
gdbus-tool: Check return value of strrchr()

Fixes a crash when invoking gdbus like:

$ gdbus emit --session -o / -s Foo

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

12 years agoUpdate gspawn-win*helper* Visual C++ projects
Chun-wei Fan [Thu, 30 Aug 2012 09:14:13 +0000 (17:14 +0800)]
Update gspawn-win*helper* Visual C++ projects

Add GLIB_COMPILATION to the preprocessor definitions to fix the build.

12 years agogshell: Fix parsing of comments in command lines.
Dominique Leuenberger [Fri, 17 Aug 2012 09:10:41 +0000 (11:10 +0200)]
gshell: Fix parsing of comments in command lines.

Fixes bug 562907

12 years agoappinfo: fix annotations for g_app_info_launch and g_app_info_launch_uris
Cosimo Cecchi [Wed, 29 Aug 2012 18:46:11 +0000 (14:46 -0400)]
appinfo: fix annotations for g_app_info_launch and g_app_info_launch_uris

The files/uris parameters for these functions can be NULL, so we need an
allow-none annotation here.

12 years agoSwitch all open() calls to use g_open()
Colin Walters [Mon, 27 Aug 2012 22:30:06 +0000 (18:30 -0400)]
Switch all open() calls to use g_open()

Because it now handles EINTR.  And we should do so.  While most people
use Linux, which tries very hard to avoid propagating EINTR back up
into userspace, it can still happen.

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

12 years agoxdgmime: Handle EINTR in open()
Colin Walters [Mon, 27 Aug 2012 22:22:26 +0000 (18:22 -0400)]
xdgmime: Handle EINTR in open()

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

12 years agogio: don't quote quark names for G_DEFINE_QUARK
Cosimo Cecchi [Tue, 28 Aug 2012 17:15:29 +0000 (13:15 -0400)]
gio: don't quote quark names for G_DEFINE_QUARK