diff --git a/.drone.yml b/.drone.yml
index 6633204592..486c2f8402 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -2,26 +2,43 @@
kind: pipeline
name: unit-tests
-node:
- freeswitch: public
-
steps:
- - name: run-tests
+ - name: bootstrap
image: signalwire/freeswitch-public-base
pull: true
commands:
- cat /proc/sys/kernel/core_pattern
- ./bootstrap.sh -j
+
+ - name: configure
+ image: signalwire/freeswitch-public-base
+ pull: true
+ commands:
+ - apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -yq install libsofia-sip-ua-dev libspandsp-dev
- echo "applications/mod_test" >> modules.conf
- - sed -i '/applications\/mod_http_cache/s/^#//g' modules.conf
- - sed -i '/event_handlers\/mod_rayo/s/^#//g' modules.conf
- - sed -i '/formats\/mod_opusfile/s/^#//g' modules.conf
- - sed -i '/languages\/mod_lua/s/^#//g' modules.conf
+ - echo 'codecs/mod_openh264' >> modules.conf
+ - sed -i '/applications\\/mod_http_cache/s/^#//g' modules.conf
+ - sed -i '/event_handlers\\/mod_rayo/s/^#//g' modules.conf
+ - sed -i '/formats\\/mod_opusfile/s/^#//g' modules.conf
+ - sed -i '/languages\\/mod_lua/s/^#//g' modules.conf
- export ASAN_OPTIONS=log_path=stdout:disable_coredump=0:unmap_shadow_on_exit=1;
- ./configure --enable-address-sanitizer
- - echo "#!/bin/bash\nmake -j`nproc --all` |& tee ./unit-tests-build-result.txt\nexitstatus=\${PIPESTATUS[0]}\necho \$exitstatus > ./build-status.txt\nmake install\n" > build.sh
+
+ - name: build
+ image: signalwire/freeswitch-public-base
+ pull: true
+ commands:
+ - apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -yq install libsofia-sip-ua-dev libspandsp-dev
+ - echo '#!/bin/bash\nmake -j`nproc --all` |& tee ./unit-tests-build-result.txt\nexitstatus=$${PIPESTATUS[0]}\necho $$exitstatus > ./build-status.txt\n' > build.sh
- chmod +x build.sh
- ./build.sh
+
+ - name: run-tests
+ image: signalwire/freeswitch-public-base
+ pull: true
+ commands:
+ - apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -yq install libsofia-sip-ua-dev libspandsp-dev
+ - make install || true
- cd tests/unit
- ./run-tests.sh
- ls -la /cores
@@ -32,13 +49,13 @@ steps:
- cd logs && ls -la
- name: notify
- image: signalwire/unit-tests-notify
+ image: signalwire/public-unit-tests-notify
pull: true
environment:
GITHUB_CI_APP_PEM:
from_secret: github_ci_app_pem
SSH_KEY:
- from_secret: ssh_key
+ from_secret: public_artifacts_ssh_key
SLACK_WEBHOOK_URL:
from_secret: slack_webhook_url
commands:
@@ -55,17 +72,21 @@ trigger:
kind: pipeline
name: scan-build
-node:
- freeswitch: public
-
steps:
- - name: scan-build
+ - name: bootstrap
image: signalwire/freeswitch-public-base:stretch
pull: true
commands:
- ./bootstrap.sh -j
+
+ - name: configure
+ image: signalwire/freeswitch-public-base:stretch
+ pull: true
+ commands:
+ - apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -yq install libsofia-sip-ua-dev libspandsp-dev
- cp build/modules.conf.most modules.conf
#Enable/Uncomment mods
+ - echo 'codecs/mod_openh264' >> modules.conf
- sed -i "/mod_mariadb/s/^#//g" modules.conf
- sed -i "/mod_v8/s/^#//g" modules.conf
#Disable/Comment out mods
@@ -87,21 +108,27 @@ steps:
- sed -i '/mod_unimrcp/s/^/#/g' modules.conf
- sed -i '/mod_xml_rpc/s/^/#/g' modules.conf
- ./configure
+
+ - name: scan-build
+ image: signalwire/freeswitch-public-base:stretch
+ pull: true
+ commands:
+ - apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -yq install libsofia-sip-ua-dev libspandsp-dev
- mkdir -p scan-build
- - echo "#!/bin/bash\nscan-build-4.0 -o ./scan-build/ make -j`nproc --all` |& tee ./scan-build-result.txt\nexitstatus=\${PIPESTATUS[0]}\necho \$exitstatus > ./scan-build-status.txt\n" > scan.sh
+ - echo '#!/bin/bash\nscan-build-4.0 -o ./scan-build/ make -j`nproc --all` |& tee ./scan-build-result.txt\nexitstatus=$${PIPESTATUS[0]}\necho $$exitstatus > ./scan-build-status.txt\n' > scan.sh
- chmod +x scan.sh
- ./scan.sh
- exitstatus=`cat ./scan-build-status.txt`
- echo "*** Exit status is $exitstatus"
- name: notify
- image: signalwire/scan-build-notify
+ image: signalwire/public-scan-build-notify
pull: true
environment:
GITHUB_CI_APP_PEM:
from_secret: github_ci_app_pem
SSH_KEY:
- from_secret: ssh_key
+ from_secret: public_artifacts_ssh_key
SLACK_WEBHOOK_URL:
from_secret: slack_webhook_url
commands:
@@ -117,6 +144,6 @@ trigger:
---
kind: signature
-hmac: d354f6d232ae6417b539fb9b40fc15765c3247ab58c87a5135a0ac6c448e1cd0
+hmac: c48137f0dee8c2825711979e2c490367a2467a92866d3dfa11cf340a113dbf53
...
diff --git a/.gitattributes b/.gitattributes
index afc9621833..f031f31535 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -6,7 +6,6 @@
*.c text eol=lf
*.cxx text eol=lf
*.cpp text eol=lf
-/libs/sofia-sip/libsofia-sip-ua/sip/sip_bad_mask text eol=lf
*.txt text eol=lf
*.exe -diff binary executable windows dfsg-nonfree debian-ignore
*.wav -diff binary sound
diff --git a/.gitignore b/.gitignore
index 053abd7afb..7ab54e9acf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -142,7 +142,6 @@ Release/
/libs/libcodec2/unittest/Makefile
/libs/libcodec2/unittest/Makefile.in
/libs/mpg123-1.13.2/
-/libs/spandsp/src/cielab_luts.h
/scripts/fsxs
/scripts/gentls_cert
@@ -260,6 +259,8 @@ libs/libsilk-*/
libs/rabbitmq-c-*/
libs/rabbitmq-c-*.zip
libs/ffmpeg-*/
+libs/sofia-sip*/
+libs/sofia-sip*
src/mod/applications/mod_test/test/test_asr
src/mod/event_handlers/mod_rayo/test/test_iks
diff --git a/Freeswitch.2017.sln b/Freeswitch.2017.sln
index adad7bc73e..b708f4e9ca 100644
--- a/Freeswitch.2017.sln
+++ b/Freeswitch.2017.sln
@@ -342,9 +342,9 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mod_easyroute", "src\mod\ap
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mod_lcr", "src\mod\applications\mod_lcr\mod_lcr.2017.vcxproj", "{1A3793D1-05D1-4B57-9B0F-5AF3E79DC439}"
EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libtiff", "libs\spandsp\src\libtiff.2017.vcxproj", "{401A40CD-5DB4-4E34-AC68-FA99E9FAC014}"
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libtiff", "libs\win32\libtiff\libtiff.2017.vcxproj", "{401A40CD-5DB4-4E34-AC68-FA99E9FAC014}"
EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libspandsp", "libs\spandsp\src\libspandsp.2017.vcxproj", "{1CBB0077-18C5-455F-801C-0A0CE7B0BBF5}"
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libspandsp", "libs\win32\spandsp\libspandsp.2017.vcxproj", "{1CBB0077-18C5-455F-801C-0A0CE7B0BBF5}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libspeex", "libs\win32\speex\libspeex.2017.vcxproj", "{E972C52F-9E85-4D65-B19C-031E511E9DB4}"
EndProject
@@ -358,9 +358,9 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mod_skinny", "src\mod\endpo
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mod_rtmp", "src\mod\endpoints\mod_rtmp\mod_rtmp.2017.vcxproj", "{48414740-C693-4968-9846-EE058020C64F}"
EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "make_at_dictionary", "libs\spandsp\src\msvc\make_at_dictionary.2017.vcxproj", "{DEE932AB-5911-4700-9EEB-8C7090A0A330}"
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "make_at_dictionary", "libs\win32\spandsp\make_at_dictionary.2017.vcxproj", "{DEE932AB-5911-4700-9EEB-8C7090A0A330}"
EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "make_modem_filter", "libs\spandsp\src\msvc\make_modem_filter.2017.vcxproj", "{329A6FA0-0FCC-4435-A950-E670AEFA9838}"
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "make_modem_filter", "libs\win32\spandsp\make_modem_filter.2017.vcxproj", "{329A6FA0-0FCC-4435-A950-E670AEFA9838}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mod_skel", "src\mod\applications\mod_skel\mod_skel.2017.vcxproj", "{11C9BC3D-45E9-46E3-BE84-B8CEE4685E39}"
EndProject
@@ -484,11 +484,11 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xmltok", "libs\win32\xmlrpc
EndProject
Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "Setup.2017", "w32\Setup\Setup.2017.wixproj", "{47213370-B933-487D-9F45-BCA26D7E2B6F}"
EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "make_math_fixed_tables", "libs\spandsp\src\msvc\make_math_fixed_tables.2017.vcxproj", "{2386B892-35F5-46CF-A0F0-10394D2FBF9B}"
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "make_math_fixed_tables", "libs\win32\spandsp\make_math_fixed_tables.2017.vcxproj", "{2386B892-35F5-46CF-A0F0-10394D2FBF9B}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libcbt", "libs\win32\libcbt\libcbt.2017.vcxproj", "{77BC1DD2-C9A1-44D7-BFFA-1320370CACB9}"
EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "make_cielab_luts", "libs\spandsp\src\msvc\make_cielab_luts.2017.vcxproj", "{85F0CF8C-C7AB-48F6-BA19-CC94CF87F981}"
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "make_cielab_luts", "libs\win32\spandsp\make_cielab_luts.2017.vcxproj", "{85F0CF8C-C7AB-48F6-BA19-CC94CF87F981}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "opus", "opus", "{ED2CA8B5-8E91-4296-A120-02BB0B674652}"
EndProject
@@ -504,7 +504,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "opus.silk_float", "libs\win
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mod_opus", "src\mod\codecs\mod_opus\mod_opus.2017.vcxproj", "{64E99CCA-3C6F-4AEB-9FA3-CFAC711257BB}"
EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "make_t43_gray_code_tables", "libs\spandsp\src\msvc\make_t43_gray_code_tables.2017.vcxproj", "{EDDB8AB9-C53E-44C0-A620-0E86C2CBD5D5}"
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "make_t43_gray_code_tables", "libs\win32\spandsp\make_t43_gray_code_tables.2017.vcxproj", "{EDDB8AB9-C53E-44C0-A620-0E86C2CBD5D5}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "winFailToBan", "src\mod\languages\mod_managed\managed\examples\winFailToBan\winFailToBan.csproj", "{5BA0D5BD-330D-4EE2-B959-CAFEA04E50E0}"
EndProject
diff --git a/Freeswitch.2017.sln.bat b/Freeswitch.2017.sln.bat
index dd8c0df916..28f6a2ae21 100644
--- a/Freeswitch.2017.sln.bat
+++ b/Freeswitch.2017.sln.bat
@@ -1,4 +1,4 @@
-@REM this script builds freeswitch using VS2017
+@REM this script builds freeswitch using the latest found Microsoft Visual Studio
@REM only one platform/configuration will be built
@REM runs (probably only) from the commandline
@REM usage: Freeswitch.2017.sln [[[.*]ebug] [[.*]elease] [[.*]64] [[.*]32]]
@@ -47,13 +47,13 @@
@set procs=%NUMBER_OF_PROCESSORS%
@set /a procs -= 1
-@REM check and set VS2017 environment
+@REM check and set Visual Studio environment
CALL msbuild.cmd
if exist %msbuild% (
-%msbuild% Freeswitch.2017.sln /m:%procs% /verbosity:normal /property:Configuration=%configuration% /property:Platform=%platform% /fl /flp:logfile=vs2017%platform%%configuration%.log;verbosity=normal
+%msbuild% Freeswitch.2017.sln /m:%procs% /verbosity:normal /property:Configuration=%configuration% /property:Platform=%platform% /fl /flp:logfile=vs%platform%%configuration%.log;verbosity=normal
) ELSE (
- echo "echo ERROR: Cannot find msbuild. You need Visual Studio 2017 to compile this solution."
+ echo "echo ERROR: Cannot find msbuild. You need Microsoft Visual Studio to compile this solution."
)
@pause
diff --git a/Makefile.am b/Makefile.am
index 8e3a2e852e..297c33b498 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -30,9 +30,8 @@ endif
AM_CFLAGS = $(SWITCH_AM_CFLAGS) $(SWITCH_ANSI_CFLAGS)
AM_CPPFLAGS =
AM_CPPFLAGS += -I$(switch_srcdir)/libs/libvpx
-AM_CPPFLAGS += $(SWITCH_AM_CXXFLAGS) -I$(switch_srcdir)/libs/sofia-sip/libsofia-sip-ua/sdp
-AM_CPPFLAGS += -I$(switch_srcdir)/libs/sofia-sip/libsofia-sip-ua/su -I$(switch_builddir)/libs/sofia-sip/libsofia-sip-ua/su
-AM_LDFLAGS = $(SWITCH_AM_LDFLAGS) $(AM_LIBAPR_LDFLAGS) $(AM_LIBAPU_LDFLAGS)
+AM_CPPFLAGS += $(SWITCH_AM_CXXFLAGS) $(SOFIA_SIP_CFLAGS)
+AM_LDFLAGS = $(SWITCH_AM_LDFLAGS) $(AM_LIBAPR_LDFLAGS) $(AM_LIBAPU_LDFLAGS) $(SOFIA_SIP_LIBS)
DEFAULT_SOUNDS=en-us-callie-8000
MY_DEFAULT_ARGS= --build=$(build) --host=$(host) --target=$(target) --prefix="$(prefix)" --exec_prefix="$(exec_prefix)" --libdir="$(libdir)"
@@ -131,7 +130,7 @@ CORE_CFLAGS += -I$(switch_srcdir)/libs/libyuv/include
CORE_CFLAGS += -DSWITCH_HAVE_YUV
endif
CORE_CFLAGS += -I$(switch_srcdir)/libs/srtp/crypto/include -Ilibs/srtp/crypto/include
-CORE_CFLAGS += -I$(switch_builddir)/libs/spandsp/src -I$(switch_srcdir)/libs/spandsp/src
+CORE_CFLAGS += $(SPANDSP_CFLAGS)
if ENABLE_LIBVPX
CORE_CFLAGS += -DSWITCH_HAVE_VPX
endif
@@ -185,13 +184,10 @@ endif
##
## libfreeswitch
##
-noinst_LTLIBRARIES = libfreeswitch_spandsp.la
+noinst_LTLIBRARIES =
if ENABLE_LIBYUV
noinst_LTLIBRARIES += libfreeswitch_libyuv.la
endif
-libfreeswitch_spandsp_la_SOURCES = libs/spandsp/src/plc.c libs/spandsp/src/alloc.c libs/spandsp/src/bit_operations.c
-libfreeswitch_spandsp_la_CFLAGS = -Ilibs/spandsp/src $(CORE_CFLAGS) $(AM_CFLAGS)
-CORE_LIBS+=libfreeswitch_spandsp.la
if ENABLE_LIBYUV
libfreeswitch_libyuv_la_SOURCES = \
@@ -252,7 +248,7 @@ endif
lib_LTLIBRARIES = libfreeswitch.la
libfreeswitch_la_CFLAGS = $(CORE_CFLAGS) $(SQLITE_CFLAGS) $(GUMBO_CFLAGS) $(FVAD_CFLAGS) $(FREETYPE_CFLAGS) $(CURL_CFLAGS) $(PCRE_CFLAGS) $(SPEEX_CFLAGS) $(LIBEDIT_CFLAGS) $(openssl_CFLAGS) $(AM_CFLAGS) $(TPL_CFLAGS)
libfreeswitch_la_LDFLAGS = -version-info 1:0:0 $(AM_LDFLAGS) $(PLATFORM_CORE_LDFLAGS) -no-undefined
-libfreeswitch_la_LIBADD = $(CORE_LIBS) $(APR_LIBS) $(SQLITE_LIBS) $(GUMBO_LIBS) $(FVAD_LIBS) $(FREETYPE_LIBS) $(CURL_LIBS) $(PCRE_LIBS) $(SPEEX_LIBS) $(LIBEDIT_LIBS) $(openssl_LIBS) $(PLATFORM_CORE_LIBS) $(TPL_LIBS)
+libfreeswitch_la_LIBADD = $(CORE_LIBS) $(APR_LIBS) $(SQLITE_LIBS) $(GUMBO_LIBS) $(FVAD_LIBS) $(FREETYPE_LIBS) $(CURL_LIBS) $(PCRE_LIBS) $(SPEEX_LIBS) $(LIBEDIT_LIBS) $(openssl_LIBS) $(PLATFORM_CORE_LIBS) $(TPL_LIBS) $(SPANDSP_LIBS)
libfreeswitch_la_DEPENDENCIES = $(BUILT_SOURCES)
if HAVE_PNG
@@ -593,14 +589,6 @@ libs/libvpx/Makefile: libs/libvpx/.update
libs/libvpx/libvpx.a: libs/libvpx/Makefile libs/libvpx/.update
@cd libs/libvpx && $(MAKE)
-libs/sofia-sip/Makefile:
- cd libs/sofia-sip && sh ./configure.gnu $(MY_DEFAULT_ARGS)
-
-libs/sofia-sip/libsofia-sip-ua/sdp/.libs/libsdp.a libs/sofia-sip/libsofia-sip-ua/su/.libs/libsu.a: libs/sofia-sip/.update libs/sofia-sip/Makefile
- @cd libs/sofia-sip && $(MAKE) noop
- @cd libs/sofia-sip && $(MAKE) SOFIA_CFLAGS="$(SWITCH_AM_CFLAGS)"
- @$(TOUCH_TARGET)
-
libs/apr/Makefile: libs/apr/Makefile.in libs/apr/config.status libs/apr libs/apr/.update
@cd libs/apr && ./config.status
@$(TOUCH_TARGET)
@@ -722,9 +710,7 @@ core-install: core_install
clean_core: clean-libLTLIBRARIES
rm -f $(libfreeswitch_la_OBJECTS)
- rm -f $(libfreeswitch_spandsp_la_OBJECTS)
rm -f `echo $(libfreeswitch_la_OBJECTS) | sed -e's|.lo|.o|g'`
- rm -f `echo $(libfreeswitch_spandsp_la_OBJECTS) | sed -e's|.lo|.o|g'`
install_core: install-libLTLIBRARIES
@@ -756,7 +742,6 @@ pristine:
git reset --hard
update-clean: clean python-reconf
- cd libs/sofia-sip && $(MAKE) clean
cd libs/esl && $(MAKE) clean
cd libs/srtp && $(MAKE) clean
@@ -790,17 +775,6 @@ iks-reconf:
cd libs/iksemel && sh ./configure.gnu $(MY_DEFAULT_ARGS)
$(MAKE) mod_dingaling-clean
-spandsp-reconf:
- cd libs/spandsp && $(MAKE) clean || echo
- cd libs/spandsp && autoreconf -fi
- cd libs/spandsp && sh ./configure.gnu $(MY_DEFAULT_ARGS)
- cd libs/spandsp && $(MAKE)
-
-sofia-reconf:
- cd libs/sofia-sip && sh ./autogen.sh
- cd libs/sofia-sip && $(MAKE) clean
- cd libs/sofia-sip && ./configure $(MY_DEFAULT_ARGS) --with-pic --with-glib=no --disable-shared
-
cluecon:
@clear
@echo Thank you for updating. This is going to take a while so relax.
diff --git a/acinclude.m4 b/acinclude.m4
index 68cad585d9..26630f64ef 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -9,8 +9,8 @@ m4_include([build/config/ax_check_java.m4])
m4_include([build/config/uuid.m4])
m4_include([build/config/erlang.m4])
m4_include([build/config/odbc.m4])
+m4_include([build/config/sac-pkg-config.m4])
+m4_include([build/config/sac-openssl.m4])
m4_include([build/config/sched_setaffinity.m4])
m4_include([libs/apr/build/apr_common.m4])
-m4_include([libs/sofia-sip/m4/sac-pkg-config.m4])
-m4_include([libs/sofia-sip/m4/sac-openssl.m4])
m4_include([libs/iksemel/build/libgnutls.m4])
diff --git a/bootstrap.sh b/bootstrap.sh
index 163827dc4d..6d8256aab1 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -8,7 +8,7 @@ BGJOB=false
VERBOSE=false
BASEDIR=`pwd`;
LIBDIR=${BASEDIR}/libs;
-SUBDIRS="apr libzrtp iksemel libdingaling sofia-sip srtp freetdm spandsp unimrcp fs";
+SUBDIRS="apr libzrtp iksemel libdingaling srtp freetdm unimrcp fs";
while getopts 'jhd:v' o; do
case "$o" in
diff --git a/libs/sofia-sip/m4/sac-openssl.m4 b/build/config/sac-openssl.m4
similarity index 100%
rename from libs/sofia-sip/m4/sac-openssl.m4
rename to build/config/sac-openssl.m4
diff --git a/libs/sofia-sip/m4/sac-pkg-config.m4 b/build/config/sac-pkg-config.m4
similarity index 100%
rename from libs/sofia-sip/m4/sac-pkg-config.m4
rename to build/config/sac-pkg-config.m4
diff --git a/build/next-release.txt b/build/next-release.txt
index 145fe2dd00..1c795d02d1 100644
--- a/build/next-release.txt
+++ b/build/next-release.txt
@@ -1 +1 @@
-1.10.3-release
+1.10.4-release
diff --git a/build/standalone_module/freeswitch.pc.in b/build/standalone_module/freeswitch.pc.in
new file mode 100644
index 0000000000..ee46359313
--- /dev/null
+++ b/build/standalone_module/freeswitch.pc.in
@@ -0,0 +1,25 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@switch_builddir@
+libexecdir=@libexecdir@
+includedir=@switch_srcdir@/src/include
+modulesdir=@modulesdir@
+runtimedir=@runtimedir@
+logfiledir=@logfiledir@
+sysconfdir=@sysconfdir@
+confdir=@confdir@
+dbdir=@dbdir@
+htdocsdir=@htdocsdir@
+localstatedir=@localstatedir@
+grammardir=@grammardir@
+soundsdir=@soundsdir@
+scriptdir=@scriptdir@
+recordingsdir=@recordingsdir@
+bindir=@bindir@
+
+Name: freeswitch
+Version: @PACKAGE_VERSION@
+Description: FreeSWITCH open source telephony platform
+Libs: -L${libdir} -lfreeswitch
+Cflags: -I${includedir} -I@switch_builddir@/src/include -I@switch_srcdir@/libs/libteletone/src
+
diff --git a/conf/vanilla/autoload_configs/tts_commandline.conf.xml b/conf/vanilla/autoload_configs/tts_commandline.conf.xml
index eb816431be..c5da4aba55 100644
--- a/conf/vanilla/autoload_configs/tts_commandline.conf.xml
+++ b/conf/vanilla/autoload_configs/tts_commandline.conf.xml
@@ -8,7 +8,7 @@
${file}: output file (quoted, including .wav extension)
Example commands can be found at:
- http://wiki.freeswitch.org/wiki/Mod_tts_commandline#Example_commands
+ https://freeswitch.org/confluence/display/FREESWITCH/mod_tts_commandline#mod_tts_commandline-Examplecommands
-->
diff --git a/configure.ac b/configure.ac
index c5f10ef2ad..8a5e154ed9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,10 +3,10 @@
# Must change all of the below together
# For a release, set revision for that tagged release as well and uncomment
-AC_INIT([freeswitch], [1.10.3-release], bugs@freeswitch.org)
+AC_INIT([freeswitch], [1.10.4-release], bugs@freeswitch.org)
AC_SUBST(SWITCH_VERSION_MAJOR, [1])
AC_SUBST(SWITCH_VERSION_MINOR, [10])
-AC_SUBST(SWITCH_VERSION_MICRO, [3-release])
+AC_SUBST(SWITCH_VERSION_MICRO, [4-release])
AC_SUBST(SWITCH_VERSION_REVISION, [])
AC_SUBST(SWITCH_VERSION_REVISION_HUMAN, [])
@@ -714,6 +714,16 @@ PKG_CHECK_MODULES([MARIADB], [libmariadb >= 3.0.9],[
])
])
+PKG_CHECK_MODULES([SPANDSP], [spandsp >= 1.99],[
+ AM_CONDITIONAL([HAVE_SPANDSP],[true])],[
+ AC_MSG_ERROR([no usable spandsp; please install spandsp devel package or equivalent])
+])
+
+PKG_CHECK_MODULES([SOFIA_SIP], [sofia-sip-ua >= 1.12.12],[
+ AM_CONDITIONAL([HAVE_SOFIA_SIP],[true])],[
+ AC_MSG_ERROR([no usable sofia-sip; please install sofia-sip-ua devel package or equivalent])
+])
+
AC_ARG_ENABLE(deprecated-core-db-events,
[AS_HELP_STRING([--enable-deprecated-core-db-events], [Keep deprecated core db events])],,[enable_deprecated_core_db_events="no"])
@@ -1267,7 +1277,7 @@ if test "$cross_compiling" != "yes" && test -f /usr/lib/pkg-config/libldns.pc; t
fi
module_enabled() {
- grep -v -e "\#" -e "^\$" modules.conf | sed -e "s|^.*/||" | grep "^${1}\$" >/dev/null
+ grep -v -e "\#" -e "^\$" modules.conf | sed 's/|.*//' | sed -e "s|^.*/||" | grep "^${1}\$" >/dev/null
}
AC_ARG_WITH(png,
@@ -2033,6 +2043,7 @@ AC_CONFIG_FILES([Makefile
build/getlib.sh
build/getg729.sh
build/freeswitch.pc
+ build/standalone_module/freeswitch.pc
build/modmake.rules
libs/esl/Makefile
libs/esl/perl/Makefile
@@ -2056,8 +2067,8 @@ AM_CONDITIONAL(HAVE_G729, [ test -d ${switch_srcdir}/libs/libg729 ])
#LIBS+=> core.log || error="yes";if test -n "$(VERBOSE)" -o "$$error" = "yes";then cat core.log;fi;if test "$$error" = "yes";then exit 1;fi
LIBTOOL='$(SHELL) $(switch_builddir)/libtool'
TOUCH_TARGET='if test -f "$@";then touch "$@";fi;'
-CONF_MODULES='$$(grep -v "\#" $(switch_builddir)/modules.conf | sed -e "s|^.*/||" | sort | uniq )'
-CONF_DISABLED_MODULES='$$(grep "\#" $(switch_builddir)/modules.conf | grep -v "\#\#" | sed -e "s|^.*/||" | sort | uniq )'
+CONF_MODULES='$$(grep -v "\#" $(switch_builddir)/modules.conf | sed "s/|.*//" | sed -e "s|^.*/||" | sort | uniq )'
+CONF_DISABLED_MODULES='$$(grep "\#" $(switch_builddir)/modules.conf | grep -v "\#\#" | sed "s/|.*//" | sed -e "s|^.*/||" | sort | uniq )'
OUR_MODS='$$(if test -z "$(MODULES)" ; then tmp_mods="$(CONF_MODULES)"; else tmp_mods="$(MODULES)" ; fi ; mods="$$(for i in $$tmp_mods ; do echo $$i-all ; done )"; echo $$mods )'
OUR_CLEAN_MODS='$$(if test -z "$(MODULES)" ; then tmp_mods="$(CONF_MODULES)"; else tmp_mods="$(MODULES)" ; fi ; mods="$$(for i in $$tmp_mods ; do echo $$i-clean ; done )"; echo $$mods )'
OUR_INSTALL_MODS='$$(if test -z "$(MODULES)" ; then tmp_mods="$(CONF_MODULES)"; else tmp_mods="$(MODULES)" ; fi ; mods="$$(for i in $$tmp_mods ; do echo $$i-install ; done)"; echo $$mods )'
@@ -2103,10 +2114,8 @@ if test "$use_system_aprutil" != "yes"; then
fi
AC_CONFIG_SUBDIRS([libs/iksemel])
AC_CONFIG_SUBDIRS([libs/libdingaling])
-AC_CONFIG_SUBDIRS([libs/sofia-sip])
AC_CONFIG_SUBDIRS([libs/freetdm])
AC_CONFIG_SUBDIRS([libs/unimrcp])
-AC_CONFIG_SUBDIRS([libs/spandsp])
if test "x${enable_zrtp}" = "xyes"; then
AC_CONFIG_SUBDIRS([libs/libzrtp])
fi
diff --git a/debian/bootstrap.sh b/debian/bootstrap.sh
index a19eb27281..f8b28f0431 100755
--- a/debian/bootstrap.sh
+++ b/debian/bootstrap.sh
@@ -332,7 +332,8 @@ Build-Depends:
uuid-dev, libexpat1-dev, libgdbm-dev, libdb-dev,
# used by many modules
libcurl4-openssl-dev | libcurl4-gnutls-dev | libcurl-dev,
- bison, zlib1g-dev,
+ bison, zlib1g-dev, libsofia-sip-ua-dev (>= 1.12.12),
+ libspandsp-dev (>= 0.0.6),
# module build-depends
$(debian_wrap "${mod_build_depends}")
Standards-Version: 3.9.3
diff --git a/debian/copyright b/debian/copyright
index eba56ce503..6745df1f35 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1310,45 +1310,6 @@ Files: libs/js/nsprpub/pr/tests/tmocon.c
Copyright: 1998-2004 Netscape Communications Corporation
License: MPL-1.1 or GPL-2+
-Files: libs/spandsp/*
-Copyright: 2001-2012, Steve Underwood
- 2006 Michael Jerris
- 1991-1997 Silicon Graphics, Inc.
- 1990-1997 Sam Leffler
- 1993 CMU
- 2004, Horizon Wimba, Inc.
- 1990, 1995 Frank D. Cringle.
-License: LGPL-2.1
-
-Files: libs/spandsp/tests/*
- libs/spandsp/spandsp-sim/g1050.c
- libs/spandsp/spandsp-sim/line_model.c
- libs/spandsp/spandsp-sim/make_line_models.c
- libs/spandsp/spandsp-sim/spandsp-sim.h
- libs/spandsp/spandsp-sim/test_utils.c
- libs/spandsp/src/image_translate.c
- libs/spandsp/src/make_at_dictionary.c
- libs/spandsp/src/make_cielab_luts.c
- libs/spandsp/src/make_math_fixed_tables.c
- libs/spandsp/src/make_modem_filter.c
- libs/spandsp/test-data/etsi/fax/generate_etsi_300_242_pages.c
- libs/spandsp/test-data/itu/fax/generate_dithered_tif.c
- libs/spandsp/test-data/itu/fax/generate_sized_pages.c
- libs/spandsp/test-data/itu/fax/generate_striped_pages.c
-Copyright: 2001-2012, Steve Underwood
-License: GPL-2
-
-Files: libs/spandsp/tests/ademco_contactid_tests.c
- libs/spandsp/tests/regression_tests.sh
- libs/spandsp/tests/timezone_tests.c
- libs/spandsp/tests/tsb85_extra_tests.sh
- libs/spandsp/tests/tsb85_tests.c
- libs/spandsp/tests/tsb85_tests.sh
- libs/spandsp/tests/v42bis_tests.sh
- libs/spandsp/tests/fax_tests.sh
-Copyright: 2001-2012, Steve Underwood
-License: LGPL-2.1
-
Files: src/mod/applications/mod_cluechoo/sl.h
Copyright: 1993 Toyoda Masashi
License: FIXME
@@ -1441,11 +1402,6 @@ Files: libs/libsndfile/src/G72x/*
Copyright: Abandoned, Sun Microsystems, Inc.
License: public-domain
-Files: libs/spandsp/src/spandsp/fast_convert.h
-Copyright: 2001-2004 Erik de Castro Lopo
- 2009 Steve Underwood
-License: LGPL-2.1
-
Files: libs/libsndfile/*
libs/win32/libsndfile/*
Copyright: 1999-2009 Erik de Castro Lopo
diff --git a/debian/license-reconcile.yml b/debian/license-reconcile.yml
index c7add7837b..9cd5742d3f 100644
--- a/debian/license-reconcile.yml
+++ b/debian/license-reconcile.yml
@@ -162,15 +162,6 @@ Rules:
Matches: the\sLicense\sat\shttp://www.mozilla.org/MPL/
Matches: GNU\sGeneral\sPublic\sLicense\sVersion\s2\sor\slater
License: MPL-1.1 or GPL-2+
- -
- Glob: libs/spandsp/tests/g726_tests.c
- Matches: Copyright\s(C)\s2006\sSteve\sUnderwood
- Matches: specification.\sThese\sare\scopyright\smaterial,\sand\sso\scannot\sbe\sdistributed\swith\sthis\stest\ssoftware.
- Copyright: 2006 Steve Underwood
- -
- Glob: libs/spandsp/*/g722.[ch]
- Matches: Copyright\s\(c\)\sCMU\s+1993
- Copyright: 1993 CMU
-
Glob: libs/libwebsockets/win32port/zlib/inftrees.c
Matches: Copyright\s1995-2010\sMark\sAdler\s.;
diff --git a/freeswitch.spec b/freeswitch.spec
index 4fa2212305..e8bb6d64cf 100644
--- a/freeswitch.spec
+++ b/freeswitch.spec
@@ -152,6 +152,8 @@ BuildRequires: gnutls-devel
BuildRequires: libtool >= 1.5.17
BuildRequires: ncurses-devel
BuildRequires: openssl-devel >= 1.0.1e
+BuildRequires: sofia-sip-devel >= 1.12.12
+BuildRequires: spandsp-devel >= 1.99
BuildRequires: pcre-devel
BuildRequires: speex-devel
BuildRequires: sqlite-devel
diff --git a/libs/.gitignore b/libs/.gitignore
index 4410a4df8c..392aaffdbd 100644
--- a/libs/.gitignore
+++ b/libs/.gitignore
@@ -486,70 +486,6 @@ opal
/sounds/
/soundtouch/
/soundtouch-*/
-/spandsp/config-h.in
-/spandsp/doc/doxygen
-/spandsp/doc/Makefile
-/spandsp/doc/Makefile.in
-/spandsp/Makefile
-/spandsp/Makefile.in
-/spandsp/m4/libtool.m4
-/spandsp/m4/ltoptions.m4
-/spandsp/m4/ltsugar.m4
-/spandsp/m4/ltversion.m4
-/spandsp/m4/lt~obsolete.m4
-/spandsp/spandsp-sim/Makefile
-/spandsp/spandsp-sim/Makefile.in
-/spandsp/src/at_interpreter_dictionary.h
-/spandsp/src/config.h
-/spandsp/src/make_at_dictionary
-/spandsp/src/Makefile
-/spandsp/src/Makefile.in
-/spandsp/src/make_math_fixed_tables
-/spandsp/src/make_modem_filter
-/spandsp/src/make_t43_gray_code_tables
-/spandsp/src/math_fixed_tables.h
-/spandsp/src/msvc/All/BuildLog make_at_dictionary.htm
-/spandsp/src/msvc/All/BuildLog make_modem_filter.htm
-/spandsp/src/spandsp.h
-/spandsp/src/stamp-h1
-/spandsp/src/t43_gray_code_tables.h
-/spandsp/src/v17_v32bis_rx_fixed_rrc.h
-/spandsp/src/v17_v32bis_rx_floating_rrc.h
-/spandsp/src/v17_v32bis_tx_fixed_rrc.h
-/spandsp/src/v17_v32bis_tx_floating_rrc.h
-/spandsp/src/v22bis_rx_1200_fixed_rrc.h
-/spandsp/src/v22bis_rx_1200_floating_rrc.h
-/spandsp/src/v22bis_rx_2400_fixed_rrc.h
-/spandsp/src/v22bis_rx_2400_floating_rrc.h
-/spandsp/src/v22bis_tx_fixed_rrc.h
-/spandsp/src/v22bis_tx_floating_rrc.h
-/spandsp/src/v27ter_rx_2400_fixed_rrc.h
-/spandsp/src/v27ter_rx_2400_floating_rrc.h
-/spandsp/src/v27ter_rx_4800_fixed_rrc.h
-/spandsp/src/v27ter_rx_4800_floating_rrc.h
-/spandsp/src/v27ter_tx_2400_fixed_rrc.h
-/spandsp/src/v27ter_tx_2400_floating_rrc.h
-/spandsp/src/v27ter_tx_4800_fixed_rrc.h
-/spandsp/src/v27ter_tx_4800_floating_rrc.h
-/spandsp/src/v29rx_fixed_rrc.h
-/spandsp/src/v29rx_floating_rrc.h
-/spandsp/src/v29tx_fixed_rrc.h
-/spandsp/src/v29tx_floating_rrc.h
-/spandsp/test-data/etsi/fax/Makefile
-/spandsp/test-data/etsi/fax/Makefile.in
-/spandsp/test-data/etsi/Makefile
-/spandsp/test-data/etsi/Makefile.in
-/spandsp/test-data/itu/fax/Makefile
-/spandsp/test-data/itu/fax/Makefile.in
-/spandsp/test-data/itu/Makefile
-/spandsp/test-data/itu/Makefile.in
-/spandsp/test-data/local/Makefile
-/spandsp/test-data/local/Makefile.in
-/spandsp/test-data/Makefile
-/spandsp/test-data/Makefile.in
-/spandsp/tests/Makefile
-/spandsp/tests/Makefile.in
-/spandsp/src/make_cielab_luts
/sphinxbase-*/
/srtp/aes_tables
/srtp/config_in.h
@@ -819,7 +755,6 @@ broadvoice/config/compile
ilbc/config/compile
libg722_1/config/compile
pcre/compile
-spandsp/config/compile
srtp/build/compile
unimrcp/build/compile
/pcre-*/
@@ -837,8 +772,6 @@ iksemel/configure
libdingaling/configure
libyuv/Makefile
libyuv/convert
-sofia-sip/configure
-spandsp/configure
srtp/configure
tiff-4.0.2/configure
unimrcp/configure
@@ -864,3 +797,6 @@ signalwire-client-c-*/
signalwire-client-c-*
mariadb-connector-c-*/
mariadb-connector-c-*
+/spandsp*/
+/spandsp*
+win32/spandsp/spandsp.h
\ No newline at end of file
diff --git a/libs/esl/fs_cli.2017.vcxproj b/libs/esl/fs_cli.2017.vcxproj
index ec41f67c6f..c08263a9e1 100644
--- a/libs/esl/fs_cli.2017.vcxproj
+++ b/libs/esl/fs_cli.2017.vcxproj
@@ -28,22 +28,22 @@
Application
MultiByte
- v141
+ $(DefaultPlatformToolset)
Application
MultiByte
- v141
+ $(DefaultPlatformToolset)
Application
MultiByte
- v141
+ $(DefaultPlatformToolset)
Application
MultiByte
- v141
+ $(DefaultPlatformToolset)
diff --git a/libs/esl/fs_cli.c b/libs/esl/fs_cli.c
index b63fdd845a..76e85b450d 100644
--- a/libs/esl/fs_cli.c
+++ b/libs/esl/fs_cli.c
@@ -630,8 +630,8 @@ static const char *usage_str =
" -R, --reconnect Reconnect if disconnected\n"
" -d, --debug=level Debug Level (0 - 7)\n"
" -b, --batchmode Batch mode\n"
- " -t, --timeout Timeout for API commands (in miliseconds)\n"
- " -T, --connect-timeout Timeout for socket connection (in miliseconds)\n"
+ " -t, --timeout Timeout for API commands (in milliseconds)\n"
+ " -T, --connect-timeout Timeout for socket connection (in milliseconds)\n"
" -n, --no-color Disable color\n\n";
static int usage(char *name){
diff --git a/libs/esl/managed/esl.2017.vcxproj b/libs/esl/managed/esl.2017.vcxproj
index 34224929c7..f004381411 100644
--- a/libs/esl/managed/esl.2017.vcxproj
+++ b/libs/esl/managed/esl.2017.vcxproj
@@ -31,26 +31,26 @@
Unicode
true
true
- v141
+ $(DefaultPlatformToolset)
DynamicLibrary
MultiByte
true
- v141
+ $(DefaultPlatformToolset)
DynamicLibrary
Unicode
true
true
- v141
+ $(DefaultPlatformToolset)
DynamicLibrary
MultiByte
true
- v141
+ $(DefaultPlatformToolset)
diff --git a/libs/esl/src/libesl.2017.vcxproj b/libs/esl/src/libesl.2017.vcxproj
index 0a21b3c8b4..b22c724a32 100644
--- a/libs/esl/src/libesl.2017.vcxproj
+++ b/libs/esl/src/libesl.2017.vcxproj
@@ -29,23 +29,23 @@
StaticLibrary
Unicode
true
- v141
+ $(DefaultPlatformToolset)
StaticLibrary
Unicode
- v141
+ $(DefaultPlatformToolset)
StaticLibrary
Unicode
true
- v141
+ $(DefaultPlatformToolset)
StaticLibrary
Unicode
- v141
+ $(DefaultPlatformToolset)
diff --git a/libs/libdingaling/libdingaling.2017.vcxproj b/libs/libdingaling/libdingaling.2017.vcxproj
index 4de29cd70e..899855def1 100644
--- a/libs/libdingaling/libdingaling.2017.vcxproj
+++ b/libs/libdingaling/libdingaling.2017.vcxproj
@@ -45,45 +45,45 @@
DynamicLibrary
Unicode
true
- v141
+ $(DefaultPlatformToolset)
DynamicLibrary
Unicode
- v141
+ $(DefaultPlatformToolset)
StaticLibrary
Unicode
true
- v141
+ $(DefaultPlatformToolset)
StaticLibrary
Unicode
- v141
+ $(DefaultPlatformToolset)
DynamicLibrary
Unicode
true
- v141
+ $(DefaultPlatformToolset)
DynamicLibrary
Unicode
- v141
+ $(DefaultPlatformToolset)
StaticLibrary
Unicode
true
- v141
+ $(DefaultPlatformToolset)
StaticLibrary
Unicode
- v141
+ $(DefaultPlatformToolset)
diff --git a/libs/libteletone/libteletone.2017.vcxproj b/libs/libteletone/libteletone.2017.vcxproj
index ad5afb203d..0d0d25676b 100644
--- a/libs/libteletone/libteletone.2017.vcxproj
+++ b/libs/libteletone/libteletone.2017.vcxproj
@@ -29,23 +29,23 @@
DynamicLibrary
Unicode
true
- v141
+ $(DefaultPlatformToolset)
DynamicLibrary
Unicode
- v141
+ $(DefaultPlatformToolset)
DynamicLibrary
Unicode
true
- v141
+ $(DefaultPlatformToolset)
DynamicLibrary
Unicode
- v141
+ $(DefaultPlatformToolset)
diff --git a/libs/libzrtp/projects/win/libzrtp.2017.vcxproj b/libs/libzrtp/projects/win/libzrtp.2017.vcxproj
index 322de462cb..3e5362e219 100644
--- a/libs/libzrtp/projects/win/libzrtp.2017.vcxproj
+++ b/libs/libzrtp/projects/win/libzrtp.2017.vcxproj
@@ -28,22 +28,22 @@
StaticLibrary
Unicode
- v141
+ $(DefaultPlatformToolset)
StaticLibrary
Unicode
- v141
+ $(DefaultPlatformToolset)
StaticLibrary
Unicode
- v141
+ $(DefaultPlatformToolset)
StaticLibrary
Unicode
- v141
+ $(DefaultPlatformToolset)
diff --git a/libs/sofia-sip/.update b/libs/sofia-sip/.update
deleted file mode 100644
index bbf71612f8..0000000000
--- a/libs/sofia-sip/.update
+++ /dev/null
@@ -1 +0,0 @@
-Thu Apr 30 14:02:03 UTC 2020
diff --git a/libs/sofia-sip/AUTHORS b/libs/sofia-sip/AUTHORS
deleted file mode 100644
index 9b2724149f..0000000000
--- a/libs/sofia-sip/AUTHORS
+++ /dev/null
@@ -1,49 +0,0 @@
-Current development team
-------------------------
-
-Pekka Pessi
-Martti Mela
-Kai Vehmanen
-
-Contributors (in alphabetical order, surname first)
----------------------------------------------------
-
-Alaoui, Youness
-Chan, Tat
-Ciarkowski, Andrzej
-Czapiga, Brian
-Denis-Courmont, Remi
-Ferrari, Fabio
-Filonenko Roman
-Haataja, Mikko
-Jacobs, Remeres
-Jalava, Teemu
-Jerris, Michael
-Katcipis, Tiago
-Knoblich, Stefan
-Legostayev, Denis
-Lenk, Jeff
-Leuenberger, Stefan
-Margarido, Fabio
-Neuner, Jarod
-Paul, Johan
-Pizarro, Paulo
-Prado, Dimitri E.
-Puolakka, Petteri
-Puustinen, Ismo
-Rinne-Rahkola, Pasi
-Richards, Jerry
-Rondina, Daniele
-Saari, Mika
-Sabatini, Stefano
-Selin, Jari
-Suttner, Bernhard
-Underwood, Steve
-Urpalainen, Jari
-Whittaker, Colin
-Zabaluev, Mikhail
-Zaikin, Maxim
-
-Note: for details on who did what, see the version control
- system change history, and release notes for past releases at
- http://sofia-sip.sourceforge.net/relnotes/
diff --git a/libs/sofia-sip/COPYING b/libs/sofia-sip/COPYING
deleted file mode 100644
index 148d531ce4..0000000000
--- a/libs/sofia-sip/COPYING
+++ /dev/null
@@ -1,504 +0,0 @@
- GNU LESSER GENERAL PUBLIC LICENSE
- Version 2.1, February 1999
-
- Copyright (C) 1991, 1999 Free Software Foundation, Inc.
- 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
-[This is the first released version of the Lesser GPL. It also counts
- as the successor of the GNU Library Public License, version 2, hence
- the version number 2.1.]
-
- Preamble
-
- The licenses for most software are designed to take away your
-freedom to share and change it. By contrast, the GNU General Public
-Licenses are intended to guarantee your freedom to share and change
-free software--to make sure the software is free for all its users.
-
- This license, the Lesser General Public License, applies to some
-specially designated software packages--typically libraries--of the
-Free Software Foundation and other authors who decide to use it. You
-can use it too, but we suggest you first think carefully about whether
-this license or the ordinary General Public License is the better
-strategy to use in any particular case, based on the explanations below.
-
- When we speak of free software, we are referring to freedom of use,
-not price. Our General Public Licenses are designed to make sure that
-you have the freedom to distribute copies of free software (and charge
-for this service if you wish); that you receive source code or can get
-it if you want it; that you can change the software and use pieces of
-it in new free programs; and that you are informed that you can do
-these things.
-
- To protect your rights, we need to make restrictions that forbid
-distributors to deny you these rights or to ask you to surrender these
-rights. These restrictions translate to certain responsibilities for
-you if you distribute copies of the library or if you modify it.
-
- For example, if you distribute copies of the library, whether gratis
-or for a fee, you must give the recipients all the rights that we gave
-you. You must make sure that they, too, receive or can get the source
-code. If you link other code with the library, you must provide
-complete object files to the recipients, so that they can relink them
-with the library after making changes to the library and recompiling
-it. And you must show them these terms so they know their rights.
-
- We protect your rights with a two-step method: (1) we copyright the
-library, and (2) we offer you this license, which gives you legal
-permission to copy, distribute and/or modify the library.
-
- To protect each distributor, we want to make it very clear that
-there is no warranty for the free library. Also, if the library is
-modified by someone else and passed on, the recipients should know
-that what they have is not the original version, so that the original
-author's reputation will not be affected by problems that might be
-introduced by others.
-
- Finally, software patents pose a constant threat to the existence of
-any free program. We wish to make sure that a company cannot
-effectively restrict the users of a free program by obtaining a
-restrictive license from a patent holder. Therefore, we insist that
-any patent license obtained for a version of the library must be
-consistent with the full freedom of use specified in this license.
-
- Most GNU software, including some libraries, is covered by the
-ordinary GNU General Public License. This license, the GNU Lesser
-General Public License, applies to certain designated libraries, and
-is quite different from the ordinary General Public License. We use
-this license for certain libraries in order to permit linking those
-libraries into non-free programs.
-
- When a program is linked with a library, whether statically or using
-a shared library, the combination of the two is legally speaking a
-combined work, a derivative of the original library. The ordinary
-General Public License therefore permits such linking only if the
-entire combination fits its criteria of freedom. The Lesser General
-Public License permits more lax criteria for linking other code with
-the library.
-
- We call this license the "Lesser" General Public License because it
-does Less to protect the user's freedom than the ordinary General
-Public License. It also provides other free software developers Less
-of an advantage over competing non-free programs. These disadvantages
-are the reason we use the ordinary General Public License for many
-libraries. However, the Lesser license provides advantages in certain
-special circumstances.
-
- For example, on rare occasions, there may be a special need to
-encourage the widest possible use of a certain library, so that it becomes
-a de-facto standard. To achieve this, non-free programs must be
-allowed to use the library. A more frequent case is that a free
-library does the same job as widely used non-free libraries. In this
-case, there is little to gain by limiting the free library to free
-software only, so we use the Lesser General Public License.
-
- In other cases, permission to use a particular library in non-free
-programs enables a greater number of people to use a large body of
-free software. For example, permission to use the GNU C Library in
-non-free programs enables many more people to use the whole GNU
-operating system, as well as its variant, the GNU/Linux operating
-system.
-
- Although the Lesser General Public License is Less protective of the
-users' freedom, it does ensure that the user of a program that is
-linked with the Library has the freedom and the wherewithal to run
-that program using a modified version of the Library.
-
- The precise terms and conditions for copying, distribution and
-modification follow. Pay close attention to the difference between a
-"work based on the library" and a "work that uses the library". The
-former contains code derived from the library, whereas the latter must
-be combined with the library in order to run.
-
- GNU LESSER GENERAL PUBLIC LICENSE
- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
- 0. This License Agreement applies to any software library or other
-program which contains a notice placed by the copyright holder or
-other authorized party saying it may be distributed under the terms of
-this Lesser General Public License (also called "this License").
-Each licensee is addressed as "you".
-
- A "library" means a collection of software functions and/or data
-prepared so as to be conveniently linked with application programs
-(which use some of those functions and data) to form executables.
-
- The "Library", below, refers to any such software library or work
-which has been distributed under these terms. A "work based on the
-Library" means either the Library or any derivative work under
-copyright law: that is to say, a work containing the Library or a
-portion of it, either verbatim or with modifications and/or translated
-straightforwardly into another language. (Hereinafter, translation is
-included without limitation in the term "modification".)
-
- "Source code" for a work means the preferred form of the work for
-making modifications to it. For a library, complete source code means
-all the source code for all modules it contains, plus any associated
-interface definition files, plus the scripts used to control compilation
-and installation of the library.
-
- Activities other than copying, distribution and modification are not
-covered by this License; they are outside its scope. The act of
-running a program using the Library is not restricted, and output from
-such a program is covered only if its contents constitute a work based
-on the Library (independent of the use of the Library in a tool for
-writing it). Whether that is true depends on what the Library does
-and what the program that uses the Library does.
-
- 1. You may copy and distribute verbatim copies of the Library's
-complete source code as you receive it, in any medium, provided that
-you conspicuously and appropriately publish on each copy an
-appropriate copyright notice and disclaimer of warranty; keep intact
-all the notices that refer to this License and to the absence of any
-warranty; and distribute a copy of this License along with the
-Library.
-
- You may charge a fee for the physical act of transferring a copy,
-and you may at your option offer warranty protection in exchange for a
-fee.
-
- 2. You may modify your copy or copies of the Library or any portion
-of it, thus forming a work based on the Library, and copy and
-distribute such modifications or work under the terms of Section 1
-above, provided that you also meet all of these conditions:
-
- a) The modified work must itself be a software library.
-
- b) You must cause the files modified to carry prominent notices
- stating that you changed the files and the date of any change.
-
- c) You must cause the whole of the work to be licensed at no
- charge to all third parties under the terms of this License.
-
- d) If a facility in the modified Library refers to a function or a
- table of data to be supplied by an application program that uses
- the facility, other than as an argument passed when the facility
- is invoked, then you must make a good faith effort to ensure that,
- in the event an application does not supply such function or
- table, the facility still operates, and performs whatever part of
- its purpose remains meaningful.
-
- (For example, a function in a library to compute square roots has
- a purpose that is entirely well-defined independent of the
- application. Therefore, Subsection 2d requires that any
- application-supplied function or table used by this function must
- be optional: if the application does not supply it, the square
- root function must still compute square roots.)
-
-These requirements apply to the modified work as a whole. If
-identifiable sections of that work are not derived from the Library,
-and can be reasonably considered independent and separate works in
-themselves, then this License, and its terms, do not apply to those
-sections when you distribute them as separate works. But when you
-distribute the same sections as part of a whole which is a work based
-on the Library, the distribution of the whole must be on the terms of
-this License, whose permissions for other licensees extend to the
-entire whole, and thus to each and every part regardless of who wrote
-it.
-
-Thus, it is not the intent of this section to claim rights or contest
-your rights to work written entirely by you; rather, the intent is to
-exercise the right to control the distribution of derivative or
-collective works based on the Library.
-
-In addition, mere aggregation of another work not based on the Library
-with the Library (or with a work based on the Library) on a volume of
-a storage or distribution medium does not bring the other work under
-the scope of this License.
-
- 3. You may opt to apply the terms of the ordinary GNU General Public
-License instead of this License to a given copy of the Library. To do
-this, you must alter all the notices that refer to this License, so
-that they refer to the ordinary GNU General Public License, version 2,
-instead of to this License. (If a newer version than version 2 of the
-ordinary GNU General Public License has appeared, then you can specify
-that version instead if you wish.) Do not make any other change in
-these notices.
-
- Once this change is made in a given copy, it is irreversible for
-that copy, so the ordinary GNU General Public License applies to all
-subsequent copies and derivative works made from that copy.
-
- This option is useful when you wish to copy part of the code of
-the Library into a program that is not a library.
-
- 4. You may copy and distribute the Library (or a portion or
-derivative of it, under Section 2) in object code or executable form
-under the terms of Sections 1 and 2 above provided that you accompany
-it with the complete corresponding machine-readable source code, which
-must be distributed under the terms of Sections 1 and 2 above on a
-medium customarily used for software interchange.
-
- If distribution of object code is made by offering access to copy
-from a designated place, then offering equivalent access to copy the
-source code from the same place satisfies the requirement to
-distribute the source code, even though third parties are not
-compelled to copy the source along with the object code.
-
- 5. A program that contains no derivative of any portion of the
-Library, but is designed to work with the Library by being compiled or
-linked with it, is called a "work that uses the Library". Such a
-work, in isolation, is not a derivative work of the Library, and
-therefore falls outside the scope of this License.
-
- However, linking a "work that uses the Library" with the Library
-creates an executable that is a derivative of the Library (because it
-contains portions of the Library), rather than a "work that uses the
-library". The executable is therefore covered by this License.
-Section 6 states terms for distribution of such executables.
-
- When a "work that uses the Library" uses material from a header file
-that is part of the Library, the object code for the work may be a
-derivative work of the Library even though the source code is not.
-Whether this is true is especially significant if the work can be
-linked without the Library, or if the work is itself a library. The
-threshold for this to be true is not precisely defined by law.
-
- If such an object file uses only numerical parameters, data
-structure layouts and accessors, and small macros and small inline
-functions (ten lines or less in length), then the use of the object
-file is unrestricted, regardless of whether it is legally a derivative
-work. (Executables containing this object code plus portions of the
-Library will still fall under Section 6.)
-
- Otherwise, if the work is a derivative of the Library, you may
-distribute the object code for the work under the terms of Section 6.
-Any executables containing that work also fall under Section 6,
-whether or not they are linked directly with the Library itself.
-
- 6. As an exception to the Sections above, you may also combine or
-link a "work that uses the Library" with the Library to produce a
-work containing portions of the Library, and distribute that work
-under terms of your choice, provided that the terms permit
-modification of the work for the customer's own use and reverse
-engineering for debugging such modifications.
-
- You must give prominent notice with each copy of the work that the
-Library is used in it and that the Library and its use are covered by
-this License. You must supply a copy of this License. If the work
-during execution displays copyright notices, you must include the
-copyright notice for the Library among them, as well as a reference
-directing the user to the copy of this License. Also, you must do one
-of these things:
-
- a) Accompany the work with the complete corresponding
- machine-readable source code for the Library including whatever
- changes were used in the work (which must be distributed under
- Sections 1 and 2 above); and, if the work is an executable linked
- with the Library, with the complete machine-readable "work that
- uses the Library", as object code and/or source code, so that the
- user can modify the Library and then relink to produce a modified
- executable containing the modified Library. (It is understood
- that the user who changes the contents of definitions files in the
- Library will not necessarily be able to recompile the application
- to use the modified definitions.)
-
- b) Use a suitable shared library mechanism for linking with the
- Library. A suitable mechanism is one that (1) uses at run time a
- copy of the library already present on the user's computer system,
- rather than copying library functions into the executable, and (2)
- will operate properly with a modified version of the library, if
- the user installs one, as long as the modified version is
- interface-compatible with the version that the work was made with.
-
- c) Accompany the work with a written offer, valid for at
- least three years, to give the same user the materials
- specified in Subsection 6a, above, for a charge no more
- than the cost of performing this distribution.
-
- d) If distribution of the work is made by offering access to copy
- from a designated place, offer equivalent access to copy the above
- specified materials from the same place.
-
- e) Verify that the user has already received a copy of these
- materials or that you have already sent this user a copy.
-
- For an executable, the required form of the "work that uses the
-Library" must include any data and utility programs needed for
-reproducing the executable from it. However, as a special exception,
-the materials to be distributed need not include anything that is
-normally distributed (in either source or binary form) with the major
-components (compiler, kernel, and so on) of the operating system on
-which the executable runs, unless that component itself accompanies
-the executable.
-
- It may happen that this requirement contradicts the license
-restrictions of other proprietary libraries that do not normally
-accompany the operating system. Such a contradiction means you cannot
-use both them and the Library together in an executable that you
-distribute.
-
- 7. You may place library facilities that are a work based on the
-Library side-by-side in a single library together with other library
-facilities not covered by this License, and distribute such a combined
-library, provided that the separate distribution of the work based on
-the Library and of the other library facilities is otherwise
-permitted, and provided that you do these two things:
-
- a) Accompany the combined library with a copy of the same work
- based on the Library, uncombined with any other library
- facilities. This must be distributed under the terms of the
- Sections above.
-
- b) Give prominent notice with the combined library of the fact
- that part of it is a work based on the Library, and explaining
- where to find the accompanying uncombined form of the same work.
-
- 8. You may not copy, modify, sublicense, link with, or distribute
-the Library except as expressly provided under this License. Any
-attempt otherwise to copy, modify, sublicense, link with, or
-distribute the Library is void, and will automatically terminate your
-rights under this License. However, parties who have received copies,
-or rights, from you under this License will not have their licenses
-terminated so long as such parties remain in full compliance.
-
- 9. You are not required to accept this License, since you have not
-signed it. However, nothing else grants you permission to modify or
-distribute the Library or its derivative works. These actions are
-prohibited by law if you do not accept this License. Therefore, by
-modifying or distributing the Library (or any work based on the
-Library), you indicate your acceptance of this License to do so, and
-all its terms and conditions for copying, distributing or modifying
-the Library or works based on it.
-
- 10. Each time you redistribute the Library (or any work based on the
-Library), the recipient automatically receives a license from the
-original licensor to copy, distribute, link with or modify the Library
-subject to these terms and conditions. You may not impose any further
-restrictions on the recipients' exercise of the rights granted herein.
-You are not responsible for enforcing compliance by third parties with
-this License.
-
- 11. If, as a consequence of a court judgment or allegation of patent
-infringement or for any other reason (not limited to patent issues),
-conditions are imposed on you (whether by court order, agreement or
-otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License. If you cannot
-distribute so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you
-may not distribute the Library at all. For example, if a patent
-license would not permit royalty-free redistribution of the Library by
-all those who receive copies directly or indirectly through you, then
-the only way you could satisfy both it and this License would be to
-refrain entirely from distribution of the Library.
-
-If any portion of this section is held invalid or unenforceable under any
-particular circumstance, the balance of the section is intended to apply,
-and the section as a whole is intended to apply in other circumstances.
-
-It is not the purpose of this section to induce you to infringe any
-patents or other property right claims or to contest validity of any
-such claims; this section has the sole purpose of protecting the
-integrity of the free software distribution system which is
-implemented by public license practices. Many people have made
-generous contributions to the wide range of software distributed
-through that system in reliance on consistent application of that
-system; it is up to the author/donor to decide if he or she is willing
-to distribute software through any other system and a licensee cannot
-impose that choice.
-
-This section is intended to make thoroughly clear what is believed to
-be a consequence of the rest of this License.
-
- 12. If the distribution and/or use of the Library is restricted in
-certain countries either by patents or by copyrighted interfaces, the
-original copyright holder who places the Library under this License may add
-an explicit geographical distribution limitation excluding those countries,
-so that distribution is permitted only in or among countries not thus
-excluded. In such case, this License incorporates the limitation as if
-written in the body of this License.
-
- 13. The Free Software Foundation may publish revised and/or new
-versions of the Lesser General Public License from time to time.
-Such new versions will be similar in spirit to the present version,
-but may differ in detail to address new problems or concerns.
-
-Each version is given a distinguishing version number. If the Library
-specifies a version number of this License which applies to it and
-"any later version", you have the option of following the terms and
-conditions either of that version or of any later version published by
-the Free Software Foundation. If the Library does not specify a
-license version number, you may choose any version ever published by
-the Free Software Foundation.
-
- 14. If you wish to incorporate parts of the Library into other free
-programs whose distribution conditions are incompatible with these,
-write to the author to ask for permission. For software which is
-copyrighted by the Free Software Foundation, write to the Free
-Software Foundation; we sometimes make exceptions for this. Our
-decision will be guided by the two goals of preserving the free status
-of all derivatives of our free software and of promoting the sharing
-and reuse of software generally.
-
- NO WARRANTY
-
- 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
-WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
-EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
-OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
-KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
-LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
-THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
-
- 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
-WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
-AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
-FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
-CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
-LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
-RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
-FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
-SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
-DAMAGES.
-
- END OF TERMS AND CONDITIONS
-
- How to Apply These Terms to Your New Libraries
-
- If you develop a new library, and you want it to be of the greatest
-possible use to the public, we recommend making it free software that
-everyone can redistribute and change. You can do so by permitting
-redistribution under these terms (or, alternatively, under the terms of the
-ordinary General Public License).
-
- To apply these terms, attach the following notices to the library. It is
-safest to attach them to the start of each source file to most effectively
-convey the exclusion of warranty; and each file should have at least the
-"copyright" line and a pointer to where the full notice is found.
-
-
- Copyright (C)
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
-Also add information on how to contact you by electronic and paper mail.
-
-You should also get your employer (if you work as a programmer) or your
-school, if any, to sign a "copyright disclaimer" for the library, if
-necessary. Here is a sample; alter the names:
-
- Yoyodyne, Inc., hereby disclaims all copyright interest in the
- library `Frob' (a library for tweaking knobs) written by James Random Hacker.
-
- , 1 April 1990
- Ty Coon, President of Vice
-
-That's all there is to it!
-
-
diff --git a/libs/sofia-sip/COPYRIGHTS b/libs/sofia-sip/COPYRIGHTS
deleted file mode 100644
index f82e57e89d..0000000000
--- a/libs/sofia-sip/COPYRIGHTS
+++ /dev/null
@@ -1,251 +0,0 @@
-This package contains the Sofia-SIP library.
-
-Copyright (C) 2005-2006 Nokia Corporation and others (see the
-in individual files for a detailed list of copyright holders).
-
-Contact: Pekka Pessi
-
-This library is free software; you can redistribute it and/or
-modify it under the terms of the GNU Lesser General Public License
-as published by the Free Software Foundation; either version 2.1 of
-the License, or (at your option) any later version.
-
-This library is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-Lesser General Public License (LICENSE) for more details.
-
-----------------------------------------------------------------------------
-
-libsofia-sip-ua/su/inet_ntop.c
-
-The package also contains files licensed by Internet Software Consortium.
-These files are distributed with the following copyright notice:
-
-Copyright (c) 1996 by Internet Software Consortium.
-
-Permission to use, copy, modify, and distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
-ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
-OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
-CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
-DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
-PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
-ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
-SOFTWARE.
-
-----------------------------------------------------------------------------
-
-libsofia-sip-ua/su/inet_pton.c
-
-The package also contains files licensed by Internet Software Consortium and
-Internet Systems Consortium, Inc.. These files are distributed with the
-following copyright notice:
-
-Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
-Copyright (c) 1996,1999 by Internet Software Consortium.
-
-Permission to use, copy, modify, and distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR
-ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
-OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-
-----------------------------------------------------------------------------
-
-libsofia-sip-ua/su/sofia-sip/su_addrinfo.h
-libsofia-sip-ua/su/su_addrinfo.c
-
-The package also contains files licensed by WIDE Project. These files are
-distributed with the following copyright notice:
-
-Copyright (C) 1995, 1996, 1997, 1998, and 1999 WIDE Project.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions
-are met:
-1. Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-3. Neither the name of the project nor the names of its contributors
- may be used to endorse or promote products derived from this software
- without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
-ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
-FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-SUCH DAMAGE.
-
-----------------------------------------------------------------------------
-
-libsofia-sip-ua/su/getopt.c
-
-The package also contains files licensed by IBM Corporation. These files are
-distributed with the following copyright notice:
-
- This module contains code made available by IBM
- Corporation on an AS IS basis. Any one receiving the
- module is considered to be licensed under IBM copyrights
- to use the IBM-provided source code in any way he or she
- deems fit, including copying it, compiling it, modifying
- it, and redistributing it, with or without
- modifications. No license under any IBM patents or
- patent applications is to be implied from this copyright
- license.
-
- A user of the module should understand that IBM cannot
- provide technical support for the module and will not be
- responsible for any consequences of use of the program.
-
- Any notices, including this one, are not to be removed
- from the module without the prior written consent of
- IBM.
-
-----------------------------------------------------------------------------
-
-libsofia-sip-ua/su/su_md5.c
-
-The package also contains files written by Colin Plumb. These files are
-distributed with the following copyright notice:
-
-This code implements the MD5 message-digest algorithm. The algorithm is due
-to Ron Rivest. This code was initially written by Colin Plumb in 1993, no
-copyright is claimed. This code is in the public domain; do with it what you
-wish.
-
-Equivalent code is available from RSA Data Security, Inc. This code has
-been tested against that, and is equivalent, except that you don't need
-to include two pages of legalese with every copy.
-
-----------------------------------------------------------------------------
-
-libsofia-sip-ua/su/strtoull.c
-
-The package also contains files licensed by University of California and Sun
-Microsystems. These files are distributed with the following copyright
-notice:
-
-Copyright (c) 1988 The Regents of the University of California.
-Copyright (c) 1994 Sun Microsystems, Inc.
-
-The following license.terms for information on usage and redistribution
-of this individual file, and for a DISCLAIMER OF ALL WARRANTIES.
-
-This software is copyrighted by the Regents of the University of
-California, Sun Microsystems, Inc., Scriptics Corporation, ActiveState
-Corporation and other parties. The following terms apply to all files
-associated with the software unless explicitly disclaimed in
-individual files.
-
-The authors hereby grant permission to use, copy, modify, distribute,
-and license this software and its documentation for any purpose, provided
-that existing copyright notices are retained in all copies and that this
-notice is included verbatim in any distributions. No written agreement,
-license, or royalty fee is required for any of the authorized uses.
-Modifications to this software may be copyrighted by their authors
-and need not follow the licensing terms described here, provided that
-the new terms are clearly indicated on the first page of each file where
-they apply.
-
-IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY
-FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
-ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
-DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
-
-THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
-INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE
-IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE
-NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR
-MODIFICATIONS.
-
-GOVERNMENT USE: If you are acquiring this software on behalf of the
-U.S. government, the Government shall have only "Restricted Rights"
-in the software and related documentation as defined in the Federal
-Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you
-are acquiring the software on behalf of the Department of Defense, the
-software shall be classified as "Commercial Computer Software" and the
-Government shall have only "Restricted Rights" as defined in Clause
-252.227-7013 (c) (1) of DFARs. Notwithstanding the foregoing, the
-authors grant the U.S. Government and others acting in its behalf
-permission to use and distribute the software in accordance with the
-terms specified in this license.
-
-----------------------------------------------------------------------------
-
-libsofia-sip-ua/ipt/rc4.c
-
-The package also contains files written by Pekka Pessi. These files are
-distributed with the following copyright notice:
-
-Copyright (c) 1996 Pekka Pessi. All rights reserved.
-
-This source code is provided for unrestricted use. Users may copy or
-modify this source code without charge.
-
-THIS SOURCE CODE IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND
-INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A
-PARTICULAR PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE
-PRACTICE.
-
-This source code is provided with no support and without any obligation
-on the part of author to assist in its use, correction, modification or
-enhancement.
-
-AUTHOR SHALL HAVE NO LIABILITY WITH RESPECT TO THE INFRINGEMENT OF
-COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY THIS SOFTWARE OR ANY PART
-THEREOF.
-
-In no event will author be liable for any lost revenue or profits or
-other special, indirect and consequential damages, even if author has
-been advised of the possibility of such damages.
-
-----------------------------------------------------------------------------
-
-libsofia-sip-ua/su/poll.c
-
-The package also contains files from GNU C Library by Free Software
-Foundation.
-
-These files are distributed with the following copyright notice:
-
-Copyright (C) 1994,1996,1997,1998,1999,2001,2002
-Free Software Foundation, Inc.
-This file is part of the GNU C Library.
-
-The GNU C Library is free software; you can redistribute it and/or
-modify it under the terms of the GNU Lesser General Public
-License as published by the Free Software Foundation; either
-version 2.1 of the License, or (at your option) any later version.
-
-The GNU C Library is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-Lesser General Public License for more details.
-
-You should have received a copy of the GNU Lesser General Public
-License along with the GNU C Library; if not, write to the Free
-Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-02111-1307 USA.
-
-----------------------------------------------------------------------------
diff --git a/libs/sofia-sip/ChangeLog b/libs/sofia-sip/ChangeLog
deleted file mode 100644
index 56190603ff..0000000000
--- a/libs/sofia-sip/ChangeLog
+++ /dev/null
@@ -1,18 +0,0 @@
-===============================================================
-ChangeLog / Sofia-SIP - SIP User-Agent library
-===============================================================
-
-Sofia-SIP library ChangeLog files are available in the
-following places:
-
-- per subdirectory ChangeLog files
- - all non-trivial changes to files (unless documented
- elsewhere)
-- version control system changelogs
- - darcs and CVS tree repositories (see README.developers
- for latest repository location information)
-- RELEASE files
- - changes for the current version store in top-level
- RELEASE files of the source tree
- - old RELEASE files available at:
- http://sofia-sip.sourceforge.net/relnotes/
diff --git a/libs/sofia-sip/ChangeLog.ext-trees b/libs/sofia-sip/ChangeLog.ext-trees
deleted file mode 100644
index 6931926f32..0000000000
--- a/libs/sofia-sip/ChangeLog.ext-trees
+++ /dev/null
@@ -1,4578 +0,0 @@
-2006-05-12 Pekka Pessi
-
- * Release 1.11.8.
-
- * Updates for win32.
- Added SOFIAPUBFUN to few functions in msg_parser().
- Added new C++ wrappers for C files that need C++ linkage in tport_test.
- Fixed setlocal braino in build_sources.cmd.
-
- * Compiling and linking torture_su_bm and torture_su_port as static on win32.
-
- * Added more warnings to ignore on VC to win32/config.h.in.
-
- * Added files missing from dist to win32/Makefile.am
-
- * Added msg_get_address() and msg_set_address() functions to
- Trying to solve ai_addrlen problem.
-
- * Put last fixes into RELEASE file.
-
- * Fixed binding problems in nua and nta.c.
- Returning more appropriate error code from tport_tbind(), too.
- This patch fixes tracked bugs
- #1485624 (nua not binding to 5060),
- #1485625 (nua_create() fails if STUN init fails) and
- #1485632 (ncorrect error message for nua bind error).
- Nua now also binds both to NUTAG_URL and NUTAG_SIPS_URL() URIs, nua_create()
- fails if binding either of them fails.
-
- * Fixed msg_addrlen() usage.
-
- msg_addrlen() returns a pointer to ai_addrlen field of struct addrinfo
- inside the msg_t object. ai_addrlen has type size_t. However, system calls
- taking a return valur pointer to address length, use type socklen_t.
- Typically size_t is unsigned long, socklen_t is int, so casting
- msg_addrlen() return value to (socklen_t *) will break on (high-endian)
- 64-bit platforms. svsp.
-
- * Re-enable natify in test_nua.c.
-
- * Updated nua_register() and NUTAG_OUTBOUND() documentation.
- Taking NUTAG_OUTBOUND() options correctly into account in outbound.c.
- Improved the contact validation process in outbound.c, too.
-
- * Silenced warnings caused by mismatching integral types.
- In nua_session, unsigned v. sip_time_t.
- In tport.c, size_t v. socklen_t.
-
- * Fixed socket semantics on test_nat.c for BSD, too.
-
- * Fixed type of msg_addrlen() to size_t in msg_addr.h/msg.c.
- POSIX socklen_t is not used in addrinfo. We use addrinfo.
-
- * Added Changes to RELEASE.
-
- * Fixed DIST_SUBDIRS at toplevel Makefile.am.
-
- * Fixed AM_LDFLAGS in sresolv/Makefile.am.
-
- * Not declaring inline functions with global scope in
-
- * Added su_source_create() prototype to su-glib/so_source.c.
-
-2006-05-11 Pekka Pessi
-
- * Added more info about outbound, gruu and win32 DLL to RELEASE.
-
- * sres.c: storing last dot into the error record, too.
- Bug reported by Thomas Rosenblatt.
-
- * Added new files to dist, too.
- - libsofia-sip-ua/sresolv/sofia-resolv/sres_config.h
- - win32/libsofia-sip-ua-static/libsofia_sip_ua_static.dsp
- - win32/tests/test_nua/test_nat_tags.cpp
-
- * Now building libsofia_sip_ua.dll on win32.
-
- We define both IN_LIBSOFIA_SIP_UA and IN_LIBSOFIA_SRES in
- libsofia_sip_ua.dsp.
-
- Because of DLL linkage, we compile tags typedefs as C++
- (see win32/tests/test_nua/test_nat_tags.cpp).
-
- Removed LIBSOFIA_SIP_UA_STATIC from win32/sofia-sip/su_configure.h.
-
- Added libsofia_sip_ua_static.lib, too. If you want to compile against
- that, you need define LIBSOFIA_SIP_UA_STATIC by yourself.
-
- Added libsofia-sip-ua-static/libsofia_sip_ua_static.dsp.
-
- Using multithreaded DLL runtime for all projects.
-
- * Added SOFIAPUBFUN/SOFIAPUBVAR to stun module, too.
-
- * Added test_nat_tags.c to nua module.
-
- * Fixed a memory leak in nta_outgoing_mcreate().
-
- * Added SRESPUBFUN and sres_config.h to sresolv module.
-
- * Updated headers.
-
- Added sofia-sip/ prefix to documentation entries referring to include files.
-
- Added SOFIAPUBFUN and SOFIAPUBVAR to files that missed them.
-
- Removed some deprecated functions and macros.
-
- * Avoid #include ordering problem with sip_parser.h in sip_test_msg.c, too.
-
- * Silenced warnings in tport_type_tcp.c.
-
- * Added @deprecated to deprecated sip functions.
-
- * Moved ntlm functions to auth_ntlm.h from auth_plugin.h> in iptsec module.
-
- * Reordered #includes in http module.
- Avoid #include ordering problem with .
-
- * Removed utf8 and unicode-related stuff from library.
-
- Source files are still included in source tar.
-
- * Reordered #includes in sip module.
- Avoid #include ordering problem with sip_parser.h.
-
- * Updated ADD-A-HEADER file in sip module.
-
- * Added SOFIAPUBFUN and SOFIAPUBVAR to all public nua functions and variables.
-
-2006-05-10 Pekka Pessi
-
- * nua/outbound.c: Adding Accept-Contact (a) to keepalive OPTIONS, too.
- Just in case the message gets forwarded.
-
- * Remove dependency to Makefile in targets for marshal file generation in nua_glib.
-
- * Fixed includes in outbound.[hc].
-
- * Added Doxyfiles to libsofia-sip-ua-glib.
-
- Note that the files are not actually commented.
-
- * nua, soa: Adding Warnings to the response if appropriate.
-
- * Refactored outbound code in nua module.
- Added outbound.c, outbound.h.
-
- * Added registration refresh tests to test_nua.c.
- Added command line option --expensive and environment variable
- EXPENSIVE_CHECKS, too.
-
- * Updated refreshing of publications in nua_publish.c
- Added nua_publish_usage_refresh(), nua_publish_usage_shutdown().
-
- * Updated dialog usage refreshes.
- Updated nua_dialog_usage_refresh(), nh_call_pending().
-
- * Added expiration time settings to nua/test_proxy.[hc].
- Added test_proxy_set_expiration() and test_proxy_get_expiration().
-
- * Fixed timing problem when testing nat binding change.
-
-2006-05-09 Pekka Pessi
-
- * nua_register.c: use nua-generated contact for refresh interval calculation.
- Allow SIPS uris in contacts, too.
-
- * nua_register.c: ignoring bad received parameters in Via header.
-
- * Updated config file handling in sresolv/sres.c.
-
- Using reference counting with config structure when copying
- resolver objects.
-
- Trying harder to avoid re-parsing resolv.conf and checking for
- updated servers.
-
- Changed SRES_UPDATE_INTERVAL_SECS to 5 for non-WIN32 platforms.
-
- * su/su_alloc.c, su/sofia-sip/su_alloc.h: su_home_ref() takes const pointer.
-
-2006-05-08 kai.vehmanen@nokia.com
-
- * Added sip_dig and stunc to VC6/win32 workspace file.
-
- * Fixed sip_dig errors when building on VC6/win32.
-
- * Fixed STUN bugs when build with VC6/win32.
-
- * Updated STUN NAT type check interface to utilize current IETF BEHAVE terms.
-
- * Print sofia-sip version in stunc usage.
-
-2006-05-08 Pekka Pessi
-
- * url module: using SOFIAPUBFUN and SOFIAPUBVAR instead of URL_DLL.
-
- * Fixed overflow problem with su_timer_run().
- After 25 days the su_timer_run() timer started to misbehave,
- 1 < <31 milliseconds is bit more than 24 days, 20 hours, 31 minutes...
-
-2006-05-06 kai.vehmanen@nokia.com
-
- * Pretty-print the NAT type check results with STUN stunc.
-
- * Do not use resend when doing NAT type checking with STUN. The resends do not currently include the request attribute bytes as they should do.
-
- * Minor mods to STUN module.
-
- * Added optional local port randomization to stunc. Making repeated checks from the same local port will produce unreliable results.
-
- * Fixed STUN's Test-IV.
-
- * Added lots more documentation about the STUN nattype algorithm. Added a Test-IV step that is improved over the RFC3489 algorithm.
-
- * Refactored the STUN nattype checks. There are still a few cases where the detection fails.
-
- * Moved req-specific states to stun.c, moved stun_nattype_t to public header, added documentation to all stun enum fields.
-
- * Removed deprecated STUN function definitions from stun.c.
-
-2006-05-05 kai.vehmanen@nokia.com
-
- * Removed commented code segments.
-
- * nua-glib: added bind URL and STUN server parameters for nua_glib_constructor()
-
- * Fixed compiler warnings in stun.
-
- * Removed various deprecated functions that were already commented out from the code. Closed sf.net bug #1456403.
-
- * Fixed stunc argument parsing. It is now possible to given STUN server address as a hostname instead of requiring a dotted decimal IP-address.
-
- * Always install auth_ntlm.h as it is needed by auth_client.h.
-
-2006-05-04 kai.vehmanen@nokia.com
-
- * Updated developer docs w.r.t. VCS system. Darcs is now the
- primary version control system and sf.net CVS is only used as a
- backup.
-
- * Fixed header paths and added missing libraries that caused
- errors with debug/release builds.
-
- * Added sip_options to the win32 SofiaSIP workspace.
-
-2006-05-04 Pekka Pessi
-
- * sres_cache.c: fixed problem using macro as offsetof() argument.
-
- * test_sresolv.v: added more tests for A6 record parsing.
-
- * sres.c, sres_cache.c: records are now allocated in a single chunk.
-
- Bug hunted down by Thomas Rosenblatt: strings and domains belonging to
- record were allocated from resolver home, not from cache home.
-
- * Fixed problem with config without search domains in sresolv/sres.c.
-
- * Added information for COPYRIGHTS file to README.developers.
-
- * Setting send buffer size to at least 64K in Windows in tport_type_tcp.c.
-
- * Using SOFIAPUBFUN and SOFIAPUBVAR in bnf.h.
-
- * Silenced sprious warnings by MSG_HEADER_INIT() in msg_header.h.
-
- * NUTAG_KEEPALIVE() now uses milliseconds.
- Changes in sofia-sip/nua_tag.h, nua_params.c, nua_register.c, test_nua.c.
-
- * Renamed su_create_wait as su_wait_create in
- libsofia-sip-ua-glib/su-glib/su_source_test.c
-
- * stun/stun.c: s/su_destroy_timer/su_timer_destroy/.
-
- * Added sofia-sip/auth_ntlm.h auth_ntlm.c to dist in iptsec module.
-
- * Added license to Makefiles (kv)
-
- Added copyright lines and reference to LGPL license to the Makefile.am and
- configure.ac files.
-
- * poll_test.c: Renamed call s/su_create_wait/su_wait_create/. (kv)
-
- * Added libsofia-sip-ua-glib/ChangeLog to darcs (kv)
-
- * Added win32 registry name server discovery (kv)
-
- Based on a patch from Dimitri E. Prado.
- Decreased update interval to 180secs (SRES_UPDATE_INTERVAL_SECS).
-
-2006-05-03 Pekka Pessi
-
- * Not using SU_MSG_RINITIALIZER anymore.
-
- Fixed nta/nta.c, nth/nth_client.c, su/su_root.c.
-
- * Added SOFIAPUBFUN and SOFIAPUBVAR to public include files in su
- module.
-
- * Not compiling tport_threadpool.c in win32.
-
- * Updated documentation in sip/sip_util.c.
-
- Updated sip_contact_create_from_via(),
- sip_contact_string_from_via(), and
- sip_contact_create_from_via_with_transport() documents.
-
- * Added _sips._udp SRV records to sresolv/example.com zonefile.
-
- Updated named.conf so it can be directly used to run bind.
-
- * Added public prototype for tport_is_dgram() into
- .
-
- * Added nta_outgoing_transport() to nta/nta.c and
- .
-
- * nua module:
-
- * Improved keepalive timeout handling in nua/nua_register.c.
-
- * Fixed double free in nua/nua_register.c.
-
- Let nua_stack_process_response() take care of removing REGISTER
- dialog usage.
-
- * Checking for Max-Forwards header and its contents in
- nua/test_proxy.c.
-
- * Fixed STUN_ERROR() macro in .
-
- * Fixed invalid check by nua_stack_init_instance() in
- nua/nua_params.c.
-
- * Updated nua/test_nua.c.
-
- Using nat by default. Added --symmetric and -N options, enabling
- symmetric nat and logging, respectively.
-
- * Added tags to nua/test_nat.[hc].
-
- TESTNATTAG_SYMMETRIC(1) enables symmetric nat.
- TESTNATTAG_LOGGING(1) enables logging of nat binding changes.
-
- * Updated outbound protocol engine in nua/nua_register.c
-
- We enable rport and disable outbound by default. Fixed problem
- when nat binding was changed. Fixed syntax error problems when
- creating Accept-Contact header in OPTIONS request used to validate
- registration.
-
- * Added nua_generate_instance_identifier() to nua module.
-
- * Changed default values in nua_params.c.
-
- NUTAG_OUTBOUND() is "natify", and NUTAG_KEEPALIVE() is 120 seconds.
-
- * Fixed nua/test_proxy.c.
-
- Registrar was not returning all contacts in 200 OK to response to
- REGISTER.
-
- * iptsec module:
-
- * Added auc_copy_credentials().
-
- Implementation in iptsec/auth_client.c, prototype in
- . Replaced msg_param_t with char
- const *, too.
-
- * Added SOFIAPUBFUN to auth_struct_copy(), too.
-
- * iptsec module (by Martti Mela):
-
- * ntlm support now compiles, not working.
-
- * added auth_ntlm.[ch]
-
- * more NTLM methods and header file auth_ntlm.h
-
- * still more ifdefs for NTLM enabling
-
- * added configure flag for enabling NTLM (disabled by default)
-
- * fixed gssapidatas
-
- * NTLM implementation continued.
-
-2006-05-02 Pekka Pessi
-
- * iptsec module:
-
- * Updated headers in iptsec module.
- Added SOFIAPUBFUN and SOFIAPUBVAR where needed.
- Removed auc_with_uicc().
-
- * Fixed memory management problems in iptsec module.
- The authenticator client in auth_client.c leaked memory when
- re-challenged. The client did not duplicate strings from
- challenge, and tried to use freed values after challenge was
- freed.
- Now we are actually running the tests in test_auth_digest.c, too.
- The problem was reported and patch submitted by Colin Whittaker.
-
- * sresolv module:
-
- * Updated sresolv API.
-
- Added sres_search() and sres_search_cached_answers() to the
- sresolv API. Added sres_blocking_search(). Added ignore_cache
- parameter to sres_blocking_query() and
- sres_blocking_query_sockaddr() prototypes. Renumbered
- SRES_TIMEOUT_ERR and SRES_RECORD_ERR so that they do not overlap
- with transaction signature errors. Added sres_record_type().
-
- * Updated sresolv documentation.
-
- * Making cache threadsafe and locking it during sres_cache_store().
- Problem reported by Thomas Rosenblatt.
-
- * Moved sip-dig from libsofia-sip-ua/sresolv/ to utils.
-
- * Updated utils/sip-dig.c manpage and -p option handling.
-
- * Added text about preloading and stack use to su/su_alloc.c.
-
- * Fixed handle leaks in nua_test.c.
- Added delay before nua_shutdown() in order to ease debugging.
-
- * Fixed nua handle reference counting problems in nua module.
- Problem reported by Colin Whittaker.
-
- * Updated documentation of auc_authorize() in iptsec/auth_client.c.
-
- * Added null pointer check to auc_authorize() in iptsec/auth_client.c.
- Patch proposed by Colin Whittaker.
-
- * Destroying session when initial INVITE is CANCELed.
- Patch proposed by Colin Whittaker.
-
-2006-04-27 Pekka Pessi
-
- * sresolv module:
-
- Added SRESTAG_CACHE() to .
-
- Added ends0 and no-edns0 options in resolv.conf to sresolv/sres.c.
-
- Fixed sresolv #includes.
- Added #include and into sresolv/sres.c
- Added prerequisite #includes to sresolv files.
-
- Added @todo about cache poisoning. Updated sresolv documentation.
-
- Fixed bugs in sresolv/sres_blocking.c.
-
- Silenced printing spurious network errors in sresolv/sres.c.
-
- Added sres_is_blocking() to sres_blocking.c. Updated
- sres_resolver_get_async(), too.
-
- Added sip-dig.c to sresolv module.
-
- * tport module:
-
- Added missing "typedef" keyword to tport_pri_type_t in
- sofia-sip/tport_tag.h
-
- Fixed TPTAG_CONNECT() usage in tport/tport.c.
-
- Now running some SCTP tests in test_tport.c
-
- Updated tport_tls.c:
- - Not requiring client certificate in tls.
- - Tried to improve error handling, too.
-
- Now using stream-like sending semantics with SCTP.
-
- Updated datagram reception in tport_type_udp.c. We now avoid
- peeking and fussing around with message size, and simply allocate
- 64K buffer, receive(), then reduce the buffer size.
-
- Updated tport_recv_stun_dgram() in tport_stub_stun.c. Now using
- already received data within a msg_t.
-
- Updated SigComp interface in tport_stub_sigcomp.c and tport_sigcomp.c.
-
- Added a slot for stun handle to all primary transports.
- Changed tport_primary_t in tport_internal.h, updated tport_type_stun.c.
-
- Moved rest of the threadpool stuff into tport_threadpool.c.
- tport_threadpool.c does not work at the moment, disable it.
-
- Updated tport_connect() interface.
-
- Calling tport_alloc_seconary() when client socket has been
- created, making it possible to set socket options before
- connecting the socket. Currently, this benefits SCTP and TLS. This
- change affects tport_internal.h, tport.c, tport_type_sctp.c,
- tport_type_tcp.c, and tport_type_tls.c.
-
- Added TPORT_DLL to tport_keepalive(), too.
-
- Added tport_ref() and tport_unref() to tport module.
-
- Fixed bug #1473936 in tport/tport.c. tport_primary_by_name() now
- returns transports regardless of their protocol family if
- tpn->tpn_host is not a literal IP address.
-
- * msg module:
-
- Updated msg_recv_buffer() prototype.
-
- Reclaiming the un-committed part of buffer in msg/msg_parser.c.
- The allocation pattern for UDP has changed: now we allocate 64K,
- then realloc to the actual size.
-
- * nta module:
-
- Fixed bug #1472683 in nta/nta.c.
- The rport parameter was missing from ACK.
- The CANCEL had Via line with duplicate branch parameter.
-
- Fixed merge artifact in nta/test_nta_api.c.
-
- Always having NTATAG_SIGCOMP_OPTIONS() and storing its value.
-
- * nua module:
-
- Added explicit check for NULL pointers to
- unregister_expires_contacts().
-
- Added missing events to nua.docs.
-
- More fixes to nua/nua_publish.c. nua_unpublish uses tags from
- initial nua_publish() 900 status is returned when there is no
- Expires header in 2XX response to PUBLISH.
-
- Re-indented nua_publish.c.
-
- Added better error checking to nua_creq_msg().
- Fixed Service-Route header processing, too.
-
- Added nua_add_contact_by_aor() to nua_register.c. The
- nua_add_contact_by_aor() takes care of adding other
- registration-related headers like Service-Route, too.
-
- Moved nua_publish() documentation from nua.c/nua.docs to
- nua_publish.c. Updated documentation, added nua_r_unpublish
- documentation.
-
- Improved PUBLISH handling in nua/nua_publish.c. Saving the initial
- PUBLISH message along with message body and content type. They are
- re-used if 412 is received or if 2XX response contains Expires: 0.
- If 2XX response is received without Expires header, we report
- internal error to application.
-
- Fixed route handling in SUBSCRIBE in the file nua/nua_subnotref.c.
- There was a problem using dialog route set when there was an
- initial route original SUBSCRIBE.
-
- * Updated copyright year in sofia-footer.html.in.
-
- * Fixed prototype of host_is_domain().
-
- * Fixed doxygen warnings in su module.
-
- * Updated sofia-sip.spec.in.
- Separated glib library to sofia-sip-glib and sofia-sip-glib-devel packages.
- Added sofia-sip-docs package.
-
- * Added su_timer_set_interval() to su/su_timer.c and sofia-sip/su_wait.h.
-
- * Defining __func__ in stun/stunc.c for the benefit of older C compilers.
-
- * Removed // comments.
-
-2006-04-25 Pekka Pessi
-
- * Added compilation and run-time checks for MSG_TRUNC.
-
- M ./libsofia-sip-ua/tport/tport_internal.h -2 +3
- M ./libsofia-sip-ua/tport/tport_threadpool.c -1 +1
- M ./libsofia-sip-ua/tport/tport_type_udp.c -4 +34
- M ./m4/sac-su2.m4 +5
-
- * Fixed #includes in sresolv files.
-
- M ./libsofia-sip-ua/sresolv/sres_blocking.c +2
- M ./libsofia-sip-ua/sresolv/sres_cache.c +3
- M ./libsofia-sip-ua/sresolv/test_sresolv.c +9
-
- * Fixed syntax error with G_DEFINE_TYPE(NuaGlib).
-
- M ./libsofia-sip-ua-glib/nua-glib/nua_glib.c -1 +1
-
- * Added --with sctp and --without glib to sofia-sip.spec.in.
-
- M ./packages/sofia-sip.spec.in -3 +10
-
- * Renumbered test case NUA-9.1.2 in test_nua.c
-
- M ./libsofia-sip-ua/nua/test_nua.c -2 +2
-
-2006-04-20 Pekka Pessi
-
- * Not trying to set up stun transport unless we have stun server configured.
- Files: nua/nua_register.c.
-
- M ./libsofia-sip-ua/nua/Makefile.am +1
- M ./libsofia-sip-ua/nua/nua_register.c -6 +16
-
- * Fixed auth-int authentication for INVITE requests.
- Files: nua/nua_stack.c, nua/nua_session.c, iptsec/auth_client.c.
-
- M ./libsofia-sip-ua/iptsec/auth_client.c +6
- M ./libsofia-sip-ua/nua/nua_stack.c -4 +5
-
- * Added outbound_connect_gruuize() - generate gruu from gruu paramter in our contact.
- File: nua/nua_register.c.
-
- M ./libsofia-sip-ua/nua/nua_register.c +53
-
- * Added "SSL_VERIFY_PEER" environment variable.
-
- M ./libsofia-sip-ua/tport/tport_tls.c -2 +2
-
- * Restored SCTP in tport_type_sctp.c. Increased maximum message size to 64 K.
-
- M ./libsofia-sip-ua/tport/tport_type_sctp.c -7 +7
-
- * Using SSL_VERIFY_NONE - do not ask for client certificate.
- It looks like openssl does not allow for client not to have certificate.
-
- M ./libsofia-sip-ua/tport/tport_tls.c -1 +2
-
- * More memory management problems in stun.
-
- M ./libsofia-sip-ua/stun/stun_common.c -1 +1
-
- * Fixed memory management problems in stun.
-
- M ./libsofia-sip-ua/stun/stun.c -1
-
- * Fixed blunder in error record creation.
- sres_create_error_rr() in in sres.c.
-
- M ./libsofia-sip-ua/sresolv/sres.c -2 +4
-
- * Using outbound keepalive interval of 15 seconds.
- outbound_connect_start_keepalive() in nua/nua_register.c
-
- M ./libsofia-sip-ua/nua/nua_register.c -2 +1
-
- * Added nta_agent_init_sigcomp() and nta_agent_deinit_sigcomp().
-
- M ./libsofia-sip-ua/nta/nta.c -3 +28
- M ./libsofia-sip-ua/nta/nta_internal.h -9 +21
-
- * Renamed tport_try_accept_sigcomp() as tport_sigcomp_accept_incomplete().
-
- M ./libsofia-sip-ua/tport/tport.c -1 +1
- M ./libsofia-sip-ua/tport/tport_internal.h -1 +1
- M ./libsofia-sip-ua/tport/tport_stub_sigcomp.c -1 +1
-
- * Maded tport stun plugin pointer private.
-
- M ./libsofia-sip-ua/tport/tport_stub_stun.c -2 +7
-
- * Updated SCTP semantics to use "TCP".
-
- M ./libsofia-sip-ua/tport/tport.c -3 +8
- M ./libsofia-sip-ua/tport/tport_type_sctp.c -6 +20
-
- * Fixed C++ compilation on .
-
- * Fixed outbound problems.
- Not unregistering contacts with instance-id and reg-id.
- Avoiding crash when processing timeout responses.
-
- M ./libsofia-sip-ua/nua/nua_register.c -16 +31
-
- * Addeed --enable-sctp.
-
- M ./m4/sac-tport.m4 -4 +6
- M ./packages/sofia-sip.spec.in +1
-
- * Updated compression interface in tport.
- Added tport_compressor_t type, tport_delivered_with_comp().
- Removed tpac_sigcomp_accept() and tport_delivered_using_udvm().
-
- M ./libsofia-sip-ua/tport/sofia-sip/tport.h -10 +8
- M ./libsofia-sip-ua/tport/sofia-sip/tport_plugins.h -6 +93
- M ./libsofia-sip-ua/tport/tport.c -24 +11
- M ./libsofia-sip-ua/tport/tport_internal.h -15 +10
- M ./libsofia-sip-ua/tport/tport_stub_sigcomp.c -114 +53
-
- * Removed direct SigComp stuff from nta.c.
- Added nta_compressor_vtable.
-
- M ./libsofia-sip-ua/nta/nta.c -209 +100
- M ./libsofia-sip-ua/nta/nta_internal.h +33
-
- * Fixed aor/tport handling for sip/sips cases.
-
- M ./libsofia-sip-ua/nua/nua_register.c -4 +13
-
- * Disabled ntlm client for now.
-
-2006-04-17 Pekka Pessi
-
- * Removed - from ntlm variable names (mp)
-
- M ./libsofia-sip-ua/iptsec/auth_module.c -11 +11
- M ./libsofia-sip-ua/iptsec/sofia-sip/auth_plugin.h -1 +1
-
- * Fixed --without-sigcomp (mp)
-
- M ./m4/sac-tport.m4 -1 +1
-
- * iptsec: started NTLM support (mm)
-
- M ./libsofia-sip-ua/iptsec/auth_client.c +9
- M ./libsofia-sip-ua/iptsec/auth_module.c +390
- M ./libsofia-sip-ua/iptsec/sofia-sip/auth_plugin.h +7
-
- * Changed internal nua error responses to use 9XX status codes.
-
- M ./libsofia-sip-ua/nua/nua_event_server.c -9 +10
- M ./libsofia-sip-ua/nua/nua_message.c -4 +4
- M ./libsofia-sip-ua/nua/nua_options.c -3 +3
- M ./libsofia-sip-ua/nua/nua_params.c -3 +3
- M ./libsofia-sip-ua/nua/nua_publish.c -5 +5
- M ./libsofia-sip-ua/nua/nua_register.c -6 +6
- M ./libsofia-sip-ua/nua/nua_session.c -29 +30
- M ./libsofia-sip-ua/nua/nua_stack.c -2 +4
- M ./libsofia-sip-ua/nua/nua_stack.h -2 +2
- M ./libsofia-sip-ua/nua/nua_subnotref.c -5 +7
-
- * Added test for some of the internal errors.
-
- M ./libsofia-sip-ua/nua/test_nua.c +138
-
- * Fixed NTA API test for SigComp options (they are now always processed).
-
- M ./libsofia-sip-ua/nta/test_nta_api.c -8 +4
-
- * Added missing #includes to sres.c.
-
- * Removed experimental code enabling STUN.
-
- M ./libsofia-sip-ua/tport/tport.c -5
-
- * Added su_init()/su_deinit() here.
-
- M ./libsofia-sip-ua/tport/test_tport.c -1 +5
-
- * Removed some warnings (and fixed a bug) in encoding functions ofb stun_common.c
-
- M ./libsofia-sip-ua/stun/stun_common.c -9 +11
-
- * Removed stupid VC98 warning from tport_threadpool.c
-
- M ./libsofia-sip-ua/tport/tport_threadpool.c -1 +1
-
- * Added missing __func__ to tport_type_tcp and tport_threadpool.c.
-
- M ./libsofia-sip-ua/tport/tport.c -1 +1
- M ./libsofia-sip-ua/tport/tport_threadpool.c +7
- M ./libsofia-sip-ua/tport/tport_type_tcp.c +7
-
- * Added inlined IN6_IS_ADDR_LOOPBACK() to su_localinfo.c.
-
- M ./libsofia-sip-ua/su/su_localinfo.c +16
-
- * Fixed pointer artithmetics by memccpy() in su_strcat_all().
- (function in su/su_strdup.c).
-
- * Added missing Winsock errors to
-
- * Fixed address scoping error in stun_mini.c.
-
- * Added missing __func__ to stun C files.
-
- * Added things missing from win32 to new sresolv modules.
-
- M ./libsofia-sip-ua/sresolv/sres.c -5 +35
- M ./libsofia-sip-ua/sresolv/sres_blocking.c -4 +28
- M ./libsofia-sip-ua/sresolv/sres_cache.c -1 +9
-
- * Fixed C99ism in nua_register.c
-
- M ./libsofia-sip-ua/nua/nua_register.c -1 +3
-
- * Removed automatically generated file tport_tag_ref.c from version control system.
-
- R ./libsofia-sip-ua/tport/tport_tag_ref.c
-
-2006-04-11 Kai Vehmanen
-
- Synchronizing CVS with darcs (other contributors pp = Pekka Pessi,
- mm = Martti Mela).
-
- * NDEBUG oops. (pp)
-
- M ./libsofia-sip-ua/sresolv/sres.c -1 +1
-
- * Added sres_resolver_copy(). (pp)
- Storing application-provided option strings in res_options.
- Removed warnigns.
-
- M ./libsofia-sip-ua/sresolv/sofia-resolv/sres.h +3
- M ./libsofia-sip-ua/sresolv/sres.c -9 +90
- M ./libsofia-sip-ua/sresolv/test_sresolv.c -1 +1
-
- * Fixed stun miniserver (and stun stub in tport). (pp)
-
- M ./libsofia-sip-ua/stun/stun_common.c -12 +7
- M ./libsofia-sip-ua/stun/stun_mini.c -4 +4
- M ./libsofia-sip-ua/tport/tport_stub_stun.c -1 +1
-
- * Updated copyrights for nua-glib.
-
- M ./COPYRIGHTS -1 +2
- M ./libsofia-sip-ua-glib/nua-glib/nua_glib.c +2
- M ./libsofia-sip-ua-glib/nua-glib/sofia-sip/nua_glib.h -1 +2
-
- * Fixed segfault with stun_handle_destroy() on a NULL handle.
-
- M ./libsofia-sip-ua/tport/tport_type_stun.c -1 +2
-
- * Updated RELEASE. (pp)
-
- M ./RELEASE -4 +13
-
- * Disabled SIGCOMP until tport plugin is ready. (pp)
- Handling sigcomp options regarless of HAVE_SIGCOMP value.
-
- M ./libsofia-sip-ua/nta/nta.c -27 +30
-
- * Added stun server and compression plugins. (pp)
- Added TPORT_STUN_SERVER().
- Having stun server dependencies in .
- Moved sigcomp dependencies into .
-
- M ./libsofia-sip-ua/tport/Makefile.am -1 +3
- M ./libsofia-sip-ua/tport/sofia-sip/tport.h -23 +15
- A ./libsofia-sip-ua/tport/sofia-sip/tport_plugins.h
- M ./libsofia-sip-ua/tport/sofia-sip/tport_tag.h +7
- M ./libsofia-sip-ua/tport/test_tport.c -2 +3
- M ./libsofia-sip-ua/tport/tport.c -136 +82
- M ./libsofia-sip-ua/tport/tport_internal.h -35 +72
- M ./libsofia-sip-ua/tport/tport_sigcomp.c -150 +193
- A ./libsofia-sip-ua/tport/tport_stub_sigcomp.c
- A ./libsofia-sip-ua/tport/tport_stub_stun.c
- M ./libsofia-sip-ua/tport/tport_tag.c +1
- M ./libsofia-sip-ua/tport/tport_tag_ref.c +3
- M ./libsofia-sip-ua/tport/tport_type_stun.c -3 +21
- M ./libsofia-sip-ua/tport/tport_type_udp.c -144 +4
-
- * http_add_tl() now accepts NULL http struct pointer. (pp)
-
- M ./libsofia-sip-ua/http/http_tag_class.c -1 +3
-
- * Update documentation of msg_copy() and msg_dup(). (pp)
-
- M ./libsofia-sip-ua/msg/msg_header_copy.c -4 +7
-
- * Removed some HAVE_SIGCOMP code. (pp)
-
- M ./libsofia-sip-ua/nta/nta.c -42 +13
- M ./libsofia-sip-ua/nta/nta_internal.h -9 +2
-
- * Added su_sockaddr_scope(). (pp)
- Using su_sockaddr_scope() in stun_mini.c.
-
- M ./libsofia-sip-ua/stun/stun_mini.c -15 +38
- M ./libsofia-sip-ua/su/sofia-sip/su_localinfo.h +3
- M ./libsofia-sip-ua/su/su_localinfo.c -1 +18
-
- * Fixed nat testing code. (pp)
-
- M ./libsofia-sip-ua/nua/test_nat.c -4 +2
- M ./libsofia-sip-ua/nua/test_nua.c +1
-
- * Updated stack initialization. (pp)
- Transports are initialized by nua_stack_init_transport() in nua_register.c.
- UICC (you don't want to know) is initialized by nua_stack_set_from() in
- nua_params.c.
-
- M ./libsofia-sip-ua/nua/nua_params.c -4 +15
- M ./libsofia-sip-ua/nua/nua_register.c -1 +70
- M ./libsofia-sip-ua/nua/nua_stack.c -54 +18
- M ./libsofia-sip-ua/nua/nua_stack.h -2 +4
- M ./libsofia-sip-ua/nua/nua_tag.c -2
- M ./libsofia-sip-ua/nua/sofia-sip/nua_tag.h -7 +6
-
- * Fixed su_root_run() usage in docs. (pp)
- Thanks for hint by Julio Auto.
-
- M ./libsofia-sip-ua/nua/nua.docs -1 +1
-
- * Fixed allocation bug. (pp)
-
- M ./libsofia-sip-ua/sresolv/test_sresolv.c -4 +3
-
- * Change version back to 1.11.7work.
-
- M ./configure.ac -1 +1
-
- * Changed outbound_connect_nat_detect() prototype. (pp)
-
- M ./libsofia-sip-ua/nua/nua_register.c -7 +11
-
- * Removed obsoleted nua events. (pp)
-
- Removed nua events nua_i_media_event, nua_r_set_media_param,
- nua_r_get_media_param, nua_r_media_setup, nua_r_media_describe,
- nua_r_media_event, nua_i_announce, nua_i_describe, nua_i_get_parameter,
- nua_i_pause, nua_i_options2, nua_i_play, nua_i_record, nua_i_set_parameter,
- nua_i_setup, nua_i_teardown, nua_r_setup, nua_r_play, nua_r_record,
- nua_r_pause, nua_r_describe, nua_r_teardown, nua_r_options2, nua_r_announce,
- nua_r_get_parameter, and nua_r_set_parameter.
-
- Removed nua functions nua_announce(), nua_describe(), nua_get_media_param(),
- nua_get_parameter(), nua_media_describe(), nua_media_event(),
- nua_media_setup(), nua_options2(), nua_pause(), nua_play(), nua_record(),
- nua_set_media_param(), nua_set_parameter(), nua_setup(), and nua_teardown(),
-
- M ./libsofia-sip-ua/nua/sofia-sip/nua.h -33
-
- * Moved preference/parameter setting/getting into its own nua_params.c module. (pp)
-
- M ./libsofia-sip-ua/nua/Makefile.am +1
- M ./libsofia-sip-ua/nua/nua.c -140
- A ./libsofia-sip-ua/nua/nua_params.c
- A ./libsofia-sip-ua/nua/nua_params.h
- M ./libsofia-sip-ua/nua/nua_stack.c -661 +42
- M ./libsofia-sip-ua/nua/nua_stack.h -125 +10
- M ./libsofia-sip-ua/nua/nua_tag.c -6 +9
- M ./libsofia-sip-ua/nua/sofia-sip/nua_tag.h -24 +74
- M ./libsofia-sip-ua/nua/test_nua.c -1 +24
-
- * Removed obsoleted functions from nua. (pp)
-
- M ./libsofia-sip-ua/nua/nua.c -110
- M ./libsofia-sip-ua/nua/sofia-sip/nua.h -54
-
- * Updated documentation in nua. (pp)
-
- M ./libsofia-sip-ua/nua/Doxyfile -2 +2
- M ./libsofia-sip-ua/nua/nua.c -68 +24
- M ./libsofia-sip-ua/nua/nua.docs -27 +2
- M ./libsofia-sip-ua/nua/nua_common.c -4 +4
- M ./libsofia-sip-ua/nua/nua_dialog.c -12 +17
- M ./libsofia-sip-ua/nua/nua_dialog.h -1 +1
- M ./libsofia-sip-ua/nua/nua_event_server.c -14 +15
- M ./libsofia-sip-ua/nua/nua_options.c -2 +2
- M ./libsofia-sip-ua/nua/nua_register.c -22 +190
- M ./libsofia-sip-ua/nua/nua_session.c -6 +7
- M ./libsofia-sip-ua/nua/nua_stack.c -22 +31
- M ./libsofia-sip-ua/nua/nua_stack.h -11 +1
- M ./libsofia-sip-ua/nua/nua_subnotref.c -3 +3
-
- * stun: fixed mem leaks with valgrind (mm)
-
- M ./libsofia-sip-ua/stun/sofia-sip/stun.h -1 +3
- M ./libsofia-sip-ua/stun/stun.c -5 +50
- M ./libsofia-sip-ua/stun/stun_common.c -12 +38
- M ./libsofia-sip-ua/stun/stunc.c -8 +9
-
- * changed tport to use stun_discovery_done instead of stun_bind_done (mm)
-
- M ./libsofia-sip-ua/tport/tport_type_stun.c -1 +1
-
- * removed stun_bind_ enums and replaced with stun_discovery_ scheisse (mm)
-
- M ./libsofia-sip-ua/stun/sofia-sip/stun.h +5
- M ./libsofia-sip-ua/stun/stun.c -6 +8
- M ./libsofia-sip-ua/stun/stunc.c -3 +4
-
- * Added test for su_home_unref()ing a cloned home. (pp)
-
- M ./libsofia-sip-ua/su/su_alloc_test.c -9 +13
- M ./libsofia-sip-ua/su/su_strlst.c -2 +8
-
- * Added new sresolv headers to packages. (pp)
-
- M ./libsofia-sip-ua/sresolv/Makefile.am -1 +6
- M ./packages/sofia-sip.spec.in +1
-
- * Update version to 1.11.8work as per new release guidelines.
-
- M ./configure.ac -1 +1
-
- * Signal stun_error to the client if STUN DNS-SRV lookup is started but fails.
-
- M ./libsofia-sip-ua/stun/stun.c -36 +41
-
- * Fixed stun compilation.
-
- M ./libsofia-sip-ua/stun/stun.c -3 +6
-
- * Fixed operations on Transaction-ID. TID is a 128bit opaque value.
-
- M ./libsofia-sip-ua/stun/sofia-sip/stun_common.h +2
- M ./libsofia-sip-ua/stun/stun.c -10 +8
- M ./libsofia-sip-ua/stun/stun_common.c -2 +2
-
- * Removed ssl headers from stun_common.h. Public headers should not have config.h dependent sections.
-
- M ./libsofia-sip-ua/stun/sofia-sip/stun_common.h -9
- M ./libsofia-sip-ua/stun/stun_internal.h +9
-
- * tls somehow works now (mm)
-
- M ./libsofia-sip-ua/stun/stun.c -2 +5
-
- * updated stunc with cool features & cleanup. Removed stun_request_t from public callbacks (mm)
-
- M ./libsofia-sip-ua/stun/sofia-sip/stun.h -2
- M ./libsofia-sip-ua/stun/stun.c -33 +69
- M ./libsofia-sip-ua/stun/stun_internal.h +1
- M ./libsofia-sip-ua/stun/stunc.c -99 +140
-
- * Using HAVE_CONFIG_H. (pp)
-
- M ./libsofia-sip-ua/stun/stun_common.c -2 +2
-
- * Added test for . (pp)
- Removed HAVE_SU_WAIT_H - nobody is using it anymore.
-
- M ./m4/sac-su2.m4 -12 +4
-
- * Updated win32/config.h.in. (pp)
-
- M ./win32/config.h.in -7 +67
-
- * Updated (for testing stun). (pp)
-
- M ./libsofia-sip-ua/nua/test_nat.c -175 +183
-
- * Added quick hack for using stun. (pp)
-
- M ./libsofia-sip-ua/tport/tport.c +7
-
- * Updated tport_stun_bind_done(). (pp)
-
- M ./libsofia-sip-ua/tport/tport_type_stun.c -11 +9
-
- * No need to define HAVE_SU_WAIT_H. (pp)
-
- M ./libsofia-sip-ua/stun/stun_dns.c -1
-
- * Update documents. (pp)
-
- M ./libsofia-sip-ua/sresolv/resolve_sip.c -1 +1
- M ./libsofia-sip-ua/sresolv/sres.c -5 +9
- M ./libsofia-sip-ua/sresolv/sres_blocking.c -4 +9
- M ./libsofia-sip-ua/sresolv/sres_cache.c -4 +39
- M ./libsofia-sip-ua/sresolv/sresolv.c +34
- M ./libsofia-sip-ua/sresolv/test_sresolv.c -3 +8
-
- * stunc works, kikkelis kokkelis!! (mm)
-
- M ./libsofia-sip-ua/stun/sofia-sip/stun.h -1 +3
- M ./libsofia-sip-ua/stun/stun.c -5 +19
- M ./libsofia-sip-ua/stun/stunc.c -50 +169
-
- * Added stun_mini_t. (pp)
-
- M ./libsofia-sip-ua/stun/Makefile.am -1 +1
- M ./libsofia-sip-ua/stun/sofia-sip/stun.h -4 +19
- A ./libsofia-sip-ua/stun/stun_mini.c
-
- * Updated stun todo-file in stun.docs.
-
- M ./libsofia-sip-ua/stun/stun.docs -4 +1
-
- * Also mark deprecated typedefs and defines.
-
- M ./libsofia-sip-ua/stun/sofia-sip/stun.h -9 +9
-
- * Adds interface to query active primary server address.
-
- M ./libsofia-sip-ua/stun/sofia-sip/stun.h +1
- M ./libsofia-sip-ua/stun/stun.c -30 +39
- M ./libsofia-sip-ua/stun/stun_internal.h -1 +1
-
- * Minor update to STUN DNS-SRV interface.
-
- M ./libsofia-sip-ua/stun/ChangeLog +4
- M ./libsofia-sip-ua/stun/lookup_stun_server.c -17 +31
- M ./libsofia-sip-ua/stun/sofia-sip/stun.h -5 +4
- M ./libsofia-sip-ua/stun/stun.c -3 +4
- M ./libsofia-sip-ua/stun/stun_dns.c -34 +67
-
- * Using updated tport_keepalive() prototype. (pp)
-
- M ./libsofia-sip-ua/nta/nta.c -1 +2
-
- * Added STUN tport. (pp)
- Moved upnp stuff to its own file.
-
- M ./libsofia-sip-ua/tport/Makefile.am -3 +3
- M ./libsofia-sip-ua/tport/tport.c +1
- M ./libsofia-sip-ua/tport/tport_type_stun.c -422 +88
-
- * Updated tport_keepalive() prototype. (pp)
- Implemented tport_is_updating(), added tport_has_been_updated().
-
- M ./libsofia-sip-ua/tport/sofia-sip/tport.h -1 +2
- M ./libsofia-sip-ua/tport/tport.c -8 +40
- M ./libsofia-sip-ua/tport/tport_internal.h -5 +10
- M ./libsofia-sip-ua/tport/tport_threadpool.c -2 +2
- M ./libsofia-sip-ua/tport/tport_type_connect.c -2 +2
- M ./libsofia-sip-ua/tport/tport_type_sctp.c -4 +4
- M ./libsofia-sip-ua/tport/tport_type_tcp.c -2 +2
- M ./libsofia-sip-ua/tport/tport_type_tls.c -6 +6
- M ./libsofia-sip-ua/tport/tport_type_udp.c -1 +1
-
- * Removed torture_stun.c.
-
- M ./libsofia-sip-ua/stun/Makefile.am -10 +1
- R ./libsofia-sip-ua/stun/torture_stun.c
-
- * Fix STUNTAG_DOMAIN with test_nattype and test_lifetime processes.
-
- M ./libsofia-sip-ua/stun/stun.c -7 +28
-
- * Renamed all get_nattype and get_lifetime functions and enums to test_nattype and test_lifetime.
-
- M ./libsofia-sip-ua/stun/ChangeLog +4
- M ./libsofia-sip-ua/stun/sofia-sip/stun.h -14 +8
- M ./libsofia-sip-ua/stun/stun.c -52 +30
- M ./libsofia-sip-ua/stun/stunc.c -6 +9
-
- * Moved deprecated functions at the end of stun.c. Fixed postponing shared-secret and bind discovery processes for DNS-SRV lookups.
-
- M ./libsofia-sip-ua/stun/stun.c -159 +172
-
- * stun_request_shared_secret() renamed to stun_obtain_shared_secret().
-
- M ./libsofia-sip-ua/stun/sofia-sip/stun.h -4 +1
-
- * stun.h: Deprecated stun_handle_release().
-
- M ./libsofia-sip-ua/stun/ChangeLog -3 +4
- M ./libsofia-sip-ua/stun/sofia-sip/stun.h -1 +2
-
- * tag list stored for stun_obtain_shared_secret (mm)
-
- M ./libsofia-sip-ua/stun/stun.c -1 +11
-
- * non-compiling: need args for stun_obtain_shared_secret() (mm)
-
- M ./libsofia-sip-ua/stun/stun.c -1 +1
-
- * stun api upd's also for tls; tport (mm)
-
- M ./libsofia-sip-ua/stun/sofia-sip/stun.h -4 +14
- M ./libsofia-sip-ua/stun/sofia-sip/stun_tag.h -4 +4
- M ./libsofia-sip-ua/stun/stun.c -17 +150
- M ./libsofia-sip-ua/stun/stun_common.c -3 +5
- M ./libsofia-sip-ua/stun/stun_tag.c -8 +9
- M ./libsofia-sip-ua/tport/tport_type_stun.c -5 +5
-
- * Removed separate virtual function for compression initialization. (pp)
-
- M ./libsofia-sip-ua/tport/tport.c -3
- M ./libsofia-sip-ua/tport/tport_internal.h -2
- M ./libsofia-sip-ua/tport/tport_sigcomp.c -2
- M ./libsofia-sip-ua/tport/tport_threadpool.c -1
- M ./libsofia-sip-ua/tport/tport_type_connect.c -1
- M ./libsofia-sip-ua/tport/tport_type_sctp.c -2
- M ./libsofia-sip-ua/tport/tport_type_stun.c -4 +3
- M ./libsofia-sip-ua/tport/tport_type_tcp.c -2
- M ./libsofia-sip-ua/tport/tport_type_tls.c -2
- M ./libsofia-sip-ua/tport/tport_type_udp.c -2
-
- * Added su_socket() wrapper function. (pp)
-
- M ./libsofia-sip-ua/su/sofia-sip/su.h -2
- M ./libsofia-sip-ua/su/su.c -6 +12
-
- * Removee v-p from the vtable names. (pp)
-
- M ./libsofia-sip-ua/tport/tport.c -20 +20
- M ./libsofia-sip-ua/tport/tport_internal.h -11 +11
- M ./libsofia-sip-ua/tport/tport_threadpool.c -1 +1
- M ./libsofia-sip-ua/tport/tport_type_connect.c -4 +1
- M ./libsofia-sip-ua/tport/tport_type_sctp.c -2 +2
- M ./libsofia-sip-ua/tport/tport_type_stun.c -1 +1
- M ./libsofia-sip-ua/tport/tport_type_tcp.c -2 +2
- M ./libsofia-sip-ua/tport/tport_type_tls.c -2 +2
- M ./libsofia-sip-ua/tport/tport_type_udp.c -2 +2
-
- * Removed temp test program from sresolv. (pp)
-
- M ./libsofia-sip-ua/sresolv/Makefile.am -2 +1
-
- * Added 3.f.f.e.1.2.0.0.3.0.1.2.c.0.0.0.arpa. (pp)
-
- A ./libsofia-sip-ua/sresolv/3.f.f.e.1.2.0.0.3.0.1.2.c.0.0.0.arpa
- M ./libsofia-sip-ua/sresolv/Makefile.am -1 +2
-
- * Added notes to RELEASE. (pp)
-
- M ./RELEASE +17
-
- * Sanitized stun_common.[hc] slightly. (pp)
-
- M ./libsofia-sip-ua/stun/sofia-sip/stun_common.h -1 +1
- M ./libsofia-sip-ua/stun/stun_common.c -45 +53
-
- * Added notes about string and header manipulation function. (pp)
-
- M! ./RELEASE -10
-
- * Fixed problem with initial un-REGISTER by test_nua.c in test_proxy.c (pp)
-
- M ./libsofia-sip-ua/nua/test_proxy.c -4 +7
-
- * Fixed problems with updated API. Added sres_resolver_update(). (pp)
-
- M ./libsofia-sip-ua/sresolv/Makefile.am -1 +2
- M ./libsofia-sip-ua/sresolv/sofia-resolv/sres.h -55 +21
- A ./libsofia-sip-ua/sresolv/sofia-resolv/sres_async.h
- M ./libsofia-sip-ua/sresolv/sofia-sip/sresolv.h -2 +3
- M ./libsofia-sip-ua/sresolv/sres.c -17 +37
- M ./libsofia-sip-ua/sresolv/sres_blocking.c +1
- M ./libsofia-sip-ua/sresolv/sresolv.c -36 +52
- M ./libsofia-sip-ua/sresolv/test_sresolv.c -2 +2
-
- * Fixed AC_CHECK_HEADERS depending on . (pp)
-
- M ./m4/sac-su2.m4 -1 +3
-
- * Fixed HAVE_SOCKADDR_LL in case we have . (pp)
-
- M ./libsofia-sip-ua/su/su_uniqueid.c -1 +1
-
- * Fixed su_timer_set_for_ever(). (pp)
-
- M ./libsofia-sip-ua/su/su_timer.c -6 +9
-
- * Fixed stupid bug with su_home_desctructor(). (pp)
-
- M ./libsofia-sip-ua/su/su_alloc.c +10
- M ./libsofia-sip-ua/su/su_alloc_test.c -2 +13
-
- * New API working with test program. (pp)
-
- M ./libsofia-sip-ua/sresolv/Makefile.am -1 +1
- M ./libsofia-sip-ua/sresolv/run_test_sresolv +5
- M ./libsofia-sip-ua/sresolv/sofia-resolv/sres.h -15 +62
- M ./libsofia-sip-ua/sresolv/sofia-resolv/sres_cache.h -1 +1
- M ./libsofia-sip-ua/sresolv/sofia-sip/sresolv.h -14 +1
- M ./libsofia-sip-ua/sresolv/sres.c -143 +237
- A ./libsofia-sip-ua/sresolv/sres_blocking.c
- M ./libsofia-sip-ua/sresolv/sres_cache.c -2 +2
- M ./libsofia-sip-ua/sresolv/sresolv.c -56 +57
- M ./libsofia-sip-ua/sresolv/test_sresolv.c -198 +117
-
- * Initial change for multithreaded and synchronous resolver (pp)
-
- ./libsofia-sip-ua/sresolv/sofia-sip/sresolv.h -> ./libsofia-sip-ua/sresolv/sofia-resolv/sres.h
- ./libsofia-sip-ua/sresolv/sresolv.c -> ./libsofia-sip-ua/sresolv/sres.c
- M ./libsofia-sip-ua/sresolv/Makefile.am -1 +1
- A ./libsofia-sip-ua/sresolv/sofia-resolv/
- M ./libsofia-sip-ua/sresolv/sofia-resolv/sres.h -259 +90
- A ./libsofia-sip-ua/sresolv/sofia-resolv/sres_cache.h
- A ./libsofia-sip-ua/sresolv/sofia-resolv/sres_record.h
- A ./libsofia-sip-ua/sresolv/sofia-sip/sresolv.h
- M ./libsofia-sip-ua/sresolv/sres.c -1075 +852
- A ./libsofia-sip-ua/sresolv/sres_cache.c
- A ./libsofia-sip-ua/sresolv/sresolv.c
- M ./libsofia-sip-ua/sresolv/sresolv.docs -7 +71
- M ./libsofia-sip-ua/sresolv/test_sresolv.c -29 +20
-
- * Fixed make top-level rules for manpage creation when doxygen is not installed.
-
- M ./Makefile.am -1 +1
-
- * Abort connect timer if socket connect() refused.
-
- M ./libsofia-sip-ua/stun/stun.c -7 +5
-
- * Updated nua_stack_tport_update(). (pp)
-
- M ./libsofia-sip-ua/nua/nua_register.c -6 +6
-
- * Renamed register_usage as outbound_connect. (pp)
- Added tags NUTAG_OUTBOUND(), NUTAG_OUTBOUND_SET1(), NUTAG_OUTBOUND_SET2(),
- NUTAG_OUTBOUND_SET3(), and NUTAG_OUTBOUND_SET4().
-
- M ./libsofia-sip-ua/nua/nua_options.c -3 +4
- M ./libsofia-sip-ua/nua/nua_register.c -363 +498
- M ./libsofia-sip-ua/nua/nua_stack.c -3 +11
- M ./libsofia-sip-ua/nua/nua_stack.h -10 +8
- M ./libsofia-sip-ua/nua/nua_tag.c +6
- M ./libsofia-sip-ua/nua/sofia-sip/nua_tag.h +110
-
- * Added usage_peer_info method to dialog usage. (pp)
-
- M ./libsofia-sip-ua/nua/nua_dialog.c +6
- M ./libsofia-sip-ua/nua/nua_dialog.h +3
-
- * Added possibility to run tests with external proxy. (pp)
-
- M ./libsofia-sip-ua/nua/test_nua.c -37 +98
-
- * Added auth_status_init_with(), as_profile and as_alt_uri. (pp)
-
- M ./libsofia-sip-ua/iptsec/auth_module.c -4 +16
- M ./libsofia-sip-ua/iptsec/sofia-sip/auth_module.h -2 +12
-
- * Fixed url_param(). (pp)
-
- M ./libsofia-sip-ua/url/url.c -9 +18
-
- * Use "_" instead of "+" in token64_e(). (pp)
-
- M ./libsofia-sip-ua/ipt/token64.c -3 +3
-
- * Added tport with HTTP CONNECT, too. (pp)
-
- A ./libsofia-sip-ua/tport/tport_type_connect.c
-
- * Split tport.c into multiple modules. (pp)
- STUN, UPnP and SigComp still need some polishing.
-
- M ./libsofia-sip-ua/tport/Makefile.am -3 +7
- M ./libsofia-sip-ua/tport/test_tport.c -13 +11
- M ./libsofia-sip-ua/tport/tport.c -4114 +156
- A ./libsofia-sip-ua/tport/tport_internal.h
- A ./libsofia-sip-ua/tport/tport_logging.c
- A ./libsofia-sip-ua/tport/tport_sigcomp.c
- A ./libsofia-sip-ua/tport/tport_tag_ref.c
- A ./libsofia-sip-ua/tport/tport_threadpool.c
- A ./libsofia-sip-ua/tport/tport_type_sctp.c
- A ./libsofia-sip-ua/tport/tport_type_stun.c
- A ./libsofia-sip-ua/tport/tport_type_tcp.c
- A ./libsofia-sip-ua/tport/tport_type_tls.c
- A ./libsofia-sip-ua/tport/tport_type_udp.c
-
- * Completed HTTP CONNECT. (pp)
- Added --http-proxy to sip-options.
-
- M ./libsofia-sip-ua/tport/sofia-sip/tport_tag.h +1
- M ./libsofia-sip-ua/tport/tport.c -11 +55
- M ./utils/sip-options.c -1 +6
-
- * Generating Contact from public vias if no local Vias are available. (pp)
-
- M ./libsofia-sip-ua/nta/nta.c -3 +11
-
- * Added HTTP CONNECT. (pp)
-
- M ./libsofia-sip-ua/tport/tport.c -682 +981
-
- * Added http to LDADD and INCLUDE. (pp)
-
- M ./libsofia-sip-ua/nea/Makefile.am -1 +2
- M ./libsofia-sip-ua/nta/Makefile.am +1
- M ./libsofia-sip-ua/nua/Makefile.am -1 +1
- M ./libsofia-sip-ua/tport/Makefile.am +2
-
- * Clean up timers upon destroy in stun.
-
- M ./libsofia-sip-ua/stun/stun.c -9 +20
-
- * Fixed typo in stun.
-
- M ./libsofia-sip-ua/stun/stun.c -1 +1
-
- * Adding Vias belonging to public transport to sa_public_vias list.
- Now testing nta_agent_public_via(), too. (pp)
-
- M ./libsofia-sip-ua/nta/Makefile.am +1
- M ./libsofia-sip-ua/nta/nta.c -26 +63
- M ./libsofia-sip-ua/nta/test_nta_api.c -1 +14
-
- * Using tport_tcreate() instead of tport_create(). (pp)
-
- M ./libsofia-sip-ua/nth/nth_client.c -1 +1
-
- * Added vtables for transports. (pp)
- API: tport_is_public().
-
- M ./libsofia-sip-ua/tport/sofia-sip/tport.h -7 +3
- M ./libsofia-sip-ua/tport/sofia-sip/tport_tag.h -1 +14
- M ./libsofia-sip-ua/tport/test_tport.c +7
- M ./libsofia-sip-ua/tport/tport.c -1069 +1136
- M ./libsofia-sip-ua/tport/tport_tls.c -43 +22
-
- * STUN documentation update - no functional changes. (pp)
-
- M ./libsofia-sip-ua/stun/sofia-sip/stun.h -39 +31
- M ./libsofia-sip-ua/stun/stun.c -26 +30
-
- * Fixed bugs STUN DNS-SRV implementation. (pp)
-
- M ./libsofia-sip-ua/stun/stun.c -20 +38
-
- * restructured nat scheisse in tport, nta, nua. Lost weight for about 200 lines. (mm)
-
- M ./libsofia-sip-ua/nta/nta.c -4
- M ./libsofia-sip-ua/nua/nua_stack.c +4
- M ./libsofia-sip-ua/tport/sofia-sip/tport.h +8
- M ./libsofia-sip-ua/tport/sofia-sip/tport_tag.h +7
- M ./libsofia-sip-ua/tport/tport.c -62 +38
- M ./libsofia-sip-ua/tport/tport_tag.c +1
-
- * initial support for dynamic address changes for register (mm)
-
- M ./libsofia-sip-ua/nua/nua_register.c +18
- M ./libsofia-sip-ua/tport/sofia-sip/tport_tag.h +7
- M ./libsofia-sip-ua/tport/tport.c -76 +136
- M ./libsofia-sip-ua/tport/tport_tag.c +1
-
- * updated RELEASE (pp)
-
- M ./RELEASE +9
-
- * Cleanup STUN headers.
-
- M ./libsofia-sip-ua/stun/sofia-sip/stun.h -10 +3
- M ./libsofia-sip-ua/stun/stun.c -1 +3
- M ./libsofia-sip-ua/stun/stun_dns.c -1
-
- * Added initial DNS-SRV lookup support to stun.
-
- M ./libsofia-sip-ua/nth/Makefile.am +1
- M ./libsofia-sip-ua/stun/Makefile.am +1
- M ./libsofia-sip-ua/stun/sofia-sip/stun.h -14 +17
- M ./libsofia-sip-ua/stun/stun.c -82 +196
- M ./libsofia-sip-ua/stun/stun_dns.c +9
- M ./libsofia-sip-ua/tport/Makefile.am +1
-
- * Add direct doxygen links to the public STUN APIs.
-
- M ./libsofia-sip-ua/stun/stun.docs -4 +8
-
- * The correct tcp service name for STUN server discovery is 'stun', not 'stun-tls'.
-
- M ./libsofia-sip-ua/stun/lookup_stun_server.c -1 +1
- M ./libsofia-sip-ua/stun/stun_dns.c -6 +6
-
- * Fixed manpage generation rule to work with automake-1.8.5.
-
- M ./Makefile.am -1 +1
-
- * updated STUN API, tport-stun-http mods in progress (mm)
-
- M ./libsofia-sip-ua/nta/nta.c -1 +1
- M ./libsofia-sip-ua/stun/sofia-sip/stun.h -24 +74
- M ./libsofia-sip-ua/stun/stun.c -23 +101
- M ./libsofia-sip-ua/stun/stunc.c -4 +4
- M ./libsofia-sip-ua/tport/tport.c -30 +122
-
- * Added STUNTAG_DOMAIN to suitable places. Added more doxygen documentation - especially considering tag params to functions.
-
- M ./libsofia-sip-ua/stun/stun.c -7 +39
-
- * Added STUN DNS-SRV functionality to stun module. A simple test app is also provided. This code is not yet used by other parts of the stun module.
-
- M ./RELEASE +1
- M ./libsofia-sip-ua/stun/Makefile.am -8 +5
- A ./libsofia-sip-ua/stun/lookup_stun_server.c
- M ./libsofia-sip-ua/stun/sofia-sip/stun.h -3 +24
- A ./libsofia-sip-ua/stun/stun_dns.c
-
- * Updates to stun module doxygen documentation.
-
- M ./libsofia-sip-ua/stun/sofia-sip/stun.h -44 +31
- M ./libsofia-sip-ua/stun/stun.c -15 +38
-
- * async stun bind in tport, callback to NTA (mm)
-
- M ./libsofia-sip-ua/nta/nta.c -8 +18
- M ./libsofia-sip-ua/stun/sofia-sip/stun.h +24
- M ./libsofia-sip-ua/stun/sofia-sip/stun_tag.h +5
- M ./libsofia-sip-ua/stun/stun.c -31 +122
- M ./libsofia-sip-ua/stun/stun_common.c -1
- M ./libsofia-sip-ua/stun/stun_tag.c +19
- M ./libsofia-sip-ua/stun/stunc.c -4 +4
- M ./libsofia-sip-ua/stun/torture_stun.c -1 +1
- M ./libsofia-sip-ua/tport/tport.c -78 +331
-
- * Checking for re-registration upon nat binding change. (pp)
-
- M ./libsofia-sip-ua/nua/test_nua.c -10 +66
-
- * Added keepalive and probe OPTIONS to registration. (pp)
-
- M ./libsofia-sip-ua/nua/nua_options.c +3
- M ./libsofia-sip-ua/nua/nua_register.c -309 +685
- M ./libsofia-sip-ua/nua/nua_stack.h +6
-
- * Removed warning. (pp)
-
- M ./libsofia-sip-ua/nua/nua_subnotref.c -1 +1
-
- * Removing dialog usages when handle is being destroyed. (pp)
-
- M ./libsofia-sip-ua/nua/nua_stack.c -2 +7
-
- * Added nua_dialog_usage_refresh() and nua_dialog_usage_public(). (pp)
-
- M ./libsofia-sip-ua/nua/nua_dialog.c +15
- M ./libsofia-sip-ua/nua/nua_dialog.h -2 +13
-
- * Added test_nat_flush(). (pp)
-
- M ./libsofia-sip-ua/nua/test_nat.c -14 +109
- M ./libsofia-sip-ua/nua/test_nat.h +2
-
- * Handling multiple bindings in test_proxy.c. (pp)
-
- M ./libsofia-sip-ua/nua/test_proxy.c -46 +244
-
- * Added nta_agent_bind_tport_update(), nta_agent_tport_is_updating() functions. (pp)
- Added tport_is_updating(), too. Removed NTATAG_UPDATE_TPORT().
-
- M ./libsofia-sip-ua/nta/nta.c -5 +19
- M ./libsofia-sip-ua/nta/nta_internal.h +2
- M ./libsofia-sip-ua/nta/nta_tag.c -1
- M ./libsofia-sip-ua/nta/sofia-sip/nta_tag.h -9
- M ./libsofia-sip-ua/nta/sofia-sip/nta_tport.h -1 +10
- M ./libsofia-sip-ua/tport/sofia-sip/tport.h -2 +2
- M ./libsofia-sip-ua/tport/tport.c +6
-
- * Added nua_prack(). (pp)
-
- M ./libsofia-sip-ua/nua/nua.c -9 +29
-
- * Do not log error if su_timer_set() is called with NULL timer. (pp)
-
- M ./libsofia-sip-ua/su/su_timer.c -3 +1
-
- * Added su_task_execute(). (pp)
-
- M ./libsofia-sip-ua/su/sofia-sip/su_wait.h +4
- M ./libsofia-sip-ua/su/su_root.c +71
-
- * Fixed event saving and handling. (pp)
- Now we have a separate list for special events (nua_i_outbound).
-
- M ./libsofia-sip-ua/nua/test_nua.c -304 +356
-
- * Added nua_i_outbound. (pp)
-
- M ./libsofia-sip-ua/nua/nua_common.c +1
- M ./libsofia-sip-ua/nua/sofia-sip/nua.h +2
-
- * Deregistering wait events. (pp)
-
- M ./libsofia-sip-ua/nua/test_nat.c -1 +8
-
- * Mention Sofia-SIP User Agent Library instead Nokia UA Library in dox. (pp)
-
- M ./libsofia-sip-ua/nua/nua.c -3 +3
- M ./libsofia-sip-ua/nua/nua_dialog.h -1 +1
- M ./libsofia-sip-ua/nua/nua_stack.c -1 +1
- M ./libsofia-sip-ua/nua/nua_stack.h -1 +1
- M ./libsofia-sip-ua/nua/sofia-sip/nua.h -1 +2
- M ./libsofia-sip-ua/nua/sofia-sip/nua_tag.h -2 +2
-
- * Fixed request line handling bug in nta_msg_request_complete(). (pp)
-
- M ./libsofia-sip-ua/nta/nta.c -3 +9
-
- * Using SOFIAPUBFUN in msg_header.h. Avoiding use of msg_param_t where possible. (pp)
-
- API CHANGE:
- Allowing NULL as message public pointer (using default) in calls to
- msg_serialize(), msg_header_add(), msg_header_prepend(),
- msg_header_add_dup(), msg_header_add_dup_as(), msg_header_add_make(),
- msg_header_add_str(), msg_header_insert(), msg_header_remove(),
- msg_header_remove_all(), and msg_header_replace().
-
- M ./libsofia-sip-ua/msg/msg_parser.c -155 +182
- M ./libsofia-sip-ua/msg/msg_parser_util.c -3 +3
- M ./libsofia-sip-ua/msg/sofia-sip/msg_header.h -89 +138
-
- * Added OPTIONS keepalive to nua_register.c. (pp)
-
- M ./libsofia-sip-ua/nua/nua_register.c -208 +526
-
- * Added nta_default_leg(). (pp)
-
- M ./libsofia-sip-ua/nta/nta.c +7
- M ./libsofia-sip-ua/nta/sofia-sip/nta.h +2
-
- * Added process_options() to test_proxy. (pp)
-
- M ./libsofia-sip-ua/nua/test_proxy.c -28 +132
-
- * Added nua_creq_save_restart() to nua_stack. (pp)
-
- M ./libsofia-sip-ua/nua/nua_stack.c -20 +39
- M ./libsofia-sip-ua/nua/nua_stack.h +6
-
- * Added url_cmp_all(). (pp)
-
- M ./libsofia-sip-ua/url/sofia-sip/url.h -1 +5
- M ./libsofia-sip-ua/url/torture_url.c -3 +21
- M ./libsofia-sip-ua/url/url.c -15 +177
-
- * nua_dialog_store_peer_info() now optionally removes peer info. (pp)
- If the SIP message given to nua_dialog_store_peer_info() is redirection
- response, reset peer info.
-
-
- M ./libsofia-sip-ua/nua/nua_dialog.c +14
-
- * Fixed bug in sip_transport_d() parsing different tls transports. (pp)
- This bug affected mainly parsing futuristic Via headers.
-
- M ./libsofia-sip-ua/sip/sip_parser.c -2 +3
- M ./libsofia-sip-ua/sip/torture_sip.c +48
-
- * Fixed sip_contact_string_from_via() (pp)
-
- M ./libsofia-sip-ua/sip/sip_util.c -2 +2
-
- * Registering successfully behind NAT. (pp)
-
- M ./libsofia-sip-ua/nua/nua_register.c -125 +589
- M ./libsofia-sip-ua/nua/nua_stack.c -121 +49
- M ./libsofia-sip-ua/nua/nua_stack.h +6
- M ./libsofia-sip-ua/nua/nua_subnotref.c -9 +10
- M ./libsofia-sip-ua/nua/nua_tag.c +3
- M ./libsofia-sip-ua/nua/sofia-sip/nua_tag.h +20
-
- * Added sip_contact_string_from_via(), sip_transport_has_tls(). (pp)
-
- M ./libsofia-sip-ua/sip/sip_basic.c -53 +1
- M ./libsofia-sip-ua/sip/sip_util.c -37 +133
- M ./libsofia-sip-ua/sip/sofia-sip/sip_util.h +11
-
-2006-03-16 Pekka Pessi
-
- Synchronizing CVS with darcs.
-
- * Fixed lib-sofia-sip-ua-glib Makefile.ams.
- Tried to sanitize glib-less compilation.
-
- M ./Makefile.am -2 +6
- M ./libsofia-sip-ua-glib/Makefile.am -12 +4
- M ./libsofia-sip-ua-glib/nua-glib/Makefile.am -2
-
- * Added host_has_domain_invalid().
-
- M ./libsofia-sip-ua/bnf/bnf.c -3 +23
- M ./libsofia-sip-ua/bnf/sofia-sip/hostdomain.h +1
- M ./libsofia-sip-ua/bnf/torture_bnf.c +18
-
- * More string manipulation functions
- Added:
- - su_strcat_all()
- - su_slprintf(), su_slvprintf()
- - su_strlst_create_with(), su_strlst_vcreate_with()
- - su_strlst_create_with_dup(), su_strlst_vcreate_with_dup()
-
- M ./libsofia-sip-ua/su/sofia-sip/su_alloc.h -1 +4
- M ./libsofia-sip-ua/su/sofia-sip/su_strlst.h -1 +23
- M ./libsofia-sip-ua/su/su_alloc_test.c -32 +74
- M ./libsofia-sip-ua/su/su_sprintf.c -1 +1
- M ./libsofia-sip-ua/su/su_strdup.c -6 +53
- M ./libsofia-sip-ua/su/su_strlst.c -23 +197
-
- * Binding the endpoint behind "nat" to both IP families, if possible.
-
- M ./libsofia-sip-ua/nua/test_nua.c -3 +13
-
- * Removed nutag_media_subsystem and nutag_media_session.
-
- M ./libsofia-sip-ua/nua/nua_tag.c -3
-
- * Using nua_500_error.
-
- M ./libsofia-sip-ua/nua/nua_event_server.c -2 +2
-
- * Allowing intending of #include directives in fix-include-sofia-sip.
-
- M ./scripts/fix-include-sofia-sip -197 +197
-
-2006-03-13 Pekka Pessi
-
- * Release 1.11.7
-
- * Synchronized CVS with darcs.
-
- * Added man pages to dist.
-
- * Updated libsofia-sip-ua-glib dist targets.
-
- M ./libsofia-sip-ua-glib/Makefile.am -2 +4
- M ./libsofia-sip-ua-glib/nua-glib/Makefile.am -26 +25
- M ./libsofia-sip-ua-glib/su-glib/Makefile.am -2 +6
- M ./libsofia-sip-ua/sofia.am -1 +1
-
- * Removed warnings on 64bit platforms.
-
- M ./libsofia-sip-ua/soa/soa.c -3 +3
- M ./libsofia-sip-ua/stun/stun_common.c -8 +19
- M ./libsofia-sip-ua/su/su_timer_test.c -2 +1
-
- * Added missing files to dist.
-
- M ./libsofia-sip-ua/bnf/Makefile.am -1 +1
- M ./libsofia-sip-ua/nua/Makefile.am -1 +1
-
- * Using alarm() with su_test.c.
-
- * Fixed hc_print usage in msg_header_prepare().
- Some headers use snprintf() which may return -1 on some platforms if
- buffer is too small.
-
- * Fixed problems in test_nua on win32.
-
- * Fixed problem of using destroying registered handle in su_root.
- This is a bug showing only in win32.
-
- * Cleaning ACK transactions in test_proxy
-
- * Fixed source file building rules for GNU make >= 3.80.
- The way VPATH is handled and $@ expands has changed between GNU make 3.79
- and 3.80.
-
- M ./libsofia-sip-ua/http/Makefile.am -6 +14
- M ./libsofia-sip-ua/msg/Makefile.am -13 +13
- M ./libsofia-sip-ua/sip/Makefile.am -7 +18
- M ./libsofia-sip-ua/sofia.am -1 +1
-
- * Using sofia-sip/su_errno.h for error codes not present in win32.
-
- M ./libsofia-sip-ua/msg/msg_mime.c -6 +1
- M ./libsofia-sip-ua/msg/msg_parser.c -4
- M ./libsofia-sip-ua/soa/soa.c -8 +1
- M ./libsofia-sip-ua/su/sofia-sip/su_errno.h +36
- M ./libsofia-sip-ua/su/su_errno.c -6 +22
- M ./win32/sofia-sip/su_configure.h -7
-
- * Fixed problems with nua timers.
-
- M ./libsofia-sip-ua/nua/nua_dialog.c -2 +2
- M ./libsofia-sip-ua/nua/nua_session.c -3 +7
- M ./libsofia-sip-ua/nua/nua_stack.c -1 +1
-
-2006-03-13 Martti Mela
-
- * win32 defs, compiles and installs in mingw environment
-
-2006-03-09 Kai Vehmanen
-
- * Synchronized darcs and CVS.
-
- * Added missing su_source_test.c file.
-
- A ./libsofia-sip-ua-glib/su-glib/su_source_test.c
-
- * Added missing Makefile.am for su-glib.
-
- A ./libsofia-sip-ua-glib/su-glib/Makefile.am
-
- * Modified Makefile.ams to correctly build the new glib library.
-
- M ./configure.ac +4
- A ./libsofia-sip-ua-glib/Makefile.am
-
- * Added sofia-sip-ua-glib to the packaging files.
-
- M ./packages/Makefile.am -2 +2
- A ./packages/sofia-sip-ua-glib.pc.in
- M ./packages/sofia-sip-ua.pc.in -2 +2
- M ./packages/sofia-sip.spec.in -4 +7
-
- * Added nua-glib module to the tree.
-
- A ./libsofia-sip-ua-glib/nua-glib/
- A ./libsofia-sip-ua-glib/nua-glib/Doxyfile
- A ./libsofia-sip-ua-glib/nua-glib/Makefile.am
- A ./libsofia-sip-ua-glib/nua-glib/nua_glib.c
- A ./libsofia-sip-ua-glib/nua-glib/nua_glib.docs
- A ./libsofia-sip-ua-glib/nua-glib/nua_glib_marshal.list
- A ./libsofia-sip-ua-glib/nua-glib/sofia-sip/
- A ./libsofia-sip-ua-glib/nua-glib/sofia-sip/nua_glib.h
- A ./libsofia-sip-ua-glib/nua-glib/test_nua_glib.c
-
- * Moved glib stuff from libsofia-sip-ua to libsofia-sip-ua-glib.
-
- ./libsofia-sip-ua/su/su_source.c -> ./libsofia-sip-ua-glib/su-glib/su_source.c
- ./libsofia-sip-ua/su/sofia-sip/su_source.h -> ./libsofia-sip-ua-glib/su-glib/sofia-sip/su_source.h
- A ./libsofia-sip-ua-glib/su-glib/
- A ./libsofia-sip-ua-glib/su-glib/sofia-sip/
- M ./libsofia-sip-ua-glib/su-glib/su_source.c -1 +3
- M ./libsofia-sip-ua/Makefile.am -1
- M ./libsofia-sip-ua/su/Makefile.am -10 +7
- M ./libsofia-sip-ua/su/sofia-sip/su_configure.h.in -2
- M ./libsofia-sip-ua/su/su_root_test.c -4
- M ./libsofia-sip-ua/su/su_test.c -18 +2
- M ./m4/sac-su2.m4 -5 +9
-
- * Created libsofia-sip-ua-glib.
-
- M ./Makefile.am -1 +1
- A ./libsofia-sip-ua-glib/
-
-2006-03-09 Pekka Pessi
-
- * Updated globally unique identifier (uuid) generation.
- Using getifaddrs() and /dev/urandom. Added checks for /dev/urandom
- and (for link-level addresses).
-
- M ./configure.ac -13 +5
- M ./libsofia-sip-ua/su/sofia-sip/su_uniqueid.h +3
- M ./libsofia-sip-ua/su/su_uniqueid.c -15 +91
- M ./m4/sac-general.m4 +16
- M ./m4/sac-su2.m4 -1 +1
-
- * Cache checked functions a bit more efficiently in sac-su2.m4.
-
- M ./m4/sac-su2.m4 -25 +28
-
- * Added sip_via_port().
-
- M ./libsofia-sip-ua/nta/nta.c -15 +1
- M ./libsofia-sip-ua/sip/sip_basic.c +38
- M ./libsofia-sip-ua/sip/sofia-sip/sip_header.h -1 +4
-
- * Using sofia-sip/sofia_features.h.
-
- M ./libsofia-sip-ua/features/features.c -1 +1
-
- * Using nua_owner_t instead of nua_handle_t with .
- Prepare to move nua_dialog.[hc] to nta or to its own module.
-
- M ./libsofia-sip-ua/nua/nua_dialog.c -114 +75
- M ./libsofia-sip-ua/nua/nua_dialog.h -28 +19
- M ./libsofia-sip-ua/nua/nua_register.c -1 +1
- M ./libsofia-sip-ua/nua/nua_session.c -7 +8
- M ./libsofia-sip-ua/nua/nua_stack.c -2 +2
- M ./libsofia-sip-ua/nua/nua_stack.h -5 +5
- M ./libsofia-sip-ua/nua/nua_subnotref.c -10 +10
-
- * Added fake "nat" to test_nua
-
- M ./libsofia-sip-ua/nua/Makefile.am -1 +2
- A ./libsofia-sip-ua/nua/test_nat.c
- A ./libsofia-sip-ua/nua/test_nat.h
- M ./libsofia-sip-ua/nua/test_nua.c -30 +242
-
- * Removed spurious message when sofia-sip subdirectory is recreated.
-
- M ./libsofia-sip-ua/http/Makefile.am -1 +1
- M ./libsofia-sip-ua/msg/Makefile.am -2 +2
- M ./libsofia-sip-ua/sip/Makefile.am -1 +1
-
-2006-03-08 Pekka Pessi
-
- * Renamed sofia-sip/features.h as sofia-sip/sofia_features.h.
-
- M ./RELEASE +3
- M ./configure.ac -1 +1
- M ./libsofia-sip-ua/features/Makefile.am -1 +1
- M ./libsofia-sip-ua/features/sofia-sip/features.h.in -2 +4
- M ./scripts/fix-include-sofia-sip -2 +5
-
- * Generating man pages in $(srcdir).
-
- M ./Makefile.am -5 +3
-
- * Split nua_stack.c into multiple files.
-
- M ./libsofia-sip-ua/nua/Makefile.am +6
- M ./libsofia-sip-ua/nua/nua.c -52 +13
- A ./libsofia-sip-ua/nua/nua_dialog.c
- A ./libsofia-sip-ua/nua/nua_dialog.h
- A ./libsofia-sip-ua/nua/nua_event_server.c
- A ./libsofia-sip-ua/nua/nua_message.c
- A ./libsofia-sip-ua/nua/nua_options.c
- A ./libsofia-sip-ua/nua/nua_publish.c
- A ./libsofia-sip-ua/nua/nua_register.c
- A ./libsofia-sip-ua/nua/nua_session.c
- M ./libsofia-sip-ua/nua/nua_stack.c -5026 +177
- M ./libsofia-sip-ua/nua/nua_stack.h -125 +166
- A ./libsofia-sip-ua/nua/nua_subnotref.c
- A ./libsofia-sip-ua/nua/nua_tag_ref.c
-
- * Added nta_check_*() functions.
-
- M ./libsofia-sip-ua/nta/Makefile.am -1 +1
- A ./libsofia-sip-ua/nta/nta_check.c
- M ./libsofia-sip-ua/nta/sofia-sip/nta.h +26
-
- * msg_parser.awk was printing spurious errors by SIP-ETag header etc.
-
- * Removed doxygen crud from .
-
- * Added SIPS_DEFAULT_PORT and SIPS_DEFAULT_SERV.
-
- M ./libsofia-sip-ua/sip/sofia-sip/sip.h -1 +7
-
- * Removed redundant reference to .
-
- M ./libsofia-sip-ua/nea/nea.c -2
- M ./libsofia-sip-ua/nea/nea_server.c -1
-
- * Added some error checking to the win32 autogen scripts.
-
- M ./win32/Makefile.am -1 +1
- M ./win32/autogen.cmd -2 +4
- M ./win32/build_sources.cmd -22 +53
- M ./win32/version_files.cmd +1
-
-2006-03-03 Pekka Pessi
-
- * Do not use glib upon --without-glib-dir or --without-glib in configure.
-
- M ./m4/sac-su2.m4 -4 +4
-
- * Returning unparsed remote SDP in SOATAG_REMOTE_SDP_STR()
-
- M ./libsofia-sip-ua/soa/soa.c -2 +2
-
- * Using SU_HAVE_PTHREADS to check for pthread support in nua_stack.h
-
- M ./libsofia-sip-ua/nua/nua_stack.h -1 +5
-
- * Fixed documentation problems.
-
- M ./Makefile.am -2 +3
- M ./utils/sip-date.c -2 +2
-
- * Fixed problems when there is no stun available.
-
- M ./libsofia-sip-ua/tport/tport.c -9 +5
-
- * Fixed BDSSOCK checks in sac-su2.m4.
-
- M ./libsofia-sip-ua/su/su_addrinfo.c -1 +1
- M ./m4/sac-su2.m4 -55 +73
-
- * Using int as SOATAG_AF() value.
-
- M ./libsofia-sip-ua/soa/sofia-sip/soa_tag.h -2 +2
- M ./libsofia-sip-ua/soa/test_soa.c -1 +1
-
-2006-03-03 Martti Mela martti.mela@nokia.com
-
- * mingw support
-
- M ./configure.ac -3 +5
- M ./libsofia-sip-ua/stun/Makefile.am -4 +4
- M ./libsofia-sip-ua/su/sofia-sip/su_addrinfo.h +11
- M ./libsofia-sip-ua/su/su_addrinfo.c +9
- M ./m4/sac-general.m4 +1
- M ./m4/sac-su2.m4 -1 +9
-
- * mingw mods
-
- M ./configure.ac -1 +2
- M ./libsofia-sip-ua/stun/Makefile.am -1 +1
- M ./libsofia-sip-ua/stun/stun.c -3 +34
- M ./libsofia-sip-ua/stun/stun_common.c +10
- M ./libsofia-sip-ua/su/su_addrinfo.c -6 +2
- M ./libsofia-sip-ua/su/su_source.c -1 +5
- M ./libsofia-sip-ua/su/su_time0.c -1 +7
- M ./libsofia-sip-ua/tport/tport.c -4 +8
- M ./m4/sac-general.m4 +30
- M ./m4/sac-su2.m4 -31 +72
- M ./packages/sofia-sip.spec.in -1 +1
-
-2006-03-01 Pekka Pessi
-
- * Synchronized darcs and CVS.
-
- * Added utils/Doxyfile
-
- A ./utils/Doxyfile
-
- * Changed output from localinfo so that emacs is not fooled anymore.
-
- M ./libsofia-sip-ua/su/run_addrinfo -1 +1
- M ./libsofia-sip-ua/su/run_localinfo -1 +1
-
- * Added SU_ADDRLEN() macro.
-
- M ./libsofia-sip-ua/su/sofia-sip/su.h +16
-
- * Not creating sofia-sip when building sip_parser_table.c
-
- M ./libsofia-sip-ua/sip/Makefile.am -1
-
- * Printing warning message if resolv.conf nameserver address is IPv6.
-
- M ./libsofia-sip-ua/sresolv/sresolv.c -4 +5
-
- * Fixed problems with sa_len in nth_test.c.
- Added explicit su_wait() to to send_request().
-
- M ./libsofia-sip-ua/nth/nth_test.c -2 +8
-
- * Disabling IPv6 resolving in nta test. Not reying in ICMP in nta test.
-
- M ./libsofia-sip-ua/nta/run_test_nta -1 +2
- M ./libsofia-sip-ua/nta/test_nta.c -2 +15
-
- * Fixed problem of BSD awk returning -0 from 10 % 5.
-
- M ./libsofia-sip-ua/msg/msg_parser.awk -1 +3
-
- * Fixed problems in stun/tport.
-
- M ./libsofia-sip-ua/stun/stun.c +3
- M ./libsofia-sip-ua/tport/tport.c -9 +12
-
- * Fixed signedness problem in msg_date_d().
-
- M ./libsofia-sip-ua/msg/msg_date.c -2 +3
-
- * Fixed url_cmp() crashing with invalid URLs.
-
- M ./libsofia-sip-ua/url/sofia-sip/url.h -2 +3
- M ./libsofia-sip-ua/url/url.c -2 +6
-
- * Removed warnings on BSDish systems.
-
- M ./libsofia-sip-ua/su/su.c -2 +2
-
- * Added tests for getifaddrs(), using it in su_localinfo.c.
-
- M ./libsofia-sip-ua/su/su_localinfo.c -40 +161
- M ./libsofia-sip-ua/su/su_port.c +2
- M ./m4/sac-su2.m4 -11 +8
-
- * Fixed typo in utils/sip-date.c
-
- M ./utils/sip-date.c -1 +1
-
- * Defining missing SOL_TCP.
-
- M ./libsofia-sip-ua/stun/stun.c +5
-
- * Fixed A6 record handling, sa_len usage.
- Removed some warnings, too. Disabled IN6 nameservers for the moment.
-
- M ./libsofia-sip-ua/sresolv/sresolv.c -15 +20
-
- * Disabled a badly designed test failing in BSD systems.
-
- M ./libsofia-sip-ua/sresolv/test_sresolv.c -1 +16
-
- * Removed debugging feature from msg_parser.awk making it fail with BSD awk.
-
- M ./libsofia-sip-ua/msg/msg_parser.awk -36 +36
-
- * Using default sip and sips port in url comparisons if url has IP address
-
- M ./libsofia-sip-ua/url/torture_url.c +26
- M ./libsofia-sip-ua/url/url.c +4
-
-2006-02-20 martti.mela@nokia.com
-
- * stun: initial keepalive support
-
- M ./libsofia-sip-ua/nta/nta.c +10
- M ./libsofia-sip-ua/nta/sofia-sip/nta.h +2
- M ./libsofia-sip-ua/nua/nua_stack.c +4
- M ./libsofia-sip-ua/stun/ChangeLog +31
- M ./libsofia-sip-ua/stun/sofia-sip/stun.h -1 +11
- M ./libsofia-sip-ua/stun/stun.c -79 +219
- M ./libsofia-sip-ua/stun/stun_internal.h -1
- M ./libsofia-sip-ua/tport/sofia-sip/tport.h +3
- M ./libsofia-sip-ua/tport/tport.c -1 +90
-
- * stun: dst addr improvements
-
- M! ./libsofia-sip-ua/stun/ChangeLog -18
- M! ./libsofia-sip-ua/stun/stun.c -7 +16
-
-2006-02-20 Pekka Pessi
-
- * If opaque is not given, do not include it in challenge (auth_module.c).
-
- M ./libsofia-sip-ua/iptsec/auth_module.c -2 +4
-
- * Generating man pages for utilities.
-
- M ./Makefile.am -4 +22
- M ./configure.ac +3
- M ./libsofia-sip-ua/su/Doxyfile -3 +1
- M ./libsofia-sip-ua/su/addrinfo.c -29 +24
- M ./libsofia-sip-ua/su/localinfo.c -35 +29
- M ./utils/Makefile.am +3
- M ./utils/sip-date.c -44 +34
- M ./utils/sip-options.c -30 +42
-
- * Including for getpid() in test_nta.c.
-
- * Added install script.
-
- A ./win32/install.cmd
- M ./win32/libsofia-sip-ua/libsofia_sip_ua.dsp -4 +4
-
- * Simplified use of sofia-sip/su_configure.h in win32
-
- ./win32/su_configure_win32.h -> ./win32/sofia-sip/su_configure.h
- M ./win32/autogen.cmd -4 +3
- A ./win32/sofia-sip/
-
- * Fixed tests of unsigned tag values in test_nua.c
- Tests pass now on amd64, too.
-
- M ./libsofia-sip-ua/nua/test_nua.c -4 +4
-
-2006-02-15 Pekka Pessi
-
- * Release 1.11.6.
-
- * Fixed problems in doxygen documentation and dist.
-
- * Updated PRACK and nta_outgoing_prack().
-
- nta_outgoing_prack() accepts now RSeq sequence numbers in NTATAG_RSEQ().
- When PRACK is sent using nta_outgoing_tmcreate(), there is functions
- nta_outgoing_setrseq() and nta_outgoing_rseq() for updating the rseq number
- within transaction.
-
- * Corrected su_torture.c, Shutdown semantics differ on WINSOCK/BSDSOCK.
-
- * Fixed su_wait() with 0 wait objects in windows.
-
- * Fixed win32-compatibility problems in test programs.
-
- * Not using NULL restart pointer in ua_authenticate().
-
-2006-02-14 Pekka Pessi
-
- * Fixed problems with sofia-sip/ header prefix in win32.
-
- * Fixed win32/VC configuration problems.
-
- * Fixed win32 pthread dist.
-
- * Fixed include paths.
-
- * Use #include .
-
- * Be explicit with input when generating source files.
-
- * Added make target clean-built-sources.
-
- * Fixed #include su_module_debug.h.
-
- * Moved public include files to sofia-sip subdirectories.
-
- All public include files installed in ${sofiadir} are now in sofia-sip
- subdirectories. They are installed to ${sofiadir}/sofia-sip, too.
-
- ${sofiadir} is defined by configure script relative to your ${prefix}, by
- default ${sofidir} is ${prefix}/include/sofia-sip-1.11. The default prefix
- is /usr/local and ${sofiadir} is /usr/local/include/sofia-sip-1.11. When
- using package manager, the ${prefix} is usually /usr and ${sofiadir} is
- /usr/include/sofia-sip-1.11.
-
- The public include files should be referenced using sofia-sip path, e.g.,
- .
-
- You can either fix your applications to use the new include file names
- with the fix-include-sofia-sip sed script found in scripts/ directory, or
- add both ${sofiadir} and ${sofiadir}/sofia-sip into your include path,
- e.g.,
-
- INCLUDES = -I/usr/include/sofia-1.11 -I/usr/include/sofia-1.11/sofia-sip
-
- At the same time, I took the liberty to rename two include files
-
- sofia_sip_features.h => sofia-sip/features.h
- su_memmem.h => sofia-sip/su_bm.h
-
- The fix-include-sofia-sip sed script takes care of both of them.
-
- * Improved 100rel handling in nua.
- Added test_100rel to test_nua.c.
-
- * Using CONDITION_PARAMS macro instead of CONDITION_FUNCTION in test_nua.c
-
- * Improving getaddrinfo replacements.
- Testing functions getaddrinfo()/freeaddrinfo(), getnameinfo() and
- gai_strerror() separately.
- There is no gai_strerror() in windows, I think.
-
-2006-02-03 Pekka Pessi
-
- * Code cleanup and memory leak fix in soa/sdp.
- Fixed memory leak related to parsing sdp in soa.
- Cleaned up handling of rejected media (related to bug report #1419078).
-
- ./libsofia-sip-ua/sdp/run-tests -> ./libsofia-sip-ua/sdp/run_test_sdp
- ./libsofia-sip-ua/sdp/sdp_test.c -> ./libsofia-sip-ua/sdp/test_sdp.c
- ./libsofia-sip-ua/sdp/sdp_torture.c -> ./libsofia-sip-ua/sdp/torture_sdp.c
- M ./libsofia-sip-ua/sdp/Makefile.am -4 +4
- M ./libsofia-sip-ua/sdp/run_test_sdp -4 +4
- M ./libsofia-sip-ua/sdp/sdp_parse.c -8 +11
- M ./libsofia-sip-ua/sdp/sdp_print.c -1 +5
- M ./libsofia-sip-ua/sdp/test_sdp.c -6 +6
- M ./libsofia-sip-ua/sdp/torture_sdp.c -47 +38
- M ./libsofia-sip-ua/soa/soa.c -13 +20
- M ./libsofia-sip-ua/soa/soa_static.c -11
-
-2006-02-02 Pekka Pessi
-
- * Add helper functions to update or modify sdp attributes.
- Feature request #1420698:
- Added sdp_attribute_append(), sdp_attribute_replace(), and
- sdp_attribute_remove().
-
- M ./libsofia-sip-ua/sdp/sdp.c -18 +115
- M ./libsofia-sip-ua/sdp/sdp.h -9 +21
- M ./libsofia-sip-ua/sdp/sdp_torture.c -1 +22
-
- * Using unsigned in bit fields.
-
- M ./libsofia-sip-ua/sdp/sdp_print.c -2 +2
-
- * Fixed bug in sending error response to a request containing Record-Route.
-
- M ./libsofia-sip-ua/nta/nta.c -30 +33
-
-2006-01-25 Pekka Pessi
-
- * Updated autoconf macros.
- Using cache for various checks.
- Deprecated HAVE_LONG_LONG (use #ifdef longlong instead).
- Collected information used by su_localinfo.c to one place.
-
- M ./libsofia-sip-ua/su/su_taglist.c -2 +2
- M ./m4/sac-su2.m4 -64 +103
-
- * Updated Win32 port.
- Added autogen.cmd, build_sources.cmd, version_files.cmd and version.awk.
- Fixed problems with configuration.
- Updated pthread-w32 to version 2.7.0.
-
- * Fixed VC/Win32 problems in libsofia-sip-ua.
- Signedness problems, includes, linkage, winsock initialization.
-
- M ./libsofia-sip-ua/msg/msg_types.h -1 +2
- M ./libsofia-sip-ua/nta/nta.c -2 +2
- M ./libsofia-sip-ua/nua/test_nua.c -5 +5
- M ./libsofia-sip-ua/nua/test_proxy.c -7 +11
- M ./libsofia-sip-ua/su/su_root.c +8
- M ./libsofia-sip-ua/su/su_types.h +2
- M ./libsofia-sip-ua/su/su_wait.h +2
-
- * Fixed gawk internal error in msg_parser.awk.
- It looks like some gawk versions had problems when a function argument
- was an unitialized variable.
-
- M ./libsofia-sip-ua/msg/msg_parser.awk -1 +6
-
- * Defining missing error codes in .
-
- M ./libsofia-sip-ua/msg/msg_mime.c -7
- M ./libsofia-sip-ua/soa/soa.c -7
- M ./libsofia-sip-ua/stun/stun.c -6
- M ./libsofia-sip-ua/su/su_errno.h +12
- M ./libsofia-sip-ua/su/su_memmem.c -7 +2
- M ./libsofia-sip-ua/tport/tport.c -5
-
- * Added checks for different net includes.
- Checks for sys/ioctl.h, netinet/in.h, net/if.h net/if_types.h and sys/ioctl.h.
-
- M ./libsofia-sip-ua/su/su_localinfo.c -12 +16
- M ./m4/sac-su2.m4 -2 +7
-
- * Fixed rejection of subscriptions in nea server.
- Event server does not send extra NOTIFY before 403 response anymore.
-
- M ./libsofia-sip-ua/nea/nea_server.c -1 +1
-
- * Added functions for scanning domain names and IP addresses.
- Added span_ip4_address()/scan_ip4_address(),
- span_ip6_address()/scan_ip6_address(),
- span_ip6_reference()/scan_ip6_reference(),
- span_ip_address()/scan_ip_address(),
- span_domain()/scan_domain(), and
- span_host()/scan_host().
-
- M ./libsofia-sip-ua/bnf/bnf.c -2 +588
- M ./libsofia-sip-ua/bnf/bnf.h -2 +18
- M ./libsofia-sip-ua/bnf/torture_bnf.c -25 +220
-
-2006-01-23 Pekka Pessi
-
- * Removed *_dll.h files - defining *_DLL macros in .
-
- * Using random probe when finding port that is available with all transports.
-
- * Updated auth_mod API.
-
- Added auth_status_ref().
- Removed antique functions auth_mod_check_ireq(), auth_mod_check_ireq2() and
- auth_mod_check_msg().
-
-2006-01-10 Pekka Pessi
-
- * Fixed doxygen input files (kv).
-
- * Using su_home_t reference counting in nua.
-
- * Modified cloned su_home_t semantics.
-
- Now we allow reference counting for clones as well as threadsafeness for them.
- Added su_home_is_threadsafe(), modified prototype of su_home_unref().
-
- * Fixed memory leaks in nea test code.
-
- * Fixed memory leak in nea_server.c
-
-2006-01-09 Pekka Pessi
-
- * Restorered tag lists for modules.
-
- M ./libsofia-sip-ua/nta/Makefile.am +2
- M ./libsofia-sip-ua/nta/nta_tag.h +3
- M ./libsofia-sip-ua/nth/nth_tag.h +3
- M ./libsofia-sip-ua/nua/Makefile.am +2
- M ./libsofia-sip-ua/nua/nua_tag.h +3
- M ./libsofia-sip-ua/sip/sip_tag.c.in +13
- M ./libsofia-sip-ua/sip/sip_tag.h.in +3
- M ./libsofia-sip-ua/soa/Makefile.am +1
- M ./libsofia-sip-ua/soa/soa_tag.h +3
- M ./libsofia-sip-ua/stun/Makefile.am -2 +8
- M ./libsofia-sip-ua/su/tag_dll.awk -3 +5
- M ./libsofia-sip-ua/tport/tport_tag.h -1 +4
- M ./utils/Makefile.am +4
-
- * Fixed test code for pthread_rwlock_trywrlock().
-
- M ./m4/sac-su2.m4 -3 +3
-
-2006-01-05 Pekka Pessi
-
- 2nd sync today for darcs and CVS.
-
- * Added namespace-specific filter tags.
-
- * Freeing nua_r_authorize events.
-
- * Added NSTAG_TYPEDEF(t) and ns_tag_class[].
-
- * Not using .
-
- Synching darcs and CVS.
-
- * Not using msg_auth.h anymore.
-
- M ./libsofia-sip-ua/msg/msg_auth.c -1
- M ./libsofia-sip-ua/msg/test_msg.c -1
-
- * Really adding expires=0 to all contacts when un-registering.
-
- M ./libsofia-sip-ua/nua/nua_stack.c -1 +1
- M ./libsofia-sip-ua/nua/test_nua.c -3 +26
-
- * Removed sip_rfc2543 files.
-
- R ./libsofia-sip-ua/sip/sip_rfc2543.c
- R ./libsofia-sip-ua/sip/sip_rfc2543.h.in
-
- * Adding nua_authenticate() tags to request.
-
- M ./libsofia-sip-ua/nua/nua_stack.c -2 +1
- M ./libsofia-sip-ua/nua/test_nua.c +12
-
- * Using unsigned in sdp_media_t::m_mode bitfield.
- enum is signed in VC6.
-
- M ./libsofia-sip-ua/sdp/sdp.h -1 +1
-
- * Documented sdp_f_mode_manual and sdp_f_mode_always better.
-
- M ./libsofia-sip-ua/sdp/sdp.h -1 +1
- M ./libsofia-sip-ua/sdp/sdp_print.c -8 +10
-
-2006-01-03 Pekka Pessi
-
- Syncinc darcs and CVS.
-
- * Added more tests for call hold.
-
- * Using msg_header_replace_param() in nua_stack.c.
-
- * Using ss_retry_after in nea.c.
-
- * Marking two single headers in a message as fatal error.
-
- * Made headers C++-safe (bug #1376379).
-
- * Removed dead #include files
-
- * Removed Last modified things.
-
- * Removed msg_bnf.h
-
- * Added NTATAG_TCP_RPORT().
- Do not use rport with TCP by default.
-
- * Added test for comp=sigcomp.
- The comp=sigcomp should not be included if destination does not support
- compression.
- Modernized parameter handling, too.
-
- * Documented TP_AI_ flags.
- Test our TP_AI_ assumptions.
- Added a test for asymmetric SigComp on TCP.
- We use TP_AI_COMPRESSED flag in this test.
-
- * Added TPTAG_FRESH() and a test for it.
-
- * Augmented documentation for SIPTAG_HEADER_STR().
-
- * Use #include for FILE.
-
- * Fixed include_sofiadir handling in pkg-config and rpm files.
-
-2005-12-27 Martti Mela
-
- Syncing darcs and CVS.
-
- * Added stun_internal.h to dist.
-
- M ./libsofia-sip-ua/stun/Makefile.am -1 +1
-
- * Better handling of optional tags in nta_agent_get_params().
-
- M ./libsofia-sip-ua/nta/nta.c +4
- M ./libsofia-sip-ua/nta/test_nta_api.c -8 +9
-
- * Removed warnings from su_perror() (moved to su_log.h).
-
- M ./libsofia-sip-ua/su/poll_test.c +1
- M ./libsofia-sip-ua/su/su_test.c +2
- M ./libsofia-sip-ua/su/su_timer_test.c +1
-
- * Added su_errno.h and su_errno.c.
-
- M ./libsofia-sip-ua/su/Makefile.am -2 +2
- M ./libsofia-sip-ua/su/su.c -103
- M ./libsofia-sip-ua/su/su.h -15 +3
- A ./libsofia-sip-ua/su/su_errno.c
- A ./libsofia-sip-ua/su/su_errno.h
- M ./libsofia-sip-ua/su/su_log.c -2 +13
- M ./libsofia-sip-ua/su/su_log.h -2 +6
-
- * Prepare for 1.11.5pre1.
-
- M ./RELEASE -2 +41
- M ./TODO -2 +5
- M ./configure.ac -2 +9
-
- * Added su_home_destructor() to su_alloc.[hc].
-
- M ./libsofia-sip-ua/su/su_alloc.c -9 +56
- M ./libsofia-sip-ua/su/su_alloc.h -6 +11
- M ./libsofia-sip-ua/su/su_alloc_lock.c -15 +18
- M ./libsofia-sip-ua/su/su_alloc_test.c -20 +40
-
- * Building features module first after su.
-
- M ./libsofia-sip-ua/Makefile.am -2 +2
-
- * Using su_home_new(size) instead of su_home_clone(NULL, size).
-
- M ./libsofia-sip-ua/http/test_http.c -1 +1
- M ./libsofia-sip-ua/iptsec/auth_module.c -1 +1
- M ./libsofia-sip-ua/iptsec/test_auth_digest.c -2 +2
- M ./libsofia-sip-ua/nea/nea.c -1 +1
- M ./libsofia-sip-ua/nea/nea_server.c -1 +1
- M ./libsofia-sip-ua/sip/torture_sip.c -7 +7
-
- * Improved argument checking in sresolv.
-
- M ./libsofia-sip-ua/sresolv/sresolv.c -67 +118
- M ./libsofia-sip-ua/sresolv/sresolv.h -4 +3
- M ./libsofia-sip-ua/sresolv/test_sresolv.c -13 +26
-
- * Updated function names in conformance.docs.
-
- M ./libsofia-sip-ua/docs/conformance.docs -17 +17
-
- * Fixed problems with autogenerating files with header boilerplates.
-
- M ./libsofia-sip-ua/http/Makefile.am -2 +4
- M ./libsofia-sip-ua/sip/Makefile.am -2 +5
-
- * Added explicit dependencies for autogenerated sources.
-
- M ./libsofia-sip-ua/msg/Makefile.am -2 +6
-
- * Using parameter manipulation functions and shortcuts.
-
- M ./libsofia-sip-ua/nea/nea.c -3 +2
- M ./libsofia-sip-ua/nta/nta.c -5 +5
- M ./libsofia-sip-ua/nta/test_nta.c -2 +2
- M ./libsofia-sip-ua/nua/nua_stack.c -6 +18
-
- * Fixed su_home_auto() problems.
-
- M ./libsofia-sip-ua/su/su_alloc.c -4 +8
-
- * Added hc_update member to msg_hclass_t.
- The hc_update is used to update shortcuts to well-known parameters.
- Updated manipulation functions for header parameters to use hc_update.
- Added updating functions for SIP headers.
-
- M ./libsofia-sip-ua/http/http_parser.h -4 +6
- M ./libsofia-sip-ua/msg/msg_basic.c -4 +10
- M ./libsofia-sip-ua/msg/msg_header_copy.c +6
- M ./libsofia-sip-ua/msg/msg_mime.c -60 +86
- M ./libsofia-sip-ua/msg/msg_mime.h -2 +2
- M ./libsofia-sip-ua/msg/msg_mime_protos.h.in +5
- M ./libsofia-sip-ua/msg/msg_mime_table.c.in -2 +5
- M ./libsofia-sip-ua/msg/msg_parser.c +3
- M ./libsofia-sip-ua/msg/msg_parser.h -14 +18
- M ./libsofia-sip-ua/msg/msg_parser_util.c -20 +152
- M ./libsofia-sip-ua/msg/msg_tag.c -1 +8
- M ./libsofia-sip-ua/msg/msg_types.h +4
- M ./libsofia-sip-ua/msg/test_class.c -2 +4
- M ./libsofia-sip-ua/msg/test_msg.c -1 +1
- M ./libsofia-sip-ua/sip/sip.h -4 +5
- M ./libsofia-sip-ua/sip/sip_basic.c -158 +124
- M ./libsofia-sip-ua/sip/sip_caller_prefs.c -54 +40
- M ./libsofia-sip-ua/sip/sip_event.c -53 +49
- M ./libsofia-sip-ua/sip/sip_extra.c -37 +36
- M ./libsofia-sip-ua/sip/sip_mime.c -70 +15
- M ./libsofia-sip-ua/sip/sip_parser.h -7 +10
- M ./libsofia-sip-ua/sip/sip_prack.c +1
- M ./libsofia-sip-ua/sip/sip_reason.c -15 +23
- M ./libsofia-sip-ua/sip/sip_refer.c -36 +53
- M ./libsofia-sip-ua/sip/sip_security.c -13 +35
- M ./libsofia-sip-ua/sip/sip_session.c -2 +22
- M ./libsofia-sip-ua/sip/torture_sip.c -13 +137
-
- * Added manipulation functions for header parameters.
- msg_header_find_param(), msg_header_add_param(),
- msg_header_replace_param(), and msg_header_remove_param().
-
- M ./libsofia-sip-ua/http/http_basic.c -1 +1
- M ./libsofia-sip-ua/iptsec/auth_client.c -4 +5
- M ./libsofia-sip-ua/iptsec/auth_module.c -3 +3
- M ./libsofia-sip-ua/msg/msg_header.h -5 +9
- M ./libsofia-sip-ua/msg/msg_mime.c -3 +3
- M ./libsofia-sip-ua/msg/msg_parser.c -5 +5
- M ./libsofia-sip-ua/msg/msg_parser_util.c +62
- M ./libsofia-sip-ua/msg/test_msg.c +24
-
-Tue Dec 20 19:51:57 EET 2005 Pekka.Pessi@nokia.com
- * Reduced overhead in su_home_auto().
-
- M ./libsofia-sip-ua/su/su_alloc.c -5 +8
- M ./libsofia-sip-ua/su/su_alloc.h -2 +5
- M ./libsofia-sip-ua/su/su_alloc_test.c +12
-
- * Fixed bug in histogram bucket search.
- Bug was detected using coverity.
-
- M ./libsofia-sip-ua/sip/validator.c -2 +2
-
- * Updated param type and usage in SIP headers.
- A single param has type "char const *".
- Via has no "hidden" anymore, but "rport" and "comp" were added.
- Contact has no "action" anymore.
-
- M ./libsofia-sip-ua/sip/sip.h -42 +44
- M ./libsofia-sip-ua/sip/sip_basic.c -12 +23
- M ./libsofia-sip-ua/sip/sip_header.h -1 +1
- M ./libsofia-sip-ua/sip/sip_util.c -9 +8
- M ./libsofia-sip-ua/sip/sip_util.h -8 +5
- M ./libsofia-sip-ua/sip/torture_sip.c +11
-
- * Updated documentation of SIP headers.
-
- M ./libsofia-sip-ua/sip/sip_event.c -10 +11
- M ./libsofia-sip-ua/sip/sip_extra.c -5 +6
-
- * Refactored sres_resolver_sockets().
-
- M ./libsofia-sip-ua/sresolv/sresolv.c -57 +80
-
- * Added stateless operation to test_proxy.
- Using nta_incoming_default() and nta_outgoing_default().
-
- M ./libsofia-sip-ua/nua/test_nua.c -3 +6
- M ./libsofia-sip-ua/nua/test_proxy.c +46
- M ./libsofia-sip-ua/nua/test_proxy.h -15 +2
-
- * Added nta_outgoing_default(), nta_incoming_default().
- Stateless response processing can be done with default transactions.
- Also added nta_incoming_method_name(), nta_incoming_method_name() and
- nta_incoming_gettag(). Deprecated nta_msg_response_complete().
- Updated API tests.
-
- M ./libsofia-sip-ua/nta/Makefile.am -3 +5
- M ./libsofia-sip-ua/nta/nta.c -51 +268
- M ./libsofia-sip-ua/nta/nta.h +8
- M ./libsofia-sip-ua/nta/nta_internal.h -1 +5
- A ./libsofia-sip-ua/nta/run_test_nta_api
- A ./libsofia-sip-ua/nta/test_nta_api.c
-
- * Replaced nta_msg_response_complete() with nta_incoming_complete_response().
-
- M ./libsofia-sip-ua/nta/nta.c -61 +83
- M ./libsofia-sip-ua/nta/nta.h -5 +9
- M ./libsofia-sip-ua/nta/test_nta.c -628 +67
-
- * Documented GUID format.
-
- M ./libsofia-sip-ua/sip/sip_basic.c +6
-
- * Added test_sec_ext() for testing security agreement headers.
-
- M ./libsofia-sip-ua/sip/torture_sip.c +62
-
- * Fixed handling of 6XX responses in sip_response_terminates_dialog().
- Bug found by coverity.
-
- M ./libsofia-sip-ua/sip/sip_util.c -1 +1
-
- * Fixed bugs with auto allocation.
- In C89 and later, the automatic variable may go away when block is exited.
- The buggy code relied on behaviour of K&R C, where automatic variables are
- reclaimed when function returns.
-
- M ./libsofia-sip-ua/nea/nea.c -3 +2
- M ./libsofia-sip-ua/nea/nea_server.c -5 +4
- M ./libsofia-sip-ua/nta/nta.c -7 +4
- M ./libsofia-sip-ua/nua/nua_stack.c -8 +6
- M ./libsofia-sip-ua/su/su_localinfo.c -2 +2
- M ./libsofia-sip-ua/tport/tport.c -2 +3
-
- * Added ELI_BADHINTS to su_localinfo.
-
- M ./libsofia-sip-ua/su/su_localinfo.c +3
- M ./libsofia-sip-ua/su/su_localinfo.h -2 +3
-
-2005-12-02 Pekka Pessi
-
- Again, syncing darcs and CVS.
-
- * Disabling stun for the moment, use --enable-stun to use it. [pp]
-
- M ./configure.ac -2 +9
-
- * working async stun support [mm]
-
- M ./libsofia-sip-ua/stun/stun.c -139 +131
- M ./libsofia-sip-ua/stun/stun.h -1 +3
- M ./libsofia-sip-ua/stun/stun_common.c -14 +18
- M ./libsofia-sip-ua/stun/stunc.c -21 +15
- M ./libsofia-sip-ua/stun/torture_stun.c -1 +1
-
- * initial async stun support. Does not work with tport yet. [mm]
-
- M ./libsofia-sip-ua/stun/stun.c -269 +350
- M ./libsofia-sip-ua/stun/stun.h -6 +28
- M ./libsofia-sip-ua/stun/stun_common.c -5 +23
- M ./libsofia-sip-ua/stun/stun_common.h -1 +1
- M ./libsofia-sip-ua/stun/stun_internal.h -4 +5
- M ./libsofia-sip-ua/stun/stunc.c -3 +10
- M ./libsofia-sip-ua/stun/torture_stun.c -2 +2
-
- * async stunning contd. Juhui! [mm]
-
- M ./libsofia-sip-ua/stun/stun.c -19 +13
- M ./libsofia-sip-ua/stun/stun_common.c -4 +9
- M ./libsofia-sip-ua/stun/stun_internal.h -1 +16
-
- * stun asyncing contd. NOT WORKING [mm]
-
- M ./libsofia-sip-ua/stun/stun.c -70 +86
- M ./libsofia-sip-ua/stun/stun.h -9 +7
- M ./libsofia-sip-ua/stun/stun_common.c -3 +8
- M ./libsofia-sip-ua/stun/stun_common.h -1 +4
- M ./libsofia-sip-ua/stun/stun_internal.h -3 +6
- M ./libsofia-sip-ua/stun/stunc.c -13 +17
- M ./libsofia-sip-ua/stun/torture_stun.c -12 +15
-
- * stun async contd. [mm]
-
- M ./libsofia-sip-ua/stun/stun.c -26 +56
- M ./libsofia-sip-ua/stun/stun.h +4
- M ./libsofia-sip-ua/stun/stunc.c -4 +9
-
- * DON'T APPLY THIS: does not work. I need this for syncing. [mm]
-
- M ./libsofia-sip-ua/stun/stun.c -81 +209
- M ./libsofia-sip-ua/stun/stun.h -3 +15
- M ./libsofia-sip-ua/stun/stun_internal.h -1 +1
- M ./libsofia-sip-ua/stun/stunc.c -3 +7
- M ./libsofia-sip-ua/stun/torture_stun.c -4 +4
-
- * async connect continued [mm]
-
- M ./libsofia-sip-ua/stun/stun.c -24 +71
-
- * async stun continued [mm]
-
- M ./libsofia-sip-ua/stun/stun.c -27 +53
- M ./libsofia-sip-ua/stun/torture_stun.c +7
- M ./libsofia-sip-ua/tport/test_tport.c -1 +8
- M ./libsofia-sip-ua/tport/tport.c -1 +2
-
- * su_localinfo returns now valid address also in Windows [mm]
-
- M ./libsofia-sip-ua/nua/test_nua.c +3
- M ./libsofia-sip-ua/su/su_localinfo.c +4
-
- * tport cygwin modifications [mm]
-
- M ./libsofia-sip-ua/tport/tport.c -3 +7
-
- * Declaring h_errno as a variable imported from DLL (when using WIN32). [pp]
-
- M ./libsofia-sip-ua/su/su_addrinfo.c -3 +8
-
- * Try random port next if a port is taken. [pp]
-
- M ./libsofia-sip-ua/tport/tport.c -1 +2
-
- * Moved LGPL reference so that it will be included in the autogenerated
- files. [pp]
-
- M ./libsofia-sip-ua/http/http_parser_table.c.in -8 +8
- M ./libsofia-sip-ua/http/http_protos.h.in -6 +6
- M ./libsofia-sip-ua/http/http_tag.c.in -8 +8
- M ./libsofia-sip-ua/http/http_tag.h.in -7 +7
- M ./libsofia-sip-ua/msg/msg_mime_protos.h.in -6 +6
- M ./libsofia-sip-ua/msg/msg_protos.h.in -6 +6
- M ./libsofia-sip-ua/msg/test_protos.h.in -7 +7
- M ./libsofia-sip-ua/sip/sip_hclasses.h.in -6 +7
- M ./libsofia-sip-ua/sip/sip_parser_table.c.in -7 +7
- M ./libsofia-sip-ua/sip/sip_protos.h.in -5 +5
- M ./libsofia-sip-ua/sip/sip_rfc2543.h.in -6 +5
- M ./libsofia-sip-ua/sip/sip_tag.c.in -7 +7
- M ./libsofia-sip-ua/sip/sip_tag.h.in -7 +7
-
- * Collected copyrights belonging someone else but Nokia to COPYRIGHTS
- file. [pp]
-
- M ./COPYRIGHTS -1 +223
- M ./libsofia-sip-ua/ipt/rc4.c -24
- M ./libsofia-sip-ua/su/getopt.c -24
- M ./libsofia-sip-ua/su/su_md5.c -11 +14
-
- * Fixed bug in su_addrinfo.c [FIX]. [pp]
- Setting ai_addrlen even if there is no sa_len.
-
- M ./libsofia-sip-ua/su/su_addrinfo.c +1
-
- * sresolv now compiles without IPv6 [mm]
-
- M ./libsofia-sip-ua/nua/nua.h -2
- M ./libsofia-sip-ua/sresolv/sresolv.c -1 +1
- M ./libsofia-sip-ua/tport/tport.c -1 +1
-
- * using 500 timers instead of 500000 timers in su_timer_test [mm]
-
- M ./libsofia-sip-ua/su/su_timer_test.c -2 +2
-
- * added #include to stun_common.h [mm]
-
- M ./libsofia-sip-ua/nth/Makefile.am -3 +2
- M ./libsofia-sip-ua/stun/stun_common.h +1
-
- * added stun_internal.h [mm]
-
- A ./libsofia-sip-ua/stun/stun_internal.h
-
- * tport_stun_cb parameter type change [mm]
-
- R ./libsofia-sip-ua/sip/sip_p_tag.c
- M ./libsofia-sip-ua/tport/tport.c -1 +1
-
- * initial async stun, compiles not works. [mm]
-
- M ./libsofia-sip-ua/nth/Makefile.am -2 +3
- M ./libsofia-sip-ua/sip/sip_p_tag.c -105
- M ./libsofia-sip-ua/stun/stun.c -65 +121
- M ./libsofia-sip-ua/stun/stun.h -23 +18
- M ./libsofia-sip-ua/stun/stunc.c -2 +26
- M ./libsofia-sip-ua/stun/torture_stun.c -4 +29
- M ./libsofia-sip-ua/tport/tport.c -3 +17
-
- * Removed sip_rfc2543{.h,.h.in,.c} from dist. [pp]
-
- M ./libsofia-sip-ua/sip/Makefile.am -3 +2
-
-2005-12-02 Pekka Pessi
-
- Again, syncing darcs and CVS.
-
- * Disabling stun for the moment, use --enable-stun to use it. [pp]
-
- M ./configure.ac -2 +9
-
- * working async stun support [mm]
-
- M ./libsofia-sip-ua/stun/stun.c -139 +131
- M ./libsofia-sip-ua/stun/stun.h -1 +3
- M ./libsofia-sip-ua/stun/stun_common.c -14 +18
- M ./libsofia-sip-ua/stun/stunc.c -21 +15
- M ./libsofia-sip-ua/stun/torture_stun.c -1 +1
-
- * initial async stun support. Does not work with tport yet. [mm]
-
- M ./libsofia-sip-ua/stun/stun.c -269 +350
- M ./libsofia-sip-ua/stun/stun.h -6 +28
- M ./libsofia-sip-ua/stun/stun_common.c -5 +23
- M ./libsofia-sip-ua/stun/stun_common.h -1 +1
- M ./libsofia-sip-ua/stun/stun_internal.h -4 +5
- M ./libsofia-sip-ua/stun/stunc.c -3 +10
- M ./libsofia-sip-ua/stun/torture_stun.c -2 +2
-
- * async stunning contd. Juhui! [mm]
-
- M ./libsofia-sip-ua/stun/stun.c -19 +13
- M ./libsofia-sip-ua/stun/stun_common.c -4 +9
- M ./libsofia-sip-ua/stun/stun_internal.h -1 +16
-
- * stun asyncing contd. NOT WORKING [mm]
-
- M ./libsofia-sip-ua/stun/stun.c -70 +86
- M ./libsofia-sip-ua/stun/stun.h -9 +7
- M ./libsofia-sip-ua/stun/stun_common.c -3 +8
- M ./libsofia-sip-ua/stun/stun_common.h -1 +4
- M ./libsofia-sip-ua/stun/stun_internal.h -3 +6
- M ./libsofia-sip-ua/stun/stunc.c -13 +17
- M ./libsofia-sip-ua/stun/torture_stun.c -12 +15
-
- * stun async contd. [mm]
-
- M ./libsofia-sip-ua/stun/stun.c -26 +56
- M ./libsofia-sip-ua/stun/stun.h +4
- M ./libsofia-sip-ua/stun/stunc.c -4 +9
-
- * DON'T APPLY THIS: does not work. I need this for syncing. [mm]
-
- M ./libsofia-sip-ua/stun/stun.c -81 +209
- M ./libsofia-sip-ua/stun/stun.h -3 +15
- M ./libsofia-sip-ua/stun/stun_internal.h -1 +1
- M ./libsofia-sip-ua/stun/stunc.c -3 +7
- M ./libsofia-sip-ua/stun/torture_stun.c -4 +4
-
- * async connect continued [mm]
-
- M ./libsofia-sip-ua/stun/stun.c -24 +71
-
- * async stun continued [mm]
-
- M ./libsofia-sip-ua/stun/stun.c -27 +53
- M ./libsofia-sip-ua/stun/torture_stun.c +7
- M ./libsofia-sip-ua/tport/test_tport.c -1 +8
- M ./libsofia-sip-ua/tport/tport.c -1 +2
-
- * su_localinfo returns now valid address also in Windows [mm]
-
- M ./libsofia-sip-ua/nua/test_nua.c +3
- M ./libsofia-sip-ua/su/su_localinfo.c +4
-
- * tport cygwin modifications [mm]
-
- M ./libsofia-sip-ua/tport/tport.c -3 +7
-
- * Declaring h_errno as a variable imported from DLL (when using WIN32). [pp]
-
- M ./libsofia-sip-ua/su/su_addrinfo.c -3 +8
-
- * Try random port next if a port is taken. [pp]
-
- M ./libsofia-sip-ua/tport/tport.c -1 +2
-
- * Moved LGPL reference so that it will be included in the autogenerated
- files. [pp]
-
- M ./libsofia-sip-ua/http/http_parser_table.c.in -8 +8
- M ./libsofia-sip-ua/http/http_protos.h.in -6 +6
- M ./libsofia-sip-ua/http/http_tag.c.in -8 +8
- M ./libsofia-sip-ua/http/http_tag.h.in -7 +7
- M ./libsofia-sip-ua/msg/msg_mime_protos.h.in -6 +6
- M ./libsofia-sip-ua/msg/msg_protos.h.in -6 +6
- M ./libsofia-sip-ua/msg/test_protos.h.in -7 +7
- M ./libsofia-sip-ua/sip/sip_hclasses.h.in -6 +7
- M ./libsofia-sip-ua/sip/sip_parser_table.c.in -7 +7
- M ./libsofia-sip-ua/sip/sip_protos.h.in -5 +5
- M ./libsofia-sip-ua/sip/sip_rfc2543.h.in -6 +5
- M ./libsofia-sip-ua/sip/sip_tag.c.in -7 +7
- M ./libsofia-sip-ua/sip/sip_tag.h.in -7 +7
-
- * Collected copyrights belonging someone else but Nokia to COPYRIGHTS
- file. [pp]
-
- M ./COPYRIGHTS -1 +223
- M ./libsofia-sip-ua/ipt/rc4.c -24
- M ./libsofia-sip-ua/su/getopt.c -24
- M ./libsofia-sip-ua/su/su_md5.c -11 +14
-
- * Fixed bug in su_addrinfo.c [FIX]. [pp]
- Setting ai_addrlen even if there is no sa_len.
-
- M ./libsofia-sip-ua/su/su_addrinfo.c +1
-
- * sresolv now compiles without IPv6 [mm]
-
- M ./libsofia-sip-ua/nua/nua.h -2
- M ./libsofia-sip-ua/sresolv/sresolv.c -1 +1
- M ./libsofia-sip-ua/tport/tport.c -1 +1
-
- * using 500 timers instead of 500000 timers in su_timer_test [mm]
-
- M ./libsofia-sip-ua/su/su_timer_test.c -2 +2
-
- * added #include to stun_common.h [mm]
-
- M ./libsofia-sip-ua/nth/Makefile.am -3 +2
- M ./libsofia-sip-ua/stun/stun_common.h +1
-
- * added stun_internal.h [mm]
-
- A ./libsofia-sip-ua/stun/stun_internal.h
-
- * tport_stun_cb parameter type change [mm]
-
- R ./libsofia-sip-ua/sip/sip_p_tag.c
- M ./libsofia-sip-ua/tport/tport.c -1 +1
-
- * initial async stun, compiles not works. [mm]
-
- M ./libsofia-sip-ua/nth/Makefile.am -2 +3
- M ./libsofia-sip-ua/sip/sip_p_tag.c -105
- M ./libsofia-sip-ua/stun/stun.c -65 +121
- M ./libsofia-sip-ua/stun/stun.h -23 +18
- M ./libsofia-sip-ua/stun/stunc.c -2 +26
- M ./libsofia-sip-ua/stun/torture_stun.c -4 +29
- M ./libsofia-sip-ua/tport/tport.c -3 +17
-
- * Removed sip_rfc2543{.h,.h.in,.c} from dist. [pp]
-
- M ./libsofia-sip-ua/sip/Makefile.am -3 +2
-
-2005-12-02 Pekka Pessi
-
- Syncing darcs and CVS.
-
- * Removed debugging printf()s. [pp]
-
- M ./libsofia-sip-ua/su/su_root.c -16 +2
-
- * Removed duplicate function msg_params_matching(). [pp]
-
- M ./libsofia-sip-ua/msg/msg_header.h -2
- M ./libsofia-sip-ua/msg/msg_parser_util.c -36
- M ./libsofia-sip-ua/sip/sip_pref_util.c -1 +1
-
- * Compilation support for non-IPv6 environments [pp]
-
- M ./libsofia-sip-ua/nta/nta.c +9
- M ./libsofia-sip-ua/nta/portbind.c -1 +2
- M ./libsofia-sip-ua/nta/test_nta.c +5
- M ./libsofia-sip-ua/sip/Makefile.am -2 +2
- M ./libsofia-sip-ua/soa/soa.c +7
- M ./libsofia-sip-ua/su/su.h +6
- M ./libsofia-sip-ua/su/su_root.c +14
- M ./libsofia-sip-ua/tport/test_tport.c -1 +1
- M ./libsofia-sip-ua/tport/tport.c -1 +58
-
- * additional #ifdefs for IPv6 (un)support. [mm]
-
- M ./libsofia-sip-ua/sresolv/sresolv.c +13
- M ./libsofia-sip-ua/sresolv/sresolv.h +4
- M ./libsofia-sip-ua/sresolv/test_sresolv.c +18
-
- * Added check for socket library. [pp]
-
- M ./configure.ac -1
- M ./m4/sac-su.m4 +2
-
- * Fixed .h file generation. [pp]
-
- M ./libsofia-sip-ua/msg/Makefile.am -1 +5
-
- * Added test for recursive pthread_rwlock_rdlock()/pthread_rwlock_unlock().
-
- M ./m4/sac-su2.m4 +41
-
- * Using TP_AI flags not overlapping with AI flags in . [pp]
-
- M ./libsofia-sip-ua/tport/tport.c -4 +6
-
- * Using red-black tree in su_timer.c. [pp]
- Added test using 500000 timers in su_timer_test.c.
-
- M ./libsofia-sip-ua/su/su_timer.c -130 +216
- M ./libsofia-sip-ua/su/su_timer_test.c -13 +54
-
- * Fixed bug in sdp_rtpmap_find_matching(). [pp]
-
- M ./libsofia-sip-ua/sdp/sdp.c -3 +1
-
- * Cleaned up su_addrinfo.c. [pp]
- Cleaned up comments.
- Using SU_HAVE_ flags.
- Added support for SCTP in getaddrinfo() replacement.
-
- M ./libsofia-sip-ua/su/su_addrinfo.c -10 +38
-
- * Declaring sockaddr_storage in su.h if it is not provided in environment.
-
- M ./libsofia-sip-ua/su/su.h +23
- M ./libsofia-sip-ua/su/su_configure.h.in +3
- M ./libsofia-sip-ua/su/su_configure_win32.h +6
- M ./m4/sac-su2.m4 +7
-
- * Support for CygWin's (buggy) pthread implementation. [mm]
- Added SU_HAVE_IN6 for disabling IPv6 support from the environments
- that do not support IPv6.
-
- M ./libsofia-sip-ua/su/addrinfo.c +11
- M ./libsofia-sip-ua/su/localinfo.c +6
- M ./libsofia-sip-ua/su/su_localinfo.c -1 +4
- M ./libsofia-sip-ua/su/su_port.c -1 +38
- M ./libsofia-sip-ua/su/su_proxy.c +2
- M ./libsofia-sip-ua/su/su_root_test.c -1 +3
- M ./libsofia-sip-ua/su/su_test.c -4 +6
-
-2005-11-30 Pekka Pessi
-
- Syncing darcs with CVS.
-
- * Silenced warning in su_addrinfo.c.
-
- M ./libsofia-sip-ua/su/su_addrinfo.c -1 +2
-
- * Added su_getaddrinfo() and su_getnameinfo() replacement functions.
-
- M ./libsofia-sip-ua/su/Makefile.am -2 +3
- M ./libsofia-sip-ua/su/su.c -58
- M ./libsofia-sip-ua/su/su.h -15 +1
- A ./libsofia-sip-ua/su/su_addrinfo.c
- A ./libsofia-sip-ua/su/su_addrinfo.h
- M ./libsofia-sip-ua/su/su_configure.h.in +3
- M ./libsofia-sip-ua/su/su_localinfo.c -3 +3
- M ./libsofia-sip-ua/su/su_wait.h -2 +2
- M ./m4/sac-su2.m4 -2 +8
-
- * Not using Unix network includes, use Sofia includes.
-
- M ./libsofia-sip-ua/sresolv/sresolv.c -1 +1
-
- * Using AC_GNU_SOURCE.
-
- M ./configure.ac -2 +2
-
- * Using sip-options consistently in utils/sip-options.c.
-
- M ./utils/sip-options.c -8 +9
-
- * Updated RELEASE and TODO.
-
- M ./RELEASE +4
- M ./TODO -2 +2
-
- * Using nua_i_state event in nua_cli.c.
-
- M ./utils/nua_cli.c -76 +88
-
- * Updated ABNF grammar for Subscription-State in sip_event.c.
- Added more tests for Subscription-State.
-
- M ./libsofia-sip-ua/sip/sip_event.c -12 +17
- M ./libsofia-sip-ua/sip/torture_sip.c -13 +16
-
- * Fixed test_class.c documentation.
-
- M ./libsofia-sip-ua/msg/test_class.c -2 +2
-
- * Proofread conformance specification.
-
- M ./libsofia-sip-ua/docs/conformance.docs -375 +547
-
- * Fixed doxytags for main doxygen pages.
-
- M ./libsofia-sip-ua/docs/Doxyfile -16 +16
-
- * Fixed types of NUATAGs
- Changed type of NUTAG_INVITE_TIMER, NUTAG_SESSION_TIMER, and NUTAG_MIN_SE
- value to unsigned.
-
- M ./libsofia-sip-ua/nua/nua_tag.c -3 +3
-
- * Added test for handlin refer subscriptions.
-
- M ./libsofia-sip-ua/nua/test_nua.c -1 +58
-
- * Added test_mime_negotiation() to test_nua.c
-
- M ./libsofia-sip-ua/nua/test_nua.c +166
-
- * Cosmetic changes in nua_dialog_usage_t in nua_stack.h.
-
- M ./libsofia-sip-ua/nua/nua_stack.c -2 +1
- M ./libsofia-sip-ua/nua/nua_stack.h -3 +3
-
- * Added NHP_ISSET() to nua_stack.h.
-
- M ./libsofia-sip-ua/nua/nua_stack.h -1 +5
-
- * Added process_subsribe() for refer subscriptions in nua_stack.c.
-
- M ./libsofia-sip-ua/nua/nua_stack.c +88
-
- * Removed duplicate nua_i_subscription.
-
- M ./libsofia-sip-ua/nua/nua_common.c -2
-
- * Renumbered test cases, state transitions in nua.docs and test_nua.c.
-
- M ./libsofia-sip-ua/nua/nua.docs -79 +79
- M ./libsofia-sip-ua/nua/nua_stack.c +3
- M ./libsofia-sip-ua/nua/test_nua.c -78 +131
-
- * Added NUTAG_REFER_EXPIRES() with default value of 300.
- Handling expiration of implicit subscriptions created by REFER.
-
- M ./libsofia-sip-ua/nua/nua_stack.c -1 +75
- M ./libsofia-sip-ua/nua/nua_stack.h +4
- M ./libsofia-sip-ua/nua/nua_tag.c +2
- M ./libsofia-sip-ua/nua/nua_tag.h +26
-
- * Refactored register_expires_contacts()
- Fixed memory leak, bug in '*'handling.
-
- M ./libsofia-sip-ua/nua/nua_stack.c -10 +18
-
- * Rewrote uas_check_session_content().
- Returning empty Accept-Encoding header in 415/406 responses.
-
- M ./libsofia-sip-ua/nua/nua_stack.c -21 +41
-
- * Do not throttle at termination. [FIX]
-
- nea_server now sends NOTIFYs that terminate subscription even if the
- previous NOTIFY transaction has not completed yet.
-
- This fixes the race condition in nua_terminate() (where terminating NOTIFY
- was is never sent).
-
- M ./libsofia-sip-ua/nea/nea_server.c -1 +4
-
- * Fixed rule to build sip_tag_ref.c.
-
- M ./libsofia-sip-ua/sip/Makefile.am -2 +1
-
- * Explicitly saving and destroying messages in ua_signal().
-
- M ./libsofia-sip-ua/nua/nua_stack.c -23 +23
- M ./libsofia-sip-ua/nua/nua_stack.h +1
-
- * Updated Content-Encoding (e) header parsing.
-
- M ./libsofia-sip-ua/sip/sip.h -1 +1
- M ./libsofia-sip-ua/sip/sip_mime.c -4 +4
- M ./libsofia-sip-ua/sip/torture_sip.c -3 +4
-
- * Updated Session-Expires and Min-SE header to RFC 4028.
- A parameter list was added to Min-SE header.
-
- M ./libsofia-sip-ua/sip/sip.h +1
- M ./libsofia-sip-ua/sip/sip_session.c -18 +30
- M ./libsofia-sip-ua/sip/torture_sip.c +10
-
- * Update RELEASE.
- Added text about API changes related nua_authorize(), nua_i_subscription and
- NEATAG_SUB(), NUTAG_HOLD(), sdp_rtpmap_t.
- Mentioning su_getlocalinfo() bug.
-
- M ./RELEASE -3 +16
-
- * Fixed installing and distributing m4 files.
- Not installing m4/sac-su2.m4.
- Including m4/sac-tport.m4 and m4/sac-openssl.m4 in distribution.
-
- M ./Makefile.am -1 +2
-
- * Deprecated NUTAG_HOLD().
-
- * Updated documentation in nea, nua, nta, sip and tport modules.
-
- * Updated documentation.
-
- M ./libsofia-sip-ua/docs/Doxyfile.aliases +1
- M ./libsofia-sip-ua/docs/conformance.docs -172 +177
- M ./libsofia-sip-ua/docs/mainpage.docs -5 +7
-
- * Updated subscriptuion authorization and nua_terminate() semantics.
- Subscription authorization now rejects SUBSCRIBE if
- NUTAG_SUBSTATE(nua_substate_terminated) parameter is set.
- Correct status code is relayed to application, too.
- nua_terminate() now always terminates whole notifier.
-
- M ./libsofia-sip-ua/nua/nua_stack.c -49 +65
-
- * Fixed nua_handle_has_active_call() in nua_stack.c.
-
- M ./libsofia-sip-ua/nua/nua_stack.c +10
- M ./libsofia-sip-ua/nua/test_nua.c +32
-
- * Renamed authenticate_watcher() as authorize_watcher().
-
- M ./libsofia-sip-ua/nua/nua_stack.c -13 +13
-
- * Cleanup of subscription logging and comments in nua_stack.c.
-
- M ./libsofia-sip-ua/nua/nua_stack.c -21 +41
-
- * Using SIPTAG_END() in nua_stack.c.
- We now pass NTATAG and TPTAG to lower layers. Beware.
-
- M ./libsofia-sip-ua/nua/nua_stack.c -28 +29
-
- * Added NH_PISSET() macro to .
-
- M ./libsofia-sip-ua/nua/nua_stack.c -2 +8
- M ./libsofia-sip-ua/nua/nua_stack.h +7
-
- * Fixed doxytag file names for modules nea and features.
-
- M ./libsofia-sip-ua/docs/Doxyfile -1 +1
- M ./libsofia-sip-ua/features/Doxyfile -1 +1
-
- M ./libsofia-sip-ua/nea/Doxyfile -1 +1
-
- * Moved typedefs nua_t and nua_handle_t into
-
- M ./libsofia-sip-ua/nua/nua.h -6
- M ./libsofia-sip-ua/nua/nua_tag.h -3 +6
-
- * Added sip_add_tagis() and SIPTAG_END().
- SIPTAG_END() allows grouping tags into blocks.
-
- M ./libsofia-sip-ua/sip/sip_header.h +3
- M ./libsofia-sip-ua/sip/sip_tag.c.in -1 +2
- M ./libsofia-sip-ua/sip/sip_tag.h.in +4
- M ./libsofia-sip-ua/sip/sip_tag_class.c -12 +38
- M ./libsofia-sip-ua/sip/torture_sip.c +12
-
- * Fixed scope for V4MAPPED and V4COMPAT IP6 addresses in su_localinfo.c.
-
- M ./libsofia-sip-ua/su/su_localinfo.c -6 +21
-
- * Cleaned up debug printing in su_memmem.c.
-
- M ./libsofia-sip-ua/su/su_memmem.c -11 +21
-
- * Added end_tag_class[].
-
- M ./libsofia-sip-ua/su/su_tag_class.h -13 +1
- M ./libsofia-sip-ua/su/su_tag_inline.h -1 +1
- M ./libsofia-sip-ua/su/su_taglist.c -48 +84
-
- * Added replacement functions memccpy().
- Also moved memcspn() to a file of its own.
-
- M ./libsofia-sip-ua/su/Makefile.am -5 +13
- A ./libsofia-sip-ua/su/memccpy.c
- A ./libsofia-sip-ua/su/memcspn.c
- M ./libsofia-sip-ua/su/memspn.c -50 +1
- M ./libsofia-sip-ua/su/strcasestr.c -1 +1
- M ./m4/sac-su2.m4 -2 +13
-
- * Added win32/config.h.in
-
- M ./configure.ac +1
- A ./win32/config.h.in
-
- * Added AC_TYPE_LONGLONG.
-
- M ./configure.ac -3 +2
- M ./m4/sac-general.m4 -7 +5
-
- * Tried to fix automatic generation of source files.
-
- M ./libsofia-sip-ua/http/Makefile.am -10 +9
- M ./libsofia-sip-ua/msg/Makefile.am -22 +14
- M ./libsofia-sip-ua/sip/Makefile.am -13 +12
-
- * Moved bitfields last in sdp_rtpmap_t aka struct sdp_rtpmap_s.
-
- M ./libsofia-sip-ua/sdp/sdp.c -1 +3
- M ./libsofia-sip-ua/sdp/sdp.h -5 +5
- M ./libsofia-sip-ua/sdp/sdp_parse.c -2 +2
- M ./libsofia-sip-ua/sdp/sdp_torture.c -4 +9
-
- * Removed RFC2543-compatible tag code.
-
- M ./libsofia-sip-ua/nta/nta.c -95 +46
- M ./libsofia-sip-ua/nta/nta.h -4 +3
- M ./libsofia-sip-ua/nta/nta_tag.h -2 +2
- M ./libsofia-sip-ua/nta/test_nta.c -18 +20
-
- * Fixed memory leaks in tport.c and nta.c.
-
- M ./libsofia-sip-ua/nta/nta.c +11
- M ./libsofia-sip-ua/tport/tport.c +2
-
- * Fixed a memory leak when processing re-SUBSCRIBE in nea_server.c.
-
- M ./libsofia-sip-ua/nea/nea_server.c -2 +2
-
- * Cleaned #including standard headers in msg module.
-
- M ./libsofia-sip-ua/msg/msg_header.h +1
- M ./libsofia-sip-ua/msg/test_msg.c -7 +7
-
- * Removed extra prototype.
-
- M ./libsofia-sip-ua/iptsec/auth_plugin_delayed.c -4
-
- * Casting getpid() return type to something accepted by printf().
-
- M ./libsofia-sip-ua/nua/test_nua.c -1 +1
-
- * Doing system #include after sofia #include.
-
- M ./libsofia-sip-ua/nua/test_nua.c -12 +11
-
- * Not using nta_incoming_tag_3261() anymore.
-
- M ./libsofia-sip-ua/nua/nua_stack.c -4 +2
-
- * Added #include to libsofia-sip-ua/su/su.h.
-
- M ./libsofia-sip-ua/su/su.h -2 +3
-
- * Added client timeout and NTHTAG_EXPIRES() to nth http client library.
-
- M ./libsofia-sip-ua/nth/nth_client.c -7 +29
- M ./libsofia-sip-ua/nth/nth_tag.c -1 +2
- M ./libsofia-sip-ua/nth/nth_tag.h -1 +7
- M ./libsofia-sip-ua/nth/nth_test.c -9 +111
-
- * Fixed RFC 1890/RFC 1891.
-
- M ./libsofia-sip-ua/docs/Doxyfile.aliases +2
-
- * Added conformance.docs
-
- M ./libsofia-sip-ua/docs/Doxyfile -1 +1
- A ./libsofia-sip-ua/docs/conformance.docs
-
- * Moved memspn from msg module to su
-
- ./libsofia-sip-ua/msg/memspn.c -> ./libsofia-sip-ua/su/memspn.c
-
- * Using package-specific install directory for public header files.
- Default install directory for public header file has been changed
- from '${prefix}/include/' to '${prefix}/include/sofia-sip-MAJOR.MINOR'.
- The pkgconfig .pc file has been updated accordingly.
-
- * Removed
-
- R ./win32/config.h
-
-2005-11-28 Martti Mela
-
- * Added nua_authorize(), enhanced nua_i_subscription. Added
- nua_notifier test cases for test_nua. With great help from Pekka.
-
- M ./libsofia-sip-ua/nea/Makefile.am
- M ./libsofia-sip-ua/nea/nea.h
- M ./libsofia-sip-ua/nea/nea_tag.c
- M ./libsofia-sip-ua/nta/test_nta.c
- M ./libsofia-sip-ua/nua/nua.c
- M ./libsofia-sip-ua/nua/nua.docs
- M ./libsofia-sip-ua/nua/nua.h
- M ./libsofia-sip-ua/nua/nua_common.c
- M ./libsofia-sip-ua/nua/nua_stack.c
- M ./libsofia-sip-ua/nua/nua_stack.h
- M ./libsofia-sip-ua/nua/test_nua.c
- M ./libsofia-sip-ua/nua/test_proxy.c
- M ./utils/Makefile.am
-
-2005-11-28 Martti Mela
-
- * nua.h: added event nua_i_subscription
-
- * nua_commmon.c: added event nua_i_subscription
-
- * nua_stack.c: ua_event for nua_i_subscription (nea subscribers)
-
- * nea.h, nea_tag.c, nea_tag_ref.c, nea_server.c: support for a new
- tag, NEATAG_SUB(). Added nea_sub_get_request().
-
-2005-11-15 Kai Vehmanen
-
- * configure.ac: Added VER_LIBSOFIA_SIP_UA variables.
-
-2005-11-14 Pekka Pessi
-
- tagged rel-sofia-sip-1_11_4
-
- * Fixed Win32 includes for XP. Added win32/README.txt.
-
- M ./libsofia-sip-ua/su/su.h -4 +5
- M ./win32/Makefile.am -1 +2
- A ./win32/README.txt
-
- * Added a blurb about win32 bugs into RELEASE.
-
- M ./RELEASE -1 +3
-
-2005-11-11 Pekka Pessi
-
- * Updated RELEASE.
-
- M ./RELEASE -1 +9
-
- * Updated dua documentation.
-
- M ./libsofia-sip-ua/nua/nua.c +4
- M ./libsofia-sip-ua/nua/nua.docs -10 +12
- M ./libsofia-sip-ua/nua/nua_stack.h -2 +3
-
- * Fixed warnings in libsofia-sip-ua/tport/tport.c.
-
- M ./libsofia-sip-ua/tport/tport.c -2 +1
-
- * Fixed WIN32 test cases in libsofia-sip-ua/su/su_torture.c.
- Using SU_WAIT_TIMEOUT and correct IP address.
-
- M ./libsofia-sip-ua/su/su_torture.c -2 +2
-
- * Added codec-level negotiation and codec selection for RTP media.
- Added SOATAG_RTP_SELECT(), SOATAG_RTP_SORT() and SOATAG_RTP_MISMATCH() for
- indicating sdp negotiation preferences. Select the RTP codec according to the
- preferences when sending or processing the answer.
-
- M ./libsofia-sip-ua/soa/soa.c -7 +52
- M ./libsofia-sip-ua/soa/soa_session.h +5
- M ./libsofia-sip-ua/soa/soa_static.c -21 +320
- M ./libsofia-sip-ua/soa/soa_tag.c +89
- M ./libsofia-sip-ua/soa/soa_tag.h +19
- M ./libsofia-sip-ua/soa/test_soa.c -19 +382
-
- * Added funtions for rtp payload type management.
-
- Added sdp_media_uses_rtp(), sdp_rtpmap_match(), sdp_rtpmap_find_matching()
- and sdp_rtpmap_well_known[]. Fixed RTP timestamp rate for G722: it was 16000
- but it should be 8000.
-
- M ./libsofia-sip-ua/sdp/sdp.c -1 +76
- M ./libsofia-sip-ua/sdp/sdp.h +12
- M ./libsofia-sip-ua/sdp/sdp_parse.c -37 +94
- M ./libsofia-sip-ua/sdp/sdp_torture.c -11 +140
-
- * Generating browsing info for win32 projects.
-
- M ./win32/libsofia-sip-ua/libsofia_sip_ua.dsp -2 +2
- M ./win32/nta_test/nta_test.dsp -1 +1
- M ./win32/su/su_alloc_test/su_alloc_test.dsp -2 +2
- M ./win32/su/su_root_test/su_root_test.dsp -2 +2
- M ./win32/su/su_tag_test/su_tag_test.dsp -2 +2
- M ./win32/su/su_test/su_test.dsp -2 +2
- M ./win32/su/su_time_test/su_time_test.dsp -2 +2
- M ./win32/su/su_timer_test/su_timer_test.dsp -2 +2
- M ./win32/su/su_torture/su_torture.dsp -2 +2
- M ./win32/su/test_memmem/test_memmem.dsp -2 +2
- M ./win32/su/torture_htable/torture_htable.dsp -2 +2
- M ./win32/su/torture_rbtree/torture_rbtree.dsp -2 +2
- M ./win32/su/torture_su_memmem/torture_su_memmem.dsp -2 +2
- M ./win32/su/torture_su_port/torture_su_port.dsp -2 +2
-
- * Added tests for su_vsend() and su_vrecv() in su_torture.c.
-
- M ./libsofia-sip-ua/su/su_torture.c +89
-
- * Added #include to nua_stack.c (because MSG_TIME_MAX).
-
- M ./libsofia-sip-ua/nua/nua_stack.c +1
-
- * Added SU_WAIT_CONNECT. Fixed su_vrecv() and su_vsend() on Win32.
-
- M ./libsofia-sip-ua/su/su.c -9 +10
- M ./libsofia-sip-ua/su/su_wait.h +3
-
- * Fixed tport.c on Win32 port.
- Added a separate "connecting" phase.
- Checking EWOULDBLOCK in addition to EAGAIN.
- Fixed TP_AI_CLOSE and TP_AI_SHUTDOWN flags.
- Improved logging.
-
- M ./libsofia-sip-ua/tport/tport.c -35 +98
-
- * Removed 1.11.3 stuff from RELEASE.
-
- M ./RELEASE -16 +2
-
- * Removed Last modified from ipt module.
-
- M ./libsofia-sip-ua/ipt/rc4.h -1
- M ./libsofia-sip-ua/ipt/torture_base64.c -1
- M ./libsofia-sip-ua/ipt/ucs2.c -1
- M ./libsofia-sip-ua/ipt/ucs4.c -1
- M ./libsofia-sip-ua/ipt/uniqueid.h -1
- M ./libsofia-sip-ua/ipt/utf8.c -1
- M ./libsofia-sip-ua/ipt/utf8.h -1
- M ./libsofia-sip-ua/ipt/utf8internal.h -1
- M ./libsofia-sip-ua/ipt/utf8test.c -1
-
- * Removed Last modified from sdp module.
-
- M ./libsofia-sip-ua/sdp/sdp.c -1
- M ./libsofia-sip-ua/sdp/sdp.h -1
- M ./libsofia-sip-ua/sdp/sdp_parse.c -1
- M ./libsofia-sip-ua/sdp/sdp_rtp.h -1
- M ./libsofia-sip-ua/sdp/sdp_tag.c -1
- M ./libsofia-sip-ua/sdp/sdp_tag.h -1
- M ./libsofia-sip-ua/sdp/sdp_test.c -1
- M ./libsofia-sip-ua/sdp/sdp_torture.c -1
-
-2005-11-10 Pekka Pessi
-
- * Avoid comp=sigcomp in Via in nta/nta.c
- Not inserting comp=sigcomp in topmost Via of request if there is no
- comp=sigcomp in request-URI or route-URI.
-
- M ./libsofia-sip-ua/nta/nta.c -20 +15
-
- * Added Doxygen entries for SIPTAG_*_REF.
-
- M ./libsofia-sip-ua/sip/sip_tag.h.in -5 +17
-
- * Fixed AC_DEFINE([HAVE_SOFIA_SIGCOMP])
-
- M ./m4/sac-tport.m4 -1 +1
-
- * Not using $(srcdir)/../ for Makefile.am inclusion.
-
- M ./libsofia-sip-ua/features/Makefile.am -1 +1
- M ./libsofia-sip-ua/nua/Makefile.am -1 +1
- M ./libsofia-sip-ua/sdp/Makefile.am -1 +1
- M ./libsofia-sip-ua/soa/Makefile.am -1 +1
-
- * Added PACKAGE_NAME and PACKAGE_VERSION to msg_parser.awk.
-
- M ./libsofia-sip-ua/msg/msg_parser.awk +2
-
- * Not using ancient MSG_DUMP and MSG_STREAM_LOG env variables.
- Use TPORT_DUMP and TPORT_LOG instead.
-
- M ./utils/nua_env -3 +3
-
- * Fixed --without-glib case in m4/sac-su2.m4.
-
- M ./m4/sac-su2.m4 -4 +7
-
- * Removed m4/sac-glib.m4
-
- R ./m4/sac-glib.m4
-
-2005-11-09 Pekka Pessi
-
- * Updated documentation of nta_agent_add_tport().
- The uri parameter to nta_agent_add_tport() is used to control which sockets
- the tport binds the server sockets as well as which transport, encryption
- and compression protocols are used.
-
- M ./libsofia-sip-ua/nta/nta.c -1 +46
-
-2005-11-08 Pekka Pessi
-
- tagged rel-sofia-sip-1_11_3
-
- * Not using sip_params_replace().
-
- M ./libsofia-sip-ua/nua/nua_stack.c -2 +2
-
- * Using sip_complete_message instead of sip_message_complete in nua_stack.c.
-
- M ./libsofia-sip-ua/nua/nua_stack.c -1 +1
-
- * Removed $(srcdir)s from built_sources targets in libsofia-sip-ua/sofia.am
-
- M ./libsofia-sip-ua/sofia.am -2 +2
-
- * Updated nta ChangeLog.
-
- M ./libsofia-sip-ua/nta/ChangeLog +4
-
- * Renamed tport_test.c as test_tport.c
-
- ./libsofia-sip-ua/tport/tport_test.c -> ./libsofia-sip-ua/tport/test_tport.c
- M ./libsofia-sip-ua/tport/ChangeLog +4
- M ./libsofia-sip-ua/tport/Doxyfile -1 +1
- M ./libsofia-sip-ua/tport/Makefile.am -7 +9
- M ./libsofia-sip-ua/tport/test_tport.c -1 +1
- R ./libsofia-sip-ua/tport/tport_test.h
-
- * Renamed test modules and programs.
- Renamed msg_test.c as test_msg.c.
- Renamed msg_test_class.[hc] as test_class.[hc],
- msg_test_protos.h(.in) as test_protos.h(.in),
- msg_test_table.c(.in) as test_table.c(.in).
-
- ./libsofia-sip-ua/msg/msg_test.c -> ./libsofia-sip-ua/msg/test_msg.c
- ./libsofia-sip-ua/msg/msg_test_class.c -> ./libsofia-sip-ua/msg/test_class.c
- ./libsofia-sip-ua/msg/msg_test_class.h -> ./libsofia-sip-ua/msg/test_class.h
- ./libsofia-sip-ua/msg/msg_test_protos.h.in -> ./libsofia-sip-ua/msg/test_protos.h.in
- ./libsofia-sip-ua/msg/msg_test_table.c.in -> ./libsofia-sip-ua/msg/test_table.c.in
- M ./libsofia-sip-ua/msg/ChangeLog +8
- M ./libsofia-sip-ua/msg/Makefile.am -28 +36
- M ./libsofia-sip-ua/msg/msg.docs -1 +1
- M ./libsofia-sip-ua/msg/msg_name_hash.c -1 +1
- M ./libsofia-sip-ua/msg/test_class.c -8 +8
- M ./libsofia-sip-ua/msg/test_class.h -3 +3
- M ./libsofia-sip-ua/msg/test_msg.c -5 +5
- M ./libsofia-sip-ua/msg/test_protos.h.in -7 +7
- M ./libsofia-sip-ua/msg/test_table.c.in -7 +7
- M ./libsofia-sip-ua/tport/tport_test.c -2 +2
-
- * Renamed auth_digest_test.c as test_auth_digest.c.
-
- ./libsofia-sip-ua/iptsec/auth_digest_test.c -> ./libsofia-sip-ua/iptsec/test_auth_digest.c
- M ./libsofia-sip-ua/iptsec/ChangeLog +4
- M ./libsofia-sip-ua/iptsec/Makefile.am -3 +3
- M ./libsofia-sip-ua/iptsec/test_auth_digest.c -4 +4
-
- * Renamed http_test.c as test_http.c.
-
- ./libsofia-sip-ua/http/http_test.c -> ./libsofia-sip-ua/http/test_http.c
- M ./libsofia-sip-ua/http/ChangeLog +4
- M ./libsofia-sip-ua/http/Makefile.am -3 +3
- M ./libsofia-sip-ua/http/test_http.c -6 +6
-
-2005-11-07 Pekka Pessi
-
- * Using new nta_agent_create() prototype in utils/sip-options.c
-
- M ./utils/sip-options.c -1 +1
-
- * Added test proxy to nua module.
-
- M ./libsofia-sip-ua/nua/Makefile.am +2
- M ./libsofia-sip-ua/nua/test_nua.c -35 +175
- A ./libsofia-sip-ua/nua/test_proxy.c
- A ./libsofia-sip-ua/nua/test_proxy.h
-
- * Cleaned up sip parser.
- Renamed msg_name_addr_d/msg_name_addr_e as sip_name_addr_d/sip_name_addr_e
- (because the function is sip-specific).
- Not using old sip-specific parser macros.
-
- M ./libsofia-sip-ua/sip/sip.docs -6 +3
- M ./libsofia-sip-ua/sip/sip.h -1 +1
- M ./libsofia-sip-ua/sip/sip_basic.c -100 +284
- M ./libsofia-sip-ua/sip/sip_caller_prefs.c -13 +13
- M ./libsofia-sip-ua/sip/sip_event.c -32 +32
- M ./libsofia-sip-ua/sip/sip_extra.c -13 +13
- M ./libsofia-sip-ua/sip/sip_feature.c -8 +8
- M ./libsofia-sip-ua/sip/sip_header.c -36 +3
- M ./libsofia-sip-ua/sip/sip_mime.c -18 +18
- M ./libsofia-sip-ua/sip/sip_parser.c -12 +12
- M ./libsofia-sip-ua/sip/sip_parser.h -3 +14
- M ./libsofia-sip-ua/sip/sip_prack.c -2 +2
- M ./libsofia-sip-ua/sip/sip_pref_util.c -2 +2
- M ./libsofia-sip-ua/sip/sip_reason.c -6 +6
- M ./libsofia-sip-ua/sip/sip_refer.c -24 +24
- M ./libsofia-sip-ua/sip/sip_rfc2543.c -2 +2
- M ./libsofia-sip-ua/sip/sip_security.c -10 +10
- M ./libsofia-sip-ua/sip/sip_session.c -6 +6
- M ./libsofia-sip-ua/sip/sip_tag_class.c -11 +14
- M ./libsofia-sip-ua/sip/sip_time.c -1 +1
- M ./libsofia-sip-ua/sip/sip_util.c -47 +19
- M ./libsofia-sip-ua/sip/torture_sip.c -8 +56
-
- * Updated documentation in url module.
-
- M ./libsofia-sip-ua/url/torture_url.c -3 +2
- M ./libsofia-sip-ua/url/url.c -3 +5
- M ./libsofia-sip-ua/url/url.h -3 +1
- M ./libsofia-sip-ua/url/url_tag.c -4 +2
- M ./libsofia-sip-ua/url/url_tag.h -3 +2
- M ./libsofia-sip-ua/url/url_tag_class.h -3 +2
-
- * Using updated nta api in nua module.
-
- M ./libsofia-sip-ua/nua/nua_stack.c -23 +34
-
- * Not using msg_copy_all().
-
- M ./libsofia-sip-ua/nth/nth_client.c -11 +6
-
- * Not misusing SIP_NONE.
-
- M ./libsofia-sip-ua/sip/torture_sip.c -2 +2
-
- * Updated documentation in msg module.
- Removed bogus @ingroup msg.
-
- M ./libsofia-sip-ua/msg/msg.c -3 +1
- M ./libsofia-sip-ua/msg/msg.h -4 +1
- M ./libsofia-sip-ua/msg/msg_addr.h -2 +1
- M ./libsofia-sip-ua/msg/msg_buffer.h -2 +1
- M ./libsofia-sip-ua/msg/msg_dll.h -3 +1
- M ./libsofia-sip-ua/msg/msg_tag.c -2 +1
- M ./libsofia-sip-ua/msg/msg_tag_class.h -4 +1
-
- * Updated msg module interfaces.
- Added msg_header_free(), msg_header_free_all().
- Removed msg_dup_all() and msg_copy_all().
-
- M ./libsofia-sip-ua/msg/msg.h -2 +2
- M ./libsofia-sip-ua/msg/msg_header.h -3 +8
- M ./libsofia-sip-ua/msg/msg_header_copy.c +159
- M ./libsofia-sip-ua/msg/msg_internal.h -2 +28
- M ./libsofia-sip-ua/msg/msg_mime.c -48 +47
- M ./libsofia-sip-ua/msg/msg_parser.c -198 +21
- M ./libsofia-sip-ua/msg/msg_parser_util.c -171 +14
- M ./libsofia-sip-ua/msg/msg_test.c -69 +41
- M ./libsofia-sip-ua/msg/msg_test_class.c -28 +24
- M ./libsofia-sip-ua/msg/msg_test_class.h -3 +2
- M ./libsofia-sip-ua/msg/msg_test_protos.h.in -2 +2
-
- * Removed msg_clone() from msg module.
- Moved msg_set_parent() into msg/msg.c.
-
- M ./libsofia-sip-ua/msg/msg.c +23
- M ./libsofia-sip-ua/msg/msg.h -2
- M ./libsofia-sip-ua/msg/msg_parser.c -46
-
- * Cleaned up nta module interfaces.
- Use uint32_t instead of sip_u32_t.
- Removed old funtions not using reference counting with messages:
- Replaced nta_outgoing_getresponse() with nta_outgoing_getresponse_ref(),
- and nta_outgoing_getrequest() with nta_outgoing_getrequest_ref().
- Removed nta_incoming_getresponse(), nta_leg_stateful().
- Removed nta_outgoing_tmcreate(): use nta_outgoing_mcreate() instead.
-
- M ./libsofia-sip-ua/nta/nta.c -298 +243
- M ./libsofia-sip-ua/nta/nta.h -21 +14
- M ./libsofia-sip-ua/nta/nta_compat.c -6 +132
- M ./libsofia-sip-ua/nta/nta_compat.h +3
- M ./libsofia-sip-ua/nta/nta_internal.h -11 +4
- M ./libsofia-sip-ua/nta/nta_stateless.h -9 +5
- M ./libsofia-sip-ua/nta/run_test_nta -5 +5
- M ./libsofia-sip-ua/nta/sl_utils_log.c -1 +1
- M ./libsofia-sip-ua/nta/sl_utils_print.c -1 +1
- M ./libsofia-sip-ua/nta/test_nta.c -24 +14
-
- * Not using msg_clone().
-
- M ./libsofia-sip-ua/nth/nth_client.c -1 +1
-
- * Not using stateless functions anymore in nea.
-
- M ./libsofia-sip-ua/nea/nea.h -12 +3
- M ./libsofia-sip-ua/nea/nea_server.c -8 +3
-
- * Removed sip_complete_response().
-
- M ./libsofia-sip-ua/sip/sip_parser.c -47
- M ./libsofia-sip-ua/sip/sip_util.h -7
-
- * Not using sip_none anymore.
-
- M ./libsofia-sip-ua/sip/sip_header.c -1 +1
-
- * Fixed sip_object() prototype.
-
- M ./libsofia-sip-ua/sip/sip_protos.h.in -1 +1
-
- * Cleaned up sip types.
- Not using special typedefs sip_u32_t or sip_u16_t.
-
- M ./libsofia-sip-ua/sip/sip.h -15 +11
- M ./libsofia-sip-ua/sip/sip_basic.c -4 +4
- M ./libsofia-sip-ua/sip/sip_header.h -2 +2
- M ./libsofia-sip-ua/sip/sip_util.c -2 +2
- M ./libsofia-sip-ua/sip/sip_util.h -1 +1
-
- * Defining MSG_TIME_MAX both in msg_types.h and msg_time.h.
-
- M ./libsofia-sip-ua/msg/msg_date.h -3 +6
- M ./libsofia-sip-ua/msg/msg_types.h -1 +6
-
- * Removed sip_transport.c.
-
- R ./libsofia-sip-ua/sip/sip_transport.c
-
- * Removed annoying Last modified from iptsec.
-
-2005-11-04 Pekka Pessi
-
- * Removed annoying Last modified from msg module.
-
- * Removed Last modified things from sip module.
-
- * Removed sip/sip_transport.[hc], not used anymore.
-
- R ./libsofia-sip-ua/sip/sip_transport.c
- R ./libsofia-sip-ua/sip/sip_transport.h
-
-2005-11-03 Pekka Pessi
-
- * Renamed nta_test as test_nta.
-
- ./libsofia-sip-ua/nta/nta_test.c -> ./libsofia-sip-ua/nta/test_nta.c
- ./libsofia-sip-ua/nta/run_nta_test -> ./libsofia-sip-ua/nta/run_test_nta
- M ./libsofia-sip-ua/nta/Makefile.am -4 +4
- M ./libsofia-sip-ua/nta/run_test_nta -2 +2
-
- * Updated libsofia-sip-ua/nua/ChangeLog.
-
- M ./libsofia-sip-ua/nua/ChangeLog +21
-
- * Fixed race in nea/nea_server.c.
- Do not free subscribers while they are being processed by application.
-
- M ./libsofia-sip-ua/nea/nea_server.c -5 +7
-
- * Added unpublish, unregister, do_register to nua/test_nua.c.
-
- M ./libsofia-sip-ua/nua/test_nua.c -8 +28
-
- * Added test_events().
-
- M ./libsofia-sip-ua/nua/test_nua.c +409
-
- * Added nua_unpublish().
- Some cosmetic changes, too.
-
- M ./libsofia-sip-ua/nua/nua.h -1 +4
- M ./libsofia-sip-ua/nua/nua_stack.c -1 +1
-
- * Cleaned up allocations in nua/test_nua.c.
-
- M ./libsofia-sip-ua/nua/test_nua.c -6 +8
-
- * Added loopback message test.
-
- M ./libsofia-sip-ua/nua/test_nua.c +49
-
-2005-11-02 Pekka Pessi
-
- * Fixed buglets in su/su_alloc.c.
- su_alloc() did zero memory. su_realloc() used su_alloc().
-
- M ./libsofia-sip-ua/su/su_alloc.c -5 +7
-
- * Closing /proc/net/if_inet6 after use in su/su_localinfo.c.
-
- M ./libsofia-sip-ua/su/su_localinfo.c +2
-
- * Using su_home_new().
-
- M ./libsofia-sip-ua/msg/msg.c -2 +2
-
- * Fixed allocation code for message parser table.
- Allocating parser table as a single memory block.
-
- M ./libsofia-sip-ua/msg/msg_mclass.c -12 +12
- M ./libsofia-sip-ua/sresolv/test_sresolv.c -3 +15
-
- * Updated documentation in nta/nta_stateless.h.
-
- M ./libsofia-sip-ua/nta/nta_stateless.h -4 +4
-
- * Plugging memory leaks in nta.
- Plugged memory leaks in 100rel code.
-
- M ./libsofia-sip-ua/nta/nta.c -38 +63
- M ./libsofia-sip-ua/nta/nta_test.c -31 +109
-
- * Moved deprecated functions to nta/nta_compat.c.
- nta_msg_vsend() and msg_msg_send() should not be used anymore.
-
- nta_msg_discard() is also deprecated, but getting rid of references to it
- takes time.
-
- M ./libsofia-sip-ua/nta/nta.c -43 +42
- M ./libsofia-sip-ua/nta/nta_compat.c -1 +31
-
- * Plugged memory leak in nth_engine_create() in nth/nth_client.c
- Use su_home_new() instead of su_salloc().
-
- M ./libsofia-sip-ua/nth/nth_client.c -3 +2
-
-2005-11-01 Pekka Pessi
-
- tagged rel-sofia-sip_1_11_2+win32
-
- * Disabled listen-on-v6 in sresolv/run_test_sresolv.
-
- M ./libsofia-sip-ua/sresolv/run_test_sresolv -4 +15
-
- * Fixed search path on sresolc/sresolv.c
- Not invoking callback on main query if subqueries are still running.
-
- M ./libsofia-sip-ua/sresolv/sresolv.c -11 +20
-
- * Added ns record for root.zone.
-
- M ./libsofia-sip-ua/sresolv/root.zone -1 +5
-
- * Using su_close() instead of close().
-
- M ./libsofia-sip-ua/sresolv/test_sresolv.c -3 +3
- M ./libsofia-sip-ua/stun/stun.c -1 +1
- M ./libsofia-sip-ua/tport/tport.c -1 +1
-
- * Fixed HAVE_SIGPIPE.
-
- M ./configure.ac -1 +2
-
- * Using SU_HAVE_GLIB.
-
- M ./libsofia-sip-ua/su/su_test.c -2 +2
-
- * Removed annoying last modified.
-
- M ./libsofia-sip-ua/sresolv/sresolv.c -2
- M ./libsofia-sip-ua/sresolv/test_sresolv.c -1
- M ./libsofia-sip-ua/stun/stun.c -1
-
- * Using AC_DEFINE with HAVE_SOFIA_STUN.
-
- M ./configure.ac -1 +1
-
- * Removed annoying Last modified from su and win32 files.
-
- * Not using sint32_t.
-
- M ./libsofia-sip-ua/su/su.c -1
- M ./libsofia-sip-ua/su/su.h -1
- M ./libsofia-sip-ua/su/su_localinfo.c -4 +4
-
- * Fixed ipv6 side on libc replacement libsofia_sip_ua/su/inet_pton.c.
-
- M ./libsofia-sip-ua/su/inet_pton.c -20 +20
-
- * Removed ntv6 files from win32 port.
-
- M ./win32/Makefile.am -23 +13
-
- * Using win32 include files tpipv6.h and wspiapi.h provided by system.
-
- M ./win32/libsofia-sip-ua/libsofia_sip_ua.dsp -8
-
- * Using SU_HAVE_IN6 on win32, too.
-
- M ./libsofia-sip-ua/su/su.c -1 +1
- M ./libsofia-sip-ua/su/su.h -6 +6
- M ./libsofia-sip-ua/su/su_torture.c -1 +1
- M ./win32/config.h -3 +3
- M ./win32/su_configure_win32.h -2 +1
-
- * Added HAVE_SIGPIPE.
-
- M ./configure.ac +6
-
- * Removed Microsoft include file win32/wspiapi.h.
-
- R ./win32/wspiapi.h
-
- * Removed win32 tpipv6.h file.
-
- R ./win32/tpipv6.h
-
- * Fixed win32 socket handling problems in su/su_root_test and torture_su_port.c.
-
- M ./libsofia-sip-ua/su/su_root_test.c +5
- M ./libsofia-sip-ua/su/torture_su_port.c +4
-
- * Renamed SU_SOCKADDR_INADDR_ANY as SU_HAS_INADDR_ANY() in su/su.h.
-
- M ./libsofia-sip-ua/su/su.h -2 +4
-
- * Added "su" test programs to win32 port.
-
- * Fixed win32 config.h.
-
- M ./win32/config.h -3 +6
-
- * Added su test programs to win32 workspace.
-
- M ./win32/SofiaSIP.dsw -1 +166
-
- * Providing __func__ replacement in su/torture_su_port.c.
-
- M ./libsofia-sip-ua/su/torture_su_port.c -1 +7
-
- * Not using IN6 if it is not found by configure.
-
- M ./libsofia-sip-ua/su/su_torture.c -1 +2
-
- * Not using SIGPIPE if it is not found by configure.
-
- M ./libsofia-sip-ua/su/su_timer_test.c +2
-
- * Not using glib in su/su_test.c if it is not found by configure.
-
- M ./libsofia-sip-ua/su/su_test.c -2 +6
-
- * Added inet_pton() and inet_ntop() replacement functions.
-
- M ./libsofia-sip-ua/su/Makefile.am -1 +2
- M ./libsofia-sip-ua/su/inet_ntop.c -57 +30
- A ./libsofia-sip-ua/su/inet_pton.c
- M ./libsofia-sip-ua/su/su.h -11 +2
-
- * Removed ntv6 from include path of win32 port.
-
- M ./win32/libsofia-sip-ua/libsofia_sip_ua.dsp -6 +10
-
- * Removed ntv6 files.
-
- R ./libsofia-sip-ua/su/aton.c
- R ./libsofia-sip-ua/su/ntoa.c
-
-2005-10-31 Pekka Pessi
-
- * Fixed testcases not working with libc implementation.
-
- M ./libsofia-sip-ua/su/test_memmem.c -6 +6
-
- * Defining SU_DLL in su/su_config.h for non-WIN32 targets.
-
- M ./libsofia-sip-ua/su/su_config.h -1 +1
-
- * Removing libsofia-sip-ua/nea/nea_dll.h from dist, too.
-
- M ./libsofia-sip-ua/nea/Makefile.am -1 +1
-
- * Added strtoull.c, strcasestr.c and inet_ntop.c to distribution.
-
- M ./libsofia-sip-ua/su/Makefile.am -1 +1
-
- * Added inet_ntop() to libsofia-sip-ua/su
-
- A ./libsofia-sip-ua/su/inet_ntop.c
-
- * Not inlining attribute functions in tport/tport.c.
-
- M ./libsofia-sip-ua/tport/tport.c -4 +4
-
- * Updated _DLL linkage things.
- The DLL linkage macros SIP_DLL, NTA_DLL, etc. are now defined in win32-specific
- config.h file.
-
- M ./libsofia-sip-ua/bnf/bnf.h -4 +5
- M ./libsofia-sip-ua/http/http.h -9 +1
- M ./libsofia-sip-ua/http/http_dll.h -3 +3
- M ./libsofia-sip-ua/http/http_header.h -2
- M ./libsofia-sip-ua/http/http_status.h -1
- M ./libsofia-sip-ua/ipt/utf8.h -4 +6
- M ./libsofia-sip-ua/iptsec/auth_dll.h -3 +3
- M ./libsofia-sip-ua/msg/msg_dll.h -6 +6
- M ./libsofia-sip-ua/nea/nea.h -8 +8
- M ./libsofia-sip-ua/nta/nta_dll.h -3 +4
- M ./libsofia-sip-ua/nth/nth_tag.h -3 +3
- M ./libsofia-sip-ua/sdp/sdp.h -8
- M ./libsofia-sip-ua/sdp/sdp_tag.h -4 +3
- M ./libsofia-sip-ua/sip/sip_dll.h -5 +4
- M ./libsofia-sip-ua/su/su_config.h -7 +3
- M ./libsofia-sip-ua/tport/tport.h -9
- M ./libsofia-sip-ua/tport/tport_tag.h -3 +3
- M ./libsofia-sip-ua/url/url_dll.h -4 +3
-
- * Removed nea/nea_dll.h
-
- R ./libsofia-sip-ua/nea/nea_dll.h
-
- * Added prototype for strcasestr() replacement function.
-
- M ./libsofia-sip-ua/soa/soa_static.c +3
-
- * Added tests for strcasestr() replacement function.
-
- M ./libsofia-sip-ua/su/test_memmem.c -19 +148
-
- * Removed double const.
- VC98 does not support ANSI const.
-
- M ./libsofia-sip-ua/su/su_wait.h -3 +3
-
- * Fixed __func__ usage.
- VC98++ does not have __func__. Use innocent value instead.
-
- M ./libsofia-sip-ua/nua/nua_stack.h +2
- M ./libsofia-sip-ua/soa/soa.c +7
-
- * Fixed C99-ism in sdp/sdp_parse.c.
- A variable was declared in the middle of block.
-
- M ./libsofia-sip-ua/sdp/sdp_parse.c -4 +6
-
- * Fixed setsockopt() in tport/tport.c.
- Explicit (void *) cast for argument of setsockopt().
-
- M ./libsofia-sip-ua/tport/tport.c -2 +4
-
- * Added missing replacement functions.
-
- A ./libsofia-sip-ua/su/strcasestr.c
- A ./libsofia-sip-ua/su/strtoull.c
-
- * Using longlong instead of long long.
- longlong is defined in "config.h".
-
- M ./libsofia-sip-ua/sdp/sdp_parse.c +4
- M ./libsofia-sip-ua/sdp/sdp_print.c -1 +1
- M ./libsofia-sip-ua/soa/soa.c -2 +2
- M ./libsofia-sip-ua/su/tstdef.h -1 +1
-
- * Using su_seterrno() and su_errno().
- Not using directly errno in soa/soa.c and tport/tport.c.
-
- M ./libsofia-sip-ua/soa/soa.c -37 +38
- M ./libsofia-sip-ua/tport/tport.c -10 +10
-
- * Removed whoami from msg/msg_parser.awk.
- whoami is not used.
-
- M ./libsofia-sip-ua/msg/msg_parser.awk -1
-
-2005-10-27 Pekka Pessi
-
- * Added coverage files used by gcc 3.4.3 to MOSTLYCLEANFILES.
-
- M ./m4/sac-general.m4 -1 +1
-
-2005-10-21 Pekka Pessi
-
- * Fixed lib64 problem.
-
- M ./packages/sofia-sip.spec.in -6 +9
-
-2005-10-13 Pekka Pessi
-
- * Removed RCS/CVS Ids and dates from files in order to allow
- smoother darcs usage.
-
-2005-10-12 Pekka Pessi
-
- * Defining SU_HAVE_TAGSTACK.
-
- M ./libsofia-sip-ua/su/su_configure.h.in +3
- M ./m4/sac-su2.m4 +6
-
-2005-10-10 Pekka Pessi
-
- * Added --without-glib option, added SU_HAVE_GLIB in su_configure.h.
-
- M ./configure.ac -5
- M ./libsofia-sip-ua/su/Makefile.am +2
- M ./libsofia-sip-ua/su/su_configure.h.in +2
- M ./m4/sac-su2.m4 -1 +22
-
- * Added --output (and --help) options to coverage script.
-
- M ./libsofia-sip-ua/sofia.am -1 +1
- M ./scripts/coverage -2 +25
-
-2005-10-06 Pekka Pessi
-
- * Renamed options as sip-options, sip_date as sip-date.
-
- ./utils/options.c -> ./utils/sip-options.c
- ./utils/sip_date.c -> ./utils/sip-date.c
- M ./utils/Makefile.am -1 +1
-
- * Added all doc files.
-
- M ./packages/debian/control -2 +1
- M ./packages/debian/docs +3
- M ./packages/sofia-sip.spec.in -24 +22
-
- * Added a separate Makefile.am in packages.
-
- A ./COPYRIGHTS
- M ./Makefile.am -6 +2
- A ./packages/Makefile.am
-
- * Cleaned up output.
-
- M ./scripts/coverage -4 +8
-
- * Adding +x to all scripts.
-
- M ./autogen.sh +3
-
- * Added %{?dist} to release.
-
- M ./packages/sofia-sip.spec.in -1 +4
-
- * sofia-sip-ua.pc is in packages, too.
-
- M ./Makefile.am -1 +1
-
- * DIST_SUBDIR too deep in directory structure does not work.
-
- M ./configure.ac -4
- M ./libsofia-sip-ua/docs/Makefile.am -3 +21
- R ./libsofia-sip-ua/docs/pictures/Makefile.am
- M ./libsofia-sip-ua/sdp/Makefile.am -3 +11
- M ./libsofia-sip-ua/sdp/tests/Makefile.am -11
- M ./libsofia-sip-ua/sip/Makefile.am -3 +19
- M ./libsofia-sip-ua/sip/images/Makefile.am -5
- M ./libsofia-sip-ua/sip/tests/Makefile.am -55
-
- * Added packages subdirectory for package stuff.
-
- ./sofia-sip-ua.pc.in -> ./packages/sofia-sip-ua.pc.in
- ./sofia-sip.spec.in -> ./packages/sofia-sip.spec.in
- M ./Makefile.am -1 +2
- M ./configure.ac -2 +2
- A ./packages/
-
- * Added coverage and built-sources targets at top-level.
-
- M ./Makefile.am -2 +2
-
- * Fixed coverage target in libsofia-sip-ua/Makefile.am.
-
- M ./libsofia-sip-ua/Makefile.am -4 +6
- M ./libsofia-sip-ua/bnf/Makefile.am +2
- M ./libsofia-sip-ua/http/Makefile.am +2
- M ./libsofia-sip-ua/ipt/Makefile.am +2
- M ./libsofia-sip-ua/iptsec/Makefile.am +2
- M ./libsofia-sip-ua/msg/Makefile.am +2
- M ./libsofia-sip-ua/nea/Makefile.am +2
- M ./libsofia-sip-ua/nta/Makefile.am +2
- M ./libsofia-sip-ua/nth/Makefile.am +2
- M ./libsofia-sip-ua/nua/Makefile.am +2
- M ./libsofia-sip-ua/sdp/Makefile.am +2
- M ./libsofia-sip-ua/sip/Makefile.am +2
- M ./libsofia-sip-ua/soa/Makefile.am +2
- M ./libsofia-sip-ua/sresolv/Makefile.am +2
- M ./libsofia-sip-ua/stun/Makefile.am +2
- M ./libsofia-sip-ua/tport/Makefile.am +2
- M ./libsofia-sip-ua/url/Makefile.am +2
-
- * Removed su/su.mak.
-
- R ./libsofia-sip-ua/su/su.mak
-
- * Added EXPENSIVE_CHECKS.
-
- M ./configure.ac +1
- M ./docs/build_system.txt +11
- M ./m4/sac-general.m4 +13
-
- * Moved 'testutils' as 'scripts' in toplevel.
-
- ./libsofia-sip-ua/testutils -> ./scripts
- M ./libsofia-sip-ua/sofia.am -1 +1
-
- * Including only library sources in coverage output.
-
- M ./libsofia-sip-ua/su/Makefile.am -1 +1
-
- * coverage prints error if check is not made, doesn't depend on check.
-
- M ./libsofia-sip-ua/sofia.am -2 +2
-
- * Including all input files in output.
-
- M ./libsofia-sip-ua/testutils/coverage -20 +27
-
-2005-10-04 Pekka Pessi
-
- * Importing darcs-to-cvs-2005-10-04.
-
- * Using DIST_SUBDIRS when including dist-only dirs
-
- M ./Makefile.am -1 +2
- M ./libsofia-sip-ua/Makefile.am -1 +4
- M ./libsofia-sip-ua/docs/Makefile.am -3 +1
- M ./libsofia-sip-ua/sdp/Makefile.am -1 +1
- M ./libsofia-sip-ua/sip/Makefile.am -1 +1
-
-2005-10-03 Pekka Pessi
-
- * Importing darcs-to-cvs-2005-10-03.
-
- * Removed old .def files.
-
- R ./libsofia-sip-ua/ipt/ipt.def
- R ./libsofia-sip-ua/iptsec/iptsec.def
- R ./libsofia-sip-ua/msg/msg.def
- M ./libsofia-sip-ua/nta/nta.def -92
- M ./libsofia-sip-ua/nta/sl_utils.def -15
- R ./libsofia-sip-ua/nua/nua.def
- M ./libsofia-sip-ua/sdp/sdp.def -42
- R ./libsofia-sip-ua/sip/sip.def
- R ./libsofia-sip-ua/su/su.def
- M ./libsofia-sip-ua/tport/tport.def -21
-
- * Added automake conditional ENABLE_COVERAGE.
-
- M ./m4/sac-general.m4 +3
-
- * Added make target for calculating coverage.
-
- M ./libsofia-sip-ua/Makefile.am -1 +5
- M ./libsofia-sip-ua/sofia.am +5
- M ./libsofia-sip-ua/su/Makefile.am +2
- A ./libsofia-sip-ua/testutils/
- A ./libsofia-sip-ua/testutils/coverage
-
-2005-09-29 Pekka Pessi
-
- * Importing darcs-to-cvs-2005-09-29.
-
-2005-09-28 Pekka Pessi
-
- * Added nua improvements.
-
- M ./TODO +3
-
-2005-09-23 Pekka Pessi
-
- * darcs changes:
-
- Fri Sep 23 18:58:29 EEST 2005 Pekka.Pessi@nokia.com
- * Building msg_test class into msg_test library, use that in tport.
-
- M ./libsofia-sip-ua/msg/Makefile.am -5 +7
- M ./libsofia-sip-ua/tport/Makefile.am -6 +2
-
- Fri Sep 23 18:57:20 EEST 2005 Pekka.Pessi@nokia.com
- * Using --with-aclocal and ${ACLOCAL} to get correct aclocal
- install directory.
-
- M ./Makefile.am -2
- M ./configure.ac +11
- M ./sofia-sip.spec.in -1 +1
-
- Fri Sep 23 18:36:46 EEST 2005 Pekka.Pessi@nokia.com
- * Added win32 into dist.
-
- M ./Makefile.am -1 +1
- M ./configure.ac +1
- A ./win32/Makefile.am
-
- Fri Sep 23 18:18:30 EEST 2005 Pekka.Pessi@nokia.com
- * Added nta/{agent.pem,cafile.pem} to EXTRA_DIST
-
- M ./libsofia-sip-ua/nta/Makefile.am -1 +2
-
- Fri Sep 23 18:10:45 EEST 2005 Pekka.Pessi@nokia.com
- * Respect --without-sigcomp.
-
- M ./m4/sac-tport.m4 -1 +1
-
- * darcs changes --from-tag pessi-darcs-2:
-
- Fri Sep 23 17:46:00 EEST 2005 Pekka.Pessi@nokia.com
- tagged pessi-darcs-2
-
- Fri Sep 23 17:20:02 EEST 2005 Pekka.Pessi@nokia.com
- * Added msg_header_replace().
-
- M ./libsofia-sip-ua/msg/msg_header.h +4
- M ./libsofia-sip-ua/msg/msg_parser.c +85
- M ./libsofia-sip-ua/msg/msg_test.c +76
-
- Thu Sep 22 13:18:52 EEST 2005 Pekka.Pessi@nokia.com
- * Added nta_test project
-
- A ./win32/nta_test/
- A ./win32/nta_test/nta_test.dsp
-
- Thu Sep 22 13:17:53 EEST 2005 Pekka.Pessi@nokia.com
- * Added build directory for win32.
-
- A ./win32/SofiaSIP.dsw
- A ./win32/config.h
- A ./win32/libsofia-sip-ua/
- A ./win32/libsofia-sip-ua/libsofia_sip_ua.dsp
- A ./win32/libsofia-sip-ua/sofia-sip-ua.def
- A ./win32/su_configure_win32.h
- A ./win32/tpipv6.h
- A ./win32/unistd.h
- A ./win32/wspiapi.h
-
- Thu Sep 22 13:15:32 EEST 2005 Pekka.Pessi@nokia.com
- * Added win32 pthread library.
-
- A ./win32/pthread/
- A ./win32/pthread/ChangeLog
- A ./win32/pthread/md5.sum.txt
- A ./win32/pthread/pthread.def
- A ./win32/pthread/pthread.dll
- A ./win32/pthread/pthread.h
- A ./win32/pthread/pthread.lib
- A ./win32/pthread/sched.h
- A ./win32/pthread/semaphore.h
-
- Thu Sep 22 13:13:03 EEST 2005 Pekka.Pessi@nokia.com
- * Added ntv6 library.
-
- A ./win32/
- A ./win32/ntv6/
- A ./win32/ntv6/include/
- A ./win32/ntv6/include/icmp6.h
- A ./win32/ntv6/include/ip6.h
- A ./win32/ntv6/include/ip6addr.h
- A ./win32/ntv6/include/ip6exp.h
- A ./win32/ntv6/include/ipsec.h
- A ./win32/ntv6/include/ipv6.h
- A ./win32/ntv6/include/ntddip6.h
- A ./win32/ntv6/include/ntddnapt.h
- A ./win32/ntv6/include/ntddtcp.h
- A ./win32/ntv6/include/packoff.h
- A ./win32/ntv6/include/packon.h
- A ./win32/ntv6/include/tcp6info.h
- A ./win32/ntv6/include/tcpinfo.h
- A ./win32/ntv6/include/tdi.h
- A ./win32/ntv6/include/tdistat.h
- A ./win32/ntv6/include/ws2ip6.h
- A ./win32/ntv6/include/ws2tcpip-msr.h
- A ./win32/ntv6/lib/
- A ./win32/ntv6/lib/wship6.lib
-
- Tue Sep 20 12:51:58 EEST 2005 Pekka.Pessi@nokia.com
- * Fixed typo.
-
- M ./libsofia-sip-ua/soa/soa.docs -1 +1
-
- Tue Sep 20 12:51:41 EEST 2005 Pekka.Pessi@nokia.com
- * Added SIPS_PORT()
-
- M ./libsofia-sip-ua/sip/sip_header.h +3
-
- Mon Sep 19 20:12:33 EEST 2005 Pekka.Pessi@nokia.com
- * Updated. Added rules for ignoring SDP. corrected some
-
- M ./libsofia-sip-ua/soa/soa.docs -8 +18
-
- Fri Sep 16 10:23:14 EEST 2005 Pekka.Pessi@nokia.com
- * Parsing URI along with DNS entries in subjectAltName.
-
- M ./libsofia-sip-ua/tport/tport_tls.c -5 +12
-
- Fri Sep 16 10:22:39 EEST 2005 Pekka.Pessi@nokia.com
- * Not requiring client to provide its certificate.
-
- M ./libsofia-sip-ua/tport/tport_tls.c -1 +1
-
- Fri Sep 16 10:21:56 EEST 2005 Pekka.Pessi@nokia.com
- * Removed merge artifact.
-
- M ./libsofia-sip-ua/tport/tport.c -7
-
- Fri Sep 16 10:21:32 EEST 2005 Pekka.Pessi@nokia.com
- * Fixed NAPTR service fields for SIPS/TLS and SIP/SCTP.
-
- M ./libsofia-sip-ua/nta/nta.c -2 +2
-
- Thu Sep 15 09:57:38 EEST 2005 Pekka.Pessi@nokia.com
- * Included m4 files in devel rpm, too.
-
- M ./sofia-sip.spec.in +4
-
- Thu Sep 15 09:56:25 EEST 2005 Pekka.Pessi@nokia.com
- * Added --with-sigcomp to tport.
-
- M ./m4/sac-tport.m4 +21
-
- Thu Sep 15 09:55:57 EEST 2005 Pekka.Pessi@nokia.com
- * Moved SAC_GNU_SOURCE into sac-general.m4
-
- M ./m4/sac-general.m4 +11
- M ./m4/sac-su.m4 -10
-
- Thu Sep 15 09:55:26 EEST 2005 Pekka.Pessi@nokia.com
- * Fixed debugging output in nua_stack.c.
-
- M ./libsofia-sip-ua/nua/nua_stack.c -3 +3
-
- Thu Sep 15 09:53:11 EEST 2005 Pekka.Pessi@nokia.com
- * Installing m4data into m4dir
-
- M ./Makefile.am +4
-
-2005-09-09 Pekka Pessi
-
- * darcs changes --from-tag pessi-darcs-1:
-
- Fri Sep 9 11:38:44 EEST 2005 Pekka.Pessi@nokia.com
- * Added --with sigcomp.
-
- M ./sofia-sip.spec.in +4
-
- Fri Sep 9 00:33:36 EEST 2005 Pekka.Pessi@nokia.com
- * Including *.h.in files in devel package.
-
- M ./sofia-sip.spec.in +1
-
- Thu Sep 8 18:52:06 EEST 2005 Pekka.Pessi@nokia.com
- * New version.
-
- M ./configure.ac -1 +1
-
- Thu Sep 8 18:51:27 EEST 2005 Pekka.Pessi@nokia.com
- * Keeping section headers in configure script.
-
- M ./configure.ac -17 +16
-
- Thu Sep 8 18:26:35 EEST 2005 Pekka.Pessi@nokia.com
- * Using autoconf to figure out 64-bit types. Avoid off_t and
- 64-bit constants.
-
- M ./configure.ac +6
- M ./libsofia-sip-ua/nta/sl_read_payload.c -1 +1
- M ./libsofia-sip-ua/nua/nua_stack.c -6 +5
- M ./libsofia-sip-ua/sdp/sdp_parse.c -3 +2
- M ./libsofia-sip-ua/sdp/sdp_print.c -5 +5
- M ./libsofia-sip-ua/sip/validator.c -18 +18
- M ./libsofia-sip-ua/soa/soa.c -3 +4
- M ./libsofia-sip-ua/su/su_time.c -1 +1
- M ./libsofia-sip-ua/su/tstdef.h -3 +3
-
- Thu Sep 8 18:17:58 EEST 2005 Pekka.Pessi@nokia.com
- * Using RETSIGTYPE.
-
- M ./configure.ac -3 +4
- M ./libsofia-sip-ua/nth/http-server.c -2 +2
- M ./libsofia-sip-ua/soa/test_soa.c -1 +3
- M ./libsofia-sip-ua/su/su_test.c -1 +1
- M ./libsofia-sip-ua/su/su_timer_test.c -1 +1
-
- Thu Sep 8 18:02:14 EEST 2005 Pekka.Pessi@nokia.com
- * Checking for netinet/tcp.h, too.
-
- M ./m4/sac-tport.m4 +2
-
-2005-09-08 Kai Vehmanen
-
- * Makefile.am: Added requirement for automake-1.6.1
- or newer.
-
- * autogen.sh: Fixed interop problem with older automake
- versions.
-
- * configure.ac: Do not compile STUN if OpenSSL is not
- available.
-
-2005-07-20 Pekka Pessi
-
- * Makefile.am: Added doxygen target.
diff --git a/libs/sofia-sip/Makefile.am b/libs/sofia-sip/Makefile.am
deleted file mode 100644
index 9ef3ac8a5b..0000000000
--- a/libs/sofia-sip/Makefile.am
+++ /dev/null
@@ -1,85 +0,0 @@
-#
-# Makefile.am for sofia-sip package
-#
-# Copyright (C) 2005,2006 Nokia Corporation
-# Contact: Pekka Pessi
-# Licensed under LGPL. See file COPYING.
-
-AUTOMAKE_OPTIONS = foreign 1.7
-
-SUBDIRS = libsofia-sip-ua $(GLIB_SUBDIRS) packages tests s2check utils
-DIST_SUBDIRS = s2check libsofia-sip-ua libsofia-sip-ua-glib utils packages \
- tests win32 open_c
-
-# note: when glib devel files are not available, make should not
-# enter the libsofia-sip-ua-glib subdir at all
-if HAVE_GLIB
-GLIB_SUBDIRS = libsofia-sip-ua-glib
-endif
-
-PACKAGE = @PACKAGE@
-VERSION = @VERSION@
-
-EXTRA_DIST = AUTHORS COPYING COPYRIGHTS ChangeLog.ext-trees \
- README README.developers RELEASE TODO
-
-ACLOCAL_AMFLAGS = -I m4
-
-EXTRA_DIST += m4/sac-general.m4 m4/sac-coverage.m4 \
- m4/sac-su2.m4 m4/sac-tport.m4 m4/sac-openssl.m4
-
-EXTRA_DIST += docs/build_system.txt \
- docs/devel_platform_notes.txt \
- docs/release_management.txt
-
-EXTRA_DIST += scripts/lcov-report scripts/uncovered \
- scripts/hide_emails.sh
-
-dist_man_MANS =
-# man/man1/sip-date.1 man/man1/sip-options.1 \
-# man/man1/localinfo.1 man/man1/addrinfo.1 \
-# man/man1/stunc.1 man/man1/sip-dig.1
-
-noop:
- @echo ok
-
-$(dist_man_MANS): manpages
-
-manpages:
- -mkdir -p man man/man1 2> /dev/null
-if HAVE_DOXYGEN
- $(MAKE) $(AM_MAKEFLAGS) -C libsofia-sip-ua/docs built-sources
- @echo 'cd utils && $(DOXYGEN)'
- @cd utils && \
- { exec 3>&1 1>&2; { $(DOXYGEN) 2>&1; echo $$? >& 3 ;} | \
- fgrep -v 'Warning: explicit' ;} | { read x; exit $$x ;}
- @rm -f man/man1/_*.1
-else
- -touch $(dist_man_MANS)
-endif
-
-CLEANFILES = $(dist_man_MANS)
-
-built-sources clean-built-sources valcheck doxygen:
- @failcom='exit 1'; for f in x $$MAKEFLAGS; do \
- case $$f in *=* | --[!k]*);; *k*) failcom='fail=yes';; esac; done; \
- for i in libsofia-sip-ua $(GLIB_SUBDIRS) ; do \
- (cd $$i && $(MAKE) $(AM_MAKEFLAGS) $@) || eval $$failcom; \
- done ; \
- test -z "$$fail"
-
-PHONY = built-sources clean-built-sources valcheck doxygen manpages
-
-# s2check depends on generated headers within libsofia-sip-ua
-all check: built-sources
-
-if HAVE_LCOV
-
-include $(top_srcdir)/rules/lcov.am
-
-lcov-upload: lcov
- rsync -rvz -e ssh --delete lcov/* sofia-sip.org:/var/www/coverage/lcov/
-
-endif
-
-.PHONY: $(PHONY)
diff --git a/libs/sofia-sip/README b/libs/sofia-sip/README
deleted file mode 100644
index a503fb23a9..0000000000
--- a/libs/sofia-sip/README
+++ /dev/null
@@ -1,66 +0,0 @@
-=============================================================
-README / Sofia-SIP - RFC3261 compliant SIP User-Agent library
-=============================================================
-
-Introduction
-------------
-
-Sofia-SIP is an open-source SIP User-Agent library, compliant
-with the IETF RFC3261 specification. It can be used as
-a building block for SIP client software for uses such as VoIP,
-IM, and many other real-time and person-to-person communication
-services. The primary target platform for Sofia-SIP is
-GNU/Linux. Sofia-SIP is based on a SIP stack developed at
-the Nokia Research Center. Sofia-SIP is licensed under the LGPL.
-
-
-Quick start
------------
-
-Sofia-SIP uses the GNU autotools, so building procedure
-is the usual:
-
-sh> sh autogen.sh (if building from darcs)
-sh> ./configure
-sh> make
-sh> make install
-
-See also 'docs/devel_platform_notes.txt' for notes on compiling
-Sofia-SIP in different environments.
-
-See the "options-client-example" (available using darcs at
-http://sofia-sip.org/repos/options-client-example/ or with CVS as
-a module in Sofia-SIP CVS tree) for an example of a small app that
-is utilizing Sofia-SIP, and specifically the libsofia-sip-ua
-library component.
-
-There are also multiple example clients under
-the "sofia-sip/utils" directory:
-
-- sip-options, query using SIP OPTIONS method
-- sip-date, SIP date printer/parser
-
-The Sofia-SIP su submodule also provides some small utilities:
-
-- addrinfo (libsofia-sip-ua/su), resolve host names
-- localinfo (libsofia-sip-ua/su), prints information about
- local network interfaces
-
-References
-----------
-
-Project website:
-- http://sofia-sip.sourceforge.net
-- http://www.sourceforge.net/projects/sofia-sip
-
-Mailing list:
-- http://sourceforge.net/mail/?group_id=143636
-
-Version control repositories:
-- see the project website (link above)
-
-Licensing
----------
-
-Sofia-SIP is licensed under terms of the GNU LGPL.
-See the file "COPYING" for more information.
diff --git a/libs/sofia-sip/README.developers b/libs/sofia-sip/README.developers
deleted file mode 100644
index 611c7bc2f8..0000000000
--- a/libs/sofia-sip/README.developers
+++ /dev/null
@@ -1,134 +0,0 @@
-===============================================================
-README.developers - Sofia-SIP development practices
-===============================================================
-
-Introduction
-============
-
-This file is a collection of practices and rules for Sofia-SIP
-development. If you have questions, or would like to make
-changes, raise the issue on sofia-sip-devel (see
-http://lists.sourceforge.net/lists/listinfo/sofia-sip-devel ).
-
-
-Important files for developers
-==============================
-
-AUTHORS
- List of contributors. When contributing new code, add
- yourself to AUTHORS, and also remember to update the
- per source file copyright statements.
-
-COPYRIGHTS
- List of licenses and related copyright statements. While
- majority of Sofia-SIP is licensed under LGPL, there are
- a few files with different, but LGPL compatible, licensing
- terms.
-
-README.developers
- This file.
-
-TODO
- Not in active use yet.
-
-/ChangeLog files
- All non-trivial changes to the source code should
- be documented in the ChangeLog files. See also the
- top-level ChangeLog.
-
-
-Version numbering
-=================
-
-Package version
----------------
-
-For public releases, the package version is:
- vMAJOR.MINOR.REVISION, where MINOR is even
-
-For development releases and snaphots the version is one of:
- vMAJOR.MINOR.REVISION, where minor is odd
- vMAJOR.MINOR.REVISION.YEAR.MONTH.DAY, where minor is odd
-
-For all releases, the version should be changed in configure.ac
-and committed to Darcs/CVS before making the release package. The person
-doing the release is responsible for updating the version number.
-
-Library interface versions
---------------------------
-
-Sofia-SIP libraries utilize libtool interface versioning. See
-
- - http://www.gnu.org/software/libtool/manual.html#Versioning
- - http://www.gnu.org/software/libtool/manual.html#Using-Automake
-
-The interface versions are set in top-level 'configure.ac' file.
-Additionally, the SONAME version (CURRENT-AGE) is set in the
-same place. These version numbers are available for use as autoconf
-variables (see the library 'Makefile.am' files and
-'packages/sofia-sip.spec.in').
-
-All changes to the library versions should be marked to the
-appropriate library 'ChangeLog' file. The library version should
-be changed at the same time as the first interface change is
-committed since the previous release. The interface version is
-frozen (should be marked to the 'ChangeLog' file) at the time
-the next release is tagged (in other words, intra-release changes
-need not be tracked with libtool versions).
-
-The goal should always be to avoid breaking the API/ABIs until
-absolutely necessary. Interfaces clearly marked as private can
-be changed without change to library interface version, but
-otherwise all public functions, types, variables and definitions
-fall under interface change control.
-
-
-Version control tags
-====================
-
-Tagging releases and snapshots
-------------------------------
-
-- source repository (*)
- - master Darcs tree at:
- http://sofia-sip.org/repos/sofia-sip
- - CVS tree (only used to track major releases) at:
- http://sourceforge.net/cvs/?group_id=143636
-- tags: rel-sofia-sip-x_y_z
- - stable and development releases (matches release
- version sofia-sip-x.y.z)
-- tags: snapshot_rel_YEARMMDD
- - snapshot releases at
- http://sofia-sip.sourceforge.net/snapshots/
-
-Notes (*):
- - Information about Darcs:
- http://abridgegame.org/darcs/
- http://lwn.net/Articles/110516/
-
-
-Sending patches
-===============
-
-People without Darcs access
----------------------------
-
-Send your patches to sofia-sip-devel. Someone from the
-development team (see AUTHORS) will handle the patch.
-
-People with Darcs access
-------------------------
-
-Trivial changes can be committed without review. For non-trivial
-changes, you should first send a proposal to sofia-sip-devel and
-wait for comments. There are no strict approval rules so use of
-common sense is recommended. ;)
-
-Tips for making patches
------------------------
-
-- test your patch on a clean checkout from version control system
-- remember to check for updates before pushing your changes
- to the master repository
-
-
diff --git a/libs/sofia-sip/RELEASE b/libs/sofia-sip/RELEASE
deleted file mode 100644
index 8d9d85ef60..0000000000
--- a/libs/sofia-sip/RELEASE
+++ /dev/null
@@ -1,108 +0,0 @@
-==============================================
-Release notes for current version of Sofia-SIP
-==============================================
-
-Changes since last release
---------------------------
-
-
-
-Bugs in blaa and foo have been fixed. The stack now supports
-use of foobar...
-
-API/ABI changes and versioning
-------------------------------
-
-
-
-**template**: New features in API are marked with Doxytag macro @VERSION_1_XX_X.
-
-libsofia-sip-ua:
-- **template**: Added foobar() function (sofia-sip/foobar.h).
-- Timing out CANCELed INVITE client transactions is now done with timer D.
- Previously, the INVITE client transactions were restarted instead of
- timing out under certain circumstances.
-- An INVITE transaction that has been timed out with stack timer C is now
- CANCELed automatically. Previously, such the INVITE client transactions
- were restarted instead of timing out under certain circumstances.
-- Timing out forked INVITE client transactions is now done by stack.
- The stack generates a 408 response to each INVITE transaction fork that
- has not received a final response within 32 seconds (or 64 times SIP T1)
- after first final response to the INVITE was received.
-- The mp_len type was changed from usize_t to unsigned.
- The change is binary-incompatible on 64-bit platforms when compiled with
- the configure opetion --disable-size-compat
-- This release is ABI/API compatible with applications linked against
- any 1.12.x release. However, applications built against this release won't
- work against an older library. The ABI has been tested with the nua module
- unit test (test_nua) built against original 1.12.0 release.
-
-Removed globals which should have been static in first place:
- - su_t64_to_time()
- - mutex_trylocker()
- - su_port_set_system_preferences()
- - t_null_next(), t_null_move(), t_null_dup(), t_null_copy(), t_null_find()
- - t_skip_next(), t_skip_move(), t_skip_len(), t_skip_dup(), t_skip_filter()
- - t_next_next(), t_next_move(), t_next_len(), t_next_dup(), t_next_filter()
- - t_filter_with(), t_any_filter()
- - sres_record_class(), urandom
- - u2s_alloc()
-
-libsofia-sip-ua-glib:
-- No ABI/API changes, compatible with 1.12.0. Note, libsofia-sip-ua-glib
- interface is not considered stable and may change in a future 1.12.x
- release.
-
-Contributors to this release
-----------------------------
-
-Jarod Neuner
-Michael Jerris
-
-
-- **template**: First Surname (patch to nua/soa/msg)
-
-See the AUTHORS file in the distribution package.
-
-Notes on new features
----------------------
-
-Jarod Neuner has improved certificate validation facilities of TLS
-transport. Significant changes include:
-
-1) The TLS handshake is no longer handled via transparent negotiation.
-Certain static methods from tport.c were exposed to make this possible.
-
-2) Certificate subjects are copied out of the peer certificate before
-the first message is sent. The next patch will include code that allows
-the stack to reject messages sent to a untrusted peer.
-
-3) The tport module can now report whether a secondary has a verified
-certificate chain and the subjects of the peer certificate.
-
-Bugs fixed in this release
---------------------------
-
-< notable bugs fixed in this release
- - check the sf.net bug tracker; see closed bugs,
- sorted by closing date
- - other bugs as fixed in CVS/darcs
-/>
-
-- **template**: #9499652 sf.net bug item title
-- Accept multiple WWW-Authenticate and Authorization headers.
- Bug reported by Andrew Rechenberg.
diff --git a/libs/sofia-sip/RELEASE.template b/libs/sofia-sip/RELEASE.template
deleted file mode 100644
index da6bf2f0ea..0000000000
--- a/libs/sofia-sip/RELEASE.template
+++ /dev/null
@@ -1,73 +0,0 @@
-==============================================
-Release notes for current version of Sofia-SIP
-==============================================
-
-Changes since last release
---------------------------
-
-
-
-Bugs in blaa and foo have been fixed. The stack now supports
-use of foobar...
-
-API/ABI changes and versioning
-------------------------------
-
-
-
-**template**: New features in API are marked with Doxytag macro @VERSION_1_XX_X.
-
-libsofia-sip-ua:
-- **template**: Added foobar() function (sofia-sip/foobar.h).
-- This release is ABI/API compatible with applications linked against
- any 1.12.x release. However, applications built against this release won't
- work against an older library. The ABI has been tested with the nua module
- unit test (test_nua) built against original 1.12.0 release.
-
-libsofia-sip-ua-glib:
-- No ABI/API changes, compatible with 1.12.0. Note, libsofia-sip-ua-glib
- interface is not considered stable and may change in a future 1.12.x
- release.
-
-Contributors to this release
-----------------------------
-
-
-
-- **template**: First Surname (patch to nua/soa/msg)
-
-See the AUTHORS file in the distribution package.
-
-Notes on new features
----------------------
-
-
-
-Bugs fixed in this release
---------------------------
-
-< notable bugs fixed in this release
- - check the sf.net bug tracker; see closed bugs,
- sorted by closing date
- - other bugs as fixed in CVS/darcs
-/>
-
-- **template**: #9499652 sf.net bug item title
diff --git a/libs/sofia-sip/TODO b/libs/sofia-sip/TODO
deleted file mode 100644
index 970f6733e2..0000000000
--- a/libs/sofia-sip/TODO
+++ /dev/null
@@ -1,29 +0,0 @@
-===============================================================
-TODO / Sofia-SIP
-===============================================================
-
-version: 20060907-2
-
-Release roadmap
----------------
-
-1.11/1.12 series
- - first version of the new nua+soa API
- - nua_respond_nit() (non-INVITEs)
- - nua_set_hparams()/nua_get_hparams() [DONE]
- - session object ownership changes [DONE]
- - allow multiple registrations (lines) and selecting
- service route, outbound proxy, and transport independently
- for each handle; NUTAG_IDENTITY
- - doxygen documentation updates [DONE]
- - rpm and dpkg packaging [DONE]
- - NAT work: STUN fixes (DNS support) [DONE]
-
-not roadmapped:
- - expand the call-state-change mechanism
- - update http headers TE, Cookie, Set-Cookie
-
-2.0 serias
- - a verified stable API (1.12 is the current stable candidate)
-
-See README.developers for information about versioning.
diff --git a/libs/sofia-sip/acinclude.m4 b/libs/sofia-sip/acinclude.m4
deleted file mode 100644
index c1ea4f9214..0000000000
--- a/libs/sofia-sip/acinclude.m4
+++ /dev/null
@@ -1,7 +0,0 @@
-m4_include([m4/sac-pkg-config.m4])
-m4_include([m4/sac-general.m4])
-m4_include([m4/sac-openssl.m4])
-m4_include([m4/sac-su2.m4])
-m4_include([m4/sac-su.m4])
-m4_include([m4/sac-tport.m4])
-m4_include([m4/sac-coverage.m4])
diff --git a/libs/sofia-sip/autoconf-all.cmd b/libs/sofia-sip/autoconf-all.cmd
deleted file mode 100644
index e37cec7e60..0000000000
--- a/libs/sofia-sip/autoconf-all.cmd
+++ /dev/null
@@ -1,5 +0,0 @@
-@setlocal
-
-@cd open_c
-@call autogen.cmd
-
diff --git a/libs/sofia-sip/autogen.sh b/libs/sofia-sip/autogen.sh
deleted file mode 100755
index e8fcf2c6a8..0000000000
--- a/libs/sofia-sip/autogen.sh
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-
-set -x
-AUTOMAKE=${AUTOMAKE:-automake-1.9} ACLOCAL=${ACLOCAL:-aclocal-1.9}
-export AUTOMAKE ACLOCAL
-${AUTORECONF:-autoreconf} -i
-find . \( -name 'run*' -o -name '*.sh' \) -a -type f | xargs chmod +x
-chmod +x scripts/*
diff --git a/libs/sofia-sip/configure.ac b/libs/sofia-sip/configure.ac
deleted file mode 100644
index 9542208cb6..0000000000
--- a/libs/sofia-sip/configure.ac
+++ /dev/null
@@ -1,389 +0,0 @@
-dnl Copyright (C) 2005-2006 Nokia Corporation
-dnl Contact: Pekka Pessi
-dnl Licensed under LGPL. See file COPYING.
-
-dnl
-dnl ref: http://www.gnu.org/software/autoconf/manual/autoconf.info.gz
-dnl
-AC_PREREQ(2.57)
-
-dnl information on the package
-dnl ---------------------------
-
-dnl update both the version for AC_INIT and the LIBSOFIA_SIP_UA_MAJOR_MINOR
-AC_INIT([sofia-sip], [1.12.10devel])
-
-CFLAGS="$CFLAGS $CONFIGURE_CFLAGS"
-CXXFLAGS="$CXXFLAGS $CONFIGURE_CXXFLAGS"
-LDFLAGS="$LDFLAGS $CONFIGURE_LDFLAGS"
-
-AC_CONFIG_SRCDIR([libsofia-sip-ua/sip/sofia-sip/sip.h])
-AC_CONFIG_MACRO_DIR([m4])
-AC_SUBST(VER_LIBSOFIA_SIP_UA_MAJOR_MINOR, [1.12])
-dnl Includedir specific to this sofia version
-AC_SUBST(include_sofiadir, '${includedir}/sofia-sip-1.12')
-AC_SUBST(LIBVER_SOFIA_SIP_UA_CUR, [6])
-AC_SUBST(LIBVER_SOFIA_SIP_UA_REV, [0])
-AC_SUBST(LIBVER_SOFIA_SIP_UA_AGE, [6])
-AC_SUBST(LIBVER_SOFIA_SIP_UA_SOVER, [0]) # CUR-AGE
-AC_SUBST(LIBVER_SOFIA_SIP_UA_GLIB_CUR, [3])
-AC_SUBST(LIBVER_SOFIA_SIP_UA_GLIB_REV, [0])
-AC_SUBST(LIBVER_SOFIA_SIP_UA_GLIB_AGE, [0])
-AC_SUBST(LIBVER_SOFIA_SIP_UA_GLIB_SOVER, [3]) # CUR-AGE
-
-# dnl calls AC_CANONICAL_ macros that are required by AM_INIT_AUTOMAKE
-SAC_CANONICAL_SYSTEM_CACHE_CHECK
-
-AM_INIT_AUTOMAKE
-
-AC_CONFIG_HEADERS([config.h])
-
-AC_GNU_SOURCE
-
-CFLAGS="$CFLAGS -DSU_DEBUG=0 $DEBUG_CFLAGS"
-### checks for programs
-### -------------------
-AC_LANG([C])
-AC_CHECK_COMPILATION_ENVIRONMENT
-
-SAC_TOOL_CC
-AC_PROG_INSTALL
-AC_PROG_CPP
-AC_CHECK_PROG(ETAGS, etags, etags, echo)
-AC_CHECK_TOOL(AR, ar, ar)
-AC_CHECK_TOOL(LD, ld, ld)
-AC_PROG_LIBTOOL
-AM_PROG_CC_C_O
-
-SAC_ENABLE_NDEBUG
-SAC_ENABLE_EXPENSIVE_CHECKS
-
-dnl Add parameters for aclocal
-AC_SUBST(ACLOCAL_AMFLAGS, "-I m4")
-
-AC_ARG_WITH(doxygen,
-[ --with-doxygen[[=CMD]] use doxygen command CMD [[doxygen]]],[
-case $enable_doxygen in
-yes ) doxygen=doxygen ;;
-no ) doxygen=echo ;;
-esac], doxygen=doxygen)
-
-AC_CHECK_PROG([DOXYGEN], [doxygen], [$doxygen], [echo])
-AM_CONDITIONAL([HAVE_DOXYGEN], [test $DOXYGEN != echo])
-
-AC_DEFUN([AX_COMPILER_VENDOR],
-[
-AC_CACHE_CHECK([for _AC_LANG compiler vendor], ax_cv_[]_AC_LANG_ABBREV[]_compiler_vendor,
- [ax_cv_[]_AC_LANG_ABBREV[]_compiler_vendor=unknown
- # note: don't check for gcc first since some other compilers define __GNUC__
- for ventest in intel:__ICC,__ECC,__INTEL_COMPILER ibm:__xlc__,__xlC__,__IBMC__,__IBMCPP__ gnu:__GNUC__ sun:__SUNPRO_C,__SUNPRO_CC hp:__HP_cc,__HP_aCC dec:__DECC,__DECCXX,__DECC_VER,__DECCXX_VER borland:__BORLANDC__,__TURBOC__ comeau:__COMO__ cray:_CRAYC kai:__KCC lcc:__LCC__ metrowerks:__MWERKS__ sgi:__sgi,sgi microsoft:_MSC_VER watcom:__WATCOMC__ portland:__PGI; do
- vencpp="defined("`echo $ventest | cut -d: -f2 | sed 's/,/) || defined(/g'`")"
- AC_COMPILE_IFELSE([AC_LANG_PROGRAM(,[
-#if !($vencpp)
- thisisanerror;
-#endif
-])], [ax_cv_]_AC_LANG_ABBREV[_compiler_vendor=`echo $ventest | cut -d: -f1`; break])
- done
- ])
-])
-
-AX_COMPILER_VENDOR
-
-# Enable 64 bit build
-AC_ARG_ENABLE(64,
-[AC_HELP_STRING([--enable-64],[build with 64 bit support])],[enable_64="$enable_64"],[enable_64="no"])
-
-if test "x${ax_cv_c_compiler_vendor}" = "xsun" ; then
- if test "${enable_64}" = "yes"; then
- SOFIA_CFLAGS="$SOFIA_CFLAGS -m64"
- LDFLAGS="-m64 -Wl,-64"
- export PKG_CONFIG_PATH=/usr/lib/64/pkgconfig
- fi
-fi
-
-SOFIA_PLAT_CFLAGS=
-# openbsd seems to not define NULL as a void pointer, I blame standards by committee for this.
-# This is a dirty hack, but shuts up all the warnings
-case "$host" in
- *-openbsd*) SOFIA_PLAT_CFLAGS="-DNULL='(void *) 0L'";;
- *) ;;
-esac
-
-AC_SUBST(SOFIA_PLAT_CFLAGS, $SOFIA_PLAT_CFLAGS)
-
-
-### checks for header files
-### -----------------------
-AC_HEADER_STDC
-
-### checks for declarations
-### -----------------------
-
-### checks for types
-### ----------------
-
-AC_TYPE_SIGNAL
-AC_TYPE_LONGLONG
-
-dnl
-dnl Define HAVE_C99_FORMAT to 1 if the formatted IO functions (printf/scanf
-dnl et.al.) support the C99 'size specifiers', namely ll, hh, j, z, t
-dnl (representing long long int, char, intmax_t, size_t, ptrdiff_t). Some C
-dnl compilers supported these specifiers prior to C99 as an extension.
-dnl
-AC_CACHE_CHECK([whether IO functions support C99 size specifiers],
-[ac_cv_c_c99_format],[
-
-ac_cv_c_c99_format=yes
-
-AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT],
-[[char buf[64];
- if (sprintf(buf, "%lld%hhd%jd%zd%td", (long long int)1, (char)2, (intmax_t)3, (size_t)4, (ptrdiff_t)5) != 5)
- exit(1);
- else if (strcmp(buf, "12345"))
- exit(2);]])],
- [ac_cv_c_c99_format=yes],
- [ac_cv_c_c99_format=no],
- [ac_cv_c_c99_format=yes])
-])
-
-if test $ac_cv_c_c99_format = yes; then
- AC_DEFINE([HAVE_C99_FORMAT], [1], [Define to 1 if printf supports C99 size specifiers])dnl
-
- AC_DEFINE([LLU], ["%llu"], [Format (%llu) for unsigned long long])dnl
- AC_DEFINE([LLI], ["%lli"], [Format (%lli) for long long])dnl
- AC_DEFINE([LLX], ["%llx"], [Format (%llx) for long long hex])dnl
- AC_DEFINE([MOD_ZD], ["%zd"], [Define printf() modifier for ssize_t])dnl
- AC_DEFINE([MOD_ZU], ["%zu"], [Define printf() modifier for size_t])dnl
-
-else
-
-AC_CACHE_CHECK([whether IO functions support size specifier for long long],
-[ac_cv_c_ll_format],[
-
-ac_cv_c_ll_format=yes
-
-AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT],
-[[char buf[64];
- if (sprintf(buf, "%lld", (long long int)1) != 1)
- exit(1);
- else if (strcmp(buf, "1"))
- exit(2);]])],
- [ac_cv_c_ll_format=yes],
- [ac_cv_c_ll_format=no],
- [ac_cv_c_ll_format=yes])
-])
-
-if test $ac_cv_c_ll_format = yes; then
- AC_DEFINE([LLU], ["%llu"], [Format (%llu) for unsigned long long])dnl
- AC_DEFINE([LLI], ["%lli"], [Format (%lli) for long long])dnl
- AC_DEFINE([LLX], ["%llx"], [Format (%llx) for long long hex])dnl
-else
- AC_MSG_ERROR("printf cannot handle 64-bit integers")
-fi
-
-AC_CACHE_CHECK([whether IO functions support size specifier for size_t],
-[ac_cv_c_z_format],[
-
-ac_cv_c_z_format=yes
-
-AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT],
-[[char buf[64];
- if (sprintf(buf, "%zd", (size_t)1) != 1)
- exit(1);
- else if (strcmp(buf, "1"))
- exit(2);]])],
- [ac_cv_c_z_format=yes],
- [ac_cv_c_z_format=no],
- [ac_cv_c_z_format=yes])
-])
-
-if test $ac_cv_c_z_format = yes; then
- AC_DEFINE([MOD_ZD], ["%ld"], [Define printf() modifier for ssize_t])dnl
- AC_DEFINE([MOD_ZU], ["%lu"], [Define printf() modifier for size_t])dnl
-else
- dnl Cross fingers
- AC_MSG_WARN("printf cannot handle size_t, using long instead")
- AC_DEFINE([MOD_ZD], ["%ld"], [Define printf() modifier for ssize_t])dnl
- AC_DEFINE([MOD_ZU], ["%lu"], [Define printf() modifier for size_t])dnl
-fi
-
-fi
-
-### checks for structures
-### ---------------------
-
-### checks for typedefs, structures, and compiler characteristics.
-### --------------------------------------------------------------
-AC_C_CONST
-AC_C_INLINE
-AC_C_INLINE_DEFINE
-AC_C_BIGENDIAN(AC_DEFINE([SWITCH_BYTE_ORDER],__BIG_ENDIAN,[Big Endian]),AC_DEFINE([SWITCH_BYTE_ORDER],__LITTLE_ENDIAN,[Little Endian]))
-
-AC_C_VAR_FUNC
-AC_C_MACRO_FUNCTION
-AC_C_KEYWORD_STRUCT
-
-AC_HEADER_TIME
-AC_TYPE_SIZE_T
-
-AC_SYS_SA_LEN
-
-
-
-### checks for library functions
-### ----------------------------
-
-### checks for system services
-### --------------------------
-
-AC_DEV_URANDOM
-
-### checks for libraries
-### --------------------
-
-SAC_SOFIA_SU
-SAC_OPENSSL
-SAC_TPORT
-
-dnl Check is used for testing
-PKG_CHECK_MODULES(CHECK, check >= 0.9.4, have_check="yes", have_check="no")
-AM_CONDITIONAL(HAVE_CHECK, test x"$have_check" = "xyes")
-if test x"$have_check" = "xyes"; then
- AC_DEFINE([HAVE_CHECK], 1, [Define to 1 if check library is available])
-fi
-AC_CHECK_HEADERS([fnmatch.h])
-
-AC_CHECK_LIB(pthread, pthread_setschedparam, [AC_DEFINE(HAVE_PTHREAD_SETSCHEDPARAM, 1, [Define if you have pthread_setschedparam()])])
-AC_CHECK_LIB(z, compress, [have_zlib=yes],[have_zlib=no])
-if test x"$have_zlib" = "xyes"; then
- AC_DEFINE(HAVE_ZLIB_COMPRESS, 1, [Define if you have zlib compress])
-fi
-AM_CONDITIONAL([HAVE_ZLIB], [test "x$have_zlib" = xyes])
-
-dnl dl is currently used only in testing
-AC_CHECK_LIB([dl], [dlopen], [
- dnl Note: -ldl is not added to LIBS
- AC_DEFINE([HAVE_LIBDL], 1, [Define to 1 if dl library is available])
-])
-
-### internal modules
-### ----------------
-AC_DEFINE([HAVE_SOFIA_SIP], 1, [Define to 1 always])
-AC_DEFINE([HAVE_SOFIA_SRESOLV], 1, [Define to 1 if we use DNS library])
-AC_DEFINE([HAVE_SOFIA_SMIME], 0, [Define to 1 if we use S/MIME library])
-
-AC_ARG_ENABLE(stun,
-[ --disable-stun disable stun module (enabled)],
- , enable_stun=yes)
-
-if test x$enable_stun = xno ; then
- AC_MSG_WARN([** STUN support disabled **])
-elif test x${HAVE_OPENSSL} != x1 ; then
- dnl compile STUN only if OPENSSL is available
- AC_MSG_WARN([** TLS support for STUN disabled as OpenSSL headers and/or libraries were not found **])
- AC_DEFINE([HAVE_SOFIA_STUN], 1, [Define to 1 if we use STUN library])
-else
- AC_DEFINE([HAVE_SOFIA_STUN], 1, [Define to 1 if we use STUN library])
-fi
-AM_CONDITIONAL([HAVE_STUN], [test "x$enable_stun" = xyes])
-
-AC_ARG_ENABLE(nth,
-[ --disable-nth disable HTTP-related modules nth and http (enabled)],
- , enable_nth=yes)
-AM_CONDITIONAL([HAVE_NTH], [test "x$enable_nth" = xyes])
-if test x$enable_nth = xyes ; then
- AC_DEFINE([HAVE_SOFIA_NTH], 1, [Define to 1 if we use NTH library])
- AC_DEFINE([HAVE_SOFIA_HTTP], 1, [Define to 1 if we use HTTP parser library])
-fi
-
-dnl Disable NTLM support by default
-AC_ARG_ENABLE(ntlm,
-[ --enable-ntlm enable NTLM support [[disabled]]],
- , enable_ntlm=no)
-
-if test x$enable_ntlm = xyes ; then
- AC_DEFINE([HAVE_SOFIA_NTLM], 1, [Define to 1 if we use NTLM library])
-fi
-AM_CONDITIONAL([HAVE_NTLM], [test "x$enable_ntlm" = xyes])
-
-
-AC_DEFINE([HAVE_SRTP], 0, [Define to 1 if we use SRTP])
-AC_DEFINE([HAVE_UPNP], 0, [Define to 1 if we use UPnP])
-
-
-AC_ARG_ENABLE(memleak_log,
-[ --enable-memleak-log enable logging of possible memory leaks [[disabled]]],
- , enable_memleak_log=no)
-
-if test x$enable_memleak_log = xyes ; then
- AC_DEFINE([HAVE_MEMLEAK_LOG], 1, [Define to 1 for memory-leak-related logging])
-fi
-
-### output
-### ------
-
-AC_CONFIG_FILES([
-Makefile
-packages/Makefile
-packages/sofia-sip-ua.pc
-packages/sofia-sip-ua-glib.pc
-libsofia-sip-ua/Makefile
-libsofia-sip-ua/bnf/Makefile
-libsofia-sip-ua/bnf/Doxyfile
-libsofia-sip-ua/docs/Makefile
-libsofia-sip-ua/docs/Doxyfile
-libsofia-sip-ua/docs/Doxyfile.version
-libsofia-sip-ua/docs/sofia-footer.html
-libsofia-sip-ua/features/Doxyfile
-libsofia-sip-ua/features/Makefile
-libsofia-sip-ua/http/Doxyfile
-libsofia-sip-ua/http/Makefile
-libsofia-sip-ua/ipt/Doxyfile
-libsofia-sip-ua/ipt/Makefile
-libsofia-sip-ua/iptsec/Doxyfile
-libsofia-sip-ua/iptsec/Makefile
-libsofia-sip-ua/msg/Doxyfile
-libsofia-sip-ua/msg/Makefile
-libsofia-sip-ua/nea/Doxyfile
-libsofia-sip-ua/nea/Makefile
-libsofia-sip-ua/nta/Doxyfile
-libsofia-sip-ua/nta/Makefile
-libsofia-sip-ua/nth/Doxyfile
-libsofia-sip-ua/nth/Makefile
-libsofia-sip-ua/nua/Doxyfile
-libsofia-sip-ua/nua/Makefile
-libsofia-sip-ua/sdp/Doxyfile
-libsofia-sip-ua/sdp/Makefile
-libsofia-sip-ua/sip/Doxyfile
-libsofia-sip-ua/sip/Makefile
-libsofia-sip-ua/soa/Doxyfile
-libsofia-sip-ua/soa/Makefile
-libsofia-sip-ua/sresolv/Doxyfile
-libsofia-sip-ua/sresolv/Makefile
-libsofia-sip-ua/stun/Doxyfile
-libsofia-sip-ua/stun/Makefile
-libsofia-sip-ua/su/Doxyfile
-libsofia-sip-ua/su/Makefile
-libsofia-sip-ua/tport/Doxyfile
-libsofia-sip-ua/tport/Makefile
-libsofia-sip-ua/url/Doxyfile
-libsofia-sip-ua/url/Makefile
-libsofia-sip-ua/features/sofia-sip/sofia_features.h
-s2check/Makefile
-libsofia-sip-ua-glib/Makefile
-libsofia-sip-ua-glib/su-glib/Makefile
-libsofia-sip-ua-glib/su-glib/Doxyfile
-utils/Makefile
-utils/Doxyfile
-tests/Makefile
-win32/Makefile
-win32/config.h
-open_c/Makefile
-open_c/config.h
-])
-
-AC_CONFIG_COMMANDS([version],,[PACKAGE_VERSION=${PACKAGE_VERSION}])
-AC_CONFIG_FILES([packages/sofia-sip-${PACKAGE_VERSION}.spec:packages/sofia-sip.spec.in])
-
-AC_OUTPUT
diff --git a/libs/sofia-sip/configure.gnu b/libs/sofia-sip/configure.gnu
deleted file mode 100755
index 4b64a47b7b..0000000000
--- a/libs/sofia-sip/configure.gnu
+++ /dev/null
@@ -1,4 +0,0 @@
-#! /bin/sh
-srcpath=$(dirname $0 2>/dev/null ) || srcpath="."
-$srcpath/configure "$@" --with-pic --with-glib=no --disable-shared --without-doxygen --disable-stun
-
diff --git a/libs/sofia-sip/docs/build_system.txt b/libs/sofia-sip/docs/build_system.txt
deleted file mode 100644
index 6e746a146b..0000000000
--- a/libs/sofia-sip/docs/build_system.txt
+++ /dev/null
@@ -1,105 +0,0 @@
-=============================
-Sofia-SIP build system README
-=============================
-
-:Author: Kai Vehmanen
-:Author: Pekka Pessi
-:Version: 20051011-5
-:Formatting: reStructuredText, http://docutils.sourceforge.net/rst.html
-
-Introduction
-============
-
-The Sofia-SIP build system practices are documented in this
-file. The instructions are aimed at developers.
-
-Quick start
-===========
-
-To build Sofia-IP::
-
- sh> ``./autogen.sh`` (if building from a fresh CVS checkout)
- sh> ``./configure``
- sh> ``make``
-
-Autotool notes
-==============
-
-Macros
-------
-
-Sofia-SIP specific macros are prefixed with "``SAC\_``" and are
-defined in files under the toplevel "m4/" directory.
-
-Makefile target notes
----------------------
-
-- all optionally compiled source files should be listed
- separately in ``DIST_SOURCES`` variable (otherwise ``make dist``
- will fail)
-
-Makefile fragments
-------------------
-
-Some common makefile rules are in 'rules' subdirectory.
-
-Maintainer mode
----------------
-
-Sofia-SIP tree is by default configured with automake
-maintainer mode disable. In other words, Makefiles do not
-contain rules for recreating or updating configure, Makefiles
-or other autotool-generated files. To update these files,
-you need to run top-level autogen.sh script.
-
-Those developers who need to often modify configure.ac, Makefile.am
-and macro files, can enable maintainer mode with configure
-option '--enable-maintainer-mode'.
-
-Running tests
-=============
-
-Sofia-SIP has quite complete suite of test cases. It is prudent to run
-them while making changes and before committing them to revision control
-system. However, running certain tests takes quite a long time to
-execture. Therefore, they are run only if the environment variable
-EXPENSIVE_CHECKS has been set. EXPENSIVE_CHECKS is also set by the build
-system if configure option '--enable-expensive-checks' has been used.
-
-On hosts with i386 architecture, it is possible to run tests under
-valgrind. Use the make target 'valcheck' for that purpose.
-
-Code-tree layout
-================
-
-Most of the code resides in the libsofia-sip-ua directory.
-The main library, libsofia-sip-ua.so, is created by
-collecting object files (for example bnf/bnf_objs.o) from
-individual modules.
-
-There are some portability issues with the way the
-shared library is currently built, and we are looking
-for ways to improve the situation.
-
-Making releases
-===============
-
-See sofia-sip/docs/release_management.txt
-
-Developer documentation
-=======================
-
-Generating reference documentation from source code
----------------------------------------------------
-
-The libsofia-sip-ua library has a top-level make target
-"doxygen" for generating the HTML reference documentation.
-The pages will be created to libsofia-sip-ua/docs
-subdirectory.
-
-This special target is primarily meant for use by
-the Sofia-SIP website admins, but can be used by anyone
-with the proper set of tools:
-
-- Doxygen, http://www.stack.nl/~dimitri/doxygen/
-- Dot graph tool, http://www.research.att.com/sw/tools/graphviz/
diff --git a/libs/sofia-sip/docs/devel_platform_notes.txt b/libs/sofia-sip/docs/devel_platform_notes.txt
deleted file mode 100644
index c24366dd78..0000000000
--- a/libs/sofia-sip/docs/devel_platform_notes.txt
+++ /dev/null
@@ -1,58 +0,0 @@
-======================================================
-Notes on compiling Sofia-SIP in different environments
-======================================================
-
-Using GNU Autotools
--------------------
-
-If you modify autoconf or automake files (configure.ac or Makefile.am) or if
-you compile Sofia SIP that you pulled from darcs or CVS repo, you need
-up-to-date autotools. Autoconf should be at least 2.57 and automake should
-be at least 1.7. You can avoid running autoreconf explicitly if you use
-./configure option --enable-maintainer-mode.
-
-Notes to distributors
-----------------------
-
-Build options such as "--disable-stun" (HAVE_SOFIA_STUN) and
-"--disable-nth" (HAVE_SOFIA_NTH) modify the public library API/ABI,
-by omitting certain interfaces from the resulting library and installed
-header files.
-
-Options such as '--disable-size-compat' modify the library
-ABI by changing the types used in public library function
-signatures.
-
-Generic POSIX (GNU/Linux, BSD, ...)
------------------------------------
-
-Sofia-SIP should compile out-of-the-box on generic POSIX
-machines. Use the standard GNU autotool 'configure+make'
-procedure to build the software. See top-level README file
-for more information.
-
-The configure script accepts various options. See "./configure --help"
-for the full list.
-
-
-Mac OS X
---------
-
-TBD
-
-Win32 / Mingw
--------------
-
-TBD
-
-Win32 / Cygwin
---------------
-
-TBD
-
-Visual-C on win32
------------------
-
-See sofia-sip/win32/README.txt
-
- LocalWords: automake
diff --git a/libs/sofia-sip/docs/release_management.txt b/libs/sofia-sip/docs/release_management.txt
deleted file mode 100644
index 333d948172..0000000000
--- a/libs/sofia-sip/docs/release_management.txt
+++ /dev/null
@@ -1,136 +0,0 @@
-===================================
-Sofia-SIP release management README
-===================================
-
-:Author: Kai Vehmanen
-:Version: 20060809-12
-:Formatting: reStructuredText, http://docutils.sourceforge.net/rst.html
-
-Introduction
-============
-
-This README contains instructions for making new Sofia-SIP releases.
-
-Links to other resources
-========================
-
-sofia-sip/README.developers
-
-The release notes
-=================
-
-The release notes should contain the following sections:
-
-- about Sofia-SIP
- - copied verbatim from sofia-sip/README
-- list of changes since last release
- - maintained in sofia-sip/RELEASE
- - see diff between cvs/darcs between previous and
- this version
- - written in freshmeat.net "Changes:" style
-- notes on API/ABI interface changes
- - maintained in sofia-sip/RELEASE
- - all changes in public interfaces, plus other
- notes that developers should be aware of
-- contributors to this release
- - maintained in sofia-sip/RELEASE
- - also sofia-sip/AUTHORS should be updated (file
- should list all persons/companies who have code/scripts/etc
- copyrighted to them in the sofia-sip tree)
-
-See the RELEASE.template file for a full list of release note
-sections.
-
-Making the release tarball
-==========================
-
-- basics: check system clock of the build host ;)
-- update the version number in sofia-sip/configure.ac
-- make sure the library versions are correct, and you've
- frozen all library interfaces (with correct entries in
- ChangeLog files), see README.developers for more information
- on library versioning in general
-- make sure everything that is supposed to be in the
- release is in the master darcs tree
-- run 'make distcheck' to verify everything is ready for
- release (requires automake-1.7 or newer)
-- tag repos (darcs and any slave trees) with release tag
- 'rel-sofia-sip-x_y_z', where x_y_z is the version number (see
- README.developers):
- sh> darcs tag -m"rel-sofia-sip-x_y_z"
- sh> cvs tag rel-sofia-sip-x_y_z
-- take a fresh checkout of the release using the release tag
- sh> darcs get http://sofia-sip.org/repos/sofia-sip --tag=rel-sofia-sip-1_yy_z
-- create the release tarball with "make distcheck" (make sure depcomp et
- al libtool scripts are correctly created)
-- calculate md5 and sha1 hashes using md5sum and sha1sum utilities,
- and copy the values to the release-notes (see below)
-
-Creating the release notes and updating the website
-===================================================
-
-- combine the sofia-sip/RELEASE contents with
- the template found from sfnet_www/templates/relnotes.txt
-- store the resulting release notes to
- sfnet_www/relnotes/relnotes-sofia-sip-x.y.z.txt
-- add explicit link to the release notes to
- sfnet_www/download.html (three most recent releases,
- see guidelines in the html comments)
-- update sfnet_www/index.html to mention the latest
- release
-- commit the change to sf.net website CVS, and run the
- sfnet_www/put_online.sh script
-
-Uploading the release to sourceforge.net
-========================================
-
-- use the the 'Admin' -> 'File releases' tool for
- creating a new release
-- to upload the file, you can use for example rsync:
- rsync -avP -e ssh sofia-sip-x.y.z.tar.gz USER@frs.sourceforge.net:uploads/
-- attach the release notes (relnotes-sofia-sip-x.y.z.txt)
- to the file release
-
-Announcing releases
-===================
-
-- send an announcement mail, containing the
- release notes, to sofia-sip-devel@lists.sourceforge.net
-- post a news item to freshmeat.net 'sofia-sip'
- project (current project owner: Kai Vehmanen)
-
-After release
-=============
-
-- replace the RELEASE file with RELEASE.template, and
- commit it to master source repository (see sofia-sip/README.developers)
-- change version in configure.ac from "X.Y.Z" to
- "X.Y.Zdevel" (as it is in many cases unknown what the
- next version will be)
-- make a "tree open for development" commit
-
-Syncing CVS and darcs (or some other VCS)
-=========================================
-
-Some tips for synchronizing from/to different version controlled
-tree.
-
-- As CVS cannot trace file addition/move/removals, you need
- to be extra careful with these. With darcs, you can use the
- 'darcs changes -v' command to track down all fileops since
- last synchronization.
-
-- Always tag the src-tree with "syncuser-fromvcs-to-tovcs-yearmmdd".
-
-- Add a top-level ChangeLog entry that documents all the
- changes made outside the target tree (what, who and when -
- for example produced with the "darcs changes --summary"
- command).
-
-Checking API/ABI compatibility
-==============================
-
-- Use a unit test binary built against an old library,
- to verify a new library version (forwards-compatibility).
-- Use the 'icheck' tool (in Debian) to make comparison
- between two released versions.
diff --git a/libs/sofia-sip/libsofia-sip-ua-glib/ChangeLog b/libs/sofia-sip/libsofia-sip-ua-glib/ChangeLog
deleted file mode 100644
index 73c802609c..0000000000
--- a/libs/sofia-sip/libsofia-sip-ua-glib/ChangeLog
+++ /dev/null
@@ -1,25 +0,0 @@
-2006-12-05 Kai Vehmanen
-
- * libsofia-sip-ua-glib interface v3 frozen, version to 3:0:0 (for 1.12.5 release).
- * nua-glib submodule has been moved from libsofia-sip-ua-glib,
- and sofia-sip, to a standalone sofia-nua-glib package.
-
-2006-11-22 Kai Vehmanen
-
- * libsofia-sip-ua-glib interface v2 frozen, version to 2:0:2 (for 1.12.4 release).
-
-2006-07-25 Kai Vehmanen
-
- * libsofia-sip-ua-glib interface v1 frozen, version to 1:0:1 (for 1.12.2 release).
-
-2006-06-16 Kai Vehmanen
-
- * libsofia-sip-ua-glib interface v0 frozen, version to 0:0:0.
-
-2006-04-12 Kai Vehmanen
-
- * Modified build system to require glib-2.4 or newer to compile libsofia-sip-ua-glib.
-
-2006-03-09 Kai Vehmanen
-
- * libsofia-sip-ua-glib created.
diff --git a/libs/sofia-sip/libsofia-sip-ua-glib/Makefile.am b/libs/sofia-sip/libsofia-sip-ua-glib/Makefile.am
deleted file mode 100644
index d491475a45..0000000000
--- a/libs/sofia-sip/libsofia-sip-ua-glib/Makefile.am
+++ /dev/null
@@ -1,60 +0,0 @@
-#
-# Makefile.am for sofia-sip/libsofia-sip-ua-glib
-#
-# Copyright (C) 2006 Nokia Corporation
-# Contact: Pekka Pessi
-# Licensed under LGPL. See file COPYING.
-#
-
-AUTOMAKE_OPTIONS = foreign 1.7
-
-SUBDIRS=su-glib
-
-GLIB_TARGETS=su-glib/libsu-glib.la
-
-lib_LTLIBRARIES =
-if HAVE_GLIB
-lib_LTLIBRARIES += libsofia-sip-ua-glib.la
-endif
-
-libsofia_sip_ua_glib_la_SOURCES =
-libsofia_sip_ua_glib_la_LIBADD = $(GLIB_TARGETS) $(GLIB_LIBS)
-
-# set the libtool version info version:revision:age for libsofia-sip-ua-glib
-# - soname to 'libsofia-sip-ua-glib.so.(CUR-AGE)'
-libsofia_sip_ua_glib_la_LDFLAGS = \
- -version-info $(LIBVER_SOFIA_SIP_UA_GLIB_CUR):$(LIBVER_SOFIA_SIP_UA_GLIB_REV):$(LIBVER_SOFIA_SIP_UA_GLIB_AGE)
-
-DOXYGEN = doxygen
-
-EXTRA_DIST = docs/Doxyfile.aliases \
- docs/Doxyfile.conf \
- docs/Doxyfile.version
-
-doxygen: built-sources
- @mkdir -p docs docs/html &&\
- for d in $(DIST_SUBDIRS) $(DIST_SUBDIRS); do \
- test -r $$d/Doxyfile \
- && pushd $$d > /dev/null \
- && echo running ${DOXYGEN} in $$d \
- && ${DOXYGEN} \
- && popd > /dev/null ; \
- done
- ${top_srcdir}/scripts/hide_emails.sh docs/html
-
-PHONY = doxygen
-
-include $(top_srcdir)/rules/recursive.am
-
-if HAVE_LCOV
-include $(top_srcdir)/rules/lcov.am
-endif
-
-include $(top_srcdir)/rules/silent.am
-
-.PHONY = $(PHONY)
-
-CLEANFILES = docs/*.doxytags
-
-distclean-local:
- -rm -rf docs/html
diff --git a/libs/sofia-sip/libsofia-sip-ua-glib/docs/Doxyfile.aliases b/libs/sofia-sip/libsofia-sip-ua-glib/docs/Doxyfile.aliases
deleted file mode 100644
index f47ab084eb..0000000000
--- a/libs/sofia-sip/libsofia-sip-ua-glib/docs/Doxyfile.aliases
+++ /dev/null
@@ -1 +0,0 @@
-@INCLUDE = ../../libsofia-sip-ua/docs/Doxyfile.aliases
diff --git a/libs/sofia-sip/libsofia-sip-ua-glib/docs/Doxyfile.conf b/libs/sofia-sip/libsofia-sip-ua-glib/docs/Doxyfile.conf
deleted file mode 100644
index 67f58f8a03..0000000000
--- a/libs/sofia-sip/libsofia-sip-ua-glib/docs/Doxyfile.conf
+++ /dev/null
@@ -1,18 +0,0 @@
-@INCLUDE = ../../libsofia-sip-ua/docs/Doxyfile.conf
-@INCLUDE = ../../libsofia-sip-ua/docs/Doxyfile.rfc
-
-HTML_FOOTER = ../../libsofia-sip-ua/docs/sofia-footer.html
-
-TAGFILES += ../../libsofia-sip-ua/docs/docs.doxytags=../docs
-TAGFILES += ../../libsofia-sip-ua/docs/su.doxytags=../su
-TAGFILES += ../../libsofia-sip-ua/docs/ipt.doxytags=../ipt
-TAGFILES += ../../libsofia-sip-ua/docs/bnf.doxytags=../bnf
-TAGFILES += ../../libsofia-sip-ua/docs/url.doxytags=../url
-TAGFILES += ../../libsofia-sip-ua/docs/msg.doxytags=../msg
-TAGFILES += ../../libsofia-sip-ua/docs/sip.doxytags=../sip
-TAGFILES += ../../libsofia-sip-ua/docs/sresolv.doxytags=../sresolv
-TAGFILES += ../../libsofia-sip-ua/docs/tport.doxytags=../tport
-TAGFILES += ../../libsofia-sip-ua/docs/nta.doxytags=../nta
-TAGFILES += ../../libsofia-sip-ua/docs/sdp.doxytags=../sdp
-TAGFILES += ../../libsofia-sip-ua/docs/nua.doxytags=../nua
-
diff --git a/libs/sofia-sip/libsofia-sip-ua-glib/docs/Doxyfile.version b/libs/sofia-sip/libsofia-sip-ua-glib/docs/Doxyfile.version
deleted file mode 100644
index 1a8ed1fe1b..0000000000
--- a/libs/sofia-sip/libsofia-sip-ua-glib/docs/Doxyfile.version
+++ /dev/null
@@ -1,2 +0,0 @@
-@INCLUDE = ../../libsofia-sip-ua/docs/Doxyfile.version
-
diff --git a/libs/sofia-sip/libsofia-sip-ua-glib/su-glib/Doxyfile.in b/libs/sofia-sip/libsofia-sip-ua-glib/su-glib/Doxyfile.in
deleted file mode 100644
index b0afbb73f2..0000000000
--- a/libs/sofia-sip/libsofia-sip-ua-glib/su-glib/Doxyfile.in
+++ /dev/null
@@ -1,12 +0,0 @@
-PROJECT_NAME = "sofia-sip/su-glib"
-
-OUTPUT_DIRECTORY = ../docs/html/su-glib
-
-INPUT = @srcdir@/su_glib.docs @srcdir@ . @srcdir@/sofia-sip
-
-@INCLUDE_PATH = @srcdir@ .
-@INCLUDE = ../docs/Doxyfile.conf
-
-GENERATE_TAGFILE = ../docs/su_glib.doxytags
-
-ALIASES +=
diff --git a/libs/sofia-sip/libsofia-sip-ua-glib/su-glib/Makefile.am b/libs/sofia-sip/libsofia-sip-ua-glib/su-glib/Makefile.am
deleted file mode 100644
index 6f54d34128..0000000000
--- a/libs/sofia-sip/libsofia-sip-ua-glib/su-glib/Makefile.am
+++ /dev/null
@@ -1,62 +0,0 @@
-#
-# Makefile.am for su-glib module
-#
-# Copyright (C) 2006 Nokia Corporation
-# Contact: Pekka Pessi
-# Licensed under LGPL. See file COPYING.
-#
-
-# ----------------------------------------------------------------------
-# Headers
-
-S_BASE = $(top_srcdir)/libsofia-sip-ua
-B_BASE = $(top_builddir)/libsofia-sip-ua
-
-AM_CPPFLAGS = -I$(S_BASE)/su -I$(B_BASE)/su $(GLIB_CFLAGS) \
- $(SOFIA_GLIB_CFLAGS)
-
-# ----------------------------------------------------------------------
-# Build targets
-
-noinst_LTLIBRARIES = libsu-glib.la
-
-check_PROGRAMS = su_source_test torture_su_glib_timer
-
-# ----------------------------------------------------------------------
-# Tests
-
-TESTS = su_source_test torture_su_glib_timer
-
-# ----------------------------------------------------------------------
-# Rules for building the targets
-
-nobase_include_sofia_HEADERS =
-if HAVE_GLIB
-nobase_include_sofia_HEADERS += \
- sofia-sip/su_source.h \
- sofia-sip/su_glib.h
-endif
-
-libsu_glib_la_SOURCES = su_source.c
-
-libsu_glib_la_DEPENDENCIES = \
- ../../libsofia-sip-ua/libsofia-sip-ua.la
-
-LDADD = libsu-glib.la \
- ../../libsofia-sip-ua/libsofia-sip-ua.la \
- $(GLIB_LIBS)
-
-# ----------------------------------------------------------------------
-# Install and distribution rules
-
-EXTRA_DIST = Doxyfile su_glib.docs
-
-# ----------------------------------------------------------------------
-# Automake options
-
-AUTOMAKE_OPTIONS = foreign
-
-# ----------------------------------------------------------------------
-# Sofia specific rules
-
-include $(top_srcdir)/rules/sofia.am
diff --git a/libs/sofia-sip/libsofia-sip-ua-glib/su-glib/sofia-sip/su_glib.h b/libs/sofia-sip/libsofia-sip-ua-glib/su-glib/sofia-sip/su_glib.h
deleted file mode 100644
index 4f7dfea7b1..0000000000
--- a/libs/sofia-sip/libsofia-sip-ua-glib/su-glib/sofia-sip/su_glib.h
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * This file is part of the Sofia-SIP package
- *
- * Copyright (C) 2006 Nokia Corporation.
- *
- * Contact: Pekka Pessi
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public License
- * as published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA
- *
- */
-
-#ifndef SU_GLIB_SOURCE_H
-#define SU_GLIB_SOURCE_H
-
-/**
- * @file su_glib.h
- *
- * @author Pekka Pessi
- * @author Kai Vehmanen
- */
-
-#ifndef SU_WAIT_H
-#include
-#endif
-#ifndef __GLIB_H__
-#include
-#endif
-
-SOFIA_BEGIN_DECLS
-
-SOFIAPUBFUN su_root_t *su_glib_root_create(su_root_magic_t *) __attribute__((__malloc__));
-SOFIAPUBFUN GSource *su_glib_root_gsource(su_root_t *);
-SOFIAPUBFUN void su_glib_prefer_gsource(void);
-
-SOFIA_END_DECLS
-
-#endif /* !defined SU_GLIB_SOURCE_H */
diff --git a/libs/sofia-sip/libsofia-sip-ua-glib/su-glib/sofia-sip/su_source.h b/libs/sofia-sip/libsofia-sip-ua-glib/su-glib/sofia-sip/su_source.h
deleted file mode 100644
index 5d8fde163c..0000000000
--- a/libs/sofia-sip/libsofia-sip-ua-glib/su-glib/sofia-sip/su_source.h
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * This file is part of the Sofia-SIP package
- *
- * Copyright (C) 2005 Nokia Corporation.
- *
- * Contact: Pekka Pessi
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public License
- * as published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA
- *
- */
-
-#ifndef SU_SOURCE_H /** Defined when su_source.h has been included. */
-#define SU_SOURCE_H
-
-/**
- * @file su_source.h
- * @brief
- *
- * NOTE: This file (su_source.h) is DEPRECATED as of 1.12.2 release.
- * Please use su_glib.h instead.
- *
- * @author Pekka Pessi
- * @author Kai Vehmanen
- *
- * @date Created: Thu Mar 4 19:58:50 2004 ppessi
- *
- */
-
-#ifndef SU_WAIT_H
-#include
-#endif
-#ifndef __GLIB_H__
-#include
-#endif
-
-SOFIA_BEGIN_DECLS
-
-SOFIAPUBFUN su_root_t *su_root_source_create(su_root_magic_t *) __attribute__((__malloc__));
-SOFIAPUBFUN GSource *su_root_source(su_root_t *);
-
-SOFIA_END_DECLS
-
-#endif /* !defined SU_SOURCE_H */
diff --git a/libs/sofia-sip/libsofia-sip-ua-glib/su-glib/su_glib.docs b/libs/sofia-sip/libsofia-sip-ua-glib/su-glib/su_glib.docs
deleted file mode 100644
index 2a1878042f..0000000000
--- a/libs/sofia-sip/libsofia-sip-ua-glib/su-glib/su_glib.docs
+++ /dev/null
@@ -1,59 +0,0 @@
-/**
-
-@mainpage Sofia-SIP su-glib Module
-
-@section su_glib_meta Module Meta Information
-
-The su-glib module provides an interface to connect Sofia-SIP event loop
-to an existing glib main loop. Without this interface, a glib based
-application would have to create a separate thread for running
-the Sofia-SIP event loop.
-
-@CONTACT Pekka Pessi
-
-@STATUS Core library
-
-@LICENSE LGPL
-
-@section su_glib_contents Contents of su-glib Module
-
-The su-glib module contains the public header files as follows:
-- the public API of the module
-- deprecated API (1.12.1 and earlier)
-
-@section su_glib_examples Examples of use
-
-Below is a simple example of how to use su-glib:
-@code
- #include
- #include
-
- /* ... */
-
- GMainLoop *ptr = g_main_loop_new(NULL, FALSE);
- GSource *gsource;
- su_root_t *sofia_event_loop;
- su_timer_t *timer;
-
- /* create a sofia event loop using su-glib function su_glib_root_source_create() */
- sofia_event_loop = su_glib_root_create(NULL);
-
- /* attach the created GSource to glib event loop */
- gsource = su_glib_root_gsource(sofia_event_loop);
- g_source_attach(gsource, g_main_loop_get_context(ptr));
-
- /* use the sofia event loop with libsofia-sip-ua modules */
- timer = su_timer_create(su_root_task(sofia_event_loop), 200L);
-
- /* ... initialize other Sofia-SIP modules/functrions */
-
- /* run the glib mainloop */
- g_main_loop_run(ptr);
-@endcode
-
-@section su_glib_todo Todo
-
-- see sourceforge.net issue tracker for sofia-sip
- (-> http://sofia-sip.sourceforge.net/development.html )
-
-*/
diff --git a/libs/sofia-sip/libsofia-sip-ua-glib/su-glib/su_source.c b/libs/sofia-sip/libsofia-sip-ua-glib/su-glib/su_source.c
deleted file mode 100644
index 4237ead3f5..0000000000
--- a/libs/sofia-sip/libsofia-sip-ua-glib/su-glib/su_source.c
+++ /dev/null
@@ -1,1113 +0,0 @@
-/*
- * This file is part of the Sofia-SIP package
- *
- * Copyright (C) 2005-2009 Nokia Corporation.
- *
- * Contact: Pekka Pessi
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public License
- * as published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA
- *
- */
-
-/**
- * @file su_source.c
- * @brief Wrapper for glib GSource.
- *
- * Refs:
- * - http://sofia-sip.sourceforge.net/refdocs/su/group__su__wait.html
- * - http://developer.gnome.org/doc/API/glib/glib-the-main-event-loop.html
- *
- * @author Pekka Pessi .
- *
- * @date Created: Thu Mar 4 15:15:15 2004 ppessi
- *
- */
-
-#include "config.h"
-
-#ifdef SYMBIAN
-#include
-#endif
-
-#ifndef __GLIB_H__
-#include
-#endif
-
-#if HAVE_OPEN_C
-#include
-#include
-#endif
-
-#define SU_PORT_IMPLEMENTATION 1
-
-#define SU_MSG_ARG_T union { char anoymous[4]; }
-
-#define su_port_s su_source_s
-
-#include "sofia-sip/su_source.h"
-#include "sofia-sip/su_glib.h"
-
-#include "sofia-sip/su.h"
-#include "su_port.h"
-#include "sofia-sip/su_alloc.h"
-
-#include
-#include
-#include
-#include
-#include
-
-#if 1
-#define PORT_LOCK_DEBUG(x) ((void)0)
-#else
-#define PORT_LOCK_DEBUG(x) printf x
-#endif
-
-static su_port_t *su_source_port_create(void) __attribute__((__malloc__));
-static gboolean su_source_prepare(GSource *gs, gint *return_tout);
-static gboolean su_source_check(GSource *gs);
-static gboolean su_source_dispatch(GSource *gs,
- GSourceFunc callback,
- gpointer user_data);
-static void su_source_finalize(GSource *source);
-
-static
-GSourceFuncs su_source_funcs[1] = {{
- su_source_prepare,
- su_source_check,
- su_source_dispatch,
- su_source_finalize,
- NULL,
- NULL
- }};
-
-static int su_source_port_init(su_port_t *self, su_port_vtable_t const *vtable);
-static void su_source_port_deinit(su_port_t *self);
-
-static void su_source_lock(su_port_t *self, char const *who);
-static void su_source_unlock(su_port_t *self, char const *who);
-static void su_source_incref(su_port_t *self, char const *who);
-static void su_source_decref(su_port_t *self, int blocking, char const *who);
-static struct _GSource *su_source_gsource(su_port_t *port);
-
-static int su_source_register(su_port_t *self,
- su_root_t *root,
- su_wait_t *wait,
- su_wakeup_f callback,
- su_wakeup_arg_t *arg,
- int priority);
-static int su_source_unregister(su_port_t *port,
- su_root_t *root,
- su_wait_t *wait,
- su_wakeup_f callback,
- su_wakeup_arg_t *arg);
-static int su_source_deregister(su_port_t *self, int i);
-static int su_source_unregister_all(su_port_t *self,
- su_root_t *root);
-static int su_source_eventmask(su_port_t *self,
- int index, int socket, int events);
-static void su_source_run(su_port_t *self);
-static void su_source_break(su_port_t *self);
-static su_duration_t su_source_step(su_port_t *self, su_duration_t tout);
-static int su_source_thread(su_port_t *self, enum su_port_thread_op op);
-static int su_source_add_prepoll(su_port_t *port,
- su_root_t *root,
- su_prepoll_f *,
- su_prepoll_magic_t *);
-static int su_source_remove_prepoll(su_port_t *port,
- su_root_t *root);
-static int su_source_multishot(su_port_t *self, int multishot);
-static int su_source_wakeup(su_port_t *self);
-static int su_source_is_running(su_port_t const *self);
-
-static char const *su_source_name(su_port_t const *self);
-
-static
-su_port_vtable_t const su_source_port_vtable[1] =
- {{
- /* su_vtable_size: */ sizeof su_source_port_vtable,
- su_source_lock,
- su_source_unlock,
-
- su_source_incref,
- su_source_decref,
-
- su_source_gsource,
-
- su_base_port_send,
- su_source_register,
- su_source_unregister,
- su_source_deregister,
- su_source_unregister_all,
- su_source_eventmask,
- su_source_run,
- su_source_break,
- su_source_step,
- su_source_thread,
- su_source_add_prepoll,
- su_source_remove_prepoll,
- su_base_port_timers,
- su_source_multishot,
- /*su_source_wait_events*/ NULL,
- su_base_port_getmsgs,
- su_base_port_getmsgs_from,
- su_source_name,
- su_base_port_start_shared,
- su_base_port_wait,
- NULL,
- su_base_port_deferrable,
- su_base_port_max_defer,
- su_source_wakeup,
- su_source_is_running,
- }};
-
-static char const *su_source_name(su_port_t const *self)
-{
- return "GSource";
-}
-
-/**
- * Port is a per-thread reactor.
- *
- * Multiple root objects executed by single thread share a su_port_t object.
- */
-struct su_source_s {
- su_base_port_t sup_base[1];
-
- GThread *sup_tid;
- GStaticMutex sup_obtained[1];
-
- GStaticMutex sup_mutex[1];
-
- GSource *sup_source; /**< Backpointer to source */
- GMainLoop *sup_main_loop; /**< Reference to mainloop while running */
-
- /* Waits */
- unsigned sup_registers; /** Counter incremented by
- su_port_register() or
- su_port_unregister()
- */
- unsigned sup_n_waits;
- unsigned sup_size_waits;
- unsigned sup_max_index;
- unsigned *sup_indices;
- su_wait_t *sup_waits;
- su_wakeup_f *sup_wait_cbs;
- su_wakeup_arg_t**sup_wait_args;
- su_root_t **sup_wait_roots;
-};
-
-typedef struct _SuSource
-{
- GSource ss_source[1];
- su_port_t ss_port[1];
-} SuSource;
-
-#define SU_SOURCE_OWN_THREAD(p) ((p)->sup_tid == g_thread_self())
-
-#if 1
-#define SU_SOURCE_INCREF(p, f) (g_source_ref(p->sup_source))
-#define SU_SOURCE_DECREF(p, f) (g_source_unref(p->sup_source))
-
-#else
-
-/* Debugging versions */
-#define SU_SOURCE_INCREF(p, f) (g_source_ref(p->sup_source), printf("incref(%p) by %s\n", (p), f))
-#define SU_SOURCE_DECREF(p, f) do { printf("decref(%p) by %s\n", (p), f), \
- g_source_unref(p->sup_source); } while(0)
-
-#endif
-
-#if HAVE_FUNC
-#define enter (void)SU_DEBUG_9(("%s: entering\n", __func__))
-#elif HAVE_FUNCTION
-#define enter (void)SU_DEBUG_9(("%s: entering\n", __FUNCTION__))
-#else
-#define enter (void)0
-#endif
-
-/*=============== Public function definitions ===============*/
-
-/** Create a root that uses GSource as reactor */
-su_root_t *su_glib_root_create(su_root_magic_t *magic)
-{
- return su_root_create_with_port(magic, su_source_port_create());
-}
-
-/** Deprecated */
-su_root_t *su_root_source_create(su_root_magic_t *magic)
-{
- return su_glib_root_create(magic);
-}
-
-/**
- * Returns a GSource object for the root
- *
- * Note that you need to unref the GSource with g_source_unref()
- * before destroying the root object.
- *
- * @return NULL on error (for instance if root was not created with
- * su_glib_root_create())
- */
-GSource *su_glib_root_gsource(su_root_t *root)
-{
- g_assert(root);
- return su_root_gsource(root);
-}
-
-/*=============== Private function definitions ===============*/
-
-/** Initialize source port */
-static int su_source_port_init(su_port_t *self,
- su_port_vtable_t const *vtable)
-{
- GSource *gs = (GSource *)((char *)self - offsetof(SuSource, ss_port));
-
- self->sup_source = gs;
-
- g_static_mutex_init(self->sup_obtained);
-
- g_static_mutex_init(self->sup_mutex);
-
- return su_base_port_init(self, vtable);
-}
-
-
-static void su_source_port_deinit(su_port_t *self)
-{
- su_base_port_deinit(self);
-
- g_static_mutex_free(self->sup_mutex);
- g_static_mutex_free(self->sup_obtained);
-
- if (self->sup_indices)
- free (self->sup_indices), self->sup_indices = NULL;
- if (self->sup_waits)
- free (self->sup_waits), self->sup_waits = NULL;
- if (self->sup_wait_cbs)
- free (self->sup_wait_cbs), self->sup_wait_cbs = NULL;
- if (self->sup_wait_args)
- free (self->sup_wait_args), self->sup_wait_args = NULL;
- if (self->sup_wait_roots)
- free (self->sup_wait_roots), self->sup_wait_roots = NULL;
-
- su_home_deinit(self->sup_base->sup_home);
-}
-
-
-/** @internal Destroy a port. */
-static
-void su_source_finalize(GSource *gs)
-{
- SuSource *ss = (SuSource *)gs;
- assert(gs);
- SU_DEBUG_9(("su_source_finalize() called\n"));
- su_source_port_deinit(ss->ss_port);
-}
-
-/** @internal Send a message to the port. */
-int su_source_wakeup(su_port_t *self)
-{
- GMainContext *gmc = g_source_get_context(self->sup_source);
-
- if (gmc)
- g_main_context_wakeup(gmc);
-
- return 0;
-}
-
-/** @internal
- *
- * Change or query ownership of the port object.
- *
- * @param self pointer to a port object
- * @param op operation
- *
- * @ERRORS
- * @ERROR EALREADY port already has an owner (or has no owner)
- */
-static int su_source_thread(su_port_t *self, enum su_port_thread_op op)
-{
- GThread *me = g_thread_self();
-
- switch (op) {
-
- case su_port_thread_op_is_obtained:
- if (self->sup_tid == me)
- return 2;
- else if (self->sup_tid)
- return 1;
- else
- return 0;
-
- case su_port_thread_op_release:
- if (self->sup_tid != me)
- return errno = EALREADY, -1;
- self->sup_tid = NULL;
- g_static_mutex_unlock(self->sup_obtained);
- return 0;
-
- case su_port_thread_op_obtain:
- if (su_home_threadsafe(su_port_home(self)) == -1)
- return -1;
- g_static_mutex_lock(self->sup_obtained);
- self->sup_tid = me;
- return 0;
-
- default:
- return errno = ENOSYS, -1;
- }
-}
-
-/* -- Registering and unregistering ------------------------------------- */
-
-/* Seconds from 1.1.1900 to 1.1.1970 */
-#define NTP_EPOCH 2208988800UL
-
-/** Prepare to wait - calculate time to next timer */
-static
-gboolean su_source_prepare(GSource *gs, gint *return_tout)
-{
- SuSource *ss = (SuSource *)gs;
- su_port_t *self = ss->ss_port;
- su_duration_t tout = SU_WAIT_FOREVER;
-
- enter;
-
- if (self->sup_base->sup_head) {
- *return_tout = 0;
- return TRUE;
- }
-
- if (self->sup_base->sup_timers || self->sup_base->sup_deferrable) {
- su_time_t now;
- GTimeVal gtimeval;
-
- g_source_get_current_time(gs, >imeval);
- now.tv_sec = gtimeval.tv_sec + 2208988800UL;
- now.tv_usec = gtimeval.tv_usec;
-
- tout = su_timer_next_expires(&self->sup_base->sup_timers, now);
-
- if (self->sup_base->sup_deferrable) {
- su_duration_t tout_defer;
-
- tout_defer = su_timer_next_expires(&self->sup_base->sup_deferrable, now);
-
- if (tout_defer < self->sup_base->sup_max_defer)
- tout_defer = self->sup_base->sup_max_defer;
-
- if (tout > tout_defer)
- tout = tout_defer;
- }
- }
-
- *return_tout = (tout >= 0 && tout <= (su_duration_t)G_MAXINT)?
- (gint)tout : -1;
-
- return (tout == 0);
-}
-
-static
-gboolean su_source_check(GSource *gs)
-{
- SuSource *ss = (SuSource *)gs;
- su_port_t *self = ss->ss_port;
- gint tout;
-#if SU_HAVE_POLL
- unsigned i, I;
-#endif
-
- enter;
-
-#if SU_HAVE_POLL
- I = self->sup_n_waits;
-
- for (i = 0; i < I; i++) {
- if (self->sup_waits[i].revents)
- return TRUE;
- }
-#endif
-
- return su_source_prepare(gs, &tout);
-}
-
-static
-gboolean su_source_dispatch(GSource *gs,
- GSourceFunc callback,
- gpointer user_data)
-{
- SuSource *ss = (SuSource *)gs;
- su_port_t *self = ss->ss_port;
-
- enter;
-
- if (self->sup_base->sup_head)
- su_base_port_getmsgs(self);
-
- if (self->sup_base->sup_timers || self->sup_base->sup_deferrable) {
- su_time_t now;
- GTimeVal gtimeval;
- su_duration_t tout;
-
- tout = SU_DURATION_MAX;
-
- g_source_get_current_time(gs, >imeval);
-
- now.tv_sec = gtimeval.tv_sec + 2208988800UL;
- now.tv_usec = gtimeval.tv_usec;
-
- su_timer_expire(&self->sup_base->sup_timers, &tout, now);
- su_timer_expire(&self->sup_base->sup_deferrable, &tout, now);
- }
-
-#if SU_HAVE_POLL
- {
- su_root_t *root;
- su_wait_t *waits = self->sup_waits;
- unsigned i, n = self->sup_n_waits;
- unsigned version = self->sup_registers;
-
- for (i = 0; i < n; i++) {
- if (waits[i].revents) {
- root = self->sup_wait_roots[i];
- self->sup_wait_cbs[i](root ? su_root_magic(root) : NULL,
- &waits[i],
- self->sup_wait_args[i]);
- /* Callback used su_register()/su_unregister() */
- if (version != self->sup_registers)
- break;
- }
- }
- }
-#endif
-
- if (!callback)
- return TRUE;
-
- return callback(user_data);
-}
-
-static void su_source_lock(su_port_t *self, char const *who)
-{
- PORT_LOCK_DEBUG(("%p at %s locking(%p)...",
- (void *)g_thread_self(), who, self));
- g_static_mutex_lock(self->sup_mutex);
-
- PORT_LOCK_DEBUG((" ...%p at %s locked(%p)...",
- (void *)g_thread_self(), who, self));
-}
-
-static void su_source_unlock(su_port_t *self, char const *who)
-{
- g_static_mutex_unlock(self->sup_mutex);
-
- PORT_LOCK_DEBUG((" ...%p at %s unlocked(%p)\n",
- (void *)g_thread_self(), who, self));
-}
-
-static void su_source_incref(su_port_t *self, char const *who)
-{
- SU_SOURCE_INCREF(self, who);
-}
-
-static void su_source_decref(su_port_t *self, int blocking, char const *who)
-{
- /* XXX - blocking? */
- SU_SOURCE_DECREF(self, who);
-}
-
-GSource *su_source_gsource(su_port_t *self)
-{
- return self->sup_source;
-}
-
-/** @internal
- *
- * Register a @c su_wait_t object. The wait object, a callback function and
- * a argument pointer is stored in the port object. The callback function
- * will be called when the wait object is signaled.
- *
- * Please note if identical wait objects are inserted, only first one is
- * ever signalled.
- *
- * @param self pointer to port
- * @param root pointer to root object
- * @param waits pointer to wait object
- * @param callback callback function pointer
- * @param arg argument given to callback function when it is invoked
- * @param priority relative priority of the wait object
- * (0 is normal, 1 important, 2 realtime)
- *
- * @return
- * The function @su_source_register returns nonzero index of the wait object,
- * or -1 upon an error. */
-int su_source_register(su_port_t *self,
- su_root_t *root,
- su_wait_t *wait,
- su_wakeup_f callback,
- su_wakeup_arg_t *arg,
- int priority)
-{
- unsigned i, j, I;
- unsigned n;
-
- enter;
-
- assert(SU_SOURCE_OWN_THREAD(self));
-
- n = self->sup_n_waits;
-
- if (n >= self->sup_size_waits) {
- /* Reallocate size arrays */
- unsigned size;
- unsigned *indices;
- su_wait_t *waits;
- su_wakeup_f *wait_cbs;
- su_wakeup_arg_t **wait_args;
- su_root_t **wait_tasks;
-
- if (self->sup_size_waits == 0)
- size = SU_WAIT_MIN;
- else
- size = 2 * self->sup_size_waits;
-
- indices = realloc(self->sup_indices, size * sizeof(*indices));
- if (indices) {
- self->sup_indices = indices;
-
- for (i = self->sup_size_waits; i < size; i++)
- indices[i] = UINT_MAX;
- }
-
- for (i = 0; i < self->sup_n_waits; i++)
- g_source_remove_poll(self->sup_source, (GPollFD*)&self->sup_waits[i]);
-
- waits = realloc(self->sup_waits, size * sizeof(*waits));
- if (waits)
- self->sup_waits = waits;
-
- for (i = 0; i < self->sup_n_waits; i++)
- g_source_add_poll(self->sup_source, (GPollFD*)&waits[i]);
-
- wait_cbs = realloc(self->sup_wait_cbs, size * sizeof(*wait_cbs));
- if (wait_cbs)
- self->sup_wait_cbs = wait_cbs;
-
- wait_args = realloc(self->sup_wait_args, size * sizeof(*wait_args));
- if (wait_args)
- self->sup_wait_args = wait_args;
-
- /* Add sup_wait_roots array, if needed */
- wait_tasks = realloc(self->sup_wait_roots, size * sizeof(*wait_tasks));
- if (wait_tasks)
- self->sup_wait_roots = wait_tasks;
-
- if (!(indices && waits && wait_cbs && wait_args && wait_tasks)) {
- return -1;
- }
-
- self->sup_size_waits = size;
- }
-
- self->sup_n_waits++;
-
- if (priority > 0) {
- /* Insert */
- for (; n > 0; n--) {
- g_source_remove_poll(self->sup_source, (GPollFD*)&self->sup_waits[n-1]);
- self->sup_waits[n] = self->sup_waits[n-1];
- g_source_add_poll(self->sup_source, (GPollFD*)&self->sup_waits[n]);
- self->sup_wait_cbs[n] = self->sup_wait_cbs[n-1];
- self->sup_wait_args[n] = self->sup_wait_args[n-1];
- self->sup_wait_roots[n] = self->sup_wait_roots[n-1];
- }
- }
- else {
- /* Append - no need to move anything */
- }
-
- self->sup_waits[n] = *wait;
- g_source_add_poll(self->sup_source, (GPollFD*)&self->sup_waits[n]);
- self->sup_wait_cbs[n] = callback;
- self->sup_wait_args[n] = arg;
- self->sup_wait_roots[n] = root;
-
- I = self->sup_max_index;
-
- for (i = 0; i < I; i++)
- if (self->sup_indices[i] == UINT_MAX)
- break;
- else if (self->sup_indices[i] >= n)
- self->sup_indices[i]++;
-
- if (i == I)
- self->sup_max_index++;
-
- if (n + 1 < self->sup_n_waits)
- for (j = i; j < I; j++)
- if (self->sup_indices[j] != UINT_MAX &&
- self->sup_indices[j] >= n)
- self->sup_indices[j]++;
-
- self->sup_indices[i] = n;
-
- self->sup_registers++;
-
- return i + 1; /* 0 is failure */
-}
-
-/** Unregister a su_wait_t object.
- *
- * The function su_source_unregister() unregisters a su_wait_t object. The
- * wait object, a callback function and a argument are removed from the
- * port object.
- *
- * @param self - pointer to port object
- * @param root - pointer to root object
- * @param wait - pointer to wait object
- * @param callback - callback function pointer (may be NULL)
- * @param arg - argument given to callback function when it is invoked
- * (may be NULL)
- *
- * @return Nonzero index of the wait object, or -1 upon an error.
- */
-int su_source_unregister(su_port_t *self,
- su_root_t *root,
- su_wait_t *wait,
- su_wakeup_f callback, /* XXX - ignored */
- su_wakeup_arg_t *arg)
-{
- unsigned n, N;
- unsigned i, I, j, *indices;
-
- enter;
-
- assert(self);
- assert(SU_SOURCE_OWN_THREAD(self));
-
- i = (unsigned)-1;
- N = self->sup_n_waits;
- I = self->sup_max_index;
- indices = self->sup_indices;
-
- for (n = 0; n < N; n++) {
- if (SU_WAIT_CMP(wait[0], self->sup_waits[n]) != 0)
- continue;
-
- /* Found - delete it */
- if (indices[n] == n)
- i = n;
- else for (i = 0; i < I; i++)
- if (indices[i] == n)
- break;
-
- assert(i < I);
-
- indices[i] = UINT_MAX;
-
- g_source_remove_poll(self->sup_source, (GPollFD*)&self->sup_waits[n]);
-
- self->sup_n_waits = N = N - 1;
-
- if (n < N)
- for (j = 0; j < I; j++)
- if (self->sup_indices[j] != UINT_MAX &&
- self->sup_indices[j] > n)
- self->sup_indices[j]--;
-
- for (; n < N; n++) {
- g_source_remove_poll(self->sup_source, (GPollFD*)&self->sup_waits[n+1]);
- self->sup_waits[n] = self->sup_waits[n+1];
- g_source_add_poll(self->sup_source, (GPollFD*)&self->sup_waits[n]);
- self->sup_wait_cbs[n] = self->sup_wait_cbs[n+1];
- self->sup_wait_args[n] = self->sup_wait_args[n+1];
- self->sup_wait_roots[n] = self->sup_wait_roots[n+1];
- }
-
- i += 1; /* 0 is failure */
-
- if (i == I)
- self->sup_max_index--;
-
- break;
- }
-
- self->sup_registers++;
-
- return (int)i;
-}
-
-/** Deregister a su_wait_t object.
- *
- * The function su_source_deregister() deregisters a su_wait_t registrattion.
- * The wait object, a callback function and a argument are removed from the
- * port object.
- *
- * @param self - pointer to port object
- * @param i - registration index
- *
- * @return Index of the wait object, or -1 upon an error.
- */
-int su_source_deregister(su_port_t *self, int i)
-{
- unsigned j, n, N;
- unsigned I, *indices;
- su_wait_t wait[1];
-
- enter;
-
- assert(self);
- assert(SU_SOURCE_OWN_THREAD(self));
-
- if (i <= 0)
- return -1;
-
- N = self->sup_n_waits;
- I = self->sup_max_index;
- indices = self->sup_indices;
-
- assert((unsigned)i < I + 1);
-
- n = indices[i - 1];
-
- if (n == UINT_MAX)
- return -1;
-
- self->sup_n_waits = N = N - 1;
-
- wait[0] = self->sup_waits[n];
-
- g_source_remove_poll(self->sup_source, (GPollFD*)&self->sup_waits[n]);
-
- if (n < N)
- for (j = 0; j < I; j++)
- if (self->sup_indices[j] != UINT_MAX &&
- self->sup_indices[j] > n)
- self->sup_indices[j]--;
-
- for (; n < N; n++) {
- g_source_remove_poll(self->sup_source, (GPollFD*)&self->sup_waits[n + 1]);
- self->sup_waits[n] = self->sup_waits[n+1];
- g_source_add_poll(self->sup_source, (GPollFD*)&self->sup_waits[n]);
- self->sup_wait_cbs[n] = self->sup_wait_cbs[n+1];
- self->sup_wait_args[n] = self->sup_wait_args[n+1];
- self->sup_wait_roots[n] = self->sup_wait_roots[n+1];
- }
-
- indices[i - 1] = UINT_MAX;
-
- if ((unsigned)i == I)
- self->sup_max_index--;
-
- su_wait_destroy(wait);
-
- self->sup_registers++;
-
- return (int)i;
-}
-
-/** @internal
- * Unregister all su_wait_t objects.
- *
- * The function su_source_unregister_all() unregisters all su_wait_t objects
- * associated with given root object destroys all queued timers.
- *
- * @param self - pointer to port object
- * @param root - pointer to root object
- *
- * @return Number of wait objects removed.
- */
-int su_source_unregister_all(su_port_t *self,
- su_root_t *root)
-{
- unsigned i, j;
- unsigned n_waits;
- su_wait_t *waits;
- su_wakeup_f *wait_cbs;
- su_wakeup_arg_t**wait_args;
- su_root_t **wait_roots;
-
- enter;
-
- assert(SU_SOURCE_OWN_THREAD(self));
-
- n_waits = self->sup_n_waits;
- waits = self->sup_waits;
- wait_cbs = self->sup_wait_cbs;
- wait_args = self->sup_wait_args;
- wait_roots = self->sup_wait_roots;
-
- for (i = j = 0; (unsigned)i < n_waits; i++) {
- if (wait_roots[i] == root) {
- /* XXX - we should free all resources associated with this */
- g_source_remove_poll(self->sup_source, (GPollFD*)&waits[i]);
- continue;
- }
- if (i != j) {
- g_source_remove_poll(self->sup_source, (GPollFD*)&waits[i]);
- waits[j] = waits[i];
- wait_cbs[j] = wait_cbs[i];
- wait_args[j] = wait_args[i];
- wait_roots[j] = wait_roots[i];
- g_source_add_poll(self->sup_source, (GPollFD*)&waits[i]);
- }
- j++;
- }
-
- self->sup_n_waits = j;
- self->sup_registers++;
-
- return n_waits - j;
-}
-
-/**Set mask for a registered event. @internal
- *
- * Sets the mask describing events that can signal the registered callback.
- *
- * @param port pointer to port object
- * @param index registration index
- * @param socket socket
- * @param events new event mask
- *
- * @retval 0 when successful,
- * @retval -1 upon an error.
- */
-static
-int su_source_eventmask(su_port_t *self, int index, int socket, int events)
-{
- unsigned n;
- int retval;
-
- enter;
-
- assert(self);
- assert(SU_SOURCE_OWN_THREAD(self));
- assert(0 < index && (unsigned)index <= self->sup_max_index);
-
- if (index <= 0 || (unsigned)index > self->sup_max_index)
- return -1;
-
- n = self->sup_indices[index - 1];
-
- if (n == UINT_MAX)
- return -1;
-
- g_source_remove_poll(self->sup_source, (GPollFD*)&self->sup_waits[n]);
-
- retval = su_wait_mask(&self->sup_waits[n], socket, events);
-
- g_source_add_poll(self->sup_source, (GPollFD*)&self->sup_waits[n]);
-
- return retval;
-}
-
-static
-int su_source_multishot(su_port_t *self, int multishot)
-{
- if (multishot == -1)
- return 1;
- else if (multishot == 0 || multishot == 1)
- return 1; /* Always enabled */
- else
- return (errno = EINVAL), -1;
-}
-
-
-/** @internal Run the main loop.
- *
- * The main loop runs until su_source_break() is called from a callback.
- *
- * @param self pointer to port object
- * */
-static
-void su_source_run(su_port_t *self)
-{
- GMainContext *gmc;
- GMainLoop *gml;
-
- enter;
-
- gmc = g_source_get_context(self->sup_source);
- if (gmc && g_main_context_acquire(gmc)) {
- gml = g_main_loop_new(gmc, TRUE);
- self->sup_main_loop = gml;
- g_main_loop_run(gml);
- g_main_loop_unref(gml);
- self->sup_main_loop = NULL;
- g_main_context_release(gmc);
- }
-}
-
-static int su_source_is_running(su_port_t const *self)
-{
- return self->sup_main_loop && g_main_loop_is_running(self->sup_main_loop);
-}
-
-/** @internal
- * The function @c su_source_break() is used to terminate execution of @c
- * su_source_run(). It can be called from a callback function.
- *
- * @param self pointer to port
- *
- */
-static
-void su_source_break(su_port_t *self)
-{
- enter;
-
- if (self->sup_main_loop)
- g_main_loop_quit(self->sup_main_loop);
-}
-
-/** @internal Block until wait object is signaled or timeout.
- *
- * This function waits for wait objects and the timers associated with
- * the root object. When any wait object is signaled or timer is
- * expired, it invokes the callbacks.
- *
- * This function returns when a callback has been invoked or @c tout
- * milliseconds is elapsed.
- *
- * @param self pointer to port
- * @param tout timeout in milliseconds
- *
- * @Return
- * Milliseconds to the next invocation of timer, or @c SU_WAIT_FOREVER if
- * there are no active timers.
- */
-su_duration_t su_source_step(su_port_t *self, su_duration_t tout)
-{
- GMainContext *gmc;
-
- enter;
-
- gmc = g_source_get_context(self->sup_source);
-
- if (gmc && g_main_context_acquire(gmc)) {
- GPollFD *fds = NULL;
- gint fds_size = 0;
- gint fds_wait;
- gint priority = G_MAXINT;
- gint src_tout = -1;
-
- g_main_context_prepare(gmc, &priority);
-
- fds_wait = g_main_context_query(gmc, priority, &src_tout, NULL, 0);
- while (fds_wait > fds_size) {
- fds = g_alloca(fds_wait * sizeof(fds[0]));
- fds_size = fds_wait;
- fds_wait = g_main_context_query(gmc, priority, &src_tout, fds, fds_size);
- }
-
- if (src_tout >= 0 && tout > (su_duration_t)src_tout)
- tout = src_tout;
-
- su_wait((su_wait_t *)fds, fds_wait, tout);
-
- g_main_context_check(gmc, priority, fds, fds_wait);
-
- g_main_context_dispatch(gmc);
-
- g_main_context_release(gmc);
- }
-
- return 0;
-}
-
-static int su_source_add_prepoll(su_port_t *port,
- su_root_t *root,
- su_prepoll_f *prepoll,
- su_prepoll_magic_t *magic)
-{
- /* We could call prepoll in su_source_prepare()?? */
- return -1;
-}
-
-static int su_source_remove_prepoll(su_port_t *port,
- su_root_t *root)
-{
- return -1;
-}
-
-#if 0
-/** @internal
- * Prints out the contents of the port.
- *
- * @param self pointer to a port
- * @param f pointer to a file (if @c NULL, uses @c stdout).
- */
-void su_source_dump(su_port_t const *self, FILE *f)
-{
- int i;
-#define IS_WAIT_IN(x) (((x)->events & SU_WAIT_IN) ? "IN" : "")
-#define IS_WAIT_OUT(x) (((x)->events & SU_WAIT_OUT) ? "OUT" : "")
-#define IS_WAIT_ACCEPT(x) (((x)->events & SU_WAIT_ACCEPT) ? "ACCEPT" : "")
-
- if (f == NULL)
- f = stdout;
-
- fprintf(f, "su_port_t at %p:\n", self);
- fprintf(f, "\tport is%s running\n", self->sup_running ? "" : "not ");
- fprintf(f, "\tport tid %p\n", (void *)self->sup_tid);
- fprintf(f, "\t%d wait objects\n", self->sup_n_waits);
- for (i = 0; i < self->sup_n_waits; i++) {
-
- }
-}
-
-#endif
-
-/**@internal
- *
- * Allocates and initializes a reactor and message port object.
- *
- * @return
- * If successful a pointer to the new message port is returned, otherwise
- * NULL is returned.
- */
-static su_port_t *su_source_port_create(void)
-{
- SuSource *ss;
- su_port_t *self = NULL;
-
- SU_DEBUG_9(("su_source_port_create() called\n"));
-
- ss = (SuSource *)g_source_new(su_source_funcs, (sizeof *ss));
-
- if (ss) {
- self = ss->ss_port;
- if (su_source_port_init(self, su_source_port_vtable) < 0)
- g_source_unref(ss->ss_source), self = NULL;
- } else {
- su_perror("su_source_port_create(): g_source_new");
- }
-
- SU_DEBUG_1(("su_source_port_create() returns %p\n", (void *)self));
-
- return self;
-}
-
-/* No su_source_port_start */
-
-/** Use su_source implementation when su_root_create() is called.
- *
- * @NEW_1_12_5
- */
-void su_glib_prefer_gsource(void)
-{
- su_port_prefer(su_source_port_create, NULL);
-}
diff --git a/libs/sofia-sip/libsofia-sip-ua-glib/su-glib/su_source_test.c b/libs/sofia-sip/libsofia-sip-ua-glib/su-glib/su_source_test.c
deleted file mode 100644
index e8bda63081..0000000000
--- a/libs/sofia-sip/libsofia-sip-ua-glib/su-glib/su_source_test.c
+++ /dev/null
@@ -1,536 +0,0 @@
-/*
- * This file is part of the Sofia-SIP package
- *
- * Copyright (C) 2005-2006 Nokia Corporation.
- *
- * Contact: Pekka Pessi
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public License
- * as published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA
- *
- */
-
-/**@ingroup su_root_ex
- * @CFILE su_source_test.c
- *
- * @brief Test program for glib and su root event loop integration.
- *
- * @author Pekka Pessi
- *
- * @date Created: Thu Mar 18 19:40:51 1999 pessi
- */
-
-#include "config.h"
-
-#include
-#include
-#include
-#include
-
-#include
-
-struct pinger;
-#define SU_ROOT_MAGIC_T struct pinger
-#define SU_INTERNAL_P su_root_t *
-#define SU_MSG_ARG_T su_sockaddr_t
-
-#include "sofia-sip/su.h"
-#include "sofia-sip/su_wait.h"
-#include "sofia-sip/su_log.h"
-
-#include
-#include "sofia-sip/su_glib.h"
-
-struct pinger {
- enum { PINGER = 1, PONGER = 2 } const sort;
- char const * name;
- unsigned running : 1;
- unsigned : 0;
- su_root_t *root;
- su_socket_t s;
- su_timer_t *t;
- int id;
- int rindex;
- su_time_t when;
- su_sockaddr_t addr;
- double rtt_total;
- int rtt_n;
-};
-
-short opt_family = AF_INET;
-short opt_verbatim = 0;
-short opt_singlethread = 0;
-GMainLoop *global_gmainloop = NULL;
-
-static su_socket_t udpsocket(void)
-{
- su_socket_t s;
- su_sockaddr_t su = { 0 };
- socklen_t sulen = sizeof(su);
- char nbuf[64];
-
- su.su_family = opt_family;
-
- su_getlocalip(&su);
-
- s = su_socket(su.su_family, SOCK_DGRAM, 0);
- if (s == INVALID_SOCKET) {
- su_perror("udpsocket: socket");
- exit(1);
- }
-
- if (bind(s, &su.su_sa, su_sockaddr_size(&su)) == SOCKET_ERROR) {
- su_perror("udpsocket: bind");
- exit(1);
- }
-
- if (getsockname(s, &su.su_sa, &sulen) == SOCKET_ERROR) {
- su_perror("udpsocket: getsockname");
- exit(1);
- }
-
- if (opt_verbatim)
- printf("udpsocket: using address [%s]:%u\n",
- inet_ntop(su.su_family, SU_ADDR(&su), nbuf, sizeof(nbuf)),
- ntohs(su.su_sin.sin_port));
-
- return s;
-}
-
-static char *snow(su_time_t now)
-{
- static char buf[24];
-
- su_time_print(buf, sizeof(buf), &now);
-
- return buf;
-}
-
-void
-do_ping(struct pinger *p, su_timer_t *t, void *p0)
-{
- char buf[1024];
-
- assert(p == su_root_magic(su_timer_root(t)));
- assert(p->sort == PINGER);
-
- p->when = su_now();
-
- snprintf(buf, sizeof(buf), "Ping %d at %s", p->id++, snow(p->when));
- if (sendto(p->s, buf, strlen(buf), 0,
- &p->addr.su_sa, su_sockaddr_size(&p->addr)) == -1) {
- su_perror("do_ping: send");
- }
-
- if (opt_verbatim) {
- puts(buf);
- fflush(stdout);
- }
-}
-
-int
-do_rtt(struct pinger *p, su_wait_t *w, void *p0)
-{
- su_sockaddr_t su;
- struct sockaddr * const susa = &su.su_sa;
- socklen_t susize[] = { sizeof(su)};
- char buf[1024];
- char nbuf[1024];
- int n;
- su_time_t now = su_now();
- double rtt;
-
- assert(p0 == p);
- assert(p->sort == PINGER);
-
- rtt = su_time_diff(now, p->when);
-
- p->rtt_total += rtt, p->rtt_n++;
-
- su_wait_events(w, p->s);
-
- n = recvfrom(p->s, buf, sizeof(buf) - 1, 0, susa, susize);
- if (n < 0) {
- su_perror("do_rtt: recvfrom");
- return 0;
- }
- buf[n] = 0;
-
- if (opt_verbatim)
- printf("do_rtt: %d bytes from [%s]:%u: \"%s\", rtt = %lg ms\n",
- n, inet_ntop(su.su_family, SU_ADDR(&su), nbuf, sizeof(nbuf)),
- ntohs(su.su_sin.sin_port), buf, rtt / 1000);
-
- do_ping(p, p->t, NULL);
-
- return 0;
-}
-
-void
-do_pong(struct pinger *p, su_timer_t *t, void *p0)
-{
- char buf[1024];
-
- assert(p == su_root_magic(su_timer_root(t)));
- assert(p->sort == PONGER);
-
- p->id = 0;
-
- snprintf(buf, sizeof(buf), "Pong at %s", snow(su_now()));
- if (sendto(p->s, buf, strlen(buf), 0,
- &p->addr.su_sa, su_sockaddr_size(&p->addr)) == -1) {
- su_perror("do_pong: send");
- }
-
- if (opt_verbatim) {
- puts(buf);
- fflush(stdout);
- }
-}
-
-int
-do_recv(struct pinger *p, su_wait_t *w, void *p0)
-{
- su_sockaddr_t su;
- socklen_t susize[] = { sizeof(su)};
- char buf[1024];
- char nbuf[1024];
- int n;
- su_time_t now = su_now();
-
- assert(p0 == p);
- assert(p->sort == PONGER);
-
- su_wait_events(w, p->s);
-
- n = recvfrom(p->s, buf, sizeof(buf) - 1, 0, &su.su_sa, susize);
- if (n < 0) {
- su_perror("do_recv: recvfrom");
- return 0;
- }
- buf[n] = 0;
-
- if (opt_verbatim)
- printf("do_recv: %d bytes from [%s]:%u: \"%s\" at %s\n",
- n, inet_ntop(su.su_family, SU_ADDR(&su), nbuf, sizeof(nbuf)),
- ntohs(su.su_sin.sin_port), buf, snow(now));
-
- fflush(stdout);
-
-#if 0
- if (p->id)
- puts("do_recv: already a pending reply");
-
- if (su_timer_set(p->t, do_pong, p) < 0) {
- fprintf(stderr, "do_recv: su_timer_set() error\n");
- return 0;
- }
-
- p->id = 1;
-#else
- do_pong(p, p->t, NULL);
-#endif
-
- return 0;
-}
-
-void
-do_exit(struct pinger *x, su_timer_t *t, void *x0)
-{
- g_assert(global_gmainloop);
- if (opt_verbatim)
- printf("do_exit at %s\n", snow(su_now()));
- g_main_loop_quit(global_gmainloop);
-}
-
-int
-do_init(su_root_t *root, struct pinger *p)
-{
- su_wait_t w;
- su_socket_t s;
- long interval;
- su_timer_t *t;
- su_wakeup_f f;
- int index, index0;
-
- switch (p->sort) {
- case PINGER: f = do_rtt; interval = 200; break;
- case PONGER: f = do_recv; interval = 40; break;
- default:
- return SU_FAILURE;
- }
-
- /* Create a sockets, */
- s = udpsocket();
- if (su_wait_create(&w, s, SU_WAIT_IN) == SOCKET_ERROR)
- su_perror("su_wait_create"), exit(1);
-
- p->s = s;
- p->t = t = su_timer_create(su_root_task(root), interval);
- if (t == NULL) {
- su_perror("su_timer_create");
- return SU_FAILURE;
- }
-
- index0 = su_root_register(root, &w, f, p, 0);
- if (index0 == SOCKET_ERROR) {
- su_perror("su_root_register");
- return SU_FAILURE;
- }
-
- index = su_root_register(root, &w, f, p, 0);
- if (index == SOCKET_ERROR) {
- su_perror("su_root_register");
- return SU_FAILURE;
- }
-
- su_root_deregister(root, index0);
-
- p->rindex = index;
-
- return 0;
-}
-
-void
-do_destroy(su_root_t *root, struct pinger *p)
-{
- if (opt_verbatim)
- printf("do_destroy %s at %s\n", p->name, snow(su_now()));
- su_root_deregister(root, p->rindex);
- su_timer_destroy(p->t), p->t = NULL;
- p->running = 0;
-}
-
-void
-start_ping(struct pinger *p, su_msg_r msg, su_sockaddr_t *arg)
-{
- if (!p->running)
- return;
-
- if (opt_verbatim)
- printf("start_ping: %s\n", p->name);
-
- p->addr = *arg;
- p->id = 1;
- su_timer_set_at(p->t, do_ping, p, su_now());
-}
-
-void
-start_pong(struct pinger *p, su_msg_r msg, su_sockaddr_t *arg)
-{
- su_msg_r reply;
-
- if (!p->running)
- return;
-
- if (opt_verbatim)
- printf("start_pong: %s\n", p->name);
-
- p->addr = *arg;
-
- if (su_msg_reply(reply, msg, start_ping, sizeof(p->addr)) == 0) {
- socklen_t sinsize[1] = { sizeof(p->addr) };
- if (getsockname(p->s, (struct sockaddr*)su_msg_data(reply), sinsize)
- == SOCKET_ERROR)
- su_perror("start_pong: getsockname()"), exit(1);
- su_msg_send(reply);
- }
- else {
- fprintf(stderr, "su_msg_create failed!\n");
- }
-}
-
-void
-init_ping(struct pinger *p, su_msg_r msg, su_sockaddr_t *arg)
-{
- su_msg_r reply;
-
- if (opt_verbatim)
- printf("init_ping: %s\n", p->name);
-
- if (su_msg_reply(reply, msg, start_pong, sizeof(p->addr)) == 0) {
- socklen_t sinsize[1] = { sizeof(p->addr) };
- if (getsockname(p->s, (struct sockaddr*)su_msg_data(reply), sinsize)
- == SOCKET_ERROR)
- su_perror("start_pong: getsockname()"), exit(1);
- su_msg_send(reply);
- }
- else {
- fprintf(stderr, "su_msg_reply failed!\n");
- }
-}
-
-#if HAVE_SIGNAL
-static
-RETSIGTYPE term(int n)
-{
- exit(1);
-}
-#endif
-
-void
-time_test(void)
-{
- su_time_t now = su_now(), then = now;
- su_duration_t t1, t2;
- su_duration_t us;
-
- for (us = 0; us < 1000000; us += 300) {
- then.tv_sec = now.tv_sec;
- if ((then.tv_usec = now.tv_usec + us) >= 1000000)
- then.tv_usec -= 1000000, then.tv_sec++;
- t1 = su_duration(now, then);
- t2 = su_duration(then, now);
- assert(t1 == -t2);
- }
-
- if (opt_verbatim)
- printf("time_test: passed\n");
-}
-
-char const name[] = "su_test";
-
-void
-usage(int exitcode)
-{
- fprintf(stderr, "usage: %s [-6vs] [pid]\n", name);
- exit(exitcode);
-}
-
-/*
- * test su_wait functionality:
- *
- * Create a ponger, waking up do_recv() when data arrives,
- * then scheduling do_pong() by timer
- *
- * Create a pinger, executed from timer, scheduling do_ping(),
- * waking up do_rtt() when data arrives
- *
- * Create a timer, executing do_exit() after 10 seconds
- */
-int main(int argc, char *argv[])
-{
- su_root_t *root;
- su_clone_r ping = SU_CLONE_R_INIT, pong = SU_CLONE_R_INIT;
- su_msg_r start_msg = SU_MSG_R_INIT;
- su_timer_t *t;
- unsigned long sleeppid = 0;
-
- struct pinger
- pinger = { PINGER, "ping", 1 },
- ponger = { PONGER, "pong", 1 };
-
- char *argv0 = argv[0];
-
-#if HAVE_OPEN_C
- dup2(1, 2);
-#endif
-
- while (argv[1]) {
- if (strcmp(argv[1], "-v") == 0) {
- opt_verbatim = 1;
- argv++;
- }
-#if SU_HAVE_IN6
- else if (strcmp(argv[1], "-6") == 0) {
- opt_family = AF_INET6;
- argv++;
- }
-#endif
- else if (strcmp(argv[1], "-s") == 0) {
- opt_singlethread = 1;
- argv++;
- }
- else if (strlen(argv[1]) == strspn(argv[1], "0123456789")) {
- sleeppid = strtoul(argv[1], NULL, 10);
- argv++;
- }
- else {
- usage(1);
- }
- }
-
-#if HAVE_OPEN_C
- opt_verbatim = 1;
- opt_singlethread = 1;
- su_log_soft_set_level(su_log_default, 9);
-#endif
-
-#if HAVE_SIGNAL
- signal(SIGTERM, term);
-#endif
-
- su_init(); atexit(su_deinit);
-
- time_test();
-
- global_gmainloop = g_main_loop_new(NULL, FALSE);
- g_assert(global_gmainloop);
-
- root = su_glib_root_create(NULL);
-
- if (!root) perror("su_root_glib_create"), exit(1);
-
- if (!g_source_attach(su_glib_root_gsource(root), g_main_loop_get_context(global_gmainloop)))
- perror("g_source_attach"), exit(1);
-
- su_root_threading(root, 0 && !opt_singlethread);
-
- if (su_clone_start(root, ping, &pinger, do_init, do_destroy) != 0)
- perror("su_clone_start"), exit(1);
- if (su_clone_start(root, pong, &ponger, do_init, do_destroy) != 0)
- perror("su_clone_start"), exit(1);
-
- /* Test timer, exiting after 200 milliseconds */
- t = su_timer_create(su_root_task(root), 200L);
- if (t == NULL)
- su_perror("su_timer_create"), exit(1);
- su_timer_set(t, (su_timer_f)do_exit, NULL);
-
- su_msg_create(start_msg, su_clone_task(ping), su_clone_task(pong),
- init_ping, 0);
- su_msg_send(start_msg);
-
- g_main_loop_run(global_gmainloop);
-
- su_clone_wait(root, ping);
- su_clone_wait(root, pong);
-
- su_timer_destroy(t);
-
- if (pinger.rtt_n) {
- printf("%s executed %u pings in %g, mean rtt=%g sec\n", name,
- pinger.rtt_n, pinger.rtt_total, pinger.rtt_total / pinger.rtt_n);
- }
- su_root_destroy(root);
-
- g_main_loop_unref(global_gmainloop), global_gmainloop = NULL;
-
- if (opt_verbatim)
- printf("%s exiting\n", argv0);
-
-#ifndef HAVE_WIN32
-#if HAVE_SIGNAL
- if (sleeppid)
- kill(sleeppid, SIGTERM);
-#endif
-#endif
-
-#if HAVE_OPEN_C
- sleep(7);
-#endif
-
- return 0;
-}
diff --git a/libs/sofia-sip/libsofia-sip-ua-glib/su-glib/torture_su_glib_timer.c b/libs/sofia-sip/libsofia-sip-ua-glib/su-glib/torture_su_glib_timer.c
deleted file mode 100644
index 2d431addfb..0000000000
--- a/libs/sofia-sip/libsofia-sip-ua-glib/su-glib/torture_su_glib_timer.c
+++ /dev/null
@@ -1,269 +0,0 @@
-/*
- * This file is part of the Sofia-SIP package
- *
- * Copyright (C) 2005,2006 Nokia Corporation.
- *
- * Contact: Pekka Pessi
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public License
- * as published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA
- *
- */
-
-/**
- * @brief Test program for su-glib timers
- *
- * Based on torture_su_timer.c of libsofia-sip-ua.
- *
- * @author Pekka Pessi
- * @author Kai Vehmanen
- *
- * @internal
- *
- * @date Created: Fri Oct 19 08:53:55 2001 pessi
- */
-
-#include "config.h"
-
-#include
-#include
-#include
-#include
-
-#include
-
-struct tester;
-
-#define SU_ROOT_MAGIC_T struct tester
-#define SU_INTERNAL_P su_root_t *
-#define SU_TIMER_ARG_T struct timing
-
-#include "sofia-sip/su.h"
-#include "sofia-sip/su_wait.h"
-#include "sofia-sip/su_log.h"
-
-#include
-
-struct timing
-{
- int t_run;
- int t_times;
- su_time_t t_prev;
-};
-
-struct tester
-{
- su_root_t *root;
- su_timer_t *t, *t1;
- unsigned times;
- void *sentinel;
-};
-
-void
-print_stamp(struct tester *x, su_timer_t *t, struct timing *ti)
-{
- su_time_t now = su_now(), prev = ti->t_prev;
-
- ti->t_prev = now;
-
- printf("timer interval %f\n", 1000 * su_time_diff(now, prev));
-
- if (!ti->t_run)
- su_timer_set(t, print_stamp, ti);
-
- if (++ti->t_times >= 10)
- su_timer_reset(t);
-}
-
-void
-print_X(struct tester *x, su_timer_t *t1, struct timing *ti)
-{
- su_timer_set(t1, print_X, ti);
- putchar('X'); fflush(stdout);
-}
-
-su_msg_r intr_msg = SU_MSG_R_INIT;
-
-static RETSIGTYPE intr_handler(int signum)
-{
- su_msg_send(intr_msg);
-}
-
-static void test_break(struct tester *tester, su_msg_r msg, su_msg_arg_t *arg)
-{
- su_root_break(tester->root);
-}
-
-void
-end_test(struct tester *tester, su_timer_t *t, struct timing *ti)
-{
- printf("ending test\n");
- su_timer_destroy(t);
- su_timer_reset(tester->t);
- su_timer_reset(tester->t1);
- su_root_break(tester->root);
-}
-
-void
-increment(struct tester *tester, su_timer_t *t, struct timing *ti)
-{
- tester->times++;
-
- if ((void *)ti == (void*)tester->sentinel)
- su_root_break(tester->root);
-}
-
-void
-usage(char const *name)
-{
- fprintf(stderr, "usage: %s [-1r] [-Nnum] [interval]\n", name);
- exit(1);
-}
-
-/*
- * test su_timer functionality:
- *
- * Create a timer, executing print_stamp() in every 20 ms
- */
-int main(int argc, char *argv[])
-{
- su_root_t *root;
- su_timer_t *t, *t1, *t_end;
- su_timer_t **timers;
- su_duration_t interval = 60;
- char *argv0 = argv[0];
- char *s;
- int use_t1 = 0;
- su_time_t now, started;
- intptr_t i, N = 500;
- GSource *source;
-
- struct timing timing[1] = {{ 0 }};
- struct tester tester[1] = {{ 0 }};
-
- while (argv[1] && argv[1][0] == '-') {
- char *o = argv[1] + 1;
- while (*o) {
- if (*o == '1')
- o++, use_t1 = 1;
- else if (*o == 'r')
- o++, timing->t_run = 1;
- else if (*o == 'N') {
- if (o[1])
- N = strtoul(o + 1, &o, 0);
- else if (argv[2])
- N = strtoul(argv++[2], &o, 0);
- break;
- }
- else
- break;
-
- }
- if (*o)
- usage(argv0);
- argv++;
- }
-
- if (argv[1]) {
- interval = strtoul(argv[1], &s, 10);
-
- if (interval == 0 || s == argv[1])
- usage(argv0);
- }
-
- su_init(); atexit(su_deinit);
-
- tester->root = root = su_glib_root_create(tester);
-
- source = su_root_gsource(tester->root);
- g_source_attach(source, NULL /*g_main_context_default ()*/);
-
- su_msg_create(intr_msg,
- su_root_task(root),
- su_root_task(root),
- test_break, 0);
-
- signal(SIGINT, intr_handler);
-#if HAVE_SIGPIPE
- signal(SIGPIPE, intr_handler);
- signal(SIGQUIT, intr_handler);
- signal(SIGHUP, intr_handler);
-#endif
-
- t = su_timer_create(su_root_task(root), interval);
- t1 = su_timer_create(su_root_task(root), 1);
- t_end = su_timer_create(su_root_task(root), 20 * interval);
-
- if (t == NULL || t1 == NULL || t_end == NULL)
- su_perror("su_timer_create"), exit(1);
-
- tester->t = t, tester->t1 = t1;
-
- timing->t_prev = su_now();
-
- if (timing->t_run)
- su_timer_run(t, print_stamp, timing);
- else
- su_timer_set(t, print_stamp, timing);
-
- if (use_t1)
- su_timer_set(t1, print_X, NULL);
-
- su_timer_set(t_end, end_test, NULL);
-
- su_root_run(root);
-
- su_msg_destroy(intr_msg);
-
- su_timer_destroy(t);
- su_timer_destroy(t1);
-
- if (timing->t_times != 10) {
- fprintf(stderr, "%s: t expired %d times (expecting 10)\n",
- argv0, timing->t_times);
- return 1;
- }
-
- /* Insert timers in order */
- timers = calloc(N, sizeof *timers);
- if (!timers) { perror("calloc"); exit(1); }
-
- now = started = su_now();
-
- for (i = 0; i < N; i++) {
- t = su_timer_create(su_root_task(root), 1000);
- if (!t) { perror("su_timer_create"); exit(1); }
- if (++now.tv_usec == 0) ++now.tv_sec;
- su_timer_set_at(t, increment, (void *)i, now);
- timers[i] = t;
- }
-
- tester->sentinel = (void*)(i - 1);
-
- su_root_run(root);
-
- printf("Processing %u timers took %f millisec (%f expected)\n",
- (unsigned)i, su_time_diff(su_now(), started) * 1000, (double)i / 1000);
-
- for (i = 0; i < N; i++) {
- su_timer_destroy(timers[i]);
- }
-
- su_root_destroy(root);
-
- su_deinit();
-
- return 0;
-}
diff --git a/libs/sofia-sip/libsofia-sip-ua/ChangeLog b/libs/sofia-sip/libsofia-sip-ua/ChangeLog
deleted file mode 100644
index bde1819aaf..0000000000
--- a/libs/sofia-sip/libsofia-sip-ua/ChangeLog
+++ /dev/null
@@ -1,427 +0,0 @@
-2007-04-25 Kai Vehmanen
-
- * libsofia-sip-ua interface v4 frozen (5:0:5) for the 1.12.6 release
-
-2007-02-09 Kai Vehmanen
-
- * libsofia-sip-ua interface v4 frozen (4:0:4) for the 1.12.5 release
-
-2006-10-12 Kai Vehmanen
-
- * libsofia-sip-ua interface v3 frozen (3:0:3) for the 1.12.3 release
-
-2006-09-26 Kai Vehmanen
-
- * libsofia-sip-ua interface v2 frozen (2:0:2) for the 1.12.2 release
-
-2006-08-30 Pekka Pessi
-
- * nua: added tag nutag_refer_with_id.
-
-2006-08-28 Kai Vehmanen
-
- * libsofia-sip-ua interface v2 opened to development, version to 2:0:2.
-
-2006-08-25 Pekka Pessi
-
- * Added urltag_scan().
-
-2006-08-23 Pekka Pessi
-
- * nta.c, nta.h: added nta_leg_make_replaces(), nta_leg_by_replaces().
-
- * nua: event watcher (nua_subscribe, nua_watcher) now tries to re-establish
- subscription if the subscription was terminated with reason "deactivated" or
- "probation". Likewise, if SUBSCRIBE was returned a suitable error response
- with Retry-After header, nua tries to re-establish subscription after
- given interval.
-
-2006-07-27 Kai Vehmanen
-
- * libsofia-sip-ua interface v1 frozen (1.12.1), version to 1:0:1.
-
-2006-06-16 Kai Vehmanen
-
- * libsofia-sip-ua interface v0 frozen (1.12.0), version to 0:0:0.
-
-2005-11-28 Kai Vehmanen
-
- * /Doxyfile: Fixed the use of doxytags. Now
- a separate 'doxytags_MODNAME' file is created for each
- module.
-
-2005-11-15 Kai Vehmanen
-
- * /Makefile.am: Changed to use the 'include_sofia_HEADERS'
- variable for listing public library headers. The variable
- is defined in the top-level configure.ac.
-
-2005-10-27 Pekka Pessi
-
- * Always including stun library.
-
- M ./libsofia-sip-ua/Makefile.am -6 +3
-
- * Added rule to make missing module libraries in libsofia-sip-ua/sofia.am
-
- M ./libsofia-sip-ua/sofia.am -1 +6
-
- * Added LDFLAG -static to all test programs in their Makefile.am
-
- M ./libsofia-sip-ua/bnf/Makefile.am -1 +1
- M ./libsofia-sip-ua/http/Makefile.am -2 +2
- M ./libsofia-sip-ua/ipt/Makefile.am -1 +2
- M ./libsofia-sip-ua/iptsec/Makefile.am +2
- M ./libsofia-sip-ua/msg/Makefile.am -2 +2
- M ./libsofia-sip-ua/nta/Makefile.am -1 +1
- M ./libsofia-sip-ua/nth/Makefile.am +2
- M ./libsofia-sip-ua/nua/Makefile.am +2
- M ./libsofia-sip-ua/sdp/Makefile.am +3
- M ./libsofia-sip-ua/sip/Makefile.am +4
- M ./libsofia-sip-ua/soa/Makefile.am +2
- M ./libsofia-sip-ua/sresolv/Makefile.am -2 +2
- M ./libsofia-sip-ua/stun/Makefile.am -6 +1
-
-2005-10-14 Pekka Pessi
-
- * Shell syntax exercise.
-
- M ./autogen.sh -4 +4
-
-2005-10-13 Pekka Pessi
-
- * /Makefile.am: fixed COVERAGE_INPUT.
-
-2005-10-13 Kai Vehmanen
-
- * /Makefile.am: Build all submodules as proper shared
- libraries (noinst_LTLIBRARIES). Fixes sf.net:#1264030.
-
-2005-09-09 Pekka Pessi
-
- * darcs changes --from-tag pessi-darcs-1:
-
- Thu Sep 8 21:50:24 EEST 2005 Pekka.Pessi@nokia.com
- * There is no separate TLS test anymore.
-
- M ./tport/Makefile.am -1 +1
-
- Thu Sep 8 21:36:46 EEST 2005 Pekka.Pessi@nokia.com
- * Logging.
-
- M ./nua/nua_stack.c -4 +2
-
- Thu Sep 8 21:36:39 EEST 2005 Pekka.Pessi@nokia.com
- * Added tests for tport_convert_addr.
-
- M ./tport/tport_test.c +22
-
- Thu Sep 8 21:36:27 EEST 2005 Pekka.Pessi@nokia.com
- * Fixed receiving empty SigComp message.
-
- M ./tport/tport.c +7
-
- Thu Sep 8 21:32:48 EEST 2005 Pekka.Pessi@nokia.com
- * Updated ChangeLogs.
-
- M ./nta/ChangeLog -2 +10
-
- Thu Sep 8 21:32:37 EEST 2005 Pekka.Pessi@nokia.com
- * Updated ChangeLog.
-
- M ./iptsec/ChangeLog +11
-
- Thu Sep 8 21:31:16 EEST 2005 Pekka.Pessi@nokia.com
- * Added more tests.
-
- M ./nta/nta.c -2 +2
- M ./nta/nta_test.c -2 +44
-
- Thu Sep 8 21:30:19 EEST 2005 Pekka.Pessi@nokia.com
- * Handling changes in alias list.
-
- M ./nta/nta.c -9 +22
- M ./nta/nta_test.c +1
-
- Thu Sep 8 21:18:47 EEST 2005 Pekka.Pessi@nokia.com
- * Gcc4 fixes.
-
- M ./ipt/base64.c -1 +1
- M ./iptsec/auth_module.c -1 +1
- M ./iptsec/auth_plugin_delayed.c +4
- M ./nua/nua_stack.c -1 +1
- M ./nua/nua_tag.c -1 +1
- M ./nua/nua_tag.h -5 +5
- M ./su/htable2.h -1 +1
- M ./su/su.c -1 +1
- M ./tport/tport.c -7 +7
-
- Thu Sep 8 21:16:39 EEST 2005 Pekka.Pessi@nokia.com
- * Added tests for tport_shutdown(). Do not assert() on invalid
- input.
-
- M ./tport/tport.c -2
- M ./tport/tport_test.c +5
-
- Thu Sep 8 21:13:18 EEST 2005 Pekka.Pessi@nokia.com
- * Log when password file is read.
-
- M ./iptsec/auth_module.c +3
-
- Thu Sep 8 21:12:49 EEST 2005 Pekka.Pessi@nokia.com
- * Allow empty allow list.
-
- M ./iptsec/auth_module.c -1 +1
-
- Thu Sep 8 21:12:26 EEST 2005 Pekka.Pessi@nokia.com
- * Use unsigned as auth_htable_t hash type.
-
- M ./iptsec/auth_module.c -5 +5
-
- Thu Sep 8 21:10:23 EEST 2005 Pekka.Pessi@nokia.com
- * Added auth_digest_credentials().
- Use opaque to match Authorization header.
-
- M ./iptsec/auth_digest_test.c -2 +3
- M ./iptsec/auth_module.c -1 +78
- M ./iptsec/auth_plugin.h +4
-
- Thu Sep 8 21:07:57 EEST 2005 Pekka.Pessi@nokia.com
- * Fixed gcc4 problems with tag classes.
-
- M ./http/http_tag.h.in +3
- M ./msg/msg_mime_protos.h.in +3
- M ./sdp/sdp_tag.h +3
- M ./su/su_tag_class.h +12
- M ./su/su_tag_inline.h -1 +1
- M ./url/url_tag_class.h +3
-
- Thu Sep 8 21:06:22 EEST 2005 Pekka.Pessi@nokia.com
- * Added sip_security_client_select().
-
- M ./sip/sip_util.c -37 +14
- M ./sip/sip_util.h +4
-
- Thu Sep 8 19:32:19 EEST 2005 Pekka.Pessi@nokia.com
- * Not using su_home_deinit() to destroy homes that are not
- initialized.
-
- M ./nth/nth_server.c -3 +2
- M ./nua/nua.c -2 +1
- M ./su/su_vector.c -2 +1
-
- Thu Sep 8 19:06:31 EEST 2005 Pekka.Pessi@nokia.com
- * Moved function types to msg_types.h.
-
- M ./msg/msg_header.h -7
- M ./msg/msg_types.h +9
-
- Thu Sep 8 18:35:12 EEST 2005 Pekka.Pessi@nokia.com
- * Fixed su_clone_start() return value.
-
- M ./su/su_root.c -1 +1
-
- Thu Sep 8 18:34:26 EEST 2005 Pekka.Pessi@nokia.com
- * Removed SIP_DLL_VAR.
-
- M ./sip/sip_dll.h -7
-
- Thu Sep 8 18:29:27 EEST 2005 Pekka.Pessi@nokia.com
- * Avoid __func__.
-
- M ./sresolv/sresolv.c -3 +4
-
- Thu Sep 8 18:29:09 EEST 2005 Pekka.Pessi@nokia.com
- * Fix includes.
-
- M ./nta/nta.c -2 +1
- M ./sresolv/sresolv.c -4 +7
- M ./sresolv/sresolv.h -1 +1
-
- Thu Sep 8 18:26:35 EEST 2005 Pekka.Pessi@nokia.com
- * Using autoconf to figure out 64-bit types. Avoid off_t and
- 64-bit constants.
-
- M ../configure.ac +6
- M ./nta/sl_read_payload.c -1 +1
- M ./nua/nua_stack.c -6 +5
- M ./sdp/sdp_parse.c -3 +2
- M ./sdp/sdp_print.c -5 +5
- M ./sip/validator.c -18 +18
- M ./soa/soa.c -3 +4
- M ./su/su_time.c -1 +1
- M ./su/tstdef.h -3 +3
-
- Thu Sep 8 18:17:58 EEST 2005 Pekka.Pessi@nokia.com
- * Using RETSIGTYPE.
-
- M ../configure.ac -3 +4
- M ./nth/http-server.c -2 +2
- M ./soa/test_soa.c -1 +3
- M ./su/su_test.c -1 +1
- M ./su/su_timer_test.c -1 +1
-
- Thu Sep 8 18:13:35 EEST 2005 Pekka.Pessi@nokia.com
- * Fixed macro expansion problem with VC6
-
- M ./nta/nta_test.c -2 +2
-
- Thu Sep 8 18:12:45 EEST 2005 Pekka.Pessi@nokia.com
- * Compile without sresolv, too.
-
- M ./nta/nta.c -3 +5
-
- Thu Sep 8 18:12:16 EEST 2005 Pekka.Pessi@nokia.com
- * Fixed const/non-const problems with gcc4/vc6.
-
- M ./msg/msg_mime.c -6 +6
- M ./msg/msg_parser.c -1 +1
- M ./nta/nta.c -4 +4
- M ./sip/sip_basic.c -1 +1
- M ./sip/sip_security.c -1 +1
- M ./sip/sip_util.c -2 +2
- M ./su/htable.h -10 +10
-
- Thu Sep 8 18:06:04 EEST 2005 Pekka.Pessi@nokia.com
- * Moved msg_hclass_t definition into msg_types.h
-
- M ./msg/msg_header.h -37
- M ./msg/msg_types.h +40
-
- Thu Sep 8 18:05:32 EEST 2005 Pekka.Pessi@nokia.com
- * Silenced vc6 warning.
-
- M ./iptsec/auth_module.c -1 +1
-
- Thu Sep 8 18:05:07 EEST 2005 Pekka.Pessi@nokia.com
- * Not using __func__.
-
- M ./iptsec/auth_digest.c -2 +2
-
- Thu Sep 8 18:04:38 EEST 2005 Pekka.Pessi@nokia.com
- * Silenced gcc4 warning.
-
- M ./tport/tport.c -1 +1
-
- Thu Sep 8 18:04:16 EEST 2005 Pekka.Pessi@nokia.com
- * Better following autoconf macros
-
- M ./tport/tport.c +9
-
- Thu Sep 8 18:02:53 EEST 2005 Pekka.Pessi@nokia.com
- * Using TPORT_DLL.
-
- M ./tport/tport.h -10 +19
-
- Thu Sep 8 18:01:58 EEST 2005 Pekka.Pessi@nokia.com
- * Not using IS_EXCLUDED_MASK.
-
- M ./url/url.c -1 +6
-
- Thu Sep 8 18:01:17 EEST 2005 Pekka.Pessi@nokia.com
- * Explicitly using
-
- M ./msg/msg.c +2
- M ./msg/msg_mclass.c +1
- M ./msg/msg_mime.c +1
- M ./msg/msg_parser.c +1
- M ./nta/nta.c +3
- M ./nth/nth_client.c +2
- M ./nth/nth_server.c +2
- M ./su/su_port.c +1
- M ./su/su_proxy.c +1
- M ./su/su_root.c +1
-
- Thu Sep 8 17:54:28 EEST 2005 Pekka.Pessi@nokia.com
- * Using http_off_t instead of off_t.
-
- M ./http/http_basic.c -5 +5
-
- Thu Sep 8 18:56:58 EEST 2005 Pekka.Pessi@nokia.com
- * Not using su_home_deinit().
-
- M ./nua/nua.c -3 +2
-
- Thu Sep 8 16:40:30 EEST 2005 Pekka.Pessi@nokia.com
- * Adding soa_asynch.c
-
- A ./soa/soa_asynch.c
-
- Thu Sep 8 03:23:00 EEST 2005 Pekka.Pessi@nokia.com
- * stab 2 at soa
- Added more functionality to soa. Stab at asynchronous API, too.
-
- M ./soa/Makefile.am -1 +2
- M ./soa/soa.c -146 +564
- M ./soa/soa.h -5 +24
- M ./soa/soa_add.h -2 +5
- M ./soa/soa_session.h -21 +48
- M ./soa/soa_static.c -30 +89
- M ./soa/soa_tag.c +64
- M ./soa/test_soa.c -7 +224
- M ./m4/sac-su2.m4 -1 +1
-
- Thu Sep 8 03:12:28 EEST 2005 Pekka.Pessi@nokia.com
- * really run sdp tests
- Now really running SDP tests.
-
- M ./sdp/run-tests -1 +1
-
- Thu Sep 8 03:11:35 EEST 2005 Pekka.Pessi@nokia.com
- * su_home_new and su_home_unref
- Added su_home_new() and su_home_unref().
-
- Fixed su_home_mutex_lock() and su_home_mutex_unlock().
-
- Slightly changed semantics of su_home_clone() versus
- su_home_threadsafe().
-
- M ./http/http_test.c -6 +6
- M ./msg/msg_test.c -2 +2
- M ./su/htable_test.c +3
- M ./su/su_alloc.c -173 +337
- M ./su/su_alloc.h -10 +18
- M ./su/su_alloc_lock.c -8 +31
- M ./su/su_alloc_test.c -5 +12
-
- Thu Sep 8 03:07:17 EEST 2005 Pekka.Pessi@nokia.com
- * More liberal sdp parsing for config files.
- Be more liberal when parsing config files
- (do not require v=, accept -1 as len argument).
-
- M ./sdp/sdp_parse.c -9 +25
-
- Thu Sep 8 01:05:02 EEST 2005 Pekka.Pessi@nokia.com
- * su_msg_is_non_null
- Added su_msg_is_non_null().
-
- M ./su/su_wait.h +11
-
- Thu Sep 8 01:03:31 EEST 2005 Pekka.Pessi@nokia.com
- * sdp_parser_home
- Added sdp_parser_home()
-
- M ./sdp/sdp.h +2
- M ./sdp/sdp_parse.c +10
-
-2005-09-08 Kai Vehmanen
-
- * Makefile.am: Workaround for automake bug related to adding
- custom targets to RECURSIVE_TARGETS.
-
-2005-08-25 Kai Vehmanen
-
- * Makefile.am: soa depends on ipt and sip, so has to
- be after them in SUBDIRS.
-
-2005-08-17 Pekka Pessi
-
- * Fixed BEGIN()/END() pairs in test programs.
-
-2005-08-04 Pekka Pessi
-
- * Added soa module.
-
-2005-07-18 Kai Vehmanen
-
- * libsofia-sip-ua created.
diff --git a/libs/sofia-sip/libsofia-sip-ua/Makefile.am b/libs/sofia-sip/libsofia-sip-ua/Makefile.am
deleted file mode 100644
index d2855be4bf..0000000000
--- a/libs/sofia-sip/libsofia-sip-ua/Makefile.am
+++ /dev/null
@@ -1,116 +0,0 @@
-#
-# Makefile.am for sofia-sip/libsofia-sip-ua
-#
-# Copyright (C) 2005,2006 Nokia Corporation
-# Contact: Pekka Pessi
-# Licensed under LGPL. See file COPYING.
-#
-# ref: http://www.gnu.org/software/automake/manual/automake.html
-
-AUTOMAKE_OPTIONS = foreign
-
-# select which optional sofia-sip modules have been enabled
-# in the build
-OPT_LIBADD =
-OPT_SUBDIRS_STUN =
-OPT_SUBDIRS_HTTP =
-OPT_SUBDIRS_NTH =
-if HAVE_STUN
-OPT_LIBADD += stun/libstun.la
-OPT_SUBDIRS_STUN += stun
-endif
-if HAVE_NTH
-OPT_LIBADD += http/libhttp.la nth/libnth.la
-OPT_SUBDIRS_HTTP += http
-OPT_SUBDIRS_NTH += nth
-endif
-
-# note: order does matter in the subdir list
-SUBDIRS = su features bnf sresolv ipt sdp url msg sip $(OPT_SUBDIRS_HTTP) \
- $(OPT_SUBDIRS_STUN) soa tport nta $(OPT_SUBDIRS_NTH) \
- nea iptsec nua
-DIST_SUBDIRS = su features bnf sresolv ipt sdp url msg sip http \
- stun soa tport nta nth \
- nea iptsec nua docs
-
-DOXYGEN = doxygen
-
-noinst_LTLIBRARIES = libsofia-sip-ua.la
-
-libsofia_sip_ua_la_SOURCES =
-libsofia_sip_ua_la_LIBADD = bnf/libbnf.la \
- features/libfeatures.la \
- ipt/libipt.la \
- iptsec/libiptsec.la \
- msg/libmsg.la \
- nea/libnea.la \
- nta/libnta.la \
- nua/libnua.la \
- sdp/libsdp.la \
- sip/libsip.la \
- soa/libsoa.la \
- sresolv/libsresolv.la \
- su/libsu.la \
- tport/libtport.la \
- url/liburl.la \
- $(OPT_LIBADD)
-
-# set the libtool version info version:revision:age for libsofia-sip-ua
-# - soname to 'libsofia-sip-ua.so.(CUR-AGE)'
-libsofia_sip_ua_la_LDFLAGS = \
- -version-info $(LIBVER_SOFIA_SIP_UA_CUR):$(LIBVER_SOFIA_SIP_UA_REV):$(LIBVER_SOFIA_SIP_UA_AGE)
-
-if HAVE_ZLIB
-libsofia_sip_ua_la_LDFLAGS += -lz
-endif
-
-PHONY = doxygen built-sources
-
-include $(top_srcdir)/rules/recursive.am
-
-checklib: checklib-recursive $(lib_LTLIBRARIES)
-
-doxygen: built-sources
- @echo Generating empty doxytags
- mkdir -p docs/html ; \
- for d in $(DIST_SUBDIRS); do \
- test -r $$d/Doxyfile || continue ; \
- if ! test -r docs/$$d.doxytags ; then \
- echo '' > docs/$$d.doxytags ; \
- else \
- sed '2,10s!index!'$$d'_index!' \
- docs/$$d.doxytags > docs/$$d.doxytags.tmp && \
- mv -f docs/$$d.doxytags.tmp docs/$$d.doxytags ; \
- fi ; \
- done
- for d in $(DIST_SUBDIRS); do \
- ( test -r $$d/Doxyfile && \
- cd $$d > /dev/null && \
- echo running ${DOXYGEN} first time in $$d && \
- ${DOXYGEN} 2>&1 ) | \
- egrep -v -i -e 'Warning: (unsupported (xml/)?html tag|unable to resolve reference|explicit link.*could not be resolved)' ; \
- test -r docs/$$d.doxytags && \
- sed '2,10s!index!'$$d'_index!' \
- docs/$$d.doxytags > docs/$$d.doxytags.tmp && \
- mv -f docs/$$d.doxytags.tmp docs/$$d.doxytags ; \
- done
- for d in $(DIST_SUBDIRS); do \
- ( test -r $$d/Doxyfile && \
- cd $$d > /dev/null \
- echo running ${DOXYGEN} second time in $$d && \
- ${DOXYGEN} 2>&1 ) | \
- egrep -v -i -e 'Warning: Unsupported (xml/)?html tag' ; \
- test -r docs/$$d.doxytags && \
- sed '2,10s!index!'$$d'_index!' \
- docs/$$d.doxytags > docs/$$d.doxytags.tmp && \
- mv -f docs/$$d.doxytags.tmp docs/$$d.doxytags ; \
- done
- ${top_srcdir}/scripts/hide_emails.sh docs/html
-
-if HAVE_LCOV
-include $(top_srcdir)/rules/lcov.am
-endif
-
-include $(top_srcdir)/rules/silent.am
-
-.PHONY: $(PHONY)
diff --git a/libs/sofia-sip/libsofia-sip-ua/bnf/ChangeLog b/libs/sofia-sip/libsofia-sip-ua/bnf/ChangeLog
deleted file mode 100644
index 7504442a31..0000000000
--- a/libs/sofia-sip/libsofia-sip-ua/bnf/ChangeLog
+++ /dev/null
@@ -1,7 +0,0 @@
-2006-06-15 Kai Vehmanen
-
- * sofia-sip/hostdomain.h (host_is_local): Function added.
-
-2005-07-18 Kai Vehmanen
-
- * Initial import of the module to Sofia-SIP tree.
diff --git a/libs/sofia-sip/libsofia-sip-ua/bnf/Doxyfile.in b/libs/sofia-sip/libsofia-sip-ua/bnf/Doxyfile.in
deleted file mode 100644
index bca76a1aaa..0000000000
--- a/libs/sofia-sip/libsofia-sip-ua/bnf/Doxyfile.in
+++ /dev/null
@@ -1,15 +0,0 @@
-PROJECT_NAME = "bnf"
-OUTPUT_DIRECTORY = ../docs/html/bnf
-
-INPUT = @srcdir@/bnf.docs @srcdir@/sofia-sip @srcdir@ .
-
-@INCLUDE_PATH = . @srcdir@
-@INCLUDE = ../docs/Doxyfile.conf
-
-TAGFILES += ../docs/su.doxytags=../su
-
-GENERATE_TAGFILE = ../docs/bnf.doxytags
-
-PREDEFINED += "static="
-
-MAX_INITIALIZER_LINES = 2
diff --git a/libs/sofia-sip/libsofia-sip-ua/bnf/Makefile.am b/libs/sofia-sip/libsofia-sip-ua/bnf/Makefile.am
deleted file mode 100644
index 01f87d9451..0000000000
--- a/libs/sofia-sip/libsofia-sip-ua/bnf/Makefile.am
+++ /dev/null
@@ -1,47 +0,0 @@
-#
-# Makefile.am for bnf module
-#
-# Copyright (C) 2005,2006 Nokia Corporation
-# Contact: Pekka Pessi
-# Licensed under LGPL. See file COPYING.
-
-# ----------------------------------------------------------------------
-# Header paths
-
-AM_CPPFLAGS = -I$(srcdir)/../su -I../su
-
-# ----------------------------------------------------------------------
-# Build targets
-
-noinst_LTLIBRARIES = libbnf.la
-
-check_PROGRAMS = torture_bnf
-
-# ----------------------------------------------------------------------
-# Rules for building the targets
-
-nobase_include_sofia_HEADERS = sofia-sip/bnf.h sofia-sip/hostdomain.h
-
-libbnf_la_SOURCES = bnf.c
-
-COVERAGE_INPUT = $(libbnf_la_SOURCES) $(include_sofia_HEADERS)
-
-LDADD = libbnf.la ../su/libsu.la
-
-torture_bnf_LDFLAGS = -static
-
-# ----------------------------------------------------------------------
-# Install and distribution rules
-
-EXTRA_DIST = bnf.docs
-
-# ----------------------------------------------------------------------
-# Tests
-
-TESTS = torture_bnf
-
-# ----------------------------------------------------------------------
-# Sofia specific rules
-
-include $(top_srcdir)/rules/sofia.am
-
diff --git a/libs/sofia-sip/libsofia-sip-ua/bnf/bnf.c b/libs/sofia-sip/libsofia-sip-ua/bnf/bnf.c
deleted file mode 100644
index 07a503dcd3..0000000000
--- a/libs/sofia-sip/libsofia-sip-ua/bnf/bnf.c
+++ /dev/null
@@ -1,922 +0,0 @@
-/*
- * This file is part of the Sofia-SIP package
- *
- * Copyright (C) 2005,2006 Nokia Corporation.
- *
- * Contact: Pekka Pessi
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public License
- * as published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA
- *
- */
-
-/**@CFILE bnf.c
- * @brief Character syntax table for HTTP-like protocols.
- *
- * @author Pekka Pessi
- * @author Kai Vehmanen
- *
- * @date Created: Thu Jun 8 19:28:55 2000 ppessi
- */
-
-#include "config.h"
-
-#include "sofia-sip/bnf.h"
-#include "sofia-sip/su_string.h"
-
-#include
-#include
-
-#define ws bnf_ws
-#define crlf bnf_crlf
-#define alpha bnf_alpha
-#define digit bnf_mark|bnf_token0|bnf_safe
-#define sep bnf_separator
-#define msep bnf_mark|bnf_separator
-#define psep bnf_param0|bnf_separator
-#define tok bnf_token0
-#define mtok bnf_mark|bnf_token0
-#define smtok bnf_mark|bnf_token0|bnf_safe
-#define safe bnf_safe
-
-/** Table for determining class of a character */
-unsigned char const _bnf_table[256] = {
- 0, 0, 0, 0, 0, 0, 0, 0,
- 0, ws, crlf, 0, 0, crlf, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0,
- ws, mtok, sep, 0, safe, mtok, 0, mtok, /* !"#$%&' */
- msep, msep, mtok, tok, sep, smtok, smtok, psep, /* ()*+,-./ */
- digit, digit, digit, digit, digit, digit, digit, digit, /* 01234567 */
- digit, digit, psep, sep, sep, sep, sep, sep, /* 89:;<=>? */
- sep, alpha, alpha, alpha, alpha, alpha, alpha, alpha, /* @ABCDEFG */
- alpha, alpha, alpha, alpha, alpha, alpha, alpha, alpha, /* HIJKLMNO */
- alpha, alpha, alpha, alpha, alpha, alpha, alpha, alpha, /* PQRSTUVW */
- alpha, alpha, alpha, psep, sep, psep, 0, smtok, /* XYZ[\]^_ */
- tok, alpha, alpha, alpha, alpha, alpha, alpha, alpha, /* `abcdefg */
- alpha, alpha, alpha, alpha, alpha, alpha, alpha, alpha, /* hijklmno */
- alpha, alpha, alpha, alpha, alpha, alpha, alpha, alpha, /* pqrstuvw */
- alpha, alpha, alpha, sep, 0, sep, mtok, 0, /* xyz{|}~ */
-};
-
-#if 0 /* This escaped lab */
-
-#define BM(c, m00, m32, m64, m96) \
- ((c < 64) \
- ? ((c < 32) \
- ? (m00 & (1 << (31 - c))) \
- : (m32 & (1 << (63 - c)))) \
- : ((c < 96) \
- ? (m64 & (1 << (95 - c))) \
- : (m96 & (1 << (127 - c)))))
-
-/** Span of a token */
-size_t bnf_span_token(char const *s)
-{
- char const *e = s;
- unsigned const m32 = 0x4536FFC0U, m64 = 0x7FFFFFE1U, m96 = 0xFFFFFFE2U;
-
- while (BM(*e, 0, m32, m64, m96))
- e++;
-
- return e - s;
-}
-
-/** Span of a token */
-size_t bnf_span_token4(char const *s)
-{
- char const *e = s;
- while (_bnf_table[(unsigned char)(*e)] & bnf_token)
- e++;
- return e - s;
-}
-
-char * bnf_span_token_end(char const *s)
-{
- return (char *)s;
-}
-#endif
-
-/** Return length of decimal-octet */
-su_inline int span_ip4_octet(char const *host)
-{
- /*
- decimal-octet = DIGIT
- / DIGIT DIGIT
- / (("0"/"1") 2*(DIGIT))
- / ("2" ("0"/"1"/"2"/"3"/"4") DIGIT)
- / ("2" "5" ("0"/"1"/"2"/"3"/"4"/"5"))
- */
-
- if (!IS_DIGIT(host[0]))
- return 0;
-
- /* DIGIT */
- if (!IS_DIGIT(host[1]))
- return 1;
-
- if (host[0] == '2') {
- /* ("2" "5" ("0"/"1"/"2"/"3"/"4"/"5")) */
- if (host[1] == '5' && host[2] >= '0' && host[2] <= '5')
- return 3;
-
- /* ("2" ("0"/"1"/"2"/"3"/"4") DIGIT) */
- if (host[1] >= '0' && host[1] <= '4' &&
- host[2] >= '0' && host[2] <= '9')
- return 3;
- }
- else if (host[0] == '0' || host[0] == '1') {
- if (IS_DIGIT(host[2]))
- /* ("1" 2*(DIGIT)) ... or "0" 2*(DIGIT) */
- return 3;
- }
-
- /* POS-DIGIT DIGIT */
- return 2;
-}
-
-/** Return length of valid IP4 address */
-static
-int span_canonic_ip4_address(char const *host, int *return_canonize)
-{
- int n, len, canonize = 0;
-
- if (host == NULL)
- return 0;
-
- /* IPv4address = dec-octet "." dec-octet "." dec-octet "." dec-octet */
- len = span_ip4_octet(host);
- if (len == 0 || host[len] != '.')
- return 0;
- if (len > 1 && host[0] == '0')
- canonize = 1;
- n = len + 1;
-
- len = span_ip4_octet(host + n);
- if (len == 0 || host[n + len] != '.')
- return 0;
- if (len > 1 && host[n] == '0')
- canonize = 1;
- n += len + 1;
-
- len = span_ip4_octet(host + n);
- if (len == 0 || host[n + len] != '.')
- return 0;
- if (len > 1 && host[n] == '0')
- canonize = 1;
- n += len + 1;
-
- len = span_ip4_octet(host + n);
- if (len == 0 || IS_DIGIT(host[n + len]) || host[n + len] == '.')
- return 0;
- if (len > 1 && host[n] == '0')
- canonize = 1;
- n += len;
-
- if (canonize && return_canonize)
- *return_canonize = 1;
-
- return n;
-}
-
-/** Return length of valid IP4 address.
- *
- * Note that we accept here up to two leading zeroes
- * which makes "dotted decimal" notation ambiguous:
- * 127.000.000.001 is interpreted same as 127.0.0.1
- *
- * Note that traditionally IP address octets starting
- * with zero have been interpreted as octal:
- * 172.055.055.001 has been same as 172.45.45.1
- *
- * @b However, we interpret them as @b decimal,
- * 172.055.055.001 is same as 172.55.55.1.
- */
-int span_ip4_address(char const *host)
-{
- return span_canonic_ip4_address(host, NULL);
-}
-
-/** Scan and canonize a valid IP4 address. */
-int scan_ip4_address(char **inout_host)
-{
- char *src = *inout_host, *dst = src;
- issize_t n;
- int canonize = 0;
-
- if (src == NULL)
- return -1;
-
- n = span_canonic_ip4_address(src, &canonize);
- if (n == 0)
- return -1;
-
- *inout_host += n;
-
- if (!canonize)
- return n;
-
- for (;;) {
- char c = *dst++ = *src++;
-
- if (IS_DIGIT(*src)) {
- if (canonize && c == '0')
- dst--;
- else if (c == '.')
- canonize = 1;
- else
- canonize = 0;
- }
- else if (*src != '.') {
- break;
- }
- }
- *dst = '\0';
-
- return n;
-}
-
-/** Return length of hex4 */
-su_inline int span_hex4(char const *host)
-{
- if (!IS_HEX(host[0]))
- return 0;
- if (!IS_HEX(host[1]))
- return 1;
- if (!IS_HEX(host[2]))
- return 2;
- if (!IS_HEX(host[3]))
- return 3;
- return 4;
-}
-
-/** Return length of valid IP6 address */
-su_inline
-int span_canonic_ip6_address(char const *host,
- int *return_canonize,
- char *hexparts[9])
-{
- int n = 0, len, hex4, doublecolon = 0, canonize = 0;
-
- /*
- IPv6address = hexpart [ ":" IPv4address ]
- hexpart = hexseq / hexseq "::" [ hexseq ] / "::" [ hexseq ]
- hexseq = hex4 *( ":" hex4)
- hex4 = 1*4HEXDIG
-
- There is at most 8 hex4, 6 hex4 if IPv4address is included.
- */
-
- if (host == NULL)
- return 0;
-
- for (hex4 = 0; hex4 < 8; ) {
- len = span_hex4(host + n);
-
- if (return_canonize) {
- if ((len > 1 && host[n + 1] == '0') || host[n] == '0')
- canonize = 1;
- if (hexparts)
- hexparts[hex4 + doublecolon] = (char *)(host + n);
- }
-
- if (host[n + len] == ':') {
- if (len != 0) {
- hex4++;
- n += len + 1;
- if (!doublecolon && host[n] == ':') {
- if (return_canonize && hexparts) {
- hexparts[hex4] = (char *)(host + n - 1);
- }
- doublecolon++, n++;
- }
- }
- else if (n == 0 && host[1] == ':') {
- doublecolon++, n = 2;
- }
- else
- break;
- }
- else if (host[n + len] == '.') {
- len = span_canonic_ip4_address(host + n, return_canonize);
-
- if (len == 0 || hex4 > 6 || !(doublecolon || hex4 == 6))
- return 0;
-
- if (canonize && return_canonize)
- *return_canonize = 1;
-
- return n + len;
- }
- else {
- if (len != 0)
- hex4++;
- n += len;
- break;
- }
- }
-
- if (hex4 != 8 && !doublecolon)
- return 0;
-
- if (IS_HEX(host[n]) || host[n] == ':')
- return 0;
-
- if (canonize && return_canonize)
- *return_canonize = canonize;
-
- return n;
-}
-
-/** Canonize scanned IP6 address.
- *
- * @retval Length of canonized IP6 address.
- */
-su_inline
-int canonize_ip6_address(char *host, char *hexparts[9])
-{
- char *dst, *hex, *ip4 = NULL;
- int i, doublecolon, j, maxparts, maxspan, span, len;
-
- char buf[sizeof "ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255"];
-
- /*
- Canonic representation has fewest chars
- - except for mapped/compatible IP4 addresses, like
- ::15.21.117.42 or ::ffff:15.21.117.42 which have non-canonic forms of
- ::f15:752a or ::ffff:f15:752a
- => we just canonize hexparts and ip4part separately
- and select optimal place for doublecolon
- (with expection of ::1 and ::, which are canonized)
- */
- for (i = 0, doublecolon = -1; i < 9; i++) {
- hex = hexparts[i];
- if (!hex)
- break;
- if (hex[0] == ':')
- doublecolon = i;
- while (hex[0] == '0' && IS_HEX(hex[1]))
- hex++;
- hexparts[i] = hex;
- }
- assert(i > 0);
-
- if (hexparts[i - 1][span_hex4(hexparts[i - 1])] == '.')
- ip4 = hexparts[--i];
-
- maxparts = ip4 ? 6 : 8;
-
- if (doublecolon >= 0) {
- /* Order at most 8 (or 6) hexparts */
- assert(i <= maxparts + 1);
-
- if (i == maxparts + 1) {
- /* There is an extra doublecolon */
- for (j = doublecolon; j + 1 < i; j++)
- hexparts[j] = hexparts[j + 1];
- i--;
- }
- else {
- for (j = maxparts; i > doublecolon + 1; )
- hexparts[--j] = hexparts[--i];
- for (;j > doublecolon;)
- hexparts[--j] = "0:";
- i = maxparts;
- }
- }
- assert(i == maxparts);
-
- /* Scan for optimal place for "::" */
- for (i = 0, maxspan = 0, span = 0, doublecolon = 0; i < maxparts; i++) {
- if (hexparts[i][0] == '0')
- span++;
- else if (span > maxspan)
- doublecolon = i - span, maxspan = span, span = 0;
- else
- span = 0;
- }
-
- if (span > maxspan)
- doublecolon = i - span, maxspan = span;
-
- dst = buf;
-
- for (i = 0; i < maxparts; i++) {
- if (i == doublecolon)
- hex = i == 0 ? "::" : ":", len = 1;
- else if (i > doublecolon && i < doublecolon + maxspan)
- continue;
- else
- hex = hexparts[i], len = span_hex4(hex);
- if (hex[len] == ':')
- len++;
- memcpy(dst, hex, len);
- dst += len;
- }
-
- if (ip4) {
- hex = ip4;
- len = scan_ip4_address(&hex); assert(len > 0);
-
- /* Canonize :: and ::1 */
- if (doublecolon == 0 && maxspan == 6) {
- if (len == 7 && strncmp(ip4, "0.0.0.0", len) == 0)
- ip4 = "", len = 0;
- else if (len == 7 && strncmp(ip4, "0.0.0.1", len) == 0)
- ip4 = "1", len = 1;
- }
-
- memcpy(dst, ip4, len);
- dst += len;
- }
-
- len = dst - buf;
-
- memcpy(host, buf, len);
-
- return len;
-}
-
-/** Return length of valid IP6 address */
-int span_ip6_address(char const *host)
-{
- return span_canonic_ip6_address(host, NULL, NULL);
-}
-
-/** Scan and canonize valid IP6 address.
- *
- * @param inout_host input pointer to string to scan
- * output pointer to first character after valid IP6 address
- *
- * @retval Length of valid IP6 address or -1 upon an error.
- *
- * @note Scanned IP6 is not always NUL-terminated.
- */
-int scan_ip6_address(char **inout_host)
-{
- int n, canonize = 0;
- char *host = *inout_host;
- char *hexparts[9] = { NULL };
-
- n = span_canonic_ip6_address(host, &canonize, hexparts);
-
- if (n == 0)
- return -1;
-
- *inout_host += n;
-
- if (canonize) {
- int len = canonize_ip6_address(host, hexparts);
- assert(len <= n);
- if (len < n)
- host[len] = '\0';
- }
-
- return n;
-}
-
-/** Return length of valid IP6 reference. */
-int span_ip6_reference(char const *host)
-{
- /* IPv6reference = "[" IPv6address "]" */
-
- if (host && host[0] == '[') {
- int n = span_ip6_address(host + 1);
- if (n > 0 && host[n + 1] == ']')
- return n + 2;
- }
-
- return 0;
-}
-
-/** Scan valid IP6 reference. */
-int scan_ip6_reference(char **inout_host)
-{
- int n, canonize = 0;
- char *host = *inout_host;
- char *hexparts[9] = { NULL };
-
- /* IPv6reference = "[" IPv6address "]" */
-
- if (host == NULL ||
- host[0] != '[' ||
- (n = span_canonic_ip6_address(host + 1, &canonize, hexparts)) == 0 ||
- host[n + 1] != ']')
- return -1;
-
- *inout_host += n + 2;
-
- if (canonize) {
- int len = canonize_ip6_address(host + 1, hexparts);
-
- assert(len <= n);
-
- host[len + 1] = ']';
- if (len + 2 < n + 2)
- host[len + 2] = '\0';
- }
-
- return n + 2;
-}
-
-/** Return length of valid IP4 or IP6 address. */
-int span_ip_address(char const *host)
-{
- if (!host || !host[0])
- return 0;
-
- /* IPv4address = dec-octet "." dec-octet "." dec-octet "." dec-octet */
- if (IS_DIGIT(host[0])) {
- int n = span_ip4_address(host);
- if (n)
- return n;
- }
-
- if (host[0] == '[')
- return span_ip6_reference(host);
- else
- return span_ip6_address(host);
-}
-
-/** Scan valid IP4/IP6 address. */
-int scan_ip_address(char **inout_host)
-{
- char *host = *inout_host;
-
- if (host == NULL)
- return -1;
-
- /* IPv6reference = "[" IPv6address "]" */
- if (host[0] == '[')
- return scan_ip6_reference(inout_host);
-
- if (IS_DIGIT(host[0])) {
- int n = scan_ip4_address(inout_host);
- if (n > 0)
- return n;
- }
-
- return scan_ip6_address(inout_host);
-}
-
-/** Return length of a valid domain label */
-su_inline
-size_t span_domain_label(char const *label)
-{
- /* domainlabel = alphanum / alphanum *( alphanum / "-" ) alphanum */
- if (IS_ALPHANUM(*label)) {
- size_t n;
- for (n = 1; IS_ALPHANUM(label[n]) || label[n] == '-'; n++)
- ;
- if (IS_ALPHANUM(label[n - 1]))
- return n;
- }
-
- return 0;
-}
-
-/** Scan valid domain name and count number of labels in it. */
-su_inline
-size_t span_domain_labels(char const *host, size_t *return_labels)
-{
- size_t len, n, labels;
- int c;
-
- if (!host || !host[0])
- return 0;
-
- for (n = 0, labels = 0; ; n += len) {
- len = span_domain_label(host + n);
- if (len == 0)
- return 0;
-
- labels++;
-
- if (host[n + len] != '.')
- break;
- len++;
- if (!IS_ALPHANUM(host[n + len]))
- break;
- }
-
- /* Check that last label does not start with number */
- if (!IS_ALPHA(host[n]))
- return 0;
-
- c = host[n + len];
- if (IS_ALPHANUM(c) || c == '-' || c == '.')
- return 0;
-
- if (return_labels)
- *return_labels = labels;
-
- return n + len;
-}
-
-/** Return length of a valid domain name.
- *
- * @code
- * hostname = *( domainlabel "." ) toplabel [ "." ]
- * domainlabel = alphanum
- * / alphanum *( alphanum / "-" ) alphanum
- * toplabel = ALPHA / ALPHA *( alphanum / "-" ) alphanum
- * @endcode
- */
-isize_t span_domain(char const *host)
-{
- return span_domain_labels(host, NULL);
-}
-
-/** Scan valid domain name. */
-issize_t scan_domain(char **inout_host)
-{
- char *host;
- size_t n, labels;
-
- n = span_domain_labels(host = *inout_host, &labels);
- if (n == 0)
- return -1;
-
- /* Remove extra dot at the end of hostname */
- if (labels > 1 && host[n - 1] == '.')
- host[n - 1] = '\0';
-
- *inout_host += n;
-
- return n;
-}
-
-/** Return length of a valid domain name or IP address. */
-isize_t span_host(char const *host)
-{
- if (!host || !host[0])
- return 0;
-
- if (host[0] == '[')
- return span_ip6_reference(host);
-
- if (IS_DIGIT(host[0])) {
- int n = span_ip4_address(host);
- if (n)
- return (isize_t)n;
- }
-
- return span_domain(host);
-}
-
-/** Scan valid domain name or IP address. */
-issize_t scan_host(char **inout_host)
-{
- char *host = *inout_host;
-
- if (host == NULL)
- return -1;
-
- /* IPv6reference = "[" IPv6address "]" */
- if (host[0] == '[')
- return scan_ip6_reference(inout_host);
-
- if (IS_DIGIT(host[0])) {
- int n = scan_ip4_address(inout_host);
- if (n > 0)
- return (issize_t)n;
- }
-
- return scan_domain(inout_host);
-}
-
-#include
-
-/** Return true if @a string is valid IP4 address in dot-notation.
- *
- * @note Only 4-octet form is accepted, e.g., @c 127.1 is not considered
- * valid IP4 address.
- */
-int host_is_ip4_address(char const *string)
-{
- int n = span_ip4_address(string);
- return n > 0 && string[n] == '\0';
-}
-
-/** Return true if @a string is valid IP6 address in hex notation.
- *
- * E.g., fe80::1 is a valid IP6 address.
- */
-int host_is_ip6_address(char const *string)
-{
- int n = span_ip6_address(string);
- return n > 0 && string[n] == '\0';
-}
-
-int host_ip6_reference(char const *string)
-{
- return host_is_ip6_reference(string);
-}
-
-/** Return true if @a string is valid IP6 reference,
- * i.e. hex notation in square brackets.
- *
- * E.g., [::1] is a valid IP6 reference.
- */
-int host_is_ip6_reference(char const *string)
-{
- int n = span_ip6_reference(string);
- return n > 0 && string[n] == '\0';
-}
-
-/** Return true if @a string is valid IP address.
- *
- * Valid IP address is either a IP4 adddress in quad-octet notation,
- * IP6 hex address or IP6 reference in square brackets ([]).
- */
-int host_is_ip_address(char const *string)
-{
- int n = span_ip_address(string);
- return n > 0 && string[n] == '\0';
-}
-
-/** Return true if @a string is valid a domain name.
- *
- * Valid domain name consists of alphanumeric labels separated with
- * dot ("."). There can be a "-" in the middle of label.
- * The last label must start with a letter.
- *
- * @code
- * hostname = *( domainlabel "." ) toplabel [ "." ]
- * domainlabel = alphanum
- * / alphanum *( alphanum / "-" ) alphanum
- * toplabel = ALPHA / ALPHA *( alphanum / "-" ) alphanum
- * @endcode
- */
-int host_is_domain(char const *string)
-{
- size_t n = string ? span_domain(string) : 0;
- return string && n > 0 && string[n] == '\0';
-}
-
-/** Return true if @a string is valid a host name.
- *
- * Check if the @a string is a domain name, IP address or IP6 reference.
- */
-int host_is_valid(char const *string)
-{
- size_t n = span_host(string);
- return n > 0 && string[n] == '\0';
-}
-
-/** Returns true if @a string is describing a local address.
- *
- * Uses the definitions of local addresses found in RFC1700 and
- * RFC4291.
- */
-int host_is_local(char const *host)
-{
- size_t n;
-
- if (host_is_ip6_reference(host))
- return (strcmp(host, "[::1]") == 0);
- else if (host_is_ip6_address(host))
- return (strcmp(host, "::1") == 0);
- else if (host_is_ip4_address(host))
- return (strncmp(host, "127.", 4) == 0);
-
- n = span_domain(host);
-
- return
- n >= 9 /* strlen("localhost") */ &&
- su_casenmatch(host, "localhost", 9) &&
- (n == 9 ||
- ((n == 10 || /* localhost. */
- n == 21 || /* strlen("localhost.localdomain") */
- n == 22) && /* strlen("localhost.localdomain.") */
- su_casenmatch(host + 9, ".localdomain.", n - 9)));
-}
-
-/** Return true if @a string has domain name in "invalid." domain.
- *
- */
-int host_has_domain_invalid(char const *string)
-{
- size_t n = span_domain(string);
-
- if (n >= 7 && string[n] == '\0') {
- static char const invalid[] = ".invalid";
- if (string[n - 1] == '.') /* .invalid. perhaps? */
- n--;
- if (n == 7 /* strlen("invalid") */)
- return su_casenmatch(string, invalid + 1, 7);
- else
- return su_casenmatch(string + n - 8, invalid, 8);
- }
-
- return 0;
-}
-
-#include
-
-static size_t convert_ip_address(char const *s,
- uint8_t addr[16],
- size_t *return_addrlen)
-{
- size_t len;
- int canonize = 0;
- char buf[sizeof "ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255"];
-
-#if SU_HAVE_IN6
-
- len = span_ip6_reference(s);
- if (len) {
- assert(len - 2 < sizeof buf); assert(len > 2);
-
- if (s[len])
- return 0;
-
- len = len - 2;
- s = memcpy(buf, s + 1, len), buf[len] = '\0';
- }
- else
- len = span_ip6_address(s);
-
- if (len) {
- if (s[len] == '\0' && su_inet_pton(AF_INET6, s, addr) == 1) {
- if (SU_IN6_IS_ADDR_V4MAPPED(addr) ||
- SU_IN6_IS_ADDR_V4COMPAT(addr)) {
- memcpy(addr, addr + 12, 4);
- return (void)(*return_addrlen = 4), len;
- }
- return (void)(*return_addrlen = 16), len;
- }
- }
- else
-#endif
- len = span_canonic_ip4_address(s, &canonize);
-
- if (len) {
- if (canonize) {
- char *tmp = buf;
- s = memcpy(tmp, s, len + 1);
- scan_ip4_address(&tmp);
- }
- if (s[len] == '\0' && su_inet_pton(AF_INET, s, addr) == 1)
- return (void)(*return_addrlen = 4), len;
- }
-
- return 0;
-}
-
-/** Compare two host names or IP addresses
- *
- * Converts valid IP addresses to the binary format before comparing them.
- * Note that IP6-mapped IP4 addresses and IP6-compatible IP4 addresses are
- * compared as IP4 addresses; that is, ::ffff:127.0.0.1, ::127.0.0.1 and
- * 127.0.0.1 all are all equal.
- *
- * @param a IP address or domain name
- * @param b IP address or domain name
- *
- * @retval -1 if a < b
- * @retval 0 if a == b
- * @retval 1 if a > b
- *
- * @since New in @VERSION_1_12_4.
- */
-int host_cmp(char const *a, char const *b)
-{
- uint8_t a6[16], b6[16];
- size_t alen, blen, asize = 0, bsize = 0;
- int retval;
-
- if (a == NULL || b == NULL) {
- retval = (a != NULL) - (b != NULL);
- }
- else {
- alen = convert_ip_address(a, a6, &asize);
- blen = convert_ip_address(b, b6, &bsize);
-
- if (alen > 0 && blen > 0) {
- if (asize < bsize)
- retval = -1;
- else if (asize > bsize)
- retval = 1;
- else
- retval = memcmp(a6, b6, asize);
- }
- else {
- retval = su_strcasecmp(a, b);
- }
- }
-
- return retval;
-}
diff --git a/libs/sofia-sip/libsofia-sip-ua/bnf/bnf.docs b/libs/sofia-sip/libsofia-sip-ua/bnf/bnf.docs
deleted file mode 100644
index bbd1536bb6..0000000000
--- a/libs/sofia-sip/libsofia-sip-ua/bnf/bnf.docs
+++ /dev/null
@@ -1,19 +0,0 @@
-/* -*- C -*- */
-
-/**@MODULEPAGE "bnf" - String Parser Module
- *
- * @section bnf_meta Module Meta Information
- *
- * The Sofia @b bnf module contains macros and functions for parsing
- * text-based formats, for example, for SIP. The interface is described in
- * .
- *
- * The interface used for validating hostnames and IP addresses is in
- * .
- *
- * @CONTACT Pekka Pessi
- *
- * @STATUS @SofiaSIP Core library
- *
- * @LICENSE LGPL
- */
diff --git a/libs/sofia-sip/libsofia-sip-ua/bnf/sofia-sip/bnf.h b/libs/sofia-sip/libsofia-sip-ua/bnf/sofia-sip/bnf.h
deleted file mode 100644
index f048b9bff4..0000000000
--- a/libs/sofia-sip/libsofia-sip-ua/bnf/sofia-sip/bnf.h
+++ /dev/null
@@ -1,325 +0,0 @@
-/*
- * This file is part of the Sofia-SIP package
- *
- * Copyright (C) 2005 Nokia Corporation.
- *
- * Contact: Pekka Pessi
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public License
- * as published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA
- *
- */
-
-#ifndef BNF_H /** Defined when has been included. */
-#define BNF_H
-
-/**@file sofia-sip/bnf.h
- *
- * Parsing macros and prototypes for HTTP-like protocols.
- *
- * @author Pekka Pessi
- *
- * @date Created: Tue Jun 06 10:59:34 2000 ppessi
- *
- */
-
-#include
-
-#include