436 Commits

Author SHA1 Message Date
brain
30ce3ec004 Fix installer to work with the new name for the test confs
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10815 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-23 20:42:10 +00:00
brain
ad9ef2fe6c start upload in a seperate dos window
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10814 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-22 23:48:44 +00:00
brain
0c024eeffd I have managed to do this without giving away any hostnames or usernames, so this is secure enough to be part of subversion. still wont release unless you have the correctly named winscp and putty profiles set to the right places, though
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10813 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-22 23:46:04 +00:00
brain
11d0ad57d5 Add auto build step for site release. The actual batch file that does this wont be included in the build as it contains information relating to the webservers, users who want to do their own site release can roll their own batchfile.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10812 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-22 22:09:11 +00:00
w00t
8d513f8a47 Redo removal of m_services crap.. temp/ dir readded per jdhore..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10764 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-31 17:14:18 +00:00
w00t
2eb2ac95fd Revert "Remove m_services and documentation relating to it. Also remove conf/temp/ (??)"
This reverts commit 500fec7ed0c02df7f4086f1827eaae1167a9ecd9.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10763 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-31 17:14:14 +00:00
w00t
f01b480e65 Remove m_services and documentation relating to it. Also remove conf/temp/ (??)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10762 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-31 16:44:37 +00:00
brain
e54f28adaf Update nsis installer scripts with new example confs and test.conf
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10681 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-19 12:59:42 +00:00
brain
edef3ac92b Windows compile fixes for RLine
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10591 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-22 08:38:45 +00:00
brain
8a04f13c86 Merge vc90 update patch from IronLegend, thanks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10555 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-17 22:08:50 +00:00
special
1b290edc9c Patch by dz to remove the one usage of strdup/strtok_r, which is very un-C++ behavior (and silly, since we have sepstream)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10543 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-14 03:30:39 +00:00
brain
4b80e90c76 fixed a /MT to be /MD
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10484 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-09 09:37:41 +00:00
brain
66b1ab1f4d Fix windows project files
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10461 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07 22:28:24 +00:00
brain
5e4b7f9c2c fixes so m_sqloper builds on win
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10421 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06 21:27:15 +00:00
brain
8a14e1223d Auto update modules from src/modules/extra by recopying them in configure if they exist also in src/modules
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10420 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06 20:42:36 +00:00
brain
d27af79ee0 sql api and m_mysql compile fixes for windows
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10393 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-05 08:42:41 +00:00
brain
1fd22793d1 Windows compile fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10343 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-28 20:30:32 +00:00
brain
b844b70a0f this new stuff in m_ssl_gnutls is NOT in our spec! probably shouldnt be either, because it adds confusion and its clearly documented that initialising tls is done via STARTTLS and CAP advertises it (not to mention clients are already doing it this way)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10334 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-28 15:50:43 +00:00
w00t
4608413eb8 s/ /\t/
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10315 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-27 15:37:04 +00:00
w00t
423481c43e Fix retarded windows linefeeds (brain >:()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10314 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-27 15:35:53 +00:00
brain
097e19291f remove the testing debug setting
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10311 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-27 11:04:19 +00:00
brain
f94a7ed598 Tidy up in the nsis scripts, how it installs the service and removes it (hide the dos box, display informational text in the installer window)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10283 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-25 16:11:01 +00:00
brain
d807048fc6 Some comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10261 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-24 23:47:20 +00:00
brain
2e9a32349f EWW windows linefeeds
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10260 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-24 23:45:09 +00:00
brain
b708dff6d2 Use the error name constants here now rather than magic numbers. magic numbers blow goats.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10253 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-24 23:05:51 +00:00
brain
50fb079808 Properly name the windows service error constants and put proper descriptions in the error strings
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10251 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-24 23:02:03 +00:00
brain
3229dee5bb No names for the service specific errors, probably wont ever name them as theyre never shown in linux
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10245 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-24 21:05:15 +00:00
brain
a539875ecc Properly give the service specific exit code on failure to start. Now we just need to find out how to retrieve this
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10240 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-24 19:19:57 +00:00
brain
7eb54577bb Move
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10239 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-24 19:08:54 +00:00
brain
a6cf47a2cd work in progress
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10238 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-24 19:08:36 +00:00
brain
dab0a575e2 EWWW windows line endings!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10223 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-22 20:01:13 +00:00
brain
7dd31e2b7a fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10207 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-21 16:07:54 +00:00
brain
33295316f5 zap the evil externs, and comment the lot
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10205 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-21 14:41:55 +00:00
brain
cc3503abc4 detect if the process has an interactive session (if its started as a service, the window station will have no drawable surfaces, and we can detect this)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10199 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-21 13:36:15 +00:00
brain
2fdfbe85d3 add service install and remove calls to installer.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10198 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-21 12:54:59 +00:00
brain
823f071fd1 add text explanations of the error messages that can occur when adding or removing the service.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10197 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-21 12:39:21 +00:00
brain
e1fb9123c2 change startup type from SERVICE_DEMAND_START to SERVICE_AUTO_START so that inspircd boots with the system
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10196 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-21 12:19:09 +00:00
brain
c1a2a8abca make service log on as local service builtin account again. There was no issue with privileges except the fact i was using encryption on my files. doh.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10195 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-21 12:13:09 +00:00
brain
839ff9b521 now works 'enough' to progress further. Can start and stop the service and it accepts connections. NOTE: It will not function as local service. Needs to be possibly set as networkservice.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10194 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-21 11:21:46 +00:00
brain
2c5db1dfcb add support for windows service. This now is part of inspircd itself being as we have native build. It doesnt quite work yet in all the ways it should.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10193 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-21 11:01:51 +00:00
brain
bc73d93718 properly coreexport the getcpu() function etc
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10184 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-20 11:47:52 +00:00
brain
696e90acdb fix memory leak in new wmi stuff and comment it. Lots of kittens are killed by use of this code. :(
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10183 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-20 11:21:43 +00:00
brain
7721a4de67 Checks to make sure that WMI initialises, if it doesnt we return -1 for CPU percentage
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10180 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-20 10:27:46 +00:00
brain
1bdc61df77 WMI calls for getting cpu percentage of current process. This code was a biatch and a half.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10179 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-20 09:56:16 +00:00
brain
8e83ee21a6 Add support for uptime in win32 named pipe data
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10177 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-19 22:12:36 +00:00
brain
a52d0e44f4 add missing modules to the vc80 project files
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10109 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-06 12:10:55 +00:00
brain
1ee5092d75 fix compile errors under debug profile in windows.
fix some warnings too.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10108 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-06 11:59:17 +00:00
brain
f88c6a71fc Update nsis installer scripts to new path of config files
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10072 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-26 20:18:43 +00:00
brain
cef4be3dde Fixes to make win32 build again
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10051 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-20 11:21:39 +00:00
brain
07c7b5b61b more fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9922 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-18 21:09:41 +00:00