summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-09-08Growl.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10477 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-08Remove crappy, unsafe (and now unneeded!) casts.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10476 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-08More compile fixes.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10475 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-08Fix compile problems hopefully..w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10474 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-08(Attempt to) convert MySQL to using listener base.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10473 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-08Remove old listening stuff from spanningtree, use a new derived listener class.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10472 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-08Give httpd a custom listener class, specialised in creating HttpServerSockets.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10471 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-08Remove listening from BufferedSocket, it's bloaty and horrid. We have a ↵w00t
ListenSocketBase class to handle this instead now. :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10470 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-08Make OnAcceptReady pure virtual, rename ListenSocket to ListenSocketBase, ↵w00t
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
2008-09-08Move this to another (yet more appropriate) place, saves some syscalls in an ↵w00t
unlikely condition. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10468 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-08Add incoming IP to OnAcceptReadyw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10467 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Fix missing semicolon in m_ssl_openssl [danieldg]w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10464 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Move a socket sanity check into the generic listener handler, avoiding the ↵w00t
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
2008-09-07Tidy up some of the internals a bit, making things a bit more extensible and ↵w00t
future proof. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10462 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Merge the second interface for socket hooking into one, so it's all done by ↵w00t
Add/Del/GetIOHook now. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10457 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Initialising the member we added might be an idea.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10456 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Invite timeout on server-to-server is already a unix timestampw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10452 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Fix IO hooking modules to use the new (not old) hooking callw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10451 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Fix a stupid error, and two warnings.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10450 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Move socket hooking in inspsocket to utilise the new system properly.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10449 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Start moving IO hooking from being bufferedsocket based to residing in ↵w00t
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
2008-09-07Move listensocket stuff into a file of it's own.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10446 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Don't execute multiple aliases after executing one.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10445 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Fix aliases returning multiple messages, thanks Ankit.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10444 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Fix compile. Try again, Ankit.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10443 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Set default values for <alias:usercommand> and <alias:channelcommand>, ↵w00t
Ankit, please provide feedback. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10439 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Implement masking and descriptions for module manager, thanks danieldgw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10429 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06Add (currently untested and undocumented) fantasy command ↵w00t
(<alias:channelcommand>) support. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10425 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06Grr at windows exportsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10424 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06Rename some member fields; add <alias:usercommand>, default true - whether ↵w00t
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
2008-09-06Restructuring to m_alias, this will be used for (optional) fantasy commands.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10422 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06Modify aliases to use a multimap rather than a vector for storage + a map ↵w00t
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
2008-09-06Make ThreadEngine::Mutex() protected too, make the user use Lock() and Unlock()brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10418 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06Add m_operinvex, adds first use for extended invex (added by Brain). Allows ↵w00t
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
2008-09-06Depends on: ../../include/u_listmode.hbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10415 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06Publish interface in chanfilterbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10408 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06Newer extban-supporting listmode apibrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10407 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06Use lock/unlockbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10405 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06use lock/unlock instead.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10404 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06RegexFactoryRequest sets result to null on construction, so if you direct ↵brain
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
2008-09-05Now with threaded queries.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10401 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-05Fix unsafe cast (const char * -> char *). Doesn't really matter, though, as ↵w00t
nothing currently uses this code. ;p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10400 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-05TRE regex provider (the same engine used by Unreal 3.2)aquanight
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10399 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-05POSIX regular expression provider (basic/extended controlled by <posix ↵aquanight
extended=..>). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10398 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-05Make it possible to retrieve the original string from a given regex object, ↵aquanight
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
2008-09-05Adjustments to regex creation, and add PCRE provideraquanight
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10396 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-05Framework for central regex module, and a bare-bone implementation based on ↵aquanight
InspIRCd::Match(). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10395 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-05mysql's windows build is utter hell to get working the way we wanted. The ↵brain
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
2008-09-05sql api and m_mysql compile fixes for windowsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10393 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-04Needs the .lib apparentlybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10392 e03df62e-2008-0410-955e-edbf42e46eb7