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