]>
git.tue.mpg.de Git - paraslash.git/log
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
Andre [Sat, 24 Jun 2006 17:31:05 +0000 (19:31 +0200)]
gui: fix default stat command
It used the "-t" option of para_audioc which was removed recently.
Andre [Fri, 23 Jun 2006 13:08:37 +0000 (15:08 +0200)]
add -Wshadow to CPPFLAGS
Andre [Fri, 23 Jun 2006 13:04:37 +0000 (15:04 +0200)]
fix gcc warnings on shadowed declarations
Andre [Fri, 23 Jun 2006 08:29:29 +0000 (10:29 +0200)]
fade: wake time defaults to "8 hours from now"
For all those shiftmen
Andre [Thu, 22 Jun 2006 17:35:15 +0000 (19:35 +0200)]
audiod: fix receiver restart delay
The current code started a new receiver node for the current format
only if the receiver_node is NULL for each slot which streams
that format. Since that pointer is only set to NULL _after_ the
writer/filters are closed, audiod did not start the new receiver
early enough.
Fix is simple: Check also the eof field in struct receiver_node.
As we're at it, rename decoder_running() to receiver_running() and
move it straight above its single caller.
As a consequence of this change, the restart_barrier has to be set
already in rn_event_handler() as this is the place where rn->eof is
set to one.
Andre [Thu, 22 Jun 2006 10:53:32 +0000 (12:53 +0200)]
Reformat fade.ggo
Andre [Wed, 21 Jun 2006 22:21:51 +0000 (00:21 +0200)]
client_close(): disable crypt
just in case the fd gets reused.
Andre [Wed, 21 Jun 2006 22:20:20 +0000 (00:20 +0200)]
fix memset bug in enable_crypt()
A high-quality stealth bug. It bites only if enough fds are open, and
the trouble shows up much later. Kill the sucker with pleasure.
Andre [Tue, 20 Jun 2006 21:12:55 +0000 (23:12 +0200)]
fix return value of para_reap_child()
In case of errors, this function returned 0 instead of -E_WAITPID.
Not a serious bug though.
Andre [Tue, 20 Jun 2006 21:10:36 +0000 (23:10 +0200)]
audiod: parse receiver arguments in reverse order
This allows to overwrite the receiver args of the config file by command line
options.
Andre [Sun, 18 Jun 2006 09:41:06 +0000 (11:41 +0200)]
comment out noisy debug messages
Andre [Sat, 17 Jun 2006 09:27:15 +0000 (11:27 +0200)]
fix audiod stream delay
This was known to be broken by the sched conversion. It was also the
last remaining missing feature of the new audiod. Let's beat on it
for a while.
Andre [Fri, 16 Jun 2006 14:46:27 +0000 (16:46 +0200)]
doxygen: Change color of function parameters
It was almost unreadable.
Andre [Fri, 16 Jun 2006 14:36:15 +0000 (16:36 +0200)]
update to doxygen-1.4.7
looks much nicer. This also fixes the problem with gitweb where
tabs in patches were not indented on the web page
Andre [Fri, 16 Jun 2006 11:14:23 +0000 (13:14 +0200)]
fix gcc warning if COMPILE_TIME_LOGLEVEL is non-zero
use the old while(0) trick to avoid "empty body in an if-statement" warnings.
Andre [Thu, 15 Jun 2006 15:16:41 +0000 (17:16 +0200)]
add documentation of struct signal_task
and clean up documentation of struct stat_client as well.
Andre [Thu, 15 Jun 2006 15:01:35 +0000 (17:01 +0200)]
audiod: make signal handling functions static
They are only used in audiod. This might change, but anyway.
Andre [Thu, 15 Jun 2006 14:58:18 +0000 (16:58 +0200)]
doxify client.h
and add documentation for enable_crypt() and enable_crypt().
Andre [Thu, 15 Jun 2006 13:10:53 +0000 (15:10 +0200)]
do not use STDIN as a fd for select
It was a bad idea to do this to speed up scrolling as it confuses ncurses and
got even worse for nonblocking stdin.
Just decrease the select timeout instead.
Andre [Thu, 15 Jun 2006 13:08:40 +0000 (15:08 +0200)]
client_common.c: clean up log messages
Andre [Thu, 15 Jun 2006 12:21:02 +0000 (14:21 +0200)]
update to libortp-0.10.0
Actually, this version of libortp seems to have a bug which causes
the ortp receiver to segfault. Fix seems to be simple and is already
sent out to the linphone mailing list.
Moreover, Simon made msg_to_buf() static ;(
An easy solution to this problem is to provide an own version in
ortp_recv.c.
Andre [Thu, 15 Jun 2006 11:25:37 +0000 (13:25 +0200)]
gui: mark all fds used for select() as non-blocking.
maan [Thu, 15 Jun 2006 10:45:39 +0000 (12:45 +0200)]
Merge branch 'master' into my-osx
Andre [Thu, 15 Jun 2006 10:43:27 +0000 (12:43 +0200)]
integrate para_client into para_audiod
This allows major simplifications:
- get rid of exec.o: para_audiod no longer executes any external
programs
- get rid of close_on_fork.o
- get rid of the sigchld handler.
Andre [Thu, 15 Jun 2006 08:50:38 +0000 (10:50 +0200)]
fix thinko in para_client's para_log()
Andre [Thu, 15 Jun 2006 08:23:20 +0000 (10:23 +0200)]
Fix some format string warnings on Max OS
Trivial %d -> %zd conversions.
maan [Thu, 15 Jun 2006 08:17:41 +0000 (10:17 +0200)]
Merge branch 'master' into my-osx
Andre [Thu, 15 Jun 2006 08:07:53 +0000 (10:07 +0200)]
split client.c
new file: client.h
new file: client_common.c
This completes the preparations for including para_client into para_audiod.
client_common.c contains all functions that are also useful for para_audiod.
Andre [Thu, 15 Jun 2006 06:08:38 +0000 (08:08 +0200)]
audiod clean_exit(): Only check status fd once
The close_stat_pipe() already does this check.
Andre [Thu, 15 Jun 2006 06:06:44 +0000 (08:06 +0200)]
init_tcp_socket: close socket fd on errors
The current code may leak the fd if bind fails, for example. This is
a benign bug however, since all paraslash applications that call
init_tcp_socket() terminate on errors anyway.
But it is no good idea to rely on this, so close the fd on errors.
This patch also gets rid of the do_bind() one-liner which was only
called from init_tcp_socket().
Andre [Wed, 14 Jun 2006 14:34:50 +0000 (16:34 +0200)]
overview.sk: update to 0.2.13
Andre [Tue, 13 Jun 2006 11:45:30 +0000 (13:45 +0200)]
reformat audioc.ggo
for better readability.
Andre [Tue, 13 Jun 2006 11:41:20 +0000 (13:41 +0200)]
audioc: kill unused --timeout option
Andre [Tue, 13 Jun 2006 11:39:23 +0000 (13:39 +0200)]
audioc: Kill debugging output
Andre [Tue, 13 Jun 2006 11:34:38 +0000 (13:34 +0200)]
Make INSTALL, README and README.mysql grutatext-friendly
Andre [Tue, 13 Jun 2006 09:41:28 +0000 (11:41 +0200)]
mark all fds used for select() as non-blocking
This shouldn't matter much, but there _are_ (rare) situations where
an fd is marked ready for reading, but a subsequent read will block
nevertheless. It's never wrong to use non-blocking fds, so just do it.
This patch also includes a check in para_fd_set() which spots blocking
fds as they are added to the fd sets. This check is commented out
for performance reasons but can easily be activated.
Andre [Tue, 13 Jun 2006 04:26:45 +0000 (06:26 +0200)]
get rid of init_shed()
Instead, the first call to register_task initializes the scheduler.
User-friendly. Also, make pre_select_list and post_select_list static.