Mac OS X >= 10.7 support
[runtime.git] / CHANGES.RUNTIME
index 644be70781785e56df3122ed1afb4623c2568504..5be15e2608f43d11473dc02fe723b914e598bf3c 100644 (file)
@@ -1,3 +1,238 @@
+This file is not updated anymore manually.  See git history for same 
+information.
+
+-----------------------------------------------------------------------------
+
+Thu Jan 17 16:40:49 EET 2008  Pekka Riikonen <priikone@silcnet.org>
+
+       * Added SILC Thread Queue API to lib/silcutil/silcthreadqueue.[ch].
+
+Tue Jan 15 19:44:36 EET 2008  Pekka Riikonen <priikone@silcnet.org>
+
+       * Added SILC Dir API to lib/silcutil/silcdir.h.  Implemented it
+         for Unix (POSIX).  Affected files are lib/silcutil/silcdir.h,
+         lib/silcutil/unix/silcunixdir.c.
+
+Sun Jan 13 17:11:26 EET 2008  Pekka Riikonen <priikone@silcnet.org>
+
+       * Added silc_buffer_memcmp and silc_buffer_tail.  Fixed SilcBuffer
+         reallocation when reducing the buffer size.  Affected file is
+         lib/silcutil/silcbuffer.h.
+
+       * Added SILC_STR_REPLACE.  Removed SILC_STR_STRING_APPEND.
+         Fixed various SILC_STR_REGEX bugs.  Affected files are
+         lib/silcutil/silcbuffmt.[ch] and silctypes.h.
+
+       * Added silc_subst.  Regex matching and substitution with the
+         familiar Sed syntax.  Affected files are 
+         lib/silcutil/silcregex.[ch] and lib/silcutil/silcerrno.[ch].
+
+Tue Jan  8 17:08:28 EET 2008  Pekka Riikonen <priikone@silcnet.org>
+
+       * Moved SILC protocol ID specific utility functions to SILC
+         core library from utility library.  Affected files are
+         lib/silcutil/silcutil.[ch].
+
+Tue Jan  8 09:41:57 EET 2008  Pekka Riikonen <priikone@silcnet.org>
+
+        * Fixed printable fingerprint bufferoverlfow, RedHat bug 372021.
+          Affected file is lib/silcutil/silcutil.c.
+
+Sat Jan  5 20:19:28 EET 2008  Pekka Riikonen <priikone@silcnet.org>
+
+       * Added SILC_STR_DELETE buffer format macro.  Added support for
+         deleting data after regex match with SILC_STR_REGEX.  Affected
+         files are lib/silcutil/silcbuffmt.[ch].
+
+       * Handle regex anychar (.) with bounded repeat correctly.
+         Affected file is lib/silcutil/silcregex.c.
+
+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].
+
+Sat Dec 15 19:59:53 EET 2007  Pekka Riikonen <priikone@silcnet.org>
+
+       * Added SILC Tls API for Thread-local storage in
+         lib/silcutil/silcthread.[ch].  Added all platform specific
+         implementations.  Added SilcTls structure to 
+         lib/silcutil/silcthread_i.h that is now in all threads' Tls.
+
+Thu Dec 13 17:37:21 EET 2007  Pekka Riikonen <priikone@silcnet.org>
+
+       * Clear the locked flag before unlocking mutex, not after.
+         Affected files are lib/silcutil/unix/silcunixthread.c and
+         lib/silcutil/symbian/silcsymbianthread.c.
+
+       * Fixed thread pool locking dealing with thread stopping to
+         prevent deadlocks and crashes.  Affected file is 
+         lib/silcutil/silcthread.c.
+
+Tue Nov  6 17:09:42 EET 2007  Pekka Riikonen <priikone@silcnet.org>
+
+       * Added '%@' formatting to silc_snprintf and variants.  It
+         can be used to render data and structures.  Affected files
+         are lib/silcutil/silcsnprintf.[ch].
+
+Sat Oct 27 18:12:40 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
+
+       * Added silc_net_tcp_create_listener2.  Affected files are
+         lib/silcutil/silcnet.h and platform specific implementation.
+
+Sat Sep  1 12:09:32 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
+
+       * Rewrote parts of the SILC Atomic API to not use volatile
+         members in structures but to handle the memory accesses
+         volatily, the right way to do it.  Affected file is
+         lib/silcutil/silcatomic.h.
+
+       * Added silc_timer_tick and silc_timer_synchronize functions
+         to SILC Timer API.  Affected files are 
+         lib/silcutil/silctimer.[ch] and silctimer_i.h.
+
+       * Use clock_gettime in place of gettimeofday, if it is
+         available.  Affected files are configure.ad and
+         lib/silcutil/unix/silcunixutil.c.
+
+       * Added silc_offsetof, silc_likely and silc_unlikely to public
+         API.  Added silc_attribute compiler specific definition.
+         Affected file is lib/silcutil/silctypes.h.
+
+       * Added silc_prefetch and silc_prefetch_block functions that
+         provide routines for prefetching data to CPU cache.  Affected
+         file is lib/silcutil/silctypes.h.
+
+       * Added --with-alignment for specifying default memory alignment
+         used in the compiled code.  Currently only SilcStack respects
+         this value.  Affected files are lib/configure.ad,
+         lib/silcutil/silcstack_i.h and includes/silc.h.in.
+
 Tue Aug  7 21:00:00 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
 
        * Fixed alignment issues on 64-bit CPUs.  Affected files are
@@ -132,4 +367,4 @@ Mon Jul  2 17:13:51 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
 
 -----------------------------------------------------------------------------
 
-For older changes please see the CHANGES file from the CVS tree.
+For older changes please see the CHANGES file from the GIT tree.