James Harris
63c7175250
Remove warnings from generated adaptors.
...
This patch modifies the dbusxx-xml2cpp's generate_adaptor function so
that it prevents generation of the MessageIter ri in cases where an
interface method has no input arguments.
By making this element conditional based on the presence of input
arguments we avoid "unused-but-set-variable" warning in code that uses
the DBus-C++ adaptor glue headers.
Change-Id: I0f04439bf7b2b3cecb9d639e61c2b6dedc148e51
Type: Code Improvement
2014-03-19 12:52:16 +01:00
Jonatan Pålsson
63edf7777f
Fix crash when invoking method without specifying interface
...
Previously this meant the interface variable is NULL, which led to an invalid
string conversion from NULL to string, causing a crash. Check for NULL before
doing the conversion.
2014-01-14 12:40:13 +01:00
Jonatan Pålsson
f4b6182157
Added PTHREAD_LIBS variable to be set in another discovery case in acx_pthread
2014-01-14 10:05:38 +01:00
Jonatan Pålsson
a3442cb00c
Added unistd include to eventloop-integration.cpp
2014-01-14 09:25:02 +01:00
Andreas Volz
1f6f3e6e96
set version for first release to 0.9.0
2011-12-01 13:46:29 +01:00
Andreas Volz
4991c166d8
link changed
2011-12-01 13:44:08 +01:00
Andreas Volz
6e4d1102c3
no need to distribute spec file if spec.in is included
2011-12-01 10:10:53 +01:00
Andreas Volz
8c87a34e43
docs - enable private
2011-12-01 10:06:46 +01:00
Andreas Volz
57fcee6176
logo update
2011-12-01 00:54:22 +01:00
Andreas Volz
5679f6bad2
added new style for doxygen documentation
2011-12-01 00:51:12 +01:00
Andreas Volz
bde9919483
updated doxy file
2011-11-30 13:03:53 +01:00
Andreas Volz
7d050f31f6
- fixed library path of glib and ecore examples
...
- optional build --enable-tests --enable-examples
- print summary after configure run
2011-11-30 10:33:58 +01:00
Andreas Volz
2b8cfc887e
- dbus-c++ passes now compiling on ubuntu 8.10 machine (-lrt addded for Test1/TestApp)
...
- identified a potential problem in pipe.cpp and marked it with FIXME
- changed version to 0.9.0-pre1 to inform it's near to 1.0 stable release
2011-11-29 23:48:04 +01:00
Andreas Volz
7a3242b77f
- now 'make distcheck' runs clean after using correct path in Makefile.am
...
- removed useles link to xml.cpp in ecore example
2011-11-29 22:54:58 +01:00
Andreas Volz
ca33a290df
changed variable to oneliner because of astyle parser bug
2011-11-29 22:54:16 +01:00
Andreas Volz
cee7aaca54
NO FUNCTIONAL CHANGES!!
...
Only reformated stupid astyle formating; it seems the code inside a string confused astyle...
2011-11-29 21:10:41 +01:00
Andreas Volz
0522a1eb29
change date
2011-11-29 20:19:32 +01:00
Andreas Volz
47cb50c8de
changed maintainer info
2011-11-29 20:17:50 +01:00
Andreas Volz
04379cfb7d
changed build architecture to build seperate libs for main/ecore/glib integration
...
dbus C has the same feature
this enables distribution package creators easier to provide all mainloop integrations without getting to much deps for dbus-c++
2011-11-28 22:55:07 +01:00
Andreas Volz
1c8e43e6d6
- NO FUNCTIONAL CODE CHANGES!!!!
...
- changed code formating from tabs to spaces and others
- used astyle with this option:
--style=ansi --indent=spaces=2 -M --pad-oper --unpad-paren --pad-header --align-pointer=name --lineend=linux
2011-11-28 12:44:11 +01:00
Andreas Volz
b100e9d32a
replaced (func.size() > 1) with (!func.empty()) in generator (no change in functionality, only easier to read)
2011-11-28 11:55:44 +01:00
Andreas Volz
74c1ee31c2
enables default build of glib and ecore dispatcher (if found)
2011-11-28 10:58:52 +01:00
Andreas Volz
742570b1f0
sf.net bug: 3310217 - unused parameter warning in server.h
...
added -Wno-unused-parameter to ignore this warning
2011-11-28 09:47:12 +01:00
Andreas Volz
82c63b289d
sf.net ticket 2905915 - Fix dbus signal handler deadlock
...
From: sf.net user 'nabertech'
2011-11-28 08:23:32 +01:00
Andreas Volz
d1ec2544d5
sf.net bug: 3151031 xml2cpp needlessly includes and links dbus(-c++)
2011-11-28 00:32:34 +01:00
Andreas Volz
2a1e2dbe51
[PATCH 11/15] Have Object subclasses NOT throw exceptions in destructors.
...
From: qolyester@green-communications.fr
2011-11-27 23:40:49 +01:00
Andreas Volz
d14c15246b
[PATCH 12/15] Fix leftover outputs.
...
From: qolyester@green-communications.fr
2011-11-26 23:49:46 +01:00
Andreas Volz
eaeeea61d3
[PATCH 01/15] Explicit Connection::Private's attributes
...
From: qolyester@green-communications.fr
2011-11-26 23:40:27 +01:00
Andreas Volz
e8262c2d4f
[PATCH 07/15] Double the number of Struct members.
...
From: qolyester@green-communications.fr
2011-11-26 23:35:17 +01:00
Andreas Volz
fcae4df485
[PATCH 02/15] Remove useless const qualifiers on return
...
From: qolyester@green-communications.fr
2011-11-26 23:11:18 +01:00
Andreas Volz
59fc6e9e46
- fixed stupid ecore dispatcher error
...
- removed not needed echo_ecore files
2011-11-18 23:41:54 +01:00
Andreas Volz
84978b67b5
a test for byte
2011-11-18 18:07:06 +01:00
Andreas Volz
9be39fb628
- create stucture for functional test
...
- implementation of first test
2011-11-18 17:30:56 +01:00
Andreas Volz
2185408cfa
add echo_ecore example
2011-11-17 12:01:38 +01:00
Andreas Volz
4ac8b072e3
Merge commit 'refs/merge-requests/4' of git://gitorious.org/dbus-cplusplus/mainline into merge-requests/4
2011-11-11 10:08:00 +01:00
Andreas Volz
cdd13a3747
more tests from patches
2011-11-11 10:07:19 +01:00
Jesus Ruiz
d91fb952d3
Fix code generator: Put on the array only the next element after 'a'.
...
For example "(aii)" produced:
member(const ::DBus::Struct< std::vector< int32_t, int32_t > >& arg)
And now it produces:
member(const ::DBus::Struct< std::vector< int32_t >, int32_t >& arg)
2011-09-20 15:15:24 +02:00
Jesus Ruiz
21ba70529d
Fix code generator: add always a comma after each signature argument.
...
For example "((i)i)" produced:
member(const ::DBus::Struct< ::DBus::Struct< int32_t >int32_t >& arg)
And now it produces:
member(const ::DBus::Struct< ::DBus::Struct< int32_t >, int32_t >& arg)
2011-09-20 15:03:51 +02:00
Andreas Volz
987d0f72a4
repair ecore mainloop dispatcher
2011-03-10 12:44:39 +01:00
Andreas Volz
cdedb019b0
- fixed Strcut generation in generator tool
...
- added some test cases
2011-02-15 23:58:42 +01:00
Andreas Volz
466931e527
and one more example
2011-02-14 23:33:31 +01:00
Andreas Volz
f9e5171ace
deleted some old commented code
2011-02-14 23:30:23 +01:00
Andreas Volz
796c96d34e
fixed SF bug:
...
ID: 2991229
Summary: nested type wrong generation
2011-02-14 23:27:32 +01:00
Andreas Volz
9e25833870
fixed some bugs in the ecore mainloop integration
2011-01-14 20:32:16 +01:00
Augusto Destrero
3f1ca07e13
use dbus_watch_get_unix_fd() only in dbus >= 1.1.1
2011-01-03 16:48:39 +01:00
Andreas Volz
b23f1b2eab
From 37dbce02178757560c488f02016cb44770a7fafc Mon Sep 17 00:00:00 2001
...
From: thomas.himbacher <thomas.himbacher@gmail.com>
Date: Thu, 12 Aug 2010 18:13:26 +0200
Subject: [PATCH 1/3] removed wrong keyword const in adaptor generation
methods with several 'out' parameters have wrong
method signature with keywords 'const' for pass-by-reference
outputs.
2010-12-05 23:30:04 +01:00
Andreas Volz
2a42e69250
Merge branch 'master' of git@gitorious.org:dbus-cplusplus/mainline
2010-12-05 23:09:30 +01:00
Andreas Volz
9f2fdd36d3
no more debug option needed -> use CXXFLAGS env before configure run
2010-10-13 23:35:43 +02:00
Andreas Volz
2379d37c3b
patch from:
...
Von: Mat <matlinuxer2@gmail.com>
An: dbus-cplusplus-devel@lists.sourceforge.net
Betreff: [dbus-cplusplus-devel] A patch for deadlock, for dbus io error exception in the mainloop critical section.
Datum: Mon, 6 Sep 2010 12:24:03 +0800
2010-10-08 00:35:45 +02:00
Andreas Volz
8f064c4b08
added patches from: Roman Fietze <roman.fietze@telemotive.de>
2010-10-08 00:22:58 +02:00