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