runtime.git
15 years agoDocumentation updates 1.2.beta4
Pekka Riikonen [Sat, 28 Jun 2008 14:19:12 +0000 (17:19 +0300)]
Documentation updates

15 years agoFixed possible crash in silc_parse_userfqdn
Pekka Riikonen [Sat, 28 Jun 2008 14:06:36 +0000 (17:06 +0300)]
Fixed possible crash in silc_parse_userfqdn

15 years agoAdded SilcFloat32 and SilcFloat64, 32-bit and 64-bit floating point types
Pekka Riikonen [Sat, 28 Jun 2008 13:59:24 +0000 (16:59 +0300)]
Added SilcFloat32 and SilcFloat64, 32-bit and 64-bit floating point types

15 years agoAdded silc_list_sort, sorts SilcList using Gnome Sort algorithm
Pekka Riikonen [Sat, 28 Jun 2008 13:57:45 +0000 (16:57 +0300)]
Added silc_list_sort, sorts SilcList using Gnome Sort algorithm

15 years agoAdded SilcLocalNetSecurity flags for Local Net Stream Listener.
Pekka Riikonen [Mon, 23 Jun 2008 16:57:24 +0000 (19:57 +0300)]
Added SilcLocalNetSecurity flags for Local Net Stream Listener.

15 years agoAdded SILC Local Network Stream API
Pekka Riikonen [Sun, 22 Jun 2008 19:57:19 +0000 (22:57 +0300)]
Added SILC Local Network Stream API

Allows simple interprocess communication (IPC) style communication
between processes in local machine.  The implementation uses TCP socket
connection in the local machine.

15 years agoAccept silc_file_stat and silc_file_fstat with the stat struct as NULL
Pekka Riikonen [Sun, 22 Jun 2008 19:54:43 +0000 (22:54 +0300)]
Accept silc_file_stat and silc_file_fstat with the stat struct as NULL

15 years agoAdded SILC XML API
Pekka Riikonen [Sat, 21 Jun 2008 12:08:54 +0000 (15:08 +0300)]
Added SILC XML API

The SILC XML API provides (or will provide) a simple stream based
XML parsing interface.  It is wrapper to Expat XML library.

Added --with-expat configuration option too in case the automatic
detection of expat doesn't find it in the system.

15 years agoAdded silc_errno_set_location and silc_errno_location
Pekka Riikonen [Sat, 21 Jun 2008 12:06:08 +0000 (15:06 +0300)]
Added silc_errno_set_location and silc_errno_location

They can be used to set and retrieve the location of error in a
file.

15 years agoAdded SILC Buffer Stream API
Pekka Riikonen [Tue, 17 Jun 2008 15:34:33 +0000 (18:34 +0300)]
Added SILC Buffer Stream API

Buffer stream interface to send and receive buffers.  The benefit of this
interface is that the receiver need not parse buffers from the received
data but each buffer sent is delivered separately to the receiver
callback, even if multiple buffers were received at the same time.  The
length of the buffer is delivered with the data.  The buffer data follows
a 32-bit length field in the stream.

15 years agoAdded SILC HTTP Server API
Pekka Riikonen [Tue, 10 Jun 2008 05:38:14 +0000 (08:38 +0300)]
Added SILC HTTP Server API

Provides simple HTTP server and HTTP PHP translator with simple API.

15 years agoSRT documentation and web page updates
Pekka Riikonen [Tue, 10 Jun 2008 05:29:39 +0000 (08:29 +0300)]
SRT documentation and web page updates

15 years agoMerge branch 'silc.1.1.branch' of silc repo
Pekka Riikonen [Mon, 9 Jun 2008 13:50:02 +0000 (16:50 +0300)]
Merge branch 'silc.1.1.branch' of silc repo

Conflicts:

