summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2014-01-21Bump API version because of 3f4d54eb031f1cd6b016dfe1f768ed86303e3856Attila Molnar
2013-09-14Fix ConvToStr(char)attilamolnar
2013-09-13Fix a shadow warning created by ConfigTag::createChrisTX
2013-09-08Fix a crash when running as systemd serviceChrisTX
- Fix a NULL dereference if a signal is raised in the constructor of the class InspIRCd - Resolve the parent's process exit code being SIGTERM=15 and typically not EXIT_SUCCESS thus A combination of the two caused crashes when running as systemd unit.
2013-08-30Don't CoreExport reference, fixes m_dnsbl on Windowsattilamolnar
The explicit instantiations of reference are now useless; remove
2013-07-14Use the correct socket related error messages on WindowsAdam
2013-05-18Initialize local_countattilamolnar
2013-05-16Workaround for std::list::size() having linear complexity on some ↵attilamolnar
implementations
2013-05-16Remove unused variables, avoid copies where possible, check empty() instead ↵attilamolnar
of size() == 0 Most of these were detected by cppcheck
2013-04-24Move SocketEngine::IgnoreError() code into socketengine.h and add test for ↵attilamolnar
EWOULDBLOCK
2013-04-16Fix m_ssl_gnutls and perhaps some other things on Windows by recognizing ↵Adam
WSAEWOULDBLOCK
2013-04-05Don't attempt to unload or reload modules that are waiting to be unloadedattilamolnar
2013-03-20Add support for mandatory tags in included config filesattilamolnar
If the mandatory tag is not found in the included config, the rehash is aborted. This is especially useful for remote includes, as it allows users to have a dummy tag at the end of the included config to indicate that the config has been wholly read. This method does not depend on exit codes so even situations where wget returns an empty or a wrong page that we would otherwise accept can be detected and an error can be generated before we assume that the contents have disappeared (and unload all modules, if the included file is supposed to contain module tags, for example). Usage: <include ... mandatorytag="namehere"> - if the included config doesn't contain a <namehere> tag then the rehash is aborted Fixes #30 reported by @Justasic
2013-03-11Remove dead code from DNSattilamolnar
2013-03-11Fix m_dnsbl not checking cgiirc users when the cgiirc address is elinedattilamolnar
2013-01-28Use the preprocessor to detect whether hash_map is available.Peter Powell
2013-01-16Fix warning: "const type qualifier on return type has no effect".Peter Powell
2012-12-25Include <list> in base.h to prevent build errors on OpenBSD.Peter Powell
2012-12-15Add a flag to Command that controls whether an empty last parameter is ↵attilamolnar
allowed or not
2012-12-09Remove ServerLimits::Finalise(), it's completely wrongattilamolnar
Truncate <limits:identmax>+1 long idents in User::ChangeIdent()
2012-12-05Change a few signed counter variables to unsigned so they roll over laterattilamolnar
2012-12-02Throw an exception when attempting to register an extension with a name that ↵attilamolnar
already exists Previously this silently failed
2012-11-29Make LocalUserList an std::listattilamolnar
2012-11-29Add a typedef for LocalUserListattilamolnar
2012-10-29Fix typo in doc and remove some whitespaceattilamolnar
2012-10-29Move ServerConfig::ProcessColors() into class InspIRCd, as a helper functionattilamolnar
Change signature to accept a file_cache reference so modules can use it easily
2012-10-19Fix for #268.Peter Powell
- Move color stripping code to helperfuncs. - Strip color codes before matching filters.
2012-10-14Resolve two warnings clang complains aboutChrisTX
No newline at end of file in consolecolors.h String plus int in snomasks
2012-10-14Replace printf(_c) with iostreamChrisTX
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-08Move simple user and channel mode handlers into a single fileattilamolnar
2012-10-03Change User::SetClientIP() to be virtualattilamolnar
2012-09-30Make ConfigReader::GetSID() return a const reference to a string instead of ↵attilamolnar
a string
2012-09-13Call OnUserSetIP() whenever the IP of a local user changes, set ↵attilamolnar
ident,host,dhost in LocalUser constructor
2012-09-13New OnUserSetIP() hookattilamolnar
2012-09-12Fix bug #291 - fix rehashing bind tags not changing them between ↵Adam
servers/clients and ssl/nonssl
2012-08-25Add a config option to enable/disable the welcome notice sent to clients ↵attilamolnar
after successful registration Fixes #284 reported by @hoggeh
2012-07-13Move STATS handler back to cmd_stats so it's hotpatchable againattilamolnar
2012-07-11Close files opened with popen() with pclose() instead of fclose()attilamolnar
2012-07-11Don't manage memory manually for the commasepstream in irc::portparserattilamolnar
2012-07-11Use std::set instead of std::map in irc::portparserattilamolnar
2012-07-06#include <stdint.h>, add header guard to extensible.hattilamolnar
Fixes #102 reported by @kshade
2012-07-06Added color codes to /rules, moved the parsing to ServerConfig and cleaned ↵Justin Crawford
the code up a bit
2012-07-05Fix Doxygen syntax errors.Peter Powell
2012-07-01Revert "users: add SetClientIP function for irc::sockets::sockaddrs type."Robin Burchell
This reverts commit f0474272303ac9297f637ce956315518138bafff.
2012-07-01Revert "users: introduce OnSetClientIP hook."Robin Burchell
This reverts commit 5fd31ec5a6ba6021763b36d8d17d4665900623ab.
2012-06-30Remove unused channelmanagerattilamolnar
2012-06-28InviteBase needs to be a CoreExport on Windows.Peter Powell
2012-06-17Fix pending invites not being removed when a channel was deleted or had its ↵attilamolnar
TS lowered
2012-06-12users: introduce OnSetClientIP hook.William Pitcock
This hook is called whenever a client's IP is modified.