Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
e1813ed702
1
.gitignore
vendored
1
.gitignore
vendored
@ -113,3 +113,4 @@ docs/doxygen
|
|||||||
/build/vc10/ipch
|
/build/vc10/ipch
|
||||||
/build/vc10/IUpnpErrFile.txt
|
/build/vc10/IUpnpErrFile.txt
|
||||||
/build/vc10/IUpnpInfoFile.txt
|
/build/vc10/IUpnpInfoFile.txt
|
||||||
|
/build/vc10/*.opensdf
|
||||||
|
@ -2,6 +2,14 @@
|
|||||||
Version 1.8.0
|
Version 1.8.0
|
||||||
*******************************************************************************
|
*******************************************************************************
|
||||||
|
|
||||||
|
2013-04-27 Thijs Schreijer <thijs(at)thijsschreijer.nl>
|
||||||
|
|
||||||
|
Renamed SCRIPTSUPPORT to IXML_HAVE_SCRIPTSUPPORT for consistency. Also
|
||||||
|
updated autoconfig and automake files, so it also works on non-windows.
|
||||||
|
Option is enabled by default, because it adds an element to the node
|
||||||
|
structure. Not using an available field is better than accidentally
|
||||||
|
using an unavailable field.
|
||||||
|
|
||||||
2012-07-11 Thijs Schreijer <thijs(at)thijsschreijer.nl>
|
2012-07-11 Thijs Schreijer <thijs(at)thijsschreijer.nl>
|
||||||
|
|
||||||
Changed param to const UpnpAcceptSubscriptionExt() for consistency
|
Changed param to const UpnpAcceptSubscriptionExt() for consistency
|
||||||
|
5
README
5
README
@ -351,8 +351,9 @@ The treestructure of XML documents created by IXML is hard to maintain when
|
|||||||
creating a binding for a scripting language. Even when many elements may
|
creating a binding for a scripting language. Even when many elements may
|
||||||
never be used on the script side, it requires copying the entire tree
|
never be used on the script side, it requires copying the entire tree
|
||||||
structure once you start accessing elements several levels deep.
|
structure once you start accessing elements several levels deep.
|
||||||
Hence scriptsupport was added. To enable it compile while SCRIPTSUPPORT has
|
Hence scriptsupport was added. To enable it compile while
|
||||||
been defined. This allows control using only a list instead of a tree-like
|
IXML_HAVE_SCRIPTSUPPORT has been defined (enabled by default).
|
||||||
|
This allows control using only a list instead of a tree-like
|
||||||
structure, and only nodes actually accessed need to be created instead of
|
structure, and only nodes actually accessed need to be created instead of
|
||||||
all the nodes in the tree.
|
all the nodes in the tree.
|
||||||
|
|
||||||
|
@ -82,6 +82,9 @@
|
|||||||
/* Define to 1 if you have the <ws2tcpip.h> header file. */
|
/* Define to 1 if you have the <ws2tcpip.h> header file. */
|
||||||
/* #undef HAVE_WS2TCPIP_H */
|
/* #undef HAVE_WS2TCPIP_H */
|
||||||
|
|
||||||
|
/* see upnpconfig.h */
|
||||||
|
#define IXML_HAVE_SCRIPTSUPPORT 1
|
||||||
|
|
||||||
/* Define to the sub-directory in which libtool stores uninstalled libraries.
|
/* Define to the sub-directory in which libtool stores uninstalled libraries.
|
||||||
*/
|
*/
|
||||||
#define LT_OBJDIR ".libs/"
|
#define LT_OBJDIR ".libs/"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<ItemGroup Label="ProjectConfigurations">
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
<ProjectConfiguration Include="Debug Lib|Win32">
|
<ProjectConfiguration Include="Debug Lib|Win32">
|
||||||
@ -158,7 +158,7 @@
|
|||||||
<ClCompile>
|
<ClCompile>
|
||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
<AdditionalIncludeDirectories>..\..\ixml\inc;..\..\ixml\src\inc;..\inc;..\..\upnp\inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\..\ixml\inc;..\..\ixml\src\inc;..\inc;..\..\upnp\inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>DEBUG;WIN32;_USRDLL;LIBUPNP_EXPORTS;UPNP_USE_MSVCPP;SCRIPTSUPPORT;_CRT_NONSTDC_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_SECURE_SCL;_SCL_SECURE_NO_WARNINGS;_SCL_SECURE_NO_DEPRECATE;_AFX_SECURE_NO_WARNINGS;_AFX_SECURE_NO_DEPRECATE;_SECURE_ATL;_ATL_NO_COM_SUPPORT;_ATL_SECURE_NO_WARNINGS;_ATL_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>DEBUG;WIN32;_USRDLL;LIBUPNP_EXPORTS;UPNP_USE_MSVCPP;IXML_HAVE_SCRIPTSUPPORT;_CRT_NONSTDC_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_SECURE_SCL;_SCL_SECURE_NO_WARNINGS;_SCL_SECURE_NO_DEPRECATE;_AFX_SECURE_NO_WARNINGS;_AFX_SECURE_NO_DEPRECATE;_SECURE_ATL;_ATL_NO_COM_SUPPORT;_ATL_SECURE_NO_WARNINGS;_ATL_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<MinimalRebuild>true</MinimalRebuild>
|
<MinimalRebuild>true</MinimalRebuild>
|
||||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||||
@ -206,7 +206,7 @@
|
|||||||
<InlineFunctionExpansion>Default</InlineFunctionExpansion>
|
<InlineFunctionExpansion>Default</InlineFunctionExpansion>
|
||||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
<AdditionalIncludeDirectories>..\..\ixml\inc;..\..\ixml\src\inc;..\inc;..\..\upnp\inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\..\ixml\inc;..\..\ixml\src\inc;..\inc;..\..\upnp\inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;LIBUPNP_EXPORTS;UPNP_USE_MSVCPP;SCRIPTSUPPORT;_CRT_NONSTDC_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_SECURE_SCL;_SCL_SECURE_NO_WARNINGS;_SCL_SECURE_NO_DEPRECATE;_AFX_SECURE_NO_WARNINGS;_AFX_SECURE_NO_DEPRECATE;_SECURE_ATL;_ATL_NO_COM_SUPPORT;_ATL_SECURE_NO_WARNINGS;_ATL_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;RELEASE;NDEBUG;_WINDOWS;_USRDLL;LIBUPNP_EXPORTS;UPNP_USE_MSVCPP;IXML_HAVE_SCRIPTSUPPORT;_CRT_NONSTDC_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_SECURE_SCL;_SCL_SECURE_NO_WARNINGS;_SCL_SECURE_NO_DEPRECATE;_AFX_SECURE_NO_WARNINGS;_AFX_SECURE_NO_DEPRECATE;_SECURE_ATL;_ATL_NO_COM_SUPPORT;_ATL_SECURE_NO_WARNINGS;_ATL_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<StringPooling>true</StringPooling>
|
<StringPooling>true</StringPooling>
|
||||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
@ -251,7 +251,7 @@
|
|||||||
<ClCompile>
|
<ClCompile>
|
||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
<AdditionalIncludeDirectories>..\..\ixml\inc;..\..\ixml\src\inc;..\inc;..\..\upnp\inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\..\ixml\inc;..\..\ixml\src\inc;..\inc;..\..\upnp\inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>DEBUG;WIN32;PTW32_STATIC_LIB;UPNP_STATIC_LIB;UPNP_USE_MSVCPP;_CRT_NONSTDC_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_SECURE_SCL;_SCL_SECURE_NO_WARNINGS;_SCL_SECURE_NO_DEPRECATE;_AFX_SECURE_NO_WARNINGS;_AFX_SECURE_NO_DEPRECATE;_SECURE_ATL;_ATL_NO_COM_SUPPORT;_ATL_SECURE_NO_WARNINGS;_ATL_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>IXML_HAVE_SCRIPTSUPPORT;DEBUG;WIN32;PTW32_STATIC_LIB;UPNP_STATIC_LIB;UPNP_USE_MSVCPP;_CRT_NONSTDC_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_SECURE_SCL;_SCL_SECURE_NO_WARNINGS;_SCL_SECURE_NO_DEPRECATE;_AFX_SECURE_NO_WARNINGS;_AFX_SECURE_NO_DEPRECATE;_SECURE_ATL;_ATL_NO_COM_SUPPORT;_ATL_SECURE_NO_WARNINGS;_ATL_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<MinimalRebuild>true</MinimalRebuild>
|
<MinimalRebuild>true</MinimalRebuild>
|
||||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
@ -296,7 +296,7 @@
|
|||||||
<InlineFunctionExpansion>Default</InlineFunctionExpansion>
|
<InlineFunctionExpansion>Default</InlineFunctionExpansion>
|
||||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
<AdditionalIncludeDirectories>..\..\ixml\inc;..\..\ixml\src\inc;..\inc;..\..\upnp\inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\..\ixml\inc;..\..\ixml\src\inc;..\inc;..\..\upnp\inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;NDEBUG;RELEASE;_WINDOWS;PTW32_STATIC_LIB;UPNP_STATIC_LIB;UPNP_USE_MSVCPP;_CRT_NONSTDC_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_SECURE_SCL;_SCL_SECURE_NO_WARNINGS;_SCL_SECURE_NO_DEPRECATE;_AFX_SECURE_NO_WARNINGS;_AFX_SECURE_NO_DEPRECATE;_SECURE_ATL;_ATL_NO_COM_SUPPORT;_ATL_SECURE_NO_WARNINGS;_ATL_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>IXML_HAVE_SCRIPTSUPPORT;WIN32;NDEBUG;RELEASE;_WINDOWS;PTW32_STATIC_LIB;UPNP_STATIC_LIB;UPNP_USE_MSVCPP;_CRT_NONSTDC_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_SECURE_SCL;_SCL_SECURE_NO_WARNINGS;_SCL_SECURE_NO_DEPRECATE;_AFX_SECURE_NO_WARNINGS;_AFX_SECURE_NO_DEPRECATE;_SECURE_ATL;_ATL_NO_COM_SUPPORT;_ATL_SECURE_NO_WARNINGS;_ATL_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<StringPooling>true</StringPooling>
|
<StringPooling>true</StringPooling>
|
||||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<ItemGroup Label="ProjectConfigurations">
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
<ProjectConfiguration Include="Debug Lib|Win32">
|
<ProjectConfiguration Include="Debug Lib|Win32">
|
||||||
@ -174,7 +174,7 @@
|
|||||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
<AdditionalIncludeDirectories>..\inc;..\msvc;..\..\upnp\inc;..\..\upnp\src\inc;..\..\ixml\inc;..\..\ixml\src\inc;..\..\threadutil\inc;..\..\pthreads;..\..\pthreads\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\inc;..\msvc;..\..\upnp\inc;..\..\upnp\src\inc;..\..\ixml\inc;..\..\ixml\src\inc;..\..\threadutil\inc;..\..\pthreads;..\..\pthreads\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;LIBUPNP_EXPORTS;UPNP_USE_MSVCPP;_CRT_NONSTDC_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_SECURE_SCL;_SCL_SECURE_NO_WARNINGS;_SCL_SECURE_NO_DEPRECATE;_AFX_SECURE_NO_WARNINGS;_AFX_SECURE_NO_DEPRECATE;_SECURE_ATL;_ATL_NO_COM_SUPPORT;_ATL_SECURE_NO_WARNINGS;_ATL_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>IXML_HAVE_SCRIPTSUPPORT;WIN32;NDEBUG;RELEASE;_WINDOWS;_USRDLL;LIBUPNP_EXPORTS;UPNP_USE_MSVCPP;_CRT_NONSTDC_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_SECURE_SCL;_SCL_SECURE_NO_WARNINGS;_SCL_SECURE_NO_DEPRECATE;_AFX_SECURE_NO_WARNINGS;_AFX_SECURE_NO_DEPRECATE;_SECURE_ATL;_ATL_NO_COM_SUPPORT;_ATL_SECURE_NO_WARNINGS;_ATL_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<StringPooling>true</StringPooling>
|
<StringPooling>true</StringPooling>
|
||||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
@ -292,7 +292,7 @@
|
|||||||
<ClCompile>
|
<ClCompile>
|
||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
<AdditionalIncludeDirectories>..\inc;..\msvc;..\..\upnp\inc;..\..\upnp\src\inc;..\..\ixml\inc;..\..\ixml\src\inc;..\..\threadutil\inc;..\..\pthreads;..\..\pthreads\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\inc;..\msvc;..\..\upnp\inc;..\..\upnp\src\inc;..\..\ixml\inc;..\..\ixml\src\inc;..\..\threadutil\inc;..\..\pthreads;..\..\pthreads\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>DEBUG;WIN32;_USRDLL;LIBUPNP_EXPORTS;UPNP_USE_MSVCPP;SCRIPTSUPPORT;_CRT_NONSTDC_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_SECURE_SCL;_SCL_SECURE_NO_WARNINGS;_SCL_SECURE_NO_DEPRECATE;_AFX_SECURE_NO_WARNINGS;_AFX_SECURE_NO_DEPRECATE;_SECURE_ATL;_ATL_NO_COM_SUPPORT;_ATL_SECURE_NO_WARNINGS;_ATL_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>IXML_HAVE_SCRIPTSUPPORT;DEBUG;WIN32;_WINDOWS;_USRDLL;LIBUPNP_EXPORTS;UPNP_USE_MSVCPP;_CRT_NONSTDC_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_SECURE_SCL;_SCL_SECURE_NO_WARNINGS;_SCL_SECURE_NO_DEPRECATE;_AFX_SECURE_NO_WARNINGS;_AFX_SECURE_NO_DEPRECATE;_SECURE_ATL;_ATL_NO_COM_SUPPORT;_ATL_SECURE_NO_WARNINGS;_ATL_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<MinimalRebuild>true</MinimalRebuild>
|
<MinimalRebuild>true</MinimalRebuild>
|
||||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||||
@ -404,7 +404,7 @@
|
|||||||
<ClCompile>
|
<ClCompile>
|
||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
<AdditionalIncludeDirectories>..\inc;..\msvc;..\..\upnp\inc;..\..\upnp\src\inc;..\..\ixml\inc;..\..\ixml\src\inc;..\..\threadutil\inc;..\..\pthreads;..\..\pthreads\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\inc;..\msvc;..\..\upnp\inc;..\..\upnp\src\inc;..\..\ixml\inc;..\..\ixml\src\inc;..\..\threadutil\inc;..\..\pthreads;..\..\pthreads\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;DEBUG;_WINDOWS;PTW32_STATIC_LIB;UPNP_STATIC_LIB;UPNP_USE_MSVCPP;_CRT_NONSTDC_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_SECURE_SCL;_SCL_SECURE_NO_WARNINGS;_SCL_SECURE_NO_DEPRECATE;_AFX_SECURE_NO_WARNINGS;_AFX_SECURE_NO_DEPRECATE;_SECURE_ATL;_ATL_NO_COM_SUPPORT;_ATL_SECURE_NO_WARNINGS;_ATL_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>IXML_HAVE_SCRIPTSUPPORT;WIN32;DEBUG;_WINDOWS;PTW32_STATIC_LIB;UPNP_STATIC_LIB;UPNP_USE_MSVCPP;_CRT_NONSTDC_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_SECURE_SCL;_SCL_SECURE_NO_WARNINGS;_SCL_SECURE_NO_DEPRECATE;_AFX_SECURE_NO_WARNINGS;_AFX_SECURE_NO_DEPRECATE;_SECURE_ATL;_ATL_NO_COM_SUPPORT;_ATL_SECURE_NO_WARNINGS;_ATL_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<MinimalRebuild>true</MinimalRebuild>
|
<MinimalRebuild>true</MinimalRebuild>
|
||||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
@ -493,7 +493,7 @@
|
|||||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
<AdditionalIncludeDirectories>..\inc;..\msvc;..\..\upnp\inc;..\..\upnp\src\inc;..\..\ixml\inc;..\..\ixml\src\inc;..\..\threadutil\inc;..\..\pthreads;..\..\pthreads\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\inc;..\msvc;..\..\upnp\inc;..\..\upnp\src\inc;..\..\ixml\inc;..\..\ixml\src\inc;..\..\threadutil\inc;..\..\pthreads;..\..\pthreads\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;NDEBUG;RELEASE;_WINDOWS;PTW32_STATIC_LIB;UPNP_STATIC_LIB;UPNP_USE_MSVCPP;_CRT_NONSTDC_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_SECURE_SCL;_SCL_SECURE_NO_WARNINGS;_SCL_SECURE_NO_DEPRECATE;_AFX_SECURE_NO_WARNINGS;_AFX_SECURE_NO_DEPRECATE;_SECURE_ATL;_ATL_NO_COM_SUPPORT;_ATL_SECURE_NO_WARNINGS;_ATL_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>IXML_HAVE_SCRIPTSUPPORT;WIN32;NDEBUG;RELEASE;_WINDOWS;PTW32_STATIC_LIB;UPNP_STATIC_LIB;UPNP_USE_MSVCPP;_CRT_NONSTDC_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_SECURE_SCL;_SCL_SECURE_NO_WARNINGS;_SCL_SECURE_NO_DEPRECATE;_AFX_SECURE_NO_WARNINGS;_AFX_SECURE_NO_DEPRECATE;_SECURE_ATL;_ATL_NO_COM_SUPPORT;_ATL_SECURE_NO_WARNINGS;_ATL_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<StringPooling>true</StringPooling>
|
<StringPooling>true</StringPooling>
|
||||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
@ -477,6 +477,11 @@ if test "x$enable_blocking_tcp_connections" = xyes ; then
|
|||||||
AC_DEFINE(UPNP_ENABLE_BLOCKING_TCP_CONNECTIONS, 1, [see upnpconfig.h])
|
AC_DEFINE(UPNP_ENABLE_BLOCKING_TCP_CONNECTIONS, 1, [see upnpconfig.h])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
RT_BOOL_ARG_ENABLE([scriptsupport], [yes], [script support for IXML document tree, see ixml.h])
|
||||||
|
if test "x$enable_scriptsupport" = xyes ; then
|
||||||
|
AC_DEFINE(IXML_HAVE_SCRIPTSUPPORT, 1, [see upnpconfig.h])
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
RT_BOOL_ARG_ENABLE([samples], [yes], [compilation of upnp/sample/ code])
|
RT_BOOL_ARG_ENABLE([samples], [yes], [compilation of upnp/sample/ code])
|
||||||
|
|
||||||
|
@ -18,6 +18,10 @@ else
|
|||||||
AM_CPPFLAGS += -DNDEBUG
|
AM_CPPFLAGS += -DNDEBUG
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if ENABLE_SCRIPTSUPPORT
|
||||||
|
AM_CPPFLAGS += -DIXML_HAVE_SCRIPTSUPPORT
|
||||||
|
endif
|
||||||
|
|
||||||
lib_LTLIBRARIES = libixml.la
|
lib_LTLIBRARIES = libixml.la
|
||||||
|
|
||||||
libixml_la_LDFLAGS = -version-info $(LT_VERSION_IXML) \
|
libixml_la_LDFLAGS = -version-info $(LT_VERSION_IXML) \
|
||||||
|
@ -158,7 +158,7 @@ typedef struct _IXML_Document *Docptr;
|
|||||||
|
|
||||||
typedef struct _IXML_Node *Nodeptr;
|
typedef struct _IXML_Node *Nodeptr;
|
||||||
|
|
||||||
#ifdef SCRIPTSUPPORT
|
#ifdef IXML_HAVE_SCRIPTSUPPORT
|
||||||
/*!
|
/*!
|
||||||
* \brief Signature for GC support method, called before a node is freed.
|
* \brief Signature for GC support method, called before a node is freed.
|
||||||
*/
|
*/
|
||||||
@ -185,8 +185,8 @@ typedef struct _IXML_Node
|
|||||||
Nodeptr nextSibling;
|
Nodeptr nextSibling;
|
||||||
Nodeptr firstAttr;
|
Nodeptr firstAttr;
|
||||||
Docptr ownerDocument;
|
Docptr ownerDocument;
|
||||||
#ifdef SCRIPTSUPPORT
|
#ifdef IXML_HAVE_SCRIPTSUPPORT
|
||||||
void* ctag; // custom tag
|
void* ctag; /* custom tag */
|
||||||
#endif
|
#endif
|
||||||
} IXML_Node;
|
} IXML_Node;
|
||||||
|
|
||||||
@ -644,7 +644,7 @@ EXPORT_SPEC void ixmlNode_free(
|
|||||||
*/
|
*/
|
||||||
IXML_Node *nodeptr);
|
IXML_Node *nodeptr);
|
||||||
|
|
||||||
#ifdef SCRIPTSUPPORT
|
#ifdef IXML_HAVE_SCRIPTSUPPORT
|
||||||
/*!
|
/*!
|
||||||
* \brief Sets the custom tag for the node.
|
* \brief Sets the custom tag for the node.
|
||||||
*/
|
*/
|
||||||
@ -1770,7 +1770,7 @@ EXPORT_SPEC void ixmlRelaxParser(
|
|||||||
*/
|
*/
|
||||||
char errorChar);
|
char errorChar);
|
||||||
|
|
||||||
#ifdef SCRIPTSUPPORT
|
#ifdef IXML_HAVE_SCRIPTSUPPORT
|
||||||
/*!
|
/*!
|
||||||
* \brief Sets the handler to call before a node is freed.
|
* \brief Sets the handler to call before a node is freed.
|
||||||
*/
|
*/
|
||||||
|
@ -120,7 +120,7 @@ void Parser_setErrorChar(
|
|||||||
/*! [in] The character to become the error character. */
|
/*! [in] The character to become the error character. */
|
||||||
char c);
|
char c);
|
||||||
|
|
||||||
#ifdef SCRIPTSUPPORT
|
#ifdef IXML_HAVE_SCRIPTSUPPORT
|
||||||
/*!
|
/*!
|
||||||
* \brief Sets the handler to call before a node is freed.
|
* \brief Sets the handler to call before a node is freed.
|
||||||
*
|
*
|
||||||
|
@ -417,7 +417,7 @@ void ixmlRelaxParser(char errorChar)
|
|||||||
Parser_setErrorChar(errorChar);
|
Parser_setErrorChar(errorChar);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef SCRIPTSUPPORT
|
#ifdef IXML_HAVE_SCRIPTSUPPORT
|
||||||
void ixmlSetBeforeFree(IXML_BeforeFreeNode_t hndlr)
|
void ixmlSetBeforeFree(IXML_BeforeFreeNode_t hndlr)
|
||||||
{
|
{
|
||||||
Parser_setBeforeFree(hndlr);
|
Parser_setBeforeFree(hndlr);
|
||||||
|
@ -55,7 +55,7 @@
|
|||||||
|
|
||||||
|
|
||||||
static char g_error_char = '\0';
|
static char g_error_char = '\0';
|
||||||
#ifdef SCRIPTSUPPORT
|
#ifdef IXML_HAVE_SCRIPTSUPPORT
|
||||||
static IXML_BeforeFreeNode_t Before_Free_callback;
|
static IXML_BeforeFreeNode_t Before_Free_callback;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -2501,7 +2501,7 @@ void Parser_setErrorChar(char c)
|
|||||||
g_error_char = c;
|
g_error_char = c;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef SCRIPTSUPPORT
|
#ifdef IXML_HAVE_SCRIPTSUPPORT
|
||||||
void Parser_setBeforeFree(IXML_BeforeFreeNode_t hndlr)
|
void Parser_setBeforeFree(IXML_BeforeFreeNode_t hndlr)
|
||||||
{
|
{
|
||||||
Before_Free_callback = hndlr;
|
Before_Free_callback = hndlr;
|
||||||
|
@ -107,7 +107,7 @@ static void ixmlNode_freeSingleNode(
|
|||||||
void ixmlNode_free(IXML_Node *nodeptr)
|
void ixmlNode_free(IXML_Node *nodeptr)
|
||||||
{
|
{
|
||||||
if (nodeptr != NULL) {
|
if (nodeptr != NULL) {
|
||||||
#ifdef SCRIPTSUPPORT
|
#ifdef IXML_HAVE_SCRIPTSUPPORT
|
||||||
IXML_BeforeFreeNode_t hndlr = Parser_getBeforeFree();
|
IXML_BeforeFreeNode_t hndlr = Parser_getBeforeFree();
|
||||||
if (hndlr != NULL) hndlr(nodeptr);
|
if (hndlr != NULL) hndlr(nodeptr);
|
||||||
#endif
|
#endif
|
||||||
@ -1384,7 +1384,7 @@ ErrorHandler:
|
|||||||
return IXML_INSUFFICIENT_MEMORY;
|
return IXML_INSUFFICIENT_MEMORY;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef SCRIPTSUPPORT
|
#ifdef IXML_HAVE_SCRIPTSUPPORT
|
||||||
void ixmlNode_setCTag(IXML_Node *nodeptr, void *ctag)
|
void ixmlNode_setCTag(IXML_Node *nodeptr, void *ctag)
|
||||||
{
|
{
|
||||||
if (nodeptr != NULL) nodeptr->ctag = ctag;
|
if (nodeptr != NULL) nodeptr->ctag = ctag;
|
||||||
|
@ -41,14 +41,14 @@ typedef struct _uuid_upnp {
|
|||||||
/*!
|
/*!
|
||||||
* \brief Generate a UUID.
|
* \brief Generate a UUID.
|
||||||
*/
|
*/
|
||||||
EXPORT_SPEC int uuid_create(
|
int uuid_create(
|
||||||
/*! . */
|
/*! . */
|
||||||
uuid_upnp * id);
|
uuid_upnp * id);
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \brief Out will be xxxx-xx-xx-xx-xxxxxx format.
|
* \brief Out will be xxxx-xx-xx-xx-xxxxxx format.
|
||||||
*/
|
*/
|
||||||
EXPORT_SPEC void uuid_unpack(
|
void uuid_unpack(
|
||||||
/*! . */
|
/*! . */
|
||||||
uuid_upnp * u,
|
uuid_upnp * u,
|
||||||
/*! . */
|
/*! . */
|
||||||
@ -57,7 +57,7 @@ EXPORT_SPEC void uuid_unpack(
|
|||||||
/*!
|
/*!
|
||||||
* \brief Create a UUID using a "name" from a "name space"
|
* \brief Create a UUID using a "name" from a "name space"
|
||||||
*/
|
*/
|
||||||
EXPORT_SPEC void uuid_create_from_name(
|
void uuid_create_from_name(
|
||||||
/*! Resulting UUID. */
|
/*! Resulting UUID. */
|
||||||
uuid_upnp * uid,
|
uuid_upnp * uid,
|
||||||
/*! UUID to serve as context, so identical names from different name
|
/*! UUID to serve as context, so identical names from different name
|
||||||
@ -78,7 +78,7 @@ EXPORT_SPEC void uuid_create_from_name(
|
|||||||
*
|
*
|
||||||
* \note Lexical ordering is not temporal ordering!
|
* \note Lexical ordering is not temporal ordering!
|
||||||
*/
|
*/
|
||||||
EXPORT_SPEC int uuid_compare(
|
int uuid_compare(
|
||||||
/*! . */
|
/*! . */
|
||||||
uuid_upnp * u1,
|
uuid_upnp * u1,
|
||||||
/*! . */
|
/*! . */
|
||||||
|
Loading…
Reference in New Issue
Block a user