]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
18 years agoCreated new class irc::commasepstream.
brain [Sun, 16 Jul 2006 15:08:59 +0000 (15:08 +0000)]
Created new class irc::commasepstream.
Will read comma seperated lists and works identically to irc::tokenstream
It's re-entrant so we can run two of them together for JOIN

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4412 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAdjustment
brain [Sun, 16 Jul 2006 14:30:50 +0000 (14:30 +0000)]
Adjustment

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4410 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoFix socket leak properly this time
brain [Sun, 16 Jul 2006 13:52:10 +0000 (13:52 +0000)]
Fix socket leak properly this time

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4405 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoFix case sensitive commands issue due to new std::string based parser, improve the...
brain [Sun, 16 Jul 2006 13:02:38 +0000 (13:02 +0000)]
Fix case sensitive commands issue due to new std::string based parser, improve the craq disabled commands check that was potentially O(n) where n is the number of disabled commands (erk)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4404 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agomass tidyup, change A LOT of stuff to const char** which was char** (such as paramete...
brain [Sun, 16 Jul 2006 12:18:29 +0000 (12:18 +0000)]
mass tidyup, change A LOT of stuff to const char** which was char** (such as parameters to commands in handlers)
which makes the new lineparser work neater with no casts. This also removes tons of casts from other locations
(all in all, ive added 2 casts and removed almost a hundred)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4403 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoMAJOR tidy of line parser, some parts rewritten and major chunks removed
brain [Sun, 16 Jul 2006 08:38:33 +0000 (08:38 +0000)]
MAJOR tidy of line parser, some parts rewritten and major chunks removed

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4402 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoFixes/codes of the query queue, various prototypes and stuff...mostly commited so...
om [Sun, 16 Jul 2006 07:24:17 +0000 (07:24 +0000)]
Fixes/codes of the query queue, various prototypes and stuff...mostly commited so I can do other stuff without typing the paths out manually

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4401 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoconst the std::string reference in tokenstream's constructor
om [Sun, 16 Jul 2006 07:23:03 +0000 (07:23 +0000)]
const the std::string reference in tokenstream's constructor

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4400 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoDisable test suite
brain [Sun, 16 Jul 2006 02:16:10 +0000 (02:16 +0000)]
Disable test suite

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4399 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoImproved this a lot
brain [Sun, 16 Jul 2006 02:15:45 +0000 (02:15 +0000)]
Improved this a lot

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4398 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoThis should be faster, we read it like a stream now with GetToken until GetToken...
brain [Sun, 16 Jul 2006 02:09:58 +0000 (02:09 +0000)]
This should be faster, we read it like a stream now with GetToken until GetToken returns "".
The optimizations done by gcc means theres only one std::string constructor call per token, which is mmm yum.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4397 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoirc::tokenstream is a token parser which using std::string and std::vector builds...
brain [Sun, 16 Jul 2006 01:40:58 +0000 (01:40 +0000)]
irc::tokenstream is a token parser which using std::string and std::vector builds a list of tokens using irc parsing rules.
e.g.:
:arse PRIVMSG #chan :foo bar baz
becomes
a[0] = ":arse", a[1] = "PRIVMSG", a[2] = "#chan", a[3] = "foo bar baz".

*** SOMEONE *** needs to optimize this or at least verify its neatness (without making it total craq and unreadable). Feel free to mess with my code.
Any optimizations you make, run them against the COMMENTED OUT TEST SUITE at the top of main() in src/inspircd.cpp and ensure ALL output is the same
with no crashes. (note: if you comment out and build with the test suite, all inspircd will do is output test data and exit!)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4396 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoRemoved GCC2 checks as we havent supported gcc2 for years
brain [Sat, 15 Jul 2006 17:35:31 +0000 (17:35 +0000)]
Removed GCC2 checks as we havent supported gcc2 for years

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4394 e03df62e-2008-0410-955e-edbf42e46eb7

18 years ago3.3 -> 3.4 fix (the 3.3 stuff was actually craq)
brain [Fri, 14 Jul 2006 21:29:23 +0000 (21:29 +0000)]
3.3 -> 3.4 fix (the 3.3 stuff was actually craq)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4393 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoDon't allow SAQUIT, SANICK, SAPART and SAJOIN on ulined clients :)
brain [Fri, 14 Jul 2006 16:08:48 +0000 (16:08 +0000)]
Don't allow SAQUIT, SANICK, SAPART and SAJOIN on ulined clients :)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4390 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoTidyup
brain [Fri, 14 Jul 2006 15:28:16 +0000 (15:28 +0000)]
Tidyup

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4389 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoChanged to different way of clearing users on netsplit (uses less ram and should...
brain [Fri, 14 Jul 2006 15:25:25 +0000 (15:25 +0000)]
Changed to different way of clearing users on netsplit (uses less ram and should be less bug prone)
WE NEED TESTERS FOR THIS. MAKE TEST NETWORKS FULL OF 1_0_STABLE SVN SERVERS AND FILL THEM WITH BOTS/PSEUDOS THEN CAUSE NETSPLITS!

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4388 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAdd <options:nouserdns> - defaults to off. if set to on, no user dns lookups are...
brain [Fri, 14 Jul 2006 13:02:40 +0000 (13:02 +0000)]
Add <options:nouserdns> - defaults to off. if set to on, no user dns lookups are performed, saving resources

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4386 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoRollback dns change
brain [Fri, 14 Jul 2006 12:14:42 +0000 (12:14 +0000)]
Rollback dns change

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4384 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoFix dns socket leak found in stable
brain [Fri, 14 Jul 2006 11:43:17 +0000 (11:43 +0000)]
Fix dns socket leak found in stable

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4383 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoMove a notice around
brain [Thu, 13 Jul 2006 16:30:55 +0000 (16:30 +0000)]
Move a notice around

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4379 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoFix -modupdate to actually work (doesnt force a total rebuild when you add a module)
brain [Thu, 13 Jul 2006 16:30:18 +0000 (16:30 +0000)]
Fix -modupdate to actually work (doesnt force a total rebuild when you add a module)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4378 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoMissing newline
brain [Thu, 13 Jul 2006 16:21:24 +0000 (16:21 +0000)]
Missing newline

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4377 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoOutput module counts on ./configure -update
brain [Thu, 13 Jul 2006 16:19:52 +0000 (16:19 +0000)]
Output module counts on ./configure -update

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4376 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoFinal test.
brain [Wed, 12 Jul 2006 19:36:39 +0000 (19:36 +0000)]
Final test.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4375 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoTest
brain [Wed, 12 Jul 2006 19:34:27 +0000 (19:34 +0000)]
Test

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4374 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoMirroring test
brain [Wed, 12 Jul 2006 19:30:22 +0000 (19:30 +0000)]
Mirroring test

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4373 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoTest commit (this should be auto synched to staffbox)
brain [Wed, 12 Jul 2006 19:28:31 +0000 (19:28 +0000)]
Test commit (this should be auto synched to staffbox)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4372 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoTest commit
brain [Wed, 12 Jul 2006 19:24:15 +0000 (19:24 +0000)]
Test commit

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4371 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoTiny tiny docs update, not even worth re-generating the docs for atm
brain [Wed, 12 Jul 2006 16:15:00 +0000 (16:15 +0000)]
Tiny tiny docs update, not even worth re-generating the docs for atm

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4370 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoDocument class Resolver
brain [Wed, 12 Jul 2006 15:35:59 +0000 (15:35 +0000)]
Document class Resolver

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4369 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoRemoved debugging
brain [Wed, 12 Jul 2006 15:14:56 +0000 (15:14 +0000)]
Removed debugging

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4368 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAll this works now (hopefully)
brain [Wed, 12 Jul 2006 15:14:20 +0000 (15:14 +0000)]
All this works now (hopefully)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4367 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoFix typo
brain [Wed, 12 Jul 2006 14:17:09 +0000 (14:17 +0000)]
Fix typo

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4366 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoSeems to work ok
brain [Wed, 12 Jul 2006 14:16:31 +0000 (14:16 +0000)]
Seems to work ok

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4365 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoI don't know if this works yet -- needs testing
brain [Wed, 12 Jul 2006 14:02:23 +0000 (14:02 +0000)]
I don't know if this works yet -- needs testing
Nonblocking DNS calls

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4364 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoA few updates to the API header
om [Wed, 12 Jul 2006 13:29:44 +0000 (13:29 +0000)]
A few updates to the API header

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4363 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAdd part-finished m_cgiirc module for Brain to play with
om [Wed, 12 Jul 2006 13:29:04 +0000 (13:29 +0000)]
Add part-finished m_cgiirc module for Brain to play with

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4362 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAdd exception handling here
brain [Wed, 12 Jul 2006 13:01:06 +0000 (13:01 +0000)]
Add exception handling here

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4361 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoThrow moduleexception if you:
brain [Wed, 12 Jul 2006 12:58:56 +0000 (12:58 +0000)]
Throw moduleexception if you:
(a) try and resolve hosts before the core is initialized (HOW?!)
(b) try and resolve a host and the domain server is totally unreacable e.g. through lack of fd's or ifconfig eth0 down :p (this is the only safe way, any other way may result in a developer inserting an invalid pointer into a list of Resolver* theyre watching)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4360 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoTypo #2
brain [Wed, 12 Jul 2006 12:44:48 +0000 (12:44 +0000)]
Typo #2

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4359 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoTypo
brain [Wed, 12 Jul 2006 12:44:25 +0000 (12:44 +0000)]
Typo

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4358 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoMake it work:
brain [Wed, 12 Jul 2006 12:43:55 +0000 (12:43 +0000)]
Make it work:

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4357 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAdded helperfuncs.h
brain [Wed, 12 Jul 2006 12:31:54 +0000 (12:31 +0000)]
Added helperfuncs.h

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4356 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoOops, make methods public
brain [Wed, 12 Jul 2006 12:30:50 +0000 (12:30 +0000)]
Oops, make methods public

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4355 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoTest framework in m_testcommand, add interface
brain [Wed, 12 Jul 2006 12:26:58 +0000 (12:26 +0000)]
Test framework in m_testcommand, add interface

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4354 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAdded class Resolver (needs testing)
brain [Wed, 12 Jul 2006 12:20:36 +0000 (12:20 +0000)]
Added class Resolver (needs testing)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4353 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoTopic support in channel list - NOTE THIS ISNT SAFE AGAINST XSS YET
brain [Tue, 11 Jul 2006 20:52:03 +0000 (20:52 +0000)]
Topic support in channel list - NOTE THIS ISNT SAFE AGAINST XSS YET

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4351 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAdded stylesheet support
brain [Tue, 11 Jul 2006 20:24:26 +0000 (20:24 +0000)]
Added stylesheet support

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4350 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoNow has a shiney 'valid xhtml 1.1' icon, just because it can.
brain [Tue, 11 Jul 2006 20:18:59 +0000 (20:18 +0000)]
Now has a shiney 'valid xhtml 1.1' icon, just because it can.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4349 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoXHTML 1.1 spec validation and charset
brain [Tue, 11 Jul 2006 20:13:42 +0000 (20:13 +0000)]
XHTML 1.1 spec validation and charset

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4348 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoRemoved some debug in the sorting algorithm
brain [Tue, 11 Jul 2006 20:04:48 +0000 (20:04 +0000)]
Removed some debug in the sorting algorithm

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4347 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agotypo Count -> Name
brain [Tue, 11 Jul 2006 20:04:05 +0000 (20:04 +0000)]
typo Count -> Name

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4346 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAdd voice, halfop and op counts
brain [Tue, 11 Jul 2006 20:00:35 +0000 (20:00 +0000)]
Add voice, halfop and op counts

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4345 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoChannel size sorting with a tricksy sort that converts it on the fly from std::map...
brain [Tue, 11 Jul 2006 19:55:17 +0000 (19:55 +0000)]
Channel size sorting with a tricksy sort that converts it on the fly from std::map to std::vector for displaying

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4344 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoFIX channel user count stuff. next to do, order the user count list
brain [Tue, 11 Jul 2006 19:23:36 +0000 (19:23 +0000)]
FIX channel user count stuff. next to do, order the user count list

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4342 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoChannel user count stuff
brain [Tue, 11 Jul 2006 19:20:18 +0000 (19:20 +0000)]
Channel user count stuff

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4341 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoCheck for uri and only claim /stats and /stats/
brain [Tue, 11 Jul 2006 15:06:05 +0000 (15:06 +0000)]
Check for uri and only claim /stats and /stats/

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4340 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAdd content-type
brain [Tue, 11 Jul 2006 15:01:04 +0000 (15:01 +0000)]
Add content-type

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4339 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoBasic html output other than chickens
brain [Tue, 11 Jul 2006 14:58:07 +0000 (14:58 +0000)]
Basic html output other than chickens

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4338 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAllow modules to change the content-type of the document (defaults to text/html)
brain [Tue, 11 Jul 2006 14:50:00 +0000 (14:50 +0000)]
Allow modules to change the content-type of the document (defaults to text/html)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4337 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoMake it not b0rk on empty headers
brain [Tue, 11 Jul 2006 14:43:03 +0000 (14:43 +0000)]
Make it not b0rk on empty headers

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4336 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoStop the chickens reproducing :X
brain [Tue, 11 Jul 2006 14:40:31 +0000 (14:40 +0000)]
Stop the chickens reproducing :X

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4335 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoMake var const
brain [Tue, 11 Jul 2006 14:39:23 +0000 (14:39 +0000)]
Make var const

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4334 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoStuff for adding extra headers to a response (for Authorization: and Location: etc)
brain [Tue, 11 Jul 2006 14:38:07 +0000 (14:38 +0000)]
Stuff for adding extra headers to a response (for Authorization: and Location: etc)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4333 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoThis works now, m_httpd_stats.so prints 'chickens' on all pages except the index
brain [Tue, 11 Jul 2006 14:16:27 +0000 (14:16 +0000)]
This works now, m_httpd_stats.so prints 'chickens' on all pages except the index

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4332 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoCompiles now
brain [Tue, 11 Jul 2006 14:08:59 +0000 (14:08 +0000)]
Compiles now

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4331 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoCraq fixing
brain [Tue, 11 Jul 2006 14:05:52 +0000 (14:05 +0000)]
Craq fixing

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4330 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoError code stuff
brain [Tue, 11 Jul 2006 14:00:54 +0000 (14:00 +0000)]
Error code stuff

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4329 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoFoulups
brain [Tue, 11 Jul 2006 13:30:30 +0000 (13:30 +0000)]
Foulups

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4328 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoWe might as well start on some module to interface with the service provider, eh
brain [Tue, 11 Jul 2006 13:23:10 +0000 (13:23 +0000)]
We might as well start on some module to interface with the service provider, eh

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4327 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoCraqbusters
brain [Tue, 11 Jul 2006 13:15:55 +0000 (13:15 +0000)]
Craqbusters

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4326 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoEvent class for m_httpd.cpp
brain [Tue, 11 Jul 2006 12:55:49 +0000 (12:55 +0000)]
Event class for m_httpd.cpp

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4325 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAdd single parameter versions of Extensible::Extend and Extensible::GetExt for storin...
om [Tue, 11 Jul 2006 12:27:58 +0000 (12:27 +0000)]
Add single parameter versions of Extensible::Extend and Extensible::GetExt for storing boolean values, seckshayer

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4324 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoFix my last broken commit
brain [Tue, 11 Jul 2006 10:33:43 +0000 (10:33 +0000)]
Fix my last broken commit

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4323 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoMove openSockfd[] into ServerConfig
brain [Tue, 11 Jul 2006 10:03:09 +0000 (10:03 +0000)]
Move openSockfd[] into ServerConfig

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4322 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoFixed
brain [Tue, 11 Jul 2006 01:32:11 +0000 (01:32 +0000)]
Fixed

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4321 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoChange last vestiges of m_http.so -> m_httpd.so
brain [Tue, 11 Jul 2006 00:09:06 +0000 (00:09 +0000)]
Change last vestiges of m_http.so -> m_httpd.so

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4320 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoBecause people whined :(
brain [Mon, 10 Jul 2006 22:53:13 +0000 (22:53 +0000)]
Because people whined :(

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4319 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoSucky default index, maybe some day someone should do a better one.
brain [Mon, 10 Jul 2006 22:49:12 +0000 (22:49 +0000)]
Sucky default index, maybe some day someone should do a better one.
Once we have a virtual filesystem module of some description to make use of it.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4318 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoDir for storing http stuff in.
brain [Mon, 10 Jul 2006 22:44:50 +0000 (22:44 +0000)]
Dir for storing http stuff in.
Updates to make m_http not do sucky things.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4317 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoContentSize speedups
brain [Mon, 10 Jul 2006 22:23:03 +0000 (22:23 +0000)]
ContentSize speedups

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4316 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoFugly code band-aid^H^H^H^H^Hfix
brain [Mon, 10 Jul 2006 22:18:56 +0000 (22:18 +0000)]
Fugly code band-aid^H^H^H^H^Hfix

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4315 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAdd FileReader::ContentSize and FileReader::Contents
brain [Mon, 10 Jul 2006 22:11:53 +0000 (22:11 +0000)]
Add FileReader::ContentSize and FileReader::Contents

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4314 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoHeader stuff
brain [Mon, 10 Jul 2006 21:54:44 +0000 (21:54 +0000)]
Header stuff

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4313 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoServes faster now :)
brain [Mon, 10 Jul 2006 21:46:19 +0000 (21:46 +0000)]
Serves faster now :)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4312 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAdd timeouts etc
brain [Mon, 10 Jul 2006 21:39:56 +0000 (21:39 +0000)]
Add timeouts etc

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4311 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoOk, hands up who forgot to initialise Srv :/
brain [Mon, 10 Jul 2006 21:34:03 +0000 (21:34 +0000)]
Ok, hands up who forgot to initialise Srv :/

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4310 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoMove logging further up in inspsocket so we get the right error for bind failure
brain [Mon, 10 Jul 2006 21:30:30 +0000 (21:30 +0000)]
Move logging further up in inspsocket so we get the right error for bind failure

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4309 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoTry to make this serve some static content
brain [Mon, 10 Jul 2006 21:23:21 +0000 (21:23 +0000)]
Try to make this serve some static content

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4308 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoHttp service provider module (this doesnt do anything yet!)
brain [Mon, 10 Jul 2006 21:05:24 +0000 (21:05 +0000)]
Http service provider module (this doesnt do anything yet!)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4307 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoUpdate docs to indicate new templated GetExt and Extend, remove references to char...
brain [Mon, 10 Jul 2006 20:26:42 +0000 (20:26 +0000)]
Update docs to indicate new templated GetExt and Extend, remove references to char* and void* pointers in here, and indicate how its now possible to store a NULL in Extensible :p

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4306 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoTake out broken id
brain [Mon, 10 Jul 2006 19:12:04 +0000 (19:12 +0000)]
Take out broken id

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4305 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAaaand, fix the typo
brain [Mon, 10 Jul 2006 19:09:19 +0000 (19:09 +0000)]
Aaaand, fix the typo

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4304 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoAdded refcount to classbase, static classbase::id
brain [Mon, 10 Jul 2006 19:08:43 +0000 (19:08 +0000)]
Added refcount to classbase, static classbase::id

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4303 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoTypos
brain [Mon, 10 Jul 2006 19:06:38 +0000 (19:06 +0000)]
Typos

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4302 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoI made a Boo Boo :p
brain [Mon, 10 Jul 2006 19:04:16 +0000 (19:04 +0000)]
I made a Boo Boo :p

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4301 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoDeps weeding
brain [Mon, 10 Jul 2006 19:02:52 +0000 (19:02 +0000)]
Deps weeding

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4300 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoInherit just about everything from classbase
brain [Mon, 10 Jul 2006 19:02:06 +0000 (19:02 +0000)]
Inherit just about everything from classbase

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4299 e03df62e-2008-0410-955e-edbf42e46eb7

18 years agoInherit tons of stuff from classbase that should always have been
brain [Mon, 10 Jul 2006 18:54:25 +0000 (18:54 +0000)]
Inherit tons of stuff from classbase that should always have been

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4298 e03df62e-2008-0410-955e-edbf42e46eb7