summaryrefslogtreecommitdiff
path: root/ipc.h
diff options
context:
space:
mode:
Diffstat (limited to 'ipc.h')
0 files changed, 0 insertions, 0 deletions
200'>2009-08-21daemon: Don't set the umask to zero.Andre Noll Clearing umask creates more problems that it solves. 2009-08-21Fix two typos in daemon.c.Andre Noll 2009-08-02[filter]: Do filter conversion during post_select.Andre Noll This is more natural and allows to get rid of the hack that forced a minimal timout in case something was converted. 2009-07-25Print an error message if the filter config file contains invalid options.Andre Noll 2009-07-25Teach para_fade to accept a mixer channel to fade.Andre Noll This allows to fade not only the volume channel but all other channels that are supported by oss. 2009-07-20Kill unused para_reap_children().Andre Noll Found by cppcheck. 2009-07-19Fix memory leaks in [alsa,file,oss]write.c.Andre Noll Small and harmless but anyway. 2009-07-18Remove unused label "out".Andre Noll 2009-07-18audiod: Clean up status output.Andre Noll It's a mess. Fortunately, this is much cleaner in 0.4.x.. 2009-07-18audiod: Properly prefix uptime string.Andre Noll The prefix was missing the first time the uptime was printed in the status output. 2009-07-18audiod: Fix some memory leaks in the com_stat() error paths.Andre Noll 2009-07-18Fix a memory leak in filter.c.Andre Noll We must free the filter configs as well. 2009-07-18Fix a typo in the udp_recv help.Andre Noll 2009-07-18Fix memory leaks in xxx_recv_init().Andre Noll Not serious but it's good to make valgrind happy. 2009-07-18Make RSA keys larger than 512 bit work.Andre Noll This allows to use the 2048 bit keys which are necessary for paraslash-0.4.x also for paraslash-0.3.5. 2009-07-11Fix com_init() in case arguments are given.Andre Noll As the ->name field of struct afs_table was only initialized in the afs process, com_init(), which gets forked from the server process, did not see the table names and would segfault due to a NULL pointer dereference if table names were given as arguments. Fix it by initializing the ->name fields in the definition of the afs_tables array. This bug was introduced in commit 53d503ce back in 2007... 2009-07-11Scoring fixes.Andre Noll Rename add_item_score to get_item_score(), properly check its return value, and use the computed score only for admissible files. 2009-07-07fade.c: Fix a gcc warning on FreeBSD.Andre Noll fade.c:220: warning: long unsigned int format, time_t arg (arg 4) 2009-07-05recv/filter: Init loglevel earlier.Andre Noll This avoids that early debug messages are always printed. 2009-07-05Fix a bug in the output of para_audioc.Andre Noll This bites In case of short writes to stdout. The bug was literally there since day one but never showed up as short writes usually don't happen with the rather small amount of data that is written by para_audioc. 2009-07-04INSTALL: Fix the help text on how to create the RSA key pair.Andre Noll Some day, I will write a user-friendly script that generates the keys... 2009-07-04NEWS update.Andre Noll 2009-07-04audioc stat: Remove __a_unused attributes from com_stat().Andre Noll argc and argv _are_ used. 2009-07-04audioc stat: Make status item mask 64 bits wide.Andre Noll We already have more than 32 status items. 2009-06-30Support netmask subsetsGerrit Renker This allows to specify sets of addresses which are defined by sharing the least-common netmask value. For example, if the allow list contains the following addresses: 10.0.0.2/24 10.0.0.2/32 then the second address is redundant since it is already included via the first one. The least-common netmask value is 24; with this patch a command like para_client sender http deny 10.0.0.0/24 will catch both addresses. 2009-06-30Make allow/deny syntax consistent with that of add/deleteGerrit Renker After the changes for the add/delete commands, this patch updates allow/deny to use the same syntax and (almost) the same code. 2009-06-21Update to gengetopt 2.22.2.Andre Noll This introduced a new gcc warning which is fixed by this patch. 2009-06-13Deactivate gcc's strict aliasing optimizations.Andre Noll This causes a lot of warnings which are not easy to fix and probably harmless. So simply disallow gcc to assume the strictest aliasing rules. 2009-06-13Add new ls option -d.Andre Noll This is useful for the conversion script that transforms the afs database to the 0.4 format. 2009-06-05Trivial typo fixes and cosmetic cleanups.Andre Noll 2009-06-03Fix a typo in the audiod man page.Andre Noll Thanks to Gerrit Renker who pointed out the typo. 2009-05-31alsa_write: Avoid EAGAIN.Andre Noll Before writing to the sound device, use snd_pcm_avail_update() to check how many frames alsa will accept and write only that many frames. 2009-05-27Truncate overlong tag info and replace newlines by spaces.Andre Noll The tag info which is computed by the audio format handlers and stored in the audio file table is read into a fixed-size buffer by the audio file selector in open_and_update_audio_file(), passed to the server process and then sent to the client via the stat command. It is not interpreted at all during this process. In particular, it is not essential for correctly streaming the audio file. Vorbis comments and id3v2 tags have no size limit and may contain arbitrary data which may lead to the following twi problems: - As noted by Gerrit Renker, if the tag info is too long to fit into the fixed-size buffer, the current code skips the audio file and removes it from the list of currently admissible files. So para_server fails to stream such files. - If the tag info contains newlines, these are included verbatim in the status output which may confuse para_audiod. This patch truncates the tag info string if it does not fit into the 4K buffer and replaces newlines by spaces. This is a bit ugly but avoids both of the above problems. It's still possible to retrieve the complete tag info via the "ls -lv" command. 2009-05-26aft: Reorganize make_status_items().Andre Noll It's cleaner to allocate the struct ls_data within make_status_items(). 2009-05-26Fix build on MacOs.Andre Noll The changes to write.h broke the osx writer. The fix is trivial though. 2009-05-25aft: Make make_status_items() static.Andre Noll Move its single caller, open_and_update_audio_file(), below make_status_items and get rid of the declaration in afs.h. 2009-05-17Kill some semicolons outside function definitions.Andre Noll 2009-05-14struct writer_node: Store the number of the writer rather than a pointer.Andre Noll This makes it easier to get the name of the writer from the writer_node struct. 2009-05-11Fix a gcc warning on x86_64.Andre Noll 2009-05-10Fix a copy-and-paste typo in the udp sender.Andre Noll 2009-05-10Fix the --log_color option of para_server and para_audiod.Andre Noll 2009-05-10rbtree: Add const qualifier to some functions.Andre Noll The 'rb_first()', 'rb_last()', 'rb_next()' and 'rb_prev()' calls take a pointer to an RB node or RB root. They do not change the pointed objects, so add a 'const' qualifier. See commit f4b477c47332367d35686bd2b808c2156b96d7c7 in the linux source tree. 2009-05-10Add some missing source code documentation.Andre Noll