brain
357cd5f660
add filelogger.* and server.* to the project file so theyre compiled
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7594 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-27 17:46:50 +00:00
brain
dffae50cae
And more to fix
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7593 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-27 17:40:37 +00:00
brain
f40811fd6e
Fix compile errors in windows
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7592 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-27 17:39:51 +00:00
brain
f3624af468
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
2007-07-27 17:02:24 +00:00
brain
27d4ea0d97
Move a bunch of stuff around for tidyness, win32 functions keep creeping 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-27 16:45:03 +00:00
peavey
0bb707c10c
Un-static InspIRCd::Exit and use SignalHandler instead.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7572 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-25 20:23:18 +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
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