1 Sat Sep 1 12:09:32 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
3 * Rewrote parts of the SILC Atomic API to not use volatile
4 members in structures but to handle the memory accesses
5 volatily, the right way to do it. Affected file is
6 lib/silcutil/silcatomic.h.
8 * Added silc_timer_tick and silc_timer_synchronize functions
9 to SILC Timer API. Affected files are
10 lib/silcutil/silctimer.[ch] and silctimer_i.h.
12 * Use clock_gettime in place of gettimeofday, if it is
13 available. Affected files are configure.ad and
14 lib/silcutil/unix/silcunixutil.c.
16 * Added silc_offsetof, silc_likely and silc_unlikely to public
17 API. Added silc_attribute compiler specific definition.
18 Affected file is lib/silcutil/silctypes.h.
20 * Added silc_prefetch and silc_prefetch_block functions that
21 provide routines for prefetching data to CPU cache. Affected
22 file is lib/silcutil/silctypes.h.
24 * Added --with-alignment for specifying default memory alignment
25 used in the compiled code. Currently only SilcStack respects
26 this value. Affected files are lib/configure.ad,
27 lib/silcutil/silcstack_i.h and includes/silc.h.in.
29 Tue Aug 7 21:00:00 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
31 * Fixed alignment issues on 64-bit CPUs. Affected files are
32 lib/silcutil/silcschedule.c and unix/silcunixschedule.c.
34 Sat Aug 4 19:09:14 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
36 * Added assembler optimized versions of SILC_[GET|PUT]XX_MSB
37 macros, and SILC_SWAB_XX macros. Added new functions
38 silc_rol, silc_ror, silc_rol64 and silc_ror64, all of which
39 have assembler optimizations also. Affected file is
40 lib/silcutil/silctypes.h.
42 Thu Jul 26 18:13:59 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
44 * Changed thread pool call queues thread specific and changed
45 queues to be consumed in last-in-first-out order. These
46 are optimizations to the thread pool. Affected file is
47 lib/silcutil/silcthread.c.
49 Wed Jul 25 19:32:41 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
51 * Added silc_mime_assembler_purge to lib/silcutil/silcmime.[ch]
52 to purge unfinished fragments from MIME assembler.
54 Sat Jul 21 14:47:28 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
56 * Added silc_data2hex and silc_hex2data to
57 lib/silcutil/silcutil.[ch].
59 Thu Jul 19 17:07:02 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
61 * Added silc_buffer_strchr to lib/silcutil/silcbuffer.h.
63 Tue Jul 17 20:10:41 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
65 * Added silc_hexdump to lib/silcutil/silcutil.[ch].
67 Fri Jul 13 23:01:45 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
69 * Added SILC_GET32_X_MSB macro to lib/silcutil/silctypes.h.
71 Wed Jul 11 17:10:11 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
73 * Added SILC Timer API to lib/silcutil/silctimer.[ch],
74 silctimer_i.h, tests/test_silctimer.c.
76 Tue Jul 10 20:02:04 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
78 * Added queue entry free list to thread pool instead of
79 allocating new entry everytime new entry is needed. Affected
80 file is lib/silcutil/silcthread.c.
82 Mon Jul 9 20:21:13 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
84 * Changed thread pool completion callback to SilcTaskCallback so
85 that it can be given directly to destination scheduler.
86 Affected files are lib/silcutil/silcthread.[ch].
88 Sun Jul 8 20:20:22 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
90 * Moved Base64 routines to lib/silcutil/silcbase64.[ch]. Added
91 SilcStack support to the API.
93 * Inherit the lock from parent in SilcStack child. If child
94 doesn't find stack blocks, check from parent. Added
95 silc_stack_purge. Affected file is lib/silcutil/silcstack.c.
97 Wed Jul 4 20:20:05 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
99 * Unified the SILC_STR_FUNC callback. Affected files are
100 lib/silcutil/silcbuffmt.[ch].
102 * Added SilcStack support to SILC File Util API. Affected files
103 are lib/silcutil/silcfileutil.[ch].
105 * Added SilcStack support to SILC FD Stream API. Affected files
106 are lib/silcutil/silcfdstream.[ch].
108 * Added SilcStack support to SILC Scheduler API. The scheduler
109 now creates stack always. It can be retrieved by
110 silc_schedule_get_stack. Affected files are
111 lib/silcutil/silcschedule.[ch], silcschedule_i.h.
113 * Added SilcStack child creation and use multi-thread support.
114 Added OOM handler, silc_stack_set_oom_handler. Affected
115 files are lib/silcutil/silcstack.[ch].
117 Tue Jul 3 22:45:56 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
119 * Added concept of child stacks to SilcStack, allowing to create
120 true memory pools using SilcStack. It is now possible to
121 create childs from the parent, without consuming the parent's
122 memory. The child's memory is returned back to parent when
123 it is freed. Affected files are lib/silcutil/silcstack.[ch],
126 Tue Jul 3 18:17:54 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
128 * Added SILC DLL API for loading and using shared objects and
129 DLLs. Affected files are lib/silcutil/sildll.[ch]. Added
130 also test program lib/silcutil/tests/test_silcdll.c.
132 * Added SILC Environment manipulation API to
133 lib/silcutil/silcenv.[ch] and test program to
134 lib/silcutil/tests/test_silcenv.c.
136 * Renamed silc_hash_table_replace to silc_hash_table_set.
137 Added SilcStack support to SilcHashTable. Affected files are
138 lib/silcutil/silchashtable.[ch].
140 * Added SilcStack support to SilcDList. Added new function
141 silc_dlist_sinit. Affected file is lib/silcutil/silcdlist.h.
143 Mon Jul 2 21:07:34 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
145 * Removed unaligned memory allocation from SilcStack. Moved
146 silc_stack_malloc and silc_stack_realloc to public API from
147 private API. Added silc_stack_[set|get]_alignment that is
148 used to get/set memory alignment with SilcStack. Affected
149 files are lib/silcutil/silcstack.[ch], silcstack_i.h.
151 * Added silc_sfree to lib/silcutil/silcmemory.[ch].
153 * Removed silc_smalloc_ua and silc_srealloc_ua. Affected files
154 are lib/silcutil/silcmemory.[ch].
156 Mon Jul 2 17:13:51 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
158 * Added SILC Thread Pool API to lib/silcutil/silcthread.[ch],
159 and test program in lib/silcutil/tests/test_silcthread.c.
161 -----------------------------------------------------------------------------
163 For older changes please see the CHANGES file from the CVS tree.