updates.
[silc.git] / CHANGES
diff --git a/CHANGES b/CHANGES
index 454a90877ce4ca9e007e85bef6367344403846a1..b24c28ee9fdcac931f0d1a9a61534e976e957d35 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,141 @@
+Sun Jun 24 12:19:52 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
+
+       * Moved the lib/silccore/silcsockconn.[ch] to the utility
+         library as they clearly belong there.  As a plus side we
+         can make the actual socket connection routines platform
+         specific.
+
+         Added also new generic function silc_socket_read and
+         silc_socket_write (that used to be silc_packet_[read/write].
+         The implementation of these are platform specific.
+
+Sat Jun 23 16:01:00 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
+
+       * Added preliminary support for native WIN32 compilation under
+         cygwin (using the -mno-cygwin option for GCC) to the
+         ./configure.in.pre.  The --with-win32 now prepares the
+         compilation for native WIN32.
+
+       * Rewrote the SILC Scheduler interface in the file
+         lib/silcutil/silcschedule.h.  The scheduler is now context
+         based and does not have anymore any global static scheduler.
+         Moved the Unix scheduler to the lib/silcutil/unix/ directory
+         and created lib/silcutil/win32 directory for WIN32 based
+         scheduler.
+
+       * Added Unix specific network routines to the
+         lib/silcutil/unix/silcunixnet.c and the old
+         lib/silcutil/silcnet.c includes now only generic routines.
+
+         Added WIN32 specific network routines to the
+         lib/silcutil/win32/silcwin32net.c.
+
+       * Added Unix specific utility functions from the
+         lib/silcutil/silcutil.c to lib/silcutil/unix/silcunixutil.c.
+
+       * Added WIN32 SILC Scheduler to the file
+         lib/silcutil/win32/silcwin32schedule.c. The code is of course
+          untested.
+
+Fri Jun 22 10:44:14 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
+
+       * Do not handle JOIN notify in the server if the target client
+         is not registered (idata->registered == FALSE).  The affected
+         file is silcd/packet_receive.c.
+
+       * Update the nickrec->founder in event_cumode in the Irssi SILC
+         client.  Affected file irssi/src/silc/core/silc-channels.c.
+
+       * Fixed the CUMODE_CHANGE notify handling in the server when
+         server and router are announcing their clients on channels.
+         Now the mode changes are saved and notified correctly.  The
+         affected file is /silcd/packet_receive.c.
+
+       * Fixed silc_idlit_replace_[server/client/channel]_id functions.
+         They really did not replace the cache entry in the ID Cache.
+         Now they do that.  Affected file silcd/idlist.c.
+
+       * Fixed the KICK notify handling in the Irssi SILC client to
+         update the channel records so that the kicked client does not
+         appear to be on the channel.  The affected file is 
+         irssi/src/silc/core/silc-channels.c.
+
+       * Always update the conn->current_channel when executing command
+         on a channel.  Affected file irssi/src/silc/core/silc-servers.c.
+
+       * Fixed the KILL notify handling in Irssi SILC client to remove
+         the killed client on all channels.
+
+Thu Jun 21 17:10:08 CEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
+
+       * Fixed the silc_parse_command_line to remove extra spaces
+         from the start and end of the arguments.  Affected file is
+         lib/silcutil/silcutil.c.
+
+       * Cancel and free any active protocol in the function
+         silc_server_close_connection.  Affected file silcd/server.c.
+
+       * Cancel and free any active protocol in the function
+         silc_client_close_connction.  Affected file is
+         lib/silcclient/client.c.
+
+       * Do not execute the KILL command for clients that are in
+         history (ie. they are not in the network).  Affected file is
+         silcd/command.c.
+
+       * Fixed KILL notify handling, client does not crash anymore.
+         Affected file irssi/src/silc/core/silc-channels.c.
+
+       * Reduced the default packet buffer size from 2048 to 1024 in   
+         lib/silccore/silcpacket.c.
+
+       * Added SILC_SKE_STATUS_FREED SKE status type and a reference
+         counter to the SKE context that is incresed when the SKE library
+         performs async operation outside the library.  If the outside
+         process frees the SKE context and FREED status will be set 
+         and the library will detect after the sync operation that the
+         libary is freed.  The affected files are
+         lib/silcske/silcske[_status].[ch].
+
+       * Resolve the client entry information in the function
+         silc_client_channel_message to assure that NULL pointer is not
+         passed as client entry to the application. */
+
+       * Fixed the task timeout calculation to assure that there is
+         never negative timeouts.  The affected file is 
+         lib/silcutil/silcschedule.c.
+
+       * Fixed the channel user mode notification sending in server.
+         It was sent point-to-point to the router (or to server by router)
+         but it needs to be destined to a channel.  The routines now
+         supports sending the channel user mode notifys to the channels
+         when announcing clients and channels.  Affected files are
+         silcd/server.c and silcd/packet_receive.c.
+
+       * Fixed the CHANNEL_CHANGE notify handling in the client libary.
+         It did not actually replace the old channel entry in the cache.
+         Affected file lib/silcclient/client_notify.c.
+
+Tue Jun 19 22:10:36 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
+
+       * Fixed a possible crash in silc_packet_send_prepare.  It now
+         assures always that there is enough space in the buffer and
+         at the tail area of the buffer (for MAC). 
+
+         Fixed the inbound buffer reallocation in silc_packet_read.
+         It was old code and did not handle the reallocation correctly.
+         Affected
+
+         The affected file is lib/silccore/silcpacket.c.
+
+       * Fixed buffer overflow in silc_parse_nickname in the file
+         lib/silcutil/silcutil.c.
+
+Tue Jun 19 13:40:09 CEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
+
+       * make install generates new server keys only if there is not
+         keys already.
+
 Mon Jun 18 18:49:07 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
 
        * Set SILC_MESSAGE_FLAG_NOREPLY when sending the away message.
@@ -52,6 +190,10 @@ Mon Jun 18 18:49:07 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
        * The router did not save the channel mode the server announced.
          Affected file silcd/packet_receive.c.
 
+       * Fixed a possible crash in INFO command in server.  If the
+         server did not provide the server info it crashed.  Affected
+         file silcd/command.c.
+
 Sun Jun 17 15:26:05 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
 
        * Fixed the GETKEY command in the server to check also the