Commit graph

86 commits

Author SHA1 Message Date
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
a3442cb00c Added unistd include to eventloop-integration.cpp 2014-01-14 09:25:02 +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
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
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
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
eaeeea61d3 [PATCH 01/15] Explicit Connection::Private's attributes
From:    qolyester@green-communications.fr
2011-11-26 23:40:27 +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
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
987d0f72a4 repair ecore mainloop dispatcher 2011-03-10 12:44:39 +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
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
dc833f4a89 this fixed the correct handling of the default main loop
but setting another DefaultTimeout isn't nice. I've to look later again into the problem. Maybe I did it wrong. Currently there's a compiler warning that could be ignores as long as Slot is created with void parameter, but I consider this as bug in the long time and I've to fix it!!
2010-08-17 22:43:24 +02:00
Andreas Volz
9af6f707eb ok, now at least the structure is better
but there's still a problem with the new mechanism as the size of
the data isn't put into the pipe. I need to fix tis before someone could really use it...
2010-08-12 23:14:45 +02:00
Andreas Volz
f0dcaa239f moved pipe to extra files 2010-08-12 22:48:05 +02:00
Andreas Volz
8a3fb381a1 added pipe mechanism for default main loop to synchronize with other threads 2010-07-31 00:20:51 +02:00
Andreas Volz
9ac4f0252f compile against latest ecore 2010-07-13 23:12:50 +02:00
Andreas Volz
d083d07167 SourceForge Patches ID: 2701443 - Add methods to adjust timeout. Submitted: Oron Peled ( oron ) - 2009-03-21 23:27:55 CET 2010-06-03 20:44:32 +02:00
Andreas Volz
7889c46e57 SourceForge Patch: ID: 2943348 Cygwin/Win32 patch; Submitted: Yaakov Selkowitz 2010-06-03 20:08:56 +02:00
Andreas Volz
530a887913 formating 2009-12-02 00:15:30 +01:00
Andreas Volz
bbbf001f72 need to implement default constructor 2009-12-02 00:13:12 +01:00
Andreas Volz
5ae444ff22 Merge branch 'master' of git://gitorious.org/dbus-cplusplus/mainline 2009-12-01 23:32:21 +01:00
Andreas Volz
c505052353 return check 2009-12-01 23:31:49 +01:00
Andreas Volz
676d6225d4 patch from "Freyensee, James P" <james.p.freyensee@intel.com>, but default is old implementation 2009-11-29 17:37:17 +01:00
Andreas Volz
e23c8c4750 fixed some compiler warnings 2009-11-17 00:07:14 +01:00
Andreas Volz
25a2ef65af sync from fd.org
timeout support in connection
2009-11-16 23:00:10 +01:00
Andreas Volz
d55e70a385 sync from fd.orf 2009-11-16 22:14:08 +01:00
Andreas Volz
a2f2b93e36 check return value 2009-10-06 21:39:58 +02:00
Hubert Figuiere
020310619c Fix make distcheck fail with header installed twice. 2009-07-24 15:59:57 -04:00
Hubert Figuiere
340dc8a667 Fix most of the warnings with -Wextra -Wshadow 2009-07-24 15:59:36 -04:00
Andreas Volz
3b3ffe166b - stripped not needed code from /ecore-integration
- bugfix for xml2cpp generator with out parameters
2009-03-28 13:46:03 +01:00
Andreas Volz
eefe20a40d contributed by Jiri Moskovcak <jmoskovc@redhat.com> 2009-02-22 18:08:31 +01:00
Andreas Volz
afc679a47d merge from fdo 2009-01-08 22:11:38 +01:00
Andreas Volz
13219dd9fc merge from freedesktop.org
Merge git://anongit.freedesktop.org/git/dbus/dbus-c++

Conflicts:

	examples/echo/echo-server.cpp
	examples/properties/props-server.cpp
2008-09-29 23:17:03 +02:00
Andreas Volz
f51dc1bf4c -support noreply messages in the library
-> not yet in the XML file
2008-09-10 00:14:38 +02:00
pd
17474fbb87 Edited debug output in eventloop 2008-09-05 16:30:11 +02:00
Andreas Volz
7db1248454 forgot stuff at last commit 2008-08-30 13:57:15 +02:00
Andreas Volz
fc54ec2a0b merge from official dbus-c++ fd.org repo
Merge git://anongit.freedesktop.org/git/dbus/dbus-c++

Conflicts:

	configure.ac
	examples/Makefile.am
2008-08-30 11:06:07 +02:00
pd
1a95b536de Make phtread a non-optional requirement 2008-08-18 23:29:37 +02:00
pd
21ee9a5ef7 interface.cpp and object.cpp now will only fill the interface names if they were left blank (João Xavier) 2008-08-16 16:09:11 +02:00
Andreas Volz
c1970e2352 Merge branch 'master' of git://anongit.freedesktop.org/git/dbus/dbus-c++
Merge branch 'master' of git://anongit.freedesktop.org/git/dbus/dbus-c++

Conflicts:

	include/dbus-c++/connection.h
	include/dbus-c++/dispatcher.h
	include/dbus-c++/pendingcall.h
	src/dispatcher.cpp
2008-08-14 23:59:23 +02:00
pd
f0a9278511 Use standard types instead of typedefs wherever possible 2008-08-09 01:16:45 +02:00
pd
efc594f888 Time to get rid of the horrible coding style 2008-08-01 18:31:43 +02:00
pd
534ee610d8 Allow changing the priority of a GMainContext (Eric Jonas) 2008-08-01 18:24:09 +02:00
Andreas Volz
845e8f3acc - ecore integration works (only signals tested so far)
- the code needs to be cleaned up
2008-07-30 22:12:45 +02:00
Andreas Volz
0dd61fc152 improved ecore integration (signal arrives, but still buggy)
PendingCall docu
2008-07-30 15:46:00 +02:00