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