CHANGES
Makefile.ad
Makefile.defines_int.in
README.PLUGIN
TODO
apps/Makefile.ad
apps/autodist/CHANGES
apps/autodist/autodist.in
apps/autodist/doc/autodist.1.in
apps/autodist/doc/autodist.texi
apps/irssi/Makefile.am
apps/irssi/configure.ad
apps/irssi/configure.in
apps/irssi/docs/Makefile.am
apps/irssi/docs/help/Makefile.am.gen
apps/irssi/docs/help/in/cmode.in
apps/irssi/docs/help/in/cumode.in
apps/irssi/docs/help/in/key.in
apps/irssi/scripts/Makefile.am
apps/irssi/scripts/examples/Makefile.am
apps/irssi/src/Makefile.am
apps/irssi/src/core/Makefile.am
apps/irssi/src/core/modules-load.c
apps/irssi/src/fe-common/silc/Makefile.am
apps/irssi/src/fe-common/silc/fe-common-silc.c
apps/irssi/src/fe-common/silc/fe-silc-messages.c
apps/irssi/src/fe-common/silc/module-formats.c
apps/irssi/src/fe-text/Makefile.am
apps/irssi/src/perl/Makefile.am
apps/irssi/src/silc/core/Makefile.am
apps/irssi/src/silc/core/client_ops.c
apps/irssi/src/silc/core/clientutil.c
apps/irssi/src/silc/core/silc-core.c
apps/irssi/src/silc/core/silc-servers.c
apps/silcd/Makefile.am
apps/silcd/command.c
apps/silcd/command_reply.c
apps/silcd/idlist.c
apps/silcd/idlist.h
apps/silcd/packet_receive.c
apps/silcd/packet_send.c
apps/silcd/server.c
apps/silcd/server.h
apps/silcd/server_backup.c
apps/silcd/server_http.c
apps/silcd/server_internal.h
apps/silcd/server_query.c
apps/silcd/server_query.h
apps/silcd/server_util.c
apps/silcd/server_util.h
apps/silcd/serverconfig.c
apps/silcd/serverconfig.h
apps/silcd/serverid.c
apps/silcd/silcd.c
configure.ad
distdir/autodist
distdir/client
distdir/common
distdir/default
distdir/post-dist
distdir/pre-dist-client
distdir/pre-dist-toolkit
distdir/server
distdir/toolkit
doc/Makefile.ad
doc/example_silcd.conf.in
doc/examples/silcd.prv
doc/examples/silcd.pub
doc/silcalgs.conf
doc/silcd.conf.yo
includes/silc.h.in
includes/silcversion.h.in
lib/Makefile.ad
lib/configure.ad
lib/contrib/Makefile.ad
lib/doc/command_reply_args.html
lib/doc/notifyargs.html
lib/doc/porting.html
lib/doc/silcclient_using.html
lib/silcapputil/silcapputil.c
lib/silcapputil/silcidcache.c
lib/silcapputil/silcidcache.h
lib/silcasn1/silcasn1_decode.c
lib/silcasn1/silcasn1_encode.c
lib/silcclient/client.c
lib/silcclient/client_connect.c
lib/silcclient/client_entry.c
lib/silcclient/client_entry.h
lib/silcclient/client_keyagr.c
lib/silcclient/client_notify.c
lib/silcclient/client_register.c
lib/silcclient/command.c
lib/silcclient/command_reply.c
lib/silcclient/silcclient.h
lib/silcclient/silcclient_entry.h
lib/silccore/DIRECTORY
lib/silccore/README
lib/silccore/silcargument.c
lib/silccore/silcattrs.c
lib/silccore/silcnotify.c
lib/silccore/silcpacket.c
lib/silccore/silcpacket.h
lib/silccrypt/Makefile.ad
lib/silccrypt/aes.c
lib/silccrypt/aes_x86.asm
lib/silccrypt/aes_x86_64.asm
lib/silccrypt/ciphers.h
lib/silccrypt/configure.ad
lib/silccrypt/rijndael_internal.h
lib/silccrypt/silccipher.c
lib/silccrypt/silcpk.c
lib/silccrypt/silcpkcs.c
lib/silccrypt/silcpkcs1.c
lib/silcmath/configure.ad
lib/silcsftp/sftp_client.c
lib/silcsftp/sftp_fs_memory.c
lib/silcsim/Makefile.ad
lib/silcske/silcconnauth.c
lib/silcske/silcske.c
lib/silcske/silcske.h
lib/silcskr/silcskr.c
lib/silcutil/silcatomic.h
lib/silcutil/silcbuffer.h
lib/silcutil/silcbuffmt.c
lib/silcutil/silcdlist.h
lib/silcutil/silcfsm.c
lib/silcutil/silclog.c
lib/silcutil/silcmime.c
lib/silcutil/silcnet.h
lib/silcutil/silcschedule.c
lib/silcutil/silcschedule.h
lib/silcutil/silcschedule_i.h
lib/silcutil/silcsocketstream_i.h
lib/silcutil/silcstack.h
lib/silcutil/silctime.c
lib/silcutil/silcutil.c
lib/silcutil/stacktrace.c
lib/silcutil/tests/test_silcschedule.c
lib/silcutil/unix/silcunixnet.c
lib/silcutil/unix/silcunixthread.c
tutorial/mybot/Makefile
tutorial/mybot/mybot.c
win32/libsilc/libsilc.def
win32/libsilcclient/libsilcclient.def

