updates.
[silc.git] / CHANGES
diff --git a/CHANGES b/CHANGES
index 100ce2be1ee9e8a8a6e1d8426cd766fe1e5d2f39..eda8d82ef0dfe7874a41f4b192ee794b521bcd50 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,4 +1,146 @@
-Fri Jun 22 10:44:14 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
+Thu Jun 28 21:30:39 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
+
+       * Changed the `say' client operation's interface to accept
+         new `type' argument to indicate the type of the message sent
+         by the library.  The application may filter the library's
+         messages according the type.  The affected file is the
+         lib/silcclient/silcapi.h.
+
+       * Added two new functions to lib/silcclient/silcapi.h:
+         silc_client_del_client and silc_client_del_client_by_id.
+         Affected file lib/silcclient/idlist.c.
+
+       * Moved the clientincludes.h from includes/ to silc/ and
+         serverincludes.h from includes/ to silcd/.
+
+       * The modes for the CMODE and CUMODE are now passed as
+         uint32 for application with COMMAND_REPLY.  The affected
+         file is lib/silcclient/command_reply.c.
+
+Wed Jun 27 22:24:47 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
+
+       * /WHOIS without arguments shows client's own information.
+         Affected file lib/silcclient/command.c.
+
+       * Changed PING to not accept any arguments.  The specs
+         says that client can ping only the connected server so
+         requiring an argument is not needed.  Affected file is
+         lib/silcclient/command.c.
+
+Wed Jun 27 00:10:33 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
+
+       * Fixed a fatal bug in private message sending and reception
+         encryption and decryption when using private message keys.
+         The implementation was incorrect and did not follow the
+         specification.  It causd that some of the message were
+         lost since it did not use the sending and receiving keys
+         as the protocol suggests.  This has been fixed and will cause
+         incompatibilities with older clients when sending private
+         message encrypted with private message keys.  Affected files
+         lib/silcclient/client_prvmsg.c, lib/silcclient/client_keyagr.c
+         and various other in Irssi SILC Client.
+
+         Added `responder' boolean argument to the functions
+         silc_client_add_private_message_key[_ske] to indicate when
+         the key is added as responder or initiator of the key
+         negotiation.
+
+Tue Jun 26 19:23:07 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
+
+       * Removed the silc_ske_check_version function and created
+         a SilcSKECheckVersion callback.  Added also a function
+         silc_ske_set_callbacks that is now used to set all SKE
+         callbacks.  The callback functions are not given to
+         the SKE functions anymore, but this function is used to
+         set the callbacks.
+
+       * Fixed the WIN32 DLL generation in lib/Makefile.am.pre.
+
+       * Added `silc_version' argument to the silc_client_alloc
+         to define the version of the application for the library.
+         The library will use the version string to compare it
+         against the remote host's (usually a server) version
+         string.  Affected file lib/silcclient/silcapi.h
+
+       * Added the KE protocol context to Key Agreement context
+         in client library so that we can abort the SKE if it
+         is in process when we get timeout.  Affected file is
+         lib/silcclient/client_keyagr.c.
+
+       * Do not resolve the client ID forever if it returns in the
+         first time that such client does not exist.  This was done
+         for example with private message.  Affected file is
+         lib/silcclient/client_prvmsg.c.
+
+Mon Jun 25 21:42:51 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
+
+       * Do not add regex.h for WIN32.  The affected file
+         includes/silcincludes.h.
+
+       * Added WIN32 DLL generation to lib/Makefile.am.pre.  It might
+         not work yet 100%.  It generates the DLL's automatically
+         when compiling with --with-win32 under cygwin.
+
+Sun Jun 24 19:49:23 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
+
+       * lib/contrib/regex.c is not compiled on WIN32.
+
+       * Added silc_net_get_socket_opt function to the
+         lib/silcutil/silcnet.h.
+
+       * Added includes/silcwin32.h for WIN32 specific includes
+         and definitions.
+
+       * Do not use ptime structure or any of the posix process
+         functions on WIN32 in lib/silccrypt/silrng.c.
+
+       * Added silc_gettimeofday to provide generic function
+         for struct timeval on all platforms.  Added the function
+         to lib/silcutil/silcutil.h.
+
+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.
+
+       * Added WIN32 specific routines of silc_socket_[read/write]
+         to lib/silcutil/win32/silcwin32sockconn.c.
+
+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
@@ -16,6 +158,17 @@ Fri Jun 22 10:44:14 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
          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