230 Commits

Author SHA1 Message Date
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
brain
a5f65582fe more fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9921 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-18 20:51:22 +00:00
brain
a3802dee4b Measure bandwidth statistics from the socket engine (kiloBITS per second in, out, total) and display them in /stats z plus send them via the named pipe to the windows gui
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9918 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-18 20:27:47 +00:00
brain
ed6fcd4a50 Add the rest of the stuff for named pipe comms, including feedback information, and fix a bug in configreader that made it load the core commands every rehash
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9913 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-18 18:54:25 +00:00
brain
874c398ad9 IPC now provides feedback via the named pipe, right now the data is just the server name
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9912 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-15 20:29:10 +00:00
brain
97ab97c6fb IPC now works for receiving one-byte commands in the same manner as the mailslot.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9911 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-15 19:26:58 +00:00
brain
afe99da316 Base stuff for named pipe IPC
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9910 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-15 16:21:09 +00:00