]> git.tue.mpg.de Git - paraslash.git/log
paraslash.git
17 years agoNEWS Update.
Andre Noll [Wed, 31 Oct 2007 00:10:51 +0000 (01:10 +0100)]
NEWS Update.

17 years agoMakefile.in: Re-add skencil targets.
Andre Noll [Wed, 31 Oct 2007 00:09:51 +0000 (01:09 +0100)]
Makefile.in: Re-add skencil targets.

17 years agovss.c: Avoid strcpy() to a fixed-size buffer.
Andre Noll [Wed, 31 Oct 2007 00:07:16 +0000 (01:07 +0100)]
vss.c: Avoid strcpy() to a fixed-size buffer.

17 years agoSave also the end of file time value of the afh_info to disk.
Andre Noll [Wed, 31 Oct 2007 00:00:51 +0000 (01:00 +0100)]
Save also the end of file time value of the afh_info to disk.

Unfortunately, this breaks the layout of the aft. Fortunately,
we're still in pre-0.3, so that's acceptable.

17 years agoDoxyfile: Change web sync directory.
Andre Noll [Mon, 29 Oct 2007 13:43:15 +0000 (14:43 +0100)]
Doxyfile: Change web sync directory.

17 years agopara.css: Increase font size.
Andre Noll [Mon, 29 Oct 2007 13:42:29 +0000 (14:42 +0100)]
para.css: Increase font size.

17 years agoFix a typo in links to man pages.
Andre Noll [Mon, 29 Oct 2007 13:41:45 +0000 (14:41 +0100)]
Fix a typo in links to man pages.

17 years agoAdd web_sync to .gitignore.
Andre Noll [Mon, 29 Oct 2007 13:41:04 +0000 (14:41 +0100)]
Add web_sync to .gitignore.

17 years agoMakefile.in: Get rid of web-related targets and variables.
Andre Noll [Mon, 29 Oct 2007 13:40:46 +0000 (14:40 +0100)]
Makefile.in: Get rid of web-related targets and variables.

This is now handled by a shell script.

17 years agopara.css: Get rid of the old gitweb stuff.
Andre Noll [Mon, 29 Oct 2007 13:36:53 +0000 (14:36 +0100)]
para.css: Get rid of the old gitweb stuff.

17 years agokill dulpicate instance of para_random().
Andre Noll [Sun, 28 Oct 2007 02:42:48 +0000 (03:42 +0100)]
kill dulpicate instance of para_random().

17 years agoFix playlist handling.
Andre Noll [Sun, 28 Oct 2007 02:18:52 +0000 (03:18 +0100)]
Fix playlist handling.

The playlist code didn't act upon AFSI change which is the event
that happens when a file is selected for streaming. So call
playlist_update_audio_file() whenever this event occurs.

17 years agomake playlist_update_audio_file() static.
Andre Noll [Sun, 28 Oct 2007 01:59:22 +0000 (02:59 +0100)]
make playlist_update_audio_file() static.

17 years agovss.c recv_afs_msg(): Set cmsg only once.
Andre Noll [Sun, 28 Oct 2007 01:52:08 +0000 (02:52 +0100)]
vss.c recv_afs_msg(): Set cmsg only once.

17 years agovss.c: Documentation cleanup.
Andre Noll [Sun, 28 Oct 2007 01:41:54 +0000 (02:41 +0100)]
vss.c: Documentation cleanup.

17 years agoAdd doxygen comments for various structs.
Andre Noll [Fri, 26 Oct 2007 15:26:04 +0000 (17:26 +0200)]
Add doxygen comments for various structs.

17 years agoNEWS: Mention para_fsck.
Andre Noll [Fri, 26 Oct 2007 15:25:25 +0000 (17:25 +0200)]
NEWS: Mention para_fsck.

17 years agocosmetics.
Andre Noll [Fri, 26 Oct 2007 13:23:51 +0000 (15:23 +0200)]
cosmetics.

17 years agoIntroduce signal_shutdown().
Andre Noll [Fri, 26 Oct 2007 13:22:58 +0000 (15:22 +0200)]
Introduce signal_shutdown().

It allows para_server to close the write end of the signal pipe
before afs is started.

17 years agoserver.c: Add more fds to the close on ofork list.
Andre Noll [Fri, 26 Oct 2007 13:20:08 +0000 (15:20 +0200)]
server.c: Add more fds to the close on ofork list.

