]> arthur.barton.de Git - ngircd-alex.git/log
ngircd-alex.git
18 years agoNew files for the Doxygen source code documentation system.
Alexander Barton [Fri, 22 Jul 2005 20:58:22 +0000 (20:58 +0000)]
New files for the Doxygen source code documentation system.

18 years agochange Handle_OPERATOR() formatting
Florian Westphal [Sun, 17 Jul 2005 18:58:04 +0000 (18:58 +0000)]
change Handle_OPERATOR() formatting

18 years agoprevent io_masterfd leak when library_init() is called twice
Florian Westphal [Thu, 14 Jul 2005 14:35:38 +0000 (14:35 +0000)]
prevent io_masterfd leak when library_init() is called twice

18 years agoCleaned up some log messages.
Alexander Barton [Thu, 14 Jul 2005 09:20:39 +0000 (09:20 +0000)]
Cleaned up some log messages.

18 years agoBrought some debug log messages "in line".
Alexander Barton [Thu, 14 Jul 2005 09:14:12 +0000 (09:14 +0000)]
Brought some debug log messages "in line".

18 years agoReformatted some comments.
Alexander Barton [Thu, 14 Jul 2005 09:11:38 +0000 (09:11 +0000)]
Reformatted some comments.

18 years agoremoved unneeded variable "bsize"
Florian Westphal [Wed, 13 Jul 2005 16:06:55 +0000 (16:06 +0000)]
removed unneeded variable "bsize"

18 years agoadd better error checks for io_ routines
Florian Westphal [Tue, 12 Jul 2005 20:44:46 +0000 (20:44 +0000)]
add better error checks for io_ routines

18 years agoremoved unneeded return statement
Florian Westphal [Tue, 12 Jul 2005 20:44:13 +0000 (20:44 +0000)]
removed unneeded return statement

18 years agofix embarassing buffer-off-by one
Florian Westphal [Mon, 11 Jul 2005 20:58:05 +0000 (20:58 +0000)]
fix embarassing buffer-off-by one

18 years agomake Conn_NewListener local to conn.c
Florian Westphal [Mon, 11 Jul 2005 14:56:38 +0000 (14:56 +0000)]
make Conn_NewListener local to conn.c

18 years agomade a few config options unsigned.
Florian Westphal [Mon, 11 Jul 2005 14:11:35 +0000 (14:11 +0000)]
made a few config options unsigned.

18 years agochange assertions to stop splint from complaining
Florian Westphal [Mon, 11 Jul 2005 14:10:53 +0000 (14:10 +0000)]
change assertions to stop splint from complaining

18 years agos/strcpy/strlcpy/
Florian Westphal [Sun, 10 Jul 2005 21:07:22 +0000 (21:07 +0000)]
s/strcpy/strlcpy/

18 years agominor cosmetic changes
Florian Westphal [Sat, 9 Jul 2005 21:35:20 +0000 (21:35 +0000)]
minor cosmetic changes

18 years agoremoved some Debug-Code.
Florian Westphal [Sat, 9 Jul 2005 20:23:00 +0000 (20:23 +0000)]
removed some Debug-Code.

18 years agoio_library_shutdown: return void
Florian Westphal [Sat, 9 Jul 2005 20:22:29 +0000 (20:22 +0000)]
io_library_shutdown: return void

18 years agoUpdated some URLs in the documentation.
Alexander Barton [Sat, 9 Jul 2005 14:39:42 +0000 (14:39 +0000)]
Updated some URLs in the documentation.

18 years agoOnly setuid()/setgid() if it differs from current UID/GID.
Alexander Barton [Fri, 8 Jul 2005 23:19:20 +0000 (23:19 +0000)]
Only setuid()/setgid() if it differs from current UID/GID.
Solves problems with Cygwin.

18 years agoUse "ServerUID" (and not internal variable name) for error message.
Alexander Barton [Fri, 8 Jul 2005 21:04:39 +0000 (21:04 +0000)]
Use "ServerUID" (and not internal variable name) for error message.

18 years agoUpdated documentation.
Alexander Barton [Fri, 8 Jul 2005 16:23:00 +0000 (16:23 +0000)]
Updated documentation.

18 years agoAdded "doc/Zeroconf.txt" to distribution.
Alexander Barton [Fri, 8 Jul 2005 16:19:03 +0000 (16:19 +0000)]
Added "doc/Zeroconf.txt" to distribution.

