summaryrefslogtreecommitdiff
path: root/src/modules/extra
AgeCommit message (Collapse)Author
2008-09-12more cleanuppeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10530 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-12cleanuppeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10529 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-12fix for listenbase, tested and works like a charm.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10528 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-09Remember to free some stuff when failing in the ctorbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10489 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-09fix compile errors (whoops)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10488 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-09Whoops, schoolboy errorbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10487 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-09Add connmutex to mutex the connections vector, otherwise we can get access ↵brain
from two threads and it is stl. ew. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10486 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-09peavey, w00t, this works now. Methods werent copied right. Please feel free ↵brain
to base the other sql module fixes on the diffs that i used to fix this. ALSO now works on win32, tested! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10485 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-09fix various bodge-ups, we must have been tired when fixing this in the first ↵brain
place to use the new api, methods are in the wrong places. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10483 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-09not test compiled yet: sql modules werent working because someone chopped ↵brain
out the important code that determines what port the new socket is bound to when binding to port "0". The GetPort() method belongs in the listensocketbase derived socket not the bufferedsocket one, and the code for determining the getsockname() belongs in the ctor for the listen derived socket. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10482 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-08Check the wrong way around is just stupid. ;pw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10480 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-08Fix warning, thanks peavumsw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10479 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-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-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-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-06Grr at windows exportsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10424 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-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
2008-09-04This would be useful, toobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10391 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-04Of course, it DOES help to actually initialise the Mutex objects, and delete ↵brain
them on shutdown after the thread is gone git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10390 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-04Update commentbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10389 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-04Now uses Mutex class. No need for pthreads use directly in this lib. Needs ↵brain
testing. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10388 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-04Thread is now a Thread derived class, now need to convert the mutexes. With ↵brain
the new Mutex class, should be pretty easy git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10387 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-29Make these more descriptive/easy to grokw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10353 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-29Some fixes for the ziplinks modules.psychon
It now uses the netbuffer size from config for its network buffers instead of always 128k. To avoid the inbuf filling up, it doesn't read anything from the net anymore until that buffer is empty again. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10349 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-29Remove two unused parametersw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10346 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-28Newly revamped ziplinks module, work of psychon.. resolves (a lot) of ↵w00t
problems with ziplinks and large data amounts, fixes a few bugs, etc. (thanks for your work). - Yes, this missed the alpha. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10342 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-28this new stuff in m_ssl_gnutls is NOT in our spec! probably shouldnt be ↵brain
either, because it adds confusion and its clearly documented that initialising tls is done via STARTTLS and CAP advertises it (not to mention clients are already doing it this way) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10334 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-28Add CAP REQ tls support, thanks to psychonw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10332 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-27Clean up opering a tiny bit.. pave the way for SVSOPERw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10324 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-27Delete R:Lines from memory on destroyw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10313 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-25Change module versions to use a string instead of fixed digits, and use ↵w00t
propset ID to auto-set versions, so we don't have (essentially unused) module versions. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10290 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-22Nuke last references to MatchTextw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10217 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-22Match conversion stuff.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10216 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-22Revert automated conversion by Special, as it (unfortunately) neglects some ↵w00t
details. It provides a useful start point, though, so it'll be used as the basis for the final conversion. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10215 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-22Fix a lot of calls to match() and uses of wildcard.h (which doesn't exist ↵special
anymore) after w00t broke them. Still broken pending a few more changes (it's all w00t's fault.) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10214 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-18Apply to clictx toobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10164 e03df62e-2008-0410-955e-edbf42e46eb7