about summary refs log tree commit diff
AgeCommit message (Collapse)Author
2008-04-24IRC_PART(): code and comment cleanup.Alexander Barton
2008-04-21IPv6: Add config options to disabe ipv4/ipv6 support.Florian Westphal
This also enables ipv6-only setups.
2008-04-20Don't include doc/CVS.txt in distribution archive, use doc/GIT.txt now!Alexander Barton
(cherry picked from commit a8e0eb62e9dce81ca4a5c5911428561b90bf2c6e)
2008-04-20Synchronized branch-0-12-x (ngIRCd 0.12.0-pre1) with master.Alexander Barton
(cherry picked from commit 4ea29329674ff8ec6d772991a57c146b5d78d2ad)
2008-04-20Updated NEWS and ChangeLog for upcoming 0.12.0-pre1 release.Alexander Barton
2008-04-20Updated copyright notice to read "2001-2008".Alexander Barton
2008-04-20Added make target "testsuite"Alexander Barton
This make target runs the testsuite located in src/testsuite without running alle the other tests that "make check" would run.
2008-04-20Fixed "xcode" make target (used to build ngIRCd with Mac OS X Xcode)Alexander Barton
2008-04-19Channel_Mode: Remove duplicate code.Florian Westphal
Incidentially, this doesn't even change the generated code...
2008-04-19Channel_Mode: change order of if (set) and if (client) check.Florian Westphal
2008-04-19Channel_Mode: Re-indent switch.Florian Westphal
No functional changes were made.
2008-04-19Channel_Mode: check return type of Invite/Ban Add/Del functionFlorian Westphal
2008-04-19Channel_Mode: unify 'b' and 'I' switch/case handling.Florian Westphal
2008-04-19Channel_Mode: Unify Del_Invite and Del_Ban handlerFlorian Westphal
2008-04-19Constify Lists_MakeMask argument and return type.Florian Westphal
2008-04-19Channel_Mode: Unify Add_Invite and Add_Ban handlerFlorian Westphal
2008-04-13Enable more compiler warnings when using Xcode.Alexander Barton
2008-04-12GIT should ignore user preferences files inside Xcode projects.Alexander Barton
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-12Updated Xcode project file.Alexander Barton
2008-04-12Convert CVS commands to their git equivalents.Florian Westphal
Also mention that patches should be sent to the mailing list.
2008-04-09Added "portabtest" binary to .gitignore file in src/portabtest/.Alexander Barton
2008-04-09Include Mac OS X Xcode project in distribution archives. (Part 2)Alexander Barton
I forgot to include the new Makefile.am in contrib/MacOSX/ngIRCd.xcodeproj/ ...
2008-04-09Include Mac OS X Xcode project in distribution archives.Alexander Barton
Oops, it has not been included since ... ages??
2008-04-09Moved .cvsignore files to .gitignoreAlexander Barton
Since we are using GIT starting from now, I converted all the .cvsignore files to .gitignore files.
2008-04-04Fix client.c sparse warnings.Florian Westphal
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-03io.c: kill select FD_SETSIZE sanity check in io_library_init.Florian Westphal
We already have way too many.
2008-04-03io.c: fix select FD_SETSIZE check when using epoll as io backendFlorian Westphal
2008-03-27io.c: try to cut down the number of ifdefs.Florian Westphal
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-26Do not exit unconditionally if config file cannot be openedFlorian Westphal
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-11Fix #include's: search log.h locally, include string.h. The latter is ↵Alexander Barton
required because we include conn.h, which includes resolve.h, which includes ng_ipaddr.h, which contains a macro using strlcpy() ...
2008-02-26IPv6 support.Florian Westphal
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-26Updated ChangeLog to include 0.11.1.Alexander Barton
2008-02-26Fix sending of JOINs between servers.Rolf Eike Beer
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-26Channel_Mode cleanupsFlorian Westphal
- better indentation - move answering request into seperate function.
2008-02-26LaunchDaemon plist for Mac OS X/Darwin launchd.Alexander Barton
2008-02-26Install a LaunchDaemon script to start/stop ngIRCd on Mac OS X.Alexander Barton
2008-02-26Added new test files to Xcode project.Alexander Barton
2008-02-26Removed the SQUIT test for now, actually we don't support it yet.Alexander Barton
2008-02-26Implemented IRC commands INFO, USERS (dummy), and SUMMON (dummy).Alexander Barton
2008-02-26Include flags in RPL_WHOREPLY messages.Dana Dahlstrom
RPL_WHOREPLY messages generated by IRC_WHO don't include flags (*,@,+) that should appear according to this description: http://www.mishscript.de/reference/rawhelp3.htm#raw352 Other IRC servers do include the flags. Modify who-test.e to expose missing flags, modify ngircd-test.conf to accommodate who-test.e, and fix irc-info.c to correct these problems.
2008-02-26Don't send trailing space in MODE messagesDana Dahlstrom
Under some circumstances ngIRCd currently issues a channel MODE message with a trailing space after the last parameter, which isn't permitted by the grammar in RFC 2812 section 2.3.1: http://tools.ietf.org/html/rfc2812#section-2.3.1 The following patch modifies mode-test.e to expose this, and modifies irc-mode.c to correct it.
2008-02-26IRC_JOIN cleanups.Florian Westphal
- put sending of mode and forwarding of JOIN to other clients into seperate function. - put sending of topic/channel names into seperate function. - put access check into seperate function. - translate/remove remaining german comments. - stop if JOIN to a channel in a list (JOIN #a,#,b,#c...) fails (This doesn't change the behaviour: skip-to-next-channel-on-error did never work as intended)
2008-02-26Make IRC_WHO also search username/servername/hostname.Florian Westphal
Dana Dahlstrom reported that IRC_WHO did not follow RFC 2812, Section 3.6.1. Specifically: - IRC_WHO did not send "G" flag instead if "H" if client was away - did not search username/servername/hostname etc. if argument was not a channel. Fix all of the above and tidy things up a bit. Also add IRC_WHO test script contributed by Dana.
2008-02-26Remove duplicate Channel_FirstChannelOf().Dana Dahlstrom
noticed there's a way to make the loop slightly more elegant. [fw@strlen.de: Extra () to silence gcc.]
2008-02-26Make Channel_Part name and reason parameters 'const'.Florian Westphal
2008-02-26Updated NEWS to reflect ChangeLog.Florian Westphal
2008-02-26Implement RFC 2812 handling of "0" argument to JOINDana Dahlstrom
The students in my software-engineering class are writing IRC clients in Java, and I'm running ngIRCd as a sandbox for them to play in. We noticed ngIRCd doesn't obey the "JOIN 0" command specified in RFC 2812: JOIN 0 ; Leave all currently joined channels. http://tools.ietf.org/html/rfc2812#section-3.2.1 I believe the following patch addresses this. Cheers! [fw@strlen.de: put it into a seperate function]
2008-02-26Don't use Client_Type after command has been processed.Florian Westphal
This caused a read from already free'd memory, if the processed command (IRC_QUIT) calls Client_Destroy.
2008-02-26Updated NEWS to reflect ChangeLog.Alexander Barton
2008-02-26Fix wrong strncpy usage if CVSDATE definedFlorian Westphal
Hello_User() used strncpy with overlapping src/dest. Use memmove instead.