]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
om [Sat, 12 Aug 2006 15:32:51 +0000 (15:32 +0000)]
Catch exceptions from SQLresolver
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4910
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Sat, 12 Aug 2006 13:43:42 +0000 (13:43 +0000)]
Complain if we can't find the binary
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4909
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 12 Aug 2006 01:22:26 +0000 (01:22 +0000)]
Document base modes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4908
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 12 Aug 2006 01:19:25 +0000 (01:19 +0000)]
Explain what ModeParser does
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4907
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 12 Aug 2006 01:17:23 +0000 (01:17 +0000)]
Document the nspace namespace
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4906
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 12 Aug 2006 01:13:40 +0000 (01:13 +0000)]
Document some missing xline stuff
Document the variants of SocketEngine for epoll, kqueue and select
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4905
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 12 Aug 2006 01:04:56 +0000 (01:04 +0000)]
More docs. Tons more docs. I need coffee and we're out of coffee :<
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4904
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 12 Aug 2006 00:51:35 +0000 (00:51 +0000)]
Document command_parse.h and CommandParser class
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4903
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 12 Aug 2006 00:31:37 +0000 (00:31 +0000)]
Document irc::socket namespace members/classes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4902
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 11 Aug 2006 23:41:32 +0000 (23:41 +0000)]
Remove a blank line! WOO YAY! biggest commit all week!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4901
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 11 Aug 2006 23:31:13 +0000 (23:31 +0000)]
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
brain [Fri, 11 Aug 2006 22:57:42 +0000 (22:57 +0000)]
Document TimerManager class
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4899
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 11 Aug 2006 22:53:11 +0000 (22:53 +0000)]
Added comment about why its important to push_back onto the string_list when doing OnStats, rather than just WriteServ'ing stuff to the user
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4898
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 11 Aug 2006 21:56:25 +0000 (21:56 +0000)]
Document XLineManager
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4897
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 11 Aug 2006 20:16:22 +0000 (20:16 +0000)]
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
brain [Fri, 11 Aug 2006 19:32:37 +0000 (19:32 +0000)]
Tons more docs
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4895
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 11 Aug 2006 19:17:31 +0000 (19:17 +0000)]
Documentation of new chanrec functions
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4894
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 11 Aug 2006 18:55:51 +0000 (18:55 +0000)]
Document all the new methods (eventually there will be more detail)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4893
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 11 Aug 2006 18:41:32 +0000 (18:41 +0000)]
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
brain [Fri, 11 Aug 2006 18:22:20 +0000 (18:22 +0000)]
More comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4891
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 11 Aug 2006 17:01:35 +0000 (17:01 +0000)]
Tons of comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4890
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 11 Aug 2006 16:14:44 +0000 (16:14 +0000)]
CamelCaseRocksSoMuchICamelCasedAllTheMethodsOfClassInspIRCdSoThatItAllLooksNeat.
NowSomebodyHasToSpendHoursDocumentingAllOfThisIWonderWhoThatWillEndUpBeing...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4889
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 11 Aug 2006 15:14:39 +0000 (15:14 +0000)]
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
brain [Fri, 11 Aug 2006 12:50:22 +0000 (12:50 +0000)]
So is this one ;-ppp
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4887
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 11 Aug 2006 12:49:12 +0000 (12:49 +0000)]
This commit-o-gram is dedicated to boo, because i geek too much :) love you babe ;-ppp
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4886
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 11 Aug 2006 12:43:49 +0000 (12:43 +0000)]
Somehow, IMPORTANT changes got reverted.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4885
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 11 Aug 2006 12:38:43 +0000 (12:38 +0000)]
peline/pxline etc stuff removed
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4884
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 11 Aug 2006 12:35:29 +0000 (12:35 +0000)]
Move xline to before config system
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4883
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 11 Aug 2006 12:32:07 +0000 (12:32 +0000)]
Fixed
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4882
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 11 Aug 2006 12:28:57 +0000 (12:28 +0000)]
Fix FOREACH_MOD macros
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4881
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 11 Aug 2006 12:26:07 +0000 (12:26 +0000)]
Change to using Instance->Log (InspIRCd::Log) rather than log() macro
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4880
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 11 Aug 2006 12:15:03 +0000 (12:15 +0000)]
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
brain [Fri, 11 Aug 2006 11:06:40 +0000 (11:06 +0000)]
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
brain [Fri, 11 Aug 2006 10:40:48 +0000 (10:40 +0000)]
Move ReadBuffer into InspIRCd class
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4877
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 11 Aug 2006 09:50:16 +0000 (09:50 +0000)]
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
brain [Fri, 11 Aug 2006 09:39:48 +0000 (09:39 +0000)]
Removal of an extern
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4875
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 11 Aug 2006 09:28:31 +0000 (09:28 +0000)]
Change to use InspIRCd::Time()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4874
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 11 Aug 2006 09:23:46 +0000 (09:23 +0000)]
extern time_t TIME -> InspIRCd::Time()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4873
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Fri, 11 Aug 2006 09:08:23 +0000 (09:08 +0000)]
New API update
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4872
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Fri, 11 Aug 2006 09:06:03 +0000 (09:06 +0000)]
New API update
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4871
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Fri, 11 Aug 2006 08:58:36 +0000 (08:58 +0000)]
New API update
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4870
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 11 Aug 2006 08:37:15 +0000 (08:37 +0000)]
Use pcre-config to detect pcre
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4869
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 11 Aug 2006 08:21:54 +0000 (08:21 +0000)]
Somehow, i'd cp'd all these and was making local changes :/
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4868
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Fri, 11 Aug 2006 07:53:28 +0000 (07:53 +0000)]
Updates to new API and small cleanup
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4867
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 11 Aug 2006 01:39:21 +0000 (01:39 +0000)]
commands.cpp:extern InspIRCd* ServerInstance;
helperfuncs.cpp: extern InspIRCd* ServerInstance;
xline.cpp:extern InspIRCd* ServerInstance;
The last 3 extern's in the entire program!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4866
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 11 Aug 2006 01:35:01 +0000 (01:35 +0000)]
ConfigReader and FileReader now take InspIRCd* to their constructors
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4865
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 11 Aug 2006 00:50:54 +0000 (00:50 +0000)]
And fix a bug
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4864
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 11 Aug 2006 00:46:41 +0000 (00:46 +0000)]
None of the modules use an extern InspIRCd* any more
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4863
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 11 Aug 2006 00:15:07 +0000 (00:15 +0000)]
(Bigger than it looks, i did this with perl inplace edit) -- commands now take an InspIRCd* param to their constructor, so that you can do stuff within them without an extern
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4862
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 10 Aug 2006 23:53:48 +0000 (23:53 +0000)]
Last of Server:: methods moved to InspIRCd::. Server:: removed.
This will need a real good tidyup later, because now everything is in the right place, but its a mess because for now i threw them into place (e.g. space indenting, etc)
Next on the todo: Make command handlers have a ServerInstance (gank!)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4861
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 10 Aug 2006 23:36:53 +0000 (23:36 +0000)]
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
brain [Thu, 10 Aug 2006 23:19:43 +0000 (23:19 +0000)]
Note: FOR THE MOMENT, this is BROKEN. It wont run right until im done.
Changed Parameter for modules from Server* to InspIRCd*.
TODO: Move remaining Server* Modules into InspIRCd* and remove class Server.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4859
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 10 Aug 2006 22:40:57 +0000 (22:40 +0000)]
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
brain [Thu, 10 Aug 2006 21:39:57 +0000 (21:39 +0000)]
Move all_opers into class InspIRCd
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4857
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 10 Aug 2006 21:19:19 +0000 (21:19 +0000)]
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
brain [Thu, 10 Aug 2006 20:27:51 +0000 (20:27 +0000)]
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
brain [Thu, 10 Aug 2006 19:17:04 +0000 (19:17 +0000)]
Make it more readable
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4853
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 10 Aug 2006 19:15:42 +0000 (19:15 +0000)]
Much faster hash<string> for case-insensitive hashing, combined copy and lowercase operation
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4852
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 10 Aug 2006 18:58:21 +0000 (18:58 +0000)]
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
brain [Thu, 10 Aug 2006 18:54:29 +0000 (18:54 +0000)]
Move strlower into nspace namespace where hash<std::string> lives
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4850
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 10 Aug 2006 18:43:15 +0000 (18:43 +0000)]
Move InsertMode into ModeParser
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4849
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 10 Aug 2006 18:28:37 +0000 (18:28 +0000)]
Move FileExists, CleanFilename, DirValid, GetFullProgDir into class ServerConfig
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4848
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 10 Aug 2006 18:04:19 +0000 (18:04 +0000)]
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
brain [Thu, 10 Aug 2006 17:37:25 +0000 (17:37 +0000)]
PublishFeature, FindFeature, FindModule, PriorityBefore, PriorityAfter -> InspIRCd::
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4846
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 10 Aug 2006 16:56:03 +0000 (16:56 +0000)]
Removal of Server::Log -- not much ever used it anyway with the ability to use log(). log() macro still exists, and calls InspIRCd::Log()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4845
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 10 Aug 2006 16:37:01 +0000 (16:37 +0000)]
Fixes and removal of Server::GetServerName()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4844
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 10 Aug 2006 16:16:40 +0000 (16:16 +0000)]
Server::GetAdmin, Server::GetServerDescription, Server::GetNetworkName --- *REMOVED*
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4843
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Thu, 10 Aug 2006 16:08:50 +0000 (16:08 +0000)]
Updates to new API
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4842
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Thu, 10 Aug 2006 16:01:21 +0000 (16:01 +0000)]
Cast value to long instead of int, shouldn't break any sane system, fixes warning on 64bit systems
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4841
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Thu, 10 Aug 2006 16:00:03 +0000 (16:00 +0000)]
Fix to new API
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4840
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 10 Aug 2006 15:47:26 +0000 (15:47 +0000)]
Why is most of Server:: virtual?`
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4839
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 10 Aug 2006 15:45:08 +0000 (15:45 +0000)]
Remove Server::Server() and Server::~Server()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4838
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 10 Aug 2006 15:44:03 +0000 (15:44 +0000)]
cmode(), cflags(), cstatus() -> chanrec::GetStatusChar(), chanrec::GetStatusFlags(), chanrec::GetStatus()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4837
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Thu, 10 Aug 2006 15:28:31 +0000 (15:28 +0000)]
#define IS_MINGW on..MinGW (*shock*)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4836
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Thu, 10 Aug 2006 15:06:43 +0000 (15:06 +0000)]
Don't use -fPIC on MinGW platforms
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4835
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Thu, 10 Aug 2006 15:04:10 +0000 (15:04 +0000)]
Add a few tidbits for MinGW, check for C:\ style paths as well as just beginning with '/' when determining if a path is absolute (only check if OSTYPE = MINGW32)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4834
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 10 Aug 2006 15:02:11 +0000 (15:02 +0000)]
Server::GetConfig, Server::GetVersion -> removed
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4833
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 10 Aug 2006 14:43:29 +0000 (14:43 +0000)]
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
om [Thu, 10 Aug 2006 13:46:11 +0000 (13:46 +0000)]
Change to use the core perl module Cwd rather than the pwd command. Should be more portable. (Om's bi-monthly MinGw attempt)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4831
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 10 Aug 2006 12:01:23 +0000 (12:01 +0000)]
bad_alloc is thrown by reference not by value
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4830
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 10 Aug 2006 11:59:29 +0000 (11:59 +0000)]
Add a default exception handler around main()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4829
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 10 Aug 2006 00:36:07 +0000 (00:36 +0000)]
Move the socket functions like insp_ntoa into their own namespace. They arent really sensible to put into a class, but namespacing them out discourages developers from directly using them without explicitly saing 'using irc::sockets::BindPorts' or whatever first. Some functions such as insp_ntoa are already 'exposed' by headers that use them so 'using irc::sockets::inet_ntoa' isnt required.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4828
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 10 Aug 2006 00:02:31 +0000 (00:02 +0000)]
Relocate timer stuff into TimerManager class
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4827
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 9 Aug 2006 22:13:36 +0000 (22:13 +0000)]
Remove readfile
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4826
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 9 Aug 2006 21:50:16 +0000 (21:50 +0000)]
Passing invalid instance to dns isnt a good idea
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4825
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 9 Aug 2006 20:14:26 +0000 (20:14 +0000)]
Fix passing wrong instance to resolver
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4824
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 9 Aug 2006 19:56:08 +0000 (19:56 +0000)]
Move more stuff into userrec
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4823
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 9 Aug 2006 19:29:13 +0000 (19:29 +0000)]
Wrong version given in check it seems. Om can review this later, but now it compiles on my system (pgsql 8.0.8) with that special feature thats only supposed to exist on 8.4.2 onwards.... :/
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4822
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 9 Aug 2006 19:25:31 +0000 (19:25 +0000)]
Change some resolver stuff.
OM, THIS STILL WONT COMPILE! Error on the same line
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4821
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 9 Aug 2006 18:55:52 +0000 (18:55 +0000)]
userrec and chanrec now have their own independent pointer back to their 'creator' InspIRCd* object, extern now longer required in channels.cpp or users.cpp
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4820
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 9 Aug 2006 17:52:10 +0000 (17:52 +0000)]
Move tons more stuff into class InspIRCd
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4819
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 9 Aug 2006 16:35:24 +0000 (16:35 +0000)]
Move clientlist and chanlist into InspIRCd*
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4818
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 9 Aug 2006 15:36:51 +0000 (15:36 +0000)]
Move fd_ref_table into class InspIRCd*
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4817
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Wed, 9 Aug 2006 15:36:50 +0000 (15:36 +0000)]
Fixes for API changes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4816
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Wed, 9 Aug 2006 15:15:28 +0000 (15:15 +0000)]
Fix for when we hit PgSQL 9.x that I think actually works
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4815
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Wed, 9 Aug 2006 15:00:06 +0000 (15:00 +0000)]
Fix for when we hit PgSQL 9.x
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4814
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 9 Aug 2006 14:55:18 +0000 (14:55 +0000)]
This wont build. :(
m_pgsql.cpp:1125: error: cannot convert `char*' to `PGconn*' for argument `1' to `size_t PQescapeStringConn(PGconn*, char*, const char*, size_t, int*)'
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4813
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 9 Aug 2006 14:53:19 +0000 (14:53 +0000)]
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
brain [Wed, 9 Aug 2006 14:20:04 +0000 (14:20 +0000)]
Tidy up loglevel enum (remove some C-ish defines)
change ServerConfig to pass a pointer to 'this' to Validation etc functions
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4811
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 9 Aug 2006 13:55:26 +0000 (13:55 +0000)]
Remove do_log() prototypes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4810
e03df62e -2008-0410-955e-
edbf42e46eb7