------------------------------------------------------------------------ r250 | pief | 2005-12-10 17:57:02 +0100 (Sa, 10 Dez 2005) | 2 lines Added debug messages to file handling ------------------------------------------------------------------------ r249 | pief | 2005-12-10 17:49:37 +0100 (Sa, 10 Dez 2005) | 2 lines Increased maximum length for info buffer for MP3s ------------------------------------------------------------------------ r248 | pief | 2005-12-10 17:23:06 +0100 (Sa, 10 Dez 2005) | 2 lines Added directive to configure DCC sendbuffer size ------------------------------------------------------------------------ r247 | pief | 2004-05-04 13:48:50 +0200 (Di, 04 Mai 2004) | 2 lines Just to avoid confusion... it's a TCPCONN structure, not an object ------------------------------------------------------------------------ r246 | pief | 2004-04-26 16:52:12 +0200 (Mo, 26 Apr 2004) | 4 lines Added directives for new config variables "dbdir" and "listdir". Note that we're not decided yet on how to enforce that these are really specified resp. how to set defaults internally. ------------------------------------------------------------------------ r245 | pief | 2004-04-26 16:51:12 +0200 (Mo, 26 Apr 2004) | 2 lines Formatting fixes ------------------------------------------------------------------------ r244 | pief | 2004-04-26 16:50:36 +0200 (Mo, 26 Apr 2004) | 9 lines Completed CTCP support (we support responses to CLIENTINFO, PING, TIME, USERINFO and VERSION), which is a prerequisite for any work on DCC sends. Replaced server_putprivmsg() by server_putaddrmsg() and two new macros server_putprivmsg() and server_putnotice() since we now support sending of NOTICEs as well. Added code to allow for whitespace between a request type and its filename argument. Another small change to prepare server passwords support. ------------------------------------------------------------------------ r243 | pief | 2004-04-26 16:44:56 +0200 (Mo, 26 Apr 2004) | 6 lines Added defines for completed CTCP support. Added IRC_CMD_NOTICE type in response to completed CTCP support. Moved function prototypes to the bottom Removed @-metalserve request due to lack of ideas on how to implement this feature. ------------------------------------------------------------------------ r242 | pief | 2004-04-26 13:39:09 +0200 (Mo, 26 Apr 2004) | 5 lines Added comments to global variable definitions to make the code easier to read at first sight Added missing display of _dbdir and _listdir variables to print_config() Renamed PIDBUF_LEN to PIDBUF_SIZE for consistency purposes ------------------------------------------------------------------------ r241 | pief | 2004-04-26 13:37:24 +0200 (Mo, 26 Apr 2004) | 2 lines Changed order of definitions ------------------------------------------------------------------------ r240 | pief | 2004-04-26 13:35:39 +0200 (Mo, 26 Apr 2004) | 3 lines Fixed memory leak in initialize_fileserve() Reworked some comments and status messages. ------------------------------------------------------------------------ r239 | pief | 2004-04-26 13:28:31 +0200 (Mo, 26 Apr 2004) | 2 lines Improved comment ------------------------------------------------------------------------ r238 | pief | 2004-04-26 13:28:16 +0200 (Mo, 26 Apr 2004) | 3 lines Added newline in front of error messages to make the visuals more appealing ------------------------------------------------------------------------ r237 | pief | 2004-04-26 13:27:26 +0200 (Mo, 26 Apr 2004) | 2 lines Removed ENOMEM enforcement in dbopen()'s error handling ------------------------------------------------------------------------ r236 | pief | 2004-04-26 13:17:42 +0200 (Mo, 26 Apr 2004) | 2 lines Another stupid grammar fix ------------------------------------------------------------------------ r235 | pief | 2004-04-18 23:37:35 +0200 (So, 18 Apr 2004) | 2 lines Bugfix: use srcrefbuf than outputbuf ------------------------------------------------------------------------ r234 | pief | 2004-04-18 23:36:49 +0200 (So, 18 Apr 2004) | 2 lines Make "count" an "unsigned int" ------------------------------------------------------------------------ r233 | pief | 2004-04-18 23:36:28 +0200 (So, 18 Apr 2004) | 2 lines Added tvdiff() function ------------------------------------------------------------------------ r232 | pief | 2004-04-18 23:36:07 +0200 (So, 18 Apr 2004) | 2 lines Fixed passing of argumens to gdbm library ------------------------------------------------------------------------ r231 | pief | 2004-04-18 23:24:55 +0200 (So, 18 Apr 2004) | 2 lines Just an updated comment ------------------------------------------------------------------------ r230 | pief | 2004-04-18 23:24:35 +0200 (So, 18 Apr 2004) | 3 lines Please welcome the first incarnation of the file serving code, including routines to create and remove file requests and get queue status. ------------------------------------------------------------------------ r229 | pief | 2004-04-18 22:22:11 +0200 (So, 18 Apr 2004) | 2 lines Added seperate defines for @-que and @-queue requests ------------------------------------------------------------------------ r228 | pief | 2004-04-18 22:21:43 +0200 (So, 18 Apr 2004) | 3 lines Added code to handle_channelmsg() for !, @-remove, @-queue, @-status requests ------------------------------------------------------------------------ r227 | pief | 2004-04-18 21:39:40 +0200 (So, 18 Apr 2004) | 2 lines Remove debug message for message_linedelay config value ------------------------------------------------------------------------ r226 | pief | 2003-12-31 11:50:12 +0100 (Mi, 31 Dez 2003) | 2 lines Just formatting fixes ------------------------------------------------------------------------ r225 | pief | 2003-12-31 11:47:19 +0100 (Mi, 31 Dez 2003) | 3 lines Moved utsname() call for information that is returned when CTCP VERSION is received into main.c ------------------------------------------------------------------------ r224 | pief | 2003-12-31 11:25:44 +0100 (Mi, 31 Dez 2003) | 3 lines Changed references to TCPCONN structures. Implemented calls to fileserve code. ------------------------------------------------------------------------ r223 | pief | 2003-12-31 11:22:25 +0100 (Mi, 31 Dez 2003) | 2 lines Removed superfluous irc.h and servers.h #include's ------------------------------------------------------------------------ r222 | pief | 2003-12-31 11:21:53 +0100 (Mi, 31 Dez 2003) | 6 lines The TCPCONN structure is now dynamically allocated. Added functions server_putmsg() and server_putprivmsg() to generate and send messages to the server resp. other IRC Users. Implemented first version of the logic that checks the messages received in joined IRC channels and dispatches into appropriate functions. ------------------------------------------------------------------------ r221 | pief | 2003-12-31 11:18:38 +0100 (Mi, 31 Dez 2003) | 3 lines The TCPCONN structure is now dynamically allocated Renamed a couple of #define's ------------------------------------------------------------------------ r220 | pief | 2003-12-31 11:12:57 +0100 (Mi, 31 Dez 2003) | 5 lines Renamed ringbuffers in the TCPCONN structure to "recvbuf" and "sendbuf". Implemented the send queue "sendq" (used if "sendbuf" is full). Implemented allocation and free functions for TCPCONN, since it is now no longer a fixed part of a SERVER structure ------------------------------------------------------------------------ r219 | pief | 2003-12-31 11:09:16 +0100 (Mi, 31 Dez 2003) | 2 lines Added first signs of the fileserve code ------------------------------------------------------------------------ r218 | pief | 2003-12-31 11:08:44 +0100 (Mi, 31 Dez 2003) | 2 lines Removed superfluous log.h #include ------------------------------------------------------------------------ r217 | pief | 2003-12-31 11:07:19 +0100 (Mi, 31 Dez 2003) | 2 lines Overworked a comment ------------------------------------------------------------------------ r216 | pief | 2003-12-31 11:06:54 +0100 (Mi, 31 Dez 2003) | 2 lines Indentation fix only ------------------------------------------------------------------------ r215 | pief | 2003-12-31 11:06:30 +0100 (Mi, 31 Dez 2003) | 2 lines Added "install" target that currently only creates required directories ------------------------------------------------------------------------ r214 | pief | 2003-12-31 11:06:10 +0100 (Mi, 31 Dez 2003) | 3 lines Increased version number to 0.4 Added checks for gdbm library ------------------------------------------------------------------------ r213 | pief | 2003-12-31 11:05:34 +0100 (Mi, 31 Dez 2003) | 3 lines Removed no longer existant IRC Network HardNet Changed default logfile location ------------------------------------------------------------------------ r212 | pief | 2003-10-02 14:43:09 +0200 (Do, 02 Okt 2003) | 3 lines Changed irc_strcasecmp() to irc_strncasecmp(), accepting a length argument, and added a suitable irc_strcasecmp() #define ------------------------------------------------------------------------ r211 | pief | 2003-09-26 18:18:25 +0200 (Fr, 26 Sep 2003) | 9 lines Added "known_users" field to the NETWORK structure, which, like the "ignored_users" field, is a LIST of USER structures. Made a couple of functions static that are not required outside servers.c. Renamed handle_channeljoins() to handle_channeljoin() and handle_channelkicks() to handle_channelkick(). Added first versions of handle_channelmsg() and handle_privatemsg() functions. handle_privatemsg() already implements CTCP version. Shuffled IRC command defines and added IRC_CMD_PRIVMSG. ------------------------------------------------------------------------ r210 | pief | 2003-09-26 18:14:00 +0200 (Fr, 26 Sep 2003) | 8 lines Added "known_users" field to the NETWORK structure, which, like the "ignored_users" field, is a LIST of USER structures. Shuffled IRC command defines and added IRC_CMD_PRIVMSG. Moved definition of valid channel prefixes into servers.h. Added CTCP defines. Added defines for the de-facto standard of communicating with file serving requests. ------------------------------------------------------------------------ r209 | pief | 2003-09-26 18:07:09 +0200 (Fr, 26 Sep 2003) | 4 lines Added validation of the configured nicknames using the regular expression from irc.h. Moved definition of valid channel prefixes into servers.h. ------------------------------------------------------------------------ r208 | pief | 2003-09-26 18:02:37 +0200 (Fr, 26 Sep 2003) | 3 lines Removed superfluous construction of IRC_REGEXP_NICKNAME_PART since we'll only use the regexp in validate_config() and nowhere else ------------------------------------------------------------------------ r207 | pief | 2003-09-26 17:57:26 +0200 (Fr, 26 Sep 2003) | 4 lines Chose more reasonable names for #defines. Added definition of a regular expression to match valid nicknames against. Moved definition of valid channel prefixes into servers.h. ------------------------------------------------------------------------ r206 | pief | 2003-09-26 17:55:31 +0200 (Fr, 26 Sep 2003) | 2 lines Make use of more defines from irc.h ------------------------------------------------------------------------ r205 | pief | 2003-09-26 17:50:04 +0200 (Fr, 26 Sep 2003) | 2 lines Added first signs of file serving code. ------------------------------------------------------------------------ r204 | pief | 2003-09-26 17:49:01 +0200 (Fr, 26 Sep 2003) | 4 lines Replaced clients.c with fileserve.c since we'll now put also client-related IRC handling (that is, clients served via IRC server connections) in servers.c. fileserve.c will be IRC-independent file serving code. ------------------------------------------------------------------------ r203 | pief | 2003-09-26 17:18:29 +0200 (Fr, 26 Sep 2003) | 3 lines Added dependencies on database module and gdbm library (latter being not so nice) ------------------------------------------------------------------------ r202 | pief | 2003-09-26 17:17:50 +0200 (Fr, 26 Sep 2003) | 4 lines Added support for the served files database using the common/db.[ch] module. Added new "listdir" and "dbdir" configuration directives. ------------------------------------------------------------------------ r201 | pief | 2003-09-26 17:11:22 +0200 (Fr, 26 Sep 2003) | 2 lines Corrected usage of snprintf to ensure always proper termination of strings. ------------------------------------------------------------------------ r200 | pief | 2003-09-26 17:10:51 +0200 (Fr, 26 Sep 2003) | 4 lines Changed program banner and print_config() to be more readable depending on the size of the terminal window. Corrected usage of snprintf to ensure always proper termination of strings. ------------------------------------------------------------------------ r199 | pief | 2003-09-26 16:51:39 +0200 (Fr, 26 Sep 2003) | 4 lines Implemented own find_ambfnamenode() function now traverse_list() was obsoleted. Streamlined variable names on "list" instead of "directory" etc. ------------------------------------------------------------------------ r198 | pief | 2003-09-26 16:25:17 +0200 (Fr, 26 Sep 2003) | 3 lines Added dependencies on database module and gdbm library (latter being not so nice) ------------------------------------------------------------------------ r197 | pief | 2003-09-26 16:24:23 +0200 (Fr, 26 Sep 2003) | 3 lines Added ambiguous filename detection. Changed code to reflect the streamlined SCANNODE definition ("n" member). ------------------------------------------------------------------------ r196 | pief | 2003-09-26 16:23:06 +0200 (Fr, 26 Sep 2003) | 11 lines Added support for the served files database using the common/db.[ch] module. Added ambiguous filename detection. Changed program banner and print_config() to be more readable depending on the size of the terminal window. Changed code as PATH_MAX already includes the terminating null byte by definition. Changed code to reflect the streamlined SCANNODE definition ("n" member). Corrected usage of snprintf to ensure always proper termination of strings. More reasonable size calculation in compress_filelist(). ------------------------------------------------------------------------ r195 | pief | 2003-09-26 16:12:16 +0200 (Fr, 26 Sep 2003) | 2 lines Extended unescquote() to also unquote swifted braces ------------------------------------------------------------------------ r194 | pief | 2003-09-26 16:11:54 +0200 (Fr, 26 Sep 2003) | 3 lines Fix endless loops in the case where we were looking for an escaped opening brace in a config file line ------------------------------------------------------------------------ r193 | pief | 2003-09-26 16:10:10 +0200 (Fr, 26 Sep 2003) | 3 lines Removed traverse_list() function since it was used only once and far too generic to justify the hassle of callback functions ------------------------------------------------------------------------ r192 | pief | 2003-09-26 16:05:45 +0200 (Fr, 26 Sep 2003) | 2 lines Added new wrapper module for database accesses (currently gdbm only) ------------------------------------------------------------------------ r191 | pief | 2003-09-26 16:05:15 +0200 (Fr, 26 Sep 2003) | 3 lines Added new digits() function that returns the number of digits an ASCII string representation of a given integer value would require ------------------------------------------------------------------------ r190 | pief | 2003-09-26 16:04:08 +0200 (Fr, 26 Sep 2003) | 2 lines Corrected usage of snprintf to ensure always proper termination of strings ------------------------------------------------------------------------ r189 | pief | 2003-09-26 16:01:55 +0200 (Fr, 26 Sep 2003) | 3 lines Added defines for name of served files database and key to locate the associated filelist within the served files database ------------------------------------------------------------------------ r188 | pief | 2003-09-05 02:41:56 +0200 (Fr, 05 Sep 2003) | 3 lines Extended definition of traverse_node_func to be actually useful by allowing a user-supplied data argument for comparisons to be passed ------------------------------------------------------------------------ r187 | pief | 2003-09-05 01:05:02 +0200 (Fr, 05 Sep 2003) | 2 lines Just revised comments ------------------------------------------------------------------------ r186 | pief | 2003-09-05 01:04:37 +0200 (Fr, 05 Sep 2003) | 2 lines Just a revised comment ------------------------------------------------------------------------ r185 | pief | 2003-08-28 19:26:48 +0200 (Do, 28 Aug 2003) | 2 lines Fix cfgopen() function description in comment block ------------------------------------------------------------------------ r184 | pief | 2003-08-28 00:22:04 +0200 (Do, 28 Aug 2003) | 2 lines Enabled use of the listsdir parameter ------------------------------------------------------------------------ r183 | pief | 2003-08-28 00:08:54 +0200 (Do, 28 Aug 2003) | 8 lines Removed --quiet parameter -- one can redirect to /dev/null, if necessary. New semantics in logopen() call, added code for explicit log flags setting using setlogflags(). Since makelist is a semi-interactive app, log messages with a high severity are sent to stderr without the prefix, thus saving us extra fprintf() statements. Whereas for less severe messages, we provide own statements that eg. eventually utilitize the attached terminal's capabilities. ------------------------------------------------------------------------ r182 | pief | 2003-08-28 00:04:36 +0200 (Do, 28 Aug 2003) | 3 lines New semantics in logopen() call, added code for explicit log flags setting using setlogflags() ------------------------------------------------------------------------ r181 | pief | 2003-08-28 00:02:00 +0200 (Do, 28 Aug 2003) | 9 lines Replaced LOGFILE object's "log2std" and "addsrcrefs" fields by a more generic "flags" bitmask field and remove the two from the logopen() call. Added two new functions, setlogflags() and getlogflags() to set these flags. Added LOGFLAGS_STDERR and LOGFLAGS_STDOUT flags which seperately regulate if log messages are also written to stderr/stdout. Added LOGFLAGS_OMITPREFIX prefix to omit the prefix in such a case (useful for semi-interactive such as makelist). ------------------------------------------------------------------------ r180 | pief | 2003-08-27 23:59:25 +0200 (Mi, 27 Aug 2003) | 5 lines Replaced LOGFILE object's "log2std" and "addsrcrefs" fields by a more generic "flags" bitmask field and remove the two from the logopen() call. Added two new functions, setlogflags() and getlogflags() to set these flags. ------------------------------------------------------------------------ r179 | pief | 2003-08-27 21:03:01 +0200 (Mi, 27 Aug 2003) | 3 lines Made listheader, listdir and dbdir directives use argparser_path parser Made log messages begin upper case ------------------------------------------------------------------------ r178 | pief | 2003-08-27 20:38:10 +0200 (Mi, 27 Aug 2003) | 3 lines Added an argument parser for filesystem paths, ie. strings referencing a directory or a file ------------------------------------------------------------------------ r177 | pief | 2003-08-27 11:50:36 +0200 (Mi, 27 Aug 2003) | 2 lines gcc-specific fix to avoid gcc v3-specific warning on type punning ------------------------------------------------------------------------ r176 | pief | 2003-08-25 16:00:07 +0200 (Mo, 25 Aug 2003) | 6 lines Added new "listdir" and "dbdir" configuration directives. Renamed "list_header" configuration directive to "listheader" for consistency reasons. Added validate_config() routine to set default values for argparser_string configuration directives if necessary. ------------------------------------------------------------------------ r175 | pief | 2003-08-25 15:58:54 +0200 (Mo, 25 Aug 2003) | 3 lines Added default values for "listheader", "listdir" and "dbdir" configuration directives. ------------------------------------------------------------------------ r174 | pief | 2003-08-25 15:48:27 +0200 (Mo, 25 Aug 2003) | 6 lines Removed 1 server & 1 channel per network required check from validate_config() since the config parser now does that check itself. Changed return type of validate_config() to BOOL. Modified "_debug" usage in long_options[] array to be aligned with GCC v3 warning fix in common/base.h. ------------------------------------------------------------------------ r173 | pief | 2003-08-14 01:30:07 +0200 (Do, 14 Aug 2003) | 4 lines Moved default PID file location to /var/run/metalserve/metalserved.pid to avoid permission problems (the dir must be writable by the user running MetalServe) ------------------------------------------------------------------------ r172 | pief | 2003-08-14 01:29:06 +0200 (Do, 14 Aug 2003) | 2 lines Implemented changes to support CFGDIRECTIVE's new "required_sections" field ------------------------------------------------------------------------ r171 | pief | 2003-08-14 01:28:18 +0200 (Do, 14 Aug 2003) | 3 lines Implemented changes to support CFGDIRECTIVE's new "required_sections" field Added new "dbdir" and "listdir" configuration directives ------------------------------------------------------------------------ r170 | pief | 2003-08-14 01:26:46 +0200 (Do, 14 Aug 2003) | 6 lines Added support for requiring directives in certain sections. For this purpose, the CFGDIRECTIVE structure has a new field and the parser now keeps track inside each section which required directives have been seen and compares this with the list of required directives at the end of the section, raising an error message if necessary. ------------------------------------------------------------------------ r169 | pief | 2003-08-12 21:42:55 +0200 (Di, 12 Aug 2003) | 2 lines Removed unnecessary extern variable declarations for config vars ------------------------------------------------------------------------ r168 | pief | 2003-07-18 02:17:36 +0200 (Fr, 18 Jul 2003) | 2 lines Fix warnings thrown by gcc 3.3 ------------------------------------------------------------------------ r167 | pief | 2003-07-18 02:12:06 +0200 (Fr, 18 Jul 2003) | 2 lines Fix warnings thrown by gcc 3.3 ------------------------------------------------------------------------ r166 | pief | 2003-07-02 22:57:07 +0200 (Mi, 02 Jul 2003) | 2 lines Added validate_config() to perform post-reading config file validation ------------------------------------------------------------------------ r165 | pief | 2003-07-02 21:30:22 +0200 (Mi, 02 Jul 2003) | 5 lines Reordered processing of IRC server messages Added detection of ERROR messages during IRC server logon Added advertised servername detection and appropriate prefix checks for IRC replies ------------------------------------------------------------------------ r164 | pief | 2003-07-02 21:18:34 +0200 (Mi, 02 Jul 2003) | 3 lines Added defines for advertised server name detection Renamed server state SERVER_WAITREGISTER to SERVER_WAITWELCOME ------------------------------------------------------------------------ r163 | pief | 2003-07-02 18:43:18 +0200 (Mi, 02 Jul 2003) | 2 lines Added allocation of lists for DCC send system ------------------------------------------------------------------------ r162 | pief | 2003-07-02 13:08:38 +0200 (Mi, 02 Jul 2003) | 2 lines Changed code to use the term "sends" instead of "xfers" (too generic) ------------------------------------------------------------------------ r161 | pief | 2003-07-02 00:43:42 +0200 (Mi, 02 Jul 2003) | 4 lines Replaced code to dynamically obtain an interface's current IP address with more generic code that is able to tell whether the specified interface actually exists. ------------------------------------------------------------------------ r160 | pief | 2003-06-11 17:09:04 +0200 (Mi, 11 Jun 2003) | 2 lines Added code to log unhandled IRC error messages with LOG_DEBUG ------------------------------------------------------------------------ r159 | pief | 2003-06-11 17:01:08 +0200 (Mi, 11 Jun 2003) | 5 lines Implemented processing of KICK messages for the case where _we_ are kicked, not others Changed join_channels() to distinguish between joining and rejoining of channels after a KICK ------------------------------------------------------------------------ r158 | pief | 2003-06-11 16:48:46 +0200 (Mi, 11 Jun 2003) | 4 lines Modified IRC message handling in handle_server() to treat IRC replies numerically and to make an eventually present address in the prefix part available seperately ------------------------------------------------------------------------ r157 | pief | 2003-06-11 12:50:37 +0200 (Mi, 11 Jun 2003) | 3 lines Respect join_retrydelay when rejoining a channel after kick will be implemented ------------------------------------------------------------------------ r156 | pief | 2003-06-11 12:48:17 +0200 (Mi, 11 Jun 2003) | 2 lines Implemented stall detection using _server_timeout ------------------------------------------------------------------------ r155 | pief | 2003-06-11 12:33:08 +0200 (Mi, 11 Jun 2003) | 3 lines Remember join time of channel for statistics Changed wording in error message if an IRC message lacks a command ------------------------------------------------------------------------ r154 | pief | 2003-06-11 12:29:29 +0200 (Mi, 11 Jun 2003) | 2 lines Let _server_connect_retrydelay apply to DNS lookups of servers as well ------------------------------------------------------------------------ r153 | pief | 2003-06-11 12:27:52 +0200 (Mi, 11 Jun 2003) | 2 lines Changed semantics of how server->attempts is counted ------------------------------------------------------------------------ r152 | pief | 2003-06-11 00:13:40 +0200 (Mi, 11 Jun 2003) | 2 lines Smaller fixes ------------------------------------------------------------------------ r151 | pief | 2003-06-10 23:53:02 +0200 (Di, 10 Jun 2003) | 2 lines Renamed variables and changed message in join confirmation routine ------------------------------------------------------------------------ r150 | pief | 2003-06-03 01:15:07 +0200 (Di, 03 Jun 2003) | 2 lines Have "make clean" touch PDF files in the pdf directory only ------------------------------------------------------------------------ r149 | pief | 2003-06-03 01:13:27 +0200 (Di, 03 Jun 2003) | 2 lines Added documentation generation help ------------------------------------------------------------------------ r148 | pief | 2003-06-03 01:13:16 +0200 (Di, 03 Jun 2003) | 3 lines Revert to v4.1.2 of the DocBook XML spec in order to be compatible with what is by default available on SuSE 7.3 systems ------------------------------------------------------------------------ r147 | pief | 2003-05-30 09:54:43 +0200 (Fr, 30 Mai 2003) | 2 lines Added first version of build scripts for the documentation ------------------------------------------------------------------------ r146 | pief | 2003-05-30 09:54:31 +0200 (Fr, 30 Mai 2003) | 3 lines Added first version of stylesheet for MetalServe HTML output (based on Samba's stylesheet) ------------------------------------------------------------------------ r145 | pief | 2003-05-30 09:53:52 +0200 (Fr, 30 Mai 2003) | 2 lines Added first version of manual source in DocBook-XML format ------------------------------------------------------------------------ r144 | pief | 2003-05-30 09:53:25 +0200 (Fr, 30 Mai 2003) | 2 lines Added db2latex in current version ------------------------------------------------------------------------ r143 | pief | 2003-05-30 09:52:56 +0200 (Fr, 30 Mai 2003) | 2 lines Added customization XSL file for MetalServe HTML output ------------------------------------------------------------------------ r142 | pief | 2003-05-30 09:52:31 +0200 (Fr, 30 Mai 2003) | 2 lines Added docbook-xsl stylesheets in current version ------------------------------------------------------------------------ r141 | pief | 2003-05-25 23:26:40 +0200 (So, 25 Mai 2003) | 2 lines Removed more no longer needed debug statements ------------------------------------------------------------------------ r140 | pief | 2003-05-25 23:09:22 +0200 (So, 25 Mai 2003) | 2 lines Removed no longer needed debug statement ------------------------------------------------------------------------ r139 | pief | 2003-05-25 23:02:44 +0200 (So, 25 Mai 2003) | 3 lines Correction: the last change affected lookup_server(), this one affects start_server_connect() ------------------------------------------------------------------------ r138 | pief | 2003-05-25 22:58:29 +0200 (So, 25 Mai 2003) | 3 lines Removed superfluous check for socket state in start_server_connect() -- we really should better know WHEN we call that function... ------------------------------------------------------------------------ r137 | pief | 2003-05-25 22:48:49 +0200 (So, 25 Mai 2003) | 5 lines Removed SERVER_JOINED state from definition of SERVER_STATE_T -- whether all channels are not does not belong in the state of a SERVER object Removed unused NICKNAME structure Added missing function prototypes for functions used in main.c ------------------------------------------------------------------------ r136 | pief | 2003-05-25 22:41:23 +0200 (So, 25 Mai 2003) | 2 lines Added missing #include's ------------------------------------------------------------------------ r135 | pief | 2003-05-25 22:31:48 +0200 (So, 25 Mai 2003) | 2 lines Added missing #include for ctype.h ------------------------------------------------------------------------ r134 | pief | 2003-05-25 22:31:28 +0200 (So, 25 Mai 2003) | 5 lines Fixed bug in print_config() where the loglevel was output numerically instead of the appropriate string Fixed warnings caused by -Wall (missing #include for time.h, missing return code, superfluous variables) ------------------------------------------------------------------------ r133 | pief | 2003-05-25 22:17:26 +0200 (So, 25 Mai 2003) | 2 lines Removed superfluos "next_priority" variable ------------------------------------------------------------------------ r132 | pief | 2003-05-25 22:14:46 +0200 (So, 25 Mai 2003) | 2 lines Removed superfluous "i" variable ------------------------------------------------------------------------ r131 | pief | 2003-05-25 22:12:17 +0200 (So, 25 Mai 2003) | 2 lines Removed superfluous endp variable from argparser_intrange ------------------------------------------------------------------------ r130 | pief | 2003-05-25 22:10:40 +0200 (So, 25 Mai 2003) | 2 lines Fixes for -Wall warnings (uninitialized variables etc.) ------------------------------------------------------------------------ r129 | pief | 2003-05-25 21:43:05 +0200 (So, 25 Mai 2003) | 2 lines Enable compiling with -Wall if gcc is used ------------------------------------------------------------------------ r128 | pief | 2003-05-25 21:10:58 +0200 (So, 25 Mai 2003) | 2 lines Just completed the header comment ------------------------------------------------------------------------ r127 | pief | 2003-05-24 20:01:59 +0200 (Sa, 24 Mai 2003) | 7 lines Fixed a bug in select_next_server() that declared a network to be entirely disabled when only one server was configured and its first attempt failed. Adapted code to new semantics of split_ircmsg() call. Added missing error handling for incomplete IRC messages. Added skeleton code for IRC KICK handling. ------------------------------------------------------------------------ r126 | pief | 2003-05-24 19:43:16 +0200 (Sa, 24 Mai 2003) | 2 lines Merged the functionality of split_params() into split_ircmsg() ------------------------------------------------------------------------ r125 | pief | 2003-05-22 22:12:36 +0200 (Do, 22 Mai 2003) | 3 lines Added check to ensure proper channel names (starting with '&', '#', '+' or '!') ------------------------------------------------------------------------ r124 | pief | 2003-05-21 00:46:37 +0200 (Mi, 21 Mai 2003) | 5 lines If a prefix is present in a IRC message, we'll now isolate the nickname. Replaced CHANNEL structure's "joined" field with a more general "state" field with an appropriate data type. Implemented join_channels() and handle_channeljoins() functions. ------------------------------------------------------------------------ r123 | pief | 2003-05-21 00:44:42 +0200 (Mi, 21 Mai 2003) | 4 lines Replaced CHANNEL structure's "joined" field with a more general "state" field with an appropriate data type. Added more IRC command definitions for upcoming routines. ------------------------------------------------------------------------ r122 | pief | 2003-05-21 00:43:47 +0200 (Mi, 21 Mai 2003) | 4 lines Added defines for various aspects of IRC messages (eg. max. #params) Added new split_params() routine that splits the parameters of an IRC message into single arguments as defined by the IRC RFC ------------------------------------------------------------------------ r121 | pief | 2003-05-21 00:42:54 +0200 (Mi, 21 Mai 2003) | 3 lines Added defines for various aspects of IRC messages (eg. max. #params) Added prototype for new split_params() routine ------------------------------------------------------------------------ r120 | pief | 2003-05-18 21:27:21 +0200 (So, 18 Mai 2003) | 5 lines Changed data types to unsigned equivalents where appropriate. Added support for join_attempts and join_retrydelay configuration directives (replacing the old "disabled" flag in a SERVER structure). Removed "used" flag from NICKNAME structure. ------------------------------------------------------------------------ r119 | pief | 2003-05-18 21:24:53 +0200 (So, 18 Mai 2003) | 10 lines Moved channel stuff to the top to avoid pragmas. Added skeleton for join_servers() function. Replaced SERVER structure's "disabled" flag with number of attempts left for that given server. Moved code into reschedule_server() and select_next_server() functions and added proper support for join_attempts and join_retrydelay configuration directives. A failed DNS lookup does now no longer disable the entire server but counts as a failed connection attempt instead. ------------------------------------------------------------------------ r118 | pief | 2003-05-18 21:17:11 +0200 (So, 18 Mai 2003) | 5 lines Kicked "extern" variable declarations from header file -- unnecessary since functions are supposed to declare the required global variables themselves. Added support for join_attempts, onkick_rejoin_attempts and join_retrydelay configuration directives. ------------------------------------------------------------------------ r117 | pief | 2003-05-18 21:15:21 +0200 (So, 18 Mai 2003) | 4 lines Changed data types to unsigned equivalents where appropriate. Added support for join_attempts, onkick_rejoin_attempts and join_retrydelay configuration directives. ------------------------------------------------------------------------ r116 | pief | 2003-05-12 14:48:39 +0200 (Mo, 12 Mai 2003) | 3 lines Added new state TCPCONN_CLOSED to be used when a remote host has closed its end of the connection and we should thus close ours as well. ------------------------------------------------------------------------ r114 | pief | 2003-04-19 12:29:01 +0200 (Sa, 19 Apr 2003) | 2 lines Increase version number to 0.3 since we do connect to IRC servers ------------------------------------------------------------------------ r113 | pief | 2003-04-19 12:16:21 +0200 (Sa, 19 Apr 2003) | 2 lines When logging IRC messages, server name doesn't have to be in double quotes ------------------------------------------------------------------------ r112 | pief | 2003-04-19 12:14:28 +0200 (Sa, 19 Apr 2003) | 8 lines Added new "visible_address" directive that allows the user to specify which IP address/hostname is sent to external hosts (eg. the IRC server in the USER command), including code to obtain an interface's current IP. We now send a "QUIT" if a server was connected and we're going to close our end of the connection. Added server_logsent() and server_logrcvd() macros. Added first defines for IRC protocol commands and replies/errors. ------------------------------------------------------------------------ r111 | pief | 2003-04-19 12:12:13 +0200 (Sa, 19 Apr 2003) | 7 lines Added SERVER_SENDNICK state (entered if our Nick isn't accepted). Changed NETWORK's "current_nickname" field to a char **, so we can walk it and notice when the end of the nicknames array has been reached. Added prototype for handle_server(). Added server_logsent() and server_logrcvd() macros. Added first defines for IRC protocol commands and replies/errors. ------------------------------------------------------------------------ r110 | pief | 2003-04-19 12:09:11 +0200 (Sa, 19 Apr 2003) | 7 lines Added special argument parser function for the "email_address" directive that checks for the presence of an 'at'-sign and splits the email address into two seperate parts as required for the IRC protocol's USER command. Added new "visible_address" directive that allows the user to specify which IP address/hostname is sent to external hosts (eg. the IRC server in the USER command), including code to obtain an interface's current IP. ------------------------------------------------------------------------ r109 | pief | 2003-04-19 11:55:30 +0200 (Sa, 19 Apr 2003) | 3 lines Renamed MAX_EMAILADDRESS_LEN define and added new MAX_VISADDRESS_LEN define ------------------------------------------------------------------------ r108 | pief | 2003-04-19 11:51:03 +0200 (Sa, 19 Apr 2003) | 2 lines Just modified comments ------------------------------------------------------------------------ r107 | pief | 2003-04-19 11:49:59 +0200 (Sa, 19 Apr 2003) | 2 lines Added missing prototype for tcpconn_getline() ------------------------------------------------------------------------ r106 | pief | 2003-04-19 11:49:13 +0200 (Sa, 19 Apr 2003) | 7 lines Added handling of new config parser error code CFG_ERR_CHECKERRNO (may be used by argument parser functions). argparser_string() and argparser_stringlist() now try to free any memory allocated by a previously call (ie. an earlier occuring directive) -- this means that code must NOT set defaults by setting the variable to a global (heap) variable since this one would get free()'d! ------------------------------------------------------------------------ r105 | pief | 2003-04-19 11:38:15 +0200 (Sa, 19 Apr 2003) | 2 lines Added new config parser error code CFG_ERR_CHECKERRNO. ------------------------------------------------------------------------ r104 | pief | 2003-04-19 11:37:24 +0200 (Sa, 19 Apr 2003) | 3 lines ringbuf_putline() now adds a terminating CR-LF sequence to be consistent with ringbuf_getline() ------------------------------------------------------------------------ r103 | pief | 2003-04-19 11:36:30 +0200 (Sa, 19 Apr 2003) | 2 lines Fixed multi-line splitting (now also logs lines without a LF correctly) ------------------------------------------------------------------------ r102 | pief | 2003-04-11 22:53:12 +0200 (Fr, 11 Apr 2003) | 4 lines Changed split_ircmsg() to forget about more than a single IRC message. Got rid of IRCMSG structure -- we go with single pointers instead. Shrunk MAX_IRC_MESSAGE_LEN macro. ------------------------------------------------------------------------ r101 | pief | 2003-04-11 22:36:10 +0200 (Fr, 11 Apr 2003) | 2 lines Changed split_ircmsg() to forget about more than a single IRC message ------------------------------------------------------------------------ r100 | pief | 2003-04-11 22:24:04 +0200 (Fr, 11 Apr 2003) | 5 lines Added ringbuf_hasdata(), ringbuf_putblock(), ringbuf_putline(), ringbuf_write(). Changed behaviour of ringbuf_write() to either write the entire line or bail out, since we can't handle partial writes at this low level (yet?). ------------------------------------------------------------------------ r99 | pief | 2003-04-11 11:41:17 +0200 (Fr, 11 Apr 2003) | 2 lines Added ringbuffer implementation ------------------------------------------------------------------------ r98 | pief | 2003-04-10 23:18:45 +0200 (Do, 10 Apr 2003) | 2 lines Source documentation fixes ------------------------------------------------------------------------ r97 | pief | 2003-03-04 01:36:56 +0100 (Di, 04 Mär 2003) | 4 lines Use memmove() instead of own for()-loop for byte shifting. Fixed offsets into filetype information buffer for Artist, Title and Record field taken from ID3 tag. ------------------------------------------------------------------------ r96 | pief | 2003-03-04 01:26:27 +0100 (Di, 04 Mär 2003) | 5 lines Cleaned up interface to filetype-specific information modules: every module now provides a single fifunc() that returns an ASCII string with information to be included into the filelist. makelist itself doesn't have to know anything filetype-specific. ------------------------------------------------------------------------ r95 | pief | 2003-03-03 17:16:11 +0100 (Mo, 03 Mär 2003) | 6 lines Cleaned up interface to filetype-specific information modules: every module now provides a single fifunc() that returns an ASCII string with information to be included into the filelist. makelist itself doesn't have to know anything filetype-specific. Fixed offsets of data in "fmt " chunk. ------------------------------------------------------------------------ r94 | pief | 2003-03-03 17:11:59 +0100 (Mo, 03 Mär 2003) | 6 lines Cleaned up interface to filetype-specific information modules: every module now provides a single fifunc() that returns an ASCII string with information to be included into the filelist. makelist itself doesn't have to know anything filetype-specific. Changed error messages to use glogmsg() instead of stdout/stderr. ------------------------------------------------------------------------ r93 | pief | 2003-03-03 16:55:48 +0100 (Mo, 03 Mär 2003) | 5 lines Cleaned up interface to filetype-specific information modules: every module now provides a single fifunc() that returns an ASCII string with information to be included into the filelist. makelist itself doesn't have to know anything filetype-specific. ------------------------------------------------------------------------ r92 | pief | 2003-03-03 16:55:35 +0100 (Mo, 03 Mär 2003) | 9 lines Cleaned up interface to filetype-specific information modules: every module now provides a single fifunc() that returns an ASCII string with information to be included into the filelist. makelist itself doesn't have to know anything filetype-specific. Filetype-specific information modules are now selected based on regular expressions instead of just the suffix. Changed a number of error messages to log with LOG_CRIT when they really represent critical errors. ------------------------------------------------------------------------ r91 | pief | 2003-03-03 16:48:04 +0100 (Mo, 03 Mär 2003) | 3 lines Added dependency on logging module since errors in the filetype information modules should be logged and not just be written to stdout or stderr ------------------------------------------------------------------------ r90 | pief | 2003-01-31 15:16:27 +0100 (Fr, 31 Jan 2003) | 4 lines Fixed character array size definitions and usage to ensure null byte termination. Some source code formatting. ------------------------------------------------------------------------ r89 | pief | 2003-01-31 15:15:27 +0100 (Fr, 31 Jan 2003) | 4 lines Fixed character array size definitions and usage to ensure null byte termination. Changed MPEGAUDIOINFO structure's data types to be "unsigned". ------------------------------------------------------------------------ r88 | pief | 2003-01-31 15:14:51 +0100 (Fr, 31 Jan 2003) | 2 lines Fixed typo ------------------------------------------------------------------------ r87 | pief | 2003-01-31 15:08:08 +0100 (Fr, 31 Jan 2003) | 7 lines Replaced mixture of FILENAME_MAX and NAME_MAX with the one and only true #define we want, PATH_MAX, giving the total allowed length of paths and filenames including the path component. Fixed character array size definitions and usage to ensure null byte termination. Last not least, some source code formatting. ------------------------------------------------------------------------ r86 | pief | 2003-01-31 12:09:12 +0100 (Fr, 31 Jan 2003) | 3 lines Ahem, arrays are accessed starting with 0, so the last byte in a array defined as array[SIZE + 1] _is_ array[SIZE], of course. ------------------------------------------------------------------------ r85 | pief | 2003-01-31 11:50:21 +0100 (Fr, 31 Jan 2003) | 2 lines Removed obsoleted conf-internal.h reference ------------------------------------------------------------------------ r84 | pief | 2003-01-31 11:49:40 +0100 (Fr, 31 Jan 2003) | 2 lines Merged into conf.h ------------------------------------------------------------------------ r83 | pief | 2003-01-31 11:49:26 +0100 (Fr, 31 Jan 2003) | 3 lines Fixed character array size definitions and usage to ensure null byte termination ------------------------------------------------------------------------ r82 | pief | 2003-01-31 11:49:01 +0100 (Fr, 31 Jan 2003) | 5 lines Merged with conf-internal.h, whose definitions are now hidden inside a #ifdef LOG_INTERNAL block Added #define for length of cfgerrstrbuf and changed sprintf -> snprintf calls to avoid possible buffer overflows ------------------------------------------------------------------------ r81 | pief | 2003-01-31 11:44:13 +0100 (Fr, 31 Jan 2003) | 2 lines Just source code formatting ------------------------------------------------------------------------ r80 | pief | 2003-01-31 11:37:29 +0100 (Fr, 31 Jan 2003) | 2 lines Just source code formatting. ------------------------------------------------------------------------ r79 | pief | 2003-01-25 16:39:05 +0100 (Sa, 25 Jan 2003) | 3 lines Added declarations and default/max definitions for the "server_connect_retrydelay" and "server_connect_attempts" directives. ------------------------------------------------------------------------ r78 | pief | 2003-01-25 16:37:38 +0100 (Sa, 25 Jan 2003) | 3 lines Added new source file module irc.[ch] which contains IRC-relevant code which is neither server- nor client-specific. ------------------------------------------------------------------------ r77 | pief | 2003-01-25 16:35:58 +0100 (Sa, 25 Jan 2003) | 7 lines Adapted to logging system changes (LOGFILE object support, use of glogmsg() macro). Added "--debug" command line option which currently only enables source file references (sets the appropriate flag in logopen()). Completed function comments with more systematic description of return values. ------------------------------------------------------------------------ r76 | pief | 2003-01-25 16:33:00 +0100 (Sa, 25 Jan 2003) | 17 lines getloglevelval() and getloglevelname() now check case-insensitively. getloglevelval() accepts "error" as synonym for "err" and "warning" and synonym for "warn", getloglevelname() always returns "error" and "warning" to match with MetalServe's more user-friendly loglevel names. logopen(), logclose() and do_logmsg() now supports operation with multiple logfiles with the new LOGFILE object, whose contents remain invisible to client applications. A new macro glogmsg() is available for use by client applications that use the global variable "_logfile" for a global logfile. logopen() requires new flags "log2std" and "addsrcrefs": the first must be set if log messages should also be written to stdout/stderr, the latter must be set if source file name, function name and source file line are desired, as do_logmsg() no longer adds these automatically if loglevel == LOG_DEBUG. do_logmsg() now adds the severity of the logged message. Bugfix in do_logmsg() for logging of multiple lines. ------------------------------------------------------------------------ r75 | pief | 2003-01-25 16:25:45 +0100 (Sa, 25 Jan 2003) | 3 lines Added support for multiple definitions of the same configuration directive in different subsections ------------------------------------------------------------------------ r74 | pief | 2003-01-25 16:24:55 +0100 (Sa, 25 Jan 2003) | 3 lines Recommit of previous versions because new versions were commited with wrong comments ------------------------------------------------------------------------ r73 | pief | 2003-01-25 16:19:27 +0100 (Sa, 25 Jan 2003) | 3 lines Added upper_string() function Removed unused split_args() function ------------------------------------------------------------------------ r72 | pief | 2003-01-12 20:05:27 +0100 (So, 12 Jan 2003) | 3 lines Made do_logmsg() flush after every line since we might need every piece of information if the system crashes ------------------------------------------------------------------------ r71 | pief | 2003-01-12 18:21:58 +0100 (So, 12 Jan 2003) | 4 lines Added first signs of a daemon mode (incl. --dont-fork option) Added basic pidfile writing support More comments in command line arguments handling function ------------------------------------------------------------------------ r70 | pief | 2003-01-12 18:20:37 +0100 (So, 12 Jan 2003) | 3 lines Rewrote the way logmsg() works with regard to the prefix for the log messages. ------------------------------------------------------------------------ r69 | pief | 2003-01-10 20:23:28 +0100 (Fr, 10 Jan 2003) | 2 lines Bugfix for logging messages that span multiple lines ------------------------------------------------------------------------ r67 | pief | 2003-01-10 15:57:53 +0100 (Fr, 10 Jan 2003) | 2 lines Inceased version number to 0.2 as the config parser now looks completed ------------------------------------------------------------------------ r66 | pief | 2003-01-10 02:03:29 +0100 (Fr, 10 Jan 2003) | 2 lines Added new metalserved directory. ------------------------------------------------------------------------ r65 | pief | 2003-01-10 02:02:38 +0100 (Fr, 10 Jan 2003) | 3 lines Added first version of metalserved, which yet does nothing but full configuration file processing, including subsections. ------------------------------------------------------------------------ r64 | pief | 2003-01-10 02:01:17 +0100 (Fr, 10 Jan 2003) | 5 lines Adapted makelist to changes to configuration parser and #defines. Added check so that loglevel can't be arbitrarily increased. Added print_config() function. Extended copyright note to the new year. ------------------------------------------------------------------------ r63 | pief | 2003-01-10 01:59:34 +0100 (Fr, 10 Jan 2003) | 2 lines Extended copyright note to the new year ------------------------------------------------------------------------ r62 | pief | 2003-01-10 01:58:41 +0100 (Fr, 10 Jan 2003) | 7 lines Introduced section support in the config file parser, which includes heavy changes to the interface and the operation of argument parser functions. Replaced malloc() calls with calloc() -- there's no reason not to use it. Added an argument parser functions for ranges of integer values. Extended copyright note to the new year. ------------------------------------------------------------------------ r61 | pief | 2003-01-10 01:53:27 +0100 (Fr, 10 Jan 2003) | 3 lines Extended copyright note to the new year Renamed DEFAULT_CFGFILE_NAME to DEF_CFGFILE_NAME for shorter code lines ------------------------------------------------------------------------ r60 | pief | 2003-01-10 01:52:19 +0100 (Fr, 10 Jan 2003) | 3 lines Extended copyright note to the new year Added dependancy of conf.c on list.c ------------------------------------------------------------------------ r59 | pief | 2003-01-10 01:51:48 +0100 (Fr, 10 Jan 2003) | 5 lines Extended copyright note to the new year Correct indentation to use Tabs instead of Spaces Added #defines for minimum and maximum values for the priority in a PRIONODE ------------------------------------------------------------------------ r58 | pief | 2003-01-10 01:51:11 +0100 (Fr, 10 Jan 2003) | 3 lines Extended copyright note to the new year Replaced malloc() with calloc() -- there's no reason not to use the latter ------------------------------------------------------------------------ r57 | pief | 2003-01-10 01:50:38 +0100 (Fr, 10 Jan 2003) | 3 lines Extended copyright note to the new year Renamed DEFAULT_LOGLEVEL to DEF_LOGLEVEL for shorter code lines ------------------------------------------------------------------------ r56 | pief | 2003-01-10 01:50:08 +0100 (Fr, 10 Jan 2003) | 2 lines Extended copyright note to the new year ------------------------------------------------------------------------ r55 | pief | 2002-12-09 17:18:22 +0100 (Mo, 09 Dez 2002) | 3 lines Moved output to stderr up in do_logmsg() since we otherwise output a zero byte-terminated string which is intended to be written to the logfile only ------------------------------------------------------------------------ r54 | pief | 2002-12-09 17:17:18 +0100 (Mo, 09 Dez 2002) | 2 lines Reimplemented proper quoting behaviour ------------------------------------------------------------------------ r53 | pief | 2002-12-02 00:37:03 +0100 (Mo, 02 Dez 2002) | 2 lines Removed no longer-present "flags" definition for CFGDIRECTIVE structures ------------------------------------------------------------------------ r52 | pief | 2002-12-02 00:36:14 +0100 (Mo, 02 Dez 2002) | 2 lines Added missing dependecy on log.h to Makefile.in ------------------------------------------------------------------------ r51 | pief | 2002-12-02 00:33:16 +0100 (Mo, 02 Dez 2002) | 2 lines This should have been revision 1.5. ------------------------------------------------------------------------ r50 | pief | 2002-12-02 00:32:37 +0100 (Mo, 02 Dez 2002) | 5 lines Removed superfluos argparser_command(). Removed "flags" field from CFGDIRECTIVE structure: argparser_string now never unescapes and unquotes whereas the arguments in a string list are always unescquote()'d. ------------------------------------------------------------------------ r49 | pief | 2002-12-02 00:28:37 +0100 (Mo, 02 Dez 2002) | 2 lines Replaced unescape() with more efficient unescquote() routine ------------------------------------------------------------------------ r48 | pief | 2002-11-24 13:01:13 +0100 (So, 24 Nov 2002) | 2 lines Added "info" as possible argument to "loglevel" directive ------------------------------------------------------------------------ r47 | pief | 2002-11-24 12:05:39 +0100 (So, 24 Nov 2002) | 5 lines Added configuration directive and command line switch to control verboseness. Added support for "loglevel" configuration directive. Adapted definition of configuration directives to conf.h changes. ------------------------------------------------------------------------ r46 | pief | 2002-11-24 12:03:14 +0100 (So, 24 Nov 2002) | 2 lines Made INTxy_[LE|BE] macros use CHAR_BIT defines for bit shifting ------------------------------------------------------------------------ r45 | pief | 2002-11-24 12:01:43 +0100 (So, 24 Nov 2002) | 13 lines Extended argparser_strlist() to support string values (strings that are mapped onto values instead of being stored themselves, eg. for "loglevel" configuration directive). In this context: - Added new field "params" to CFGDIRECTIVE structure for more complex argument parser functions. - Added new CFGSTRVALUE structure for extended argparser_strlist() functionality. - Renamed CFG_ERR_TOOMANYARGS to CFG_ERR_STRLISTARGCOUNT and added CFG_ERR_EXCLARGVIOLATION. Renamed APFUNC_FLAG_xyz to DRTVFLAGS_xyz. Renamed CFG_FLAGS_xyz to CFGOPENFLAGS_xyz (and shortened IGNORE_UNKNOWN to IGNUNKNOWN). ------------------------------------------------------------------------ r44 | pief | 2002-11-24 11:52:30 +0100 (So, 24 Nov 2002) | 2 lines Have log.h define a DEFAULT_LOGLEVEL ------------------------------------------------------------------------ r43 | pief | 2002-11-24 11:51:53 +0100 (So, 24 Nov 2002) | 2 lines Fixed parameter name in function description of logmsg() ------------------------------------------------------------------------ r42 | pief | 2002-10-25 18:56:53 +0200 (Fr, 25 Okt 2002) | 2 lines Fixed typo in function description of unescape() ------------------------------------------------------------------------ r41 | pief | 2002-10-25 18:10:40 +0200 (Fr, 25 Okt 2002) | 2 lines Added syslog header file for portability purposes (ie. SunOS) ------------------------------------------------------------------------ r40 | pief | 2002-10-25 18:09:17 +0200 (Fr, 25 Okt 2002) | 2 lines Added logging routines ------------------------------------------------------------------------ r39 | pief | 2002-10-25 18:08:31 +0200 (Fr, 25 Okt 2002) | 3 lines Modified program banner Added logging support ------------------------------------------------------------------------ r38 | pief | 2002-10-25 18:03:33 +0200 (Fr, 25 Okt 2002) | 2 lines Replaced names of per-file #define's to avoid possible namespace clashes ------------------------------------------------------------------------ r37 | pief | 2002-10-25 18:02:56 +0200 (Fr, 25 Okt 2002) | 2 lines Renamed makelist.[ch] to main.[ch] ------------------------------------------------------------------------ r36 | pief | 2002-10-25 18:02:01 +0200 (Fr, 25 Okt 2002) | 4 lines Replaced explicitly coded name of "ar" with @AR@ macro (replaced by configure) Rewrote generation rules for libcommon.a ------------------------------------------------------------------------ r35 | pief | 2002-10-25 18:00:49 +0200 (Fr, 25 Okt 2002) | 4 lines Replaced names of per-file #define's to avoid possible namespace clashes Removed #define's for Title, Version and Revision since these are now specified in the top-level configure.in file ------------------------------------------------------------------------ r34 | pief | 2002-10-20 00:35:26 +0200 (So, 20 Okt 2002) | 2 lines Renamed makelist.[ch] to main.[ch] ------------------------------------------------------------------------ r33 | pief | 2002-10-19 22:57:45 +0200 (Sa, 19 Okt 2002) | 2 lines Added support for a autoconf-style configure script ------------------------------------------------------------------------ r32 | pief | 2002-10-19 22:52:33 +0200 (Sa, 19 Okt 2002) | 2 lines Added support for a autoconf-style configure script ------------------------------------------------------------------------ r31 | pief | 2002-10-19 22:52:06 +0200 (Sa, 19 Okt 2002) | 2 lines Added first version of a README file ------------------------------------------------------------------------ r30 | pief | 2002-10-19 22:51:38 +0200 (Sa, 19 Okt 2002) | 4 lines Added missing #include's to get makelist compiling under FreeBSD Added support for the PACKAGE_NAME and PACKAGE_VERSION defines set by the top-level configure script ------------------------------------------------------------------------ r29 | pief | 2002-10-19 22:49:38 +0200 (Sa, 19 Okt 2002) | 2 lines Ooops, no .o files in the CVS, please! ------------------------------------------------------------------------ r28 | pief | 2002-10-19 22:47:24 +0200 (Sa, 19 Okt 2002) | 2 lines However this file got here ------------------------------------------------------------------------ r27 | pief | 2002-10-12 01:57:12 +0200 (Sa, 12 Okt 2002) | 2 lines Optimized Makefile ------------------------------------------------------------------------ r26 | pief | 2002-10-09 00:54:21 +0200 (Mi, 09 Okt 2002) | 2 lines Added Makefile for lib stuff ------------------------------------------------------------------------ r25 | pief | 2002-10-09 00:53:26 +0200 (Mi, 09 Okt 2002) | 2 lines Added getopt lib files for portability purposes ------------------------------------------------------------------------ r24 | pief | 2002-10-08 02:22:48 +0200 (Di, 08 Okt 2002) | 2 lines Added missing includes to make the common stuff compile on FreeBSD ------------------------------------------------------------------------ r23 | pief | 2002-10-01 09:54:54 +0200 (Di, 01 Okt 2002) | 2 lines Moved rotation delay into #define in makelist.h ------------------------------------------------------------------------ r22 | pief | 2002-10-01 09:52:46 +0200 (Di, 01 Okt 2002) | 4 lines Fixed bug in insert_scannode() that caused directories to be unsorted when inserted in a certain order that never happened in reality (mentioned in metalserve.org news on 20092002, forgot to reactivate the fix) ------------------------------------------------------------------------ r21 | pief | 2002-10-01 00:19:40 +0200 (Di, 01 Okt 2002) | 2 lines Fixes due to wrong CVS commit ------------------------------------------------------------------------ r20 | pief | 2002-10-01 00:05:17 +0200 (Di, 01 Okt 2002) | 2 lines Removed ncurses from list of required libraries for linking makelist ------------------------------------------------------------------------ r19 | pief | 2002-10-01 00:03:47 +0200 (Di, 01 Okt 2002) | 7 lines Implemented a progress display with a rotating cursor, which is displayed only if a tty is attached, and if so, also respects the terminal's width. Made metalserve more verbose in general. Added -q command line switch to make metalserve shut up again =) Moved code to convert a pure seconds value to minutes and seconds to a new common/misc.c routine named get_mins_and_secs() ------------------------------------------------------------------------ r18 | pief | 2002-09-30 23:42:23 +0200 (Mo, 30 Sep 2002) | 2 lines Added misc.o to list of modules required for linking of makelist ------------------------------------------------------------------------ r17 | pief | 2002-09-30 23:42:02 +0200 (Mo, 30 Sep 2002) | 4 lines Removed video definitions which are to be placed in forthcoming video modules. Added define for makelist's output buffer size ------------------------------------------------------------------------ r16 | pief | 2002-09-30 23:08:49 +0200 (Mo, 30 Sep 2002) | 2 lines Added new common file for miscellaenous routines ------------------------------------------------------------------------ r15 | pief | 2002-09-30 23:07:12 +0200 (Mo, 30 Sep 2002) | 4 lines Fixed defined symbol inside header file Added #undefs for the boolean definition to avoid conflicts with definitions in other header files such as curses.h/term.h ------------------------------------------------------------------------ r14 | pief | 2002-09-25 00:11:16 +0200 (Mi, 25 Sep 2002) | 2 lines Added version of Makefile with updated email address ------------------------------------------------------------------------ r13 | pief | 2002-09-25 00:05:13 +0200 (Mi, 25 Sep 2002) | 3 lines For some reason I checked in ancient versions, so here are the current ones ------------------------------------------------------------------------ r12 | pief | 2002-09-24 23:46:57 +0200 (Di, 24 Sep 2002) | 2 lines Added first version of Makefile for makelist/ directory ------------------------------------------------------------------------ r11 | pief | 2002-09-24 23:46:36 +0200 (Di, 24 Sep 2002) | 2 lines Added first version of Wave Audio related functions ------------------------------------------------------------------------ r10 | pief | 2002-09-24 23:46:23 +0200 (Di, 24 Sep 2002) | 2 lines Added first version of MPEG Audio-related functions ------------------------------------------------------------------------ r9 | pief | 2002-09-24 23:46:03 +0200 (Di, 24 Sep 2002) | 2 lines Added first version of makelist main files ------------------------------------------------------------------------ r8 | pief | 2002-09-24 23:44:27 +0200 (Di, 24 Sep 2002) | 2 lines Added Makefile for common/ stuff ------------------------------------------------------------------------ r7 | pief | 2002-09-24 23:44:08 +0200 (Di, 24 Sep 2002) | 2 lines Added first version of a file for which I found no other useful name ------------------------------------------------------------------------ r6 | pief | 2002-09-24 23:43:35 +0200 (Di, 24 Sep 2002) | 2 lines Added first version of strings-related utility functions ------------------------------------------------------------------------ r5 | pief | 2002-09-24 23:43:16 +0200 (Di, 24 Sep 2002) | 2 lines Added first version of list/node-related functions ------------------------------------------------------------------------ r4 | pief | 2002-09-24 23:42:54 +0200 (Di, 24 Sep 2002) | 2 lines Added first version of new configuration file parser routines ------------------------------------------------------------------------ r3 | pief | 2002-09-24 23:41:11 +0200 (Di, 24 Sep 2002) | 2 lines Added first version of sample MetalServe configuration file ------------------------------------------------------------------------ r2 | pief | 2002-09-24 21:00:26 +0200 (Di, 24 Sep 2002) | 2 lines Added GNU General Public License ------------------------------------------------------------------------