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