57 Commits

Author SHA1 Message Date
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
brain
803cbe4a1d Have this make the debug and release dirs, fannying around mkdiring them in a command prompt is a pain in the rectum
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7109 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-22 17:51:35 +00:00
brain
d5c4fa2271 Change to NOT optimize, /O2 was set on all projects, probably a bad thing, we dont know what the compiler is going to do to our code. Set to /Od
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7108 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-22 17:48:09 +00:00
brain
6f95fb3897 Update this to always run even if we have an inspircd_config.h, having to manually fart around deleting files to make clean is a pain in the ass.
Also why does it seem to be making a seperate named file for release builds and never actually calling it during a release build, leading to debug modules being loaded into a non-debug insp :p


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7107 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-22 17:37:29 +00:00
brain
713a8e2510 Add .net framework version check
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7105 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-21 21:23:49 +00:00
brain
505f63c4f8 Fix to properly uninstall
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7104 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-21 20:00:52 +00:00
brain
c31a4b8b44 Reorder includes, dont worry there is method to my madness (i hope)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7093 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-21 18:22:16 +00:00
brain
8d66006137 Fix warnings
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7092 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-21 18:10:38 +00:00
brain
7d3a6d5228 Shortcut working dir is set to SetOutPath value, fix this so that the working dir of the start menu shortcut is correct
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7091 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-21 15:52:42 +00:00
brain
070206d5d1 Most likely doesnt work
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7089 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-21 00:43:44 +00:00
brain
ac9b53fbeb Install InspGUI to $INSTDIR, not $INSTDIR\Bin
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7088 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-21 00:12:54 +00:00
brain
a75abda312 Obsolete mods are in here :/
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7087 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-21 00:06:10 +00:00
brain
e6414ee886 Fix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7086 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-21 00:04:53 +00:00
brain
c757f23b69 Growl.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7084 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-21 00:04:09 +00:00
brain
5d9affec5a Invalid COPYING path
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7083 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-21 00:01:32 +00:00
brain
e793116114 NSIS installer script
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7082 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-21 00:00:02 +00:00
w00t
6e0080730c - *slap Om with some unpronouncable fish* - you forgot the />
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7080 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20 22:40:36 +00:00
brain
ce92c4d35c 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
2007-05-20 21:56:10 +00:00
om
af7ccb9691 Same change for VC71. This is a manual edit of the file as I don't have an old VC++ to try it with..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7071 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20 15:13:46 +00:00
om
9772f89b93 Quote the commanline to run configure.exe so it works with pathnames with spaces.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7070 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20 15:10:44 +00:00
brain
5742a950ca We will get this right eventually
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7069 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20 14:13:14 +00:00
brain
1b38828157 Also wrong
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7068 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20 14:12:09 +00:00
brain
51d26a574e Wrong wrong wrong.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7067 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20 14:11:23 +00:00
brain
81c9291f4e Throw bad alloc on out of memory, not return null, this is the correct behaviour according to the C++ standards
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7066 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20 14:08:20 +00:00
brain
66e3a30ab1 Merge in burlex's easy-build patch, apparently its now single-click and wait.
Will play with this tomorrow.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7060 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20 05:16:23 +00:00
brain
9f5c15c806 Change the define that defines strcasecmp->stricmp to use _stricmp to suppress an anal warning
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7058 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20 04:14:18 +00:00