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