summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2008-12-17Removed the old autotools files that are no longer needed because of the use ↵cyberbotx
of CMake. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1842 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17Massive cleanup of the CMakeLists.txt files to finalize them.cyberbotx
Edited configuration scripts for *nix and Windows to use CMake as well as support both in-source and out-of-source builds. Changed directory structure for *nix to match Windows to remove some conditionals in both CMake and Anope itself. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1841 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17Implemented dependency calculation within CMake, now header file ↵cyberbotx
dependencies are no longer hardcoded. Also a few minor changes to the CMakeLists.txt files. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1840 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17A few GCC 3.4.x and MSVC++ warning fixes.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1839 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17More CMake work, mostly to handle both *nix and Windows builds.cyberbotx
Also some tweaks to generation files (like version.sh) to take both input and output files as arguments, to handle CMake when it's used for an out-of-source build. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1836 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17Implemented CMake build system to replace the old autoconf-based build system.cyberbotx
(Note: Although each Makefile was changed, they will be removed later as CMake reconstructs them.) Also fixed generation of language files and version.h to not rely on the current directory they are in. Edited Config to send parameters to cmake, but it is no longer a requirement. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1835 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-30Removed Service class, if we need something like it later we can add it ↵cyberbotx
back, but for now it's just an extra class without a purpose. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1822 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-30Modified BotInfo to store a pointer to a command hash table (this is so ↵cyberbotx
modules like ss_main can store their own commands but still have them called by the core). Updated the current sample of ss_main to utilize BotInfo instead of Service (which might be removed) as well as accept a HELP command. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1819 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-29Renamed Services to Service, keeping it more in line with the naming of ↵cyberbotx
other classes in the core. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1815 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-29Added start of Services class to be used by new and existing pseudo-clients.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1814 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-28Remove (void) args, these just make things ugly.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1811 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-28Removed mod_current_module, again, so far, no ill-effects...cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1809 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-28Removed mod_current_user and mod_current_op, the latter of which was only an ↵cyberbotx
extern. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1807 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-28Remove a few prototypes to module-related functions that were moved to the ↵cyberbotx
Module class. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1805 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-28Moved moduleSet*Help() functions to Module::Set*Help().cyberbotx
Also corrected a few issues with tabs in the help lines for non-core modules caused from the space->tab conversion a while back. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1804 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-28Moved moduleNoticeLang() to Module::NoticeLang().cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1803 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-27Moved moduleGetLangString() to Module::GetLangString().cyberbotx
Also changed modules_unload_all() to not delete a module directly, but instead call ModuleManager::UnloadModule(). git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1801 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-27Moved moduleDeleteLanguage() to Module::DeleteLanguage().cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1800 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-26A few more Win32 fixes, Anope 1.9 compiles and runs under Windows now.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1799 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-26Various fixes for compiling under Windows.cyberbotx
Also updated ms_* modules to use std::vector Memo struct from earlier commit. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1797 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-25Used std::vector for MemoInfo's memos variable instead of an malloc'd array.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1795 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-23Converted many C-style casts to C++-style casts.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1788 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-22Properly initialized new objects when needed so they don't contain garbage data.cyberbotx
Also, converted line endings in os_ignore_db from CR+LF to LF. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1784 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-22Replaced most uses of smalloc and scalloc with new, replaced most uses of ↵cyberbotx
free with delete. NOTE: This build is unstable due to lack of memory zeroing, this will be addresses in a future commit. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1783 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-20Removed some signed/unsigned comparison warnings.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1766 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-20Changed integer config values that were marked PARAM_POSINT in the old ↵cyberbotx
config to unsigned integers. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1765 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-20Moved include of configreader.h to stop undefined reference to strlcpy ↵cyberbotx
(needs testing). git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1762 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-19Make this compile.. create NI_FORBIDDEN (temporary) and NI_NOEXPIRE to ↵rburchell
migrate settings. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1759 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-19Converted modules to use ConfigReader to access new config parser.cyberbotx
Added all module directives to new config. Removed references to old config parser (not sure if I got them all, though). git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1756 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-18Added ConfigReader class from InspIRCd to be used in modules to read config ↵cyberbotx
files using the new config parser. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1755 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-18Removed autokilldatabase directive from operserv block as it is no longer in ↵cyberbotx
use with the removal of legacy database support. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1752 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-16Added support for multiple uplink blocks in the new config.cyberbotx
Moved the type and id directives from the uplink block to the serverinfo block. Small config fixes. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1746 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-16Added module blocks for autoloading non-core modules.cyberbotx
Modified buildStringList to take an std::string and use spacesepstream instead of strtok. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1745 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-16Remove UseTS6. This is now on or off at an ircd, not a config level. Move ↵rburchell
Chary to obsolete for now, it's identical to ratbox anyway in most regards, and it's getting annoying having to redo the same work twice.. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1740 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-16Enable SVSHOLD for Insp1.1/1.2, remove UseSVSHOLD. Enforcer support may go ↵rburchell
away, as it is hacky, and no longer used with any of the ircds. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1739 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-16Remove UnRestrictSAdmin.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1738 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15Added ulineservers directive to options block in new config.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1736 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15Added restrictopernicks directive to options block in new config.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1734 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15Added anonymousglobal directive to options block in new config.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1732 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15Modules now delete themselves instead of letting the core do it (just incase ↵robbeh
one of them has used a custom delete operator) git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1729 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15Added globaloncycle directive to options block in new config.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1726 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15Added hidestatso directive to options block in new config.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1725 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15Added dumpcore and logusers directives to options block in new config.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1724 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15Added usestrictprivmsg directive to options block in new config.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1723 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15Added useprivmsg directive to options block in new config.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1722 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15Added forceforbidreason directive to options block in new config.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1721 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15Add newlinerburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1718 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15Add forgotten new header.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1717 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15Added timeoutcheck directive to options block in new config.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1715 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15Added warningtimeout directive to options block in new config.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1714 5417fbe8-f217-4b02-8779-1006273d7864