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