Michele Calgaro
96f7e60908
Make sure to handle pending messages at start up if a dbus service
...
is invoked by the dbus daemon.
Prior to this fix, when a service was started by the dbus daemon,
the first dbus call sent to it was being held back till the next
dbus call was performed, resulting in a long timeout for the first
unhandled call and a delayed answer.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Slávek Banko
e6dccd3173
Instead of unusual use of full destination path for apidox in build directory, use simple 'apidocs'.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Slávek Banko
2d10834c46
Automatic apidox installation using CMake code
...
instead of an external shell script from cmake submodule.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Emanoil Kotsev
aaca9aafc8
Fix #25 dbusxml2qt3 root node with no name
...
Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
5 years ago
Emanoil Kotsev
45bdbff13b
Fix #23 dbusxml2qt3 with multiple interfaces
...
Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
5 years ago
Emanoil Kotsev
7d49292176
Generate DBusBaseNode class to handle the empty nodes.
...
- Prevent showing Introspection in empty nodes
- fix method generation for objectpath array in signature like a{oa{sa{sv}}}
- Hide Introspectable interface if there is no interface in the node
- Add support for multiple nodes introspection
- addChildNode function to support multiple nodes
Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
5 years ago
Emanoil Kotsev
6bead3d3d0
Fix problem with d-feet and annotation missing value attribute
...
Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
6 years ago
Emanoil Kotsev
1738aa0602
Fix regression from recent signals and async changes
...
Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
6 years ago
Emanoil Kotsev
bc23ccded5
Fix for issue 11 based on latest master
...
Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
6 years ago
Emanoil Kotsev
4e267fc57b
Handle primitives in signals properly (not const)
...
Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
81cebe1f20
Fixed direction of signals in generated code. This resolves issue #19 .
...
This commit is partially based on work done by Emanoil Kotsev <deloptes@gmail.com>.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
6 years ago
Slávek Banko
f08981e12a
Fixed problem with missing include of introspectableInterface.h file in
...
generated node file in case the custom interface file name is used.
This relates to issue #17 .
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Michele Calgaro
97bfc41b1b
Added methods to create a TQT_DBusDataMap<T> object from a TQMap<T, TQT_DBusDataMap<U> > map.
...
This fixes a compilation problem when objects with a signature like a{oa{...}} are generated.
This refers to issue #7 .
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
00b00f9961
Modified TQT_DBusObjectPath to inherit from TQString instead of
...
TQCString.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
6b319e0482
Fixed problem with missing include of introspectableInterface.h file in
...
generated node file. This refers to issue #17 .
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
17b82c03cd
Added function to easily create a TQT_DBusData variant object from a given
...
TQT_DBusData object. This simplify the creation of dictionaries where
the value has to be of type Variant.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
ff5fee9de2
Fixed generation of Introspectable interface file. This resolves #17 .
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Slávek Banko
3dee246575
Make the use of the class name requested by the -c
...
command line option consistent.
This resolves issue #14 .
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Slávek Banko
20daa8eecb
Adjusting class name moved from generators to caller.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Michele Calgaro
d3ff70c037
Fixed problem with interface file name generation and inclusion. This
...
relates to #5 .
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
415cca8630
Fixed previous commit. The name of the included moc file needs to be taken from the specified basename when available. The location of
...
the function call was also wrong.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Emanoil Kotsev
318a0abf7f
Fix for issue #9 - add include moc in proxy cpp
...
Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Emanoil Kotsev
755938dd30
missed from commit 99fc7a4311
6 years ago
Michele Calgaro
6236fe9051
Fixed up names of files and classes.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Emanoil Kotsev
d73d25c65d
Add Proxy and Interface to class name.
...
Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
6 years ago
Emanoil Kotsev
bb8f8a2827
dd node name if not a root node.
...
Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Emanoil Kotsev
3997d3cdec
Create node class with ending with Node.
...
Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
6 years ago
Emanoil Kotsev
14aebff1f4
Fix missing interface.h in generated code and filename.
...
Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
6 years ago
Michele Calgaro
f9c9e15267
Moved source files to "src" folder.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago