Ralf Habacker
1f8d30bea1
* dbus/dbus-sysdeps-util-unix.c (_dbus_become_daemon): fix _dbus_pid_fd check.
2007-03-12 07:51:02 +00:00
Ralf Habacker
af4e4dc276
* tools/dbus-print-message.c (print_message): added printing of the reply serial to method returns and errors, so you can actually figure out the message/reply pairs - patch by olli.salli at collabora.co.uk.
2007-03-10 19:52:30 +00:00
Ralf Habacker
d2a4955338
* dbus-win.patch: removed committed patch.
2007-03-10 09:13:57 +00:00
Ralf Habacker
47e318a6e1
* bus/bus.c, bus/bus.h, bus/main.c, bus/test.c, dbus/dbus-sysdeps-unix.c, dbus/dbus-sysdeps-util-unix.c, dbus/dbus-sysdeps-util-win.c, bus/dbus-sysdeps-win.c,dbus/dbus-sysdeps.h: renamed _dbus_xxx_pipe to _dbus_pipe_xxx, completed _dbus_pipe support.
2007-03-10 09:10:36 +00:00
Ralf Habacker
f3fd4d60ad
* dbus/dbus-sysdeps.h (_dbus_listen_tcp_socket): changed type or port to pointer, because the port is given back.
...
* dbus/dbus-server-socket.c (_dbus_server_new_for_tcp_socket): implemented returning tcp port. Skipping port parameter and non integer port values in config <listen> statement needs more effort.
* dbus/dbus-sysdeps-unix.c, dbus/dbus-sysdeps-win.c (_dbus_listen_tcp_socket): return the real used tcp port.
* bus/dbus-daemon.1.in: added <listen> tcp examples
2007-03-10 08:04:39 +00:00
Ralf Habacker
4350f5798e
* cmake/config.h.cmake: win32 msvc bug fix
2007-03-09 20:54:07 +00:00
Ralf Habacker
6bccff6baa
* cmake/config.h.cmake: fixed DBUS_WINxx defines, using _WINCE does not work.
2007-03-09 19:23:45 +00:00
Ralf Habacker
42cced540e
* dbus-win.patch: removed _dbus_write_pipe() patch, it is now committed.
2007-03-08 20:33:31 +00:00
Ralf Habacker
ee51364bd7
* bus/bus.c, dbus/dbus-sysdeps-unix.c, dbus/dbus-sysdeps.h: rename pipe related write() function calls to _dbus_write_pipe().
2007-03-08 20:25:15 +00:00
Ralf Habacker
aa1c28195f
* dbus-win.patch: added bus/config-loader-libexpat.c patch, uses DBUS_WIN for alls win32 related #ifdefs, some minor cleanups
2007-03-08 20:14:52 +00:00
Ralf Habacker
d38034c92c
* cmake/CMakeList.txt,cmake/config.h.cmake: used DBUS_WIN for all win32 systems and DBUS_WINXX for specific subsystems.
2007-03-08 20:10:09 +00:00
Ralf Habacker
819da44f7c
* dbus-win.patch: updated patch for bus/dispatch.c.
2007-03-08 14:42:16 +00:00
Ralf Habacker
55919d2d14
* dbus-win.patch: dbus-connection.c (dbus_connection_get_unix_user,
...
dbus_connection_get_unix_process_id): Let return them valid user id's,
otherwise bus-test fails. How to replace on win32 ?.
* dbus/dbus-sysdeps-win.c (fill_win_user_info_homedir): fix memory leak.
2007-03-08 13:40:16 +00:00
Ralf Habacker
2eca6a2241
* dbus/dbus-sysdeps-win.c (_dbus_win_set_error_from_win_error): use dbus friendly error name
...
((fill_win_user_info_homedir): print user name in error case too.
2007-03-08 13:04:18 +00:00
Ralf Habacker
5f5a1a3366
* cmake/ConfigureChecks.cmake: fixed socketpair check, added setrlimit check really
2007-03-08 08:36:47 +00:00
Ralf Habacker
e24922e4b5
* bus/dispatch.c: disabled segfault test on win32 for now
2007-03-08 08:30:17 +00:00
Ralf Habacker
892780c35e
* configure.in, cmake/ConfigureChecks.cmake: added check for setrlimit.
...
* test/test-segfault.c: only include setrlimit stuff only when available.
2007-03-08 08:17:25 +00:00
Ralf Habacker
42fe5c9341
* test/test-segfault.c: unix compile fix.
...
* dbus-win.patch: removed obsolate patch.
2007-03-07 19:09:57 +00:00
Ralf Habacker
de9038c984
* bus/activation.c: win32 compile fix.
...
* test/test-segfault.c: win32 compile fix, rlimit isn't available on win32.
* dbus-win.patch: removed some more patches, they are applied or obsolate
2007-03-07 18:34:01 +00:00
Ralf Habacker
02b8ddd21d
* bus-win.patch: removed obsolates patches.
2007-03-06 23:55:56 +00:00
Ralf Habacker
3e3a7c40ab
* bus-win.patch: fixes unix listen problems, dbus-test now runs.
2007-03-06 21:45:27 +00:00
Ralf Habacker
4b876d8cb4
* cmake/dbus/CMakeLists.txt,cmake/bus/CMakeLists.txt,
...
cmake/CMakeLists.txt: win32 compile fix
2007-03-06 20:51:02 +00:00
Ralf Habacker
51e88a912a
* dbus-win.patch, README.win: added available win32
...
patches from windbus project (http://sf.net/projects/windbus )
2007-03-04 22:27:33 +00:00
Ralf Habacker
a780c4e834
* bus/activation.c: (bus_activation_activate_service):
...
fixed call to _dbus_spawn_async_with_babysitter().
2007-03-04 22:09:50 +00:00
Ralf Habacker
329f99a197
* dbus/dbus-spawn.c,dbus/dbus-spawn.h (_dbus_spawn_async_with_babysitter):
...
added environment pointer as function parameter,used on win32.
* test/spawn-test.c: fixed call to above mentioned function.
2007-03-04 19:14:04 +00:00
Ralf Habacker
7f3af4748f
* configure.in,test/test-sleep-forever.c,test/test-names.c:
...
added configure check for unistd.h.
2007-03-04 19:00:40 +00:00
Ralf Habacker
4d56811851
* test/Makefile.am: fixed test data copy problem in
...
out of source build, when sources came from svn or cvs.
2007-03-04 18:53:29 +00:00
Ralf Habacker
70bfc74e54
* dbus/*-win.*,bus/*-win.*: added win32 platform related
...
files. These files are only added to the cmake build system.
The missing dbus-win32.patch file will be added later.
2007-03-03 17:25:54 +00:00
Ralf Habacker
36ebfd411b
* cmake: new directory, contains cmake build support.
...
See http://www.cmake.org for more informations.
Currently only unix will be buildable because some
win32 required files are still missing.
2007-03-03 14:32:17 +00:00
Thiago Macieira
4ceb86d29a
* dbus/dbus-sysdeps-unix.c: capture the dbus-launch stderr
...
output and add it to the DBusError message we return.
* tools/dbus-launch.1:
* tools/dbus-launch.c: Add option --close-stderr to, well,
close stderr before starting dbus-daemon.
2007-03-03 10:36:46 +00:00
Havoc Pennington
aa2f74f551
2007-01-31 Havoc Pennington <hp@redhat.com>
...
* bus/dbus-daemon.1.in: write a section in the man page on running
a test daemon for debugging purposes
2007-02-01 22:41:27 +00:00
Havoc Pennington
8d3d8ff557
2007-01-26 Havoc Pennington <hp@redhat.com>
...
* bus/session.conf.in: override all the default limits with much
higher limits on the session bus, there is no reason the session
bus should have low limits
* bus/config-parser.c (bus_config_parser_new): increase default
limits so they are less likely to be hit; in particular the max
replies per connection was way too low
2007-01-26 16:10:26 +00:00
Simon McVittie
5284ed3979
* doc/dbus-tutorial.xml: Replace Python section of tutorial with
...
a pointer to the tutorial maintained as part of dbus-python
2007-01-25 16:42:54 +00:00
Ralf Habacker
d45c4a1f40
* dbus/dbus-sysdeps-unix.c: unix compile fix, moved
...
atomic_exchange_and_add() from dbus/dbus-sysdeps.c
to here, it's used by _dbus_atomic_inc() and _dbus_atomic_dec().
2007-01-01 21:29:59 +00:00
Ralf Habacker
3a33c8e294
* tools/dbus-monitor.c: gettimeofday() is not available
...
on windows so we have to provide our own. It's taken from
lgpl'd kdewin32 package. - Patches from Christian Ehrlicher
2006-12-31 12:20:54 +00:00
Ralf Habacker
2dae3a600b
* dbus/dbus-sysdeps-unix.c: moved _dbus_atomic_inc/dec()
...
from dbus/dbus-sysdeps.c, windows version of _dbus_atomic_inc/dec()
is in dbus-sysdeps-win.c (not in this patch).
* dbus/dbus-sysdeps.h: DBusAtomic::value is long on windows to fit
with InterlockedInc/Decrement. - Patches from Christian Ehrlicher
2006-12-31 12:16:04 +00:00
Ralf Habacker
572ae0a7d4
win32 compile fix
2006-12-31 11:31:12 +00:00
Ralf Habacker
52c7b5ead4
* dbus/dbus-marshal-recursive.c (type DBusTypeReaderClass): fix mispaced const statement. - Patch from Peter Kümmel
2006-12-31 10:15:19 +00:00
Ray Strode
5d77d1503e
2006-12-19 Ray Strode <rstrode@redhat.com>
...
* bus/bus.c (process_config_every_time):
don't overwrite existing bus context activation object
until after we've checked that the new activation is
valid.
* bus/main.c
(signal_handler), (handle_reload_watch):
don't call exit() on failure, instead make do and keep
going.
(close_reload_pipe): new function to turn off
hangup-causes-config-reload behavior if an unexpected
error occurs
2006-12-20 06:18:19 +00:00
Ralf Habacker
3ec4b0f023
2006-12-13 Ralf Habacker <ralf.habacker@freenet.de>
...
* dbus/dbus-sysdeps-win-thread.c (_dbus_condvar_wait_win32):
correctness fix. - Patch from Christian Ehrlicher
2006-12-13 17:14:24 +00:00
Ralf Habacker
b88d6bad1c
2006-12-13 Ralf Habacker <ralf.habacker@freenet.de>
...
* dbus/dbus-internals.h: msvc also knows about __FUNCTION__,
we should also use it. - Patch from Christian Ehrlicher
2006-12-13 15:50:43 +00:00
Ralf Habacker
610a1786da
2006-12-13 Ralf Habacker <ralf.habacker@freenet.de>
...
* dbus-sysdeps-util.c (_dbus_sysdeps_test): added win32 related tests.
2006-12-13 01:18:07 +00:00
Ralf Habacker
f2e17db66f
* dbus/dbus-string.c (_dbus_string_pop_line),
...
bus/desktop-file.c (parse_section_start,
parse_comment_or_blank,parse_key_value,): uses
_dbus_string_find_eol() to support platform independent eol style.
2006-12-12 23:58:32 +00:00
Ralf Habacker
ea18bc0d07
* dbus/dbus-string.c (_dbus_string_pop_line),
...
bus/desktop-file.c (parse_section_start,
parse_comment_or_blank,parse_key_value,): uses
_dbus_string_find_eol() to support platform independent eol style.
2006-12-12 23:58:32 +00:00
Ralf Habacker
cb39e60e16
* dbus/dbus-string.[ch] (_dbus_string_find_eol): new function.
...
* dbus/dbus-string-util.c (_dbus_string_test): added testcases for
_dbus_string_find_eol().
Approved by: Havoc Pennington.
2006-12-12 23:46:27 +00:00
Tim Dijkstra
60bf955868
* configure.in: Added switch to disable user_database caching.
...
* dbus/dbus-userdb-util.c, dbus/dbus-userdb.c: Add ifdefs to
be able disable user_dabase caching.
2006-12-12 22:01:22 +00:00
Tim Dijkstra
145fb99b6e
commit.msg
2006-12-12 21:24:07 +00:00
John (J5) Palmieri
1a90c01930
* bus/signal.c: Fix match_rule_equal errata
...
(CVE-2006-6107 - Patch from Kimmo Hämäläinen
<kimmo.hamalainen@nokia.com>)
2006-12-12 19:08:04 +00:00
Thiago Macieira
c0dbd2a2b5
* dbus/dbus-sysdeps-pthread.c (_dbus_pthread_mutex_lock,
...
_dbus_pthread_condvar_wait,
_dbus_pthread_condvar_wait_timeout): set pmutex->holder to
pthread_self() after coming back from a conditional variable
wait as well as in one codepath where it was forgotten.
Approved by: Havoc Pennington.
2006-11-19 18:23:27 +00:00
Havoc Pennington
6d9173ad11
2006-11-17 Havoc Pennington <hp@redhat.com>
...
* update-dbus-docs.sh: allow setting fd.org username via env
variable. Make it run autogen with --enable-xml-docs=yes
--enable-doxygen-docs=yes so configure will fail if the required
tools are missing.
2006-11-18 03:30:47 +00:00