aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/utils.h
Commit message (Expand)AuthorAgeFilesLines
* Added -Wshorten-64-to-32 and fixed all warnings.Gravatar Dominic Hamon2021-05-301-2/+2
* Kill an outdated XXX comment in spanningtree.Gravatar Sadie Powell2021-05-191-3/+0
* Merge branch 'insp3' into master.Gravatar Sadie Powell2021-05-111-1/+1
|\
| * Fix a bunch of weird indentation and spacing issues.Gravatar Sadie Powell2021-04-271-1/+1
* | Use the contents of the link data map when using the 1206 protocol.•••Still to do: - Extract URL encoding to inspstring. - Use CompareLinkData when using the 1206 protocol. - Show friendlier messages when a link compatibility is encountered. Gravatar Sadie Powell2021-05-101-0/+3
* | Fix a ton of pedantic compiler warnings.Gravatar Sadie Powell2021-04-041-1/+1
* | Refactor classbase/CullResult into Cullable/Cullable::Result.Gravatar Sadie Powell2021-03-021-3/+2
* | Rename <security:hideulines> to <security:hideservices>.Gravatar Sadie Powell2021-01-301-1/+1
* | Switch the spanningtree module from reference<> to std::shared_ptr<>.Gravatar Sadie Powell2020-04-131-3/+3
* | Use C++11 inline initialisation for class members.Gravatar Sadie Powell2020-02-061-2/+6
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-171-2/+5
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-01-111-2/+5
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-07-271-1/+1
|\|
| * spanningtree: Never send a message to a raw UUID in CmdBuilder.Gravatar Peter Powell2019-07-191-1/+1
* | Replace the override macro with the override keyword.Gravatar Sadie Powell2019-01-251-1/+1
* | Replace the TR1NS macro with the std namespace.Gravatar Sadie Powell2019-01-251-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