Archived
1
0
Fork 0
Commit graph

21 commits

Author SHA1 Message Date
Julien Dessaux
a8c0c85787 Made the Plugin monad a Reader instead of a State since it can't change. 2011-05-06 19:15:40 +02:00
Julien Dessaux
4522289d55 Code cleaning. 2011-05-05 00:36:05 +02:00
Julien Dessaux
5d2c3cdeb2 Changed the way I handled the Bot monad for more concurrency. 2011-05-02 00:49:52 +02:00
Julien Dessaux
c497b24700 Added plugin loading, and the most basic hook capability. 2011-05-01 03:28:28 +02:00
Julien Dessaux
11c2c16835 Moved files around as a preliminary for architectural changes. 2010-07-03 22:40:17 +02:00
Julien Dessaux
d97177ce3b Wrote most of the resume code for the core and the irc plugin. 2010-06-20 17:49:39 +02:00
Julien Dessaux
3410caa6f2 Fixed the plugin termination.
The master of a plugin will now wait for the plugin it kills to terminate.
2010-05-29 23:55:20 +02:00
Julien Dessaux
57bec4921b Rationalized the way bot configs are handled. 2010-05-29 17:05:56 +02:00
Julien Dessaux
daea135424 Implemented the clean killing of plugins' threads. 2010-05-29 01:01:31 +02:00
Julien Dessaux
8b33600f38 Implemented update message handling in the bot's core. 2010-05-24 23:52:47 +02:00
Julien Dessaux
738ad9e9bb Removed thread ids from plugins data structure. 2010-05-16 17:58:38 +02:00
Julien Dessaux
c1662ba7b9 Rewrote nearly everything!
* Rewrote the whole architecture to achieve extreme modularity
* Added the ability to build a multiprotocol bot
* Added cabal integration
* Added configuration handling the XMonad style
* Added configuration in ~/.hsbot
* Refactored many many named and functions
* Refactored data structures
* Cleaned a big bunch of stuff
2010-05-16 00:01:00 +02:00
Julien Dessaux
b6d119cf5b Some refactoring + cosmetics. 2010-04-25 16:43:01 +02:00
Julien Dessaux
d922240e9a Wrote the list plugin command. 2010-04-22 00:10:13 +02:00
Julien Dessaux
455b18bc10 Removed all the dynamic module loading stuff. 2010-04-21 22:37:06 +02:00
Julien Dessaux
bfc06f1ff1 Fixed the clean killing of plugin's threads, fixed exception management and cleaned plugins' main functions. 2010-02-08 00:16:02 +01:00
Julien Dessaux
416460886d Continue rewriting, found a problem in the way I kill plugins. 2010-02-04 23:34:15 +01:00
Julien Dessaux
fd8d5faf5f Began a complete rewrite of command and plugin management.
Wrote a command routing statement, added an IrcPlugin monad.
2010-02-04 21:05:37 +01:00
Julien Dessaux
53870767c3 Rewrote command handling, added the Quote module and cleaned input handling. 2010-02-04 20:55:54 +01:00
Julien Dessaux
d2f40f6481 Finished changing plugin data structure to Maps. 2010-02-04 20:38:06 +01:00
Julien Dessaux
884c6c9f2e Reorganized code and types, changed slightly the architecture. 2010-02-04 20:36:58 +01:00