]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
brain [Sat, 22 Jul 2006 16:11:28 +0000 (16:11 +0000)]
Added m_mysql.so and m_pgsql.so to docs, remove m_sql.so, RETAIN ALPHA ORDER.
*ALL OTHER DEVS* please add your modules to this config file when you have time, thanks ;p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4516
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 22 Jul 2006 16:02:17 +0000 (16:02 +0000)]
Alter for Rows() == X, Cols() == 0 for 'X rows affected' queries
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4515
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 22 Jul 2006 15:45:34 +0000 (15:45 +0000)]
Change to doxygen-friendly comments, and actually document the lot
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4514
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Sat, 22 Jul 2006 14:56:35 +0000 (14:56 +0000)]
Change comment to actually be rightish
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4513
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Sat, 22 Jul 2006 14:54:18 +0000 (14:54 +0000)]
Reorder a couple of constructor prototypes for consistency
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4512
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Sat, 22 Jul 2006 14:51:42 +0000 (14:51 +0000)]
Add m_sqlutils - Currently provides ID->chan/user lookups
Update m_sqlauth to use m_sqlutils
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4511
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 22 Jul 2006 13:30:34 +0000 (13:30 +0000)]
I hate the fucking mysql devs. Craq smoking bastards.
Upon Insert, number of rows is the number of rows effected but the number of columns is 0?????
Add check to MySQLreply::Rows() to ensure the user doesnt see N rows and 0 columns!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4510
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 22 Jul 2006 13:00:07 +0000 (13:00 +0000)]
Allocate id properly
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4509
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Sat, 22 Jul 2006 12:57:19 +0000 (12:57 +0000)]
Actually hook up the OnUnloadModule event >_<
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4508
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 22 Jul 2006 12:47:31 +0000 (12:47 +0000)]
This compiles, dont expect it to work yet
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4507
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Sat, 22 Jul 2006 11:27:09 +0000 (11:27 +0000)]
Logic error, success is when the error ID *is* NO_ERROR :P
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4505
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 22 Jul 2006 11:25:49 +0000 (11:25 +0000)]
Stop publishing MySQL feature - check for successful publishing of SQL feature
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4504
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Sat, 22 Jul 2006 11:22:20 +0000 (11:22 +0000)]
Stop publishing the PgSQL feature ( :-'( )
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4503
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 22 Jul 2006 11:08:00 +0000 (11:08 +0000)]
Fix -modupdate to not break inspircd_se_config.h (a configure-written header that contains an include for the socketengine header)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4502
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 22 Jul 2006 10:53:17 +0000 (10:53 +0000)]
Make OnCheckReady safe against the user being killed, SO LONG AS THE MODULE WHICH D/C'S THE USER RETURNS FALSE
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4501
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Sat, 22 Jul 2006 10:52:02 +0000 (10:52 +0000)]
Explicitly return false after killing user in OnCheckReady() (theoretically no change, but just makes sure..)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4500
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 22 Jul 2006 10:45:35 +0000 (10:45 +0000)]
* Change to use QREPLY_FAIL
* Adjust error message so that it appears in the format: "<errno>: <err message>"
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4499
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Sat, 22 Jul 2006 10:42:11 +0000 (10:42 +0000)]
Handle queries failing properly, actually work
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4498
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Sat, 22 Jul 2006 10:41:38 +0000 (10:41 +0000)]
Set the SQLresult's error field properly when the query fails
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4497
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Sat, 22 Jul 2006 10:41:08 +0000 (10:41 +0000)]
Add new QREPLY_FAIL error code (bad query syntax etc)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4496
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 22 Jul 2006 09:38:55 +0000 (09:38 +0000)]
Add extra parameter to MySQLresult and SQLresult
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4495
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 22 Jul 2006 09:29:37 +0000 (09:29 +0000)]
Fix test client error cheecking on result types
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4494
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Sat, 22 Jul 2006 09:24:00 +0000 (09:24 +0000)]
Update to SQLv2 API
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4493
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Sat, 22 Jul 2006 09:23:40 +0000 (09:23 +0000)]
Set the ID in the request *before* we copy it by value why not..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4492
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Sat, 22 Jul 2006 08:33:15 +0000 (08:33 +0000)]
*hide*, I forgot to include the ID in the SQLresult *rehide*
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4491
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 22 Jul 2006 02:02:55 +0000 (02:02 +0000)]
Add back the auto reconnect
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4490
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 22 Jul 2006 01:09:57 +0000 (01:09 +0000)]
Test commit to sync after network outage
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4489
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 22 Jul 2006 01:06:55 +0000 (01:06 +0000)]
Huge ass comment about how this works
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4488
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 22 Jul 2006 00:53:28 +0000 (00:53 +0000)]
Works with the m_testclient test program/suite!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4487
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 22 Jul 2006 00:27:35 +0000 (00:27 +0000)]
Error checking and debug
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4486
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 22 Jul 2006 00:25:41 +0000 (00:25 +0000)]
Works now (again, to a point)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4485
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 22 Jul 2006 00:10:41 +0000 (00:10 +0000)]
Try and find out why stuff isnt working
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4484
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 22 Jul 2006 00:08:54 +0000 (00:08 +0000)]
Getting a bit further
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4483
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 21 Jul 2006 23:27:47 +0000 (23:27 +0000)]
Added notification socket
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4482
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 21 Jul 2006 22:28:42 +0000 (22:28 +0000)]
One mess and a half that compiles. To be tidied some day after it works (i dread that day.)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4481
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 21 Jul 2006 19:55:24 +0000 (19:55 +0000)]
Deal with ? substitution, we're at the point now where we can call the mysql_real_query function
(mysql_real_query takes char* and length params, mysql_query just takes char*, and cant deal with NULLs)
TODO after this: signal the main ircd thread that theres a result ready on a given db id, and to fetch that result and post it back to the caller
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4480
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 21 Jul 2006 19:30:29 +0000 (19:30 +0000)]
Seems to work to a point (dont use it, it wont actually execute a query yet)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4479
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 21 Jul 2006 18:39:05 +0000 (18:39 +0000)]
This now compiles, i gaurantee it doesnt work :P
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4478
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 21 Jul 2006 17:56:07 +0000 (17:56 +0000)]
Change includes, use --libs_r rather than mysql_config --libs, we want re-enterant libs for pthreads
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4477
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 21 Jul 2006 17:48:46 +0000 (17:48 +0000)]
Move this to m_mysql.cpp - dont even bother reading this yet its unchanged from m_sql
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4476
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Fri, 21 Jul 2006 17:18:39 +0000 (17:18 +0000)]
Set the query string in the SQLquery to the copy with parameters substituted in.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4475
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Fri, 21 Jul 2006 12:39:42 +0000 (12:39 +0000)]
Implemenet parameter substitution (damn sexy if you ask me..)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4474
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Fri, 21 Jul 2006 12:05:05 +0000 (12:05 +0000)]
ParamL needs to be a deque rather than a vector *thwap*
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4473
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Fri, 21 Jul 2006 11:42:55 +0000 (11:42 +0000)]
Add tiny perl script to detect version and pass an appropriate -D to gcc. Make m_pgsql #ifdef around PQescapeStringConn() which is only available in PostgreSQL >= 8.1.4
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4472
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Fri, 21 Jul 2006 08:37:42 +0000 (08:37 +0000)]
API header and client module updates for new multi-parameter query request. Needs proper implementation in m_pgsql and documentation
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4471
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Fri, 21 Jul 2006 00:48:42 +0000 (00:48 +0000)]
Slight tidyup: type name = type(args); --> type name(args);
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4470
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Thu, 20 Jul 2006 19:06:31 +0000 (19:06 +0000)]
Make SQLexception inherit ModuleException
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4468
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 20 Jul 2006 18:27:58 +0000 (18:27 +0000)]
Change formatting
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4467
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 20 Jul 2006 18:26:09 +0000 (18:26 +0000)]
Add comments, remove debug, alter message in ./configure
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4466
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 20 Jul 2006 18:02:09 +0000 (18:02 +0000)]
Fixed, no longer a memory leak (Thread leak)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4465
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Thu, 20 Jul 2006 17:47:15 +0000 (17:47 +0000)]
Updates, should be able to safely unload client modules with queries in progress now...
Ideas on how to test this welcome ;p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4464
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Thu, 20 Jul 2006 17:19:16 +0000 (17:19 +0000)]
Okay, working PostgreSQL module, API header and example client module in /extra/, enjoy
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4463
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 20 Jul 2006 17:16:08 +0000 (17:16 +0000)]
Someone please take a look at this and tell me why a thread doesnt free itself like it should when it exits, freeing the ram
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4462
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 20 Jul 2006 16:52:08 +0000 (16:52 +0000)]
Move a confusing debug message within its conditional
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4461
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 20 Jul 2006 16:48:44 +0000 (16:48 +0000)]
Make threaded dns stable by placing some mutexes around some stl stuff (this really needs lots of testing now)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4460
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 20 Jul 2006 16:11:50 +0000 (16:11 +0000)]
Threaded dns stuff - im going to try and make this stable in 1.1
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4459
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 20 Jul 2006 16:08:00 +0000 (16:08 +0000)]
Extra sanity checks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4457
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Thu, 20 Jul 2006 13:15:43 +0000 (13:15 +0000)]
Okay, this is getting towards working now. It just needs the API finishing...everything in the backend part seems to be working okay
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4456
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 19 Jul 2006 21:46:00 +0000 (21:46 +0000)]
Removed all that lastcreate and wantclose craq from dns.cpp (WHAT THE FUCK WERE THE FIREDNS GUYS SMOKING)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4454
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 19 Jul 2006 20:17:26 +0000 (20:17 +0000)]
Stability fix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4453
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 19 Jul 2006 15:03:26 +0000 (15:03 +0000)]
Change stats recv/send to double, so they can hold truly massive numbers of transferred bytes (they would overflow after about 6 weeks on a busy net otherwise)
Fix some warnings
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4450
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 19 Jul 2006 14:56:47 +0000 (14:56 +0000)]
Change counters to unsigned long to prevent overflow to negative counts
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4449
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 19 Jul 2006 14:54:18 +0000 (14:54 +0000)]
Increase size to unsigned long
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4448
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 19 Jul 2006 14:52:39 +0000 (14:52 +0000)]
Completely remove need for memset.
When we uniq_id++, we can wrap to 0 theoretically after 4 billion output messages, HOWEVER, when we do, 0 will be a valid comparison within the array :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4447
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 19 Jul 2006 13:55:06 +0000 (13:55 +0000)]
Set 'copyright' property on all items, informational only, effects nothing
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4446
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 19 Jul 2006 13:52:09 +0000 (13:52 +0000)]
Change properties
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4445
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 19 Jul 2006 13:50:16 +0000 (13:50 +0000)]
Test change
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4444
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 19 Jul 2006 13:29:06 +0000 (13:29 +0000)]
Add #include <sys/select.h> to select engine, we probably need it
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4443
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 19 Jul 2006 13:12:03 +0000 (13:12 +0000)]
Fix MOTD
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4442
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 19 Jul 2006 12:58:57 +0000 (12:58 +0000)]
Whoops, forgot SocketEngine::SocketEngine() gets called recursively from *Engine::*Engine() (where * is the type being built)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4441
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 19 Jul 2006 12:54:56 +0000 (12:54 +0000)]
Fix typo in kqueue engine
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4440
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 19 Jul 2006 12:51:21 +0000 (12:51 +0000)]
* Seperate out socket engines into derived classes of SocketEngine.
* Add a classfactory SocketEngineFactory to create a new socketengine of the configured type
* Implement configure hax to compile only the required socketengine and the base class
* Eliminates ugly defines, and is more in line with C++ ways
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4439
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 19 Jul 2006 11:13:15 +0000 (11:13 +0000)]
Change size of already_sent from char to int to work with uniq_id value
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4438
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 19 Jul 2006 11:00:55 +0000 (11:00 +0000)]
Speed up writecommon, writecommon_noformat, writechannel, etc (by quite a bit) - eliminate 99.
99999999999 % of the memsets
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4437
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 19 Jul 2006 10:47:46 +0000 (10:47 +0000)]
Special checking for muppet providers that make their reverse resolution resolve back to the same reverse resolution.
*WHY* DO PEOPLE IN CONTROL OF THE RDNS RECORDS EVEN *ALLOW* SUCH LUNACY?!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4436
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 19 Jul 2006 09:16:45 +0000 (09:16 +0000)]
Fix motd with new buffering
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4434
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 18 Jul 2006 21:43:37 +0000 (21:43 +0000)]
Tried to implement sprintf that returns std::string of any size, realized it would scale like unreal scales to ircnet (e.g. it wouldnt!) so took it back out.
Moved chop() functionality into userrec::AddWriteBuf and make it nicer (no strlen)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4433
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 16 Jul 2006 21:28:09 +0000 (21:28 +0000)]
Tweaks for nonblocking dns
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4432
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 16 Jul 2006 21:23:27 +0000 (21:23 +0000)]
Improved connect time by not referencing the hash for each user value, store a temp pointer
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4431
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 16 Jul 2006 20:13:40 +0000 (20:13 +0000)]
Ignore empty lines, don't try and process them as commands
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4430
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 16 Jul 2006 20:01:16 +0000 (20:01 +0000)]
Only attempt forward lookup if the user still exists
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4428
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 16 Jul 2006 19:58:25 +0000 (19:58 +0000)]
Remove some casts
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4427
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 16 Jul 2006 19:54:17 +0000 (19:54 +0000)]
Craq removal service, at your service
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4426
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 16 Jul 2006 19:45:24 +0000 (19:45 +0000)]
i'm doing this in increments, because if i try and change too much at once, it breaks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4425
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 16 Jul 2006 19:43:38 +0000 (19:43 +0000)]
Fixing sendq crask
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4424
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Sun, 16 Jul 2006 19:14:31 +0000 (19:14 +0000)]
Update to new API - I think this is right, compiles...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4422
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 16 Jul 2006 17:49:43 +0000 (17:49 +0000)]
Fixed it myself so i can carry on coding1
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4421
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 16 Jul 2006 17:27:49 +0000 (17:27 +0000)]
More WHO
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4420
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 16 Jul 2006 17:03:35 +0000 (17:03 +0000)]
WHO refactoring. In progress currently.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4419
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 16 Jul 2006 15:45:13 +0000 (15:45 +0000)]
*Changed user input/output buffering to incur less copies
*Fix warnings in command_parse
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4418
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 16 Jul 2006 15:44:00 +0000 (15:44 +0000)]
Change to a DIFFERENT HOOK for added goodness.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4417
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 16 Jul 2006 15:31:53 +0000 (15:31 +0000)]
Document irc::commasepstream and irc::tokenstream
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4414
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 16 Jul 2006 15:21:34 +0000 (15:21 +0000)]
Document loopcall (its still complicated in concept, but now easier to read and possibly easier to understand)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4413
e03df62e -2008-0410-955e-
edbf42e46eb7
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
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
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
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
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
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
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