aboutsummaryrefslogtreecommitdiff
path: root/src/server.cpp
Commit message (Expand)AuthorAgeFilesLines
* Implement support for draft-brocklesby-irc-isupport-03 escapes.Gravatar Peter Powell2017-11-091-4/+22
* Remove INSPIRCD_SOCKETENGINE_NAME and INSPIRCD_SYSTEM.•••- INSPIRCD_SOCKETENGINE_NAME is not really something that needs to be user facing. If opers want to know this kind of internal info then they can look at the build configuration. - INSPIRCD_SYSTEM causes problems for reproducible builds and is only accurate for the state of the system when InspIRCd is built which is not useful in the slightest. Gravatar Peter Powell2017-10-151-2/+2
* Implement support for configurable casemapping & default to ASCII.Gravatar Peter Powell2017-09-081-1/+1
* Replace the deprecated MAXBANS token with MAXLIST.Gravatar Peter Powell2017-07-241-1/+0
* Improve the default ISUPPORT tokens.•••- Replace the deprecated MAXCHANNELS token with CHANLIMIT. - Remove the deprecated FNC token (other implementations can force a nick change without sending this token so informing clients of that we might force a nick change is pointless) Gravatar Peter Powell2016-09-141-3/+2
* Update stuff for the new versioning system.Gravatar Peter Powell2016-09-021-1/+1
* Convert WriteNumeric() calls to pass the parameters of the numeric as method ...Gravatar Attila Molnar2016-02-251-10/+9
* Move InspIRCd::SendError() to cmd_die•••Fix multiple ERROR messages being sent to unregistered users by removing the "Exiting with status..." message Gravatar Attila Molnar2015-05-171-1/+0
* Merge insp20Gravatar Attila Molnar2014-10-271-7/+4
|\
| * Fix various warnings when building with LLVM 3.5.•••- warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] - warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] Gravatar Peter Powell2014-10-131-7/+4
* | Fix incorrect cleanup order in InspIRCd::Exit()•••classbase objects such as callers call LogManager::Log() on destruction unless ServerInstance is NULL Gravatar Attila Molnar2014-09-151-1/+1
* | Minor ISupportManager changes•••- Make GetLines() a const method - Rename Lines to cachedlines - Get rid of a variable in Build() Gravatar Attila Molnar2014-07-141-4/+3
* | Change all occurrences of plain sort() to std::sort()Gravatar Attila Molnar2014-06-221-1/+1
* | Change allocation of InspIRCd::Threads to be physically part of the object co...Gravatar Attila Molnar2014-06-131-1/+1
* | Prefix all definitions in config.h to avoid potential collisions.Gravatar Peter Powell2014-05-231-2/+2
* | Remove WALLCHOPS and WALLVOICES ISUPPORT tokens•••These tokens have been deprecated in favour of STATUSMSG for a long time Gravatar Attila Molnar2014-04-141-2/+1
* | Change the parameter type of ModeHandler::GiveModeList() from ModeMasks to Mo...Gravatar Attila Molnar2014-02-181-1/+1
* | Replace SocketEngine::GetName() with INSPIRCD_SOCKETENGINE_NAME defineGravatar Attila Molnar2014-02-081-1/+1
* | Remove some pointless code:•••- Remove the CHARSET entry from ISUPPORT. CHARSET was removed in draft-brocklesby-irc-isupport-03 and we always used the default value anyway. This has also been removed in the latest version of Charybdis. - Remove irc::sockets::satouser. This helper method was longer than the code it replaced. Gravatar Peter Powell2013-12-151-1/+0
* | Use WriteNumeric() everywhere we send numerics and include the user's nick au...Gravatar Adam2013-11-121-1/+1
* | Remove InspIRCd::HandleRehash functor•••Call InspIRCd::Rehash() from cmd_rehash and from the SIGHUP handler Gravatar attilamolnar2013-09-081-5/+4
* | Remove cmd_map from the coreGravatar attilamolnar2013-08-191-1/+1
* | Change the syntax of FOREACH macros to be less dumb.Gravatar Adam2013-08-041-2/+2
* | Remove unused exit codesGravatar attilamolnar2013-06-181-1/+1
* | ISupportManager: Tidy-up, expand commentsGravatar attilamolnar2013-06-021-11/+22
* | Remove #define MAXPARAMETERS and "MAXPARA" 005 tokenGravatar attilamolnar2013-06-011-1/+0
* | Move LogHeader to LogStream.Gravatar Peter Powell2013-05-191-5/+0
* | Fix padding bug in GenerateSID(), spotted by @ShutterQuickGravatar attilamolnar2013-05-161-0/+1
* | Replace some C-isms with C++-isms.•••* 'const char*' to 'const std::string&'. * snprintf to std::string concatenation. * Replace duplicated OneOfMatches with InspIRCd::MatchMask. Gravatar Peter Powell2013-05-151-10/+4
* | Use std::string internally in UIDGenerator, move UUID_LENGTH into the class a...Gravatar attilamolnar2013-04-141-7/+2
* | Simplify UID generation logic•••This loop is not required because we already set current_uid[pos] to 'A' before recursing if current_uid[pos] is 9 Gravatar attilamolnar2013-04-141-23/+18
* | Extract UID/SID generation logic into a new class: UIDGeneratorGravatar attilamolnar2013-04-141-29/+37
* | Convert ISUPPORT to use a map instead of a string.Gravatar Peter Powell2013-04-111-12/+62
* | Merge inspircd_{config,version}.h into a single header file.Gravatar Peter Powell2013-04-051-1/+0
* | Stop recreating hashmaps every hour, move garbage collection code related to ...Gravatar attilamolnar2013-04-041-1/+0
|/
* 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-3/+5
* Fix more undefined behavior caused by referencing the returned buffer by std:...•••See 83c7cc45daf6fb1f8c36f15297a4657e45a34e88 Gravatar attilamolnar2012-09-301-1/+4
* Don't hard code the branch version.Gravatar Peter Powell2012-07-271-1/+1
* Add CHANNELLEN to isupportGravatar Alyx2012-07-021-1/+1
* While at it, use a constant parameter for calling IncrementUID in GetUID•••Get rid of curindex, use a bool to determine if we need to initialize Gravatar attilamolnar2012-05-271-6/+5
* Fix generating invalid UIDs after current_uid is 000Z99999 (next UID became 0...Gravatar attilamolnar2012-05-271-11/+3
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+17
* Fix unused variables reported by the clang static analyzer.Gravatar Peter Powell2012-04-141-1/+0
* Values were -1, couldnt find an explanation for that. So applied•••submitted patch from bug 114 (thanks to DarkStorm) and removed additional -1's. Gravatar DjSlash2011-03-181-3/+3
* Add log header including ircd versionGravatar Daniel De Graaf2010-04-281-0/+4
* Remove SYSTEM and related sensitive information from the non-oper VERSION line•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12471 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-02-161-9/+3
* Show opers the raw VERSION string, not the custom one•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12470 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-02-151-2/+2
* ...because every now and again, i have to do a massive commit.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2010-01-111-1/+1
* Remove AllowHalfop item from server config•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11996 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-11-031-1/+1
* Clean up unused functions, add nonicks operoverride [dKingston]•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11951 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-221-18/+6