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