17 years agoSet more file descriptors to non-blocking mode.
Andre Noll [Fri, 26 Oct 2007 13:18:31 +0000 (15:18 +0200)]
Set more file descriptors  to non-blocking mode.

17 years agoafs.c: Avoid strcpy to a fixed size buffer.
Andre Noll [Fri, 26 Oct 2007 13:15:58 +0000 (15:15 +0200)]
afs.c: Avoid strcpy to a fixed size buffer.

17 years agonet.c: Add missing newline in debaug message.
Andre Noll [Fri, 26 Oct 2007 13:09:26 +0000 (15:09 +0200)]
net.c: Add missing newline in debaug message.

17 years agofade.ggo: Fix description of default wake hour.
Andre Noll [Fri, 26 Oct 2007 13:07:52 +0000 (15:07 +0200)]
fade.ggo: Fix description of default wake hour.

17 years agoMore Documentation improvments.
Andre Noll [Fri, 26 Oct 2007 01:58:21 +0000 (03:58 +0200)]
More Documentation improvments.

17 years agoRename instances of struct afh_info from "afi" to "afhi".
Andre Noll [Fri, 26 Oct 2007 00:54:17 +0000 (02:54 +0200)]
Rename instances of struct afh_info from "afi" to "afhi".

17 years agoFix a bug in the mood line parser.
Andre Noll [Fri, 26 Oct 2007 00:21:35 +0000 (02:21 +0200)]
Fix a bug in the mood line parser.

The old code wouldn't work if the "if" keyword was not given.

17 years agoMake para_fade use the new afs.
Andre Noll [Thu, 25 Oct 2007 23:28:55 +0000 (01:28 +0200)]
Make para_fade use the new afs.

17 years agoRename struct audio_format_info to afh_info.
Andre Noll [Thu, 25 Oct 2007 22:44:07 +0000 (00:44 +0200)]
Rename struct audio_format_info to afh_info.

17 years agologlevel adjustments.
Andre Noll [Thu, 25 Oct 2007 22:01:33 +0000 (00:01 +0200)]
loglevel adjustments.

17 years agoNEWS: Mention that paraslash is supposed to compile also on
Andre Noll [Thu, 25 Oct 2007 22:00:40 +0000 (00:00 +0200)]
NEWS: Mention that paraslash is supposed to compile also on
Solaris and FreeBSD.

17 years agogui.c: Don't ignore SIGPIPE.
Andre Noll [Thu, 25 Oct 2007 21:59:52 +0000 (23:59 +0200)]
gui.c: Don't ignore SIGPIPE.

The programs that are executed by para_gui likely depend on
SIGPIPE having its default action.

17 years agoserver.cmd: Cosmetics.
Andre Noll [Thu, 25 Oct 2007 21:11:58 +0000 (23:11 +0200)]
server.cmd: Cosmetics.

17 years agoMinor correctioons to the doxygen main page.
Andre Noll [Thu, 25 Oct 2007 20:48:13 +0000 (22:48 +0200)]
Minor correctioons to the doxygen main page.

17 years agoINSTALL: Add two links to related information.
Andre Noll [Thu, 25 Oct 2007 20:47:35 +0000 (22:47 +0200)]
INSTALL: Add two links to related information.

17 years agoMake man pages for the web site use para.css.
Andre Noll [Thu, 25 Oct 2007 20:46:57 +0000 (22:46 +0200)]
Make man pages for the web site use para.css.

17 years agoRemove links to old screenshots.
Andre Noll [Thu, 25 Oct 2007 20:45:05 +0000 (22:45 +0200)]
Remove links to old screenshots.

17 years agoMore documentation updates.
Andre Noll [Thu, 25 Oct 2007 18:46:25 +0000 (20:46 +0200)]
More documentation updates.

17 years agoSmall cleanups and documentation improvements.
Andre Noll [Thu, 25 Oct 2007 17:30:00 +0000 (19:30 +0200)]
Small cleanups and documentation improvements.

17 years agoafs.h: Add doxygen comments for enum afs_events and struct afs_table.
Andre Noll [Thu, 25 Oct 2007 17:28:34 +0000 (19:28 +0200)]
afs.h: Add doxygen comments for enum afs_events and struct afs_table.

17 years agoDocumentation update and re-ordering.
Andre Noll [Thu, 25 Oct 2007 17:25:32 +0000 (19:25 +0200)]
Documentation update and re-ordering.

