Commit graph

2414 commits

Author SHA1 Message Date
Marcus Brinkmann
abb81eb446 Fix warnings on Windows CE target. 2010-04-14 08:26:47 +02:00
Marcus Brinkmann
e419a5cff7 Fix warnings on Windows builds. 2010-04-14 08:26:40 +02:00
Marcus Brinkmann
3678d71d18 Remove obsolete files. 2010-04-14 08:26:14 +02:00
Marcus Brinkmann
f857bf034a Include strtoll.c and strtoull.c in distribution. 2010-04-14 08:23:29 +02:00
Ralf Habacker
280cdc2ad8 Added missing test libraries and tools to keep in sync with autotools. 2010-04-13 21:18:41 +02:00
Ralf Habacker
ae9edf9b0d Keep defines for dbus test in sync with autotools. 2010-04-13 21:17:46 +02:00
Ralf Habacker
e828d41e3e Keep test file directories in sync with autotools 2010-04-13 21:17:31 +02:00
Ralf Habacker
ec18f1fc89 Port test-privserver to windows by using the TEST_LISTEN bus address. 2010-04-13 21:15:41 +02:00
Ralf Habacker
9ba1517315 Defined DBUS_CMAKE in config.h to have a way for detecting the currently used buildsystem. 2010-04-13 21:15:29 +02:00
Marcus Brinkmann
3050bcfd1a Add README for Windows CE. 2010-04-13 21:09:09 +02:00
Marcus Brinkmann
5e4ef80e09 Add replacement functions strtoll/strtoull for dbus-send, mainly for Windows CE. 2010-04-13 21:08:10 +02:00
Marcus Brinkmann
f041773df2 Port dbus tools to Windows CE. 2010-04-13 20:58:20 +02:00
Marcus Brinkmann
3404bb7238 Add support for Windows CE to the code base. 2010-04-13 20:38:59 +02:00
Romain Pokrzywka
9e034bd5b3 add missing HAVE_ macros to cmake 2010-04-13 20:17:14 +02:00
Marcus Brinkmann
48801c87df Windows CE has a different understanding of "command line" from Windows. 2010-04-13 20:13:45 +02:00
Marcus Brinkmann
f004b63705 Add WinCE detection to configure.in and choose right socket library. 2010-04-13 20:11:07 +02:00
Marcus Brinkmann
23d187d019 clean up def file change. 2010-04-13 19:46:19 +02:00
Ralf Habacker
99febc2ef8 Merge branch 'master' of ssh://rhabacker@git.freedesktop.org/git/dbus/dbus 2010-04-13 19:45:22 +02:00
Marcus Brinkmann
6e214b5b3c Prepare for WinCE port: Convert windows code to native API, avoid errno. 2010-04-13 15:46:35 +02:00
Romain Pokrzywka
c60c9601f5 update WinCE cmake support 2010-04-13 15:42:10 +02:00
Romain Pokrzywka
4708efeebb update WinCE cmake support 2010-04-13 15:41:31 +02:00
Ralf Habacker
3ac6915e3c Merge branch 'master' of ssh://git.freedesktop.org/git/dbus/dbus 2010-04-13 15:40:06 +02:00
Ralf Habacker
4d8dcd5561 Cmake build system cleanup.
Converted tabs to spaces and removed trailing spaces in test dir.
2010-04-11 11:53:56 +02:00
Ralf Habacker
0ed7d779b7 Cmake support for cross plattform usable test files.
Recent test configuration files contains 'unix:...'
bus adresses which do not work on windows.
For cross plattform usable test files the whole
listen tag entry has to be set by the build system,
which is available with a new build system variable
named TEST_LISTEN.
To have the client client side definition in sync,
TEST_CONNECTION has been moved from c file into cmake
build system.
2010-04-11 11:49:46 +02:00
Ralf Habacker
2279457cbc Fixed meinproc4 docbook generator detection for cmake buildsystem. 2010-04-10 01:20:45 +02:00
Ralf Habacker
19251c52de Simplified cmake specific test file generating.
If there is a *.cmake test file available for
a related *.in file, take the *.cmake test file
instead of the *.in file as test file source.
Also added some messages.
2010-04-09 23:07:11 +02:00
Ralf Habacker
a9d68b7d9d Fixed xmlto usage on unix for cmake build system. 2010-03-30 08:31:49 +02:00
Ralf Habacker
f7e976540b Determine docbook.xsl path on windows from meinproc4 executable. 2010-03-29 21:28:47 +02:00
Patrick von Reth
0958631378 Added x64 and ia64 backtrace support for windows. 2010-03-29 10:15:34 +02:00
Ralf Habacker
d521734851 Cleaned up _dbus_verbose calls: function names and code line numbers are printed by default. 2010-03-27 23:28:00 +01:00
Ralf Habacker
2575b946ff Added cmake build system notes to README and INSTALL. 2010-03-24 13:44:26 +01:00
Ralf Habacker
ca7b8112c9 Renamed libdbus-convenience to libdbus-internal for automake (to stay in sync with cmake). 2010-03-23 09:21:48 +01:00
Marcus Brinkmann
1de6b09fbd Update dll export for autoconf (to stay in sync with cmake). 2010-03-23 09:10:39 +01:00
Ralf Habacker
1d0076b500 Keep cmake build system in sync with commit d47154c28b. 2010-03-22 22:33:02 +01:00
Colin Walters
df89cfeb38 Merge branch 'dbus-1.2'
Conflicts:
	bus/dispatch.c
	configure.in
	test/name-test/test-names.c
