Commit Graph

12258 Commits

Author SHA1 Message Date
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
Michael Olbrich
a7a1a50d6a make sure configure fails if AC_CHECK_ALIGNOF cannot detect the alignment
When cross-compiling with gcc >= 4.5 AC_CHECK_ALIGNOF fails to detect the
correct alignment. Without a previous AC_CHECK_TYPE for the same type, the
alignment is silently set to '0'.
This makes sure that configure fails and reports the problem.

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>

https://bugzilla.gnome.org/show_bug.cgi?id=674483
2012-04-25 09:38:02 -04:00
Alexander Larsson
8f2c2eef3c win32: Fix build with srcdir != builddir
Missed this part in the last commit
(cherry picked from commit 62905cda0b)
2012-04-24 14:55:08 +02:00
Alexander Larsson
9b588b3e46 win32: Fix build of gdbus-daemon-generated.[ch]
gdbus-daemon-generated.[ch] failed to build because it depended
on gdbus-2.0/codegen/gdbus-codegen which was build during the SUBDIRS part
of the build, however SUBDIRS are done *after* processing BUILT_SOURCES,
and these files are in BUILT_SOURCES.

The fix is simple, instead of running the gdbus-codegen code we
run the gdbus-codegen.in code, which works fine for uninstalled execution.

I also removed Makefile from the dependencies to avoid rebuilding the file
in tarballs, as Makefiles are written at configure time. We should be able to
ship the prebuilt files in the tarballs.
When running uninstalled
(cherry picked from commit 88bfc9b289)
2012-04-24 14:11:07 +02:00
Chun-wei Fan
d47f4c4ce6 Visual C++ projects: Clean/fix up
Clean/fix up the Preprocessor Definitions for the various projects, where
we purge out the unneeded macros and add _DEBUG to the Debug builds of
various projects that somehow lacked this.

This will also fix the GIO build under Visual C++ 2008, as the _DEBUG macro
in the release builds will cause a debug entry to appear in its manifest
file during the build, which will cause GIO-using applications to fail
to run on systems not running Visual C++/Studio 2008 due to its embedding
of a badly-generated manifest file.
2012-04-24 00:07:38 +08:00
Alexandre Rostovtsev
d161fcf385 Do not detect GNUstep as Cocoa
GNUstep also installs Foundation/Foundation.h

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

Signed-off-by: William Hua <william@attente.ca>
2012-04-20 15:49:27 -04:00
William Hua
76627dc7b6 Use Cocoa header for Cocoa test instead of Foundation. 2012-04-20 15:49:16 -04:00
Alexander Larsson
d58a42fd38 Fix build on win32
Some errnos don't exist on win32
(cherry picked from commit 2414d7d6a1)
2012-04-20 16:39:37 +02:00
Alexander Larsson
b5a846ca76 win32: Implement _g_dbus_get_machine_id using machine guid
This is what libdbus uses, so we're compatible.
(cherry picked from commit 5fb44f70dc)
2012-04-20 16:33:02 +02:00
Alexander Larsson
5d41a02125 win32: Support autolaunching dbus daemon
(cherry picked from commit dccce38367)
2012-04-20 16:32:49 +02:00
Alexander Larsson
cef54a9b82 Add _g_io_win32_get_module to get the gio HMODULE
(cherry picked from commit bd148e127a)
2012-04-20 16:32:37 +02:00
Alexander Larsson
9490d67f3c Add GDBusDAaemon, an implementation of a message bus
This is mostly complete, sans support for activation. However, its
not as picky as the libdbus implementation in terms like validation
and limits checking, nor is it as tested.

Its can be useful to test gdbus if dbus-daemon is not availible, but
its main reason for existance is to implement a default session bus
on win32 so that e.g. GApplication is guaranteed to work.
(cherry picked from commit 25581738a8)
2012-04-20 16:32:24 +02:00
Alexander Larsson
27352d96e2 gdbus: Escape nonce files in dbus addressess
Otherwise the colon in c:\blah made for trouble
(cherry picked from commit 82aecce301)
2012-04-20 16:31:41 +02:00
Alexander Larsson
5051aaca68 Support initial underscores in dbus codegen namespace
Before these were considered lowercase and thus got duplicated.
(cherry picked from commit ff92fe9593)
2012-04-20 16:31:23 +02:00
Benjamin Otte
ad35c6cae1 resourcefile: Set display name
Fixes resource filenames not being printed in CSS warnings for GTK.

https://bugzilla.gnome.org/show_bug.cgi?id=674345
2012-04-20 14:41:29 +02:00
Hannes Mueller
153cad8974 avoid warning in gutils.h when using gcc with -Wconversion
Old solution to avoid warning with gcc flag -Wconversion does not
work with gcc >=4.3 since the behaviour for that flag has been
changed, ref. http://gcc.gnu.org/wiki/NewWconversion. Now cast for
__builtin_clzl is required, which itself is declared to return int.

https://bugzilla.gnome.org/show_bug.cgi?id=619026
2012-04-17 18:26:20 +02:00
Christian Persch
437b831c76 resources: compiler: Fix resources on big endian architectures
Resources are always little endian, so the gvdb is byteswapped. When looking
up the value, it would return a new byteswapped variant, making the data
returned from do_lookup() invalid once that variant is unref'd. Since
byteswapping doesn't matter for the "ay" data anyway, just use
gvdb_table_get_raw_value() instead and only byteswap the length and flag
values.

https://bugzilla.gnome.org/show_bug.cgi?id=673409
(cherry picked from commit 5ef34e5f11)
2012-04-16 22:40:13 +02:00
Colin Walters
c7db8d989b tests/mainloop: Add a test for recursive child sources
https://bugzilla.gnome.org/show_bug.cgi?id=669260
2012-04-16 15:49:35 -04:00
Dan Winship
a6822b46db tests/mainloop: add a test for child sources
https://bugzilla.gnome.org/show_bug.cgi?id=669260
2012-04-16 15:49:35 -04:00
Dan Winship
b1d447bd66 gmain: block child sources when blocking the parent
When blocking a source that has child sources, we need to consider the
children blocked as well. Otherwise they will still trigger repeatedly
in an inner loop started from the parent source's callback.

https://bugzilla.gnome.org/show_bug.cgi?id=669260
2012-04-16 15:49:35 -04:00
Piotr Drąg
c18ef42c45 Updated Polish translation 2012-04-16 21:19:23 +02:00