18 years agoRenamed "Rendezvous" to "Zeroconf".
Alexander Barton [Fri, 8 Jul 2005 16:18:38 +0000 (16:18 +0000)]
Renamed "Rendezvous" to "Zeroconf".

18 years agoNew section "runtime".
Alexander Barton [Fri, 8 Jul 2005 12:40:09 +0000 (12:40 +0000)]
New section "runtime".

18 years agoWhitespace fixes.
Alexander Barton [Fri, 8 Jul 2005 12:39:38 +0000 (12:39 +0000)]
Whitespace fixes.

18 years agosafemult_uint(): return bool
Florian Westphal [Thu, 7 Jul 2005 21:26:31 +0000 (21:26 +0000)]
safemult_uint(): return bool

18 years agodocument b0rken resolver on GNU/Linux
Florian Westphal [Thu, 7 Jul 2005 20:53:35 +0000 (20:53 +0000)]
document b0rken resolver on GNU/Linux

18 years agonew buffer/IO API.
Florian Westphal [Thu, 7 Jul 2005 18:50:23 +0000 (18:50 +0000)]
new buffer/IO API.

18 years agotest for epoll and kqueue support
Florian Westphal [Thu, 7 Jul 2005 18:49:58 +0000 (18:49 +0000)]
test for epoll and kqueue support

18 years agouse new io event API.
Florian Westphal [Thu, 7 Jul 2005 18:49:04 +0000 (18:49 +0000)]
use new io event API.

18 years agouse dynamically sized unzip/zip buffer
Florian Westphal [Thu, 7 Jul 2005 18:48:33 +0000 (18:48 +0000)]
use dynamically sized unzip/zip buffer

18 years agonew io/buffer api.
Florian Westphal [Thu, 7 Jul 2005 18:47:46 +0000 (18:47 +0000)]
new io/buffer api.

18 years agoremove FD_SETSIZE check (now in io_* functions)
Florian Westphal [Thu, 7 Jul 2005 18:46:46 +0000 (18:46 +0000)]
remove FD_SETSIZE check (now in io_* functions)

18 years agouse dynamic io buffers
Florian Westphal [Thu, 7 Jul 2005 18:45:33 +0000 (18:45 +0000)]
use dynamic io buffers

18 years agouse new buffer API
Florian Westphal [Thu, 7 Jul 2005 18:39:45 +0000 (18:39 +0000)]
use new buffer API

18 years agocleanup, use new io layer.
Florian Westphal [Thu, 7 Jul 2005 18:39:08 +0000 (18:39 +0000)]
cleanup, use new io layer.

18 years agoadd new IO layer
Florian Westphal [Thu, 7 Jul 2005 18:38:35 +0000 (18:38 +0000)]
add new IO layer

18 years agoadd new buffer abstraction layer
Florian Westphal [Thu, 7 Jul 2005 18:38:14 +0000 (18:38 +0000)]
add new buffer abstraction layer

18 years agoremoved Resolve_Init()
Florian Westphal [Thu, 7 Jul 2005 18:37:36 +0000 (18:37 +0000)]
removed Resolve_Init()

18 years agoFixed maximum length of user names, now allow up to 9 characters.
Alexander Barton [Tue, 5 Jul 2005 22:44:47 +0000 (22:44 +0000)]
Fixed maximum length of user names, now allow up to 9 characters.

18 years agoUpdated documentation.
Alexander Barton [Sat, 2 Jul 2005 14:46:38 +0000 (14:46 +0000)]
Updated documentation.

18 years agoHandle oversized messages which should be sent to the network better.
Alexander Barton [Sat, 2 Jul 2005 14:36:03 +0000 (14:36 +0000)]
Handle oversized messages which should be sent to the network better.

18 years agoCode and comment cleanups, new #define "CUT_TXTSUFFIX".
Alexander Barton [Sat, 2 Jul 2005 14:33:45 +0000 (14:33 +0000)]
Code and comment cleanups, new #define "CUT_TXTSUFFIX".

18 years agoPrepare documentation for release 0.9.0 ...
Alexander Barton [Sun, 26 Jun 2005 21:54:01 +0000 (21:54 +0000)]
Prepare documentation for release 0.9.0 ...