15 years agoClose socket if TCP connecting fails to avoid leaking sockets
Pekka Riikonen [Mon, 9 Jun 2008 05:26:01 +0000 (08:26 +0300)]
Close socket if TCP connecting fails to avoid leaking sockets

15 years agoAdd non-executing stack when compiling AES asm for GNU/ELF.
Pekka Riikonen [Mon, 9 Jun 2008 05:18:33 +0000 (08:18 +0300)]
Add non-executing stack when compiling AES asm for GNU/ELF.

Patch by Kp <kp@valhallalegends.com>bg

Signed-off-by: Pekka Riikonen <priikone@silcnet.org>
15 years agoFixed automatic reconnection to router and malloc failure handlings
Pekka Riikonen [Mon, 9 Jun 2008 05:11:20 +0000 (08:11 +0300)]
Fixed automatic reconnection to router and malloc failure handlings

If remote router disconnects while still being in Unkonwn state reconnect
to the router after disconnecting.  This should prevent the bugs where
server doesn't reconnect to router after being disconnected at the early
connection state.

Fixed various memory allocation failure handlings.

15 years agoFree sock user data before disconnecting remote peer
Pekka Riikonen [Fri, 6 Jun 2008 05:26:04 +0000 (08:26 +0300)]
Free sock user data before disconnecting remote peer

15 years agoMore disconnection crash fixes.
Pekka Riikonen [Thu, 5 Jun 2008 18:37:14 +0000 (21:37 +0300)]
More disconnection crash fixes.

Make sure the server conncection is always freed when the connection
is freed.

15 years agoHandle memory allocation failures when unformatting data
Pekka Riikonen [Sun, 25 May 2008 09:25:04 +0000 (12:25 +0300)]
Handle memory allocation failures when unformatting data

15 years agoAdd non-executing stack when compiling AES asm for GNU/ELF.
Pekka Riikonen [Sun, 25 May 2008 09:24:41 +0000 (12:24 +0300)]
Add non-executing stack when compiling AES asm for GNU/ELF.

Patch by Kp <kp@valhallalegends.com>

Signed-off-by: Pekka Riikonen <priikone@silcnet.org>
15 years agoFixed crash when packet stream creation fails.
Pekka Riikonen [Sun, 25 May 2008 09:23:17 +0000 (12:23 +0300)]
Fixed crash when packet stream creation fails.

15 years agoFixes to connection freeing crashes
Pekka Riikonen [Sun, 25 May 2008 09:22:33 +0000 (12:22 +0300)]
Fixes to connection freeing crashes

16 years agoCancel rekey timeout when closing connection.
Pekka Riikonen [Sun, 20 Apr 2008 19:53:47 +0000 (22:53 +0300)]
Cancel rekey timeout when closing connection.

16 years agoFixed KILL command related crash in silcd
Pekka Riikonen [Sun, 20 Apr 2008 15:54:53 +0000 (18:54 +0300)]
Fixed KILL command related crash in silcd

16 years agoFree connection data correctly when disconnecting the remote peer.
Pekka Riikonen [Thu, 17 Apr 2008 16:08:42 +0000 (19:08 +0300)]
Free connection data correctly when disconnecting the remote peer.

The silc_server_free_sock_user_data must be called if the
silc_server_disconnect_remote is called.

