1 Wed Dec 26 13:10:30 EET 2007 Pekka Riikonen <priikone@silcnet.org>
3 * Added silc_schedule_[set|get]_global to
4 lib/silcutil/silcschedule.[ch].
6 * Changed many APIs to call silc_schedule_get_global if provided
7 scheduler argument is NULL.
9 Tue Dec 25 18:44:27 EET 2007 Pekka Riikonen <priikone@silcnet.org>
11 * silc_stack_alloc now automatically aligns the requested
12 stack size. Affected files are lib/silcutil/silcstack.[ch].
14 Tue Dec 25 13:53:07 EET 2007 Pekka Riikonen <priikone@silcnet.org>
16 * Added silc_getopt to lib/silcutil/silcgetopt.[ch].
18 Sat Dec 22 19:55:28 EET 2007 Pekka Riikonen <priikone@silcnet.org>
20 * Added SILC errno API to lib/silcutil/silcerrno.[ch]. Added
21 SilcResult, generic error code and return value type. Added
22 global silc_errno that returns last error in that thread.
24 * Deprecated SilcSocketStreamStatus, SilcResult replaces it.
25 Backwards support remains. Affected files are
26 lib/silcutil/silcsocketstream.[ch].
28 * Deprecated SilcNetStatus, SilcResult replaces it. Backwards
29 support remains. Affected files are lib/silcutil/silcnet.[ch].
31 * Added errno setting to almost all Runtime Tooolkit routines
34 Sun Dec 16 16:18:04 EET 2007 Pekka Riikonen <priikone@silcnet.org>
36 * Added SILC Bit Operations API to lib/silcutil/silcbitops.[ch].
38 Sat Dec 15 19:59:53 EET 2007 Pekka Riikonen <priikone@silcnet.org>
40 * Added SILC Tls API for Thread-local storage in
41 lib/silcutil/silcthread.[ch]. Added all platform specific
42 implementations. Added SilcTls structure to
43 lib/silcutil/silcthread_i.h that is now in all threads' Tls.
45 Thu Dec 13 17:37:21 EET 2007 Pekka Riikonen <priikone@silcnet.org>
47 * Clear the locked flag before unlocking mutex, not after.
48 Affected files are lib/silcutil/unix/silcunixthread.c and
49 lib/silcutil/symbian/silcsymbianthread.c.
51 * Fixed thread pool locking dealing with thread stopping to
52 prevent deadlocks and crashes. Affected file is
53 lib/silcutil/silcthread.c.
55 Tue Nov 6 17:09:42 EET 2007 Pekka Riikonen <priikone@silcnet.org>
57 * Added '%@' formatting to silc_snprintf and variants. It
58 can be used to render data and structures. Affected files
59 are lib/silcutil/silcsnprintf.[ch].
61 Sat Oct 27 18:12:40 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
63 * Added silc_net_tcp_create_listener2. Affected files are
64 lib/silcutil/silcnet.h and platform specific implementation.
66 Sat Sep 1 12:09:32 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
68 * Rewrote parts of the SILC Atomic API to not use volatile
69 members in structures but to handle the memory accesses
70 volatily, the right way to do it. Affected file is
71 lib/silcutil/silcatomic.h.
73 * Added silc_timer_tick and silc_timer_synchronize functions
74 to SILC Timer API. Affected files are
75 lib/silcutil/silctimer.[ch] and silctimer_i.h.
77 * Use clock_gettime in place of gettimeofday, if it is
78 available. Affected files are configure.ad and
79 lib/silcutil/unix/silcunixutil.c.
81 * Added silc_offsetof, silc_likely and silc_unlikely to public
82 API. Added silc_attribute compiler specific definition.
83 Affected file is lib/silcutil/silctypes.h.
85 * Added silc_prefetch and silc_prefetch_block functions that
86 provide routines for prefetching data to CPU cache. Affected
87 file is lib/silcutil/silctypes.h.
89 * Added --with-alignment for specifying default memory alignment
90 used in the compiled code. Currently only SilcStack respects
91 this value. Affected files are lib/configure.ad,
92 lib/silcutil/silcstack_i.h and includes/silc.h.in.
94 Tue Aug 7 21:00:00 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
96 * Fixed alignment issues on 64-bit CPUs. Affected files are
97 lib/silcutil/silcschedule.c and unix/silcunixschedule.c.
99 Sat Aug 4 19:09:14 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
101 * Added assembler optimized versions of SILC_[GET|PUT]XX_MSB
102 macros, and SILC_SWAB_XX macros. Added new functions
103 silc_rol, silc_ror, silc_rol64 and silc_ror64, all of which
104 have assembler optimizations also. Affected file is
105 lib/silcutil/silctypes.h.
107 Thu Jul 26 18:13:59 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
109 * Changed thread pool call queues thread specific and changed
110 queues to be consumed in last-in-first-out order. These
111 are optimizations to the thread pool. Affected file is
112 lib/silcutil/silcthread.c.
114 Wed Jul 25 19:32:41 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
116 * Added silc_mime_assembler_purge to lib/silcutil/silcmime.[ch]
117 to purge unfinished fragments from MIME assembler.
119 Sat Jul 21 14:47:28 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
121 * Added silc_data2hex and silc_hex2data to
122 lib/silcutil/silcutil.[ch].
124 Thu Jul 19 17:07:02 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
126 * Added silc_buffer_strchr to lib/silcutil/silcbuffer.h.
128 Tue Jul 17 20:10:41 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
130 * Added silc_hexdump to lib/silcutil/silcutil.[ch].
132 Fri Jul 13 23:01:45 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
134 * Added SILC_GET32_X_MSB macro to lib/silcutil/silctypes.h.
136 Wed Jul 11 17:10:11 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
138 * Added SILC Timer API to lib/silcutil/silctimer.[ch],
139 silctimer_i.h, tests/test_silctimer.c.
141 Tue Jul 10 20:02:04 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
143 * Added queue entry free list to thread pool instead of
144 allocating new entry everytime new entry is needed. Affected
145 file is lib/silcutil/silcthread.c.
147 Mon Jul 9 20:21:13 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
149 * Changed thread pool completion callback to SilcTaskCallback so
150 that it can be given directly to destination scheduler.
151 Affected files are lib/silcutil/silcthread.[ch].
153 Sun Jul 8 20:20:22 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
155 * Moved Base64 routines to lib/silcutil/silcbase64.[ch]. Added
156 SilcStack support to the API.
158 * Inherit the lock from parent in SilcStack child. If child
159 doesn't find stack blocks, check from parent. Added
160 silc_stack_purge. Affected file is lib/silcutil/silcstack.c.
162 Wed Jul 4 20:20:05 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
164 * Unified the SILC_STR_FUNC callback. Affected files are
165 lib/silcutil/silcbuffmt.[ch].
167 * Added SilcStack support to SILC File Util API. Affected files
168 are lib/silcutil/silcfileutil.[ch].
170 * Added SilcStack support to SILC FD Stream API. Affected files
171 are lib/silcutil/silcfdstream.[ch].
173 * Added SilcStack support to SILC Scheduler API. The scheduler
174 now creates stack always. It can be retrieved by
175 silc_schedule_get_stack. Affected files are
176 lib/silcutil/silcschedule.[ch], silcschedule_i.h.
178 * Added SilcStack child creation and use multi-thread support.
179 Added OOM handler, silc_stack_set_oom_handler. Affected
180 files are lib/silcutil/silcstack.[ch].
182 Tue Jul 3 22:45:56 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
184 * Added concept of child stacks to SilcStack, allowing to create
185 true memory pools using SilcStack. It is now possible to
186 create childs from the parent, without consuming the parent's
187 memory. The child's memory is returned back to parent when
188 it is freed. Affected files are lib/silcutil/silcstack.[ch],
191 Tue Jul 3 18:17:54 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
193 * Added SILC DLL API for loading and using shared objects and
194 DLLs. Affected files are lib/silcutil/sildll.[ch]. Added
195 also test program lib/silcutil/tests/test_silcdll.c.
197 * Added SILC Environment manipulation API to
198 lib/silcutil/silcenv.[ch] and test program to
199 lib/silcutil/tests/test_silcenv.c.
201 * Renamed silc_hash_table_replace to silc_hash_table_set.
202 Added SilcStack support to SilcHashTable. Affected files are
203 lib/silcutil/silchashtable.[ch].
205 * Added SilcStack support to SilcDList. Added new function
206 silc_dlist_sinit. Affected file is lib/silcutil/silcdlist.h.
208 Mon Jul 2 21:07:34 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
210 * Removed unaligned memory allocation from SilcStack. Moved
211 silc_stack_malloc and silc_stack_realloc to public API from
212 private API. Added silc_stack_[set|get]_alignment that is
213 used to get/set memory alignment with SilcStack. Affected
214 files are lib/silcutil/silcstack.[ch], silcstack_i.h.
216 * Added silc_sfree to lib/silcutil/silcmemory.[ch].
218 * Removed silc_smalloc_ua and silc_srealloc_ua. Affected files
219 are lib/silcutil/silcmemory.[ch].
221 Mon Jul 2 17:13:51 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
223 * Added SILC Thread Pool API to lib/silcutil/silcthread.[ch],
224 and test program in lib/silcutil/tests/test_silcthread.c.
226 -----------------------------------------------------------------------------
228 For older changes please see the CHANGES file from the CVS tree.