Switch branches/tags
Commits on Aug 15, 2011
  1. Silly typo 2

    committed Aug 15, 2011
  2. Silly typo

    committed Aug 15, 2011
  3. * Implemented chunking of RPC results. Used it on Ls and Search.

    * Fixed the callback system for messages so that the callback is
      always executed by the thread that registered it.
    * Reworked the rendering system to get rid of redundant rendering
      and to remove some structural limitations that were increasingly
      hard to work with.
    committed Aug 15, 2011
Commits on Aug 12, 2011
  1. * Bugfix: HighlightTextRender.curry() did not set self.image=None.

      The visible effect is that browsing animations did not finish as
      they should before default ticking would take over and paint the
      widget again.
    committed Aug 12, 2011
  2. * Highlight characters from left to right in the list of search term

      suggestions. The number of characters is equal to the number of NUM*
      entered on the remote.
    committed Aug 12, 2011
Commits on Aug 11, 2011
  1. * I have great difficulty understading how this is possible, but the

      following certainly happens with a very high level of certainty:
      Start conman with the "--scan" option. Try playing a FLAC file while
      the scan is going on. If the playback caused a search for frames in
      the FLAC file, then there is a high probability that a SIGSEGV will
      be caught somewhere in or below the ctypes interface to libFLAC.
      What is really weird is that *no* *one* *else* is using libFLAC when
      this happens. Some experimentation also confirmed (in a separate
      program) that enough threaded but unrelated activity will crash the
      ctypes interaction with libFLAC. How is this possible? Both ctypes
      and libFLAC are supposed to be thread safe!
      Resolved the issue by putting the frame scan on a separate process.
      By running in a separate process, it is also possible to catch the
      SIGSEGV if it should ever occur (although it seems it never will).
    committed Aug 11, 2011
Commits on Aug 10, 2011
  1. * Offload long running operations in the file system backend onto

      worker threads to stop the CM from becomming unresponsive. The
      threads have .daemon set to make sure they are automatically shut
      down when the program terminates.
    committed Aug 10, 2011
  2. * Bugfix: Root menu was not redrawn correctly when more than one CM

      present and CM got removed.
    committed Aug 10, 2011
  3. * Moved loading/saving of Conman configuration data from the backend

      to the main thread. Changed the format slightly as there is no need
      to track more than one backend.
    * Bugfix: Error message in was wrong.
    committed Aug 10, 2011
  4. * Moved font path handling into to make it easier

      to handle differently for different environments.
    committed Aug 10, 2011
Commits on Aug 9, 2011
Commits on Aug 8, 2011
Commits on Aug 7, 2011
  1. Added a launcher to start all programs together. Signals are marshalled

    automatically to sub-processes (but not threads) so no particular
    handling of SIGINT is needed to shut down the started sub-programs.
    committed Aug 7, 2011
  2. Bugfix: Search widget must sort the candidates list to make sure that

    the shortest candidates make it into the first-20 list.
    committed Aug 7, 2011
Commits on Aug 5, 2011
  1. Bugfix: Parameters passed through ctypes to a C function will not be

    remembered by ctypes. If the Python caller also does not store refs
    to the parameters, then the GC will eventually deallocate the params
    even though the C lib may or may not be using them. Had to prevent
    this with the callbacks passed to FLAC__stream_decoder_init_file().
    committed Aug 5, 2011
  2. Removed dependency on pyflac to make installation easier. The new

    interface is written against ctypes to make it pure Python without
    the need for architecture specific building.
    committed Aug 5, 2011
Commits on Aug 4, 2011
  1. Copied from which is

    licensed under the PSF which is GPL-compatible. This is arguably less
    elegant than simply using the Debian package python-magic but has the
    advantage of easy support on OS X.
    committed Aug 4, 2011
Commits on Jul 31, 2011
  1. Bugfix: Consider the following scenario:

     * Create a socket with a timeout.
     * Try to connect() the socket in a way that fails for a proper
       reason. E.g. "connection refused".
     * Retry connect(). No matter whether a serice is running on the
       other end, this second call (and all following it) will fail
       with errno 22 (invalid argument).
    For whatever reason, this always happens on OS X 10.5 but I have
    never seen it on Linux. I.e. sockets have to be closed and discarded
    on OS X if the first connect() fails. Seems a bit over-zealous, but
    that's it. Weird...
    committed Jul 31, 2011
Commits on Jul 30, 2011
  1. Bugfix: Race condition in the Searcher's handler for Search responses.

    The handler was running in a CM's thread and caused race connditions
    in the renderer objects.
    committed Jul 30, 2011