Added SILC_STR_STRING and SILC_STR_STRING_APPEND and support for
[crypto.git] / CHANGES.RUNTIME
index f333c3e1189e193da1779520ce3447839ca10538..b04693d63cf5ba80b67676e7a79616a557dc04eb 100644 (file)
@@ -1,3 +1,129 @@
+Sat Jan  5 18:00:06 EET 2008  Pekka Riikonen <priikone@silcnet.org>
+
+       * Added silc_buffer_equal to lib/silcutil/silcbuffer.h.
+
+       * Added SILC_STR_STRING and SILC_STR_STRING_APPEND buffer format
+         macros.  Affected files are lib/silcutil/silcbuffmt.[ch].
+
+       * Added support for matching and appending with SILC_STR_REGEX
+         and SILC_STR_STRING_APPEND.  Affected files are
+         lib/silcutil/silcbuffmt.[ch].
+
+Thu Jan  3 18:37:42 EET 2008  Pekka Riikonen <priikone@silcnet.org>
+
+       * Added SilcStack support to silc_regex and silc_regex_buffer
+         calls.  Affected files are lib/silcutil/silcregex.[ch].
+
+Wed Jan  2 22:39:57 EET 2008  Pekka Riikonen <priikone@silcnet.org>
+
+       * Added silc_stack_[set|get]_global to set/get global per-thread
+         SilcStack.  Affected files are lib/silcutil/silcstack.[ch].
+
+       * Imported new improved free regex implementation.  Added (again)
+         support for SILC_REGEX_NOTBOL and SILC_REGEX_NOTEOLF flags.
+         Added also support for POSIX bounded repeat expression (a{n,m}) 
+         to make it more POSIX compliant.  Added SilcStack support to
+         the regex too.  Affected files are lib/silcutil/silcregex.[ch].
+
+       * Added silc_buffer_printf to lib/silcutil/silcbuffer.h.
+
+       * Changed silc_srealloc to allocate new memory block if reallocation
+         from stack fails, and to copy the old data to the new one.
+         Affected files are lib/silcutil/silcmemory.[ch].
+
+Tue Jan  1 19:40:15 EET 2008  Pekka Riikonen <priikone@silcnet.org>
+
+       * Added SILC_REGEX_NOTBOL and SILC_REGEX_NOTEOL flags to
+         lib/silcutil/silcregex.[ch].
+
+Tue Jan  1 18:00:47 EET 2008  Pekka Riikonen <priikone@silcnet.org>
+
+       * Added silc_regex and silc_regex_buffer, routines that provide
+         convenient use of regular expressions.  Affected files
+         are lib/silcutil/silcregex.[ch].  Deprecated the
+         silc_string_regex_match.  Affected files are
+         lib/silcutil/silcstrutil.[ch].
+
+       * Added SILC_STR_REGEX macro to SILC Buffer Format API.  It
+         provides powerful regular expression matching within the
+         SilcBuffer.  Combined with SILC Buffer Format API it can turn
+         the API into a Stream Editor (sed) and Awk like, providing
+         powerful ways to match and edit the buffer in myriad of ways.  
+         The SILC_STR_REGEX can also mimic the behavior of sed (match
+         and edit line by line).  Affected files are
+         lib/silcutil/silcbuffmt.[ch], silctypes.h.
+
+Mon Dec 31 15:50:31 EET 2007  Pekka Riikonen <priikone@silcnet.org>
+
+       * Added SILC_STR_OFFSET_START and SILC_STR_OFFSET_END to
+         lib/silcutil/silcbuffmt.[ch].
+
+Mon Dec 31 01:30:17 EET 2007  Pekka Riikonen <priikone@silcnet.org>
+
+       * Added SILC regular expression API to lib/silcutil/silcregex.[ch].
+
+Sun Dec 30 14:35:33 EET 2007  Pekka Riikonen <priikone@silcnet.org>
+
+       * Implemented asynchronous events to SILC Scheduler.  Added
+         silc_schedule_task_add_event, silc_schedule_event_connect,
+         silc_schedule_event_dissconnect, silc_schedule_task_del_event
+         and silc_schedule_event_signal.  Affected files are
+         lib/silcutil/silcschedule.[ch], silcschedule_i.h.
+
+       * Added concept of child and parent scheduler to SILC Scheduler
+         API.  silc_schedule_init now takes optional parent argument.
+         Each child scheduler is still independent, only the event tasks
+         are shared among parent and children.  Affected files are
+         lib/silcutil/silcschedule.[ch].
+
+       * The SILC FSM real thread now adds the created SilcSchedule
+         as the thread's global scheduler.  Affected file is
+         lib/silcutil/silcfsm.[ch].
+
+       * Moved generic string and data hashing and comparison functions
+         from lib/silcutil/silcutil.[ch] to lib/silcutil/silchashtable.[ch]
+         as they are usable by the hash table.  Added case sensitive
+         and insensitive string hashing and comparison funtions.
+         Changed string and data hashing to use Bob Jenkin's one-at-a-time
+         hash function.
+       
+       * Moved SILC_PARAM_* types from silcbuffmt.h to silctypes.h
+         under a generic SilcParam type.  Affected files are
+         lib/silcutil/silcbuffmt.[ch] and lib/silcutil/silctypes.h.
+
+Wed Dec 26 13:10:30 EET 2007  Pekka Riikonen <priikone@silcnet.org>
+
+       * Added silc_schedule_[set|get]_global to
+         lib/silcutil/silcschedule.[ch].
+
+       * Changed many APIs to call silc_schedule_get_global if provided
+         scheduler argument is NULL.
+
+Tue Dec 25 18:44:27 EET 2007  Pekka Riikonen <priikone@silcnet.org>
+
+       * silc_stack_alloc now automatically aligns the requested
+         stack size.  Affected files are lib/silcutil/silcstack.[ch].
+
+Tue Dec 25 13:53:07 EET 2007  Pekka Riikonen <priikone@silcnet.org>
+
+       * Added silc_getopt to lib/silcutil/silcgetopt.[ch].
+
+Sat Dec 22 19:55:28 EET 2007  Pekka Riikonen <priikone@silcnet.org>
+
+       * Added SILC errno API to lib/silcutil/silcerrno.[ch].  Added
+         SilcResult, generic error code and return value type.  Added
+         global silc_errno that returns last error in that thread.
+
+       * Deprecated SilcSocketStreamStatus, SilcResult replaces it.
+         Backwards support remains.  Affected files are
+         lib/silcutil/silcsocketstream.[ch].
+
+       * Deprecated SilcNetStatus, SilcResult replaces it.  Backwards
+         support remains.  Affected files are lib/silcutil/silcnet.[ch].
+
+       * Added errno setting to almost all Runtime Tooolkit routines
+         in error conditions.
+
 Sun Dec 16 16:18:04 EET 2007  Pekka Riikonen <priikone@silcnet.org>
 
        * Added SILC Bit Operations API to lib/silcutil/silcbitops.[ch].