w00t
|
25c8c8ba02
|
More -Wshadow fixes.. not really finished yet
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8893 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-02-11 09:45:44 +00:00 |
|
w00t
|
5db1d322be
|
Add -Wshadow to cflags, and fix a bunch of warnings that come with it. Add a 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-11 09:41:58 +00:00 |
|
aquanight
|
0626e6a68a
|
Tidy up run-cc error reporting (eg: only say 'An error occured' once, and 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-11 01:39:09 +00:00 |
|
brain
|
a300841244
|
Fix here too, to allow FD_SETSIZE > 64. If this doesnt work it will need to 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-10 23:30:31 +00:00 |
|
aquanight
|
f51d9ad5ab
|
Fix m_chanlog crashing.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8887 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-02-10 22:51:01 +00:00 |
|
brain
|
7baae92cc9
|
Brainfart
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8886 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-02-10 21:57:42 +00:00 |
|
aquanight
|
4965a1d669
|
Code for loading <log method=file> tags from config, but this still needs to 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-10 20:07:30 +00:00 |
|
brain
|
ef9ab2301d
|
Fix case sensitivity
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8884 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-02-10 19:10:35 +00:00 |
|
brain
|
2cc6856e87
|
Add comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8883 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-02-10 18:37:06 +00:00 |
|
brain
|
eafd5233ec
|
Hide ar and ranlib
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8882 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-02-10 18:24:43 +00:00 |
|
w00t
|
5d09cbf634
|
Add <badchan:redirect>: redirects users attempting to join a bad channel to 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-10 18:23:03 +00:00 |
|
brain
|
8e7fceba88
|
More to quiet down. This will be a really tidy looking build for most users now
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8880 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-02-10 17:27:55 +00:00 |
|
brain
|
bfc3de1cc4
|
Even tidier
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8879 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-02-10 17:25:58 +00:00 |
|
brain
|
df167bf4ac
|
Now very tidy make output, with pretty colours :p
(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-10 17:22:36 +00:00 |
|
w00t
|
a86b10b883
|
Really allow for removal of SWHOIS via specifying blank SWHOIS (thanks for pointing out the mistake, danieldg)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8877 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-02-10 15:02:02 +00:00 |
|
brain
|
11c08b9aed
|
Each Thread class must have its own thread handle, duh. Someone take away my craqpipe NOW.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8876 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-02-10 14:50:38 +00:00 |
|
brain
|
eedce11c96
|
Add -pthread link flag
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8875 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-02-10 14:33:30 +00:00 |
|
brain
|
9dbd7d10ac
|
Add threading engine stuff. Docs to follow, untested and not used anywhere yet
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8874 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-02-10 14:32:02 +00:00 |
|
w00t
|
59643d2938
|
Correctly rewrite bans in 1.2 also, and make zline on nicks actually work.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8873 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-02-10 14:28:01 +00:00 |
|
aquanight
|
f63580a4ea
|
Per-logstream loglevels.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8871 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-02-10 14:20:58 +00:00 |
|
brain
|
b1312399e4
|
Add dirs (empty right now) for thread engines. For the start, there will be two. pthread and win32thread
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8870 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-02-10 13:40:13 +00:00 |
|
brain
|
8a3c523307
|
w00t br0ked it! :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8869 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-02-10 13:33:05 +00:00 |
|
brain
|
75d5b90c9c
|
Move run-cc.pl to make/ directory and update paths, keeps root tidy
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8868 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-02-10 13:30:59 +00:00 |
|
w00t
|
3b43fd186b
|
Make K|G|Z|ELine actually work with a nickname target (code was there but not functional)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8866 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-02-10 00:53:05 +00:00 |
|
w00t
|
1df2121274
|
Fix a bug in new logging API (global logstreams weren't notified of events 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-09 21:00:07 +00:00 |
|
brain
|
67976608ff
|
Warnings yellow, errors red. This will help us pick errors out from warnings in the output
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8864 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-02-09 20:44:25 +00:00 |
|
w00t
|
bfff1d9d93
|
Implement LogManager::CloseLogs() to give logstreams a chance to clean up on rehash or exit.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8863 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-02-09 20:15:09 +00:00 |
|
w00t
|
1af394d68b
|
Implement bug #492: empty swhois string unsets swhois.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8862 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-02-09 19:51:52 +00:00 |
|
w00t
|
a969da5dec
|
Add destructor for FileLogStream that destroys nonblocking FileLogger
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8861 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-02-09 13:18:41 +00:00 |
|
w00t
|
2bd34b7037
|
Add a printf-type override for LogManager::Log(). We need to find a way to 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-09 13:06:02 +00:00 |
|
w00t
|
c61fb7544d
|
Use new logging in bancache
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8859 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-02-09 12:44:23 +00:00 |
|
w00t
|
af7e1a1ca8
|
New logging implementation. Also write messages about InspIRCd::Log() being 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-09 12:41:17 +00:00 |
|
w00t
|
db1c78986c
|
Instantiate log manager
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8857 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-02-09 11:43:25 +00:00 |
|
w00t
|
3897856fb7
|
Initial totally untested logger implementation that does nothing.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8856 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-02-09 11:35:27 +00:00 |
|
aquanight
|
6650ab5cb5
|
Add a perl script which will abort compiles for warning messages that don't 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-09 01:55:31 +00:00 |
|
aquanight
|
18154f4d22
|
Support for /invite <user> <channel> <timeout> - if the user doesn't partake in <timeout> time, the invite expires
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8854 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-02-08 23:35:39 +00:00 |
|
w00t
|
31b785cb03
|
Fix low-risk potential memory leak: if a webirc client with valid cgiirc 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-08 22:45:12 +00:00 |
|
brain
|
9210fdcc7a
|
Slight speed improvement in WHOing invisible users, insignificant
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8851 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-02-08 19:48:05 +00:00 |
|
w00t
|
2d8e2d4e45
|
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8850 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-02-08 12:04:46 +00:00 |
|
brain
|
0ae3241087
|
ARGH SPACE INDENTS, DIE DIE DIE
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8849 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-02-07 15:16:19 +00:00 |
|
w00t
|
982d506afd
|
Sorta update this.. won't give a full file list as it's now kinda huge.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8848 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-02-07 09:13:56 +00:00 |
|
w00t
|
ae7d718468
|
Rework the suggested logger implementation to one that doesn't suck donkey 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-06 22:29:17 +00:00 |
|
w00t
|
1c0a64d142
|
Won't somebody please think of the children.. kqueue too ;(
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8846 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-02-06 19:27:26 +00:00 |
|
w00t
|
ece812709f
|
epoll did it too. >:(
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8845 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-02-06 19:26:42 +00:00 |
|
w00t
|
97746c44b6
|
Pro tip #2: making a fatal error 'SPARSE' logging only is a bit silly.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8844 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-02-06 19:20:27 +00:00 |
|
w00t
|
5ece0bc068
|
Pro tip: printf() doesn't add newlines for you
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8843 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-02-06 19:19:12 +00:00 |
|
w00t
|
a1eacefd62
|
Fix warnings (thanks owine)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8842 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-02-06 16:18:39 +00:00 |
|
w00t
|
da6d1d696a
|
Add <auditorium:operoverride> setting, based on patch contributed by Sm0ke0ut
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8841 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-02-06 15:13:47 +00:00 |
|
brain
|
f40f176ed8
|
More tweaks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8839 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-02-05 23:52:51 +00:00 |
|
brain
|
4516e75176
|
This makes more sense
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8837 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-02-05 23:34:57 +00:00 |
|