From 30a8fd5e857f449d36a55dba89350783e1ed5a29 Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Tue, 14 Jun 2011 14:56:25 +0200 Subject: [PATCH 1/6] Remove source file for outdated and removed sequence diagram --- docs/_static/thread_communication.txt | 37 --------------------------- 1 file changed, 37 deletions(-) delete mode 100644 docs/_static/thread_communication.txt diff --git a/docs/_static/thread_communication.txt b/docs/_static/thread_communication.txt deleted file mode 100644 index 4119004e..00000000 --- a/docs/_static/thread_communication.txt +++ /dev/null @@ -1,37 +0,0 @@ -Script for use with www.websequencediagrams.com -=============================================== - -Main -> Core: create -activate Core -note over Core: create NadMixer -Core -> NadTalker: create -activate NadTalker -note over NadTalker: calibrate device -note over Core: create DespotifyBackend -Core -> despotify: connect to Spotify -activate despotify -note over Core: create MpdFrontend -Main -> Server: create -activate Server -note over Server: open port -Client -> Server: connect -note over Server: open session -Client -> Server: play 1 -Server -> Core: play 1 -Core -> despotify: play first track -Client -> Server: setvol 50 -Server -> Core: setvol 50 -Core -> NadTalker: volume = 50 -Client -> Server: status -Server -> Core: status -Core -> NadTalker: volume? -NadTalker -> Core: volume = 50 -Core -> Server: status response -Server -> Client: status response -despotify -> Core: end of track callback -Core -> despotify: play second track -Client -> Server: stop -Server -> Core: stop -Core -> despotify: stop -Client -> Server: disconnect -note over Server: close session From 462f1bd89335b98af20506fa73b7e7c2f433af5e Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Wed, 15 Jun 2011 22:17:35 +0200 Subject: [PATCH 2/6] Make tox work by allowing the use of global site-packages --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 8b91c6b7..48676e46 100644 --- a/tox.ini +++ b/tox.ini @@ -4,6 +4,7 @@ envlist = py26,py27,docs [testenv] deps = nose commands = nosetests [] +sitepackages = True [testenv:docs] basepython = python From 6a779229058eb67fd42d51b680b0b3c119219288 Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Wed, 15 Jun 2011 22:19:41 +0200 Subject: [PATCH 3/6] Ask about missing settings in alphabetic order --- mopidy/utils/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mopidy/utils/settings.py b/mopidy/utils/settings.py index 500477e2..cab94089 100644 --- a/mopidy/utils/settings.py +++ b/mopidy/utils/settings.py @@ -73,7 +73,7 @@ class SettingsProxy(object): raise SettingsError(u'Settings validation failed.') def _read_missing_settings_from_stdin(self, current, runtime): - for setting, value in current.iteritems(): + for setting, value in sorted(current.iteritems()): if isinstance(value, basestring) and len(value) == 0: runtime[setting] = self._read_from_stdin(setting + u': ') From e6e2ab58553516f7a9698bb8a67d44bd7bb00575 Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Wed, 15 Jun 2011 22:31:54 +0200 Subject: [PATCH 4/6] Add shutdown procedure improvements to changelog --- docs/changes.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/changes.rst b/docs/changes.rst index c93e0ee8..63f7d336 100644 --- a/docs/changes.rst +++ b/docs/changes.rst @@ -74,6 +74,9 @@ Please note that 0.5.0 requires some updated dependencies, as listed under - Added :option:`--interactive` for reading missing local settings from ``stdin``. (Fixes: :issue:`96`) + - Improve shutdown procedure at CTRL+C. Add signal handler for ``SIGTERM``, + which initiates the same shutdown procedure as CTRL+C does. + - Tag cache generator: - Made it possible to abort :command:`mopidy-scan` with CTRL+C. From d30ee6a9688d070a5c7d75271cc06d8ef49f28f0 Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Wed, 15 Jun 2011 22:32:57 +0200 Subject: [PATCH 5/6] Update changelog for v0.5.0 release --- docs/changes.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/changes.rst b/docs/changes.rst index 63f7d336..4ccf62c9 100644 --- a/docs/changes.rst +++ b/docs/changes.rst @@ -5,12 +5,12 @@ Changes This change log is used to track all major changes to Mopidy. -v0.5.0 (in development) -======================= +v0.5.0 (2011-06-15) +=================== Since last time we've added support for audio streaming to SHOUTcast servers and fixed the longstanding playlist loading issue in the Spotify backend. As -always the release has a bunch of bug fixes. +always the release has a bunch of bug fixes and minor improvements. Please note that 0.5.0 requires some updated dependencies, as listed under *Important changes* below. From 653890c037df528a8edd2c087ae854d9f88cd393 Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Wed, 15 Jun 2011 23:10:51 +0200 Subject: [PATCH 6/6] Ready for v0.6 development --- docs/changes.rst | 8 ++++++++ mopidy/__init__.py | 2 +- tests/version_test.py | 5 +++-- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/docs/changes.rst b/docs/changes.rst index 4ccf62c9..4125b788 100644 --- a/docs/changes.rst +++ b/docs/changes.rst @@ -5,6 +5,14 @@ Changes This change log is used to track all major changes to Mopidy. +v0.6.0 (in development) +======================= + +**Changes** + +- None yet + + v0.5.0 (2011-06-15) =================== diff --git a/mopidy/__init__.py b/mopidy/__init__.py index 79a0aa29..7b25c525 100644 --- a/mopidy/__init__.py +++ b/mopidy/__init__.py @@ -5,7 +5,7 @@ if not (2, 6) <= sys.version_info < (3,): from subprocess import PIPE, Popen -VERSION = (0, 5, 0) +VERSION = (0, 6, 0) def get_version(): try: diff --git a/tests/version_test.py b/tests/version_test.py index 7bfb540e..9b53c63f 100644 --- a/tests/version_test.py +++ b/tests/version_test.py @@ -19,8 +19,9 @@ class VersionTest(unittest.TestCase): self.assert_(SV('0.3.0') < SV('0.3.1')) self.assert_(SV('0.3.1') < SV('0.4.0')) self.assert_(SV('0.4.0') < SV('0.4.1')) - self.assert_(SV('0.4.1') < SV(get_plain_version())) - self.assert_(SV(get_plain_version()) < SV('0.5.1')) + self.assert_(SV('0.4.1') < SV('0.5.0')) + self.assert_(SV('0.5.0') < SV(get_plain_version())) + self.assert_(SV(get_plain_version()) < SV('0.6.1')) def test_get_platform_contains_platform(self): self.assert_(platform.platform() in get_platform())