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