Sun May 13 16:54:35 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
[silc.git] / CHANGES
diff --git a/CHANGES b/CHANGES
index e46811d786893243c6eee5cbc739cc90082fbe6d..9e7d93c5dc52695bf1ce6068a379d865ea695955 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,438 @@
+Sun May 13 16:54:35 CEST 2007  Jochen Eisinger <coffee@silcnet.org>
+
+       * Fix several warnings in Irssi's Makefiles.
+
+Sun May 13 12:16:30 CEST 2007  Jochen Eisinger <coffee@silcnet.org>
+
+       * Disable ASM if --with-pic was given.  Affected file is
+         lib/silccrypt/configure.ad
+
+Fri May 11 19:10:54 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
+
+       * Wakeup scheduler in silc_fsm_continue and silc_fsm_next_later
+         in case they are called from a thread.  Affected file is
+         lib/silcutil/silcfsm.c.
+
+       * Fixed WIN32 thread creation to handle the Tls correctly.
+         Affected file is lib/silcutil/win32/silcwin32thread.c.
+
+Thu May 10 18:29:18 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
+
+       * SILC Toolkit 1.1-beta2.
+
+Thu May 10 18:21:10 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
+
+       * Fixed silc_net_tcp_connect crash on Unix and Win32.  Handle
+         the socket async operation correctly.  Changed that DNS lookup
+         is now done during connecting.  Affected files are
+         lib/silcutil/[unix|win32]/silc[unix|win32]net.c.
+
+       * Changed also silc_net_tcp_connect on Symbian to do DNS lookup.
+         Affected file is lib/silcutil/symbian/silcsymbiannet.c.
+
+       * Optimize silc_net_gethostbyname to check if the name is already
+         IP address.  Affected file is lib/silcutil/silcnet.c.
+
+Wed May  9 19:51:28 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
+
+       * Print filename instead of empty function name in debug output
+         on WIN32.  Affected files are lib/silcutil/silclog_i.h and
+         silclog.c.
+
+       * Rewrote WIN32 SILC Scheduler.  It now handles non-blocking file 
+         descriptors and sockets better.  Though, room for optimization
+         remains.  Affected file is lib/silcutil/win32/silcwin32schedule.c.
+
+       * Removed silc_net_win32_[init|uninit].  They are called now
+         automatically when SILC Scheduler is allocated.  Wrote IPv4
+         address parser because inet_addr seemed not to work on my WIN32.
+         Affected file is lib/silcutil/win32/silcwin32net.c.
+
+       * Improved socketstream.h and stream.h documentation.
+
+Tue May  8 18:13:38 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
+
+       * Changed private message waiting API in client library to make
+         it work better with multiple waiting threads.  The waiting is
+         not always per client entry instead of per connection.  Affected
+         files are lib/silcclient/client_prvmsg.c, client.h and
+         silcclient.h.
+
+       * Changed silc_packet_wait_init function to accept the the expected
+         Source ID of the packet as argument.  If specified only packets
+         with the specified types and Source ID are delivered.  Affected
+         files are lib/silccore/silcpacket.[ch].
+
+       * Fixed file transfer disconnection crash when closing the session
+         directly in the monitor callback after disconnection.  Affected
+         file is lib/silcclient/client_ftp.c.
+
+       * Make Toolkit compile on WIN32.  Affected files in win32/
+         and in lib/silcutil/win32/.
+
+       * Changed silc_compare_timeval to return negative, zero or
+         positive instead of just TRUE or FALSE.  This fixes 0 timeout
+         task dispatching on Windows.  Affected files are
+         lib/silcutil/silctime.[ch] and silcschedule.c.
+
+Mon May  7 18:18:48 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
+
+       * Fixed CMODE channel auth public key retrieval.  Affected
+         file is lib/silcclient/command.c.
+
+       * Fixed CMODE command reply to return channel public keys
+         correctly.  Affected files are lib/silcclient/command_reply.c
+         and client_channel.c.
+
+Sun May  6 12:43:19 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
+
+       * Added current channel key cipher name and HMAC name to
+         SilcChannelEntry.  Fixed channel private key creation.
+         Affected files are lib/silcclient/client_channel.c,
+         client_entry and silcclient_entry.h.
+
+       * Allow formatted nicknames as input to silc_client_get_clients
+         and silc_client_get_clients_whois.  Affected file is
+         lib/silcclient/client_entry.c.
+
+       * Fixed silc_message_payload_free crash.  Affected file is
+         lib/silccore/silcmessage.c.
+
+       * Added SILC_STATUS_ERR_NO_SUCH_PUBLIC_KEY to
+         lib/silccore/silcstatus.h.
+
+Thu May  3 18:07:50 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
+
+       * Imported libtommath 0.41.  Renamed all mp_* functions to
+         tma_mp_* functions to avoid rare linking problems on systems
+         with mp_* functions.  Affected files are in lib/silcmath/.
+
+Wed May  2 17:46:25 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
+
+       * SILC Toolkit 1.1 Beta1.
+
+Wed May  2 11:38:17 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
+
+       * Set the server and router operator modes to local entry after
+         successful OPER or SILCOPER commands.  Affected file is
+         lib/silcclient/command_reply.c.
+
+Tue May  1 14:17:06 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
+
+       * Ported SILC Socket Stream API, SILC Net API, SILC Schedule API,
+         and other smaller APIs to WIN32.  Affected files are in
+         lib/silcutil/win32/.
+
+       * Changed the various regex APIs as generic code in util library.
+         Affected files are lib/silcutil/silcstrutil.[ch].
+
+Sat Apr 28 13:47:47 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
+
+       * Ported SILC Server to the new Toolkit API, working towards
+         SILC Server 1.1.  Affected files are in apps/silcd/.
+
+       * Added silc_skr_del_public_key, silc_skr_[ref|unref]_public_key
+         to lib/silcskr/silcskr.[ch].
+
+       * Fixed SILC public key copying to copy the identifier also.
+         Affected file is lib/silccrypt/silcpk.c.
+
+       * Added silc_packet_error_string to lib/silccore/silcpacket.[ch].
+
+       * Fixed OPER and SILCOPER passphrase asking in Client library.
+         Affected file is lib/silcclient/command.c.
+
+Tue Apr 24 17:55:24 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
+
+       * Fixed command queue enabling after connecting to server.
+         The comparisons was from after changing to silc_utf8_strcasecmp.
+         Affected file is apps/irssi/src/silc/core/silc-servers.c.
+
+       * Fixed nickname setting with own client entry with 1.3 protocol
+         version server.  Affected file lib/silcclient/client_register.c.
+
+       * Ignore error notify for local client entry.  Affected file is
+         lib/silcclient/client_notify.c.
+
+       * Implemented responder rekey to SKE library.  Affected files are
+         lib/silcske/silcske.[ch].
+
+       * Fixed connection auth protocol completion sending.  Affected
+         file lib/silcske/silcconnauth.c.
+
+Mon Apr 23 17:20:01 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
+
+       * Do not call TCP network listener callback with any error
+         status, as documented.  Affected file is
+         lib/silcutil/unix/silcunixnet.c.
+
+Sun Apr 22 21:13:28 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
+
+       * Preliminary SILC Server 1.1 changes committed to apps/silcd/.
+
+       * Added SILC_SKR_USAGE_SERVICE_AUTHORIZATION SKR key usage type.
+         Changed silc_skr_find to have SilcSchedule argument and removed
+         it from silc_skr_[alloc|init].  Affected files are
+         lib/silcskr/silcskr.[ch].
+
+       * Allow NULL id for silc_idcache_add.  Affected file is
+         lib/silcapputil/silcidcache.c.
+
+       * Added silc_packet_stream_is_valid, silc_packet_get_ids and
+         silc_packet_engine_get_streams to lib/silccore/silcpacket.[ch].
+         Fixed also channel message encryption with router-to-router
+         packets.
+
+       * Added silc_id_str2id2 to lib/silccore/silcid.[ch].
+
+       * Added silc_net_get_error_string, silc_net_listener_get_ip and
+         silc_net_listener_get_hostname to lib/silcutil/silcnet.[ch].
+
+Tue Apr 10 15:55:42 CEST 2007  Jochen Eisinger <coffee@silcnet.org>
+
+       * Add option --enable-silc-plugin.  Affected files are
+         apps/irssi/configure.{ad,in}
+
+       * Only compile the SILC Plugin if required.  Affected files are
+         apps/irssi/src/Makefile.am, apps/irssi/src/fe-common/Makefile.am
+
+       * Conditionally build the SILC Plugin.  Affected files are
+         apps/irssi/src/silc/core/Makefile.am,
+         apps/irssi/src/fe-common/silc/Makefile.am
+
+       * Backout delayed protocol exit and replace with a lame busy
+         wait.  Affected files are apps/irssi/src/fe-text/silc.c,
+         apps/irssi/src/silc/core/silc-core.c
+
+       * Fix key generation for SILC Plugin.  Affected file
+         apps/irssi/src/silc/core/clientutil.c
+
+Tue Apr 10 12:40:19 CEST 2007  Jochen Eisinger <coffee@silcnet.org>
+
+       * Only pass -rpath to libtool when building shared libraries.
+         Affected file lib/Makefile.ad
+
+       * Removing the stray "s" in configure.ad
+
+Sat Mar 24 19:13:58 CET 2007  Jochen Eisinger <coffee@silcnet.org>
+
+       * Redraw the screen after creating a new key.  Affected file
+         apps/irssi/src/silc/core/clientutil.c
+
+Sun Mar 18 15:54:10 EET 2007  Pekka Riikonen <priikone@silcnet.org>
+
+       * Added SILC Client setting /set nickname_format that specifies
+         the nickname format string.  Changed default nickname format
+         string to "%n#%a".  Affected file is
+          apps/irssi/src/silc/core/silc-core.c, apps/irssi/silc.conf.
+
+       * Fixed nickname parsing with WHOIS command to accept formatted
+         nicknames.  Changed the silc_client_get_clients_local to allow
+         the searched nickname to be formatted nickname.  Removed %s and
+         %S nickname formatters.  Affected files are in lib/silcclient/.
+
+       * Added silc_client_nickname_parse to Client library API.  Affected
+         file is lib/silcclient/silcclient.h.
+
+       * Fixed nickname parsing and resolving with /MSG, /FILE and /KEY
+          commands.  Affected file are
+          apps/irssi/src/silc/core/silc-servers.c and silc-channels.c.
+
+Sat Mar 17 19:07:15 CET 2007  Jochen Eisinger <coffee@silcnet.org>
+
+       * Incorporate SILC Plugin patches.  Affected files are
+         apps/irssi/src/fe-common/silc/module-formats.{c,h},
+         apps/irssi/src/silc/core/clientutil.{c,h},
+         apps/irssi/src/silc/core/silc-core.c,
+         apps/irssi/src/silc/core/silc-chatnets.{c,h},
+         apps/irssi/src/fe-common/silc/fe-silcnet.c, and
+         apps/irssi/src/fe-common/silc/module.h
+
+Wed Mar 14 17:31:28 EET 2007  Pekka Riikonen <priikone@silcnet.org>
+
+       * In notify handling resolve user entries many times if the
+         resolving timedout.  Affected file lib/silcclient/client_notify.c.
+
+       * silc_client_get_clients_local do not return any invalid entries.
+         Affected file is lib/silcclient/client_entry.c.
+
+       * Do not print "there are now xx user on this channel" for users
+         that actually aren't anymore on the channel.  Affected file
+         is apps/irssi/src/client_ops.c.
+
+Sun Mar 11 17:43:18 CET 2007  Jochen Eisinger <coffee@silcnet.org>
+
+       * When joining channels with a password given in the config file,
+         use it.  Also use it when cycling (it would be better to get
+         the password from the server, but this isn't possible in SILC).
+         Affected files apps/irssi/src/silc/core/silc-servers.c,
+         apps/irssi/src/silc/core/silc-channels.c
+
+Sun Mar 11 15:22:42 CET 2007  Jochen Eisinger <coffee@silcnet.org>
+
+       * Import perl script for sign_messages from silc-plugin.  Affected
+         file apps/irssi/scripts/silc.pl
+
+Sun Mar 11 15:19:10 CET 2007  Jochen Eisinger <coffee@silcnet.org>
+
+       * Only wait for a nick on connecting, when it differs
+         (not counting case) from the username.  Affected file
+         is apps/irssi/src/silc/core/silc-servers.c
+
+Sun Mar 11 13:50:53 CET 2007  Jochen Eisinger <coffee@silcnet.org>
+
+       * Use time settings for lag settings.  Affected file is
+         apps/irssi/src/silc/core/silc-lag.c
+
+Tue Feb 27 17:07:34 EET 2007  Pekka Riikonen <priikone@silcnet.org>
+
+       * Added silc_thread_yield.  Affected file is
+         lib/silcutil/silcmutex.h.
+
+Wed Feb 21 17:01:01 EET 2007  Pekka Riikonen <priikone@silcnet.org>
+
+       * Fixed WHOIS command and requested attributes handling in
+         client library.  Affected files are lib/silcclient/command.c
+         and lib/silcclient/client_attrs.c.
+
+       * Fixed silc_time_value to actually work.  Added new function
+         silc_timezone.  Affected files are lib/silcutil/silctime.[ch].
+
+Tue Feb 20 08:31:28 EET 2007  Pekka Riikonen <priikone@silcnet.org>
+
+       * SILC Client 1.1 beta2.
+
+Mon Feb 19 16:06:27 EET 2007  Pekka Riikonen <priikone@silcnet.org>
+
+       * Fixed client to properly abort TCP stream creation when
+         giving /QUIT.  Affected file
+         apps/irssi/src/silc/core/silc-servers.c.
+
+       * Fixed several connecting aborting crashes from the client
+         library, packet engine and socket stream.  Affected files
+         are in lib/silclient/, lib/silccore/silcpacket.c and
+         lib/silcutil/unix/silcunixsocketstream.c.
+
+       * Fixed private key export double free crash in key generation.
+         Affected file is lib/silccrypt/silcpk.c.
+
+       * Fixed FSM event waiting when there are multiple signallers
+         and the waiter goes away after the first signal.  Affected
+         file in lib/silcutil/silcfsm.c.
+
+Sun Feb 18 22:02:22 EET 2007  Pekka Riikonen <priikone@silcnet.org>
+
+       * Fixed FSM event signalling to check if the waiter has gone
+         away already.  Affected file is lib/silcutil/silcfsm.c.
+
+       * Fixed counter mode encryption/decryption to handle non-padded
+         SILC packets correctly.  The silc_cipher_set_iv now
+         in counter mode resets for a new block.  Affected files are
+         in lib/silcske/, lib/silccrypt/, lib/silcpacket/.
+
+Sun Feb 18 12:15:21 EET 2007  Pekka Riikonen <priikone@silcnet.org>
+
+       * SILC Client 1.1 beta1.
+
+       * Memory leak fixes around the libraries.
+
+Fri Feb 16 16:53:16 EET 2007  Pekka Riikonen <priikone@silcnet.org>
+
+       * Added better check for epoll() in configure.  Affected file
+         is lib/configure.ad.
+
+Thu Feb 15 16:50:34 EET 2007  Pekka Riikonen <priikone@silcnet.org>
+
+       * Fixed per scheduler data input buffer in packet engine.  Use
+         list of inbufs instead of just one so that multiple streams
+         can do partial reads to different buffers.  Affected file is
+         lib/silccore/silcpacket.c.
+
+       * Fixed WATCH notify handling in client library.  Affected file
+         is lib/silcclient/client_notify.c.
+
+Wed Feb 14 17:05:38 EET 2007  Pekka Riikonen <priikone@silcnet.org>
+
+       * Fixed packet wrapper stream API to support encoder/decoder
+         for packets, and to handle partial reading correctly.  Fixed
+         also inbuf size checking in reading to have enough space before
+         reading.  Affected files are lib/silccore/silcpacket.[ch].
+
+       * Rewrote file transfer in client library.  Affected files are
+         in lib/silcclient/.
+
+       * Added TCP/UDP listener (internal) API to client library to have
+         generic way of dealing with listeners.  Fixed Key Agreement and
+         file transfer to use it.  Affected files are in lib/silcclient/.
+
+       * Fixed SKE to process SUCCESS packets synchronously and to call
+         completion synchronously.  Affected file is lib/silcske/silske.c.
+
+       * Fixed pthread rwlock detection.  Affected file includes/silc.h.in.
+
+       * Implemented SILC_ATTRIBYUTE_PHONE_NUMBER.  Affected files are
+         lib/silccore/silcattrs.[ch].  SILC Protocol version 1.3 change.
+
+Fri Feb  2 22:24:11 EET 2007  Pekka Riikonen <priikone@silcnet.org>
+
+       * Added support for SILC protocol version 1.3 NEW_CLIENT packet
+         to client library.  Affected file is
+         lib/silcclient/client_register.c.
+
+       * Serialize NICK and JOIN commands to avoid problems locally
+         with changing ID while joining to channel.  Affected file is
+         lib/silcclient/command.c.
+
+       * Fixed entry resolving while handling incoming JOIN notify.
+         Handle properly cases, in re-processing of notify packets, where
+         the IDs may become invalid while resolving the entry (like nick
+         change).  Entry is invalid if it doesn't have nickname, and such
+         entries are not delivered to application anymore.  These fixes
+         problems of not seeing JOINs when remote user changes nickname
+         at the same time.  Affected files are in lib/silcclient/.
+
+Thu Feb  1 18:35:58 EET 2007  Pekka Riikonen <priikone@silcnet.org>
+
+       * Added support for computing message payload MAC in new way
+         (SILC Protocol version 1.3).  Bakcwards support for old way
+         remains.  Affected files are lib/silccore/silcmessage.[ch].
+
+Sat Jan 27 22:37:30 EET 2007  Pekka Riikonen <priikone@silcnet.org>
+
+       * Added SilcRwLock API, a read/write lock.  Affected files are
+         lib/silcutil/silcmutex.h and in lib/silcutil/[unix|win32|symbian]/.
+
+Wed Jan 24 18:55:21 EET 2007  Pekka Riikonen <priikone@silcnet.org>
+
+       * Merged Irssi SVN (irssi 0.8.11).  Affected files in apps/irssi/.
+
+Tue Jan 23 16:05:27 EET 2007  Pekka Riikonen <priikone@silcnet.org>
+
+       * The silc_schedule_set_listen_fd now returns boolean value.
+         Fixed FD task adding to check correctly for already added
+         FD tasks.  Added stricter error checking for FD scheduling
+         with epoll().  Affected files are lib/silcutil/silcschedule.[ch]
+         and lib/silcutil/unix/silcunixschedule.c.
+
+       * The silc_stream_set_notifier now returns boolean value.  Changed
+         all streams to support and check for the error condition.
+         Affected files are in lib/silcutil/.
+
+       * Fixed SKE library session aborting and deletion.  Affected
+         file are lib/silcske/silcske.c.
+
+Tue Jan 16 18:22:08 EET 2007  Pekka Riikonen <priikone@silcnet.org>
+
+       * Implemented PKCS #1 with appendix with hash OID in the
+         signature.  Affected files are lib/silccrypt/silcpkcs1.[ch],
+         lib/silccrypt/silchash.[ch] and
+         lib/silcasn1/silcasn1[_encode|decode].[ch].
+
+Sun Jan 14 23:12:41 EET 2007  Pekka Riikonen <priikone@silcnet.org>
+
+       * Added support for Version (V) SILC public key identifier.
+         Affected files are lib/silccrypt/silcpk.[ch].
+
 Tue Jan  9 19:37:51 EET 2007  Pekka Riikonen <priikone@silcnet.org>
 
        * Rewrote connection auth request in client library.  It is now