summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
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.
2012-06-12users: add SetClientIP function for irc::sockets::sockaddrs type.William Pitcock
Code which touches client_sa should instead use this SetClientIP function so that hooks may be called in the future.
2012-05-27Add testsuite tests for UID generationattilamolnar
2012-05-23Fix compile error caused by unistd.h not existing on Windows.Peter Powell
2012-05-03Merge pull request #96 from Justasic/insp20Robin Burchell
[2.0] Process escape sequences for MOTD for issue #23
2012-04-22Fixed using a function on every call for /motd, causing lag on large ↵Justin Crawford
networks (requested by w00t)
2012-04-19Replace copyright headers with headers granting specific authors copyrightRobby-
2012-04-19Add conf/ to include paths and fix some typosRobby-
2012-04-16FileWriter hasn't been non-blocking for a very, very long time.Robin Burchell
2012-04-16Fix compilation with GCC 4.7.Guillaume Delacour
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
2012-04-15Merge pull request #55 from Justasic/insp20Robin Burchell
[2.0] Fixes for bug #12
2012-04-15Backported Shawn's NoSnoticeStack code from insp21Robby-
2012-04-14Fix some of the include guard names (requested by SaberUK)Justin Crawford
2012-04-14Fixes for bug #12Justin Crawford
2012-04-01Add <connect:maxconnwarn>Rutger
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.
2011-05-23Fix recursion of QuitUser in SendQ quitsJackmcbarn
2011-04-10Fixed Windows build on VS 2010Adam
2010-12-23Fix bug #113Jackmcbarn
2010-08-17Include a placement operator new for classes that hide operator newDaniel De Graaf
2010-04-28Add log header including ircd versionDaniel De Graaf
2010-04-26Define comparator for irc::sockets::sockaddrsDaniel De Graaf
This only compares IP/port, which ignores IPv6 flow information and scope ID, which aren't important in testing for equality.
2010-04-01Split up API_VERSION numberDaniel De Graaf
Since we can make API changes in multiple branches at the same time, a single sequence number is insufficient. Use two numbers to indicate the major version and API increment.
2010-03-22Change <security:operspywhois> to a tristatedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12653 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-22Remove channel argument from OnSendWhoLine, this information is already ↵danieldg
available in params[0] git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12650 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-22Allow static initialization of dynamic_reference objectsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12648 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-19Add RAWIO log level which is more verbose than DEBUGdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12646 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-18PURE_STATIC fixes to use normal <module> tagsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12641 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-14Add <options:cyclehostsfromuser> to configure source for mode changes on ↵danieldg
host cycle git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12636 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-13Convert MySQL to SQLv3danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12629 e03df62e-2008-0410-955e-edbf42e46eb7