16 years agoFixed many 64-bit alignment issues from silcd.
Pekka Riikonen [Wed, 16 Apr 2008 12:53:18 +0000 (15:53 +0300)]
Fixed many 64-bit alignment issues from silcd.

16 years agoCheck for valid packet stream when counting number of connections in silcd.
Pekka Riikonen [Sat, 12 Apr 2008 10:51:42 +0000 (13:51 +0300)]
Check for valid packet stream when counting number of connections in silcd.

16 years agoSILC_IS_FD_STREAM and SILC_IS_SOCKET_STREAM now checks for NULL stream.
Pekka Riikonen [Sat, 12 Apr 2008 10:51:06 +0000 (13:51 +0300)]
SILC_IS_FD_STREAM and SILC_IS_SOCKET_STREAM now checks for NULL stream.

16 years agoFixed silc_skr_init to not fail if threads support are not compiled in.
Pekka Riikonen [Sat, 12 Apr 2008 10:50:39 +0000 (13:50 +0300)]
Fixed silc_skr_init to not fail if threads support are not compiled in.

16 years agoRemoved wrong SILC_LOG_ERROR and assert check from silc_idcache_add.
Pekka Riikonen [Sat, 12 Apr 2008 10:50:09 +0000 (13:50 +0300)]
Removed wrong SILC_LOG_ERROR and assert check from silc_idcache_add.

In some cases it is not fatal error to attempt to add entry that already
exists.  Removed the assert and changed the error to debug message.

16 years agoCompute packet sums using sha512sum.
Pekka Riikonen [Thu, 10 Apr 2008 15:04:11 +0000 (18:04 +0300)]
Compute packet sums using sha512sum.

16 years agoMark scheduler task unscheduled after silc_schedule_unset_listen_fd.
Pekka Riikonen [Thu, 10 Apr 2008 15:03:46 +0000 (18:03 +0300)]
Mark scheduler task unscheduled after silc_schedule_unset_listen_fd.

Affects epoll() version of schduler.  If it isn't marked unscheduled
next time fd's events are changed they expect the fd to be in epoll()
which they are not.  Setting unscheduled will add them again to epoll().

16 years agoFixed QoS data limit handling in socket stream when reading data.
Pekka Riikonen [Thu, 10 Apr 2008 15:01:35 +0000 (18:01 +0300)]
Fixed QoS data limit handling in socket stream when reading data.

16 years agoFixed packet stream destroy crashes when closing connections.
Pekka Riikonen [Thu, 10 Apr 2008 14:59:59 +0000 (17:59 +0300)]
Fixed packet stream destroy crashes when closing connections.

Take a reference of the packet stream and then destroy it.  The final
reference is freed in the timeout callback.  Any operation in the mean
time will detect the stream is destroyed and won't do anything.

16 years agoAccept 0600 and 0640 for server private key permissions.
Pekka Riikonen [Tue, 8 Apr 2008 05:01:19 +0000 (08:01 +0300)]
Accept 0600 and 0640 for server private key permissions.

16 years agoFixed busy-loop in WATCH command when adding public keys.
Pekka Riikonen [Tue, 8 Apr 2008 05:00:40 +0000 (08:00 +0300)]
Fixed busy-loop in WATCH command when adding public keys.

If the public key decoding failed the command ended up
decoding and failing the same public key for ever.

16 years agoFixed possible buffer overflow in PKCS#1 message decoding.
Pekka Riikonen [Thu, 20 Mar 2008 06:35:48 +0000 (08:35 +0200)]
Fixed possible buffer overflow in PKCS#1 message decoding.

Vulnerability reported by Core Security Technologies.  Thanks.

16 years agoAdded doc/runtime.in/intro.html HTML documentation. 1.2.beta3
Pekka Riikonen [Fri, 14 Mar 2008 14:25:47 +0000 (16:25 +0200)]
Added doc/runtime.in/intro.html HTML documentation.

16 years agoAdded autodetecting to appropriate use of silc_va_copy.
Pekka Riikonen [Fri, 14 Mar 2008 14:24:52 +0000 (16:24 +0200)]
Added autodetecting to appropriate use of silc_va_copy.

