summaryrefslogtreecommitdiff
path: root/src/misc.c
AgeCommit message (Collapse)Author
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-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-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-26Various fixes for compiling under Windows.cyberbotx
Also updated ms_* modules to use std::vector Memo struct from earlier commit. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1797 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-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-16Added module blocks for autoloading non-core modules.cyberbotx
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-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-09UseTokens needs to die in a fire, don't let it be turned off.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1605 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-05Removed DevNull pseudo-client as well as all *Alias pseudo-clients.Naram Qashat cyberbotx@cyberbotx.com
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1427 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-03Merge commit 'cbx/anopeng-charfix' into anopengRobin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1408 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-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-30Constify a lot of the API. Core now "builds".Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1182 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30Various g++ fixes.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1178 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30Merge (with small conflict) from upstream.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1177 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-27BUILD : 1.7.22 (1454) BUGS : NOTES : Applied patch by w00t to fix math bug ↵viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b
in strnrepl(). git-svn-id: svn://svn.anope.org/anope/trunk@1454 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1168 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-03BUILD : 1.7.21 (1426) BUGS : 876 NOTES : We now support CIDR in channel ↵viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b
ban/invite/except lists. Introduces new CIDR capable generic lists system. git-svn-id: svn://svn.anope.org/anope/trunk@1426 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1141 5417fbe8-f217-4b02-8779-1006273d7864
2008-01-26BUILD : 1.7.21 (1364) BUGS : 844 NOTES : Removed broken version checking for ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
windows media center edition and tablet edition; free(Jobe); git-svn-id: svn://svn.anope.org/anope/trunk@1364 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1079 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
2008-01-04BUILD : 1.7.20 (1330) BUGS : 815 NOTES : Applied patch by Trystan to ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
properly detect Windows Vista and Windows Server 2008 git-svn-id: svn://svn.anope.org/anope/trunk@1330 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1046 5417fbe8-f217-4b02-8779-1006273d7864
2007-09-02BUILD : 1.7.19 (1300) BUGS : NOTES : Changed 2 // (C++-style) comments in /* ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
(C-style) */ comments in src/misc.s and ran indent on the same file git-svn-id: svn://svn.anope.org/anope/trunk@1300 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1018 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-17BUILD : 1.7.17 (1185) BUGS : N/A NOTES : Encryption now offers the choice of ↵rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
none, old and md5 - the md5 module is nicely taken from irc-services and actaully works, yes, real md5, in anope, wow eh? git-svn-id: svn://svn.anope.org/anope/trunk@1185 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@905 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-08-22BUILD : 1.7.15 (1139) BUGS : N/A NOTES : Applied pelxus3 fixs from ThaPrince rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@1139 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@862 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-03-14# BUILD : 1.7.13 (1008) # BUGS : 473 474 # NOTES : gcc switches and win98 ↵certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b
stop, thx 2 trystan git-svn-id: svn://svn.anope.org/anope/trunk@1008 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@733 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-02-24Removed redundant int, should make gcc 2 a little happier :)rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@971 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@696 5417fbe8-f217-4b02-8779-1006273d7864
2006-02-13Fixed va_list issue with process_list rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@967 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@692 5417fbe8-f217-4b02-8779-1006273d7864
2006-02-11BUILD : 1.7.13 (965) BUGS : 442 437 432 431 420 NOTES : Fixed a few memleaks. certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@965 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@690 5417fbe8-f217-4b02-8779-1006273d7864
2006-01-26Bug: 425 - export buildStringList for modules to use.rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@960 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@687 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-05-02BUILD : 1.7.8 (753) BUGS : N/a NOTES : Merged anope-dev with trunk rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@753 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@516 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-28BUILD : 1.7.8 (646) BUGS : 327 329 334 335 NOTES : Fixed quite a few bugs ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
with mode handling (not always removed correctly, added/removed modes were split), fixed a segfault in chan_set_correct_modes, fixed some issues with topic setting, made stripModePrefix really stripping the mode prefix instead of the first char git-svn-id: svn://svn.anope.org/anope/trunk@646 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@494 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-26BUILD : 1.7.8 (643) BUGS : NOTES : Fixed: (1) memleak in nickIsServices ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
[src/misc.c] (2) Fixed language files to reflect r641 (3) Updated nl.l (4) Added event of r642 to docs/EVENTS git-svn-id: svn://svn.anope.org/anope/trunk@643 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@491 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-07BUILD : 1.7.8 (606) BUGS : NOTES : Removed proxy detector code from the ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
core, threads stuff still there. Needs good testing git-svn-id: svn://svn.anope.org/anope/trunk@606 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@454 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-03BUILD : 1.7.8 (594) BUGS : N/A NOTES : Changes strdup to sstrdup - doh! rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@594 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@443 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-03BUILD : 1.7.8 (593) BUGS : 307 NOTES : Fixed admin/owner mode handling rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@593 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@442 5417fbe8-f217-4b02-8779-1006273d7864
2005-02-28BUILD : 1.7.8 (588) BUGS : 304 NOTES : 1. nickIsServices() no longer alters ↵trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b
the buffer 2. Fixes +I on Unreal and Bahamut 3. Anope Feature Request 285 4. Updates documentation 5. Ratbox compiles clean with make strict 6. Trap and storing of NICKCHARS git-svn-id: svn://svn.anope.org/anope/trunk@588 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@438 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-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-23BUILD : 1.7.7 (555) BUGS : N/A NOTES : TS6 support, Ratbox support, lots of ↵trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b
little bug fixes, updated documentation git-svn-id: svn://svn.anope.org/anope/trunk@555 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@408 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-25BUILD : 1.7.6 (499) BUGS : NOTES : Fixed several compiler warnings with make ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
strict, removed 2 deprecated config vars. git-svn-id: svn://svn.anope.org/anope/trunk@499 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@353 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-11-12BUILD : 1.7.6 (440) BUGS : 211 NOTES : 1. Updated PTLink support, 2. ↵trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b
OperServ takes +q/+a on CLEARMODES, 3. fixed a segfault in do_match_wild() reported by DJ git-svn-id: svn://svn.anope.org/anope/trunk@440 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@295 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-10-13BUILD : 1.7.5 (394) BUGS : N/A NOTES : More code tidying, added make ↵rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
strict_modules etc, incase module coders what to use it :) git-svn-id: svn://svn.anope.org/anope/trunk@394 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@259 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-13BUILD : 1.7.5 (392) BUGS : N/A NOTES : More code tidy with strict enabled, ↵trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b
some clean up of Unreal32 git-svn-id: svn://svn.anope.org/anope/trunk@392 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@257 5417fbe8-f217-4b02-8779-1006273d7864