18 years agoFix compiler warning "comparision between signed and unsigned".
Alexander Barton [Sun, 26 Jun 2005 13:43:59 +0000 (13:43 +0000)]
Fix compiler warning "comparision between signed and unsigned".

18 years agoFixed wrong order of #includes in test for "socklen_t" (caused problems on OpenBSD).
Alexander Barton [Sun, 26 Jun 2005 13:42:11 +0000 (13:42 +0000)]
Fixed wrong order of #includes in test for "socklen_t" (caused problems on OpenBSD).

18 years agoUpdated URLs.
Alexander Barton [Fri, 24 Jun 2005 20:59:13 +0000 (20:59 +0000)]
Updated URLs.

18 years agoIgnore unknown commands received before the client is registered.
Alexander Barton [Fri, 24 Jun 2005 20:56:46 +0000 (20:56 +0000)]
Ignore unknown commands received before the client is registered.

18 years agoGet rid of Log_SetDaemonized().
Alexander Barton [Fri, 24 Jun 2005 19:55:10 +0000 (19:55 +0000)]
Get rid of Log_SetDaemonized().

18 years agoremoved global variable NGIRCd_NoDaemon
Florian Westphal [Fri, 24 Jun 2005 19:20:56 +0000 (19:20 +0000)]
removed global variable NGIRCd_NoDaemon

18 years agoput badchars back in
Florian Westphal [Sat, 18 Jun 2005 08:57:37 +0000 (08:57 +0000)]
put badchars back in

18 years agofix embarassing cut&paste error (add missing } )
Florian Westphal [Fri, 17 Jun 2005 23:17:09 +0000 (23:17 +0000)]
fix embarassing cut&paste error (add missing } )

18 years agofix "Can't get user information for UID" error message
Florian Westphal [Fri, 17 Jun 2005 23:13:41 +0000 (23:13 +0000)]
fix "Can't get user information for UID" error message

18 years agoonly chdir() to users home when running as daemon
Florian Westphal [Fri, 17 Jun 2005 20:35:45 +0000 (20:35 +0000)]
only chdir() to users home when running as daemon

18 years agos/sprintf/snprintf
Florian Westphal [Fri, 17 Jun 2005 19:16:53 +0000 (19:16 +0000)]
s/sprintf/snprintf

18 years agouse strlcpy
Florian Westphal [Fri, 17 Jun 2005 19:15:43 +0000 (19:15 +0000)]
use strlcpy

18 years agoremove unneeded strpy()
Florian Westphal [Fri, 17 Jun 2005 19:14:58 +0000 (19:14 +0000)]
remove unneeded strpy()

18 years agostartup: fork only once, never run with uid 0
Florian Westphal [Fri, 17 Jun 2005 19:04:53 +0000 (19:04 +0000)]
startup: fork only once, never run with uid 0

18 years agostartup: fork only once, never run with uid 0.
Florian Westphal [Fri, 17 Jun 2005 18:22:45 +0000 (18:22 +0000)]
startup: fork only once, never run with uid 0.

18 years agoIRC_LIST(): Added missing calls of Client_ID() and cleand up the code.
Alexander Barton [Sun, 12 Jun 2005 18:23:59 +0000 (18:23 +0000)]
IRC_LIST(): Added missing calls of Client_ID() and cleand up the code.

18 years agochanged formatting to match ngircd coding style
Florian Westphal [Sun, 12 Jun 2005 18:02:09 +0000 (18:02 +0000)]
changed formatting to match ngircd coding style

18 years agoMake sure SimpleMessage() sends <= 512 chars
Florian Westphal [Sun, 12 Jun 2005 17:21:46 +0000 (17:21 +0000)]
Make sure SimpleMessage() sends <= 512 chars

18 years agoset 3 second penalty after failed /oper command.
Florian Westphal [Sun, 12 Jun 2005 17:18:27 +0000 (17:18 +0000)]
set 3 second penalty after failed /oper command.

18 years agoOnly register clients that have been connected at least 30 sec. in WHOIS database.
Alexander Barton [Sun, 12 Jun 2005 16:39:42 +0000 (16:39 +0000)]
Only register clients that have been connected at least 30 sec. in WHOIS database.

18 years agoModified Conn_StartTime() to use information of the CLIENT structure.
Alexander Barton [Sun, 12 Jun 2005 16:32:17 +0000 (16:32 +0000)]
Modified Conn_StartTime() to use information of the CLIENT structure.

