Added SILC_REGEX_NOTBOL and SILC_REGEX_NOTEOL flags.
[crypto.git] / CHANGES.RUNTIME
1 Tue Jan  1 19:40:15 EET 2008  Pekka Riikonen <priikone@silcnet.org>
2
3         * Added SILC_REGEX_NOTBOL and SILC_REGEX_NOTEOL flags to
4           lib/silcutil/silcregex.[ch].
5
6 Tue Jan  1 18:00:47 EET 2008  Pekka Riikonen <priikone@silcnet.org>
7
8         * Added silc_regex and silc_regex_buffer, routines that provide
9           convenient use of regular expressions.  Affected files
10           are lib/silcutil/silcregex.[ch].  Deprecated the
11           silc_string_regex_match.  Affected files are
12           lib/silcutil/silcstrutil.[ch].
13
14         * Added SILC_STR_REGEX macro to SILC Buffer Format API.  It
15           provides powerful regular expression matching within the
16           SilcBuffer.  Combined with SILC Buffer Format API it can turn
17           the API into a Stream Editor (sed) and Awk like, providing
18           powerful ways to match and edit the buffer in myriad of ways.  
19           The SILC_STR_REGEX can also mimic the behavior of sed (match
20           and edit line by line).  Affected files are
21           lib/silcutil/silcbuffmt.[ch], silctypes.h.
22
23 Mon Dec 31 15:50:31 EET 2007  Pekka Riikonen <priikone@silcnet.org>
24
25         * Added SILC_STR_OFFSET_START and SILC_STR_OFFSET_END to
26           lib/silcutil/silcbuffmt.[ch].
27
28 Mon Dec 31 01:30:17 EET 2007  Pekka Riikonen <priikone@silcnet.org>
29
30         * Added SILC regular expression API to lib/silcutil/silcregex.[ch].
31
32 Sun Dec 30 14:35:33 EET 2007  Pekka Riikonen <priikone@silcnet.org>
33
34         * Implemented asynchronous events to SILC Scheduler.  Added
35           silc_schedule_task_add_event, silc_schedule_event_connect,
36           silc_schedule_event_dissconnect, silc_schedule_task_del_event
37           and silc_schedule_event_signal.  Affected files are
38           lib/silcutil/silcschedule.[ch], silcschedule_i.h.
39
40         * Added concept of child and parent scheduler to SILC Scheduler
41           API.  silc_schedule_init now takes optional parent argument.
42           Each child scheduler is still independent, only the event tasks
43           are shared among parent and children.  Affected files are
44           lib/silcutil/silcschedule.[ch].
45
46         * The SILC FSM real thread now adds the created SilcSchedule
47           as the thread's global scheduler.  Affected file is
48           lib/silcutil/silcfsm.[ch].
49
50         * Moved generic string and data hashing and comparison functions
51           from lib/silcutil/silcutil.[ch] to lib/silcutil/silchashtable.[ch]
52           as they are usable by the hash table.  Added case sensitive
53           and insensitive string hashing and comparison funtions.
54           Changed string and data hashing to use Bob Jenkin's one-at-a-time
55           hash function.
56         
57         * Moved SILC_PARAM_* types from silcbuffmt.h to silctypes.h
58           under a generic SilcParam type.  Affected files are
59           lib/silcutil/silcbuffmt.[ch] and lib/silcutil/silctypes.h.
60
61 Wed Dec 26 13:10:30 EET 2007  Pekka Riikonen <priikone@silcnet.org>
62
63         * Added silc_schedule_[set|get]_global to
64           lib/silcutil/silcschedule.[ch].
65
66         * Changed many APIs to call silc_schedule_get_global if provided
67           scheduler argument is NULL.
68
69 Tue Dec 25 18:44:27 EET 2007  Pekka Riikonen <priikone@silcnet.org>
70
71         * silc_stack_alloc now automatically aligns the requested
72           stack size.  Affected files are lib/silcutil/silcstack.[ch].
73
74 Tue Dec 25 13:53:07 EET 2007  Pekka Riikonen <priikone@silcnet.org>
75
76         * Added silc_getopt to lib/silcutil/silcgetopt.[ch].
77
78 Sat Dec 22 19:55:28 EET 2007  Pekka Riikonen <priikone@silcnet.org>
79
80         * Added SILC errno API to lib/silcutil/silcerrno.[ch].  Added
81           SilcResult, generic error code and return value type.  Added
82           global silc_errno that returns last error in that thread.
83
84         * Deprecated SilcSocketStreamStatus, SilcResult replaces it.
85           Backwards support remains.  Affected files are
86           lib/silcutil/silcsocketstream.[ch].
87
88         * Deprecated SilcNetStatus, SilcResult replaces it.  Backwards
89           support remains.  Affected files are lib/silcutil/silcnet.[ch].
90
91         * Added errno setting to almost all Runtime Tooolkit routines
92           in error conditions.
93
94 Sun Dec 16 16:18:04 EET 2007  Pekka Riikonen <priikone@silcnet.org>
95
96         * Added SILC Bit Operations API to lib/silcutil/silcbitops.[ch].
97
98 Sat Dec 15 19:59:53 EET 2007  Pekka Riikonen <priikone@silcnet.org>
99
100         * Added SILC Tls API for Thread-local storage in
101           lib/silcutil/silcthread.[ch].  Added all platform specific
102           implementations.  Added SilcTls structure to 
103           lib/silcutil/silcthread_i.h that is now in all threads' Tls.
104
105 Thu Dec 13 17:37:21 EET 2007  Pekka Riikonen <priikone@silcnet.org>
106
107         * Clear the locked flag before unlocking mutex, not after.
108           Affected files are lib/silcutil/unix/silcunixthread.c and
109           lib/silcutil/symbian/silcsymbianthread.c.
110
111         * Fixed thread pool locking dealing with thread stopping to
112           prevent deadlocks and crashes.  Affected file is 
113           lib/silcutil/silcthread.c.
114
115 Tue Nov  6 17:09:42 EET 2007  Pekka Riikonen <priikone@silcnet.org>
116
117         * Added '%@' formatting to silc_snprintf and variants.  It
118           can be used to render data and structures.  Affected files
119           are lib/silcutil/silcsnprintf.[ch].
120
121 Sat Oct 27 18:12:40 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
122
123         * Added silc_net_tcp_create_listener2.  Affected files are
124           lib/silcutil/silcnet.h and platform specific implementation.
125
126 Sat Sep  1 12:09:32 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
127
128         * Rewrote parts of the SILC Atomic API to not use volatile
129           members in structures but to handle the memory accesses
130           volatily, the right way to do it.  Affected file is
131           lib/silcutil/silcatomic.h.
132
133         * Added silc_timer_tick and silc_timer_synchronize functions
134           to SILC Timer API.  Affected files are 
135           lib/silcutil/silctimer.[ch] and silctimer_i.h.
136
137         * Use clock_gettime in place of gettimeofday, if it is
138           available.  Affected files are configure.ad and
139           lib/silcutil/unix/silcunixutil.c.
140
141         * Added silc_offsetof, silc_likely and silc_unlikely to public
142           API.  Added silc_attribute compiler specific definition.
143           Affected file is lib/silcutil/silctypes.h.
144
145         * Added silc_prefetch and silc_prefetch_block functions that
146           provide routines for prefetching data to CPU cache.  Affected
147           file is lib/silcutil/silctypes.h.
148
149         * Added --with-alignment for specifying default memory alignment
150           used in the compiled code.  Currently only SilcStack respects
151           this value.  Affected files are lib/configure.ad,
152           lib/silcutil/silcstack_i.h and includes/silc.h.in.
153
154 Tue Aug  7 21:00:00 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
155
156         * Fixed alignment issues on 64-bit CPUs.  Affected files are
157           lib/silcutil/silcschedule.c and unix/silcunixschedule.c.
158
159 Sat Aug  4 19:09:14 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
160
161         * Added assembler optimized versions of SILC_[GET|PUT]XX_MSB
162           macros, and SILC_SWAB_XX macros.  Added new functions
163           silc_rol, silc_ror, silc_rol64 and silc_ror64, all of which
164           have assembler optimizations also.  Affected file is
165           lib/silcutil/silctypes.h.
166
167 Thu Jul 26 18:13:59 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
168
169         * Changed thread pool call queues thread specific and changed
170           queues to be consumed in last-in-first-out order.  These
171           are optimizations to the thread pool.  Affected file is
172           lib/silcutil/silcthread.c.
173
174 Wed Jul 25 19:32:41 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
175
176         * Added silc_mime_assembler_purge to lib/silcutil/silcmime.[ch]
177           to purge unfinished fragments from MIME assembler.
178
179 Sat Jul 21 14:47:28 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
180
181         * Added silc_data2hex and silc_hex2data to
182           lib/silcutil/silcutil.[ch].
183
184 Thu Jul 19 17:07:02 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
185
186         * Added silc_buffer_strchr to lib/silcutil/silcbuffer.h.
187
188 Tue Jul 17 20:10:41 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
189
190         * Added silc_hexdump to lib/silcutil/silcutil.[ch].
191
192 Fri Jul 13 23:01:45 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
193
194         * Added SILC_GET32_X_MSB macro to lib/silcutil/silctypes.h.
195
196 Wed Jul 11 17:10:11 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
197
198         * Added SILC Timer API to lib/silcutil/silctimer.[ch],
199           silctimer_i.h, tests/test_silctimer.c.
200
201 Tue Jul 10 20:02:04 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
202
203         * Added queue entry free list to thread pool instead of
204           allocating new entry everytime new entry is needed.  Affected
205           file is lib/silcutil/silcthread.c.
206
207 Mon Jul  9 20:21:13 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
208
209         * Changed thread pool completion callback to SilcTaskCallback so
210           that it can be given directly to destination scheduler.
211           Affected files are lib/silcutil/silcthread.[ch].
212
213 Sun Jul  8 20:20:22 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
214
215         * Moved Base64 routines to lib/silcutil/silcbase64.[ch].  Added
216           SilcStack support to the API.
217
218         * Inherit the lock from parent in SilcStack child.  If child
219           doesn't find stack blocks, check from parent.  Added
220           silc_stack_purge.  Affected file is lib/silcutil/silcstack.c.
221
222 Wed Jul  4 20:20:05 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
223
224         * Unified the SILC_STR_FUNC callback.  Affected files are
225           lib/silcutil/silcbuffmt.[ch].
226
227         * Added SilcStack support to SILC File Util API.  Affected files
228           are lib/silcutil/silcfileutil.[ch].
229
230         * Added SilcStack support to SILC FD Stream API.  Affected files
231           are lib/silcutil/silcfdstream.[ch].
232
233         * Added SilcStack support to SILC Scheduler API.  The scheduler
234           now creates stack always.  It can be retrieved by
235           silc_schedule_get_stack.  Affected files are
236           lib/silcutil/silcschedule.[ch], silcschedule_i.h.
237
238         * Added SilcStack child creation and use multi-thread support.
239           Added OOM handler, silc_stack_set_oom_handler.  Affected
240           files are lib/silcutil/silcstack.[ch].
241
242 Tue Jul  3 22:45:56 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
243
244         * Added concept of child stacks to SilcStack, allowing to create
245           true memory pools using SilcStack.  It is now possible to
246           create childs from the parent, without consuming the parent's
247           memory.  The child's memory is returned back to parent when
248           it is freed.  Affected files are lib/silcutil/silcstack.[ch],
249           silcstack_i.h.
250
251 Tue Jul  3 18:17:54 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
252
253         * Added SILC DLL API for loading and using shared objects and
254           DLLs.  Affected files are lib/silcutil/sildll.[ch].  Added
255           also test program lib/silcutil/tests/test_silcdll.c.
256
257         * Added SILC Environment manipulation API to
258           lib/silcutil/silcenv.[ch] and test program to
259           lib/silcutil/tests/test_silcenv.c.
260
261         * Renamed silc_hash_table_replace to silc_hash_table_set.
262           Added SilcStack support to SilcHashTable.  Affected files are
263           lib/silcutil/silchashtable.[ch].
264
265         * Added SilcStack support to SilcDList.  Added new function
266           silc_dlist_sinit.  Affected file is lib/silcutil/silcdlist.h.
267
268 Mon Jul  2 21:07:34 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
269
270         * Removed unaligned memory allocation from SilcStack.  Moved
271           silc_stack_malloc and silc_stack_realloc to public API from
272           private API.  Added silc_stack_[set|get]_alignment that is
273           used to get/set memory alignment with SilcStack.  Affected
274           files are lib/silcutil/silcstack.[ch], silcstack_i.h.
275
276         * Added silc_sfree to lib/silcutil/silcmemory.[ch].
277
278         * Removed silc_smalloc_ua and silc_srealloc_ua.  Affected files
279           are lib/silcutil/silcmemory.[ch].
280
281 Mon Jul  2 17:13:51 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
282
283         * Added SILC Thread Pool API to lib/silcutil/silcthread.[ch],
284           and test program in lib/silcutil/tests/test_silcthread.c.
285
286 -----------------------------------------------------------------------------
287
288 For older changes please see the CHANGES file from the CVS tree.