summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-12-29Revived Autotools from the grave, although it'll need some tweaking to work ↵cyberbotx
alongside CMake now. (In other words, don't use this commit, I committed this so I don't have to re-add these files again if I screw something up.) git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1876 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29Really fix the reverting back to r1870.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1874 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29Reverting my last 2 commits in an attempt to fix my own screwball mistake.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1873 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29Merge branch 'cmake'cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1872 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29Merge branch 'cmake'cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1871 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29Fix uninitialised variable usage leading to stray freeing of memory.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1870 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-27Forgot one in last commit.jantje_85
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1868 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-27Fixed crashbug in the banlist processing.jantje_85
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1867 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-26Minor CMake cleanup, moving include directories and defines to use ↵cyberbotx
include_directories and add_definitions instead. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1865 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-23Fixed problem with unreal protocol module not storing usermode changes. Not ↵jantje_85
the nicest patch, but should do the job. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1862 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-23Some more Windows fixes, both in CMake and in the code itself. (I don't like ↵cyberbotx
the const casting for the latter, but it's only until we get rid of use of strchr) Added CPack setup to automate generation of source package for *nix and NSIS installer for Windows. Some other minor CMake fixes. Converted docs/README and docs/WIN32.txt from Unix linefeeds to DOS linefeeds so they show up right in Notepad under Windows. Added small fix for Visual Studio 2008, CMake doesn't detect the Express version correctly and it must be explicitly defined. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1861 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-21Some more CMake edits, this allows versions of CMake as early as 2.4.0 to ↵cyberbotx
work now. Also fixed an issue with adding the dl library to the linker flags, reported by Obi_Wan, thanks! git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1857 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-20Forward port: fix incorrect debug message, r1855.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1856 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-20Fixed crashbug in db-merger.jantje_85
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1851 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-19Updated the CMakeLists.txt files to function under CMake 2.4.x (earliest ↵cyberbotx
version to work is 2.4.4 now). git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1848 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-19Fix compile error.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1847 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17Fix umode +d bug slightly more properly.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1844 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17Don't crash on server-sent private messages.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1843 5417fbe8-f217-4b02-8779-1006273d7864
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-17Fixed issue with the MSVC++ build of Anope crashing on a DLL throwing an ↵cyberbotx
exception, thanks to w00t for pointing out the overloaded new/delete operators from InspIRCd. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1838 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17More CMake work, adding win32.rc generation and fixing some other problems.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1837 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-12-17Fix an incorrect variable name.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1831 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17Forward-port 0f3414de39df90405cf6c98a51194e957e8e5afa from 1.8: don't set +d ↵rburchell
when setting svid on a user w/ unreal protocol. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1830 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17Forward-port b00da8a8a5d15f3d96bb2da72c8be7a9caf6861e from 1.8: only set +si ↵rburchell
on forbidden or suspended channels. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1829 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17Forward-port f9f00043eda253ab2aa97fff029befa072074b2a from 1.8: don't ↵rburchell
decrement session count twice on NS GHOST git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1828 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-01Updated Win32 Makefile to include ss_main.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1823 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-30Set ss_main to be permanent, as well as set it's type, author, and version.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1821 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-30Fix issue with ss_main where it doesn't recreate StatServ when it's unloaded ↵cyberbotx
and loaded at run-time. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1820 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-29Added ss_main.c, a small sample showing how to create a pseudo-client from a ↵cyberbotx
module, will soon become StatServ though. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1817 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-29Add services.cpp that didn't get sent with r1814 or r1815. >.<cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1816 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-28Forward-port of r1754: changed error message to be more descriptive...cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1813 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-28Removed a few instances of AnopeFini that were still clutching on for dear ↵cyberbotx
life, only to be cut down in their prime. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1812 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_module_name, so far no ill-effects...cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1808 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-28Removed mod_current_module and mod_current_module_name from moduleDisplayHelp().cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1806 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