16 years agoAdded silc_time_epoch, converting SilcTime to Epoch time value
Pekka Riikonen [Fri, 14 Mar 2008 14:24:19 +0000 (16:24 +0200)]
Added silc_time_epoch, converting SilcTime to Epoch time value

16 years agoAdded silc_net_bit2addr, silc_htonl, silc_ntohl, silc_htons, silc_ntohs
Pekka Riikonen [Fri, 14 Mar 2008 14:23:16 +0000 (16:23 +0200)]
Added silc_net_bit2addr, silc_htonl, silc_ntohl, silc_htons, silc_ntohs

16 years agoAdded support for detecting SSE4.1, SSE4.2, SSE5. Webpage changes.
Pekka Riikonen [Fri, 14 Mar 2008 14:22:31 +0000 (16:22 +0200)]
Added support for detecting SSE4.1, SSE4.2, SSE5.  Webpage changes.

16 years ago Fixed NEW_CLIENT packet processing crash when the packet doesn't
Pekka Riikonen [Thu, 13 Mar 2008 11:52:15 +0000 (11:52 +0000)]
Fixed NEW_CLIENT packet processing crash when the packet doesn't
include nickname.

16 years agoAdded ChangeLog in package and in web page. 1.2.beta2
Pekka Riikonen [Mon, 3 Mar 2008 19:37:41 +0000 (21:37 +0200)]
Added ChangeLog in package and in web page.

16 years agoDeliver some CFLAGS to the pkg-config file for applications using it.
Pekka Riikonen [Mon, 3 Mar 2008 19:15:12 +0000 (21:15 +0200)]
Deliver some CFLAGS to the pkg-config file for applications using it.

16 years agoDocumentation updates. The SRT webpage is now part of SRT docs itself.
Pekka Riikonen [Mon, 3 Mar 2008 19:14:36 +0000 (21:14 +0200)]
Documentation updates.  The SRT webpage is now part of SRT docs itself.

16 years agoFixed ROBODoc header.
Pekka Riikonen [Mon, 3 Mar 2008 19:13:05 +0000 (21:13 +0200)]
Fixed ROBODoc header.

16 years agoAdded small timeout balancing value from 40 to 60 in Scheduler.
Pekka Riikonen [Mon, 3 Mar 2008 19:12:33 +0000 (21:12 +0200)]
Added small timeout balancing value from 40 to 60 in Scheduler.

16 years agoAdded support for stacktrace compiled SRT for apps using the SRT.
Pekka Riikonen [Mon, 3 Mar 2008 19:11:59 +0000 (21:11 +0200)]
Added support for stacktrace compiled SRT for apps using the SRT.

16 years agoChanged MIME code to use SILC Rand API to create fragment ID.
Pekka Riikonen [Mon, 3 Mar 2008 19:10:44 +0000 (21:10 +0200)]
Changed MIME code to use SILC Rand API to create fragment ID.

16 years agoChanged SILC Stream API implementation static inline functions.
Pekka Riikonen [Mon, 3 Mar 2008 19:09:59 +0000 (21:09 +0200)]
Changed SILC Stream API implementation static inline functions.

16 years agoAdded reference counting the SilcStack.
Pekka Riikonen [Wed, 27 Feb 2008 17:21:48 +0000 (19:21 +0200)]
Added reference counting the SilcStack.

The reference counting makes it possible for a parent to be freed
underneath a child stack.  When the child is freed the parent will be
finally freed as well.

16 years agoAdded silc_dlist_init_static and silc_dlist_uninit_static
Pekka Riikonen [Wed, 27 Feb 2008 17:20:44 +0000 (19:20 +0200)]
Added silc_dlist_init_static and silc_dlist_uninit_static

16 years agoMajor rewrite of the SilcThreadQueue API
Pekka Riikonen [Sat, 23 Feb 2008 13:46:52 +0000 (15:46 +0200)]
Major rewrite of the SilcThreadQueue API

The new API allows creation of queues with multiple pipes.  Each pipe
is independently lockable and waitable.  A queue with one pipe is same
as the old SilcThreadQueue.

The queue now also supports FIFO order when popping data from the pipes.
By default the order is LIFO.

