summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-02-11Add -Wshadow to cflags, and fix a bunch of warnings that come with it. Add a ↵w00t
note to webirc that needs looking at. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8892 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-11Tidy up run-cc error reporting (eg: only say 'An error occured' once, and ↵aquanight
make it show before an include stack or 'In ctor/dtor/method/function' message) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8891 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-10Fix here too, to allow FD_SETSIZE > 64. If this doesnt work it will need to ↵brain
be set with /D on the commandline, but it looks like this is the best place to put it in an include (earliest possible place) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8890 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-10Fix m_chanlog crashing.aquanight
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8887 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-10Brainfartbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8886 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-10Code for loading <log method=file> tags from config, but this still needs to ↵aquanight
be fit into the config reader stuff git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8885 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-10Fix case sensitivitybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8884 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-10Add commentsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8883 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-10Hide ar and ranlibbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8882 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-10Add <badchan:redirect>: redirects users attempting to join a bad channel to ↵w00t
a second channel. Contributed by dz. (thanks) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8881 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-10More to quiet down. This will be a really tidy looking build for most users nowbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8880 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-10Even tidierbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8879 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-10Now very tidy make output, with pretty colours :pbrain
(Unless it errors, then you get the full commandline and error output etc) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8878 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-10Really allow for removal of SWHOIS via specifying blank SWHOIS (thanks for ↵w00t
pointing out the mistake, danieldg) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8877 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-10Each Thread class must have its own thread handle, duh. Someone take away my ↵brain
craqpipe NOW. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8876 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-10Add -pthread link flagbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8875 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-10Add threading engine stuff. Docs to follow, untested and not used anywhere yetbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8874 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-10Correctly rewrite bans in 1.2 also, and make zline on nicks actually work.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8873 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-10Per-logstream loglevels.aquanight
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8871 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-10Add dirs (empty right now) for thread engines. For the start, there will be ↵brain
two. pthread and win32thread git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8870 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-10w00t br0ked it! :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8869 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-10Move run-cc.pl to make/ directory and update paths, keeps root tidybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8868 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-10Make K|G|Z|ELine actually work with a nickname target (code was there but ↵w00t
not functional) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8866 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-09Fix a bug in new logging API (global logstreams weren't notified of events ↵w00t
if a specific logstream had an event claimed, don't store type in logstreams (pass it to OnLog instead), and add an example of what the new logging API can do: m_chanlog - logs to #services at the moment. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8865 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-09Warnings yellow, errors red. This will help us pick errors out from warnings ↵brain
in the output git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8864 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-09Implement LogManager::CloseLogs() to give logstreams a chance to clean up on ↵w00t
rehash or exit. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8863 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-09Implement bug #492: empty swhois string unsets swhois.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8862 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-09Add destructor for FileLogStream that destroys nonblocking FileLoggerw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8861 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-09Add a printf-type override for LogManager::Log(). We need to find a way to ↵w00t
see if a log call would have any interest, to avoid unnecessary printf() here though. Convert a bunch of stuff to using new logging (added targets: USERS, USERIO) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8860 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-09Use new logging in bancachew00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8859 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-09New logging implementation. Also write messages about InspIRCd::Log() being ↵w00t
deprecated. Any takers on changing it all to use the new system? :P. STILL TODO: create <log> blocks in config, add a method called to 'cleanup' (or use destructor) of logstreams, add a method to logmanager to initiate destruction of all logstreams. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8858 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-09Instantiate log managerw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8857 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-09Initial totally untested logger implementation that does nothing.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8856 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-09Add a perl script which will abort compiles for warning messages that don't ↵aquanight
have a switch to convert to errors (like the one about non-PODs through ...) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8855 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-08Support for /invite <user> <channel> <timeout> - if the user doesn't partake ↵aquanight
in <timeout> time, the invite expires git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8854 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-08Fix low-risk potential memory leak: if a webirc client with valid cgiirc ↵w00t
block connects, issues /webirc, and quits before fully connecting, memory will be leaked. OnUserQuit is only triggered for fully connected users, use OnUserDisconnect otherwise. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8852 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-08Slight speed improvement in WHOing invisible users, insignificantbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8851 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-08git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8850 ↵w00t
e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-07ARGH SPACE INDENTS, DIE DIE DIEbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8849 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-07Sorta update this.. won't give a full file list as it's now kinda huge.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8848 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-06Rework the suggested logger implementation to one that doesn't suck donkey ↵w00t
and flesh it out a little more. I actually think this is a workable idea now, and I might start on it sometime soon. :-) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8847 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-06Won't somebody please think of the children.. kqueue too ;(w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8846 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-06epoll did it too. >:(w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8845 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-06Pro tip #2: making a fatal error 'SPARSE' logging only is a bit silly.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8844 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-06Pro tip: printf() doesn't add newlines for youw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8843 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-06Fix warnings (thanks owine)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8842 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-06Add <auditorium:operoverride> setting, based on patch contributed by Sm0ke0utw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8841 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-05More tweaksbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8839 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-05This makes more sensebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8837 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-05Add server.cpp, handles all stuff related to the server command. ↵w00t
treesocket2.cpp is now ~700 lines :-) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8836 e03df62e-2008-0410-955e-edbf42e46eb7