2010-03-22 14:39:56 -04:00
Colin Walters
3861cb42f4 [64 bit printf] Update to use DBUS_PID_FORMAT, print (omitted)
There were already defines for formatting pids and uids, so use those.

In the case where we don't have a format specifier for 64 bit, print
(omitted) in dbus-monitor.
2010-03-22 14:35:28 -04:00
Colin Walters
c93d3ec2ff Add DBUS_INT64_MODIFIER define, turn on -Wformat
https://bugs.freedesktop.org/show_bug.cgi?id=19195

We were previously using -Wno-format because we didn't have
a #define for DBUS_INT64_MODIFIER, which was really lame because
it easily hid problems.

For now, just define it if we're on glibc; this is obviously
not strictly correct but it's safe, because the formatting
is only used in DBUS_VERBOSE mode, and in tools/dbus-monitor.
Ideally we get the the glib code relicensed.
2010-03-22 13:58:56 -04:00
Colin Walters
03bb3ce656 Add DBUS_GNUC_PRINTF checks to new formatting functions
Otherwise we don't get GCC warnings.
2010-03-22 13:58:43 -04:00
Ralf Habacker
a96fc838b9 Removed unused cmake packages. 2010-03-22 17:28:57 +01:00
Ralf Habacker
a8dad42954 Added signal.h and locale.h detection for cmake build system. 2010-03-22 17:28:56 +01:00
Marcus Brinkmann
01d9d169f3 Make more signal and locale interface use conditional. 2010-03-22 17:28:55 +01:00
Ralf Habacker
e183399391 Additional fixes for 2154acb349 2010-03-22 10:58:53 +01:00
unknown
2154acb349 Make the windows binaries and build match the linux one with cmake buildsystem.
This is performed by including the files from the client lib in the internal one
and by removing the linking to dbus-1 for targets using the internal library.
2010-03-22 10:41:06 +01:00
Ralf Habacker
1fb6d3faf6 Removed def file support for cmake build system. 2010-03-22 10:41:06 +01:00
Colin Walters
c4371e4bc8 [bus] While creating a syslog, correctly get pointer data from DBusString 2010-03-21 07:01:55 -04:00
Ralf Habacker
d999abdaa8 CMake dbus libraries usage cleanup.
Renamed DBUS_LIBRARIES to DBUS_INTERNAL_LIBRARIES and moved to top level CMakeLists.txt.
Removed obsolate references of dbus-internal library.
Added DBUS_LIBRARIES definition which contains only the dbus library.
2010-03-20 22:33:58 +01:00
Ralf Habacker
235e8dfe2e Fixed gcc on windows limitation
A pointer to a function or variable marked as dllimport
cannot be used as a constant address.
2010-03-20 21:53:57 +01:00
Ralf Habacker
f76399115e win32 fix: Only diplay memory allocation testing error note once. 2010-03-19 21:42:54 +01:00
Ralf Habacker
96958b238f fixed def file usage for cmake mingw builds 2010-03-19 21:33:57 +01:00
Marcus Brinkmann
b9330ba780 Do not use DBUS_WIN in a public header file, use _WIN32. 2010-03-19 20:12:00 +01:00