Rolf Eike Beer
83bfdddf99
Allow IRC ops to ignore channel limits when joining
...
Allow IRC ops to ignore any channel limit (bans, invite only etc.) when they
want to join a channel.
2008-05-05 14:45:28 +02:00
Alexander Barton
2a790861a1
Handle 1-character messages terminated with CR or LF correctly
...
Code cleanup and fix for Bug #83 , "ngIRCd chokes on 1-character messages" in
function Handle_Buffer(): the buffer is now correctly cleared when ngIRCd
receives 1-character messages terminated with either CR or LF (in violation
to RFC 2812, section 2.3 "Messages", 5th paragraph).
2008-05-02 02:14:15 +02:00
Alexander Barton
4e507881f3
On AIX (for example) socklen_t is defined in sys/socket.h
...
On AIX and probably other systems socklen_t is defined in sys/socket.h,
so we have to include it here explicitly (tested by Florian).
2008-05-01 20:25:39 +02:00
Florian Westphal
f7c2e8223f
Always enable modeless channels.
...
Modeless channels (+channels) are described in RFC 2811;
so my modifications to
530112b114
('Add support for modeless channels')
to disable +channels for --strict-rfc configurations
were wrong. This reverts those changes.
2008-05-01 18:08:07 +02:00
Alexander Barton
60acc62af7
Prevent GIT to complain about opless-channel-test link
2008-05-01 16:31:13 +02:00
Ali Shemiran
530112b114
Add support for modeless channels
...
Add support for modeless channels (+channels).
[fw@strlen.de:
- integrate test cases
- don't support +channels when compiled with --strict-rfc
- do not set +o mode for channel creator
- force +nt mode when channel is created ]
2008-05-01 15:55:12 +02:00
Alexander Barton
6cfc56064e
Updated NEWS and ChangeLog for ngIRCd 0.12.0-pre2.
2008-04-29 15:34:15 +02:00
Alexander Barton
4a81367dac
--configtest: fix missing whitespace at "ConnectIPv4" option.
2008-04-29 15:27:44 +02:00
Alexander Barton
8c425945a2
--enable-ipv6: fix indentation in ./configure --help output.
2008-04-29 15:26:20 +02:00
Alexander Barton
bb6ee46892
Merge branch 'master' of git://git.breakpoint.cc/fw/ngircd-fw
2008-04-29 15:15:28 +02:00
Florian Westphal
9194319399
Testsuite: remove erroneous ConfUID setting in config file.
...
The config file for ngircds test suite contained obsolete
ConfUID/ConfGID settings, causing ngircd to needlesly complain when
started as non-root (which is hopefully the _normal_ case...)
2008-04-29 13:32:29 +02:00
Alexander Barton
33b1204349
Get rid of cvs-version.* and CVSDATE definition.
...
(cherry picked from commit b187fac244f4e14705f882ba7c43eef0238e2830)
2008-04-25 00:14:11 +02:00
Alexander Barton
09968ee843
Documentation: get rid of some more references to CVS, switch to GIT.
...
(cherry picked from commit 6e9389b86c906c53a7797b8ced87a19195e16333)
2008-04-25 00:13:07 +02:00
Alexander Barton
523a6fad09
Report ERR_NOTONCHANNEL when trying to part a channel one is not member of.
...
When trying to part a channel ("PART #channel") the client is not member of
the daemon now correctly reports the numeric ERR_NOTONCHANNEL (442) insted
of ERR_NOSUCHCHANNEL (403).
2008-04-24 23:52:54 +02:00
Alexander Barton
54b17fc201
Channel_Part(): Code and comment cleanup.
2008-04-24 23:47:33 +02:00
Alexander Barton
25f48a2a34
IRC_PART(): code and comment cleanup.
2008-04-24 23:46:59 +02:00
Florian Westphal
22fa782be7
IPv6: Add config options to disabe ipv4/ipv6 support.
...
This also enables ipv6-only setups.
2008-04-21 00:45:19 +02:00
Alexander Barton
2f6d7a649c
Don't include doc/CVS.txt in distribution archive, use doc/GIT.txt now!
...
(cherry picked from commit a8e0eb62e9dce81ca4a5c5911428561b90bf2c6e)
2008-04-20 17:37:21 +02:00
Alexander Barton
7df90846e1
Synchronized branch-0-12-x (ngIRCd 0.12.0-pre1) with master.
...
(cherry picked from commit 4ea29329674ff8ec6d772991a57c146b5d78d2ad)
2008-04-20 16:20:53 +02:00
Alexander Barton
92a9092208
Updated NEWS and ChangeLog for upcoming 0.12.0-pre1 release.
2008-04-20 15:48:49 +02:00
Alexander Barton
a0efcdccfa
Updated copyright notice to read "2001-2008".
2008-04-20 15:48:22 +02:00
Alexander Barton
012aeca32b
Added make target "testsuite"
...
This make target runs the testsuite located in src/testsuite without running
alle the other tests that "make check" would run.
2008-04-20 14:52:00 +02:00
Alexander Barton
c4a505d3a8
Fixed "xcode" make target (used to build ngIRCd with Mac OS X Xcode)
2008-04-20 14:50:46 +02:00
Florian Westphal
8df445316a
Channel_Mode: Remove duplicate code.
...
Incidentially, this doesn't even change the
generated code...
2008-04-19 16:58:00 +02:00
Florian Westphal
11af32466f
Channel_Mode: change order of if (set) and if (client) check.
2008-04-19 16:51:42 +02:00
Florian Westphal
5538115537
Channel_Mode: Re-indent switch.
...
No functional changes were made.
2008-04-19 16:45:31 +02:00
Florian Westphal
b8643477ba
Channel_Mode: check return type of Invite/Ban Add/Del function
2008-04-19 16:17:11 +02:00
Florian Westphal
796dcf6a62
Channel_Mode: unify 'b' and 'I' switch/case handling.
2008-04-19 14:16:17 +02:00
Florian Westphal
6b0c094809
Channel_Mode: Unify Del_Invite and Del_Ban handler
2008-04-19 14:12:06 +02:00
Florian Westphal
b36fc3b095
Constify Lists_MakeMask argument and return type.
2008-04-19 14:11:25 +02:00
Florian Westphal
2dd51a98e4
Channel_Mode: Unify Add_Invite and Add_Ban handler
2008-04-19 14:02:54 +02:00
Alexander Barton
761ae2b1a4
Enable more compiler warnings when using Xcode.
2008-04-13 23:43:12 +02:00
Alexander Barton
87cae1465b
GIT should ignore user preferences files inside Xcode projects.
...
Added filter for GIT to ignore Xcode user preferences files (*.mode1v3 and
*.pbxuser) which are automatically generated inside the project bundle when
opened in Xcode.
2008-04-12 23:29:58 +02:00
Alexander Barton
b7135ea76a
Updated Xcode project file.
2008-04-12 23:27:11 +02:00
Florian Westphal
248f8e0b70
Convert CVS commands to their git equivalents.
...
Also mention that patches should be sent to the mailing list.
2008-04-12 21:51:15 +02:00
Alexander Barton
7b33424c13
Added "portabtest" binary to .gitignore file in src/portabtest/.
2008-04-09 19:46:26 +02:00
Alexander Barton
7c82cc236b
Include Mac OS X Xcode project in distribution archives. (Part 2)
...
I forgot to include the new Makefile.am in contrib/MacOSX/ngIRCd.xcodeproj/ ...
2008-04-09 19:24:22 +02:00
Alexander Barton
307f8abd74
Include Mac OS X Xcode project in distribution archives.
...
Oops, it has not been included since ... ages??
2008-04-09 19:09:23 +02:00
Alexander Barton
bc63064d5c
Moved .cvsignore files to .gitignore
...
Since we are using GIT starting from now, I converted all the
.cvsignore files to .gitignore files.
2008-04-09 18:54:52 +02:00
Florian Westphal
be844d74d3
Fix client.c sparse warnings.
...
client.c:72:6: warning: symbol 'Max_Users' was not declared. Should it be static?
client.c:72:21: warning: symbol 'My_Max_Users' was not declared. Should it be static?
2008-04-04 23:22:06 +02:00
Florian Westphal
637d739285
io.c: kill select FD_SETSIZE sanity check in io_library_init.
...
We already have way too many.
2008-04-03 23:20:26 +02:00
Florian Westphal
66e68de16a
io.c: fix select FD_SETSIZE check when using epoll as io backend
2008-04-03 23:20:22 +02:00
Florian Westphal
7f44a2ad1c
io.c: try to cut down the number of ifdefs.
...
consolidate backend-specific helpers and
add empty statinc inle stubs in the ifndef case
to let the compiler remove the functions at compile time.
2008-03-27 16:53:39 +01:00
Florian Westphal
abb1abeb77
Do not exit unconditionally if config file cannot be opened
...
ngircd will exit if the config file cannot be opened. While
thats okay if ngircd starts up for the first time, it isn't
when we are re-reading the config file after a /REHASH or SIGHUP.
2008-03-26 21:31:13 +01:00
Alexander Barton
ab1f48a346
Fix #include's: search log.h locally, include string.h. The latter is required because we include conn.h, which includes resolve.h, which includes ng_ipaddr.h, which contains a macro using strlcpy() ...
2008-03-11 15:42:58 +01:00
Florian Westphal
feb31e4200
IPv6 support.
...
all references to struct sockaddr/in_addr have been
removed from src/ngircd.
libngipaddr (in src/ipaddr/) hides all the gory details.
See src/ipaddr/ng_ipaddr.h for API description.
2008-02-26 23:50:35 +01:00
Alexander Barton
c31ad221a6
Updated ChangeLog to include 0.11.1.
2008-02-26 23:49:33 +01:00
Rolf Eike Beer
44cdf1b1ca
Fix sending of JOINs between servers.
...
This does hit only operators that join a channel with at least 2 servers active in the net
the server the oper connects to sends "channel^Go" to the other servers
the other server first searches for the channel and then strips the modes from the channel name
he has to do the other way round: first strip and then check the channel name.
2008-02-26 23:49:33 +01:00
Florian Westphal
e710e8ae37
Channel_Mode cleanups
...
- better indentation
- move answering request into seperate function.
2008-02-26 23:49:33 +01:00
Alexander Barton
89ba1bdcba
LaunchDaemon plist for Mac OS X/Darwin launchd.
2008-02-26 23:49:33 +01:00