Commit graph

1612 commits

Author SHA1 Message Date
Ralf Habacker
081b2cd68e * tools/dbus-launch-win.c: new file, replaces script wrapper on win32 2007-06-01 22:24:57 +00:00
Ralf Habacker
738178d5f1 * (_dbus_get_install_root): bug fix 2007-06-01 22:12:43 +00:00
Ralf Habacker
378053ba59 * bus/main.c (main): uses _dbus_get_config_file_name() to detect session.conf location on win32.
* dbus-sysdeps-win.h (_dbus_get_config_file_name,_dbus_file_exists): new prototyp, undefined interface after including windows.h because  t makes trouble when a paramater is named interface.
* dbus-sysdeps-win.c (_dbus_get_install_root,_dbus_get_config_file_name,_dbus_file_exists):  new functions.
2007-06-01 22:05:42 +00:00
Ralf Habacker
8d3dbfb103 * bus/policy.c,dbus/dbus-internals.c: fixed inconsistant line endings as reported by Peter Kümmel. 2007-05-27 11:38:28 +00:00
John (J5) Palmieri
c04a21c321 * bump version number 2007-05-25 21:53:55 +00:00
John (J5) Palmieri
8bee36147f * Released 1.1.0 2007-05-25 21:53:06 +00:00
John (J5) Palmieri
fdbcd4580b * Split NEWS and ChangeLog into a .pre-1-0 file as per HACKING
We forgot to do this during the 1.0 release and it makes sense
  now as we get ready to release the first 1.1.0 development tarball
2007-05-25 20:49:50 +00:00
John (J5) Palmieri
e57cb0eb19 * create directory test/data/valid-config-files/session.d so that
make check passes
2007-05-25 20:41:01 +00:00
John (J5) Palmieri
09c48920a8 * INSTALL: remove dependancies for bindings since they no longer
are a part of core
2007-05-25 20:19:33 +00:00
Ralf Habacker
783e066ce3 * dbus/dbus-server-win.c,dbus/dbus-server-win.h: new file with empty function _dbus_server_listen_platform_specific().
* dbus/dbus-server.c (listen_funcs): uses _dbus_server_listen_platform_specific() on win platform too.
2007-05-24 19:15:26 +00:00
Ralf Habacker
ea7c582f03 * dbus/dbus-sysdeps-win.c (fill_win_user_info_homedir): not getting user info from a domain controller isn't an error, the computer may run in a non domain context. 2007-05-24 18:15:24 +00:00
Ralf Habacker
1e6025ef4f * dbus/dbus-sysdeps-win.c (_dbus_full_duplex_pipe): fixed assertation. 2007-05-24 17:28:42 +00:00
Ralf Habacker
5bd59d4a6c * bus/config-parser.c (test_service_dir_matches): fixed ordering for unix.
* bus/config-parser.c (test_default_session_servicedirs): made allocation  of _progs platform independent.
2007-05-24 08:07:28 +00:00
Havoc Pennington
ae68ad2ab9 2007-05-23 Havoc Pennington <hp@redhat.com>
* bus/Makefile.am (install-data-hook): create session.d

	* bus/session.conf.in: add session.d for the session bus, so
	security policy can be extended
2007-05-23 19:45:56 +00:00
Ralf Habacker
73ed217efd * cmake/CMakeLists.txt: fixed creating of TEST_..._BINARY to make bus-test able to find the binaries. 2007-05-23 06:00:34 +00:00
Simon McVittie
3f7b619b44 acinclude.m4, configure.in: In recent autotools, ${datadir} is
defined in terms of ${datarootdir}, so EXPANDED_DATADIR needs to be
expanded recursively. Rather than fixing configure.in to do this, I
grabbed the AS_AC_EXPAND macro from autostars.sf.net, which seems to be
commonly used.
2007-05-21 17:37:08 +00:00
Simon McVittie
6b4bd7d2e9 tools/.cvsignore: Ignore all currently built files.
test/name-test/.cvsignore: New file, ditto.
2007-05-21 16:50:13 +00:00
Simon McVittie
4895a3bb33 * update-dbus-docs.sh: Assorted improvements:
- Default user if $FDUSER is not set is the ssh default
  (set in ~/.ssh/config or based on the local username), not a
  hard-coded "johnp"
- Temporary checkout directory is created securely (preventing symlink
  attacks), if mktemp(1) is available
