]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
w00t [Thu, 28 Aug 2008 19:45:21 +0000 (19:45 +0000)]
Rename lowermap to rfc_case_insensitive_map, add case_sensitive_map.. adjust files to not pass lowermap directly.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10337
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Thu, 28 Aug 2008 19:12:49 +0000 (19:12 +0000)]
Patch modifying these modules to work on older gcc/openbsd, provided by Dagonet (CUSTOM_PRINTF() needs to be in the prototype, not the function body.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10336
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 28 Aug 2008 15:50:43 +0000 (15:50 +0000)]
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
w00t [Thu, 28 Aug 2008 15:40:16 +0000 (15:40 +0000)]
Make this comply with the spec; that is - CAP may be requested after registration.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10333
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Thu, 28 Aug 2008 15:34:22 +0000 (15:34 +0000)]
Add CAP REQ tls support, thanks to psychon
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10332
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Wed, 27 Aug 2008 21:37:28 +0000 (21:37 +0000)]
Fix recursion crash
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10330
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Wed, 27 Aug 2008 20:19:26 +0000 (20:19 +0000)]
Add <disabled:fakenonexistant> - ircd will pretend that a disabled command just doesn't exist (for austnet), document <disabled:usermodes> and <disabled:chanmodes> (bad aquanight.)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10327
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Wed, 27 Aug 2008 19:47:33 +0000 (19:47 +0000)]
Don't force-finish a burst on a timer, instead, set bursted if a PONG is recieved while still bursting (obviously wrong).
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10326
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Wed, 27 Aug 2008 19:28:35 +0000 (19:28 +0000)]
Fix..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10325
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Wed, 27 Aug 2008 19:23:17 +0000 (19:23 +0000)]
Clean up opering a tiny bit.. pave the way for SVSOPER
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10324
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Wed, 27 Aug 2008 19:01:12 +0000 (19:01 +0000)]
Fix ident using uninitialised memory, forward-port of r10321. Thanks psychon.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10323
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Wed, 27 Aug 2008 18:45:15 +0000 (18:45 +0000)]
USERHOST/USERIP fix, return '-' char, not '+' if the user is away. Thanks jilles.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10319
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Wed, 27 Aug 2008 15:53:06 +0000 (15:53 +0000)]
Add <shun:notifyuser>, default on, which notifies the user that their command was blocked
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10317
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Wed, 27 Aug 2008 15:42:24 +0000 (15:42 +0000)]
Add and document <shun:enabledcommands>, allowing customisation of specifically which commands shunned users may execute. NOTE: PART/QUIT (if allowed) will always suppress the PART/QUIT message. This needs some testing. :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10316
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Wed, 27 Aug 2008 15:37:04 +0000 (15:37 +0000)]
s/ /\t/
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10315
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Wed, 27 Aug 2008 15:35:53 +0000 (15:35 +0000)]
Fix retarded windows linefeeds (brain >:()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10314
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Wed, 27 Aug 2008 15:20:43 +0000 (15:20 +0000)]
Delete R:Lines from memory on destroy
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10313
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 27 Aug 2008 11:04:19 +0000 (11:04 +0000)]
remove the testing debug setting
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10311
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Tue, 26 Aug 2008 13:47:49 +0000 (13:47 +0000)]
Remove -lunwind from openbsd stuff, per Dagonet
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10308
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Tue, 26 Aug 2008 04:58:34 +0000 (04:58 +0000)]
formatting..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10303
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Tue, 26 Aug 2008 04:47:45 +0000 (04:47 +0000)]
Iteration 5 of wildcard matching. Fixes broken matching for certain conditions reported by MacGyver.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10302
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Tue, 26 Aug 2008 04:43:54 +0000 (04:43 +0000)]
Add test cases that fails current matching, fix to follow soon.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10301
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 26 Aug 2008 01:37:05 +0000 (01:37 +0000)]
Someone messed this up
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10300
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 25 Aug 2008 20:50:11 +0000 (20:50 +0000)]
Propset svn:keywords Id
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10295
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 25 Aug 2008 20:43:37 +0000 (20:43 +0000)]
Fix build.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10293
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 25 Aug 2008 20:38:22 +0000 (20:38 +0000)]
Fix a few malformed Id tags
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10292
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 25 Aug 2008 20:35:51 +0000 (20:35 +0000)]
Change module versions to use a string instead of fixed digits, and use propset ID to auto-set versions, so we don't have (essentially unused) module versions.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10291
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 25 Aug 2008 20:35:36 +0000 (20:35 +0000)]
Change module versions to use a string instead of fixed digits, and use propset ID to auto-set versions, so we don't have (essentially unused) module versions.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10290
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 25 Aug 2008 16:11:01 +0000 (16:11 +0000)]
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
w00t [Mon, 25 Aug 2008 15:49:39 +0000 (15:49 +0000)]
Bounds checking on IsModeSet, etc, to stop silly problems
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10282
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 25 Aug 2008 15:43:46 +0000 (15:43 +0000)]
Implement /who 1d t (search for who matches for users connected for a given time)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10278
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 25 Aug 2008 15:03:44 +0000 (15:03 +0000)]
Add opt_time to WHO (will be /who +t flag) and clean the fuck up CommandWho::whomatch, which was as ugly as sin.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10274
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 25 Aug 2008 13:22:57 +0000 (13:22 +0000)]
Add and document <permchannels> block for m_permchannels, which creates a channel on startup. Fixes bug #511.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10271
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 25 Aug 2008 13:20:38 +0000 (13:20 +0000)]
Allow Channel::SetTopic with a NULL user record, which sets a blank topic.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10270
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 25 Aug 2008 12:20:13 +0000 (12:20 +0000)]
Fixes to make poll(2) socket engine work properly
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10269
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 25 Aug 2008 11:38:00 +0000 (11:38 +0000)]
Numerous changes to make this build..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10268
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 25 Aug 2008 11:25:39 +0000 (11:25 +0000)]
Add poll to build system if kqueue/epoll/ports are not used, above select.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10267
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 25 Aug 2008 10:45:30 +0000 (10:45 +0000)]
This include doesn't exist in 1.2
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10266
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 25 Aug 2008 10:43:07 +0000 (10:43 +0000)]
Fixes, this can't be taken directly from 1.1
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10265
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 25 Aug 2008 01:00:17 +0000 (01:00 +0000)]
Forward-port poll socket engine as it seems reasonably stable, and half-hack it into configure. If someone could help me (easily) add it via our wonderful configure macros so it's built, that would be swell.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10264
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 24 Aug 2008 23:47:20 +0000 (23:47 +0000)]
Some comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10261
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 24 Aug 2008 23:45:09 +0000 (23:45 +0000)]
EWW windows linefeeds
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10260
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 24 Aug 2008 23:42:20 +0000 (23:42 +0000)]
Forward-port r10257, fixes bug #599 reported by mixx941.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10258
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 24 Aug 2008 23:23:07 +0000 (23:23 +0000)]
Forward port r10255: prevent redundant mode changes (thanks to mixx941 for my noticing this)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10256
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 24 Aug 2008 23:05:51 +0000 (23:05 +0000)]
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
brain [Sun, 24 Aug 2008 23:02:03 +0000 (23:02 +0000)]
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
brain [Sun, 24 Aug 2008 22:39:23 +0000 (22:39 +0000)]
Forgot to remove a ,
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10250
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 24 Aug 2008 21:05:15 +0000 (21:05 +0000)]
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
brain [Sun, 24 Aug 2008 19:19:57 +0000 (19:19 +0000)]
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
brain [Sun, 24 Aug 2008 19:08:54 +0000 (19:08 +0000)]
Move
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10239
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 24 Aug 2008 19:08:36 +0000 (19:08 +0000)]
work in progress
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10238
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 24 Aug 2008 16:37:43 +0000 (16:37 +0000)]
Remove m_proxyscan; not functional and not targetted at 1.2 release anyway
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10237
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sat, 23 Aug 2008 23:23:38 +0000 (23:23 +0000)]
Forward port r10234, thanks psychon
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10235
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Sat, 23 Aug 2008 17:11:54 +0000 (17:11 +0000)]
typo
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10233
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sat, 23 Aug 2008 17:07:13 +0000 (17:07 +0000)]
Move unused code to the bottom of the file
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10232
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sat, 23 Aug 2008 17:05:59 +0000 (17:05 +0000)]
Update doc on m_chanlog
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10231
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sat, 23 Aug 2008 16:58:28 +0000 (16:58 +0000)]
Fix bug that would cause tags to be ignored (etc), thanks dz
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10230
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sat, 23 Aug 2008 16:32:54 +0000 (16:32 +0000)]
Convert m_chanlog from using logfile output (dangerous, not really that useful) to logging snotices to channel instead, using OnSendSnotice.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10229
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sat, 23 Aug 2008 15:19:48 +0000 (15:19 +0000)]
Remove (unnecessary) compiler warning bypass; we don't need to assign TreeSocket to a temporary var anyway, so remove the assign and we have no need to get gcc to ignore an unused var ;p.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10228
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sat, 23 Aug 2008 14:51:12 +0000 (14:51 +0000)]
Remove unused itab array
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10227
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Sat, 23 Aug 2008 11:36:02 +0000 (11:36 +0000)]
nuke some debug not needed anymore
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10226
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Fri, 22 Aug 2008 20:07:48 +0000 (20:07 +0000)]
Actually call OnSendSnotice event.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10224
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 22 Aug 2008 20:01:13 +0000 (20:01 +0000)]
EWWW windows line endings!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10223
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Fri, 22 Aug 2008 19:12:18 +0000 (19:12 +0000)]
Actually, we did manage to make a faster match than znc, when casemapping is taken into account. Hooray.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10222
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Fri, 22 Aug 2008 18:01:15 +0000 (18:01 +0000)]
Add OnSendSnotice(char &, std::string &, const std::string &) to modify/block/notify about snotices being sent to users.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10221
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Fri, 22 Aug 2008 17:49:36 +0000 (17:49 +0000)]
Add even more edge case matching tests (they all pass yay)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10220
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Fri, 22 Aug 2008 17:45:14 +0000 (17:45 +0000)]
There is no breakage here *jedi mind trick*
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10219
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Fri, 22 Aug 2008 17:39:00 +0000 (17:39 +0000)]
Match with the right args at least..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10218
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Fri, 22 Aug 2008 17:07:33 +0000 (17:07 +0000)]
Nuke last references to MatchText
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10217
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Fri, 22 Aug 2008 16:14:36 +0000 (16:14 +0000)]
Match conversion stuff.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10216
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Fri, 22 Aug 2008 15:16:46 +0000 (15:16 +0000)]
Revert automated conversion by Special, as it (unfortunately) neglects some details. It provides a useful start point, though, so it'll be used as the basis for the final conversion.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10215
e03df62e -2008-0410-955e-
edbf42e46eb7
special [Fri, 22 Aug 2008 10:09:36 +0000 (10:09 +0000)]
Fix a lot of calls to match() and uses of wildcard.h (which doesn't exist anymore) after w00t broke them. Still broken pending a few more changes (it's all w00t's fault.)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10214
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Thu, 21 Aug 2008 20:56:16 +0000 (20:56 +0000)]
match() is no longer a function+no header, now a static method of InspIRCd class, blah blah blah. Also rip out the 1.2 matcher, as it was slow, and replace it with one adapted from znc, which happens to be a tiny bit faster than 1.1's (and the fastest I've seen so far that works properly)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10212
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 21 Aug 2008 20:08:42 +0000 (20:08 +0000)]
Patch submitted by Dagonet that improves detection of gnutls and openssl
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10211
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 21 Aug 2008 16:07:54 +0000 (16:07 +0000)]
fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10207
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 21 Aug 2008 14:41:55 +0000 (14:41 +0000)]
zap the evil externs, and comment the lot
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10205
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Thu, 21 Aug 2008 13:50:43 +0000 (13:50 +0000)]
Typo
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10204
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Thu, 21 Aug 2008 13:49:40 +0000 (13:49 +0000)]
Don't even touch remote joins.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10202
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Thu, 21 Aug 2008 13:45:07 +0000 (13:45 +0000)]
Use ERR_BANNEDFROMCHAN, not ERR_TOOMANYCHANNELS
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10201
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 21 Aug 2008 13:40:34 +0000 (13:40 +0000)]
comments to explain wtf 'ENTRYPOINT' is where main() should be. In the future maybe we should have two main.cpp's one for windows and one for posix, in a similar way we do socket engines etc.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10200
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 21 Aug 2008 13:36:15 +0000 (13:36 +0000)]
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
brain [Thu, 21 Aug 2008 12:54:59 +0000 (12:54 +0000)]
add service install and remove calls to installer.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10198
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 21 Aug 2008 12:39:21 +0000 (12:39 +0000)]
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
brain [Thu, 21 Aug 2008 12:19:09 +0000 (12:19 +0000)]
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
brain [Thu, 21 Aug 2008 12:13:09 +0000 (12:13 +0000)]
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
brain [Thu, 21 Aug 2008 11:21:46 +0000 (11:21 +0000)]
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
brain [Thu, 21 Aug 2008 11:01:51 +0000 (11:01 +0000)]
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
brain [Wed, 20 Aug 2008 11:47:52 +0000 (11:47 +0000)]
properly coreexport the getcpu() function etc
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10184
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 20 Aug 2008 11:21:43 +0000 (11:21 +0000)]
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
brain [Wed, 20 Aug 2008 10:31:56 +0000 (10:31 +0000)]
We can finally have percent cpu in the stats z on windows now, same as it is on linux. The windows one surprisingly enough is more accurate than the linux one as posix gives no standard way of obtaining this. :-)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10181
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 20 Aug 2008 10:27:46 +0000 (10:27 +0000)]
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
brain [Wed, 20 Aug 2008 09:56:16 +0000 (09:56 +0000)]
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
brain [Tue, 19 Aug 2008 22:12:36 +0000 (22:12 +0000)]
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
brain [Mon, 18 Aug 2008 22:56:56 +0000 (22:56 +0000)]
Apply to clictx too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10164
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 18 Aug 2008 22:44:49 +0000 (22:44 +0000)]
Forward-port r10160: openssl partial write fucking shit up, add Namegduf to contributors
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10161
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 18 Aug 2008 19:25:05 +0000 (19:25 +0000)]
Increase the size of the matrix for map drawing to 250x250
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10158
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 17 Aug 2008 17:30:10 +0000 (17:30 +0000)]
Fix const_iterator issue in m_callerid (when did we alter this?)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10151
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 17 Aug 2008 16:53:22 +0000 (16:53 +0000)]
These are not percentages
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10150
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 17 Aug 2008 16:16:49 +0000 (16:16 +0000)]
Add OnParameterMissing to modehandler, called when the mode handler should have a parameter, but the parser found none
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10149
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 17 Aug 2008 15:40:29 +0000 (15:40 +0000)]
Another edge case suggested by peavey (passes)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10148
e03df62e -2008-0410-955e-
edbf42e46eb7