summaryrefslogtreecommitdiff
path: root/win/inspircd_win32wrapper.cpp
Commit message (Expand)AuthorAgeFilesLines
* Fixes for config reader•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11504 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-08-121-2/+1
* Fix our getops implementation on windows. Have optind available, and make sur...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11466 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-08-021-8/+9
* Forget to remove a #endif•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11461 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-08-021-1/+0
* No forget using windows' broken inet_pton and inet_ntop, they are not POSIX c...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11460 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-08-021-5/+2
* Since Windows SDK6.0a inet_pton and inet_ntop is defined if (NTDDI_VERSION >=...•••Fixes the breakage Brain mentions in r11407. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11459 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-08-021-0/+4
* usleep() is no longer needed, and should not be needed in the future•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11252 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-03-231-9/+0
* This is a nicer fix, and we are seen to be explicitly freeing the BSTR values...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11239 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2009-03-201-39/+46
* Remove an old class member here that is no longer used and has been commented...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11238 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2009-03-201-33/+0
* This needs a test compile, i do not have my laptop to hand to do this. May br...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11237 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2009-03-201-2/+1
* Update all wiki links to point to the new wiki. This was done automatically w...•••for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org#' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/#' -i $file ; done git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11223 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar psychon2009-03-151-1/+1
* Update copyrights for 2009.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-01-021-1/+1
* Patch by dz to remove the one usage of strdup/strtok_r, which is very un-C++ ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10543 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2008-09-141-65/+0
* sql api and m_mysql compile fixes for windows•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10393 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-09-051-0/+9
* fix memory leak in new wmi stuff and comment it. Lots of kittens are killed b...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10183 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-08-201-111/+95
* Checks to make sure that WMI initialises, if it doesnt we return -1 for CPU p...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10180 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-08-201-2/+2
* WMI calls for getting cpu percentage of current process. This code was a biat...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10179 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-08-201-0/+153
* Base stuff for named pipe IPC•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9910 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-06-151-21/+2
* Apply patches to remove 200-odd dll limit on windows, made by GreenReaper, lo...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9533 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-181-1/+0
* Windows fix•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9475 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-131-1/+1
* Windows fixes•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9368 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-051-4/+4
* Header update: 2007 -> 2008•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8694 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-101-1/+1
* Just to be fucking akward, windows vista seperates multiple nameservers with ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8198 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-141-0/+5
* Remove crashdump stuff•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8192 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-141-64/+0
* * 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 Gravatar burlex2007-09-041-0/+64
* * 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 Gravatar burlex2007-08-151-0/+14
* 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 Gravatar brain2007-07-271-5/+2
* And more to fix•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7593 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-07-271-3/+3
* Fix compile errors in windows•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7592 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-07-271-6/+3
* 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 Gravatar brain2007-07-271-1/+33
* Move a bunch of stuff around for tidyness, win32 functions keep creeping into...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7588 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-07-271-1/+104
* Un-static InspIRCd::Exit and use SignalHandler instead.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7572 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-07-251-2/+2
* 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 Gravatar peavey2007-07-161-1/+513
* 'svn propset -R svn:eol-style CR *' Set to UNIX-style always. Binaries are au...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7454 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-07-161-513/+1
* Ok windows.. YOU WIN :< .. but at least I can use MAXBUF now and configure wi...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7452 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-07-161-0/+89
* Begone evil DOS format :<•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7449 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-07-161-424/+424
* 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 Gravatar peavey2007-07-161-1/+0
* 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 Gravatar peavey2007-07-161-0/+1
* 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 Gravatar peavey2007-07-161-66/+0
* - Fix for a bug in the win32 inet_ptoa implementation causing CIDR parsing to...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7307 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar burlex2007-06-141-0/+7
* Remove unused var•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7267 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-111-1/+0
* Comments•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7250 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-061-1/+14
* Change the behaviour of insp in windows to keep its window open, with some st...•••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 Gravatar brain2007-06-021-1/+32
* Two things, document how InspIRCd finds the dns server ip on windows if you d...•••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 Gravatar brain2007-05-241-1/+1
* Comment on how we came up with this code, and comment it•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7116 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-221-2/+9
* Tidyup•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7114 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-221-21/+18
* Code to find nameservers in the windows registry - largely untested•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7113 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-221-0/+68
* Fix warnings•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7092 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-211-1/+1
* Coding style tidyup. PLEASE don't let vs assrape this again.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7079 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-201-125/+118
* Helps if I add the w32 specific code, too. :p•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7044 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-05-191-0/+375