summaryrefslogtreecommitdiff
path: root/src/process.c
AgeCommit message (Collapse)Author
2010-06-18Removed all references to $, git has no svn keywordsAdam
2010-04-08Rewrote sockets. This adds support for IPv6 and makes Anope capable of ↵Adam-
reconnecting if it loses connection to the uplink. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2862 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-31replaced the alog() command with a new type-safe and stream-based Alog()DukePyrolator
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2777 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-11updated copyright info for 2010pimpmylinux
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2753 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-17Removed some unnecessary casts, used C++-style casts over C-style casts, ↵cyberbotx
fixed a few warnings (one possibly fatal one). git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2655 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-02Remove capability for commands to hook existing commands, add an ↵rburchell
OnPreCommand event instead. Tidies up a lot of stuff. Also remove a bunch of dead code. NOTE: This will break some stuff. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2241 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-18Patch from DP, converting all match calls and removing old match method.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2111 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16Revert "Patch from DukePyrolator to replace all calls to match_wild() and ↵rburchell
match_wild_nocase() to use Anope::Match() instead. Also changes line-endings on wildcard.cpp to Unix-style, as well as fixes a small compile warning in language.c." This reverts commit fcab9857f55567f10eaecbd6b26ee96f0f549d65. This isn't a simple sed operation, the order of arguments changed, so this would break everything using it. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2081 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16Patch from DukePyrolator to replace all calls to match_wild() and ↵cyberbotx
match_wild_nocase() to use Anope::Match() instead. Also changes line-endings on wildcard.cpp to Unix-style, as well as fixes a small compile warning in language.c. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2080 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10Clean up a few warnings.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1974 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-09Squashed commit: merge next (1.9.1) back to trunk.rburchell
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-01-03Housekeeping contact address updates.sjaz
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1914 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-02Update copyrights for 2009.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1909 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-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-15Remove Message::mod_name, modules cannot own ircd messages any more (this ↵rburchell
means everything at protocol level is handled *at protocol level only*, which is good). Also merge callback stuff in with Module class, removing more mod_current_ usage. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1696 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-14Insane commit of doom: s/ \t/grburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1681 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-06Remove queueing on module load/unload, NOTE: don't try unload os_modunload, ↵Robin Burchell w00t@inspircd.org
otherwise things probably won't go too well right now. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1564 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-01Merge protocol_debug() with the only place it's actually called.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1290 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-01Removed set_mod_current_buffer() function from old IRCDProto struct, was ↵Robin Burchell w00t@inspircd.org
never used. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1287 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30Remove unused anope_set_mod_current_buffer(), noted by Naram.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1280 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30Merge commit 'trunk' into anopengRobin Burchell w00t@inspircd.org
Conflicts: src/process.c git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1279 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30Made all protocol modules able to be compiled via mostly constifying strings.Robin Burchell w00t@inspircd.org
Due to the above, also had to constify strings in many other areas. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1202 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30Various g++ fixes. Compiles, doesn't link.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1180 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-14BUILD : 1.7.22 (1440) BUGS : NOTES : Anope 1.7.22 release geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@1440 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1155 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-03BUILD : 1.7.21 (1428) BUGS : 930 NOTES : Rewrote the ignore system to handle ↵viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b
both nicks and masks properly. git-svn-id: svn://svn.anope.org/anope/trunk@1428 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1143 5417fbe8-f217-4b02-8779-1006273d7864
2008-01-13BUILD : 1.7.21 (1345) BUGS : NOTES : Updated copyright information geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@1345 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1060 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-26BUILD : 1.7.19 (1265) BUGS : NOTES : Updated copyright information geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@1265 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@983 5417fbe8-f217-4b02-8779-1006273d7864
2006-10-01BUILD : 1.7.15 (1163) BUGS : NOTES : Various small changes to documentation ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
and example config (and removing void \r from sources) git-svn-id: svn://svn.anope.org/anope/trunk@1163 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@885 5417fbe8-f217-4b02-8779-1006273d7864
2006-07-20BUILD : 1.7.14 (1094) BUGS : 530 NOTES : Applied marks botserv bold striping ↵rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
patch git-svn-id: svn://svn.anope.org/anope/trunk@1094 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@818 5417fbe8-f217-4b02-8779-1006273d7864
2006-07-15# BUILD : 1.7.14 (1089) # BUGS : 549 # NOTES : applied trystan's patch for ↵certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b
the SJOIN issue. git-svn-id: svn://svn.anope.org/anope/trunk@1089 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@813 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-13BUILD : 1.7.14 (1048) BUGS : 510 NOTES : Fixed a lot of redundant function ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
declarations git-svn-id: svn://svn.anope.org/anope/trunk@1048 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@772 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-23BUILD : 1.7.14 (1021) BUGS : NOTES : Anope 1.7.14 RC1 geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@1021 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@746 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-13BUILD : 1.7.13 (1007)# BUGS : 476 # NOTES : Applied Trystan's patch.certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@1007 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@732 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-02# BUILD : 1.7.13 (998)certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b
# BUGS : 445 # NOTES : Tixed possible overflow in process() git-svn-id: svn://svn.anope.org/anope/trunk@998 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@723 5417fbe8-f217-4b02-8779-1006273d7864
2005-09-28BUILD : 1.7.11 (902) BUGS : NOTES : Changed how /os modload and /os ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
modunload load/unload modules; they are now handled in a queue instead of using the mod_current_* variables git-svn-id: svn://svn.anope.org/anope/trunk@902 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@648 5417fbe8-f217-4b02-8779-1006273d7864
2005-06-03BUILD : 1.7.10 (824) BUGS : 389 NOTES : Added the possibility for protocol ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
files to override the code setting mod_current_buffer, which is needed for InspIRCd git-svn-id: svn://svn.anope.org/anope/trunk@824 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@577 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-25BUILD : 1.7.10 (815) BUGS : 383 NOTES : Added value checking for deleting ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
ignores, which fixes a (very rare) segfault git-svn-id: svn://svn.anope.org/anope/trunk@815 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@568 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-05BUILD : 1.7.9 (776) BUGS : none NOTES : Prepended all debug messages for ↵dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b
consistency. git-svn-id: svn://svn.anope.org/anope/trunk@776 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@536 5417fbe8-f217-4b02-8779-1006273d7864
2005-02-14BUILD : 1.7.8 (574) BUGS : N/A NOTES : Internal Events, Win32 can build with ↵trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b
encryption, nickIsServices() works if format is nick@services git-svn-id: svn://svn.anope.org/anope/trunk@574 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@424 5417fbe8-f217-4b02-8779-1006273d7864
2005-02-11BUILD : 1.7.8 (573) BUGS : 296 NOTES : mod_current_buffer was not set in all ↵trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b
possible cases git-svn-id: svn://svn.anope.org/anope/trunk@573 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@423 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-27BUILD : 1.7.7 (556) BUGS : N/A NOTES : synced headers so our copyright is ↵trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b
2005, Solid IRCD compiles again, fixed sstrdup() error, updated the documentation a bit, cleaned up ratbox a bit. git-svn-id: svn://svn.anope.org/anope/trunk@556 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@409 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-17BUILD : 1.7.7 (547) BUGS : 272 275 NOTES : Fixes up help for their access ↵trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b
levels, and ircops except from ignore in all places git-svn-id: svn://svn.anope.org/anope/trunk@547 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@400 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-06BUILD : 1.7.6 (478) BUGS : N/A NOTES : 1. CS CLEAR strips +q/+a 2. CS CLEAR ↵trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b
uses SVSMODE with Unreal to strip +q/a/o/h/v 3. SVSMODE unban works again on Viagra 4. Adds anope_cmd_svsmode_chan() to for SVSMODE on channels 5. OS CLEARMODES uses SVSMODE with Unreal to strip +q/a/o/h/v 6. memory.c, servers.c, slist.c, sockutil.c, misc. is doxygen ready 7. Unreal32 pseduo clients use SJOIN now to join the channels 8. clean out the process() buffers before we start to use them, maybe less garbage in them when we do bts 9. Few memory cleans up in hostserv do_setall() 10. Tons of clean up, only a handful left when you make strict git-svn-id: svn://svn.anope.org/anope/trunk@478 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@332 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-13BUILD : 1.7.5 (395) BUGS : N/A NOTES : Fixed a typo in all source files, and ↵rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
merged sstrdup and anopeStrDup, as they do the same thing git-svn-id: svn://svn.anope.org/anope/trunk@395 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@260 5417fbe8-f217-4b02-8779-1006273d7864
2004-09-09BUILD : 1.7.5 (342) BUGS : #00 NOTES : Certus: Replaced current ↵keeper keeper@31f1291d-b8d6-0310-a050-a5561fc1590b
rand-implementation with arc4random and replaced C++ comments with C-style comments (gcc 2.95 might complain). git-svn-id: svn://svn.anope.org/anope/trunk@342 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@218 5417fbe8-f217-4b02-8779-1006273d7864
2004-07-19BUILD : 1.7.4 (264) BUGS : N/A NOTES : Switched to autoconf - try to commit ↵rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
part 1 git-svn-id: svn://svn.anope.org/anope/trunk@264 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@169 5417fbe8-f217-4b02-8779-1006273d7864