Author: Isomer <isomer@coders.net>
[ircu2.10.12-pk.git] / ChangeLog
index b3bf71fc11ec2e9648e5df8d3c3561c8ecc24e69..df70ed1812fb37bd57f5cb4a78fd72dbbaf3ab22 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,335 @@
+2000-12-04  Isomer <isomer@coders.net>
+       * ircd/m_names.c: Add NAMES_EON to do_names to say add a
+       'end_of_names' reply when done.
+       * ircd/m_join.c: use NAMES_EON as mentioned above
+
+2000-12-01  net  <simms@LUCIDA.QC.CA>
+
+       * ircd/motd.c: add a freelist for struct Motds
+
+2000-11-30  Kevin L. Mitchell  <klmitch@mit.edu>
+
+       * ircd/s_stats.c (report_feature_list): report features--only
+       local opers can see logging configuration, since it doesn't really
+       mean anything to users
+
+       * ircd/s_err.c: add reply messages for new feature subsystem
+
+       * ircd/s_conf.c: add F lines to .conf
+
+       * ircd/parse.c: add the message descriptions for /set, /reset, and
+       /get
+
+       * ircd/m_stats.c: add /stats f
+
+       * ircd/m_set.c (mo_set): implement /set
+
+       * ircd/m_reset.c (mo_reset): implement /reset
+
+       * ircd/m_rehash.c: /rehash m now flushes MOTD cache, and /rehash l
+       reopens log files (for log file rotation)
+
+       * ircd/m_get.c (mo_get): implement /get
+
+       * ircd/ircd_log.c: use int instead of void return value; add
+       log_report_features() and log_canon(); fix a function that
+       disappears if DEBUGMODE not #define'd
+
+       * ircd/ircd_features.c: functions to manipulate feature settings
+       either from the config file or with the new /set, /reset, and /get
+       commands
+
+       * ircd/Makefile.in: add new .c files, run make depend
+
+       * include/s_stats.h: declare report_feature_list() (/stats f
+       handler)
+
+       * include/numeric.h: add RPL_STATSFLINE, RPL_FEATURE,
+       ERR_NOFEATURE, ERR_BADLOGTYPE, ERR_BADLOGSYS, and ERR_BADLOGVALUE
+       reply numerics
+
+       * include/msg.h: add defines for SET, RESET, and GET
+
+       * include/ircd_log.h: add a function to canonicalize subsystem
+       names; change some void return values to int
+
+       * include/ircd_features.h: new features subsystem handles all the
+       manipulation of special features, like log files
+
+       * include/handlers.h: declare new mo_{s,res,g}et message handlers
+       for fiddling with features run-time
+
+       * include/client.h (SNO_DEFAULT): don't set SNO_DEBUG by default;
+       seemed like a good idea at the time...
+
+       * doc/example.conf: document new F lines
+
+2000-11-29  Kevin L. Mitchell  <klmitch@mit.edu>
+
+       * ircd/s_debug.c: rewrite debug_init() and vdebug() in terms of
+       new logging functions, which have special support for the debug
+       log; added loop detection to vdebug(), so that I can
+       sendto_opmask_butone() from log_vwrite() without incurring another
+       call to vdebug()
+
+       * ircd/s_conf.c (rehash): call log_reopen() from rehash routine;
+       this allows log file rotations
+
+       * ircd/m_kill.c: call log_write_kill() instead of ircd_log_kill()
+
+       * ircd/ircd_log.c: much more work fleshing out the interface;
+       removed old interface; included backwards-compat ircd_log()
+       function that logs to subsystem LS_OLDLOG
+
+       * ircd/ircd.c: switch to new log_init()/log_close()/log_reopen()
+       functions
+
+       * include/ircd_log.h: include stdarg.h for va_list; move ordering
+       warning to top of file; fill out LogSys enum; declare new
+       log_debug_init(), log_vwrite(), log_write_kill(), and
+       log_[sg]et_*() functions; add flags argument to log_write();
+       defined flags to inhibit various logging actions
+
+       * include/client.h: added support for new SNO_DEBUG, enabled only
+       if DEBUGMODE is defined
+
+2000-11-28  Kevin L. Mitchell  <klmitch@mit.edu>
+
+       * ircd/ircd_log.c: make sure the various LOG_* constants are
+       defined (probably not needed, since #include <syslog.h> isn't
+       conditional); various static data needed for the new logging
+       functions; definitions of new logging functions
+
+       * include/ircd_log.h: new LogSys enum, declarations for part of
+       new logging API
+
+       * ircd/motd.c: we were setting type to MOTD_CLASS unconditionally,
+       which was of course stupid; switched to using switch/case in
+       initialization in motd_create(); zero the MotdList.other pointer
+       from motd_clear()
+
+       * ircd/ircd.c (main): motd_init() has to come before init_conf(),
+       or we overwrite init_conf()'s hard work with respect to T-lines
+
+2000-11-27  Kevin L. Mitchell  <klmitch@mit.edu>
+
+       * ircd/s_stats.c: comment out report_motd_list and include a
+       reference to motd_report()
+
+       * ircd/s_conf.c: rip out the old MOTD manipulation functions; call
+       motd_add() from the conf parser; call motd_clear() from the rehash
+       routine; remove the no longer needed memory clearing and reloading
+       stuff from the rehash service routine
+
+       * ircd/motd.c: loads new API, including static internal functions
+       to do allocation/deallocation, etc.
+
+       * ircd/m_stats.c: use new motd_report() instead of
+       report_motd_list()
+
+       * ircd/m_motd.c: use new syntax for motd_send()
+
+       * ircd/ircd.c: use new motd_init() function
+
+       * ircd/Makefile.in (SRC): forgot to add motd.c to SRC in
+       Makefile.(in); also ran make depend
+
+       * include/motd.h: don't need config.h, but now do need time.h;
+       define new structures and constants; redefine old API and define
+       new functions
+
+2000-11-22  Kevin L. Mitchell  <klmitch@mit.edu>
+
+       * ircd/s_user.c (register_user): use motd_signon() instead of
+       calling m_motd; much cleaner this way
+
+       * ircd/motd.c: write the new motd_* stuff to make MOTD handling
+       less of a crock
+
+       * ircd/m_motd.c: rewrite m{,s}_motd to call out to new motd_*
+       functions
+
+       * include/motd.h: define new MOTD API stuff
+
+2000-11-20  Kevin L. Mitchell  <klmitch@mit.edu>
+
+       * ircd/ircd_reply.c (protocol_violation): rewrite
+       protocol_violation so it'll actually work
+
+       oh, yeah, use %s -> cptr->name, instead of %c -> cptr, so we get
+       the client's real name in there.
+
+       * ircd/m_motd.c (m_motd): Iso's addition of get_client_class(sptr)
+       resulted in core dumps if NODEFAULTMOTD is defined, because m_motd
+       gets called from register_user with a NULL sptr.  This is probably
+       a design problem, but this bandaid will do for now...
+
+2000-11-19  Isomer <isomer@coders.net>
+       * ircd/ircd_reply.c: added 'protocol_violation', thus alerting us
+       to problems in the server<->server protocol.
+
+       * ircd/m_connect.c: allow remote connects with a port of '0'
+       meaning to use the port in the config file.
+
+       * ircd/m_create.c: Enable hacking protection, lets see how far we
+       get.
+
+       * ircd/m_error.c: The RFC says never accept ERROR from unreg'd
+       clients, so we don't any more.
+
+       * ircd/m_kill.c: The kill path is now made up of numnicks of servers,
+       and the user@host is displayed of the victim.
+
+       * ircd/m_map.c: reloaded 'dump_map'.
+
+       * ircd/m_trace.c: allow per class T:
+
+       * ircd/m_stats.c: allow local opers /remote stats anywhere on the 'net.
+
+2000-11-17  Isomer <isomer@coders.net>
+
+       * ircd/m_topic.c: Fixed bug where we'd only send to clients topics
+       that were the *same* instead of different.  Oh the embarrasment!
+
+       * ircd/IPcheck.c: Merged net's fix.
+
+2000-11-02  Kevin L. Mitchell  <klmitch@mit.edu>
+
+       * ircd/m_whois.c: remove compiler warning by adding a newline to
+       end of file
+
+       * ircd/m_names.c: moved the flags up to s_user.h
+
+       * ircd/m_join.c: call do_names instead of m_names; restructure
+       ms_join to never transmute a JOIN into a CREATE, but use the TS in
+       the JOIN (if present) to timestamp the channel
+
+       * ircd/channel.c: send JOINs individually, instead of grouping
+       them, so that we can send the channel's creation time
+
+       * include/s_user.h: declare do_names()
+
+2000-10-30  Isomer <isomer@coders.net>
+       * ircd/m_oper.c: Fixed warning
+
+2000-10-30  Isomer <isomer@coders.net>
+       * ircd/m_oper.c: Fixed over agressive cut and no paste
+
+2000-10-30  Isomer <isomer@coders.net>
+
+       * ircd/m_topic.c: Restructured, fixed bug where topics on local
+       channels are propergated (I forget who pointed this out to me, but
+       thanks anyway).  Also to save bandwidth don't send the topic to
+       users if the topic is already the same on the server (but still
+       propergate to other servers).  X/W's "autotopic" feature must
+       chew a lot of bandwidth, hopefully this will help reduce this.
+
+       * doc/rfc1459.rfc: Updated documentation on /topic.
+
+       * ircd/listener.c: snotice warnings about failed accept()'s
+       potentially warning admins that they're running out of fd's.
+
+       * ircd/stats.c, ircd/class.c: Removed /stats v, added number of
+       people in a class in /stats y
+
+       * ircd/m_create.c: Checks for timewarp hacking and squit's
+       evil servers. (currently disabled)
+       
+
+2000-10-30  net <simms@lucida.qc.ca>
+       
+       * ircd/gline.c: Fixed various bugs Isomer left behind.
+
+2000-10-26  Kevin L. Mitchell  <klmitch@mit.edu>
+
+       * ircd/m_join.c (m_join): reply on attempt to join a BADCHANed
+       channel is now ERR_BANNEDFROMCHAN instead of ERR_BADCHANNAME
+
+2000-10-24  Kevin L. Mitchell  <klmitch@mit.edu>
+
+       * ircd/channel.c: ok, now last mode rules; mode +ps will always
+       result in +s (and won't send a mode if the channel is already +s);
+       mode +sp will always result in +p; -n+n on a +n channel results in
+       no mode change; -n+n on a -n channel results in a +n mode change;
+       etc.
+
+2000-10-23  Kevin L. Mitchell  <klmitch@mit.edu>
+
+       * ircd/channel.c: add "add" and "del" elements to ParseState to
+       avoid not-too-pretty -p+s when +s is sufficient; fix a bug in
+       mode_parse_limit that caused it to clear all channel modes
+       prematurely; restructure mode_parse_mode to avoid calling
+       modebuf_mode too early (ties in with first mentioned change);
+       better logic for +p/+s mutual exclusivity; initialize "add" and
+       "del" elements in mode_parse; send simple modes down to
+       modebuf_mode after the loop in mode_parse
+
+2000-09-28  Greg Sikorski <gte@atomicrevs.demon.co.uk>
+       * ircd/m_names.c: Fixed a non-lethal logic error that 
+       triggers an assert() in find_member_link while debugging.
+       (Spotted by Maniac-).
+2000-09-19  Thomas Helvey <helveytw@home.com>
+       * ircd/s_conf.c: move K:lines to their own list and data
+       structures, add supporting code.
+       * ircd/m_stats.c: cleanup stats processing a bit move
+       kline listing code to a new function, haven't figured
+       out where it goes yet tho'
+       * ircd/s_stats.c: added K:line bulk lister
+       * include/s_conf.h: added new DenyConf struct
+       * *[ch]: fixeup code that depended on changes
+
+2000-09-17  Thomas Helvey <helveytw@home.com>
+       * ircd/class.c: encapsulate class list
+       * include/class.h: clean up classes
+       * * fixup code that depended on changes
+
+2000-09-17  Thomas Helvey <helveytw@home.com>
+       * ircd/s_conf.c: add me to local conf
+       * include/s_conf.h: move CONF_ME macro to chkconf.c
+       * ircd/s_bsd.c: cleanup initialization, allow virtual host
+       to be changed by rehash
+
+2000-09-17  Thomas Helvey <helveytw@home.com>
+       * include/class.h: add missing prototype
+       * ircd/class.c: make argument to get_conf_class const
+
+2000-09-17  Thomas Helvey <helveytw@home.com>
+       * ircd/*.c: merged in changes from 2.10.10.pl12, cleanup
+       merge conflicts.
+       * ircd/*.h: merged in changes from 2.10.10.pl12, cleanup
+       merge conflicts
+
+2000-09-16  Thomas Helvey <helveytw@home.com>
+       * ircd/s_conf.c: add code for server struct
+       * ircd/client.c: copy of class.c sort of, new file for client
+       specific operations, will move things here as appropriate,
+       currently only one function is exported from here.
+       * ircd/*.c: general logic cleanups, convert negatives to
+       positives in places.
+
+2000-09-16  Thomas Helvey <helveytw@home.com>
+       * ircd/s_conf.c: add code for new crule data structs, strip quotes
+       * ircd/crule.c: clean up scary casting a bit, type safety stuff
+       * include/s_conf.h: add CRuleConf struct and support, remove
+       unused constants
+       * include/crule.h: type safety cleanups
+       * ircd/*.c: fixup code that depended on stuff I changed
+
+2000-09-15  Thomas Helvey <helveytw@home.com>
+       * ircd/s_conf.c: start adding code for new conf data structs, changed
+       listeners, admin line, motd lines, class lines. Move validate_hostent
+       to resolver. General mayhem.
+       * include/s_conf.h: new data structs and accessors
+       * ircd/res.c: move validate_hostent here, rewrite, use regular
+       expression for validation.
+       * doc/example.conf: update docs for port
+
+2000-09-14  Thomas Helvey <helveytw@home.com>
+       * ircd/s_conf.c (conf_init): rewrite conf file parser, start to break
+       up conf_init into managable chunks.
+       * ircd/listener.c (set_listener_mask): fix logic bug core dump.
+       * include/s_conf.h: add new data struct for local info (unwinding the mess).
+
 2000-09-13  Thomas Helvey <helveytw@home.com>
        * ircd/list.c: put Clients in free lists, pre-allocate MAXCONNECTIONS
        local clients.
 * Merge in u2_10_10_beta06 changes --Bleep
 * Start ircu2.10.11 development, beta branch u2_10_10 --Bleep
 #-----------------------------------------------------------------------------
-#
-# ChangeLog for ircu2.10.11
-#
-# $Id: ChangeLog,v 1.160 2000-09-13 07:55:55 bleep Exp $
-#
-# Insert new changes at beginning of the change list.
-#