16 years agoAdded silc_list_pop
Pekka Riikonen [Sat, 23 Feb 2008 13:43:28 +0000 (15:43 +0200)]
Added silc_list_pop

The silc_list_pop removes the current head of the list and returns the
removed head.

Changed also documentation.

16 years agoShow milliseconds in SILC_LOG_DEBUG and family outputs
Pekka Riikonen [Sat, 23 Feb 2008 13:42:06 +0000 (15:42 +0200)]
Show milliseconds in SILC_LOG_DEBUG and family outputs

16 years agoAdded silc_mutex_trylock
Pekka Riikonen [Sat, 23 Feb 2008 13:41:33 +0000 (15:41 +0200)]
Added silc_mutex_trylock

16 years agoFixed silc_buffer_unformat return correct length with SILC_STR_ADVANCE
Pekka Riikonen [Sat, 23 Feb 2008 13:40:58 +0000 (15:40 +0200)]
Fixed silc_buffer_unformat return correct length with SILC_STR_ADVANCE

16 years agoAdded silc_rolc, silc_rorc, silc_rolc64 and silc_rorc64
Pekka Riikonen [Sat, 23 Feb 2008 13:39:16 +0000 (15:39 +0200)]
Added silc_rolc, silc_rorc, silc_rolc64 and silc_rorc64

16 years ago Fixed partial encryption in CTR mode. Does not affect interop
Pekka Riikonen [Fri, 22 Feb 2008 14:29:58 +0000 (14:29 +0000)]
Fixed partial encryption in CTR mode.   Does not affect interop
in SILC.

16 years agoRemoved lib/silcutil/DIRECTORY, not needed anymore.
Pekka Riikonen [Mon, 11 Feb 2008 14:46:23 +0000 (16:46 +0200)]
Removed lib/silcutil/DIRECTORY, not needed anymore.

16 years agoChanged the low level errno routines public.
Pekka Riikonen [Mon, 11 Feb 2008 14:46:03 +0000 (16:46 +0200)]
Changed the low level errno routines public.

16 years agoAdded memory corruption checks to stacktrace.c
Pekka Riikonen [Mon, 11 Feb 2008 14:45:24 +0000 (16:45 +0200)]
Added memory corruption checks to stacktrace.c

The stacktrace now produces backtraces using backtrace().

The stacktrace now supports basic memory corruption checks in
addition of memory leak checks.  It supports double free checks,
invalid free checks and out of bound checks.

Environment variables SILC_MALLOC_NO_FREE and SILC_MALLOC_DUMP
can be used to get even more information out of it.

16 years agoChanged silcdefs.h to runtimedefs.h, fixed silccruntime.h.
Pekka Riikonen [Mon, 4 Feb 2008 21:04:12 +0000 (23:04 +0200)]
Changed silcdefs.h to runtimedefs.h, fixed silccruntime.h.

16 years agoMoved silc_usleep from inline function to source file.
Pekka Riikonen [Mon, 4 Feb 2008 21:01:29 +0000 (23:01 +0200)]
Moved silc_usleep from inline function to source file.

16 years agoSILC Runtime Toolkit 1.2 Beta 1 1.2.beta1
Pekka Riikonen [Sun, 3 Feb 2008 16:43:05 +0000 (18:43 +0200)]
SILC Runtime Toolkit 1.2 Beta 1

The tree contains various changes to make the beta 1 release possible.
Changed all of the Robodoc header documentation to comply with the
latest version of the Robodoc.

16 years agoAdded silc_file_stat, silc_file_fstat and silc_file_fsize
Pekka Riikonen [Sun, 3 Feb 2008 15:51:02 +0000 (17:51 +0200)]
Added silc_file_stat, silc_file_fstat and silc_file_fsize

16 years agoRemoved util/ directory from the tree.
Pekka Riikonen [Sat, 2 Feb 2008 16:44:53 +0000 (18:44 +0200)]
Removed util/ directory from the tree.

16 years agoAdded SILC Rand API, SILC Global Variables API and silcruntime.h.in
Pekka Riikonen [Thu, 31 Jan 2008 17:23:02 +0000 (19:23 +0200)]
Added SILC Rand API, SILC Global Variables API and silcruntime.h.in

