X-Git-Url: http://git.silcnet.org/gitweb/?p=crypto.git;a=blobdiff_plain;f=CHANGES.RUNTIME;h=33f5b70da16ef6a3bb72d82dd7cbe618ad97e6b9;hp=e8410c936deb4ff326e973c4a9aa31de664cfacb;hb=60180da59ffdbbd12058dded66e3c8a547cd0852;hpb=89c9e521baa2c03c1a354dacc01eaa2bf0aa40e0 diff --git a/CHANGES.RUNTIME b/CHANGES.RUNTIME index e8410c93..33f5b70d 100644 --- a/CHANGES.RUNTIME +++ b/CHANGES.RUNTIME @@ -1,56 +1,193 @@ -Mon Jul 9 20:21:13 EEST 2007 Pekka Riikonen +Sun Dec 30 14:35:33 EET 2007 Pekka Riikonen - * Added SILC Accelerator Library. Provides generic way to - use accelerators with crypto library. Affected files are in - lib/silcacc/. + * Implemented asynchronous events to SILC Scheduler. Added + silc_schedule_task_add_event, silc_schedule_event_connect, + silc_schedule_event_dissconnect, silc_schedule_task_del_event + and silc_schedule_event_signal. Affected files are + lib/silcutil/silcschedule.[ch], silcschedule_i.h. - * Added software accelerator, a thread pool system that off-loads - public and private key operations to threads. Affected files - are lib/silcacc/softacc.[ch]. + * Added concept of child and parent scheduler to SILC Scheduler + API. silc_schedule_init now takes optional parent argument. + Each child scheduler is still independent, only the event tasks + are shared among parent and children. Affected files are + lib/silcutil/silcschedule.[ch]. - * Changed thread pool completion callback to SilcTaskCallback so - that it can be given directly to destination scheduler. - Affected files are lib/silcutil/silcthread.[ch]. + * The SILC FSM real thread now adds the created SilcSchedule + as the thread's global scheduler. Affected file is + lib/silcutil/silcfsm.[ch]. - * Added SilcPKCSAlgorithm context to SilcPublicKey and - SilcPrivateKey contexts. Affected files are - lib/silccrypt/silcpkcs.[ch], silcpk.c. + * Moved generic string and data hashing and comparison functions + from lib/silcutil/silcutil.[ch] to lib/silcutil/silchashtable.[ch] + as they are usable by the hash table. Added case sensitive + and insensitive string hashing and comparison funtions. + Changed string and data hashing to use Bob Jenkin's one-at-a-time + hash function. + + * Moved SILC_PARAM_* types from silcbuffmt.h to silctypes.h + under a generic SilcParam type. Affected files are + lib/silcutil/silcbuffmt.[ch] and lib/silcutil/silctypes.h. -Sun Jul 8 20:20:22 EEST 2007 Pekka Riikonen +Wed Dec 26 13:10:30 EET 2007 Pekka Riikonen - * Moved Base64 routines to lib/silcutil/silcbase64.[ch]. Added - SilcStack support to the API. + * Added silc_schedule_[set|get]_global to + lib/silcutil/silcschedule.[ch]. + + * Changed many APIs to call silc_schedule_get_global if provided + scheduler argument is NULL. + +Tue Dec 25 18:44:27 EET 2007 Pekka Riikonen + + * silc_stack_alloc now automatically aligns the requested + stack size. Affected files are lib/silcutil/silcstack.[ch]. + +Tue Dec 25 13:53:07 EET 2007 Pekka Riikonen + + * Added silc_getopt to lib/silcutil/silcgetopt.[ch]. + +Sat Dec 22 19:55:28 EET 2007 Pekka Riikonen + + * Added SILC errno API to lib/silcutil/silcerrno.[ch]. Added + SilcResult, generic error code and return value type. Added + global silc_errno that returns last error in that thread. + + * Deprecated SilcSocketStreamStatus, SilcResult replaces it. + Backwards support remains. Affected files are + lib/silcutil/silcsocketstream.[ch]. + + * Deprecated SilcNetStatus, SilcResult replaces it. Backwards + support remains. Affected files are lib/silcutil/silcnet.[ch]. + + * Added errno setting to almost all Runtime Tooolkit routines + in error conditions. + +Sun Dec 16 16:18:04 EET 2007 Pekka Riikonen + + * Added SILC Bit Operations API to lib/silcutil/silcbitops.[ch]. + +Sat Dec 15 19:59:53 EET 2007 Pekka Riikonen + + * Added SILC Tls API for Thread-local storage in + lib/silcutil/silcthread.[ch]. Added all platform specific + implementations. Added SilcTls structure to + lib/silcutil/silcthread_i.h that is now in all threads' Tls. + +Thu Dec 13 17:37:21 EET 2007 Pekka Riikonen + + * Clear the locked flag before unlocking mutex, not after. + Affected files are lib/silcutil/unix/silcunixthread.c and + lib/silcutil/symbian/silcsymbianthread.c. + + * Fixed thread pool locking dealing with thread stopping to + prevent deadlocks and crashes. Affected file is + lib/silcutil/silcthread.c. + +Tue Nov 6 17:09:42 EET 2007 Pekka Riikonen + + * Added '%@' formatting to silc_snprintf and variants. It + can be used to render data and structures. Affected files + are lib/silcutil/silcsnprintf.[ch]. + +Sat Oct 27 18:12:40 EEST 2007 Pekka Riikonen + + * Added silc_net_tcp_create_listener2. Affected files are + lib/silcutil/silcnet.h and platform specific implementation. + +Sat Sep 1 12:09:32 EEST 2007 Pekka Riikonen + + * Rewrote parts of the SILC Atomic API to not use volatile + members in structures but to handle the memory accesses + volatily, the right way to do it. Affected file is + lib/silcutil/silcatomic.h. + + * Added silc_timer_tick and silc_timer_synchronize functions + to SILC Timer API. Affected files are + lib/silcutil/silctimer.[ch] and silctimer_i.h. + + * Use clock_gettime in place of gettimeofday, if it is + available. Affected files are configure.ad and + lib/silcutil/unix/silcunixutil.c. - * Added allocation support from given stack with SILC_ASN1_ALLOC - flag. Added support for detecting if SILC_ASN1_NULL is present - with SILC_ASN1_OPTIONAL flag. Added support for getting th - choice index with SILC_ASN1_CHOICE. Affected files are - lib/silcasn1/silcasn1.h, silcasn1_encode.c and silcasn1_decode.c. + * Added silc_offsetof, silc_likely and silc_unlikely to public + API. Added silc_attribute compiler specific definition. + Affected file is lib/silcutil/silctypes.h. - * Crypto library changes. + * Added silc_prefetch and silc_prefetch_block functions that + provide routines for prefetching data to CPU cache. Affected + file is lib/silcutil/silctypes.h. - Rewrote and redesigned crypto library initialization. Added - silc_crypto_init and silc_crypto_uninit. + * Added --with-alignment for specifying default memory alignment + used in the compiled code. Currently only SilcStack respects + this value. Affected files are lib/configure.ad, + lib/silcutil/silcstack_i.h and includes/silc.h.in. - Added SilcPKCSObject and SilcPKSCAlgorithm contexts to all - SilcPKCSObject operation callbacks and SilcPKCSAlgorithm - operation callbacks, respectively, as argument. +Tue Aug 7 21:00:00 EEST 2007 Pekka Riikonen - Changed silc_pkcs_encrypt, silc_pkcs_decrypt, silc_pkcs_sign - and silc_pkcs_verify APIs asynchronous. They take callback - functions now. Added same callbacks to all SilcPKCSObject - and SilcPKCSAlgorithm operation callbacks. + * Fixed alignment issues on 64-bit CPUs. Affected files are + lib/silcutil/silcschedule.c and unix/silcunixschedule.c. + +Sat Aug 4 19:09:14 EEST 2007 Pekka Riikonen + + * Added assembler optimized versions of SILC_[GET|PUT]XX_MSB + macros, and SILC_SWAB_XX macros. Added new functions + silc_rol, silc_ror, silc_rol64 and silc_ror64, all of which + have assembler optimizations also. Affected file is + lib/silcutil/silctypes.h. + +Thu Jul 26 18:13:59 EEST 2007 Pekka Riikonen + + * Changed thread pool call queues thread specific and changed + queues to be consumed in last-in-first-out order. These + are optimizations to the thread pool. Affected file is + lib/silcutil/silcthread.c. + +Wed Jul 25 19:32:41 EEST 2007 Pekka Riikonen + + * Added silc_mime_assembler_purge to lib/silcutil/silcmime.[ch] + to purge unfinished fragments from MIME assembler. + +Sat Jul 21 14:47:28 EEST 2007 Pekka Riikonen + + * Added silc_data2hex and silc_hex2data to + lib/silcutil/silcutil.[ch]. + +Thu Jul 19 17:07:02 EEST 2007 Pekka Riikonen + + * Added silc_buffer_strchr to lib/silcutil/silcbuffer.h. + +Tue Jul 17 20:10:41 EEST 2007 Pekka Riikonen + + * Added silc_hexdump to lib/silcutil/silcutil.[ch]. + +Fri Jul 13 23:01:45 EEST 2007 Pekka Riikonen + + * Added SILC_GET32_X_MSB macro to lib/silcutil/silctypes.h. + +Wed Jul 11 17:10:11 EEST 2007 Pekka Riikonen + + * Added SILC Timer API to lib/silcutil/silctimer.[ch], + silctimer_i.h, tests/test_silctimer.c. + +Tue Jul 10 20:02:04 EEST 2007 Pekka Riikonen + + * Added queue entry free list to thread pool instead of + allocating new entry everytime new entry is needed. Affected + file is lib/silcutil/silcthread.c. + +Mon Jul 9 20:21:13 EEST 2007 Pekka Riikonen + + * Changed thread pool completion callback to SilcTaskCallback so + that it can be given directly to destination scheduler. + Affected files are lib/silcutil/silcthread.[ch]. + +Sun Jul 8 20:20:22 EEST 2007 Pekka Riikonen + + * Moved Base64 routines to lib/silcutil/silcbase64.[ch]. Added + SilcStack support to the API. * Inherit the lock from parent in SilcStack child. If child doesn't find stack blocks, check from parent. Added silc_stack_purge. Affected file is lib/silcutil/silcstack.c. - * Changed message payload encoding async, due to the PKCS API - changes. Affected files are lib/silccore/silcmessage.[ch]. - - * Added new PKCS API support for connauth and SKE. Affected - files are lib/silcske/silconnauth.c and silcske.c. - Wed Jul 4 20:20:05 EEST 2007 Pekka Riikonen * Unified the SILC_STR_FUNC callback. Affected files are @@ -80,9 +217,6 @@ Tue Jul 3 22:45:56 EEST 2007 Pekka Riikonen it is freed. Affected files are lib/silcutil/silcstack.[ch], silcstack_i.h. - * Added user specified SilcStack support to SILC ASN.1 API. - Affected files are lib/silcasn1/silcasn1.[ch]. - Tue Jul 3 18:17:54 EEST 2007 Pekka Riikonen * Added SILC DLL API for loading and using shared objects and