7521 Commits

Author SHA1 Message Date
aquanight
feda1f5f9b Make run-cc.pl show all sources on multi-source BUILDS (== socketengine and threadengine)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9012 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-24 14:07:25 +00:00
brain
8df7899385 CoreExport is required for the factories
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9011 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-22 21:19:19 +00:00
brain
e71625d79c Comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9010 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-22 19:43:47 +00:00
brain
010812f2a7 Add the same thread safety checks to this, now ive got the project as a whole compiling.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9009 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-22 19:11:43 +00:00
brain
372dd12a80 Change object output filename for spanningtree's server.cpp and modules.cpp files so that STUPID msvc doesnt think theyre duplicates. should work.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9008 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-22 19:00:25 +00:00
brain
6b7bafc148 Thread safety stuff, waiting for pointer to become 'safe' before changing it (e.g. to launch another thread)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9007 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-22 18:42:21 +00:00
brain
1c2b47abad Debug removal
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9006 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-22 18:24:37 +00:00
brain
223e2c9a14 Forgot to initialize critical section. somehow, the new logging code exposed this error???
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9005 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-22 18:17:48 +00:00
brain
59c8e5d064 ffs
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9004 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-22 17:55:10 +00:00
brain
3af16c1489 Exception handling
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9003 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-22 17:50:19 +00:00
brain
a00ce3bc24 w00t broke it :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9002 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-22 17:45:27 +00:00
aquanight
da07481450 Convert remaining InspIRCd::Log() calls to new logging system
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9001 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-22 16:47:10 +00:00
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