chiark / gitweb /
Some missing D+D memory management
[disorder] / CHANGES.html
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <title>DisOrder Change History</title>
5 <style type="text/css">
6 body {
7   color: black;
8   background-color: white;
9   font-family: times,serif;
10   font-weight: normal;
11   font-size: 12pt;
12   font-variant: normal
13 }
14
15 div.section {
16   margin-left:1em
17 }
18
19 h1 {
20   background-color: #e0ffe0;
21   font-family: helvetica,sans-serif;
22   padding: 0.2em
23 }
24
25 h2 {
26   background-color: #e0ffe0;
27   font-family: helvetica,sans-serif;
28   padding: 0.2em
29 }
30
31 h3 {
32   background-color: #f0f0f0;
33   font-family: helvetica,sans-serif;
34   padding: 0.2em
35 }
36
37 h4 {
38   font-family: helvetica,sans-serif
39 }
40
41 table.bugs {
42   width: 100%
43 }
44
45 table.bugs th {
46   text-align: left
47 }
48
49 span.command {
50   font-family: monospace
51 }
52 </style>
53 </head>
54
55 <body>
56 <h1>DisOrder Change History</h1>
57
58 <p>This file documents recent user-visible changes to <a
59  href="http://www.greenend.org.uk/rjk/disorder/">DisOrder</a>.</p>
60
61 <h2>Changes up to version 4.4</h2>
62
63   <div class=section>
64   
65     <h3>Server</h3>
66  
67     <div class=section>
68
69       <p>The <tt>device</tt> configuration option now works under OS X.
70       Devices may
71       be specified either by UID or name.  Fixes <a
72        href="http://code.google.com/p/disorder/issues/detail?id=27">Issue
73       27</a>.</p>
74
75       <p>Gapless play should be more reliable, and playback latency over RTP
76       should be a bit lower.  Note though that all the sound output code has
77       been reorganized and in some cases completely rewritten, so it's possible
78       that bugs may have been (re-)introduced.</p>
79       
80       <p>The <tt>command</tt> backend now (optionally) sends silence instead
81       of suspending writes when a pause occurs or no track is playing.</p>
82       
83     </div>
84       
85     <h3>Disobedience</h3>
86
87     <div class=section>
88
89       <p>Multiple tracks can now be dragged in the queue in a single
90       operation.</p>
91
92     </div>
93
94     <h3>Web Interface</h3>
95  
96     <div class=section>
97
98       <p>Confirmation URLs should be cleaner (and in particular not end
99       with punctuation).  (Please see <a
100       href="README.upgrades">README.upgrades</a> for more about this.)</p>
101       
102     </div>
103       
104     <h3>RTP Player</h3>
105   
106     <div class=section>
107
108       <p>There is a new <tt>--command</tt> option which allows the RTP player
109       to send audio data to a user-chosen command instead of an audio API. See
110       the man page for details.</p>
111       
112       <p>The <tt>--device</tt> option to <tt>disorder-playrtp</tt> now works
113       under OS X (as above).</p>
114         
115     </div>
116       
117     <h3>General</h3>
118
119     <div class=section>
120
121       <p>IPv6 should now work.  Network address specifications
122       (<tt>listen</tt>, <tt>connect</tt> etc) can now be prefixed with
123       <tt>-4</tt> or <tt>-6</tt> to force use
124       of IPv4 or IPv6, though normally this should not be needed.</p>
125
126       <p>Unicode support has been upgraded to <a
127       href="http://www.unicode.org/versions/Unicode5.1.0/">Unicode
128       5.1.0</a>.</p>
129
130       <p>Various elements of the source code have been
131       rationalized.</p>
132       
133     </div>
134     
135     <h3>Bugs fixed</h3>
136   
137     <div class=section>
138
139       <table class=bugs>
140         <tr>
141           <th>ID</th>
142           <th>Description</th>
143         </tr>
144         
145         <tr>
146           <td><a href="http://code.google.com/p/disorder/issues/detail?id=27">#27</a></td>
147           <td>Mac DisOrder uses wrong sound device</td>
148         </tr>
149
150         <tr>
151           <td><a href="http://code.google.com/p/disorder/issues/detail?id=33">#33</a></d>
152           <td>(Some) plugins need -lm.</td>
153         </tr>
154
155         <tr>
156           <td><a href="http://code.google.com/p/disorder/issues/detail?id=39">#39</a></d>
157           <td>Double bind() non-multicast AF_INET</td>
158         </tr>
159
160         <tr>
161           <td><a href="http://code.google.com/p/disorder/issues/detail?id=40">#40</a></d>
162           <td>Missing stub function</td>
163         </tr>
164
165         <tr>
166           <td><a href="http://code.google.com/p/disorder/issues/detail?id=41">#41</a></d>
167           <td>Missing includes for timeval</td>
168         </tr>
169
170         <tr>
171           <td><a href="http://code.google.com/p/disorder/issues/detail?id=42">#42</a></d>
172           <td>syntax error in empeg_host section</td>
173         </tr>
174
175         <tr>
176           <td><a href="http://code.google.com/p/disorder/issues/detail?id=43">#43</a></d>
177           <td>decoder segfault with FLAC 1.2.1</td>
178         </tr>
179
180         <tr>
181           <td><a href="http://code.google.com/p/disorder/issues/detail?id=44">#44</a></d>
182           <td>gcc 4.3.2-1ubuntu12 SUYB patch</td>
183         </tr>
184
185         <tr>
186           <td><a href="http://code.google.com/p/disorder/issues/detail?id=45">#45</a></d>
187           <td>disobedience doesn't configure its back end</td>
188         </tr>
189
190         <tr>
191           <td><a href="http://code.google.com/p/disorder/issues/detail?id=48">#48</a></d>
192           <td>build-time dependency on <tt>oggdec</tt> removed</td>
193         </tr>
194
195         
196       </table>
197       
198     </div>
199   </div>
200
201 <h2>Changes up to version 4.3</h2>
202
203   <div class=section>
204
205     <h3>Disobedience</h3>
206
207       <div class=section>
208
209         <p>A bug was fixed in the calculation of how much of the track had
210         played.  This would lead to the counter showing incorrect values in
211         various situations.</p>
212
213         <p>Disobedience's icons have been changed to larger, more colorful
214         ones.  The SVG source is included if you want to fiddle with them.</p>
215
216         <p>&ldquo;Select all&rdquo; is now no longer available in the choose
217         tab.  Instead there is a new &ldquo;Select children&rdquo; option which
218         selects the file children of a single subdirectory.</p>
219
220       </div>
221
222     <h3>Server</h3>
223
224       <div class=section>
225
226         <p>The selection bias for newly added tracks was reduced by half.  You
227         can put it back to the old very neophilic value with
228         &ldquo;<tt>new_bias 900000</tt>&rdquo; in the config file.</p>
229
230         <p>It is now possible to &lsquo;adopt&rsquo; randomly picked tracks.
231         Disobedience and the command-line client support this but the web
232         interface does not.</p>
233
234         <p>The default track name parsing was modified to handle filenames
235         generated by iTunes.</p>
236         
237       </div>
238
239     <h3>Miscellaneous</h3>
240
241       <div class=section>
242
243         <p><tt>disorderfm</tt> now preserves directory permissions.</p>
244
245         <p>DisOrder is now licensed under <a
246          href="http://www.gnu.org/licenses/gpl-3.0.html">GPL v3</a>.  The main
247         goal is to prohibit <a
248          href="http://en.wikipedia.org/wiki/Tivoization">Tivoization</a>.</p>
249
250         <p>The build system will now automatically cope with Fink's broken GTK+
251         packages.  There are a number of improvements to the Debian
252         packaging.</p>
253
254         <p>DisOrder now builds on 64-bit Linux systems.</p>
255
256         <p>There are various minor fixes.</p>
257
258       </div>
259
260   <h3>Bugs fixed</h3>
261   
262     <div class=section>
263
264       <table class=bugs>
265         <tr>
266           <th>ID</th>
267           <th>Description</th>
268         </tr>
269         
270         <tr>
271           <td><a href="http://code.google.com/p/disorder/issues/detail?id=24">#24</a></td>
272           <td>Fails to build on ubuntu 8.10</td>
273         </tr>
274         <tr>
275           <td><a href="http://code.google.com/p/disorder/issues/detail?id=26">#26</a></td>
276           <td>Disobedience shows wrong track elapsed time after a pause</td>
277         </tr>
278       </table>
279       
280     </div>
281   </div>
282
283 <h2>Changes up to version 4.2</h2>
284
285 <div class=section>
286
287   <h3>Disobedience</h3>
288   
289     <div class=section>
290
291       <p>The login window now has a 'remote' switch.  If this is turned off
292       then Disobedience will connect to a local server.  Formerly it would
293       always use TCP/IP.</p>
294
295       <p>The Delete and backspace keys will now remove tracks from the queue.
296       Escape will now dismiss the properties, users or login windows and return
297       now works in the login and properties windows.</p>
298       
299     </div>
300
301   <h3>Documentation</h3>
302   
303     <div class=section>
304
305       <p>Track and global preferences are now described in a new
306       <b>disorder_preferences</b>(5) man page.</p>
307       
308     </div>
309
310   <h3>Bugs fixed</h3>
311   
312     <div class=section>
313
314       <table class=bugs>
315         <tr>
316           <th>ID</th>
317           <th>Description</th>
318         </tr>
319         
320         <tr>
321           <td><a href="http://code.google.com/p/disorder/issues/detail?id=21">#21</a></td>
322           <td>CGI should use PATH_INFO more sensibly</td>
323         </tr>
324       </table>
325       
326     </div>
327 </div>
328
329
330 <h2>Changes up to version 4.1.1</h2>
331
332 <div class=section>
333
334   <p>Disobedience's &ldquo;Login&rdquo; window now works when you are logged
335   in.</p>
336   
337 </div>
338
339 <h2>Changes up to version 4.1</h2>
340
341 <div class=section>
342
343   <h3>Disobedience</h3>
344   
345     <div class=section>
346   
347       <p>Disobedience has been largely rewritten:</p>
348
349       <ul>
350         
351         <li>All the tabs now use native GTK+ list/tree widgets, resulting in
352         greater speed in some cases and more consistency with other GTK+
353         applications.</li>
354
355         <li>You can now use type-ahead find in the choose tab.  The initiation
356         of a search is delayed slightly to avoid lots of updates when you're
357         half way through entering search terms.</li>
358
359         <li>The choose tab now shows track lengths.</li>
360     
361         <li>Many buttons are now more reliably made insensitive when they can't
362         be used.</li>
363
364         <li>You can now play tracks off the recent tab.</li>
365         
366       </ul>
367       
368       <p>Disobedience attempts to cope with servers from older versions, up to
369       a point, but this is not well tested and it's best to keep the server
370       fully up to date.</p>
371
372     </div>
373      
374   <h3>Server</h3>
375   
376     <div class=section>
377
378       <p>When a track shares a directory with its alias, the real track name is
379       now returned instead of the alias (the opposite way round to the previous
380       behaviour).</p>
381       
382     </div>
383 </div>
384
385 <h2>Changes up to version 4.0.2</h2>
386
387 <div class=section>
388
389   <p>Corrected web browser linked from Disobedience.</p>
390   
391 </div>
392
393 <h2>Changes up to version 4.0.1</h2>
394
395 <div class=section>
396
397   <p>Libtool and Automake now install the CGI correctly.  As part of this,
398   <tt>cgidir</tt> has been renamed to <tt>cgiexecdir</tt>.  The configure
399   script will report an error if you try to use the old name.</p>
400   
401 </div>
402
403 <h2>Changes up to version 4.0</h2>
404
405 <div class=section>
406
407   <h3>Server</h3>
408
409 <div class=section>
410   
411   <p>The <tt>gap</tt> directive will no longer work.  It could be
412   restored if there is real demand.</p>
413   
414   <h4>Event Scheduling</h4>
415
416 <div class=section>
417
418   <p>It is now possible to schedule events to occur in the future.
419   Currently the supported actions are playing a specific track, and
420   changing a global preference (thus allowing e.g. random play to be
421   turned on or off).  See the <tt>schedule-*</tt>
422   commands described in disorder(1).</p>
423
424 </div>
425
426 <h4>Random Track Choice</h4>
427
428 <div class=section>
429
430   <p>This has been completely rewritten to support new features:</p>
431
432   <ul>
433
434     <li>tracks in the recently-played list or in the queue are no longer
435     eligible for random choice.</li>
436
437     <li>there is a new <tt>weight</tt> track preference allowing for
438     non-uniform track selection.  See disorder(1) for details.</li>
439
440     <li>there is a new configuration item <tt>replay_min</tt> defining
441     the minimum time before a played track can be picked at random.
442     The default is 8 hours (which matches the earlier behaviour).</li>
443
444     <li>recently added tracks are biased up; see <tt>new_bias</tt> and
445     <tt>new_bias_age</tt> in disorder_config(5).</li>
446
447   </ul>
448
449 </div>
450
451 <h4>Web Interface</h4>
452
453 <div class=section>
454
455   <p>This has been largely rewritten.  The most immediate benefits are:</p>
456
457   <ul>
458     
459     <li>the search page is integrated into the choose page, and
460     includes links to parent directories.</li>
461     
462     <li>if you try to do something you have insufficient rights for,
463     instead of getting an error page or nothing happening, you are
464     redirected to the login page.</li>
465
466   </ul>
467
468   <p>Customizers should find their lives easier: the syntax is less onerous, it
469   is possible to define macros to avoid repetition, and the documentation is
470   less monolithic (see disorder.cgi(8) as a starting point).</p>
471
472   <p>Mail is now sent via the system sendmail program, though it remains
473   possible to use TCP to connect to an SMTP server.  See <tt>sendmail</tt> and
474   <tt>smtp_server</tt> in disorder_config(5).</p>
475
476   <p>The web interface is now installed automatically.  If you don't want it,
477   use <tt>./configure --without-cgi</tt>.  If you want it in a non-default
478   location, or no location for it is detected, set <tt>cgidir</tt>
479   and <tt>httpdir</tt> on the <tt>./configure</tt> command line.</p>
480   
481 </div>
482
483 </div>
484
485 <h3>Disobedience</h3>
486
487 <div class=section>
488
489   <p>There is now a new user management window.  From here you can add and
490   remove users or modify their settings.</p>
491
492   <p>Relatedly, the server will only allow remote user management if you set
493   <tt>remote_userman</tt> to <tt>yes</tt>.</p>
494
495 </div>
496
497 <h3>Miscellaneous</h3>
498
499 <div class=section>
500
501   <p><tt>scripts/setup</tt> now honors command line options, and can
502   set up network play as well as the local default sound device.</p>
503
504 </div>
505
506 <h3>Bugs Fixed</h3>
507
508 <div class=section>
509
510   <table class=bugs>
511     <tr>
512       <th>ID</th>
513       <th>Description</th>
514     </tr>
515
516     <tr>
517       <td><a href="http://code.google.com/p/disorder/issues/detail?id=2">#2</a></td>
518       <td>Search results should link to directories</td>
519     </tr>
520
521     <tr>
522       <td><a href="http://code.google.com/p/disorder/issues/detail?id=6">#6</a></td>
523       <td>Schedule tracks for a particular time</td>
524     </tr>
525
526     <tr>
527       <td><a href="http://code.google.com/p/disorder/issues/detail?id=10">#10</a></td>
528       <td>Non-uniform track selection</td>
529     </tr>
530
531     <tr>
532       <td><a href="http://code.google.com/p/disorder/issues/detail?id=11">#11</a></td>
533       <td>Bias random selection to newly added tracks</td>
534     </tr>
535
536     <tr>
537       <td><a href="http://code.google.com/p/disorder/issues/detail?id=13">#13</a></td>
538       <td>Default encoding for debian setup scripts</td>
539     </tr>
540
541     <tr>
542       <td><a href="http://code.google.com/p/disorder/issues/detail?id=16">#16</a></td>
543       <td>Cookie expiry causes user to be silently logged out and not
544       subsequently redirected to login page</td>
545     </tr>
546     
547     <tr>
548       <td><a href="http://code.google.com/p/disorder/issues/detail?id=20">#20</a></td>
549       <td>Broken aliasing rules</td>
550     </tr>
551     
552   </table>
553
554 </div>
555
556 </div>
557
558 <h2>Changes up to version 3.0.2</h2>
559
560 <div class=section>
561
562   <p>Builds <tt>--without-server</tt> should work again.</p>
563
564   <p>The web interface is a bit more liberal in the cookie value
565   syntax it will accept.</p>
566
567   <p>Clients fail more gracefully if no password is available.</p>
568
569 </div>
570
571 <h2>Changes up to version 3.0.1</h2>
572
573 <div class=section>
574   
575   <p>Debian upgrades from 2.0.x should now work better.</p>
576   
577 </div>
578
579 <h2>Changes up to version 3.0</h2>
580
581 <div class=section>
582   
583   <p><b>Important</b>!  See <a
584   href="README.upgrades">README.upgrades</a> when upgrading.</p>
585   
586   <h3>Platforms And Installation</h3>
587   
588 <div class=section>
589   
590   <p>Mac OS X and FreeBSD are somewhat supported.  There is now a bash
591   script in <tt>scripts/setup</tt> which will automate the setup after
592   <tt>make install</tt>.</p>
593   
594 </div>
595
596 <h3>Server</h3>
597
598 <div class=section>
599   
600   <p>Users are now stored in the database rather than a configuration
601   file.</p>
602   
603   <p>The server now has a built-in list of stopwords and players, so
604   only additions to these need be mentioned in the configuration file.</p>
605   
606   <p>The default inter-track gap is now 0s.</p>
607   
608   <p>How sound is played is now controlled via the new <tt>api</tt>
609   configuration command.  This also controls how the volume is set,
610   which now works with ALSA as well as OSS.</p>
611   
612   <p>A bug in the MP3 decoder was fixed (also in 2.0.4).</p>
613   
614 </div>
615
616 <h3>Web Interface</h3>
617
618 <div class=section>
619   
620   <p>The web interface now uses cookies to remember user identity, and
621   allows online registration of new users.  Also it is no longer
622   necessary to manually specify the URL of the web interface (but you
623   can override it if you don't like the value it figures out).</p>
624   
625   <p>It is possible to allow users to register via the web interface.</p>
626   
627   <p>The web interface's browser support has been improved.  It has
628   been tested with Firefox 2, Safari 3, Konqueror 3, Internet Explorer
629   7 and Opera 9.</p>
630   
631 </div>
632
633 <h3>Disobedience</h3>
634
635 <div class=section>
636
637   <p>A bug which would cause a crash if you attempt to rearrange the
638   queue while no track was playing has been fixed.  There is a new
639   'deselect all tracks' option, mirroring 'select all tracks.</p>
640   
641 </div>
642
643 </div>
644
645 <!--
646 Local Variables:
647 fill-column:79
648 indent-tabs-mode:nil
649 End:
650 -->