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