summaryrefslogtreecommitdiff
path: root/win/inspircd_win32wrapper.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Apply patches to remove 200-odd dll limit on windows, made by GreenReaper, ↵Gravatar brain2008-04-181-1/+0
| | | | | | lots of thanks! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9533 e03df62e-2008-0410-955e-edbf42e46eb7
* Windows fixGravatar brain2008-04-131-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9475 e03df62e-2008-0410-955e-edbf42e46eb7
* Windows fixesGravatar brain2008-04-051-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9368 e03df62e-2008-0410-955e-edbf42e46eb7
* Header update: 2007 -> 2008Gravatar w00t2008-01-101-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8694 e03df62e-2008-0410-955e-edbf42e46eb7
* Just to be fucking akward, windows vista seperates multiple nameservers with ↵Gravatar brain2007-10-141-0/+5
| | | | | | spaces whilst other versions of windows use commas. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8198 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove crashdump stuffGravatar brain2007-10-141-64/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8192 e03df62e-2008-0410-955e-edbf42e46eb7
* * Fixed some incorrect declarations in IOCPEngineGravatar burlex2007-09-041-0/+64
| | | | | | | | | | * 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
* * include/caller.h will now compile correctly on Windows platforms.Gravatar burlex2007-08-151-0/+14
| | | | | | | | + 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
* make sure that the pointers are set up correctly for win32Gravatar brain2007-07-271-5/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7600 e03df62e-2008-0410-955e-edbf42e46eb7
* And more to fixGravatar brain2007-07-271-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7593 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix compile errors in windowsGravatar brain2007-07-271-6/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7592 e03df62e-2008-0410-955e-edbf42e46eb7
* Needs testbuilding in windows. I will probably do this in a minute.Gravatar brain2007-07-271-1/+33
| | | | | | | 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
* Move a bunch of stuff around for tidyness, win32 functions keep creeping ↵Gravatar brain2007-07-271-1/+104
| | | | | | into #ifdef'ed chunks in non-win32 files git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7588 e03df62e-2008-0410-955e-edbf42e46eb7
* Un-static InspIRCd::Exit and use SignalHandler instead.Gravatar peavey2007-07-251-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7572 e03df62e-2008-0410-955e-edbf42e46eb7
* OOPS! We try again, since I'm smoking craq. LF is 0x0a NOT CR.Gravatar peavey2007-07-161-1/+513
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7456 e03df62e-2008-0410-955e-edbf42e46eb7
* 'svn propset -R svn:eol-style CR *' Set to UNIX-style always. Binaries are ↵Gravatar peavey2007-07-161-513/+1
| | | | | | auto skipped by svn. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7454 e03df62e-2008-0410-955e-edbf42e46eb7
* Ok windows.. YOU WIN :< .. but at least I can use MAXBUF now and configure ↵Gravatar peavey2007-07-161-0/+89
| | | | | | will have to endure the fixed 500 limit :> git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7452 e03df62e-2008-0410-955e-edbf42e46eb7
* Begone evil DOS format :<Gravatar peavey2007-07-161-424/+424
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7449 e03df62e-2008-0410-955e-edbf42e46eb7
* And add colour.h to wrapper resource instead of the source.Gravatar peavey2007-07-161-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7448 e03df62e-2008-0410-955e-edbf42e46eb7
* Use colours.h in win_wrapper and also add __COLOURS_H define.Gravatar peavey2007-07-161-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7444 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove printf_c from wrapper, this code also segfaulted when it was used.Gravatar peavey2007-07-161-66/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7443 e03df62e-2008-0410-955e-edbf42e46eb7
* - Fix for a bug in the win32 inet_ptoa implementation causing CIDR parsing ↵Gravatar burlex2007-06-141-0/+7
| | | | | | to incorrectly return false in some instances. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7307 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove unused varGravatar brain2007-06-111-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7267 e03df62e-2008-0410-955e-edbf42e46eb7
* CommentsGravatar brain2007-06-061-1/+14
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7250 e03df62e-2008-0410-955e-edbf42e46eb7
* Change the behaviour of insp in windows to keep its window open, with some ↵Gravatar brain2007-06-021-1/+32
| | | | | | | | | 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
* Two things, document how InspIRCd finds the dns server ip on windows if you ↵Gravatar brain2007-05-241-1/+1
| | | | | | | | | | don't specify one, and have win32 default to 127.0.0.1 for dns queries in the very unlikely chance you have no network interfaces active. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7129 e03df62e-2008-0410-955e-edbf42e46eb7
* Comment on how we came up with this code, and comment itGravatar brain2007-05-221-2/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7116 e03df62e-2008-0410-955e-edbf42e46eb7
* TidyupGravatar brain2007-05-221-21/+18
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7114 e03df62e-2008-0410-955e-edbf42e46eb7
* Code to find nameservers in the windows registry - largely untestedGravatar brain2007-05-221-0/+68
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7113 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix warningsGravatar brain2007-05-211-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7092 e03df62e-2008-0410-955e-edbf42e46eb7
* Coding style tidyup. PLEASE don't let vs assrape this again.Gravatar brain2007-05-201-125/+118
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7079 e03df62e-2008-0410-955e-edbf42e46eb7
* Helps if I add the w32 specific code, too. :pGravatar w00t2007-05-191-0/+375
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7044 e03df62e-2008-0410-955e-edbf42e46eb7