]>
git.tue.mpg.de Git - paraslash.git/log
Andre Noll [Sun, 8 Oct 2006 21:31:05 +0000 (23:31 +0200)]
fix two bugs concerning blocking fds
para_server's command socked and the socket of the http_sender
were blocking file descriptors. So make them non-blocking.
Andre Noll [Sun, 1 Oct 2006 20:11:25 +0000 (22:11 +0200)]
add --with-oggvorbis-libs and --with-oggvorbis-headers options for configure
Also, reset the LIBS variable after each test.
Andre [Sat, 30 Sep 2006 19:44:23 +0000 (21:44 +0200)]
Merge /home/maan/scm/paraslash.fml/paraslash
Andre [Sat, 30 Sep 2006 19:28:09 +0000 (21:28 +0200)]
para_server: New command line option: --autoplay_delay
Useful together with para_audiod's new --clock_diff_count option.
Andre [Sat, 30 Sep 2006 19:17:23 +0000 (21:17 +0200)]
introduce para_fgets(), a wrapper for fgets()
stdio sucks badly. The only serious user of fgets() is para_server's
get_user() function. So make it use the wrapper and simplify it as
we're at it.
Andre Noll [Fri, 29 Sep 2006 15:13:09 +0000 (17:13 +0200)]
Merge commit /fml/ag-raetsch/home/maan/tmp/paraslash_meins/paraslash/ of HEAD
Andre Noll [Fri, 29 Sep 2006 15:03:16 +0000 (17:03 +0200)]
index.in.html: fix typo (2006 instead of 2007)
noted by Sebastian Stark.
Andre [Thu, 28 Sep 2006 17:54:41 +0000 (19:54 +0200)]
Merge ../paraslash.fml/paraslash
Andre [Mon, 25 Sep 2006 18:53:00 +0000 (20:53 +0200)]
configure.ac: print optional executables in configuration output
Andre [Mon, 25 Sep 2006 18:35:12 +0000 (20:35 +0200)]
configure.ac: fix para_slider configuration
It depends on GLIB, so add a check for GLIB that was removed
long ago as ortp dropped glib.
Andre [Sun, 24 Sep 2006 09:26:31 +0000 (11:26 +0200)]
new audiod option: clock_diff_count
Andre [Thu, 21 Sep 2006 19:22:52 +0000 (21:22 +0200)]
audiod struct status_task documentation update
Andre [Wed, 20 Sep 2006 18:14:02 +0000 (20:14 +0200)]
width adjustments for the colorful blackness theme
Andre Noll [Tue, 19 Sep 2006 11:42:32 +0000 (13:42 +0200)]
add documentation for struct osx_buffer
Andre [Sat, 16 Sep 2006 22:01:31 +0000 (00:01 +0200)]
daemon.c: para_drop_privileges: kill duplicate call to setuid()
Also add missing documentation of the parameters of this function.
Andre [Tue, 12 Sep 2006 20:49:32 +0000 (22:49 +0200)]
colorful blackness gui theme: adjust field with for 80 chars terminals
Andre [Mon, 11 Sep 2006 22:57:10 +0000 (00:57 +0200)]
robustness fixes for the random selector
- do not abort if stat for an audio file failed. Simply skip this file
instead.
- return proper error message if custom function failed.
- do not error out if the second scan for audio files yields more
files than the previous run. This happens if audio files are
added during the audio file scan of the random selector.
Andre Noll [Sat, 9 Sep 2006 16:04:49 +0000 (18:04 +0200)]
NEWS update
Andre Noll [Sat, 9 Sep 2006 16:02:53 +0000 (18:02 +0200)]
audiod: Make audio_formats[] dynamic
It should only contain those audio formats that are actually supported
by audiod.
Andre Noll [Thu, 31 Aug 2006 20:46:22 +0000 (22:46 +0200)]
audiod: fix enum of supported audio formats
Up to paraslash-0.2.12, audiod always supported every audio format since one
could use an external decoder and player as the stream write command. With the
single threaded audiod of 0.2.13 this is no longer possible, so make the enum
of supported audio formats dynamic, i.e. it only consists of those formats
for which suitable libs were found at compile time by configure.
Andre Noll [Thu, 31 Aug 2006 20:05:40 +0000 (22:05 +0200)]
NEWS update
Andre Noll [Thu, 31 Aug 2006 20:04:57 +0000 (22:04 +0200)]
Makefile.in: Use new @ortp_cppflags@
Andre Noll [Thu, 31 Aug 2006 20:03:34 +0000 (22:03 +0200)]
osx_write.ggo: change default number of buffers from 3 to 5
with 3 buffers there were still audible clips
Andre Noll [Thu, 31 Aug 2006 20:01:26 +0000 (22:01 +0200)]
ortp_send.c: fix to gcc signedness warnings
Andre Noll [Thu, 31 Aug 2006 20:00:21 +0000 (22:00 +0200)]
major autoconf update
- switch from AC_ARG_ENABLE to AC_ARG_WITH
- set/unset CPPFLAGS and LDFLAGS for each test separately
- make location of ortp headers/libs configurable, nuke --disable-ortp
Andre Noll [Thu, 31 Aug 2006 19:55:36 +0000 (21:55 +0200)]
audiod.ggo: Update filter help text
The wav filter is no longer needed for audiod.
Andre Noll [Mon, 28 Aug 2006 20:12:49 +0000 (22:12 +0200)]
FEATURES update
the filter output is no longer sent to an external program.
Andre Noll [Mon, 28 Aug 2006 19:59:51 +0000 (21:59 +0200)]
Do not build audiod if no audio formats are supported
Also, nicify the summary output of configure
Andre Noll [Mon, 28 Aug 2006 18:54:15 +0000 (20:54 +0200)]
README: small update
mention the name of the debian openssl package and update ogg
vorbis doku.
Andre Noll [Thu, 24 Aug 2006 18:58:33 +0000 (20:58 +0200)]
osx_write: make number of buffers configurable
Two buffers seems to be too less for mp3.
Andre Noll [Thu, 24 Aug 2006 18:29:08 +0000 (20:29 +0200)]
osx_write.c: Kill the typedef for struct osx_buffer
Typedefs are evil.
Andre Noll [Thu, 24 Aug 2006 18:26:10 +0000 (20:26 +0200)]
osx_write.c: Kill an unused variable
Andre Noll [Wed, 23 Aug 2006 18:38:15 +0000 (20:38 +0200)]
tv_divide(): Check for division by zero
Andre Noll [Wed, 23 Aug 2006 18:37:07 +0000 (20:37 +0200)]
osx_write.c: fix pre_select()
The old code was just a quick hack. Good enough for para_write, but
it had no chance to work for para_audiod. Fix it by looking at the
number of bytes left in the current from buffer and calculating the
delay accordingly.
Andre Noll [Wed, 23 Aug 2006 10:26:18 +0000 (12:26 +0200)]
osx_write.c: Use realloc() instead of free() and malloc()
Also, kill a silly comment.
Andre Noll [Wed, 23 Aug 2006 10:19:13 +0000 (12:19 +0200)]
osx_write.c: trivial simplifications
(a) Kill an outdated comment
(b) free(NULL) is okay
Andre Noll [Sun, 20 Aug 2006 18:14:09 +0000 (20:14 +0200)]
NEWS: Document the changes of the configure command line options
Andre Noll [Sun, 20 Aug 2006 18:02:36 +0000 (20:02 +0200)]
configure.ac: Replace AC_ARG_ENABLE by AC_ARG_WITH
for faad, mad, and mysql as this seems to be more natural.
Andre Noll [Sun, 20 Aug 2006 17:01:11 +0000 (19:01 +0200)]
Fix the alsa writer
The previous patch broke compilation of alsa_write.c badly.
Fix is rather large but obvious.
Andre Noll [Sun, 20 Aug 2006 16:52:34 +0000 (18:52 +0200)]
rename xxx_writer.c to xxx_write.c
Just to be consistent..
Andre Noll [Sun, 20 Aug 2006 16:07:27 +0000 (18:07 +0200)]
osx_write: Kill superfluous NULL-pointer check.
Andre Noll [Sun, 20 Aug 2006 16:04:25 +0000 (18:04 +0200)]
update the download webpage.
The snapshot is no longer generated nightly, but only if the author feels
lucky, like today :)
Andre Noll [Sun, 20 Aug 2006 16:01:59 +0000 (18:01 +0200)]
Kill dummy ucred struct
If unix socked credentials are availabe, this code is #ifdef'd out. If it isn't
available (eg. Mac OS) it is unused.
Andre Noll [Sun, 20 Aug 2006 15:26:34 +0000 (17:26 +0200)]
Add UNIT_START errno
The old code returned -1 which is a bug.
Andre Noll [Sun, 20 Aug 2006 15:22:18 +0000 (17:22 +0200)]
Add the mosx Authors to CREDITS
Andre Noll [Sun, 20 Aug 2006 15:12:35 +0000 (17:12 +0200)]
osx_write: kill superfluous semaphore code
Andre Noll [Sun, 20 Aug 2006 13:55:28 +0000 (15:55 +0200)]
osx_write: fix mono streams
The old code had a hardcoded channels count of two. Use the value from the
command line or the writer node group information instead.
Andre Noll [Sun, 20 Aug 2006 13:49:36 +0000 (15:49 +0200)]
osx_write: decrypt format settings.
What a sick kind of programming that was. Change it to readable,
but equivalent, code.
Andre Noll [Sun, 20 Aug 2006 13:42:01 +0000 (15:42 +0200)]
make osx_write work for any bitrate
44100Hz was hardcoded which is sad. Use the information from the command line
or the writer node group if available.
Also add a channels count option for future use.
Andre Noll [Sun, 20 Aug 2006 13:24:33 +0000 (15:24 +0200)]
simplify osx_write_post_select()
we either use the full buffer or leave it untouched. So wn->written is always zero
or wn->loaded.
Andre Noll [Sun, 13 Aug 2006 16:58:46 +0000 (18:58 +0200)]
simplify osx_write_pre_select()
Andre Noll [Sun, 13 Aug 2006 13:38:19 +0000 (15:38 +0200)]
configure.ac: Require autoconf-2.60
The datarootdir thing really needs this.
Andre Noll [Sun, 13 Aug 2006 13:17:33 +0000 (15:17 +0200)]
don't abort instal for non-root users
It's not fatal if the audiod socket directory /var/paraslash
can not be created. Just ignore errors for that directory only.
Andre Noll [Sun, 13 Aug 2006 12:15:58 +0000 (14:15 +0200)]
update NEWS
Andre Noll [Sun, 13 Aug 2006 12:11:24 +0000 (14:11 +0200)]
configure.ac: Check also for gkrellm header
and do not try to build para_krell if it gkrellm.h could not be found.
Andre Noll [Sun, 13 Aug 2006 11:59:55 +0000 (13:59 +0200)]
configure: add command line options for libmad
like for libfaad: --enable-mad-libs and --enable-mad-headers
Andre Noll [Fri, 11 Aug 2006 15:40:03 +0000 (17:40 +0200)]
osx_writer: swap bytes.
This finally makes the damn thing work. Requires some more cleanups though.
Andre Noll [Fri, 11 Aug 2006 15:01:36 +0000 (17:01 +0200)]
Merge /fml/ag-raetsch/home/maan/scm/paraslash/ into my-osx
Andre Noll [Fri, 11 Aug 2006 15:01:29 +0000 (17:01 +0200)]
fix conflict
Andre Noll [Thu, 3 Aug 2006 08:59:04 +0000 (10:59 +0200)]
make para_accept() more robust
by checking for EINTR and restarting the accept() system call if neccessary.
Andre Noll [Thu, 27 Jul 2006 17:21:49 +0000 (19:21 +0200)]
fix two trivial compile warnings on x86_64
Andre Noll [Wed, 19 Jul 2006 15:39:21 +0000 (17:39 +0200)]
configure.ac: do not check for malloc.h
The malloc function prototypes are contained in stdlib.h on MAC OS.
Andre [Fri, 14 Jul 2006 15:18:44 +0000 (17:18 +0200)]
typo
Andre [Fri, 14 Jul 2006 14:42:21 +0000 (16:42 +0200)]
new codename, reset version to git
Andre [Fri, 14 Jul 2006 14:37:44 +0000 (16:37 +0200)]
the paraslash-0.2.13 release tarball
Andre [Fri, 14 Jul 2006 14:36:15 +0000 (16:36 +0200)]
paraslash 0.2.13
Andre [Fri, 14 Jul 2006 14:11:24 +0000 (16:11 +0200)]
the osx writer has to wait for the next version..
Andre [Fri, 14 Jul 2006 11:57:26 +0000 (13:57 +0200)]
avoid gcc warning message
afs.c:291: warning: declaration of `log' shadows a global declaration
Andre [Thu, 13 Jul 2006 14:00:57 +0000 (16:00 +0200)]
gui: fix command abort
Always kill the the child process if user aborts.
Andre [Thu, 13 Jul 2006 11:51:32 +0000 (13:51 +0200)]
audiod: introduce last_status_read, kill af_status
For additional robustness, let's remember the time we received the last
status message from para_server. This allows to close the connection
after 60 seconds as para_server sends at least one message per minute.
Kill af_status: We store all status items in
stat_task->stat_item_values[] anyway. No need to duplicate this
information.
Andre [Thu, 13 Jul 2006 11:24:52 +0000 (13:24 +0200)]
trivial format string fix in dccp_send
maan [Thu, 13 Jul 2006 10:41:40 +0000 (12:41 +0200)]
Merge branch 'master' into my-osx
Andre [Wed, 12 Jul 2006 17:39:31 +0000 (19:39 +0200)]
para_decrypt_challenge(): write terminating 0 byte
As we do a sscanf() on the buffer. Noted by valgrind.
Andre [Wed, 12 Jul 2006 15:16:08 +0000 (17:16 +0200)]
Fix two fd leaks
Andre [Tue, 11 Jul 2006 12:50:36 +0000 (14:50 +0200)]
com_stat: abort on server crashes
Currently, if para_server gets killed by SIGKILL, its status clients
happily move on and announce the most current stream. This causes
audiod to restart the receivers in an endless loop. It's better to
close the connection from within com_stat() if the parent pid equals
one (which indicates that para_server has crashed).
Andre [Tue, 11 Jul 2006 10:37:14 +0000 (12:37 +0200)]
mysql_selector: improve com_mv()
Make it work in case basename(src) == basename(dest)
Andre [Sat, 8 Jul 2006 16:52:20 +0000 (18:52 +0200)]
dbadm: supress writing to stdout while curses is active
Andre [Sat, 8 Jul 2006 02:17:09 +0000 (04:17 +0200)]
Simpify client_post_select()
send_bin_buffer() can only return zero if passed a zero length arg
which is impossible at this point.
Andre [Sat, 8 Jul 2006 02:14:27 +0000 (04:14 +0200)]
stdout.c: Brown paper bag fix
Andre [Fri, 7 Jul 2006 15:28:21 +0000 (17:28 +0200)]
dccp_send: Retry on EAGAIN
Not nice, but fixes oggvorbis over dccp.
Andre [Fri, 7 Jul 2006 13:36:55 +0000 (15:36 +0200)]
write_ok(): Always reset the select timeout
Andre [Fri, 7 Jul 2006 13:35:31 +0000 (15:35 +0200)]
dccp_send: set IP_MULTICAST_LOOP for the ortp socket
This fixes sending to localhost.
Andre [Fri, 7 Jul 2006 13:27:57 +0000 (15:27 +0200)]
ortp_recv: Set remote address
This avoids a ortp warning message
Andre [Tue, 4 Jul 2006 12:18:30 +0000 (14:18 +0200)]
mysql selector: Always check return value of escape_str()
Andre [Mon, 3 Jul 2006 01:33:47 +0000 (03:33 +0200)]
improve and clean up audiod_status_dump()
Currently, no status is printed if audiod is off. This is suboptimal
as the _audiod_ status items should be sent in any case. This patch also
- gets rid of some static variables in audiod_status_dump()
- improves readability of audiod_status_dump()
- moves dump_empty_status() from stat.c to audiod_command.c
Andre [Mon, 3 Jul 2006 00:30:12 +0000 (02:30 +0200)]
audiod: always dump the audio status
Andre [Sun, 2 Jul 2006 16:52:58 +0000 (18:52 +0200)]
recv.c: Fix receiver node eof handling
Andre [Sun, 2 Jul 2006 16:48:52 +0000 (18:48 +0200)]
Trivial SFont cleanup
Andre [Sun, 2 Jul 2006 15:26:47 +0000 (17:26 +0200)]
Makefile.in: Fix definition of PKGDATADIR
The thing is called datarootdir, rather than datadir.
Andre [Sun, 2 Jul 2006 15:25:37 +0000 (17:25 +0200)]
sdl_gui.ggo: update stat command
The -t option of para_audioc was removed some time ago, so do not
use it in the default stat_command.
Andre [Sun, 2 Jul 2006 15:24:10 +0000 (17:24 +0200)]
Fix core dump on audiod pipe errors
if (fd < 0)
close(fd);
is a really bad idea..
Andre [Sun, 2 Jul 2006 14:44:29 +0000 (16:44 +0200)]
compress filter: decrease default target signal level
Andre [Wed, 28 Jun 2006 17:38:42 +0000 (19:38 +0200)]
client: do not ignore startup log messages
If an error occurs before the private_client_data struct is initialized,
the error message is silently ignored. Fix it by always printing the
log message if the struct pointer is NULL.
Andre [Wed, 28 Jun 2006 13:23:47 +0000 (15:23 +0200)]
fix some doxygen warnings
These were introduced by the addition of -Wshadow.
Andre [Wed, 28 Jun 2006 13:02:39 +0000 (15:02 +0200)]
get rid of -DVERSION
It's identical to PACKAGE_VERSION, so use PACKAGE_VERSION in the
C Code and get rid of the preprocessor define.
Andre [Wed, 28 Jun 2006 12:51:50 +0000 (14:51 +0200)]
configure.ac: Small cleanup
Andre [Wed, 28 Jun 2006 12:45:14 +0000 (14:45 +0200)]
update to autoconf-2.60
use "datarootdir" instead of hardcoding /usr/local/share.
This also avoids a warning from the new autoconf about not using
"datarootdir".
Andre [Sun, 25 Jun 2006 14:07:40 +0000 (16:07 +0200)]
Don't exit if there are no more empty slots
Though this is considered a serious error, it's not fatal. Just try
again one second later.
Andre [Sun, 25 Jun 2006 14:06:27 +0000 (16:06 +0200)]
aac: add "mp4" to suffixes for guess_audio_format()
maan [Sat, 24 Jun 2006 22:34:47 +0000 (00:34 +0200)]
Merge branch 'master' into my-osx