The SILC Rand API provides simple PRNG.  The PRNG implementation
uses the Mersenne Twister PRNG.  Added test program for it too.

The SILC Global Variables API provides portable way to add process
global or thread global variables.  On some platforms global
variables cannot be directly used and this API provides portable
way to use them.  Added support for Unix, Windows and Symbian.
Added test program too.

Other changes include the addition of silcruntime.h.in the main
SILC Runtime Toolkit header file.  Added also silc_hash_destructor,
a generic destructor callback for convenience.

16 years agoCreated SILC Runtime Toolkit git repository Part II.
Pekka Riikonen [Sat, 26 Jan 2008 19:29:28 +0000 (21:29 +0200)]
Created SILC Runtime Toolkit git repository Part II.

Added lib/silcutil/silcruntime.h.in, the file that is the main include
file for application programmers.

Added includes/silcompile.h which is included only during compilation
of the Runtime Toolkit.

Changed all files to use the silcruntime.h instead of silc.h header
file.

Made the many other changes in makefiles, configuration scripts and
other files to try to complete the creation of the Runtime git
repository.

16 years agoCreated SILC Runtime Toolkit git repository Part I.
Pekka Riikonen [Sat, 26 Jan 2008 19:20:15 +0000 (21:20 +0200)]
Created SILC Runtime Toolkit git repository Part I.

The new git repository contains the entire history of the SILC
utility library, now named the SILC Runtime Toolkit.  In addition
of that it contains the entire history of the SILC development
since the utility library has been part of that from the very
beginning.  None of the history has been removed.  Only things
that have been removed are unneeded branches and tags.

In this changeset we remove all unnecessary files and directories.

16 years ago Added SILC Thread Queue API
Pekka Riikonen [Fri, 18 Jan 2008 14:46:32 +0000 (14:46 +0000)]
Added SILC Thread Queue API

16 years ago Comment changes.
Pekka Riikonen [Thu, 17 Jan 2008 12:50:49 +0000 (12:50 +0000)]
Comment changes.

16 years ago Added ernno setting.
Pekka Riikonen [Thu, 17 Jan 2008 12:50:28 +0000 (12:50 +0000)]
Added ernno setting.

16 years ago Removed the previous backslash removin code.
Pekka Riikonen [Wed, 16 Jan 2008 18:41:21 +0000 (18:41 +0000)]
Removed the previous backslash removin code.

16 years ago Fixed *.ad (not configure.ad or Makefile.ad but other files)
Pekka Riikonen [Wed, 16 Jan 2008 16:30:06 +0000 (16:30 +0000)]
Fixed *.ad (not configure.ad or Makefile.ad but other files)
to correctly remove trailing slashes and copy the processed file.

16 years ago Added and implemented Silc DIR API.
Pekka Riikonen [Tue, 15 Jan 2008 17:52:24 +0000 (17:52 +0000)]
Added and implemented Silc DIR API.

16 years ago Comment and errno changes
Pekka Riikonen [Tue, 15 Jan 2008 06:36:54 +0000 (06:36 +0000)]
Comment and errno changes

16 years ago updates.
Pekka Riikonen [Sun, 13 Jan 2008 15:24:51 +0000 (15:24 +0000)]
updates.

16 years ago Added silc_subst, regex matching and substitution with the
Pekka Riikonen [Sun, 13 Jan 2008 15:24:26 +0000 (15:24 +0000)]
Added silc_subst, regex matching and substitution with the
familiar Sed syntax.

16 years ago Added SILC_STR_REPLACE. Removed SILC_STR_STRING_APPEND. Fixed
Pekka Riikonen [Sun, 13 Jan 2008 15:23:54 +0000 (15:23 +0000)]
Added SILC_STR_REPLACE.  Removed SILC_STR_STRING_APPEND.  Fixed
various SILC_STR_REGEX bugs.

16 years ago Comment changes.
Pekka Riikonen [Sun, 13 Jan 2008 15:20:37 +0000 (15:20 +0000)]
Comment changes.

16 years ago Fixed reallocation when reducing size.
Pekka Riikonen [Sun, 13 Jan 2008 15:19:59 +0000 (15:19 +0000)]
Fixed reallocation when reducing size.

