Niels Grewe
e1541679bb
First batch of object vending changes. We can now succesfully export arbitrary
...
object graphs to D-Bus and they can (partially) be introspected by other clients
on the bus. Exported objects don't respond to message sends yet, though.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@35161 72102866-910b-0410-8b05-ffd578937521
2012-05-24 20:32:14 +00:00
Niels Grewe
28572c0c9d
Finally clean up and commit WIP object path management code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@35100 72102866-910b-0410-8b05-ffd578937521
2012-04-21 19:24:55 +00:00
Niels Grewe
5280155b02
Move declarations around (patch by Phillipe Roussel)
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@35097 72102866-910b-0410-8b05-ffd578937521
2012-04-21 11:20:15 +00:00
Niels Grewe
d0d44a9224
Start work on scaffolding for vending objects to D-Bus.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@34945 72102866-910b-0410-8b05-ffd578937521
2012-03-17 21:51:36 +00:00
Niels Grewe
69a8dd2665
Fix declaration of queueCount ivar.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@34944 72102866-910b-0410-8b05-ffd578937521
2012-03-17 21:17:54 +00:00
Niels Grewe
adb8cdd2c6
Do some clever implementation replacement to massively simplify the code path
...
we use when calling -rootProxy on NSConnections to D-Bus ports.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@34661 72102866-910b-0410-8b05-ffd578937521
2012-01-29 17:16:01 +00:00
Niels Grewe
e7b2480f92
XML introspection data generation improvements.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@34655 72102866-910b-0410-8b05-ffd578937521
2012-01-29 14:02:26 +00:00
Niels Grewe
413d298bad
Further work on XML introspection data generation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@34650 72102866-910b-0410-8b05-ffd578937521
2012-01-28 13:44:28 +00:00
Niels Grewe
3275563fbf
Use constants for argument directions consistently.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@34648 72102866-910b-0410-8b05-ffd578937521
2012-01-27 14:40:45 +00:00
Niels Grewe
2c2956b904
Implement generation of XML introspection data for properties.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@34647 72102866-910b-0410-8b05-ffd578937521
2012-01-27 14:29:35 +00:00
Niels Grewe
bf6cb08323
Implement generation of XML introspection data for methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@34646 72102866-910b-0410-8b05-ffd578937521
2012-01-27 13:58:57 +00:00
Niels Grewe
9e26d988ab
Add test for annotated XML introspection data.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@34645 72102866-910b-0410-8b05-ffd578937521
2012-01-27 10:55:34 +00:00
Niels Grewe
c22f465fba
Add first test for XML introspection data generation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@34638 72102866-910b-0410-8b05-ffd578937521
2012-01-26 20:16:49 +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
75afe5b865
Add manpage for protocol generation tool.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@33953 72102866-910b-0410-8b05-ffd578937521
2011-10-09 00:45:28 +00:00
Niels Grewe
cbc5f69c9e
Bugfixes for problems detected by clang's static analyser.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@33946 72102866-910b-0410-8b05-ffd578937521
2011-10-05 14:12:49 +00:00
Niels Grewe
0288e9221b
Absence of the change notification annotation in the introspection data implies
...
that a property sends change notifications (per D-Bus spec).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@33945 72102866-910b-0410-8b05-ffd578937521
2011-10-05 13:58:32 +00:00
Niels Grewe
1e19ce9557
Add a special case for conversions to BOOL for compliance with the D-Bus specification.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@33944 72102866-910b-0410-8b05-ffd578937521
2011-10-05 13:54:56 +00:00
Niels Grewe
388c1a47c3
Small bugfixes for issues detected by clang.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@33943 72102866-910b-0410-8b05-ffd578937521
2011-10-05 13:42:46 +00:00
Niels Grewe
16103fe40a
Start working on KVO support.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@33919 72102866-910b-0410-8b05-ffd578937521
2011-09-30 23:53:29 +00:00
Niels Grewe
457522f2b4
Make properties somewhat KVC-compliant. NOTE: This constitutes an API break! If
...
you have code that sets a D-Bus property foo by calling -setfoo: please change
that to -setFoo:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@33918 72102866-910b-0410-8b05-ffd578937521
2011-09-30 23:32:24 +00:00
Niels Grewe
6a311ce311
Implement generation of Objective-C 2 @property statements when producing
...
protocol declarations.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@33917 72102866-910b-0410-8b05-ffd578937521
2011-09-30 22:57:06 +00:00
Niels Grewe
d84b9d12ed
At test for type conversion.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@33890 72102866-910b-0410-8b05-ffd578937521
2011-09-25 13:49:39 +00:00
Niels Grewe
a4445f16b5
Finish improved type conversion scheme.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@33889 72102866-910b-0410-8b05-ffd578937521
2011-09-25 13:24:50 +00:00
Niels Grewe
411c19bacc
Fix generation of declarations for property accessors/mutators.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@33885 72102866-910b-0410-8b05-ffd578937521
2011-09-24 12:00:36 +00:00
Niels Grewe
69fc5b5736
Update doc on interaction with the runtime.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@33884 72102866-910b-0410-8b05-ffd578937521
2011-09-24 11:15:39 +00:00
Niels Grewe
c02b6af8ff
Small doc improvement.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@33877 72102866-910b-0410-8b05-ffd578937521
2011-09-22 08:13:05 +00:00
Niels Grewe
5aaae29481
Add support for boxing DBUS_TYPE_UNIX_FD as NSFileHandle.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@33873 72102866-910b-0410-8b05-ffd578937521
2011-09-21 16:35:27 +00:00
Niels Grewe
60914c588b
Implement functions that determine whether we certain types can be converted.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@33872 72102866-910b-0410-8b05-ffd578937521
2011-09-21 15:56:52 +00:00
Niels Grewe
25c4eb6ad6
Start factoring out some of the DBus<->ObjC type conversion logic.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@33870 72102866-910b-0410-8b05-ffd578937521
2011-09-20 12:12:51 +00:00
Niels Grewe
50b64f0edc
Assorted small maintenance changes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@33826 72102866-910b-0410-8b05-ffd578937521
2011-09-09 15:16:14 +00:00
Niels Grewe
c18c7f3866
Fix off-by-one error when computing the D-Bus interface from a notification
...
name. (Patch by Andreas Schick)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@33054 72102866-910b-0410-8b05-ffd578937521
2011-05-17 13:17:09 +00:00
Niels Grewe
2ca4ea9f8e
Eliminate a problematic code-path by not depending on the libdbus API for adding
...
and removing match rules. Turns out we can just call the corresponding methods
via the bus objects.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@33033 72102866-910b-0410-8b05-ffd578937521
2011-05-13 08:26:54 +00:00
Niels Grewe
bb61cac657
Thread safety fixes, started working on generating D-Bus XML introspection data.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@33031 72102866-910b-0410-8b05-ffd578937521
2011-05-12 20:32:15 +00:00
Niels Grewe
43cf5d8fe5
Fix incorrect return statement.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@32948 72102866-910b-0410-8b05-ffd578937521
2011-04-29 11:52:30 +00:00
Niels Grewe
b77ed7bdb1
Make the notification center perform some actions on the worker thread to
...
improve interaction with libdbus.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@32883 72102866-910b-0410-8b05-ffd578937521
2011-04-18 06:56:08 +00:00
Niels Grewe
60b8520001
Fix word-size related issues in the testcases and update docs to reflect the
...
version of -base we require.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@32871 72102866-910b-0410-8b05-ffd578937521
2011-04-15 15:26:28 +00:00
Niels Grewe
67060af8d1
Remove accidentally committed file.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@32869 72102866-910b-0410-8b05-ffd578937521
2011-04-15 12:35:00 +00:00
Niels Grewe
75eb6a8b3e
Clang compatibility and bugfixes by Sebastian Reitenbach.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@32834 72102866-910b-0410-8b05-ffd578937521
2011-04-11 11:20:45 +00:00
Niels Grewe
a1e198bd70
Remove redundant fixup for atomic operations linkage errors on 32bit intel platforms.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@32546 72102866-910b-0410-8b05-ffd578937521
2011-03-13 12:56:19 +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
Niels Grewe
7d3ca59a1c
Attempt to fix linkage errors for 32bit intel platforms.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@32411 72102866-910b-0410-8b05-ffd578937521
2011-02-28 14:27:39 +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
Richard Frith-MacDonald
692689ec0d
Some fixups for varying compilers
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@32407 72102866-910b-0410-8b05-ffd578937521
2011-02-28 12:42:54 +00:00
Niels Grewe
5e7f448c7b
Documentation improvements. Avoid starting the worker thread before we
...
really need it.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@32394 72102866-910b-0410-8b05-ffd578937521
2011-02-27 22:52:24 +00:00
Niels Grewe
4917bb947a
Add draft release announcement.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@32306 72102866-910b-0410-8b05-ffd578937521
2011-02-22 21:17:37 +00:00
Niels Grewe
c566432b75
Fixed bug with method cache generation in the single-threaded case.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@32288 72102866-910b-0410-8b05-ffd578937521
2011-02-22 11:24:08 +00:00
Niels Grewe
74bd4d9c3b
Add packaging metadata.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@32286 72102866-910b-0410-8b05-ffd578937521
2011-02-22 10:40:57 +00:00
Niels Grewe
6d94ad960b
Document failure recovery procedures.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@32283 72102866-910b-0410-8b05-ffd578937521
2011-02-22 09:38:57 +00:00