paraslash 0.2.17
[paraslash.git] / NEWS
1 NEWS
2 ====
3
4 -----------------------------------------
5 0.2.17 (2007-11-20) "isotropic threshold"
6 -----------------------------------------
7
8 Mainly bugfixes and cleanups in this version which marks the end of
9 the 0.2.x series if no serious bugs show up after the release.
10
11         - mysql_selector: fix a locking bug.
12         - universal chunk queueing.
13         - dccp sender uses chunk queueing if write() returns EAGAIN (thanks
14           to Gerrit Renker).
15         - be more carful wrt. signed vs. unsigned argument passing.
16         - cleanup error.h and fix some references to invalid error
17           codes.
18         - update to gengetopt-2.21.
19         - update to ortp-0.13.1.
20         - autoconf: extend checks for headers, library functions and
21           compiler characteristics.
22         - Fix streaming of large mp3 files.
23         - Fix an off-by-one bug in playlist handling.
24
25 --------------------------------------
26 0.2.16 (2007-04-05) "neural discharge"
27 --------------------------------------
28
29 The main change in this release is the major audio format handler
30 cleanup which removes some similar/duplicate code and makes it easier
31 to implement plugins for other audio formats. Of course, the usual mix
32 of other improvements/changes/bugfixes also made it into the release.
33
34         - simplified audio format handlers (most of the handling functions
35           were moved one layer up to the virtual streaming system).
36         - para_server uses mmap to read audio files
37         - repositioning of mp3 streams is much faster, in particular for
38           jumping near the end of large mp3 files.
39         - permission flags DB_READ,DB_WRITE have been renamed to AFS_READ
40           and AFS_WRITE.
41         - fix a bug in para_filter that caused decoding of aac files
42           to start only after a few seconds.
43         - fix osx_writer hangs
44         - simplified dccp code (thanks to Gerrit Renker)
45         - the compress filter works also on big endian systems (ppc)
46
47 -----------------------------------------
48 0.2.15 (2007-02-16) "inductive resonance"
49 -----------------------------------------
50
51 Minor improvements, more documentation and a bunch of bug fixes.
52
53         - para_server: The server.users file is only read once on server
54           startup rather than for each connection
55         - mp3dec: Fix decoding of corrupt mp3 files
56         - afs (audio file sender) is now called vss (virtual streaming
57           system). Consequently, the permission flags specified in
58           ~/.paraslash/server.users have also changed: AFS_READ and AFS_WRITE
59           become VSS_READ and VSS_WRITE respectively.
60         - para_audiod/para_filter: Fix a bug that caused the last chunk
61           of audio data not being written under certain circumstances
62         - audiod: compute the difference of server time and local time
63           correctly
64         - para_server/para_audiod: Fix some memory leaks
65         - documentation improvements
66         - configure.ac: fix checks for para_krell
67         - new man pages
68
69 -------------------------------------------
70 0.2.14 (2006-10-15) "transient singularity"
71 -------------------------------------------
72
73 The only major enhancement of this version is the osx writer which completes
74 the Mac OS Port and was originally planned already for 0.2.13 but had to wait
75 until now for reasons beyond the scope of this changelog entry.
76
77         - new output plugin for Mac Os: the osx writer
78         - rename configure command line options from --enable-xxx-headers to
79           --with-xxx-headers and  --enable-xxx-libs to --with-xxx-libs
80         - configure: new command line options: --with-mad-headers,
81           --with-mad-libs, --with-oggvorbis-headers, and --with-oggvorbis-libs
82         - some robustness fixes
83         - dymamic audio format recognition for audiod
84         - para_server: new command line option: --autoplay_delay
85         - para_audiod: new command line option: --clock_diff_count
86
87 ---------------------------------------
88 0.2.13 (2006-07-14) "sonic convolution"
89 ---------------------------------------
90
91 A bunch of new features and core changes.
92
93         - the new paraslash scheduler, short and sweet.
94         - Support for m4a/mp4 files via the new aac audio format
95           handler/filter (requires libfaad).
96         - each writer has its own command line parser, just like
97           para_recv and para_filter.
98         - para_client and para_audioc use the error subsystem
99         - writers are integrated in para_audiod (currently linux-only)
100         - para_client is integrated in para_audiod
101         - random/playlist selector: improved info strings
102         - new audiod commands: tasks, kill
103         - update to libortp-0.10.1
104         - para_fade: wake time defaults to 8 hours from now
105         - update to autoconf-2.60
106
107
108 ------------------------------------------
109 0.2.12 (2006-05-12) "oriented abstraction"
110 ------------------------------------------
111
112 Many user-visible changes in this release and lots of new
113 features:
114
115
116         - the new optional dccp sender/receiver. It uses the datagram
117           congestion control protocol. You'll need a fairly new kernel
118           for this.
119         - paraslash works on Mac OS X (thanks to Gerd Becker)
120         - para_play renamed to para_write
121         - modular output plugin design (writers) for para_write
122         - new file_writer output plugin for para_write
123         - compress filter speed improvements
124         - update to libortp-0.9.1
125         - update to gengetopt-2.17rc
126         - para_client no longer depends on libreadline (as the
127           code for the interactive mode was removed).
128         - gcc-2-95 is no longer a supported compiler. It may still
129           work, but it gets no more testing.
130         - the tarball no longer contains the screenshot images which
131           reduces its size quite a bit.
132         - configure: new command line options: --enable-mysql-headers
133           and --enable-mysql-libs
134
135 ------------------------------------
136 0.2.11 (2006-03-11) "atomic duality"
137 ------------------------------------
138
139 Here it is, the first paraslash release developed with git. There
140 are fairly many user-visible changes in this release. As two out of
141 the three "database tools" of paraslash don't use a database at all,
142 they are now called "audio file selectors" instead.
143
144
145         - the cdt command (change database tool) becomes chs (change
146           selector)
147         - no more colon separators: The syntax of some options of
148           para_audiod and para_filter have changed. Use --help for
149           more info (and some examples).
150         - update to gengetopt-2.16 (thanks to Lorenzo Bettini)
151         - switch from cvs to git (should've done that earlier)
152         - the new ipc subsystem
153         - new audio file selector: playlist
154         - para_server: the dopey selector is now called "random",
155           and is the default selector. Use the --selector option to
156           choose another selector at startup, or the chs command to
157           change the selector at runtime.
158         - X86_64 fixes (thanks to Steffen Klassert)
159         - para_play fixes
160
161
162 --------------------------------------
163 0.2.10 (2006-02-17) "cyclic attractor"
164 --------------------------------------
165
166 Huge documentation update, a scrollable window for para_gui, ortp
167 improvements, and of course many small fixes not mentioned here.
168 The diffstat below is rather misleading as most insertions are due
169 to the new source documentation.
170
171         - autoconf cleanup
172         - para_server also uses the new error subsystem
173         - lots of new documentation (UTSL)
174         - gui improvements:
175                 - keysyms for cursor keys and for next/previous page keys
176                 - scrollable output window
177                 - new internal commands: scroll up/down, page up/down
178                 - fix color of command output.
179         - ortp: the --chunk_time and --header flags are no longer needed
180         for para_recv/para_audiod as this information is now encoded in
181         each rtp packet sent by para_server.
182
183
184 -------------------------------------------
185 0.2.9 (2006-01-24) "progressive turbulence"
186 -------------------------------------------
187
188 Internal audiod receivers/filters, the new error subsystem and
189 a lot of small improvements.
190
191         - para_recv and para_filter are integrated into the para_audiod
192           binary, i.e. audiod no longer spawns a new process for
193           each receiver/filter. As para_recv and para_filter might be
194           useful as standalone programs, they still get built (linked
195           against the same object files that are also used for audiod).
196         - further ortp timing improvements should reduce the CPU usage
197           of the ortp receiver.
198         - improved audio grabbing. The 'grab' command of para_audiod
199           has its own set of command line options. Read the output of
200           "para_audioc help grab" for more info.
201         - oggdec: configurable input prebuffer size.
202         - the new error subsystem gives better error diagnostics
203           and reduces code size.
204
205
206 -----------------------------------------
207 0.2.8 (2006-01-02) "dynamic accumulation"
208 -----------------------------------------
209
210 The new modular filter design and the para_play-hangs bugfix.
211
212         - new executable: para_filter. It combines para_mp3dec,
213           para_oggdec and para_compress. It also adds a further filter
214           type, wav, that just inserts a wave header at the desired point
215           of the filter chain. All 'piping' is done in-memory (i.e. no
216           read/write operations are used).
217         - para_play: fix a stupid bug that caused it to hang under
218           certain circumstances.
219
220
221 -------------------------------------------
222 0.2.7 (2006-12-27) "transparent invariance"
223 -------------------------------------------
224
225 Not many user-visible changes but a fair amount of internal improvements.
226
227
228         - The http sender buffers data if it can not be sent
229           out immediately (because the socket is not writable). This
230           should prevent para_server from shutting down the connection
231           too early on a loaded network.
232         - para_play also prebuffers data if it is told to start at a
233           future time by the --start_time option.
234         - The return of para_recv: It combines para_ortp_recv and
235           para_http_recv. Use the --receiver option to switch between
236           the two. para_recv builds without libortp, but contains
237           only the http receiver in this case.
238         - update to ortp 0.8.1. As this ortp release contains incompatible
239           changes, para_recv-0.2.7 won't link against older ortp libs.
240         - improved ortp timings.
241         - use of gcc-extensions that #define away for non-gcc and
242           gcc < 3.0.
243
244
245 -------------------------------------------
246 0.2.6 (2005-10-29) "recursive compensation"
247 -------------------------------------------
248
249 Transparent session encryption (uses openssl's Alleged RC4 cipher),
250 the internal find command and several other improvements and cleanups.
251
252         - Encrypt the session if encryption is requested by the client
253           (default for para_client 0.2.6). This is backwards
254           compatible, so older clients can still connect to para_server
255           0.2.6. Use the new client option --plain to request an
256           uncrypted session (off by default, must be set to on in
257           order to connect to para_server 0.2.x with 0 <= x <= 5).
258         - para_server uses an internal function to locate audio files
259           rather than calling find(1). The server option
260           --mysql_audio_file_dir replaces --mysql_find_cmd.
261         - documentation update
262         - man pages
263         - header file cleanup
264         - para_client code cleanup
265         - para_gui: faster display of output of display commands
266
267
268 ------------------------------------------
269 0.2.5 (2005-10-13) "aggressive resolution"
270 ------------------------------------------
271
272 This release adds internal senders, i.e. no more external programs are
273 spawned for sending out the audio data. There are two different senders
274 available: The http sender and the ortp sender (former para_send which
275 is no longer needed).
276
277 The new sender code has a plugin-like design so it can be easily
278 extended should there be be any future need for supporting another
279 network streaming protocol. All senders are completely independent of
280 each other. In particular, the http and the ortp sender can operate
281 in parallel.
282
283         - new server command: sender to control senders at runtime.
284           Read the output of "para_server -h" and "para_client help
285           sender" for more information.
286         - para_recv renamed to para_ortp_recv
287         - new executable: para_http_recv, a simple command line
288           http receiver.
289         - major afs/mp3/ogg code simplifications due to internal
290           senders.
291         - ogg timing improvements
292         - fix several minor memory leaks (found by valgrind)
293         - empty stream definitions work again
294         - com_ne(): ignore errors on remove
295         - audiod: fix segfault on server restart
296
297
298 ---------------------------------------
299 0.2.4 (2005-09-21) "toxic anticipation"
300 ---------------------------------------
301
302 Several small improvements, fixes and the new grab command.
303
304         - audiod:
305                 - new command: "grab" to grab the output of the stream reader
306                   or any filters. Read the output of "para_audioc help grab"
307                   for more information.
308                 - fix memory leak
309                 - code cleanup
310         - audioc: new command line option: --bufsize to specify a
311           buffer size different from the default size 8192.
312         - improved error diagnostics for para_play.
313         - new configure option: --enable-ssldir so search for openssl in
314           non-standard places
315         - sdl_gui: Make it look nice again for 1024x768
316         - server: report total size of memory allocated with sbrk by malloc,
317           new command line option: --announce_time
318
319
320 -----------------------------------------
321 0.2.3 (2005-09-01) "hydrophilic movement"
322 -----------------------------------------
323
324 Two new executables and major feature enhancements.
325
326         - audiod filters: It is now possible to specify arbitrary many
327           (including none) filters for each supported audio
328           format. This can be used e.g. for normalizing volume,
329           transforming or grabbing the audio stream, or for using
330           visualizers.  Read the output of "para_audiod -h" for the
331           syntax of the new --filter_cmd option.
332         - new executable: para_play, a tiny alsa player. It
333           can play wave files or raw pcm (16 bit little endian)
334           from stdin.
335         - new executable: para_compress, a dynamic range compressor
336           intended to keep audio output at a consistent volume. Derived
337           from AudioCompress, http://trikuare.cx/code/AudioCompress.html.
338         - audiod: New option: --stream_delay. This can be used in
339           a local network to syncronize the audio output of all
340           clients that play the same stream.
341
342
343 ------------------------------------------
344 0.2.2 (2005-08-19) "tangential excitation"
345 ------------------------------------------
346
347 Mostly internal changes in this release, but also some new commands
348 for the mysql database tool.
349
350         - cleanup exec.c, fix para_exec bug
351         - compile time loglevel (log messages below the given level
352           won't be compiled in, which reduces the size of the
353           resulting binaries)
354         - new log macros that shorten the size of the source code.
355         - workaround a gcc-4.1 bug (?) that caused send_cred_buffer()
356           to send only zeros. With this workaround, para_audioc works
357           again.
358         - avoid gcc-4 warning: conflicting types for built-in function 'clog'
359         - new mysql commands: "rm" (remove entry), "mv" (rename entry) "ne"
360           (new entry), "snp" (set numplayed). Read the manual for more
361           information.
362
363
364 ---------------------------------------
365 0.2.1 (2005-08-15) "surreal experience"
366 ---------------------------------------
367
368 Here comes paraslash-0.2.1. It contains a couple of new features and,
369 surprise, only minor bug fixes.
370
371         - kill noisy mp3 debug message
372         - cleanup of the build system
373         - para_server and para_client directly use the crypto routines
374           of the openssl library rather than invoking the openssl command
375           line utitlity
376         - server/audiod: new option --user to switch to the given user
377           when invoked as root. Read the output of "para_server -h" for
378           more information.
379         - gui/sdl_gui: new option --stat_cmd to be used to retrieve the
380           status. Default: "para_audioc stat"
381         - sdl_gui: new option --pic_cmd to be used to download the picture.
382           Default: "para_client pic"
383         - audiod: 5 slots ought to be enough for everybody
384         - audiod: new status item: Uptime, kill hup command
385
386
387
388 ------------------------------------------
389 0.2.0 (2005-08-06) "distributed diffusion"
390 ------------------------------------------
391
392 After several month of increased development activity, paraslash-0.2.0
393 has arrived. It contains many new features and is much more
394 self-contained than the old 0.1.x series. Enjoy!
395
396
397         - para_server: fix hang on song change and crash on sighup.
398           Speed up mysql queries. The DIR_LIKE macro is gone.
399         - new executables: para_audiod, the local audio daemon that
400           starts playback (uses SCM_CREDENTIALS socket magic) and
401           para_audioc, the corresponding client.
402         - new executables: para_mp3dec/para_oggdec, two really teensy
403           decoders. para_mp3dec is based on libmad, para_oggdec requires
404           libvorbisfile.
405         - ovsend/ovrecv are capable of streaming ogg as well as mp3, so
406           they are now called para_send and para_recv respectively.
407         - documentation updates
408         - para_gui is themable. For now there is the default theme that
409           looks as before and the simple theme: blue and easy.
410         - gui: audio streaming is now handled by audiod. Time display shows
411           playback time rather than streaming time
412         - slider: update to libzmw-0.2.0
413         - para_krell: fix crash on server shutdown
414         - switch from gzip to bzip2
415
416
417 ----------------------------------------
418 0.1.7 (2005-04-18) "melting penetration"
419 ----------------------------------------
420
421 The main change in this release is clearly the oggvorbis rewrite,
422 but there are also lots of smaller changes. If you intend to use both
423 the mp3 and the ogg plugin, it is recommended to use software mixing,
424 e.g. the dmix plugin which is provided by ALSA.
425
426         - new executables: para_ovsend and para_ovrecv for sending/receiving
427           oggvorbis files via rtp. Requires the open rtp library. Get it at
428           http://www.linphone.org/ortp/
429         - rewrite of the ogg_vorbis core code
430         - configure detects libzmw and, if detected, includes
431           para_slider to the list of binaries to be built by make
432         - server stream writers read from their associated fifo rather
433           than from stdin
434         - slider: two new sliders, lastplayed and numplayed
435         - fix nasty double free bug which caused random segfaults in case of
436           mp3 files with invalid header information
437         - gui: new command line option: --stream_timeout=seconds  to
438           deactivate a slot if it is idle for that many seconds (default=`5')
439         - diffstats
440
441
442 ---------------------------------------
443 0.1.6 (2005-03-05) "asymptotic balance"
444 ---------------------------------------
445
446 Only little user-visible changes in this release. Mainly bugfixes and
447 core code cleanup. This is probably the most stable version ever if you
448 stick to mp3...
449
450         - fix several memory leaks
451         - rename default name of mysql database from "music" to "paraslash".
452           Use para_server's  --mysql_database option if you do not want to
453           rename your old database.
454         - rework ogg vorbis code
455         - make update command work on mysql servers with LOCAL_INFILE
456           disabled
457         - gui: improved stream I/O (slots)
458         - simplified audio format API
459         - para_pob_ogg is gone
460
461 ------------------------------------
462 0.1.5 (2004-12-31) "opaque eternity"
463 ------------------------------------
464
465 Let's slide gently into the new year.
466
467         - new: para_slider (not built automatically, type "make
468           para_slider" to build). A toy for those who always felt that
469           creating stream definitions is difficult. See screenshots,
470           README and FEATURES for more info.
471         - improved signal handling. Fixes server segfault on SIGHUP
472           for linux kernels newer than Aug 24 2004 and makes para_gui
473           race-free.
474         - reload database tool on SIGHUP
475         - improved help message for sl
476         - do not log "broken pipe" messages as errors. They are
477           perfectly ok.
478         - fix wrong error message on permission errors
479
480 -----------------------------------------
481 0.1.4 (2004-12-19) "tunneling transition"
482 -----------------------------------------
483
484 Bugfix release. As expected, 0.1.3 introduced a bunch of new bugs.
485 Hopefully, most of them got wiped out with this release. Some
486 enhancements went also in.
487
488         - improved error diagnostics for all commands
489         - stradd/picadd: overwrite previous contents if entry already
490           exists, rather than returning errors
491         - stradd: use current stream if invoked without args
492         - faster (and hopefully more stable) ogg-vorbis handling
493         - para_krell: reap children to avoid zombie-flooding in case
494           no server is running
495         - si: report also server pid
496         - server: don't busy-loop if dbtool reports only invalid files.
497         - gui: CTRL+C works again, fix stream_read command line option
498         - fix pic_add, hist
499         - fix mysql dbtool startup in case no database exists
500         - many small fixes and cleanups
501
502 ---------------------------------------
503 0.1.3: (2004-12-10) "vanishing inertia"
504 ---------------------------------------
505
506 Starting from this release, the database tools are integrated in the
507 server binary. This decreases server startup time, reduces code size
508 and speeds up database commands. However, the layout of the underlying
509 mysql database changed only slightly and 0.1.3 should be backwards
510 compatible in that respect.
511
512 Visible changes:
513
514         - If mysql is not detected at compile time, or fails to init
515           at runtime, fall back to the dopey database tool which should
516           always work.
517         - para_dbtool and dbtool.conf are gone. All mysql specific
518           options are read from server.conf and are prefixed by 'mysql_'.
519         - new command: cdt (change database tool)
520         - new command line option: dbtool (choose startup database tool)
521         - The name of current stream is now stored in the database,
522           so paraslash remembers its current stream when restarted.
523         - new command: csp (change stream and play)
524         - para_gui also reports current database tool and server uptime
525
526
527 -------------------------------------------
528 0.1.2: (2004-11-28) "spherical fluctuation"
529 -------------------------------------------
530
531 Point release before the big dbtool changes go in.
532
533         - dbtool: rename ca to cam (copy all meta data). It now also
534           copies numplayed and lastplayed time as well as the picture
535           id.
536         - fix endless-loop-bug caused by mp3 files with invalid header
537
538 -----------------------------------------
539 0.1.1: (2004-11-05) "floating atmosphere"
540 -----------------------------------------
541
542         - gkrellm plugin
543         - new dbtool command: mbox. Browse your sound-file collection
544           with your favorite mail reader.
545         - several small fixes
546
547 -------------------------------------
548 0.1.0: (2204-10-22) "rotating cortex"
549 -------------------------------------
550
551         - fix logging bug for loglevel > VERBOSE
552         - fix skip command
553         - correct timings for vbr mp3s
554         - modular audio format support
555         - ogg-vorbis support (experimental)
556         - new server option: autoplay
557
558 -----------------------------------------
559 0.0.99: (2004-07-25) "harmonic deviation"
560 -----------------------------------------
561
562         - rename projectname from icc to paraslash (play, archive, rate
563           and stream large audio sets happily)
564         - paraslash is no longer restricted to one particular audio
565           streaming software
566         - new dbtool commands (stradd, strq, strdel) for easy stream
567           managment w/o configuration file. That obsoletes stream_defs
568           file/config option for dbtool.
569         - picadd accepts jpeg data from stdin
570         - new server commands: ps (select previous stream), sc (song change)
571         - new default pictures for sdl_gui
572         - gui: new key_map option for binding commands and internal
573           functions to arbitrary keys, nice help screen, rip out
574           soundcard/linux specific stuff, avoid noise artefacts while jumping,
575           show silly logo on startup
576         - new executables: para_fade for fading volume, para_dbadm for
577           manipulating attributes
578         - cdb adds _all_ tables to mysql database
579         - revised and beautified documentation
580         - sample dbtool rewritten in C
581         - autoconf
582
583 ---------------------------------------------
584 0.0.98: (2003-12-26) "incremental smoothness"
585 ---------------------------------------------
586
587         - kick icecast in favour of poc. That removes some races and reduces
588           core code considerably.
589         - cbr/vbr is displayed by stat and gui/sdl_gui. New status flags
590           give finer info on afs' status.
591         - gui can start decoder (see config options). Further new gui
592           commands: refresh (^L), jmp (F1-F10)
593         - gui rereads conf on SIGUSR1 instead of SIGHUP. SIGHUP
594           terminates gui. This fixes dead instances consuming memory
595           continuously.
596         - new dbtool command: verb for sending verbatim sql queries.
597         - fix pid_list races (by removing pid_list)
598         - codename funnies
599
600 --------------------
601 0.0.97: (2003-10-26)
602 --------------------
603
604         - installation prefix now defaults to /usr/local
605         - new commands for gui: snozze, sleep and reread config
606         - config file for gui and sdl_gui
607         - fix problems with filenames containing funny characters
608           (reported by Thomas Forell)
609         - improved signal handling for gui, now it rereads conf on SIGHUP
610         - new dbtool command: cdb (create database)
611         - switch from argtable to gengetopt
612         - major code cleanup and speed improvements
613         - fix several potential buffer overflows
614         - many small fixes and cleanups
615
616 -------------------
617 0.0.96 (2003-08-30)
618 -------------------
619
620         - easy stream_defs syntax
621         - sdl_gui can display images associated to the file being played
622         - Major feature enhancements for icc_gui including dynamic text
623           placement and the top/bottom window design
624         - vrfy/clean now also checks for NULL values in attributes as
625           well as for invalid picture pointers
626         - fix long outstanding case sensitivity bug
627         - many small fixes and cleanups
628
629 -------------------
630 0.0.95 (2003-06-29)
631 -------------------
632
633         - sdl gui runs much faster
634         - new dbtool command: ca (copy attributes)
635         - count and display number of times the song has been played
636         - new feature: scoring
637         - command line options for sdl_gui
638         - simpler syntax of streams file
639         - decrease network traffic of stat
640         - fix zombie bug
641         - many small fixes and cleanups
642
643 -------------------
644 0.0.94 (2003-05-04)
645 -------------------
646
647         - new server command: ns (next stream)
648         - new icc_gui command: c (change stream)
649         - internal mp3info
650         - stat shows also id3 tag info
651         - new sdl based gui
652         - log flodding bug fixed
653         - many small fixes and cleanups
654
655 -------------------
656 0.0.93 (2003-03-28)
657 -------------------
658
659         - colors for icc_gui
660         - icc_gui sets volume directly (linux only)
661         - proper locking that fixes some races
662         - fix security bug that caused commands to be executed even
663           with unsufficient permissions
664         - new command: hup to make all servers reread their configuration file
665         - icecast meta data streaming
666         - many small fixes and cleanups