-Mon Jul 9 20:21:13 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
+Wed Dec 26 13:10:30 EET 2007 Pekka Riikonen <priikone@silcnet.org>
- * Added SILC Accelerator Library. Provides generic way to
- use accelerators with crypto library. Affected files are in
- lib/silcacc/.
+ * Added silc_schedule_[set|get]_global to
+ lib/silcutil/silcschedule.[ch].
- * Added software accelerator, a thread pool system that off-loads
- public and private key operations to threads. Affected files
- are lib/silcacc/softacc.[ch].
+ * Changed many APIs to call silc_schedule_get_global if provided
+ scheduler argument is NULL.
- * Changed thread pool completion callback to SilcTaskCallback so
- that it can be given directly to destination scheduler.
- Affected files are lib/silcutil/silcthread.[ch].
+Tue Dec 25 18:44:27 EET 2007 Pekka Riikonen <priikone@silcnet.org>
- * Added SilcPKCSAlgorithm context to SilcPublicKey and
- SilcPrivateKey contexts. Affected files are
- lib/silccrypt/silcpkcs.[ch], silcpk.c.
+ * silc_stack_alloc now automatically aligns the requested
+ stack size. Affected files are lib/silcutil/silcstack.[ch].
-Sun Jul 8 20:20:22 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
+Tue Dec 25 13:53:07 EET 2007 Pekka Riikonen <priikone@silcnet.org>
- * Moved Base64 routines to lib/silcutil/silcbase64.[ch]. Added
- SilcStack support to the API.
+ * Added silc_getopt to lib/silcutil/silcgetopt.[ch].
+
+Sat Dec 22 19:55:28 EET 2007 Pekka Riikonen <priikone@silcnet.org>
+
+ * 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 <priikone@silcnet.org>
+
+ * Added SILC Bit Operations API to lib/silcutil/silcbitops.[ch].
+
+Sat Dec 15 19:59:53 EET 2007 Pekka Riikonen <priikone@silcnet.org>
+
+ * 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 <priikone@silcnet.org>
+
+ * 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 <priikone@silcnet.org>
+
+ * 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 <priikone@silcnet.org>
+
+ * 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 <priikone@silcnet.org>
+
+ * 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 silc_offsetof, silc_likely and silc_unlikely to public
+ API. Added silc_attribute compiler specific definition.
+ Affected file is lib/silcutil/silctypes.h.
+
+ * Added silc_prefetch and silc_prefetch_block functions that
+ provide routines for prefetching data to CPU cache. Affected
+ file is lib/silcutil/silctypes.h.
+
+ * 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 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.
+Tue Aug 7 21:00:00 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
- * Crypto library changes.
+ * Fixed alignment issues on 64-bit CPUs. Affected files are
+ lib/silcutil/silcschedule.c and unix/silcunixschedule.c.
- Rewrote and redesigned crypto library initialization. Added
- silc_crypto_init and silc_crypto_uninit.
+Sat Aug 4 19:09:14 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
- Added SilcPKCSObject and SilcPKSCAlgorithm contexts to all
- SilcPKCSObject operation callbacks and SilcPKCSAlgorithm
- operation callbacks, respectively, as argument.
+ * 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.
- 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.
+Thu Jul 26 18:13:59 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
+
+ * 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 <priikone@silcnet.org>
+
+ * 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 <priikone@silcnet.org>
+
+ * Added silc_data2hex and silc_hex2data to
+ lib/silcutil/silcutil.[ch].
+
+Thu Jul 19 17:07:02 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
+
+ * Added silc_buffer_strchr to lib/silcutil/silcbuffer.h.
+
+Tue Jul 17 20:10:41 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
+
+ * Added silc_hexdump to lib/silcutil/silcutil.[ch].
+
+Fri Jul 13 23:01:45 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
+
+ * Added SILC_GET32_X_MSB macro to lib/silcutil/silctypes.h.
+
+Wed Jul 11 17:10:11 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
+
+ * 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 <priikone@silcnet.org>
+
+ * 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 <priikone@silcnet.org>
+
+ * 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 <priikone@silcnet.org>
+
+ * 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 <priikone@silcnet.org>
* Unified the SILC_STR_FUNC callback. Affected files are
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 <priikone@silcnet.org>
* Added SILC DLL API for loading and using shared objects and