Commit Graph

16 Commits

Author SHA1 Message Date
Davide Andreoli d3794d9566 No need to call ecore init/shutodown here
they are called in e_dbus_init/shutdown
2014-08-23 21:15:46 +02:00
Davide Andreoli 3544e7408f Cleanup, remove unused stuff 2014-08-23 20:42:19 +02:00
Davide Andreoli d0bea312ef dbus_mainloop: reworked how we manage the dbus watch requests.
Dbus can request (via watch_add) more than one watch on the same fd (one
for write and one for read), but ecore cannot setup more than one fd_handler
on the same fd. So we need to manage this (weired) case internally, reusing
an existing fd_handler for more than one dbus watch.

This, at the end of the story, fix the ability to connect to the (fucking) PulseAudio
dbus server, that do not use the Session or System buses, but provide its own bus.
2014-08-23 20:37:15 +02:00
Davide Andreoli bc02e43181 Cleanups: the filter are not used here
and the ecore_event is not used enywhere
2014-08-23 17:59:22 +02:00
Davide Andreoli 1de3ffccd6 Simplify: no need to keep a local copy of the watch state 2014-08-23 17:34:37 +02:00
Davide Andreoli 6d5a1d1169 use 3 spaces indentation, not 2 2014-08-23 17:06:28 +02:00
Davide Andreoli a41106348a added extra debug info (to be manually enabled) 2014-08-23 16:50:16 +02:00
Davide Andreoli e592aa9647 renamed a function to a better name 2014-08-23 16:17:18 +02:00
Davide Andreoli e5d3ea2e96 just move some functions around for readability 2014-08-23 15:56:09 +02:00
Davide Andreoli b3eef73b0e s/2013/2014/g 2014-04-14 22:21:03 +02:00
Kai Huuhko adf70fa26f Remove const hacks
They were a workaround for limitations in Cython <0.18
2014-04-05 03:13:15 +03:00
Davide Andreoli 74244a5ac7 Python-EFL: fix the mess with the lgpl version.
Elm was lgpl3, COPYING was lgpl3, docs say lgpl3. So fix everything to be v3.
Also fix the COPING for Lesser: we must include gpl (in COPYING) AND lgpl (in COPYING.LESSER).
2013-12-07 17:54:58 +01:00
Davide Andreoli 5c10701aa2 Python-EFL: remove old/unused file adn a fix for sutup.py
setup.py: commented out the command_options param,
it break the Sphinx 'fake' class that is used when sphinx
is not found.
2013-04-09 22:11:06 +02:00
Kai Huuhko 79022bf27b Convert dbus_mainloop C code to Cython. 2013-04-07 17:41:10 +03:00
Davide Andreoli 51b1cadd93 Python-EFL: use eina_log in dbus_mainloop 2013-04-06 20:46:20 +02:00
Davide Andreoli 0a32be475a Python-EFL: first working dbus mainloop wrapper.
This one don't require edbus2 nor the old e_dbus, it reimplement
the dbus connection stuff that was in e_dbus (the old) in a
py module.
2013-04-06 12:46:52 +02:00