summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
AgeCommit message (Collapse)Author
2012-10-21Make better use of User::GetFullRealHost()attilamolnar
2012-10-12Windows: In-depth cleanup (see details)ChrisTX
-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
2012-10-12Remove superfluous std::string()sattilamolnar
2012-10-07m_spanningtree Fix undefined behavior caused by referencing the returned ↵attilamolnar
buffer by std::string::c_str() when the object is temporary
2012-10-03m_spanningtree Fill a parameterlist in OnAddLine/OnDelLineattilamolnar
2012-10-03m_spanningtree Simplify OnMode and OnSetAway handlersattilamolnar
2012-10-03m_spanningtree Remove empty RedoConfig()attilamolnar
2012-10-03m_spanningtree Utils: Remove unused functionsattilamolnar
2012-10-03m_spanningtree OPERTYPE handler: Return when finished processing instead of ↵attilamolnar
changing execution path with a flag
2012-10-03m_spanningtree Remote WHOIS handler: Find target with FindNickOnly (don't ↵attilamolnar
accept uids, like in cmd_whois)
2012-10-03m_spanningtree Netburst: Remove unused parameters and variablesattilamolnar
2012-10-03m_spanningtree Netburst: Prefix SERVER and VERSION lines with SIDs instead ↵attilamolnar
of server names
2012-10-02m_spanningtree Netburst: Remove unnecessary variables from DoBurst()attilamolnar
2012-10-02m_spanningtree Use iterators in CAPAB handler and when generating reply to ↵attilamolnar
spanningtree related /stats, use std::find() in TreeServer::DelChild()
2012-10-02m_spanningtree Only allow uuids in SVSJOIN, METADATA and OPERQUITattilamolnar
2012-09-30m_spanningtree Return const references from several TreeServer getter functionsattilamolnar
2012-09-30Fix more undefined behavior caused by referencing the returned buffer by ↵attilamolnar
std::string::c_str() when the object is temporary See 83c7cc45daf6fb1f8c36f15297a4657e45a34e88
2012-09-23Fix undefined behavior caused by referencing the returned buffer by ↵attilamolnar
std::string::c_str() when the object is temporary Thanks to @ChrisTX for pointing this out Fixes #257 reported by @helloall
2012-08-10m_spanningtree Add missing aposthrope to connection failed server noticeattilamolnar
2012-08-10m_spanningtree: Resolve issue #250ChrisTX
2012-08-08m_spanningtree Specify the uuid of the remote user when sending server ↵attilamolnar
NOTICE/PRIVMSG to him
2012-08-08m_spanningtree Handle ? wildcard as well when processing an incoming ENCAPattilamolnar
2012-07-08m_spanningtree Add function to easily determine whether a server was ↵attilamolnar
introduced to the network, use it to determine when to send SQUIT
2012-07-04m_spanningtree Fix crash in SVSPART handler when the given channel doesn't existattilamolnar
2012-07-01m_spanningtree Call the collision handler with the proper parameter (client ↵attilamolnar
ip instead of modestring) when a nick collides at burst
2012-07-01m_spanningtree Return when ecountering an invalid command coming from a ↵attilamolnar
remote server
2012-07-01Fix crash in ADDLINE handler when the command had no parametersattilamolnar
2012-06-17Fix pending invites not being removed when a channel was deleted or had its ↵attilamolnar
TS lowered
2012-06-12m_spanningtree Burst to a new server before introducing it to the rest of ↵attilamolnar
the network Fixes issue #103 reported by @nenolod
2012-06-12Be consistent with Robby's qQ snomask changesSir Poggles
2012-06-11m_spanningtree Only add a resolved server IP as valid if it still exists ↵attilamolnar
when the lookup completes
2012-06-11m_spanningtree Move SecurityIPResolver code to resolvers.cpp from resolvers.hattilamolnar
2012-06-11m_spanningtree Disallow server passwords which contain a space char and ↵attilamolnar
those which begin with a colon Update links.conf.example
2012-06-11m_spanningtree Notify opers upon ecountering a configuration error when ↵attilamolnar
rehashing
2012-05-31m_spanningtree Fix desync issue #37 reported by @Joah - part 2attilamolnar
2012-05-25Debian typo fixes.Peter Powell
2012-04-19Replace copyright headers with headers granting specific authors copyrightRobby-
2012-04-18Forward port 1d703dcf7858a322c823bbd80f9507b627c5738c.attilamolnar
2012-04-18Log mode errors when processing FJOIN.Robin Burchell
2012-04-18Fix typo.Robin Burchell
2012-04-18Match the logging in the rest of this module.Robin Burchell
2012-04-18Be more helpful when processing commands from a linked server.Robin Burchell
When diagnosing errors with s2s traffic, it costs us next to nothing to try a little harder to generate useful errors so errors are immediately apparent.
2012-04-14Fix some of the include guard names (requested by SaberUK)Justin Crawford
2012-04-14Fixes for bug #12Justin Crawford
2012-04-14Fix unused variables reported by the clang static analyzer.Peter Powell
2011-06-23Always use local SID as the source for PONG repliesDaniel De Graaf
2011-04-10Fixed Windows build on VS 2010Adam
2011-02-28Fix timeout defaulting to zero for link blocksDaniel De Graaf
2011-01-19Fix bug #117, found by satmd, thanksJackmcbarn
2010-12-02Restore prefixJackmcbarn