From: unknown_lamer Date: Mon, 28 Feb 2005 05:48:26 +0000 (+0000) Subject: [project @ 2005-02-28 05:48:26 by unknown_lamer] X-Git-Tag: release-2.2.3~65 X-Git-Url: http://git.hcoop.net/clinton/bobotpp.git/commitdiff_plain/2e18045a0b8da8f044c6ff42a2fede367aed1300 [project @ 2005-02-28 05:48:26 by unknown_lamer] 2005-02-28 Clinton Ebadi * source/Utils.C (to_upper): Applied patch from Jos Hulzink (trim_str): Appled patch from Jos Hulzink (fixes counters and substr call) * source/StringTokenizer.C (next_token): Applied patch from Jos Hulzink (fixes substr call) (rest): Applied patch from Jos Hulzink (fixes substr call) 2005-02-27 Clinton Ebadi * source/Bot.H (COPYRIGHT_STRING): Remove Michael Wilson because he is a lazy bum and never submitted the String replacing patch --- diff --git a/ChangeLog b/ChangeLog index 8ebca58..6d45e56 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,55 @@ +2005-02-28 Clinton Ebadi + + * source/Utils.C (to_upper): Applied patch from Jos Hulzink + + (trim_str): Appled patch from Jos Hulzink (fixes + counters and substr call) + + * source/StringTokenizer.C (next_token): Applied patch from Jos + Hulzink (fixes substr call) + (rest): Applied patch from Jos Hulzink (fixes + substr call) + +2005-02-27 Clinton Ebadi + + * source/Bot.H (COPYRIGHT_STRING): Remove Michael Wilson because + he is a lazy bum and never submitted the String replacing patch + + * source/String.C: remove + * source/String.H: remove + +2005-01-23 Clinton Ebadi + + * configure.ac: Remove CC++ test + Changed version to 2.1.6CVS (2.1.5 released) + + * bobot++.texinfo: Updated copyright + +2005-01-16 Clinton Ebadi + + * TODO (General): Added TODO items + (2.2): Moved a few items here from 2.4 + + * README (NOTE): Mention boost requirement + +2005-01-13 Clinton Ebadi + + * ChangeLog Updated copryight + + * source/User.H: Removed forward declaration of Utils + + * source/Bot.H: Removed forward declaration of Utils + + * source/ChannelList.H: Removed forward declaration of Utils + + * source/UserListItem.H: Removed forward declaration of Utils + + * source/Utils.H: Removed class Utils, replaced with a namspace + (it only contained static methods) + + * source/Bot.H (COPYRIGHT_STRING): Added 2005 and Michael Wilson + (he is replacing String) + 2005-01-12 Clinton Ebadi * source/BotConfig.C (set_option_value): Put watcher calling @@ -622,6 +674,6 @@ * source/Queue.C: Didn't notice iostream.h here! Fixed -Copyright 2002,2003,2004 Clinton Ebadi +Copyright 2002,2003,2004,2005 Clinton Ebadi Copying and distribution of this file, with or without modification, are permitted provided the copyright notice and this notice are preserved. diff --git a/NEWS b/NEWS index a0da5de..76b1d0b 100644 --- a/NEWS +++ b/NEWS @@ -10,6 +10,11 @@ IMPORTANT NOTES: ====== The News ===================================================== ===================================================================== +Version 2.1.6: +- The String class has been removed and replaced by std::string +- Patches from Jos Hulzink were applied which fix a + few bugs in the StringTokenizer (thanks) + Version 2.1.5: Cleanups - A DCC CHAT with the bot may now only be initiated if the user is a Friend of the bot diff --git a/README b/README index e18c7d4..82ce78f 100644 --- a/README +++ b/README @@ -2,15 +2,6 @@ THIS IS BOBOT++ VERSION 2.1 (this file is also -*- text -*-) === REQUIREMENTS (Compile) === -Bobot++ 2.1 relies on CommonC++ 2 -(http://www.gnu.org/software/commoncpp/) 1.0.13 (at least). Newer -version are compatible (at the time of writing, Debian unstable is -only up to 1.0.13 so I targeted that since I don't need the features -of 1.3 and relying on packages available in Debian makes it easier to -install for everyone). - -NOTE: CC++2 1.0 is newer than CC++ 1.0! - Guile Scheme (http://www.gnu.org/software/guile/) Version 1.6 is used for scripting. It is optional and may be disabled by passing `--disable-scripting' to configure. diff --git a/TODO b/TODO index 1d1f205..8b9ba05 100644 --- a/TODO +++ b/TODO @@ -2,6 +2,7 @@ Done: * DCC CHAT min user level * Lots of hooks related stuff that I never wrote down * Abstract DCC support so that DCC FILE may be easily implemented +* Wrote config database class 2.2: * Utils::valid_nickname_p should have a configurable max nick length @@ -12,22 +13,28 @@ Done: * Add util functions for doing stuff like quoting CTCP messages * Finish adding hooks/send hooks * Write Texinfo manual -* More Generic Configuration Database +* Use configuration database class * Improve the help system -* DCC FILE support (sending and recieving) -* XDCC file server script (requires DCC FILE support) * bot:protection/[none|no-ban|no-kick|no-deop] constants * bot:aop/[no|yes] constants * Extend AOP to support +v (0 = no op, 1 = +o, 2 = +v) * Add DCC_CHAT_END hook for Scheme +* Add !setcommandlevel (move ScriptCommands implementation to Commands + and add a UserCommands) 2.4/3.0 (2.4 iff backwards compatibility is maintained, 3.0 otherwise): General: * Eliminate String class * Finish converting UserCommands to use Commands * Audit code and see what data in classes should be made private and - have getters/setters added (e.g. logFileName in Bot--if this is - changed the log file doesn't change after the Bot is started). + have getters/setters added (e.g. logFileName in Bot--if this is + changed the log file doesn't change after the Bot is started). +* DCC FILE support (sending and recieving) +* Possibly convert BotConfig to use boost::any instead of std::string + as t_value +* Remove StrinkTokenizer, replace with boost::tokenizer +* Remove string procedures from Utils, replace with boost::string_algo +* Use boost::timer for internal timers Scripting: * Add commands to delete a hook diff --git a/bobot++.info b/bobot++.info index 1cc9b56..364f5c1 100644 --- a/bobot++.info +++ b/bobot++.info @@ -4,7 +4,7 @@ bobot++.texinfo. This file documents Bobot++ by Clinton Ebadi and Etienne Bernard (original author, no longer works on program). - Copyright 2002,2004 Clinton Ebadi + Copyright 2002,2004,2005 Clinton Ebadi Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or @@ -861,33 +861,33 @@ Variable Index  Tag Table: -Node: Top522 -Node: Introduction1811 -Node: Configuration2003 -Node: Configuration Files2290 -Node: bot.conf2505 -Node: server syntax3943 -Node: channel syntax4807 -Node: bot.users5650 -Node: Configuration File Placement6553 -Node: Using the Bot7031 -Node: Starting the Bot7281 -Node: User Levels8625 -Node: Protection10081 -Node: Automatic Op10690 -Node: Built-In Commands10979 -Node: Scripting15513 -Node: Adding New Commands16478 -Node: Hooks17745 -Node: Creating a Hook18724 -Node: Hook Types19872 -Node: Scheme User Levels23355 -Node: Sending Messages24489 -Node: High Level Message Functions25105 -Node: Low Level Message Functions25328 -Node: Misc Scripting Stuff26090 -Node: Concept Index26514 -Node: Function Index26733 -Node: Variable Index27032 +Node: Top527 +Node: Introduction1816 +Node: Configuration2008 +Node: Configuration Files2295 +Node: bot.conf2510 +Node: server syntax3948 +Node: channel syntax4812 +Node: bot.users5655 +Node: Configuration File Placement6558 +Node: Using the Bot7036 +Node: Starting the Bot7286 +Node: User Levels8630 +Node: Protection10086 +Node: Automatic Op10695 +Node: Built-In Commands10984 +Node: Scripting15518 +Node: Adding New Commands16483 +Node: Hooks17750 +Node: Creating a Hook18729 +Node: Hook Types19877 +Node: Scheme User Levels23360 +Node: Sending Messages24494 +Node: High Level Message Functions25110 +Node: Low Level Message Functions25333 +Node: Misc Scripting Stuff26095 +Node: Concept Index26519 +Node: Function Index26738 +Node: Variable Index27037  End Tag Table diff --git a/bobot++.texinfo b/bobot++.texinfo index c9dd2d8..3bb2f24 100644 --- a/bobot++.texinfo +++ b/bobot++.texinfo @@ -9,7 +9,7 @@ input texinfo @c -*- texinfo -*- This file documents Bobot++ by Clinton Ebadi and Etienne Bernard (original author, no longer works on program). -Copyright 2002,2004 Clinton Ebadi +Copyright 2002,2004,2005 Clinton Ebadi Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or @@ -25,7 +25,7 @@ Texts. @page @vskip O plus 1filll -Copyright @copyright{} 2002,2004 Clinton Ebadi +Copyright @copyright{} 2002,2004,2005 Clinton Ebadi Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or diff --git a/configure.ac b/configure.ac index 111cbdf..a64d81c 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,7 @@ dnl Process this file with autoconf to produce a configure script. AC_PRERQ(2.50) -AC_INIT([Bobot++], [2.1.5CVS], [clinton@unknownlamer.org], [bobotpp]) +AC_INIT([Bobot++], [2.1.6CVS], [clinton@unknownlamer.org], [bobotpp]) AC_LANG([C++]) AM_INIT_AUTOMAKE AM_CONFIG_HEADER(config.h) @@ -61,14 +61,14 @@ AC_CHECK_LIB(crypt, crypt, [LDFLAGS="-lcrypt $LDFLAGS]") AC_CHECK_LIB(socket, socket, [LDFLAGS="-lsocket $LDFLAGS]") AC_CHECK_LIB(nsl, connect, [LDFLAGS="-lnsl $LDFLAGS]") dnl CC++ is special (no function to check_lib on -AC_CHECK_PROG(CCGNU_FOUND, [ccgnu2-config], - [yes], [no]) -if test x$CCGNU_FOUND = "xyes"; -then - LDFLAGS="$(ccgnu2-config --libs) $LDFLAGS" -else - AC_MSG_ERROR([Please install CommonC++2 1.0 or greater]) -fi +dnl AC_CHECK_PROG(CCGNU_FOUND, [ccgnu2-config], +dnl [yes], [no]) +dnl if test x$CCGNU_FOUND = "xyes"; +dnl then +dnl LDFLAGS="$(ccgnu2-config --libs) $LDFLAGS" +dnl else +dnl AC_MSG_ERROR([Please install CommonC++2 1.0 or greater]) +dnl fi dnl Checks for header files. AC_HEADER_STDC