7509 Commits

Author SHA1 Message Date
w00t
07e1c65d9e 9000 ;p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9000 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-22 16:42:39 +00:00
w00t
5c96498c1f Add a note about interfaces that may be useful
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8999 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-22 16:42:02 +00:00
w00t
29b51086b9 Nuke TIMESYNC from orbit \o/
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8998 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-22 16:40:02 +00:00
brain
6dd148749f someone forgot to add all the new m_spanningtree files to the project too :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8997 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-22 15:46:14 +00:00
brain
ed1902f23c Add mutex wrappers
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8996 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-22 15:33:41 +00:00
brain
5942eeb7ed Add mutex wrappers
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8995 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-22 15:33:32 +00:00
brain
cc185ac484 Who left out socketengine_select from the vc80 project in trunk? goes to show how often we build it :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8994 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-22 15:27:09 +00:00
brain
3b25592002 Now compiles with win32thread and testsuite
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8993 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-22 15:26:01 +00:00
brain
08277954dc Closer to compilation
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8992 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-22 15:15:33 +00:00
brain
a0369fc40d Configure macros not needed here
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8991 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-22 15:11:43 +00:00
brain
a6f16dd4d0 Win32ThreadEngine makes sense now. No gaurantees it compiles yet.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8990 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-22 15:08:41 +00:00
brain
c708c0b6cf Add extra stuff to compile threadengine_win32.cpp
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8989 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-22 14:49:58 +00:00
brain
9bc734b739 These are just copies of the pthread engine right now, will probably make them work tomorrow night
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8988 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-21 21:41:20 +00:00
brain
18b1f95c40 Change of configure message to plainer english as requested by voidzero
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8986 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-21 20:34:25 +00:00
brain
9bc7a6139d ThreadEngine::GetName(), for display in /version
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8985 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-21 17:59:26 +00:00
brain
62f015300f Make the output for the test run a bit neater
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8984 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-21 17:32:00 +00:00
brain
4d4882d667 Working thread test!!!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8983 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-21 17:27:55 +00:00
brain
4e5244a4d8 Now buildble.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8982 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-21 17:11:31 +00:00
brain
e05da189da More fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8981 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-21 17:09:31 +00:00
brain
21193e2e62 Threadengine stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8980 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-21 17:06:20 +00:00
brain
14b1960421 Testsuite now does something
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8979 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-21 16:32:38 +00:00
brain
6c7bacd6c2 Even more
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8978 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-21 16:16:10 +00:00
brain
7ed5b42b1f Testsuite stuff and fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8977 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-21 16:10:32 +00:00
brain
54b2b600de More test suite stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8976 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-21 15:59:57 +00:00
brain
c3b8b80a33 Testsuite stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8975 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-21 15:49:32 +00:00
brain
08c199a4fe The issue from stable does not exist here, because we initialize userrec::quietquit to false in QuitUser (we didnt in stable) however it makes sense to also init this in the ctor
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8974 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-21 14:56:30 +00:00
brain
dd36852a52 Wheee, mass commit! this adds const stafety, throwing a compile error if anyone does: "parameters[n] = blahvar;" in a command handler etc. where they REALLY SHOULD NOT fuck with the value and should
copy the pointer.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8971 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-20 19:07:07 +00:00
brain
5509c602cb Seems trivial now, looking at it. Still to test then will commit to trunk.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8969 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-20 18:08:08 +00:00
brain
2574b4118d A module looks left out?
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8968 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-18 18:26:26 +00:00
brain
d610a29e31 Change defaults to ones that match our stable build
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8967 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-18 18:12:12 +00:00
w00t
e21ee18e62 Phew. Fix a bunch of method sigs to stop warnings.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8966 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-18 17:37:35 +00:00
brain
415a2576ef Fix this first, as this actually has use of the new parameter same as cmode_b.cpp does
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8965 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-18 17:03:45 +00:00
brain
32a26fa539 Someone please help me fix the warnings in modules caused by this change. All mode handler OnMode events, ModeWatcher::BeforeMode/AfterMode, plus OnRawMode now have a bool servermode parameter
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8964 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-18 16:55:27 +00:00
brain
3ca314bffc Merge in patch by Darom that fixes race condition when unloading m_mysql.so that may cause it to crash, fixes bug #438
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8963 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-18 15:25:54 +00:00
brain
baa907dc70 This is all just odd. what can we expect?
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8960 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-17 22:56:29 +00:00
aquanight
e3df3b9d26 Implement logtype exclusion (ie: '* -USERINPUT -USEROUTPUT' to mean everything except USER{INPUT,OUTPUT}), also pretty up and expand on the documentation in LogManager
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8959 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-17 19:09:03 +00:00
w00t
36bccc5700 Add some docs
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8958 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-17 14:37:34 +00:00
aquanight
4507fa2302 Make log targets in config space-seperated (ie: 'USERINPUT USEROUTPUT') like the rest of the config, instead of comma-seperated
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8957 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-17 14:16:02 +00:00
brain
a95e3a9e0b w00t pointed out it needs doing here too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8952 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-17 00:27:34 +00:00
brain
8dcc694bb1 I gots a better fix :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8951 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-17 00:26:15 +00:00
brain
f55e56f44a Add empty testcase.h
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8950 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-17 00:08:05 +00:00
brain
3301091db6 Seperate USERIO into USERINPUT and USEROUTPUT
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8949 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-17 00:05:02 +00:00
w00t
531e67935e Backport SendXLines() fix on netburst (don't buffer loads of lines at once), and fix: don't propegate K:Lines on netburst
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8948 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-16 21:36:35 +00:00
w00t
177f5c59c4 Patch by dz avoiding <badchan:redirect> loops, and tidying up on-rehash checks.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8947 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-16 13:29:56 +00:00
aquanight
01f9e889ca Merge warning about InspIRCd::Log()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8945 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-15 21:00:33 +00:00
aquanight
11f1f2126c Make -nofork work properly with logging now.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8944 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-15 13:30:46 +00:00
brain
7bd02d8a5d Change string for Om <3
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8943 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-14 19:33:14 +00:00
brain
60aefe2290 Make AC_OTHERMODE OnAccessCheck call work again.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8942 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-14 19:32:48 +00:00
brain
e088bb55fc If the mode defined by the handler is not '\0', but the handler for it
cannot be found, they probably dont have the right module loaded to implement
the prefix they want to compare the mode against, e.g. '&' for m_chanprotect.
Revert to checking against the minimum core prefix, '%'.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8941 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-14 19:12:44 +00:00
brain
a7c5427c73 Reword the failure message to read a little better
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8940 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-14 19:08:16 +00:00