Fixed the invite process handling during joining to use
[silc.git] / CHANGES
diff --git a/CHANGES b/CHANGES
index c49299536588cd2bed0b00f493750caf2f3dc8d5..f4a9ad341d1b8746117e24a718b3c9f9c0d7b20e 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,337 @@
+Sat Jan  3 12:18:07 EET 2004  Pekka Riikonen <priikone@silcnet.org>
+
+       * Fixed the invite process handling during joining to use
+         correct server name for the client that is matched against
+         the invite string for the channel.  Wrong server name caused
+         inability to join the channel.  Affected file is
+         silcd/command.c.
+
+Fri Jan  2 23:34:17 EET 2004  Pekka Riikonen <priikone@silcnet.org>
+
+       * Fixed the CUMODE channel founder authentication on normal
+         server to not remove the founder rights on existing founder
+         before checking that router accepts the mode change.  Affected
+         files are silcd/command.c and silcd/packet_receive.c.
+
+       * Remove the server entry correctly when rekey timeouts and
+         remote router connection on normal server is closed.  Fixes
+         a crash where server uses the freed server entry.  Affected
+         file silcd/server.c.
+
+Fri Jan 02 10:28:15 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
+
+       * Add /SILCNET [ADD|REMOVE|LIST] command to manage different SILC
+         networks.  This is the first step in solving the bug about
+         /SERVER ADD -silcnet <silcnet>.  Affected files
+         irssi/docs/in/silcnet.in; irssi/src/fe-common/silc/Makefile.am,
+         fe-silcnet.c, fe-common-silc.c, module-formats.[ch];
+         irssi/src/silc/core/silc-chatnets.[ch], silc-core.c, Makefile.am
+
+Thu Jan 01 20:11:32 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
+
+       * /SMSG and /MMSG now correctly create new queries. Affected files
+         irssi/src/fe-common/silc/fe-messages.c, irssi/scripts/silc-mime.pl
+
+       * Add basic support for SILC protocol specific variables in perl.
+         Affected files irssi/src/perl/silc/*, irssi/configure.in,
+         irssi/src/perl/Makefile.am
+
+Wed Dec 31 17:06:55 CET 2003  Jochen Eisinger <jochen@penguin-breeder.org>
+
+       * Don't use silc_get_input, it's obviously not reliable.  Fixes
+         issue when the current key expires.  Affect file
+         irssi/src/silc/core/clientutils.c
+
+       * Make the session data filename configurable.  This makes it
+         possible to have different session files for different
+         SILC networks.  Affected files irssi/src/silc/core/silc-core.c,
+         client_ops.[ch], silc-servers.c,
+         irssi/src/silc/fe-common/silc/module-formats.[ch]
+
+       * Use the same set of libtool files for the MPI lib as for the
+         rest of the toolkit.  Affected files lib/silcmath/mpi/config.guess,
+         config.sub, configure.in, install-sh, missing, mkinstalldirs
+
+Sun Dec 28 21:57:39 EET 2003  Pekka Riikonen <priikone@silcnet.org>
+
+       * Fixed server statistics decrementing error to not go to
+         negative.  Affected file silcd/packet_receive.c.
+
+Sat Dec 20 14:42:36 EET 2003  Pekka Riikonen <priikone@silcnet.org>
+
+       * Use silc_server_query_add_error to add error in public key
+         search error.  Added support in send_reply to send errors
+         without specific argument.  Affected file silcd/server_query.c.
+
+       * Fixed the WHOIS, IDENTIFY and WHOWAS error handling in SILC
+         Client for NO_SUCH_NICK.  It was against the protocol specs.
+         Affected file irssi/src/silc/core/client_ops.c.
+
+       * Added backwards support for the wrong NO_SUCH_NICK error sending
+         in server.  To be removed in SILC Server 1.0.  Both old clients
+         and clients with fixed error handling now works.  Affected file
+         silcd/server_query.c.
+
+Sat Dec 20 00:44:47 CET 2003  Patrik Weiskircher <pat@icore.at>
+
+       * fixed a bug in the whois using attributes function where no
+         error was sent if no nickname and client id but the attributes were
+         given to whois. Affected file silcd/server_query.c
+
+Tue Dec 16 21:34:59 CET 2003  Patrik Weiskircher <pat@icore.at>
+
+       * remove public key from public key hashtable on detach. Affected
+         file silcd/packet_receive.c
+
+       * free public key hashtable before removing clients on server
+         shutdown. Affected file silcd/server.c
+
+       * remove public key prior deleting client-data on killing a client.
+         Affected file silcd/server_util.c
+
+Sat Dec 06 21:35:14 CET 2003  Patrik Weiskircher <pat@icore.at>
+
+       * Getting the MOTD from other servers works now. Affected
+         files are silcd/command.c and silcd/command_reply.c
+
+Thu Dec 04 11:33:46 CET 2003  Jochen Eisinger <jochen@penguin-breeder.org>
+
+       * Initialize the variable idletag, since it is tested in
+         silc_core_deinit for its default value.  Affected file
+         irssi/src/silc/core/silc-core.c
+
+Sun Nov 30 19:47:02 CET 2003  Patrik Weiskircher <pat@icore.at>
+
+       * Fixed signed channel messages across cells. Affected file
+         silcd/packet_send.c
+
+Fri Nov 28 19:13:21 EET 2003  Pekka Riikonen <priikone@silcnet.org>
+
+       * Changed the SILC_LOG_* macros to not be empty if SILC_DEBUG
+         is not defined.  They can now be safely used in if-statements
+         without braces.  Affected file lib/silcutil/silclog.h.
+
+       * Added the checks for backup closing connection due to error
+         (local or remote) and thus not allow the resuming to occur
+         in reconnect.  Affected files are silcd/packet_send.c
+         and server.c.
+
+Tue Nov 25 15:20:59 EET 2003  Pekka Riikonen <priikone@silcnet.org>
+
+       * Help file updates.  Affected files in irssi/src/docs/help/in/.
+
+Wed Nov 23 20:51:21 CET 2003  Patrik Weiskircher <pat@icore.at>
+
+       * Fixed channel messages across cells. Affected file
+         silcd/packet_send.c
+
+Wed Nov 12 11:34:56 EET 2003  Pekka Riikonen <priikone@silcnet.org>
+
+       * Fixed file transmission accepting in client library to not
+         start the negotiation if user hasn't accepted the transfer,
+         instead create new session for resent transfer.  Affected
+         file lib/silcclient/client_ftp.c.
+
+       * Show the session ID in the file transmision list.  Remove
+         session from list that failed to transfer.  Switch the current
+         session automatically after transmission, and in errors, to new
+         session if other sessions exists in the transfer list.  Affected
+         files are irssi/src/silc/core/silc-servers.c,
+         irssi/src/fe-common/silc/modfule-formats.c.
+
+Mon Nov 10 14:41:40 CET 2003  Jochen Eisinger <jochen@penguin-breeder.org>
+
+       * Fixed MIME header parsing for the hopefully last time.  Affected
+         file lib/silcutil/silcstrutil.c
+
+Mon Nov 10 13:03:46 EET 2003  Pekka Riikonen <priikone@silcnet.org>
+
+       * Rewrote the PKCS#1 routines.  Added lib/silccrypt/silcpkcs1.[ch].
+
+       * The SILC RNG is now gauranteed to return non-zero random
+         values.  Affected files are lib/silccrypt/silcrng.[ch].
+
+Sun Nov  9 20:44:56 EET 2003  Pekka Riikonen <priikone@silcnet.org>
+
+       * Fixed nickname formatting when changing only case of the
+         nickname.  Affected file lib/silcclient/idlist.c.
+
+Sun Nov  9 19:33:59 CET 2003  Jochen Eisinger <jochen@penguin-breeder.org>
+
+       * Fixed a memory leak and incorrect printing of the "appears as"
+         message.  Affected file irssi/src/silc/core/client_ops.c
+
+Sun Nov  9 17:45:11 EET 2003  Pekka Riikonen <priikone@silcnet.org>
+
+       * Added CRT (Chinese Remainder Theorem) supported RSA
+         private keys and private key operations.  This significantly
+         increases private key operation efficiency.  No compatibility
+         issues with new or old private keys.  Affected files are
+         lib/silccrypt/rsa.[ch], rsa_internal.h and pkcs1.c.
+
+Sat Nov  8 13:08:53 EET 2003  Pekka Riikonen <priikone@silcnet.org>
+
+       * Fixed GCC-3.3.2 related compilation warnings from the
+         source tree.
+
+Fri Nov  7 23:01:47 EET 2003  Pekka Riikonen <priikone@silcnet.org>
+
+       * Removed RC6 from distributions.
+
+Fri Nov  7 19:38:42 EET 2003  Pekka Riikonen <priikone@silcnet.org>
+
+       * Added some better comments to lib/silccrypt/silcpkcs.h,
+         optimized some routines in lib/silccrypt/silcpkcs.c.
+         Added test_silcpkcs into lib/silccrypt/tests/.
+
+       * Fixed silc_rng_global_init to actually init the global RNG
+         if RNG wasn't provided for it.  Affected file is
+         lib/silccrypt/silrng.c.
+
+Thu Nov  6 21:08:28 EET 2003  Pekka Riikonen <priikone@silcnet.org>
+
+       * Added silc_hash_table_find_by_context_ext.  Affected files
+         lib/silcutil/silchashtable.[ch].
+
+       * Save the public key on normal server in WHOIS command reply
+         from attributes, if present, and add it to public key hash
+         table.  Fixes WHOIS resolving by public key on normal server.
+
+         Optimized the attributes resolving on normal server to not
+         resolve if we resolved them already from router.
+
+         Affected files are silcd/server_query.c, command_reply.c.
+
+Wed Nov  5 19:36:30 CET 2003 Patrik Weiskircher <pat@icore.at>
+
+       * Added support for whois using attributes.
+         Affected files silcd/command_reply.c, silcd/packet_receive.c,
+         silcd/server.c, silcd/server_internal.h, silcd/server_query.c,
+         silcd/server_util.c
+
+       * Added support for whois using public key attribute to /WHOIS i
+         client command. Affected files irssi/docs/help/in/whois.in,
+         irssi/src/silc/core/silc-servers.c, lib/silcclient/command.c
+
+Wed Nov  5 23:37:36 EET 2003 Pekka Riikonen <priikone@silcnet.org>
+
+       * Fixed UMODE setting in server when the client has anonymous
+         mode set.  The mode setting was not working.  Affected file
+         silcd/command.c.
+
+Mon Nov  2 11:36:08 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
+
+       * Fixed some bugs and typos related to sending split messages.
+          Print notification when sending messages with /MMSG.  Affected
+         files irssi/scripts/silc-mime.pl, irssi/src/silc/core/client_ops.c
+
+Fri Oct 31 12:33:59 EET 2003 Pekka Riikonen <priikone@silcnet.org>
+
+       * Optimized the socket referencing in packet routines, client
+         library and server.  Affected files are lib/silccore/silcpacket.c,
+         lib/silcclient/client.c and silcd/server.c.
+
+       * If silc_socket_set_qos is given with NULL arguments the QoS is
+         reset from the socket.  Affected files are
+         lib/silcutil/silcsockconn.[ch].
+
+Thu Oct 30 21:23:24 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
+
+       * Add a /LISTKEYS command which lists the locally cached
+         client and server keys.  Affected files
+         irssi/src/fe-common/module-formats.[ch],
+         irssi/src/silc/core/silc-{channels,servers}.c
+         irssi/docs/help/in/listkeys.in
+
+Thu Oct 30 20:23:40 EET 2003 Pekka Riikonen <priikone@silcnet.org>
+
+       * Check that packet queue purging was successful.  Affected
+         files lib/silcclient/client.c and silcd/packet_send.c.  Related
+         to MAC failed errors.
+
+       * Do not clear the inbuf even if it is empty if QoS was applied
+         to it.  Otherwise the QoS data is cleared and MAC failed error
+         will occur.  Affected file lib/silccore/silcpacket.c.
+
+       * Use the rekey period time as rekey protocol timeout value.
+         If the rekey does not succeed during the rekey period there's
+         something very wrong, and we most likely end up with wrong keys,
+         do graceful reconnect then.   Affected file silcd/server.c.
+
+       * Take reference of the socket in the parser context, as it's
+         possible to have the parsers in queue after the socket is
+         disconnected and this may cause crash.  Affected files are
+         lib/silccore/silcpacket.c, lib/silcclient/client.c and
+         silcd/server.c.
+
+Thu Oct 30 17:01:01 EET 2003 Pekka Riikonen <priikone@silcnet.org>
+
+       * Fixed KICK command reply sending, it sent to replies.
+         Affected file silcd/command.c.
+
+Wed Oct 30 14:06:52 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
+
+       * Finish the silc-mime.pl script. It now supports MIME type
+         guessing using magic files, signing data messages, executing
+         MIME handlers in background. Affected files
+         irssi/scripts/silc-mime.pl and irssi/docs/help/in/mmsg.in
+
+       * Changed MIME signal handler to make things easier for the perl
+         script. Affected files irssi/src/silc/core/client_ops.c,
+         silc-servers.c, and irssi/docs/signals.txt
+
+       * Cleaned up the silc_mime_parse function and fixed detection
+         of wrapped header lines. Affected file lib/silcutil/silcstrutil.c
+
+Sun Oct 26 21:19:02 EET 2003 Pekka Riikonen <priikone@silcnet.org>
+
+       * Resolve the IP for file transfer listener from the connection
+         socket.  Affected file lib/silcclient/client_ftp.c.
+
+       * Accept NULL hostname parameter in the functions
+          silc_net_check_[local|remote]_by_socket.  Do not reverse lookup
+         if hostname is not wanted.
+
+Fri Oct 24 21:24:12 CEST 2003  Jochen Eisinger <jochen@penguin-breeder.org>
+
+       * Fixed race condition between silc_client_init and
+          my_silc_scheduler. Affected file irssi/src/silc/core/silc-core.c
+
+Fri Oct 24 16:43:40 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
+
+       * Fixed file transfer connection closing when SIGNOFF for
+         the client is received from server.  Affected file is
+         lib/silcclient/client_ftp.c.
+
+Tue Oct 21 13:35:57 CEST 2003  Pekka Riikonen <priikone@silcnet.org>
+
+       * Check for disconnected socket in QUIT callback.  Affected
+         file silcd/command.c.
+
+Thu Oct 21 09:43:17 CEST 2003  Jochen Eisinger <jochen@penguin-breeder.org>
+
+        * Modified the MIME parsing to allow \n and \r\n as delimiters.
+         Affected files lib/silcutil/silcstrutil.c
+
+       * Cleaned up the escape/unescape functions for correctness and
+         speed. Affected file irssi/src/silc/core/client_ops.c
+
+       * Removed handling for data messages with Content-Type: text/*,
+         moved parsing of MIME headers to the signal handler, added
+         support for signing and verifying data messages. Affected
+         files are irssi/docs/signals.txt, irssi/src/silc/core/client_ops.c,
+         irssi/src/silc/core/silc-{servers,channels}.c
+
+       * Added a perl script for handling data messages based on
+         information read from Mailcap files. New file
+         irssi/scripts/silc-mime.pl
+
+Mon Oct 20 16:08:22 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
+
+       * Added new SILC_MESSAGE_FLAG_ACK that can  be used to
+         acknowledge recepetion of a message to the sender.  Updated
+         protocol specs.
+
 Sat Oct 18 11:55:33 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
 
        * Unregister channel key saving callback when deleting channel.
@@ -7,6 +341,14 @@ Sat Oct 18 11:55:33 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
          before calling notify client operation.  Affected file is
          lib/silcclient/client_notify.c.
 
+       * Unregister QoS tasks when deleting the socket connection.
+         Affected files lib/silcutil/silcsockconn.[ch],
+         unix/silcunixsockconn.c.
+
+       * Implemented latest presence-attrs draft changes.  Affected
+         files lib/silccore/silcattrs.h and
+         irssi/src/silc/core/silc-queries.c.
+
 Tue Oct 14 18:24:53 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
 
        * Save old channel keys in list to allow more rapid change