Thomas Adamcik
b480311d66
models: Add ValidatedImmutableObject and "revert" ImmutableObject
...
Testing with extension that use custom models it was discovered that the
changes to have type safe models were a bit to invasive to be suitable for a
minor release. This change fixes this by bringing back ImmutableObjects in
their old form, and moving the shinny new features to ValidatedImmutableObject.
A subset of the tests for ImmutableObjects have been resurrected to have some
confidence in this working the way we think it should.
2015-05-04 23:41:11 +02:00
Thomas Adamcik
5989d3a017
models: Simplify how we add __weakref__ to slots
2015-05-04 22:39:36 +02:00
Thomas Adamcik
7f6809aebb
models: Explicitly define which models can be deserialized
2015-05-04 22:36:27 +02:00
Thomas Adamcik
07159f69c2
models: Decouple fields tests from the model metaclass
2015-05-04 21:37:17 +02:00
Thomas Adamcik
bb95dc3b9b
models: Make sure parent fields are used by children.
...
Without this change any sub-class would end up with an empty _fields and none
of the actual fields would be writable even internally.
2015-05-03 22:58:43 +02:00
Thomas Adamcik
94039e06dc
models: Make sure sub-classes can extend models
2015-04-29 21:32:43 +02:00
Thomas Adamcik
8851fb151c
models: Allow Ref.type to have any value
...
This is to address a potential breakage brought up in #1150 as it turns out
Mopidy-Podcast uses custom models and ref types.
2015-04-28 22:58:15 +02:00
Stein Magnus Jodal
97c336200b
Merge branch 'v1.0.x' into develop
2015-04-28 00:02:26 +02:00
Stein Magnus Jodal
8b6d289f8e
Release v1.0.3
2015-04-28 00:00:48 +02:00
Stein Magnus Jodal
9c2aabb899
Bump version to 1.0.3
2015-04-28 00:00:25 +02:00
Stein Magnus Jodal
b8b811c81e
docs: Update changelog for v1.0.3
2015-04-27 23:40:43 +02:00
Stein Magnus Jodal
f5a7381324
docs: Fix copy-paste error
2015-04-27 23:25:24 +02:00
Stein Magnus Jodal
d2bc7aa459
docs: Fix typo, add PR refs
2015-04-27 23:20:11 +02:00
Stein Magnus Jodal
f488a266ac
Merge pull request #1154 from adamcik/v1.0.x
...
Proposed 1.0.3 fixes.
2015-04-27 23:18:07 +02:00
Thomas Adamcik
55e50ae5d2
audio: Switch to time based buffering in tee branches
2015-04-27 22:55:21 +02:00
Thomas Adamcik
83e54b090b
http: Finally fix the old tornado broadcast bug.
2015-04-27 22:52:12 +02:00
Stein Magnus Jodal
022f84df26
docs: Fix grammar
2015-04-27 21:37:35 +02:00
Thomas Adamcik
f90e512ede
docs: Add getting help anchor
2015-04-27 21:14:10 +02:00
Thomas Adamcik
fb22203ed3
docs: Add getting help anchor
2015-04-27 21:12:22 +02:00
Stein Magnus Jodal
6a2b9f9896
docs: Make the build reproducible
...
By setting today's date to the current year, the manpage output doesn't
vary with the day the manpage was built.
Having reproducible builds is a goal for Debian stretch.
2015-04-27 15:36:06 +02:00
Stein Magnus Jodal
b14aee3e04
Merge branch 'v1.0.x' into develop
...
Conflicts:
docs/changelog.rst
2015-04-27 00:18:41 +02:00
Stein Magnus Jodal
f6a86a0f5c
Release v1.0.2
2015-04-27 00:16:45 +02:00
Stein Magnus Jodal
d5ef4aa7b8
docs: jessie is the new Debian stable
2015-04-27 00:12:41 +02:00
Thomas Adamcik
7af10c52d2
models: Remove TODO to make models we can serialize a global
...
Turns out that module construction time is too early to run this code.
2015-04-27 00:04:12 +02:00
Stein Magnus Jodal
21289f8fe5
Bump version to 1.0.2
2015-04-27 00:02:12 +02:00
Stein Magnus Jodal
31a1cb9128
docs: Update changelog for v1.0.2
2015-04-27 00:01:39 +02:00
Stein Magnus Jodal
d1da3eb29a
Merge pull request #1143 from adamcik/feature/split-models-module
...
Split models module
2015-04-26 23:57:21 +02:00
Stein Magnus Jodal
9c812bf367
Merge pull request #1144 from adamcik/feature/one-of-validation
...
core: Add "one-of" validation for number of kwargs
2015-04-26 23:54:18 +02:00
Stein Magnus Jodal
6a97ffa012
Merge branch 'v1.0.x' into develop
...
Conflicts:
docs/changelog.rst
2015-04-26 23:50:50 +02:00
Stein Magnus Jodal
76ca96738d
Merge pull request #1152 from adamcik/v1.0.x
...
v1.0.x fixes for #1146 and #1147
2015-04-26 23:49:12 +02:00
Thomas Adamcik
5f627984a3
review: Address review comments for one-of-validation
2015-04-26 23:35:00 +02:00
Thomas Adamcik
5f420a1bff
review: Address review comments for models split
2015-04-26 23:31:56 +02:00
Thomas Adamcik
651e89357f
tests: Fix IssueGH1120RegressionTest flakiness
2015-04-26 23:23:30 +02:00
Thomas Adamcik
e53bf56115
audio: Make sure software mixer emits mute events.
...
Turns out that gobject.GObject.set_property does not have a return value.
2015-04-26 23:16:51 +02:00
Thomas Adamcik
b80361ccb2
audio: Increase per tee branch buffer size. Fixes #1147
2015-04-26 23:07:10 +02:00
Thomas Adamcik
ced29e569e
Merge pull request #1145 from camilonova/patch-1
...
docs: Added entry for Grooveshark backend
2015-04-26 00:26:13 +02:00
Camilo Nova
ef6b5dd51c
Added Grooveshark backend
2015-04-24 18:19:59 -05:00
Thomas Adamcik
30f56abc66
core: Add "one-of" validation for number of kwargs
2015-04-25 00:56:11 +02:00
Thomas Adamcik
1d5abe44a6
models: Add Uri and Date field "placeholders"
2015-04-25 00:15:03 +02:00
Thomas Adamcik
7e59a5aecb
models: Split models into smaller modules
2015-04-25 00:11:41 +02:00
Thomas Adamcik
a72c9c88c9
http: Handle getting correct IOLoop when running on tornado < 3.0
2015-04-24 23:53:13 +02:00
Thomas Adamcik
b3ea425fd0
tests: Fix IssueGH1120RegressionTest flakiness
2015-04-24 19:26:02 +02:00
Nick Steel
4a48c381d6
docs: Make plurals in LibraryController consistent
2015-04-24 16:44:18 +01:00
Nick Steel
b47c0cb8b5
docs: Update add method documentation
2015-04-24 11:28:35 +01:00
Nick Steel
3fe104875b
docs: Glossary typo
2015-04-24 09:50:14 +01:00
Thomas Adamcik
461061f1be
docs: Refresh of remaining parts of core API docs
2015-04-24 00:30:40 +02:00
Thomas Adamcik
830a19ca70
core: Refresh PlaylistsController documentation
2015-04-24 00:24:19 +02:00
Thomas Adamcik
88f2905133
core: Refresh LibraryController documentation
2015-04-24 00:18:53 +02:00
Thomas Adamcik
996af72af7
docs: Refresh PlaybackController documentation
2015-04-24 00:14:22 +02:00
Thomas Adamcik
b6b1bb2489
docs: Add warning above deprecated section in core
2015-04-24 00:14:01 +02:00