1999/11/11 - cphipps

Completely changed the source structure. Program is now called IRCStats.
automake/autoconf based setup. Rewrote most of the docs.

1999/11/13 - cphipps

Finished implementing the regexp system for log parsing. It's very general,
so hopefully does all I want in terms of supporting more log formats. On the
downside it is about 10x slower at the moment

2000/01/21 - cphipps

It's been a while since I looked at the program, and there seem to be some
problems. Took me awhile to figure out that the regexps were poorly phrases
in bitchx.lrx (slight implementation differences between the OpenBSD and
GNU/Linux versions of the functions must be the cause :-\). Fixed.

Started cleaning up some loose ends. Reimplemented the url detection mainly.
Removed the word length factoid.

2000/01/22 - cphipps

Finishing touches. Added an "answers" factoid (suits #debian well). Fixed
bug in the monologue detection. Fixed the url displaying. Fixed the topic
code. 

Optimised stripansi() and addletters(), improving the performance
considerably. Could still be better, but it's only a few times slower than
it was before the rewrite now. And more than made up for by the gains.

2000/01/23 - cphipps

Played with optimising FindUser, by making a precomputed hash from the
first two letters (strcasecmp must be slower than integer compare I
thought). Turned out to make little difference though.

Added support for irssi logs. Very easily.. the regexp system really works
it seems.

2000/02/06 - cphipps

Debugging with various logs that people sent in. Most importantly, I fixed a
SEGV when a regexp with lots of fields was hit.. logic error on my part.
Also did some minor misc improvements while I was in the code.. like curing
bold/underline leaking in multiline quotes.

Also added support for some eggdrop logs people sent in. It looks like
there's no standard for eggdrop logs, depends on your script. I also
tightened up the internal regexps for nicknames and user@host's, to help
with these.

2000/02/20

Imported new text2html code from aurikan. Went through ircstats.c, changing 
the various output routines to go via this. text2html.c is very buggy right 
now though, lots of output getting repeated, and infinite loop on some logs.

2000/02/27

Imported latest version of aurikan's text2html code. It works :-). Did 
some cleaning up. Removed the old kludge for outputting the random urls 
table, that works without special attention now. 

Found a couple of bugs pretty quickly.. fixed an infinite loop in 
url_inner/backword's parsing.

We need to think about user@host.example.com things in the output.. 
at the moment it's puttint http:// on those. mailto: would be closer, but 
still not appropriate most often. Maybe we'll just have to forget urls 
with usernames in.

2000/03/04

Tested the latest text2html some more. It seems to be alright, so new 
release soon. Also I must change the name from ircstats back to gruftistats, 
as there exists another program of the same name. :-\

Fixed support for bold, underline etc, which was strangely broken. And 
added support for mIRC colours. The codes were spoiling my HTML 4.0 
compliance. I could have just stripped the bad codes, but then colour 
kicks would have looked silly. So I decided to go for it.

2000/03/11

Had another look at the user table code, in particular the deluser bit.
Definitely not clean, "y" was being reused. Slight logic change should 
cover it.

Changed all the urls to refer to the new sourceforge.net address.

2001/07/15 - cphipps

Fixed a bug report of a SEGV on a log with no lines, very simple.

2001/07/16 - cphipps

Added two new config file variables to specify the minimum and maximum length of
quotes. This required some internal improvements so that the probabilities on
quote calculations weren't simple based on number of lines so far, but on the
number of quotable lines.

2001/07/20 - cphipps

Had a play with malloc debug libraries. After a few additions to get gruftistats
to compile nicely with dmalloc, quickly caught and fixed a numbe rof minor
memory leaks. Mostly no problems though.

I did spot an interesting problem in the log parser though. The loop to deal
with long lines, which realloc's the line buffer and keeps reading, failed to
double the variable holding the buffer length. So lines would always be
truncated at 1024.

2001/07/21 - cphipps

Got the RPM building from the tarball working. Not planning to actually
distribute RPMs, but people may find it useful.

Tested the long lines fix.

Did some proper logic instead of the kludges in the factoids section, we were
adding numbers to u->lines and u->letters to avoid divide-by-zero which skewed
the stats.

2001/08/11 - cphipps

Incorporated patch to make header and fonts configurable.

2001/09/16 - cphipps

Added the revised irssi log format as irssi.lrx, since it's supposed to be
closer to the default. Moved the old format file, which was for a particular
setup/theme, to a new name.

