From 226bdc69112e79b82b98a98a7d7e9fa40c1c1089 Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Fri, 18 May 2007 15:08:28 +0000 Subject: [PATCH] updates. --- CHANGES | 12 ++++++++++ lib/doc/notifyargs.html | 8 +++---- lib/doc/platforms.html | 52 +++++++++++++++++++++++------------------ lib/doc/porting.html | 1 + 4 files changed, 46 insertions(+), 27 deletions(-) diff --git a/CHANGES b/CHANGES index 268d7047..2ab7eafa 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,15 @@ +Fri May 18 18:10:36 EEST 2007 Pekka Riikonen + + * Fixed nickname formatting to handle already formatted nicknames + better. Affected file is lib/silccilent/client_entry.c. + + * Added "foo#2 appears as foo" support to SILC Client when user + leaves or quits and one formatted nickname remain. Affected file + is apps/irssi/src/silc/core/client_ops.c. + + * Send SilcChannelEntry to application in SILC_NOTIFY_TYPE_SIGNOFF. + Affected file is lib/silcclient/client_notify.c. + Thu May 17 18:05:10 EEST 2007 Pekka Riikonen * Fixed silc_show_public_key to not free public key in case of diff --git a/lib/doc/notifyargs.html b/lib/doc/notifyargs.html index 1844ceb8..d7e82094 100644 --- a/lib/doc/notifyargs.html +++ b/lib/doc/notifyargs.html @@ -113,11 +113,11 @@ Sent when someone leaves (parts) the channel. SILC_NOTIFY_TYPE_SIGNOFF Sent when someone signoff the SILC network. The 'signoff_message' may be -NULL. The 'leaving_client' SilcClientEntry may be incomplete and contain -NULL pointers, application must check it's pointers before attempting to -display for example nickname information. +NULL. The `signoff_client' is the client signing off. The `channel' is +the channel where the client was joined. The `channel' may be NULL. -SilcClientEntry signoff_client, char *signoff_message +SilcClientEntry signoff_client, char +*signoff_message, SilcChannelEntry channel diff --git a/lib/doc/platforms.html b/lib/doc/platforms.html index e2c03419..c34c500d 100644 --- a/lib/doc/platforms.html +++ b/lib/doc/platforms.html @@ -4,22 +4,20 @@ This document describes the implementation issues with different platforms that the SILC Toolkit support. Some of the supported platforms does not support all the features delivered with the Toolkit or they may behave -differently from other platforms. This document descibres these -differences between platforms. +differently from other platforms.
 
  • Unix & Linux Implementation
  • Windows Implementation
  • Mac OS X Implementation -
  • Symbian Implementation +
  • Symbian OS Implementation
     
     
    Supported Platforms
     
    SILC Toolkit supports by default all Unix and Linux platforms, Windows -platforms from Windows 98 and newer, and Mac OS X. In the future there is -also plans to add support for other platforms such as Symbian OS (EPOC). +platforms from Windows 2000 and newer, Mac OS X and Symbian OS.
     
     
    Unix Implementation @@ -34,15 +32,12 @@ implementation issues with current version of SILC Toolkit. Windows Implementation
     
    -By default all features and components delivered with SILC Toolkit are -supported on Windows. However, there are some certain issues with the +By default all features and components delivered with SILC Toolkit are +supported on Windows. However, there are some certain issues with the Windows version of the SILC Toolkit.
     
    -
  • Toolkit users should not use silc_client_run function to -execute the Client Library. Instead the silc_client_run_one should -be used, for example as an timer task and the Windows application's own -message loop should be used as the main message loop. +
  • Some of the network routines do not support IPv6.
     
     
    @@ -55,19 +50,30 @@ implementation issues with current version of SILC Toolkit.
     
     
    -Symbian Implementation +Symbian OS Implementation
     
    -Symbian support in SILC Toolkit is still experimental. By default all -feature and components delivered with SILC Toolkit are supported on -Symbian. However, there are some certain issues with the Symbian version -of the SILC Toolkit +Symbian OS support in SILC Toolkit is still experimental. By default all +features and components delivered with SILC Toolkit are supported and +should work on Symbian. However, there are some issues with the Symbian +version of the SILC Toolkit of what Symbian developers need to be aware.
     
    -
  • The function silc_schedule on Symbian will return immediately, -instead of blocking the calling thread/process as on other platforms. On -symbian the function is equivalent to silc_schedule_one, and that -function should be used instead. The design of SilcSchedule on Symbian -enables efficient data I/O even when silc_schedule_one is called -from a timer task. The data I/O is scheduled separately by the Symbian -Active Scheduler and the SilcSchedule will merely schedule timeouts. +
  • The function silc_schedule on Symbian will allocate new Active +Scheduler Waiter and will block the calling thread. The caller should +allocate Active Scheduler before calling silc_schedule. + +
  • When adding timeout tasks to SILC Scheduler the SILC Scheduler is woken +up after the timeout task has been added. This allows adding of the +timeout tasks from Symbian active objects outside the SILC Scheduler loop. +On other platforms this wakeup operation is not performed. + +
  • Adding fd task to SILC Scheduler will not schedule the fd for any +operation. Instead, programmer should use SILC Socket Stream API and SILC +Fd Stream API on Symbian when dealing with file descriptors and sockets. +These APIs provide asynchronous notification when data is available and can +be written. + +
  • The function silc_thread_create on Symbian will install Active +Scheduler and allocate Cleanup Stack for the new thread. The created +thread always shares heap with the parent thread. diff --git a/lib/doc/porting.html b/lib/doc/porting.html index 665357f7..6621298a 100644 --- a/lib/doc/porting.html +++ b/lib/doc/porting.html @@ -351,6 +351,7 @@ messages for Toolkit 1.1.
     
    SILC_NOTIFY_TYPE_NICK_CHANGE
    SILC_NOTIFY_TYPE_CMODE_CHANGE
    +SILC_NOTIFY_TYPE_SIGNOFF
    SILC_NOTIFY_TYPE_SERVER_SIGNOFF

     
    -- 2.24.0