summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
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-09-04mutexengine -> mutexfactorybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10386 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-04MutexEngine -> MutexFactory, more sensible namebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10385 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-04initialise mutexenginebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10384 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-04Fix silly compile errorsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10383 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-04fix posix mutexesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10382 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-04ability to create mutexes (rather than just having one system wide mutex) in ↵brain
the threadengines, allows for migration of m_mysql etc. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10381 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-04fix a warning. I am on a warning zapping crusade today.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10380 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-02Change exception message: "You cannot load m_services.so and ↵brain
m_services_account.so at the same time (or some other module has claimed our modes)!"y git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10379 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-02Friendly up the modules.conf commentsw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10378 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-02Fix missing >, thanks Keinw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10377 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-02This string copy is gone now, remove fixme notew00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10376 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-01Make m_chanfilter grok globbing, meaning +g test?string?lol is now possible ↵w00t
to block a word sequence. CAVEAT: you now need to block *word* unless you're blocking a whole sentance at once. Tech note: removes a string copy, which is a Good Thing. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10375 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-01typofixw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10374 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-01Allow a choice between openssl and gnutls (or both, if you're a masochist ↵w00t
(for it in action, see http://rafb.net/p/2oUb5r28.html) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10373 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-01Output proper error message when we cant write one of the makefiles etcbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10372 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-31Omit -export-dynamic on OS X, thanks to satmd's operw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10369 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-31Two fixes: Ignore + when parsing mode string in UID, and dont prepend + if ↵brain
we already have one, to prevent '++' git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10368 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-31More debugging mesages for troubleshooting invalid mode sequences in UIDbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10367 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-31Whoops, left off a virtual. Please ensure youre using this version if you ↵brain
actually want mode params to be propogated git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10366 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-31I guess it makes sense never to let the gecos be parsed as a mode param, ↵brain
even in error, in case it does something stupid git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10365 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-31Move all the parameters around AGAIN. See docs shortlybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10364 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-31Two fixes: First, change the error message for too few params for UID to now ↵brain
match the correct 11 params, and change the server name in remote kill to correctly show server name rather than sid git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10363 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-31What the fuck am I doing.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10362 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-31Off-by-one on params also == masskill, woow00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10361 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-31Add snomasks to UID command, after 'modes', bump protocol version, as this ↵w00t
can cause fun masskills if an upgraded server is introduced to older servers git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10360 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-31Save 4 bytes (assuming sizeof(ptr) == 2) per user record, storing unneeded ↵w00t
pointers (self managed class) that nothing was ever done with. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10359 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-31Remove a redundant check, and fix user-mode change propegation. (closes bug ↵w00t
#574) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10358 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-31Add <connect:useident> as part of m_ident, original suggestion from various ↵w00t
people, including satmd. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10357 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-30Make m_alltime easier to scan read for discrepancies on larger networksw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10356 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-29Tidier /modules generation. faster for non-opers, neater for all, and doesnt ↵brain
use all the strlcpys on stuff that isnt needed any more git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10354 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-29Safeguardsw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10352 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-29Don't try destroy on -P of a 0 user chan, as this causes problems during ↵w00t
netmerge.. *sigh* git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10351 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-29Fix extra End of /STATS on spanningtree override of stats c and n.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10350 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 some old stuffw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10348 e03df62e-2008-0410-955e-edbf42e46eb7