]>
git.tue.mpg.de Git - paraslash.git/log
Andre [Fri, 5 Jan 2007 17:51:35 +0000 (18:51 +0100)]
filter.c: Make config struct and filter_event_handler() static
Andre [Fri, 5 Jan 2007 17:42:01 +0000 (18:42 +0100)]
recv.c: Make rn_event_handler() static
Andre [Fri, 5 Jan 2007 17:13:23 +0000 (18:13 +0100)]
add signal.h
function declarations have been moved from para.h to signal.h a long time ago.
but signal.h was not added to the git repo. This worked well all the time,
since signal.h wasn't actually used.
Andre [Fri, 5 Jan 2007 16:59:22 +0000 (17:59 +0100)]
net.c: More documentation improvements
Add documentation of struct crypt_data and friends.
Always document the return value if non-void.
Andre [Fri, 5 Jan 2007 16:27:26 +0000 (17:27 +0100)]
net.c: some documentation fixes
Andre [Thu, 4 Jan 2007 15:51:59 +0000 (16:51 +0100)]
command.c: rename send_description() to send_list_of_commands()
Andre [Thu, 4 Jan 2007 15:46:03 +0000 (16:46 +0100)]
command.c: simplify send_description()
Last argument was 0 for both callers. Kill this arg.
Andre [Tue, 2 Jan 2007 23:41:40 +0000 (00:41 +0100)]
remove duplicate prototypes for signal functions
Andre [Tue, 2 Jan 2007 23:15:17 +0000 (00:15 +0100)]
audiod: compute diff of server time and local time correctly
Current code misses to store the signum of the (average)
difference of server time and local time.
Andre Noll [Fri, 22 Dec 2006 11:49:49 +0000 (12:49 +0100)]
Merge ../paraslash.meins/paraslash
Andre Noll [Fri, 22 Dec 2006 11:46:05 +0000 (12:46 +0100)]
ogg_afh.c: include inttypes.h
Some versions of Mac OS seem to need this.
Andre Noll [Fri, 22 Dec 2006 11:44:17 +0000 (12:44 +0100)]
Makefile.in: switch from git-tar-tree to git-archive
as the former is deprecated.
Andre [Fri, 22 Dec 2006 00:26:55 +0000 (01:26 +0100)]
NEWS: update
Andre [Fri, 22 Dec 2006 00:08:38 +0000 (01:08 +0100)]
fix a bug in filter_chain()
Under certain circumstances para_filter failed to write out the last
chunk of audio data due to a bogus eof check triggering. The fix
consists in simply killing that check.
Andre Noll [Tue, 19 Dec 2006 17:30:51 +0000 (18:30 +0100)]
mysql.c: Fix boolean logig bug
Found by davej's findbugs.pl script.
Hard to spot for the human eye.
Andre [Sat, 16 Dec 2006 16:34:05 +0000 (17:34 +0100)]
mp3dec.c: cosmetics
Andre [Thu, 16 Nov 2006 19:08:49 +0000 (20:08 +0100)]
gui.c: clarify wording of reload message
Andre [Thu, 16 Nov 2006 19:08:13 +0000 (20:08 +0100)]
NEWS: mention new features
Andre [Thu, 16 Nov 2006 18:43:29 +0000 (19:43 +0100)]
Merge branch 'in_mem_user_list'
Andre [Sat, 4 Nov 2006 13:59:40 +0000 (14:59 +0100)]
fix handling of corrupt mp3 files
When a recoverable error occured we always returned FRAME_HEADER_SIZE
in mp3dec, which is clearly wrong if the error did not happen in the
first frame.
Fix is not to distinguish between recoverable and unrecoverable
errors which even simplifies the code a bit.
Andre [Wed, 1 Nov 2006 14:16:31 +0000 (15:16 +0100)]
write.c: Make some variables static
Andre [Wed, 1 Nov 2006 14:07:00 +0000 (15:07 +0100)]
reload user list on SIGHUP
Andre [Wed, 1 Nov 2006 13:48:06 +0000 (14:48 +0100)]
Add documentation of para_write
Andre [Wed, 1 Nov 2006 13:20:15 +0000 (14:20 +0100)]
rename get_user() to lookup_user()
Andre [Wed, 1 Nov 2006 13:09:17 +0000 (14:09 +0100)]
move user handling code into seperate functions
They are called user_list.c and user_list.h
Andre [Wed, 1 Nov 2006 12:19:18 +0000 (13:19 +0100)]
move LOAD_PUBLIC_KEY and LOAD_PRIVATE_KEY to crypt.h
and use LOAD_PUBLIC_KEY instead of hardcoding its value in server.c.
Also, add a GPL header to crypt.h
Andre [Wed, 1 Nov 2006 12:14:05 +0000 (13:14 +0100)]
Remove underscores from _get_user(), struct _user and _user_list
As the variants without underscore were removed in the previous patch.
The exception is user_list which contains the name of the config file
containing all users and which is still needed. So rename it to user_list_file.
Andre [Wed, 1 Nov 2006 12:05:54 +0000 (13:05 +0100)]
kill get_user() and struct user
It is unused as it was replaced by the in-memory variants _get_user()
and struct _user.
Andre [Wed, 1 Nov 2006 12:00:58 +0000 (13:00 +0100)]
switch to the in-memory user list
In order to do so, the crypt functions had to be changed so that they
take an rsa key instead of the filename of that key. Also, make _get_user()
return -E_BAD_USER if the user was not found and move the corresponding error
codes from COMMAND_ERRORS to SERVER_ERRORS in error.h.
Andre [Wed, 1 Nov 2006 11:21:30 +0000 (12:21 +0100)]
preparations for user list in memory
The idea is to not lookup the user file/rsa key for
each connection/each buffer to be sent, but to load
it only once on startup.
This patch
* renames list_add to para_list_add, as list_add is
an exported symbol of mysql.h
* makes get_key of crypt.c non-static and renames it to get_rsa_key.
It is used from server.c to load the rsa key.
* introduces struct _user, the new struct to hold user info. It is
meant to replace the current struct user soon.
* Introdoces init_user_list(), populate_user_list() and _get_user()
in server.c. The latter is meant to replace get_user() of command.c
The new functions are not used yet.
Andre Noll [Sun, 15 Oct 2006 16:57:38 +0000 (18:57 +0200)]
new codename, reset version to git
Andre Noll [Sun, 15 Oct 2006 16:55:09 +0000 (18:55 +0200)]
the paraslash-0.2.14 release tarball
Andre Noll [Sun, 15 Oct 2006 16:52:23 +0000 (18:52 +0200)]
paraslash 0.2.14
Andre [Tue, 10 Oct 2006 17:54:47 +0000 (19:54 +0200)]
cosmetics
Andre [Tue, 10 Oct 2006 17:53:31 +0000 (19:53 +0200)]
Merge ../paraslash.fml/paraslash
Andre Noll [Tue, 10 Oct 2006 17:00:04 +0000 (19:00 +0200)]
typo
Andre Noll [Tue, 10 Oct 2006 16:54:15 +0000 (18:54 +0200)]
Makefile.in: kill target web/sync/demo-script
Andre Noll [Tue, 10 Oct 2006 16:35:46 +0000 (18:35 +0200)]
nuke the demo-script
It was broken at least since paraslash-0.2.13. Update the live demo
page accordingly.
Andre Noll [Mon, 9 Oct 2006 12:46:13 +0000 (14:46 +0200)]
osx_write.c: Add doxygen description for struct private_osx_write_data
Andre Noll [Mon, 9 Oct 2006 12:19:36 +0000 (14:19 +0200)]
osx_write.c: Rename 'output' to 'audio_unit', add documentation
Add missing docu of struct private_osx_write_data.
Andre Noll [Mon, 9 Oct 2006 12:03:34 +0000 (14:03 +0200)]
osx_write.c: Kill an unused variable.
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 [Tue, 3 Oct 2006 12:44:30 +0000 (14:44 +0200)]
Merge /home/maan/scm/paraslash.fml/paraslash
Andre [Tue, 3 Oct 2006 12:44:02 +0000 (14:44 +0200)]
fade: add missing <cr> in log message
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.