summaryrefslogtreecommitdiff
path: root/fec.h
diff options
context:
space:
mode:
Diffstat (limited to 'fec.h')
0 files changed, 0 insertions, 0 deletions
6&follow=1'>Implement pattern matching for com_lsatt().Andre Noll 2007-09-28attribute.c: Implement pattern matching for com_rmatt().Andre Noll A straight forward task with the infrastructure already in place. 2007-09-27Implement pattern matching for com_touch().Andre Noll Also, add -p and -v options and fix converting the last played time which is a 64 bit intger, so strtol() will fail do it on 32 bit machines after 2039 ;) To fix this, introduce para_atoi64() which calls strtoll() which is 64 bit even on 32 bit machines and define para_atoi32() which calls para_atoi64() and checks the boundaries. 2007-09-27com_afs_rm(): Implement pattern matching and add -v, -p, -f flags.Andre Noll The -r flag is still to be implemented though.. 2007-09-27Gerneralize for_each_matching_blob().Andre Noll It's not only useful for blobs. For instance the rm and the touch commands might also want to use something similar. So move it to afs.c and call it for_each_matching_row(). 2007-09-27sha1.h: Typo.Andre Noll 2007-09-27attribute.c: Add doxygen file comment.Andre Noll 2007-09-26Move enum ls_sorting_method from afs.h to aft.c and add documentation.Andre Noll 2007-09-26Add documentation of enum blob_table_columns.Andre Noll 2007-09-26Fix table init.Andre Noll The previous patch introduced two instances of a bug which weren't noticed by the compiler because attribute_table and score_table were declared as void * pointers. Change that to struct osl_table *, and add the missing '&' operator. void * pointers a evil. 2007-09-26Get rid of the "table" member in struct table_info.Andre Noll afs.c has no busyness in dealing with the table, so do not expose it to afs.c. 2007-09-26addblob: Overwrite existing blobs.Andre Noll Previously, an attempt to add a blob with a name of an already existing blob failed (siltenly). Just replace the existing blob with the new contents instead. 2007-09-25afs ls -lv: Also print the tag info.Andre Noll 2007-09-25com_check(): Implement mood checking.Andre Noll 2007-09-25make get_playlist_data() generic.Andre Noll Other blob types might use an analogous function as well, so introduce blob_get_name_and_def_by_row() in blob.c, and use some preprocessor magic to define such a function for each blob type. Change all users of get_playlist_data() to use the new pl_blob_get_name_and_def_by_row() and remove get_playlist_data(). 2007-09-25mood.c: Rename mood_loop() to load_mood_loop_func().Andre Noll And add a comment that describes why this function returns negative on success, and positive on errors. 2007-09-25Update Doxyfile to doxygen-1.5.3.Andre Noll Automatic update, done with doxygen -u. 2007-09-25afs: Move some ls-related stuff from afs.h to aft.c.Andre Noll Also, add GPL header and documentation of struct afs_info to afs.h. 2007-09-25More mood cleanups.Andre Noll - Avoid use of global current_mood pointer where possible. - Change name of non-static functions that use the current mood pointer: mood_open() -> change_current_mood() mood_close() -> close_current_mood() mood_reload() -> reload_current_mood() 2007-09-25compute_mood_score(): Add additional mood * parameter.Andre Noll Thid reduces the use of the global current_mood pointer. 2007-09-25compute_mood_score(): Rename "row" parameter to "aft_row".Andre Noll 2007-09-25mood.c: Use current_mood as data pointer for parse_mood_line().Andre Noll 2007-09-25mood.c: Add GPL header.Andre Noll 2007-09-25mood.c: Change type of rows from "void *" to "struct osl_row *".Andre Noll 2007-09-25score.c: Remove an unused function declaration.Andre Noll 2007-09-24afs.cmd: Add documentation of the remaining commands.Andre Noll And improve the formating of command options. 2007-09-24blob.c: Implement pattern matching.Andre Noll Most of the blob functions now take a pattern list as arguments, and the function does the job for all blobs that match any given pattern in the list. The only exceptions are addblob and mvblob where a pattern list does not make sense. 2007-09-24Make rbtree_loop() and rbtree_loop_reverse() safe against removal of an entry.Andre Noll Also, fix the documentation of osl_rbtree_loop() which claimed that an osl_rbtree_loop_func takes two void pointers which is not true any more. 2007-09-24aft.c: Add GPL header.Andre Noll 2007-09-23afs.c: Avoid noisy log message.Andre Noll para_server regularly sends SIGUSR1 to all of its children. afs just ignores that signal, so only print a log message if a signal different from SIGUSR1 was caught. 2007-09-23afs.cmd: Add documentation of all blob commands.Andre Noll 2007-09-23command_util.sh: Fix man output for templates.Andre Noll 2007-09-23afs.c: Fix documentation of stdin_command().Andre Noll It doesn't read from stdin but from the given fd. 2007-09-23stdin.h, stdout.h: Trivial documentation cleanup.Andre Noll 2007-09-23stdout.[ch]: Make two functions static.Andre Noll 2007-09-23stdin.[ch]: Make two functions static.Andre Noll 2007-09-23stdin.c: Fix a typo in documentation.Andre Noll 2007-09-23Implement check for invalid playlist entries.Andre Noll Also some minor improvements for the audio file table checks. 2007-09-23playlist.c: Cleanups.Andre Noll Avoid using the global playlist variable where possible. Change the name of the global static playlist struct to current_playlist. 2007-09-23Implement check command.Andre Noll Currently it only checks the audio file table. Checking moods and playlists will be implemented in a subsequent patch.