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