clinton/bobotpp.git
10 years agoUndo change for scm_primitive_load_path arity change master
clinton [Mon, 26 Oct 2009 18:24:30 +0000 (18:24 +0000)]
Undo change for scm_primitive_load_path arity change

The arity was changed back in git master

10 years agoFix bot module loading in Guile 1.9.x+
clinton [Fri, 4 Sep 2009 13:51:28 +0000 (13:51 +0000)]
Fix bot module loading in Guile 1.9.x+

First this bug manifested itself because `load' did not run at compile
time causing issues with macroexpansion in bot modules. Then Guile was
updated so that load occurs at compile time, but then
`primitive-load-path' could not find any files. This was easier to
fix: `%load-path' is altered at compile time now.

10 years agoMisc cleanup in bobot utils
clinton [Fri, 4 Sep 2009 13:48:58 +0000 (13:48 +0000)]
Misc cleanup in bobot utils

Split module->string into a toplevel binding, removed whitespace, etc.

10 years agoUpdate news
clinton [Fri, 4 Sep 2009 13:44:36 +0000 (13:44 +0000)]
Update news

10 years agoRemove `bot:load' in favor of `load-from-path'
clinton [Thu, 30 Jul 2009 16:54:00 +0000 (16:54 +0000)]
Remove `bot:load' in favor of `load-from-path'

* Removed %bot:loadpath and instead push the bobot++ script
  directories onto the global load path
* Removed bot:load definition instead defining it to be an alias for
  load-from-path

10 years agoUse scm_primitive_load_path instead of scm_primitive_load
clinton [Thu, 30 Jul 2009 16:51:37 +0000 (16:51 +0000)]
Use scm_primitive_load_path instead of scm_primitive_load

10 years agoUse ACX_PTHREAD to handle pthread library name resolution and whatnot
clinton [Thu, 30 Jul 2009 16:46:23 +0000 (16:46 +0000)]
Use ACX_PTHREAD to handle pthread library name resolution and whatnot

11 years agoImplement `bot:channel-users' Scheme function
clinton [Tue, 24 Feb 2009 08:02:04 +0000 (08:02 +0000)]
Implement `bot:channel-users' Scheme function

Returns a list of users in a channel. The user objects are opaque and
should only be accessed via the accessors:

 * `bot:channel-user-nick' user => nickname
 * `bot:channel-user-user/host' user => user@host string
 * `bot:channel-user-mode' user => channel mode bitvector

The channel mode bitvector may further inspected using:

 * `bot:channel-user-has-modes?' user . modes => boolean

Where MODES is a list of mode identifiers. Valid values are:

 * `bot:mode/op'
 * `bot:mode/voice'
 * `bot:mode/away'
 * `bot:mode/ircop'

Convenience functions for checking individual mode flags are
available:

 * `bot:channel-user-op?' user => boolean
 * `bot:channel-user-voice?' user => boolean
 * `bot:channel-user-away?' user => boolean
 * `bot:channel-user-ircop' user => boolean

Additionally some futzing with other bits are included because C++ is
an evil language and I had to beat it gently with a hammer until it
did what I wanted.

11 years agoFix minor issue with logfile
clinton [Tue, 24 Feb 2009 03:50:03 +0000 (03:50 +0000)]
Fix minor issue with logfile

Oops, logFileName is a class member and not a local
variable...prepending it with the logs_dir is not ok.

11 years agoSplit user list from Channel into ChannelUserList
clinton [Mon, 23 Feb 2009 23:47:48 +0000 (23:47 +0000)]
Split user list from Channel into ChannelUserList

This patch is *huge* and potentially introduces a few bug, but it
*seems* ok so far. The ChannelUserList ought to be threadsafe; it was
necessary to do this as soon I will be added a bot:channel-users
function to the Scheme interface.

Doing this, naturally, exposed a number of horrid design issues that
I, as always, chose to ignore for now and instead merely cleaned up
one aspect as best as it could be given the surrounding muck. (ok,
Bobot++ isn't *terrible* but everything touches the internals of
everything so now they all have the Clap because one class caught it).

