6094 Commits

Author SHA1 Message Date
brain
75f0cba571 Someone forgot the blindingly obvious - APPLY the glines/zlines you add! they dont apply themselves :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7112 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-22 19:10:40 +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
4cd573260d This says ten minutes drift and should say five, fixed
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7106 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-22 15:54:46 +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
972203736b Squash unused var error
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7103 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-21 19:54:00 +00:00
brain
812ccef476 Remove warning in gcc this time
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7102 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-21 19:37:13 +00:00
brain
f43281da9e I think this was the source of burlex's confusion with the spanningtree propogation bug and a warning in vc8 -- CallCommandHandler returned BOOL?! Yet its casting that bool somehow from a CmdResult.
It should be CmdResult. Fixed.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7101 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-21 19:35:07 +00:00
brain
31bef4901b In this module we declare the md5 context as a class, then reference it in functions as struct MD5Context*.
Not only does this make little sense readability wise, it triggers a warning in vs8. Fixed.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7100 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-21 19:28:51 +00:00
brain
1689f51f79 Move inspircd.h to top
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7099 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-21 19:15:28 +00:00
brain
76d7e8a068 Header rearrangement, move inspircd.h to top, remove stdio, stdlib, stdblahblah that we dont even use, remove redeclared <string>, <map>, <vector>.
This (1) fixes the irc::string::move warnings on vc8 (2) speeds up compile a lot


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7098 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-21 19:13:39 +00:00
brain
11554b8626 Reorder inspircd.h header to top
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7097 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-21 18:36:25 +00:00
brain
5475b0d469 All non-commands part of the core are now warning clean on vs8
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7096 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-21 18:31:38 +00:00
brain
46ff0bed00 Same tweak, again
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7095 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-21 18:27:38 +00:00
brain
b083bc0b66 It seems that making inspircd.h the first include in .cpp files eliminates the warning C4996, as the defines to prevent it are set before any includes that cause it
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7094 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-21 18:26:15 +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
frostycoolslug
c77bbc1277 Reverted broken patch.. This may break, but it's unlikely :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7090 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-21 05:53:33 +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
91e46e2371 - Comment on the ifdef in here, to avoid people (like myself) going 'what the fuck'.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7081 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20 22:53:57 +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
brain
acce38fa84 Crash on restart in win32 fixed.
This means that the restart button in the gui, and /restart, both work now.
Note, there are other bugs with the gui's restart button, the 'auto restart on crash' tries to boot the ircd! Dont use it! :P


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7075 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20 20:27:45 +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
d4e61c1552 try...catch around the map::insert in AddFd, for some reason it throws sometimes. If it does, we return false, which the core can handle neatly as 'failed to add fd'
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7065 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20 14:05:48 +00:00
brain
30a17a7034 Remove asserts and convert to unix line endings
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7064 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20 13:58:30 +00:00
w00t
6ab38d48ca - Modify ServerConfig::GetFullProgDir to just return cwd, previously it did a lot of voodoo that was a little hard to grasp, probably didn't quite accomplish what it should have, and broke on windows.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7063 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20 12:54:57 +00:00
brain
c3913b1f2f Windows path seperator is \, this was assuming /. Fixed.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7062 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20 12:38:23 +00:00
w00t
9caa0763a3 - Fix a small warning thrown by cl about unused local.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7061 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20 12:15:28 +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
0985cef77b Prevent vc8 from thinking we're dereferencing an end iterator
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7059 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20 05:00:03 +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
brain
de57b89e96 Update from burlex, thanks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7057 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20 03:51:26 +00:00
brain
68213cd3e7 Begone shitty safe stl warnings!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7056 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20 03:49:00 +00:00