- Use make -C rather than cd && make && cd ..
2007-05-21 16:43:57 +00:00
Simon McVittie
c9780cf5ed HACKING: Point to correct mailing list 2007-05-21 16:41:16 +00:00
Simon McVittie
5d7f93cc8b HACKING: point to the correct mailing list 2007-05-21 16:39:43 +00:00
Simon McVittie
442e8ab1f3 doc/dbus-specification.xml: explicitly specify that STRING cannot contain embedded NULs. 2007-05-21 15:40:59 +00:00
Ralf Habacker
c8e445c8c1 removed applied patches 2007-05-21 06:24:39 +00:00
Ralf Habacker
6b83766121 * dbus/dbus-internal.c: fix inline problem on win32. 2007-05-20 19:50:05 +00:00
Ralf Habacker
1f9f66bba8 minor fix 2007-05-20 09:45:37 +00:00
Ralf Habacker
c926a15fc4 * dbus/dbus-sysdeps-win.c (fill_win_user_info_homedir): not reaching domain controller isn't an error, converted error message to verbose message. 2007-05-20 09:14:33 +00:00
Ralf Habacker
0c0df1910d minor fix 2007-05-20 09:06:11 +00:00
Ralf Habacker
c0275bccc9 removed obsolate and applied patches 2007-05-19 18:22:28 +00:00
Ralf Habacker
5c593d75ff * dbus/dbus-test.c (dbus_internal_do_not_use_run_tests): disabled tests not running on wince. 2007-05-19 18:15:56 +00:00
Ralf Habacker
383312097c removed applied patches 2007-05-19 15:46:37 +00:00
Ralf Habacker
a28a5a0bd4 * dbus/dbus-sysdeps.c (_dbus_setenv): win32 requires 'varname=' to unset a environment variable. 2007-05-19 15:39:01 +00:00
Ralf Habacker
53d9af1117 * bus/policy (bus_policy_create_client_policy): win32 temporary fix until the userdb stuff is ported completly. 2007-05-19 15:26:32 +00:00
Ralf Habacker
c3793db07f * dbus/dbus-server.c (listen_funcs): _dbus_server_listen_platform_specific is empty on win32, limited to unix only.
* dbus/dbus-server.c (valid_addresses): limit unix only addresses to unix.
2007-05-19 15:17:26 +00:00
Ralf Habacker
aa86ddfa83 * wrong date fix 2007-05-19 15:05:44 +00:00
Ralf Habacker
12b138100c removed obsolate patches 2007-05-19 15:02:02 +00:00
Havoc Pennington
c81036b7ec be consistent about notations 2007-05-18 18:12:24 +00:00
Havoc Pennington
d5b030efcc 2007-05-18 Havoc Pennington <hp@redhat.com>
* doc/dbus-specification.xml: add a GetAll to the Properties
	interface.
2007-05-18 18:10:18 +00:00
Ralf Habacker
e02f8b1c00 * bus\config-parser.c (test_default_session_servicedirs):win32 fix. 2007-05-17 11:47:48 +00:00
Ralf Habacker
feb6a0ce97 * configure.in: define constant DBUS_UNIX. 2007-05-17 11:44:42 +00:00
Ralf Habacker
d090a33096 * dbus/dbus-sysdeps-win.c (_dbus_printf_string_upper_bound): compile fix for MS Platform SDK 6 patch from Michael Luschas <mluschas@gmail.com> 2007-05-14 15:34:46 +00:00
John (J5) Palmieri
90e35e17e5 * dbus-1.pc.in: add daemondir to pc file
patch from Brian Cameron
2007-05-10 15:33:57 +00:00
Simon McVittie
e600d78e41 doc/dbus-specification.xml: mention the reserved o.fd.DBus.Local interface
and the corresponding /o/fd/DBus/Local object path; describe them as reserved
and forbid using them in a sent message, mentioning that in the reference
implementation this will cause the connection to be dropped.
Patch approved by Havoc.
2007-05-04 10:28:12 +00:00
Ralf Habacker
17b84104f2 * cmake/: don't install test applications and service files, moved CMAKE_DEBUG_POSTFIX to top level CMakeLists.txt 2007-04-28 19:37:25 +00:00
Havoc Pennington
c85da03580 2007-04-27 Havoc Pennington <hp@redhat.com>
* dbus/dbus-sysdeps-unix.c (_dbus_open_socket): fix #10781 from
	Tobias Nygren, checking pointer to fd vs. 0 rather than checking
	the fd itself
2007-04-27 17:58:46 +00:00
Ralf Habacker
4bd8418548 * cmake: added debug postfixes to debug exe's for easier debugging.
* dbus\dbus-sysdeps-win.c (_dbus_win_set_error_from_win_error): print error code in case no string message is available.
2007-04-26 09:30:38 +00:00
Simon McVittie
c4a5da3e59 dbus/dbus-message-util.c, dbus/dbus-message.c, dbus/dbus-message.h:
Add API to convert a DBusMessage to/from a byte array.
Patch from Dafydd Harries <dafydd.harries@collabora.co.uk>, approved by
Havoc Pennington.
2007-04-06 12:13:13 +00:00
Ralf Habacker
54eabbe892 * dbus/dbus-address.c (dbus_parse_address): Do not accept zero-length address.
* dbus/dbus-address.c (_dbus_address_test): Add test for zero-length address.
2007-04-03 18:53:25 +00:00
Ralf Habacker
3718730332 * cmake/dbus/CMakeLists.txt: debug postfix also for mingw. 2007-03-25 19:28:05 +00:00
Ralf Habacker
ea58ec1cf9 * cmake/modules/FindExpat.cmake: fix package detection on win32.
* README.win: update install instructions.
2007-03-16 22:34:40 +00:00
Ralf Habacker
6e07b30fab * dbus/dbus-sysdeps.h (_dbus_split_paths_and_append): new prototyp (_DBUS_PATH_SEPARATOR): new macro.
* dbus/dbus-sysdeps.c (_dbus_split_paths_and_append): merged from dbus/dbus-sysdeps-unix.c and dbus/dbus-sysdeps-win.c.
2007-03-16 21:56:33 +00:00
Ralf Habacker
cd57ebe33b * bus/config-parser.c, bus/policy.c, bus/policy.h, bus/dbus-daemon.1.in,bus/session.conf.in: added eavesdrop support for replies - patch by olli.salli at collabora.co.uk approved by Havoc Pennington. 2007-03-15 13:27:01 +00:00