124 Commits

Author SHA1 Message Date
brain
0aef046e36 Whos been commiting a quarter of a fix?
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@9926 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-19 23:55:49 +00:00
brain
0500228e47 Add /MP for faster build of core parts (not modules or command handlers)
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@9558 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-20 21:11:12 +00:00
brain
767935c43c Add hand-crafted resource script, contains version information and icon definition
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@9557 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-20 21:08:20 +00:00
brain
4e0faf2713 Rebase modules in 1.1 too. This uses a post build event that does not involve a change to configure, however this requires an ls binary. If you don't have an ls.exe, it wont rebase the modules.
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@9553 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-20 12:41:09 +00:00
brain
0aa985928d Extract and run the vs redistributable to $TEMP, not to install dir. saves us 2.6 megs on install space
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@9550 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-19 18:45:56 +00:00
brain
5faaaa2032 Bundle vcredist_x86.exe - installer now 6.7mb
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@9545 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-19 14:13:01 +00:00
brain
0a51637e41 Backport breakpoint/crash fix in bindsocket in win32 (missing operator new[] and operator delete[]
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@9544 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-19 13:51:18 +00:00
brain
a7e77a6c15 More build tweaks
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@9543 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-19 13:35:03 +00:00
brain
96cab84446 Fix debug always being used for configure
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@9542 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-19 13:13:05 +00:00
brain
192e5ded46 For some reason /GL doesnt work right. oh well, its not that important
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@9541 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-19 12:51:56 +00:00
brain
98d4d55e28 Who left /RTC1 in here?
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@9540 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-19 12:30:11 +00:00
brain
5bc858466a Remove /Wp64
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@9539 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-19 12:23:37 +00:00
brain
7481118421 Do /O1 /GL here too
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@9538 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-19 12:16:40 +00:00
brain
f3dda3a52f Backport optimizations and fixes from trunk pioneered by GreenReaper, which decrease size by a large amount and remove the 200-odd dll limit caused by inefficient use of thread local storage by the C runtimes
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@9537 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-19 12:01:45 +00:00
brain
4e3e1e0edc Luser attitude readjusted.
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@9482 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-13 14:36:31 +00:00
brain
9f9d5602a9 Fix horriffic goto abuse and 4-space indents :<
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@9478 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-13 14:31:19 +00:00
brain
958083a403 If you are unsure, answer NO :p
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@9477 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-13 14:21:57 +00:00
w00t
b5e5885847 Add note to explicitly point out to not use IOCP
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@9476 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-13 14:14:27 +00:00
brain
86f8cfe18f Default the max clients on windows to 10240
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@9204 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-29 15:41:43 +00:00
brain
0b67fcd291 Allow IPv6 windows builds. NOT TESTED AT ALL!
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@9099 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-15 18:02:21 +00:00
brain
d3b6ffc39d Grrr.
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@9059 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-02 13:59:38 +00:00
brain
058962738a Growl, sometimes nsis sucks balls.
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@9058 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-02 13:58:03 +00:00
brain
6c423b00d6 This needs rejigging too
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@9057 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-02 13:51:59 +00:00
brain
21f83d2d9a Make this use the environment variable defined %TEMP% dir, rather than hard coding D:\temp (i no longer have a d:\temp after resizing and reallocating my partitions)
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@9056 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-02 13:48:36 +00:00
brain
85fbf0fdab Make select socketengine build onvs80
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8915 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-12 21:25:59 +00:00
brain
e4510527a0 Set FD_SETSIZE to 12000, this allows 12000 users per ircd rather than 64. I doubt select can scale this high, but 64 is rediculous.
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8889 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-10 23:29:29 +00:00
brain
deb164cad9 Commit stuff from fez that he couldnt get committed - fixes to make socketengine-select work in windows (should be more stable than iocp as the api is known to us unix devs)
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8888 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-10 23:19:08 +00:00
w00t
7194690fc8 Header update: 2007 -> 2008
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8695 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-10 13:45:53 +00:00
brain
66445ed7a2 the minidump stuff is only available in 5.1 dbghelp.dll which is xp and above. we must remove this to retain 2k compatibility
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8370 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-26 15:53:47 +00:00
brain
60109d2c1d SHUT_WR is not defined on windows
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8236 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-20 17:34:57 +00:00
brain
9e0e342aff Fix library lists, the instructions on the MS website dont work quite right in vista so we specify them in the project. Also finally fix auto creation of release dirs when building
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8053 e03df62e-2008-0410-955e-edbf42e46eb7
2007-09-23 15:59:38 +00:00
burlex
b00836df6e * Backported crash dumping system for Win32 - see 1.2 log for a full description
* Fixed new m_ident compile under Win32

git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8016 e03df62e-2008-0410-955e-edbf42e46eb7
2007-09-04 12:58:38 +00:00
burlex
61c2e76c5e * Fixed bug in m_banredirect where removing a ban on a channel with maxbans set would result in a "ban list full" message.
* Fixed win32 compiling (forgot to backport the #pragma linker directive)

git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7734 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-17 19:42:58 +00:00
brain
0582cca3db Someone messed up
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7732 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-16 16:57:45 +00:00
brain
ff7f4ef510 Forgot CoreExport
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7727 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-15 21:44:05 +00:00
brain
34b2a66c72 Remove a whole load of #ifdef as we can now use gettimeofday.
If we add a wrapper for getrusage, then we can remove a ton more


git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7726 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-15 21:43:22 +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