summaryrefslogtreecommitdiff
path: root/win
AgeCommit message (Collapse)Author
2007-08-23Move the close() wrapper out of the win32wrapper.h, and into its new proper ↵brain
place at SocketEngine::Close() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7812 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-23Craquity craq De-craq!brain
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-15* include/caller.h will now compile correctly on Windows platforms.burlex
+ 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-07-29This should be set as a 1.2 not 1.1 installerbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7614 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-27make sure that the pointers are set up correctly for win32brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7600 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-27SIGHUP needs to be #define'd on windows. This is an i-hate-windows day today.brain
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-27add filelogger.* and server.* to the project file so theyre compiledbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7594 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-27And more to fixbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7593 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-27Fix compile errors in windowsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7592 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-27Needs testbuilding in windows. I will probably do this in a minute.brain
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-27Move a bunch of stuff around for tidyness, win32 functions keep creeping ↵brain
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-25Un-static InspIRCd::Exit and use SignalHandler instead.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7572 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-23* Sockets will now always be nonblocking on win32 version of InspIRCd. There ↵burlex
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-22Fixed windows configure in release mode in a directory with spaces.frostycoolslug
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7499 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16OOPS! We try again, since I'm smoking craq. LF is 0x0a NOT CR.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7456 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16Set EOL to WINDOWS-style always for Visual Studio files.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7455 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16'svn propset -R svn:eol-style CR *' Set to UNIX-style always. Binaries are ↵peavey
auto skipped by svn. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7454 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16Add flags to /STATS s output, and nuke some ^Mpeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7453 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16Ok windows.. YOU WIN :< .. but at least I can use MAXBUF now and configure ↵peavey
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-16Oops, the (*p) check was meant for the inner loop, I blame the vs editor :>peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7450 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16Begone evil DOS format :<peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7449 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16And add colour.h to wrapper resource instead of the source.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7448 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16Use wrapper include instead of colour.h.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7447 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16Tide this up and fix possible buffer overflow. Cannot use MAXBUF since ↵peavey
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-16Use colours.h in win_wrapper and also add __COLOURS_H define.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7444 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16Remove printf_c from wrapper, this code also segfaulted when it was used.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7443 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16Use vsnprintf instead of vsprintf.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7442 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-14- Made the recvfrom wrapper a bit neater.burlex
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7314 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-14Add sections to installer for pcre, segregate the m_filter_pcre for the ↵brain
installer git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7310 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-14- Fix for a bug in the win32 inet_ptoa implementation causing CIDR parsing ↵burlex
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-13Have the installer install cert.pem and key.pem to the conf/ dir only if ↵brain
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-13Add default windows certs. People shouldnt use these for more than ↵brain
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-13And get it right.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7297 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-13Update descriptionsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7296 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-13Being as people while about the odd kludge here and there im going to spend ↵brain
my time on fruitless stuff :P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7295 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-13Nasty kludge to allow for optional install of ssl:brain
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* Fixed IOCPEngine under x64 (because of incorrect pointer sizes)burlex
- 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- Fixed configure script to allow gnutls compilation under win32.burlex
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7290 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-13+ Added x64 solutions for VC2005, for future work. This does not under any ↵burlex
circumstances mean it will even compile work properly yet. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7287 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-11This breaks stuff. We can't use it.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7280 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-11Prompting for wether or not to wipe the .h and build from clean (default to no)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7272 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-11Change from /GS to /Gm in makefilesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7271 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-11Put the check back so we dont keep doing builds from scratch every timebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7269 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-11Remove unused varbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7267 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-08- Enabled minimal rebuild on all VS project files, this will reduce build ↵burlex
time on small changes, also removed the -Auto configurations as they are no longer used. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7261 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-08* Fixed VC8 m_spanningtree project file. second commit?! :)burlex
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7256 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-08+ Added an *almost* unix-like fork system for windows. Insp will create a ↵burlex
secondary process now if nofork isn't specified and pipe its console output back to the originator's. If there is an error during startup, it will show too. * Fixed m_spanningtree project (cmd_rsquit was missing) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7255 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-06Commentsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7250 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-02Change the behaviour of insp in windows to keep its window open, with some ↵brain
status text in the title bar. It also clears the screen now on startup, see the wrapper for what a nasty amount of code it is to do such a simple thing to a windows console :( Also, add somewhat of a hack to cut down on allocation time taken to map windows fd to a posix style fd in iocp engine. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7217 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-02Change configure to generate .mak files with warning level 2.brain
Change project files to warning level 2. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7215 e03df62e-2008-0410-955e-edbf42e46eb7