]> jfr.im git - solanum.git/log
solanum.git
8 years agomakefile: remove *.dll.a files too
William Pitcock [Sun, 20 Mar 2016 07:30:57 +0000 (02:30 -0500)] 
makefile: remove *.dll.a files too

8 years agoextensions/m_webirc: win32 fixes
William Pitcock [Sun, 20 Mar 2016 07:26:30 +0000 (02:26 -0500)] 
extensions/m_webirc: win32 fixes

8 years agom_stats: win32 fixes
William Pitcock [Sun, 20 Mar 2016 07:19:36 +0000 (02:19 -0500)] 
m_stats: win32 fixes

8 years agobandb: use _WIN32 guards where appropriate
William Pitcock [Sun, 20 Mar 2016 07:14:13 +0000 (02:14 -0500)] 
bandb: use _WIN32 guards where appropriate

8 years agoconfigure: move mingw check down a bit
William Pitcock [Sun, 20 Mar 2016 07:11:06 +0000 (02:11 -0500)] 
configure: move mingw check down a bit

8 years agoircd: build: tell libtool what to DLL_EXPORT
William Pitcock [Sun, 20 Mar 2016 07:08:14 +0000 (02:08 -0500)] 
ircd: build: tell libtool what to DLL_EXPORT

8 years agoconfigure: check for MINGW
William Pitcock [Sun, 20 Mar 2016 07:07:06 +0000 (02:07 -0500)] 
configure: check for MINGW

8 years agoircd: _WIN32 checks on geteuid() too
William Pitcock [Sun, 20 Mar 2016 07:04:26 +0000 (02:04 -0500)] 
ircd: _WIN32 checks on geteuid() too

8 years agoircd: ircd main: use librb functions for daemon management
William Pitcock [Sun, 20 Mar 2016 07:03:32 +0000 (02:03 -0500)] 
ircd: ircd main: use librb functions for daemon management

8 years agoircd: listener: more ss_family grr
William Pitcock [Sun, 20 Mar 2016 07:01:00 +0000 (02:01 -0500)] 
ircd: listener: more ss_family grr

8 years agoircd: ircd_signal: win32 stubs
William Pitcock [Sun, 20 Mar 2016 07:00:22 +0000 (02:00 -0500)] 
ircd: ircd_signal: win32 stubs

8 years agoircd: lexer: likewise
William Pitcock [Sun, 20 Mar 2016 06:59:09 +0000 (01:59 -0500)] 
ircd: lexer: likewise

8 years agoircd: ircd_parser: we do not need to include netinet/in.h
William Pitcock [Sun, 20 Mar 2016 06:58:28 +0000 (01:58 -0500)] 
ircd: ircd_parser: we do not need to include netinet/in.h

8 years agoircd: client: fix format string for free_user() debug notice
William Pitcock [Sun, 20 Mar 2016 06:57:19 +0000 (01:57 -0500)] 
ircd: client: fix format string for free_user() debug notice

8 years agoinclude: hostmask: use GET_SS_FAMILY()
William Pitcock [Sun, 20 Mar 2016 06:55:31 +0000 (01:55 -0500)] 
include: hostmask: use GET_SS_FAMILY()

8 years agoircd: use GET_SS_FAMILY() in a bunch of places
William Pitcock [Sun, 20 Mar 2016 06:54:24 +0000 (01:54 -0500)] 
ircd: use GET_SS_FAMILY() in a bunch of places

8 years agoircd: blacklist: use GET_SS_FAMILY()
William Pitcock [Sun, 20 Mar 2016 06:48:14 +0000 (01:48 -0500)] 
ircd: blacklist: use GET_SS_FAMILY()

8 years agolibrb: rb_dictionary: temporary hack to shut up gcc on windows
William Pitcock [Sun, 20 Mar 2016 06:46:00 +0000 (01:46 -0500)] 
librb: rb_dictionary: temporary hack to shut up gcc on windows

