182 Commits

Author SHA1 Message Date
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
burlex
5ddb1366f7 + Added x64 solutions for VC2005, for future work. This does not under any 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-13 19:33:50 +00:00
brain
dc83545a0c This breaks stuff. We can't use it.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7280 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-11 23:14:44 +00:00
brain
13be12c812 Prompting for wether or not to wipe the .h and build from clean (default to no)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7272 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-11 21:06:17 +00:00
brain
4a0a02a4ef Change from /GS to /Gm in makefiles
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7271 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-11 20:54:30 +00:00
brain
895c3dcdf0 Put the check back so we dont keep doing builds from scratch every time
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7269 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-11 20:34:47 +00:00
brain
2c8326894a Remove unused var
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7267 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-11 20:04:16 +00:00
burlex
48d672de13 - Enabled minimal rebuild on all VS project files, this will reduce build 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 23:02:40 +00:00
burlex
888778c5fa * Fixed VC8 m_spanningtree project file. second commit?! :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7256 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-08 21:20:43 +00:00
burlex
548162d094 + Added an *almost* unix-like fork system for windows. Insp will create a 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-08 21:17:17 +00:00
brain
4eaa390776 Comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7250 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-06 20:51:29 +00:00
brain
6cf3fc6b36 Change the behaviour of insp in windows to keep its window open, with some 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-02 22:21:55 +00:00
brain
27d5e0aa06 Change configure to generate .mak files with warning level 2.
Change project files to warning level 2.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7215 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-02 18:42:22 +00:00
brain
72948525ec Add comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7212 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-02 15:05:49 +00:00
brain
b86a95c701 This should do it
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7158 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-26 20:10:53 +00:00
brain
3ad40b22a7 Installer was defaulting the dir to c:\program files\inspircd and wouldnt present the user with an option to change. This is a BIG no-no and needed to be fixed before release.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7149 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-26 14:29:24 +00:00
brain
59fc682eb1 Make two sections "Binaries" and "command handlers" manditory - you won't have a working ircd if you don't install them
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7148 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-26 13:58:28 +00:00
brain
574474463a Change icon to something nicer than a blue arrow (our insp logo) and add the icon to win/
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7147 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-26 13:54:17 +00:00
brain
994fd968a9 Add warning to edit config files in installer
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7146 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-26 13:50:52 +00:00
brain
3dc342af3c Choose the correct defines so that its not built too lean to compile
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7142 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-25 21:56:16 +00:00
brain
d3c9417123 Add defines that speed up the build process and reduce executable bloat
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7141 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-25 21:33:58 +00:00
brain
7770edd703 Two things, document how InspIRCd finds the dns server ip on windows if you 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
2007-05-24 18:46:24 +00:00
brain
31eb647e2b Whoops, helps if it compresses, not decompresses.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7127 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-24 16:13:50 +00:00
brain
9af30f9852 Compressor script that compresses all shared objects and exe with upx, should be used prior to a release
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7126 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-24 16:10:38 +00:00
brain
47ba9de7cf Have configure try and create ..\bin\release\* and/or ..\bin\debug\*
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7118 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-22 20:49:04 +00:00
brain
3ee9f47ac1 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
2007-05-22 20:36:53 +00:00
brain
e8aed79a4b This could do with some comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7115 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-22 20:31:56 +00:00
brain
ec2cd7bb4e Tidyup
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7114 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-22 20:09:12 +00:00
brain
428aa50368 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
2007-05-22 20:03:33 +00:00
brain
39f979dbef Add BUILD define which tells the install script what to build
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7111 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-22 18:21:25 +00:00
brain
0b669431ec Its CreateDirectory in win :/
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7110 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-22 17:54:47 +00:00