* Source/Tests/TestDKMethodCall.m
Source/Tests/TestDKArgument.m:
Small test improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@30915 72102866-910b-0410-8b05-ffd578937521
* Source/DKInterface.[hm]: Remove superfluous -parent method.
* Source/DKMethod.m: Some more modularisation. Add comparison method.
Calculate offsets and sizes for signatures correctly.
* Headers/DKProxy.h: Add instance variables.
* Source/DKProxy.[hm]: Implement -forwardInvocation: and triggers to generate
the method cache (actual generation of the cache still missing).
* Source/Tests/TestDKProxy.m: Add test for calling Introspect() via the
built-in _DKMethodIntrospect.
* Source/Tests/TestDKArgument.m: Minor rearrangement.
Made dispatching D-Bus method calls work via -forwardInvocation:. As of yet, you
can only call -Introspect (this is needed to obtain the introspection data used
to build the actual method cache).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@30912 72102866-910b-0410-8b05-ffd578937521
Some features need access to the run loop and run loop mode information.
* Source/DKMethodCall.[hm]: Add implementation of synchronous method calls and
stubbed out support for asynchronous calls.
* Source/GNUmakefile: Add new modules.
* Source/Tests/TestDKMethodCall.m: Add test for introspection method call.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@30872 72102866-910b-0410-8b05-ffd578937521
Add accessor method for the DBusConnection on libdbus-level.
* Source/GNUmakefile
Source/DKMessage.[mh]:
Add primitive class for sending message to D-Bus.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@30869 72102866-910b-0410-8b05-ffd578937521
ability to customize the unboxing of objects.
* Source/DKEndpoint.m
Source/DKMethod.m
Source/DKPort.m:
Compile fixes for clang.
* Source/DKOutgoingProxy.[mh]
Source/GNUmakefile:
Add stub implementation for outgoing proxies.
* Source/DKProxy.m: Add method to distinguish outgoing and incoming proxies.
* Source/Tests/TestDKProxy.m: Fix runtime.h include.
* Source/Tests/TestDKArgument.m: Add test for custom unboxing methods.
* Source/config.h.in
config.make.in
configure.ac
GNUmakefile.postamble:
Update configure script and paraphernalia to check for advanced runtime
features.
* configure: Regenerate
Finish implementation of (un-)marshalling values between NSInvocation and D-Bus
messages. More flexible scheme for unboxing values. Various smaller fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@30844 72102866-910b-0410-8b05-ffd578937521
Source/Tests/TestDKArgument.m:
Tests for assignments in the initializers.
* Source/DKProxy.m
Headers/DKProxy.h:
-hasSameScopeAs: method to test whether two proxies fall into the scope of
one and the same D-Bus service.
* Source/DKArgument.h: Expose a few accessors.
* Source/DKArgument.m: Fix bug in the name assignment. Implement -name method.
Let the proxy do the scope checking.
* Source/DKMethod.m: Shuffle a few statements around for more natural ordering.
* configure.ac: Leave a TODO about needing to fix the configure script
ugliness.
* config.make.in: Another attempt to get linking done properly.
Many improvement suggested by Fred Kiefer.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@30687 72102866-910b-0410-8b05-ffd578937521
* configure.ac:
config.make.in:
Source/GNUmakefile:
Check for and use -Wdeclaration-after-statement
* Source/DKArgument.m
Source/DKPort.m:
Fix C99isms.
* Source/Tests/TestDKArgument.m: Separate unit tests from source. Properly
include local headers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@30631 72102866-910b-0410-8b05-ffd578937521
for ROOTPROXY_REQUEST messages: Connections to D-Bus can now return their own
proxies.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@30501 72102866-910b-0410-8b05-ffd578937521
DKEndpoint would result in a teardown of the D-Bus connection. Also work
around some libdbus strangeness that needs further investigation.
* Source/DKPort.m: Slightly more expressive designated initializer. Begin
stubbing out integration into NSConnection (not yet working).
* Headers/DKPort.h: Add initializer.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@30456 72102866-910b-0410-8b05-ffd578937521
on distclean).
Simple initializers for DKPort.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@30344 72102866-910b-0410-8b05-ffd578937521