rburchell
d7d01bdc5c
Squashed commit: merge next (1.9.1) back to trunk.
...
SVN users, NOTE: THIS WILL NOT BUILD, NOR SHOULD YOU RUN IT YET.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1953 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-09 21:01:05 +00:00
cyberbotx
e802b6dfe8
Some more Windows fixes, both in CMake and in the code itself. (I don't like 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-23 07:38:22 +00:00
cyberbotx
81b7aa6571
Massive cleanup of the CMakeLists.txt files to finalize them.
...
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-17 20:18:40 +00:00
cyberbotx
2d72446860
More CMake work, mostly to handle both *nix and Windows builds.
...
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-17 20:16:55 +00:00
cyberbotx
1cd73b4dad
Implemented CMake build system to replace the old autoconf-based build system.
...
(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-17 20:16:25 +00:00
rburchell
5950b11a0f
Fix example id
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1787 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-23 17:53:51 +00:00
rburchell
fd152875a5
Remove unused data/tables.sql
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1774 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21 11:02:44 +00:00
cyberbotx
84d9048b21
Cleanup in example.conf.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1768 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21 03:05:07 +00:00
cyberbotx
fa82184d9c
Removed old example.conf and replaced with example_new.conf, services.conf will now be read by the new parser and not services_new.conf
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1764 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-20 02:06:20 +00:00
cyberbotx
0f069f0e8b
Converted modules to use ConfigReader to access new config parser.
...
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-19 00:48:29 +00:00
cyberbotx
57b115363c
Removed autokilldatabase directive from operserv block as it is no longer in 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-18 17:06:20 +00:00
cyberbotx
dbcc42e932
Added localhost and localport directives to serverinfo block in new config.
...
Removed some more MySQL references.
Added proper check for uplink block to make sure there is at least one defined.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1748 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-18 03:24:48 +00:00
cyberbotx
ffbcff1604
Added support for multiple uplink blocks in the new config.
...
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-16 19:31:31 +00:00
cyberbotx
72a4c7e6c7
Added module blocks for autoloading non-core modules.
...
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-16 17:44:35 +00:00
cyberbotx
8131ca2c98
Added ulineservers directive to options block in new config.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1736 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 21:49:07 +00:00
cyberbotx
77c47e06a8
Added newscount directive to options block in new config.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1735 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 21:48:55 +00:00
cyberbotx
561096f729
Added restrictopernicks directive to options block in new config.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1734 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 21:48:44 +00:00
cyberbotx
a5ef72b9b4
Added nickregdelay directive to options block in new config.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1733 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 21:48:33 +00:00
cyberbotx
45e9c393df
Added anonymousglobal directive to options block in new config.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1732 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 21:48:20 +00:00
cyberbotx
f0fe5427ff
Added globaloncycleup directive to options block in new config.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1728 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 21:20:13 +00:00
cyberbotx
3ae892c608
Added globaloncycledown directive to options block in new config.
...
Added ValidateGlobalOnCycle function to validate the directives that control Global on cycle.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1727 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 21:20:00 +00:00
cyberbotx
e696a843fc
Added globaloncycle directive to options block in new config.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1726 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 21:19:50 +00:00
cyberbotx
78b1bc9b0a
Added hidestatso directive to options block in new config.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1725 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 21:19:38 +00:00
cyberbotx
dd4069b504
Added dumpcore and logusers directives to options block in new config.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1724 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 21:19:28 +00:00
cyberbotx
dc2176560d
Added usestrictprivmsg directive to options block in new config.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1723 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 20:39:49 +00:00
cyberbotx
2aff20acc0
Added useprivmsg directive to options block in new config.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1722 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 20:39:37 +00:00
cyberbotx
db43487faf
Added forceforbidreason directive to options block in new config.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1721 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 20:39:20 +00:00
cyberbotx
c30ec33695
Added keepbackups directive to options block in new config.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1720 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 20:39:02 +00:00
cyberbotx
f3bb3064d2
Added keeplogs directive to options block in new config.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1719 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 20:38:50 +00:00
cyberbotx
28a7779174
Added timeoutcheck directive to options block in new config.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1715 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 19:15:06 +00:00
cyberbotx
2e9f890978
Added warningtimeout directive to options block in new config.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1714 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 19:14:43 +00:00
cyberbotx
4ed52553b0
Added readtimeout directive to options block in new config.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1713 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 19:14:23 +00:00
cyberbotx
486097e27b
Added expiretimeout directive to options block in new config.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1712 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 19:14:05 +00:00
cyberbotx
5fa7475f65
Added updatetimeout directive to options block in new config.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1711 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 19:13:44 +00:00
cyberbotx
ec8fd88965
Added badpasstimeout directive to options block in new config.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1710 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 19:13:26 +00:00
cyberbotx
675c8dc34a
Added badpasslimit directive to options block in new config.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1709 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 19:13:07 +00:00
cyberbotx
55e9bf5aea
Added strictpasswords directive to options block in new config.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1703 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 17:52:45 +00:00
cyberbotx
12b60a78ff
Added nobackupokay directive to options block in new config.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1702 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 17:52:36 +00:00
cyberbotx
a5eb22efd8
Added userkey[123] directives to options block in new config.
...
Added ValueContainerLUInt specialization of ValueContainer for the above directives.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1701 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 17:52:23 +00:00
cyberbotx
7fde7771aa
Started options block in new config, added encryption directive to it.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1700 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 17:52:12 +00:00
Naram Qashat cyberbotx@cyberbotx.com
359e7ebdef
Added dontquoteaddresses directive to mail block in new config.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1626 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 23:55:49 +00:00
Naram Qashat cyberbotx@cyberbotx.com
2b07bdbf2f
Added delay directive to mail block in new config.
...
Renamed restrictmail to restrict in mail block.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1625 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 23:52:14 +00:00
Naram Qashat cyberbotx@cyberbotx.com
1a89f2475c
Added restrictmail directive in mail block in new config.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1624 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 23:47:54 +00:00
Naram Qashat cyberbotx@cyberbotx.com
fc21dbc2ec
Added sendfrom directive to mail block in new config.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1623 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 23:44:34 +00:00
Naram Qashat cyberbotx@cyberbotx.com
93985d17a8
Added sendmailpath directive to mail block in new config.
...
Added ValidateMail function to validate certain mail block config directives only when usemail is enabled.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1622 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 23:41:28 +00:00
Naram Qashat cyberbotx@cyberbotx.com
8cf37b7f2e
Added nicklen directive to networkinfo block in new config.
...
Added ValidateNickLen function for the above directive.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1621 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 23:34:25 +00:00
Naram Qashat cyberbotx@cyberbotx.com
805efb9900
Started new mail block in new config, added usemail directive to it.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1620 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 23:26:35 +00:00
Naram Qashat cyberbotx@cyberbotx.com
8681a87405
Added networkname directive to networkinfo block in new config.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1619 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 23:10:22 +00:00
Naram Qashat cyberbotx@cyberbotx.com
636548571e
Added logbot directive to networkinfo block in new config.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1618 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 23:08:00 +00:00
Naram Qashat cyberbotx@cyberbotx.com
b5637777ec
Added logchannel directive to networkinfo block in new config.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1617 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 23:02:06 +00:00