DukePyrolator
2f6c0e435c
some code cleanup in misc.cpp and fixed a small typo
2010-08-01 18:48:40 +02:00
Naram Qashat
084766069c
Merge branch '1.9' of ssh://anope.git.sf.net/gitroot/anope/anope into 1.9
2010-08-01 12:21:42 -04:00
Naram Qashat
1175ef320e
Cleanup in memoserv.cpp.
2010-08-01 12:21:17 -04:00
DukePyrolator
bfd94136c6
fixed enc_sha256
2010-08-01 09:56:34 +02:00
Adam
c770c47e18
Don't dynamically allocate commands in modules anymore, instead made them members of modules. This means the commands are automatically destructed when the module is unloaded. Cleans up some old ugly code.
2010-07-31 21:37:45 -04:00
Naram Qashat
602d2378f5
Cleanup in misc.cpp.
2010-07-30 21:47:28 -04:00
Adam
ef651b667e
Fixed a typo in hashcomp.h for detecting what version of VC is in use
2010-07-30 19:47:22 -04:00
Naram Qashat
7a7b8933bb
Cleanup in modulemanager.cpp, make it so CMake only includes the -fno-leading-underscore flag on a GNU compiler, changed the hash compare functions to use struct to appease clang, and made it so hashcomp.h uses tr1/unordered_map with g++ 4.x or up.
2010-07-30 19:24:41 -04:00
Naram Qashat
527304ed2c
Some code cleanup and constification in nickserv.cpp.
2010-07-30 08:09:07 -04:00
Adam
0cacbf30d2
Fixed hash_map code to build on VS 2008
2010-07-30 03:56:14 -04:00
Adam
8e6fe99181
Fixed some Windows issues with hashing and sockets. This currently limits building to VS 2010, will look at 2008 later
2010-07-30 01:11:19 -04:00
Naram Qashat
5ed69ed678
Used std::list for ignore's IgnoreData instead of using the old C-style double-linked list, also removed the addition of an ignore when a command "takes too long".
2010-07-29 23:34:39 -04:00
Adam
abfc9926db
Added support for tracking inspircd2.0 usermode +Q and cahnged the Flags bitsets for modes to not use a max defined value, it can go over
2010-07-29 23:08:47 -04:00
Adam
cc64903179
Rewrote the hashing systems to properly handle the new Anope::strings which we have everywhere.
2010-07-29 18:38:56 -04:00
Naram Qashat
04200cc838
Made all of IRCDProto use const pointers, with the exception of SendVhostDel because of the Unreal protocol module, it makes me sad.
2010-07-29 08:12:54 -04:00
Naram Qashat
971df4825c
Clean up send.cpp a bit to use Anope::string, as well as fix Anope::string's replace_all_* functions to actually work if the original and replacement strings are not the same length.
2010-07-28 08:16:33 -04:00
Naram Qashat
aa9610a56f
Merge branch '1.9' of ssh://anope.git.sf.net/gitroot/anope/anope into 1.9
2010-07-28 00:28:59 -04:00
Naram Qashat
4700c96268
Yet more annoying code cleanup, plus made Server's Links list into a normal variable and not a pointer.
2010-07-28 00:19:19 -04:00
Adam
a2573a2c30
Removed some assertions, replaced with throwing CoreExceptions
2010-07-27 22:12:20 -04:00
Adam
4b870cc5f9
Added debug_cast which uses dynamic_cast on debug builds, and static_cast on release builds
2010-07-27 21:31:13 -04:00
Naram Qashat
66c0e280ee
A few more random annoyances cleaned up.
2010-07-27 20:03:10 -04:00
Naram Qashat
92edce8ef9
Cleaned up some code in src/users.cpp that kinda annoyed me.
2010-07-27 18:28:16 -04:00
Naram Qashat
57bb759305
Trying to make things a little more const-safe, a work in progress but this is a bit better.
2010-07-26 23:32:03 -04:00
Naram Qashat
aa2c1009ee
Removed std::string and ci::string versions of LoadModuleList, we only need the Anope::string version now.
2010-07-26 00:20:00 -04:00
Adam
707268f30b
Some windows fixes caused by the last commit
2010-07-25 23:03:06 -04:00
Naram Qashat
ae38212c1c
Epic commit to replace most of the strings in Anope with a single Anope::string class, plus some other little fixes here and there. If you follow 1.9.x development and are testing things, THIS is one of those things that NEEDS testing.
2010-07-25 21:58:20 -04:00
Adam
2328c3e7ec
Always use non-blocking sockets
2010-07-24 13:45:54 -04:00
Adam
b218d52a31
Removed MARK_DEPRECATED from the OnDatabaseExpire events
2010-07-24 03:32:27 -04:00
Adam
a22f8d3b2d
Moved some files and diretories around, made cmake skip files it knows it can't compile because of missing dependices.
2010-07-15 22:55:02 -04:00
Adam
63d7142465
Added options:hideprivilegedcommands config option to hide privileged commands from normal users
2010-07-10 22:50:18 -04:00
Adam
4b1e76c3bb
Added ns_set_misc and cs_set_misc.
...
These modules allows users to configure settable options in /ns and /cs set
that will be displayed in /ns and /cs info.
Removed os_info, cs_set_url, ns_set_url, cs_set_email, ns_set_icq
2010-07-10 19:08:16 -04:00
Adam
166d6f5d09
Removed autotools and the makefiles. This will be reintroduced differently before the 1.9.3 release.
2010-07-09 02:27:02 -04:00
Adam
7e20659522
No need to allocate the numberlist callback classes with new
2010-07-09 00:20:00 -04:00
Adam
1cf4ebb231
Added an epoll socket engine
2010-07-08 22:19:13 -04:00
Adam
f71d5b4d3a
Removed OnEncryptInPlace, although it currently causes no problems it is just redundant.
2010-07-05 16:14:17 -04:00
Naram Qashat
950cfcd31e
Some OCDing over version.cpp, and make it so module.cpp doesn't need version.h (only main.cpp, modulemanager.cpp, and modules.cpp need version.h, to avoid rebuilding EVERYTHING every build)
2010-06-28 23:15:16 -04:00
Naram Qashat
85b07a94d7
Fix version system so it doesn't cause the entire build tree to get rebuilt just because version.h gets regenerated, thanks to Adam for initial patch.
2010-06-28 01:28:51 -04:00
Adam
2e4099e9f2
No need for BotInfo to have its own ChangeNick function
2010-06-28 00:56:37 -04:00
Adam
051ebe3eea
Fixed unordered_map to build on VS 2008
2010-06-27 22:21:49 -04:00
Adam
f17c4d4d04
Made Windows install.js correctly detect the Anope version and made version.cpp correctly generate version.h on Windows
2010-06-27 20:34:09 -04:00
Adam
57caa0b53f
Made Anope track its own clients internally as if they were real users
2010-06-27 02:41:48 -04:00
Adam
d49aee6cf8
Made the flags class take an optional size arg
2010-06-26 22:50:02 -04:00
Adam
36c646c7d2
Added support for InspIRCd 2.0s dynamic modes.
...
Note that this changes the maximum length of an acceptable
IRC message from 512 to 1024 because InspIRCd sends messages
longer than 512 characters.
2010-06-26 21:12:31 -04:00
Naram Qashat
4e31757f14
Merge branch '1.9' of ssh://anope.git.sf.net/gitroot/anope/anope into 1.9
2010-06-26 01:39:11 -04:00
Naram Qashat
6dc3af5db4
The next of a few "CBX OCDing over code style" commits, focusing on src/core/hs_* and src/core/ms_*, plus some tiny fallout caused by changing the FOREACH_* macros.
2010-06-26 01:38:19 -04:00
Adam
03fbc7d281
Changed the versioning system to use git
2010-06-25 20:00:21 -04:00
DukePyrolator
959a1a69a5
moved FindMessage() into the Anope class
2010-06-22 22:06:23 +02:00
Adam
17040c088a
Store modules in a list and xlines in a vector, not deques. We need to be able to keep iterators valid.
2010-06-20 21:33:01 -04:00
Adam
0d2d7e9968
Fixed Windows build
2010-06-20 20:05:23 -04:00
Naram Qashat
63d7bee2a6
Merge branch '1.9' of ssh://anope.git.sf.net/gitroot/anope/anope into 1.9
...
Conflicts:
include/config.h
2010-06-20 18:51:03 -04:00