7562 Commits

Author SHA1 Message Date
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
w00t
6fea8ffbc2 Add server.cpp, handles all stuff related to the server command. treesocket2.cpp is now ~700 lines :-)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8836 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-05 15:16:20 +00:00
w00t
488ea09da2 We have two perfectly good macros, use them
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8835 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-05 15:05:36 +00:00
w00t
ada79c95bd Add new developers to list at startup
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8834 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-05 13:47:48 +00:00
brain
630eecae13 dz, you cant delete a nonpointer!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8833 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-05 03:39:41 +00:00
fez
0862df5ab6 fixed std:: stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8832 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-05 03:02:40 +00:00
fez
9e75755772 fixed more std:: stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8831 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-05 03:02:05 +00:00
fez
d8fdb4c7b7 fixed std:: stuff - that should be all of it
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8830 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-05 02:46:31 +00:00
fez
a533e2fada fixed std:: stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8829 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-05 02:43:45 +00:00
fez
b9310040c8 fixed std:: stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8828 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-05 02:43:19 +00:00