17 years agooverview.sk: Update to 0.3.0.
Andre Noll [Thu, 25 Oct 2007 16:52:30 +0000 (18:52 +0200)]
overview.sk: Update to 0.3.0.

17 years agoINSTALL: Replace "congiure" by "./configure".
Andre Noll [Thu, 25 Oct 2007 16:46:54 +0000 (18:46 +0200)]
INSTALL: Replace "congiure" by "./configure".

17 years agoUpdate overview.sk to v0.3.
Andre Noll [Thu, 25 Oct 2007 03:22:17 +0000 (05:22 +0200)]
Update overview.sk to v0.3.

17 years agoDoxygen fixes.
Andre Noll [Wed, 24 Oct 2007 23:44:51 +0000 (01:44 +0200)]
Doxygen fixes.

17 years agoafs.cmd: cosmetics.
Andre Noll [Wed, 24 Oct 2007 21:22:21 +0000 (23:22 +0200)]
afs.cmd: cosmetics.

17 years agocommand_util.sh: Don't replace newlines by spaces.
Andre Noll [Wed, 24 Oct 2007 21:21:47 +0000 (23:21 +0200)]
command_util.sh: Don't replace newlines by spaces.

17 years agoafs.cmd: Improve description of blob commands.
Andre Noll [Wed, 24 Oct 2007 20:45:36 +0000 (22:45 +0200)]
afs.cmd: Improve description of blob commands.

17 years agoaft.c: Separate attribute bitmap and attribute text.
Andre Noll [Wed, 24 Oct 2007 19:13:50 +0000 (21:13 +0200)]
aft.c: Separate attribute bitmap and attribute text.

17 years agovss.c: Kill noisy debug message.
Andre Noll [Wed, 24 Oct 2007 15:32:35 +0000 (17:32 +0200)]
vss.c: Kill noisy debug message.

17 years agocom_touch: Only print error message on errors.
Andre Noll [Wed, 24 Oct 2007 15:29:07 +0000 (17:29 +0200)]
com_touch: Only print error message on errors.

17 years agoReset afd fields on eof.
Andre Noll [Wed, 24 Oct 2007 13:02:51 +0000 (15:02 +0200)]
Reset afd fields on eof.

Don't print stale status info when stopped.

17 years agoafs.c: Restore the current mood or playlist on SIGHUP.
Andre Noll [Wed, 24 Oct 2007 12:39:24 +0000 (14:39 +0200)]
afs.c: Restore the current mood or playlist on SIGHUP.

17 years agoafs.c execute_server_command(): Improve log message.
Andre Noll [Wed, 24 Oct 2007 12:38:14 +0000 (14:38 +0200)]
afs.c execute_server_command(): Improve log message.

17 years agoSimplify init_admissible_files().
Andre Noll [Wed, 24 Oct 2007 12:37:27 +0000 (14:37 +0200)]
Simplify init_admissible_files().

It now takes an arg containing the mood or playlist
to be initialized.

17 years agoafs: Increase default sched timount.
Andre Noll [Wed, 24 Oct 2007 12:12:11 +0000 (14:12 +0200)]
afs: Increase default sched timount.

1 second is fine.

17 years agoFix a use-after-free bug in para_server.
Andre Noll [Wed, 24 Oct 2007 12:00:30 +0000 (14:00 +0200)]
Fix a use-after-free bug in para_server.

This bug bites on SIGHUP if a config file was specified at the command line.

17 years agoLet afs die if para_server dies.
Andre Noll [Wed, 24 Oct 2007 11:58:13 +0000 (13:58 +0200)]
Let afs die if para_server dies.

17 years agoafs.c: Fix open_afs_tables().
Andre Noll [Wed, 24 Oct 2007 10:49:16 +0000 (12:49 +0200)]
afs.c: Fix open_afs_tables().

The old code tried to close the table we just failed to open.
We just want to close all tables that were opened successfully
before the failed one.

17 years agoAdd missing initialization of table pointer in blob_init().
Andre Noll [Wed, 24 Oct 2007 10:47:09 +0000 (12:47 +0200)]
Add missing initialization of table pointer in blob_init().

17 years agoGet rid of mmd->filename.
Andre Noll [Tue, 23 Oct 2007 21:36:40 +0000 (23:36 +0200)]
Get rid of mmd->filename.

The info is also contained in afd, but this was a pointer to data in
the shared memory area. We must copy into the static mmd buffer anyway,
since com_stat() must be able to see it. So make afd.path a static
array rather than a pointer and use afd->path instead of mmd->filename.
This simplifies save_afd() and load_afd() a bit since now only the
chunk table is of variable length.

