Linus Lewandowski
6be62734e6
Merge pull request #44 from hkwi/dtd
...
make direction attribute conforming to introspect.dtd
5 years ago
Linus Lewandowski
75e01dffcb
Merge pull request #41 from acaso/patch-1
...
Fix typo in section title formatting in README.rst
5 years ago
Hiroaki KAWAI
ff792feb45
make direction attribute conforming to introspect.dtd
...
direction attribute defaults to "in" as
in the DTD(*1), direction attribute is defined as following:
```
<!ATTRLIST arg direction (in|out) "in">
```
*1) http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd
5 years ago
Alberto Caso
63f2389cb5
Fix typo in section title formatting in README.rst
...
Fix typo in README.rst formatting in the underline of "Start or stop systemd unit" title.
rst2html is complaining about it:
README.rst:49: (WARNING/2) Title underline too short.
6 years ago
Linus Lewandowski
f2e6355a88
Release 0.6.0.
6 years ago
Linus Lewandowski
8a080cef72
Add LICENSE to the sdist. Fixes #39 .
6 years ago
Linus Lewandowski
e8fa984d8c
Drop signal-spammer.
6 years ago
Linus Lewandowski
852b9e0229
Update paths in the tutorial.
6 years ago
Linus Lewandowski
b468dbddd5
Move examples out of the package.
6 years ago
Linus Lewandowski
5317394761
Move tests out of the package.
6 years ago
Linus Lewandowski
8ab54c80bc
Merge pull request #38 from acaso/use_dbus-launch_instead_of_dbus-session
...
Refactor tests runner script to use dbus-launch instead of dbus-daemon
6 years ago
Linus Lewandowski
41c397cbe9
Merge pull request #34 from Borkason/patch-1
...
Added example for starting/stopping of units
6 years ago
Linus Lewandowski
c933e7bc9c
Merge pull request #37 from acaso/acaso-include-copyright-notice
...
Include copyright notice
6 years ago
Alberto Caso
9194f40e03
Add dbus-x11 installation to docker testing machines to have dbus-launch available
6 years ago
Alberto Caso
f4787f9694
Refactor tests runner script to use dbus-launch instead of dbus-daemon
6 years ago
Alberto Caso
63cefc74da
Include copyright notice
...
Although it clearly declares it license as LGPL 2.1, pydbus does not include any notice telling who the copyright holder is (apart for the one in the tutorial).
This patch adds that information to README.rst.
Keep in mind that GNU recommends placing this information in the headers of every source file, but this patch does not follow that recommendation.
Also notice that I have not included any reference to other authors (as the ones in b8e91b2fb7
or bd10e17963
commits).
6 years ago
Daniel Niccoli
f5aa326564
Added example for starting/stopping of units
6 years ago
Linus Lewandowski
913944cdf5
Close the connection synchronously.
6 years ago
Linus Lewandowski
4397404804
Update docs, s/GObject.MainLoop/GLib.MainLoop/
6 years ago
Linus Lewandowski
f2f11a1ec4
Fix accessing properties on single interfaces.
6 years ago
Linus Lewandowski
6b0c847857
Don't use SessionBus() as context manager in tests.
6 years ago
Linus Lewandowski
a0253bd0bd
Delete unmaintained and useless examples.
6 years ago
Linus Lewandowski
fd6fccbe2f
Specify version of the Polkit interface.
6 years ago
Linus Lewandowski
18289f4aa6
No need to store a reference to bus, we can use con.pydbus here.
6 years ago
Linus Lewandowski
59f03bcc5c
Log method call errors.
6 years ago
Linus Lewandowski
b7816f75cf
Export pydbus.Variant, so that users won't need to know about GLib.
6 years ago
Linus Lewandowski
9c55c831b8
Tests: Don't run notifications server, it's unused.
6 years ago
Linus Lewandowski
f17ead4b08
Add pydbus.connect; map GDbusConnections to pydbus Buses 1:1.
6 years ago
Linus Lewandowski
30a311aa11
Add timeout kwarg to bus.get().
6 years ago
Linus Lewandowski
c54adfebd5
Test pydbus on GLib 2.40 (Ubuntu 14.04) too.
6 years ago
Linus Lewandowski
bf67bf4531
Use GObject.G_MAXINT if GLib.MAXINT is not available.
6 years ago
Linus Lewandowski
722ce3c02b
Asynchronously handle published properties.
6 years ago
Linus Lewandowski
bc5948e6b5
Add Polkit support.
6 years ago
Linus Lewandowski
78daafaf1f
Add optional dbus_context kwarg to exported methods.
6 years ago
Linus Lewandowski
eae1850fee
Deprecate bus.own_name().
6 years ago
Linus Lewandowski
684241eeb9
Add bus.request_name() with better semantics than bus.own_name().
6 years ago
Linus Lewandowski
220858ac2d
Test property publication.
6 years ago
Linus Lewandowski
70f6c6d0b4
Fix some deprecations.
6 years ago
Linus Lewandowski
36151a62e9
Don't use the bus.timeout for method calls; use timeout kwarg instead.
6 years ago
Linus Lewandowski
e14d4951fc
Useful error message when GLib is too old.
6 years ago
Linus Lewandowski
5aa0beeae4
More useful errors in get().
6 years ago
Janusz Lewandowski
a069bde6e0
Add pypi package icon.
6 years ago
Janusz Lewandowski
f27292aef3
Add a mock notifications server, and enable tests that require it.
6 years ago
Janusz Lewandowski
70ef20813b
Automatically test commits.
6 years ago
Janusz Lewandowski
fafecf9f66
Raise a useful error when method gets called with bad number of arguments.
6 years ago
Janusz Lewandowski
95342318e0
Readme: Write about the dependency on GLib 2.46+.
6 years ago
Janusz Lewandowski
1b58124b98
Release 0.5.1.
...
Changes:
- Fixed a regression occuring if an object exports
a parameter name which isn't a valid Python identifier.
6 years ago
Janusz Lewandowski
e86f15f1dd
Filter parameter names - fix #11
6 years ago
Janusz Lewandowski
0a681e4307
Release 0.5. We're mostly feature complete!
...
Skipping 0.4, as it was supposed to be a release with only
the expose() method; and this is a much bigger release.
Changes from 0.3:
- Property access for proxy objects.
- Object publication support.
- Single return values are no longer wrapped in a tuple.
- Reorganization of proxy object code.
- Increase of default timeout from 10ms to 1s.
- Even better help() integration.
- Tutorial.
6 years ago
Janusz Lewandowski
d63a1dbf14
Fix the client server example.
6 years ago