]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
w00t [Mon, 8 Sep 2008 21:21:44 +0000 (21:21 +0000)]
Check the wrong way around is just stupid. ;p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10480
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 8 Sep 2008 21:19:34 +0000 (21:19 +0000)]
Fix warning, thanks peavums
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10479
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 8 Sep 2008 21:13:30 +0000 (21:13 +0000)]
Growl.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10477
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 8 Sep 2008 20:59:16 +0000 (20:59 +0000)]
Remove crappy, unsafe (and now unneeded!) casts.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10476
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 8 Sep 2008 20:41:10 +0000 (20:41 +0000)]
More compile fixes.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10475
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 8 Sep 2008 20:38:53 +0000 (20:38 +0000)]
Fix compile problems hopefully..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10474
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 8 Sep 2008 20:34:31 +0000 (20:34 +0000)]
(Attempt to) convert MySQL to using listener base.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10473
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 8 Sep 2008 19:23:22 +0000 (19:23 +0000)]
Remove old listening stuff from spanningtree, use a new derived listener class.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10472
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 8 Sep 2008 19:23:19 +0000 (19:23 +0000)]
Give httpd a custom listener class, specialised in creating HttpServerSockets.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10471
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 8 Sep 2008 19:23:17 +0000 (19:23 +0000)]
Remove listening from BufferedSocket, it's bloaty and horrid. We have a ListenSocketBase class to handle this instead now. :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10470
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 8 Sep 2008 16:58:41 +0000 (16:58 +0000)]
Make OnAcceptReady pure virtual, rename ListenSocket to ListenSocketBase, 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
w00t [Mon, 8 Sep 2008 16:58:37 +0000 (16:58 +0000)]
Move this to another (yet more appropriate) place, saves some syscalls in an unlikely condition.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10468
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 8 Sep 2008 10:43:00 +0000 (10:43 +0000)]
Add incoming IP to OnAcceptReady
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10467
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 7 Sep 2008 23:40:00 +0000 (23:40 +0000)]
Allow for silencing getmodules() output (is annoying when using modulemanager)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10466
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 7 Sep 2008 23:19:55 +0000 (23:19 +0000)]
Add "list" and usage to modulemanager [danieldg]
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10465
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 7 Sep 2008 23:19:52 +0000 (23:19 +0000)]
Fix missing semicolon in m_ssl_openssl [danieldg]
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10464
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 7 Sep 2008 23:15:05 +0000 (23:15 +0000)]
Move a socket sanity check into the generic listener handler, avoiding the 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
w00t [Sun, 7 Sep 2008 23:08:32 +0000 (23:08 +0000)]
Tidy up some of the internals a bit, making things a bit more extensible and future proof.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10462
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 7 Sep 2008 22:28:24 +0000 (22:28 +0000)]
Fix windows project files
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10461
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 7 Sep 2008 22:23:03 +0000 (22:23 +0000)]
Merge class connection in with class user (nothing else inherits it anyway, and all the fields in here were only really useful to users anyway)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10460
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 7 Sep 2008 20:07:50 +0000 (20:07 +0000)]
Merge the second interface for socket hooking into one, so it's all done by Add/Del/GetIOHook now.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10457
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 7 Sep 2008 19:50:00 +0000 (19:50 +0000)]
Initialising the member we added might be an idea.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10456
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 7 Sep 2008 19:39:42 +0000 (19:39 +0000)]
Make this work with older git, too (thanks danieldg)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10455
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 7 Sep 2008 19:34:04 +0000 (19:34 +0000)]
Use git describe rather than git-svn, it works better with secondary clones
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10454
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 7 Sep 2008 19:34:03 +0000 (19:34 +0000)]
Updates
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10453
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 7 Sep 2008 19:34:02 +0000 (19:34 +0000)]
Invite timeout on server-to-server is already a unix timestamp
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10452
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 7 Sep 2008 18:49:55 +0000 (18:49 +0000)]
Fix IO hooking modules to use the new (not old) hooking call
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10451
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 7 Sep 2008 18:31:25 +0000 (18:31 +0000)]
Fix a stupid error, and two warnings.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10450
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 7 Sep 2008 18:31:24 +0000 (18:31 +0000)]
Move socket hooking in inspsocket to utilise the new system properly.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10449
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 7 Sep 2008 18:31:23 +0000 (18:31 +0000)]
Fix forward-declaration caused as a result of recent changes.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10448
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 7 Sep 2008 18:31:21 +0000 (18:31 +0000)]
Start moving IO hooking from being bufferedsocket based to residing in 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
w00t [Sun, 7 Sep 2008 18:31:20 +0000 (18:31 +0000)]
Move listensocket stuff into a file of it's own.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10446
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 7 Sep 2008 17:10:52 +0000 (17:10 +0000)]
Don't execute multiple aliases after executing one.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10445
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 7 Sep 2008 17:02:06 +0000 (17:02 +0000)]
Fix aliases returning multiple messages, thanks Ankit.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10444
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 7 Sep 2008 16:31:21 +0000 (16:31 +0000)]
Fix compile. Try again, Ankit.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10443
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 7 Sep 2008 16:24:57 +0000 (16:24 +0000)]
Merge branch 'testbranch'
Conflicts:
sources.list
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10442
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 7 Sep 2008 16:23:58 +0000 (16:23 +0000)]
Test commit.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10441
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 7 Sep 2008 16:19:28 +0000 (16:19 +0000)]
Set default values for <alias:usercommand> and <alias:channelcommand>, Ankit, please provide feedback.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10439
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 7 Sep 2008 14:38:55 +0000 (14:38 +0000)]
Also redirect errors to /dev/null to avoid messy output on VCS that aren't installed/in use
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10434
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 7 Sep 2008 14:38:55 +0000 (14:38 +0000)]
Nicer fix for REVISION stuff when using git, thanks danieldg for the basis.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10433
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 7 Sep 2008 14:20:58 +0000 (14:20 +0000)]
Another test commit
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10432
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 7 Sep 2008 14:20:57 +0000 (14:20 +0000)]
Test commit from git
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10431
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 7 Sep 2008 03:49:21 +0000 (03:49 +0000)]
Upgrade the upgrade command to ..upgrade better. Thanks danieldg.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10430
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 7 Sep 2008 03:27:54 +0000 (03:27 +0000)]
Implement masking and descriptions for module manager, thanks danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10429
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 7 Sep 2008 02:27:43 +0000 (02:27 +0000)]
Allow comments in sources.list and list files (thanks danieldg)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10428
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 7 Sep 2008 02:25:47 +0000 (02:25 +0000)]
Add default sources.list for modulemanager
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10427
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 7 Sep 2008 01:51:21 +0000 (01:51 +0000)]
Add basic module manager, patch courtesy of danieldg.. still needs some work/review, but looks good
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10426
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sat, 6 Sep 2008 22:15:11 +0000 (22:15 +0000)]
Add (currently untested and undocumented) fantasy command (<alias:channelcommand>) support.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10425
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 6 Sep 2008 21:55:47 +0000 (21:55 +0000)]
Grr at windows exports
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10424
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sat, 6 Sep 2008 21:49:46 +0000 (21:49 +0000)]
Rename some member fields; add <alias:usercommand>, default true - whether 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
w00t [Sat, 6 Sep 2008 21:28:56 +0000 (21:28 +0000)]
Restructuring to m_alias, this will be used for (optional) fantasy commands.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10422
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 6 Sep 2008 21:27:15 +0000 (21:27 +0000)]
fixes so m_sqloper builds on win
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10421
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 6 Sep 2008 20:42:36 +0000 (20:42 +0000)]
Auto update modules from src/modules/extra by recopying them in configure if they exist also in src/modules
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10420
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sat, 6 Sep 2008 20:06:28 +0000 (20:06 +0000)]
Modify aliases to use a multimap rather than a vector for storage + a map 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
brain [Sat, 6 Sep 2008 14:41:44 +0000 (14:41 +0000)]
Make ThreadEngine::Mutex() protected too, make the user use Lock() and Unlock()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10418
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sat, 6 Sep 2008 13:41:03 +0000 (13:41 +0000)]
Document m_operinvex
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10417
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sat, 6 Sep 2008 13:36:44 +0000 (13:36 +0000)]
Add m_operinvex, adds first use for extended invex (added by Brain). Allows 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
brain [Sat, 6 Sep 2008 13:36:09 +0000 (13:36 +0000)]
Depends on: ../../include/u_listmode.h
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10415
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 6 Sep 2008 13:32:13 +0000 (13:32 +0000)]
Speedups
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10414
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 6 Sep 2008 13:30:45 +0000 (13:30 +0000)]
Nope w00t it wasnt the last :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10413
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 6 Sep 2008 13:29:24 +0000 (13:29 +0000)]
Properly handle CIDR etc for user pointer extbans
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10412
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 6 Sep 2008 13:25:58 +0000 (13:25 +0000)]
Make sure user is null when a literal is passed
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10411
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 6 Sep 2008 13:21:35 +0000 (13:21 +0000)]
Optional use of user object
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10410
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 6 Sep 2008 13:08:23 +0000 (13:08 +0000)]
Whoops left something out
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10409
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 6 Sep 2008 13:05:28 +0000 (13:05 +0000)]
Publish interface in chanfilter
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10408
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 6 Sep 2008 13:04:26 +0000 (13:04 +0000)]
Newer extban-supporting listmode api
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10407
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 6 Sep 2008 12:29:19 +0000 (12:29 +0000)]
Stick Enable() in private, enhance comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10406
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 6 Sep 2008 12:16:19 +0000 (12:16 +0000)]
Use lock/unlock
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10405
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Sat, 6 Sep 2008 11:53:08 +0000 (11:53 +0000)]
use lock/unlock instead.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10404
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 6 Sep 2008 11:37:25 +0000 (11:37 +0000)]
New methods in mutex purely for readability:
void Lock() { Enable(true); }
void Unlock() { Enable(false); }
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10403
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 6 Sep 2008 03:52:34 +0000 (03:52 +0000)]
RegexFactoryRequest sets result to null on construction, so if you direct 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
peavey [Fri, 5 Sep 2008 22:29:45 +0000 (22:29 +0000)]
Now with threaded queries.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10401
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Fri, 5 Sep 2008 22:18:10 +0000 (22:18 +0000)]
Fix unsafe cast (const char * -> char *). Doesn't really matter, though, as nothing currently uses this code. ;p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10400
e03df62e -2008-0410-955e-
edbf42e46eb7
aquanight [Fri, 5 Sep 2008 20:02:02 +0000 (20:02 +0000)]
TRE regex provider (the same engine used by Unreal 3.2)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10399
e03df62e -2008-0410-955e-
edbf42e46eb7
aquanight [Fri, 5 Sep 2008 19:33:49 +0000 (19:33 +0000)]
POSIX regular expression provider (basic/extended controlled by <posix extended=..>).
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10398
e03df62e -2008-0410-955e-
edbf42e46eb7
aquanight [Fri, 5 Sep 2008 18:58:55 +0000 (18:58 +0000)]
Make it possible to retrieve the original string from a given regex object, 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
aquanight [Fri, 5 Sep 2008 18:53:07 +0000 (18:53 +0000)]
Adjustments to regex creation, and add PCRE provider
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10396
e03df62e -2008-0410-955e-
edbf42e46eb7
aquanight [Fri, 5 Sep 2008 17:37:02 +0000 (17:37 +0000)]
Framework for central regex module, and a bare-bone implementation based on InspIRCd::Match().
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10395
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 5 Sep 2008 11:22:50 +0000 (11:22 +0000)]
mysql's windows build is utter hell to get working the way we wanted. The 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
brain [Fri, 5 Sep 2008 08:42:41 +0000 (08:42 +0000)]
sql api and m_mysql compile fixes for windows
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10393
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 4 Sep 2008 21:49:59 +0000 (21:49 +0000)]
Needs the .lib apparently
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10392
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 4 Sep 2008 21:47:30 +0000 (21:47 +0000)]
This would be useful, too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10391
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 4 Sep 2008 21:43:42 +0000 (21:43 +0000)]
Of course, it DOES help to actually initialise the Mutex objects, and delete them on shutdown after the thread is gone
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10390
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 4 Sep 2008 21:40:40 +0000 (21:40 +0000)]
Update comment
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10389
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 4 Sep 2008 21:39:24 +0000 (21:39 +0000)]
Now uses Mutex class. No need for pthreads use directly in this lib. Needs testing.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10388
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 4 Sep 2008 21:23:01 +0000 (21:23 +0000)]
Thread is now a Thread derived class, now need to convert the mutexes. With the new Mutex class, should be pretty easy
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10387
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 4 Sep 2008 11:40:20 +0000 (11:40 +0000)]
mutexengine -> mutexfactory
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10386
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 4 Sep 2008 11:03:58 +0000 (11:03 +0000)]
MutexEngine -> MutexFactory, more sensible name
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10385
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 4 Sep 2008 10:50:53 +0000 (10:50 +0000)]
initialise mutexengine
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10384
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 4 Sep 2008 10:28:21 +0000 (10:28 +0000)]
Fix silly compile errors
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10383
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 4 Sep 2008 10:24:02 +0000 (10:24 +0000)]
fix posix mutexes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10382
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 4 Sep 2008 10:06:59 +0000 (10:06 +0000)]
ability to create mutexes (rather than just having one system wide mutex) in 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
brain [Thu, 4 Sep 2008 09:31:18 +0000 (09:31 +0000)]
fix a warning. I am on a warning zapping crusade today.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10380
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 2 Sep 2008 20:09:01 +0000 (20:09 +0000)]
Change exception message: "You cannot load m_services.so and 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
w00t [Tue, 2 Sep 2008 16:20:11 +0000 (16:20 +0000)]
Friendly up the modules.conf comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10378
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Tue, 2 Sep 2008 15:37:34 +0000 (15:37 +0000)]
Fix missing >, thanks Kein
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10377
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Tue, 2 Sep 2008 13:57:32 +0000 (13:57 +0000)]
This string copy is gone now, remove fixme note
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10376
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 1 Sep 2008 23:44:16 +0000 (23:44 +0000)]
Make m_chanfilter grok globbing, meaning +g test?string?lol is now possible 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
w00t [Mon, 1 Sep 2008 20:57:01 +0000 (20:57 +0000)]
typofix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10374
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 1 Sep 2008 20:51:46 +0000 (20:51 +0000)]
Allow a choice between openssl and gnutls (or both, if you're a masochist (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