18 years agoRemoved CONNECTION[].starttime, now saved in CLIENT structure.
Alexander Barton [Sun, 12 Jun 2005 16:28:55 +0000 (16:28 +0000)]
Removed CONNECTION[].starttime, now saved in CLIENT structure.

18 years agoNew function Client_StartTime().
Alexander Barton [Sun, 12 Jun 2005 16:18:49 +0000 (16:18 +0000)]
New function Client_StartTime().

18 years agoUpdated manual pages.
Alexander Barton [Sat, 4 Jun 2005 13:39:20 +0000 (13:39 +0000)]
Updated manual pages.

18 years agosend RFC compliant netsplit messages.
Florian Westphal [Sat, 4 Jun 2005 12:32:09 +0000 (12:32 +0000)]
send RFC compliant netsplit messages.

18 years agoFix Handling of quit messages: always send only one QUIT message.
Florian Westphal [Sat, 4 Jun 2005 11:53:24 +0000 (11:53 +0000)]
Fix Handling of quit messages: always send only one QUIT message.

18 years agoremove Try_Write(), Call Handle_Write() directly instead.
Florian Westphal [Sat, 4 Jun 2005 11:49:20 +0000 (11:49 +0000)]
remove Try_Write(), Call Handle_Write() directly instead.

18 years agoAdded some Doxygen documentation.
Alexander Barton [Wed, 1 Jun 2005 21:52:18 +0000 (21:52 +0000)]
Added some Doxygen documentation.

18 years agoFixed handling of symbolic links as used in /etc/rc.X directories.
Alexander Barton [Wed, 1 Jun 2005 21:51:11 +0000 (21:51 +0000)]
Fixed handling of symbolic links as used in /etc/rc.X directories.

18 years agoadd FreeRes_stat(), wait for resolver timeout.
Florian Westphal [Wed, 1 Jun 2005 21:28:50 +0000 (21:28 +0000)]
add FreeRes_stat(), wait for resolver timeout.

18 years agominor cleanup
Florian Westphal [Sat, 28 May 2005 10:46:50 +0000 (10:46 +0000)]
minor cleanup

18 years agoHandle splint errors more gracefully.
Alexander Barton [Mon, 23 May 2005 00:11:15 +0000 (00:11 +0000)]
Handle splint errors more gracefully.

18 years agoDon't exit server if closing of a socket fails; instead ignore it and
Alexander Barton [Sun, 22 May 2005 23:55:57 +0000 (23:55 +0000)]
Don't exit server if closing of a socket fails; instead ignore it and
pray that this will be "the right thing" ...

18 years agoAdded version information to summary text.
Alexander Barton [Sat, 21 May 2005 21:34:47 +0000 (21:34 +0000)]
Added version information to summary text.

18 years agoReformatted and documented code of the first part of the IRC_NICK()
Alexander Barton [Tue, 17 May 2005 23:24:43 +0000 (23:24 +0000)]
Reformatted and documented code of the first part of the IRC_NICK()
function; and register WHOWAS entries on nickname changes, too.

18 years agoNew function Client_RegisterWhowas().
Alexander Barton [Tue, 17 May 2005 23:18:54 +0000 (23:18 +0000)]
New function Client_RegisterWhowas().

18 years agoImplemented IRC function "WHOWAS".
Alexander Barton [Mon, 16 May 2005 12:25:15 +0000 (12:25 +0000)]
Implemented IRC function "WHOWAS".

18 years agoNew functions Client_GetWhowas and Client_GetLastWhowasIndex; new structure WHOWAS.
Alexander Barton [Mon, 16 May 2005 12:24:31 +0000 (12:24 +0000)]
New functions Client_GetWhowas and Client_GetLastWhowasIndex; new structure WHOWAS.

18 years agoNew functions Client_GetWhowas, Client_GetLastWhowasIndex, and Register_Whowas.
Alexander Barton [Mon, 16 May 2005 12:23:48 +0000 (12:23 +0000)]
New functions Client_GetWhowas, Client_GetLastWhowasIndex, and Register_Whowas.

18 years agoNew defines MAX_WHOWAS and DEFAULT_WHOWAS.
Alexander Barton [Mon, 16 May 2005 12:22:32 +0000 (12:22 +0000)]
New defines MAX_WHOWAS and DEFAULT_WHOWAS.

