brain
5d59031ee3
Document command_parse.h and CommandParser class
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4903 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-12 00:51:35 +00:00
brain
6050df73f4
Just to mess with om's head, remove helperfuncs.h from everywhere
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4900 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11 23:31:13 +00:00
brain
3f6d53996f
Just about enough docs to rebuild the docs page now
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4896 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11 20:16:22 +00:00
brain
be8d814737
Documented all of the functions in a basic manner here. More detail to follow
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4892 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11 18:41:32 +00:00
brain
420e1c25d2
More comments
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4891 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11 18:22:20 +00:00
brain
15f58df9fd
Tons of comments
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4890 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11 17:01:35 +00:00
brain
cfb2c2fff4
CamelCaseRocksSoMuchICamelCasedAllTheMethodsOfClassInspIRCdSoThatItAllLooksNeat.
...
NowSomebodyHasToSpendHoursDocumentingAllOfThisIWonderWhoThatWillEndUpBeing...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4889 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11 16:14:44 +00:00
brain
7775a195d9
Move remaining functions:
...
operstrcmp* commands.cpp InspIRCd::operstrcmp()
duration* commands.cpp InspIRCd::duration()
host_matches_everyone* commands.cpp InspIRCd::host_matches_everyone()
ip_matches_everyone* commands.cpp InspIRCd::ip_matches_everyone()
nick_matches_everyone* commands.cpp InspIRCd::nick_matches_everyone()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4888 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11 15:14:39 +00:00
brain
187c9208f1
Fix FOREACH_MOD macros
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4881 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11 12:28:57 +00:00
brain
d174657167
Now two types of log macro, log() and ilog(). log() assumes an InspIRCd object called ServerInstance, ilog() takes an InspIRCd object as first param.
...
TODO: Run a regexp over these, using perl, to translate them into InspIRCd::Log calls and then eliminate the macro :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4879 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11 12:15:03 +00:00
brain
312d49abb0
Move all of the xline stuff into class XLineManager, make an instance of it in class InspIRCd and use it
...
(eliminates another extern)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4878 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11 11:06:40 +00:00
brain
fe66a14a06
Move ReadBuffer into InspIRCd class
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4877 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11 10:40:48 +00:00
brain
a5833e654d
Move whowas into InspIRCd
...
Tidy up lowermap extern (for now, we cant do much but have this as extern)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4876 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11 09:50:16 +00:00
brain
76ebc88ccd
extern time_t TIME -> InspIRCd::Time()
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4873 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11 09:23:46 +00:00
brain
55e2180b4a
Committing this as a rollback point - does not compile
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4860 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10 23:36:53 +00:00
brain
f9636a2eff
So much stuff changed in this one, i forgot most of it.
...
Oh yeah, main thing is ModeHandler and ModeWatcher classes now take an InspIRCd* to their constructor
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4858 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10 22:40:57 +00:00
brain
24b1fbeec8
Move all_opers into class InspIRCd
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4857 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10 21:39:57 +00:00
brain
d02a5866d4
Mass-tidyup of module global vars, theyre no longer global vars.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4856 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10 21:19:19 +00:00
brain
23a4885701
Move tons more stuff into class InspIRCd*, make signal handler functions static members
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4855 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10 20:27:51 +00:00
brain
78dc981302
Move AllModulesReportReady into a private method of class InspIRCd
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4851 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10 18:58:21 +00:00
brain
fd2eb26472
Move IsNick, IsIdent into class InspIRCd, update modules that use it.
...
Change message.h to just a #warning saying its deprecated, and remove all use of it from the core :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4847 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10 18:04:19 +00:00
brain
afa1ec0e95
PublishFeature, FindFeature, FindModule, PriorityBefore, PriorityAfter -> InspIRCd::
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4846 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10 17:37:25 +00:00
brain
396c9ef9f7
FindNick, FindChan, ChanModes, UserList, CountInvisible, PurgeEmptyChannels, GetClass, WriteOpers, GetServerDescription -> into classes
...
ServerConfig takes InspIRCd pointer in its constructor
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4832 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10 14:43:29 +00:00
brain
ad3c37e38c
Relocate timer stuff into TimerManager class
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4827 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10 00:02:31 +00:00
brain
2591562ada
Move tons more stuff into class InspIRCd
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4819 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-09 17:52:10 +00:00
brain
1cbf29e3cd
Move clientlist and chanlist into InspIRCd*
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4818 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-09 16:35:24 +00:00
brain
89749a7440
Move fd_ref_table into class InspIRCd*
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4817 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-09 15:36:51 +00:00
brain
ab46b96db4
Move socket_ref and module_sockets vectors/arrays into InspIRCd*. These are public members, which InspSocket can modify.
...
(eventually, this will be marshalled safely through some accessors). When constructing an InspSocket you must now provide
an InspIRCd* instance to 'attach' the socket to.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4812 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-09 14:53:19 +00:00
brain
54546ce8b8
do_log -> static void InspIRCd::Log() (with vararg and std::string variants)
...
The #define for this still exists, but maybe should be phased out?
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4809 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-09 13:19:41 +00:00
brain
09afa50856
ServerConfig extern moved into class InspIRCd
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4808 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-09 11:33:10 +00:00
brain
6c657e45fd
Add -notraceback startup option, disables automatic backtrace facility so that you can do it yourself with a coredump and gdb (auto backtrace doesnt dump cores)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4751 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-06 21:55:01 +00:00
brain
4d941f1b7a
Move more stuff into class DNS
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4651 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-02 19:59:06 +00:00
brain
69ae63ecd2
Change stats recv/send to double, so they can hold truly massive numbers of transferred bytes (they would overflow after about 6 weeks on a busy net otherwise)
...
Fix some warnings
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4450 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-19 15:03:26 +00:00
brain
250c92805c
Change counters to unsigned long to prevent overflow to negative counts
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4449 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-19 14:56:47 +00:00
brain
62b550f653
Inherit tons of stuff from classbase that should always have been
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4298 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-10 18:54:25 +00:00
brain
dc42f264d7
relocate the Move* methods to private: where they belong, rename erase_factory and erase_module to be more appropriate EraseFactory and EraseModule methods
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4098 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-01 15:07:09 +00:00
brain
75eb9178d5
Make WritePID a public function of class InspIRCd
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4097 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-01 15:01:32 +00:00
brain
55de6781e0
Move SetSignals(), Start() and DaemonSeed() into private methods of class InspIRCd, move MakeLowerMap() into private: section
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4096 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-01 14:56:33 +00:00
om
63a3d49a01
And add the include to make all the modules compile...
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4085 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-29 15:01:28 +00:00
om
042de68ee5
This already adds the file and line number itself, call do_log() rather than log() then
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4084 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-29 14:23:35 +00:00
brain
1ee66f376b
Check for NULL, set pointers to NULL after deletion
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3908 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-25 09:52:16 +00:00
brain
8b02407d93
Fix various typos and warnings
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3907 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-24 17:28:49 +00:00
brain
4b45dc1234
Typo in the macro :p
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3905 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-24 13:30:04 +00:00
brain
5d407fb44c
delete operator tracking in debug mode (using a macro -- live with it.)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3904 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-24 13:28:07 +00:00
om
e7f08977f2
Add time.h include to inspircd.h. Random cleanups in channels.cpp, mostly using the typedef'ed names already defined rather than having the full template names everywhere. Remove some unneeded casts too.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3865 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-10 20:08:30 +00:00
om
aa21503f06
Shuffle some more includes around, const reference a few functions in inspircd.*
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3854 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-09 11:51:24 +00:00
om
77123f4dec
Remove references to inspircd_io from these, stop configure making all the modules depend on it too. And remove some more un-needed includes
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3853 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-08 22:33:46 +00:00
om
d54fbc71e2
Split inspircd_io.* insp inspsocket.* and configreader.* with a few odd bits going into inspircd.*, doesn't look like I've broken anything... :P
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3847 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-08 17:05:48 +00:00
brain
883c04a08a
Removal of ancient TRUE/FALSE #defines (C-ish stuff)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3700 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-13 13:42:56 +00:00
brain
4aaf01aafa
Tidyup and move ConvToStr to a publically accessible place
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3640 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-10 17:51:26 +00:00