1189 Commits

Author SHA1 Message Date
brain
f3624af468 Needs testbuilding in windows. I will probably do this in a minute.
More clever tricks to eliminate ifdefs. With a bit of function pointer and functor magic we may be able to eliminate all ifdefs


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7590 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-27 17:02:24 +00:00
brain
ac3af8b61e Some smart tricks to eliminate win32 ifdefs that are creeping into portable files
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7589 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-27 16:50:53 +00:00
brain
27d4ea0d97 Move a bunch of stuff around for tidyness, win32 functions keep creeping into #ifdef'ed chunks in non-win32 files
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7588 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-27 16:45:03 +00:00
brain
e5c4de03a9 More detail on the comment to indicate how to replace a functor in a class
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7587 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-26 19:57:14 +00:00
brain
6344881c9f Move a ton of stuff into caller* functors
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7578 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-26 16:36:37 +00:00
peavey
0bb707c10c Un-static InspIRCd::Exit and use SignalHandler instead.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7572 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-25 20:23:18 +00:00
peavey
eadd5cce87 Rehash from console works again due to new signalhandler. TODO: Use this to catch SIGTERM and exit cleanly.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7571 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-25 19:46:25 +00:00
brain
c39ccd1fda Add macros up to 8 parameters
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7570 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-25 17:41:06 +00:00
brain
529f16e84b Shorthand macros DEFINE_HANDLER1()...DEFINE_HANDLER9() to save on defining functor classes that just implement Call()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7569 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-25 17:36:13 +00:00
brain
89bc1282b9 Turn IsIdent into a functor
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7568 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-25 17:21:30 +00:00
brain
914534be62 Comment the caller0....caller8 classes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7567 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-25 17:07:15 +00:00
brain
0143364a29 Forgot to add this
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7566 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-25 17:03:16 +00:00
brain
f827df8403 Add stuff for functors. Currently, as a test case only InspIRCd::IsNick has been 'functorized'
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7564 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-25 16:58:56 +00:00
peavey
77b0de3fed Begin move of rehash to server.cpp - broken rehash from cmdline for now.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7563 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-25 15:07:27 +00:00
peavey
b9658bfe6d svn add I fail it
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7562 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-25 11:54:08 +00:00
peavey
326191cd16 Put FileLogger in it's own class. Useful when logging doing more focused logging
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7561 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-25 11:53:07 +00:00
w00t
c88d4a3511 Replace some voodoo with a define
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7556 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-24 20:21:29 +00:00
peavey
ee47b42586 Fix comment so it makes sense.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7552 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-24 16:56:23 +00:00
w00t
52525bc3df And remove it from the header..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7543 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-24 15:03:34 +00:00
peavey
2174339311 Remove redundant include for a speedup of 0.1 in compile time :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7531 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-24 10:59:08 +00:00
brain
f12fd5382f Fix crash on unload of modules with listening sockets -- some situations require that the socket cull list is purged *immediately*, provide facility for this.
Also squish some silly error output on unloading spanningtree.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7529 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-23 23:10:16 +00:00
peavey
b6c238fce2 Mass header update. Chatspike-Dev => InspIRCd....
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7467 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-17 18:43:39 +00:00
peavey
f2acdbc382 OOPS! We try again, since I'm smoking craq. LF is 0x0a NOT CR.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7456 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16 17:30:04 +00:00
peavey
bab14f0dd2 'svn propset -R svn:eol-style CR *' Set to UNIX-style always. Binaries are auto skipped by svn.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7454 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16 17:14:45 +00:00
peavey
1cb674495d formatting and ^M
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7451 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16 14:43:30 +00:00
brain
42105f07dd Fix for bug #349: NOTE there is important caveat about this in the example config, MAKE SURE TO READ IT.
When you connect a cgi:irc client two different connect classes are checked at two different times (first the one
that the website they are cgi'ing from, then later one for the user's real ip). READ THIS AND UNDERSTAND IT!


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7440 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-15 13:18:28 +00:00
brain
f0235432d1 This should fix the rest of remote kill nick hiding
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7432 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-10 17:59:07 +00:00
brain
97c0bb9edc I think we're done adding comments to headers. Phew.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7385 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17 20:08:34 +00:00
brain
a2259e92ba More comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7384 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17 19:54:37 +00:00
brain
3868abe87d Comments (lots of, this was really lacking)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7383 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17 19:41:46 +00:00
brain
455d6fac2e Comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7382 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17 19:29:11 +00:00
brain
ad2829e7c4 More comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7381 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17 19:18:17 +00:00
brain
16add8425c Guess what i added here?
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7380 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17 19:05:49 +00:00
brain
7d78c5c2c0 Comments :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7379 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17 19:02:53 +00:00
brain
3669319748 Comment stuff that lacks it
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7378 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17 18:53:27 +00:00
brain
603acdf77e Comments (lots of)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7377 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17 18:45:22 +00:00
brain
ba98faf0d8 Doxygen comments for command handlers
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7376 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17 18:26:13 +00:00
brain
814047662b More comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7375 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17 18:23:25 +00:00
brain
7fc5d102db Add comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7374 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17 18:16:46 +00:00
brain
f42aa99541 Comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7373 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17 18:12:29 +00:00
brain
9a7826b0e8 Comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7372 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17 18:10:34 +00:00
brain
1f113d5477 Tons of stuff added since 1.0 is missing documentation comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7371 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17 18:06:55 +00:00
brain
ad9950c7e5 Extra comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7368 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17 14:10:34 +00:00
brain
94d578f4c0 Remove static link stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7348 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17 13:14:10 +00:00
brain
84472069ba Module factory and init function in modules turned into a neat macro:
INIT_MODULE(MyModuleClassName);
Get cracking, w00t :)


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7341 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17 13:04:25 +00:00
brain
4e7fa39cc5 MAXMODES+1 -> MAXMODES+2
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7318 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-14 22:41:24 +00:00
burlex
7d4edd5ac3 - Made the recvfrom wrapper a bit neater.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7314 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-14 22:00:17 +00:00
burlex
2b293ebe75 - Fixed UDP Overlapped I/O under windows. (not the best way this could be done by far, but probably the best that is possible with our EventHandler setup). *dns will now work under win32* :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7313 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-14 21:33:07 +00:00
pippijn
67e055124d Some general syntax cleanups.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7304 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-14 17:22:37 +00:00
brain
18e822f8bb Fix for bug #324 reported by HiroP
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7303 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-14 17:03:16 +00:00