Commits on Dec 28, 2012
  1. Add version number to module

    fix #19
    Mic92 committed Dec 28, 2012
Commits on Dec 22, 2012
  1. Add travis-ci badget.

    Mic92 committed Dec 22, 2012
  2. add test instruction

    Mic92 committed Dec 22, 2012
  3. tox.ini: add python 3.3

    Mic92 committed Dec 22, 2012
  4. add gitignore

    Mic92 committed Dec 22, 2012
  5. Merge pull request #18 from multani/test-ci

    Improve test infrastructure
    Mic92 committed Dec 22, 2012
  6. Configure the repository to use Travis CI

    This doesn't test Python 2.6, since I don't know how to install unittest2
    only if we are testing this version of Python.
    committed Dec 22, 2012
  7. Use tox to launch tests

    This allows to test different versions of Python in one go.
    committed Dec 22, 2012
Commits on Dec 13, 2012
  1. Increment version number to 0.4.6

    Mic92 committed Dec 13, 2012
  2. Merge pull request #17 from multani/improved-readme

    doc: improve the README file
    Mic92 committed Dec 13, 2012
  3. doc: improve the README file

    Fix some typos, mistakes, capitalization, links, etc.
    committed Dec 13, 2012
Commits on Dec 12, 2012
  1. Implement tests which don't rely on a running MPD server

    They use instead a mock-ed socket to "communicate" with the rest of the
    tests which allow to control and test precisely what we want.
    No tests communicate with a real MPD server anymore. If needed, we can still
    get a way to add "integration" tests, or to allow some of those unittests
    to communicate with a server (so-called "safe" tests).
    Removed the tests which compare the commands allowed by the server and
    those implemented by the library, I don't think this is the goal of the
    unittest to do this, and should be done somewhere else (a separate,
    dedicated script?)
    committed Dec 12, 2012
  2. unicode: lower-level encoder/decoder to deal with non-ASCII characters

    On python3, socket.socket().makefile() returns a file-like object which
    converts bytes to string (which is cool), using the system encoding as
    default encoding/decoding method (which is not so cool).
    So, if our MPD library contains non-ASCII characters and your locale is C,
    _rfile.readline() will fail since it will try to decode the bytes to Unicode
    using an ASCII decoder.
    This patch enforces the communication with MPD to UTF-8 on Python 3, and
    try to deal with it if use_unicode is True with Python 2.
    Note that wrapping the file-like sockets with codecs.EncodedFile() would be
    better, but it gets stuck while reading lines (incompatibility when wrapping
    committed Dec 12, 2012
Commits on Dec 11, 2012
Commits on Dec 9, 2012
  1. fix typo

    Mic92 committed Dec 9, 2012
Commits on Dec 5, 2012
Commits on Nov 29, 2012
  1. add examples for logging/locking

    Mic92 committed Nov 29, 2012
Commits on Nov 25, 2012
  1. add note about testing

    Mic92 committed Nov 25, 2012
  2. logging: log MPD commands called

    committed with Mic92 Nov 25, 2012
Commits on Nov 18, 2012
  1. fix markup

    Mic92 committed Nov 18, 2012
  2. Increment version number to 0.4.4

    Mic92 committed Nov 18, 2012
  3. refactor timeout settings

    - replace timeout argument in connect() with timeout property.
    - timeout for fetch_idle() is handled seperately,
      to be conform with the specification:
    Mic92 committed Nov 18, 2012
  4. Update documentation a little

    Mic92 committed Nov 18, 2012
Commits on Oct 31, 2012
  1. fix test for python3

    Mic92 committed Oct 31, 2012
Commits on Oct 23, 2012
  1. correct cleanup, if socket connection die

    When the connection was closed by server, self._sock wasn't reset to None.
    So a connect attempt afterwards fails, because MPDClient thought it is still connected.
    This fixes #11.
    Mic92 committed Oct 23, 2012
Commits on Jul 23, 2012
Commits on Jul 21, 2012
  1. update install guide

    Mic92 committed Jul 21, 2012
Commits on Jul 19, 2012
  1. Increment version number to 0.4.3

    Mic92 committed Jul 19, 2012
Commits on Jul 8, 2012