Commit Graph

12378 Commits

Author SHA1 Message Date
Christian Persch
47fdbf8948 environ: Allow NULL envp
https://bugzilla.gnome.org/show_bug.cgi?id=676397
2012-07-14 15:16:58 -04:00
Dan Winship
3d35cbfae9 g_utf8_validate: @str shouldn't end up annotated as utf8
In order for this function to have any point, it has to be possible to
pass non-UTF-8 data to it, so annotate @str as being array-of-guint8
instead of utf8.

https://bugzilla.gnome.org/show_bug.cgi?id=672548
2012-07-14 15:16:57 -04:00
Dan Winship
12ac7ddd6d g_app_info_launch_default_for_uri: don't use GFile if we don't have to
GFile doesn't handle some "real" URIs, so check if there's a default
handler for the URI scheme first, and only use g_file_new_for_uri()
and g_file_query_default_handler() if not. Eg, this fixes the case of
opening http URIs with "%2F" in the path.

https://bugzilla.gnome.org/show_bug.cgi?id=666386
2012-07-14 15:16:57 -04:00
Holger Berndt
fcdf779016 Document that g_app_info_create_from_commandline() does unquoting according to fd.o
https://bugzilla.gnome.org/show_bug.cgi?id=676277
2012-07-14 15:16:57 -04:00
Dan Winship
a9435d59b4 gnetworkmonitornetlink: don't leak the list of networks
https://bugzilla.gnome.org/show_bug.cgi?id=676265
2012-07-14 15:16:56 -04:00
Matthias Clasen
e5ca9ed5c9 gsettings: add reset-recursively to bash completion
https://bugzilla.gnome.org/show_bug.cgi?id=675832
2012-07-14 15:16:56 -04:00
Ravi Sankar Guntur
421a44711f glib: fix memory leaks in gutils, protocol, and strfuncs tests
https://bugzilla.gnome.org/show_bug.cgi?id=672329

Signed-off-by: Ravi Sankar Guntur <ravi.g@samsung.com>
2012-07-14 15:16:55 -04:00
Paolo Borelli
d1f1389649 gfile: add g_return_if_fail to g_file_make_directory_with_parents() 2012-07-14 15:16:55 -04:00
Colin Walters
cd49c0973d gfile: Plug memory leak in g_file_make_directory_with_parents()
The logic here is pretty twisted, but basically we were leaking a ref
for each non-existent parent.  The clearest way to fix this was to
move to more explicit refcounting logic; when a variable is pointing
to an object, it holds a ref.

https://bugzilla.gnome.org/show_bug.cgi?id=675446
2012-07-14 15:16:55 -04:00
Matthias Clasen
a2fd72d958 Use non-deprecated api in tests
https://bugzilla.gnome.org/show_bug.cgi?id=660851
2012-07-14 15:16:54 -04:00
Jasper St. Pierre
146343054c gkeyfile: Fix annotations for g_key_file_load_from_data
https://bugzilla.gnome.org/show_bug.cgi?id=675309
2012-07-14 15:16:54 -04:00
Lars Uebernickel
4e718cf4cf docs: reference g_menu_item_new in gmenu convenience menuitem API 2012-07-14 15:16:54 -04:00
Chun-wei Fan
fd8d17726f msvc_recommended_pragmas.h: Re-enable C4819 warnings
Apparently the C4819 warnings appear due to a bug on Visual C++ on DBCS
locales, so re-enable this.

Add a note in the Visual C++ Readme.txt's regarding this.
2012-06-20 10:20:37 +08:00
Nilamdyuti Goswami
09e28631b0 Assamese translation reviewed 2012-06-19 18:41:23 +05:30
David Zeuthen
667284a19d GDBusProxy: Treat org.freedesktop.systemd1.Masked error as non-fatal
This is useful otherwise we'll fail if a systemd service is
masked. See bug 677718 for details.

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

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
2012-06-08 13:37:21 -04:00
Rūdolfs Mazurs
deccfdc256 Updated Latvian translation 2012-06-05 17:27:15 +03:00
Debarshi Ray
200b390d83 gio: The tmpl parameter to g_file_new_tmp can be NULL
Fixes: https://bugzilla.gnome.org/676208
2012-05-21 17:56:01 +02:00
Daniel Nylander
90d9567c99 Updated Swedish translation 2012-05-18 10:02:20 +02:00
Matthias Clasen
83c58bfe77 bump version 2012-05-14 19:52:34 -04:00
Matthias Clasen
5cd829c924 Keep interface age in sync with micro 2.32.3 2012-05-14 18:06:02 -04:00
Matthias Clasen
1f55caae10 Updates 2012-05-14 18:05:48 -04:00
Matthias Clasen
d3268cda0a NEWS: correct title 2012-05-14 18:02:59 -04:00
Dan Winship
6799e4a73a GConverterInputStream: fix an infinite loop when fill_buffer returns an error
The loop was using a GConverterResult variable where it meant to use a
gssize, and since GConverterResult was ending up as an unsigned type,
this meant the (res < 0) check always failed.
2012-05-14 09:58:41 -04:00
Dan Winship
b62b5a3d8c gio: fix error handling in async case of GProxyAddressEnumerator
In the async case, a failed DNS lookup was causing the proxy
resolution to bail out immediately, rather than just moving on to the
next potential proxy (which might not need us to do the DNS lookup
beforehand). Fix that.
2012-05-14 09:57:57 -04:00
Sasi Bhushan
6ab3affcc9 Updated Telugu Translations 2012-05-14 13:32:06 +05:30
Jiro Matsuzawa
86ee75adb3 [l10n] Update Japanese translation 2012-05-13 19:22:24 +09:00
Christian Kirbach
64924095a3 [l10n] Updated German translation 2012-05-08 19:15:09 +02:00
Jiro Matsuzawa
59d6312637 [l10n] Update Japanese translation 2012-05-08 20:24:53 +09:00
Alexander Shopov
227d978b7a Updated Bulgarian translation 2012-05-07 07:36:26 +03:00
Gil Forcada
e6b86fe4f4 [l10n] Updated Catalan translation 2012-05-06 16:20:53 +02:00
Matej Urbančič
430ed69af0 Updated Slovenian translation 2012-05-04 13:42:36 +02:00
Marek Černocký
5ae043e9ec Updated Czech translation 2012-05-04 09:32:11 +02:00
Chun-wei Fan
e59a29eb9a Fix GIO/GObject Visual C++ projects
-Make up for the missed DLL_EXPORT-it's actually needed for all GLib DLL
 builds, omitting this caused problems to surface due to recent works to
 make GDBus work on Windows.
