cyberbotx
4dca000328
Really fix bug 985, had to fix security hole in User::SendMessage() as well.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1917 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-05 08:30:13 +00:00
cyberbotx
6e3a5ade35
Fix for bug 985, secure calls to SendMessage.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1916 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-05 08:15:24 +00:00
sjaz
73bd4f99ca
Housekeeping contact address updates.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1914 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-03 17:06:39 +00:00
sjaz
8903e93474
Added quotes to Config.bat to fix windows error when initiated from spaced path (Input Error: There is no file extension in "C:\Documents".)
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1911 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-02 18:45:24 +00:00
rburchell
0173105a11
This shouldn't have been changed.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1910 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-02 18:20:56 +00:00
rburchell
fba6ec736d
Update copyrights for 2009.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1909 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-02 18:20:35 +00:00
cyberbotx
cd10010f50
Possible fix for a crash bug in the InspIRCd 1.1 module.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1894 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-31 07:24:45 +00:00
cyberbotx
c16600fee5
Removed check for HAVE_VA_LIST_AS_ARRAY, it broke MemoServ.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1893 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-31 02:05:50 +00:00
cyberbotx
23f4c6b439
Edited Config to create a build directory if the user tried to run Config directly from the source directory, to prevent in-source building but not complain to the user about it.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1892 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-30 22:10:32 +00:00
cyberbotx
8287325d4d
Fix install errors with Autotools build system.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1891 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-30 19:04:43 +00:00
cyberbotx
7974747cc2
Fix bug 977, topics should show the nick of the user instead of UID now.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1888 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-30 03:40:46 +00:00
cyberbotx
7c2d66cbfc
Fix compile error in recent AKICK fix.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1887 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-30 00:56:41 +00:00
jantje_85
6ab2f3b010
Bug 983 :: Forwarding patch to dev branch. This Fixes akicklist not being reordered after a nickcore is dropped.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1886 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29 23:35:22 +00:00
cyberbotx
7d9865150a
Edits to CPack-related part of CMake to not include Autotools-built files from a dirty source tree.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1884 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29 22:04:53 +00:00
jantje_85
47fb48706c
Removing one free too much..
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1882 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29 22:02:38 +00:00
cyberbotx
a66a6cdd79
Include edited vsvars32.bat that was referenced in WIN32.txt.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1881 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29 20:47:32 +00:00
cyberbotx
7de39e3d4a
Removed anoperc.cmake and left anoperc.in to be used by Autotools and CMake.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1880 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29 20:14:24 +00:00
cyberbotx
a022f27a07
Updated INSTALL and WIN32.txt docs to explain usage of CMake.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1879 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29 20:08:21 +00:00
cyberbotx
110dbb673e
Final modifications to Autotools build system to work alongside CMake build system. CMake build system will only allow out-of-source building now. Removed all old NMake Makefiles for Windows to focus on use of CMake on Windows (it's not as important to require the old system on Windows like it is on *nix).
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1878 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29 20:08:13 +00:00
cyberbotx
bd2cb095aa
Modifications to the Autotools build system to try to make it work with the changes made from CMake, still untested (again, don't use this commit).
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1877 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29 20:07:55 +00:00
cyberbotx
d6bb55476c
Revived Autotools from the grave, although it'll need some tweaking to work 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-29 20:07:38 +00:00
cyberbotx
0bb13ddf57
Really fix the reverting back to r1870.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1874 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29 09:32:05 +00:00
cyberbotx
e0c10d684e
Reverting my last 2 commits in an attempt to fix my own screwball mistake.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1873 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29 09:02:03 +00:00
cyberbotx
6a2c0a7785
Merge branch 'cmake'
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1872 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29 06:57:35 +00:00
cyberbotx
432edbf68f
Merge branch 'cmake'
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1871 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29 06:57:30 +00:00
rburchell
f5209be18a
Fix uninitialised variable usage leading to stray freeing of memory.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1870 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29 02:50:30 +00:00
jantje_85
f88808b431
Forgot one in last commit.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1868 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-27 12:11:33 +00:00
jantje_85
f30c8e19d5
Fixed crashbug in the banlist processing.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1867 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-27 11:53:05 +00:00
cyberbotx
33b7492264
Better check for the backtrace function (actually look for the function, not the execinfo.h header)
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1866 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-26 20:02:25 +00:00
cyberbotx
967f42b4fc
Minor CMake cleanup, moving include directories and defines to use 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-26 19:14:49 +00:00
cyberbotx
77893492da
Allow CMake to still check for the -pipe flag with CMake 2.4.3 or older, also small addition to install the MSVCRT library if needed.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1864 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-25 07:37:16 +00:00
cyberbotx
5982fc4e68
Slight update to README to include myself and w00t (as per r1853 in 1_8_0 branch).
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1863 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-24 03:56:34 +00:00
jantje_85
fe67916159
Fixed problem with unreal protocol module not storing usermode changes. Not 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-23 23:27:37 +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
40ec6f0854
Some more CMake edits, this allows versions of CMake as early as 2.4.0 to 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-21 17:42:39 +00:00
rburchell
4ef5ab0306
Forward port: fix incorrect debug message, r1855.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1856 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-20 19:15:28 +00:00
jantje_85
fff6aadc1e
Fixed crashbug in db-merger.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1851 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-20 12:46:32 +00:00
cyberbotx
75b4bc020f
Some more CMake fixes for 2.4.x (Apparently 2.4.x before 2.4.8 didn't have a FIND sub-command for the list() function)
...
As a side-note, I'd also recommend trying (it's not required) to get CMake 2.6.x to use with Anope, the workarounds to get 2.6.x's functionality with 2.4.x are slow.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1849 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-19 20:09:37 +00:00
cyberbotx
51353104ee
Updated the CMakeLists.txt files to function under CMake 2.4.x (earliest 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-19 02:25:31 +00:00
rburchell
ab658faa91
Fix compile error.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1847 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-19 00:06:43 +00:00
cyberbotx
2cf1042582
Removed empty and thus unneeded folders.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1846 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-18 02:32:18 +00:00
rburchell
6db8824d0b
Fix umode +d bug slightly more properly.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1844 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17 23:57:18 +00:00
rburchell
a5c031382e
Don't crash on server-sent private messages.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1843 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17 23:17:49 +00:00
cyberbotx
ca4db9f235
Removed the old autotools files that are no longer needed because of the use of CMake.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1842 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17 20:19:13 +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
fd45a3ad42
Implemented dependency calculation within CMake, now header file 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-17 20:18:11 +00:00
cyberbotx
ad7b5bdd30
A few GCC 3.4.x and MSVC++ warning fixes.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1839 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17 20:17:52 +00:00
cyberbotx
c4a8cc7e2f
Fixed issue with the MSVC++ build of Anope crashing on a DLL throwing an 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-17 20:17:30 +00:00
cyberbotx
88701c226e
More CMake work, adding win32.rc generation and fixing some other problems.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1837 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17 20:17:13 +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