mirror of
https://github.com/pocoproject/poco.git
synced 2025-02-13 12:01:16 +01:00
Merge branch 'develop' of https://github.com/pocoproject/poco into develop
This commit is contained in:
commit
0f2c80fdc9
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -10,9 +10,6 @@ file(GLOB_RECURSE HDRS_G "include/*.h" )
|
||||
POCO_HEADERS_AUTO( SRCS ${HDRS_G})
|
||||
|
||||
# Platform Specific
|
||||
POCO_SOURCES_AUTO_PLAT( SRCS OPENVMS src/OpcomChannel.cpp )
|
||||
POCO_HEADERS_AUTO( SRCS include/Poco/OpcomChannel.h )
|
||||
|
||||
POCO_SOURCES_AUTO_PLAT( SRCS UNIX src/SyslogChannel.cpp )
|
||||
POCO_HEADERS_AUTO( SRCS include/Poco/SyslogChannel.h )
|
||||
|
||||
@ -108,6 +105,10 @@ if(ANDROID)
|
||||
set(SYSLIBS ${SYSLIBS} log)
|
||||
endif(ANDROID)
|
||||
|
||||
if (CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
|
||||
set(SYSLIBS ${SYSLIBS} dl rt)
|
||||
endif (CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
|
||||
|
||||
# TODO: Why is this here?
|
||||
add_definitions( -DPCRE_STATIC)
|
||||
|
||||
|
@ -332,14 +332,6 @@
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\DirectoryIterator_VMS.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\DirectoryIterator_WIN32.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">true</ExcludedFromBuild>
|
||||
@ -358,14 +350,6 @@
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Environment_VMS.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Environment_WIN32.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">true</ExcludedFromBuild>
|
||||
@ -426,14 +410,6 @@
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\File_VMS.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\File_WIN32.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">true</ExcludedFromBuild>
|
||||
@ -511,14 +487,6 @@
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\LogFile_VMS.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\LogFile_WIN32.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">true</ExcludedFromBuild>
|
||||
@ -563,14 +531,6 @@
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\NamedEvent_VMS.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\NamedEvent_WIN32.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">true</ExcludedFromBuild>
|
||||
@ -588,14 +548,6 @@
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\NamedMutex_VMS.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\NamedMutex_WIN32.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">true</ExcludedFromBuild>
|
||||
@ -613,14 +565,6 @@
|
||||
<ClCompile Include="src\NumberFormatter.cpp" />
|
||||
<ClCompile Include="src\NumberParser.cpp" />
|
||||
<ClCompile Include="src\NumericString.cpp" />
|
||||
<ClCompile Include="src\OpcomChannel.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Path.cpp" />
|
||||
<ClCompile Include="src\Path_UNIX.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">true</ExcludedFromBuild>
|
||||
@ -630,14 +574,6 @@
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Path_VMS.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Path_WIN32.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">true</ExcludedFromBuild>
|
||||
@ -705,14 +641,6 @@
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Process_VMS.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Process_WIN32.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">true</ExcludedFromBuild>
|
||||
@ -783,14 +711,6 @@
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\SharedLibrary_VMS.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\SharedLibrary_WIN32.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">true</ExcludedFromBuild>
|
||||
@ -995,7 +915,6 @@
|
||||
<ClInclude Include="include\Poco\DirectoryIterator.h" />
|
||||
<ClInclude Include="include\Poco\DirectoryIteratorStrategy.h" />
|
||||
<ClInclude Include="include\Poco\DirectoryIterator_UNIX.h" />
|
||||
<ClInclude Include="include\Poco\DirectoryIterator_VMS.h" />
|
||||
<ClInclude Include="include\Poco\DirectoryIterator_WIN32.h" />
|
||||
<ClInclude Include="include\Poco\DirectoryWatcher.h" />
|
||||
<ClInclude Include="include\Poco\DynamicAny.h" />
|
||||
@ -1008,7 +927,6 @@
|
||||
<ClInclude Include="include\Poco\Dynamic\VarIterator.h" />
|
||||
<ClInclude Include="include\Poco\Environment.h" />
|
||||
<ClInclude Include="include\Poco\Environment_UNIX.h" />
|
||||
<ClInclude Include="include\Poco\Environment_VMS.h" />
|
||||
<ClInclude Include="include\Poco\Environment_WIN32.h" />
|
||||
<ClInclude Include="include\Poco\Error.h" />
|
||||
<ClInclude Include="include\Poco\ErrorHandler.h" />
|
||||
@ -1034,7 +952,6 @@
|
||||
<ClInclude Include="include\Poco\FileStream_POSIX.h" />
|
||||
<ClInclude Include="include\Poco\FileStream_WIN32.h" />
|
||||
<ClInclude Include="include\Poco\File_UNIX.h" />
|
||||
<ClInclude Include="include\Poco\File_VMS.h" />
|
||||
<ClInclude Include="include\Poco\File_WIN32.h" />
|
||||
<ClInclude Include="include\Poco\Format.h" />
|
||||
<ClInclude Include="include\Poco\Formatter.h" />
|
||||
@ -1071,7 +988,6 @@
|
||||
<ClInclude Include="include\Poco\LocalDateTime.h" />
|
||||
<ClInclude Include="include\Poco\LogFile.h" />
|
||||
<ClInclude Include="include\Poco\LogFile_STD.h" />
|
||||
<ClInclude Include="include\Poco\LogFile_VMS.h" />
|
||||
<ClInclude Include="include\Poco\LogFile_WIN32.h" />
|
||||
<ClInclude Include="include\Poco\Logger.h" />
|
||||
<ClInclude Include="include\Poco\LoggingFactory.h" />
|
||||
@ -1093,11 +1009,9 @@
|
||||
<ClInclude Include="include\Poco\Mutex_WIN32.h" />
|
||||
<ClInclude Include="include\Poco\NamedEvent.h" />
|
||||
<ClInclude Include="include\Poco\NamedEvent_UNIX.h" />
|
||||
<ClInclude Include="include\Poco\NamedEvent_VMS.h" />
|
||||
<ClInclude Include="include\Poco\NamedEvent_WIN32.h" />
|
||||
<ClInclude Include="include\Poco\NamedMutex.h" />
|
||||
<ClInclude Include="include\Poco\NamedMutex_UNIX.h" />
|
||||
<ClInclude Include="include\Poco\NamedMutex_VMS.h" />
|
||||
<ClInclude Include="include\Poco\NamedMutex_WIN32.h" />
|
||||
<ClInclude Include="include\Poco\NamedTuple.h" />
|
||||
<ClInclude Include="include\Poco\NestedDiagnosticContext.h" />
|
||||
@ -1114,11 +1028,9 @@
|
||||
<ClInclude Include="include\Poco\NumericString.h" />
|
||||
<ClInclude Include="include\Poco\ObjectPool.h" />
|
||||
<ClInclude Include="include\Poco\Observer.h" />
|
||||
<ClInclude Include="include\Poco\OpcomChannel.h" />
|
||||
<ClInclude Include="include\Poco\Optional.h" />
|
||||
<ClInclude Include="include\Poco\Path.h" />
|
||||
<ClInclude Include="include\Poco\Path_UNIX.h" />
|
||||
<ClInclude Include="include\Poco\Path_VMS.h" />
|
||||
<ClInclude Include="include\Poco\Path_WIN32.h" />
|
||||
<ClInclude Include="include\Poco\PatternFormatter.h" />
|
||||
<ClInclude Include="include\Poco\PBKDF2Engine.h" />
|
||||
@ -1130,7 +1042,6 @@
|
||||
<ClInclude Include="include\Poco\PipeStream.h" />
|
||||
<ClInclude Include="include\Poco\Platform.h" />
|
||||
<ClInclude Include="include\Poco\Platform_POSIX.h" />
|
||||
<ClInclude Include="include\Poco\Platform_VMS.h" />
|
||||
<ClInclude Include="include\Poco\Platform_WIN32.h" />
|
||||
<ClInclude Include="include\Poco\Poco.h" />
|
||||
<ClInclude Include="include\Poco\PriorityDelegate.h" />
|
||||
@ -1140,7 +1051,6 @@
|
||||
<ClInclude Include="include\Poco\PriorityStrategy.h" />
|
||||
<ClInclude Include="include\Poco\Process.h" />
|
||||
<ClInclude Include="include\Poco\Process_UNIX.h" />
|
||||
<ClInclude Include="include\Poco\Process_VMS.h" />
|
||||
<ClInclude Include="include\Poco\Process_WIN32.h" />
|
||||
<ClInclude Include="include\Poco\PurgeStrategy.h" />
|
||||
<ClInclude Include="include\Poco\Random.h" />
|
||||
@ -1167,7 +1077,6 @@
|
||||
<ClInclude Include="include\Poco\SharedLibrary.h" />
|
||||
<ClInclude Include="include\Poco\SharedLibrary_HPUX.h" />
|
||||
<ClInclude Include="include\Poco\SharedLibrary_UNIX.h" />
|
||||
<ClInclude Include="include\Poco\SharedLibrary_VMS.h" />
|
||||
<ClInclude Include="include\Poco\SharedLibrary_WIN32.h" />
|
||||
<ClInclude Include="include\Poco\SharedMemory.h" />
|
||||
<ClInclude Include="include\Poco\SharedMemory_DUMMY.h" />
|
||||
|
@ -216,9 +216,6 @@
|
||||
<ClCompile Include="src\Environment_UNIX.cpp">
|
||||
<Filter>Core\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Environment_VMS.cpp">
|
||||
<Filter>Core\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Error.cpp">
|
||||
<Filter>Core\Source Files</Filter>
|
||||
</ClCompile>
|
||||
@ -492,9 +489,6 @@
|
||||
<ClCompile Include="src\SharedLibrary_UNIX.cpp">
|
||||
<Filter>SharedLibrary\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\SharedLibrary_VMS.cpp">
|
||||
<Filter>SharedLibrary\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\RegularExpression.cpp">
|
||||
<Filter>RegularExpression\Source Files</Filter>
|
||||
</ClCompile>
|
||||
@ -597,9 +591,6 @@
|
||||
<ClCompile Include="src\LogFile_STD.cpp">
|
||||
<Filter>Logging\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\LogFile_VMS.cpp">
|
||||
<Filter>Logging\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Logger.cpp">
|
||||
<Filter>Logging\Source Files</Filter>
|
||||
</ClCompile>
|
||||
@ -618,9 +609,6 @@
|
||||
<ClCompile Include="src\NullChannel.cpp">
|
||||
<Filter>Logging\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\OpcomChannel.cpp">
|
||||
<Filter>Logging\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\PatternFormatter.cpp">
|
||||
<Filter>Logging\Source Files</Filter>
|
||||
</ClCompile>
|
||||
@ -669,9 +657,6 @@
|
||||
<ClCompile Include="src\DirectoryIterator_UNIX.cpp">
|
||||
<Filter>Filesystem\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\DirectoryIterator_VMS.cpp">
|
||||
<Filter>Filesystem\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\DirectoryWatcher.cpp">
|
||||
<Filter>Filesystem\Source Files</Filter>
|
||||
</ClCompile>
|
||||
@ -681,9 +666,6 @@
|
||||
<ClCompile Include="src\File_UNIX.cpp">
|
||||
<Filter>Filesystem\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\File_VMS.cpp">
|
||||
<Filter>Filesystem\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Glob.cpp">
|
||||
<Filter>Filesystem\Source Files</Filter>
|
||||
</ClCompile>
|
||||
@ -693,9 +675,6 @@
|
||||
<ClCompile Include="src\Path_UNIX.cpp">
|
||||
<Filter>Filesystem\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Path_VMS.cpp">
|
||||
<Filter>Filesystem\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\TemporaryFile.cpp">
|
||||
<Filter>Filesystem\Source Files</Filter>
|
||||
</ClCompile>
|
||||
@ -705,18 +684,12 @@
|
||||
<ClCompile Include="src\NamedEvent_UNIX.cpp">
|
||||
<Filter>Processes\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\NamedEvent_VMS.cpp">
|
||||
<Filter>Processes\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\NamedMutex.cpp">
|
||||
<Filter>Processes\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\NamedMutex_UNIX.cpp">
|
||||
<Filter>Processes\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\NamedMutex_VMS.cpp">
|
||||
<Filter>Processes\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Pipe.cpp">
|
||||
<Filter>Processes\Source Files</Filter>
|
||||
</ClCompile>
|
||||
@ -741,9 +714,6 @@
|
||||
<ClCompile Include="src\Process_UNIX.cpp">
|
||||
<Filter>Processes\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Process_VMS.cpp">
|
||||
<Filter>Processes\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\SharedMemory.cpp">
|
||||
<Filter>Processes\Source Files</Filter>
|
||||
</ClCompile>
|
||||
@ -974,9 +944,6 @@
|
||||
<ClInclude Include="include\Poco\Environment_UNIX.h">
|
||||
<Filter>Core\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\Environment_VMS.h">
|
||||
<Filter>Core\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\Error.h">
|
||||
<Filter>Core\Header Files</Filter>
|
||||
</ClInclude>
|
||||
@ -1052,9 +1019,6 @@
|
||||
<ClInclude Include="include\Poco\Platform_POSIX.h">
|
||||
<Filter>Core\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\Platform_VMS.h">
|
||||
<Filter>Core\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\Platform_WIN32.h">
|
||||
<Filter>Core\Header Files</Filter>
|
||||
</ClInclude>
|
||||
@ -1361,9 +1325,6 @@
|
||||
<ClInclude Include="include\Poco\SharedLibrary_UNIX.h">
|
||||
<Filter>SharedLibrary\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\SharedLibrary_VMS.h">
|
||||
<Filter>SharedLibrary\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="src\pcre.h">
|
||||
<Filter>RegularExpression\PCRE Header Files</Filter>
|
||||
</ClInclude>
|
||||
@ -1415,9 +1376,6 @@
|
||||
<ClInclude Include="include\Poco\LogFile_STD.h">
|
||||
<Filter>Logging\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\LogFile_VMS.h">
|
||||
<Filter>Logging\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\Logger.h">
|
||||
<Filter>Logging\Header Files</Filter>
|
||||
</ClInclude>
|
||||
@ -1436,9 +1394,6 @@
|
||||
<ClInclude Include="include\Poco\NullChannel.h">
|
||||
<Filter>Logging\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\OpcomChannel.h">
|
||||
<Filter>Logging\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\PatternFormatter.h">
|
||||
<Filter>Logging\Header Files</Filter>
|
||||
</ClInclude>
|
||||
@ -1496,9 +1451,6 @@
|
||||
<ClInclude Include="include\Poco\DirectoryIterator_UNIX.h">
|
||||
<Filter>Filesystem\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\DirectoryIterator_VMS.h">
|
||||
<Filter>Filesystem\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\DirectoryWatcher.h">
|
||||
<Filter>Filesystem\Header Files</Filter>
|
||||
</ClInclude>
|
||||
@ -1508,9 +1460,6 @@
|
||||
<ClInclude Include="include\Poco\File_UNIX.h">
|
||||
<Filter>Filesystem\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\File_VMS.h">
|
||||
<Filter>Filesystem\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\Glob.h">
|
||||
<Filter>Filesystem\Header Files</Filter>
|
||||
</ClInclude>
|
||||
@ -1520,9 +1469,6 @@
|
||||
<ClInclude Include="include\Poco\Path_UNIX.h">
|
||||
<Filter>Filesystem\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\Path_VMS.h">
|
||||
<Filter>Filesystem\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\TemporaryFile.h">
|
||||
<Filter>Filesystem\Header Files</Filter>
|
||||
</ClInclude>
|
||||
@ -1532,18 +1478,12 @@
|
||||
<ClInclude Include="include\Poco\NamedEvent_UNIX.h">
|
||||
<Filter>Processes\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\NamedEvent_VMS.h">
|
||||
<Filter>Processes\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\NamedMutex.h">
|
||||
<Filter>Processes\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\NamedMutex_UNIX.h">
|
||||
<Filter>Processes\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\NamedMutex_VMS.h">
|
||||
<Filter>Processes\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\Pipe.h">
|
||||
<Filter>Processes\Header Files</Filter>
|
||||
</ClInclude>
|
||||
@ -1568,9 +1508,6 @@
|
||||
<ClInclude Include="include\Poco\Process_UNIX.h">
|
||||
<Filter>Processes\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\Process_VMS.h">
|
||||
<Filter>Processes\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\SharedMemory.h">
|
||||
<Filter>Processes\Header Files</Filter>
|
||||
</ClInclude>
|
||||
|
@ -332,14 +332,6 @@
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\DirectoryIterator_VMS.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\DirectoryIterator_WIN32.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">true</ExcludedFromBuild>
|
||||
@ -358,14 +350,6 @@
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Environment_VMS.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Environment_WIN32.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">true</ExcludedFromBuild>
|
||||
@ -426,14 +410,6 @@
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\File_VMS.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\File_WIN32.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">true</ExcludedFromBuild>
|
||||
@ -511,14 +487,6 @@
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\LogFile_VMS.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\LogFile_WIN32.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">true</ExcludedFromBuild>
|
||||
@ -563,14 +531,6 @@
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\NamedEvent_VMS.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\NamedEvent_WIN32.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">true</ExcludedFromBuild>
|
||||
@ -588,14 +548,6 @@
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\NamedMutex_VMS.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\NamedMutex_WIN32.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">true</ExcludedFromBuild>
|
||||
@ -613,14 +565,6 @@
|
||||
<ClCompile Include="src\NumberFormatter.cpp" />
|
||||
<ClCompile Include="src\NumberParser.cpp" />
|
||||
<ClCompile Include="src\NumericString.cpp" />
|
||||
<ClCompile Include="src\OpcomChannel.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Path.cpp" />
|
||||
<ClCompile Include="src\Path_UNIX.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">true</ExcludedFromBuild>
|
||||
@ -630,14 +574,6 @@
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Path_VMS.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Path_WIN32.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">true</ExcludedFromBuild>
|
||||
@ -705,14 +641,6 @@
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Process_VMS.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Process_WIN32.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">true</ExcludedFromBuild>
|
||||
@ -783,14 +711,6 @@
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\SharedLibrary_VMS.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|Win32'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\SharedLibrary_WIN32.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|Win32'">true</ExcludedFromBuild>
|
||||
@ -1003,7 +923,6 @@
|
||||
<ClInclude Include="include\Poco\DirectoryIterator.h" />
|
||||
<ClInclude Include="include\Poco\DirectoryIteratorStrategy.h" />
|
||||
<ClInclude Include="include\Poco\DirectoryIterator_UNIX.h" />
|
||||
<ClInclude Include="include\Poco\DirectoryIterator_VMS.h" />
|
||||
<ClInclude Include="include\Poco\DirectoryIterator_WIN32.h" />
|
||||
<ClInclude Include="include\Poco\DirectoryWatcher.h" />
|
||||
<ClInclude Include="include\Poco\DynamicAny.h" />
|
||||
@ -1016,7 +935,6 @@
|
||||
<ClInclude Include="include\Poco\Dynamic\VarIterator.h" />
|
||||
<ClInclude Include="include\Poco\Environment.h" />
|
||||
<ClInclude Include="include\Poco\Environment_UNIX.h" />
|
||||
<ClInclude Include="include\Poco\Environment_VMS.h" />
|
||||
<ClInclude Include="include\Poco\Environment_WIN32.h" />
|
||||
<ClInclude Include="include\Poco\Error.h" />
|
||||
<ClInclude Include="include\Poco\ErrorHandler.h" />
|
||||
@ -1042,7 +960,6 @@
|
||||
<ClInclude Include="include\Poco\FileStream_POSIX.h" />
|
||||
<ClInclude Include="include\Poco\FileStream_WIN32.h" />
|
||||
<ClInclude Include="include\Poco\File_UNIX.h" />
|
||||
<ClInclude Include="include\Poco\File_VMS.h" />
|
||||
<ClInclude Include="include\Poco\File_WIN32.h" />
|
||||
<ClInclude Include="include\Poco\Format.h" />
|
||||
<ClInclude Include="include\Poco\Formatter.h" />
|
||||
@ -1079,7 +996,6 @@
|
||||
<ClInclude Include="include\Poco\LocalDateTime.h" />
|
||||
<ClInclude Include="include\Poco\LogFile.h" />
|
||||
<ClInclude Include="include\Poco\LogFile_STD.h" />
|
||||
<ClInclude Include="include\Poco\LogFile_VMS.h" />
|
||||
<ClInclude Include="include\Poco\LogFile_WIN32.h" />
|
||||
<ClInclude Include="include\Poco\Logger.h" />
|
||||
<ClInclude Include="include\Poco\LoggingFactory.h" />
|
||||
@ -1101,11 +1017,9 @@
|
||||
<ClInclude Include="include\Poco\Mutex_WIN32.h" />
|
||||
<ClInclude Include="include\Poco\NamedEvent.h" />
|
||||
<ClInclude Include="include\Poco\NamedEvent_UNIX.h" />
|
||||
<ClInclude Include="include\Poco\NamedEvent_VMS.h" />
|
||||
<ClInclude Include="include\Poco\NamedEvent_WIN32.h" />
|
||||
<ClInclude Include="include\Poco\NamedMutex.h" />
|
||||
<ClInclude Include="include\Poco\NamedMutex_UNIX.h" />
|
||||
<ClInclude Include="include\Poco\NamedMutex_VMS.h" />
|
||||
<ClInclude Include="include\Poco\NamedMutex_WIN32.h" />
|
||||
<ClInclude Include="include\Poco\NamedTuple.h" />
|
||||
<ClInclude Include="include\Poco\NestedDiagnosticContext.h" />
|
||||
@ -1122,11 +1036,9 @@
|
||||
<ClInclude Include="include\Poco\NumericString.h" />
|
||||
<ClInclude Include="include\Poco\ObjectPool.h" />
|
||||
<ClInclude Include="include\Poco\Observer.h" />
|
||||
<ClInclude Include="include\Poco\OpcomChannel.h" />
|
||||
<ClInclude Include="include\Poco\Optional.h" />
|
||||
<ClInclude Include="include\Poco\Path.h" />
|
||||
<ClInclude Include="include\Poco\Path_UNIX.h" />
|
||||
<ClInclude Include="include\Poco\Path_VMS.h" />
|
||||
<ClInclude Include="include\Poco\Path_WIN32.h" />
|
||||
<ClInclude Include="include\Poco\PatternFormatter.h" />
|
||||
<ClInclude Include="include\Poco\PBKDF2Engine.h" />
|
||||
@ -1138,7 +1050,6 @@
|
||||
<ClInclude Include="include\Poco\PipeStream.h" />
|
||||
<ClInclude Include="include\Poco\Platform.h" />
|
||||
<ClInclude Include="include\Poco\Platform_POSIX.h" />
|
||||
<ClInclude Include="include\Poco\Platform_VMS.h" />
|
||||
<ClInclude Include="include\Poco\Platform_WIN32.h" />
|
||||
<ClInclude Include="include\Poco\Poco.h" />
|
||||
<ClInclude Include="include\Poco\PriorityDelegate.h" />
|
||||
@ -1148,7 +1059,6 @@
|
||||
<ClInclude Include="include\Poco\PriorityStrategy.h" />
|
||||
<ClInclude Include="include\Poco\Process.h" />
|
||||
<ClInclude Include="include\Poco\Process_UNIX.h" />
|
||||
<ClInclude Include="include\Poco\Process_VMS.h" />
|
||||
<ClInclude Include="include\Poco\Process_WIN32.h" />
|
||||
<ClInclude Include="include\Poco\PurgeStrategy.h" />
|
||||
<ClInclude Include="include\Poco\Random.h" />
|
||||
@ -1175,7 +1085,6 @@
|
||||
<ClInclude Include="include\Poco\SharedLibrary.h" />
|
||||
<ClInclude Include="include\Poco\SharedLibrary_HPUX.h" />
|
||||
<ClInclude Include="include\Poco\SharedLibrary_UNIX.h" />
|
||||
<ClInclude Include="include\Poco\SharedLibrary_VMS.h" />
|
||||
<ClInclude Include="include\Poco\SharedLibrary_WIN32.h" />
|
||||
<ClInclude Include="include\Poco\SharedLibrary_WIN32U.h" />
|
||||
<ClInclude Include="include\Poco\SharedMemory.h" />
|
||||
|
@ -216,9 +216,6 @@
|
||||
<ClCompile Include="src\Environment_UNIX.cpp">
|
||||
<Filter>Core\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Environment_VMS.cpp">
|
||||
<Filter>Core\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Environment_WIN32.cpp">
|
||||
<Filter>Core\Source Files</Filter>
|
||||
</ClCompile>
|
||||
@ -495,9 +492,6 @@
|
||||
<ClCompile Include="src\SharedLibrary_UNIX.cpp">
|
||||
<Filter>SharedLibrary\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\SharedLibrary_VMS.cpp">
|
||||
<Filter>SharedLibrary\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\SharedLibrary_WIN32.cpp">
|
||||
<Filter>SharedLibrary\Source Files</Filter>
|
||||
</ClCompile>
|
||||
@ -606,9 +600,6 @@
|
||||
<ClCompile Include="src\LogFile_STD.cpp">
|
||||
<Filter>Logging\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\LogFile_VMS.cpp">
|
||||
<Filter>Logging\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\LogFile_WIN32.cpp">
|
||||
<Filter>Logging\Source Files</Filter>
|
||||
</ClCompile>
|
||||
@ -630,9 +621,6 @@
|
||||
<ClCompile Include="src\NullChannel.cpp">
|
||||
<Filter>Logging\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\OpcomChannel.cpp">
|
||||
<Filter>Logging\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\PatternFormatter.cpp">
|
||||
<Filter>Logging\Source Files</Filter>
|
||||
</ClCompile>
|
||||
@ -681,9 +669,6 @@
|
||||
<ClCompile Include="src\DirectoryIterator_UNIX.cpp">
|
||||
<Filter>Filesystem\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\DirectoryIterator_VMS.cpp">
|
||||
<Filter>Filesystem\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\DirectoryIterator_WIN32.cpp">
|
||||
<Filter>Filesystem\Source Files</Filter>
|
||||
</ClCompile>
|
||||
@ -696,9 +681,6 @@
|
||||
<ClCompile Include="src\File_UNIX.cpp">
|
||||
<Filter>Filesystem\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\File_VMS.cpp">
|
||||
<Filter>Filesystem\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\File_WIN32.cpp">
|
||||
<Filter>Filesystem\Source Files</Filter>
|
||||
</ClCompile>
|
||||
@ -711,9 +693,6 @@
|
||||
<ClCompile Include="src\Path_UNIX.cpp">
|
||||
<Filter>Filesystem\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Path_VMS.cpp">
|
||||
<Filter>Filesystem\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Path_WIN32.cpp">
|
||||
<Filter>Filesystem\Source Files</Filter>
|
||||
</ClCompile>
|
||||
@ -726,9 +705,6 @@
|
||||
<ClCompile Include="src\NamedEvent_UNIX.cpp">
|
||||
<Filter>Processes\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\NamedEvent_VMS.cpp">
|
||||
<Filter>Processes\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\NamedEvent_WIN32.cpp">
|
||||
<Filter>Processes\Source Files</Filter>
|
||||
</ClCompile>
|
||||
@ -738,9 +714,6 @@
|
||||
<ClCompile Include="src\NamedMutex_UNIX.cpp">
|
||||
<Filter>Processes\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\NamedMutex_VMS.cpp">
|
||||
<Filter>Processes\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\NamedMutex_WIN32.cpp">
|
||||
<Filter>Processes\Source Files</Filter>
|
||||
</ClCompile>
|
||||
@ -768,9 +741,6 @@
|
||||
<ClCompile Include="src\Process_UNIX.cpp">
|
||||
<Filter>Processes\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Process_VMS.cpp">
|
||||
<Filter>Processes\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Process_WIN32.cpp">
|
||||
<Filter>Processes\Source Files</Filter>
|
||||
</ClCompile>
|
||||
@ -977,9 +947,6 @@
|
||||
<ClInclude Include="include\Poco\Environment_UNIX.h">
|
||||
<Filter>Core\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\Environment_VMS.h">
|
||||
<Filter>Core\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\Environment_WIN32.h">
|
||||
<Filter>Core\Header Files</Filter>
|
||||
</ClInclude>
|
||||
@ -1058,9 +1025,6 @@
|
||||
<ClInclude Include="include\Poco\Platform_POSIX.h">
|
||||
<Filter>Core\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\Platform_VMS.h">
|
||||
<Filter>Core\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\Platform_WIN32.h">
|
||||
<Filter>Core\Header Files</Filter>
|
||||
</ClInclude>
|
||||
@ -1367,9 +1331,6 @@
|
||||
<ClInclude Include="include\Poco\SharedLibrary_UNIX.h">
|
||||
<Filter>SharedLibrary\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\SharedLibrary_VMS.h">
|
||||
<Filter>SharedLibrary\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\SharedLibrary_WIN32.h">
|
||||
<Filter>SharedLibrary\Header Files</Filter>
|
||||
</ClInclude>
|
||||
@ -1427,9 +1388,6 @@
|
||||
<ClInclude Include="include\Poco\LogFile_STD.h">
|
||||
<Filter>Logging\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\LogFile_VMS.h">
|
||||
<Filter>Logging\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\LogFile_WIN32.h">
|
||||
<Filter>Logging\Header Files</Filter>
|
||||
</ClInclude>
|
||||
@ -1451,9 +1409,6 @@
|
||||
<ClInclude Include="include\Poco\NullChannel.h">
|
||||
<Filter>Logging\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\OpcomChannel.h">
|
||||
<Filter>Logging\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\PatternFormatter.h">
|
||||
<Filter>Logging\Header Files</Filter>
|
||||
</ClInclude>
|
||||
@ -1511,9 +1466,6 @@
|
||||
<ClInclude Include="include\Poco\DirectoryIterator_UNIX.h">
|
||||
<Filter>Filesystem\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\DirectoryIterator_VMS.h">
|
||||
<Filter>Filesystem\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\DirectoryIterator_WIN32.h">
|
||||
<Filter>Filesystem\Header Files</Filter>
|
||||
</ClInclude>
|
||||
@ -1526,9 +1478,6 @@
|
||||
<ClInclude Include="include\Poco\File_UNIX.h">
|
||||
<Filter>Filesystem\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\File_VMS.h">
|
||||
<Filter>Filesystem\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\File_WIN32.h">
|
||||
<Filter>Filesystem\Header Files</Filter>
|
||||
</ClInclude>
|
||||
@ -1541,9 +1490,6 @@
|
||||
<ClInclude Include="include\Poco\Path_UNIX.h">
|
||||
<Filter>Filesystem\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\Path_VMS.h">
|
||||
<Filter>Filesystem\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\Path_WIN32.h">
|
||||
<Filter>Filesystem\Header Files</Filter>
|
||||
</ClInclude>
|
||||
@ -1556,9 +1502,6 @@
|
||||
<ClInclude Include="include\Poco\NamedEvent_UNIX.h">
|
||||
<Filter>Processes\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\NamedEvent_VMS.h">
|
||||
<Filter>Processes\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\NamedEvent_WIN32.h">
|
||||
<Filter>Processes\Header Files</Filter>
|
||||
</ClInclude>
|
||||
@ -1568,9 +1511,6 @@
|
||||
<ClInclude Include="include\Poco\NamedMutex_UNIX.h">
|
||||
<Filter>Processes\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\NamedMutex_VMS.h">
|
||||
<Filter>Processes\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\NamedMutex_WIN32.h">
|
||||
<Filter>Processes\Header Files</Filter>
|
||||
</ClInclude>
|
||||
@ -1598,9 +1538,6 @@
|
||||
<ClInclude Include="include\Poco\Process_UNIX.h">
|
||||
<Filter>Processes\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\Process_VMS.h">
|
||||
<Filter>Processes\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\Process_WIN32.h">
|
||||
<Filter>Processes\Header Files</Filter>
|
||||
</ClInclude>
|
||||
|
@ -330,14 +330,6 @@
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\DirectoryIterator_VMS.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\DirectoryIterator_WIN32.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">true</ExcludedFromBuild>
|
||||
@ -356,14 +348,6 @@
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Environment_VMS.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Environment_WIN32.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">true</ExcludedFromBuild>
|
||||
@ -424,14 +408,6 @@
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\File_VMS.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\File_WIN32.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">true</ExcludedFromBuild>
|
||||
@ -509,14 +485,6 @@
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\LogFile_VMS.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\LogFile_WIN32.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">true</ExcludedFromBuild>
|
||||
@ -561,14 +529,6 @@
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\NamedEvent_VMS.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\NamedEvent_WIN32.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">true</ExcludedFromBuild>
|
||||
@ -586,14 +546,6 @@
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\NamedMutex_VMS.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\NamedMutex_WIN32.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">true</ExcludedFromBuild>
|
||||
@ -611,14 +563,6 @@
|
||||
<ClCompile Include="src\NumberFormatter.cpp" />
|
||||
<ClCompile Include="src\NumberParser.cpp" />
|
||||
<ClCompile Include="src\NumericString.cpp" />
|
||||
<ClCompile Include="src\OpcomChannel.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Path.cpp" />
|
||||
<ClCompile Include="src\Path_UNIX.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">true</ExcludedFromBuild>
|
||||
@ -628,14 +572,6 @@
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Path_VMS.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Path_WIN32.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">true</ExcludedFromBuild>
|
||||
@ -703,14 +639,6 @@
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Process_VMS.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Process_WIN32.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">true</ExcludedFromBuild>
|
||||
@ -781,14 +709,6 @@
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\SharedLibrary_VMS.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\SharedLibrary_WIN32.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">true</ExcludedFromBuild>
|
||||
@ -993,7 +913,6 @@
|
||||
<ClInclude Include="include\Poco\DirectoryIterator.h" />
|
||||
<ClInclude Include="include\Poco\DirectoryIteratorStrategy.h" />
|
||||
<ClInclude Include="include\Poco\DirectoryIterator_UNIX.h" />
|
||||
<ClInclude Include="include\Poco\DirectoryIterator_VMS.h" />
|
||||
<ClInclude Include="include\Poco\DirectoryIterator_WIN32.h" />
|
||||
<ClInclude Include="include\Poco\DirectoryWatcher.h" />
|
||||
<ClInclude Include="include\Poco\DynamicAny.h" />
|
||||
@ -1006,7 +925,6 @@
|
||||
<ClInclude Include="include\Poco\Dynamic\VarIterator.h" />
|
||||
<ClInclude Include="include\Poco\Environment.h" />
|
||||
<ClInclude Include="include\Poco\Environment_UNIX.h" />
|
||||
<ClInclude Include="include\Poco\Environment_VMS.h" />
|
||||
<ClInclude Include="include\Poco\Environment_WIN32.h" />
|
||||
<ClInclude Include="include\Poco\Error.h" />
|
||||
<ClInclude Include="include\Poco\ErrorHandler.h" />
|
||||
@ -1032,7 +950,6 @@
|
||||
<ClInclude Include="include\Poco\FileStream_POSIX.h" />
|
||||
<ClInclude Include="include\Poco\FileStream_WIN32.h" />
|
||||
<ClInclude Include="include\Poco\File_UNIX.h" />
|
||||
<ClInclude Include="include\Poco\File_VMS.h" />
|
||||
<ClInclude Include="include\Poco\File_WIN32.h" />
|
||||
<ClInclude Include="include\Poco\Format.h" />
|
||||
<ClInclude Include="include\Poco\Formatter.h" />
|
||||
@ -1069,7 +986,6 @@
|
||||
<ClInclude Include="include\Poco\LocalDateTime.h" />
|
||||
<ClInclude Include="include\Poco\LogFile.h" />
|
||||
<ClInclude Include="include\Poco\LogFile_STD.h" />
|
||||
<ClInclude Include="include\Poco\LogFile_VMS.h" />
|
||||
<ClInclude Include="include\Poco\LogFile_WIN32.h" />
|
||||
<ClInclude Include="include\Poco\Logger.h" />
|
||||
<ClInclude Include="include\Poco\LoggingFactory.h" />
|
||||
@ -1091,11 +1007,9 @@
|
||||
<ClInclude Include="include\Poco\Mutex_WIN32.h" />
|
||||
<ClInclude Include="include\Poco\NamedEvent.h" />
|
||||
<ClInclude Include="include\Poco\NamedEvent_UNIX.h" />
|
||||
<ClInclude Include="include\Poco\NamedEvent_VMS.h" />
|
||||
<ClInclude Include="include\Poco\NamedEvent_WIN32.h" />
|
||||
<ClInclude Include="include\Poco\NamedMutex.h" />
|
||||
<ClInclude Include="include\Poco\NamedMutex_UNIX.h" />
|
||||
<ClInclude Include="include\Poco\NamedMutex_VMS.h" />
|
||||
<ClInclude Include="include\Poco\NamedMutex_WIN32.h" />
|
||||
<ClInclude Include="include\Poco\NamedTuple.h" />
|
||||
<ClInclude Include="include\Poco\NestedDiagnosticContext.h" />
|
||||
@ -1112,11 +1026,9 @@
|
||||
<ClInclude Include="include\Poco\NumericString.h" />
|
||||
<ClInclude Include="include\Poco\ObjectPool.h" />
|
||||
<ClInclude Include="include\Poco\Observer.h" />
|
||||
<ClInclude Include="include\Poco\OpcomChannel.h" />
|
||||
<ClInclude Include="include\Poco\Optional.h" />
|
||||
<ClInclude Include="include\Poco\Path.h" />
|
||||
<ClInclude Include="include\Poco\Path_UNIX.h" />
|
||||
<ClInclude Include="include\Poco\Path_VMS.h" />
|
||||
<ClInclude Include="include\Poco\Path_WIN32.h" />
|
||||
<ClInclude Include="include\Poco\PatternFormatter.h" />
|
||||
<ClInclude Include="include\Poco\PBKDF2Engine.h" />
|
||||
@ -1128,7 +1040,6 @@
|
||||
<ClInclude Include="include\Poco\PipeStream.h" />
|
||||
<ClInclude Include="include\Poco\Platform.h" />
|
||||
<ClInclude Include="include\Poco\Platform_POSIX.h" />
|
||||
<ClInclude Include="include\Poco\Platform_VMS.h" />
|
||||
<ClInclude Include="include\Poco\Platform_WIN32.h" />
|
||||
<ClInclude Include="include\Poco\Poco.h" />
|
||||
<ClInclude Include="include\Poco\PriorityDelegate.h" />
|
||||
@ -1138,7 +1049,6 @@
|
||||
<ClInclude Include="include\Poco\PriorityStrategy.h" />
|
||||
<ClInclude Include="include\Poco\Process.h" />
|
||||
<ClInclude Include="include\Poco\Process_UNIX.h" />
|
||||
<ClInclude Include="include\Poco\Process_VMS.h" />
|
||||
<ClInclude Include="include\Poco\Process_WIN32.h" />
|
||||
<ClInclude Include="include\Poco\PurgeStrategy.h" />
|
||||
<ClInclude Include="include\Poco\Random.h" />
|
||||
@ -1165,7 +1075,6 @@
|
||||
<ClInclude Include="include\Poco\SharedLibrary.h" />
|
||||
<ClInclude Include="include\Poco\SharedLibrary_HPUX.h" />
|
||||
<ClInclude Include="include\Poco\SharedLibrary_UNIX.h" />
|
||||
<ClInclude Include="include\Poco\SharedLibrary_VMS.h" />
|
||||
<ClInclude Include="include\Poco\SharedLibrary_WIN32.h" />
|
||||
<ClInclude Include="include\Poco\SharedMemory.h" />
|
||||
<ClInclude Include="include\Poco\SharedMemory_DUMMY.h" />
|
||||
|
@ -216,9 +216,6 @@
|
||||
<ClCompile Include="src\Environment_UNIX.cpp">
|
||||
<Filter>Core\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Environment_VMS.cpp">
|
||||
<Filter>Core\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Environment_WIN32.cpp">
|
||||
<Filter>Core\Source Files</Filter>
|
||||
</ClCompile>
|
||||
@ -495,9 +492,6 @@
|
||||
<ClCompile Include="src\SharedLibrary_UNIX.cpp">
|
||||
<Filter>SharedLibrary\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\SharedLibrary_VMS.cpp">
|
||||
<Filter>SharedLibrary\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\SharedLibrary_WIN32.cpp">
|
||||
<Filter>SharedLibrary\Source Files</Filter>
|
||||
</ClCompile>
|
||||
@ -603,9 +597,6 @@
|
||||
<ClCompile Include="src\LogFile_STD.cpp">
|
||||
<Filter>Logging\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\LogFile_VMS.cpp">
|
||||
<Filter>Logging\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\LogFile_WIN32.cpp">
|
||||
<Filter>Logging\Source Files</Filter>
|
||||
</ClCompile>
|
||||
@ -627,9 +618,6 @@
|
||||
<ClCompile Include="src\NullChannel.cpp">
|
||||
<Filter>Logging\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\OpcomChannel.cpp">
|
||||
<Filter>Logging\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\PatternFormatter.cpp">
|
||||
<Filter>Logging\Source Files</Filter>
|
||||
</ClCompile>
|
||||
@ -678,9 +666,6 @@
|
||||
<ClCompile Include="src\DirectoryIterator_UNIX.cpp">
|
||||
<Filter>Filesystem\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\DirectoryIterator_VMS.cpp">
|
||||
<Filter>Filesystem\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\DirectoryIterator_WIN32.cpp">
|
||||
<Filter>Filesystem\Source Files</Filter>
|
||||
</ClCompile>
|
||||
@ -693,9 +678,6 @@
|
||||
<ClCompile Include="src\File_UNIX.cpp">
|
||||
<Filter>Filesystem\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\File_VMS.cpp">
|
||||
<Filter>Filesystem\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\File_WIN32.cpp">
|
||||
<Filter>Filesystem\Source Files</Filter>
|
||||
</ClCompile>
|
||||
@ -708,9 +690,6 @@
|
||||
<ClCompile Include="src\Path_UNIX.cpp">
|
||||
<Filter>Filesystem\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Path_VMS.cpp">
|
||||
<Filter>Filesystem\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Path_WIN32.cpp">
|
||||
<Filter>Filesystem\Source Files</Filter>
|
||||
</ClCompile>
|
||||
@ -723,9 +702,6 @@
|
||||
<ClCompile Include="src\NamedEvent_UNIX.cpp">
|
||||
<Filter>Processes\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\NamedEvent_VMS.cpp">
|
||||
<Filter>Processes\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\NamedEvent_WIN32.cpp">
|
||||
<Filter>Processes\Source Files</Filter>
|
||||
</ClCompile>
|
||||
@ -735,9 +711,6 @@
|
||||
<ClCompile Include="src\NamedMutex_UNIX.cpp">
|
||||
<Filter>Processes\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\NamedMutex_VMS.cpp">
|
||||
<Filter>Processes\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\NamedMutex_WIN32.cpp">
|
||||
<Filter>Processes\Source Files</Filter>
|
||||
</ClCompile>
|
||||
@ -765,9 +738,6 @@
|
||||
<ClCompile Include="src\Process_UNIX.cpp">
|
||||
<Filter>Processes\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Process_VMS.cpp">
|
||||
<Filter>Processes\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Process_WIN32.cpp">
|
||||
<Filter>Processes\Source Files</Filter>
|
||||
</ClCompile>
|
||||
@ -974,9 +944,6 @@
|
||||
<ClInclude Include="include\Poco\Environment_UNIX.h">
|
||||
<Filter>Core\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\Environment_VMS.h">
|
||||
<Filter>Core\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\Environment_WIN32.h">
|
||||
<Filter>Core\Header Files</Filter>
|
||||
</ClInclude>
|
||||
@ -1055,9 +1022,6 @@
|
||||
<ClInclude Include="include\Poco\Platform_POSIX.h">
|
||||
<Filter>Core\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\Platform_VMS.h">
|
||||
<Filter>Core\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\Platform_WIN32.h">
|
||||
<Filter>Core\Header Files</Filter>
|
||||
</ClInclude>
|
||||
@ -1364,9 +1328,6 @@
|
||||
<ClInclude Include="include\Poco\SharedLibrary_UNIX.h">
|
||||
<Filter>SharedLibrary\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\SharedLibrary_VMS.h">
|
||||
<Filter>SharedLibrary\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\SharedLibrary_WIN32.h">
|
||||
<Filter>SharedLibrary\Header Files</Filter>
|
||||
</ClInclude>
|
||||
@ -1421,9 +1382,6 @@
|
||||
<ClInclude Include="include\Poco\LogFile_STD.h">
|
||||
<Filter>Logging\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\LogFile_VMS.h">
|
||||
<Filter>Logging\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\LogFile_WIN32.h">
|
||||
<Filter>Logging\Header Files</Filter>
|
||||
</ClInclude>
|
||||
@ -1445,9 +1403,6 @@
|
||||
<ClInclude Include="include\Poco\NullChannel.h">
|
||||
<Filter>Logging\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\OpcomChannel.h">
|
||||
<Filter>Logging\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\PatternFormatter.h">
|
||||
<Filter>Logging\Header Files</Filter>
|
||||
</ClInclude>
|
||||
@ -1505,9 +1460,6 @@
|
||||
<ClInclude Include="include\Poco\DirectoryIterator_UNIX.h">
|
||||
<Filter>Filesystem\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\DirectoryIterator_VMS.h">
|
||||
<Filter>Filesystem\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\DirectoryIterator_WIN32.h">
|
||||
<Filter>Filesystem\Header Files</Filter>
|
||||
</ClInclude>
|
||||
@ -1520,9 +1472,6 @@
|
||||
<ClInclude Include="include\Poco\File_UNIX.h">
|
||||
<Filter>Filesystem\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\File_VMS.h">
|
||||
<Filter>Filesystem\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\File_WIN32.h">
|
||||
<Filter>Filesystem\Header Files</Filter>
|
||||
</ClInclude>
|
||||
@ -1535,9 +1484,6 @@
|
||||
<ClInclude Include="include\Poco\Path_UNIX.h">
|
||||
<Filter>Filesystem\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\Path_VMS.h">
|
||||
<Filter>Filesystem\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\Path_WIN32.h">
|
||||
<Filter>Filesystem\Header Files</Filter>
|
||||
</ClInclude>
|
||||
@ -1550,9 +1496,6 @@
|
||||
<ClInclude Include="include\Poco\NamedEvent_UNIX.h">
|
||||
<Filter>Processes\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\NamedEvent_VMS.h">
|
||||
<Filter>Processes\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\NamedEvent_WIN32.h">
|
||||
<Filter>Processes\Header Files</Filter>
|
||||
</ClInclude>
|
||||
@ -1562,9 +1505,6 @@
|
||||
<ClInclude Include="include\Poco\NamedMutex_UNIX.h">
|
||||
<Filter>Processes\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\NamedMutex_VMS.h">
|
||||
<Filter>Processes\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\NamedMutex_WIN32.h">
|
||||
<Filter>Processes\Header Files</Filter>
|
||||
</ClInclude>
|
||||
@ -1592,9 +1532,6 @@
|
||||
<ClInclude Include="include\Poco\Process_UNIX.h">
|
||||
<Filter>Processes\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\Process_VMS.h">
|
||||
<Filter>Processes\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\Process_WIN32.h">
|
||||
<Filter>Processes\Header Files</Filter>
|
||||
</ClInclude>
|
||||
|
@ -330,14 +330,6 @@
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\DirectoryIterator_VMS.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\DirectoryIterator_WIN32.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">true</ExcludedFromBuild>
|
||||
@ -356,14 +348,6 @@
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Environment_VMS.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Environment_WIN32.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">true</ExcludedFromBuild>
|
||||
@ -424,14 +408,6 @@
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\File_VMS.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\File_WIN32.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">true</ExcludedFromBuild>
|
||||
@ -509,14 +485,6 @@
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\LogFile_VMS.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\LogFile_WIN32.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">true</ExcludedFromBuild>
|
||||
@ -561,14 +529,6 @@
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\NamedEvent_VMS.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\NamedEvent_WIN32.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">true</ExcludedFromBuild>
|
||||
@ -586,14 +546,6 @@
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\NamedMutex_VMS.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\NamedMutex_WIN32.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">true</ExcludedFromBuild>
|
||||
@ -611,14 +563,6 @@
|
||||
<ClCompile Include="src\NumberFormatter.cpp" />
|
||||
<ClCompile Include="src\NumberParser.cpp" />
|
||||
<ClCompile Include="src\NumericString.cpp" />
|
||||
<ClCompile Include="src\OpcomChannel.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Path.cpp" />
|
||||
<ClCompile Include="src\Path_UNIX.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">true</ExcludedFromBuild>
|
||||
@ -628,14 +572,6 @@
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Path_VMS.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Path_WIN32.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">true</ExcludedFromBuild>
|
||||
@ -703,14 +639,6 @@
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Process_VMS.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Process_WIN32.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">true</ExcludedFromBuild>
|
||||
@ -781,14 +709,6 @@
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\SharedLibrary_VMS.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_mt|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_md|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release_static_mt|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\SharedLibrary_WIN32.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_shared|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug_static_md|x64'">true</ExcludedFromBuild>
|
||||
@ -993,7 +913,6 @@
|
||||
<ClInclude Include="include\Poco\DirectoryIterator.h" />
|
||||
<ClInclude Include="include\Poco\DirectoryIteratorStrategy.h" />
|
||||
<ClInclude Include="include\Poco\DirectoryIterator_UNIX.h" />
|
||||
<ClInclude Include="include\Poco\DirectoryIterator_VMS.h" />
|
||||
<ClInclude Include="include\Poco\DirectoryIterator_WIN32.h" />
|
||||
<ClInclude Include="include\Poco\DirectoryWatcher.h" />
|
||||
<ClInclude Include="include\Poco\DynamicAny.h" />
|
||||
@ -1006,7 +925,6 @@
|
||||
<ClInclude Include="include\Poco\Dynamic\VarIterator.h" />
|
||||
<ClInclude Include="include\Poco\Environment.h" />
|
||||
<ClInclude Include="include\Poco\Environment_UNIX.h" />
|
||||
<ClInclude Include="include\Poco\Environment_VMS.h" />
|
||||
<ClInclude Include="include\Poco\Environment_WIN32.h" />
|
||||
<ClInclude Include="include\Poco\Error.h" />
|
||||
<ClInclude Include="include\Poco\ErrorHandler.h" />
|
||||
@ -1032,7 +950,6 @@
|
||||
<ClInclude Include="include\Poco\FileStream_POSIX.h" />
|
||||
<ClInclude Include="include\Poco\FileStream_WIN32.h" />
|
||||
<ClInclude Include="include\Poco\File_UNIX.h" />
|
||||
<ClInclude Include="include\Poco\File_VMS.h" />
|
||||
<ClInclude Include="include\Poco\File_WIN32.h" />
|
||||
<ClInclude Include="include\Poco\Format.h" />
|
||||
<ClInclude Include="include\Poco\Formatter.h" />
|
||||
@ -1069,7 +986,6 @@
|
||||
<ClInclude Include="include\Poco\LocalDateTime.h" />
|
||||
<ClInclude Include="include\Poco\LogFile.h" />
|
||||
<ClInclude Include="include\Poco\LogFile_STD.h" />
|
||||
<ClInclude Include="include\Poco\LogFile_VMS.h" />
|
||||
<ClInclude Include="include\Poco\LogFile_WIN32.h" />
|
||||
<ClInclude Include="include\Poco\Logger.h" />
|
||||
<ClInclude Include="include\Poco\LoggingFactory.h" />
|
||||
@ -1091,11 +1007,9 @@
|
||||
<ClInclude Include="include\Poco\Mutex_WIN32.h" />
|
||||
<ClInclude Include="include\Poco\NamedEvent.h" />
|
||||
<ClInclude Include="include\Poco\NamedEvent_UNIX.h" />
|
||||
<ClInclude Include="include\Poco\NamedEvent_VMS.h" />
|
||||
<ClInclude Include="include\Poco\NamedEvent_WIN32.h" />
|
||||
<ClInclude Include="include\Poco\NamedMutex.h" />
|
||||
<ClInclude Include="include\Poco\NamedMutex_UNIX.h" />
|
||||
<ClInclude Include="include\Poco\NamedMutex_VMS.h" />
|
||||
<ClInclude Include="include\Poco\NamedMutex_WIN32.h" />
|
||||
<ClInclude Include="include\Poco\NamedTuple.h" />
|
||||
<ClInclude Include="include\Poco\NestedDiagnosticContext.h" />
|
||||
@ -1112,11 +1026,9 @@
|
||||
<ClInclude Include="include\Poco\NumericString.h" />
|
||||
<ClInclude Include="include\Poco\ObjectPool.h" />
|
||||
<ClInclude Include="include\Poco\Observer.h" />
|
||||
<ClInclude Include="include\Poco\OpcomChannel.h" />
|
||||
<ClInclude Include="include\Poco\Optional.h" />
|
||||
<ClInclude Include="include\Poco\Path.h" />
|
||||
<ClInclude Include="include\Poco\Path_UNIX.h" />
|
||||
<ClInclude Include="include\Poco\Path_VMS.h" />
|
||||
<ClInclude Include="include\Poco\Path_WIN32.h" />
|
||||
<ClInclude Include="include\Poco\PatternFormatter.h" />
|
||||
<ClInclude Include="include\Poco\PBKDF2Engine.h" />
|
||||
@ -1128,7 +1040,6 @@
|
||||
<ClInclude Include="include\Poco\PipeStream.h" />
|
||||
<ClInclude Include="include\Poco\Platform.h" />
|
||||
<ClInclude Include="include\Poco\Platform_POSIX.h" />
|
||||
<ClInclude Include="include\Poco\Platform_VMS.h" />
|
||||
<ClInclude Include="include\Poco\Platform_WIN32.h" />
|
||||
<ClInclude Include="include\Poco\Poco.h" />
|
||||
<ClInclude Include="include\Poco\PriorityDelegate.h" />
|
||||
@ -1138,7 +1049,6 @@
|
||||
<ClInclude Include="include\Poco\PriorityStrategy.h" />
|
||||
<ClInclude Include="include\Poco\Process.h" />
|
||||
<ClInclude Include="include\Poco\Process_UNIX.h" />
|
||||
<ClInclude Include="include\Poco\Process_VMS.h" />
|
||||
<ClInclude Include="include\Poco\Process_WIN32.h" />
|
||||
<ClInclude Include="include\Poco\PurgeStrategy.h" />
|
||||
<ClInclude Include="include\Poco\Random.h" />
|
||||
@ -1165,7 +1075,6 @@
|
||||
<ClInclude Include="include\Poco\SharedLibrary.h" />
|
||||
<ClInclude Include="include\Poco\SharedLibrary_HPUX.h" />
|
||||
<ClInclude Include="include\Poco\SharedLibrary_UNIX.h" />
|
||||
<ClInclude Include="include\Poco\SharedLibrary_VMS.h" />
|
||||
<ClInclude Include="include\Poco\SharedLibrary_WIN32.h" />
|
||||
<ClInclude Include="include\Poco\SharedMemory.h" />
|
||||
<ClInclude Include="include\Poco\SharedMemory_DUMMY.h" />
|
||||
|
@ -216,9 +216,6 @@
|
||||
<ClCompile Include="src\Environment_UNIX.cpp">
|
||||
<Filter>Core\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Environment_VMS.cpp">
|
||||
<Filter>Core\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Environment_WIN32.cpp">
|
||||
<Filter>Core\Source Files</Filter>
|
||||
</ClCompile>
|
||||
@ -495,9 +492,6 @@
|
||||
<ClCompile Include="src\SharedLibrary_UNIX.cpp">
|
||||
<Filter>SharedLibrary\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\SharedLibrary_VMS.cpp">
|
||||
<Filter>SharedLibrary\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\SharedLibrary_WIN32.cpp">
|
||||
<Filter>SharedLibrary\Source Files</Filter>
|
||||
</ClCompile>
|
||||
@ -603,9 +597,6 @@
|
||||
<ClCompile Include="src\LogFile_STD.cpp">
|
||||
<Filter>Logging\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\LogFile_VMS.cpp">
|
||||
<Filter>Logging\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\LogFile_WIN32.cpp">
|
||||
<Filter>Logging\Source Files</Filter>
|
||||
</ClCompile>
|
||||
@ -627,9 +618,6 @@
|
||||
<ClCompile Include="src\NullChannel.cpp">
|
||||
<Filter>Logging\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\OpcomChannel.cpp">
|
||||
<Filter>Logging\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\PatternFormatter.cpp">
|
||||
<Filter>Logging\Source Files</Filter>
|
||||
</ClCompile>
|
||||
@ -678,9 +666,6 @@
|
||||
<ClCompile Include="src\DirectoryIterator_UNIX.cpp">
|
||||
<Filter>Filesystem\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\DirectoryIterator_VMS.cpp">
|
||||
<Filter>Filesystem\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\DirectoryIterator_WIN32.cpp">
|
||||
<Filter>Filesystem\Source Files</Filter>
|
||||
</ClCompile>
|
||||
@ -693,9 +678,6 @@
|
||||
<ClCompile Include="src\File_UNIX.cpp">
|
||||
<Filter>Filesystem\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\File_VMS.cpp">
|
||||
<Filter>Filesystem\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\File_WIN32.cpp">
|
||||
<Filter>Filesystem\Source Files</Filter>
|
||||
</ClCompile>
|
||||
@ -708,9 +690,6 @@
|
||||
<ClCompile Include="src\Path_UNIX.cpp">
|
||||
<Filter>Filesystem\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Path_VMS.cpp">
|
||||
<Filter>Filesystem\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Path_WIN32.cpp">
|
||||
<Filter>Filesystem\Source Files</Filter>
|
||||
</ClCompile>
|
||||
@ -723,9 +702,6 @@
|
||||
<ClCompile Include="src\NamedEvent_UNIX.cpp">
|
||||
<Filter>Processes\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\NamedEvent_VMS.cpp">
|
||||
<Filter>Processes\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\NamedEvent_WIN32.cpp">
|
||||
<Filter>Processes\Source Files</Filter>
|
||||
</ClCompile>
|
||||
@ -735,9 +711,6 @@
|
||||
<ClCompile Include="src\NamedMutex_UNIX.cpp">
|
||||
<Filter>Processes\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\NamedMutex_VMS.cpp">
|
||||
<Filter>Processes\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\NamedMutex_WIN32.cpp">
|
||||
<Filter>Processes\Source Files</Filter>
|
||||
</ClCompile>
|
||||
@ -765,9 +738,6 @@
|
||||
<ClCompile Include="src\Process_UNIX.cpp">
|
||||
<Filter>Processes\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Process_VMS.cpp">
|
||||
<Filter>Processes\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Process_WIN32.cpp">
|
||||
<Filter>Processes\Source Files</Filter>
|
||||
</ClCompile>
|
||||
@ -974,9 +944,6 @@
|
||||
<ClInclude Include="include\Poco\Environment_UNIX.h">
|
||||
<Filter>Core\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\Environment_VMS.h">
|
||||
<Filter>Core\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\Environment_WIN32.h">
|
||||
<Filter>Core\Header Files</Filter>
|
||||
</ClInclude>
|
||||
@ -1055,9 +1022,6 @@
|
||||
<ClInclude Include="include\Poco\Platform_POSIX.h">
|
||||
<Filter>Core\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\Platform_VMS.h">
|
||||
<Filter>Core\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\Platform_WIN32.h">
|
||||
<Filter>Core\Header Files</Filter>
|
||||
</ClInclude>
|
||||
@ -1364,9 +1328,6 @@
|
||||
<ClInclude Include="include\Poco\SharedLibrary_UNIX.h">
|
||||
<Filter>SharedLibrary\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\SharedLibrary_VMS.h">
|
||||
<Filter>SharedLibrary\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\SharedLibrary_WIN32.h">
|
||||
<Filter>SharedLibrary\Header Files</Filter>
|
||||
</ClInclude>
|
||||
@ -1421,9 +1382,6 @@
|
||||
<ClInclude Include="include\Poco\LogFile_STD.h">
|
||||
<Filter>Logging\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\LogFile_VMS.h">
|
||||
<Filter>Logging\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\LogFile_WIN32.h">
|
||||
<Filter>Logging\Header Files</Filter>
|
||||
</ClInclude>
|
||||
@ -1445,9 +1403,6 @@
|
||||
<ClInclude Include="include\Poco\NullChannel.h">
|
||||
<Filter>Logging\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\OpcomChannel.h">
|
||||
<Filter>Logging\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\PatternFormatter.h">
|
||||
<Filter>Logging\Header Files</Filter>
|
||||
</ClInclude>
|
||||
@ -1505,9 +1460,6 @@
|
||||
<ClInclude Include="include\Poco\DirectoryIterator_UNIX.h">
|
||||
<Filter>Filesystem\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\DirectoryIterator_VMS.h">
|
||||
<Filter>Filesystem\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\DirectoryIterator_WIN32.h">
|
||||
<Filter>Filesystem\Header Files</Filter>
|
||||
</ClInclude>
|
||||
@ -1520,9 +1472,6 @@
|
||||
<ClInclude Include="include\Poco\File_UNIX.h">
|
||||
<Filter>Filesystem\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\File_VMS.h">
|
||||
<Filter>Filesystem\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\File_WIN32.h">
|
||||
<Filter>Filesystem\Header Files</Filter>
|
||||
</ClInclude>
|
||||
@ -1535,9 +1484,6 @@
|
||||
<ClInclude Include="include\Poco\Path_UNIX.h">
|
||||
<Filter>Filesystem\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\Path_VMS.h">
|
||||
<Filter>Filesystem\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\Path_WIN32.h">
|
||||
<Filter>Filesystem\Header Files</Filter>
|
||||
</ClInclude>
|
||||
@ -1550,9 +1496,6 @@
|
||||
<ClInclude Include="include\Poco\NamedEvent_UNIX.h">
|
||||
<Filter>Processes\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\NamedEvent_VMS.h">
|
||||
<Filter>Processes\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\NamedEvent_WIN32.h">
|
||||
<Filter>Processes\Header Files</Filter>
|
||||
</ClInclude>
|
||||
@ -1562,9 +1505,6 @@
|
||||
<ClInclude Include="include\Poco\NamedMutex_UNIX.h">
|
||||
<Filter>Processes\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\NamedMutex_VMS.h">
|
||||
<Filter>Processes\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\NamedMutex_WIN32.h">
|
||||
<Filter>Processes\Header Files</Filter>
|
||||
</ClInclude>
|
||||
@ -1592,9 +1532,6 @@
|
||||
<ClInclude Include="include\Poco\Process_UNIX.h">
|
||||
<Filter>Processes\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\Process_VMS.h">
|
||||
<Filter>Processes\Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Poco\Process_WIN32.h">
|
||||
<Filter>Processes\Header Files</Filter>
|
||||
</ClInclude>
|
||||
|
@ -39,8 +39,6 @@ public:
|
||||
/// function.
|
||||
/// On Unix, this function returns true if the environment
|
||||
/// variable POCO_ENABLE_DEBUGGER is set.
|
||||
/// On OpenVMS, this function always returns true in debug,
|
||||
/// mode, false otherwise.
|
||||
|
||||
static void message(const std::string& msg);
|
||||
/// Writes a message to the debugger log, if available, otherwise to
|
||||
@ -54,7 +52,6 @@ public:
|
||||
/// Breaks into the debugger, if it is available.
|
||||
/// On Windows, this is done using the DebugBreak() function.
|
||||
/// On Unix, the SIGINT signal is raised.
|
||||
/// On OpenVMS, the SS$_DEBUG signal is raised.
|
||||
|
||||
static void enter(const std::string& msg);
|
||||
/// Writes a debug message to the debugger log and breaks into it.
|
||||
|
@ -1,75 +0,0 @@
|
||||
//
|
||||
// DirectoryIterator_VMS.h
|
||||
//
|
||||
// Library: Foundation
|
||||
// Package: Filesystem
|
||||
// Module: DirectoryIterator
|
||||
//
|
||||
// Definition of the DirectoryIteratorImpl class for OpenVMS.
|
||||
//
|
||||
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
|
||||
// and Contributors.
|
||||
//
|
||||
// SPDX-License-Identifier: BSL-1.0
|
||||
//
|
||||
|
||||
|
||||
#ifndef Foundation_DirectoryIterator_VMS_INCLUDED
|
||||
#define Foundation_DirectoryIterator_VMS_INCLUDED
|
||||
|
||||
|
||||
#include "Poco/Foundation.h"
|
||||
#include <rms.h>
|
||||
|
||||
|
||||
namespace Poco {
|
||||
|
||||
|
||||
class Foundation_API DirectoryIteratorImpl
|
||||
{
|
||||
public:
|
||||
DirectoryIteratorImpl(const std::string& path);
|
||||
~DirectoryIteratorImpl();
|
||||
|
||||
void duplicate();
|
||||
void release();
|
||||
|
||||
const std::string& get() const;
|
||||
const std::string& next();
|
||||
|
||||
private:
|
||||
struct FAB _fab;
|
||||
struct NAM _nam;
|
||||
std::string _search;
|
||||
char _spec[255];
|
||||
std::string _current;
|
||||
int _rc;
|
||||
};
|
||||
|
||||
|
||||
//
|
||||
// inlines
|
||||
//
|
||||
const std::string& DirectoryIteratorImpl::get() const
|
||||
{
|
||||
return _current;
|
||||
}
|
||||
|
||||
|
||||
inline void DirectoryIteratorImpl::duplicate()
|
||||
{
|
||||
++_rc;
|
||||
}
|
||||
|
||||
|
||||
inline void DirectoryIteratorImpl::release()
|
||||
{
|
||||
if (--_rc == 0)
|
||||
delete this;
|
||||
}
|
||||
|
||||
|
||||
} // namespace Poco
|
||||
|
||||
|
||||
#endif // Foundation_DirectoryIterator_VMS_INCLUDED
|
@ -30,28 +30,28 @@ class Foundation_API Environment
|
||||
{
|
||||
public:
|
||||
typedef UInt8 NodeId[6]; /// Ethernet address.
|
||||
|
||||
|
||||
static std::string get(const std::string& name);
|
||||
/// Returns the value of the environment variable
|
||||
/// with the given name. Throws a NotFoundException
|
||||
/// if the variable does not exist.
|
||||
|
||||
|
||||
static std::string get(const std::string& name, const std::string& defaultValue);
|
||||
/// Returns the value of the environment variable
|
||||
/// with the given name. If the environment variable
|
||||
/// is undefined, returns defaultValue instead.
|
||||
|
||||
|
||||
static bool has(const std::string& name);
|
||||
/// Returns true iff an environment variable
|
||||
/// with the given name is defined.
|
||||
|
||||
|
||||
static void set(const std::string& name, const std::string& value);
|
||||
/// Sets the environment variable with the given name
|
||||
/// to the given value.
|
||||
|
||||
static std::string osName();
|
||||
/// Returns the operating system name.
|
||||
|
||||
|
||||
static std::string osDisplayName();
|
||||
/// Returns the operating system name in a
|
||||
/// "user-friendly" way.
|
||||
@ -61,33 +61,33 @@ public:
|
||||
/// "Windows XP" or "Windows 7/Server 2008 SP2".
|
||||
/// On other platforms, returns the same as
|
||||
/// osName().
|
||||
|
||||
|
||||
static std::string osVersion();
|
||||
/// Returns the operating system version.
|
||||
|
||||
|
||||
static std::string osArchitecture();
|
||||
/// Returns the operating system architecture.
|
||||
|
||||
|
||||
static std::string nodeName();
|
||||
/// Returns the node (or host) name.
|
||||
|
||||
|
||||
static void nodeId(NodeId& id);
|
||||
/// Returns the Ethernet address of the first Ethernet
|
||||
/// adapter found on the system.
|
||||
///
|
||||
/// Throws a SystemException if no Ethernet adapter is available.
|
||||
|
||||
|
||||
static std::string nodeId();
|
||||
/// Returns the Ethernet address (format "xx:xx:xx:xx:xx:xx")
|
||||
/// of the first Ethernet adapter found on the system.
|
||||
///
|
||||
/// Throws a SystemException if no Ethernet adapter is available.
|
||||
|
||||
|
||||
static unsigned processorCount();
|
||||
/// Returns the number of processors installed in the system.
|
||||
///
|
||||
/// If the number of processors cannot be determined, returns 1.
|
||||
|
||||
|
||||
static Poco::UInt32 libraryVersion();
|
||||
/// Returns the POCO C++ Libraries version as a hexadecimal
|
||||
/// number in format 0xAABBCCDD, where
|
||||
@ -105,19 +105,15 @@ public:
|
||||
/// Return the operating system as defined
|
||||
/// in the include Foundation/Platform.h (POCO_OS)
|
||||
|
||||
static Poco::Int32 cpu();
|
||||
static Poco::Int32 arch();
|
||||
/// Return the underlying cpu that runs this operating system
|
||||
/// as defined in Foundation/Platform (POCO_ARCH)
|
||||
|
||||
static bool osFamilyUnix();
|
||||
static bool isUnix();
|
||||
/// Return true if the operating system belongs to the Linux family
|
||||
|
||||
static bool osFamilyWindows();
|
||||
static bool isWindows();
|
||||
/// Return true if the operating system belongs to the Windows family
|
||||
|
||||
static bool osFamilyVms();
|
||||
/// Return true if the operating system belongs to the VMS family
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
@ -1,57 +0,0 @@
|
||||
//
|
||||
// Environment_VMS.h
|
||||
//
|
||||
// Library: Foundation
|
||||
// Package: Core
|
||||
// Module: Environment
|
||||
//
|
||||
// Definition of the EnvironmentImpl class for OpenVMS.
|
||||
//
|
||||
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
|
||||
// and Contributors.
|
||||
//
|
||||
// SPDX-License-Identifier: BSL-1.0
|
||||
//
|
||||
|
||||
|
||||
#ifndef Foundation_Environment_VMS_INCLUDED
|
||||
#define Foundation_Environment_VMS_INCLUDED
|
||||
|
||||
|
||||
#include "Poco/Foundation.h"
|
||||
#include "Poco/Mutex.h"
|
||||
|
||||
|
||||
namespace Poco {
|
||||
|
||||
|
||||
class Foundation_API EnvironmentImpl
|
||||
{
|
||||
public:
|
||||
typedef UInt8 NodeId[6]; /// Ethernet address.
|
||||
|
||||
static std::string getImpl(const std::string& name);
|
||||
static bool hasImpl(const std::string& name);
|
||||
static void setImpl(const std::string& name, const std::string& value);
|
||||
static std::string osNameImpl();
|
||||
static std::string osDisplayNameImpl();
|
||||
static std::string osVersionImpl();
|
||||
static std::string osArchitectureImpl();
|
||||
static std::string nodeNameImpl();
|
||||
static void nodeIdImpl(NodeId& id);
|
||||
static unsigned processorCountImpl();
|
||||
|
||||
static std::string getsyi(unsigned short code);
|
||||
/// a wrapper for $GETSYIW
|
||||
|
||||
static std::string trnlnm(const std::string& name);
|
||||
|
||||
private:
|
||||
static FastMutex _mutex;
|
||||
};
|
||||
|
||||
|
||||
} // namespace Poco
|
||||
|
||||
|
||||
#endif // Foundation_Environment_VMS_INCLUDED
|
@ -23,7 +23,7 @@
|
||||
|
||||
#if defined(POCO_NO_FPENVIRONMENT)
|
||||
#include "Poco/FPEnvironment_DUMMY.h"
|
||||
#elif defined(__osf__) || defined(__VMS)
|
||||
#elif defined(__osf__)
|
||||
#include "Poco/FPEnvironment_DEC.h"
|
||||
#elif defined(sun) || defined(__sun)
|
||||
#include "Poco/FPEnvironment_SUN.h"
|
||||
@ -82,7 +82,7 @@ public:
|
||||
~FPEnvironment();
|
||||
/// Restores the previous environment (unless
|
||||
/// keepCurrent() has been called previously)
|
||||
|
||||
|
||||
FPEnvironment& operator = (const FPEnvironment& env);
|
||||
/// Assignment operator
|
||||
|
||||
@ -95,10 +95,10 @@ public:
|
||||
|
||||
static bool isFlag(Flag flag);
|
||||
/// Returns true iff the given flag is set.
|
||||
|
||||
|
||||
static void setRoundingMode(RoundingMode mode);
|
||||
/// Sets the rounding mode.
|
||||
|
||||
|
||||
static RoundingMode getRoundingMode();
|
||||
/// Returns the current rounding mode.
|
||||
|
||||
@ -140,13 +140,13 @@ inline void FPEnvironment::setRoundingMode(RoundingMode mode)
|
||||
setRoundingModeImpl(RoundingModeImpl(mode));
|
||||
}
|
||||
|
||||
|
||||
|
||||
inline FPEnvironment::RoundingMode FPEnvironment::getRoundingMode()
|
||||
{
|
||||
return RoundingMode(getRoundingModeImpl());
|
||||
}
|
||||
|
||||
|
||||
|
||||
inline bool FPEnvironment::isInfinite(float value)
|
||||
{
|
||||
return isInfiniteImpl(value);
|
||||
|
@ -33,8 +33,6 @@
|
||||
#include "Poco/File_VX.h"
|
||||
#elif defined(POCO_OS_FAMILY_UNIX)
|
||||
#include "Poco/File_UNIX.h"
|
||||
#else
|
||||
#include "Poco/File_VMS.h"
|
||||
#endif
|
||||
|
||||
|
||||
@ -67,19 +65,19 @@ public:
|
||||
|
||||
File(const std::string& path);
|
||||
/// Creates the file.
|
||||
|
||||
|
||||
File(const char* path);
|
||||
/// Creates the file.
|
||||
|
||||
File(const Path& path);
|
||||
/// Creates the file.
|
||||
|
||||
|
||||
File(const File& file);
|
||||
/// Copy constructor.
|
||||
|
||||
virtual ~File();
|
||||
/// Destroys the file.
|
||||
|
||||
|
||||
File& operator = (const File& file);
|
||||
/// Assignment operator.
|
||||
|
||||
@ -91,39 +89,39 @@ public:
|
||||
|
||||
File& operator = (const Path& path);
|
||||
/// Assignment operator.
|
||||
|
||||
|
||||
void swap(File& file);
|
||||
/// Swaps the file with another one.
|
||||
|
||||
const std::string& path() const;
|
||||
/// Returns the path.
|
||||
|
||||
|
||||
bool exists() const;
|
||||
/// Returns true iff the file exists.
|
||||
|
||||
|
||||
bool canRead() const;
|
||||
/// Returns true iff the file is readable.
|
||||
|
||||
|
||||
bool canWrite() const;
|
||||
/// Returns true iff the file is writeable.
|
||||
|
||||
bool canExecute() const;
|
||||
/// Returns true iff the file is executable.
|
||||
///
|
||||
/// On Windows and OpenVMS, the file must have
|
||||
/// On Windows, the file must have
|
||||
/// the extension ".EXE" to be executable.
|
||||
/// On Unix platforms, the executable permission
|
||||
/// bit must be set.
|
||||
|
||||
bool isFile() const;
|
||||
/// Returns true iff the file is a regular file.
|
||||
|
||||
|
||||
bool isLink() const;
|
||||
/// Returns true iff the file is a symbolic link.
|
||||
|
||||
|
||||
bool isDirectory() const;
|
||||
/// Returns true iff the file is a directory.
|
||||
|
||||
|
||||
bool isDevice() const;
|
||||
/// Returns true iff the file is a device.
|
||||
|
||||
@ -147,34 +145,34 @@ public:
|
||||
|
||||
Timestamp getLastModified() const;
|
||||
/// Returns the modification date of the file.
|
||||
|
||||
|
||||
File& setLastModified(const Timestamp& ts);
|
||||
/// Sets the modification date of the file.
|
||||
|
||||
|
||||
FileSize getSize() const;
|
||||
/// Returns the size of the file in bytes.
|
||||
|
||||
|
||||
File& setSize(FileSize size);
|
||||
/// Sets the size of the file in bytes. Can be used
|
||||
/// to truncate a file.
|
||||
|
||||
|
||||
File& setWriteable(bool flag = true);
|
||||
/// Makes the file writeable (if flag is true), or
|
||||
/// non-writeable (if flag is false) by setting the
|
||||
/// file's flags in the filesystem accordingly.
|
||||
|
||||
|
||||
File& setReadOnly(bool flag = true);
|
||||
/// Makes the file non-writeable (if flag is true), or
|
||||
/// writeable (if flag is false) by setting the
|
||||
/// file's flags in the filesystem accordingly.
|
||||
|
||||
|
||||
File& setExecutable(bool flag = true);
|
||||
/// Makes the file executable (if flag is true), or
|
||||
/// non-executable (if flag is false) by setting
|
||||
/// the file's permission bits accordingly.
|
||||
///
|
||||
/// Does nothing on Windows and OpenVMS.
|
||||
|
||||
/// Does nothing on Windows.
|
||||
|
||||
void copyTo(const std::string& path) const;
|
||||
/// Copies the file (or directory) to the given path.
|
||||
/// The target path can be a directory.
|
||||
@ -184,30 +182,30 @@ public:
|
||||
void moveTo(const std::string& path);
|
||||
/// Copies the file (or directory) to the given path and
|
||||
/// removes the original file. The target path can be a directory.
|
||||
|
||||
|
||||
void renameTo(const std::string& path);
|
||||
/// Renames the file to the new name.
|
||||
|
||||
|
||||
void remove(bool recursive = false);
|
||||
/// Deletes the file. If recursive is true and the
|
||||
/// file is a directory, recursively deletes all
|
||||
/// files in the directory.
|
||||
|
||||
|
||||
bool createFile();
|
||||
/// Creates a new, empty file in an atomic operation.
|
||||
/// Returns true if the file has been created and false
|
||||
/// if the file already exists. Throws an exception if
|
||||
/// an error occurs.
|
||||
|
||||
|
||||
bool createDirectory();
|
||||
/// Creates a directory. Returns true if the directory
|
||||
/// has been created and false if it already exists.
|
||||
/// Throws an exception if an error occurs.
|
||||
|
||||
|
||||
void createDirectories();
|
||||
/// Creates a directory (and all parent directories
|
||||
/// if necessary).
|
||||
|
||||
|
||||
void list(std::vector<std::string>& files) const;
|
||||
/// Fills the vector with the names of all
|
||||
/// files in the directory.
|
||||
@ -231,7 +229,7 @@ public:
|
||||
bool operator <= (const File& file) const;
|
||||
bool operator > (const File& file) const;
|
||||
bool operator >= (const File& file) const;
|
||||
|
||||
|
||||
static void handleLastError(const std::string& path);
|
||||
/// For internal use only. Throws an appropriate
|
||||
/// exception for the last file-related error.
|
||||
|
@ -1,82 +0,0 @@
|
||||
//
|
||||
// File_VMS.h
|
||||
//
|
||||
// Library: Foundation
|
||||
// Package: Filesystem
|
||||
// Module: File
|
||||
//
|
||||
// Definition of the FileImpl class for OpenVMS.
|
||||
//
|
||||
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
|
||||
// and Contributors.
|
||||
//
|
||||
// SPDX-License-Identifier: BSL-1.0
|
||||
//
|
||||
|
||||
|
||||
#ifndef Foundation_File_VMS_INCLUDED
|
||||
#define Foundation_File_VMS_INCLUDED
|
||||
|
||||
|
||||
#include "Poco/Foundation.h"
|
||||
|
||||
|
||||
namespace Poco {
|
||||
|
||||
|
||||
class FileImpl
|
||||
{
|
||||
protected:
|
||||
typedef UInt64 FileSizeImpl;
|
||||
|
||||
FileImpl();
|
||||
FileImpl(const std::string& path);
|
||||
virtual ~FileImpl();
|
||||
void setPath(const std::string& path);
|
||||
void swapImpl(FileImpl& file);
|
||||
void setPathImpl(const std::string& path);
|
||||
const std::string& getPathImpl() const;
|
||||
bool existsImpl() const;
|
||||
bool canReadImpl() const;
|
||||
bool canWriteImpl() const;
|
||||
bool canExecuteImpl() const;
|
||||
bool isFileImpl() const;
|
||||
bool isDirectoryImpl() const;
|
||||
bool isLinkImpl() const;
|
||||
bool isDeviceImpl() const;
|
||||
bool isHiddenImpl() const;
|
||||
Timestamp createdImpl() const;
|
||||
Timestamp getLastModifiedImpl() const;
|
||||
void setLastModifiedImpl(const Timestamp& ts);
|
||||
FileSizeImpl getSizeImpl() const;
|
||||
void setSizeImpl(FileSizeImpl size);
|
||||
void setWriteableImpl(bool flag = true);
|
||||
void setExecutableImpl(bool flag = true);
|
||||
void copyToImpl(const std::string& path) const;
|
||||
void renameToImpl(const std::string& path);
|
||||
void removeImpl();
|
||||
bool createFileImpl();
|
||||
bool createDirectoryImpl();
|
||||
FileSizeImpl totalSpaceImpl() const;
|
||||
FileSizeImpl usableSpaceImpl() const;
|
||||
FileSizeImpl freeSpaceImpl() const;
|
||||
static void handleLastError(const std::string& path);
|
||||
|
||||
private:
|
||||
std::string _path;
|
||||
};
|
||||
|
||||
|
||||
//
|
||||
// inlines
|
||||
//
|
||||
inline const std::string& FileImpl::getPathImpl() const
|
||||
{
|
||||
return _path;
|
||||
}
|
||||
|
||||
|
||||
} // namespace Poco
|
||||
|
||||
|
||||
#endif // Foundation_File_VMS_INCLUDED
|
@ -98,8 +98,6 @@
|
||||
#include "Poco/Platform.h"
|
||||
#if defined(_WIN32)
|
||||
#include "Poco/Platform_WIN32.h"
|
||||
#elif defined(__VMS)
|
||||
#include "Poco/Platform_VMS.h"
|
||||
#elif defined(POCO_VXWORKS)
|
||||
#include "Poco/Platform_VX.h"
|
||||
#elif defined(POCO_OS_FAMILY_UNIX)
|
||||
|
@ -58,7 +58,7 @@ public:
|
||||
GLOB_CASELESS = 0x04, /// ignore case when comparing characters
|
||||
GLOB_DIRS_ONLY = 0x80 /// only glob for directories (for internal use only)
|
||||
};
|
||||
|
||||
|
||||
Glob(const std::string& pattern, int options = 0);
|
||||
/// Creates the Glob, using the given pattern. The pattern
|
||||
/// must not be an empty string.
|
||||
@ -69,16 +69,16 @@ public:
|
||||
|
||||
~Glob();
|
||||
/// Destroys the Glob.
|
||||
|
||||
|
||||
bool match(const std::string& subject);
|
||||
/// Matches the given subject against the glob pattern.
|
||||
/// Returns true if the subject matches the pattern, false
|
||||
/// otherwise.
|
||||
|
||||
|
||||
static void glob(const std::string& pathPattern, std::set<std::string>& files, int options = 0);
|
||||
/// Creates a set of files that match the given pathPattern.
|
||||
///
|
||||
/// The path may be give in either Unix, Windows or VMS syntax and
|
||||
/// The path may be give in either Unix or Windows syntax and
|
||||
/// is automatically expanded by calling Path::expand().
|
||||
///
|
||||
/// The pattern may contain wildcard expressions even in intermediate
|
||||
@ -93,7 +93,7 @@ public:
|
||||
static void glob(const char* pathPattern, std::set<std::string>& files, int options = 0);
|
||||
/// Creates a set of files that match the given pathPattern.
|
||||
///
|
||||
/// The path may be give in either Unix, Windows or VMS syntax and
|
||||
/// The path may be give in either Unix or Windows syntax and
|
||||
/// is automatically expanded by calling Path::expand().
|
||||
///
|
||||
/// The pattern may contain wildcard expressions even in intermediate
|
||||
@ -135,7 +135,7 @@ protected:
|
||||
bool matchSet(TextIterator& itp, const TextIterator& endp, int c);
|
||||
static void collect(const Path& pathPattern, const Path& base, const Path& current, const std::string& pattern, std::set<std::string>& files, int options);
|
||||
static bool isDirectory(const Path& path, bool followSymlink);
|
||||
|
||||
|
||||
private:
|
||||
std::string _pattern;
|
||||
int _options;
|
||||
|
@ -23,8 +23,6 @@
|
||||
|
||||
#if defined(POCO_OS_FAMILY_WINDOWS)
|
||||
#include "Poco/LogFile_WIN32.h"
|
||||
#elif defined(POCO_OS_FAMILY_VMS)
|
||||
#include "Poco/LogFile_VMS.h"
|
||||
#else
|
||||
#include "Poco/LogFile_STD.h"
|
||||
#endif
|
||||
@ -51,10 +49,10 @@ public:
|
||||
|
||||
UInt64 size() const;
|
||||
/// Returns the current size in bytes of the log file.
|
||||
|
||||
|
||||
Timestamp creationDate() const;
|
||||
/// Returns the date and time the log file was created.
|
||||
|
||||
|
||||
const std::string& path() const;
|
||||
/// Returns the path given in the constructor.
|
||||
};
|
||||
|
@ -1,53 +0,0 @@
|
||||
//
|
||||
// LogFile_VMS.h
|
||||
//
|
||||
// Library: Foundation
|
||||
// Package: Logging
|
||||
// Module: LogFile
|
||||
//
|
||||
// Definition of the LogFileImpl class using C I/O with OpenVMS extensions.
|
||||
//
|
||||
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
|
||||
// and Contributors.
|
||||
//
|
||||
// SPDX-License-Identifier: BSL-1.0
|
||||
//
|
||||
|
||||
|
||||
#ifndef Foundation_LogFile_VMS_INCLUDED
|
||||
#define Foundation_LogFile_VMS_INCLUDED
|
||||
|
||||
|
||||
#include "Poco/Foundation.h"
|
||||
#include "Poco/Timestamp.h"
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
namespace Poco {
|
||||
|
||||
|
||||
class Foundation_API LogFileImpl
|
||||
/// The implementation of LogFile for OpenVMS.
|
||||
/// The C Standard Library functions for file I/O
|
||||
/// are used with OpenVMS-specific extensions to
|
||||
/// control sharing and locking behavior.
|
||||
{
|
||||
public:
|
||||
LogFileImpl(const std::string& path);
|
||||
~LogFileImpl();
|
||||
void writeImpl(const std::string& text, bool flush);
|
||||
UInt64 sizeImpl() const;
|
||||
Timestamp creationDateImpl() const;
|
||||
const std::string& pathImpl() const;
|
||||
|
||||
private:
|
||||
std::string _path;
|
||||
mutable FILE* _file;
|
||||
Timestamp _creationDate;
|
||||
};
|
||||
|
||||
|
||||
} // namespace Poco
|
||||
|
||||
|
||||
#endif // Foundation_LogFile_VMS_INCLUDED
|
@ -37,7 +37,6 @@ class Foundation_API LoggingFactory
|
||||
/// - FileChannel
|
||||
/// - FormattingChannel
|
||||
/// - NullChannel
|
||||
/// - OpcomChannel (OpenVMS only)
|
||||
/// - SplitterChannel
|
||||
/// - SyslogChannel (Unix platforms only)
|
||||
///
|
||||
@ -56,10 +55,10 @@ public:
|
||||
|
||||
~LoggingFactory();
|
||||
/// Destroys the LoggingFactory.
|
||||
|
||||
|
||||
void registerChannelClass(const std::string& className, ChannelInstantiator* pFactory);
|
||||
/// Registers a channel class with the LoggingFactory.
|
||||
|
||||
|
||||
void registerFormatterClass(const std::string& className, FormatterFactory* pFactory);
|
||||
/// Registers a formatter class with the LoggingFactory.
|
||||
|
||||
@ -68,7 +67,7 @@ public:
|
||||
///
|
||||
/// Throws a NotFoundException if the specified channel class
|
||||
/// has not been registered.
|
||||
|
||||
|
||||
Formatter* createFormatter(const std::string& className) const;
|
||||
/// Creates a new Formatter instance from specified class.
|
||||
///
|
||||
@ -81,7 +80,7 @@ public:
|
||||
|
||||
private:
|
||||
void registerBuiltins();
|
||||
|
||||
|
||||
DynamicFactory<Channel> _channelFactory;
|
||||
DynamicFactory<Formatter> _formatterFactory;
|
||||
};
|
||||
|
@ -27,8 +27,6 @@
|
||||
#include "Poco/NamedEvent_Android.h"
|
||||
#elif defined(POCO_OS_FAMILY_UNIX)
|
||||
#include "Poco/NamedEvent_UNIX.h"
|
||||
#else
|
||||
#include "Poco/NamedEvent_VMS.h"
|
||||
#endif
|
||||
|
||||
|
||||
@ -56,7 +54,7 @@ class Foundation_API NamedEvent: public NamedEventImpl
|
||||
public:
|
||||
NamedEvent(const std::string& name);
|
||||
/// Creates the event.
|
||||
|
||||
|
||||
~NamedEvent();
|
||||
/// Destroys the event.
|
||||
|
||||
|
@ -1,44 +0,0 @@
|
||||
//
|
||||
// NamedEvent_VMS.h
|
||||
//
|
||||
// Library: Foundation
|
||||
// Package: Processes
|
||||
// Module: NamedEvent
|
||||
//
|
||||
// Definition of the NamedEventImpl class for OpenVMS.
|
||||
//
|
||||
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
|
||||
// and Contributors.
|
||||
//
|
||||
// SPDX-License-Identifier: BSL-1.0
|
||||
//
|
||||
|
||||
|
||||
#ifndef Foundation_NamedEvent_VMS_INCLUDED
|
||||
#define Foundation_NamedEvent_VMS_INCLUDED
|
||||
|
||||
|
||||
#include "Poco/Foundation.h"
|
||||
|
||||
|
||||
namespace Poco {
|
||||
|
||||
|
||||
class Foundation_API NamedEventImpl
|
||||
{
|
||||
protected:
|
||||
NamedEventImpl(const std::string& name);
|
||||
~NamedEventImpl();
|
||||
void setImpl();
|
||||
void waitImpl();
|
||||
|
||||
private:
|
||||
std::string _name;
|
||||
unsigned short _mbxChan;
|
||||
};
|
||||
|
||||
|
||||
} // namespace Poco
|
||||
|
||||
|
||||
#endif // Foundation_NamedEvent_VMS_INCLUDED
|
@ -28,8 +28,6 @@
|
||||
#include "Poco/NamedMutex_Android.h"
|
||||
#elif defined(POCO_OS_FAMILY_UNIX)
|
||||
#include "Poco/NamedMutex_UNIX.h"
|
||||
#else
|
||||
#include "Poco/NamedMutex_VMS.h"
|
||||
#endif
|
||||
|
||||
|
||||
@ -56,10 +54,10 @@ class Foundation_API NamedMutex: private NamedMutexImpl
|
||||
{
|
||||
public:
|
||||
typedef Poco::ScopedLock<NamedMutex> ScopedLock;
|
||||
|
||||
|
||||
NamedMutex(const std::string& name);
|
||||
/// creates the Mutex.
|
||||
|
||||
|
||||
~NamedMutex();
|
||||
/// destroys the Mutex.
|
||||
|
||||
@ -75,7 +73,7 @@ public:
|
||||
void unlock();
|
||||
/// Unlocks the mutex so that it can be acquired by
|
||||
/// other threads.
|
||||
|
||||
|
||||
private:
|
||||
NamedMutex();
|
||||
NamedMutex(const NamedMutex&);
|
||||
|
@ -1,48 +0,0 @@
|
||||
//
|
||||
// NamedMutex_VMS.h
|
||||
//
|
||||
// Library: Foundation
|
||||
// Package: Processes
|
||||
// Module: NamedMutex
|
||||
//
|
||||
// Definition of the NamedMutexImpl class for OpenVMS.
|
||||
//
|
||||
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
|
||||
// and Contributors.
|
||||
//
|
||||
// SPDX-License-Identifier: BSL-1.0
|
||||
//
|
||||
|
||||
|
||||
#ifndef Foundation_NamedMutex_VMS_INCLUDED
|
||||
#define Foundation_NamedMutex_VMS_INCLUDED
|
||||
|
||||
|
||||
#include "Poco/Foundation.h"
|
||||
#include <descrip.h>
|
||||
#include <lckdef.h>
|
||||
|
||||
|
||||
namespace Poco {
|
||||
|
||||
|
||||
class Foundation_API NamedMutexImpl
|
||||
{
|
||||
protected:
|
||||
NamedMutexImpl(const std::string& name);
|
||||
~NamedMutexImpl();
|
||||
void lockImpl();
|
||||
bool tryLockImpl();
|
||||
void unlockImpl();
|
||||
|
||||
private:
|
||||
std::string _name;
|
||||
struct dsc$descriptor_s _nameDesc;
|
||||
int _lksb[4];
|
||||
};
|
||||
|
||||
|
||||
} // namespace Poco
|
||||
|
||||
|
||||
#endif // Foundation_NamedMutex_VMS_INCLUDED
|
@ -1,80 +0,0 @@
|
||||
//
|
||||
// OpcomChannel.h
|
||||
//
|
||||
// Library: Foundation
|
||||
// Package: Logging
|
||||
// Module: OpcomChannel
|
||||
//
|
||||
// Definition of the OpcomChannel class specific to OpenVMS.
|
||||
//
|
||||
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
|
||||
// and Contributors.
|
||||
//
|
||||
// SPDX-License-Identifier: BSL-1.0
|
||||
//
|
||||
|
||||
|
||||
#ifndef Foundation_OpcomChannel_INCLUDED
|
||||
#define Foundation_OpcomChannel_INCLUDED
|
||||
|
||||
|
||||
#include "Poco/Foundation.h"
|
||||
#include "Poco/Channel.h"
|
||||
|
||||
|
||||
namespace Poco {
|
||||
|
||||
|
||||
class Foundation_API OpcomChannel: public Channel
|
||||
/// A OpenVMS-only channel that uses the OpenVMS OPCOM service.
|
||||
{
|
||||
public:
|
||||
OpcomChannel();
|
||||
/// Creates an OpcomChannel that uses the OPC$M_NM_CENTRL
|
||||
/// target.
|
||||
|
||||
OpcomChannel(int target);
|
||||
/// Creates an OpcomChannel that uses the given target.
|
||||
/// Specify one of the OPC$M_NM_* values.
|
||||
/// See also setProperty().
|
||||
|
||||
void log(const Message& msg);
|
||||
/// Logs the given message using the OpenVMS OPCOM service.
|
||||
|
||||
void setProperty(const std::string& name, const std::string& value);
|
||||
/// Sets the property with the given name.
|
||||
///
|
||||
/// The only supported property is "target", which must
|
||||
/// be set to one of the following values:
|
||||
///
|
||||
/// * CARDS: Card device operator
|
||||
/// * CENTRL: Central operator
|
||||
/// * SECURITY: Security operator
|
||||
/// * CLUSTER: OpenVMS Cluster operator
|
||||
/// * DEVICE: Device status information
|
||||
/// * DISKS: Disks operator
|
||||
/// * NTWORK: Network operator
|
||||
/// * TAPES: Tapes operator
|
||||
/// * PRINT: Printer operator
|
||||
/// * OPER1 ..
|
||||
/// * OPER12: System-manager-defined operator functions
|
||||
|
||||
std::string getProperty(const std::string& name) const;
|
||||
/// Returns the value of the property with the given name.
|
||||
/// See setProperty() for a description of the supported
|
||||
/// properties.
|
||||
|
||||
static const std::string PROP_TARGET;
|
||||
|
||||
protected:
|
||||
~OpcomChannel();
|
||||
|
||||
private:
|
||||
int _target;
|
||||
};
|
||||
|
||||
|
||||
} // namespace Poco
|
||||
|
||||
|
||||
#endif // Foundation_OpcomChannel_INCLUDED
|
@ -1,43 +0,0 @@
|
||||
//
|
||||
// Path_VMS.h
|
||||
//
|
||||
// Library: Foundation
|
||||
// Package: Filesystem
|
||||
// Module: Path
|
||||
//
|
||||
// Definition of the PathImpl class for OpenVMS.
|
||||
//
|
||||
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
|
||||
// and Contributors.
|
||||
//
|
||||
// SPDX-License-Identifier: BSL-1.0
|
||||
//
|
||||
|
||||
|
||||
#ifndef Foundation_Path_VMS_INCLUDED
|
||||
#define Foundation_Path_VMS_INCLUDED
|
||||
|
||||
|
||||
#include "Poco/Foundation.h"
|
||||
#include <vector>
|
||||
|
||||
|
||||
namespace Poco {
|
||||
|
||||
|
||||
class PathImpl
|
||||
{
|
||||
public:
|
||||
static std::string currentImpl();
|
||||
static std::string homeImpl();
|
||||
static std::string tempImpl();
|
||||
static std::string nullImpl();
|
||||
static std::string expandImpl(const std::string& path);
|
||||
static void listRootsImpl(std::vector<std::string>& roots);
|
||||
};
|
||||
|
||||
|
||||
} // namespace Poco
|
||||
|
||||
|
||||
#endif // Foundation_Path_VMS_INCLUDED
|
@ -1,70 +0,0 @@
|
||||
//
|
||||
// Platform_VMS.h
|
||||
//
|
||||
// Library: Foundation
|
||||
// Package: Core
|
||||
// Module: Platform
|
||||
//
|
||||
// Platform and architecture identification macros
|
||||
// and platform-specific definitions for OpenVMS.
|
||||
//
|
||||
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
|
||||
// and Contributors.
|
||||
//
|
||||
// SPDX-License-Identifier: BSL-1.0
|
||||
//
|
||||
|
||||
|
||||
#ifndef Foundation_Platform_VMS_INCLUDED
|
||||
#define Foundation_Platform_VMS_INCLUDED
|
||||
|
||||
|
||||
// Define the POCO_DESCRIPTOR_STRING and POCO_DESCRIPTOR_LITERAL
|
||||
// macros which we use instead of $DESCRIPTOR and $DESCRIPTOR64.
|
||||
// Our macros work with both 32bit and 64bit pointer sizes.
|
||||
#if __INITIAL_POINTER_SIZE != 64
|
||||
#define POCO_DESCRIPTOR_STRING(name, string) \
|
||||
struct dsc$descriptor_s name = \
|
||||
{ \
|
||||
string.size(), \
|
||||
DSC$K_DTYPE_T, \
|
||||
DSC$K_CLASS_S, \
|
||||
(char*) string.data() \
|
||||
}
|
||||
#define POCO_DESCRIPTOR_LITERAL(name, string) \
|
||||
struct dsc$descriptor_s name = \
|
||||
{ \
|
||||
sizeof(string) - 1, \
|
||||
DSC$K_DTYPE_T, \
|
||||
DSC$K_CLASS_S, \
|
||||
(char*) string \
|
||||
}
|
||||
#else
|
||||
#define POCO_DESCRIPTOR_STRING(name, string) \
|
||||
struct dsc64$descriptor_s name =\
|
||||
{ \
|
||||
1, \
|
||||
DSC64$K_DTYPE_T, \
|
||||
DSC64$K_CLASS_S, \
|
||||
-1, \
|
||||
string.size(), \
|
||||
(char*) string.data() \
|
||||
}
|
||||
#define POCO_DESCRIPTOR_LITERAL(name, string) \
|
||||
struct dsc64$descriptor_s name =\
|
||||
{ \
|
||||
1, \
|
||||
DSC64$K_DTYPE_T, \
|
||||
DSC64$K_CLASS_S, \
|
||||
-1, \
|
||||
sizeof(string) - 1, \
|
||||
(char*) string \
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
// No <sys/select.h> header file
|
||||
#define POCO_NO_SYS_SELECT_H
|
||||
|
||||
|
||||
#endif // Foundation_Platform_VMS_INCLUDED
|
@ -31,8 +31,6 @@
|
||||
#include "Poco/Process_VX.h"
|
||||
#elif defined(POCO_OS_FAMILY_UNIX)
|
||||
#include "Poco/Process_UNIX.h"
|
||||
#else
|
||||
#include "Poco/Process_VMS.h"
|
||||
#endif
|
||||
|
||||
|
||||
@ -54,28 +52,28 @@ public:
|
||||
|
||||
ProcessHandle(const ProcessHandle& handle);
|
||||
/// Creates a ProcessHandle by copying another one.
|
||||
|
||||
|
||||
~ProcessHandle();
|
||||
/// Destroys the ProcessHandle.
|
||||
|
||||
|
||||
ProcessHandle& operator = (const ProcessHandle& handle);
|
||||
/// Assigns another handle.
|
||||
|
||||
|
||||
PID id() const;
|
||||
/// Returns the process ID.
|
||||
|
||||
|
||||
int wait() const;
|
||||
/// Waits for the process to terminate
|
||||
/// and returns the exit code of the process.
|
||||
|
||||
|
||||
protected:
|
||||
ProcessHandle(ProcessHandleImpl* pImpl);
|
||||
|
||||
|
||||
private:
|
||||
ProcessHandle();
|
||||
|
||||
ProcessHandleImpl* _pImpl;
|
||||
|
||||
|
||||
friend class Process;
|
||||
};
|
||||
|
||||
@ -87,14 +85,14 @@ public:
|
||||
typedef PIDImpl PID;
|
||||
typedef ArgsImpl Args;
|
||||
typedef EnvImpl Env;
|
||||
|
||||
|
||||
static PID id();
|
||||
/// Returns the process ID of the current process.
|
||||
|
||||
|
||||
static void times(long& userTime, long& kernelTime);
|
||||
/// Returns the number of seconds spent by the
|
||||
/// current process in user and kernel mode.
|
||||
|
||||
|
||||
static ProcessHandle launch(const std::string& command, const Args& args);
|
||||
/// Creates a new process for the given command and returns
|
||||
/// a ProcessHandle of the new process. The given arguments are
|
||||
@ -174,7 +172,7 @@ public:
|
||||
/// PipeInputStream istr(outPipe);
|
||||
/// ... // read output of ps from istr
|
||||
/// int rc = ph.wait();
|
||||
|
||||
|
||||
static ProcessHandle launch(
|
||||
const std::string& command,
|
||||
const Args& args,
|
||||
@ -212,7 +210,7 @@ public:
|
||||
static int wait(const ProcessHandle& handle);
|
||||
/// Waits for the process specified by handle to terminate
|
||||
/// and returns the exit code of the process.
|
||||
|
||||
|
||||
static bool isRunning(const ProcessHandle& handle);
|
||||
/// check if the process specified by handle is running or not
|
||||
///
|
||||
@ -221,7 +219,7 @@ public:
|
||||
|
||||
static bool isRunning(PID pid);
|
||||
/// Check if the process specified by given pid is running or not.
|
||||
|
||||
|
||||
static void kill(ProcessHandle& handle);
|
||||
/// Kills the process specified by handle.
|
||||
///
|
||||
@ -230,7 +228,7 @@ public:
|
||||
|
||||
static void kill(PID pid);
|
||||
/// Kills the process with the given pid.
|
||||
|
||||
|
||||
static void requestTermination(PID pid);
|
||||
/// Requests termination of the process with the give PID.
|
||||
///
|
||||
@ -253,7 +251,7 @@ inline Process::PID Process::id()
|
||||
return ProcessImpl::idImpl();
|
||||
}
|
||||
|
||||
|
||||
|
||||
inline void Process::times(long& userTime, long& kernelTime)
|
||||
{
|
||||
ProcessImpl::timesImpl(userTime, kernelTime);
|
||||
|
@ -1,77 +0,0 @@
|
||||
//
|
||||
// Process_VMS.h
|
||||
//
|
||||
// Library: Foundation
|
||||
// Package: Processes
|
||||
// Module: Process
|
||||
//
|
||||
// Definition of the ProcessImpl class for OpenVMS.
|
||||
//
|
||||
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
|
||||
// and Contributors.
|
||||
//
|
||||
// SPDX-License-Identifier: BSL-1.0
|
||||
//
|
||||
|
||||
|
||||
#ifndef Foundation_Process_VMS_INCLUDED
|
||||
#define Foundation_Process_VMS_INCLUDED
|
||||
|
||||
|
||||
#include "Poco/Foundation.h"
|
||||
#include "Poco/RefCountedObject.h"
|
||||
#include <vector>
|
||||
#include <map>
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
namespace Poco {
|
||||
|
||||
|
||||
class Pipe;
|
||||
|
||||
|
||||
class ProcessHandleImpl: public RefCountedObject
|
||||
{
|
||||
public:
|
||||
ProcessHandleImpl(pid_t pid);
|
||||
~ProcessHandleImpl();
|
||||
|
||||
pid_t id() const;
|
||||
int wait() const;
|
||||
|
||||
private:
|
||||
pid_t _pid;
|
||||
};
|
||||
|
||||
|
||||
class ProcessImpl
|
||||
{
|
||||
public:
|
||||
typedef pid_t PIDImpl;
|
||||
typedef std::vector<std::string> ArgsImpl;
|
||||
typedef std::map<std::string, std::string> EnvImpl;
|
||||
|
||||
static PIDImpl idImpl();
|
||||
static void timesImpl(long& userTime, long& kernelTime);
|
||||
static ProcessHandleImpl* launchImpl(
|
||||
const std::string& command,
|
||||
const ArgsImpl& args,
|
||||
const std::string& initialDirectory,
|
||||
Pipe* inPipe,
|
||||
Pipe* outPipe,
|
||||
Pipe* errPipe,
|
||||
const EnvImpl& env);
|
||||
static int waitImpl(PIDImpl pid);
|
||||
static void killImpl(ProcessHandleImpl& handle);
|
||||
static void killImpl(PIDImpl pid);
|
||||
static bool isRunningImpl(const ProcessHandleImpl& handle);
|
||||
static bool isRunningImpl(PIDImpl pid);
|
||||
static void requestTerminationImpl(PIDImpl pid);
|
||||
};
|
||||
|
||||
|
||||
} // namespace Poco
|
||||
|
||||
|
||||
#endif // Foundation_Process_VMS_INCLUDED
|
@ -29,8 +29,6 @@
|
||||
#include "Poco/SharedLibrary_UNIX.h"
|
||||
#elif defined(POCO_OS_FAMILY_WINDOWS)
|
||||
#include "Poco/SharedLibrary_WIN32.h"
|
||||
#elif defined(POCO_OS_FAMILY_VMS)
|
||||
#include "Poco/SharedLibrary_VMS.h"
|
||||
#endif
|
||||
|
||||
|
||||
@ -59,10 +57,10 @@ public:
|
||||
///
|
||||
/// This flag is ignored on platforms that do not use dlopen().
|
||||
};
|
||||
|
||||
|
||||
SharedLibrary();
|
||||
/// Creates a SharedLibrary object.
|
||||
|
||||
|
||||
SharedLibrary(const std::string& path);
|
||||
/// Creates a SharedLibrary object and loads a library
|
||||
/// from the given path.
|
||||
@ -108,24 +106,24 @@ public:
|
||||
/// is the entry point of the function.
|
||||
/// Throws a NotFoundException if the symbol
|
||||
/// does not exist.
|
||||
|
||||
|
||||
const std::string& getPath() const;
|
||||
/// Returns the path of the library, as
|
||||
/// specified in a call to load() or the
|
||||
/// constructor.
|
||||
|
||||
|
||||
static std::string prefix();
|
||||
/// Returns the platform-specific filename prefix
|
||||
/// for shared libraries.
|
||||
/// Most platforms would return "lib" as prefix, while
|
||||
/// on Cygwin, the "cyg" prefix will be returned.
|
||||
|
||||
|
||||
static std::string suffix();
|
||||
/// Returns the platform-specific filename suffix
|
||||
/// for shared libraries (including the period).
|
||||
/// In debug mode, the suffix also includes a
|
||||
/// "d" to specify the debug version of a library.
|
||||
|
||||
|
||||
static std::string getOSName(const std::string& name);
|
||||
/// Returns the platform-specific filename
|
||||
/// for shared libraries by prefixing and suffixing name
|
||||
|
@ -1,50 +0,0 @@
|
||||
//
|
||||
// SharedLibrary_VMS.h
|
||||
//
|
||||
// Library: Foundation
|
||||
// Package: SharedLibrary
|
||||
// Module: SharedLibrary
|
||||
//
|
||||
// Definition of the SharedLibraryImpl class for VMS (dlopen).
|
||||
//
|
||||
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
|
||||
// and Contributors.
|
||||
//
|
||||
// SPDX-License-Identifier: BSL-1.0
|
||||
//
|
||||
|
||||
|
||||
#ifndef Foundation_SharedLibrary_VMS_INCLUDED
|
||||
#define Foundation_SharedLibrary_VMS_INCLUDED
|
||||
|
||||
|
||||
#include "Poco/Foundation.h"
|
||||
#include "Poco/Mutex.h"
|
||||
|
||||
|
||||
namespace Poco {
|
||||
|
||||
|
||||
class Foundation_API SharedLibraryImpl
|
||||
{
|
||||
protected:
|
||||
SharedLibraryImpl();
|
||||
~SharedLibraryImpl();
|
||||
void loadImpl(const std::string& path, int flags);
|
||||
void unloadImpl();
|
||||
bool isLoadedImpl() const;
|
||||
void* findSymbolImpl(const std::string& name);
|
||||
const std::string& getPathImpl() const;
|
||||
static std::string prefixImpl();
|
||||
static std::string suffixImpl();
|
||||
|
||||
private:
|
||||
std::string _path;
|
||||
static FastMutex _mutex;
|
||||
};
|
||||
|
||||
|
||||
} // namespace Poco
|
||||
|
||||
|
||||
#endif // Foundation_SharedLibrary_VMS_INCLUDED
|
@ -78,21 +78,10 @@ typedef std::uint64_t UInt64;
|
||||
// Compaq C++
|
||||
//
|
||||
|
||||
#if defined(__VMS)
|
||||
#if defined(__32BITS)
|
||||
typedef std::int32_t IntPtr;
|
||||
typedef std::uint32_t UIntPtr;
|
||||
#else
|
||||
typedef Int64 IntPtr;
|
||||
typedef UInt64 UIntPtr;
|
||||
#define POCO_PTR_IS_64_BIT 1
|
||||
#endif
|
||||
#else
|
||||
typedef Int64 IntPtr;
|
||||
typedef UInt64 UIntPtr;
|
||||
#define POCO_PTR_IS_64_BIT 1
|
||||
#define POCO_LONG_IS_64_BIT 1
|
||||
#endif
|
||||
typedef Int64 IntPtr;
|
||||
typedef UInt64 UIntPtr;
|
||||
#define POCO_PTR_IS_64_BIT 1
|
||||
#define POCO_LONG_IS_64_BIT 1
|
||||
|
||||
#elif defined(__HP_aCC)
|
||||
//
|
||||
|
@ -21,9 +21,6 @@
|
||||
#elif defined(POCO_OS_FAMILY_UNIX) && !defined(POCO_VXWORKS)
|
||||
#include <unistd.h>
|
||||
#include <signal.h>
|
||||
#elif defined(POCO_OS_FAMILY_VMS)
|
||||
#include <lib$routines.h>
|
||||
#include <ssdef.h>
|
||||
#endif
|
||||
#if !defined(POCO_NO_WSTRING)
|
||||
#include "Poco/UnicodeConverter.h"
|
||||
@ -60,8 +57,6 @@ bool Debugger::isAvailable()
|
||||
return false;
|
||||
#elif defined(POCO_OS_FAMILY_UNIX)
|
||||
return std::getenv("POCO_ENABLE_DEBUGGER") ? true : false;
|
||||
#elif defined(POCO_OS_FAMILY_VMS)
|
||||
return true;
|
||||
#endif
|
||||
#else
|
||||
return false;
|
||||
@ -78,15 +73,13 @@ void Debugger::message(const std::string& msg)
|
||||
#if defined(POCO_OS_FAMILY_WINDOWS)
|
||||
if (isAvailable())
|
||||
{
|
||||
#if !defined(POCO_NO_WSTRING)
|
||||
#if !defined(POCO_NO_WSTRING)
|
||||
std::wstring umsg;
|
||||
UnicodeConverter::toUTF16(msg, umsg);
|
||||
umsg += '\n';
|
||||
OutputDebugStringW(umsg.c_str());
|
||||
#endif // POCO_NO_WSTRING
|
||||
#endif // POCO_NO_WSTRING
|
||||
}
|
||||
#elif defined(POCO_OS_FAMILY_UNIX)
|
||||
#elif defined(POCO_OS_FAMILY_VMS)
|
||||
#endif // POCO_OS_FAMILY_*
|
||||
#endif // _DEBUG
|
||||
}
|
||||
@ -119,11 +112,6 @@ void Debugger::enter()
|
||||
{
|
||||
kill(getpid(), SIGINT);
|
||||
}
|
||||
#elif defined(POCO_OS_FAMILY_VMS)
|
||||
{
|
||||
const char* cmd = "\012SHOW CALLS";
|
||||
lib$signal(SS$_DEBUG, 1, cmd);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
@ -196,7 +196,9 @@ int DeflatingStreamBuf::sync()
|
||||
_zstr.next_out = (unsigned char*) _buffer;
|
||||
_zstr.avail_out = DEFLATE_BUFFER_SIZE;
|
||||
}
|
||||
_pOstr->flush();
|
||||
// NOTE: This breaks the Zip library and causes corruption in some files.
|
||||
// See GH #1828
|
||||
// _pOstr->flush();
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
@ -19,8 +19,6 @@
|
||||
#include "DirectoryIterator_WIN32.cpp"
|
||||
#elif defined(POCO_OS_FAMILY_UNIX)
|
||||
#include "DirectoryIterator_UNIX.cpp"
|
||||
#else
|
||||
#include "DirectoryIterator_VMS.cpp"
|
||||
#endif
|
||||
|
||||
|
||||
@ -31,7 +29,7 @@ DirectoryIterator::DirectoryIterator(): _pImpl(0)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
|
||||
DirectoryIterator::DirectoryIterator(const std::string& pathString): _path(pathString), _pImpl(new DirectoryIteratorImpl(pathString))
|
||||
{
|
||||
_path.makeDirectory();
|
||||
@ -49,7 +47,7 @@ DirectoryIterator::DirectoryIterator(const DirectoryIterator& iterator): _path(i
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
DirectoryIterator::DirectoryIterator(const File& file): _path(file.path()), _pImpl(new DirectoryIteratorImpl(file.path()))
|
||||
{
|
||||
_path.makeDirectory();
|
||||
|
@ -1,65 +0,0 @@
|
||||
//
|
||||
// DirectoryIterator_VMS.cpp
|
||||
//
|
||||
// Library: Foundation
|
||||
// Package: Filesystem
|
||||
// Module: DirectoryIterator
|
||||
//
|
||||
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
|
||||
// and Contributors.
|
||||
//
|
||||
// SPDX-License-Identifier: BSL-1.0
|
||||
//
|
||||
|
||||
|
||||
#include "Poco/DirectoryIterator_VMS.h"
|
||||
#include "Poco/Path.h"
|
||||
#include "Poco/Exception.h"
|
||||
#include <iodef.h>
|
||||
#include <atrdef.h>
|
||||
#include <fibdef.h>
|
||||
#include <starlet.h>
|
||||
|
||||
|
||||
namespace Poco {
|
||||
|
||||
|
||||
DirectoryIteratorImpl::DirectoryIteratorImpl(const std::string& path): _rc(1)
|
||||
{
|
||||
Path p(path);
|
||||
p.makeDirectory();
|
||||
_search = p.toString();
|
||||
_search.append("*.*;*");
|
||||
|
||||
_fab = cc$rms_fab;
|
||||
_fab.fab$l_fna = (char*) _search.c_str();
|
||||
_fab.fab$b_fns = _search.size();
|
||||
_fab.fab$l_nam = &_nam;
|
||||
|
||||
_nam = cc$rms_nam;
|
||||
_nam.nam$l_esa = _spec;
|
||||
_nam.nam$b_ess = sizeof(_spec);
|
||||
|
||||
if (sys$parse(&_fab) & 1)
|
||||
throw OpenFileException(path);
|
||||
|
||||
next();
|
||||
}
|
||||
|
||||
|
||||
DirectoryIteratorImpl::~DirectoryIteratorImpl()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
const std::string& DirectoryIteratorImpl::next()
|
||||
{
|
||||
if (sys$search(&_fab) & 1)
|
||||
_current.clear();
|
||||
else
|
||||
_current.assign(_fab.fab$l_nam->nam$l_name, _fab.fab$l_nam->nam$b_name + _fab.fab$l_nam->nam$b_type);
|
||||
return _current;
|
||||
}
|
||||
|
||||
|
||||
} // namespace Poco
|
@ -18,9 +18,7 @@
|
||||
#include <cstdio> // sprintf()
|
||||
|
||||
|
||||
#if defined(POCO_OS_FAMILY_VMS)
|
||||
#include "Environment_VMS.cpp"
|
||||
#elif defined(POCO_VXWORKS)
|
||||
#if defined(POCO_VXWORKS)
|
||||
#include "Environment_VX.cpp"
|
||||
#elif defined(POCO_OS_FAMILY_UNIX)
|
||||
#include "Environment_UNIX.cpp"
|
||||
@ -50,13 +48,13 @@ std::string Environment::get(const std::string& name, const std::string& default
|
||||
return defaultValue;
|
||||
}
|
||||
|
||||
|
||||
|
||||
bool Environment::has(const std::string& name)
|
||||
{
|
||||
return EnvironmentImpl::hasImpl(name);
|
||||
}
|
||||
|
||||
|
||||
|
||||
void Environment::set(const std::string& name, const std::string& value)
|
||||
{
|
||||
EnvironmentImpl::setImpl(name, value);
|
||||
@ -74,18 +72,18 @@ std::string Environment::osDisplayName()
|
||||
return EnvironmentImpl::osDisplayNameImpl();
|
||||
}
|
||||
|
||||
|
||||
|
||||
std::string Environment::osVersion()
|
||||
{
|
||||
return EnvironmentImpl::osVersionImpl();
|
||||
}
|
||||
|
||||
|
||||
|
||||
std::string Environment::osArchitecture()
|
||||
{
|
||||
return EnvironmentImpl::osArchitectureImpl();
|
||||
}
|
||||
|
||||
|
||||
|
||||
std::string Environment::nodeName()
|
||||
{
|
||||
@ -126,17 +124,20 @@ Poco::UInt32 Environment::libraryVersion()
|
||||
return POCO_VERSION;
|
||||
}
|
||||
|
||||
|
||||
Poco::Int32 Environment::os()
|
||||
{
|
||||
return POCO_OS;
|
||||
}
|
||||
|
||||
Poco::Int32 Environment::cpu()
|
||||
|
||||
Poco::Int32 Environment::arch()
|
||||
{
|
||||
return POCO_ARCH;
|
||||
}
|
||||
|
||||
bool Environment::osFamilyUnix()
|
||||
|
||||
bool Environment::isUnix()
|
||||
{
|
||||
#if defined(POCO_OS_FAMILY_UNIX)
|
||||
return true;
|
||||
@ -145,7 +146,8 @@ bool Environment::osFamilyUnix()
|
||||
#endif
|
||||
}
|
||||
|
||||
bool Environment::osFamilyWindows()
|
||||
|
||||
bool Environment::isWindows()
|
||||
{
|
||||
#if defined(POCO_OS_FAMILY_WINDOWS)
|
||||
return true;
|
||||
@ -154,13 +156,5 @@ bool Environment::osFamilyWindows()
|
||||
#endif
|
||||
}
|
||||
|
||||
bool Environment::osFamilyVms()
|
||||
{
|
||||
#if defined(POCO_OS_FAMILY_VMS)
|
||||
return true;
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
} // namespace Poco
|
||||
|
@ -1,218 +0,0 @@
|
||||
//
|
||||
// Environment_VMS.cpp
|
||||
//
|
||||
// Library: Foundation
|
||||
// Package: Core
|
||||
// Module: Environment
|
||||
//
|
||||
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
|
||||
// and Contributors.
|
||||
//
|
||||
// SPDX-License-Identifier: BSL-1.0
|
||||
//
|
||||
|
||||
|
||||
#include "Poco/Environment_VMS.h"
|
||||
#include "Poco/Exception.h"
|
||||
#include <stdlib.h>
|
||||
#include <starlet.h>
|
||||
#include <descrip.h>
|
||||
#include <ssdef.h>
|
||||
#include <syidef.h>
|
||||
#include <iledef.h>
|
||||
#include <lnmdef.h>
|
||||
#include <ioctl.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/types.h>
|
||||
#include <netinet/in.h>
|
||||
#include <net/if.h>
|
||||
#include <inet.h>
|
||||
#include <netdb.h>
|
||||
#include <net/if.h>
|
||||
#include <net/if_arp.h>
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
#define MAXHOSTNAMELEN 64
|
||||
|
||||
|
||||
namespace Poco {
|
||||
|
||||
|
||||
FastMutex EnvironmentImpl::_mutex;
|
||||
|
||||
|
||||
std::string EnvironmentImpl::getImpl(const std::string& name)
|
||||
{
|
||||
FastMutex::ScopedLock lock(_mutex);
|
||||
|
||||
const char* val = getenv(name.c_str());
|
||||
if (val)
|
||||
return std::string(val);
|
||||
else
|
||||
throw NotFoundException(name);
|
||||
}
|
||||
|
||||
|
||||
bool EnvironmentImpl::hasImpl(const std::string& name)
|
||||
{
|
||||
FastMutex::ScopedLock lock(_mutex);
|
||||
|
||||
return getenv(name.c_str()) != 0;
|
||||
}
|
||||
|
||||
|
||||
void EnvironmentImpl::setImpl(const std::string& name, const std::string& value)
|
||||
{
|
||||
FastMutex::ScopedLock lock(_mutex);
|
||||
|
||||
if (setenv(name.c_str(), value.c_str(), 1))
|
||||
{
|
||||
std::string msg = "cannot set environment variable: ";
|
||||
msg.append(name);
|
||||
throw SystemException(msg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
std::string EnvironmentImpl::osNameImpl()
|
||||
{
|
||||
return getsyi(SYI$_NODE_SWTYPE);
|
||||
}
|
||||
|
||||
|
||||
std::string EnvironmentImpl::osDisplayNameImpl()
|
||||
{
|
||||
return osNameImpl();
|
||||
}
|
||||
|
||||
|
||||
std::string EnvironmentImpl::osVersionImpl()
|
||||
{
|
||||
return getsyi(SYI$_VERSION);
|
||||
}
|
||||
|
||||
|
||||
std::string EnvironmentImpl::osArchitectureImpl()
|
||||
{
|
||||
return getsyi(SYI$_ARCH_NAME);
|
||||
}
|
||||
|
||||
|
||||
std::string EnvironmentImpl::nodeNameImpl()
|
||||
{
|
||||
return getsyi(SYI$_NODENAME);
|
||||
}
|
||||
|
||||
|
||||
void EnvironmentImpl::nodeIdImpl(NodeId& id)
|
||||
{
|
||||
std::memset(&id, 0, sizeof(id));
|
||||
char name[MAXHOSTNAMELEN];
|
||||
if (gethostname(name, sizeof(name)))
|
||||
return;
|
||||
|
||||
struct hostent* pHost = gethostbyname(name);
|
||||
if (!pHost) return;
|
||||
|
||||
int s = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP);
|
||||
if (s == -1) return;
|
||||
|
||||
struct arpreq ar;
|
||||
std::memset(&ar, 0, sizeof(ar));
|
||||
struct sockaddr_in* pAddr = reinterpret_cast<struct sockaddr_in*>(&ar.arp_pa);
|
||||
pAddr->sin_family = AF_INET;
|
||||
std::memcpy(&pAddr->sin_addr, *pHost->h_addr_list, sizeof(struct in_addr));
|
||||
int rc = ioctl(s, SIOCGARP, &ar);
|
||||
close(s);
|
||||
if (rc < 0) return;
|
||||
std::memcpy(&id, ar.arp_ha.sa_data, sizeof(id));
|
||||
}
|
||||
|
||||
|
||||
unsigned EnvironmentImpl::processorCountImpl()
|
||||
{
|
||||
#pragma pointer_size save
|
||||
#pragma pointer_size 32
|
||||
|
||||
Poco::UInt32 count;
|
||||
unsigned short length;
|
||||
|
||||
ILE3 items[2];
|
||||
items[0].ile3$w_code = SYI$_ACTIVECPU_CNT;
|
||||
items[0].ile3$w_length = sizeof(count);
|
||||
items[0].ile3$ps_bufaddr = &count;
|
||||
items[0].ile3$ps_retlen_addr = &length;
|
||||
items[1].ile3$w_code = 0;
|
||||
items[1].ile3$w_length = 0;
|
||||
|
||||
if (sys$getsyiw(0, 0, 0, items, 0, 0, 0) == 1)
|
||||
return count;
|
||||
else
|
||||
throw SystemException("$GETSYI failed");
|
||||
|
||||
#pragma pointer_size restore
|
||||
}
|
||||
|
||||
|
||||
std::string EnvironmentImpl::getsyi(unsigned short code)
|
||||
{
|
||||
#pragma pointer_size save
|
||||
#pragma pointer_size 32
|
||||
|
||||
unsigned char result[16];
|
||||
unsigned short length;
|
||||
|
||||
ILE3 items[2];
|
||||
items[0].ile3$w_code = code;
|
||||
items[0].ile3$w_length = sizeof(result);
|
||||
items[0].ile3$ps_bufaddr = result;
|
||||
items[0].ile3$ps_retlen_addr = &length;
|
||||
items[1].ile3$w_code = 0;
|
||||
items[1].ile3$w_length = 0;
|
||||
|
||||
if (sys$getsyiw(0, 0, 0, items, 0, 0, 0) == 1)
|
||||
return std::string((char*) result, length);
|
||||
else
|
||||
throw SystemException("$GETSYI failed");
|
||||
|
||||
#pragma pointer_size restore
|
||||
}
|
||||
|
||||
|
||||
std::string EnvironmentImpl::trnlnm(const std::string& name)
|
||||
{
|
||||
#pragma pointer_size save
|
||||
#pragma pointer_size 32
|
||||
|
||||
unsigned char result[LNM$C_NAMLENGTH];
|
||||
unsigned short length;
|
||||
|
||||
ILE3 items[2];
|
||||
items[0].ile3$w_code = LNM$_STRING;
|
||||
items[0].ile3$w_length = sizeof(result);
|
||||
items[0].ile3$ps_bufaddr = result;
|
||||
items[0].ile3$ps_retlen_addr = &length;
|
||||
items[1].ile3$w_code = 0;
|
||||
items[1].ile3$w_length = 0;
|
||||
|
||||
#pragma pointer_size restore
|
||||
|
||||
unsigned int trnAttr = LNM$M_CASE_BLIND;
|
||||
POCO_DESCRIPTOR_LITERAL(tableDsc, "LNM$FILE_DEV");
|
||||
POCO_DESCRIPTOR_STRING(nameDsc, name);
|
||||
if (sys$trnlnm(&trnAttr, &tableDsc, &nameDsc, 0, &items) == 1)
|
||||
{
|
||||
if (result[0] == 0x1B)
|
||||
return std::string((char*) result + 4, length - 4);
|
||||
else
|
||||
return std::string((char*) result, length);
|
||||
}
|
||||
else
|
||||
{
|
||||
return std::string();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
} // namespace Poco
|
@ -19,7 +19,7 @@
|
||||
|
||||
#if defined(POCO_NO_FPENVIRONMENT)
|
||||
#include "FPEnvironment_DUMMY.cpp"
|
||||
#elif defined(__osf__) || defined(__VMS)
|
||||
#elif defined(__osf__)
|
||||
#include "FPEnvironment_DEC.cpp"
|
||||
#elif defined(sun) || defined(__sun)
|
||||
#include "FPEnvironment_SUN.cpp"
|
||||
@ -47,17 +47,17 @@ FPEnvironment::FPEnvironment(RoundingMode rm)
|
||||
setRoundingMode(rm);
|
||||
}
|
||||
|
||||
|
||||
|
||||
FPEnvironment::FPEnvironment(const FPEnvironment& env): FPEnvironmentImpl(env)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
|
||||
FPEnvironment::~FPEnvironment()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
|
||||
FPEnvironment& FPEnvironment::operator = (const FPEnvironment& env)
|
||||
{
|
||||
if (&env != this)
|
||||
|
@ -27,8 +27,6 @@
|
||||
#include "File_VX.cpp"
|
||||
#elif defined(POCO_OS_FAMILY_UNIX)
|
||||
#include "File_UNIX.cpp"
|
||||
#else
|
||||
#include "File_VMS.cpp"
|
||||
#endif
|
||||
#include "Poco/Thread.h"
|
||||
|
||||
@ -108,13 +106,13 @@ bool File::exists() const
|
||||
return existsImpl();
|
||||
}
|
||||
|
||||
|
||||
|
||||
bool File::canRead() const
|
||||
{
|
||||
return canReadImpl();
|
||||
}
|
||||
|
||||
|
||||
|
||||
bool File::canWrite() const
|
||||
{
|
||||
return canWriteImpl();
|
||||
@ -132,7 +130,7 @@ bool File::isFile() const
|
||||
return isFileImpl();
|
||||
}
|
||||
|
||||
|
||||
|
||||
bool File::isDirectory() const
|
||||
{
|
||||
return isDirectoryImpl();
|
||||
@ -162,33 +160,33 @@ Timestamp File::created() const
|
||||
return createdImpl();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Timestamp File::getLastModified() const
|
||||
{
|
||||
return getLastModifiedImpl();
|
||||
}
|
||||
|
||||
|
||||
|
||||
File& File::setLastModified(const Timestamp& ts)
|
||||
{
|
||||
setLastModifiedImpl(ts);
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
|
||||
File::FileSize File::getSize() const
|
||||
{
|
||||
return getSizeImpl();
|
||||
}
|
||||
|
||||
|
||||
|
||||
File& File::setSize(FileSizeImpl size)
|
||||
{
|
||||
setSizeImpl(size);
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
|
||||
File& File::setWriteable(bool flag)
|
||||
{
|
||||
setWriteableImpl(flag);
|
||||
@ -209,7 +207,7 @@ File& File::setExecutable(bool flag)
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
|
||||
void File::copyTo(const std::string& rPath) const
|
||||
{
|
||||
poco_assert(std::char_traits<char>::length(rPath.data()) == rPath.size());
|
||||
@ -253,7 +251,7 @@ void File::moveTo(const std::string& rPath)
|
||||
setPathImpl(rPath);
|
||||
}
|
||||
|
||||
|
||||
|
||||
void File::renameTo(const std::string& rPath)
|
||||
{
|
||||
poco_assert(std::char_traits<char>::length(rPath.data()) == rPath.size());
|
||||
@ -261,7 +259,7 @@ void File::renameTo(const std::string& rPath)
|
||||
setPathImpl(rPath);
|
||||
}
|
||||
|
||||
|
||||
|
||||
void File::remove(bool recursive)
|
||||
{
|
||||
if (recursive && !isLink() && isDirectory())
|
||||
|
@ -15,6 +15,7 @@
|
||||
#include "Poco/File_UNIX.h"
|
||||
#include "Poco/Buffer.h"
|
||||
#include "Poco/Exception.h"
|
||||
#include "Poco/Error.h"
|
||||
#include <algorithm>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
@ -526,7 +527,7 @@ void FileImpl::handleLastErrorImpl(const std::string& path)
|
||||
case EMFILE:
|
||||
throw FileException("too many open files", path, errno);
|
||||
default:
|
||||
throw FileException(std::strerror(errno), path, errno);
|
||||
throw FileException(Error::getMessage(errno), path, errno);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,415 +0,0 @@
|
||||
//
|
||||
// File_VMS.cpp
|
||||
//
|
||||
// Library: Foundation
|
||||
// Package: Filesystem
|
||||
// Module: File
|
||||
//
|
||||
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
|
||||
// and Contributors.
|
||||
//
|
||||
// SPDX-License-Identifier: BSL-1.0
|
||||
//
|
||||
|
||||
|
||||
#include "Poco/File_VMS.h"
|
||||
#include "Poco/Exception.h"
|
||||
#include "Poco/Path.h"
|
||||
#include "Poco/String.h"
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
#include <unixio.h>
|
||||
#include <file.h>
|
||||
#include <stat.h>
|
||||
#include <errno.h>
|
||||
#include <utime.h>
|
||||
#include <lib$routines.h>
|
||||
#include <rmsdef.h>
|
||||
#include <starlet.h>
|
||||
#include <lnmdef.h>
|
||||
#include <ssdef.h>
|
||||
#include <descrip.h>
|
||||
|
||||
|
||||
namespace Poco {
|
||||
|
||||
|
||||
FileImpl::FileImpl()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
FileImpl::FileImpl(const std::string& path): _path(path)
|
||||
{
|
||||
if (!_path.empty())
|
||||
{
|
||||
Path p(_path);
|
||||
p.makeFile();
|
||||
_path = p.toString();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
FileImpl::~FileImpl()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
void FileImpl::swapImpl(FileImpl& file)
|
||||
{
|
||||
std::swap(_path, file._path);
|
||||
}
|
||||
|
||||
|
||||
void FileImpl::setPathImpl(const std::string& path)
|
||||
{
|
||||
_path = path;
|
||||
}
|
||||
|
||||
|
||||
bool FileImpl::existsImpl() const
|
||||
{
|
||||
poco_assert (!_path.empty());
|
||||
|
||||
return access(_path.c_str(), F_OK) == 0;
|
||||
}
|
||||
|
||||
|
||||
bool FileImpl::canReadImpl() const
|
||||
{
|
||||
poco_assert (!_path.empty());
|
||||
|
||||
struct stat st;
|
||||
if (stat(_path.c_str(), &st) == 0)
|
||||
{
|
||||
if (st.st_uid == geteuid())
|
||||
return (st.st_mode & S_IRUSR) != 0;
|
||||
else if (st.st_gid == getegid())
|
||||
return (st.st_mode & S_IRGRP) != 0;
|
||||
else
|
||||
return (st.st_mode & S_IROTH) != 0;
|
||||
}
|
||||
else handleLastErrorImpl(_path);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
bool FileImpl::canWriteImpl() const
|
||||
{
|
||||
poco_assert (!_path.empty());
|
||||
|
||||
struct stat st;
|
||||
if (stat(_path.c_str(), &st) == 0)
|
||||
{
|
||||
if (st.st_uid == geteuid())
|
||||
return (st.st_mode & S_IWUSR) != 0;
|
||||
else if (st.st_gid == getegid())
|
||||
return (st.st_mode & S_IWGRP) != 0;
|
||||
else
|
||||
return (st.st_mode & S_IWOTH) != 0;
|
||||
}
|
||||
else handleLastErrorImpl(_path);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
bool FileImpl::canExecuteImpl() const
|
||||
{
|
||||
Path p(_path);
|
||||
return icompare(p.getExtension(), "exe") == 0;
|
||||
}
|
||||
|
||||
|
||||
bool FileImpl::isFileImpl() const
|
||||
{
|
||||
poco_assert (!_path.empty());
|
||||
|
||||
struct stat st;
|
||||
if (stat(_path.c_str(), &st) == 0)
|
||||
return S_ISREG(st.st_mode);
|
||||
else
|
||||
handleLastErrorImpl(_path);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
bool FileImpl::isDirectoryImpl() const
|
||||
{
|
||||
poco_assert (!_path.empty());
|
||||
|
||||
struct stat st;
|
||||
if (stat(_path.c_str(), &st) == 0)
|
||||
return S_ISDIR(st.st_mode);
|
||||
else
|
||||
handleLastErrorImpl(_path);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
bool FileImpl::isLinkImpl() const
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
bool FileImpl::isLinkImpl() const
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
bool FileImpl::isHiddenImpl() const
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Timestamp FileImpl::createdImpl() const
|
||||
{
|
||||
poco_assert (!_path.empty());
|
||||
|
||||
struct stat st;
|
||||
if (stat(_path.c_str(), &st) == 0)
|
||||
return Timestamp(st.st_ctime);
|
||||
else
|
||||
handleLastErrorImpl(_path);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Timestamp FileImpl::getLastModifiedImpl() const
|
||||
{
|
||||
poco_assert (!_path.empty());
|
||||
|
||||
struct stat st;
|
||||
if (stat(_path.c_str(), &st) == 0)
|
||||
return Timestamp(st.st_mtime);
|
||||
else
|
||||
handleLastErrorImpl(_path);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
void FileImpl::setLastModifiedImpl(const Timestamp& ts)
|
||||
{
|
||||
poco_assert (!_path.empty());
|
||||
|
||||
struct utimbuf tb;
|
||||
tb.actime = ts.epochTime();
|
||||
tb.modtime = ts.epochTime();
|
||||
if (utime(_path.c_str(), &tb) != 0)
|
||||
handleLastErrorImpl(_path);
|
||||
}
|
||||
|
||||
|
||||
FileImpl::FileSizeImpl FileImpl::getSizeImpl() const
|
||||
{
|
||||
poco_assert (!_path.empty());
|
||||
|
||||
struct stat st;
|
||||
if (stat(_path.c_str(), &st) == 0)
|
||||
return st.st_size;
|
||||
else
|
||||
handleLastErrorImpl(_path);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
void FileImpl::setSizeImpl(FileSizeImpl size)
|
||||
{
|
||||
poco_assert (!_path.empty());
|
||||
|
||||
if (truncate(_path.c_str(), size) != 0)
|
||||
handleLastErrorImpl(_path);
|
||||
}
|
||||
|
||||
|
||||
void FileImpl::setWriteableImpl(bool flag)
|
||||
{
|
||||
poco_assert (!_path.empty());
|
||||
|
||||
struct stat st;
|
||||
if (stat(_path.c_str(), &st) != 0)
|
||||
handleLastErrorImpl(_path);
|
||||
mode_t mode;
|
||||
if (flag)
|
||||
{
|
||||
mode = st.st_mode | S_IWUSR;
|
||||
}
|
||||
else
|
||||
{
|
||||
mode_t wmask = S_IWUSR | S_IWGRP | S_IWOTH;
|
||||
mode = st.st_mode & ~wmask;
|
||||
}
|
||||
if (chmod(_path.c_str(), mode) != 0)
|
||||
handleLastErrorImpl(_path);
|
||||
}
|
||||
|
||||
|
||||
void FileImpl::setExecutableImpl(bool flag)
|
||||
{
|
||||
// not supported
|
||||
}
|
||||
|
||||
|
||||
void FileImpl::copyToImpl(const std::string& path) const
|
||||
{
|
||||
poco_assert (!_path.empty());
|
||||
|
||||
// copying a file correctly under OpenVMS is non-trivial,
|
||||
// so we just invoke the COPY program.
|
||||
std::string cmd = "COPY ";
|
||||
cmd.append(_path);
|
||||
cmd.append(" ");
|
||||
cmd.append(path);
|
||||
if (system(cmd.c_str()) != 0)
|
||||
throw FileException("COPY command failed", _path);
|
||||
}
|
||||
|
||||
|
||||
void FileImpl::renameToImpl(const std::string& path)
|
||||
{
|
||||
poco_assert (!_path.empty());
|
||||
|
||||
POCO_DESCRIPTOR_STRING(oldNameDsc, _path);
|
||||
POCO_DESCRIPTOR_STRING(newNameDsc, path);
|
||||
|
||||
int res;
|
||||
if ((res = lib$rename_file(&oldNameDsc, &newNameDsc, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)) != 1)
|
||||
{
|
||||
switch (res & 0x0FFFFFFF)
|
||||
{
|
||||
case RMS$_FNF:
|
||||
throw FileNotFoundException(_path);
|
||||
case RMS$_DEV:
|
||||
case RMS$_DNF:
|
||||
throw PathNotFoundException(_path);
|
||||
case RMS$_SYN:
|
||||
throw PathSyntaxException(path);
|
||||
case RMS$_RMV:
|
||||
throw FileAccessDeniedException(_path);
|
||||
case RMS$_PRV:
|
||||
throw FileAccessDeniedException("insufficient privileges", _path);
|
||||
default:
|
||||
throw FileException(path);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void FileImpl::removeImpl()
|
||||
{
|
||||
poco_assert (!_path.empty());
|
||||
|
||||
int rc;
|
||||
if (isDirectoryImpl())
|
||||
{
|
||||
setWriteableImpl(true);
|
||||
rc = rmdir(_path.c_str());
|
||||
}
|
||||
else
|
||||
{
|
||||
rc = unlink(_path.c_str());
|
||||
}
|
||||
if (rc) handleLastErrorImpl(_path);
|
||||
}
|
||||
|
||||
|
||||
|
||||
bool FileImpl::createFileImpl()
|
||||
{
|
||||
poco_assert (!_path.empty());
|
||||
|
||||
int n = open(_path.c_str(), O_WRONLY | O_CREAT | O_EXCL);
|
||||
if (n != -1)
|
||||
{
|
||||
close(n);
|
||||
return true;
|
||||
}
|
||||
if (n == -1 && errno == EEXIST)
|
||||
return false;
|
||||
else
|
||||
handleLastErrorImpl(_path);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
bool FileImpl::createDirectoryImpl()
|
||||
{
|
||||
poco_assert (!_path.empty());
|
||||
|
||||
if (existsImpl() && isDirectoryImpl())
|
||||
return false;
|
||||
Path p(_path);
|
||||
p.makeDirectory();
|
||||
if (mkdir(p.toString().c_str(), S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH) != 0)
|
||||
handleLastErrorImpl(_path);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
FileImpl::FileSizeImpl FileImpl::totalSpaceImpl() const
|
||||
{
|
||||
poco_assert(!_path.empty());
|
||||
|
||||
// TODO: implement
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
FileImpl::FileSizeImpl FileImpl::usableSpaceImpl() const
|
||||
{
|
||||
poco_assert(!_path.empty());
|
||||
|
||||
// TODO: implement
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
FileImpl::FileSizeImpl FileImpl::freeSpaceImpl() const
|
||||
{
|
||||
poco_assert(!_path.empty());
|
||||
|
||||
// TODO: implement
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
void FileImpl::handleLastErrorImpl(const std::string& path)
|
||||
{
|
||||
switch (errno)
|
||||
{
|
||||
case EIO:
|
||||
throw IOException(path);
|
||||
case EPERM:
|
||||
throw FileAccessDeniedException("insufficient permissions", path);
|
||||
case EACCES:
|
||||
throw FileAccessDeniedException(path);
|
||||
case ENOENT:
|
||||
throw FileNotFoundException(path);
|
||||
case ENOTDIR:
|
||||
throw OpenFileException("not a directory", path);
|
||||
case EISDIR:
|
||||
throw OpenFileException("not a file", path);
|
||||
case EROFS:
|
||||
throw FileReadOnlyException(path);
|
||||
case EEXIST:
|
||||
throw FileExistsException(path);
|
||||
case ENOSPC:
|
||||
throw FileException("no space left on device", path);
|
||||
case EDQUOT:
|
||||
throw FileException("disk quota exceeded", path);
|
||||
case ENOTEMPTY:
|
||||
throw DirectoryNotEmptyException(path, err);
|
||||
case ENAMETOOLONG:
|
||||
throw PathSyntaxException(path);
|
||||
default:
|
||||
throw FileException(strerror(errno), path);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
} // namespace Poco
|
@ -17,8 +17,6 @@
|
||||
|
||||
#if defined(POCO_OS_FAMILY_WINDOWS)
|
||||
#include "LogFile_WIN32.cpp"
|
||||
#elif defined(POCO_OS_FAMILY_VMS)
|
||||
#include "LogFile_VMS.cpp"
|
||||
#else
|
||||
#include "LogFile_STD.cpp"
|
||||
#endif
|
||||
|
@ -1,72 +0,0 @@
|
||||
//
|
||||
// LogFile_VMS.cpp
|
||||
//
|
||||
// Library: Foundation
|
||||
// Package: Logging
|
||||
// Module: LogFile
|
||||
//
|
||||
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
|
||||
// and Contributors.
|
||||
//
|
||||
// SPDX-License-Identifier: BSL-1.0
|
||||
//
|
||||
|
||||
|
||||
#include "Poco/LogFile_VMS.h"
|
||||
#include "Poco/File.h"
|
||||
#include "Poco/Exception.h"
|
||||
|
||||
|
||||
namespace Poco {
|
||||
|
||||
|
||||
LogFileImpl::LogFileImpl(const std::string& path): _path(path)
|
||||
{
|
||||
_file = fopen(path.c_str(), "a", "ctx=rec,bin", "shr=get", "fop=dfw", "alq=500", "deq=500");
|
||||
if (!_file) throw OpenFileException(path);
|
||||
if (size() == 0)
|
||||
_creationDate = File(path).getLastModified();
|
||||
else
|
||||
_creationDate = File(path).created();
|
||||
}
|
||||
|
||||
|
||||
LogFileImpl::~LogFileImpl()
|
||||
{
|
||||
fclose(_file);
|
||||
}
|
||||
|
||||
|
||||
void LogFileImpl::writeImpl(const std::string& text, bool flush)
|
||||
{
|
||||
int rc = fputs(text.c_str(), _file);
|
||||
if (rc == EOF) throw WriteFileException(_path);
|
||||
rc = fputc('\n', _file);
|
||||
if (rc == EOF) throw WriteFileException(_path);
|
||||
if (flush)
|
||||
{
|
||||
rc = fflush(_file);
|
||||
if (rc == EOF) throw WriteFileException(_path);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
UInt64 LogFileImpl::sizeImpl() const
|
||||
{
|
||||
return (UInt64) ftell(_file);
|
||||
}
|
||||
|
||||
|
||||
Timestamp LogFileImpl::creationDateImpl() const
|
||||
{
|
||||
return _creationDate;
|
||||
}
|
||||
|
||||
|
||||
const std::string& LogFileImpl::pathImpl() const
|
||||
{
|
||||
return _path;
|
||||
}
|
||||
|
||||
|
||||
} // namespace Poco
|
@ -21,8 +21,6 @@
|
||||
#include "NamedEvent_Android.cpp"
|
||||
#elif defined(POCO_OS_FAMILY_UNIX)
|
||||
#include "NamedEvent_UNIX.cpp"
|
||||
#else
|
||||
#include "NamedEvent_VMS.cpp"
|
||||
#endif
|
||||
|
||||
|
||||
|
@ -1,63 +0,0 @@
|
||||
//
|
||||
// NamedEvent_VMS.cpp
|
||||
//
|
||||
// Library: Foundation
|
||||
// Package: Processes
|
||||
// Module: NamedEvent
|
||||
//
|
||||
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
|
||||
// and Contributors.
|
||||
//
|
||||
// SPDX-License-Identifier: BSL-1.0
|
||||
//
|
||||
|
||||
|
||||
#include "Poco/NamedEvent_VMS.h"
|
||||
#include <lib$routines.h>
|
||||
#include <starlet.h>
|
||||
#include <descrip.h>
|
||||
#include <iodef.h>
|
||||
|
||||
|
||||
namespace Poco {
|
||||
|
||||
|
||||
NamedEventImpl::NamedEventImpl(const std::string& name):
|
||||
_name(name)
|
||||
{
|
||||
struct dsc$descriptor_s mbxDesc;
|
||||
mbxDesc.dsc$w_length = _name.length();
|
||||
mbxDesc.dsc$b_dtype = DSC$K_DTYPE_T;
|
||||
mbxDesc.dsc$b_class = DSC$K_CLASS_S;
|
||||
mbxDesc.dsc$a_pointer = _name.c_str();
|
||||
if (sys$crembx(0, &_mbxChan, 0, 0, 0, 0, &mbxDesc, 0, 0) != 1)
|
||||
throw SystemException("cannot create named event", _name);
|
||||
}
|
||||
|
||||
|
||||
NamedEventImpl::~NamedEventImpl()
|
||||
{
|
||||
sys$dassgn(_mbxChan);
|
||||
}
|
||||
|
||||
|
||||
void NamedEventImpl::setImpl()
|
||||
{
|
||||
char buffer = 0xFF;
|
||||
if (sys$qio(0, _mbxChan, IO$_WRITEVBLK, 0, 0, 0, &buffer, sizeof(buffer), 0, 0, 0, 0) != 1)
|
||||
throw SystemException("cannot set named event", _name);
|
||||
}
|
||||
|
||||
|
||||
void NamedEventImpl::waitImpl()
|
||||
{
|
||||
char buffer = 0;
|
||||
while (buffer == 0)
|
||||
{
|
||||
if (sys$qiow(0, _mbxChan, IO$_READVBLK, 0, 0, 0, &buffer, sizeof(buffer), 0, 0, 0, 0) != 1)
|
||||
throw SystemException("cannot wait for named event", _name);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
} // namespace Poco
|
@ -21,8 +21,6 @@
|
||||
#include "NamedMutex_Android.cpp"
|
||||
#elif defined(POCO_OS_FAMILY_UNIX)
|
||||
#include "NamedMutex_UNIX.cpp"
|
||||
#else
|
||||
#include "NamedMutex_VMS.cpp"
|
||||
#endif
|
||||
|
||||
|
||||
|
@ -1,65 +0,0 @@
|
||||
//
|
||||
// NamedMutex_VMS.cpp
|
||||
//
|
||||
// Library: Foundation
|
||||
// Package: Processes
|
||||
// Module: NamedMutex
|
||||
//
|
||||
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
|
||||
// and Contributors.
|
||||
//
|
||||
// SPDX-License-Identifier: BSL-1.0
|
||||
//
|
||||
|
||||
|
||||
#include "Poco/NamedMutex_VMS.h"
|
||||
#include <starlet.h>
|
||||
#include <iodef.h>
|
||||
|
||||
|
||||
namespace Poco {
|
||||
|
||||
|
||||
NamedMutexImpl::NamedMutexImpl(const std::string& name):
|
||||
_name(name)
|
||||
{
|
||||
_nameDesc.dsc$w_length = _name.length();
|
||||
_nameDesc.dsc$b_dtype = DSC$K_DTYPE_T;
|
||||
_nameDesc.dsc$b_class = DSC$K_CLASS_S;
|
||||
_nameDesc.dsc$a_pointer = _name.data();
|
||||
int status = sys$enqw(0, LCK$K_NLMODE, (struct _lksb*) &_lksb, 0, &_nameDesc, 0, 0, 0, 0, 0, 0);
|
||||
if (status != 1)
|
||||
throw SystemException("cannot create named mutex", _name);
|
||||
}
|
||||
|
||||
|
||||
NamedMutexImpl::~NamedMutexImpl()
|
||||
{
|
||||
sys$deq(m_lksb[1], 0, 0, 0);
|
||||
}
|
||||
|
||||
|
||||
void NamedMutexImpl::lockImpl()
|
||||
{
|
||||
int status = sys$enqw(0, LCK$K_EXMODE, (struct _lksb*) &_lksb, LCK$M_CONVERT, &_nameDesc, 0, 0, 0, 0, 0, 0);
|
||||
if (status != 1)
|
||||
throw SystemException("cannot lock named mutex", _name);
|
||||
}
|
||||
|
||||
|
||||
bool NamedMutexImpl::tryLockImpl()
|
||||
{
|
||||
int status = sys$enqw(0, LCK$K_EXMODE, (struct _lksb*) &_lksb, LCK$M_CONVERT | LCK$M_NOQUEUE, &_nameDesc, 0, 0, 0, 0, 0, 0);
|
||||
return status == 1;
|
||||
}
|
||||
|
||||
|
||||
void NamedMutexImpl::unlockImpl()
|
||||
{
|
||||
int status = sys$enqw(0, LCK$K_NLMODE, (struct _lksb*) &_lksb, LCK$M_CONVERT, &_nameDesc, 0, 0, 0, 0, 0, 0);
|
||||
if (status != 1)
|
||||
throw SystemException("cannot unlock named mutex", _name);
|
||||
}
|
||||
|
||||
|
||||
} // namespace Poco
|
@ -1,177 +0,0 @@
|
||||
//
|
||||
// OpcomChannel.cpp
|
||||
//
|
||||
// Library: Foundation
|
||||
// Package: Logging
|
||||
// Module: OpcomChannel
|
||||
//
|
||||
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
|
||||
// and Contributors.
|
||||
//
|
||||
// SPDX-License-Identifier: BSL-1.0
|
||||
//
|
||||
|
||||
|
||||
#include "Poco/OpcomChannel.h"
|
||||
#include "Poco/Message.h"
|
||||
#include <starlet.h>
|
||||
#include <opcdef.h>
|
||||
#include <descrip.h>
|
||||
|
||||
|
||||
namespace Poco {
|
||||
|
||||
|
||||
const std::string OpcomChannel::PROP_TARGET = "target";
|
||||
|
||||
|
||||
OpcomChannel::OpcomChannel(): _target(OPC$M_NM_CENTRL)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
OpcomChannel::OpcomChannel(int target): _target(target)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
OpcomChannel::~OpcomChannel()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
void OpcomChannel::log(const Message& msg)
|
||||
{
|
||||
const std::string& text = msg.getText();
|
||||
// set up OPC buffer
|
||||
struct _opcdef buffer;
|
||||
buffer.opc$b_ms_type = OPC$_RQ_RQST;
|
||||
buffer.opc$b_ms_target = _target;
|
||||
buffer.opc$l_ms_rqstid = 0;
|
||||
int len = text.size();
|
||||
// restrict message text to 128 chars
|
||||
if (len > 128) len = 128;
|
||||
// copy message text into buffer
|
||||
memcpy(&buffer.opc$l_ms_text, text.data(), len);
|
||||
|
||||
// sys$sndopr only accepts 32-bit pointers
|
||||
#pragma pointer_size save
|
||||
#pragma pointer_size 32
|
||||
|
||||
// set up the descriptor
|
||||
struct dsc$descriptor bufferDsc;
|
||||
bufferDsc.dsc$w_length = len + 8;
|
||||
bufferDsc.dsc$a_pointer = (char*) &buffer;
|
||||
// call the system service
|
||||
sys$sndopr(&bufferDsc, 0);
|
||||
|
||||
#pragma pointer_size restore
|
||||
}
|
||||
|
||||
|
||||
void OpcomChannel::setProperty(const std::string& name, const std::string& value)
|
||||
{
|
||||
if (name == PROP_TARGET)
|
||||
{
|
||||
if (value == "CARDS")
|
||||
_target = OPC$M_NM_CARDS;
|
||||
else if (value == "CENTRL")
|
||||
_target = OPC$M_NM_CENTRL;
|
||||
else if (value == "CLUSTER")
|
||||
_target = OPC$M_NM_CLUSTER;
|
||||
else if (value == "DEVICE")
|
||||
_target = OPC$M_NM_DEVICE;
|
||||
else if (value == "DISKS")
|
||||
_target = OPC$M_NM_DISKS;
|
||||
else if (value == "NTWORK")
|
||||
_target = OPC$M_NM_NTWORK;
|
||||
else if (value == "TAPES")
|
||||
_target = OPC$M_NM_TAPES;
|
||||
else if (value == "PRINT")
|
||||
_target = OPC$M_NM_PRINT;
|
||||
else if (value == "SECURITY")
|
||||
_target = OPC$M_NM_SECURITY;
|
||||
else if (value == "OPER1")
|
||||
_target = OPC$M_NM_OPER1;
|
||||
else if (value == "OPER2")
|
||||
_target = OPC$M_NM_OPER2;
|
||||
else if (value == "OPER3")
|
||||
_target = OPC$M_NM_OPER3;
|
||||
else if (value == "OPER4")
|
||||
_target = OPC$M_NM_OPER4;
|
||||
else if (value == "OPER5")
|
||||
_target = OPC$M_NM_OPER5;
|
||||
else if (value == "OPER6")
|
||||
_target = OPC$M_NM_OPER6;
|
||||
else if (value == "OPER7")
|
||||
_target = OPC$M_NM_OPER7;
|
||||
else if (value == "OPER8")
|
||||
_target = OPC$M_NM_OPER8;
|
||||
else if (value == "OPER9")
|
||||
_target = OPC$M_NM_OPER9;
|
||||
else if (value == "OPER10")
|
||||
_target = OPC$M_NM_OPER10;
|
||||
else if (value == "OPER11")
|
||||
_target = OPC$M_NM_OPER11;
|
||||
else if (value == "OPER12")
|
||||
_target = OPC$M_NM_OPER12;
|
||||
}
|
||||
else
|
||||
{
|
||||
Channel::setProperty(name, value);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
std::string OpcomChannel::getProperty(const std::string& name) const
|
||||
{
|
||||
if (name == PROP_TARGET)
|
||||
{
|
||||
if (_target == OPC$M_NM_CARDS)
|
||||
return "CARDS";
|
||||
else if (_target == OPC$M_NM_CENTRL)
|
||||
return "CENTRL";
|
||||
else if (_target == OPC$M_NM_CLUSTER)
|
||||
return "CLUSTER";
|
||||
else if (_target == OPC$M_NM_DEVICE)
|
||||
return "DEVICE";
|
||||
else if (_target == OPC$M_NM_DISKS)
|
||||
return "DISKS";
|
||||
else if (_target == OPC$M_NM_NTWORK)
|
||||
return "NTWORK";
|
||||
else if (_target == OPC$M_NM_TAPES)
|
||||
return "TAPES";
|
||||
else if (_target == OPC$M_NM_PRINT)
|
||||
return "PRINT";
|
||||
else if (_target == OPC$M_NM_SECURITY)
|
||||
return "SECURITY";
|
||||
else if (_target == OPC$M_NM_OPER1)
|
||||
return "OPER1";
|
||||
else if (_target == OPC$M_NM_OPER2)
|
||||
return "OPER2";
|
||||
else if (_target == OPC$M_NM_OPER3)
|
||||
return "OPER3";
|
||||
else if (_target == OPC$M_NM_OPER4)
|
||||
return "OPER4";
|
||||
else if (_target == OPC$M_NM_OPER5)
|
||||
return "OPER5";
|
||||
else if (_target == OPC$M_NM_OPER6)
|
||||
return "OPER6";
|
||||
else if (_target == OPC$M_NM_OPER7)
|
||||
return "OPER7";
|
||||
else if (_target == OPC$M_NM_OPER8)
|
||||
return "OPER8";
|
||||
else if (_target == OPC$M_NM_OPER9)
|
||||
return "OPER9";
|
||||
else if (_target == OPC$M_NM_OPER10)
|
||||
return "OPER10";
|
||||
else if (_target == OPC$M_NM_OPER11)
|
||||
return "OPER11";
|
||||
else if (_target == OPC$M_NM_OPER12)
|
||||
return "OPER12";
|
||||
}
|
||||
return Channel::getProperty(name);
|
||||
}
|
||||
|
||||
|
||||
} // namespace Poco
|
@ -21,9 +21,7 @@
|
||||
#include <algorithm>
|
||||
|
||||
|
||||
#if defined(POCO_OS_FAMILY_VMS)
|
||||
#include "Path_VMS.cpp"
|
||||
#elif defined(POCO_OS_FAMILY_UNIX)
|
||||
#if defined(POCO_OS_FAMILY_UNIX)
|
||||
#include "Path_UNIX.cpp"
|
||||
#elif defined(POCO_OS_FAMILY_WINDOWS)
|
||||
#if defined(_WIN32_WCE)
|
||||
@ -82,7 +80,7 @@ Path::Path(const Path& path):
|
||||
_version(path._version),
|
||||
_dirs(path._dirs),
|
||||
_absolute(path._absolute)
|
||||
{
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@ -107,7 +105,7 @@ Path::Path(const Path& rParent, const char* fileName):
|
||||
_version(rParent._version),
|
||||
_dirs(rParent._dirs),
|
||||
_absolute(rParent._absolute)
|
||||
{
|
||||
{
|
||||
makeDirectory();
|
||||
_name = fileName;
|
||||
}
|
||||
@ -120,7 +118,7 @@ Path::Path(const Path& rParent, const Path& relative):
|
||||
_version(rParent._version),
|
||||
_dirs(rParent._dirs),
|
||||
_absolute(rParent._absolute)
|
||||
{
|
||||
{
|
||||
resolve(relative);
|
||||
}
|
||||
|
||||
@ -129,13 +127,13 @@ Path::~Path()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
|
||||
Path& Path::operator = (const Path& path)
|
||||
{
|
||||
return assign(path);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Path& Path::operator = (const std::string& path)
|
||||
{
|
||||
poco_assert(std::char_traits<char>::length(path.data()) == path.size());
|
||||
@ -178,9 +176,7 @@ Path& Path::assign(const Path& path)
|
||||
|
||||
Path& Path::assign(const std::string& path)
|
||||
{
|
||||
#if defined(POCO_OS_FAMILY_VMS)
|
||||
parseVMS(path);
|
||||
#elif defined(POCO_OS_FAMILY_WINDOWS)
|
||||
#if defined(POCO_OS_FAMILY_WINDOWS)
|
||||
parseWindows(path);
|
||||
#else
|
||||
parseUnix(path);
|
||||
@ -188,7 +184,7 @@ Path& Path::assign(const std::string& path)
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Path& Path::assign(const std::string& path, Style style)
|
||||
{
|
||||
switch (style)
|
||||
@ -223,16 +219,14 @@ Path& Path::assign(const char* path)
|
||||
|
||||
std::string Path::toString() const
|
||||
{
|
||||
#if defined(POCO_OS_FAMILY_UNIX)
|
||||
return buildUnix();
|
||||
#elif defined(POCO_OS_FAMILY_WINDOWS)
|
||||
#if defined(POCO_OS_FAMILY_WINDOWS)
|
||||
return buildWindows();
|
||||
#else
|
||||
return buildVMS();
|
||||
return buildUnix();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
||||
std::string Path::toString(Style style) const
|
||||
{
|
||||
switch (style)
|
||||
@ -305,11 +299,7 @@ Path& Path::parseDirectory(const std::string& path, Style style)
|
||||
|
||||
Path& Path::makeDirectory()
|
||||
{
|
||||
#if defined(POCO_OS_FAMILY_VMS)
|
||||
pushDirectory(getBaseName());
|
||||
#else
|
||||
pushDirectory(_name);
|
||||
#endif
|
||||
_name.clear();
|
||||
_version.clear();
|
||||
return *this;
|
||||
@ -322,9 +312,6 @@ Path& Path::makeFile()
|
||||
{
|
||||
_name = _dirs.back();
|
||||
_dirs.pop_back();
|
||||
#if defined(POCO_OS_FAMILY_VMS)
|
||||
setExtension("DIR");
|
||||
#endif
|
||||
}
|
||||
return *this;
|
||||
}
|
||||
@ -444,7 +431,7 @@ Path& Path::setNode(const std::string& node)
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Path& Path::setDevice(const std::string& device)
|
||||
{
|
||||
poco_assert(std::char_traits<char>::length(device.data()) == device.size());
|
||||
@ -453,44 +440,34 @@ Path& Path::setDevice(const std::string& device)
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
|
||||
const std::string& Path::directory(int n) const
|
||||
{
|
||||
poco_assert (0 <= n && n <= _dirs.size());
|
||||
|
||||
|
||||
if (n < _dirs.size())
|
||||
return _dirs[n];
|
||||
else
|
||||
return _name;
|
||||
return _name;
|
||||
}
|
||||
|
||||
|
||||
const std::string& Path::operator [] (int n) const
|
||||
{
|
||||
poco_assert (0 <= n && n <= _dirs.size());
|
||||
|
||||
|
||||
if (n < _dirs.size())
|
||||
return _dirs[n];
|
||||
else
|
||||
return _name;
|
||||
return _name;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Path& Path::pushDirectory(const std::string& dir)
|
||||
{
|
||||
poco_assert(std::char_traits<char>::length(dir.data()) == dir.size());
|
||||
if (!dir.empty() && dir != ".")
|
||||
{
|
||||
#if defined(POCO_OS_FAMILY_VMS)
|
||||
if (dir == ".." || dir == "-")
|
||||
{
|
||||
if (!_dirs.empty() && _dirs.back() != ".." && _dirs.back() != "-")
|
||||
_dirs.pop_back();
|
||||
else if (!_absolute)
|
||||
_dirs.push_back(dir);
|
||||
}
|
||||
else _dirs.push_back(dir);
|
||||
#else
|
||||
if (dir == "..")
|
||||
{
|
||||
if (!_dirs.empty() && _dirs.back() != "..")
|
||||
@ -499,16 +476,15 @@ Path& Path::pushDirectory(const std::string& dir)
|
||||
_dirs.push_back(dir);
|
||||
}
|
||||
else _dirs.push_back(dir);
|
||||
#endif
|
||||
}
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Path& Path::popDirectory()
|
||||
{
|
||||
poco_assert (!_dirs.empty());
|
||||
|
||||
|
||||
_dirs.pop_back();
|
||||
return *this;
|
||||
}
|
||||
@ -517,13 +493,13 @@ Path& Path::popDirectory()
|
||||
Path& Path::popFrontDirectory()
|
||||
{
|
||||
poco_assert (!_dirs.empty());
|
||||
|
||||
|
||||
StringVec::iterator it = _dirs.begin();
|
||||
_dirs.erase(it);
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Path& Path::setFileName(const std::string& name)
|
||||
{
|
||||
poco_assert(std::char_traits<char>::length(name.data()) == name.size());
|
||||
@ -568,7 +544,7 @@ Path& Path::setExtension(const std::string& extension)
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
|
||||
std::string Path::getExtension() const
|
||||
{
|
||||
std::string::size_type pos = _name.rfind('.');
|
||||
@ -596,13 +572,13 @@ std::string Path::current()
|
||||
return PathImpl::currentImpl();
|
||||
}
|
||||
|
||||
|
||||
|
||||
std::string Path::home()
|
||||
{
|
||||
return PathImpl::homeImpl();
|
||||
}
|
||||
|
||||
|
||||
|
||||
std::string Path::configHome()
|
||||
{
|
||||
#if defined(POCO_OS_FAMILY_UNIX) || defined(POCO_OS_FAMILY_WINDOWS)
|
||||
@ -612,7 +588,7 @@ std::string Path::configHome()
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
||||
std::string Path::dataHome()
|
||||
{
|
||||
#if defined(POCO_OS_FAMILY_UNIX) || defined(POCO_OS_FAMILY_WINDOWS)
|
||||
@ -622,7 +598,7 @@ std::string Path::dataHome()
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
||||
std::string Path::cacheHome()
|
||||
{
|
||||
#if defined(POCO_OS_FAMILY_UNIX) || defined(POCO_OS_FAMILY_WINDOWS)
|
||||
@ -632,13 +608,13 @@ std::string Path::cacheHome()
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
||||
std::string Path::temp()
|
||||
{
|
||||
return PathImpl::tempImpl();
|
||||
}
|
||||
|
||||
|
||||
|
||||
std::string Path::config()
|
||||
{
|
||||
#if defined(POCO_OS_FAMILY_UNIX) || defined(POCO_OS_FAMILY_WINDOWS)
|
||||
@ -653,7 +629,7 @@ std::string Path::null()
|
||||
return PathImpl::nullImpl();
|
||||
}
|
||||
|
||||
|
||||
|
||||
std::string Path::expand(const std::string& path)
|
||||
{
|
||||
poco_assert(std::char_traits<char>::length(path.data()) == path.size());
|
||||
@ -842,7 +818,7 @@ void Path::parseVMS(const std::string& path)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (name.empty())
|
||||
{
|
||||
if (it != end && *it == '[')
|
||||
|
@ -1,117 +0,0 @@
|
||||
//
|
||||
// Path_VMS.cpp
|
||||
//
|
||||
// Library: Foundation
|
||||
// Package: Filesystem
|
||||
// Module: Path
|
||||
//
|
||||
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
|
||||
// and Contributors.
|
||||
//
|
||||
// SPDX-License-Identifier: BSL-1.0
|
||||
//
|
||||
|
||||
|
||||
#include "Poco/Path_VMS.h"
|
||||
#include "Poco/Environment_VMS.h"
|
||||
#include <unistd.h>
|
||||
#include <descrip.h>
|
||||
#include <dvsdef.h>
|
||||
#include <dcdef.h>
|
||||
#include <iledef.h>
|
||||
#include <gen64def.h>
|
||||
#include <starlet.h>
|
||||
|
||||
|
||||
namespace Poco {
|
||||
|
||||
|
||||
std::string PathImpl::currentImpl()
|
||||
{
|
||||
std::string path;
|
||||
char cwd[PATH_MAX];
|
||||
if (getcwd(cwd, sizeof(cwd)))
|
||||
path = cwd;
|
||||
else
|
||||
throw SystemException("cannot get current directory");
|
||||
return path;
|
||||
}
|
||||
|
||||
|
||||
std::string PathImpl::homeImpl()
|
||||
{
|
||||
return EnvironmentImpl::trnlnm("SYS$LOGIN");
|
||||
}
|
||||
|
||||
|
||||
std::string PathImpl::tempImpl()
|
||||
{
|
||||
std::string result = EnvironmentImpl::trnlnm("SYS$SCRATCH");
|
||||
if (result.empty())
|
||||
return homeImpl();
|
||||
else
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
std::string PathImpl::nullImpl()
|
||||
{
|
||||
return "NLA0:";
|
||||
}
|
||||
|
||||
|
||||
std::string PathImpl::expandImpl(const std::string& path)
|
||||
{
|
||||
std::string result = path;
|
||||
std::string::const_iterator it = result.begin();
|
||||
std::string::const_iterator end = result.end();
|
||||
int n = 0;
|
||||
while (it != end && n < 10)
|
||||
{
|
||||
std::string logical;
|
||||
while (it != end && *it != ':') logical += *it++;
|
||||
if (it != end)
|
||||
{
|
||||
++it;
|
||||
if (it != end && *it == ':') return result;
|
||||
std::string val = EnvironmentImpl::trnlnm(logical);
|
||||
if (val.empty())
|
||||
return result;
|
||||
else
|
||||
result = val + std::string(it, end);
|
||||
it = result.begin();
|
||||
end = result.end();
|
||||
++n;
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
void PathImpl::listRootsImpl(std::vector<std::string>& roots)
|
||||
{
|
||||
char device[64];
|
||||
$DESCRIPTOR(deviceDsc, device);
|
||||
int clss = DC$_DISK;
|
||||
ILE3 items[2];
|
||||
items[0].ile3$w_code = DVS$_DEVCLASS;
|
||||
items[0].ile3$w_length = sizeof(clss);
|
||||
items[0].ile3$ps_bufaddr = &clss;
|
||||
items[0].ile3$ps_retlen_addr = 0;
|
||||
items[1].ile3$w_code = 0;
|
||||
items[1].ile3$w_length = 0;
|
||||
int stat;
|
||||
GENERIC_64 context;
|
||||
context.gen64$q_quadword = 0;
|
||||
do
|
||||
{
|
||||
unsigned short length;
|
||||
stat = sys$device_scan(&deviceDsc, &length, 0, &items, &context);
|
||||
if (stat == SS$_NORMAL)
|
||||
roots.push_back(std::string(device, length));
|
||||
}
|
||||
while (stat == SS$_NORMAL);
|
||||
}
|
||||
|
||||
|
||||
} // namespace Poco
|
@ -22,11 +22,11 @@ namespace
|
||||
{
|
||||
std::vector<char> envbuf;
|
||||
std::size_t pos = 0;
|
||||
|
||||
|
||||
for (Poco::Process::Env::const_iterator it = env.begin(); it != env.end(); ++it)
|
||||
{
|
||||
std::size_t envlen = it->first.length() + it->second.length() + 1;
|
||||
|
||||
|
||||
envbuf.resize(pos + envlen + 1);
|
||||
std::copy(it->first.begin(), it->first.end(), &envbuf[pos]);
|
||||
pos += it->first.length();
|
||||
@ -34,26 +34,16 @@ namespace
|
||||
++pos;
|
||||
std::copy(it->second.begin(), it->second.end(), &envbuf[pos]);
|
||||
pos += it->second.length();
|
||||
|
||||
|
||||
envbuf[pos] = '\0';
|
||||
++pos;
|
||||
}
|
||||
|
||||
|
||||
envbuf.resize(pos + 1);
|
||||
envbuf[pos] = '\0';
|
||||
|
||||
|
||||
return envbuf;
|
||||
}
|
||||
|
||||
#if defined(POCO_OS_FAMILY_VMS)
|
||||
void setEnvironmentVariables(const Poco::Process::Env& env)
|
||||
{
|
||||
for (Poco::Process::Env::const_iterator it = env.begin(); it != env.end(); ++it)
|
||||
{
|
||||
Poco::Environment::set(it->first, it->second);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
@ -67,8 +57,6 @@ namespace
|
||||
#include "Process_VX.cpp"
|
||||
#elif defined(POCO_OS_FAMILY_UNIX)
|
||||
#include "Process_UNIX.cpp"
|
||||
#else
|
||||
#include "Process_VMS.cpp"
|
||||
#endif
|
||||
|
||||
|
||||
@ -84,7 +72,7 @@ ProcessHandle::ProcessHandle(const ProcessHandle& handle):
|
||||
_pImpl->duplicate();
|
||||
}
|
||||
|
||||
|
||||
|
||||
ProcessHandle::~ProcessHandle()
|
||||
{
|
||||
_pImpl->release();
|
||||
@ -109,13 +97,13 @@ ProcessHandle& ProcessHandle::operator = (const ProcessHandle& handle)
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
|
||||
ProcessHandle::PID ProcessHandle::id() const
|
||||
{
|
||||
return _pImpl->id();
|
||||
}
|
||||
|
||||
|
||||
|
||||
int ProcessHandle::wait() const
|
||||
{
|
||||
return _pImpl->wait();
|
||||
@ -170,8 +158,8 @@ ProcessHandle Process::launch(const std::string& command, const Args& args, cons
|
||||
poco_assert (inPipe == 0 || (inPipe != outPipe && inPipe != errPipe));
|
||||
return ProcessHandle(launchImpl(command, args, initialDirectory, inPipe, outPipe, errPipe, env));
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
int Process::wait(const ProcessHandle& handle)
|
||||
{
|
||||
return handle.wait();
|
||||
|
@ -1,162 +0,0 @@
|
||||
//
|
||||
// Process_VMS.cpp
|
||||
//
|
||||
// Library: Foundation
|
||||
// Package: Processes
|
||||
// Module: Process
|
||||
//
|
||||
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
|
||||
// and Contributors.
|
||||
//
|
||||
// SPDX-License-Identifier: BSL-1.0
|
||||
//
|
||||
|
||||
|
||||
#include "Poco/Process_VMS.h"
|
||||
#include "Poco/NumberFormatter.h"
|
||||
#include "Poco/NamedEvent.h"
|
||||
#include <sstream>
|
||||
#include <times.h>
|
||||
#include <time.h>
|
||||
|
||||
|
||||
namespace Poco {
|
||||
|
||||
|
||||
//
|
||||
// ProcessHandleImpl
|
||||
//
|
||||
ProcessHandleImpl::ProcessHandleImpl(pid_t pid):
|
||||
_pid(pid)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
ProcessHandleImpl::~ProcessHandleImpl()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
pid_t ProcessHandleImpl::id() const
|
||||
{
|
||||
return _pid;
|
||||
}
|
||||
|
||||
|
||||
int ProcessHandleImpl::wait() const
|
||||
{
|
||||
int status;
|
||||
if (waitpid(_pid, &status, 0) != _pid)
|
||||
throw SystemException("Cannot wait for process", NumberFormatter::format(_pid));
|
||||
return WEXITSTATUS(status);
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// ProcessImpl
|
||||
//
|
||||
ProcessImpl::PIDImpl ProcessImpl::idImpl()
|
||||
{
|
||||
return getpid();
|
||||
}
|
||||
|
||||
|
||||
void ProcessImpl::timesImpl(long& userTime, long& kernelTime)
|
||||
{
|
||||
struct tms buffer;
|
||||
times(&buffer)*1000/CLOCKS_PER_SEC;
|
||||
userTime = buffer.tms_utime/CLOCKS_PER_SEC;
|
||||
kernelTime = buffer.tms_stime/CLOCKS_PER_SEC;
|
||||
}
|
||||
|
||||
|
||||
ProcessHandleImpl* ProcessImpl::launchImpl(const std::string& command, const ArgsImpl& args, const std::string& initialDirectory, Pipe* inPipe, Pipe* outPipe, Pipe* errPipe, const EnvImpl& env)
|
||||
{
|
||||
char** argv = new char*[args.size() + 2];
|
||||
int i = 0;
|
||||
argv[i++] = const_cast<char*>(command.c_str());
|
||||
for (ArgsImpl::const_iterator it = args.begin(); it != args.end(); ++it)
|
||||
argv[i++] = const_cast<char*>(it->c_str());
|
||||
argv[i] = NULL;
|
||||
try
|
||||
{
|
||||
int pid = vfork();
|
||||
if (pid < 0)
|
||||
{
|
||||
throw SystemException("Cannot fork process for", command);
|
||||
}
|
||||
else if (pid == 0)
|
||||
{
|
||||
if (!initialDirectory.empty())
|
||||
{
|
||||
if (chdir(initialDirectory.c_str()) != 0)
|
||||
{
|
||||
std::stringstream str;
|
||||
str << "Cannot set initial directory to '" << initialDirectory << "' when forking process for";
|
||||
throw SystemException(str.str(), command);
|
||||
}
|
||||
}
|
||||
setEnvironmentVariables(environment_variables);
|
||||
|
||||
if (execvp(command.c_str(), argv) == -1)
|
||||
throw SystemException("Cannot execute command", command);
|
||||
}
|
||||
else
|
||||
{
|
||||
delete [] argv;
|
||||
return new ProcessHandleImpl(pid);
|
||||
}
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
delete [] argv;
|
||||
throw;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void ProcessImpl::killImpl(ProcessHandleImpl& handle)
|
||||
{
|
||||
killImpl(handle.id());
|
||||
}
|
||||
|
||||
|
||||
void ProcessImpl::killImpl(PIDImpl pid)
|
||||
{
|
||||
if (kill(pid, SIGKILL) != 0)
|
||||
{
|
||||
switch (errno)
|
||||
{
|
||||
case ESRCH:
|
||||
throw NotFoundException("cannot kill process");
|
||||
case EPERM:
|
||||
throw NoPermissionException("cannot kill process");
|
||||
default:
|
||||
throw SystemException("cannot kill process");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
bool ProcessImpl::isRunningImpl(const ProcessHandleImpl& handle)
|
||||
{
|
||||
throw Poco::NotImplementedException("Process::is_running()");
|
||||
}
|
||||
|
||||
|
||||
bool ProcessImpl::isRunningImpl(PIDImpl pid)
|
||||
{
|
||||
throw Poco::NotImplementedException("Process::is_running()");
|
||||
}
|
||||
|
||||
|
||||
void ProcessImpl::requestTerminationImpl(PIDImpl pid)
|
||||
{
|
||||
std::string evName("POCOTRM");
|
||||
evName.append(NumberFormatter::formatHex(pid, 8));
|
||||
NamedEvent ev(evName);
|
||||
ev.set();
|
||||
}
|
||||
|
||||
|
||||
} // namespace Poco
|
@ -24,8 +24,6 @@
|
||||
#include "SharedLibrary_UNIX.cpp"
|
||||
#elif defined(POCO_OS_FAMILY_WINDOWS)
|
||||
#include "SharedLibrary_WIN32.cpp"
|
||||
#elif defined(POCO_OS_FAMILY_VMS)
|
||||
#include "SharedLibrary_VMS.cpp"
|
||||
#endif
|
||||
|
||||
|
||||
|
@ -1,123 +0,0 @@
|
||||
//
|
||||
// SharedLibrary_VMS.cpp
|
||||
//
|
||||
// Library: Foundation
|
||||
// Package: SharedLibrary
|
||||
// Module: SharedLibrary
|
||||
//
|
||||
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
|
||||
// and Contributors.
|
||||
//
|
||||
// SPDX-License-Identifier: BSL-1.0
|
||||
//
|
||||
|
||||
|
||||
#include "Poco/SharedLibrary_VMS.h"
|
||||
#include "Poco/Path.h"
|
||||
#include <lib$routines.h>
|
||||
#include <libdef.h>
|
||||
#include <descrip.h>
|
||||
#include <chfdef.h>
|
||||
#include <libfisdef.h>
|
||||
|
||||
|
||||
namespace Poco {
|
||||
|
||||
|
||||
FastMutex SharedLibraryImpl::_mutex;
|
||||
|
||||
|
||||
SharedLibraryImpl::SharedLibraryImpl()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
SharedLibraryImpl::~SharedLibraryImpl()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
void SharedLibraryImpl::loadImpl(const std::string& path, int /*flags*/)
|
||||
{
|
||||
FastMutex::ScopedLock lock(_mutex);
|
||||
|
||||
if (!_path.empty()) throw LibraryAlreadyLoadedException(path);
|
||||
_path = path;
|
||||
}
|
||||
|
||||
|
||||
void SharedLibraryImpl::unloadImpl()
|
||||
{
|
||||
_path.clear();
|
||||
}
|
||||
|
||||
|
||||
bool SharedLibraryImpl::isLoadedImpl() const
|
||||
{
|
||||
return !_path.empty();
|
||||
}
|
||||
|
||||
|
||||
void* SharedLibraryImpl::findSymbolImpl(const std::string& name)
|
||||
{
|
||||
FastMutex::ScopedLock lock(_mutex);
|
||||
|
||||
if (_path.empty()) return NULL;
|
||||
|
||||
Path p(_path);
|
||||
std::string filename = p.getBaseName();
|
||||
std::string ext = p.getExtension();
|
||||
std::string imageSpec = p.makeParent().toString();
|
||||
if (!imageSpec.empty() && !ext.empty())
|
||||
{
|
||||
imageSpec.append(".");
|
||||
imageSpec.append(ext);
|
||||
}
|
||||
int value = 0;
|
||||
long flags = LIB$M_FIS_MIXEDCASE;
|
||||
POCO_DESCRIPTOR_STRING(filenameDsc, filename);
|
||||
POCO_DESCRIPTOR_STRING(symbolDsc, name);
|
||||
POCO_DESCRIPTOR_STRING(imageSpecDsc, imageSpec);
|
||||
|
||||
try
|
||||
{
|
||||
// lib$find_image_symbol only accepts 32-bit pointers
|
||||
#pragma pointer_size save
|
||||
#pragma pointer_size 32
|
||||
lib$find_image_symbol(&filenameDsc, &symbolDsc, &value, imageSpec.empty() ? 0 : &imageSpecDsc, flags);
|
||||
#pragma pointer_size restore
|
||||
}
|
||||
catch (struct chf$signal_array& sigarr)
|
||||
{
|
||||
unsigned sig = sigarr.chf$is_sig_name;
|
||||
unsigned act = LIB$_ACTIMAGE;
|
||||
if (lib$match_cond(&sig, &act))
|
||||
throw LibraryLoadException(_path);
|
||||
}
|
||||
return (void*) value;
|
||||
}
|
||||
|
||||
|
||||
const std::string& SharedLibraryImpl::getPathImpl() const
|
||||
{
|
||||
return _path;
|
||||
}
|
||||
|
||||
|
||||
std::string SharedLibraryImpl::prefixImpl()
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
|
||||
std::string SharedLibraryImpl::suffixImpl()
|
||||
{
|
||||
#if defined(_DEBUG) && !defined(POCO_NO_SHARED_LIBRARY_DEBUG_SUFFIX)
|
||||
return "d.exe";
|
||||
#else
|
||||
return ".exe";
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
} // namespace Poco
|
@ -129,7 +129,7 @@ int ThreadImpl::getMinOSPriorityImpl(int policy)
|
||||
{
|
||||
#if defined(POCO_THREAD_PRIORITY_MIN)
|
||||
return POCO_THREAD_PRIORITY_MIN;
|
||||
#elif defined(__VMS) || defined(__digital__)
|
||||
#elif defined(__digital__)
|
||||
return PRI_OTHER_MIN;
|
||||
#else
|
||||
return sched_get_priority_min(policy);
|
||||
@ -141,7 +141,7 @@ int ThreadImpl::getMaxOSPriorityImpl(int policy)
|
||||
{
|
||||
#if defined(POCO_THREAD_PRIORITY_MAX)
|
||||
return POCO_THREAD_PRIORITY_MAX;
|
||||
#elif defined(__VMS) || defined(__digital__)
|
||||
#elif defined(__digital__)
|
||||
return PRI_OTHER_MAX;
|
||||
#else
|
||||
return sched_get_priority_max(policy);
|
||||
|
@ -17,6 +17,17 @@
|
||||
|
||||
#define STACK_INC 4
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#define strerror_r(err, buf, len) strerror_s(buf, len, err)
|
||||
#endif
|
||||
|
||||
static void json_error_s(json_stream *json, int err)
|
||||
{
|
||||
char errbuf[1024] = {0};
|
||||
strerror_r(err, errbuf, sizeof(errbuf));
|
||||
json_error(json, "%s", errbuf);
|
||||
}
|
||||
|
||||
static enum json_type
|
||||
push(json_stream *json, enum json_type type)
|
||||
{
|
||||
@ -27,7 +38,7 @@ push(json_stream *json, enum json_type type)
|
||||
stack = json->alloc.realloc(json->stack,
|
||||
(json->stack_size + STACK_INC) * sizeof(*json->stack));
|
||||
if (stack == NULL) {
|
||||
json_error(json, "%s", strerror(errno));
|
||||
json_error_s(json, errno);
|
||||
return JSON_ERROR;
|
||||
}
|
||||
|
||||
@ -124,7 +135,7 @@ static int pushchar(json_stream *json, int c)
|
||||
size_t size = json->data.string_size * 2;
|
||||
char *buffer = json->alloc.realloc(json->data.string, size);
|
||||
if (buffer == NULL) {
|
||||
json_error(json, "%s", strerror(errno));
|
||||
json_error_s(json, errno);
|
||||
return -1;
|
||||
} else {
|
||||
json->data.string_size = size;
|
||||
@ -142,7 +153,7 @@ static int init_string(json_stream *json)
|
||||
json->data.string_size = 1024;
|
||||
json->data.string = json->alloc.malloc(json->data.string_size);
|
||||
if (json->data.string == NULL) {
|
||||
json_error(json, "%s", strerror(errno));
|
||||
json_error_s(json, errno);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
@ -127,7 +127,7 @@
|
||||
#define POCO_TRY_AGAIN TRY_AGAIN
|
||||
#define POCO_NO_RECOVERY NO_RECOVERY
|
||||
#define POCO_NO_DATA NO_DATA
|
||||
#elif defined(POCO_OS_FAMILY_UNIX) || defined(POCO_OS_FAMILY_VMS)
|
||||
#elif defined(POCO_OS_FAMILY_UNIX)
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
#include <sys/types.h>
|
||||
@ -138,11 +138,7 @@
|
||||
#include <sys/select.h>
|
||||
#endif
|
||||
#include <sys/ioctl.h>
|
||||
#if defined(POCO_OS_FAMILY_VMS)
|
||||
#include <inet.h>
|
||||
#else
|
||||
#include <arpa/inet.h>
|
||||
#endif
|
||||
#include <arpa/inet.h>
|
||||
#include <netinet/in.h>
|
||||
#include <netinet/tcp.h>
|
||||
#include <netdb.h>
|
||||
|
@ -367,7 +367,7 @@ void ServerApplication::registerService()
|
||||
{
|
||||
std::string name = config().getString("application.baseName");
|
||||
std::string path = config().getString("application.path");
|
||||
|
||||
|
||||
WinService service(name);
|
||||
if (_displayName.empty())
|
||||
service.registerService(path);
|
||||
@ -386,7 +386,7 @@ void ServerApplication::registerService()
|
||||
void ServerApplication::unregisterService()
|
||||
{
|
||||
std::string name = config().getString("application.baseName");
|
||||
|
||||
|
||||
WinService service(name);
|
||||
service.unregisterService();
|
||||
logger().information("The service has been successfully unregistered.");
|
||||
@ -629,7 +629,7 @@ int ServerApplication::run(const std::vector<std::string>& args)
|
||||
runAsDaemon = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (runAsDaemon)
|
||||
{
|
||||
beDaemon();
|
||||
@ -672,10 +672,10 @@ void ServerApplication::beDaemon()
|
||||
throw SystemException("cannot fork daemon process");
|
||||
else if (pid != 0)
|
||||
exit(0);
|
||||
|
||||
|
||||
setsid();
|
||||
umask(027);
|
||||
|
||||
|
||||
// attach stdin, stdout, stderr to /dev/null
|
||||
// instead of just closing them. This avoids
|
||||
// issues with third party/legacy code writing
|
||||
@ -750,91 +750,6 @@ void ServerApplication::handlePidFile(const std::string& rName, const std::strin
|
||||
}
|
||||
|
||||
|
||||
#elif defined(POCO_OS_FAMILY_VMS)
|
||||
|
||||
|
||||
//
|
||||
// VMS specific code
|
||||
//
|
||||
namespace
|
||||
{
|
||||
static void handleSignal(int sig)
|
||||
{
|
||||
ServerApplication::terminate();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void ServerApplication::waitForTerminationRequest()
|
||||
{
|
||||
struct sigaction handler;
|
||||
handler.sa_handler = handleSignal;
|
||||
handler.sa_flags = 0;
|
||||
sigemptyset(&handler.sa_mask);
|
||||
sigaction(SIGINT, &handler, NULL);
|
||||
sigaction(SIGQUIT, &handler, NULL);
|
||||
|
||||
long ctrlY = LIB$M_CLI_CTRLY;
|
||||
unsigned short ioChan;
|
||||
$DESCRIPTOR(ttDsc, "TT:");
|
||||
|
||||
lib$disable_ctrl(&ctrlY);
|
||||
sys$assign(&ttDsc, &ioChan, 0, 0);
|
||||
sys$qiow(0, ioChan, IO$_SETMODE | IO$M_CTRLYAST, 0, 0, 0, terminate, 0, 0, 0, 0, 0);
|
||||
sys$qiow(0, ioChan, IO$_SETMODE | IO$M_CTRLCAST, 0, 0, 0, terminate, 0, 0, 0, 0, 0);
|
||||
|
||||
std::string evName("POCOTRM");
|
||||
NumberFormatter::appendHex(evName, Poco::Process::id(), 8);
|
||||
Poco::NamedEvent ev(evName);
|
||||
try
|
||||
{
|
||||
ev.wait();
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
// CTRL-C will cause an exception to be raised
|
||||
}
|
||||
sys$dassgn(ioChan);
|
||||
lib$enable_ctrl(&ctrlY);
|
||||
}
|
||||
|
||||
|
||||
int ServerApplication::run(int argc, char** argv)
|
||||
{
|
||||
try
|
||||
{
|
||||
init(argc, argv);
|
||||
}
|
||||
catch (Exception& exc)
|
||||
{
|
||||
logger().log(exc);
|
||||
return EXIT_CONFIG;
|
||||
}
|
||||
return run();
|
||||
}
|
||||
|
||||
|
||||
int ServerApplication::run(const std::vector<std::string>& args)
|
||||
{
|
||||
try
|
||||
{
|
||||
init(args);
|
||||
}
|
||||
catch (Exception& exc)
|
||||
{
|
||||
logger().log(exc);
|
||||
return EXIT_CONFIG;
|
||||
}
|
||||
return run();
|
||||
}
|
||||
|
||||
|
||||
void ServerApplication::defineOptions(OptionSet& options)
|
||||
{
|
||||
Application::defineOptions(options);
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
@ -93,6 +93,8 @@ else (CYGWIN)
|
||||
elseif(${CMAKE_SYSTEM} MATCHES "SunOS")
|
||||
add_definitions(-m64)
|
||||
set(SYSLIBS pthread dl rt)
|
||||
elseif (CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
|
||||
add_definitions( -D_XOPEN_SOURCE=500 -DPOCO_HAVE_FD_POLL)
|
||||
else ()
|
||||
add_definitions(-D_XOPEN_SOURCE=500 -DPOCO_HAVE_FD_EPOLL)
|
||||
set(SYSLIBS pthread dl rt)
|
||||
|
Loading…
x
Reference in New Issue
Block a user