aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/utils.h
Commit message (Expand)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2020-01-111-2/+5
* spanningtree: Never send a message to a raw UUID in CmdBuilder.Gravatar Peter Powell2019-07-191-1/+1
* Fix message tags not being broadcast across the network.Gravatar Peter Powell2019-01-021-1/+1
* Move <security:hidesplits> to the spanningtree module.Gravatar Peter Powell2018-10-011-0/+5
* Use CommandBase::Params instead of std::vector<std::string>.•••This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters. Gravatar Peter Powell2018-07-261-1/+1
* Fix a ton of -Wsign-conversion warnings.Gravatar Peter Powell2017-11-171-3/+3
* Add CXX11_OVERRIDE to overridden members that lack it.•••This fixes a ton of warnings when building on compilers that default to C++11 or newer. Gravatar Peter Powell2017-07-121-1/+1
* m_spanningtree Add SpanningTreeUtilities::FindRouteTarget()Gravatar Attila Molnar2016-03-291-0/+5
* m_spanningtree Remove unused SpanningTreeUtilities::BestRouteTo()Gravatar Attila Molnar2016-03-291-4/+0
* m_spanningtree Remove unused SpanningTreeUtilities::DoOneToOne() overload acc...Gravatar Attila Molnar2016-03-291-1/+0
* m_spanningtree Log nick collisions more verbosely and in all casesGravatar Attila Molnar2015-05-231-1/+1
* m_spanningtree Clean up commentsGravatar Attila Molnar2015-05-131-4/+2
* m_spanningtree Return a bool from DoCollision()•••The return value is true if the remote user or both have to change, false if only we have to change Gravatar Attila Molnar2014-07-261-1/+1
* m_spanningtree Remove the (now) undocumented disablehmac config optionGravatar Attila Molnar2014-04-081-8/+0
* Introduce Server class•••- Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine() Gravatar Attila Molnar2014-01-051-0/+1
* Merge insp20Gravatar attilamolnar2013-08-301-1/+2
|\
| * m_spanningtree When an IOHook goes away close all pending connections that us...Gravatar attilamolnar2013-08-211-1/+3
* | m_spanningtree Introduce command buildersGravatar attilamolnar2013-08-271-9/+6
* | m_spanningtree Remove duplicate code for sending channel messages from RouteC...Gravatar attilamolnar2013-08-221-4/+4
* | m_spanningtree Implement DoOneToMany() using DoOneToAllButSender()Gravatar attilamolnar2013-08-221-1/+6
* | m_spanningtree Minor cleanup of functionsGravatar attilamolnar2013-08-191-2/+2
* | m_spanningtree Move all server-to-server command handlers into handler classes•••These commands are not registered in or called by the core. When looking for the handler of a command a new command table is searched first which contains all server-to-server commands. If a handler cannot be found in there, the core command table is consulted. Gravatar attilamolnar2013-08-181-1/+5
* | m_spanningtree Remove SpanningTreeUtilities* fields and parametersGravatar attilamolnar2013-08-171-0/+2
* | Change command name parameter of OnPostCommand to be a Command*Gravatar attilamolnar2013-06-121-1/+1
* | Merge insp20Gravatar attilamolnar2013-06-061-3/+0
|\|
| * Remove unnecessary string copies and dead codeGravatar attilamolnar2013-06-051-13/+2
* | m_spanningtree Move CacheTimer into utilsGravatar attilamolnar2013-04-211-0/+3
* | Fix building with libc++.•••- Purged std::tr1::strlower (was never used). - Moved std::tr1::insensitive to irc::insensitive. - Added TR1NS macro to point to the correct C++ TR1 namespace. Gravatar Peter Powell2013-04-191-1/+1
* | m_spanningtree Introduce new function to send channel messages•••Use it from the protocol interface and PRIVMSG/NOTICE handlers Unite OnUserNotice and OnUserMessage code into LocalMessage() Gravatar attilamolnar2013-04-121-0/+4
* | m_spanningtree Change TreeServerList to be a set, get rid of a function dedic...Gravatar attilamolnar2013-04-121-5/+1
* | m_spanningtree Utils: Move code that creates a full line from its components ...Gravatar attilamolnar2013-04-121-0/+4
* | m_spanningtree atoi() to ConvToInt() conversion, add const where possible•••Remove two redundant functions from Utils Gravatar attilamolnar2013-04-121-10/+2
* | Tidy up source files:•••- Use #pragma once instead of include guards. - Move header files in src/modules to include/modules. - Fixed various spacing issues. Gravatar Peter Powell2013-04-121-4/+1
* | Purge the deprecated hash_map from existance.Gravatar Peter Powell2013-04-011-5/+1
|/
* Windows: In-depth cleanup (see details)•••-Fix x64 builds for Windows. Now all configurations compile. -Remove the non-working rebase stuff. -Remove the Windows fork hack and instead use FreeConsole() to emulate the behavior. This directly allows us to compile with ASLR, which is turned on now. -Remove the old IPC mechanism for the removed GUI. This is not needed anymore as the GUI wasn't ever supported on anything newer than 1.2 -Remove the WIN32/WINDOWS macros. _WIN32 is supported on all x86-based VC++ targets, so that's what we need. -Enable optimizations for release builds. -De-duplicate printf_c(), it was previously copy-pasted into colors.h for configure -Add the VC++ specific bad files in .gitignore -Disable PID writing on Windows. This is only making sense for *nix builds. -Replace the CPU usage retrieval with an algorithm analogous to the *nix behavior. Also supports separated now/total values. (Tested with a dummy busy loop - seems working) -Removed certain unused functions and variables -Remove stdint defines from the windows wrapper -Remove CRT debug alloc. This is a bad idea as it would define a macro to replace free which breaks builds. -Re-evaluated the warnings list, commented it. -Moved inspircd_config/_version to include/ to match *nix -Removed the creation of inspircd_se_config, as it isn't used at all. -Made non-git builds show as "r0" instead of "r" (thanks to @SaberUK for pointing this out) -Fixed up m_spanningtree's project paths. Now all configurations (debug/release x86/x64) have been tested and build properly. -Moved FindDNS out of the wrapper and matched its log behavior with *nix. (It's pointless having it in the wrapper after the recent slimming down) -Replaced random/srandom wrappers with a mechanism that tries to use Windows' Random API first is no SSL module is loaded. -Removed more old junk from support for compilers older than VC++ 2010 (we don't have project files for these, so compiling them would be hard anyways) -Removed the unused ClearConsole() -Removed unused includes from the wrapper. Also, do not include psapi.h here if we don't link psapi.lib. This should be done where appropriate. -Made inet_aton an inline function for increased performance -C4800, performance warning about bool forcing, resolved at all occurrences. -C4701, uninitialized variable 'cached', resolved at all occurrences. -dlerror() was migrated out of the wrapper for more thread safety (no global buffer being shared) and increased performance. -Removed the wrong CRT debug flags. This drains a lot of performance. -Removed the clock_gettime/gettimeofday wrappers -Replaced all TCHAR/ANSI mix-ups of functions with the correct respective function. -Added a block of C4355 for < VS2012 -Update project files for c870714 Gravatar ChrisTX2012-10-121-7/+3
* m_spanningtree Utils: Remove unused functionsGravatar attilamolnar2012-10-031-8/+0
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+17
* Fix some of the include guard names (requested by SaberUK)Gravatar Justin Crawford2012-04-141-2/+2
* Fixes for bug #12Gravatar Justin Crawford2012-04-141-2/+2
* Allow SASL messages to be targeted at the services server•••<sasl target="services.example.net"> will avoid broadcasting all authentication messages across the network, which improves security. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12494 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-02-181-6/+6
* ...because every now and again, i have to do a massive commit.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2010-01-111-1/+1
* Make User::uuid and User::server const•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11962 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-231-3/+0
* Kill ListenSocketBase, use OnAcceptConnection for all new connections•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11950 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-211-17/+1
* Make classbase and refcountbase uncopyable; expand comments on their indended...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11888 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-171-1/+1
* Add server ports to ServerInstance->ports, enable SSL on them using OnHookIO•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11810 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-091-7/+2
* Update Event and Request APIs•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11808 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-081-17/+3
* Add ROUTE_TYPE_MESSAGE and use for PRIVMSG/NOTICE routing•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11791 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-011-0/+2
* Allow multiple autoconnects in a single <autoconnect> tag, fix infinite failover•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11786 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-301-21/+3
* Add explicit reference-counting base class•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11785 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-301-1/+1
* Move destruction logic for User and Spanningtree into cull()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11783 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-301-0/+4