11 years agoAdd a few minor TODO notes
clinton [Mon, 23 Feb 2009 23:44:27 +0000 (23:44 +0000)]
Add a few minor TODO notes

11 years agoUpdate copyright years
clinton [Mon, 23 Feb 2009 23:44:15 +0000 (23:44 +0000)]
Update copyright years

11 years agoRemove String->const char* conversion operator in favor of c_str method
clinton [Mon, 23 Feb 2009 23:43:38 +0000 (23:43 +0000)]
Remove String->const char* conversion operator in favor of c_str method

This was dumb to begin with (I reserve the right to be mean to my
younger self) and really only caused a number of evil cases of
ambiguious overloading whenever a String and std::string are used
together.

11 years agoMark mutex as mutable in BanList to fix building issues
clinton [Sun, 22 Feb 2009 20:11:15 +0000 (20:11 +0000)]
Mark mutex as mutable in BanList to fix building issues

11 years agoImplement threadsafe banlist and make maintenance of bans cleaner
clinton [Tue, 18 Nov 2008 23:16:18 +0000 (23:16 +0000)]
Implement threadsafe banlist and make maintenance of bans cleaner

* BanList is now a separate class instead of being part of the channel
* Channels now expire their own bans eliminating the TodoList class
* UserCommands::TBan converted to use Commands::TBan
* Channel::addBan/delBan now handles sending channel modes eliminating
  some duplicated code
* All users of the channelBanlist have been updated to use the new
  interface

11 years agoRemove stray debugging code
clinton [Tue, 18 Nov 2008 23:08:45 +0000 (23:08 +0000)]
Remove stray debugging code

11 years agoSlightly better Utils::push_sorted
clinton [Tue, 18 Nov 2008 21:41:48 +0000 (21:41 +0000)]
Slightly better Utils::push_sorted

No need to special case the not found case

11 years agoDirectly take a Mask instead of a String in BanEntry
clinton [Sun, 16 Nov 2008 00:45:07 +0000 (00:45 +0000)]
Directly take a Mask instead of a String in BanEntry

11 years agoRemove useless class constructor prototype
clinton [Sun, 16 Nov 2008 00:44:38 +0000 (00:44 +0000)]
Remove useless class constructor prototype

11 years agoImprove BanEntry
clinton [Sun, 16 Nov 2008 00:09:59 +0000 (00:09 +0000)]
Improve BanEntry

* No longer has any friend classes
* BanEntry::getMask returns the actual Mask instead of the internal
  mask String
  - Updated all users of BanEntry to use slightly different interface

11 years agoAdd const qualifiers to Mask methods
clinton [Sun, 16 Nov 2008 00:08:21 +0000 (00:08 +0000)]
Add const qualifiers to Mask methods

11 years agoImprove include dependencies
clinton [Sat, 15 Nov 2008 23:04:29 +0000 (23:04 +0000)]
Improve include dependencies

Working on the bot was a bit intolerable as almost everything
unnecessarily depended on just about everything else. This has been
rectified reducing rebuild time quite a bit.

11 years agoEnhance threadsafety of Hooks and improve generally
clinton [Sat, 15 Nov 2008 21:09:17 +0000 (21:09 +0000)]
Enhance threadsafety of Hooks and improve generally

* bot:addhook may now be called from within a hook
  - hook mutex is recursive
  - It is unspecified whether a newly added hook will first run on the
    current or next hook match; depending on the properties of the
    hook either may occur
* Use general sorted list utilities instead of pushing to the back and
  doing a full sort on each add
* Incidentally replace String usage with std::string

11 years agoMove Hook `operator<' to BotInterp.C (cleaner source...)
clinton [Sat, 15 Nov 2008 21:04:29 +0000 (21:04 +0000)]
Move Hook `operator<' to BotInterp.C (cleaner source...)

11 years agoFactor out sorted list insertion into utility function
clinton [Sat, 15 Nov 2008 21:03:11 +0000 (21:03 +0000)]
Factor out sorted list insertion into utility function

11 years agoMake Scheme hooks and timers threadsafe
clinton [Thu, 13 Nov 2008 22:20:11 +0000 (22:20 +0000)]
Make Scheme hooks and timers threadsafe