16 years ago Fixed SilcBuffer reallocatinon when reducing buffer size.
Pekka Riikonen [Sun, 13 Jan 2008 15:19:19 +0000 (15:19 +0000)]
Fixed SilcBuffer reallocatinon when reducing buffer size.
Added silc_buffer_tail and silc_buffer_memcmp.

16 years ago Moved SILC id utility functions from utility library.
Pekka Riikonen [Tue, 8 Jan 2008 15:15:10 +0000 (15:15 +0000)]
Moved SILC id utility functions from utility library.

16 years ago Moved SILC protocol ID utility functions to SILC core library.
Pekka Riikonen [Tue, 8 Jan 2008 15:14:17 +0000 (15:14 +0000)]
Moved SILC protocol ID utility functions to SILC core library.

16 years ago Fixed silc_nickname_parse to return valid nickname when it returns
Pekka Riikonen [Tue, 8 Jan 2008 14:31:26 +0000 (14:31 +0000)]
Fixed silc_nickname_parse to return valid nickname when it returns
TRUE.

16 years ago Fixed printable fingerprint buffer overflow. RedHat bug 372021.
Pekka Riikonen [Tue, 8 Jan 2008 07:49:48 +0000 (07:49 +0000)]
Fixed printable fingerprint buffer overflow.  RedHat bug 372021.

16 years ago Fixed fingerprint generation. RedHat bug 372021.
Pekka Riikonen [Tue, 8 Jan 2008 07:48:42 +0000 (07:48 +0000)]
Fixed fingerprint generation.  RedHat bug 372021.

16 years ago Handle anychar (.) correctly with bounded repeaat regex expression.
Pekka Riikonen [Sat, 5 Jan 2008 19:57:25 +0000 (19:57 +0000)]
Handle anychar (.) correctly with bounded repeaat regex expression.

16 years ago Added SILC_STR_DELETE buffer format macro.
Pekka Riikonen [Sat, 5 Jan 2008 18:36:44 +0000 (18:36 +0000)]
Added SILC_STR_DELETE buffer format macro.

16 years ago Added SILC_STR_STRING and SILC_STR_STRING_APPEND and support for
Pekka Riikonen [Sat, 5 Jan 2008 16:09:07 +0000 (16:09 +0000)]
Added SILC_STR_STRING and SILC_STR_STRING_APPEND and support for
appending with SilcBuffer format API.
Added silc_buffer_equal.

16 years ago All symbols now have silc_ prefix.
Pekka Riikonen [Sat, 5 Jan 2008 16:08:13 +0000 (16:08 +0000)]
All symbols now have silc_ prefix.

16 years ago Added SilcStack support to silc_regex and silc_regex_buffer.
Pekka Riikonen [Thu, 3 Jan 2008 16:42:31 +0000 (16:42 +0000)]
Added SilcStack support to silc_regex and silc_regex_buffer.

16 years ago Imported new improved free regex implementation. Added (again)
Pekka Riikonen [Wed, 2 Jan 2008 20:39:42 +0000 (20:39 +0000)]
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.

16 years ago Added global stack to Tls context.
Pekka Riikonen [Wed, 2 Jan 2008 20:38:17 +0000 (20:38 +0000)]
Added global stack to Tls context.

16 years ago silc_srealloc now allocates new block if reallocation fails.
Pekka Riikonen [Wed, 2 Jan 2008 20:37:55 +0000 (20:37 +0000)]
silc_srealloc now allocates new block if reallocation fails.

16 years ago Added silc_stack_[set|get]_global.
Pekka Riikonen [Wed, 2 Jan 2008 20:37:24 +0000 (20:37 +0000)]
Added silc_stack_[set|get]_global.

16 years ago Added SILC_REGEX_NOTBOL and SILC_REGEX_NOTEOL flags.
Pekka Riikonen [Tue, 1 Jan 2008 17:45:40 +0000 (17:45 +0000)]
Added SILC_REGEX_NOTBOL and SILC_REGEX_NOTEOL flags.

16 years ago Added SILC_STR_REGEX macro to SILC Buffer Format API.
Pekka Riikonen [Tue, 1 Jan 2008 16:10:46 +0000 (16:10 +0000)]
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).