aboutsummaryrefslogtreecommitdiffstats
path: root/include
Commit message (Expand)AuthorAgeFilesLines
...
* | | Convert IsSID() to a static member function, modules shouldn't override itGravatar attilamolnar2013-04-011-3/+1
* | | Remove more deprecated code•••- ConfigReader - FloodQuitUserHandler - IsValidModuleCommand - CallCommandHandler - DoCleanup from u_listmode.h Gravatar attilamolnar2013-04-012-119/+0
* | | Merge pull request #454 from SaberUK/master+misc-improvements•••Purge dead code and deprecated types.Gravatar Attila Molnar2013-04-013-19/+1
|\ \ \
| * | | Purge references to the deprecated GetStackedLine method.Gravatar Peter Powell2013-04-011-9/+1
| * | | Purge the deprecated chanprotect module.Gravatar Peter Powell2013-04-011-5/+0
| * | | Remove some dead code:•••- Conditions in m_httpd_stats which can never be true. - Commented out code in m_sqloper. - Unused macro in inspircd.h. Gravatar Peter Powell2013-04-011-5/+0
| |/ /
* / / Add macro for marking methods as deprecated.Gravatar Peter Powell2013-04-011-0/+9
|/ /
* | Change channel name parameter of Module::OnUserPreJoin() and Channel::JoinUse...Gravatar attilamolnar2013-04-012-3/+3
* | Rewrote caller.h to be more C++11 ish, currently commented out pending whenev...Gravatar Adam2013-03-311-0/+76
* | New API versionGravatar attilamolnar2013-04-011-2/+2
* | Change User::GetIPString() to return const std::string&Gravatar attilamolnar2013-04-011-1/+1
* | Remove legacy code, mostly related to 1.2 compatibilityGravatar attilamolnar2013-04-011-5/+0
|/
* Add support for mandatory tags in included config files•••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 Gravatar attilamolnar2013-03-201-2/+2
* Remove dead code from DNSGravatar attilamolnar2013-03-111-5/+0
* Fix m_dnsbl not checking cgiirc users when the cgiirc address is elinedGravatar attilamolnar2013-03-112-5/+5
* Use the preprocessor to detect whether hash_map is available.Gravatar Peter Powell2013-01-281-4/+6
* Fix warning: "const type qualifier on return type has no effect".Gravatar Peter Powell2013-01-161-1/+1
* Include <list> in base.h to prevent build errors on OpenBSD.Gravatar Peter Powell2012-12-251-0/+1
* Add a flag to Command that controls whether an empty last parameter is allowe...Gravatar attilamolnar2012-12-152-2/+12
* Remove ServerLimits::Finalise(), it's completely wrong•••Truncate <limits:identmax>+1 long idents in User::ChangeIdent() Gravatar attilamolnar2012-12-091-15/+0
* Change a few signed counter variables to unsigned so they roll over laterGravatar attilamolnar2012-12-052-6/+6
* Throw an exception when attempting to register an extension with a name that ...•••Previously this silently failed Gravatar attilamolnar2012-12-021-1/+1
* Make LocalUserList an std::listGravatar attilamolnar2012-11-293-2/+6
* Add a typedef for LocalUserListGravatar attilamolnar2012-11-292-1/+5
* Fix typo in doc and remove some whitespaceGravatar attilamolnar2012-10-291-2/+2
* Move ServerConfig::ProcessColors() into class InspIRCd, as a helper function•••Change signature to accept a file_cache reference so modules can use it easily Gravatar attilamolnar2012-10-292-4/+5
* Fix for #268.•••- Move color stripping code to helperfuncs. - Strip color codes before matching filters. Gravatar Peter Powell2012-10-191-0/+5
* Resolve two warnings clang complains about•••No newline at end of file in consolecolors.h String plus int in snomasks Gravatar ChrisTX2012-10-141-1/+1
* Replace printf(_c) with iostreamGravatar ChrisTX2012-10-142-1/+101
* 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-1214-50/+40
* Move simple user and channel mode handlers into a single fileGravatar attilamolnar2012-10-089-241/+100
* Change User::SetClientIP() to be virtualGravatar attilamolnar2012-10-031-2/+2
* Make ConfigReader::GetSID() return a const reference to a string instead of a...Gravatar attilamolnar2012-09-301-1/+1
* Call OnUserSetIP() whenever the IP of a local user changes, set ident,host,dh...Gravatar attilamolnar2012-09-131-0/+6
* New OnUserSetIP() hookGravatar attilamolnar2012-09-131-2/+8
* Fix bug #291 - fix rehashing bind tags not changing them between servers/clie...Gravatar Adam2012-09-122-1/+16
* Add a config option to enable/disable the welcome notice sent to clients afte...•••Fixes #284 reported by @hoggeh Gravatar attilamolnar2012-08-251-0/+4
* Move STATS handler back to cmd_stats so it's hotpatchable againGravatar attilamolnar2012-07-131-4/+0
* Close files opened with popen() with pclose() instead of fclose()Gravatar attilamolnar2012-07-111-2/+8
* Don't manage memory manually for the commasepstream in irc::portparserGravatar attilamolnar2012-07-111-5/+1
* Use std::set instead of std::map in irc::portparserGravatar attilamolnar2012-07-111-1/+1
* #include <stdint.h>, add header guard to extensible.h•••Fixes #102 reported by @kshade Gravatar attilamolnar2012-07-061-0/+7
* Added color codes to /rules, moved the parsing to ServerConfig and cleaned th...Gravatar Justin Crawford2012-07-062-5/+5
* Fix Doxygen syntax errors.Gravatar Peter Powell2012-07-0519-121/+138
* Revert "users: add SetClientIP function for irc::sockets::sockaddrs type."•••This reverts commit f0474272303ac9297f637ce956315518138bafff. Gravatar Robin Burchell2012-07-011-5/+0
* Revert "users: introduce OnSetClientIP hook."•••This reverts commit 5fd31ec5a6ba6021763b36d8d17d4665900623ab. Gravatar Robin Burchell2012-07-011-7/+1
* Remove unused channelmanagerGravatar attilamolnar2012-06-301-37/+0
* InviteBase needs to be a CoreExport on Windows.Gravatar Peter Powell2012-06-281-1/+1
* Fix pending invites not being removed when a channel was deleted or had its T...Gravatar attilamolnar2012-06-174-10/+34
* users: introduce OnSetClientIP hook.•••This hook is called whenever a client's IP is modified. Gravatar William Pitcock2012-06-121-1/+7