Commit Graph

1479 Commits

Author SHA1 Message Date
Trygve Aaberge
265951bf00 network: disable_recv before telling actor to close connection
As of d62ad96, when the connection can't receive more data from the
client, it tells the actor to stop the connection and calls
disable_recv(). The actor operates in it's own thread and when it stops
the connection, disable_recv is being called again from a different
thread. Since the actor is told to stop the connection before
disable_recv is called, the two calls to disable_recv may happen
simultaneously.

This causes a race condition issue where both threads can reach past the
check that recv_id is not None before either of them set it to None. If
one of them set it to None before the other one tries to use it, an
error is raised.

This commit calls disable_recv before telling the actor to stop the
connection. Since disable_recv is a blocking call, this ensures that
recv_id is being set to None before the actor thread begins to stop the
connection.

Fixes #781
2014-08-14 01:58:48 +02:00
Stein Magnus Jodal
d2eb7fdd10 Merge branch 'trygveaa/feature/mopidy-config-dirs' into release/v0.19.x
Conflicts:
	docs/changelog.rst
2014-08-12 23:39:36 +02:00
Trygve Aaberge
7b99c2fbae docs: Fix grammar 2014-08-12 16:45:26 +02:00
Trygve Aaberge
d776ada30a docs: Add directories to --config in man page 2014-08-11 16:27:19 +02:00
Trygve Aaberge
4ea5271362 docs: Return exit status 1 on initialization error 2014-08-11 16:13:40 +02:00
Trygve Aaberge
9e41eff187 config: Support passing directories to mopidy --config 2014-08-11 14:48:04 +02:00
Trygve Aaberge
44c7951520 docs: Use :confval:-syntax, add fixes for logging issue
(cherry picked from commit 524043f6b7)

Conflicts:
	docs/changelog.rst
2014-08-11 13:00:36 +02:00
Trygve Aaberge
bac3bfb7a2 log: Don't disable loggers when loading fileConfig
The default when loading config for logging from a file is to disable
existing loggers. Since some loggers are created before logging is set
up, these loggers were disabled if logging/config_file is set.

(cherry picked from commit cb0387c46d)

Conflicts:
	docs/changelog.rst
