aboutsummaryrefslogtreecommitdiff
path: root/src/server.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* | 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
* Fix GetUID generating 10-character UUIDs•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11932 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-201-1/+1
* Clean up crash on destruction of statics at exit•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11877 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-161-0/+1
* Get rid of a bunch of memory-wasting C-style strings•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11796 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-031-35/+3
* Remove InspIRCd* parameters and fields•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-261-7/+7
* Move configuration filename specification to start script, to reduce hardcode...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11759 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-241-1/+1
* Bump a number of version numbers.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11676 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-09-051-2/+2
* More deallocation-at-exit cleanup•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11621 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-0/+1
* Move VERSION/REVISION to their own header to avoid needless rebuilds on update•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11561 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-011-0/+1
* Don't subtract one from MAXCHANNELS, it's a number, not a string length.•••Reported by Sm0ke0ut. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11541 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-08-281-1/+1
* Report the correct sizes as set in the config•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11499 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2009-08-061-3/+3
* Make rehash generate a new ServerInstance->Config object•••This makes it possible to cancel a pending rehash, and fixes possible threading issues with rehash and other events. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11424 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-07-011-3/+1
* OnRehash changes: split to multiple hooks to clarify use and prevent explosio...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11388 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-05-241-1/+0
* Convert snomask 'A' into snomask 'a' for local announcements, add snomask 'A'...•••Make SAMODE send a snotice to 'a' and remote to 'A' - fixes bug #822, reported by Taros We really need a wrapper to use these, but, for now it's usable. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11304 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-04-161-1/+1
* ConfigReaderThread updates: add done flag, remove main-thread-only mutex•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11256 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-03-231-2/+0
* ThreadEngine: remove MutexFactory, mutexes should be constructed using their ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11250 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-03-231-2/+2
* ThreadEngine: remove excessive mutex use on thread creation•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11249 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-03-231-1/+1
* Update all wiki links to point to the new wiki. This was done automatically w...•••for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org#' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/#' -i $file ; done git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11223 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar psychon2009-03-151-1/+1