updates.
[silc.git] / CHANGES
diff --git a/CHANGES b/CHANGES
index 66a4a746296408d74cc4a446f14eeccd40eaa178..ffc89f056b14516710b5d5cfb0e83fd08227b4aa 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,126 @@
+Sat Mar 30 18:15:55 EET 2002  Pekka Riikonen <priikone@silcnet.org>
+
+       * Changed the silc_get_username and silc_get_real_name to
+         never fail.  Affected file lib/silcutil/unix/silcunixutil.c.
+
+       * Fixed the Irssi SILC Client to use the silc_get_username and
+         silc_get_real_name insted of glib routines since the glib
+         routines only corrupt stack.  Fixes the Irssi SILC to work in
+         Cygwin.  Affected file irssi/src/silc/core/silc-core.c.
+
+       * Fixed the Irssi to not use g_get_home_dir since it crashes
+         or returns garbage on cygwin and corrupts stack.  Added function
+         get_home_dir to Irssi routines.  Affected files are
+         irssi/src/core/misc.[ch] and irssi/src/core/core.c.
+
+Fri Mar 29 10:41:07 EET 2002  Pekka Riikonen <priikone@silcnet.org>
+
+       * And yet again reverted back the config thing since Johnny
+         screwed it up.  Affected file silcd/serverconfig.[ch], server.c,
+         and silcd.c.
+
+       * Fixed memory leaks from config object.  Affected files are
+         silcd/serverconfig.[ch].
+
+       * Added support for adding new connections to the server in rehash.
+         After rehash they take effect.
+
+         Added support for changing the maximum allowed connections in
+         rehash.  The number can grow but going smaller is not supported.
+
+         Added function silc_server_num_sockets_by_remote to the
+         silcd/server_util.[ch].
+
+         Affected files are silcd/server.c, and silcd/serverconfig.[ch].
+
+Fri Mar 29 03:26:12 CET 2002 Johnny Mnemonic <johnny@themnemonic.org>
+
+       * Added preliminary checking during config parsing for a valid
+         public/private key and removed further checks in the code.
+         Affected files are silcd/serverconfig.[ch], server.c.
+
+       * Moved functions silc_server_drop() and silc_server_daemonise()
+         from server.c to silcd.c since they are stricly related to
+         the application activity.
+
+       * Reverted a small part of the automatic ref/unref since
+         it caused a double unref in some situations.  Affected
+         files are silcd/silcd.[ch], server.c, serverconfig.c.
+
+       * Added some .cvsignore files in the lib directory.
+
+Thu Mar 28 22:51:15 EET 2002  Pekka Riikonen <priikone@silcnet.org>
+
+       * Fixed silc_net_gethostbyaddr to correctly resolve by
+         address.  Affected file lib/silcutil/silcnet.c.
+
+       * Fixed the notify relaying to client.  The HMAC to be used
+         with relayed packets ws wrong and caused decryption failure
+         at the client end.  Affected file is silcd/packet_receive.c.
+
+Thu Mar 28 19:02:05 EET 2002  Pekka Riikonen <priikone@silcnet.org>
+
+       * Created new branch silc_protocol_1_0_branch.
+
+       * Reverted the silc_log_quick change in lib/silcutil/silclog.c.
+
+       * Changed the silc_server_config_* routines to be SilcServer
+         independent.  They are now officially application specific code
+         and not part of generic server implementation.  Affected files
+         are silcd/serverconfig.[ch], silcd/silcd.c, silcd/server.c.
+
+Thu Mar 28 17:01:43 EET 2002  Pekka Riikonen <priikone@silcnet.org>
+
+       * Added automatic referencing of config context in the
+         silc_server_config_alloc, and automatic unreferencing in the
+         silc_server_config_destroy.  Affected files are
+         silcd/serverconfig.[ch], silcd/silcd.c.
+
+       * Fixed the silc_log_quick handling in the logging routines.
+         It didn't log quickly when it was TRUE.  Affected file is
+         lib/silcutil/silclog.c.  Also the flush delay was set even
+         if it was 0 in config file.  Affected file is 
+         silcd/serverconfig.c.
+
+       * Added support for changing key pair of the server in rehash.
+         Affected file silcd/server.c.
+
+Thu Mar 28 12:17:21 CET 2002  Pekka Riikonen <priikone@silcnet.org>
+
+       * Fixed the TOPIC_SET notify to not cras.  It changed the topic
+         too early, before getting the channel entry.  Affected file
+         is silcd/packet_receive.c.
+
+Thu Mar 28 09:58:16 CET 2002  Johnny Mnemonic <johnny@themnemonic.org>
+
+       * Added functions silc_server_config_[ref/unref], these are used
+         to prevent that the config object is destroyed.
+
+         No longer directly affect global variables silc_log_quick and
+         silc_log_delay, they are first cached inside the config object
+         and then applied with silc_server_config_setlogfiles().
+
+         silc_server_config_set_defaults() is now internal to
+         serverconfig.c, there are no reasons to show this internal stuff
+         to the server.
+
+         Affected files are silcd/serverconfig.[ch].
+
+       * Added macro SILC_SERVER_LOG_STDERR(), this should replace most
+         fprintf's to stderr, since some code may be executed again after
+         the server went into the background.  Affected files are
+         silcd/server.[ch].
+
+       * Added rehash support. Added function silc_server_rehash() that
+         will perform all the basic tasks of the rehashing procedure.
+
+       * Added command line option `-x, --hexdump'. This will enable the
+         SILC_LOG_HEXDUMP calls that are no longer enabled with `--debug'.
+         The option `--hexdump' implies `--debug'.
+
+       * Fixed a bad bug in the logging APIs (silcutil library) where
+         the application would crash after calling silc_log_reset_all().
+
 Wed Mar 27 19:43:16 EET 2002  Pekka Riikonen <priikone@silcnet.org>
 
        * Fixed the KICKED notify handling in client library to
@@ -16,6 +139,10 @@ Wed Mar 27 19:43:16 EET 2002  Pekka Riikonen <priikone@silcnet.org>
        * Fixed the lib/silcmath/Makefile.am to include the MPI and GMP
          sources correctly to distribution.  Fixes --with-gmp option.
 
+       * Removed the manual rehashing from ID Cache, and changed it
+         to use the SILC Hash Table's auto rehash feature.  Affected
+         file is lib/silccore/silcidcache.c.
+
 Wed Mar 27 00:07:11 EET 2002  Pekka Riikonen <priikone@silcnet.org>
 
        * Fixed a bug in the silc_client_nickname_format function that