8 years agoircd: rewrite SOCKET_ERROR as I_SOCKET_ERROR
William Pitcock [Sun, 20 Mar 2016 06:44:00 +0000 (01:44 -0500)] 
ircd: rewrite SOCKET_ERROR as I_SOCKET_ERROR

8 years agoauthd: some more win32 fixes
William Pitcock [Sun, 20 Mar 2016 06:37:00 +0000 (01:37 -0500)] 
authd: some more win32 fixes

8 years agoauthd/reslib: include rb_lib.h
William Pitcock [Sun, 20 Mar 2016 06:33:23 +0000 (01:33 -0500)] 
authd/reslib: include rb_lib.h

8 years agoauthd: use GET_SS_FAMILY() where appropriate
William Pitcock [Sun, 20 Mar 2016 06:30:24 +0000 (01:30 -0500)] 
authd: use GET_SS_FAMILY() where appropriate

8 years agoauthd: use _WIN32 as the define for checking windows presence
William Pitcock [Sun, 20 Mar 2016 06:19:46 +0000 (01:19 -0500)] 
authd: use _WIN32 as the define for checking windows presence

8 years agostdinc: more cleanups
William Pitcock [Sun, 20 Mar 2016 06:19:07 +0000 (01:19 -0500)] 
stdinc: more cleanups

8 years agoauthd: initial pass at win32 porting
William Pitcock [Sun, 20 Mar 2016 06:16:41 +0000 (01:16 -0500)] 
authd: initial pass at win32 porting

8 years agolibrb: win32: more cleanups
William Pitcock [Sun, 20 Mar 2016 05:41:01 +0000 (00:41 -0500)] 
librb: win32: more cleanups

8 years agocommio: even more win32 fixes
William Pitcock [Sun, 20 Mar 2016 05:38:46 +0000 (00:38 -0500)] 
commio: even more win32 fixes

8 years agocommio: further win32 fixes
William Pitcock [Sun, 20 Mar 2016 05:37:50 +0000 (00:37 -0500)] 
commio: further win32 fixes

8 years agocommio: win32 fixes
William Pitcock [Sun, 20 Mar 2016 05:36:35 +0000 (00:36 -0500)] 
commio: win32 fixes

8 years agolibrb: further cleanups
William Pitcock [Sun, 20 Mar 2016 05:35:13 +0000 (00:35 -0500)] 
librb: further cleanups

8 years agolibrb: some win32 fixes
William Pitcock [Sun, 20 Mar 2016 05:33:19 +0000 (00:33 -0500)] 
librb: some win32 fixes

8 years agolibrb: only install WSA stubs if windows SDK does not provide them
William Pitcock [Sun, 20 Mar 2016 05:18:42 +0000 (00:18 -0500)] 
librb: only install WSA stubs if windows SDK does not provide them

8 years agoconfigure: check -lws2_32 for socket() too
William Pitcock [Sun, 20 Mar 2016 05:11:06 +0000 (00:11 -0500)] 
configure: check -lws2_32 for socket() too