18 years agoAway status texts set due to "a"-Modes received from other servers have
Alexander Barton [Sat, 14 May 2005 20:29:34 +0000 (20:29 +0000)]
Away status texts set due to "a"-Modes received from other servers have
been fixed: the status text of the server has been set instead of the
away status text of the client (most probably introduced by patch 1.36).

19 years agoRemove "doc/src" directory on "make distclean".
Alexander Barton [Wed, 27 Apr 2005 07:52:29 +0000 (07:52 +0000)]
Remove "doc/src" directory on "make distclean".

19 years agoAdded #include of "defines.h", necessary due to removal of the #include of
Alexander Barton [Wed, 27 Apr 2005 07:46:50 +0000 (07:46 +0000)]
Added #include of "defines.h", necessary due to removal of the #include of
"defines.h" in the client.h header file.

19 years agoReorder #includes, necessary due to removal of #include "defines.h" in
Alexander Barton [Wed, 27 Apr 2005 07:38:00 +0000 (07:38 +0000)]
Reorder #includes, necessary due to removal of #include "defines.h" in
the client.h header file.

19 years agoRemoved "invalid" #include of "defines.h" (don't include further header
Alexander Barton [Wed, 27 Apr 2005 07:36:25 +0000 (07:36 +0000)]
Removed "invalid" #include of "defines.h" (don't include further header
files from a header file!).

19 years agoAdded missing #include of "defines.h".
Alexander Barton [Wed, 27 Apr 2005 07:34:25 +0000 (07:34 +0000)]
Added missing #include of "defines.h".

19 years agoremoved Conn_UnsetOption() function. It was not used anymore.
Florian Westphal [Mon, 25 Apr 2005 18:37:16 +0000 (18:37 +0000)]
removed Conn_UnsetOption() function. It was not used anymore.
removed Conn_SetOption(). replaced its only call (in conn-zip.c) with Conn_OPTION_ADD() macro.

19 years agoremoved "my_connects" fd_set.
Florian Westphal [Sat, 23 Apr 2005 14:28:44 +0000 (14:28 +0000)]
removed "my_connects" fd_set.

19 years agoconn.h: option filed in CONNECTION struct is now UINT16.
Florian Westphal [Mon, 18 Apr 2005 21:08:31 +0000 (21:08 +0000)]
conn.h: option filed in CONNECTION struct is now UINT16.
conn-func.h: add accessor Macros

Conn_OPTION_ADD( conn, CONN_OPTION )
Conn_OPTION_DEL( conn, CONN_OPTION )
Conn_OPTION_ISSET( conn, CONN_OPTION )

To add, remove or test for a certain option field attribute (e.g. CONN_ISCLOSING)
These Macros should be used instead of accessing conn->options directly.

19 years agoCleaned up (and documented) the IRC_KILL() function.
Alexander Barton [Mon, 18 Apr 2005 15:44:39 +0000 (15:44 +0000)]
Cleaned up (and documented) the IRC_KILL() function.

19 years agofix spelling
Florian Westphal [Sat, 16 Apr 2005 20:50:03 +0000 (20:50 +0000)]
fix spelling

19 years agoadded kludge to make ngircd (with syslog) compile on mips-dec-ultrix4.5
Florian Westphal [Sat, 16 Apr 2005 09:31:30 +0000 (09:31 +0000)]
added kludge to make ngircd (with syslog) compile on mips-dec-ultrix4.5

19 years agouse strdup() to add oper hostname mask.
Florian Westphal [Sat, 16 Apr 2005 09:23:01 +0000 (09:23 +0000)]
use strdup() to add oper hostname mask.

19 years agoprivate strdup() implementation in case libc does not provide it.
Florian Westphal [Sat, 16 Apr 2005 09:20:53 +0000 (09:20 +0000)]
private strdup() implementation in case libc does not provide it.

19 years agos/malloc(x*y)/calloc(x,y)/
Florian Westphal [Sat, 16 Apr 2005 09:19:49 +0000 (09:19 +0000)]
s/malloc(x*y)/calloc(x,y)/

19 years agocheck for strdup()
Florian Westphal [Sat, 16 Apr 2005 07:26:44 +0000 (07:26 +0000)]
check for strdup()