562 Commits

Author SHA1 Message Date
brain
a72cf670ac move headers into other filters
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8098 e03df62e-2008-0410-955e-edbf42e46eb7
2007-09-29 20:52:19 +00:00
brain
12d8a40b36 remove cmd_summon and cmd_users from solution
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8097 e03df62e-2008-0410-955e-edbf42e46eb7
2007-09-29 20:44:28 +00:00
brain
1726096dd0 add extra modules folder and exclude from build
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8064 e03df62e-2008-0410-955e-edbf42e46eb7
2007-09-23 19:10:06 +00:00
brain
09c4a3d76f Add command handlers (excluded from build) too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8062 e03df62e-2008-0410-955e-edbf42e46eb7
2007-09-23 18:37:55 +00:00
brain
a18f1fede4 Add modules to the project and exclude from build (its often a pain to track these down and open them in the ide)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8060 e03df62e-2008-0410-955e-edbf42e46eb7
2007-09-23 18:34:47 +00:00
brain
697e134bf8 Directory creation fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8059 e03df62e-2008-0410-955e-edbf42e46eb7
2007-09-23 18:19:26 +00:00
brain
22431bd688 More compile fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8058 e03df62e-2008-0410-955e-edbf42e46eb7
2007-09-23 18:15:38 +00:00
brain
5a3a7c969c More compile fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8057 e03df62e-2008-0410-955e-edbf42e46eb7
2007-09-23 18:05:15 +00:00
brain
e6f2ead862 Add dbghelp.lib
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8056 e03df62e-2008-0410-955e-edbf42e46eb7
2007-09-23 17:45:17 +00:00
brain
66bc6ec120 Fix configure to make release directories during build
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8055 e03df62e-2008-0410-955e-edbf42e46eb7
2007-09-23 17:40:43 +00:00
brain
fbd5ea4fd6 Fix library paths for compilation on my laptop
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8054 e03df62e-2008-0410-955e-edbf42e46eb7
2007-09-23 17:39:30 +00:00
burlex
e51c8a5cf6 * Fixed some incorrect declarations in IOCPEngine
* Fixed the virtual socket wrapper functions in IOCPEngine {these should really be inlined on unix}
* Fixed several compilation issues under Win32
* Fixed calls to close() which should've been changed to SE->Close()
+ Added a crashdump saving system to Win32 builds. Dumps are saved in the format of dump-<exename>-<year>-<month>-<day>-<hour>-<minute>-<second>.dmp in the working directory. Enabled by default, undefine ENABLE_CRASHDUMPS to disable.
+ Added m_operflood, this is a module I've had lying around for some time but some users may like it as it allows unreal-like behaviour without increasing flood limits for non-opers.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8015 e03df62e-2008-0410-955e-edbf42e46eb7
2007-09-04 12:36:05 +00:00
brain
4a91fd0ddf Move the close() wrapper out of the win32wrapper.h, and into its new proper place at SocketEngine::Close()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7812 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-23 22:30:46 +00:00
brain
d0d36795e8 Craquity craq De-craq!
This is probably broken on windows, do not attempt to use there yet unless you like broken stuff. Cant say for sure as i havent even tried to build yet and most likely wont tonight.
--- Abstract most of the berkely socket API out into SocketEngine derived classes. SocketEngine base class implements standard berkely sockets that 'real mens systems' like linux
and freebsd have. For socketengine_iocp we implement the windows specific nonesense like the special things needed for udp and accept (ick).
All this to eliminate a bunch of ifdefs.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7810 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-23 22:06:04 +00:00
burlex
8cebdce093 * include/caller.h will now compile correctly on Windows platforms.
+ Implemented gettimeofday in win32 wrapper, link rtt's will now display in milliseconds.
* SocketEngine::BoundsCheckFd will now handle Windows event handler cases correctly. (fixing writing to sockets not working)
* Fixed VC71 project.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7723 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-15 20:41:30 +00:00
brain
62b2c3670f This should be set as a 1.2 not 1.1 installer
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7614 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-29 13:21:56 +00:00
brain
afcf8ad536 make sure that the pointers are set up correctly for win32
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7600 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-27 19:50:42 +00:00
brain
a33663c086 SIGHUP needs to be #define'd on windows. This is an i-hate-windows day today.
Also, define WIN32_LEAN_AND_MEAN as we should be able to get away with using it now we dont have the shell functions


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7595 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-27 17:52:17 +00:00
brain
357cd5f660 add filelogger.* and server.* to the project file so theyre compiled
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7594 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-27 17:46:50 +00:00
brain
dffae50cae And more to fix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7593 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-27 17:40:37 +00:00
brain
f40811fd6e Fix compile errors in windows
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7592 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-27 17:39:51 +00:00
brain
f3624af468 Needs testbuilding in windows. I will probably do this in a minute.
More clever tricks to eliminate ifdefs. With a bit of function pointer and functor magic we may be able to eliminate all ifdefs


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7590 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-27 17:02:24 +00:00
brain
27d4ea0d97 Move a bunch of stuff around for tidyness, win32 functions keep creeping into #ifdef'ed chunks in non-win32 files
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7588 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-27 16:45:03 +00:00
peavey
0bb707c10c Un-static InspIRCd::Exit and use SignalHandler instead.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7572 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-25 20:23:18 +00:00
burlex
480e1e9e1f * Sockets will now always be nonblocking on win32 version of InspIRCd. There were some cases (mainly in TreeSockets) where a socket would not get restored to nonblocking mode after a connect() call, resulting in the server getting stuck on a blocking send() call causing freezeups.
* configure will now compile under VC7 again. 

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7500 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-23 00:37:03 +00:00
frostycoolslug
3e5634346e Fixed windows configure in release mode in a directory with spaces.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7499 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-22 23:17:51 +00:00
peavey
f2acdbc382 OOPS! We try again, since I'm smoking craq. LF is 0x0a NOT CR.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7456 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16 17:30:04 +00:00
peavey
387f54199e Set EOL to WINDOWS-style always for Visual Studio files.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7455 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16 17:24:00 +00:00
peavey
bab14f0dd2 'svn propset -R svn:eol-style CR *' Set to UNIX-style always. Binaries are auto skipped by svn.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7454 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16 17:14:45 +00:00
peavey
3abff3a375 Add flags to /STATS s output, and nuke some ^M
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7453 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16 16:09:56 +00:00
peavey
f60aa68ee9 Ok windows.. YOU WIN :< .. but at least I can use MAXBUF now and configure will have to endure the fixed 500 limit :>
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7452 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16 15:39:31 +00:00
peavey
c2b9f9201d Oops, the (*p) check was meant for the inner loop, I blame the vs editor :>
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7450 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16 13:39:15 +00:00
peavey
22f03b43c5 Begone evil DOS format :<
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7449 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16 13:35:59 +00:00
peavey
68e7d996ea And add colour.h to wrapper resource instead of the source.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7448 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16 13:29:12 +00:00
peavey
f1c1633eb9 Use wrapper include instead of colour.h.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7447 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16 13:27:14 +00:00
peavey
01d29c38ca Tide this up and fix possible buffer overflow. Cannot use MAXBUF since inspircd_config.h may not be generated yet.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7446 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16 13:25:03 +00:00
peavey
ff5db0ed1e Use colours.h in win_wrapper and also add __COLOURS_H define.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7444 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16 11:53:15 +00:00
peavey
6a48a6cc9b Remove printf_c from wrapper, this code also segfaulted when it was used.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7443 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16 11:49:18 +00:00
peavey
2b38cad977 Use vsnprintf instead of vsprintf.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7442 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16 11:47:47 +00:00
burlex
7d4edd5ac3 - Made the recvfrom wrapper a bit neater.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7314 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-14 22:00:17 +00:00
brain
2315300210 Add sections to installer for pcre, segregate the m_filter_pcre for the installer
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7310 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-14 19:38:10 +00:00
burlex
3298c5517b - Fix for a bug in the win32 inet_ptoa implementation causing CIDR parsing to incorrectly return false in some instances.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7307 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-14 18:34:23 +00:00
brain
cdd45a8c70 Have the installer install cert.pem and key.pem to the conf/ dir only if they dont exist already (if they already exist, the user has generated, purchased or otherwise obtained their own)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7300 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-13 21:59:18 +00:00
brain
73b16c493f Add default windows certs. People shouldnt use these for more than evaluation purposes of the ssl module to ensure that it works, before spending time OR money on buying or obtaining a real certificate
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7299 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-13 21:57:21 +00:00
brain
57f5ae52a2 And get it right.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7297 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-13 21:28:29 +00:00
brain
0b7bfb59a6 Update descriptions
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7296 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-13 21:27:51 +00:00
brain
b319e2ad7d Being as people while about the odd kludge here and there im going to spend my time on fruitless stuff :P
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7295 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-13 21:21:43 +00:00
brain
77c1607bfc Nasty kludge to allow for optional install of ssl:
If the user doesnt have the ssl box ticked, the ssl modules are installed but immediately deleted by the installer, and the gnutls dlls are not installed.
If the user does have the box ticked (default) the ssl section immediately puts the ssl modules back again, and then installs the gnutls libs (ick)


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7294 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-13 21:08:56 +00:00
burlex
577e48e540 * Fixed IOCPEngine under x64 (because of incorrect pointer sizes)
- Fixed configure / VC8 projects for x64 compiling.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7293 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-13 20:58:51 +00:00
burlex
5dc1bcc034 - Fixed configure script to allow gnutls compilation under win32.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7290 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-13 20:15:15 +00:00