This file is not updated anymore manually. See git history for same information. ----------------------------------------------------------------------------- Thu Jan 17 16:40:49 EET 2008 Pekka Riikonen * Added SILC Thread Queue API to lib/silcutil/silcthreadqueue.[ch]. Tue Jan 15 19:44:36 EET 2008 Pekka Riikonen * Added SILC Dir API to lib/silcutil/silcdir.h. Implemented it for Unix (POSIX). Affected files are lib/silcutil/silcdir.h, lib/silcutil/unix/silcunixdir.c. Sun Jan 13 17:11:26 EET 2008 Pekka Riikonen * Added silc_buffer_memcmp and silc_buffer_tail. Fixed SilcBuffer reallocation when reducing the buffer size. Affected file is lib/silcutil/silcbuffer.h. * Added SILC_STR_REPLACE. Removed SILC_STR_STRING_APPEND. Fixed various SILC_STR_REGEX bugs. Affected files are lib/silcutil/silcbuffmt.[ch] and silctypes.h. * Added silc_subst. Regex matching and substitution with the familiar Sed syntax. Affected files are lib/silcutil/silcregex.[ch] and lib/silcutil/silcerrno.[ch]. Tue Jan 8 17:08:28 EET 2008 Pekka Riikonen * Moved SILC protocol ID specific utility functions to SILC core library from utility library. Affected files are lib/silcutil/silcutil.[ch]. Tue Jan 8 09:41:57 EET 2008 Pekka Riikonen * Fixed printable fingerprint bufferoverlfow, RedHat bug 372021. Affected file is lib/silcutil/silcutil.c. Sat Jan 5 20:19:28 EET 2008 Pekka Riikonen * Added SILC_STR_DELETE buffer format macro. Added support for deleting data after regex match with SILC_STR_REGEX. Affected files are lib/silcutil/silcbuffmt.[ch]. * Handle regex anychar (.) with bounded repeat correctly. Affected file is lib/silcutil/silcregex.c. Sat Jan 5 18:00:06 EET 2008 Pekka Riikonen * Added silc_buffer_equal to lib/silcutil/silcbuffer.h. * Added SILC_STR_STRING and SILC_STR_STRING_APPEND buffer format macros. Affected files are lib/silcutil/silcbuffmt.[ch]. * Added support for matching and appending with SILC_STR_REGEX and SILC_STR_STRING_APPEND. Affected files are lib/silcutil/silcbuffmt.[ch]. Thu Jan 3 18:37:42 EET 2008 Pekka Riikonen * Added SilcStack support to silc_regex and silc_regex_buffer calls. Affected files are lib/silcutil/silcregex.[ch]. Wed Jan 2 22:39:57 EET 2008 Pekka Riikonen * Added silc_stack_[set|get]_global to set/get global per-thread SilcStack. Affected files are lib/silcutil/silcstack.[ch]. * Imported new improved free regex implementation. Added (again) support for SILC_REGEX_NOTBOL and SILC_REGEX_NOTEOLF flags. Added also support for POSIX bounded repeat expression (a{n,m}) to make it more POSIX compliant. Added SilcStack support to the regex too. Affected files are lib/silcutil/silcregex.[ch]. * Added silc_buffer_printf to lib/silcutil/silcbuffer.h. * Changed silc_srealloc to allocate new memory block if reallocation from stack fails, and to copy the old data to the new one. Affected files are lib/silcutil/silcmemory.[ch]. Tue Jan 1 19:40:15 EET 2008 Pekka Riikonen * Added SILC_REGEX_NOTBOL and SILC_REGEX_NOTEOL flags to lib/silcutil/silcregex.[ch]. Tue Jan 1 18:00:47 EET 2008 Pekka Riikonen * Added silc_regex and silc_regex_buffer, routines that provide convenient use of regular expressions. Affected files are lib/silcutil/silcregex.[ch]. Deprecated the silc_string_regex_match. Affected files are lib/silcutil/silcstrutil.[ch]. * Added SILC_STR_REGEX macro to SILC Buffer Format API. It provides powerful regular expression matching within the SilcBuffer. Combined with SILC Buffer Format API it can turn the API into a Stream Editor (sed) and Awk like, providing powerful ways to match and edit the buffer in myriad of ways. The SILC_STR_REGEX can also mimic the behavior of sed (match and edit line by line). Affected files are lib/silcutil/silcbuffmt.[ch], silctypes.h. Mon Dec 31 15:50:31 EET 2007 Pekka Riikonen * Added SILC_STR_OFFSET_START and SILC_STR_OFFSET_END to lib/silcutil/silcbuffmt.[ch]. Mon Dec 31 01:30:17 EET 2007 Pekka Riikonen * Added SILC regular expression API to lib/silcutil/silcregex.[ch]. Sun Dec 30 14:35:33 EET 2007 Pekka Riikonen * 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 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]. * The SILC FSM real thread now adds the created SilcSchedule as the thread's global scheduler. Affected file is lib/silcutil/silcfsm.[ch]. * 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. Wed Dec 26 13:10:30 EET 2007 Pekka Riikonen * 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 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. Tue Aug 7 21:00:00 EEST 2007 Pekka Riikonen * 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. Wed Jul 4 20:20:05 EEST 2007 Pekka Riikonen * Unified the SILC_STR_FUNC callback. Affected files are lib/silcutil/silcbuffmt.[ch]. * Added SilcStack support to SILC File Util API. Affected files are lib/silcutil/silcfileutil.[ch]. * Added SilcStack support to SILC FD Stream API. Affected files are lib/silcutil/silcfdstream.[ch]. * Added SilcStack support to SILC Scheduler API. The scheduler now creates stack always. It can be retrieved by silc_schedule_get_stack. Affected files are lib/silcutil/silcschedule.[ch], silcschedule_i.h. * Added SilcStack child creation and use multi-thread support. Added OOM handler, silc_stack_set_oom_handler. Affected files are lib/silcutil/silcstack.[ch]. Tue Jul 3 22:45:56 EEST 2007 Pekka Riikonen * Added concept of child stacks to SilcStack, allowing to create true memory pools using SilcStack. It is now possible to create childs from the parent, without consuming the parent's memory. The child's memory is returned back to parent when it is freed. Affected files are lib/silcutil/silcstack.[ch], silcstack_i.h. Tue Jul 3 18:17:54 EEST 2007 Pekka Riikonen * Added SILC DLL API for loading and using shared objects and DLLs. Affected files are lib/silcutil/sildll.[ch]. Added also test program lib/silcutil/tests/test_silcdll.c. * Added SILC Environment manipulation API to lib/silcutil/silcenv.[ch] and test program to lib/silcutil/tests/test_silcenv.c. * Renamed silc_hash_table_replace to silc_hash_table_set. Added SilcStack support to SilcHashTable. Affected files are lib/silcutil/silchashtable.[ch]. * Added SilcStack support to SilcDList. Added new function silc_dlist_sinit. Affected file is lib/silcutil/silcdlist.h. Mon Jul 2 21:07:34 EEST 2007 Pekka Riikonen * Removed unaligned memory allocation from SilcStack. Moved silc_stack_malloc and silc_stack_realloc to public API from private API. Added silc_stack_[set|get]_alignment that is used to get/set memory alignment with SilcStack. Affected files are lib/silcutil/silcstack.[ch], silcstack_i.h. * Added silc_sfree to lib/silcutil/silcmemory.[ch]. * Removed silc_smalloc_ua and silc_srealloc_ua. Affected files are lib/silcutil/silcmemory.[ch]. Mon Jul 2 17:13:51 EEST 2007 Pekka Riikonen * Added SILC Thread Pool API to lib/silcutil/silcthread.[ch], and test program in lib/silcutil/tests/test_silcthread.c. ----------------------------------------------------------------------------- For older changes please see the CHANGES file from the GIT tree.