8768 Commits

Author SHA1 Message Date
brain
703ca18c66 More comments, and remove some unused craq. Someone (that being me) once wrote a craqy imitation of std::bitset called dynamicbitmask which took up a large amount of hashcomp.{h,cpp} before i actually knew that std::bitset existed. NOTHING has ever used this class, so whack it as tidyup, knowing it wont
break anything :)


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10567 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-20 21:14:25 +00:00
brain
f67620f774 more comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10566 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-20 20:53:04 +00:00
brain
d7552b854d Start documenting stuff for 3rd party developers. Comments only, won't affect feature freeze
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10565 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-20 20:40:29 +00:00
brain
b8e537eba7 Roll back core matcher to the 1.1 design, which doesnt fail various unit tests
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10564 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-20 17:52:48 +00:00
brain
a2b94d7a8b Add test suite tests for wildcard function for failures discovered by Ankit
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10563 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-20 17:44:04 +00:00
peavey
b519d4b51b lol
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10562 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-19 20:05:36 +00:00
w00t
1aea2798cc Fix my massacre of kqueue, filters may not be or'd.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10561 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-19 18:39:26 +00:00
brain
14539c29d6 inbound sockets need a timeout, too. 30 secs should be pleanty
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10560 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-19 11:07:42 +00:00
w00t
a8a36c9935 Don't check E:Lines when enforcing Q:Lines on connected users. Thanks MacGyver.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10559 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-19 09:34:03 +00:00
peavey
b7a20454ce Implement timeout on outgoing server connections as per our docs <link:timeout>
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10558 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-19 02:00:04 +00:00
peavey
e1a9c3a9bc Reinvert order of insert/erase into user hash_map to avoid a lil crash :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10557 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-18 23:37:58 +00:00
brain
8a04f13c86 Merge vc90 update patch from IronLegend, thanks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10555 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-17 22:08:50 +00:00
brain
29b959e8e5 Roll back tweak to the starttls spec requested by kvirc devs, sorry we cant do this as we have other client devs breathing down our throats that it broke their clients :(
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10549 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-17 18:53:19 +00:00
brain
48d214c9bd Shrink users properly on quit, and make cloaks for all existing users on load, for situations where the cloaking module is loaded after the ircd is booted. Thanks Ankit
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10546 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-16 17:32:32 +00:00
peavey
efd79c8977 Be more verbose in ValidateNotEmpty on failure. Patch by CyberbotX.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10544 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-14 12:30:16 +00:00
special
1b290edc9c Patch by dz to remove the one usage of strdup/strtok_r, which is very un-C++ behavior (and silly, since we have sepstream)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10543 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-14 03:30:39 +00:00
peavey
b70a2f3e35 dont try and cloak if no valid cloak was returned (eg. localhost)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10542 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-14 00:47:57 +00:00
aquanight
09197a4a21 Changed Allowed Modes to bitsets.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10541 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-13 15:47:01 +00:00
w00t
76e9dc04d7 Merge commit 'danieldg/out-12'
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10540 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-13 14:27:25 +00:00
peavey
9c832a2b8e more namespace fix0rz
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10539 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-13 14:02:24 +00:00
brain
f62c053623 Optimisation
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10538 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-13 13:58:16 +00:00
peavey
46f89e1295 namespace fix0rz
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10537 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-13 13:58:03 +00:00
brain
46311a2d31 Fix setting of +x before we've processed an OnUserConnect
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10536 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-13 13:57:08 +00:00
w00t
89d956ff8b Remove unneeded namespace stuff.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10535 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-13 13:16:22 +00:00
w00t
7f9bd93b12 Make the 'ancient OS' warning a bit more strongly worded.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10534 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-13 13:02:16 +00:00
w00t
798983e251 Minor style tidyup.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10533 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-12 20:56:49 +00:00
peavey
4409bb7e5a Last cleanup. All trunk extras now builds again.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10532 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-12 20:07:17 +00:00
peavey
7e31ac35cb fix for listensocket, tested and also working like a charm.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10531 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-12 20:02:48 +00:00
peavey
134206328f more cleanup
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10530 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-12 19:56:39 +00:00
peavey
14f4e64234 cleanup
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10529 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-12 19:53:12 +00:00
peavey
a732a8eb92 fix for listenbase, tested and works like a charm.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10528 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-12 19:40:42 +00:00
w00t
425fe205d0 Cleanup of some internals. Tested via m_httpd.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10527 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-12 12:08:25 +00:00
w00t
e462e71f10 Remove proxyscan, it doesn't exist now.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10526 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-11 23:47:13 +00:00
w00t
138f71ed13 Remove some duplication, everything calls the SE equivilant anyway.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10525 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-11 23:45:14 +00:00
w00t
b7b0f54047 Remove useless parameter.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10524 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-11 23:45:09 +00:00
w00t
6c9c925811 Fix a comment.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10523 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-11 23:45:06 +00:00
aquanight
d366c5bb5d Fix KILL server-notice duplication
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10517 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-11 16:33:35 +00:00
w00t
4fa8511c80 Experimental WSAPoll (thanks for not just using poll(), guys) support for Windows. Untested, uncompiled.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10516 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-11 13:17:51 +00:00
w00t
cb24915afb Minor stylistic improvements.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10515 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-11 10:34:19 +00:00
w00t
2496449155 These socket engines may now recieve write and read events in the same cycle, same as select and poll.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10514 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-11 00:46:32 +00:00
w00t
a72764949b Fix a compile oops.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10513 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-11 00:29:54 +00:00
w00t
9183ebd28c There is absolutely no need to cache connect timeout.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10512 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-11 00:15:42 +00:00
w00t
7a7fb7167c Remove an unused member.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10511 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-11 00:15:39 +00:00
w00t
e92c1a6653 Windows doesn't need blocking connect, IOCP was the cause of that.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10510 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-11 00:15:34 +00:00
w00t
bd6158e7b0 Remove WaitingForWriteEvent, it seems to do *nothing* except confuse things. Also, don't close socket on http if FlushWriteBuf doesn't write it all in one go, in fact, don't try FlushWriteBuf at all - use the sockets default of waiting to be told it's safe to write data.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10509 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-11 00:15:28 +00:00
w00t
a363c6f2be Back out change, as this doesn't work properly with channel bans.. Prioritise before cloaking, as otherwise you may encounter usermode changes on a nonexistant user. (part of the original change too).
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10508 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-10 23:21:09 +00:00
w00t
71f99fd5b1 Bit of a tidyup, generate cloak whenever first set, not necessarily on connect
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10500 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-10 20:39:19 +00:00
w00t
423add1bda Hook conn_umodes before anything else so that config order is less of a factor
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10497 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-10 19:44:21 +00:00
special
901babedd3 Clear out the string used for the temporarily stored hostname during DNS resolution. Should save at least strlen(host) per user
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10496 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-10 17:48:18 +00:00
w00t
622a06ce08 Move XMLSocket to be modulemanager-provided, flash now has real socket support (so it's not as necessary), and most networks do not have flash clients using it
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10495 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-10 17:40:02 +00:00