2014-08-11 13:00:01 +02:00
Stein Magnus Jodal
9b7bcd37b3 docs: Add note Debian package distro support (fixes #820) 2014-08-06 00:02:49 +02:00
Trygve Aaberge
19f96f7944 docs: Fix formatting
(cherry picked from commit 26cfd24e11)
2014-08-05 23:53:29 +02:00
Trygve Aaberge
73982f0455 docs: Add the mpd list command fix to the changelog
(cherry picked from commit 92fa75325d)

Conflicts:
	docs/changelog.rst
2014-08-05 23:53:14 +02:00
Stein Magnus Jodal
87e22eb940 docs: Update changelog 2014-08-03 23:34:25 +02:00
Stein Magnus Jodal
6c08c33724 docs: Add more links into the docs
(cherry picked from commit 5dd2be5ec9)
2014-08-03 23:32:19 +02:00
Stein Magnus Jodal
7fc89972a2 docs: Use text from web site and readme
(cherry picked from commit 1e0569abb6)
2014-08-03 23:32:11 +02:00
Stein Magnus Jodal
837fb00fb7 Fail early if extension doesn't implement setup()
Fixes #813
2014-08-03 23:13:14 +02:00
Stein Magnus Jodal
2d4b447d0a docs: Update changelog 2014-08-03 15:19:33 +02:00
Stein Magnus Jodal
3a442483eb docs: Add Mopidy-Touchscreen
(cherry picked from commit 27d4c89ae9)
2014-07-30 00:31:59 +02:00
Stein Magnus Jodal
6c684e1cbe docs: Add Mopidy-LeftAsRain
(cherry picked from commit 2a28128c37)
2014-07-30 00:31:48 +02:00
Stein Magnus Jodal
195b78a50b docs: Add Mopidy-Bassdrive
(cherry picked from commit c51988546d)
2014-07-30 00:31:40 +02:00
Stein Magnus Jodal
24db560fd0 docs: Add Mopidy-Banshee
(cherry picked from commit a470e0c914)
2014-07-30 00:31:34 +02:00
Thomas Adamcik
2b75819505 doc: Add changelog entry for jack sink fix
(cherry picked from commit 0440703abb)

Conflicts:
	docs/changelog.rst
2014-07-30 00:31:15 +02:00
Stein Magnus Jodal
5daa95cae8 docs: Update changelog 2014-07-26 16:54:32 +02:00
Stein Magnus Jodal
f14519a86c docs: Update changelog wrt PR #795 2014-07-26 15:12:31 +02:00
Nick Steel
76f568e0f0 Added section on running a developed extension
Also some typos and updates.
2014-07-26 13:27:52 +01:00
Stein Magnus Jodal
1fc86574cb docs: Update changelog 2014-07-26 14:13:08 +02:00
Stein Magnus Jodal
5866260928 docs: Update changelog 2014-07-26 14:03:12 +02:00
Stein Magnus Jodal
88749d00ab docs: Tweak OS X path changes 2014-07-26 12:00:57 +02:00
Stein Magnus Jodal
d48aa2c334 Merge 'ifosch/patch-1' into develop 2014-07-26 11:58:18 +02:00
Ignasi Fosch
b606d89df2 Remember about upgrade changes and sourcing bashrc 2014-07-26 11:56:51 +02:00
Stein Magnus Jodal
e4b54426b4 audio: Set initial volume on software mixer
This must be set after the audio actor has injected itself into the software
mixer, else it will have no effect on the GStreamer software mixer.

Fixes #791
2014-07-25 12:35:01 +02:00
Stein Magnus Jodal
6ed8132f76 http: Allow WebSocket requests from other hosts
This makes Tornado 4.0 behavior consistent with previous Tornado versions.

Fixes #788
2014-07-25 10:52:39 +02:00
Stein Magnus Jodal
d7cbac5a44 docs: Update changelog 2014-07-23 18:13:14 +02:00
Stein Magnus Jodal
ae49c4d113 http: Add missing string interpolation placeholder 2014-07-23 17:35:55 +02:00
Stein Magnus Jodal
292cf8f32d Fix Mopidy version when run from another Git repo (related to #706) 2014-07-22 16:26:39 +02:00
Stein Magnus Jodal
0c10199632 http: Only require Tornado >= 2.3 2014-07-22 13:43:42 +02:00
Thomas Adamcik
5108738265 docs: Basic documentation for pbuilder setup. 2014-07-22 00:34:19 +02:00
Stein Magnus Jodal
c76b04f294 docs: Fix merge conflict 2014-07-21 10:07:54 +02:00
Stein Magnus Jodal
e12b507568 Release v0.19.0 2014-07-21 01:47:37 +02:00
Stein Magnus Jodal
8dcb06867d docs: Update filename 2014-07-21 01:43:33 +02:00
Stein Magnus Jodal
8cbf41f9df docs: Prepare changelog for v0.19 2014-07-21 01:42:17 +02:00
dz0ny
bbc946a4c2 Add mention for HTTP API explorer in relevant places. 2014-07-20 18:35:47 +02:00
Stein Magnus Jodal
a3185197e1 docs: Update changelog for PR#763 2014-07-20 12:33:19 +02:00
Stein Magnus Jodal
efba9c454e docs: Include Lux and Moped on both HTTP clients and web extensions pages 2014-07-17 02:38:46 +02:00
Stein Magnus Jodal
ac328c30de docs: Make bundled extensions just as prominent 2014-07-17 02:27:22 +02:00
Stein Magnus Jodal
4679bc0939 docs: Reference the extension pages instead of maintaining multiple lists 2014-07-17 02:15:58 +02:00
Stein Magnus Jodal
a7420a3f55 docs: Split extension list into sections 2014-07-17 02:14:57 +02:00
Stein Magnus Jodal
e16a303065 docs: Include correct config file 2014-07-17 01:37:37 +02:00
Stein Magnus Jodal
a361da25d1 docs: Link to software mixer page 2014-07-17 01:34:16 +02:00
Stein Magnus Jodal
b24835163b docs: Show full exception path 2014-07-17 01:31:46 +02:00
Stein Magnus Jodal
971d320f1f docs: Move mixer changes to v0.19 2014-07-16 22:35:47 +02:00