aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix compile problems hopefully..Gravatar w00t2008-09-081-19/+15
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10474 e03df62e-2008-0410-955e-edbf42e46eb7
* (Attempt to) convert MySQL to using listener base.Gravatar w00t2008-09-081-26/+30
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10473 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove old listening stuff from spanningtree, use a new derived listener class.Gravatar w00t2008-09-088-93/+84
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10472 e03df62e-2008-0410-955e-edbf42e46eb7
* Give httpd a custom listener class, specialised in creating HttpServerSockets.Gravatar w00t2008-09-081-23/+33
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10471 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove listening from BufferedSocket, it's bloaty and horrid. We have a ↵Gravatar w00t2008-09-081-124/+32
| | | | | | ListenSocketBase class to handle this instead now. :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10470 e03df62e-2008-0410-955e-edbf42e46eb7
* Make OnAcceptReady pure virtual, rename ListenSocket to ListenSocketBase, ↵Gravatar w00t2008-09-082-14/+15
| | | | | | create ClientListenSocket and inherit from ListenSocketBase to create User objects. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10469 e03df62e-2008-0410-955e-edbf42e46eb7
* Move this to another (yet more appropriate) place, saves some syscalls in an ↵Gravatar w00t2008-09-081-19/+18
| | | | | | unlikely condition. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10468 e03df62e-2008-0410-955e-edbf42e46eb7
* Add incoming IP to OnAcceptReadyGravatar w00t2008-09-081-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10467 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix missing semicolon in m_ssl_openssl [danieldg]Gravatar w00t2008-09-071-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10464 e03df62e-2008-0410-955e-edbf42e46eb7
* Move a socket sanity check into the generic listener handler, avoiding the ↵Gravatar w00t2008-09-072-16/+19
| | | | | | need to instantiate a user object in insane conditions. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10463 e03df62e-2008-0410-955e-edbf42e46eb7
* Tidy up some of the internals a bit, making things a bit more extensible and ↵Gravatar w00t2008-09-071-62/+70
| | | | | | future proof. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10462 e03df62e-2008-0410-955e-edbf42e46eb7
* Merge the second interface for socket hooking into one, so it's all done by ↵Gravatar w00t2008-09-077-26/+25
| | | | | | Add/Del/GetIOHook now. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10457 e03df62e-2008-0410-955e-edbf42e46eb7
* Initialising the member we added might be an idea.Gravatar w00t2008-09-071-1/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10456 e03df62e-2008-0410-955e-edbf42e46eb7
* Invite timeout on server-to-server is already a unix timestampGravatar w00t2008-09-071-1/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10452 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix IO hooking modules to use the new (not old) hooking callGravatar w00t2008-09-073-6/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10451 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix a stupid error, and two warnings.Gravatar w00t2008-09-071-1/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10450 e03df62e-2008-0410-955e-edbf42e46eb7
* Move socket hooking in inspsocket to utilise the new system properly.Gravatar w00t2008-09-071-13/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10449 e03df62e-2008-0410-955e-edbf42e46eb7
* Start moving IO hooking from being bufferedsocket based to residing in ↵Gravatar w00t2008-09-072-31/+21
| | | | | | EventHandler, this will pave the way for a generic listener type, and also simplifies a lot of code. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10447 e03df62e-2008-0410-955e-edbf42e46eb7
* Move listensocket stuff into a file of it's own.Gravatar w00t2008-09-072-127/+146
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10446 e03df62e-2008-0410-955e-edbf42e46eb7
* Don't execute multiple aliases after executing one.Gravatar w00t2008-09-071-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10445 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix aliases returning multiple messages, thanks Ankit.Gravatar w00t2008-09-071-10/+19
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10444 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix compile. Try again, Ankit.Gravatar w00t2008-09-071-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10443 e03df62e-2008-0410-955e-edbf42e46eb7
* Set default values for <alias:usercommand> and <alias:channelcommand>, ↵Gravatar w00t2008-09-071-2/+2
| | | | | | Ankit, please provide feedback. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10439 e03df62e-2008-0410-955e-edbf42e46eb7
* Implement masking and descriptions for module manager, thanks danieldgGravatar w00t2008-09-071-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10429 e03df62e-2008-0410-955e-edbf42e46eb7
* Add (currently untested and undocumented) fantasy command ↵Gravatar w00t2008-09-061-5/+85
| | | | | | (<alias:channelcommand>) support. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10425 e03df62e-2008-0410-955e-edbf42e46eb7
* Grr at windows exportsGravatar brain2008-09-061-0/+15
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10424 e03df62e-2008-0410-955e-edbf42e46eb7
* Rename some member fields; add <alias:usercommand>, default true - whether ↵Gravatar w00t2008-09-061-24/+39
| | | | | | or not the alias may be used as a /command. Also add (but don't yet implement) <alias:channelcommand>, default false, as to whether or not the command may be used as a fantasy command. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10423 e03df62e-2008-0410-955e-edbf42e46eb7
* Restructuring to m_alias, this will be used for (optional) fantasy commands.Gravatar w00t2008-09-061-47/+54
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10422 e03df62e-2008-0410-955e-edbf42e46eb7
* Modify aliases to use a multimap rather than a vector for storage + a map ↵Gravatar w00t2008-09-061-54/+56
| | | | | | for quick existance checking, this makes processing an alias that exists O(log n), while keeping checking for nonexistant aliases O(log n) also, as well as saving us a few bytes of memory. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10419 e03df62e-2008-0410-955e-edbf42e46eb7
* Make ThreadEngine::Mutex() protected too, make the user use Lock() and Unlock()Gravatar brain2008-09-061-18/+18
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10418 e03df62e-2008-0410-955e-edbf42e46eb7
* Add m_operinvex, adds first use for extended invex (added by Brain). Allows ↵Gravatar w00t2008-09-061-0/+83
| | | | | | for +I O:opertypemask, +b O:opertype, +e O:opertype. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10416 e03df62e-2008-0410-955e-edbf42e46eb7
* Depends on: ../../include/u_listmode.hGravatar brain2008-09-061-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10415 e03df62e-2008-0410-955e-edbf42e46eb7
* Publish interface in chanfilterGravatar brain2008-09-061-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10408 e03df62e-2008-0410-955e-edbf42e46eb7
* Newer extban-supporting listmode apiGravatar brain2008-09-063-40/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10407 e03df62e-2008-0410-955e-edbf42e46eb7
* Use lock/unlockGravatar brain2008-09-061-18/+18
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10405 e03df62e-2008-0410-955e-edbf42e46eb7
* use lock/unlock instead.Gravatar peavey2008-09-061-26/+26
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10404 e03df62e-2008-0410-955e-edbf42e46eb7
* RegexFactoryRequest sets result to null on construction, so if you direct ↵Gravatar brain2008-09-061-1/+1
| | | | | | this Request at a module which doesnt implement it, you predictibly get NULL as a result from Create() rather than a random value git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10402 e03df62e-2008-0410-955e-edbf42e46eb7
* Now with threaded queries.Gravatar peavey2008-09-051-6/+100
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10401 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix unsafe cast (const char * -> char *). Doesn't really matter, though, as ↵Gravatar w00t2008-09-051-1/+1
| | | | | | nothing currently uses this code. ;p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10400 e03df62e-2008-0410-955e-edbf42e46eb7
* TRE regex provider (the same engine used by Unreal 3.2)Gravatar aquanight2008-09-052-1/+107
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10399 e03df62e-2008-0410-955e-edbf42e46eb7
* POSIX regular expression provider (basic/extended controlled by <posix ↵Gravatar aquanight2008-09-052-2/+115
| | | | | | extended=..>). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10398 e03df62e-2008-0410-955e-edbf42e46eb7
* Make it possible to retrieve the original string from a given regex object, ↵Gravatar aquanight2008-09-051-0/+5
| | | | | | so it can be displayed in, eg, /stats (for filter/rline for example)). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10397 e03df62e-2008-0410-955e-edbf42e46eb7
* Adjustments to regex creation, and add PCRE providerGravatar aquanight2008-09-053-3/+112
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10396 e03df62e-2008-0410-955e-edbf42e46eb7
* Framework for central regex module, and a bare-bone implementation based on ↵Gravatar aquanight2008-09-052-0/+129
| | | | | | InspIRCd::Match(). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10395 e03df62e-2008-0410-955e-edbf42e46eb7
* mysql's windows build is utter hell to get working the way we wanted. The ↵Gravatar brain2008-09-0512-12/+12
| | | | | | packaged libs provided by mysql AB are built against statically linked libraries and for vs2003. These dont work with inspircd using dynamically linked runtime and they dont work on vs2005 or 2008! Have had to roll my own MySQL on windows which was annoying as it wouldnt compile and was missing libraries and include files, we will have to bundle our own mysql dll built for the right visual studio and right runtimes. All the headers etc fixed to build in windows. Not tested with a real db connection yet, just compiles. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10394 e03df62e-2008-0410-955e-edbf42e46eb7
* sql api and m_mysql compile fixes for windowsGravatar brain2008-09-058-25/+25
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10393 e03df62e-2008-0410-955e-edbf42e46eb7
* Needs the .lib apparentlyGravatar brain2008-09-041-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10392 e03df62e-2008-0410-955e-edbf42e46eb7
* This would be useful, tooGravatar brain2008-09-041-0/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10391 e03df62e-2008-0410-955e-edbf42e46eb7
* Of course, it DOES help to actually initialise the Mutex objects, and delete ↵Gravatar brain2008-09-041-2/+7
| | | | | | them on shutdown after the thread is gone git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10390 e03df62e-2008-0410-955e-edbf42e46eb7
* Update commentGravatar brain2008-09-041-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10389 e03df62e-2008-0410-955e-edbf42e46eb7