chiark / gitweb /
Cope with a toxic cookie Ross found under a rock
[disorder] / CHANGES
CommitLineData
e63c38e8
RK
1* Changes up to version 3.0.2
2
3Builds --without-server should work again.
4
e9eb8f7b
RK
5The web interface is a bit more liberal in the cookie value syntax it
6will accept.
7
61f2c505
RK
8* Changes up to version 3.0.1
9
10Debian upgrades from 2.0.x should now work better.
11
5aff007d
RK
12* Changes up to version 3.0
13
14Important! See README.upgrades when upgrading.
f0feb22e 15
7a4c02b0
RK
16** Platforms And Installation
17
18Mac OS X and FreeBSD are somewhat supported. There is now a bash script
19in scripts/setup which will automate the setup after 'make install'.
20
f0feb22e
RK
21** Server
22
23Users are now stored in the database rather than a configuration file.
24
e6a35d1c
RK
25The server now has a built-in list of stopwords and players, so only
26additions to these need be mentioned in the configuration file.
86be0c30 27
07bc035e
RK
28The default inter-track gap is now 0s.
29
ad884aa5 30How sound is played is now controlled via the new 'api' configuration
31command. This also controls how the volume is set, which now works with
32ALSA as well as OSS.
33
a69fcd7a
RK
34A bug in the MP3 decoder was fixed (also in 2.0.4).
35
d84bf422 36** Web Interface
37
38The web interface now uses cookies to remember user identity, and allows
b64c2805 39online registration of new users. Also it is no longer necessary to
40manually specify the URL of the web interface (but you can override it
41if you don't like the value it figures out).
d84bf422 42
b18d2a34 43It is possible to allow users to register via the web interface.
ad884aa5 44
45The web interface's browser support has been improved. It has been
46tested with Firefox 2, Safari 3, Konqueror 3, Internet Explorer 7 and
47Opera 9.
48
8137fb3d
RK
49** Disobedience
50
51A bug which would cause a crash if you attempt to rearrange the queue
413799e3 52while no track was playing has been fixed. There is a new 'deselect all
fb009628 53tracks' option, mirroring 'select all tracks.
8137fb3d 54
92afc09e 55* Changes up to version 2.0
460b9539 56
57** General
58
460b9539 59Tracks can now have tags associated with them. See tags in disorder(1)
60or the preferences documentation for the web interface or Disobedience.
61
62The search facility knows how to limit results by tag (see search
63documentation for any interface) as well as by word search. It is
64possible to limit random play by tag (see required-tags and
65prohibited-tags in disorder_config(5)).
66
813070ec
RK
67Unicode support is improved. Case-folding and word breaking now follows
68the rules given in the Unicode standard (with a bit of tailoring in the
413799e3 69latter case).
813070ec 70
655cae67
RK
71** Disobedience
72
73There is a new client, 'Disobedience', that depends on the GTK+ library.
74Feedback on the interface would be very welcome.
75
76** Web Interface
77
78The "New" screen display tracks recently added to the database. From
79here they can be played or their preferences changed.
80
813070ec
RK
81Long track names are truncated so they fit better on the screen. Hover
82for the full name.
83
655cae67
RK
84** Network Play
85
86DisOrder can broadcast audio over a network, allowing it to be played on
87multiple client machines. See README.streams for details.
88
460b9539 89** Server
90
813070ec
RK
91Slow file lookups are cached in the server. This should help
92installations with large collections and/or slow platforms.
460b9539 93
94The 'enabled' and 'random_enabled' configuration options are now gone.
95Instead the state survives from one run of the server to the next.
96'disable now' is gone as well - if you want to emulate it disable
97playing and then scratch the current track.
98
99The 'pick' plugin has been abolished. All the logic formerly done there
100is now built into the server, where it can be done much more
101efficiently.
102
813070ec
RK
103'tracklength' plugins must be explicitly specified.
104
6aba3f6c
RK
105A bug where removing a collection (from the configuration) could cause a
106crash when random play was enabled has been fixed.
107
63e28749 108A new configuration option 'queue_pad' allows the number of random
109tracks kept on the queue to be controlled.
110
75db8354 111There is a new utility disorder-decode which can decode OGG, MP3, WAV
112and FLAC. The example config file uses it.
ce6c36be 113
813070ec
RK
114Database statistics are computed in a subprocess so that the main server
115(and all clients) are not blocked for the duration.
116
460b9539 117** disorderfm
118
119There is a new command line tool called 'disorderfm' which is designed
120for filename translation on (for instance) digital audio repositories.
121It is not yet feature-complete. See its man page for additional
122details.
123
124** Build And Configuration
125
126You can control which components are built with new --with options. See
127README.
128
129options.transform and the 'transform' web option have gone, replaced
130with a 'transform' configuration command. Both this and 'namepart' are
131now optional.
132
63e28749 133** Thanks
134
135Ross Younger, Colin Watson, Michael Stevens and Mark Wooding all
136contributed in some way to this release.
137
460b9539 138* Changes up to version 1.5.1
139
140** Web Interface
141
142Correct regexp for non-alpha tracks.
143
144* Changes up to version 1.5
145
146** Web Interface
147
148Regexp-based filtering of tracks (for instance as used by the initial
149'Choose' page) now does the regexp matching in the server, limiting the
150amount of data transferred to the web interface only to be discarded.
151
152** Client
153
154Regexp-base filtering of tracks is now available to the command line
155client.
156
157** Server
158
159New server_nice, speaker_nice and rescan_nice configuration options
160allow independent control of process priorities.
161
162Scratches are now attributed to the user who requested them.
163
164Bugs fixed:
165 A file descriptor was leaked for each track played.
166 The amount of a track played so far was not reported.
167 The speaker process could crash on underrun.
168 The server would crash if you paused a non-pause capable track.
169 Regexp matching in the file and directory list commands was not
170 reliable.
171 Handling of variable-argument commands in the client was broken.
172
173* Changes up to version 1.4
174
175** General
176
177Raw format players are now supported. See README.upgrades and
178README.raw for details. This allows pausing and eliminating the
179inter-track gap.
180
181Pausing is also supported with suitably modified standalone player
182plugins, though none of the supplied ones are capable of this.
183
184When random play is enabled the randomly picked track now appears in the
185queue, and can be moved around the queue, removed from it, etc.
186
187** Web Interface
188
189Switches (random play, pause, ...) are now presented as a
190fixed-appearance switch with an adjacent state indicator.
191
192The 'Manage' screen has new buttons to move tracks to the head or tail
193of the queue.
194
195You can now edit the preferences for all the tracks in an album in a
196single screen, rather than having to visit each separately. For the
197time being the raw preferences editing has gone; it can be reintroduced
198on some form if there is demand. (You can still edit raw preferences
199from the command line.)
200
201Labels are now documented in options.labels rather than
202disorder_config(5).
203
204** Server
205
206If you tried to start up on any empty database with random play enabled
207the server would exit with an error.
208
209The server no longer risks failing if you strace its player
210subprocesses.
211
212It was possible for the server to hang when a 'reconfigure' command was
213issued. This should no longer be the case.
214
215The default signal to forcibly terminate players is now SIGKILL.
216
217** Plugins
218
219Plugins must now declare a type word. This allows them to document
220whether they are a standalone player or a raw-format player, and whether
221they support pausing. They can also arrange to get setup and cleanup
222calls in the main server. See disorder(3) for more details.
223
224* Changes up to version 1.3
225
226** Dependencies
227
228Berkeley DB 4.2 is no longer supported. Use 4.3.
229
230** Client
231
232There is a new 'authorize' command to simplify the addition of local
233users. Please report successes as well as failures.
234
235There is a new 'resolve' command to return the real track name behind an
236alias.
237
238The 'rescan' command no longer takes an argument.
239
240** Server
241
242The track database code has been largely rewritten to improve
243maintainability.
244
245There is a new 'lock' directive. By default the server uses a lockfile
246to prevent multiple copies of itself running simultaneously; this can be
247inhibited e.g. if you are using a filesystem that does not support
248locking and are confident you can prevent concurrent running yourself.
249
250Aliases for track names, constructed from trackname_display_
251preferences, now appear in the virtual filesystem.
252
253The server now executes a subprocess for the rescan operation. It also
254runs a separate deadlock manager.
255
256Standard output and standard error from subprocesses are now logged.
257This is handy if you need to figure out why a player failed unexpectedly
258but might lead to huge log files if you have needlessly verbose players.
259
260** Web Interface
261
262Enable/disable buttons are now colored to reflect current state.
263
264Entering numeric volume values (rather than clicking on the arrows) now
265works.
266
413799e3 267Connection errors are reported more gracefully.
460b9539 268
269** Plugins
270
271Scanner plugins are now always invoked in a subprocess.
272
273disorder_track_count() and disorder_track_getn() are no longer
274available. Instead use disorder_track_random().
275
276Plugins are now opened with RTLD_NOW, so link errors are detected
277immediately.
278
279** Tools
280
281disorder-dump now insists on the input/output file being a named regular
282file, rather than using stdin or stdout.
283
284** Other
285
286Some missing files have been added, and some notes added regarding
287getting text encoding right.
288
289* Changes up to version 1.2
290
291See README.upgrades when upgrading to this version.
292
293** Bugs Fixed
294
295Avoid accumulating overlarge recently played list.
296
297When the server was stopped, the currently playing track would not be
298added to the recently played list. This has been fixed.
299
300Reloading the 'volume' page no longer repeats the last volume-changing
301action.
302
303The search facility now works properly for multiple hits within a single
304artist or album.
305
306** Server
307
308New namepart directive replaces web interface's trackname-part. There
309are associated changes to the protocol and clients.
310
311The number of database queries per candidate match required when
312searching has been reduced.
313
314The operator can control the signal used to scratch playing tracks. The
315default has been changed to SIGINT from SIGKILL.
316
317The 'log' command now provides a formalised event log, rather than raw
318access to the server's ordinary log output.
319
320** Web Interface Changes
321
322*** Choosing Tracks
323
324When picking a track the client now stays on the same screen rather than
325redirecting back to the 'Playing' screen. So that the user gets
326feedback from their action, playing and queued tracks are now marked as
327such in the track picking screen.
328
329It is possible to revert to the old behaviour by removing the back=
330argument from the choose.html and search.html templates (and optionally
331the trackstate lines).
332
333*** Search
334
335Non-ASCII characters are now properly supported in search terms.
336
337*** Syntax
338
339The template syntax has been changed slightly to ignore whitespace in
340certain places.
341
342*** Miscellaneous
343
344Some formerly textual buttons are now replaced by images (with ALT text
345reflecting the old value). The stylesheet is now a .css file (installed
346in the same place as the images) rather than being embedded into every
347template.
348
349Artist and album names in the playing and recently-played lists are now
350links to the corresponding directory.
351
352More functions are now available from the 'manage' screen.
353
354The menus are now (by default) across the top of the screen instead of
355down the side. Set the 'menu' label to 'sidebar' to restore the old
356appearance. 'Volume' is not present in this new menu, use 'Manage'
357instead (or edit the template).
358
359** tkdisorder
360
361tkdisorder now displays artist, album and title in the queue and
362recently played widgets, rather than just the title (as formerly).
363
364* Changes up to version 1.1
365
366** Bugs Fixed
367
368Corrected various problems with UTF-8 parsing.
369
370In the web interface, "The Beatles" (etc) are now grouped under 'B' not
371'T' when grouping tracks by initial letter.
372
373** Server
374
375The list of recently played tracks is now preserved across server
376restarts.
377
378Track IDs are more compact.
379
380Versions of libdb before 4.2 are no longer supported. 4.2 and 4.3 both
381work now. 4.2 support will be removed in some future release.
382
383Prehistoric backwards-compatibility logic removed. Only affects people
384upgrading from long before 1.0 (who should upgrade to 1.0 and then to
3851.1.)
386
387** Command Line
388
389Tracks can be moved in the queue from the command line.
390
391'disorder queue' now reports track IDs.
392
393$pkgdatadir/completion.bash provides tab completion over commands and
394options.
395
396** Web Interface
397
398New 'cooked' preferences interface saves users having to know arcane
399details of trackname preferences and so on. Non-ASCII characters are
400now properly supported in this context.
401
402CGI arguments to the web interface are now checked for UTF-8 compliance.
403
404Local Variables:
405mode:outline
406fill-column:72
407End: