2 ===================================================================
3 RCS file: /cvs/dbus/dbus/bus/dispatch.c,v
4 retrieving revision 1.79
5 diff -u -r1.79 dispatch.c
6 --- bus/dispatch.c 8 Mar 2007 08:30:17 -0000 1.79
7 +++ bus/dispatch.c 8 Mar 2007 20:25:42 -0000
13 +#include <tools/dbus-print-message.h>
14 +#include <tools/dbus-print-message.c>
18 spin_connection_until_authenticated (BusContext *context,
19 DBusConnection *connection)
21 bus_test_run_bus_loop (context, FALSE);
22 bus_test_run_clients_loop (FALSE);
25 + if ( dbus_connection_get_dispatch_status(connection) != DBUS_DISPATCH_COMPLETE)
27 + DBusMessage *message;
28 + message = dbus_connection_pop_message (connection);
29 + printf ("spin_connection_until_authenticated failed,\n");
30 + printf ("because of a non dispatched message:\n");
31 + print_message(message, FALSE);
33 + _dbus_assert_not_reached ("spin_connection_until_authenticated failed\n ");
37 _dbus_verbose (" ... done spinning to auth connection %p\n", connection);
40 @@ -2699,9 +2717,12 @@
44 +/* no DBUS_ERROR_NO_MEMORY on windows (no have_fork_errnum)*/
45 +#ifndef DBUS_WIN_FIXME
46 warn_unexpected (connection, message, "not this error");
53 @@ -4064,29 +4085,36 @@
54 _dbus_assert_not_reached ("initial connection setup failed");
57 +#ifdef DBUS_WIN_FIXME
58 + _dbus_warn("TODO: dispatch.c create_and_hello test\n");
60 check1_try_iterations (context, "create_and_hello",
61 check_hello_connection);
64 check2_try_iterations (context, foo, "nonexistent_service_no_auto_start",
65 check_nonexistent_service_no_auto_start);
67 -#ifdef DBUS_WIN_FIXME
68 +#ifdef DBUS_WIN_FIXME
69 _dbus_warn("TODO: dispatch.c segfault_service_no_auto_start test\n");
71 check2_try_iterations (context, foo, "segfault_service_no_auto_start",
72 check_segfault_service_no_auto_start);
75 +#ifdef DBUS_WIN_FIXME
76 + _dbus_warn("TODO: dispatch.c existent_service_no_auto_start\n");
78 check2_try_iterations (context, foo, "existent_service_no_auto_start",
79 check_existent_service_no_auto_start);
81 check2_try_iterations (context, foo, "nonexistent_service_auto_start",
82 check_nonexistent_service_auto_start);
87 _dbus_warn("TODO: dispatch.c segfault_service_auto_start test\n");
90 check2_try_iterations (context, foo, "segfault_service_auto_start",
91 check_segfault_service_auto_start);
93 @@ -4106,8 +4134,12 @@
94 if (!check_existent_service_auto_start (context, foo))
95 _dbus_assert_not_reached ("existent service auto start failed");
97 +#ifdef DBUS_WIN_FIXME
98 + _dbus_warn("TODO: dispatch.c check_shell_service_success_auto_start test\n");
100 if (!check_shell_service_success_auto_start (context, foo))
101 _dbus_assert_not_reached ("shell success service auto start failed");
104 _dbus_verbose ("Disconnecting foo, bar, and baz\n");
106 @@ -4158,8 +4190,12 @@
107 _dbus_assert_not_reached ("initial connection setup failed");
110 +#ifdef DBUS_WIN_FIXME
111 + _dbus_warn("TODO: dispatch.c: create_and_hello_sha1 test\n");
113 check1_try_iterations (context, "create_and_hello_sha1",
114 check_hello_connection);
117 kill_client_connection_unchecked (foo);
119 Index: dbus/dbus-bus.c
120 ===================================================================
121 RCS file: /cvs/dbus/dbus/dbus/dbus-bus.c,v
122 retrieving revision 1.64
123 diff -u -r1.64 dbus-bus.c
124 --- dbus/dbus-bus.c 28 Oct 2006 01:41:37 -0000 1.64
125 +++ dbus/dbus-bus.c 8 Mar 2007 20:25:40 -0000
130 +#if !defined(DBUS_WIN) && !defined(DBUS_WINCE)
131 + // qt example pong says "QMutex::lock: Deadlock detected"
135 /* We are expecting to have the connection saved in only one of these
136 * slots, but someone could in a pathological case set system and session
137 * bus to the same bus or something. Or set one of them to the starter
142 +#if !defined(DBUS_WIN) && !defined(DBUS_WINCE)
147 static DBusConnection *
148 Index: dbus/dbus-mainloop.c
149 ===================================================================
150 RCS file: /cvs/dbus/dbus/dbus/dbus-mainloop.c,v
151 retrieving revision 1.19
152 diff -u -r1.19 dbus-mainloop.c
153 --- dbus/dbus-mainloop.c 20 Oct 2006 03:04:59 -0000 1.19
154 +++ dbus/dbus-mainloop.c 8 Mar 2007 20:25:40 -0000
159 + _dbus_daemon_release ();
161 _dbus_verbose ("Quit main loop, depth %d -> %d\n",
162 loop->depth + 1, loop->depth);
164 Index: dbus/dbus-sysdeps-util.c
165 ===================================================================
166 RCS file: /cvs/dbus/dbus/dbus/dbus-sysdeps-util.c,v
167 retrieving revision 1.10
168 diff -u -r1.10 dbus-sysdeps-util.c
169 --- dbus/dbus-sysdeps-util.c 13 Dec 2006 01:18:07 -0000 1.10
170 +++ dbus/dbus-sysdeps-util.c 8 Mar 2007 20:25:41 -0000
175 +#ifndef DBUS_WIN_FIXME
176 _dbus_string_init_const (&str, "0xff");
177 if (!_dbus_string_parse_double (&str,
180 _dbus_warn ("_dbus_string_parse_double of \"0xff\" returned wrong position %d", pos);
186 check_path_absolute ("c:/", TRUE);
187 check_path_absolute ("c:/foo", TRUE);
188 Index: dbus/dbus-sysdeps.h
189 ===================================================================
190 RCS file: /cvs/dbus/dbus/dbus/dbus-sysdeps.h,v
191 retrieving revision 1.69
192 diff -u -r1.69 dbus-sysdeps.h
193 --- dbus/dbus-sysdeps.h 8 Mar 2007 20:25:15 -0000 1.69
194 +++ dbus/dbus-sysdeps.h 8 Mar 2007 20:25:41 -0000
199 +void _dbus_daemon_release (void);
200 dbus_bool_t _dbus_open_tcp_socket (int *fd,
202 dbus_bool_t _dbus_close_socket (int fd,
203 Index: dbus/dbus-threads.c
204 ===================================================================
205 RCS file: /cvs/dbus/dbus/dbus/dbus-threads.c,v
206 retrieving revision 1.36
207 diff -u -r1.36 dbus-threads.c
208 --- dbus/dbus-threads.c 28 Oct 2006 01:41:37 -0000 1.36
209 +++ dbus/dbus-threads.c 8 Mar 2007 20:25:41 -0000
212 _dbus_threads_init_debug (void)
214 +#if defined(DBUS_WIN)
215 + return _dbus_threads_init_platform_specific();
217 return dbus_threads_init (&fake_functions);
221 #endif /* DBUS_BUILD_TESTS */
222 Index: dbus/dbus-watch.c
223 ===================================================================
224 RCS file: /cvs/dbus/dbus/dbus/dbus-watch.c,v
225 retrieving revision 1.25
226 diff -u -r1.25 dbus-watch.c
227 --- dbus/dbus-watch.c 21 Jun 2007 21:28:59 -0000 1.25
228 +++ dbus/dbus-watch.c 22 Jun 2007 09:55:03 -0000
230 * which it has, and the transport should provide the
231 * appropriate watch type)