8 years agoircd: remove basically entirely pointless ServerInfo.hub (closes #167)
William Pitcock [Sun, 20 Mar 2016 04:05:07 +0000 (23:05 -0500)] 
ircd: remove basically entirely pointless ServerInfo.hub (closes #167)

8 years agoensure we do not distribute flex/bison files
William Pitcock [Sun, 20 Mar 2016 00:22:14 +0000 (19:22 -0500)] 
ensure we do not distribute flex/bison files

8 years agoconfig.h delenda est
Elizabeth Myers [Sun, 20 Mar 2016 00:14:26 +0000 (19:14 -0500)] 
config.h delenda est

8 years agoCan IGNORE_BOGUS_TS at the behest of @kaniini and @jilest
Elizabeth Myers [Sat, 19 Mar 2016 23:55:13 +0000 (18:55 -0500)] 
Can IGNORE_BOGUS_TS at the behest of @kaniini and @jilest

8 years agorb_dictionary: add include needed for int types.
Elizabeth Myers [Sat, 19 Mar 2016 20:58:30 +0000 (15:58 -0500)] 
rb_dictionary: add include needed for int types.

8 years agoircd/sslproc: same for zlib_ok
William Pitcock [Sat, 19 Mar 2016 05:58:57 +0000 (00:58 -0500)] 
ircd/sslproc: same for zlib_ok

8 years agossld: do not shadow openssl-internal symbol "ssl_ok" (yeah, i know)
William Pitcock [Sat, 19 Mar 2016 05:58:15 +0000 (00:58 -0500)] 
ssld: do not shadow openssl-internal symbol "ssl_ok" (yeah, i know)

8 years agoircd: do not shadow internal openssl symbol "ssl_ok" (yeah, i know)
William Pitcock [Sat, 19 Mar 2016 05:57:32 +0000 (00:57 -0500)] 
ircd: do not shadow internal openssl symbol "ssl_ok" (yeah, i know)

8 years agosslproc: return after calling free_ssl_daemon() when in sandbox ipc service routine
William Pitcock [Sat, 19 Mar 2016 05:04:38 +0000 (00:04 -0500)] 
sslproc: return after calling free_ssl_daemon() when in sandbox ipc service routine

8 years agobandb: embedded sqlite3: fix build on cygwin
William Pitcock [Sat, 19 Mar 2016 04:39:13 +0000 (23:39 -0500)] 
bandb: embedded sqlite3: fix build on cygwin

8 years agolibrb: use charybdis acinclude dir
William Pitcock [Sat, 19 Mar 2016 04:28:42 +0000 (23:28 -0500)] 
librb: use charybdis acinclude dir

8 years agoircd: link libircd with -no-external
William Pitcock [Sat, 19 Mar 2016 04:14:07 +0000 (23:14 -0500)] 
ircd: link libircd with -no-external

8 years agoinstall-sh: make +x
Elizabeth Myers [Fri, 18 Mar 2016 21:25:38 +0000 (16:25 -0500)] 
install-sh: make +x

8 years agoircd: fix a really retarded GCC warning by being anal retentively "standards compliant"
Elizabeth Myers [Fri, 18 Mar 2016 20:53:43 +0000 (15:53 -0500)] 
ircd: fix a really retarded GCC warning by being anal retentively "standards compliant"

8 years agocrypt: fix strict-aliasing warnings by using an explicit alias.
Elizabeth Myers [Fri, 18 Mar 2016 20:46:09 +0000 (15:46 -0500)] 
crypt: fix strict-aliasing warnings by using an explicit alias.

8 years agomodules: fix stupid GCC false positive warning.
Elizabeth Myers [Fri, 18 Mar 2016 20:32:33 +0000 (15:32 -0500)] 
modules: fix stupid GCC false positive warning.

This invocation of strlen is on a constant string and should be folded
by any sane compiler (GCC included), but it warns anyway because GCC is
stupid.

8 years agoUpdate gitignore
Elizabeth Myers [Fri, 18 Mar 2016 20:17:53 +0000 (15:17 -0500)] 
Update gitignore

8 years agoRemove unnecessary autotools cruft and other detritus
Elizabeth Myers [Fri, 18 Mar 2016 20:12:42 +0000 (15:12 -0500)] 
Remove unnecessary autotools cruft and other detritus

8 years agoAdd --enable-ignore-bogus-ts flag.
Elizabeth Myers [Fri, 18 Mar 2016 20:02:59 +0000 (15:02 -0500)] 
Add --enable-ignore-bogus-ts flag.

This hoists the option out of config.h.

8 years agoconfigure: add ENABLE_OPER_CHGHOST flag
Elizabeth Myers [Fri, 18 Mar 2016 19:57:08 +0000 (14:57 -0500)] 
configure: add ENABLE_OPER_CHGHOST flag

8 years agoconfig.h: update a tad
Elizabeth Myers [Fri, 18 Mar 2016 19:43:50 +0000 (14:43 -0500)] 
config.h: update a tad

8 years agoRemove aclocal.m4
Elizabeth Myers [Fri, 18 Mar 2016 19:35:21 +0000 (14:35 -0500)] 
Remove aclocal.m4

8 years agoparse: ensure that aliases have a sufficient number of parameters before trying to...
William Pitcock [Fri, 18 Mar 2016 04:12:43 +0000 (23:12 -0500)] 
parse: ensure that aliases have a sufficient number of parameters before trying to process them

8 years agomailmap: Sam is Christine now apparently.
Elizabeth Myers [Thu, 17 Mar 2016 19:48:46 +0000 (14:48 -0500)] 
mailmap: Sam is Christine now apparently.

8 years agodns: remove unneeded defines
Elizabeth Myers [Tue, 15 Mar 2016 03:15:28 +0000 (22:15 -0500)] 
dns: remove unneeded defines

8 years agoMerge branch 'master' of github.com:charybdis-ircd/charybdis
Elizabeth Myers [Tue, 15 Mar 2016 03:14:28 +0000 (22:14 -0500)] 
Merge branch 'master' of github.com:charybdis-ircd/charybdis

8 years agoircd: Don't refer to the IP address as a "netmask" in error messages
Simon Arlott [Mon, 14 Mar 2016 22:38:04 +0000 (22:38 +0000)] 
ircd: Don't refer to the IP address as a "netmask" in error messages

8 years agodns: use a dictionary for query storage
Elizabeth Myers [Sun, 13 Mar 2016 08:23:41 +0000 (03:23 -0500)] 
dns: use a dictionary for query storage

8 years agoauthd: fix a fallthrough.
Elizabeth Myers [Sun, 13 Mar 2016 08:22:41 +0000 (03:22 -0500)] 
authd: fix a fallthrough.

8 years agorb_dictionary: add functions for uint64_t (long) variables.
Elizabeth Myers [Sun, 13 Mar 2016 06:16:19 +0000 (00:16 -0600)] 
rb_dictionary: add functions for uint64_t (long) variables.

8 years agoreference.conf: fix me being an incompetent fuckwit.
Elizabeth Myers [Sun, 13 Mar 2016 02:27:37 +0000 (20:27 -0600)] 
reference.conf: fix me being an incompetent fuckwit.

Blind search and replace ruined this file. Remember to check your
regexes, people.

8 years agomodules: can .la suffix.
Elizabeth Myers [Sun, 13 Mar 2016 02:10:46 +0000 (20:10 -0600)] 
modules: can .la suffix.

.la archives are prohibited by most Linux distributions because they
clutter up the linker. They may get caught up as victims in scripts that
purge .la files. Besides, .la files don't matter for simple loadable
modules on most systems.

So, what we do now instead is just use the platform suffix detected by
libtool.

8 years agocancel_query: fix stupid build error
Elizabeth Myers [Sat, 12 Mar 2016 13:36:57 +0000 (07:36 -0600)] 
cancel_query: fix stupid build error

8 years agoauthd: add the ability to cancel DNS requests
Elizabeth Myers [Sat, 12 Mar 2016 13:10:27 +0000 (07:10 -0600)] 
authd: add the ability to cancel DNS requests

8 years agoauthd: add improved API for internal usage
Elizabeth Myers [Sat, 12 Mar 2016 13:08:27 +0000 (07:08 -0600)] 
authd: add improved API for internal usage

This is similar to what exists in ircd, but instead of request ID's, we
return struct dns_query pointers (that are freed by the DNS callback, so
you don't have to worry about their lifecycle management).

8 years agoReally fix the help index.
Elizabeth Myers [Sat, 12 Mar 2016 12:26:50 +0000 (06:26 -0600)] 
Really fix the help index.

8 years agoRegenerate user help index.
Elizabeth Myers [Sat, 12 Mar 2016 12:23:23 +0000 (06:23 -0600)] 
Regenerate user help index.

8 years agoWhat I really meant to say.
Elizabeth Myers [Thu, 10 Mar 2016 17:42:37 +0000 (11:42 -0600)] 
What I really meant to say.

8 years agoStop building this branch plzkthxbai
Elizabeth Myers [Thu, 10 Mar 2016 17:32:46 +0000 (11:32 -0600)] 
Stop building this branch plzkthxbai

8 years agoauthd: crap, C was taken already, rename reload to H.
Elizabeth Myers [Thu, 10 Mar 2016 14:06:57 +0000 (08:06 -0600)] 
authd: crap, C was taken already, rename reload to H.

8 years agoSend cnotice/cprivmsg help to Hades.
Elizabeth Myers [Thu, 10 Mar 2016 08:15:28 +0000 (02:15 -0600)] 
Send cnotice/cprivmsg help to Hades.

8 years agomodules: remove explicit CPRIVMSG/CNOTICE, this has been obsolete for a long time
William Pitcock [Thu, 10 Mar 2016 08:12:59 +0000 (02:12 -0600)] 
modules: remove explicit CPRIVMSG/CNOTICE, this has been obsolete for a long time

8 years agom_error: use strncasecmp, not strcmp
Elizabeth Myers [Thu, 10 Mar 2016 00:53:08 +0000 (18:53 -0600)] 
m_error: use strncasecmp, not strcmp

8 years agom_stats: eliminate special casing of calling the stats L handler.
Elizabeth Myers [Wed, 9 Mar 2016 23:19:16 +0000 (17:19 -0600)] 
m_stats: eliminate special casing of calling the stats L handler.

8 years agoauthd, m_stats: fix command table sizes
Mantas Mikulėnas [Wed, 9 Mar 2016 16:15:42 +0000 (18:15 +0200)] 
authd, m_stats: fix command table sizes

There are 256 possible byte values.

8 years agorehash: don't restart authd for DNS reloads
Elizabeth Myers [Wed, 9 Mar 2016 09:46:04 +0000 (03:46 -0600)] 
rehash: don't restart authd for DNS reloads

This could lead to pretty nasty things, like losing DNS (and in the
future, ident) queries. That's a Bad Thing™.

8 years agoMore bool conversions
Elizabeth Myers [Wed, 9 Mar 2016 08:19:31 +0000 (02:19 -0600)] 
More bool conversions

8 years agoMerge branch 'elizafox-cleanups' of github.com:charybdis-ircd/charybdis into elizafox...
Elizabeth Myers [Wed, 9 Mar 2016 08:10:36 +0000 (02:10 -0600)] 
Merge branch 'elizafox-cleanups' of github.com:charybdis-ircd/charybdis into elizafox-cleanups

8 years agoFix m_xline [ci skip]
Elizabeth Myers [Wed, 9 Mar 2016 08:10:23 +0000 (02:10 -0600)] 
Fix m_xline [ci skip]

8 years agoMore bool conversions [ci skip]
Elizabeth Myers [Wed, 9 Mar 2016 08:06:21 +0000 (02:06 -0600)] 
More bool conversions [ci skip]

8 years agoMore bool conversions [ci skip]
Elizabeth Myers [Wed, 9 Mar 2016 08:06:21 +0000 (02:06 -0600)] 
More bool conversions [ci skip]

8 years agoRemove dead variable "cold_start" that no longer exists [ci skip]
Elizabeth Myers [Wed, 9 Mar 2016 08:01:26 +0000 (02:01 -0600)] 
Remove dead variable "cold_start" that no longer exists [ci skip]

8 years agoMore bool conversions
Elizabeth Myers [Wed, 9 Mar 2016 08:00:40 +0000 (02:00 -0600)] 
More bool conversions

8 years agom_close: remove dangling return [ci skip]
Elizabeth Myers [Wed, 9 Mar 2016 07:44:45 +0000 (01:44 -0600)] 
m_close: remove dangling return [ci skip]

8 years agom_chghost: convert more stuff to bool [ci skip]
Elizabeth Myers [Wed, 9 Mar 2016 07:44:05 +0000 (01:44 -0600)] 
m_chghost: convert more stuff to bool [ci skip]

8 years agoMerge branch 'master' of github.com:charybdis-ircd/charybdis into elizafox-cleanups
Elizabeth Myers [Wed, 9 Mar 2016 07:41:10 +0000 (01:41 -0600)] 
Merge branch 'master' of github.com:charybdis-ircd/charybdis into elizafox-cleanups

8 years agoMessage handlers should return void.
Elizabeth Myers [Wed, 9 Mar 2016 07:37:03 +0000 (01:37 -0600)] 
Message handlers should return void.

Also fix up some return values and stuff to use bool (or void if
nothing). I just did it whilst I was here.

According to jilles, the return value used to signify whether or not the
client had exited. This was error-prone and was fixed a long, long time
ago, but the return value was left int for historical reasons.

Since the return type is not used (and has no clear use case anyway),
it's safe to just get rid of it.

8 years agoMerge pull request #163 from awilfox/master
Elizabeth Myers [Wed, 9 Mar 2016 07:30:52 +0000 (01:30 -0600)] 
Merge pull request #163 from awilfox/master

core/m_error: Be consistent in strncmp usage

8 years agoMove module description headers to the top
Elizabeth Myers [Wed, 9 Mar 2016 07:29:41 +0000 (01:29 -0600)] 
Move module description headers to the top

This is cleaner.

Note this was broken out of a much larger piece of work I did, so if
there's any problems, I apologise!

8 years agocore/m_error: Be consistent in strncmp usage
Andrew Wilcox [Wed, 9 Mar 2016 07:08:23 +0000 (01:08 -0600)] 
core/m_error: Be consistent in strncmp usage

8 years agoircd: further cleanup of YES/NO
William Pitcock [Tue, 8 Mar 2016 19:52:48 +0000 (13:52 -0600)] 
ircd: further cleanup of YES/NO

8 years agoircd: fix up some iwarn() calls which referred to L_MAIN
William Pitcock [Tue, 8 Mar 2016 19:47:41 +0000 (13:47 -0600)] 
ircd: fix up some iwarn() calls which referred to L_MAIN

8 years agomodules: using labs() for date math is unsafe
William Pitcock [Tue, 8 Mar 2016 19:46:19 +0000 (13:46 -0600)] 
modules: using labs() for date math is unsafe

8 years agos_conf: remove YES/NO references
William Pitcock [Tue, 8 Mar 2016 19:45:29 +0000 (13:45 -0600)] 
s_conf: remove YES/NO references

8 years agos_user: clean up return types and can YES/NO.
Elizabeth Myers [Tue, 8 Mar 2016 11:06:29 +0000 (05:06 -0600)] 
s_user: clean up return types and can YES/NO.

8 years agoDetect stdbool.h and add conformant shims if it isn't available
Elizabeth Myers [Tue, 8 Mar 2016 10:52:31 +0000 (04:52 -0600)] 
Detect stdbool.h and add conformant shims if it isn't available

Charybdis requires C99 already, so it's high time we start using
stdbool. I've converted a few pieces of code already.

A lot of the old code that uses YES/NO should probably be updated too
because that's fucking hideous.

8 years agoRemove another silly outdated comment [ci skip]
Elizabeth Myers [Tue, 8 Mar 2016 10:40:46 +0000 (04:40 -0600)] 
Remove another silly outdated comment [ci skip]