summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-07-05Rename configuration variable to CXX to match everything else.Peter Powell
2013-07-05Correctly detect the compiler version and whether it is acceptable.Peter Powell
2013-07-05Automatically detect the compiler which the user has installed.Peter Powell
2013-07-05Purge --with-cc in favour of the CXX environment variable.Peter Powell
2013-07-04Merge pull request #577 from SaberUK/master+makefile-cleanupAttila Molnar
Tidy up the Makefile template.
2013-07-04Rename CXXFLAGS to CORECXXFLAGS to respect users enviroment.Peter Powell
2013-07-04Use CXX instead of CC.Peter Powell
CXX is the correct variable to use as CC is the C compiler.
2013-07-04Add IFNEQ Makefile template macro.Peter Powell
- Use template macro for ICC check. - Don't link against pthread on Darwin.
2013-07-04Remove 'make squeakyclean'.Peter Powell
This was a non-standard alias for make distclean.
2013-07-04Tidy up CXXFLAGS and LDFLAGS.Peter Powell
- Add -Iinclude at declaration instead of doing it later on. - Add -Wextra -Wfatal-errors and -Wno-unused-parameter. - Enable -Wall and -Wshadow on ICC. - Remove -DPIC (useless). - Remove empty declaration of LDFLAGS. - Remove unneeded CXXFLAGS on Darwin.
2013-07-04Remove support for Interix and SunOS from the Makefile.Peter Powell
- SunOS was replaced with Solaris in 1992(!). - We have a native Windows port so Interix is not needed.
2013-07-04Merge pull request #574 from SaberUK/master+build-comment-cleanupAttila Molnar
Clean up unneeded build system comments.
2013-07-04Merge pull request #580 from SaberUK/master+restrict-network-nameAttila Molnar
Fix users being able to set <server:network> to an invalid value.
2013-07-04Fix users being able to set <server:network> to an invalid value.Peter Powell
2013-07-04Fix some missing newlines in the config header generator.Peter Powell
2013-07-04Fix $ModDep failing to find application-wide include files.Peter Powell
2013-07-04Remove detection of deprecated backticks which was added in 1.1b9.Peter Powell
2013-07-04Remove $Core and $Mod* comments apart from $ModDep.Peter Powell
2013-07-02Merge pull request #571 from ShutterQuick/inspircd+checkcloneAttila Molnar
Allow for skipping clone checking before DNS is complete.
2013-07-02Allow for skipping clone checking before DNS is complete.Daniel Vassdal
2013-07-02Merge pull request #569 from ShutterQuick/inspircd+asrootfixAttila Molnar
Made the launch script aware of --runasroot
2013-07-01Replace hardcoded mode letters passed to IsModeSet() and GetModeParameter() ↵attilamolnar
with ModeHandlers, part 1
2013-07-01Fix a few oversightsattilamolnar
This partially reverts e0cb6bd46fb1d804ad6adea5688c844f7e1a0f6f
2013-06-28Made the launch script aware of --runasroot, so it does not drop privs if ↵Daniel Vassdal
this is specified.
2013-06-24m_repeat Optimize the Levenshtein() functionattilamolnar
New version uses 2 vectors instead of a matrix Do not shrink the vectors even if the user sets a lower <repeat:size> than before, this is because longer lines may remain in the backlog
2013-06-24Merge pull request #564 from SaberUK/master+doxygen-fixAttila Molnar
Fix Doxygen comments.
2013-06-21Fix Doxygen comments.Peter Powell
2013-06-18Remove limitsomaxconn and remains of m_halfop/allowhalfopattilamolnar
2013-06-18Use exit code EXIT_STATUS_SERVICE on Windows when exiting because of a ↵attilamolnar
service error
2013-06-18Remove dead code from the InspIRCd and CommandParser classes and typedefs.hattilamolnar
Removed functions: InspIRCd: - Restart() - unused - DoSocketTimeouts() - no implementation exists - AddCommand() - useless wrapper around ModuleManager::AddService() CommandParser: - IsValidCommand() - unused - ProcessParameters() - no implementation exists
2013-06-18Minor changes to the startup and shutdown codeattilamolnar
- Update comments - Close logs in LogManager destructor instead of relying on other code to do it - Change return type of InspIRCd::Run() to void - private: InspIRCd::CheckRoot() - Change log message type of setgroups() etc. errors to "STARTUP" - Load cmd_privmsg in PURE_STATIC builds
2013-06-18Remove unused exit codesattilamolnar
2013-06-16Always set the topic in Channel::SetTopic(), move access checks into cmd_topicattilamolnar
2013-06-16Add RE2 regex module.Peter Powell
2013-06-16m_banredirect Accept channel names starting with #! and #@Daniel Vassdal
Fixes #504 reported by @mechasr
2013-06-13Call Channel::SetModeParam() from the mode parser when needed instead of ↵attilamolnar
requiring mode handlers to do it
2013-06-13Remove TR_END, remove TRANSLATEx() from commands that do not need itattilamolnar
2013-06-13Rewrite CommandParser::TranslateUIDs()attilamolnar
2013-06-13Replace void* dest and target_type parameters of OnMode with a User* and a ↵attilamolnar
Channel*
2013-06-13Introduce ModeProcessFlags, can be passed to ModeParser::Process() to ↵attilamolnar
indicate local only mode changes and mode merges Change ProtocolInterface::SendMode() to take source and destination parameters, and call it from the mode parser whenever the mode change is global This deprecates the ambiguous InspIRCd::SendMode() and InspIRCd::SendGlobalMode() interface (the latter sent mode changes originating from local users twice, etc.)
2013-06-12m_spanningtree Move SVSMODE -> MODE translation into the appropiate place, ↵attilamolnar
ignore non-channel METADATA
2013-06-12m_spanningtree Rewrite incoming (E|G|K|Q|Z)LINE commands from 2.0 servers ↵attilamolnar
into ADDLINE/DELLINE These commands were never documented to be usable in the server protocol but we accepted them nevertheless from servers
2013-06-12Get rid of the OnRemoteKill hook, make use of GetRouting() and TR_CUSTOM to ↵attilamolnar
route KILLs
2013-06-12Implement GetRouting() in core commands that require it, remove ugly ↵attilamolnar
workaround from spanningtree RouteCommand()
2013-06-12m_callerid Route ACCEPT to the server of the target user only, do not send ↵attilamolnar
METADATA at all ACCEPTs coming from 2.0 servers with a list of uuids are broadcast, as before
2013-06-12Run the OnPostCommand hook from LoopCall()attilamolnar
2013-06-12CommandParser::LoopCall() changesattilamolnar
- Change function to be static, return a bool - Do not filter duplicates when there are 2 lists (JOIN) - Remove validation of 'extra' parameter, caller must pass either a valid index or -1
2013-06-12Change command name parameter of OnPostCommand to be a Command*attilamolnar
2013-06-12Simplify stringjoiner: take 1 parameter, join from begin() to end() and use ↵attilamolnar
space as the sep char
2013-06-12m_banredirect Fix modestack usageattilamolnar