* Timers are now maintained as a sorted list
* Timer callbacks and other threads can call bot:[add|del]timer
* Running hooks presently *cannot* call bot:addhook.

11 years agoAdd recursive mutex support to BotMutex
clinton [Thu, 13 Nov 2008 22:16:02 +0000 (22:16 +0000)]
Add recursive mutex support to BotMutex

11 years agoCease including Bot.H in Utils.H
clinton [Thu, 13 Nov 2008 11:28:04 +0000 (11:28 +0000)]
Cease including Bot.H in Utils.H

And miscellaneous cleanup as a result. Owing to Bot.H being included
by Utils.H no header mentioned in Bot.H could include Utils.H (not a
problem except in an upcoming revision of BotInterp.H)

11 years agoAdd indirect comparison predicate
clinton [Thu, 13 Nov 2008 11:25:57 +0000 (11:25 +0000)]
Add indirect comparison predicate

* Used to sort containers of pointers using the pointed to objects'
  comparison methods

11 years agoForgot header #ifdef guard
clinton [Thu, 13 Nov 2008 11:24:51 +0000 (11:24 +0000)]
Forgot header #ifdef guard

11 years agoMake rate limiting penalties less severe
clinton [Thu, 13 Nov 2008 09:11:10 +0000 (09:11 +0000)]
Make rate limiting penalties less severe

* The max rate limit penalty is now 20 instead of 5 making the bot
  more responsive without making it flood; this seems like a
  reasonable value but may need to be further tweaked
