| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | 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. | ||||
| * | Avoid cpp directives inside macro calls, to be nice to old gcc versions | Simon McVittie | 2007-07-12 | 2 | -19/+1 |
| | | |||||
| * | Use PyArg_ParseTuple correctly, fixing the timeout in ↵ | Simon McVittie | 2007-07-11 | 1 | -2/+2 |
| | | | | | | | send_message_with_reply and send_message_with_reply_and_block. (bugs.fd.o #11489; thanks to Marco Pesenti Gritti for report and initial patch) | ||||
| * | _dbus_bindings: add DBUS_INTROSPECT_1_0_XML_DOCTYPE_DECL_NODE etc. | Simon McVittie | 2007-06-21 | 1 | -0/+9 |
| | | |||||
| * | Avoid using deprecated dbus_watch_get_fd() | Simon McVittie | 2007-06-21 | 1 | -1/+7 |
| | | |||||
| * | _dbus_bindings/conn-methods.c: add list_exported_child_objects(). | Simon McVittie | 2007-05-29 | 1 | -0/+62 |
| | | | | | This is equivalent to dbus_connection_list_registered() in libdbus. | ||||
| * | Implement DBusException in pure Python; add get_dbus_name() method and name= ↵ | Simon McVittie | 2007-05-16 | 6 | -53/+67 |
| | | | | | keyword argument | ||||
| * | Remove BusImplementation, removing its remaining functionality to Connection. | Simon McVittie | 2007-04-30 | 4 | -95/+76 |
| | | | | | | | | | | * Move get_unique_name to Connection (it can be useful for connections which aren't to a real bus daemon but partially emulate one, like Telepathy's Tubes) * Add set_unique_name to Connection (same reason) * Convert BusImplementation.__new__ into Connection._new_for_bus * Have dbus.Bus subclass _dbus_bindings.Connection directly | ||||
| * | Implement o.fd.DBus method wrappers in Python instead of C. | Simon McVittie | 2007-04-30 | 1 | -235/+0 |
| | | | | | | This reduces the need to have _dbus_bindings.BusImplementation and makes peer-to-peer connections easier to implement. | ||||
| * | _dbus_bindings/module.c: Add some useful constants | Simon McVittie | 2007-04-27 | 1 | -0/+17 |
| | | |||||
| * | Remove trailing whitespace in C source | Simon McVittie | 2007-04-24 | 8 | -13/+13 |
| | | |||||
| * | Add optional checks for coding style (mainly whitespace at the moment). | Simon McVittie | 2007-04-24 | 1 | -0/+3 |
| | | | | | These are on by default for git builds, off by default for releases. | ||||
| * | _dbus_bindings/message.c: untabify | Simon McVittie | 2007-04-24 | 1 | -30/+30 |
| | | |||||
| * | If send_with_reply() returns TRUE but with pending call NULL, cope gracefully. | Simon McVittie | 2007-02-21 | 1 | -0/+7 |
| | | | | | | | This is a workaround for the fact that trying to use the object path /org/freedesktop/DBus/Local in a message header (e.g. when introspecting trackerd with dbus-inspector) causes us to be disconnected by the bus daemon. | ||||
| * | Don't examine args for functions declared METH_NOARGS. | Simon McVittie | 2007-02-21 | 1 | -6/+3 |
| | | | | | | It's not guaranteed to be non-NULL, and Python checks there are no arguments so we don't have to. | ||||
| * | Actually commit the numerous copyright-statement changes. | Simon McVittie | 2007-02-07 | 21 | -152/+152 |
| | | |||||
| * | Audit tp_dealloc callbacks to make sure they preserve the exception state. | Simon McVittie | 2007-02-07 | 2 | -1/+7 |
| | | | | | | | * Connection: use PyErr_Fetch and PyErr_Restore to preserve exception state * MainLoop: add a comment indicating that the "free" callback needs to do the same if it might alter the exception state | ||||
| * | Fix memory leak where Struct, _LongBase, _StrBase, String leaked their ↵ | Simon McVittie | 2007-02-07 | 5 | -108/+309 |
| | | | | | | | | | | | | | | | __dict__ on deallocation. * Use a fixed-size struct for String (unicode objects are in fact fixed-size) and store its variant_level that way. * Don't store Struct, _LongBase, _StrBase variant_level and Struct signature in a __dict__, but instead have a global dict mapping object IDs to variant levels, and a global dict mapping Struct IDs to signatures. This is a bit strange, but easier than correctly freeing the __dict__ (which is stored at the end of a variable-length struct, so somewhat hard to get at). * With this change, allocating objects in a loop no longer leaks memory, and neither does the test case supplied by Luka Renko. | ||||
| * | Close a couple of reference leaks in String (there's another somewhere, but ↵ | Simon McVittie | 2007-02-05 | 1 | -8/+22 |
| | | | | | I can't find it) | ||||