-Also use the FFI_BULIDING macro for GObject builds as the suggessted
 workaround for using static LibFFI builds (as we do now)-please see
 ffi.h.in.  This will fix the build of GObject against LibFFI 3.0.11, but
 it is probable that this will change at some point for LibFFI.
2012-05-02 11:06:14 +08:00
Michael Biebl
7fe1f97a12 configure: Reset LIBS after ELF check
If action-if-found is not specified, AC_CHECK_LIB will append the library
to LIBS. As we don't want to link everything against libelf, reset LIBS
after doing the checks.
2012-05-01 19:59:19 +02:00
Rafał Mużyło
9ab02c1428 configure: Fix typo in ELF check
Signed-off-by: Colin Walters <walters@verbum.org>
2012-05-01 17:22:17 +02:00
Ryan Lortie
2343f6ecc8 bump version 2012-05-01 01:18:04 -04:00
Ryan Lortie
2afebe2541 GLib 2.32.2 2.32.2 2012-05-01 01:04:49 -04:00
Alexander Larsson
b6031518d0 Dist gio/dbus-daemon.xml and fix dependency for builddir != srcdir 2012-04-30 20:08:03 -04:00
Cosimo Cecchi
485c5fcf48 tests/date: force English locale running the GDateTime tests
The parsing test needs to make some assumption about the locale
representation of the string to be parsed, so we need to explicitly
override the locale here.
2012-04-30 20:06:42 -04:00
Ryan Lortie
7e9306e84e GApplication: allow null application_id
GApplication application ID is now permitted to be NULL, in which case
G_APPLICATION_NON_UNIQUE will be implicitly enabled.

https://bugzilla.gnome.org/show_bug.cgi?id=671249
2012-04-30 17:36:49 -04:00
Bruno Brouard
33f52e58e9 Updated French translation 2012-04-30 21:54:22 +02:00
Xavier Claessens
d92736ab03 Fix g_clear_object macro with C++ compilers
In C++ it is invalid to cast a void* to void**.

Also add a static check to ensure
sizeof(*object_ptr) == sizeof (gpointer).
This avoid common mistake of missing '&'
in g_clear_object(&obj);

https://bugzilla.gnome.org/show_bug.cgi?id=674634
2012-04-30 16:52:00 +02:00
Fran Diéguez
9e4b28051d Updated Galician translations 2012-04-30 16:22:09 +02:00
Luca Ferretti
dfd4bab41b l10n: Updated Italian translation 2012-04-30 15:41:08 +02:00
Мирослав Николић
1c7878d7f1 Updated Serbian translation 2012-04-29 12:08:04 +02:00
Piotr Drąg
2c245e702e Updated Polish translation 2012-04-28 18:03:13 +02:00
Jonh Wendell
ae2dd455bc Updated Brazilian Portuguese translation 2012-04-28 10:11:25 -03:00
Daniel Mustieles
171f97aacc Updated Spanish translation 2012-04-28 11:30:41 +02:00
Aurimas Černius
5b29f72c3d Updated Lithuanian translation 2012-04-27 22:17:10 +03:00
Debarshi Ray
9926b9315c GAppInfo: overwrite the DISPLAY only if it is set in the launch context
If the launch context is a GAppLaunchContext, and not a
GdkAppLaunchContext, then g_app_launch_context_get_display will return
NULL because the get_display virtual method is undefined. The DISPLAY
might still be inherited from the parent process, in which case
overwriting it with NULL breaks the launch.

This is a regression introduced in:
de834bed30

Fixes: https://bugzilla.gnome.org/672786
2012-04-26 23:12:53 +02:00