17 years agoAdd LYRICS_ID status item.
Andre Noll [Tue, 23 Oct 2007 21:05:05 +0000 (23:05 +0200)]
Add LYRICS_ID status item.

17 years agoReplace status item SELECTOR by IMAGE_ID.
Andre Noll [Tue, 23 Oct 2007 20:50:37 +0000 (22:50 +0200)]
Replace status item SELECTOR by IMAGE_ID.

17 years agoReplace status item DBINFO3 by DIRECTORY.
Andre Noll [Tue, 23 Oct 2007 20:37:59 +0000 (22:37 +0200)]
Replace status item DBINFO3 by DIRECTORY.

17 years agostat.c: Fix a typo.
Andre Noll [Tue, 23 Oct 2007 20:23:36 +0000 (22:23 +0200)]
stat.c: Fix a typo.

17 years agoReplace status item STATUS_BAR to BASENAME.
Andre Noll [Tue, 23 Oct 2007 20:20:36 +0000 (22:20 +0200)]
Replace status item STATUS_BAR to BASENAME.

as this is what it actually contains.

17 years agoReplace status item DBINFO2 by ATTRIBUTES.
Andre Noll [Tue, 23 Oct 2007 20:06:51 +0000 (22:06 +0200)]
Replace status item DBINFO2 by ATTRIBUTES.

17 years agoKill mmd->selector_change.
Andre Noll [Tue, 23 Oct 2007 18:36:20 +0000 (20:36 +0200)]
Kill mmd->selector_change.

There are no more selectors to choose. It's all handled by afs.

17 years agoGet rid of mmd->audio_format.
Andre Noll [Tue, 23 Oct 2007 18:30:42 +0000 (20:30 +0200)]
Get rid of mmd->audio_format.

The current audio format is also stored in mmd->afd.afsi.audio_format_id,
so use the value stored there. However, most users of mmd->audio_format
used this value only to detect whether an audio file is open ATM. In
vss.c, use the map pointer instead to find out whether an audio file is
open.

17 years agoGet rid of mmd->afi.
Andre Noll [Tue, 23 Oct 2007 17:56:44 +0000 (19:56 +0200)]
Get rid of mmd->afi.

It was only a copy of mmd->afd.afhi, so make all users use the
latter directly.

17 years agoRemove com_sb and com_sc.
Andre Noll [Tue, 23 Oct 2007 17:38:47 +0000 (19:38 +0200)]
Remove com_sb and com_sc.

Nobody used com_sb and com_sc was only used by para_krell.

17 years agoremove README.mysql.
Andre Noll [Tue, 23 Oct 2007 17:07:21 +0000 (19:07 +0200)]
remove README.mysql.

17 years agoREADME/INSTALL/FEATURES cleanup.
Andre Noll [Tue, 23 Oct 2007 17:06:52 +0000 (19:06 +0200)]
README/INSTALL/FEATURES cleanup.

17 years agoMark some unused variables as such.
Andre Noll [Tue, 23 Oct 2007 16:36:12 +0000 (18:36 +0200)]
Mark some unused variables as such.

17 years agoplaylist.c: Remove an unused variable.
Andre Noll [Tue, 23 Oct 2007 16:33:43 +0000 (18:33 +0200)]
playlist.c: Remove an unused variable.

17 years agoMakefile.in: Remove unused PICDIR.
Andre Noll [Tue, 23 Oct 2007 16:32:33 +0000 (18:32 +0200)]
Makefile.in: Remove unused PICDIR.

17 years agoRemove moew unused stuff.
Andre Noll [Tue, 23 Oct 2007 16:23:43 +0000 (18:23 +0200)]
Remove moew unused stuff.

SFont is not needed anymore. Also remove gone files from doxygen
exclude list.

17 years agoAdd error2.h to .gitignore.
Andre Noll [Tue, 23 Oct 2007 16:20:47 +0000 (18:20 +0200)]
Add error2.h to .gitignore.

17 years agoAdd missing afh_common.c.
Andre Noll [Tue, 23 Oct 2007 16:19:59 +0000 (18:19 +0200)]
Add missing afh_common.c.

dooh, it's easy to miss including an essential file.

17 years agoRemove para_sdl_gui, para_slider, para_krell.
Andre Noll [Tue, 23 Oct 2007 16:13:21 +0000 (18:13 +0200)]
Remove para_sdl_gui, para_slider, para_krell.

