aboutsummaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Add a flag to Command that controls whether an empty last parameter is ↵Gravatar attilamolnar2012-12-152-2/+12
| | | | allowed or not
* Remove ServerLimits::Finalise(), it's completely wrongGravatar attilamolnar2012-12-091-15/+0
| | | | Truncate <limits:identmax>+1 long idents in User::ChangeIdent()
* 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 ↵Gravatar attilamolnar2012-12-021-1/+1
| | | | | | already exists Previously this silently failed
* 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 functionGravatar attilamolnar2012-10-292-4/+5
| | | | Change signature to accept a file_cache reference so modules can use it easily
* Fix for #268.Gravatar Peter Powell2012-10-191-0/+5
| | | | | - Move color stripping code to helperfuncs. - Strip color codes before matching filters.
* Resolve two warnings clang complains aboutGravatar ChrisTX2012-10-141-1/+1
| | | | | No newline at end of file in consolecolors.h String plus int in snomasks
* Replace printf(_c) with iostreamGravatar ChrisTX2012-10-142-1/+101
|
* Windows: In-depth cleanup (see details)Gravatar ChrisTX2012-10-1214-50/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -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
* 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 ↵Gravatar attilamolnar2012-09-301-1/+1
| | | | a string
* Call OnUserSetIP() whenever the IP of a local user changes, set ↵Gravatar attilamolnar2012-09-131-0/+6
| | | | ident,host,dhost in LocalUser constructor
* New OnUserSetIP() hookGravatar attilamolnar2012-09-131-2/+8
|
* Fix bug #291 - fix rehashing bind tags not changing them between ↵Gravatar Adam2012-09-122-1/+16
| | | | servers/clients and ssl/nonssl
* Add a config option to enable/disable the welcome notice sent to clients ↵Gravatar attilamolnar2012-08-251-0/+4
| | | | | | after successful registration Fixes #284 reported by @hoggeh
* 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.hGravatar attilamolnar2012-07-061-0/+7
| | | | Fixes #102 reported by @kshade
* Added color codes to /rules, moved the parsing to ServerConfig and cleaned ↵Gravatar Justin Crawford2012-07-062-5/+5
| | | | the code up a bit
* Fix Doxygen syntax errors.Gravatar Peter Powell2012-07-0519-121/+138
|
* Revert "users: add SetClientIP function for irc::sockets::sockaddrs type."Gravatar Robin Burchell2012-07-011-5/+0
| | | | This reverts commit f0474272303ac9297f637ce956315518138bafff.
* Revert "users: introduce OnSetClientIP hook."Gravatar Robin Burchell2012-07-011-7/+1
| | | | This reverts commit 5fd31ec5a6ba6021763b36d8d17d4665900623ab.
* 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 ↵Gravatar attilamolnar2012-06-174-10/+34
| | | | TS lowered
* users: introduce OnSetClientIP hook.Gravatar William Pitcock2012-06-121-1/+7
| | | | This hook is called whenever a client's IP is modified.
* users: add SetClientIP function for irc::sockets::sockaddrs type.Gravatar William Pitcock2012-06-121-0/+5
| | | | | Code which touches client_sa should instead use this SetClientIP function so that hooks may be called in the future.
* Add testsuite tests for UID generationGravatar attilamolnar2012-05-272-0/+6
|
* Fix compile error caused by unistd.h not existing on Windows.Gravatar Peter Powell2012-05-231-0/+2
|
* Merge pull request #96 from Justasic/insp20Gravatar Robin Burchell2012-05-031-0/+4
|\ | | | | [2.0] Process escape sequences for MOTD for issue #23
| * Fixed using a function on every call for /motd, causing lag on large ↵Gravatar Justin Crawford2012-04-221-0/+4
| | | | | | | | networks (requested by w00t)
* | Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-1955-424/+869
|/
* Add conf/ to include paths and fix some typosGravatar Robby-2012-04-191-1/+1
|
* FileWriter hasn't been non-blocking for a very, very long time.Gravatar Robin Burchell2012-04-161-11/+1
|
* Fix compilation with GCC 4.7.Gravatar Guillaume Delacour2012-04-161-0/+1
| | | | | | | GCC 4.7 headers no longer implicitly include unistd.h in many places, see http://gcc.gnu.org/gcc-4.7/porting_to.html Fixes #65
* Merge pull request #55 from Justasic/insp20Gravatar Robin Burchell2012-04-1533-66/+66
|\ | | | | [2.0] Fixes for bug #12
| * Fix some of the include guard names (requested by SaberUK)Gravatar Justin Crawford2012-04-1410-20/+20
| |
| * Fixes for bug #12Gravatar Justin Crawford2012-04-1433-66/+66
| |
* | Backported Shawn's NoSnoticeStack code from insp21Gravatar Robby-2012-04-151-0/+4
|/
* Add <connect:maxconnwarn>Gravatar Rutger2012-04-011-0/+4
| | | | | | | Created the maxconnwarn variable in the connect block, so you can make connect blocks that only warns about max connections if you want to. This reduces noise from connecting clients that have low maxlocal and/or maxglobal. It is enabled by default.
* Fix recursion of QuitUser in SendQ quitsGravatar Jackmcbarn2011-05-232-0/+8
|
* Fixed Windows build on VS 2010Gravatar Adam2011-04-103-12/+15
|
* Fix bug #113Gravatar Jackmcbarn2010-12-231-1/+1
|
* Include a placement operator new for classes that hide operator newGravatar Daniel De Graaf2010-08-171-6/+9
|