Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Apr 10, 2015
Commits on Apr 7, 2015
  1. setup.py: ignore empty lines

    authored
  2. Version bump to 0.7.2 for release

    authored
    Also updated CHANGES (adding another note about dbus stability)
Commits on Apr 4, 2015
  1. Merge pull request #98 from bboozzoo/bboozzoo/dbus-threading-fixes-fo…

    authored
    …r-upstream
    
    dbus: multithreading fixes
Commits on Apr 3, 2015
  1. @bboozzoo

    dbus: init glib threading during DBusMainLoopTask init

    bboozzoo authored
    Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
  2. @bboozzoo

    dbus: move commented out bus.close() to asyncStopCb

    bboozzoo authored
    Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
Commits on Apr 1, 2015
  1. @bboozzoo
  2. @bboozzoo
Commits on Mar 31, 2015
  1. @bboozzoo

    setup: whitespace cleanup

    bboozzoo authored
  2. @bboozzoo

    dbus: refactor tests to make passive checks

    bboozzoo authored
    To avoid direct calls to dbus, make passive checks for class field
    that is set only if the service failed to acquire the desired name.
  3. @bboozzoo

    dbus: pass service start() and stop() handling through the main loop

    bboozzoo authored
    The main loop used by dbus connection is spinning in separate thread in
    which the DBusMainLoopTask is running. DBus bindings are not
    thread-safe, and the loop has already started (DBusMainLoopTask is a
    prerequisite for DBusServiceTask). The only safe way to make dbus calls
    is by passing them through the thead in which the loop is being run.
    
    Note that in typical dbus applications most of dbus calls is done before
    the main loop starts or the calls are performed within the callbacks in
    the main loop. The only way to reproduce this is to use idle callback
    that can be added in a thread-safe manner.
  4. @bboozzoo

    dbus: cleanup loop quitting

    bboozzoo authored
    Releasing a reference to the main loop just after quit may give
    unexpected results as the actual Glib g_main_loop_quit() does not wait
    for the loop to finish. However, the loop may be safely cleaned up after
    run() returns.
  5. @bboozzoo

    dbus: DBusTask.asyncRun() helper

    bboozzoo authored
    Adding DBusTask.asyncRun() helper method for running a callback within
    the context of thread running the main loop (an in fact within the main
    loop). The method should be used to run any GLib-depending
    non-thread-safe code, such as dbus calls.
  6. @bboozzoo
Commits on Mar 30, 2015
  1. Merge pull request #97 from bboozzoo/bboozzoo/dbus-system-bus

    authored
    Support for DBus system bus and a couple of test cases
  2. @bboozzoo

    dbus: skip FB303 in demo code if import failed

    bboozzoo authored
    FB303 depends on Thrift. The demo code exits with ImportError if Thrift
    is not available.
  3. @bboozzoo
  4. @bboozzoo
  5. @bboozzoo
  6. @bboozzoo
  7. @bboozzoo

    dbus: skip dbus tests if dbus module cannot be imported

    bboozzoo authored
    DBus support modules are usually provided by host system stack. Skip the
    test if dbus cannot be imported.
  8. @bboozzoo
  9. @bboozzoo

    dbus: support for system bus

    bboozzoo authored
    DBus task can automatically try to obtain a name on a system bus if
    --dbus-system-bus is passed in command line. Optionally one can override
    DBusTask.getBus() method to return the desired dbus.Bus object.
Commits on Mar 27, 2015
Commits on Feb 3, 2015
  1. Fix race condition in unittest

    authored
    Fixes #95
  2. Update CHANGES.txt

    authored
Commits on Jan 31, 2015
  1. TryLater(..., after=seconds)

    authored
    Add support for a new kwarg for TryLater, `after` seconds.  This will
    enable you to, instead of retrying your work immediately, wait `after`
    seconds before trying again.
  2. Remove unnecessary property kwargs

    authored
    Not sure why there are *args and **kwargs on this property.
    Remove them.
  3. dbus: Disable FB303 autoregister if thrift isn't installed

    authored
    Allow dbus integration (e.g., for signal handling) even if thrift isn't available.
Commits on Dec 16, 2014
  1. Update compiler.py

    authored
Commits on Sep 12, 2014
  1. PeriodicTask.execute_async()

    authored
    Add a new method, execute_async() to PeriodicTask (and subclasses).
    This method returns a future that completes or raises when the
    corresponding task's execute() method completes or raises respectively.
Commits on Aug 25, 2014
  1. Don't replace "_" with "-" in option internals

    authored
    The replacement logic in callers, etc has been reworked since the
    initial implementation.
    
    I've added test cases for all known expected use-cases, so there
    shouldn't be any surprises here.
    
    Fixes #91
Something went wrong with that request. Please try again.