These were all really crappy, probably not used by anybody,
and they broke due to the rename of the status item text or
the switch to the new afs. So let's get rid of them.

para_gui is here to stay though.

17 years agoChange dbinfo1 stat item and use it from afs.
Andre Noll [Tue, 23 Oct 2007 15:53:04 +0000 (17:53 +0200)]
Change dbinfo1 stat item and use it from afs.

17 years agoaft.c: Kill somce dead code.
Andre Noll [Tue, 23 Oct 2007 15:37:38 +0000 (17:37 +0200)]
aft.c: Kill somce dead code.

17 years agomood.c: Use activate_mood_or_playlist() also to switch to the dummy mode.
Andre Noll [Tue, 23 Oct 2007 14:47:46 +0000 (16:47 +0200)]
mood.c: Use activate_mood_or_playlist() also to switch to the dummy mode.

17 years agocommand.c: Trivial documentation cleanups.
Andre Noll [Tue, 23 Oct 2007 14:43:50 +0000 (16:43 +0200)]
command.c: Trivial documentation cleanups.

17 years agoMake pass_afd() static.
Andre Noll [Tue, 23 Oct 2007 14:43:17 +0000 (16:43 +0200)]
Make pass_afd() static.

And move current_mop to the top.

17 years agoafs: Fix a fd leak.
Andre Noll [Tue, 23 Oct 2007 14:30:05 +0000 (16:30 +0200)]
afs: Fix a fd leak.

17 years agoImplement com_select().
Andre Noll [Tue, 23 Oct 2007 14:09:01 +0000 (16:09 +0200)]
Implement com_select().

17 years agomood.c: Add missing initialization of mood_name.
Andre Noll [Tue, 23 Oct 2007 11:47:01 +0000 (13:47 +0200)]
mood.c: Add missing initialization of mood_name.

17 years agoKill code for loading the first available playlist.
Andre Noll [Tue, 23 Oct 2007 11:45:31 +0000 (13:45 +0200)]
Kill code for loading the first available playlist.

It's unused.

17 years agoKill loading of first available mood.
Andre Noll [Tue, 23 Oct 2007 11:41:11 +0000 (13:41 +0200)]
Kill loading of first available mood.

It's unused and quite ugly. The dummy mood is good enough as a fallback.

17 years agoRename afs_ls and afs_rm to ls and rm.
Andre Noll [Tue, 23 Oct 2007 01:35:39 +0000 (03:35 +0200)]
Rename afs_ls and afs_rm to ls and rm.

17 years agoconvert_0.2-0.3.sh: Fix some silly typos.
Andre Noll [Tue, 23 Oct 2007 01:35:05 +0000 (03:35 +0200)]
convert_0.2-0.3.sh: Fix some silly typos.

17 years agoRemove para_dbadm.
Andre Noll [Tue, 23 Oct 2007 00:35:16 +0000 (02:35 +0200)]
Remove para_dbadm.

The same can be easily done with a shell-script. And libmenu sucks.

17 years agoRemove old audio file selector code.
Andre Noll [Tue, 23 Oct 2007 00:23:28 +0000 (02:23 +0200)]
Remove old audio file selector code.

17 years agoRemove users of the old audio file selector code.
Andre Noll [Mon, 22 Oct 2007 23:48:45 +0000 (01:48 +0200)]
Remove users of the old audio file selector code.

17 years agovss.c: Kill unused int audio_file.
Andre Noll [Mon, 22 Oct 2007 23:23:17 +0000 (01:23 +0200)]
vss.c: Kill unused int audio_file.

17 years agoMove afh_init() call from vss.c to server.c.
Andre Noll [Mon, 22 Oct 2007 23:14:32 +0000 (01:14 +0200)]
Move afh_init() call from vss.c to server.c.

17 years agoMove common audio format handler functions to new afh_common.c.
Andre Noll [Mon, 22 Oct 2007 22:50:47 +0000 (00:50 +0200)]
Move common audio format handler functions to new afh_common.c.

17 years agovss.c: Isolate afh_init().
Andre Noll [Mon, 22 Oct 2007 22:22:39 +0000 (00:22 +0200)]
vss.c: Isolate afh_init().

As a first step to separate the audio format handlers from the vss.

17 years agovss.c: Use audio_format_name() where possible.
Andre Noll [Mon, 22 Oct 2007 22:14:36 +0000 (00:14 +0200)]
vss.c: Use audio_format_name() where possible.