| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | remove stray declaration of dbus_py_unixfd_range_check | Simon McVittie | 2011-05-18 | 1 | -1/+0 |
| | | |||||
| * | Don't try to export DBUS_TYPE_UNIX_FD constant if not defined | Simon McVittie | 2011-05-18 | 1 | -0/+2 |
| | | |||||
| * | unixfd: improve documentation | Simon McVittie | 2011-05-18 | 1 | -18/+18 |
| | | |||||
| * | _message_iter_get_pyobject: fix whitespace | Simon McVittie | 2011-05-18 | 1 | -1/+1 |
| | | |||||
| * | UnixFd: don't close file descriptors passed to the constructor as an int | Simon McVittie | 2011-05-18 | 2 | -11/+11 |
| | | | | | | | | | Elvis agreed that this shouldn't differ from our handling of objects with a fileno(). This means that _message_iter_get_pyobject does need to close the fd itself, so do that. | ||||
| * | unixfd: coding style | Simon McVittie | 2011-05-18 | 1 | -9/+9 |
| | | |||||
| * | Added Unix Fd support to dbus-python | Elvis Pfützenreuter | 2011-05-18 | 8 | -0/+283 |
| | | |||||
| * | adjust Scott's patch to force boolean to be 0 or 1, and for coding style | Simon McVittie | 2011-05-17 | 1 | -2/+4 |
| | | |||||
| * | Wrap dbus_connection_set_allow_anonymous() | Scott Tsai | 2011-05-17 | 1 | -0/+20 |
| | | | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34342 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> | ||||
| * | DBusPyException_ConsumeError: check whether the constructor failed | Simon McVittie | 2010-12-02 | 1 | -0/+5 |
| | | |||||
| * | fd.o #23831: make sure to ref types passed to PyModule_AddObject | Simon McVittie | 2010-12-02 | 13 | -0/+25 |
| | | | | | | | | This avoids these static types wrongly being deallocated. Python implements static types as having one initial reference, which is never meant to be released, but if you get your refcounting wrong they'll be "deallocated" (causing a crash) during Py_Finalize. | ||||
| * | Use Py_CLEAR for greater robustness | Simon McVittie | 2010-12-02 | 17 | -211/+200 |
| | | |||||
| * | dbus_py_Message_append: avoid looking beyond the valid part of a signature | Simon McVittie | 2010-12-02 | 1 | -14/+22 |
| | | | | | | Similar reasoning: we don't even want to look where the iterator is pointing if the last call to dbus_signature_iter_next indicated "no more". | ||||
| * | _message_iter_append_multi: bail out safely if a struct isn't filled | Simon McVittie | 2010-12-02 | 1 | -0/+9 |
| | | | | | | | In newer versions of libdbus, calling dbus_signature_iter_get_current_type when the iterator is pointing at the ')' of a struct trips an assertion failure, rather than just returning INVALID. | ||||
| * | Use dbus_message_iter_abandon_container to bail out, if supported | Simon McVittie | 2010-12-02 | 1 | -2/+20 |
| | | | | | | This avoids (potentially fatal) warnings, with newer libdbus; it'll only work if we were compiled against libdbus >= 1.3.0. | ||||
| * | _message_iter_append_multi: assert that mode is what we expect | Simon McVittie | 2010-12-02 | 1 | -0/+5 |
| | | |||||
| * | fd.o #21831: deserialize empty ByteArray objects correctly | Simon McVittie | 2010-11-23 | 1 | -0/+6 |
| | | | | | | | For some reason libdbus gives us NULL instead of a pointer to a zero-length object (i.e. any random place in the message would do), which Py_BuildValue doesn't interpret the way we'd want it to. | ||||
| * | Fix compilation in 64-bit architecture | Elvis Pfützenreuter | 2010-10-18 | 1 | -1/+1 |
| | | |||||
| * | Fix signature and return value of Connection_tp_init (oops) | Simon McVittie | 2010-02-18 | 1 | -1/+3 |
| | | |||||
| * | fd.o#21172: avoid DeprecationWarning with Python 2.6 | Simon McVittie | 2010-02-18 | 1 | -1/+8 |
| | | |||||
| * | fd.o #15013: expose dbus.lowlevel.MESSAGE_TYPE_SIGNAL and friends | Simon McVittie | 2010-02-18 | 1 | -2/+0 |
| | | |||||
| * | Message.set_sender: allow org.freedesktop.DBus | Huang Peng | 2008-09-30 | 1 | -1/+1 |
| | | | | | | | I found Message.set_sender method only accepts unique bus name. But in my project, I need implement a simple dbus daemon, it need set the sender as "org.freedesktop.DBus". | ||||
| * | Avoid some compiler warnings | Simon McVittie | 2008-07-23 | 1 | -0/+1 |
| | | |||||
| * | Merge branch 'master' into server | Simon McVittie | 2008-07-15 | 1 | -0/+1 |
| |\ | |||||
| | * | Bugfix for: if using Connection.add_message_filter, only the last filter ↵ | Huang Peng | 2008-07-15 | 1 | -0/+1 |
| | | | | | | | | | will be called | ||||
| * | | Initialize LibDBusConnection correctly | Simon McVittie | 2008-07-15 | 1 | -0/+2 |
| | | | |||||
| * | | Make DBusPyConnection_NewConsumingDBusConnection static now nobody else ↵ | Simon McVittie | 2008-07-15 | 1 | -1/+1 |
| | | | | | | | | | needs to call it | ||||
| * | | DbusPyServer: construct connections by calling the type, so the object will ↵ | Simon McVittie | 2008-07-15 | 1 | -8/+20 |
| | | | | | | | | | be fully initialized | ||||
| * | | Refactor DBusPyConnection_NewForBus and make it go via ↵ | Simon McVittie | 2008-07-15 | 1 | -26/+59 |
| | | | | | | | | | | | | | | | | | DbusPyConnection_Type.tp_new Now that we have the LibDBusConnection temporary objects, we don't have to do strange sideways inheritance, we can just chain up to the superclass constructor. | ||||
| * | | _dbus_bindings._Connection: sort out constructor | Simon McVittie | 2008-07-15 | 1 | -13/+27 |
| | | | | | | | | | | | | | | | | | | | Accept a LibDBusConnection for the address (sic) parameter, so we can construct a Connection for a DBusConnection that already exists. The way all this works right now is a bit unfortunate, with hindsight, but most of it is fixable like this. | ||||
| * | | [trivial] un-extern Struct_tp_getattro | Simon McVittie | 2008-07-15 | 1 | -1/+1 |
| | | | |||||
| * | | Add LibDBusConnection in _dbus_bindings | Simon McVittie | 2008-07-15 | 4 | -3/+143 |
| | | | |||||
| * | | Actually create objects of class Server->conn_class | Simon McVittie | 2008-07-14 | 1 | -3/+4 |
| | | | |||||
| * | | Hook DBusServer into the build system. | Simon McVittie | 2008-07-14 | 4 | -0/+30 |
| | | | | | | | | | Based on parts of the patch by Huang Peng <phuang@redhat.com> | ||||
| * | | Rename _dbus_bindings.Server to _dbus_bindings._Server | Simon McVittie | 2008-07-14 | 1 | -4/+5 |
| | | | |||||
| * | | DBusPyServer: construct a user-specified subtype of Connection | Simon McVittie | 2008-07-14 | 1 | -7/+25 |
| | | | |||||
| * | | DBusPyServer initialization: remove some debugging printfs | Simon McVittie | 2008-07-14 | 1 | -5/+3 |
| | | | |||||
| * | | DBusPyServer get_address, get_id: correct docs, these return str not String | Simon McVittie | 2008-07-14 | 1 | -2/+2 |
| | | | |||||
| * | | DBusPyServer tp_dealloc: remove a stray debugging printf | Simon McVittie | 2008-07-14 | 1 | -1/+0 |
| | | | |||||
| * | | DBusPyServer: correctly unref the partially constructed DBusPyServer on errors | Simon McVittie | 2008-07-14 | 1 | -1/+2 |
| | | | |||||
| * | | DBusPyServer: correctly unref the weakref object on errors | Simon McVittie | 2008-07-14 | 1 | -1/+2 |
| | | | |||||
| * | | DBusPyServer: fix a typo | Simon McVittie | 2008-07-14 | 1 | -1/+1 |
| | | | |||||
| * | | DBusPyServer: Fix refcounting of the main loop | Simon McVittie | 2008-07-14 | 1 | -2/+4 |
| | | | |||||
| * | | DBusPyServer: if there's no main loop, throw an exception | Simon McVittie | 2008-07-14 | 1 | -1/+7 |
| | | | | | | | | | | | The code starting at the "err" label assumes that an exception has been set already. | ||||
| * | | Document that DBusPyServer_NewDBusServer consumes a reference to the server. | Simon McVittie | 2008-07-14 | 1 | -5/+9 |
| | | | | | | | | | Rename it to DBusPyServer_NewConsumingDBusServer to make this clearer. | ||||
| * | | DBusPyServer: remove some stray debugging printfs | Simon McVittie | 2008-07-14 | 1 | -3/+0 |
| | | | |||||
| * | | DBusPyServer: refactor set_auth_mechanisms | Simon McVittie | 2008-07-14 | 1 | -23/+29 |
| | | | | | | | | | | | | | | | | | | | * save a malloc * return a boolean * don't crash if the sequence isn't a sequence * don't coerce items to strings too hard (we only want to accept str or unicode, accepting FooObject and trying to use it as an authentication method "<FooObject at 0xdeadbeef>" would be silly) | ||||
| * | | Initial support for DBusServer class (#14322). | Mathias Hasselmann | 2008-07-14 | 1 | -0/+535 |
| |/ | |||||
| * | Relicense Collabora code under the MIT/X11 license proposed for dbus core, ↵ | Simon McVittie | 2007-09-27 | 24 | -354/+427 |
| | | | | | removing all references to the LGPL as a result | ||||
| * | _dbus_bindings/mainloop.c: Remove Watch and Timeout. | Simon McVittie | 2007-07-31 | 1 | -357/+0 |
| | | | | | | | | They were never used, and didn't make a great deal of sense. I now believe the right direction for pure-Python mainloop support is to define a Pythonic main loop abstraction and coerce libdbus to fit into it, rather than pretending the objects in libdbus' abstraction are Python objects. | ||||
