Commit Graph

21 Commits

Author SHA1 Message Date
Niels Grewe
5c6d964c0f Add DBusMenu to the default build if -gui is installed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@40513 72102866-910b-0410-8b05-ffd578937521
2017-05-23 18:19:26 +00:00
Niels Grewe
6ce276bad2 Bundle building improvements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@40512 72102866-910b-0410-8b05-ffd578937521
2017-05-23 07:05:20 +00:00
Niels Grewe
6537103a9e Small type safety improvements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@40503 72102866-910b-0410-8b05-ffd578937521
2017-05-15 20:24:48 +00:00
Niels Grewe
1d4df513cc Test for clang_Cursor_getArgument(), since its's only present in more recent libclang versions.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@36789 72102866-910b-0410-8b05-ffd578937521
2013-07-01 15:47:21 +00:00
Niels Grewe
ef106cb14b Further work on generating D-Bus introspection data. We can now successfully
generate interface descriptions from classes or protocols at runtime (limited
though, all Objective-C object pointers are mapped to DBUS_TYPE_VARIANT). 

Also started working on using libclang to generate more expressive introspection
information (but libclang remains optional).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@35439 72102866-910b-0410-8b05-ffd578937521
2012-08-22 21:34:25 +00:00
Niels Grewe
1e4da1abbb Minor build compatibility tweaks.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@35416 72102866-910b-0410-8b05-ffd578937521
2012-08-17 08:38:33 +00:00
Niels Grewe
d08f28898f Build compatibility tweaks.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@35413 72102866-910b-0410-8b05-ffd578937521
2012-08-16 18:37:50 +00:00
Niels Grewe
e8e12ac35b Finally disable -Wdeclaration-after-statement.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@35411 72102866-910b-0410-8b05-ffd578937521
2012-08-16 09:21:24 +00:00
Niels Grewe
0d7353ce76 Implement D-Bus method generation from Objective-C runtime introspection data
(no methods get yet exposed on the bus, though). Fix a couple of bugs.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@35410 72102866-910b-0410-8b05-ffd578937521
2012-08-16 08:21:59 +00:00
Niels Grewe
59595b2e99 Improve last change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@34601 72102866-910b-0410-8b05-ffd578937521
2012-01-20 14:38:55 +00:00
Niels Grewe
af4a116cca Smarter compiler selection for the configure script. Should fix #35340.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@34600 72102866-910b-0410-8b05-ffd578937521
2012-01-20 14:24:57 +00:00
Niels Grewe
49f9cf02e9 Fixes to link libgcc for atomic operations when needed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@32414 72102866-910b-0410-8b05-ffd578937521
2011-02-28 16:04:54 +00:00
Richard Frith-MacDonald
d9585b46d0 remove unused check
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@32408 72102866-910b-0410-8b05-ffd578937521
2011-02-28 12:49:14 +00:00
Niels Grewe
a338decf45 Fix sel_getType_np configure check.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@32194 72102866-910b-0410-8b05-ffd578937521
2011-02-16 11:54:11 +00:00
Niels Grewe
383d61bf75 Merge DBusKit-ThreadRewrite branch. DBusKit now offloads all interactions with
libdbus to a separate thread and uses DKEndpointManager as a gateway to do so.
The new behaviour is disabled by default and can be enabled by calling [DKPort
enableWorkerThread].
This also contains various smaller improvements and fixes bugs that were exposed
when stuff was taking place asynchronously.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@32178 72102866-910b-0410-8b05-ffd578937521
2011-02-15 22:05:24 +00:00
Niels Grewe
ae2b4a5e7c * configure.ac: Fix autoconf test for location of runtime.h
* configure: Regenerate


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@30880 72102866-910b-0410-8b05-ffd578937521
2010-06-28 21:41:08 +00:00
Niels Grewe
c3bc3287dd * Source/DKArgument.[mh]: Implement marshalling of variant types. Also add the
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
2010-06-24 20:01:40 +00:00
Niels Grewe
517874dca8 * Source/Tests/TestDKMethod.m
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
2010-06-11 21:52:09 +00:00
Niels Grewe
23ce39a851 * GNUmakefile: autorun ukrun for tests.
* 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
2010-06-09 08:46:35 +00:00
Niels Grewe
e36fb8a562 Add configure script and paraphernalia (but make still regenerates config.make
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
2010-05-10 05:49:49 +00:00
Niels Grewe
f84a07139e Getting ready for GSoC: Import old and current D-Bus projects.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@30331 72102866-910b-0410-8b05-ffd578937521
2010-05-09 18:19:11 +00:00