* No longer unconditionally add `1' to penalty to decrease the
  likelihood of the queue being saturated and never getting further
  than popping the first message

11 years agoMade ServerQueue threadsafe
clinton [Thu, 13 Nov 2008 08:09:54 +0000 (08:09 +0000)]
Made ServerQueue threadsafe

11 years agoBasic multithreading support
clinton [Thu, 13 Nov 2008 08:09:34 +0000 (08:09 +0000)]
Basic multithreading support

* BotMutex class provides a mutex that turns into a noop when
  threading is disabled
* BotLock provides an automatic lock/unlock pairing within a block
* Once everything has been made threadsafe using multiple Guile
  threads that access the bot will not corrupt any internal data
  structures

11 years agoEncapsulate obscure detail that lower numeric priority is higher queue priority
clinton [Thu, 13 Nov 2008 06:45:51 +0000 (06:45 +0000)]
Encapsulate obscure detail that lower numeric priority is higher queue priority

11 years agoUpdate version numbers
clinton [Thu, 13 Nov 2008 00:49:40 +0000 (00:49 +0000)]
Update version numbers

11 years agoRemove generated texinfo from repository
clinton [Thu, 13 Nov 2008 00:47:39 +0000 (00:47 +0000)]
Remove generated texinfo from repository

11 years agoUpdate ancillary documentation for release release-2.2.3
clinton [Thu, 13 Nov 2008 00:44:16 +0000 (00:44 +0000)]
Update ancillary documentation for release

11 years agoCleaned up examples and scripts
clinton [Thu, 13 Nov 2008 00:43:49 +0000 (00:43 +0000)]
Cleaned up examples and scripts

* Config example is in examples/config now
* Example scripts are in examples/scripts instead of interspersed with
  the installed bobot++ modules
* Removed broken and crappy example

11 years agoFixed --disable-scripting build
clinton [Wed, 12 Nov 2008 21:19:07 +0000 (21:19 +0000)]
Fixed --disable-scripting build

* Fixed some unprefixed cstdlib calls (hidden by libguile.h including stdlib.h)
* Fixed unincluded sys/types.h (also hidden by libguile.h including this)
* make install attempted to create /bobotpp directory when
  @GUILE_SITE@ was unset; now script installation is conditional on
  scripting being enabled as it ought to be

11 years agoRemove cruft from configure.ac
clinton [Wed, 12 Nov 2008 21:16:07 +0000 (21:16 +0000)]
Remove cruft from configure.ac

11 years agoBuild system cleanups
clinton [Wed, 12 Nov 2008 20:37:14 +0000 (20:37 +0000)]
Build system cleanups

* Renamed doc to documentation and moved infotex manual there
* Moved contents of acinclude.m4 to m4/bobot.m4
* Imported guile.m4 so as to not rely on Guile being installed to build
* Removed acinclude.m4 as it is no longer needed with proper ACLOCAL_AMFLAGS

11 years agoRemove last GH header reference
clinton [Tue, 11 Nov 2008 23:24:11 +0000 (23:24 +0000)]
Remove last GH header reference

11 years agoUpdate all deprecated/discouraged Guile calls
clinton [Tue, 11 Nov 2008 20:34:22 +0000 (20:34 +0000)]
Update all deprecated/discouraged Guile calls

* No longer use GH (removed entirely in Guile 1.9)
* Update to more modern API (breaks Guile 1.6)

11 years agoBump version to 2.2.3 and update copyright notice
clinton [Tue, 11 Nov 2008 20:07:23 +0000 (20:07 +0000)]
Bump version to 2.2.3 and update copyright notice

11 years agoRemove SCRIPTING from EXTRA_DIST
clinton [Tue, 11 Nov 2008 09:25:40 +0000 (09:25 +0000)]
Remove SCRIPTING from EXTRA_DIST

11 years agoRemove obsolete documentation
clinton [Tue, 11 Nov 2008 09:23:12 +0000 (09:23 +0000)]
Remove obsolete documentation

11 years agoRemove tailor import cruft
clinton [Tue, 11 Nov 2008 09:23:05 +0000 (09:23 +0000)]
Remove tailor import cruft

11 years agoRemove autogenerated files
clinton [Tue, 11 Nov 2008 09:22:57 +0000 (09:22 +0000)]
Remove autogenerated files

11 years agoProperly include guile.m4
clinton [Tue, 11 Nov 2008 09:20:43 +0000 (09:20 +0000)]
Properly include guile.m4

Now works when guile.m4 is in a nonstandard location passed to aclocal via -I

11 years ago[project @ 2008-11-11 08:47:34 by unknown_lamer]
unknown_lamer [Tue, 11 Nov 2008 08:47:34 +0000 (08:47 +0000)]
[project @ 2008-11-11 08:47:34 by unknown_lamer]

2008-11-11  Clinton Ebadi  <clinton@unknownlamer.org>

* source/Parser.C: GCC 4.x compilation fixes

* source/ShitList.C: GCC 4.x compilation fixes

* source/String.C: GCC 4.x compilation fixes

* source/UserCommands.C: GCC 4.x compilation fixes

* source/Channel.C: GCC 4.x compilation fixes

2007-11-08  Clinton Ebadi  <clinton@unknownlamer.org>

* configure.ac (LDFLAGS): Append GUILE_LDFLAGS to fix non-standard
location builds
(CXXFLAGS): Append GUILE_CFLAGS to fix non-standard location
builds

* guile.m4: Import guile.m4 (included in source tree since it
doesn't change often and this will allow building on machines
lacking a guile installation)

* acinclude.m4: Fix underquoted AC_CPP macros
Include guile.m4 rather than copying here

2007-10-05  Clinton Ebadi  <clinton@unknownlamer.org>

* source/Main.C (real_main): scm_eval_string debug initialization
instead of setting the flags directly as they are no longer public
in Guile 1.9.x

13 years ago[project @ 2006-06-29 02:01:20 by unknown_lamer]
unknown_lamer [Thu, 29 Jun 2006 02:01:20 +0000 (02:01 +0000)]
[project @ 2006-06-29 02:01:20 by unknown_lamer]

scripts/uname: redelim -> rdelim

13 years ago[project @ 2006-06-29 00:17:49 by unknown_lamer]
unknown_lamer [Thu, 29 Jun 2006 00:17:49 +0000 (00:17 +0000)]
[project @ 2006-06-29 00:17:49 by unknown_lamer]

- No longer segfaults when loading bobot-utils.scm
- bot:match-to-me produces a valid regexp again

13 years ago[project @ 2006-06-28 19:24:36 by unknown_lamer]
unknown_lamer [Wed, 28 Jun 2006 19:24:36 +0000 (19:24 +0000)]
[project @ 2006-06-28 19:24:36 by unknown_lamer]

- If the log directory does not exist the bot creates it
- If there are lines with only whitespace on them in the config file
  and error message is no longer printed to the log
- Released 2.2.1

13 years ago[project @ 2006-05-30 17:22:56 by unknown_lamer]
unknown_lamer [Tue, 30 May 2006 17:22:56 +0000 (17:22 +0000)]
[project @ 2006-05-30 17:22:56 by unknown_lamer]

Released 2.2.0

14 years ago[project @ 2006-02-03 22:36:01 by unknown_lamer]
unknown_lamer [Fri, 3 Feb 2006 22:36:01 +0000 (22:36 +0000)]
[project @ 2006-02-03 22:36:01 by unknown_lamer]

Actually fix issue with loading bobot-util.scm

14 years ago[project @ 2006-02-03 22:26:38 by unknown_lamer]
unknown_lamer [Fri, 3 Feb 2006 22:26:38 +0000 (22:26 +0000)]
[project @ 2006-02-03 22:26:38 by unknown_lamer]

Undo the last commit

14 years ago[project @ 2006-02-03 22:08:15 by unknown_lamer]
unknown_lamer [Fri, 3 Feb 2006 22:08:15 +0000 (22:08 +0000)]
[project @ 2006-02-03 22:08:15 by unknown_lamer]

Moved Interp::Startup call to after the Bot is created

14 years ago[project @ 2006-02-03 22:06:08 by unknown_lamer]
unknown_lamer [Fri, 3 Feb 2006 22:06:08 +0000 (22:06 +0000)]
[project @ 2006-02-03 22:06:08 by unknown_lamer]

Initialize Interp after creating the bot to avoid a segfault when
accessing the bot in a startup script.

14 years ago[project @ 2005-09-12 21:46:06 by unknown_lamer]
unknown_lamer [Mon, 12 Sep 2005 21:46:07 +0000 (21:46 +0000)]
[project @ 2005-09-12 21:46:06 by unknown_lamer]

Documentation updates

14 years ago[project @ 2005-07-21 21:13:28 by unknown_lamer]
unknown_lamer [Thu, 21 Jul 2005 21:13:29 +0000 (21:13 +0000)]
[project @ 2005-07-21 21:13:28 by unknown_lamer]

texinfo reformatting

14 years ago[project @ 2005-07-07 23:51:52 by unknown_lamer]
unknown_lamer [Thu, 7 Jul 2005 23:51:52 +0000 (23:51 +0000)]
[project @ 2005-07-07 23:51:52 by unknown_lamer]

Doc updates

14 years ago[project @ 2005-07-07 23:24:24 by unknown_lamer]
unknown_lamer [Thu, 7 Jul 2005 23:24:24 +0000 (23:24 +0000)]
[project @ 2005-07-07 23:24:24 by unknown_lamer]

Merged doc patch

14 years ago[project @ 2005-07-07 22:38:16 by unknown_lamer]
unknown_lamer [Thu, 7 Jul 2005 22:38:17 +0000 (22:38 +0000)]
[project @ 2005-07-07 22:38:16 by unknown_lamer]

More documentation updates

14 years ago[project @ 2005-07-07 21:19:26 by unknown_lamer]
unknown_lamer [Thu, 7 Jul 2005 21:19:26 +0000 (21:19 +0000)]
[project @ 2005-07-07 21:19:26 by unknown_lamer]

Added bot:shit/ constants to Scheme, more documentation updates.

14 years ago[project @ 2005-07-06 19:32:18 by unknown_lamer]
unknown_lamer [Wed, 6 Jul 2005 19:32:19 +0000 (19:32 +0000)]
[project @ 2005-07-06 19:32:18 by unknown_lamer]

Added bot:who and bot:whois functions

14 years ago[project @ 2005-07-05 18:48:49 by unknown_lamer]
unknown_lamer [Tue, 5 Jul 2005 18:48:50 +0000 (18:48 +0000)]
[project @ 2005-07-05 18:48:49 by unknown_lamer]

Renamed bot:send-ctcp and bot:send-ctcp-reply to bot:ctcp and bot:ctcp-reply

14 years ago[project @ 2005-07-05 07:24:59 by unknown_lamer]
unknown_lamer [Tue, 5 Jul 2005 07:24:59 +0000 (07:24 +0000)]
[project @ 2005-07-05 07:24:59 by unknown_lamer]

Documentation updates, a small update to bobot-utils

14 years ago[project @ 2005-07-04 21:44:00 by unknown_lamer]
unknown_lamer [Mon, 4 Jul 2005 21:44:01 +0000 (21:44 +0000)]
[project @ 2005-07-04 21:44:00 by unknown_lamer]

More documentation work

14 years ago[project @ 2005-07-04 08:15:08 by unknown_lamer]
unknown_lamer [Mon, 4 Jul 2005 08:15:08 +0000 (08:15 +0000)]
[project @ 2005-07-04 08:15:08 by unknown_lamer]

hooks/dcc/chat-end is now called when a chat is killed for being idle,
and when a chat is closed by the user on the other end. It was also
documented.

14 years ago[project @ 2005-07-04 01:48:38 by unknown_lamer]
unknown_lamer [Mon, 4 Jul 2005 01:48:38 +0000 (01:48 +0000)]
[project @ 2005-07-04 01:48:38 by unknown_lamer]

Big documentation enhancements. All hooks are now documented. Changed
hooks/send/message to match dest and pass dest to send hook. Changed
hooks/signoff to take a second argument (intentional flag). A few
source cleanups (lazy catch handlers are now methods of the Interp
class).

14 years ago[project @ 2005-06-30 02:51:27 by unknown_lamer]
unknown_lamer [Thu, 30 Jun 2005 02:51:27 +0000 (02:51 +0000)]
[project @ 2005-06-30 02:51:27 by unknown_lamer]

Tiny speedup in Socket code.

14 years ago[project @ 2005-06-29 20:20:59 by unknown_lamer]
unknown_lamer [Wed, 29 Jun 2005 20:20:59 +0000 (20:20 +0000)]
[project @ 2005-06-29 20:20:59 by unknown_lamer]

Update version to 2.1.9CVS

14 years ago[project @ 2005-06-29 20:19:45 by unknown_lamer]
unknown_lamer [Wed, 29 Jun 2005 20:19:45 +0000 (20:19 +0000)]
[project @ 2005-06-29 20:19:45 by unknown_lamer]

Fixed --disable-scripting build and release 2.1.8

14 years ago[project @ 2005-06-29 19:55:31 by unknown_lamer]
unknown_lamer [Wed, 29 Jun 2005 19:55:31 +0000 (19:55 +0000)]
[project @ 2005-06-29 19:55:31 by unknown_lamer]

More minor doc edits

14 years ago[project @ 2005-06-29 17:35:54 by unknown_lamer]
unknown_lamer [Wed, 29 Jun 2005 17:35:54 +0000 (17:35 +0000)]
[project @ 2005-06-29 17:35:54 by unknown_lamer]

Minor documentation edits

14 years ago[project @ 2005-06-28 11:23:50 by unknown_lamer]
unknown_lamer [Tue, 28 Jun 2005 11:23:52 +0000 (11:23 +0000)]
[project @ 2005-06-28 11:23:50 by unknown_lamer]

Added --debug-scripts command line option

14 years ago[project @ 2005-06-28 10:57:28 by unknown_lamer]
unknown_lamer [Tue, 28 Jun 2005 10:57:28 +0000 (10:57 +0000)]
[project @ 2005-06-28 10:57:28 by unknown_lamer]

Pass from->getNick () instead of from->getAddress () to hooks/action

14 years ago[project @ 2005-06-28 10:08:45 by unknown_lamer]
unknown_lamer [Tue, 28 Jun 2005 10:08:45 +0000 (10:08 +0000)]
[project @ 2005-06-28 10:08:45 by unknown_lamer]

Merged error handling patch from Dale Smith

14 years ago[project @ 2005-06-28 09:54:46 by unknown_lamer]
unknown_lamer [Tue, 28 Jun 2005 09:54:46 +0000 (09:54 +0000)]
[project @ 2005-06-28 09:54:46 by unknown_lamer]

Implemented Commands::CTCP and Commands::CTCPReply (for sending CTCP
messages), updated the Parser and ScriptCommands to use
them. Added and documented bot:send-ctcp-reply.

14 years ago[project @ 2005-06-28 03:16:45 by unknown_lamer]
unknown_lamer [Tue, 28 Jun 2005 03:16:45 +0000 (03:16 +0000)]
[project @ 2005-06-28 03:16:45 by unknown_lamer]

+ NOTICEs and PRIVMSGs are now sent correctly if they contain an
  embedded newline
+ Max nick length is now configurable via 'maxnicklength' option in
  bot.conf (defaults to 9)
+ A few internal cleanups

14 years ago[project @ 2005-06-25 18:11:10 by unknown_lamer]
unknown_lamer [Sat, 25 Jun 2005 18:11:10 +0000 (18:11 +0000)]
[project @ 2005-06-25 18:11:10 by unknown_lamer]

Guile's debugging evaluator is now enabled when --debug is used

14 years ago[project @ 2005-06-24 22:10:09 by unknown_lamer]
unknown_lamer [Fri, 24 Jun 2005 22:10:09 +0000 (22:10 +0000)]
[project @ 2005-06-24 22:10:09 by unknown_lamer]

Updated FSF street address

14 years ago[project @ 2005-06-24 18:59:07 by unknown_lamer]
unknown_lamer [Fri, 24 Jun 2005 18:59:07 +0000 (18:59 +0000)]
[project @ 2005-06-24 18:59:07 by unknown_lamer]

bot:msg and bot:say are the same thing now

14 years ago[project @ 2005-06-24 06:13:45 by unknown_lamer]
unknown_lamer [Fri, 24 Jun 2005 06:13:45 +0000 (06:13 +0000)]
[project @ 2005-06-24 06:13:45 by unknown_lamer]

bot:msg can now send messages to channels. bot:notice returns more
detailed error codes (that still can't be used without knowledge of
the C++, this will be fixed soon)

14 years ago[project @ 2005-06-23 22:59:18 by unknown_lamer]
unknown_lamer [Thu, 23 Jun 2005 22:59:18 +0000 (22:59 +0000)]
[project @ 2005-06-23 22:59:18 by unknown_lamer]

Made (bobotpp bot) actually work

14 years ago[project @ 2005-06-23 21:10:18 by unknown_lamer]
unknown_lamer [Thu, 23 Jun 2005 21:10:18 +0000 (21:10 +0000)]
[project @ 2005-06-23 21:10:18 by unknown_lamer]

Added scripts/bot.scm which exports the bobot++ interface to other modules

14 years ago[project @ 2005-06-23 18:49:38 by unknown_lamer]
unknown_lamer [Thu, 23 Jun 2005 18:49:39 +0000 (18:49 +0000)]
[project @ 2005-06-23 18:49:38 by unknown_lamer]

bot:notice has been implemented. Commands::Notice will now send a
notice to a channel. bot:notice was documented. Message macros were
moved around.

14 years ago[project @ 2005-06-23 18:11:08 by unknown_lamer]
unknown_lamer [Thu, 23 Jun 2005 18:11:08 +0000 (18:11 +0000)]
[project @ 2005-06-23 18:11:08 by unknown_lamer]

hooks/timer argument is now zero padded instead of space padded

14 years ago[project @ 2005-06-23 06:56:20 by unknown_lamer]
unknown_lamer [Thu, 23 Jun 2005 06:56:20 +0000 (06:56 +0000)]
[project @ 2005-06-23 06:56:20 by unknown_lamer]

Minor documentation edits

14 years ago[project @ 2005-06-23 06:43:12 by unknown_lamer]
unknown_lamer [Thu, 23 Jun 2005 06:43:12 +0000 (06:43 +0000)]
[project @ 2005-06-23 06:43:12 by unknown_lamer]

Call hooks/disconnect when disconnected from a server.

14 years ago[project @ 2005-06-23 06:20:44 by unknown_lamer]
unknown_lamer [Thu, 23 Jun 2005 06:20:44 +0000 (06:20 +0000)]
[project @ 2005-06-23 06:20:44 by unknown_lamer]

Added dsmith's documentation patch. I'll hack on more documentation
soon, I promise :-)

14 years ago[project @ 2005-06-07 12:52:52 by unknown_lamer]
unknown_lamer [Tue, 7 Jun 2005 12:52:55 +0000 (12:52 +0000)]
[project @ 2005-06-07 12:52:52 by unknown_lamer]

Fixed the scripts and texinfo file

14 years ago[project @ 2005-06-01 19:11:13 by unknown_lamer]
unknown_lamer [Wed, 1 Jun 2005 19:11:13 +0000 (19:11 +0000)]
[project @ 2005-06-01 19:11:13 by unknown_lamer]

Fixed texinfo file (make ps/pdf/dvi works now)

14 years ago[project @ 2005-06-01 11:12:41 by unknown_lamer]
unknown_lamer [Wed, 1 Jun 2005 11:12:41 +0000 (11:12 +0000)]
[project @ 2005-06-01 11:12:41 by unknown_lamer]

Added bot:protection/[none|ban|kick|deop] and bot:aop/[yes|no]
constants to the Scheme scripting interface

14 years ago[project @ 2005-06-01 00:27:44 by unknown_lamer]
unknown_lamer [Wed, 1 Jun 2005 00:27:44 +0000 (00:27 +0000)]
[project @ 2005-06-01 00:27:44 by unknown_lamer]

Fixed bug in Parser that would put two entries for the bot into the
userlist, fixed the formatting of a few files, and replaced some
Strings with std::strings

14 years ago[project @ 2005-05-31 05:59:57 by unknown_lamer]
unknown_lamer [Tue, 31 May 2005 05:59:58 +0000 (05:59 +0000)]
[project @ 2005-05-31 05:59:57 by unknown_lamer]

Fixed all warnings and a few rarely triggered bugs

15 years ago[project @ 2005-03-11 17:58:13 by unknown_lamer]
unknown_lamer [Fri, 11 Mar 2005 17:58:13 +0000 (17:58 +0000)]
[project @ 2005-03-11 17:58:13 by unknown_lamer]

Released 2.1.6, changed version to 2.1.7CVS

15 years ago[project @ 2005-03-01 03:18:40 by unknown_lamer]
unknown_lamer [Tue, 1 Mar 2005 03:18:40 +0000 (03:18 +0000)]
[project @ 2005-03-01 03:18:40 by unknown_lamer]

Fixed a potential segfault in the Parser

2005-02-28  Clinton Ebadi  <clinton@unknownlamer.org>

* source/Parser.C (parseLine): use map<>::find and an iterator to
find the IRC command instead of map<>::operator[] to avoid a
potential segfault

* source/Bot.C (waitForInput): Removed commented out code

15 years ago[project @ 2005-02-28 23:43:20 by unknown_lamer]
unknown_lamer [Mon, 28 Feb 2005 23:43:20 +0000 (23:43 +0000)]
[project @ 2005-02-28 23:43:20 by unknown_lamer]

This should fix a few issues with String handling

2005-02-28  Clinton Ebadi  <clinton@unknownlamer.org>

* source/Socket.C (readLine): return String (buf.c_str ()) instead
of String (buf) so that only the buffer up to the first null is returned
(readLine): Added a comment explaining the usage of buf
(readLine): Changed type of length (std::string::size_type instead
of std::size_t)

* source/String.C: Reimplemented String on top of std::string to
fix a few bugs and potential memory leaks
(toLower): use Utils::to_lower
(toUpper): Use Utils::to_upper
(trim): Use Utils::trim_str

* source/String.H: removed srep, replaced it with a std::string (my_string)

15 years ago[project @ 2005-02-28 05:50:12 by unknown_lamer]
unknown_lamer [Mon, 28 Feb 2005 05:50:12 +0000 (05:50 +0000)]
[project @ 2005-02-28 05:50:12 by unknown_lamer]

Re-added String.C and String.H