Yaron Shahrabani
1e73a200a6
Updated Hebrew translation.
2012-04-22 11:41:51 +03:00
Alexander Shopov
ecdaf357fe
Updated Bulgarian translation
2012-04-22 09:07:34 +03:00
Fran Diéguez
2adf6b3d6b
Updated Galician translations
2012-04-21 16:30:59 +02:00
Matej Urbančič
8ebea82634
Updated Slovenian translation
2012-04-21 12:46:49 +02:00
Matej Urbančič
68629ceb4f
Updated Slovenian translation
2012-04-21 12:39:22 +02:00
Мирослав Николић
5d7e9bfbbd
Updated Serbian translation
2012-04-21 09:26:24 +02:00
Piotr Drąg
88f73eef54
Updated POTFILES.in
2012-04-20 20:50:26 +02:00
Daniel Mustieles
755c131195
Updated Spanish translation
2012-04-20 17:22:55 +02:00
Fran Diéguez
515a454c39
Updated Galician translations
2012-04-20 15:12:48 +02:00
Alexander Larsson
5fb44f70dc
win32: Implement _g_dbus_get_machine_id using machine guid
...
This is what libdbus uses, so we're compatible.
2012-04-20 15:02:48 +02:00
Alexander Larsson
dccce38367
win32: Support autolaunching dbus daemon
2012-04-20 15:02:48 +02:00
Alexander Larsson
bd148e127a
Add _g_io_win32_get_module to get the gio HMODULE
2012-04-20 15:02:48 +02:00
Alexander Larsson
74214e2997
GTestDBus: Allow to specify the dbus-daemon binary
...
The env var G_TEST_DBUS_DAEMON lets you change dbus-daemon to
whatever you want. This is useful to test with gdbus-daemon
2012-04-20 15:02:48 +02:00
Alexander Larsson
0d8b1b14d2
Add gdbus-daemon test app
2012-04-20 15:02:48 +02:00
Alexander Larsson
25581738a8
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.
2012-04-20 15:02:48 +02:00
Benjamin Otte
b38f1c7aff
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:32:41 +02:00
Matthias Clasen
289e3b9143
More beautiful fix
...
A comma on a line by itself is too ugly to stand.
2012-04-19 17:15:14 -04:00
Matthias Clasen
bf8a4ed099
Bump version to 2.33.1
...
This avoids triggering the 'too new' warning from 2.34 API.
2012-04-19 17:14:25 -04:00
Alexander Larsson
bb78753a66
Fix non-win32 build error in my recent commit
2012-04-19 20:46:08 +02:00
Matthias Clasen
6d51527ba0
Revert "tests: fix test on windows"
...
This reverts commit 79361eede2
.
Just commenting out a test without an explanation does not
look right to me. This needs at the minimum a link to a
bug report or an explanation for why the behaviour is platform
dependent. If the test was just wrong, it needs to be removed,
not commented out. If there is a bug in the win32 implementation,
it needs to be fixed.
2012-04-19 13:25:26 -04:00
Alexander Larsson
21e049b253
Tests: Move dbus specific tests to if HAVE_DBUS_DAEMON
...
These used to only be built on unix, but if you have dbus-daemon on
win32 we should really build them there too.
2012-04-19 18:19:10 +02:00
Alexander Larsson
234ddf131b
Fix test building on win32
2012-04-19 18:19:10 +02:00
Alexander Larsson
58e613bfc7
GTestDBus: Make work on win32
...
Win32 doesn't have things like fork so the existing code has no way
of working. Instead we swap it all out for a custom implementation
on win32.
2012-04-19 18:19:01 +02:00
Andoni Morales Alastruey
79361eede2
tests: fix test on windows
2012-04-19 15:20:43 +02:00
Andoni Morales Alastruey
af7dc168f6
test: only check for defined errors
2012-04-19 15:20:31 +02:00
Alexander Larsson
0d9a7f2117
Remove ununsed include
2012-04-19 10:24:08 +02:00
Alexander Larsson
82aecce301
gdbus: Escape nonce files in dbus addressess
...
Otherwise the colon in c:\blah made for trouble
2012-04-19 10:24:08 +02:00
Alexander Larsson
2414d7d6a1
Fix build on win32
...
Some errnos don't exist on win32
2012-04-19 10:24:08 +02:00
Alexander Larsson
b77af49b0a
Fix race in gdbus-connection test
...
We need to flush the AddMatches before even connecting to the bus, or we
risk missing the NameOwnerChanged from the new connections.
2012-04-19 10:24:08 +02:00
Alexander Larsson
ff92fe9593
Support initial underscores in dbus codegen namespace
...
Before these were considered lowercase and thus got duplicated.
2012-04-19 10:24:08 +02:00
Xavier Claessens
415a8d81f6
Use GTestDBus in all GDBus unit tests
...
To make port easier, this rewrites dbus-sessionbus.c using a
GTestDBus singleton internally.
https://bugzilla.gnome.org/show_bug.cgi?id=672985
2012-04-19 10:07:39 +02:00
Xavier Claessens
95bf3d1194
Add GTestDBus object
...
This is a helper to write unit tests using a private dbus-daemon.
https://bugzilla.gnome.org/show_bug.cgi?id=672985
2012-04-19 10:06:26 +02:00
Xavier Claessens
2e3d50631f
Add private _g_bus_get_singleton_if_exists() function
...
This is used by g_test_dbus_down() to ensure the GDBusConnection
gets disposed, but not create one if the singleton already got
disposed.
https://bugzilla.gnome.org/show_bug.cgi?id=672985
2012-04-19 10:06:21 +02:00
David Zeuthen
98569e53e3
Revert "Add a private copy of gio/tests/gdbus-tests.c,h to gio/"
...
This reverts commit 07bbc87615
.
2012-04-18 13:48:27 -04:00
David Zeuthen
26d4da2352
Revert "Add private _g_bus_get_singleton_if_exists() function"
...
This reverts commit f8a8e90398
.
2012-04-18 13:48:09 -04:00
David Zeuthen
a6f83d73e5
Revert "Add GTestDBus object"
...
This reverts commit 1b5f70b5b0
.
2012-04-18 13:47:51 -04:00
David Zeuthen
9dce93514e
GMenuModel: Don't leak GDBusConnection in test
...
See https://bugzilla.gnome.org/show_bug.cgi?id=672985#c89
Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-04-18 13:33:00 -04:00
Xavier Claessens
1b5f70b5b0
Add GTestDBus object
...
This is a helper to write unit tests using a private dbus-daemon.
session_bus_up/down() are now just wrappers around a GTestDBus singleton.
https://bugzilla.gnome.org/show_bug.cgi?id=672985
2012-04-18 11:19:13 -04:00
Xavier Claessens
f8a8e90398
Add private _g_bus_get_singleton_if_exists() function
...
This is used by g_test_dbus_down() to ensure the GDBusConnection
gets disposed, but not create one if the singleton already got
disposed.
https://bugzilla.gnome.org/show_bug.cgi?id=672985
2012-04-18 11:19:13 -04:00
Xavier Claessens
07bbc87615
Add a private copy of gio/tests/gdbus-tests.c,h to gio/
...
https://bugzilla.gnome.org/show_bug.cgi?id=672985
2012-04-18 11:19:13 -04:00
Kjartan Maraas
c70a4030dd
Updated Norwegian bokmål translation
2012-04-18 09:27:04 +02:00
Alexandre Rostovtsev
b3f814883f
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-18 00:00:29 -04:00
William Hua
a147004b83
Use Cocoa header for Cocoa test instead of Foundation.
2012-04-17 23:49:47 -04:00
David Zeuthen
7f5f47ae15
gdbus-codegen: Don't leak stuff in tests
...
Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-04-17 17:51:55 -04:00
David Zeuthen
eedb6d8366
GDBusObjectProxy: Don't leak connection
...
Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-04-17 17:51:55 -04:00
David Zeuthen
3964e708e9
GDBusObjectManagerClient: Don't leak object proxy when handling D-Bus signal
...
It's g_object_unref(), not g_object_ref(). Ugh.
Therefore, use g_clear_object().
Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-04-17 17:51:55 -04:00
Piotr Drąg
3b9791cca6
Updated POTFILES.in
2012-04-17 19:48:59 +02:00
Dan Winship
00ee06e6a3
gio: use GPollable* to implement fallback read_async/write_async
...
If a GInputStream does not provide a read_async() implementation, but
does implement GPollableInputStream, then instead of doing
read-synchronously-in-a-thread, just use
g_pollable_input_stream_read_nonblocking() and
g_pollable_input_stream_create_source() to implement an async read in
the same thread. Similarly for GOutputStream.
Remove a bunch of existing read_async()/write_async() implementations
that are basically equivalent to the new fallback method.
https://bugzilla.gnome.org/show_bug.cgi?id=673997
2012-04-17 12:33:12 -04:00
Dan Winship
82ec4dcaed
gio: implement GPollableInput/OutputStream in more stream types
...
Implement GPollableInputStream in GMemoryInputStream and
GConverterInputStream, and likewise implement GPollableOutputStream in
the corresponding output streams.
https://bugzilla.gnome.org/show_bug.cgi?id=673997
2012-04-17 12:33:12 -04:00
Dan Winship
111ba203c2
gpollableutils: utility functions for pollable stream implementations
...
Move g_pollable_source_new() here from gpollableinputstream.c, add
g_pollable_source_new_full(), and add some new methods to do either
blocking or nonblocking reads depending on a boolean argument.
https://bugzilla.gnome.org/show_bug.cgi?id=673997
2012-04-17 12:33:12 -04:00