├── .github └── workflows │ ├── ci.yml │ └── publish.yml ├── .gitignore ├── .vscode ├── c_cpp_properties.json └── settings.json ├── CHANGELOG.md ├── CMakeLists.txt ├── CppUnit ├── CMakeLists.txt ├── CppUnit.progen ├── Makefile ├── doc │ ├── README.html │ ├── cookbook.htm │ ├── license.htm │ └── test.gif ├── include │ └── CppUnit │ │ ├── CppUnit.h │ │ ├── CppUnitException.h │ │ ├── Guards.h │ │ ├── Orthodox.h │ │ ├── RepeatedTest.h │ │ ├── Test.h │ │ ├── TestCaller.h │ │ ├── TestCase.h │ │ ├── TestDecorator.h │ │ ├── TestFailure.h │ │ ├── TestResult.h │ │ ├── TestRunner.h │ │ ├── TestSetup.h │ │ ├── TestSuite.h │ │ ├── TextTestResult.h │ │ └── estring.h └── src │ ├── CppUnitException.cpp │ ├── TestCase.cpp │ ├── TestDecorator.cpp │ ├── TestFailure.cpp │ ├── TestResult.cpp │ ├── TestRunner.cpp │ ├── TestSuite.cpp │ └── TextTestResult.cpp ├── Crypto ├── CMakeLists.txt ├── Crypto.progen ├── Makefile ├── cmake │ └── PocoCryptoConfig.cmake ├── include │ └── Poco │ │ └── Crypto │ │ ├── Cipher.h │ │ ├── CipherFactory.h │ │ ├── CipherImpl.h │ │ ├── CipherKey.h │ │ ├── CipherKeyImpl.h │ │ ├── Crypto.h │ │ ├── CryptoException.h │ │ ├── CryptoStream.h │ │ ├── CryptoTransform.h │ │ ├── DigestEngine.h │ │ ├── ECDSADigestEngine.h │ │ ├── ECKey.h │ │ ├── ECKeyImpl.h │ │ ├── EVPPKey.h │ │ ├── KeyPair.h │ │ ├── KeyPairImpl.h │ │ ├── OpenSSLInitializer.h │ │ ├── PKCS12Container.h │ │ ├── RSACipherImpl.h │ │ ├── RSADigestEngine.h │ │ ├── RSAKey.h │ │ ├── RSAKeyImpl.h │ │ └── X509Certificate.h ├── samples │ ├── CMakeLists.txt │ ├── Makefile │ ├── genrsakey │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── genrsakey.progen │ │ └── src │ │ │ └── genrsakey.cpp │ └── samples.progen ├── src │ ├── Cipher.cpp │ ├── CipherFactory.cpp │ ├── CipherImpl.cpp │ ├── CipherKey.cpp │ ├── CipherKeyImpl.cpp │ ├── CryptoException.cpp │ ├── CryptoStream.cpp │ ├── CryptoTransform.cpp │ ├── DigestEngine.cpp │ ├── ECDSADigestEngine.cpp │ ├── ECKey.cpp │ ├── ECKeyImpl.cpp │ ├── EVPPKey.cpp │ ├── KeyPair.cpp │ ├── KeyPairImpl.cpp │ ├── OpenSSLInitializer.cpp │ ├── PKCS12Container.cpp │ ├── RSACipherImpl.cpp │ ├── RSADigestEngine.cpp │ ├── RSAKey.cpp │ ├── RSAKeyImpl.cpp │ └── X509Certificate.cpp └── testsuite │ ├── CMakeLists.txt │ ├── Makefile │ ├── TestSuite.progen │ ├── data │ ├── certs-only.p12 │ ├── certs-only.pem │ ├── full.p12 │ └── full.pem │ └── src │ ├── CryptoTest.cpp │ ├── CryptoTest.h │ ├── CryptoTestSuite.cpp │ ├── CryptoTestSuite.h │ ├── DigestEngineTest.cpp │ ├── DigestEngineTest.h │ ├── Driver.cpp │ ├── ECTest.cpp │ ├── ECTest.h │ ├── EVPTest.cpp │ ├── EVPTest.h │ ├── PKCS12ContainerTest.cpp │ ├── PKCS12ContainerTest.h │ ├── RSATest.cpp │ ├── RSATest.h │ ├── WinCEDriver.cpp │ └── WinDriver.cpp ├── DLLVersion.rc ├── Foundation ├── CMakeLists.txt ├── Makefile ├── cmake │ └── PocoFoundationConfig.cmake ├── include │ └── Poco │ │ ├── ASCIIEncoding.h │ │ ├── AbstractCache.h │ │ ├── AbstractDelegate.h │ │ ├── AbstractEvent.h │ │ ├── AbstractObserver.h │ │ ├── AbstractPriorityDelegate.h │ │ ├── AbstractStrategy.h │ │ ├── AccessExpirationDecorator.h │ │ ├── AccessExpireCache.h │ │ ├── AccessExpireLRUCache.h │ │ ├── AccessExpireStrategy.h │ │ ├── ActiveDispatcher.h │ │ ├── ActiveMethod.h │ │ ├── ActiveResult.h │ │ ├── ActiveRunnable.h │ │ ├── ActiveStarter.h │ │ ├── Activity.h │ │ ├── Alignment.h │ │ ├── Any.h │ │ ├── ArchiveStrategy.h │ │ ├── Array.h │ │ ├── Ascii.h │ │ ├── AsyncChannel.h │ │ ├── AtomicCounter.h │ │ ├── AtomicFlag.h │ │ ├── AutoPtr.h │ │ ├── AutoReleasePool.h │ │ ├── Base32Decoder.h │ │ ├── Base32Encoder.h │ │ ├── Base64Decoder.h │ │ ├── Base64Encoder.h │ │ ├── BasicEvent.h │ │ ├── BinaryReader.h │ │ ├── BinaryWriter.h │ │ ├── Buffer.h │ │ ├── BufferAllocator.h │ │ ├── BufferedBidirectionalStreamBuf.h │ │ ├── BufferedStreamBuf.h │ │ ├── Bugcheck.h │ │ ├── ByteOrder.h │ │ ├── Channel.h │ │ ├── Checksum.h │ │ ├── ClassLibrary.h │ │ ├── ClassLoader.h │ │ ├── Clock.h │ │ ├── Condition.h │ │ ├── Config.h │ │ ├── Configurable.h │ │ ├── ConsoleChannel.h │ │ ├── CountingStream.h │ │ ├── DataURIStream.h │ │ ├── DataURIStreamFactory.h │ │ ├── DateTime.h │ │ ├── DateTimeFormat.h │ │ ├── DateTimeFormatter.h │ │ ├── DateTimeParser.h │ │ ├── Debugger.h │ │ ├── DefaultStrategy.h │ │ ├── DeflatingStream.h │ │ ├── Delegate.h │ │ ├── DigestEngine.h │ │ ├── DigestStream.h │ │ ├── DirectoryIterator.h │ │ ├── DirectoryIteratorStrategy.h │ │ ├── DirectoryIterator_UNIX.h │ │ ├── DirectoryIterator_WIN32U.h │ │ ├── DirectoryWatcher.h │ │ ├── Dynamic │ │ ├── Pair.h │ │ ├── Struct.h │ │ ├── Var.h │ │ ├── VarHolder.h │ │ └── VarIterator.h │ │ ├── DynamicAny.h │ │ ├── DynamicAnyHolder.h │ │ ├── DynamicFactory.h │ │ ├── DynamicStruct.h │ │ ├── Environment.h │ │ ├── Environment_UNIX.h │ │ ├── Environment_VX.h │ │ ├── Environment_WIN32U.h │ │ ├── Environment_WINCE.h │ │ ├── Error.h │ │ ├── ErrorHandler.h │ │ ├── Event.h │ │ ├── EventArgs.h │ │ ├── EventChannel.h │ │ ├── EventLogChannel.h │ │ ├── Event_POSIX.h │ │ ├── Event_VX.h │ │ ├── Event_WIN32.h │ │ ├── Exception.h │ │ ├── ExpirationDecorator.h │ │ ├── Expire.h │ │ ├── ExpireCache.h │ │ ├── ExpireLRUCache.h │ │ ├── ExpireStrategy.h │ │ ├── FIFOBuffer.h │ │ ├── FIFOBufferStream.h │ │ ├── FIFOEvent.h │ │ ├── FIFOStrategy.h │ │ ├── FPEnvironment.h │ │ ├── FPEnvironment_C99.h │ │ ├── FPEnvironment_DEC.h │ │ ├── FPEnvironment_DUMMY.h │ │ ├── FPEnvironment_QNX.h │ │ ├── FPEnvironment_SUN.h │ │ ├── FPEnvironment_WIN32.h │ │ ├── File.h │ │ ├── FileChannel.h │ │ ├── FileStream.h │ │ ├── FileStreamFactory.h │ │ ├── FileStream_POSIX.h │ │ ├── FileStream_WIN32.h │ │ ├── File_UNIX.h │ │ ├── File_VX.h │ │ ├── File_WIN32U.h │ │ ├── File_WINCE.h │ │ ├── Format.h │ │ ├── Formatter.h │ │ ├── FormattingChannel.h │ │ ├── Foundation.h │ │ ├── FunctionDelegate.h │ │ ├── FunctionPriorityDelegate.h │ │ ├── Glob.h │ │ ├── HMACEngine.h │ │ ├── Hash.h │ │ ├── HashFunction.h │ │ ├── HashMap.h │ │ ├── HashSet.h │ │ ├── HashStatistic.h │ │ ├── HashTable.h │ │ ├── HexBinaryDecoder.h │ │ ├── HexBinaryEncoder.h │ │ ├── InflatingStream.h │ │ ├── Instantiator.h │ │ ├── JSONString.h │ │ ├── KeyValueArgs.h │ │ ├── LRUCache.h │ │ ├── LRUStrategy.h │ │ ├── Latin1Encoding.h │ │ ├── Latin2Encoding.h │ │ ├── Latin9Encoding.h │ │ ├── LineEndingConverter.h │ │ ├── LinearHashTable.h │ │ ├── ListMap.h │ │ ├── LocalDateTime.h │ │ ├── LogFile.h │ │ ├── LogFile_STD.h │ │ ├── LogFile_WIN32U.h │ │ ├── LogStream.h │ │ ├── Logger.h │ │ ├── LoggingFactory.h │ │ ├── LoggingRegistry.h │ │ ├── MD4Engine.h │ │ ├── MD5Engine.h │ │ ├── Manifest.h │ │ ├── MemoryPool.h │ │ ├── MemoryStream.h │ │ ├── Message.h │ │ ├── MetaObject.h │ │ ├── MetaProgramming.h │ │ ├── Mutex.h │ │ ├── Mutex_POSIX.h │ │ ├── Mutex_VX.h │ │ ├── Mutex_WIN32.h │ │ ├── Mutex_WINCE.h │ │ ├── NObserver.h │ │ ├── NamedEvent.h │ │ ├── NamedEvent_Android.h │ │ ├── NamedEvent_UNIX.h │ │ ├── NamedEvent_WIN32U.h │ │ ├── NamedMutex.h │ │ ├── NamedMutex_Android.h │ │ ├── NamedMutex_UNIX.h │ │ ├── NamedMutex_WIN32U.h │ │ ├── NamedTuple.h │ │ ├── NestedDiagnosticContext.h │ │ ├── Notification.h │ │ ├── NotificationCenter.h │ │ ├── NotificationQueue.h │ │ ├── NotificationStrategy.h │ │ ├── NullChannel.h │ │ ├── NullStream.h │ │ ├── Nullable.h │ │ ├── NumberFormatter.h │ │ ├── NumberParser.h │ │ ├── NumericString.h │ │ ├── ObjectPool.h │ │ ├── Observer.h │ │ ├── Optional.h │ │ ├── OrderedMap.h │ │ ├── OrderedSet.h │ │ ├── PBKDF2Engine.h │ │ ├── Path.h │ │ ├── Path_UNIX.h │ │ ├── Path_WIN32U.h │ │ ├── Path_WINCE.h │ │ ├── PatternFormatter.h │ │ ├── Pipe.h │ │ ├── PipeImpl.h │ │ ├── PipeImpl_DUMMY.h │ │ ├── PipeImpl_POSIX.h │ │ ├── PipeImpl_WIN32.h │ │ ├── PipeStream.h │ │ ├── Platform.h │ │ ├── Platform_POSIX.h │ │ ├── Platform_VX.h │ │ ├── Platform_WIN32.h │ │ ├── Poco.h │ │ ├── PriorityDelegate.h │ │ ├── PriorityEvent.h │ │ ├── PriorityExpire.h │ │ ├── PriorityNotificationQueue.h │ │ ├── PriorityStrategy.h │ │ ├── Process.h │ │ ├── Process_UNIX.h │ │ ├── Process_VX.h │ │ ├── Process_WIN32U.h │ │ ├── Process_WINCE.h │ │ ├── PurgeStrategy.h │ │ ├── RWLock.h │ │ ├── RWLock_Android.h │ │ ├── RWLock_POSIX.h │ │ ├── RWLock_VX.h │ │ ├── RWLock_WIN32.h │ │ ├── RWLock_WINCE.h │ │ ├── Random.h │ │ ├── RandomStream.h │ │ ├── RecursiveDirectoryIterator.h │ │ ├── RecursiveDirectoryIteratorImpl.h │ │ ├── RefCountedObject.h │ │ ├── RegularExpression.h │ │ ├── RotateStrategy.h │ │ ├── Runnable.h │ │ ├── RunnableAdapter.h │ │ ├── SHA1Engine.h │ │ ├── SHA2Engine.h │ │ ├── ScopedLock.h │ │ ├── ScopedUnlock.h │ │ ├── Semaphore.h │ │ ├── Semaphore_POSIX.h │ │ ├── Semaphore_VX.h │ │ ├── Semaphore_WIN32.h │ │ ├── SharedLibrary.h │ │ ├── SharedLibrary_HPUX.h │ │ ├── SharedLibrary_UNIX.h │ │ ├── SharedLibrary_VX.h │ │ ├── SharedLibrary_WIN32U.h │ │ ├── SharedMemory.h │ │ ├── SharedMemory_DUMMY.h │ │ ├── SharedMemory_POSIX.h │ │ ├── SharedMemory_WIN32.h │ │ ├── SharedPtr.h │ │ ├── SignalHandler.h │ │ ├── SimpleFileChannel.h │ │ ├── SimpleHashTable.h │ │ ├── SingletonHolder.h │ │ ├── SortedDirectoryIterator.h │ │ ├── SplitterChannel.h │ │ ├── Stopwatch.h │ │ ├── StrategyCollection.h │ │ ├── StreamChannel.h │ │ ├── StreamConverter.h │ │ ├── StreamCopier.h │ │ ├── StreamTokenizer.h │ │ ├── StreamUtil.h │ │ ├── String.h │ │ ├── StringTokenizer.h │ │ ├── SynchronizedObject.h │ │ ├── SyslogChannel.h │ │ ├── Task.h │ │ ├── TaskManager.h │ │ ├── TaskNotification.h │ │ ├── TeeStream.h │ │ ├── TemporaryFile.h │ │ ├── TextBufferIterator.h │ │ ├── TextConverter.h │ │ ├── TextEncoding.h │ │ ├── TextIterator.h │ │ ├── Thread.h │ │ ├── ThreadLocal.h │ │ ├── ThreadPool.h │ │ ├── ThreadTarget.h │ │ ├── Thread_POSIX.h │ │ ├── Thread_VX.h │ │ ├── Thread_WIN32.h │ │ ├── Thread_WINCE.h │ │ ├── TimedNotificationQueue.h │ │ ├── Timer.h │ │ ├── Timespan.h │ │ ├── Timestamp.h │ │ ├── Timezone.h │ │ ├── Token.h │ │ ├── Tuple.h │ │ ├── TypeList.h │ │ ├── Types.h │ │ ├── URI.h │ │ ├── URIStreamFactory.h │ │ ├── URIStreamOpener.h │ │ ├── UTF16Encoding.h │ │ ├── UTF32Encoding.h │ │ ├── UTF8Encoding.h │ │ ├── UTF8String.h │ │ ├── UTFString.h │ │ ├── UUID.h │ │ ├── UUIDGenerator.h │ │ ├── UnWindows.h │ │ ├── UnbufferedStreamBuf.h │ │ ├── Unicode.h │ │ ├── UnicodeConverter.h │ │ ├── UniqueAccessExpireCache.h │ │ ├── UniqueAccessExpireLRUCache.h │ │ ├── UniqueAccessExpireStrategy.h │ │ ├── UniqueExpireCache.h │ │ ├── UniqueExpireLRUCache.h │ │ ├── UniqueExpireStrategy.h │ │ ├── ValidArgs.h │ │ ├── Version.h │ │ ├── Void.h │ │ ├── Windows1250Encoding.h │ │ ├── Windows1251Encoding.h │ │ ├── Windows1252Encoding.h │ │ ├── WindowsConsoleChannel.h │ │ ├── ordered_hash.h │ │ ├── ordered_map.h │ │ ├── ordered_set.h │ │ ├── zconf.h │ │ └── zlib.h ├── samples │ ├── ActiveMethod │ │ ├── ActiveMethod.progen │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ └── src │ │ │ └── ActiveMethod.cpp │ ├── Activity │ │ ├── Activity.progen │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ └── src │ │ │ └── Activity.cpp │ ├── BinaryReaderWriter │ │ ├── BinaryReaderWriter.progen │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ └── src │ │ │ └── BinaryReaderWriter.cpp │ ├── CMakeLists.txt │ ├── DateTime │ │ ├── CMakeLists.txt │ │ ├── DateTime.progen │ │ ├── Makefile │ │ └── src │ │ │ └── DateTime.cpp │ ├── LineEndingConverter │ │ ├── CMakeLists.txt │ │ ├── LineEndingConverter.progen │ │ ├── Makefile │ │ └── src │ │ │ └── LineEndingConverter.cpp │ ├── LogRotation │ │ ├── CMakeLists.txt │ │ ├── LogRotation.progen │ │ ├── Makefile │ │ └── src │ │ │ └── LogRotation.cpp │ ├── Logger │ │ ├── CMakeLists.txt │ │ ├── Logger.progen │ │ ├── Makefile │ │ └── src │ │ │ └── Logger.cpp │ ├── Makefile │ ├── NotificationQueue │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── NotificationQueue.progen │ │ └── src │ │ │ └── NotificationQueue.cpp │ ├── StringTokenizer │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── StringTokenizer.progen │ │ └── src │ │ │ └── StringTokenizer.cpp │ ├── Timer │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── Timer.progen │ │ └── src │ │ │ └── Timer.cpp │ ├── URI │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── URI.progen │ │ └── src │ │ │ └── URI.cpp │ ├── base64decode │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── base64decode.progen │ │ └── src │ │ │ └── base64decode.cpp │ ├── base64encode │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── base64encode.progen │ │ └── src │ │ │ └── base64encode.cpp │ ├── deflate │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── deflate.progen │ │ └── src │ │ │ └── deflate.cpp │ ├── dir │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── dir.progen │ │ └── src │ │ │ └── dir.cpp │ ├── grep │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── grep.progen │ │ └── src │ │ │ └── grep.cpp │ ├── hmacmd5 │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── hmacmd5.progen │ │ └── src │ │ │ └── hmacmd5.cpp │ ├── inflate │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── inflate.progen │ │ └── src │ │ │ └── inflate.cpp │ ├── md5 │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── md5.progen │ │ └── src │ │ │ └── md5.cpp │ ├── samples.progen │ └── uuidgen │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── src │ │ └── uuidgen.cpp │ │ └── uuidgen.progen ├── src │ ├── ASCIIEncoding.cpp │ ├── AbstractObserver.cpp │ ├── ActiveDispatcher.cpp │ ├── ArchiveStrategy.cpp │ ├── Ascii.cpp │ ├── AsyncChannel.cpp │ ├── AtomicCounter.cpp │ ├── AtomicFlag.cpp │ ├── Base32Decoder.cpp │ ├── Base32Encoder.cpp │ ├── Base64Decoder.cpp │ ├── Base64Encoder.cpp │ ├── BinaryReader.cpp │ ├── BinaryWriter.cpp │ ├── Bugcheck.cpp │ ├── ByteOrder.cpp │ ├── Channel.cpp │ ├── Checksum.cpp │ ├── Clock.cpp │ ├── Condition.cpp │ ├── Configurable.cpp │ ├── ConsoleChannel.cpp │ ├── CountingStream.cpp │ ├── DataURIStream.cpp │ ├── DataURIStreamFactory.cpp │ ├── DateTime.cpp │ ├── DateTimeFormat.cpp │ ├── DateTimeFormatter.cpp │ ├── DateTimeParser.cpp │ ├── Debugger.cpp │ ├── DeflatingStream.cpp │ ├── DigestEngine.cpp │ ├── DigestStream.cpp │ ├── DirectoryIterator.cpp │ ├── DirectoryIteratorStrategy.cpp │ ├── DirectoryIterator_UNIX.cpp │ ├── DirectoryIterator_WIN32U.cpp │ ├── DirectoryWatcher.cpp │ ├── Environment.cpp │ ├── Environment_UNIX.cpp │ ├── Environment_VX.cpp │ ├── Environment_WIN32U.cpp │ ├── Environment_WINCE.cpp │ ├── Error.cpp │ ├── ErrorHandler.cpp │ ├── Event.cpp │ ├── EventArgs.cpp │ ├── EventChannel.cpp │ ├── EventLogChannel.cpp │ ├── Event_POSIX.cpp │ ├── Event_VX.cpp │ ├── Event_WIN32.cpp │ ├── Exception.cpp │ ├── FIFOBufferStream.cpp │ ├── FPEnvironment.cpp │ ├── FPEnvironment_C99.cpp │ ├── FPEnvironment_DEC.cpp │ ├── FPEnvironment_DUMMY.cpp │ ├── FPEnvironment_QNX.cpp │ ├── FPEnvironment_SUN.cpp │ ├── FPEnvironment_WIN32.cpp │ ├── File.cpp │ ├── FileChannel.cpp │ ├── FileStream.cpp │ ├── FileStreamFactory.cpp │ ├── FileStream_POSIX.cpp │ ├── FileStream_WIN32.cpp │ ├── File_UNIX.cpp │ ├── File_VX.cpp │ ├── File_WIN32U.cpp │ ├── File_WINCE.cpp │ ├── Format.cpp │ ├── Formatter.cpp │ ├── FormattingChannel.cpp │ ├── Glob.cpp │ ├── Hash.cpp │ ├── HashStatistic.cpp │ ├── HexBinaryDecoder.cpp │ ├── HexBinaryEncoder.cpp │ ├── InflatingStream.cpp │ ├── JSONString.cpp │ ├── Latin1Encoding.cpp │ ├── Latin2Encoding.cpp │ ├── Latin9Encoding.cpp │ ├── LineEndingConverter.cpp │ ├── LocalDateTime.cpp │ ├── LogFile.cpp │ ├── LogFile_STD.cpp │ ├── LogFile_WIN32U.cpp │ ├── LogStream.cpp │ ├── Logger.cpp │ ├── LoggingFactory.cpp │ ├── LoggingRegistry.cpp │ ├── MD4Engine.cpp │ ├── MD5Engine.cpp │ ├── MSG00001.bin │ ├── Manifest.cpp │ ├── MemoryPool.cpp │ ├── MemoryStream.cpp │ ├── Message.cpp │ ├── Mutex.cpp │ ├── Mutex_POSIX.cpp │ ├── Mutex_VX.cpp │ ├── Mutex_WIN32.cpp │ ├── Mutex_WINCE.cpp │ ├── NamedEvent.cpp │ ├── NamedEvent_Android.cpp │ ├── NamedEvent_UNIX.cpp │ ├── NamedEvent_WIN32U.cpp │ ├── NamedMutex.cpp │ ├── NamedMutex_Android.cpp │ ├── NamedMutex_UNIX.cpp │ ├── NamedMutex_WIN32U.cpp │ ├── NestedDiagnosticContext.cpp │ ├── Notification.cpp │ ├── NotificationCenter.cpp │ ├── NotificationQueue.cpp │ ├── NullChannel.cpp │ ├── NullStream.cpp │ ├── NumberFormatter.cpp │ ├── NumberParser.cpp │ ├── NumericString.cpp │ ├── Path.cpp │ ├── Path_UNIX.cpp │ ├── Path_WIN32U.cpp │ ├── Path_WINCE.cpp │ ├── PatternFormatter.cpp │ ├── Pipe.cpp │ ├── PipeImpl.cpp │ ├── PipeImpl_DUMMY.cpp │ ├── PipeImpl_POSIX.cpp │ ├── PipeImpl_WIN32.cpp │ ├── PipeStream.cpp │ ├── PriorityNotificationQueue.cpp │ ├── Process.cpp │ ├── Process_UNIX.cpp │ ├── Process_VX.cpp │ ├── Process_WIN32U.cpp │ ├── Process_WINCE.cpp │ ├── PurgeStrategy.cpp │ ├── RWLock.cpp │ ├── RWLock_Android.cpp │ ├── RWLock_POSIX.cpp │ ├── RWLock_VX.cpp │ ├── RWLock_WIN32.cpp │ ├── RWLock_WINCE.cpp │ ├── Random.cpp │ ├── RandomStream.cpp │ ├── RefCountedObject.cpp │ ├── RegularExpression.cpp │ ├── RotateStrategy.cpp │ ├── Runnable.cpp │ ├── SHA1Engine.cpp │ ├── SHA2Engine.cpp │ ├── Semaphore.cpp │ ├── Semaphore_POSIX.cpp │ ├── Semaphore_VX.cpp │ ├── Semaphore_WIN32.cpp │ ├── SharedLibrary.cpp │ ├── SharedLibrary_HPUX.cpp │ ├── SharedLibrary_UNIX.cpp │ ├── SharedLibrary_VX.cpp │ ├── SharedLibrary_WIN32U.cpp │ ├── SharedMemory.cpp │ ├── SharedMemory_DUMMY.cpp │ ├── SharedMemory_POSIX.cpp │ ├── SharedMemory_WIN32.cpp │ ├── SignalHandler.cpp │ ├── SimpleFileChannel.cpp │ ├── SortedDirectoryIterator.cpp │ ├── SplitterChannel.cpp │ ├── Stopwatch.cpp │ ├── StreamChannel.cpp │ ├── StreamConverter.cpp │ ├── StreamCopier.cpp │ ├── StreamTokenizer.cpp │ ├── String.cpp │ ├── StringTokenizer.cpp │ ├── SynchronizedObject.cpp │ ├── SyslogChannel.cpp │ ├── Task.cpp │ ├── TaskManager.cpp │ ├── TaskNotification.cpp │ ├── TeeStream.cpp │ ├── TemporaryFile.cpp │ ├── TextBufferIterator.cpp │ ├── TextConverter.cpp │ ├── TextEncoding.cpp │ ├── TextIterator.cpp │ ├── Thread.cpp │ ├── ThreadLocal.cpp │ ├── ThreadPool.cpp │ ├── ThreadTarget.cpp │ ├── Thread_POSIX.cpp │ ├── Thread_VX.cpp │ ├── Thread_WIN32.cpp │ ├── Thread_WINCE.cpp │ ├── TimedNotificationQueue.cpp │ ├── Timer.cpp │ ├── Timespan.cpp │ ├── Timestamp.cpp │ ├── Timezone.cpp │ ├── Timezone_UNIX.cpp │ ├── Timezone_VX.cpp │ ├── Timezone_WIN32.cpp │ ├── Timezone_WINCE.cpp │ ├── Token.cpp │ ├── URI.cpp │ ├── URIStreamFactory.cpp │ ├── URIStreamOpener.cpp │ ├── UTF16Encoding.cpp │ ├── UTF32Encoding.cpp │ ├── UTF8Encoding.cpp │ ├── UTF8String.cpp │ ├── UUID.cpp │ ├── UUIDGenerator.cpp │ ├── Unicode.cpp │ ├── UnicodeConverter.cpp │ ├── Var.cpp │ ├── VarHolder.cpp │ ├── VarIterator.cpp │ ├── Void.cpp │ ├── Windows1250Encoding.cpp │ ├── Windows1251Encoding.cpp │ ├── Windows1252Encoding.cpp │ ├── WindowsConsoleChannel.cpp │ ├── adler32.c │ ├── bignum-dtoa.cc │ ├── bignum-dtoa.h │ ├── bignum.cc │ ├── bignum.h │ ├── cached-powers.cc │ ├── cached-powers.h │ ├── compress.c │ ├── crc32.c │ ├── crc32.h │ ├── deflate.c │ ├── deflate.h │ ├── diy-fp.cc │ ├── diy-fp.h │ ├── double-conversion.cc │ ├── double-conversion.h │ ├── fast-dtoa.cc │ ├── fast-dtoa.h │ ├── fixed-dtoa.cc │ ├── fixed-dtoa.h │ ├── gzguts.h │ ├── ieee.h │ ├── infback.c │ ├── inffast.c │ ├── inffast.h │ ├── inffixed.h │ ├── inflate.c │ ├── inflate.h │ ├── inftrees.c │ ├── inftrees.h │ ├── pcre.h │ ├── pcre_byte_order.c │ ├── pcre_chartables.c │ ├── pcre_compile.c │ ├── pcre_config.c │ ├── pcre_config.h │ ├── pcre_dfa_exec.c │ ├── pcre_exec.c │ ├── pcre_fullinfo.c │ ├── pcre_get.c │ ├── pcre_globals.c │ ├── pcre_internal.h │ ├── pcre_jit_compile.c │ ├── pcre_maketables.c │ ├── pcre_newline.c │ ├── pcre_ord2utf8.c │ ├── pcre_refcount.c │ ├── pcre_string_utils.c │ ├── pcre_study.c │ ├── pcre_tables.c │ ├── pcre_ucd.c │ ├── pcre_valid_utf8.c │ ├── pcre_version.c │ ├── pcre_xclass.c │ ├── pocomsg.mc │ ├── strtod.cc │ ├── strtod.h │ ├── trees.c │ ├── trees.h │ ├── ucp.h │ ├── utils.h │ ├── zconf.h │ ├── zlib.h │ ├── zutil.c │ └── zutil.h ├── testsuite │ ├── CMakeLists.txt │ ├── Makefile │ ├── Makefile-Driver │ ├── Makefile-TestApp │ ├── Makefile-TestLibrary │ ├── data │ │ └── testdata.txt │ └── src │ │ ├── ActiveDispatcherTest.cpp │ │ ├── ActiveDispatcherTest.h │ │ ├── ActiveMethodTest.cpp │ │ ├── ActiveMethodTest.h │ │ ├── ActivityTest.cpp │ │ ├── ActivityTest.h │ │ ├── AnyTest.cpp │ │ ├── AnyTest.h │ │ ├── ArrayTest.cpp │ │ ├── ArrayTest.h │ │ ├── AutoPtrTest.cpp │ │ ├── AutoPtrTest.h │ │ ├── AutoReleasePoolTest.cpp │ │ ├── AutoReleasePoolTest.h │ │ ├── Base32Test.cpp │ │ ├── Base32Test.h │ │ ├── Base64Test.cpp │ │ ├── Base64Test.h │ │ ├── BasicEventTest.cpp │ │ ├── BasicEventTest.h │ │ ├── BinaryReaderWriterTest.cpp │ │ ├── BinaryReaderWriterTest.h │ │ ├── ByteOrderTest.cpp │ │ ├── ByteOrderTest.h │ │ ├── CacheTestSuite.cpp │ │ ├── CacheTestSuite.h │ │ ├── ChannelTest.cpp │ │ ├── ChannelTest.h │ │ ├── ClassLoaderTest.cpp │ │ ├── ClassLoaderTest.h │ │ ├── ClockTest.cpp │ │ ├── ClockTest.h │ │ ├── ConditionTest.cpp │ │ ├── ConditionTest.h │ │ ├── CoreTest.cpp │ │ ├── CoreTest.h │ │ ├── CoreTestSuite.cpp │ │ ├── CoreTestSuite.h │ │ ├── CountingStreamTest.cpp │ │ ├── CountingStreamTest.h │ │ ├── CryptTestSuite.cpp │ │ ├── CryptTestSuite.h │ │ ├── DataURIStreamTest.cpp │ │ ├── DataURIStreamTest.h │ │ ├── DateTimeFormatterTest.cpp │ │ ├── DateTimeFormatterTest.h │ │ ├── DateTimeParserTest.cpp │ │ ├── DateTimeParserTest.h │ │ ├── DateTimeTest.cpp │ │ ├── DateTimeTest.h │ │ ├── DateTimeTestSuite.cpp │ │ ├── DateTimeTestSuite.h │ │ ├── DigestStreamTest.cpp │ │ ├── DigestStreamTest.h │ │ ├── DirectoryIteratorsTest.cpp │ │ ├── DirectoryIteratorsTest.h │ │ ├── DirectoryWatcherTest.cpp │ │ ├── DirectoryWatcherTest.h │ │ ├── Driver.cpp │ │ ├── DummyDelegate.cpp │ │ ├── DummyDelegate.h │ │ ├── DynamicFactoryTest.cpp │ │ ├── DynamicFactoryTest.h │ │ ├── DynamicTestSuite.cpp │ │ ├── DynamicTestSuite.h │ │ ├── EventTestSuite.cpp │ │ ├── EventTestSuite.h │ │ ├── ExpireCacheTest.cpp │ │ ├── ExpireCacheTest.h │ │ ├── ExpireLRUCacheTest.cpp │ │ ├── ExpireLRUCacheTest.h │ │ ├── FIFOBufferStreamTest.cpp │ │ ├── FIFOBufferStreamTest.h │ │ ├── FIFOEventTest.cpp │ │ ├── FIFOEventTest.h │ │ ├── FPETest.cpp │ │ ├── FPETest.h │ │ ├── FileChannelTest.cpp │ │ ├── FileChannelTest.h │ │ ├── FileStreamTest.cpp │ │ ├── FileStreamTest.h │ │ ├── FileTest.cpp │ │ ├── FileTest.h │ │ ├── FilesystemTestSuite.cpp │ │ ├── FilesystemTestSuite.h │ │ ├── FormatTest.cpp │ │ ├── FormatTest.h │ │ ├── FoundationTestSuite.cpp │ │ ├── FoundationTestSuite.h │ │ ├── GlobTest.cpp │ │ ├── GlobTest.h │ │ ├── HMACEngineTest.cpp │ │ ├── HMACEngineTest.h │ │ ├── HashMapTest.cpp │ │ ├── HashMapTest.h │ │ ├── HashSetTest.cpp │ │ ├── HashSetTest.h │ │ ├── HashTableTest.cpp │ │ ├── HashTableTest.h │ │ ├── HashingTestSuite.cpp │ │ ├── HashingTestSuite.h │ │ ├── HexBinaryTest.cpp │ │ ├── HexBinaryTest.h │ │ ├── LRUCacheTest.cpp │ │ ├── LRUCacheTest.h │ │ ├── LineEndingConverterTest.cpp │ │ ├── LineEndingConverterTest.h │ │ ├── LinearHashTableTest.cpp │ │ ├── LinearHashTableTest.h │ │ ├── ListMapTest.cpp │ │ ├── ListMapTest.h │ │ ├── LocalDateTimeTest.cpp │ │ ├── LocalDateTimeTest.h │ │ ├── LogStreamTest.cpp │ │ ├── LogStreamTest.h │ │ ├── LoggerTest.cpp │ │ ├── LoggerTest.h │ │ ├── LoggingFactoryTest.cpp │ │ ├── LoggingFactoryTest.h │ │ ├── LoggingRegistryTest.cpp │ │ ├── LoggingRegistryTest.h │ │ ├── LoggingTestSuite.cpp │ │ ├── LoggingTestSuite.h │ │ ├── MD4EngineTest.cpp │ │ ├── MD4EngineTest.h │ │ ├── MD5EngineTest.cpp │ │ ├── MD5EngineTest.h │ │ ├── ManifestTest.cpp │ │ ├── ManifestTest.h │ │ ├── MemoryPoolTest.cpp │ │ ├── MemoryPoolTest.h │ │ ├── MemoryStreamTest.cpp │ │ ├── MemoryStreamTest.h │ │ ├── NDCTest.cpp │ │ ├── NDCTest.h │ │ ├── NamedEventTest.cpp │ │ ├── NamedEventTest.h │ │ ├── NamedMutexTest.cpp │ │ ├── NamedMutexTest.h │ │ ├── NamedTuplesTest.cpp │ │ ├── NamedTuplesTest.h │ │ ├── NotificationCenterTest.cpp │ │ ├── NotificationCenterTest.h │ │ ├── NotificationQueueTest.cpp │ │ ├── NotificationQueueTest.h │ │ ├── NotificationsTestSuite.cpp │ │ ├── NotificationsTestSuite.h │ │ ├── NullStreamTest.cpp │ │ ├── NullStreamTest.h │ │ ├── NumberFormatterTest.cpp │ │ ├── NumberFormatterTest.h │ │ ├── NumberParserTest.cpp │ │ ├── NumberParserTest.h │ │ ├── ObjectPoolTest.cpp │ │ ├── ObjectPoolTest.h │ │ ├── OrderedContainersTest.cpp │ │ ├── OrderedContainersTest.h │ │ ├── PBKDF2EngineTest.cpp │ │ ├── PBKDF2EngineTest.h │ │ ├── PathTest.cpp │ │ ├── PathTest.h │ │ ├── PatternFormatterTest.cpp │ │ ├── PatternFormatterTest.h │ │ ├── PriorityEventTest.cpp │ │ ├── PriorityEventTest.h │ │ ├── PriorityNotificationQueueTest.cpp │ │ ├── PriorityNotificationQueueTest.h │ │ ├── ProcessTest.cpp │ │ ├── ProcessTest.h │ │ ├── ProcessesTestSuite.cpp │ │ ├── ProcessesTestSuite.h │ │ ├── RWLockTest.cpp │ │ ├── RWLockTest.h │ │ ├── RandomStreamTest.cpp │ │ ├── RandomStreamTest.h │ │ ├── RandomTest.cpp │ │ ├── RandomTest.h │ │ ├── RegularExpressionTest.cpp │ │ ├── RegularExpressionTest.h │ │ ├── SHA1EngineTest.cpp │ │ ├── SHA1EngineTest.h │ │ ├── SHA2EngineTest.cpp │ │ ├── SHA2EngineTest.h │ │ ├── SemaphoreTest.cpp │ │ ├── SemaphoreTest.h │ │ ├── SharedLibraryTest.cpp │ │ ├── SharedLibraryTest.h │ │ ├── SharedLibraryTestSuite.cpp │ │ ├── SharedLibraryTestSuite.h │ │ ├── SharedMemoryTest.cpp │ │ ├── SharedMemoryTest.h │ │ ├── SharedPtrTest.cpp │ │ ├── SharedPtrTest.h │ │ ├── SimpleFileChannelTest.cpp │ │ ├── SimpleFileChannelTest.h │ │ ├── SimpleHashTableTest.cpp │ │ ├── SimpleHashTableTest.h │ │ ├── StopwatchTest.cpp │ │ ├── StopwatchTest.h │ │ ├── StreamConverterTest.cpp │ │ ├── StreamConverterTest.h │ │ ├── StreamCopierTest.cpp │ │ ├── StreamCopierTest.h │ │ ├── StreamTokenizerTest.cpp │ │ ├── StreamTokenizerTest.h │ │ ├── StreamsTestSuite.cpp │ │ ├── StreamsTestSuite.h │ │ ├── StringTest.cpp │ │ ├── StringTest.h │ │ ├── StringTokenizerTest.cpp │ │ ├── StringTokenizerTest.h │ │ ├── TaskManagerTest.cpp │ │ ├── TaskManagerTest.h │ │ ├── TaskTest.cpp │ │ ├── TaskTest.h │ │ ├── TaskTestSuite.cpp │ │ ├── TaskTestSuite.h │ │ ├── TeeStreamTest.cpp │ │ ├── TeeStreamTest.h │ │ ├── TestApp.cpp │ │ ├── TestApp_WINCE.cpp │ │ ├── TestChannel.cpp │ │ ├── TestChannel.h │ │ ├── TestLibrary.cpp │ │ ├── TestPlugin.cpp │ │ ├── TestPlugin.h │ │ ├── TextBufferIteratorTest.cpp │ │ ├── TextBufferIteratorTest.h │ │ ├── TextConverterTest.cpp │ │ ├── TextConverterTest.h │ │ ├── TextEncodingTest.cpp │ │ ├── TextEncodingTest.h │ │ ├── TextIteratorTest.cpp │ │ ├── TextIteratorTest.h │ │ ├── TextTestSuite.cpp │ │ ├── TextTestSuite.h │ │ ├── ThreadLocalTest.cpp │ │ ├── ThreadLocalTest.h │ │ ├── ThreadPoolTest.cpp │ │ ├── ThreadPoolTest.h │ │ ├── ThreadTest.cpp │ │ ├── ThreadTest.h │ │ ├── ThreadingTestSuite.cpp │ │ ├── ThreadingTestSuite.h │ │ ├── TimedNotificationQueueTest.cpp │ │ ├── TimedNotificationQueueTest.h │ │ ├── TimerTest.cpp │ │ ├── TimerTest.h │ │ ├── TimespanTest.cpp │ │ ├── TimespanTest.h │ │ ├── TimestampTest.cpp │ │ ├── TimestampTest.h │ │ ├── TimezoneTest.cpp │ │ ├── TimezoneTest.h │ │ ├── TuplesTest.cpp │ │ ├── TuplesTest.h │ │ ├── TypeListTest.cpp │ │ ├── TypeListTest.h │ │ ├── URIStreamOpenerTest.cpp │ │ ├── URIStreamOpenerTest.h │ │ ├── URITest.cpp │ │ ├── URITest.h │ │ ├── URITestSuite.cpp │ │ ├── URITestSuite.h │ │ ├── UTF8StringTest.cpp │ │ ├── UTF8StringTest.h │ │ ├── UUIDGeneratorTest.cpp │ │ ├── UUIDGeneratorTest.h │ │ ├── UUIDTest.cpp │ │ ├── UUIDTest.h │ │ ├── UUIDTestSuite.cpp │ │ ├── UUIDTestSuite.h │ │ ├── UnicodeConverterTest.cpp │ │ ├── UnicodeConverterTest.h │ │ ├── UniqueExpireCacheTest.cpp │ │ ├── UniqueExpireCacheTest.h │ │ ├── UniqueExpireLRUCacheTest.cpp │ │ ├── UniqueExpireLRUCacheTest.h │ │ ├── VarTest.cpp │ │ ├── VarTest.h │ │ ├── WinCEDriver.cpp │ │ ├── WinDriver.cpp │ │ ├── ZLibTest.cpp │ │ ├── ZLibTest.h │ │ └── ordered_map_util.h └── wcelibcex-1.0 │ ├── AUTHORS.txt │ ├── BUILD.txt │ ├── COPYING.txt │ ├── LICENSE.txt │ ├── README.txt │ ├── msvc80 │ ├── wcelibcex.vsprops │ └── wcelibcex_lib.vcproj │ └── src │ ├── errno.h │ ├── fcntl.h │ ├── wce_abort.c │ ├── wce_access.c │ ├── wce_asctime.c │ ├── wce_bsearch.c │ ├── wce_clock.c │ ├── wce_ctime.c │ ├── wce_direct.h │ ├── wce_directorymanagement.c │ ├── wce_errno.c │ ├── wce_errno.h │ ├── wce_fcntl.h │ ├── wce_findfile.c │ ├── wce_getenv.c │ ├── wce_getopt.c │ ├── wce_gettimeofday.c │ ├── wce_io.h │ ├── wce_lfind.c │ ├── wce_localtime.c │ ├── wce_mkdir.c │ ├── wce_mktime.c │ ├── wce_path.c │ ├── wce_rename.c │ ├── wce_rewind.c │ ├── wce_rmdir.c │ ├── wce_setlocale.c │ ├── wce_stat.c │ ├── wce_stat.h │ ├── wce_stdio.h │ ├── wce_stdlib.h │ ├── wce_strerror.c │ ├── wce_string.h │ ├── wce_time.c │ ├── wce_time.h │ ├── wce_timesys.c │ ├── wce_timesys.h │ ├── wce_types.h │ ├── wce_unistd.h │ ├── wce_unlink.c │ ├── wce_winbase.c │ └── wce_winbase.h ├── JSON ├── CMakeLists.txt ├── JSON.progen ├── Makefile ├── cmake │ └── PocoJSONConfig.cmake ├── include │ └── Poco │ │ └── JSON │ │ ├── Array.h │ │ ├── Handler.h │ │ ├── JSON.h │ │ ├── JSONException.h │ │ ├── Object.h │ │ ├── ParseHandler.h │ │ ├── Parser.h │ │ ├── ParserImpl.h │ │ ├── PrintHandler.h │ │ ├── Query.h │ │ ├── Stringifier.h │ │ ├── Template.h │ │ └── TemplateCache.h ├── samples │ ├── Benchmark │ │ ├── Benchmark.progen │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── input.big.json │ │ ├── input.json │ │ └── src │ │ │ └── Benchmark.cpp │ ├── CMakeLists.txt │ ├── Makefile │ └── samples.progen ├── src │ ├── Array.cpp │ ├── Handler.cpp │ ├── JSONException.cpp │ ├── Object.cpp │ ├── ParseHandler.cpp │ ├── Parser.cpp │ ├── ParserImpl.cpp │ ├── PrintHandler.cpp │ ├── Query.cpp │ ├── Stringifier.cpp │ ├── Template.cpp │ ├── TemplateCache.cpp │ ├── pdjson.c │ └── pdjson.h └── testsuite │ ├── CMakeLists.txt │ ├── Makefile │ ├── TestSuite.progen │ ├── data │ ├── invalid-unicode │ │ ├── encoded-surrogate-half │ │ │ └── input │ │ ├── invalid-utf-8-after-backslash │ │ │ └── input │ │ ├── invalid-utf-8-in-array │ │ │ └── input │ │ ├── invalid-utf-8-in-bigger-int │ │ │ └── input │ │ ├── invalid-utf-8-in-escape │ │ │ └── input │ │ ├── invalid-utf-8-in-exponent │ │ │ └── input │ │ ├── invalid-utf-8-in-identifier │ │ │ └── input │ │ ├── invalid-utf-8-in-int │ │ │ └── input │ │ ├── invalid-utf-8-in-real-after-e │ │ │ └── input │ │ ├── invalid-utf-8-in-string │ │ │ └── input │ │ ├── lone-invalid-utf-8 │ │ │ └── input │ │ ├── lone-utf-8-continuation-byte │ │ │ └── input │ │ ├── not-in-unicode-range │ │ │ └── input │ │ ├── overlong-3-byte-encoding │ │ │ └── input │ │ ├── overlong-4-byte-encoding │ │ │ └── input │ │ ├── overlong-ascii-encoding │ │ │ └── input │ │ ├── restricted-utf-8 │ │ │ └── input │ │ └── truncated-utf-8 │ │ │ └── input │ ├── invalid │ │ ├── apostrophe │ │ │ └── input │ │ ├── ascii-unicode-identifier │ │ │ └── input │ │ ├── brace-comma │ │ │ └── input │ │ ├── bracket-comma │ │ │ └── input │ │ ├── bracket-one-comma │ │ │ └── input │ │ ├── double-closing-brace │ │ │ └── input │ │ ├── double-closing-bracket │ │ │ └── input │ │ ├── empty │ │ │ └── input │ │ ├── escaped-null-byte-in-string │ │ │ └── input │ │ ├── extra-comma-in-array │ │ │ └── input │ │ ├── extra-comma-in-multiline-array │ │ │ └── input │ │ ├── garbage-after-newline │ │ │ └── input │ │ ├── garbage-at-the-end │ │ │ └── input │ │ ├── integer-starting-with-zero │ │ │ └── input │ │ ├── invalid-escape │ │ │ └── input │ │ ├── invalid-identifier │ │ │ └── input │ │ ├── invalid-negative-integer │ │ │ └── input │ │ ├── invalid-negative-real │ │ │ └── input │ │ ├── invalid-second-surrogate │ │ │ └── input │ │ ├── lone-open-brace │ │ │ └── input │ │ ├── lone-open-bracket │ │ │ └── input │ │ ├── lone-second-surrogate │ │ │ └── input │ │ ├── minus-sign-without-number │ │ │ └── input │ │ ├── negative-integer-starting-with-zero │ │ │ └── input │ │ ├── null-byte-in-string │ │ │ └── input │ │ ├── null-byte-outside-string │ │ │ └── input │ │ ├── null │ │ │ └── input │ │ ├── object-apostrophes │ │ │ └── input │ │ ├── object-garbage-at-end │ │ │ └── input │ │ ├── object-in-unterminated-array │ │ │ └── input │ │ ├── object-no-colon │ │ │ └── input │ │ ├── object-no-value │ │ │ └── input │ │ ├── object-unterminated-value │ │ │ └── input │ │ ├── real-garbage-after-e │ │ │ └── input │ │ ├── real-negative-overflow │ │ │ └── input │ │ ├── real-positive-overflow │ │ │ └── input │ │ ├── real-truncated-at-e │ │ │ └── input │ │ ├── real-truncated-at-point │ │ │ └── input │ │ ├── tab-character-in-string │ │ │ └── input │ │ ├── too-big-negative-integer │ │ │ └── input │ │ ├── too-big-positive-integer │ │ │ └── input │ │ ├── truncated-unicode-surrogate │ │ │ └── input │ │ ├── unicode-identifier │ │ │ └── input │ │ ├── unterminated-array-and-object │ │ │ └── input │ │ ├── unterminated-array │ │ │ └── input │ │ ├── unterminated-empty-key │ │ │ └── input │ │ ├── unterminated-key │ │ │ └── input │ │ ├── unterminated-object-and-array │ │ │ └── input │ │ └── unterminated-string │ │ │ └── input │ └── valid │ │ ├── complex-array │ │ └── input │ │ ├── complex-object │ │ └── input │ │ ├── empty-array │ │ └── input │ │ ├── empty-key-array │ │ └── input │ │ ├── empty-key-object │ │ └── input │ │ ├── empty-object-in-array │ │ └── input │ │ ├── empty-object │ │ └── input │ │ ├── empty-string │ │ └── input │ │ ├── escaped-utf-control-char │ │ └── input │ │ ├── false │ │ └── input │ │ ├── negative-int │ │ └── input │ │ ├── negative-one │ │ └── input │ │ ├── negative-zero │ │ └── input │ │ ├── null │ │ └── input │ │ ├── one-byte-utf-8 │ │ └── input │ │ ├── real-capital-e-negative-exponent │ │ └── input │ │ ├── real-capital-e-positive-exponent │ │ └── input │ │ ├── real-capital-e │ │ └── input │ │ ├── real-exponent │ │ └── input │ │ ├── real-fraction-exponent │ │ └── input │ │ ├── real-negative-exponent │ │ └── input │ │ ├── real-positive-exponent │ │ └── input │ │ ├── real-underflow │ │ └── input │ │ ├── short-string │ │ └── input │ │ ├── simple-ascii-string │ │ └── input │ │ ├── simple-int-0 │ │ └── input │ │ ├── simple-int-1 │ │ └── input │ │ ├── simple-int-123 │ │ └── input │ │ ├── simple-object │ │ └── input │ │ ├── simple-real │ │ └── input │ │ ├── string-escapes │ │ └── input │ │ ├── three-byte-utf-8 │ │ └── input │ │ ├── true │ │ └── input │ │ ├── two-byte-utf-8 │ │ └── input │ │ ├── utf-8-string │ │ └── input │ │ └── utf-surrogate-four-byte-encoding │ │ └── input │ └── src │ ├── Driver.cpp │ ├── JSONTest.cpp │ ├── JSONTest.h │ ├── JSONTestSuite.cpp │ ├── JSONTestSuite.h │ ├── WinCEDriver.cpp │ └── WinDriver.cpp ├── JWT ├── CMakeLists.txt ├── Makefile ├── cmake │ └── PocoJWTConfig.cmake ├── include │ └── Poco │ │ └── JWT │ │ ├── JWT.h │ │ ├── JWTException.h │ │ ├── Serializer.h │ │ ├── Signer.h │ │ └── Token.h ├── src │ ├── JWTException.cpp │ ├── Serializer.cpp │ ├── Signer.cpp │ └── Token.cpp └── testsuite │ ├── CMakeLists.txt │ ├── Makefile │ ├── TestSuite.progen │ └── src │ ├── Driver.cpp │ ├── JWTTestSuite.cpp │ ├── JWTTestSuite.h │ ├── SerializerTest.cpp │ ├── SerializerTest.h │ ├── SignerTest.cpp │ ├── SignerTest.h │ ├── TokenTest.cpp │ ├── TokenTest.h │ ├── WinCEDriver.cpp │ └── WinDriver.cpp ├── LICENSE ├── Makefile ├── Net ├── CMakeLists.txt ├── Makefile ├── Net.progen ├── cmake │ └── PocoNetConfig.cmake ├── include │ └── Poco │ │ └── Net │ │ ├── AbstractHTTPRequestHandler.h │ │ ├── DNS.h │ │ ├── DatagramSocket.h │ │ ├── DatagramSocketImpl.h │ │ ├── DialogSocket.h │ │ ├── EscapeHTMLStream.h │ │ ├── FTPClientSession.h │ │ ├── FTPStreamFactory.h │ │ ├── FilePartSource.h │ │ ├── HTMLForm.h │ │ ├── HTTPAuthenticationParams.h │ │ ├── HTTPBasicCredentials.h │ │ ├── HTTPBasicStreamBuf.h │ │ ├── HTTPBufferAllocator.h │ │ ├── HTTPChunkedStream.h │ │ ├── HTTPClientSession.h │ │ ├── HTTPCookie.h │ │ ├── HTTPCredentials.h │ │ ├── HTTPDigestCredentials.h │ │ ├── HTTPFixedLengthStream.h │ │ ├── HTTPHeaderStream.h │ │ ├── HTTPIOStream.h │ │ ├── HTTPMessage.h │ │ ├── HTTPNTLMCredentials.h │ │ ├── HTTPRequest.h │ │ ├── HTTPRequestHandler.h │ │ ├── HTTPRequestHandlerFactory.h │ │ ├── HTTPResponse.h │ │ ├── HTTPServer.h │ │ ├── HTTPServerConnection.h │ │ ├── HTTPServerConnectionFactory.h │ │ ├── HTTPServerParams.h │ │ ├── HTTPServerRequest.h │ │ ├── HTTPServerRequestImpl.h │ │ ├── HTTPServerResponse.h │ │ ├── HTTPServerResponseImpl.h │ │ ├── HTTPServerSession.h │ │ ├── HTTPSession.h │ │ ├── HTTPSessionFactory.h │ │ ├── HTTPSessionInstantiator.h │ │ ├── HTTPStream.h │ │ ├── HTTPStreamFactory.h │ │ ├── HostEntry.h │ │ ├── ICMPClient.h │ │ ├── ICMPEventArgs.h │ │ ├── ICMPPacket.h │ │ ├── ICMPPacketImpl.h │ │ ├── ICMPSocket.h │ │ ├── ICMPSocketImpl.h │ │ ├── ICMPv4PacketImpl.h │ │ ├── IPAddress.h │ │ ├── IPAddressImpl.h │ │ ├── MailMessage.h │ │ ├── MailRecipient.h │ │ ├── MailStream.h │ │ ├── MediaType.h │ │ ├── MessageHeader.h │ │ ├── MultiSocketPoller.h │ │ ├── MulticastSocket.h │ │ ├── MultipartReader.h │ │ ├── MultipartWriter.h │ │ ├── NTLMCredentials.h │ │ ├── NTPClient.h │ │ ├── NTPEventArgs.h │ │ ├── NTPPacket.h │ │ ├── NameValueCollection.h │ │ ├── Net.h │ │ ├── NetException.h │ │ ├── NetworkInterface.h │ │ ├── NullPartHandler.h │ │ ├── OAuth10Credentials.h │ │ ├── OAuth20Credentials.h │ │ ├── POP3ClientSession.h │ │ ├── ParallelSocketAcceptor.h │ │ ├── ParallelSocketReactor.h │ │ ├── PartHandler.h │ │ ├── PartSource.h │ │ ├── PartStore.h │ │ ├── PollSet.h │ │ ├── QuotedPrintableDecoder.h │ │ ├── QuotedPrintableEncoder.h │ │ ├── RawSocket.h │ │ ├── RawSocketImpl.h │ │ ├── RemoteSyslogChannel.h │ │ ├── RemoteSyslogListener.h │ │ ├── SMTPChannel.h │ │ ├── SMTPClientSession.h │ │ ├── SSPINTLMCredentials.h │ │ ├── ServerSocket.h │ │ ├── ServerSocketImpl.h │ │ ├── SingleSocketPoller.h │ │ ├── Socket.h │ │ ├── SocketAcceptor.h │ │ ├── SocketAddress.h │ │ ├── SocketAddressImpl.h │ │ ├── SocketConnector.h │ │ ├── SocketDefs.h │ │ ├── SocketImpl.h │ │ ├── SocketNotification.h │ │ ├── SocketNotifier.h │ │ ├── SocketReactor.h │ │ ├── SocketStream.h │ │ ├── StreamSocket.h │ │ ├── StreamSocketImpl.h │ │ ├── StringPartSource.h │ │ ├── TCPServer.h │ │ ├── TCPServerConnection.h │ │ ├── TCPServerConnectionFactory.h │ │ ├── TCPServerDispatcher.h │ │ ├── TCPServerParams.h │ │ ├── UDPClient.h │ │ ├── UDPHandler.h │ │ ├── UDPServer.h │ │ ├── UDPServerParams.h │ │ ├── UDPSocketReader.h │ │ ├── WebSocket.h │ │ └── WebSocketImpl.h ├── samples │ ├── CMakeLists.txt │ ├── EchoServer │ │ ├── CMakeLists.txt │ │ ├── EchoServer.progen │ │ ├── EchoServer.properties │ │ ├── Makefile │ │ └── src │ │ │ └── EchoServer.cpp │ ├── HTTPFormServer │ │ ├── CMakeLists.txt │ │ ├── HTTPFormServer.progen │ │ ├── HTTPFormServer.properties │ │ ├── Makefile │ │ └── src │ │ │ └── HTTPFormServer.cpp │ ├── HTTPLoadTest │ │ ├── CMakeLists.txt │ │ ├── HTTPLoadTest.progen │ │ ├── Makefile │ │ └── src │ │ │ └── HTTPLoadTest.cpp │ ├── HTTPTimeServer │ │ ├── CMakeLists.txt │ │ ├── HTTPTimeServer.progen │ │ ├── HTTPTimeServer.properties │ │ ├── Makefile │ │ └── src │ │ │ └── HTTPTimeServer.cpp │ ├── Mail │ │ ├── CMakeLists.txt │ │ ├── Mail.progen │ │ ├── Makefile │ │ └── src │ │ │ ├── Mail.cpp │ │ │ └── PocoLogo.hpp │ ├── Makefile │ ├── Ping │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── Ping.progen │ │ ├── ping.properties │ │ └── src │ │ │ └── Ping.cpp │ ├── SMTPLogger │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── SMTPLogger.progen │ │ ├── res │ │ │ └── logo.gif │ │ └── src │ │ │ └── SMTPLogger.cpp │ ├── TimeServer │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── TimeServer.progen │ │ ├── TimeServer.properties │ │ └── src │ │ │ └── TimeServer.cpp │ ├── WebSocketServer │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── WebSocketServer.progen │ │ └── src │ │ │ └── WebSocketServer.cpp │ ├── dict │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── dict.progen │ │ └── src │ │ │ └── dict.cpp │ ├── download │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── download.progen │ │ └── src │ │ │ └── download.cpp │ ├── httpget │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── httpget.progen │ │ └── src │ │ │ └── httpget.cpp │ ├── ifconfig │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── ifconfig.progen │ │ └── src │ │ │ └── ifconfig.cpp │ ├── samples.progen │ └── tcpserver │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── src │ │ └── tcpserver.cpp │ │ └── tcpserver.progen ├── src │ ├── AbstractHTTPRequestHandler.cpp │ ├── DNS.cpp │ ├── DatagramSocket.cpp │ ├── DatagramSocketImpl.cpp │ ├── DialogSocket.cpp │ ├── EscapeHTMLStream.cpp │ ├── FTPClientSession.cpp │ ├── FTPStreamFactory.cpp │ ├── FilePartSource.cpp │ ├── HTMLForm.cpp │ ├── HTTPAuthenticationParams.cpp │ ├── HTTPBasicCredentials.cpp │ ├── HTTPBufferAllocator.cpp │ ├── HTTPChunkedStream.cpp │ ├── HTTPClientSession.cpp │ ├── HTTPCookie.cpp │ ├── HTTPCredentials.cpp │ ├── HTTPDigestCredentials.cpp │ ├── HTTPFixedLengthStream.cpp │ ├── HTTPHeaderStream.cpp │ ├── HTTPIOStream.cpp │ ├── HTTPMessage.cpp │ ├── HTTPNTLMCredentials.cpp │ ├── HTTPRequest.cpp │ ├── HTTPRequestHandler.cpp │ ├── HTTPRequestHandlerFactory.cpp │ ├── HTTPResponse.cpp │ ├── HTTPServer.cpp │ ├── HTTPServerConnection.cpp │ ├── HTTPServerConnectionFactory.cpp │ ├── HTTPServerParams.cpp │ ├── HTTPServerRequest.cpp │ ├── HTTPServerRequestImpl.cpp │ ├── HTTPServerResponse.cpp │ ├── HTTPServerResponseImpl.cpp │ ├── HTTPServerSession.cpp │ ├── HTTPSession.cpp │ ├── HTTPSessionFactory.cpp │ ├── HTTPSessionInstantiator.cpp │ ├── HTTPStream.cpp │ ├── HTTPStreamFactory.cpp │ ├── HostEntry.cpp │ ├── ICMPClient.cpp │ ├── ICMPEventArgs.cpp │ ├── ICMPPacket.cpp │ ├── ICMPPacketImpl.cpp │ ├── ICMPSocket.cpp │ ├── ICMPSocketImpl.cpp │ ├── ICMPv4PacketImpl.cpp │ ├── IPAddress.cpp │ ├── IPAddressImpl.cpp │ ├── MailMessage.cpp │ ├── MailRecipient.cpp │ ├── MailStream.cpp │ ├── MediaType.cpp │ ├── MessageHeader.cpp │ ├── MulticastSocket.cpp │ ├── MultipartReader.cpp │ ├── MultipartWriter.cpp │ ├── NTLMCredentials.cpp │ ├── NTPClient.cpp │ ├── NTPEventArgs.cpp │ ├── NTPPacket.cpp │ ├── NameValueCollection.cpp │ ├── Net.cpp │ ├── NetException.cpp │ ├── NetworkInterface.cpp │ ├── NullPartHandler.cpp │ ├── OAuth10Credentials.cpp │ ├── OAuth20Credentials.cpp │ ├── POP3ClientSession.cpp │ ├── PartHandler.cpp │ ├── PartSource.cpp │ ├── PartStore.cpp │ ├── PollSet.cpp │ ├── QuotedPrintableDecoder.cpp │ ├── QuotedPrintableEncoder.cpp │ ├── RawSocket.cpp │ ├── RawSocketImpl.cpp │ ├── RemoteSyslogChannel.cpp │ ├── RemoteSyslogListener.cpp │ ├── SMTPChannel.cpp │ ├── SMTPClientSession.cpp │ ├── SSPINTLMCredentials.cpp │ ├── ServerSocket.cpp │ ├── ServerSocketImpl.cpp │ ├── Socket.cpp │ ├── SocketAddress.cpp │ ├── SocketAddressImpl.cpp │ ├── SocketImpl.cpp │ ├── SocketNotification.cpp │ ├── SocketNotifier.cpp │ ├── SocketReactor.cpp │ ├── SocketStream.cpp │ ├── StreamSocket.cpp │ ├── StreamSocketImpl.cpp │ ├── StringPartSource.cpp │ ├── TCPServer.cpp │ ├── TCPServerConnection.cpp │ ├── TCPServerConnectionFactory.cpp │ ├── TCPServerDispatcher.cpp │ ├── TCPServerParams.cpp │ ├── UDPClient.cpp │ ├── UDPServerParams.cpp │ ├── WebSocket.cpp │ └── WebSocketImpl.cpp └── testsuite │ ├── CMakeLists.txt │ ├── Makefile │ ├── TestSuite.progen │ └── src │ ├── DNSTest.cpp │ ├── DNSTest.h │ ├── DatagramSocketTest.cpp │ ├── DatagramSocketTest.h │ ├── DialogServer.cpp │ ├── DialogServer.h │ ├── DialogSocketTest.cpp │ ├── DialogSocketTest.h │ ├── Driver.cpp │ ├── EchoServer.cpp │ ├── EchoServer.h │ ├── FTPClientSessionTest.cpp │ ├── FTPClientSessionTest.h │ ├── FTPClientTestSuite.cpp │ ├── FTPClientTestSuite.h │ ├── FTPStreamFactoryTest.cpp │ ├── FTPStreamFactoryTest.h │ ├── HTMLFormTest.cpp │ ├── HTMLFormTest.h │ ├── HTMLTestSuite.cpp │ ├── HTMLTestSuite.h │ ├── HTTPClientSessionTest.cpp │ ├── HTTPClientSessionTest.h │ ├── HTTPClientTestSuite.cpp │ ├── HTTPClientTestSuite.h │ ├── HTTPCookieTest.cpp │ ├── HTTPCookieTest.h │ ├── HTTPCredentialsTest.cpp │ ├── HTTPCredentialsTest.h │ ├── HTTPRequestTest.cpp │ ├── HTTPRequestTest.h │ ├── HTTPResponseTest.cpp │ ├── HTTPResponseTest.h │ ├── HTTPServerTest.cpp │ ├── HTTPServerTest.h │ ├── HTTPServerTestSuite.cpp │ ├── HTTPServerTestSuite.h │ ├── HTTPStreamFactoryTest.cpp │ ├── HTTPStreamFactoryTest.h │ ├── HTTPTestServer.cpp │ ├── HTTPTestServer.h │ ├── HTTPTestSuite.cpp │ ├── HTTPTestSuite.h │ ├── ICMPClientTest.cpp │ ├── ICMPClientTest.h │ ├── ICMPClientTestSuite.cpp │ ├── ICMPClientTestSuite.h │ ├── ICMPSocketTest.cpp │ ├── ICMPSocketTest.h │ ├── IPAddressTest.cpp │ ├── IPAddressTest.h │ ├── MailMessageTest.cpp │ ├── MailMessageTest.h │ ├── MailStreamTest.cpp │ ├── MailStreamTest.h │ ├── MailTestSuite.cpp │ ├── MailTestSuite.h │ ├── MediaTypeTest.cpp │ ├── MediaTypeTest.h │ ├── MessageHeaderTest.cpp │ ├── MessageHeaderTest.h │ ├── MessagesTestSuite.cpp │ ├── MessagesTestSuite.h │ ├── MulticastEchoServer.cpp │ ├── MulticastEchoServer.h │ ├── MulticastSocketTest.cpp │ ├── MulticastSocketTest.h │ ├── MultipartReaderTest.cpp │ ├── MultipartReaderTest.h │ ├── MultipartWriterTest.cpp │ ├── MultipartWriterTest.h │ ├── NTLMCredentialsTest.cpp │ ├── NTLMCredentialsTest.h │ ├── NTPClientTest.cpp │ ├── NTPClientTest.h │ ├── NTPClientTestSuite.cpp │ ├── NTPClientTestSuite.h │ ├── NameValueCollectionTest.cpp │ ├── NameValueCollectionTest.h │ ├── NetCoreTestSuite.cpp │ ├── NetCoreTestSuite.h │ ├── NetTestSuite.cpp │ ├── NetTestSuite.h │ ├── NetworkInterfaceTest.cpp │ ├── NetworkInterfaceTest.h │ ├── OAuth10CredentialsTest.cpp │ ├── OAuth10CredentialsTest.h │ ├── OAuth20CredentialsTest.cpp │ ├── OAuth20CredentialsTest.h │ ├── OAuthTestSuite.cpp │ ├── OAuthTestSuite.h │ ├── POP3ClientSessionTest.cpp │ ├── POP3ClientSessionTest.h │ ├── PollSetTest.cpp │ ├── PollSetTest.h │ ├── QuotedPrintableTest.cpp │ ├── QuotedPrintableTest.h │ ├── RawSocketTest.cpp │ ├── RawSocketTest.h │ ├── ReactorTestSuite.cpp │ ├── ReactorTestSuite.h │ ├── SMTPClientSessionTest.cpp │ ├── SMTPClientSessionTest.h │ ├── SocketAddressTest.cpp │ ├── SocketAddressTest.h │ ├── SocketReactorTest.cpp │ ├── SocketReactorTest.h │ ├── SocketStreamTest.cpp │ ├── SocketStreamTest.h │ ├── SocketTest.cpp │ ├── SocketTest.h │ ├── SocketsTestSuite.cpp │ ├── SocketsTestSuite.h │ ├── SyslogTest.cpp │ ├── SyslogTest.h │ ├── TCPServerTest.cpp │ ├── TCPServerTest.h │ ├── TCPServerTestSuite.cpp │ ├── TCPServerTestSuite.h │ ├── UDPEchoServer.cpp │ ├── UDPEchoServer.h │ ├── UDPServerTest.cpp │ ├── UDPServerTest.h │ ├── UDPServerTestSuite.cpp │ ├── UDPServerTestSuite.h │ ├── WebSocketTest.cpp │ ├── WebSocketTest.h │ ├── WebSocketTestSuite.cpp │ ├── WebSocketTestSuite.h │ ├── WinCEDriver.cpp │ └── WinDriver.cpp ├── NetSSL_OpenSSL ├── CMakeLists.txt ├── Makefile ├── NetSSL_OpenSSL.progen ├── cmake │ └── PocoNetSSLConfig.cmake ├── doc │ └── howtobuild.txt ├── include │ └── Poco │ │ └── Net │ │ ├── AcceptCertificateHandler.h │ │ ├── CertificateHandlerFactory.h │ │ ├── CertificateHandlerFactoryMgr.h │ │ ├── ConsoleCertificateHandler.h │ │ ├── Context.h │ │ ├── FTPSClientSession.h │ │ ├── FTPSStreamFactory.h │ │ ├── HTTPSClientSession.h │ │ ├── HTTPSSessionInstantiator.h │ │ ├── HTTPSStreamFactory.h │ │ ├── InvalidCertificateHandler.h │ │ ├── KeyConsoleHandler.h │ │ ├── KeyFileHandler.h │ │ ├── NetSSL.h │ │ ├── PrivateKeyFactory.h │ │ ├── PrivateKeyFactoryMgr.h │ │ ├── PrivateKeyPassphraseHandler.h │ │ ├── RejectCertificateHandler.h │ │ ├── SSLException.h │ │ ├── SSLManager.h │ │ ├── SecureSMTPClientSession.h │ │ ├── SecureServerSocket.h │ │ ├── SecureServerSocketImpl.h │ │ ├── SecureSocketImpl.h │ │ ├── SecureStreamSocket.h │ │ ├── SecureStreamSocketImpl.h │ │ ├── Session.h │ │ ├── Utility.h │ │ ├── VerificationErrorArgs.h │ │ └── X509Certificate.h ├── samples │ ├── CMakeLists.txt │ ├── HTTPSTimeServer │ │ ├── CMakeLists.txt │ │ ├── HTTPSTimeServer.progen │ │ ├── HTTPSTimeServer.properties │ │ ├── Makefile │ │ ├── any.pem │ │ ├── rootcert.pem │ │ └── src │ │ │ └── HTTPSTimeServer.cpp │ ├── Mail │ │ ├── CMakeLists.txt │ │ ├── Mail.progen │ │ ├── Makefile │ │ └── src │ │ │ ├── Mail.cpp │ │ │ └── PocoLogo.hpp │ ├── Makefile │ ├── TwitterClient │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── TwitterClient.progen │ │ └── src │ │ │ ├── TweetApp.cpp │ │ │ ├── Twitter.cpp │ │ │ └── Twitter.h │ ├── download │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── download.progen │ │ ├── rootcert.pem │ │ └── src │ │ │ └── download.cpp │ └── samples.progen ├── src │ ├── AcceptCertificateHandler.cpp │ ├── CertificateHandlerFactory.cpp │ ├── CertificateHandlerFactoryMgr.cpp │ ├── ConsoleCertificateHandler.cpp │ ├── Context.cpp │ ├── FTPSClientSession.cpp │ ├── FTPSStreamFactory.cpp │ ├── HTTPSClientSession.cpp │ ├── HTTPSSessionInstantiator.cpp │ ├── HTTPSStreamFactory.cpp │ ├── InvalidCertificateHandler.cpp │ ├── KeyConsoleHandler.cpp │ ├── KeyFileHandler.cpp │ ├── PrivateKeyFactory.cpp │ ├── PrivateKeyFactoryMgr.cpp │ ├── PrivateKeyPassphraseHandler.cpp │ ├── RejectCertificateHandler.cpp │ ├── SSLException.cpp │ ├── SSLManager.cpp │ ├── SecureSMTPClientSession.cpp │ ├── SecureServerSocket.cpp │ ├── SecureServerSocketImpl.cpp │ ├── SecureSocketImpl.cpp │ ├── SecureStreamSocket.cpp │ ├── SecureStreamSocketImpl.cpp │ ├── Session.cpp │ ├── Utility.cpp │ ├── VerificationErrorArgs.cpp │ └── X509Certificate.cpp └── testsuite │ ├── CMakeLists.txt │ ├── Makefile │ ├── TestSuite.progen │ ├── TestSuite.xml │ ├── TestSuitemt.xml │ ├── any.pem │ ├── rootcert.pem │ ├── src │ ├── DialogServer.cpp │ ├── DialogServer.h │ ├── Driver.cpp │ ├── FTPSClientSessionTest.cpp │ ├── FTPSClientSessionTest.h │ ├── FTPSClientTestSuite.cpp │ ├── FTPSClientTestSuite.h │ ├── HTTPSClientSessionTest.cpp │ ├── HTTPSClientSessionTest.h │ ├── HTTPSClientTestSuite.cpp │ ├── HTTPSClientTestSuite.h │ ├── HTTPSServerTest.cpp │ ├── HTTPSServerTest.h │ ├── HTTPSServerTestSuite.cpp │ ├── HTTPSServerTestSuite.h │ ├── HTTPSStreamFactoryTest.cpp │ ├── HTTPSStreamFactoryTest.h │ ├── HTTPSTestServer.cpp │ ├── HTTPSTestServer.h │ ├── NetSSLTestSuite.cpp │ ├── NetSSLTestSuite.h │ ├── SecureStreamSocketTest.cpp │ ├── SecureStreamSocketTest.h │ ├── SecureStreamSocketTestSuite.cpp │ ├── SecureStreamSocketTestSuite.h │ ├── TCPServerTest.cpp │ ├── TCPServerTest.h │ ├── TCPServerTestSuite.cpp │ ├── TCPServerTestSuite.h │ ├── WebSocketTest.cpp │ ├── WebSocketTest.h │ ├── WebSocketTestSuite.cpp │ ├── WebSocketTestSuite.h │ ├── WinCEDriver.cpp │ └── WinDriver.cpp │ └── testrunner.xml ├── NetSSL_Win ├── CMakeLists.txt ├── NetSSL_Win.progen ├── cmake │ └── PocoNetSSLWinConfig.cmake ├── doc │ └── README.txt ├── include │ └── Poco │ │ └── Net │ │ ├── AcceptCertificateHandler.h │ │ ├── AutoSecBufferDesc.h │ │ ├── CertificateHandlerFactory.h │ │ ├── CertificateHandlerFactoryMgr.h │ │ ├── ConsoleCertificateHandler.h │ │ ├── Context.h │ │ ├── HTTPSClientSession.h │ │ ├── HTTPSSessionInstantiator.h │ │ ├── HTTPSStreamFactory.h │ │ ├── InvalidCertificateHandler.h │ │ ├── KeyConsoleHandler.h │ │ ├── KeyFileHandler.h │ │ ├── NetSSL.h │ │ ├── PrivateKeyFactory.h │ │ ├── PrivateKeyFactoryMgr.h │ │ ├── PrivateKeyPassphraseHandler.h │ │ ├── RejectCertificateHandler.h │ │ ├── SSLException.h │ │ ├── SSLManager.h │ │ ├── SecureSMTPClientSession.h │ │ ├── SecureServerSocket.h │ │ ├── SecureServerSocketImpl.h │ │ ├── SecureSocketImpl.h │ │ ├── SecureStreamSocket.h │ │ ├── SecureStreamSocketImpl.h │ │ ├── Session.h │ │ ├── Utility.h │ │ ├── VerificationErrorArgs.h │ │ └── X509Certificate.h ├── samples │ ├── CMakeLists.txt │ ├── HTTPSTimeServer │ │ ├── CMakeLists.txt │ │ ├── HTTPSTimeServer.progen │ │ ├── HTTPSTimeServer.properties │ │ ├── any.pfx │ │ └── src │ │ │ └── HTTPSTimeServer.cpp │ ├── Mail │ │ ├── CMakeLists.txt │ │ ├── Mail.progen │ │ └── src │ │ │ ├── Mail.cpp │ │ │ └── PocoLogo.hpp │ ├── download │ │ ├── CMakeLists.txt │ │ ├── download.progen │ │ └── src │ │ │ └── download.cpp │ └── samples.progen ├── src │ ├── AcceptCertificateHandler.cpp │ ├── CertificateHandlerFactory.cpp │ ├── CertificateHandlerFactoryMgr.cpp │ ├── ConsoleCertificateHandler.cpp │ ├── Context.cpp │ ├── HTTPSClientSession.cpp │ ├── HTTPSSessionInstantiator.cpp │ ├── HTTPSStreamFactory.cpp │ ├── InvalidCertificateHandler.cpp │ ├── KeyConsoleHandler.cpp │ ├── KeyFileHandler.cpp │ ├── PrivateKeyFactory.cpp │ ├── PrivateKeyFactoryMgr.cpp │ ├── PrivateKeyPassphraseHandler.cpp │ ├── RejectCertificateHandler.cpp │ ├── SSLException.cpp │ ├── SSLManager.cpp │ ├── SecureSMTPClientSession.cpp │ ├── SecureServerSocket.cpp │ ├── SecureServerSocketImpl.cpp │ ├── SecureSocketImpl.cpp │ ├── SecureStreamSocket.cpp │ ├── SecureStreamSocketImpl.cpp │ ├── Session.cpp │ ├── Utility.cpp │ ├── VerificationErrorArgs.cpp │ └── X509Certificate.cpp └── testsuite │ ├── CMakeLists.txt │ ├── TestSuite.progen │ ├── TestSuite.xml │ ├── TestSuitemt.xml │ ├── any.pfx │ ├── src │ ├── Driver.cpp │ ├── HTTPSClientSessionTest.cpp │ ├── HTTPSClientSessionTest.h │ ├── HTTPSClientTestSuite.cpp │ ├── HTTPSClientTestSuite.h │ ├── HTTPSServerTest.cpp │ ├── HTTPSServerTest.h │ ├── HTTPSServerTestSuite.cpp │ ├── HTTPSServerTestSuite.h │ ├── HTTPSStreamFactoryTest.cpp │ ├── HTTPSStreamFactoryTest.h │ ├── HTTPSTestServer.cpp │ ├── HTTPSTestServer.h │ ├── NetSSLTestSuite.cpp │ ├── NetSSLTestSuite.h │ ├── SecureStreamSocketTest.cpp │ ├── SecureStreamSocketTest.h │ ├── SecureStreamSocketTestSuite.cpp │ ├── SecureStreamSocketTestSuite.h │ ├── TCPServerTest.cpp │ ├── TCPServerTest.h │ ├── TCPServerTestSuite.cpp │ ├── TCPServerTestSuite.h │ ├── WebSocketTest.cpp │ ├── WebSocketTest.h │ ├── WebSocketTestSuite.cpp │ ├── WebSocketTestSuite.h │ ├── WinCEDriver.cpp │ └── WinDriver.cpp │ └── testrunner.xml ├── PageCompiler ├── CMakeLists.txt ├── File2Page │ ├── CMakeLists.txt │ ├── File2Page.progen │ ├── Makefile │ ├── dependencies │ └── src │ │ └── File2Page.cpp ├── Makefile ├── PageCompiler.make ├── PageCompiler.progen ├── cpspc.properties ├── dependencies ├── doc │ └── PageCompilerUserGuide.page ├── samples │ ├── HTTPTimeServer │ │ ├── HTTPTimeServer.progen │ │ ├── Makefile │ │ └── src │ │ │ ├── HTTPTimeServerApp.cpp │ │ │ ├── TimeHandler.cpp │ │ │ ├── TimeHandler.cpsp │ │ │ └── TimeHandler.h │ ├── Makefile │ ├── dependencies │ └── samples.progen └── src │ ├── ApacheCodeWriter.cpp │ ├── ApacheCodeWriter.h │ ├── CodeWriter.cpp │ ├── CodeWriter.h │ ├── OSPCodeWriter.cpp │ ├── OSPCodeWriter.h │ ├── Page.cpp │ ├── Page.h │ ├── PageCompiler.cpp │ ├── PageReader.cpp │ └── PageReader.h ├── README.md ├── README_Android.md ├── README_POCO ├── README_iOS.md ├── Util ├── CMakeLists.txt ├── Makefile ├── Util.progen ├── cmake │ └── PocoUtilConfig.cmake ├── include │ └── Poco │ │ └── Util │ │ ├── AbstractConfiguration.h │ │ ├── Application.h │ │ ├── ConfigurationMapper.h │ │ ├── ConfigurationView.h │ │ ├── FilesystemConfiguration.h │ │ ├── HelpFormatter.h │ │ ├── IniFileConfiguration.h │ │ ├── IntValidator.h │ │ ├── JSONConfiguration.h │ │ ├── LayeredConfiguration.h │ │ ├── LoggingConfigurator.h │ │ ├── LoggingSubsystem.h │ │ ├── MapConfiguration.h │ │ ├── Option.h │ │ ├── OptionCallback.h │ │ ├── OptionException.h │ │ ├── OptionProcessor.h │ │ ├── OptionSet.h │ │ ├── PropertyFileConfiguration.h │ │ ├── RegExpValidator.h │ │ ├── ServerApplication.h │ │ ├── Subsystem.h │ │ ├── SystemConfiguration.h │ │ ├── Timer.h │ │ ├── TimerTask.h │ │ ├── TimerTaskAdapter.h │ │ ├── Units.h │ │ ├── Util.h │ │ ├── Validator.h │ │ ├── WinRegistryConfiguration.h │ │ ├── WinRegistryKey.h │ │ ├── WinService.h │ │ └── XMLConfiguration.h ├── samples │ ├── CMakeLists.txt │ ├── Makefile │ ├── SampleApp │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── SampleApp.progen │ │ ├── SampleApp.properties │ │ └── src │ │ │ └── SampleApp.cpp │ ├── SampleServer │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── SampleServer.progen │ │ ├── SampleServer.properties │ │ └── src │ │ │ └── SampleServer.cpp │ ├── Units │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── Units.progen │ │ └── src │ │ │ └── Units.cpp │ ├── pkill │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── pkill.progen │ │ └── src │ │ │ └── pkill.cpp │ └── samples.progen ├── src │ ├── AbstractConfiguration.cpp │ ├── Application.cpp │ ├── ConfigurationMapper.cpp │ ├── ConfigurationView.cpp │ ├── FilesystemConfiguration.cpp │ ├── HelpFormatter.cpp │ ├── IniFileConfiguration.cpp │ ├── IntValidator.cpp │ ├── JSONConfiguration.cpp │ ├── LayeredConfiguration.cpp │ ├── LoggingConfigurator.cpp │ ├── LoggingSubsystem.cpp │ ├── MapConfiguration.cpp │ ├── Option.cpp │ ├── OptionCallback.cpp │ ├── OptionException.cpp │ ├── OptionProcessor.cpp │ ├── OptionSet.cpp │ ├── PropertyFileConfiguration.cpp │ ├── RegExpValidator.cpp │ ├── ServerApplication.cpp │ ├── Subsystem.cpp │ ├── SystemConfiguration.cpp │ ├── Timer.cpp │ ├── TimerTask.cpp │ ├── Validator.cpp │ ├── WinRegistryConfiguration.cpp │ ├── WinRegistryKey.cpp │ ├── WinService.cpp │ └── XMLConfiguration.cpp └── testsuite │ ├── CMakeLists.txt │ ├── Makefile │ ├── TestSuite.progen │ └── src │ ├── AbstractConfigurationTest.cpp │ ├── AbstractConfigurationTest.h │ ├── ConfigurationMapperTest.cpp │ ├── ConfigurationMapperTest.h │ ├── ConfigurationTestSuite.cpp │ ├── ConfigurationTestSuite.h │ ├── ConfigurationViewTest.cpp │ ├── ConfigurationViewTest.h │ ├── Driver.cpp │ ├── FilesystemConfigurationTest.cpp │ ├── FilesystemConfigurationTest.h │ ├── HelpFormatterTest.cpp │ ├── HelpFormatterTest.h │ ├── IniFileConfigurationTest.cpp │ ├── IniFileConfigurationTest.h │ ├── JSONConfigurationTest.cpp │ ├── JSONConfigurationTest.h │ ├── LayeredConfigurationTest.cpp │ ├── LayeredConfigurationTest.h │ ├── LoggingConfiguratorTest.cpp │ ├── LoggingConfiguratorTest.h │ ├── MapConfigurationTest.cpp │ ├── MapConfigurationTest.h │ ├── OptionProcessorTest.cpp │ ├── OptionProcessorTest.h │ ├── OptionSetTest.cpp │ ├── OptionSetTest.h │ ├── OptionTest.cpp │ ├── OptionTest.h │ ├── OptionsTestSuite.cpp │ ├── OptionsTestSuite.h │ ├── PropertyFileConfigurationTest.cpp │ ├── PropertyFileConfigurationTest.h │ ├── SystemConfigurationTest.cpp │ ├── SystemConfigurationTest.h │ ├── TimerTest.cpp │ ├── TimerTest.h │ ├── TimerTestSuite.cpp │ ├── TimerTestSuite.h │ ├── UtilTestSuite.cpp │ ├── UtilTestSuite.h │ ├── ValidatorTest.cpp │ ├── ValidatorTest.h │ ├── WinCEDriver.cpp │ ├── WinConfigurationTest.cpp │ ├── WinConfigurationTest.h │ ├── WinDriver.cpp │ ├── WinRegistryTest.cpp │ ├── WinRegistryTest.h │ ├── WinServiceTest.cpp │ ├── WinServiceTest.h │ ├── WindowsTestSuite.cpp │ ├── WindowsTestSuite.h │ ├── XMLConfigurationTest.cpp │ └── XMLConfigurationTest.h ├── VERSION ├── WebTunnel ├── CMakeLists.txt ├── Makefile ├── WebTunnelAgent │ ├── CMakeLists.txt │ ├── Makefile │ ├── README.md │ ├── WebTunnelAgent.properties │ ├── etc │ │ ├── init.d │ │ │ └── WebTunnelAgent │ │ └── systemd │ │ │ └── system │ │ │ └── WebTunnelAgent.service │ └── src │ │ └── WebTunnelAgent.cpp ├── WebTunnelAgentLib │ ├── CMakeLists.txt │ ├── README.md │ ├── cmake │ │ └── PocoWebTunnelAgentLibConfig.cmake │ ├── include │ │ └── webtunnelagent.h │ └── src │ │ ├── Tunnel.cpp │ │ ├── Tunnel.h │ │ └── webtunnelagent.cpp ├── WebTunnelClient │ ├── CMakeLists.txt │ ├── Makefile │ ├── README.md │ ├── remote-client.properties │ └── src │ │ └── WebTunnelClient.cpp ├── WebTunnelClientLib │ ├── CMakeLists.txt │ ├── README.md │ ├── cmake │ │ └── PocoWebTunnelClientLibConfig.cmake │ ├── include │ │ └── webtunnelclient.h │ └── src │ │ └── webtunnelclient.cpp ├── WebTunnelRDP │ ├── CMakeLists.txt │ ├── Makefile │ ├── README.md │ ├── remote-rdp.properties │ └── src │ │ └── WebTunnelRDP.cpp ├── WebTunnelSCP │ ├── CMakeLists.txt │ ├── Makefile │ ├── README.md │ ├── remote-scp.properties │ └── src │ │ └── WebTunnelSCP.cpp ├── WebTunnelSFTP │ ├── CMakeLists.txt │ ├── Makefile │ ├── README.md │ ├── remote-sftp.properties │ └── src │ │ └── WebTunnelSFTP.cpp ├── WebTunnelSSH │ ├── CMakeLists.txt │ ├── Makefile │ ├── README.md │ ├── remote-ssh.properties │ └── src │ │ └── WebTunnelSSH.cpp ├── WebTunnelVNC │ ├── CMakeLists.txt │ ├── Makefile │ ├── README.md │ ├── remote-vnc.properties │ └── src │ │ └── WebTunnelVNC.cpp ├── cmake │ └── PocoWebTunnelConfig.cmake ├── include │ └── Poco │ │ └── WebTunnel │ │ ├── LocalPortForwarder.h │ │ ├── Protocol.h │ │ ├── RemotePortForwarder.h │ │ ├── SocketDispatcher.h │ │ ├── Version.h │ │ └── WebTunnel.h └── src │ ├── LocalPortForwarder.cpp │ ├── Protocol.cpp │ ├── RemotePortForwarder.cpp │ └── SocketDispatcher.cpp ├── XML ├── CMakeLists.txt ├── Makefile ├── XML.progen ├── cmake │ └── PocoXMLConfig.cmake ├── include │ └── Poco │ │ ├── DOM │ │ ├── AbstractContainerNode.h │ │ ├── AbstractNode.h │ │ ├── Attr.h │ │ ├── AttrMap.h │ │ ├── AutoPtr.h │ │ ├── CDATASection.h │ │ ├── CharacterData.h │ │ ├── ChildNodesList.h │ │ ├── Comment.h │ │ ├── DOMBuilder.h │ │ ├── DOMException.h │ │ ├── DOMImplementation.h │ │ ├── DOMObject.h │ │ ├── DOMParser.h │ │ ├── DOMSerializer.h │ │ ├── DOMWriter.h │ │ ├── DTDMap.h │ │ ├── Document.h │ │ ├── DocumentEvent.h │ │ ├── DocumentFragment.h │ │ ├── DocumentType.h │ │ ├── Element.h │ │ ├── ElementsByTagNameList.h │ │ ├── Entity.h │ │ ├── EntityReference.h │ │ ├── Event.h │ │ ├── EventDispatcher.h │ │ ├── EventException.h │ │ ├── EventListener.h │ │ ├── EventTarget.h │ │ ├── MutationEvent.h │ │ ├── NamedNodeMap.h │ │ ├── Node.h │ │ ├── NodeAppender.h │ │ ├── NodeFilter.h │ │ ├── NodeIterator.h │ │ ├── NodeList.h │ │ ├── Notation.h │ │ ├── ProcessingInstruction.h │ │ ├── Text.h │ │ └── TreeWalker.h │ │ ├── SAX │ │ ├── Attributes.h │ │ ├── AttributesImpl.h │ │ ├── ContentHandler.h │ │ ├── DTDHandler.h │ │ ├── DeclHandler.h │ │ ├── DefaultHandler.h │ │ ├── EntityResolver.h │ │ ├── EntityResolverImpl.h │ │ ├── ErrorHandler.h │ │ ├── InputSource.h │ │ ├── LexicalHandler.h │ │ ├── Locator.h │ │ ├── LocatorImpl.h │ │ ├── NamespaceSupport.h │ │ ├── SAXException.h │ │ ├── SAXParser.h │ │ ├── WhitespaceFilter.h │ │ ├── XMLFilter.h │ │ ├── XMLFilterImpl.h │ │ └── XMLReader.h │ │ └── XML │ │ ├── Content.h │ │ ├── Name.h │ │ ├── NamePool.h │ │ ├── NamespaceStrategy.h │ │ ├── ParserEngine.h │ │ ├── QName.h │ │ ├── ValueTraits.h │ │ ├── XML.h │ │ ├── XMLException.h │ │ ├── XMLStream.h │ │ ├── XMLStreamParser.h │ │ ├── XMLStreamParserException.h │ │ ├── XMLString.h │ │ ├── XMLWriter.h │ │ ├── expat.h │ │ └── expat_external.h ├── samples │ ├── CMakeLists.txt │ ├── DOMParser │ │ ├── CMakeLists.txt │ │ ├── DOMParser.progen │ │ ├── Makefile │ │ └── src │ │ │ └── DOMParser.cpp │ ├── DOMWriter │ │ ├── CMakeLists.txt │ │ ├── DOMWriter.progen │ │ ├── Makefile │ │ └── src │ │ │ └── DOMWriter.cpp │ ├── Makefile │ ├── PrettyPrint │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── PrettyPrint.progen │ │ └── src │ │ │ └── PrettyPrint.cpp │ ├── SAXParser │ │ ├── CMakeLists.txt │ │ ├── Makefile │ │ ├── SAXParser.progen │ │ └── src │ │ │ └── SAXParser.cpp │ ├── data │ │ └── sample.xml │ └── samples.progen ├── src │ ├── AbstractContainerNode.cpp │ ├── AbstractNode.cpp │ ├── Attr.cpp │ ├── AttrMap.cpp │ ├── Attributes.cpp │ ├── AttributesImpl.cpp │ ├── CDATASection.cpp │ ├── CharacterData.cpp │ ├── ChildNodesList.cpp │ ├── Comment.cpp │ ├── ContentHandler.cpp │ ├── DOMBuilder.cpp │ ├── DOMException.cpp │ ├── DOMImplementation.cpp │ ├── DOMObject.cpp │ ├── DOMParser.cpp │ ├── DOMSerializer.cpp │ ├── DOMWriter.cpp │ ├── DTDHandler.cpp │ ├── DTDMap.cpp │ ├── DeclHandler.cpp │ ├── DefaultHandler.cpp │ ├── Document.cpp │ ├── DocumentEvent.cpp │ ├── DocumentFragment.cpp │ ├── DocumentType.cpp │ ├── Element.cpp │ ├── ElementsByTagNameList.cpp │ ├── Entity.cpp │ ├── EntityReference.cpp │ ├── EntityResolver.cpp │ ├── EntityResolverImpl.cpp │ ├── ErrorHandler.cpp │ ├── Event.cpp │ ├── EventDispatcher.cpp │ ├── EventException.cpp │ ├── EventListener.cpp │ ├── EventTarget.cpp │ ├── InputSource.cpp │ ├── LexicalHandler.cpp │ ├── Locator.cpp │ ├── LocatorImpl.cpp │ ├── MutationEvent.cpp │ ├── Name.cpp │ ├── NamePool.cpp │ ├── NamedNodeMap.cpp │ ├── NamespaceStrategy.cpp │ ├── NamespaceSupport.cpp │ ├── Node.cpp │ ├── NodeAppender.cpp │ ├── NodeFilter.cpp │ ├── NodeIterator.cpp │ ├── NodeList.cpp │ ├── Notation.cpp │ ├── ParserEngine.cpp │ ├── ProcessingInstruction.cpp │ ├── QName.cpp │ ├── SAXException.cpp │ ├── SAXParser.cpp │ ├── Text.cpp │ ├── TreeWalker.cpp │ ├── ValueTraits.cpp │ ├── WhitespaceFilter.cpp │ ├── XMLException.cpp │ ├── XMLFilter.cpp │ ├── XMLFilterImpl.cpp │ ├── XMLReader.cpp │ ├── XMLStreamParser.cpp │ ├── XMLStreamParserException.cpp │ ├── XMLString.cpp │ ├── XMLWriter.cpp │ ├── ascii.h │ ├── asciitab.h │ ├── expat_config.h │ ├── iasciitab.h │ ├── internal.h │ ├── latin1tab.h │ ├── nametab.h │ ├── siphash.h │ ├── utf8tab.h │ ├── xmlparse.cpp │ ├── xmlrole.c │ ├── xmlrole.h │ ├── xmltok.c │ ├── xmltok.h │ ├── xmltok_impl.c │ ├── xmltok_impl.h │ └── xmltok_ns.c └── testsuite │ ├── CMakeLists.txt │ ├── Makefile │ ├── TestSuite.progen │ └── src │ ├── AttributesImplTest.cpp │ ├── AttributesImplTest.h │ ├── ChildNodesTest.cpp │ ├── ChildNodesTest.h │ ├── DOMTestSuite.cpp │ ├── DOMTestSuite.h │ ├── DocumentTest.cpp │ ├── DocumentTest.h │ ├── DocumentTypeTest.cpp │ ├── DocumentTypeTest.h │ ├── Driver.cpp │ ├── ElementTest.cpp │ ├── ElementTest.h │ ├── EventTest.cpp │ ├── EventTest.h │ ├── NamePoolTest.cpp │ ├── NamePoolTest.h │ ├── NameTest.cpp │ ├── NameTest.h │ ├── NamespaceSupportTest.cpp │ ├── NamespaceSupportTest.h │ ├── NodeAppenderTest.cpp │ ├── NodeAppenderTest.h │ ├── NodeIteratorTest.cpp │ ├── NodeIteratorTest.h │ ├── NodeTest.cpp │ ├── NodeTest.h │ ├── ParserWriterTest.cpp │ ├── ParserWriterTest.h │ ├── SAXParserTest.cpp │ ├── SAXParserTest.h │ ├── SAXTestSuite.cpp │ ├── SAXTestSuite.h │ ├── TextTest.cpp │ ├── TextTest.h │ ├── TreeWalkerTest.cpp │ ├── TreeWalkerTest.h │ ├── WinCEDriver.cpp │ ├── WinDriver.cpp │ ├── XMLStreamParserTest.cpp │ ├── XMLStreamParserTest.h │ ├── XMLTestSuite.cpp │ ├── XMLTestSuite.h │ ├── XMLWriterTest.cpp │ └── XMLWriterTest.h ├── build ├── config │ ├── AIX │ ├── ARM-Linux │ ├── Alpine │ ├── Android │ ├── Angstrom │ ├── AppleTV │ ├── AppleTVSimulator │ ├── BeagleBoard │ ├── CEGCCARM │ ├── CYGWIN │ ├── CygLinux │ ├── Darwin │ ├── Darwin-clang │ ├── Darwin-clang-libc++ │ ├── Darwin-gcc │ ├── Darwin32 │ ├── Darwin32-clang │ ├── Darwin32-clang-libc++ │ ├── Darwin32-gcc │ ├── Darwin64 │ ├── Darwin64-clang │ ├── Darwin64-clang-libc++ │ ├── Darwin64-gcc │ ├── Darwin7 │ ├── Darwin_x86_64 │ ├── DigiEL │ ├── ELDK │ ├── FreeBSD │ ├── FreeBSD-Linux-compat │ ├── GCCEMBEDLINUX │ ├── HP-UX │ ├── Linux │ ├── Linux-SolarisStudio │ ├── Linux-clang │ ├── Linux-stlport │ ├── MinGW │ ├── MinGW-CrossEnv │ ├── NIOS2-Linux │ ├── OSF1 │ ├── OpenPandora │ ├── OpenWRT │ ├── PPC-Linux │ ├── QNX │ ├── SH-Linux │ ├── SSV-LINUX │ ├── SmartOS-gcc │ ├── SunOS │ ├── SunOS-GCC │ ├── SunOS-SunForte │ ├── SunOS-SunStudio │ ├── SunOS-SunStudio11 │ ├── SunOS-stdcxx-x86_64 │ ├── WatchOS │ ├── WatchSimulator │ ├── X-Debian-Stretch-BBB │ ├── X-Debian-Stretch-RPi │ ├── Yocto │ ├── iPhone │ ├── iPhone-clang │ ├── iPhone-clang-libc++ │ ├── iPhoneSimulator │ ├── iPhoneSimulator-clang │ └── iPhoneSimulator-clang-libc++ ├── rules │ ├── compile │ ├── dylib │ ├── exec │ ├── global │ ├── lib │ └── sample ├── script │ ├── makedepend.SunCC │ ├── makedepend.aCC │ ├── makedepend.clang │ ├── makedepend.cxx │ ├── makedepend.gcc │ ├── makedepend.qcc │ ├── makedepend.xlC │ ├── makeldpath │ ├── projname │ ├── runtests.cmd │ ├── runtests.sh │ ├── runtests2.cmd │ ├── shlibln │ └── vxprogen ├── vms │ ├── build.com │ ├── pococc.com │ ├── pococxx.com │ ├── pocolib.com │ └── pocolnk.com └── vxconfig │ ├── PPC440diab_debug │ └── PPC440diab_release ├── buildsdk.sh ├── cmake ├── CXX1x.cmake ├── DefinePlatformSpecifc.cmake ├── ExecuteOnAndroid.cmake ├── FindAPR.cmake ├── FindAPRUTIL.cmake ├── FindApache2.cmake ├── FindMySQL.cmake ├── FindODBC.cmake ├── FindPCRE.cmake ├── FindPostgreSQL.cmake ├── PocoConfig.cmake.in ├── PocoConfigVersion.cmake.in ├── PocoMacros.cmake ├── README ├── UseEmbeddedOpenSSL.cmake ├── V313 │ └── FindSQLite3.cmake ├── V33 │ └── FindOpenSSL.cmake ├── V39 │ └── FindEXPAT.cmake ├── cmake_uninstall.cmake.in └── test_compiler.cpp ├── components ├── configure ├── doc ├── 00100-GuidedTour.page ├── 00200-GettingStarted.page ├── 90100-Acknowledgements.page ├── 99100-ReleaseNotes.page ├── 99150-GMakeBuildNotes.page ├── 99150-WindowsPlatformNotes.page ├── 99200-WinCEPlatformNotes.page ├── 99250-VxWorksPlatformNotes.page ├── 99300-AndroidPlatformNotes.page ├── Acknowledgements.html ├── CppCodingStyleGuide.doc └── images │ ├── logo.png │ └── overview.png └── libversion /CppUnit/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco CppUnit 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = CppUnitException TestDecorator TestResult TestSuite \ 10 | TestCase TestFailure TestRunner TextTestResult 11 | 12 | target = CppUnit 13 | target_version = 1 14 | target_libs = 15 | 16 | include $(POCO_BASE)/build/rules/lib 17 | -------------------------------------------------------------------------------- /CppUnit/doc/test.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/my-devices/sdk/bdb9ca712954ab3649271ca7914fbf3b41dc39e6/CppUnit/doc/test.gif -------------------------------------------------------------------------------- /CppUnit/include/CppUnit/Guards.h: -------------------------------------------------------------------------------- 1 | // 2 | // Guards.h 3 | // 4 | 5 | 6 | #ifndef CppUnit_Guards_INCLUDED 7 | #define CppUnit_Guards_INCLUDED 8 | 9 | 10 | // Prevent copy construction and assignment for a class 11 | #define REFERENCEOBJECT(className) \ 12 | private: \ 13 | className(const className& other); \ 14 | className& operator = (const className& other); 15 | 16 | 17 | #endif // CppUnit_Guards_INCLUDED 18 | -------------------------------------------------------------------------------- /CppUnit/src/CppUnitException.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // CppUnitException.cpp 3 | // 4 | 5 | 6 | #include "CppUnit/CppUnitException.h" 7 | 8 | 9 | namespace CppUnit { 10 | 11 | 12 | const std::string CppUnitException::CPPUNIT_UNKNOWNFILENAME = ""; 13 | const int CppUnitException::CPPUNIT_UNKNOWNLINENUMBER = -1; 14 | 15 | 16 | } // namespace CppUnit 17 | -------------------------------------------------------------------------------- /CppUnit/src/TestFailure.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // TestFailure.cpp 3 | // 4 | 5 | 6 | #include "CppUnit/TestFailure.h" 7 | #include "CppUnit/Test.h" 8 | 9 | 10 | namespace CppUnit { 11 | 12 | 13 | // Returns a short description of the failure. 14 | std::string TestFailure::toString() 15 | { 16 | return _failedTest->toString () + ": " + _thrownException->what(); 17 | } 18 | 19 | 20 | } // namespace CppUnit 21 | -------------------------------------------------------------------------------- /Crypto/cmake/PocoCryptoConfig.cmake: -------------------------------------------------------------------------------- 1 | include(CMakeFindDependencyMacro) 2 | find_dependency(PocoFoundation) 3 | find_dependency(OpenSSL REQUIRED COMPONENTS Crypto) 4 | include("${CMAKE_CURRENT_LIST_DIR}/PocoCryptoTargets.cmake") 5 | -------------------------------------------------------------------------------- /Crypto/samples/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(genrsakey) 2 | -------------------------------------------------------------------------------- /Crypto/samples/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco Util Samples 5 | # 6 | 7 | .PHONY: projects 8 | clean all: projects 9 | projects: 10 | $(MAKE) -C genrsakey $(MAKECMDGOALS) 11 | -------------------------------------------------------------------------------- /Crypto/samples/genrsakey/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(genrsakey src/genrsakey.cpp) 2 | target_link_libraries(genrsakey PUBLIC Poco::Crypto Poco::Util Poco::XML) 3 | -------------------------------------------------------------------------------- /Crypto/samples/samples.progen: -------------------------------------------------------------------------------- 1 | vc.project.platforms = Win32 2 | vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md 3 | vc.solution.create = true 4 | vc.solution.include = genrsakey\\genrsakey 5 | -------------------------------------------------------------------------------- /Crypto/testsuite/data/certs-only.p12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/my-devices/sdk/bdb9ca712954ab3649271ca7914fbf3b41dc39e6/Crypto/testsuite/data/certs-only.p12 -------------------------------------------------------------------------------- /Crypto/testsuite/data/full.p12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/my-devices/sdk/bdb9ca712954ab3649271ca7914fbf3b41dc39e6/Crypto/testsuite/data/full.p12 -------------------------------------------------------------------------------- /Crypto/testsuite/src/CryptoTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // CryptoTestSuite.h 3 | // 4 | // Definition of the CryptoTestSuite class. 5 | // 6 | // Copyright (c) 2008, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef CryptoTestSuite_INCLUDED 14 | #define CryptoTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class CryptoTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // CryptoTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /Foundation/cmake/PocoFoundationConfig.cmake: -------------------------------------------------------------------------------- 1 | if(@POCO_UNBUNDLED@) 2 | include(CMakeFindDependencyMacro) 3 | list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}") 4 | find_dependency(ZLIB REQUIRED) 5 | find_dependency(PCRE REQUIRED) 6 | endif() 7 | 8 | include("${CMAKE_CURRENT_LIST_DIR}/PocoFoundationTargets.cmake") 9 | -------------------------------------------------------------------------------- /Foundation/include/Poco/Alignment.h: -------------------------------------------------------------------------------- 1 | // 2 | // Alignment.h 3 | // 4 | // Library: Foundation 5 | // Package: Dynamic 6 | // Module: Alignment 7 | // 8 | // Definition of the Alignment class. 9 | // 10 | // Copyright (c) 2007, Applied Informatics Software Engineering GmbH. 11 | // and Contributors. 12 | // 13 | // SPDX-License-Identifier: BSL-1.0 14 | // 15 | 16 | 17 | #ifndef Foundation_Alignment_INCLUDED 18 | #define Foundation_Alignment_INCLUDED 19 | 20 | 21 | #include 22 | #define POCO_HAVE_ALIGNMENT 23 | 24 | 25 | #endif // Foundation_Alignment_INCLUDED 26 | -------------------------------------------------------------------------------- /Foundation/include/Poco/DynamicAny.h: -------------------------------------------------------------------------------- 1 | // 2 | // DynamicAny.h 3 | // 4 | // Library: Foundation 5 | // Package: Dynamic 6 | // Module: Var 7 | // 8 | // Forward header for Var class to maintain backward compatibility. 9 | // 10 | // Copyright (c) 2007, Applied Informatics Software Engineering GmbH. 11 | // and Contributors. 12 | // 13 | // SPDX-License-Identifier: BSL-1.0 14 | // 15 | 16 | 17 | #ifndef Foundation_DynamicAny_INCLUDED 18 | #define Foundation_DynamicAny_INCLUDED 19 | 20 | //@ deprecated 21 | #include "Poco/Dynamic/Var.h" 22 | 23 | 24 | #endif // Foundation_DynamicAny_INCLUDED 25 | -------------------------------------------------------------------------------- /Foundation/include/Poco/DynamicStruct.h: -------------------------------------------------------------------------------- 1 | // 2 | // DynamicStruct.h 3 | // 4 | // Library: Foundation 5 | // Package: Dynamic 6 | // Module: Struct 7 | // 8 | // Forward header for Struct class to maintain backward compatibility. 9 | // 10 | // Copyright (c) 2007, Applied Informatics Software Engineering GmbH. 11 | // and Contributors. 12 | // 13 | // SPDX-License-Identifier: BSL-1.0 14 | // 15 | 16 | 17 | #ifndef Foundation_DynamicStruct_INCLUDED 18 | #define Foundation_DynamicStruct_INCLUDED 19 | 20 | //@ deprecated 21 | #include "Poco/Dynamic/Struct.h" 22 | 23 | 24 | #endif // Foundation_DynamicStruct_INCLUDED 25 | -------------------------------------------------------------------------------- /Foundation/include/Poco/Poco.h: -------------------------------------------------------------------------------- 1 | // 2 | // Poco.h 3 | // 4 | // Library: Foundation 5 | // Package: Core 6 | // Module: Foundation 7 | // 8 | // Basic definitions for the POCO libraries. 9 | // 10 | // Copyright (c) 2006, Applied Informatics Software Engineering GmbH. 11 | // and Contributors. 12 | // 13 | // SPDX-License-Identifier: BSL-1.0 14 | // 15 | 16 | 17 | #ifndef Foundation_Poco_INCLUDED 18 | #define Foundation_Poco_INCLUDED 19 | 20 | 21 | #include "Poco/Foundation.h" 22 | 23 | 24 | #endif // Foundation_Poco_INCLUDED 25 | -------------------------------------------------------------------------------- /Foundation/samples/ActiveMethod/ActiveMethod.progen: -------------------------------------------------------------------------------- 1 | vc.project.guid = ${vc.project.guidFromName} 2 | vc.project.name = ${vc.project.baseName} 3 | vc.project.target = ${vc.project.name} 4 | vc.project.type = executable 5 | vc.project.pocobase = ..\\..\\.. 6 | vc.project.platforms = Win32 7 | vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md 8 | vc.project.prototype = ${vc.project.name}_vs90.vcproj 9 | vc.project.compiler.include = ..\\..\\..\\Foundation\\include 10 | vc.project.linker.dependencies.Win32 = ws2_32.lib iphlpapi.lib 11 | -------------------------------------------------------------------------------- /Foundation/samples/ActiveMethod/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(ActiveMethod src/ActiveMethod.cpp) 2 | target_link_libraries(ActiveMethod PUBLIC Poco::Foundation) 3 | -------------------------------------------------------------------------------- /Foundation/samples/ActiveMethod/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco ActiveMethod 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = ActiveMethod 10 | 11 | target = ActiveMethod 12 | target_version = 1 13 | target_libs = PocoFoundation 14 | 15 | include $(POCO_BASE)/build/rules/exec 16 | -------------------------------------------------------------------------------- /Foundation/samples/Activity/Activity.progen: -------------------------------------------------------------------------------- 1 | vc.project.guid = ${vc.project.guidFromName} 2 | vc.project.name = ${vc.project.baseName} 3 | vc.project.target = ${vc.project.name} 4 | vc.project.type = executable 5 | vc.project.pocobase = ..\\..\\.. 6 | vc.project.platforms = Win32 7 | vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md 8 | vc.project.prototype = ${vc.project.name}_vs90.vcproj 9 | vc.project.compiler.include = ..\\..\\..\\Foundation\\include 10 | vc.project.linker.dependencies.Win32 = ws2_32.lib iphlpapi.lib 11 | -------------------------------------------------------------------------------- /Foundation/samples/Activity/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(Activity src/Activity.cpp) 2 | target_link_libraries(Activity PUBLIC Poco::Foundation) 3 | -------------------------------------------------------------------------------- /Foundation/samples/Activity/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco Activity 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = Activity 10 | 11 | target = Activity 12 | target_version = 1 13 | target_libs = PocoFoundation 14 | 15 | include $(POCO_BASE)/build/rules/exec 16 | -------------------------------------------------------------------------------- /Foundation/samples/BinaryReaderWriter/BinaryReaderWriter.progen: -------------------------------------------------------------------------------- 1 | vc.project.guid = ${vc.project.guidFromName} 2 | vc.project.name = ${vc.project.baseName} 3 | vc.project.target = ${vc.project.name} 4 | vc.project.type = executable 5 | vc.project.pocobase = ..\\..\\.. 6 | vc.project.platforms = Win32 7 | vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md 8 | vc.project.prototype = ${vc.project.name}_vs90.vcproj 9 | vc.project.compiler.include = ..\\..\\..\\Foundation\\include 10 | vc.project.linker.dependencies.Win32 = ws2_32.lib iphlpapi.lib 11 | -------------------------------------------------------------------------------- /Foundation/samples/BinaryReaderWriter/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(BinaryReaderWriter src/BinaryReaderWriter.cpp) 2 | target_link_libraries(BinaryReaderWriter PUBLIC Poco::Foundation) 3 | -------------------------------------------------------------------------------- /Foundation/samples/BinaryReaderWriter/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco BinaryReaderWriter 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = BinaryReaderWriter 10 | 11 | target = BinaryReaderWriter 12 | target_version = 1 13 | target_libs = PocoFoundation 14 | 15 | include $(POCO_BASE)/build/rules/exec 16 | -------------------------------------------------------------------------------- /Foundation/samples/DateTime/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(DateTime src/DateTime.cpp) 2 | target_link_libraries(DateTime PUBLIC Poco::Foundation) 3 | -------------------------------------------------------------------------------- /Foundation/samples/DateTime/DateTime.progen: -------------------------------------------------------------------------------- 1 | vc.project.guid = ${vc.project.guidFromName} 2 | vc.project.name = ${vc.project.baseName} 3 | vc.project.target = ${vc.project.name} 4 | vc.project.type = executable 5 | vc.project.pocobase = ..\\..\\.. 6 | vc.project.platforms = Win32 7 | vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md 8 | vc.project.prototype = ${vc.project.name}_vs90.vcproj 9 | vc.project.compiler.include = ..\\..\\..\\Foundation\\include 10 | vc.project.linker.dependencies.Win32 = ws2_32.lib iphlpapi.lib 11 | -------------------------------------------------------------------------------- /Foundation/samples/DateTime/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco DateTime 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = DateTime 10 | 11 | target = DateTime 12 | target_version = 1 13 | target_libs = PocoFoundation 14 | 15 | include $(POCO_BASE)/build/rules/exec 16 | -------------------------------------------------------------------------------- /Foundation/samples/LineEndingConverter/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(LineEndingConverter src/LineEndingConverter.cpp) 2 | target_link_libraries(LineEndingConverter PUBLIC Poco::Foundation) 3 | -------------------------------------------------------------------------------- /Foundation/samples/LineEndingConverter/LineEndingConverter.progen: -------------------------------------------------------------------------------- 1 | vc.project.guid = ${vc.project.guidFromName} 2 | vc.project.name = ${vc.project.baseName} 3 | vc.project.target = ${vc.project.name} 4 | vc.project.type = executable 5 | vc.project.pocobase = ..\\..\\.. 6 | vc.project.platforms = Win32 7 | vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md 8 | vc.project.prototype = ${vc.project.name}_vs90.vcproj 9 | vc.project.compiler.include = ..\\..\\..\\Foundation\\include 10 | vc.project.linker.dependencies.Win32 = ws2_32.lib iphlpapi.lib 11 | -------------------------------------------------------------------------------- /Foundation/samples/LineEndingConverter/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco LineEndingConverter 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = LineEndingConverter 10 | 11 | target = LineEndingConverter 12 | target_version = 1 13 | target_libs = PocoFoundation 14 | 15 | include $(POCO_BASE)/build/rules/exec 16 | -------------------------------------------------------------------------------- /Foundation/samples/LogRotation/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(LogRotation src/LogRotation.cpp) 2 | target_link_libraries(LogRotation PUBLIC Poco::Foundation) 3 | -------------------------------------------------------------------------------- /Foundation/samples/LogRotation/LogRotation.progen: -------------------------------------------------------------------------------- 1 | vc.project.guid = ${vc.project.guidFromName} 2 | vc.project.name = ${vc.project.baseName} 3 | vc.project.target = ${vc.project.name} 4 | vc.project.type = executable 5 | vc.project.pocobase = ..\\..\\.. 6 | vc.project.platforms = Win32 7 | vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md 8 | vc.project.prototype = ${vc.project.name}_vs90.vcproj 9 | vc.project.compiler.include = ..\\..\\..\\Foundation\\include 10 | vc.project.linker.dependencies.Win32 = ws2_32.lib iphlpapi.lib 11 | -------------------------------------------------------------------------------- /Foundation/samples/LogRotation/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco LogRotation 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = LogRotation 10 | 11 | target = LogRotation 12 | target_version = 1 13 | target_libs = PocoFoundation 14 | 15 | include $(POCO_BASE)/build/rules/exec 16 | -------------------------------------------------------------------------------- /Foundation/samples/Logger/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(Logger src/Logger.cpp) 2 | target_link_libraries(Logger PUBLIC Poco::Foundation) 3 | -------------------------------------------------------------------------------- /Foundation/samples/Logger/Logger.progen: -------------------------------------------------------------------------------- 1 | vc.project.guid = ${vc.project.guidFromName} 2 | vc.project.name = ${vc.project.baseName} 3 | vc.project.target = ${vc.project.name} 4 | vc.project.type = executable 5 | vc.project.pocobase = ..\\..\\.. 6 | vc.project.platforms = Win32 7 | vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md 8 | vc.project.prototype = ${vc.project.name}_vs90.vcproj 9 | vc.project.compiler.include = ..\\..\\..\\Foundation\\include 10 | vc.project.linker.dependencies.Win32 = ws2_32.lib iphlpapi.lib 11 | -------------------------------------------------------------------------------- /Foundation/samples/Logger/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco Logger 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = Logger 10 | 11 | target = Logger 12 | target_version = 1 13 | target_libs = PocoFoundation 14 | 15 | include $(POCO_BASE)/build/rules/exec 16 | 17 | ifdef POCO_UNBUNDLED 18 | SYSLIBS += -lz 19 | endif 20 | 21 | -------------------------------------------------------------------------------- /Foundation/samples/NotificationQueue/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(NotificationQueue src/NotificationQueue.cpp) 2 | target_link_libraries(NotificationQueue PUBLIC Poco::Foundation) 3 | -------------------------------------------------------------------------------- /Foundation/samples/NotificationQueue/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco NotificationQueue 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = NotificationQueue 10 | 11 | target = NotificationQueue 12 | target_version = 1 13 | target_libs = PocoFoundation 14 | 15 | include $(POCO_BASE)/build/rules/exec 16 | -------------------------------------------------------------------------------- /Foundation/samples/NotificationQueue/NotificationQueue.progen: -------------------------------------------------------------------------------- 1 | vc.project.guid = ${vc.project.guidFromName} 2 | vc.project.name = ${vc.project.baseName} 3 | vc.project.target = ${vc.project.name} 4 | vc.project.type = executable 5 | vc.project.pocobase = ..\\..\\.. 6 | vc.project.platforms = Win32 7 | vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md 8 | vc.project.prototype = ${vc.project.name}_vs90.vcproj 9 | vc.project.compiler.include = ..\\..\\..\\Foundation\\include 10 | vc.project.linker.dependencies.Win32 = ws2_32.lib iphlpapi.lib 11 | -------------------------------------------------------------------------------- /Foundation/samples/StringTokenizer/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(StringTokenizer src/StringTokenizer.cpp) 2 | target_link_libraries(StringTokenizer PUBLIC Poco::Foundation) 3 | -------------------------------------------------------------------------------- /Foundation/samples/StringTokenizer/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco StringTokenizer 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = StringTokenizer 10 | 11 | target = StringTokenizer 12 | target_version = 1 13 | target_libs = PocoFoundation 14 | 15 | include $(POCO_BASE)/build/rules/exec 16 | -------------------------------------------------------------------------------- /Foundation/samples/StringTokenizer/StringTokenizer.progen: -------------------------------------------------------------------------------- 1 | vc.project.guid = ${vc.project.guidFromName} 2 | vc.project.name = ${vc.project.baseName} 3 | vc.project.target = ${vc.project.name} 4 | vc.project.type = executable 5 | vc.project.pocobase = ..\\..\\.. 6 | vc.project.platforms = Win32 7 | vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md 8 | vc.project.prototype = ${vc.project.name}_vs90.vcproj 9 | vc.project.compiler.include = ..\\..\\..\\Foundation\\include 10 | vc.project.linker.dependencies.Win32 = ws2_32.lib iphlpapi.lib 11 | -------------------------------------------------------------------------------- /Foundation/samples/Timer/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(Timer src/Timer.cpp) 2 | target_link_libraries(Timer PUBLIC Poco::Foundation) 3 | -------------------------------------------------------------------------------- /Foundation/samples/Timer/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco Timer 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = Timer 10 | 11 | target = Timer 12 | target_version = 1 13 | target_libs = PocoFoundation 14 | 15 | include $(POCO_BASE)/build/rules/exec 16 | -------------------------------------------------------------------------------- /Foundation/samples/Timer/Timer.progen: -------------------------------------------------------------------------------- 1 | vc.project.guid = ${vc.project.guidFromName} 2 | vc.project.name = ${vc.project.baseName} 3 | vc.project.target = ${vc.project.name} 4 | vc.project.type = executable 5 | vc.project.pocobase = ..\\..\\.. 6 | vc.project.platforms = Win32 7 | vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md 8 | vc.project.prototype = ${vc.project.name}_vs90.vcproj 9 | vc.project.compiler.include = ..\\..\\..\\Foundation\\include 10 | vc.project.linker.dependencies.Win32 = ws2_32.lib iphlpapi.lib 11 | -------------------------------------------------------------------------------- /Foundation/samples/URI/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(URI src/URI.cpp) 2 | target_link_libraries(URI PUBLIC Poco::Foundation) 3 | -------------------------------------------------------------------------------- /Foundation/samples/URI/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco URI 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = URI 10 | 11 | target = URI 12 | target_version = 1 13 | target_libs = PocoFoundation 14 | 15 | include $(POCO_BASE)/build/rules/exec 16 | -------------------------------------------------------------------------------- /Foundation/samples/URI/URI.progen: -------------------------------------------------------------------------------- 1 | vc.project.guid = ${vc.project.guidFromName} 2 | vc.project.name = ${vc.project.baseName} 3 | vc.project.target = ${vc.project.name} 4 | vc.project.type = executable 5 | vc.project.pocobase = ..\\..\\.. 6 | vc.project.platforms = Win32 7 | vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md 8 | vc.project.prototype = ${vc.project.name}_vs90.vcproj 9 | vc.project.compiler.include = ..\\..\\..\\Foundation\\include 10 | vc.project.linker.dependencies.Win32 = ws2_32.lib iphlpapi.lib 11 | -------------------------------------------------------------------------------- /Foundation/samples/base64decode/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(base64decode src/base64decode.cpp) 2 | target_link_libraries(base64decode PUBLIC Poco::Foundation) 3 | -------------------------------------------------------------------------------- /Foundation/samples/base64decode/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco base64decode 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = base64decode 10 | 11 | target = base64decode 12 | target_version = 1 13 | target_libs = PocoFoundation 14 | 15 | include $(POCO_BASE)/build/rules/exec 16 | -------------------------------------------------------------------------------- /Foundation/samples/base64decode/base64decode.progen: -------------------------------------------------------------------------------- 1 | vc.project.guid = ${vc.project.guidFromName} 2 | vc.project.name = ${vc.project.baseName} 3 | vc.project.target = ${vc.project.name} 4 | vc.project.type = executable 5 | vc.project.pocobase = ..\\..\\.. 6 | vc.project.platforms = Win32 7 | vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md 8 | vc.project.prototype = ${vc.project.name}_vs90.vcproj 9 | vc.project.compiler.include = ..\\..\\..\\Foundation\\include 10 | vc.project.linker.dependencies.Win32 = ws2_32.lib iphlpapi.lib 11 | -------------------------------------------------------------------------------- /Foundation/samples/base64encode/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(base64encode src/base64encode.cpp) 2 | target_link_libraries(base64encode PUBLIC Poco::Foundation) 3 | -------------------------------------------------------------------------------- /Foundation/samples/base64encode/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco base64encode 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = base64encode 10 | 11 | target = base64encode 12 | target_version = 1 13 | target_libs = PocoFoundation 14 | 15 | include $(POCO_BASE)/build/rules/exec 16 | -------------------------------------------------------------------------------- /Foundation/samples/base64encode/base64encode.progen: -------------------------------------------------------------------------------- 1 | vc.project.guid = ${vc.project.guidFromName} 2 | vc.project.name = ${vc.project.baseName} 3 | vc.project.target = ${vc.project.name} 4 | vc.project.type = executable 5 | vc.project.pocobase = ..\\..\\.. 6 | vc.project.platforms = Win32 7 | vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md 8 | vc.project.prototype = ${vc.project.name}_vs90.vcproj 9 | vc.project.compiler.include = ..\\..\\..\\Foundation\\include 10 | vc.project.linker.dependencies.Win32 = ws2_32.lib iphlpapi.lib 11 | -------------------------------------------------------------------------------- /Foundation/samples/deflate/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(deflate src/deflate.cpp) 2 | target_link_libraries(deflate PUBLIC Poco::Foundation) 3 | -------------------------------------------------------------------------------- /Foundation/samples/deflate/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco deflate 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = deflate 10 | 11 | target = deflate 12 | target_version = 1 13 | target_libs = PocoFoundation 14 | 15 | include $(POCO_BASE)/build/rules/exec 16 | 17 | ifdef POCO_UNBUNDLED 18 | SYSLIBS += -lz 19 | endif 20 | 21 | -------------------------------------------------------------------------------- /Foundation/samples/deflate/deflate.progen: -------------------------------------------------------------------------------- 1 | vc.project.guid = ${vc.project.guidFromName} 2 | vc.project.name = ${vc.project.baseName} 3 | vc.project.target = ${vc.project.name} 4 | vc.project.type = executable 5 | vc.project.pocobase = ..\\..\\.. 6 | vc.project.platforms = Win32 7 | vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md 8 | vc.project.prototype = ${vc.project.name}_vs90.vcproj 9 | vc.project.compiler.include = ..\\..\\..\\Foundation\\include 10 | vc.project.linker.dependencies.Win32 = ws2_32.lib iphlpapi.lib 11 | -------------------------------------------------------------------------------- /Foundation/samples/dir/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(dir src/dir.cpp) 2 | target_link_libraries(dir PUBLIC Poco::Foundation) 3 | -------------------------------------------------------------------------------- /Foundation/samples/dir/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco dir 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = dir 10 | 11 | target = dir 12 | target_version = 1 13 | target_libs = PocoFoundation 14 | 15 | include $(POCO_BASE)/build/rules/exec 16 | -------------------------------------------------------------------------------- /Foundation/samples/dir/dir.progen: -------------------------------------------------------------------------------- 1 | vc.project.guid = ${vc.project.guidFromName} 2 | vc.project.name = ${vc.project.baseName} 3 | vc.project.target = ${vc.project.name} 4 | vc.project.type = executable 5 | vc.project.pocobase = ..\\..\\.. 6 | vc.project.platforms = Win32 7 | vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md 8 | vc.project.prototype = ${vc.project.name}_vs90.vcproj 9 | vc.project.compiler.include = ..\\..\\..\\Foundation\\include 10 | vc.project.linker.dependencies.Win32 = ws2_32.lib iphlpapi.lib 11 | -------------------------------------------------------------------------------- /Foundation/samples/grep/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(grep src/grep.cpp) 2 | target_link_libraries(grep PUBLIC Poco::Foundation) 3 | -------------------------------------------------------------------------------- /Foundation/samples/grep/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco grep 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = grep 10 | 11 | target = grep 12 | target_version = 1 13 | target_libs = PocoFoundation 14 | 15 | include $(POCO_BASE)/build/rules/exec 16 | 17 | ifdef POCO_UNBUNDLED 18 | SYSLIBS += -lpcre 19 | endif 20 | 21 | -------------------------------------------------------------------------------- /Foundation/samples/grep/grep.progen: -------------------------------------------------------------------------------- 1 | vc.project.guid = ${vc.project.guidFromName} 2 | vc.project.name = ${vc.project.baseName} 3 | vc.project.target = ${vc.project.name} 4 | vc.project.type = executable 5 | vc.project.pocobase = ..\\..\\.. 6 | vc.project.platforms = Win32 7 | vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md 8 | vc.project.prototype = ${vc.project.name}_vs90.vcproj 9 | vc.project.compiler.include = ..\\..\\..\\Foundation\\include 10 | vc.project.linker.dependencies.Win32 = ws2_32.lib iphlpapi.lib 11 | -------------------------------------------------------------------------------- /Foundation/samples/hmacmd5/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(hmacmd5 src/hmacmd5.cpp) 2 | target_link_libraries(hmacmd5 PUBLIC Poco::Foundation) 3 | -------------------------------------------------------------------------------- /Foundation/samples/hmacmd5/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco hmacmd5 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = hmacmd5 10 | 11 | target = hmacmd5 12 | target_version = 1 13 | target_libs = PocoFoundation 14 | 15 | include $(POCO_BASE)/build/rules/exec 16 | -------------------------------------------------------------------------------- /Foundation/samples/hmacmd5/hmacmd5.progen: -------------------------------------------------------------------------------- 1 | vc.project.guid = ${vc.project.guidFromName} 2 | vc.project.name = ${vc.project.baseName} 3 | vc.project.target = ${vc.project.name} 4 | vc.project.type = executable 5 | vc.project.pocobase = ..\\..\\.. 6 | vc.project.platforms = Win32 7 | vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md 8 | vc.project.prototype = ${vc.project.name}_vs90.vcproj 9 | vc.project.compiler.include = ..\\..\\..\\Foundation\\include 10 | vc.project.linker.dependencies.Win32 = ws2_32.lib iphlpapi.lib 11 | -------------------------------------------------------------------------------- /Foundation/samples/inflate/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(inflate src/inflate.cpp) 2 | target_link_libraries(inflate PUBLIC Poco::Foundation) 3 | -------------------------------------------------------------------------------- /Foundation/samples/inflate/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco inflate 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = inflate 10 | 11 | target = inflate 12 | target_version = 1 13 | target_libs = PocoFoundation 14 | 15 | include $(POCO_BASE)/build/rules/exec 16 | 17 | ifdef POCO_UNBUNDLED 18 | SYSLIBS += -lz 19 | endif 20 | 21 | -------------------------------------------------------------------------------- /Foundation/samples/inflate/inflate.progen: -------------------------------------------------------------------------------- 1 | vc.project.guid = ${vc.project.guidFromName} 2 | vc.project.name = ${vc.project.baseName} 3 | vc.project.target = ${vc.project.name} 4 | vc.project.type = executable 5 | vc.project.pocobase = ..\\..\\.. 6 | vc.project.platforms = Win32 7 | vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md 8 | vc.project.prototype = ${vc.project.name}_vs90.vcproj 9 | vc.project.compiler.include = ..\\..\\..\\Foundation\\include 10 | vc.project.linker.dependencies.Win32 = ws2_32.lib iphlpapi.lib 11 | -------------------------------------------------------------------------------- /Foundation/samples/md5/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(md5 src/md5.cpp) 2 | target_link_libraries(md5 PUBLIC Poco::Foundation) 3 | -------------------------------------------------------------------------------- /Foundation/samples/md5/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco md5 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = md5 10 | 11 | target = md5 12 | target_version = 1 13 | target_libs = PocoFoundation 14 | 15 | include $(POCO_BASE)/build/rules/exec 16 | -------------------------------------------------------------------------------- /Foundation/samples/md5/md5.progen: -------------------------------------------------------------------------------- 1 | vc.project.guid = ${vc.project.guidFromName} 2 | vc.project.name = ${vc.project.baseName} 3 | vc.project.target = ${vc.project.name} 4 | vc.project.type = executable 5 | vc.project.pocobase = ..\\..\\.. 6 | vc.project.platforms = Win32 7 | vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md 8 | vc.project.prototype = ${vc.project.name}_vs90.vcproj 9 | vc.project.compiler.include = ..\\..\\..\\Foundation\\include 10 | vc.project.linker.dependencies.Win32 = ws2_32.lib iphlpapi.lib 11 | -------------------------------------------------------------------------------- /Foundation/samples/uuidgen/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(uuidgen src/uuidgen.cpp) 2 | target_link_libraries(uuidgen PUBLIC Poco::Foundation) 3 | -------------------------------------------------------------------------------- /Foundation/samples/uuidgen/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco uuidgen 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = uuidgen 10 | 11 | target = uuidgen 12 | target_version = 1 13 | target_libs = PocoFoundation 14 | 15 | include $(POCO_BASE)/build/rules/exec 16 | -------------------------------------------------------------------------------- /Foundation/samples/uuidgen/uuidgen.progen: -------------------------------------------------------------------------------- 1 | vc.project.guid = ${vc.project.guidFromName} 2 | vc.project.name = ${vc.project.baseName} 3 | vc.project.target = ${vc.project.name} 4 | vc.project.type = executable 5 | vc.project.pocobase = ..\\..\\.. 6 | vc.project.platforms = Win32 7 | vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md 8 | vc.project.prototype = ${vc.project.name}_vs90.vcproj 9 | vc.project.compiler.include = ..\\..\\..\\Foundation\\include 10 | vc.project.linker.dependencies.Win32 = ws2_32.lib iphlpapi.lib 11 | -------------------------------------------------------------------------------- /Foundation/src/AtomicFlag.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // AtomicFlag.cpp 3 | // 4 | // Library: Foundation 5 | // Package: Core 6 | // Module: AtomicFlag 7 | // 8 | // Copyright (c) 2009, Applied Informatics Software Engineering GmbH. 9 | // and Contributors. 10 | // 11 | // SPDX-License-Identifier: BSL-1.0 12 | // 13 | 14 | 15 | #include "Poco/AtomicCounter.h" 16 | 17 | -------------------------------------------------------------------------------- /Foundation/src/ByteOrder.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // ByteOrder.cpp 3 | // 4 | // Library: Foundation 5 | // Package: Core 6 | // Module: ByteOrder 7 | // 8 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 9 | // and Contributors. 10 | // 11 | // SPDX-License-Identifier: BSL-1.0 12 | // 13 | 14 | 15 | #include "Poco/ByteOrder.h" 16 | -------------------------------------------------------------------------------- /Foundation/src/Configurable.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // Configurable.cpp 3 | // 4 | // Library: Foundation 5 | // Package: Logging 6 | // Module: Configurable 7 | // 8 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 9 | // and Contributors. 10 | // 11 | // SPDX-License-Identifier: BSL-1.0 12 | // 13 | 14 | 15 | #include "Poco/Configurable.h" 16 | 17 | 18 | namespace Poco { 19 | 20 | 21 | Configurable::Configurable() 22 | { 23 | } 24 | 25 | 26 | Configurable::~Configurable() 27 | { 28 | } 29 | 30 | 31 | } // namespace Poco 32 | -------------------------------------------------------------------------------- /Foundation/src/EventArgs.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // EventArgs.cpp 3 | // 4 | // Library: Foundation 5 | // Package: Events 6 | // Module: EventArgs 7 | // 8 | // Implementation of EventArgs 9 | // 10 | // Copyright (c) 2006, Applied Informatics Software Engineering GmbH. 11 | // and Contributors. 12 | // 13 | // SPDX-License-Identifier: BSL-1.0 14 | // 15 | 16 | 17 | #include "Poco/EventArgs.h" 18 | 19 | 20 | namespace Poco { 21 | 22 | 23 | EventArgs::EventArgs() 24 | { 25 | } 26 | 27 | 28 | EventArgs::~EventArgs() 29 | { 30 | } 31 | 32 | 33 | } // namespace Poco 34 | -------------------------------------------------------------------------------- /Foundation/src/MSG00001.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/my-devices/sdk/bdb9ca712954ab3649271ca7914fbf3b41dc39e6/Foundation/src/MSG00001.bin -------------------------------------------------------------------------------- /Foundation/src/Manifest.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // Manifest.cpp 3 | // 4 | // Library: Foundation 5 | // Package: SharedLibrary 6 | // Module: ClassLoader 7 | // 8 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 9 | // and Contributors. 10 | // 11 | // SPDX-License-Identifier: BSL-1.0 12 | // 13 | 14 | 15 | #include "Poco/Manifest.h" 16 | 17 | 18 | namespace Poco { 19 | 20 | 21 | ManifestBase::ManifestBase() 22 | { 23 | } 24 | 25 | 26 | ManifestBase::~ManifestBase() 27 | { 28 | } 29 | 30 | 31 | } // namespace Poco 32 | -------------------------------------------------------------------------------- /Foundation/src/RefCountedObject.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // RefCountedObject.cpp 3 | // 4 | // Library: Foundation 5 | // Package: Core 6 | // Module: RefCountedObject 7 | // 8 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 9 | // and Contributors. 10 | // 11 | // SPDX-License-Identifier: BSL-1.0 12 | // 13 | 14 | 15 | #include "Poco/RefCountedObject.h" 16 | 17 | 18 | namespace Poco { 19 | 20 | 21 | RefCountedObject::RefCountedObject(): _counter(1) 22 | { 23 | } 24 | 25 | 26 | RefCountedObject::~RefCountedObject() 27 | { 28 | } 29 | 30 | 31 | } // namespace Poco 32 | -------------------------------------------------------------------------------- /Foundation/src/Runnable.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // Runnable.cpp 3 | // 4 | // Library: Foundation 5 | // Package: Threading 6 | // Module: Thread 7 | // 8 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 9 | // and Contributors. 10 | // 11 | // SPDX-License-Identifier: BSL-1.0 12 | // 13 | 14 | 15 | #include "Poco/Runnable.h" 16 | #include "Poco/Thread.h" 17 | 18 | 19 | namespace Poco { 20 | 21 | 22 | Runnable::Runnable() 23 | { 24 | } 25 | 26 | 27 | Runnable::~Runnable() 28 | { 29 | } 30 | 31 | 32 | } // namespace Poco 33 | -------------------------------------------------------------------------------- /Foundation/src/SynchronizedObject.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // SynchronizedObject.cpp 3 | // 4 | // Library: Foundation 5 | // Package: Threading 6 | // Module: SynchronizedObject 7 | // 8 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 9 | // and Contributors. 10 | // 11 | // SPDX-License-Identifier: BSL-1.0 12 | // 13 | 14 | 15 | #include "Poco/SynchronizedObject.h" 16 | 17 | 18 | namespace Poco { 19 | 20 | 21 | SynchronizedObject::SynchronizedObject() 22 | { 23 | } 24 | 25 | 26 | SynchronizedObject::~SynchronizedObject() 27 | { 28 | } 29 | 30 | 31 | } // namespace Poco 32 | -------------------------------------------------------------------------------- /Foundation/src/Void.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // Void.cpp 3 | // 4 | // Library: Foundation 5 | // Package: Core 6 | // Module: Void 7 | // 8 | // Copyright (c) 2006, Applied Informatics Software Engineering GmbH. 9 | // and Contributors. 10 | // 11 | // SPDX-License-Identifier: BSL-1.0 12 | // 13 | 14 | 15 | #include "Poco/Void.h" 16 | 17 | 18 | namespace Poco { 19 | 20 | 21 | Void::Void() 22 | { 23 | } 24 | 25 | 26 | Void::Void(const Void&) 27 | { 28 | } 29 | 30 | 31 | Void::~Void() 32 | { 33 | } 34 | 35 | 36 | Void& Void::operator = (const Void&) 37 | { 38 | return *this; 39 | } 40 | 41 | 42 | } // namespace Poco 43 | -------------------------------------------------------------------------------- /Foundation/src/inffast.h: -------------------------------------------------------------------------------- 1 | /* inffast.h -- header to use inffast.c 2 | * Copyright (C) 1995-2003, 2010 Mark Adler 3 | * For conditions of distribution and use, see copyright notice in zlib.h 4 | */ 5 | 6 | /* WARNING: this file should *not* be used by applications. It is 7 | part of the implementation of the compression library and is 8 | subject to change. Applications should only use zlib.h. 9 | */ 10 | 11 | void ZLIB_INTERNAL inflate_fast(z_streamp strm, unsigned start); 12 | -------------------------------------------------------------------------------- /Foundation/testsuite/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco Foundation testsuite 5 | # 6 | 7 | .PHONY: projects 8 | clean all: projects 9 | projects: 10 | $(MAKE) -f Makefile-Driver $(MAKECMDGOALS) 11 | ifneq ($(LINKMODE),STATIC) 12 | $(MAKE) -f Makefile-TestLibrary $(MAKECMDGOALS) 13 | endif 14 | $(MAKE) -f Makefile-TestApp $(MAKECMDGOALS) 15 | -------------------------------------------------------------------------------- /Foundation/testsuite/Makefile-TestApp: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco TestApp 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = TestApp 10 | 11 | target = TestApp 12 | target_version = 1 13 | target_libs = PocoFoundation 14 | 15 | include $(POCO_BASE)/build/rules/exec 16 | -------------------------------------------------------------------------------- /Foundation/testsuite/Makefile-TestLibrary: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco Foundation testsuite 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = TestPlugin TestLibrary 10 | 11 | target = TestLibrary 12 | target_version = 1 13 | target_libs = PocoFoundation 14 | 15 | include $(POCO_BASE)/build/rules/dylib 16 | -------------------------------------------------------------------------------- /Foundation/testsuite/src/CacheTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // CacheTestSuite.h 3 | // 4 | // Definition of the CacheTestSuite class. 5 | // 6 | // Copyright (c) 2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef CacheTestSuite_INCLUDED 14 | #define CacheTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class CacheTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // CacheTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /Foundation/testsuite/src/CoreTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // CoreTestSuite.h 3 | // 4 | // Definition of the CoreTestSuite class. 5 | // 6 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef CoreTestSuite_INCLUDED 14 | #define CoreTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class CoreTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // CoreTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /Foundation/testsuite/src/CryptTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // CryptTestSuite.h 3 | // 4 | // Definition of the CryptTestSuite class. 5 | // 6 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef CryptTestSuite_INCLUDED 14 | #define CryptTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class CryptTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // CryptTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /Foundation/testsuite/src/DateTimeTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // DateTimeTestSuite.h 3 | // 4 | // Definition of the DateTimeTestSuite class. 5 | // 6 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef DateTimeTestSuite_INCLUDED 14 | #define DateTimeTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class DateTimeTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // DateTimeTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /Foundation/testsuite/src/Driver.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // Driver.cpp 3 | // 4 | // Console-based test driver. 5 | // 6 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #include "CppUnit/TestRunner.h" 14 | #include "FoundationTestSuite.h" 15 | 16 | 17 | CppUnitMain(FoundationTestSuite) 18 | -------------------------------------------------------------------------------- /Foundation/testsuite/src/DynamicTestSuite.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // DynamicTestSuite.cpp 3 | // 4 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 5 | // and Contributors. 6 | // 7 | // SPDX-License-Identifier: BSL-1.0 8 | // 9 | 10 | 11 | #include "DynamicTestSuite.h" 12 | #include "VarTest.h" 13 | 14 | 15 | CppUnit::Test* DynamicTestSuite::suite() 16 | { 17 | CppUnit::TestSuite* pSuite = new CppUnit::TestSuite("DynamicTestSuite"); 18 | 19 | pSuite->addTest(VarTest::suite()); 20 | 21 | return pSuite; 22 | } 23 | -------------------------------------------------------------------------------- /Foundation/testsuite/src/DynamicTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // DynamicTestSuite.h 3 | // 4 | // Definition of the DynamicTestSuite class. 5 | // 6 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef DynamicTestSuite_INCLUDED 14 | #define DynamicTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class DynamicTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // DynamicTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /Foundation/testsuite/src/EventTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // EventTestSuite.h 3 | // 4 | // Definition of the EventTestSuite class. 5 | // 6 | // Copyright (c) 2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef EventTestSuite_INCLUDED 14 | #define EventTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class EventTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // EventTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /Foundation/testsuite/src/FilesystemTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // FilesystemTestSuite.h 3 | // 4 | // Definition of the FilesystemTestSuite class. 5 | // 6 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef FilesystemTestSuite_INCLUDED 14 | #define FilesystemTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class FilesystemTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // FilesystemTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /Foundation/testsuite/src/FoundationTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // FoundationTestSuite.h 3 | // 4 | // Definition of the FoundationTestSuite class. 5 | // 6 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef FoundationTestSuite_INCLUDED 14 | #define FoundationTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class FoundationTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // FoundationTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /Foundation/testsuite/src/HashingTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // HashingTestSuite.h 3 | // 4 | // Definition of the HashingTestSuite class. 5 | // 6 | // Copyright (c) 2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef HashingTestSuite_INCLUDED 14 | #define HashingTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class HashingTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // HashingTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /Foundation/testsuite/src/LoggingTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // LoggingTestSuite.h 3 | // 4 | // Definition of the LoggingTestSuite class. 5 | // 6 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef LoggingTestSuite_INCLUDED 14 | #define LoggingTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class LoggingTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // LoggingTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /Foundation/testsuite/src/ProcessesTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // ProcessesTestSuite.h 3 | // 4 | // Definition of the ProcessesTestSuite class. 5 | // 6 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef ProcessesTestSuite_INCLUDED 14 | #define ProcessesTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class ProcessesTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // ProcessesTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /Foundation/testsuite/src/StreamsTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // StreamsTestSuite.h 3 | // 4 | // Definition of the StreamsTestSuite class. 5 | // 6 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef StreamsTestSuite_INCLUDED 14 | #define StreamsTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class StreamsTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // StreamsTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /Foundation/testsuite/src/TaskTestSuite.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // TaskTestSuite.cpp 3 | // 4 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 5 | // and Contributors. 6 | // 7 | // SPDX-License-Identifier: BSL-1.0 8 | // 9 | 10 | 11 | #include "TaskTestSuite.h" 12 | #include "TaskTest.h" 13 | #include "TaskManagerTest.h" 14 | 15 | 16 | CppUnit::Test* TaskTestSuite::suite() 17 | { 18 | CppUnit::TestSuite* pSuite = new CppUnit::TestSuite("TaskTestSuite"); 19 | 20 | pSuite->addTest(TaskTest::suite()); 21 | pSuite->addTest(TaskManagerTest::suite()); 22 | 23 | return pSuite; 24 | } 25 | -------------------------------------------------------------------------------- /Foundation/testsuite/src/TaskTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // TaskTestSuite.h 3 | // 4 | // Definition of the TaskTestSuite class. 5 | // 6 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef TaskTestSuite_INCLUDED 14 | #define TaskTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class TaskTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // TaskTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /Foundation/testsuite/src/TestPlugin.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // TestPlugin.cpp 3 | // 4 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 5 | // and Contributors. 6 | // 7 | // SPDX-License-Identifier: BSL-1.0 8 | // 9 | 10 | 11 | #include "TestPlugin.h" 12 | 13 | 14 | TestPlugin::TestPlugin() 15 | { 16 | } 17 | 18 | 19 | TestPlugin::~TestPlugin() 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /Foundation/testsuite/src/TestPlugin.h: -------------------------------------------------------------------------------- 1 | // 2 | // TestPlugin.h 3 | // 4 | // Definition of the TestPlugin class. 5 | // 6 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef TestPlugin_INCLUDED 14 | #define TestPlugin_INCLUDED 15 | 16 | 17 | #include "Poco/Foundation.h" 18 | 19 | 20 | class TestPlugin 21 | { 22 | public: 23 | TestPlugin(); 24 | virtual ~TestPlugin(); 25 | virtual std::string name() const = 0; 26 | }; 27 | 28 | 29 | #endif // TestPlugin_INCLUDED 30 | -------------------------------------------------------------------------------- /Foundation/testsuite/src/TextTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // TextTestSuite.h 3 | // 4 | // Definition of the TextTestSuite class. 5 | // 6 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef TextTestSuite_INCLUDED 14 | #define TextTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class TextTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // TextTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /Foundation/testsuite/src/ThreadingTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // ThreadingTestSuite.h 3 | // 4 | // Definition of the ThreadingTestSuite class. 5 | // 6 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef ThreadingTestSuite_INCLUDED 14 | #define ThreadingTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class ThreadingTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // ThreadingTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /Foundation/testsuite/src/URITestSuite.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // URITestSuite.cpp 3 | // 4 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 5 | // and Contributors. 6 | // 7 | // SPDX-License-Identifier: BSL-1.0 8 | // 9 | 10 | 11 | #include "URITestSuite.h" 12 | #include "URITest.h" 13 | #include "URIStreamOpenerTest.h" 14 | 15 | 16 | CppUnit::Test* URITestSuite::suite() 17 | { 18 | CppUnit::TestSuite* pSuite = new CppUnit::TestSuite("URITestSuite"); 19 | 20 | pSuite->addTest(URITest::suite()); 21 | pSuite->addTest(URIStreamOpenerTest::suite()); 22 | 23 | return pSuite; 24 | } 25 | -------------------------------------------------------------------------------- /Foundation/testsuite/src/URITestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // URITestSuite.h 3 | // 4 | // Definition of the URITestSuite class. 5 | // 6 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef URITestSuite_INCLUDED 14 | #define URITestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class URITestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // URITestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /Foundation/testsuite/src/UUIDTestSuite.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // UUIDTestSuite.cpp 3 | // 4 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 5 | // and Contributors. 6 | // 7 | // SPDX-License-Identifier: BSL-1.0 8 | // 9 | 10 | 11 | #include "UUIDTestSuite.h" 12 | #include "UUIDTest.h" 13 | #include "UUIDGeneratorTest.h" 14 | 15 | 16 | CppUnit::Test* UUIDTestSuite::suite() 17 | { 18 | CppUnit::TestSuite* pSuite = new CppUnit::TestSuite("UUIDTestSuite"); 19 | 20 | pSuite->addTest(UUIDTest::suite()); 21 | pSuite->addTest(UUIDGeneratorTest::suite()); 22 | 23 | return pSuite; 24 | } 25 | -------------------------------------------------------------------------------- /Foundation/testsuite/src/UUIDTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // UUIDTestSuite.h 3 | // 4 | // Definition of the UUIDTestSuite class. 5 | // 6 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef UUIDTestSuite_INCLUDED 14 | #define UUIDTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class UUIDTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // UUIDTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /Foundation/wcelibcex-1.0/AUTHORS.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/my-devices/sdk/bdb9ca712954ab3649271ca7914fbf3b41dc39e6/Foundation/wcelibcex-1.0/AUTHORS.txt -------------------------------------------------------------------------------- /Foundation/wcelibcex-1.0/COPYING.txt: -------------------------------------------------------------------------------- 1 | Note about WCELIBCEX files copyright. 2 | 3 | File copyright is held by a file author. 4 | 5 | Files created for the first version of the WCELIBCEX project are 6 | copyrighted by (c) 2006 Taxus SI Ltd., http://www.taxussi.com.pl 7 | 8 | See comment in header of source files for more details. 9 | See LICENSE.txt for license agreement. 10 | -------------------------------------------------------------------------------- /Foundation/wcelibcex-1.0/msvc80/wcelibcex.vsprops: -------------------------------------------------------------------------------- 1 | 2 | 7 | 11 | 15 | 16 | -------------------------------------------------------------------------------- /Foundation/wcelibcex-1.0/src/wce_access.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/my-devices/sdk/bdb9ca712954ab3649271ca7914fbf3b41dc39e6/Foundation/wcelibcex-1.0/src/wce_access.c -------------------------------------------------------------------------------- /Foundation/wcelibcex-1.0/src/wce_direct.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/my-devices/sdk/bdb9ca712954ab3649271ca7914fbf3b41dc39e6/Foundation/wcelibcex-1.0/src/wce_direct.h -------------------------------------------------------------------------------- /Foundation/wcelibcex-1.0/src/wce_directorymanagement.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/my-devices/sdk/bdb9ca712954ab3649271ca7914fbf3b41dc39e6/Foundation/wcelibcex-1.0/src/wce_directorymanagement.c -------------------------------------------------------------------------------- /Foundation/wcelibcex-1.0/src/wce_path.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/my-devices/sdk/bdb9ca712954ab3649271ca7914fbf3b41dc39e6/Foundation/wcelibcex-1.0/src/wce_path.c -------------------------------------------------------------------------------- /Foundation/wcelibcex-1.0/src/wce_winbase.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/my-devices/sdk/bdb9ca712954ab3649271ca7914fbf3b41dc39e6/Foundation/wcelibcex-1.0/src/wce_winbase.c -------------------------------------------------------------------------------- /Foundation/wcelibcex-1.0/src/wce_winbase.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/my-devices/sdk/bdb9ca712954ab3649271ca7914fbf3b41dc39e6/Foundation/wcelibcex-1.0/src/wce_winbase.h -------------------------------------------------------------------------------- /JSON/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco JSON 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | INCLUDE += -I $(POCO_BASE)/JSON/include/Poco/JSON 10 | 11 | objects = Array Object Parser ParserImpl Handler \ 12 | Stringifier ParseHandler PrintHandler Query \ 13 | JSONException Template TemplateCache pdjson 14 | 15 | target = PocoJSON 16 | target_version = $(LIBVERSION) 17 | target_libs = PocoFoundation 18 | 19 | include $(POCO_BASE)/build/rules/lib 20 | -------------------------------------------------------------------------------- /JSON/cmake/PocoJSONConfig.cmake: -------------------------------------------------------------------------------- 1 | include(CMakeFindDependencyMacro) 2 | find_dependency(PocoFoundation) 3 | include("${CMAKE_CURRENT_LIST_DIR}/PocoJSONTargets.cmake") 4 | -------------------------------------------------------------------------------- /JSON/samples/Benchmark/Benchmark.progen: -------------------------------------------------------------------------------- 1 | vc.project.guid = ${vc.project.guidFromName} 2 | vc.project.name = ${vc.project.baseName} 3 | vc.project.target = ${vc.project.name} 4 | vc.project.type = executable 5 | vc.project.pocobase = ..\\..\\.. 6 | vc.project.platforms = Win32 7 | vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md 8 | vc.project.prototype = ${vc.project.name}_vs90.vcproj 9 | vc.project.compiler.include = ..\\..\\..\\Foundation\\include;..\\..\\..\\JSON\\include 10 | vc.project.linker.dependencies.Win32 = ws2_32.lib iphlpapi.lib 11 | -------------------------------------------------------------------------------- /JSON/samples/Benchmark/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(Benchmark src/Benchmark.cpp) 2 | target_link_libraries(Benchmark PUBLIC Poco::JSON) 3 | -------------------------------------------------------------------------------- /JSON/samples/Benchmark/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco JSON Benchmark 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = Benchmark 10 | 11 | target = Benchmark 12 | target_version = 1 13 | target_libs = PocoJSON PocoFoundation 14 | 15 | include $(POCO_BASE)/build/rules/exec 16 | -------------------------------------------------------------------------------- /JSON/samples/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(Benchmark) 2 | -------------------------------------------------------------------------------- /JSON/samples/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco JSON Samples 5 | # 6 | 7 | .PHONY: projects 8 | clean all: projects 9 | projects: 10 | $(MAKE) -C Benchmark $(MAKECMDGOALS) 11 | 12 | -------------------------------------------------------------------------------- /JSON/samples/samples.progen: -------------------------------------------------------------------------------- 1 | vc.project.platforms = Win32 2 | vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md 3 | vc.solution.create = true 4 | vc.solution.include = \ 5 | Benchmark\\Benchmark 6 | -------------------------------------------------------------------------------- /JSON/src/JSONException.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // JSONException.cpp 3 | // 4 | // Library: JSON 5 | // Package: JSON 6 | // Module: JSONException 7 | // 8 | // Copyright (c) 2012, Applied Informatics Software Engineering GmbH. 9 | // and Contributors. 10 | // 11 | // SPDX-License-Identifier: BSL-1.0 12 | // 13 | 14 | 15 | #include "Poco/JSON/JSONException.h" 16 | #include 17 | 18 | 19 | namespace Poco { 20 | namespace JSON { 21 | 22 | 23 | POCO_IMPLEMENT_EXCEPTION(JSONException, Exception, "JSON Exception") 24 | 25 | 26 | } } // namespace Poco::JSON 27 | -------------------------------------------------------------------------------- /JSON/testsuite/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco JSON testsuite 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = Driver JSONTest JSONTestSuite 10 | 11 | target = testrunner 12 | target_version = 1 13 | target_libs = PocoJSON PocoFoundation CppUnit 14 | 15 | include $(POCO_BASE)/build/rules/exec 16 | 17 | ifdef POCO_UNBUNDLED 18 | SYSLIBS += -lpcre -lexpat 19 | endif 20 | -------------------------------------------------------------------------------- /JSON/testsuite/TestSuite.progen: -------------------------------------------------------------------------------- 1 | vc.project.guid = ${vc.project.guidFromName} 2 | vc.project.name = TestSuite 3 | vc.project.target = TestSuite 4 | vc.project.type = testsuite 5 | vc.project.pocobase = ..\\.. 6 | vc.project.platforms = Win32 7 | vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md 8 | vc.project.prototype = TestSuite_vs90.vcproj 9 | vc.project.compiler.include = ..\\..\\Foundation\\include 10 | vc.project.linker.dependencies.Win32 = iphlpapi.lib 11 | -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid-unicode/encoded-surrogate-half/input: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/my-devices/sdk/bdb9ca712954ab3649271ca7914fbf3b41dc39e6/JSON/testsuite/data/invalid-unicode/encoded-surrogate-half/input -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid-unicode/invalid-utf-8-after-backslash/input: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/my-devices/sdk/bdb9ca712954ab3649271ca7914fbf3b41dc39e6/JSON/testsuite/data/invalid-unicode/invalid-utf-8-after-backslash/input -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid-unicode/invalid-utf-8-in-array/input: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/my-devices/sdk/bdb9ca712954ab3649271ca7914fbf3b41dc39e6/JSON/testsuite/data/invalid-unicode/invalid-utf-8-in-array/input -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid-unicode/invalid-utf-8-in-bigger-int/input: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/my-devices/sdk/bdb9ca712954ab3649271ca7914fbf3b41dc39e6/JSON/testsuite/data/invalid-unicode/invalid-utf-8-in-bigger-int/input -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid-unicode/invalid-utf-8-in-escape/input: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/my-devices/sdk/bdb9ca712954ab3649271ca7914fbf3b41dc39e6/JSON/testsuite/data/invalid-unicode/invalid-utf-8-in-escape/input -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid-unicode/invalid-utf-8-in-exponent/input: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/my-devices/sdk/bdb9ca712954ab3649271ca7914fbf3b41dc39e6/JSON/testsuite/data/invalid-unicode/invalid-utf-8-in-exponent/input -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid-unicode/invalid-utf-8-in-identifier/input: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/my-devices/sdk/bdb9ca712954ab3649271ca7914fbf3b41dc39e6/JSON/testsuite/data/invalid-unicode/invalid-utf-8-in-identifier/input -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid-unicode/invalid-utf-8-in-int/input: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/my-devices/sdk/bdb9ca712954ab3649271ca7914fbf3b41dc39e6/JSON/testsuite/data/invalid-unicode/invalid-utf-8-in-int/input -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid-unicode/invalid-utf-8-in-real-after-e/input: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/my-devices/sdk/bdb9ca712954ab3649271ca7914fbf3b41dc39e6/JSON/testsuite/data/invalid-unicode/invalid-utf-8-in-real-after-e/input -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid-unicode/invalid-utf-8-in-string/input: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/my-devices/sdk/bdb9ca712954ab3649271ca7914fbf3b41dc39e6/JSON/testsuite/data/invalid-unicode/invalid-utf-8-in-string/input -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid-unicode/lone-invalid-utf-8/input: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/my-devices/sdk/bdb9ca712954ab3649271ca7914fbf3b41dc39e6/JSON/testsuite/data/invalid-unicode/lone-invalid-utf-8/input -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid-unicode/lone-utf-8-continuation-byte/input: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/my-devices/sdk/bdb9ca712954ab3649271ca7914fbf3b41dc39e6/JSON/testsuite/data/invalid-unicode/lone-utf-8-continuation-byte/input -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid-unicode/not-in-unicode-range/input: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/my-devices/sdk/bdb9ca712954ab3649271ca7914fbf3b41dc39e6/JSON/testsuite/data/invalid-unicode/not-in-unicode-range/input -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid-unicode/overlong-3-byte-encoding/input: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/my-devices/sdk/bdb9ca712954ab3649271ca7914fbf3b41dc39e6/JSON/testsuite/data/invalid-unicode/overlong-3-byte-encoding/input -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid-unicode/overlong-4-byte-encoding/input: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/my-devices/sdk/bdb9ca712954ab3649271ca7914fbf3b41dc39e6/JSON/testsuite/data/invalid-unicode/overlong-4-byte-encoding/input -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid-unicode/overlong-ascii-encoding/input: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/my-devices/sdk/bdb9ca712954ab3649271ca7914fbf3b41dc39e6/JSON/testsuite/data/invalid-unicode/overlong-ascii-encoding/input -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid-unicode/restricted-utf-8/input: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/my-devices/sdk/bdb9ca712954ab3649271ca7914fbf3b41dc39e6/JSON/testsuite/data/invalid-unicode/restricted-utf-8/input -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid-unicode/truncated-utf-8/input: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/my-devices/sdk/bdb9ca712954ab3649271ca7914fbf3b41dc39e6/JSON/testsuite/data/invalid-unicode/truncated-utf-8/input -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/apostrophe/input: -------------------------------------------------------------------------------- 1 | [' 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/ascii-unicode-identifier/input: -------------------------------------------------------------------------------- 1 | aå 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/brace-comma/input: -------------------------------------------------------------------------------- 1 | {, 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/bracket-comma/input: -------------------------------------------------------------------------------- 1 | [, 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/bracket-one-comma/input: -------------------------------------------------------------------------------- 1 | [1, 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/double-closing-brace/input: -------------------------------------------------------------------------------- 1 | {"data":"10"}} 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/double-closing-bracket/input: -------------------------------------------------------------------------------- 1 | [1,2,3]] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/empty/input: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/my-devices/sdk/bdb9ca712954ab3649271ca7914fbf3b41dc39e6/JSON/testsuite/data/invalid/empty/input -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/escaped-null-byte-in-string/input: -------------------------------------------------------------------------------- 1 | ["\u0000 (null byte not allowed)"] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/extra-comma-in-array/input: -------------------------------------------------------------------------------- 1 | [1,] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/extra-comma-in-multiline-array/input: -------------------------------------------------------------------------------- 1 | [1, 2 | 2, 3 | 3, 4 | 4, 5 | 5, 6 | ] 7 | -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/garbage-after-newline/input: -------------------------------------------------------------------------------- 1 | [1,2,3] 2 | foo 3 | -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/garbage-at-the-end/input: -------------------------------------------------------------------------------- 1 | [1,2,3]foo 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/integer-starting-with-zero/input: -------------------------------------------------------------------------------- 1 | [012] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/invalid-escape/input: -------------------------------------------------------------------------------- 1 | ["\a <-- invalid escape"] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/invalid-identifier/input: -------------------------------------------------------------------------------- 1 | [troo 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/invalid-negative-integer/input: -------------------------------------------------------------------------------- 1 | [-123foo] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/invalid-negative-real/input: -------------------------------------------------------------------------------- 1 | [-123.123foo] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/invalid-second-surrogate/input: -------------------------------------------------------------------------------- 1 | ["\uD888\u3210 (first surrogate and invalid second surrogate)"] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/lone-open-brace/input: -------------------------------------------------------------------------------- 1 | { 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/lone-open-bracket/input: -------------------------------------------------------------------------------- 1 | [ 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/lone-second-surrogate/input: -------------------------------------------------------------------------------- 1 | ["\uDFAA (second surrogate on it's own)"] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/minus-sign-without-number/input: -------------------------------------------------------------------------------- 1 | [-foo] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/negative-integer-starting-with-zero/input: -------------------------------------------------------------------------------- 1 | [-012] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/null-byte-in-string/input: -------------------------------------------------------------------------------- 1 | ["null byte not allowed"] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/null-byte-outside-string/input: -------------------------------------------------------------------------------- 1 | [ 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/null/input: -------------------------------------------------------------------------------- 1 | null 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/object-apostrophes/input: -------------------------------------------------------------------------------- 1 | {'a' 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/object-garbage-at-end/input: -------------------------------------------------------------------------------- 1 | {"a":"a" 123} 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/object-in-unterminated-array/input: -------------------------------------------------------------------------------- 1 | [{} 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/object-no-colon/input: -------------------------------------------------------------------------------- 1 | {"a" 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/object-no-value/input: -------------------------------------------------------------------------------- 1 | {"a": 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/object-unterminated-value/input: -------------------------------------------------------------------------------- 1 | {"a":"a 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/real-garbage-after-e/input: -------------------------------------------------------------------------------- 1 | [1ea] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/real-negative-overflow/input: -------------------------------------------------------------------------------- 1 | [-123123e100000] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/real-positive-overflow/input: -------------------------------------------------------------------------------- 1 | [123123e100000] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/real-truncated-at-e/input: -------------------------------------------------------------------------------- 1 | [1e] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/real-truncated-at-point/input: -------------------------------------------------------------------------------- 1 | [1.] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/tab-character-in-string/input: -------------------------------------------------------------------------------- 1 | [" <-- tab character"] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/too-big-negative-integer/input: -------------------------------------------------------------------------------- 1 | [-123123123123123123123123123123] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/too-big-positive-integer/input: -------------------------------------------------------------------------------- 1 | [123123123123123123123123123123] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/truncated-unicode-surrogate/input: -------------------------------------------------------------------------------- 1 | ["\uDADA (first surrogate without the second)"] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/unicode-identifier/input: -------------------------------------------------------------------------------- 1 | å 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/unterminated-array-and-object/input: -------------------------------------------------------------------------------- 1 | [{ 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/unterminated-array/input: -------------------------------------------------------------------------------- 1 | ["a" 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/unterminated-empty-key/input: -------------------------------------------------------------------------------- 1 | {" 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/unterminated-key/input: -------------------------------------------------------------------------------- 1 | {"a 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/unterminated-object-and-array/input: -------------------------------------------------------------------------------- 1 | {[ 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/invalid/unterminated-string/input: -------------------------------------------------------------------------------- 1 | ["a 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/valid/complex-array/input: -------------------------------------------------------------------------------- 1 | [1,2,3,4, 2 | "a", "b", "c", 3 | {"foo": "bar", "core": "dump"}, 4 | true, false, true, true, null, false 5 | ] 6 | -------------------------------------------------------------------------------- /JSON/testsuite/data/valid/empty-array/input: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/valid/empty-key-array/input: -------------------------------------------------------------------------------- 1 | { 2 | "": [ 3 | { 4 | "": "empty-key" 5 | }, 6 | { 7 | "": "empty-key" 8 | } 9 | ] 10 | } 11 | 12 | -------------------------------------------------------------------------------- /JSON/testsuite/data/valid/empty-key-object/input: -------------------------------------------------------------------------------- 1 | { 2 | "": { 3 | "": "empty-key" 4 | } 5 | } 6 | 7 | -------------------------------------------------------------------------------- /JSON/testsuite/data/valid/empty-object-in-array/input: -------------------------------------------------------------------------------- 1 | [{}] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/valid/empty-object/input: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/valid/empty-string/input: -------------------------------------------------------------------------------- 1 | [""] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/valid/escaped-utf-control-char/input: -------------------------------------------------------------------------------- 1 | ["\u0012 escaped control character"] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/valid/false/input: -------------------------------------------------------------------------------- 1 | [false] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/valid/negative-int/input: -------------------------------------------------------------------------------- 1 | [-123] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/valid/negative-one/input: -------------------------------------------------------------------------------- 1 | [-1] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/valid/negative-zero/input: -------------------------------------------------------------------------------- 1 | [-0] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/valid/null/input: -------------------------------------------------------------------------------- 1 | [null] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/valid/one-byte-utf-8/input: -------------------------------------------------------------------------------- 1 | ["\u002c one-byte UTF-8"] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/valid/real-capital-e-negative-exponent/input: -------------------------------------------------------------------------------- 1 | [1E-2] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/valid/real-capital-e-positive-exponent/input: -------------------------------------------------------------------------------- 1 | [1E+2] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/valid/real-capital-e/input: -------------------------------------------------------------------------------- 1 | [1E22] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/valid/real-exponent/input: -------------------------------------------------------------------------------- 1 | [123e45] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/valid/real-fraction-exponent/input: -------------------------------------------------------------------------------- 1 | [123.456e78] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/valid/real-negative-exponent/input: -------------------------------------------------------------------------------- 1 | [1e-2] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/valid/real-positive-exponent/input: -------------------------------------------------------------------------------- 1 | [1e+2] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/valid/real-underflow/input: -------------------------------------------------------------------------------- 1 | [123e-10000000] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/valid/short-string/input: -------------------------------------------------------------------------------- 1 | ["a"] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/valid/simple-ascii-string/input: -------------------------------------------------------------------------------- 1 | ["abcdefghijklmnopqrstuvwxyz1234567890 "] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/valid/simple-int-0/input: -------------------------------------------------------------------------------- 1 | [0] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/valid/simple-int-1/input: -------------------------------------------------------------------------------- 1 | [1] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/valid/simple-int-123/input: -------------------------------------------------------------------------------- 1 | [123] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/valid/simple-object/input: -------------------------------------------------------------------------------- 1 | {"a":[]} 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/valid/simple-real/input: -------------------------------------------------------------------------------- 1 | [123.456789] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/valid/string-escapes/input: -------------------------------------------------------------------------------- 1 | ["\"\\\/\b\f\n\r\t"] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/valid/three-byte-utf-8/input: -------------------------------------------------------------------------------- 1 | ["\u0821 three-byte UTF-8"] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/valid/true/input: -------------------------------------------------------------------------------- 1 | [true] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/valid/two-byte-utf-8/input: -------------------------------------------------------------------------------- 1 | ["\u0123 two-byte UTF-8"] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/valid/utf-8-string/input: -------------------------------------------------------------------------------- 1 | ["€þıœəßð some utf-8 ĸʒ×ŋµåäö𝄞"] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/data/valid/utf-surrogate-four-byte-encoding/input: -------------------------------------------------------------------------------- 1 | ["\uD834\uDD1E surrogate, four-byte UTF-8"] 2 | -------------------------------------------------------------------------------- /JSON/testsuite/src/Driver.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // Driver.cpp 3 | // 4 | // Console-based test driver for Poco JSON. 5 | // 6 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #include "CppUnit/TestRunner.h" 14 | #include "JSONTestSuite.h" 15 | 16 | 17 | CppUnitMain(JSONTestSuite) 18 | -------------------------------------------------------------------------------- /JSON/testsuite/src/JSONTestSuite.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // JSONTestSuite.cpp 3 | // 4 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 5 | // and Contributors. 6 | // 7 | // SPDX-License-Identifier: BSL-1.0 8 | // 9 | 10 | 11 | #include "JSONTestSuite.h" 12 | #include "JSONTest.h" 13 | 14 | 15 | CppUnit::Test* JSONTestSuite::suite() 16 | { 17 | CppUnit::TestSuite* pSuite = new CppUnit::TestSuite("JSONTestSuite"); 18 | 19 | pSuite->addTest(JSONTest::suite()); 20 | 21 | return pSuite; 22 | } 23 | -------------------------------------------------------------------------------- /JSON/testsuite/src/JSONTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // JSONTestSuite.h 3 | // 4 | // Definition of the JSONTestSuite class. 5 | // 6 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef JSONTestSuite_INCLUDED 14 | #define JSONTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class JSONTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // JSONTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /JSON/testsuite/src/WinDriver.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // WinDriver.cpp 3 | // 4 | // Windows test driver for Poco JSON. 5 | // 6 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #include "WinTestRunner/WinTestRunner.h" 14 | #include "JSONTestSuite.h" 15 | 16 | 17 | class TestDriver: public CppUnit::WinTestRunnerApp 18 | { 19 | void TestMain() 20 | { 21 | CppUnit::WinTestRunner runner; 22 | runner.addTest(JSONTestSuite::suite()); 23 | runner.run(); 24 | } 25 | }; 26 | 27 | 28 | TestDriver theDriver; 29 | -------------------------------------------------------------------------------- /JWT/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco JWT 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = Token Signer Serializer JWTException 10 | 11 | target = PocoJWT 12 | target_version = $(LIBVERSION) 13 | target_libs = PocoCrypto PocoJSON PocoFoundation 14 | 15 | include $(POCO_BASE)/build/rules/lib 16 | -------------------------------------------------------------------------------- /JWT/cmake/PocoJWTConfig.cmake: -------------------------------------------------------------------------------- 1 | include(CMakeFindDependencyMacro) 2 | find_dependency(PocoFoundation) 3 | find_dependency(PocoJSON) 4 | find_dependency(PocoCrypto) 5 | include("${CMAKE_CURRENT_LIST_DIR}/PocoJWTTargets.cmake") 6 | -------------------------------------------------------------------------------- /JWT/testsuite/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco JWT testsuite 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = SerializerTest TokenTest SignerTest JWTTestSuite Driver 10 | 11 | target = testrunner 12 | target_version = 1 13 | target_libs = PocoJWT PocoJSON PocoCrypto PocoFoundation CppUnit 14 | 15 | include $(POCO_BASE)/build/rules/exec 16 | 17 | ifdef POCO_UNBUNDLED 18 | SYSLIBS += -lpcre 19 | endif 20 | -------------------------------------------------------------------------------- /JWT/testsuite/src/Driver.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // Driver.cpp 3 | // 4 | // Console-based test driver for Poco JWT. 5 | // 6 | // Copyright (c) 2019, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #include "CppUnit/TestRunner.h" 14 | #include "JWTTestSuite.h" 15 | 16 | 17 | CppUnitMain(JWTTestSuite) 18 | -------------------------------------------------------------------------------- /JWT/testsuite/src/JWTTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // JWTTestSuite.h 3 | // 4 | // Definition of the JWTTestSuite class. 5 | // 6 | // Copyright (c) 2019, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef JWTTestSuite_INCLUDED 14 | #define JWTTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class JWTTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // JWTTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /JWT/testsuite/src/WinDriver.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // WinDriver.cpp 3 | // 4 | // Windows test driver for Poco JWT. 5 | // 6 | // Copyright (c) 2019, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #include "WinTestRunner/WinTestRunner.h" 14 | #include "JWTTestSuite.h" 15 | 16 | 17 | class TestDriver: public CppUnit::WinTestRunnerApp 18 | { 19 | void TestMain() 20 | { 21 | CppUnit::WinTestRunner runner; 22 | runner.addTest(JWTTestSuite::suite()); 23 | runner.run(); 24 | } 25 | }; 26 | 27 | 28 | TestDriver theDriver; 29 | -------------------------------------------------------------------------------- /Net/cmake/PocoNetConfig.cmake: -------------------------------------------------------------------------------- 1 | include(CMakeFindDependencyMacro) 2 | find_dependency(PocoFoundation) 3 | include("${CMAKE_CURRENT_LIST_DIR}/PocoNetTargets.cmake") 4 | -------------------------------------------------------------------------------- /Net/samples/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(EchoServer) 2 | add_subdirectory(HTTPFormServer) 3 | add_subdirectory(HTTPLoadTest) 4 | add_subdirectory(HTTPTimeServer) 5 | add_subdirectory(Mail) 6 | add_subdirectory(Ping) 7 | add_subdirectory(SMTPLogger) 8 | add_subdirectory(TimeServer) 9 | add_subdirectory(WebSocketServer) 10 | add_subdirectory(dict) 11 | add_subdirectory(download) 12 | add_subdirectory(httpget) 13 | 14 | -------------------------------------------------------------------------------- /Net/samples/EchoServer/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(EchoServer src/EchoServer.cpp) 2 | target_link_libraries(EchoServer PUBLIC Poco::Net Poco::Util Poco::JSON) 3 | -------------------------------------------------------------------------------- /Net/samples/EchoServer/EchoServer.properties: -------------------------------------------------------------------------------- 1 | # This is a sample configuration file for EchoServer 2 | 3 | logging.loggers.root.channel.class = ConsoleChannel 4 | logging.loggers.app.name = Application 5 | logging.loggers.app.channel = c1 6 | logging.formatters.f1.class = PatternFormatter 7 | logging.formatters.f1.pattern = [%p] %t 8 | logging.channels.c1.class = ConsoleChannel 9 | logging.channels.c1.formatter = f1 10 | # EchoServer.port = 9911 11 | -------------------------------------------------------------------------------- /Net/samples/EchoServer/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco EchoServer 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = EchoServer 10 | 11 | target = EchoServer 12 | target_version = 1 13 | target_libs = PocoUtil PocoJSON PocoNet PocoXML PocoFoundation 14 | 15 | include $(POCO_BASE)/build/rules/exec 16 | 17 | ifdef POCO_UNBUNDLED 18 | SYSLIBS += -lz -lpcre -lexpat 19 | endif 20 | 21 | -------------------------------------------------------------------------------- /Net/samples/HTTPFormServer/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(HTTPFormServer src/HTTPFormServer.cpp) 2 | target_link_libraries(HTTPFormServer PUBLIC Poco::Net Poco::Util Poco::JSON) 3 | -------------------------------------------------------------------------------- /Net/samples/HTTPFormServer/HTTPFormServer.properties: -------------------------------------------------------------------------------- 1 | # This is a sample configuration file for HTTPFormServer 2 | 3 | logging.loggers.root.channel.class = ConsoleChannel 4 | logging.loggers.app.name = Application 5 | logging.loggers.app.channel = c1 6 | logging.formatters.f1.class = PatternFormatter 7 | logging.formatters.f1.pattern = [%p] %t 8 | logging.channels.c1.class = ConsoleChannel 9 | logging.channels.c1.formatter = f1 10 | HTTPFormServer.port = 9980 11 | -------------------------------------------------------------------------------- /Net/samples/HTTPFormServer/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco HTTPFormServer 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = HTTPFormServer 10 | 11 | target = HTTPFormServer 12 | target_version = 1 13 | target_libs = PocoUtil PocoJSON PocoNet PocoXML PocoFoundation 14 | 15 | include $(POCO_BASE)/build/rules/exec 16 | 17 | ifdef POCO_UNBUNDLED 18 | SYSLIBS += -lz -lpcre -lexpat 19 | endif 20 | -------------------------------------------------------------------------------- /Net/samples/HTTPLoadTest/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(HTTPLoadTest src/HTTPLoadTest.cpp) 2 | target_link_libraries(HTTPLoadTest PUBLIC Poco::Net Poco::Util Poco::JSON) 3 | -------------------------------------------------------------------------------- /Net/samples/HTTPLoadTest/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco HTTPLoadTest 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = HTTPLoadTest 10 | 11 | target = HTTPLoadTest 12 | target_version = 1 13 | target_libs = PocoUtil PocoJSON PocoNet PocoXML PocoFoundation 14 | 15 | include $(POCO_BASE)/build/rules/exec 16 | 17 | ifdef POCO_UNBUNDLED 18 | SYSLIBS += -lz -lpcre -lexpat 19 | endif 20 | -------------------------------------------------------------------------------- /Net/samples/HTTPTimeServer/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(HTTPTimeServer src/HTTPTimeServer.cpp) 2 | target_link_libraries(HTTPTimeServer PUBLIC Poco::Net Poco::Util Poco::JSON) 3 | -------------------------------------------------------------------------------- /Net/samples/HTTPTimeServer/HTTPTimeServer.properties: -------------------------------------------------------------------------------- 1 | # This is a sample configuration file for HTTPTimeServer 2 | 3 | logging.loggers.root.channel.class = ConsoleChannel 4 | logging.loggers.app.name = Application 5 | logging.loggers.app.channel = c1 6 | logging.formatters.f1.class = PatternFormatter 7 | logging.formatters.f1.pattern = [%p] %t 8 | logging.channels.c1.class = ConsoleChannel 9 | logging.channels.c1.formatter = f1 10 | HTTPTimeServer.format = %W, %e %b %y %H:%M:%S %Z 11 | HTTPTimeServer.port = 9980 12 | #HTTPTimeServer.maxQueued = 200 13 | #HTTPTimeServer.maxThreads = 64 14 | -------------------------------------------------------------------------------- /Net/samples/HTTPTimeServer/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco HTTPTimeServer 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = HTTPTimeServer 10 | 11 | target = HTTPTimeServer 12 | target_version = 1 13 | target_libs = PocoUtil PocoJSON PocoNet PocoXML PocoFoundation 14 | 15 | include $(POCO_BASE)/build/rules/exec 16 | 17 | ifdef POCO_UNBUNDLED 18 | SYSLIBS += -lz -lpcre -lexpat 19 | endif 20 | -------------------------------------------------------------------------------- /Net/samples/Mail/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(Mail src/Mail.cpp) 2 | target_link_libraries(Mail PUBLIC Poco::Net Poco::Util Poco::JSON) 3 | -------------------------------------------------------------------------------- /Net/samples/Mail/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco Mail 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = Mail 10 | 11 | target = Mail 12 | target_version = 1 13 | target_libs = PocoUtil PocoNet PocoXML PocoJSON PocoFoundation 14 | 15 | include $(POCO_BASE)/build/rules/exec 16 | -------------------------------------------------------------------------------- /Net/samples/Ping/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(Ping src/Ping.cpp) 2 | target_link_libraries(Ping PUBLIC Poco::Net Poco::Util Poco::JSON) 3 | -------------------------------------------------------------------------------- /Net/samples/Ping/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco ping 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = Ping 10 | 11 | target = Ping 12 | target_version = 1 13 | target_libs = PocoUtil PocoJSON PocoNet PocoXML PocoFoundation 14 | 15 | include $(POCO_BASE)/build/rules/exec 16 | 17 | ifdef POCO_UNBUNDLED 18 | SYSLIBS += -lz -lpcre -lexpat 19 | endif 20 | -------------------------------------------------------------------------------- /Net/samples/Ping/ping.properties: -------------------------------------------------------------------------------- 1 | # This is a sample configuration file. 2 | logging.loggers.root.channel.class = ConsoleChannel 3 | logging.loggers.app.name = Application 4 | logging.loggers.app.channel = c1 5 | logging.formatters.f1.class = PatternFormatter 6 | logging.formatters.f1.pattern = %t 7 | logging.channels.c1.class = ConsoleChannel 8 | logging.channels.c1.formatter = f1 9 | -------------------------------------------------------------------------------- /Net/samples/SMTPLogger/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(SMTPLogger src/SMTPLogger.cpp) 2 | target_link_libraries(SMTPLogger PUBLIC Poco::Net) 3 | -------------------------------------------------------------------------------- /Net/samples/SMTPLogger/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco SMTPLogger 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = SMTPLogger 10 | 11 | target = SMTPLogger 12 | target_version = 1 13 | target_libs = PocoNet PocoFoundation 14 | 15 | include $(POCO_BASE)/build/rules/exec 16 | 17 | ifdef POCO_UNBUNDLED 18 | SYSLIBS += -lz 19 | endif 20 | -------------------------------------------------------------------------------- /Net/samples/SMTPLogger/res/logo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/my-devices/sdk/bdb9ca712954ab3649271ca7914fbf3b41dc39e6/Net/samples/SMTPLogger/res/logo.gif -------------------------------------------------------------------------------- /Net/samples/TimeServer/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(TimeServer src/TimeServer.cpp) 2 | target_link_libraries(TimeServer PUBLIC Poco::Net Poco::Util Poco::JSON) 3 | -------------------------------------------------------------------------------- /Net/samples/TimeServer/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco TimeServer 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = TimeServer 10 | 11 | target = TimeServer 12 | target_version = 1 13 | target_libs = PocoUtil PocoJSON PocoNet PocoXML PocoFoundation 14 | 15 | include $(POCO_BASE)/build/rules/exec 16 | 17 | ifdef POCO_UNBUNDLED 18 | SYSLIBS += -lz -lpcre -lexpat 19 | endif 20 | -------------------------------------------------------------------------------- /Net/samples/TimeServer/TimeServer.properties: -------------------------------------------------------------------------------- 1 | # This is a sample configuration file for TimeServer 2 | 3 | logging.loggers.root.channel.class = ConsoleChannel 4 | logging.loggers.app.name = Application 5 | logging.loggers.app.channel = c1 6 | logging.formatters.f1.class = PatternFormatter 7 | logging.formatters.f1.pattern = [%p] %t 8 | logging.channels.c1.class = ConsoleChannel 9 | logging.channels.c1.formatter = f1 10 | # TimeServer.format = %W, %e %b %y %H:%M:%S %Z 11 | # TimeServer.port = 9911 12 | -------------------------------------------------------------------------------- /Net/samples/WebSocketServer/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(WebSocketServer src/WebSocketServer.cpp) 2 | if(WINCE) 3 | set_target_properties(WebSocketServer PROPERTIES LINK_FLAGS "/ENTRY:wmainCRTStartup") 4 | endif() 5 | target_link_libraries(WebSocketServer PUBLIC Poco::Net Poco::Util Poco::JSON) 6 | -------------------------------------------------------------------------------- /Net/samples/WebSocketServer/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco WebSocketServer 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = WebSocketServer 10 | 11 | target = WebSocketServer 12 | target_version = 1 13 | target_libs = PocoUtil PocoJSON PocoNet PocoXML PocoFoundation 14 | 15 | include $(POCO_BASE)/build/rules/exec 16 | 17 | ifdef POCO_UNBUNDLED 18 | SYSLIBS += -lz -lpcre -lexpat 19 | endif 20 | -------------------------------------------------------------------------------- /Net/samples/dict/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(dict src/dict.cpp) 2 | target_link_libraries(dict PUBLIC Poco::Net Poco::Util Poco::JSON) 3 | -------------------------------------------------------------------------------- /Net/samples/dict/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco dict 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = dict 10 | 11 | target = dict 12 | target_version = 1 13 | target_libs = PocoUtil PocoNet PocoXML PocoJSON PocoFoundation 14 | 15 | include $(POCO_BASE)/build/rules/exec 16 | -------------------------------------------------------------------------------- /Net/samples/download/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(download src/download.cpp) 2 | target_link_libraries(download PUBLIC Poco::Net Poco::Util Poco::JSON) 3 | -------------------------------------------------------------------------------- /Net/samples/download/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco download 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = download 10 | 11 | target = download 12 | target_version = 1 13 | target_libs = PocoUtil PocoNet PocoXML PocoJSON PocoFoundation 14 | 15 | include $(POCO_BASE)/build/rules/exec 16 | -------------------------------------------------------------------------------- /Net/samples/httpget/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(httpget src/httpget.cpp) 2 | target_link_libraries(httpget PUBLIC Poco::Net Poco::Util Poco::JSON) 3 | -------------------------------------------------------------------------------- /Net/samples/httpget/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco httpget 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = httpget 10 | 11 | target = httpget 12 | target_version = 1 13 | target_libs = PocoUtil PocoNet PocoXML PocoJSON PocoFoundation 14 | 15 | include $(POCO_BASE)/build/rules/exec 16 | -------------------------------------------------------------------------------- /Net/samples/ifconfig/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(ifconfig src/ifconfig.cpp) 2 | target_link_libraries(ifconfig PUBLIC Poco::Net) 3 | -------------------------------------------------------------------------------- /Net/samples/ifconfig/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco download 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = ifconfig 10 | 11 | target = ifconfig 12 | target_version = 1 13 | target_libs = PocoNet PocoFoundation 14 | 15 | include $(POCO_BASE)/build/rules/exec 16 | -------------------------------------------------------------------------------- /Net/samples/samples.progen: -------------------------------------------------------------------------------- 1 | vc.project.platforms = Win32 2 | vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md 3 | vc.solution.create = true 4 | vc.solution.include = \ 5 | dict\\dict;\ 6 | download\\download;\ 7 | EchoServer\\EchoServer;\ 8 | HTTPFormServer\\HTTPFormServer;\ 9 | httpget\\httpget;\ 10 | HTTPLoadTest\\HTTPLoadTest;\ 11 | HTTPTimeServer\\HTTPTimeServer;\ 12 | Mail\\Mail;\ 13 | Ping\\Ping;\ 14 | TimeServer\\TimeServer;\ 15 | WebSocketServer\\WebSocketServer;\ 16 | SMTPLogger\\SMTPLogger;\ 17 | ifconfig\\ifconfig 18 | -------------------------------------------------------------------------------- /Net/samples/tcpserver/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(tcpserver src/tcpserver.cpp) 2 | target_link_libraries(tcpserver PUBLIC Poco::Net) 3 | -------------------------------------------------------------------------------- /Net/samples/tcpserver/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco tcpserver 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = tcpserver 10 | 11 | target = tcpserver 12 | target_version = 1 13 | target_libs = PocoNet PocoFoundation 14 | 15 | include $(POCO_BASE)/build/rules/exec 16 | -------------------------------------------------------------------------------- /Net/samples/tcpserver/tcpserver.progen: -------------------------------------------------------------------------------- 1 | vc.project.guid = ${vc.project.guidFromName} 2 | vc.project.name = ${vc.project.baseName} 3 | vc.project.target = ${vc.project.name} 4 | vc.project.type = executable 5 | vc.project.pocobase = ..\\..\\.. 6 | vc.project.platforms = Win32 7 | vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md 8 | vc.project.prototype = ${vc.project.name}_vs90.vcproj 9 | vc.project.compiler.include = ..\\..\\..\\Foundation\\include;..\\..\\..\\Net\\include 10 | vc.project.linker.dependencies.Win32 = ws2_32.lib iphlpapi.lib 11 | -------------------------------------------------------------------------------- /Net/src/HTTPRequestHandler.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // HTTPRequestHandler.cpp 3 | // 4 | // Library: Net 5 | // Package: HTTPServer 6 | // Module: HTTPRequestHandler 7 | // 8 | // Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH. 9 | // and Contributors. 10 | // 11 | // SPDX-License-Identifier: BSL-1.0 12 | // 13 | 14 | 15 | #include "Poco/Net/HTTPRequestHandler.h" 16 | 17 | 18 | namespace Poco { 19 | namespace Net { 20 | 21 | 22 | HTTPRequestHandler::HTTPRequestHandler() 23 | { 24 | } 25 | 26 | 27 | HTTPRequestHandler::~HTTPRequestHandler() 28 | { 29 | } 30 | 31 | 32 | } } // namespace Poco::Net 33 | -------------------------------------------------------------------------------- /Net/src/HTTPServerRequest.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // HTTPServerRequest.cpp 3 | // 4 | // Library: Net 5 | // Package: HTTPServer 6 | // Module: HTTPServerRequest 7 | // 8 | // Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH. 9 | // and Contributors. 10 | // 11 | // SPDX-License-Identifier: BSL-1.0 12 | // 13 | 14 | 15 | #include "Poco/Net/HTTPServerRequest.h" 16 | 17 | 18 | namespace Poco { 19 | namespace Net { 20 | 21 | 22 | HTTPServerRequest::HTTPServerRequest() 23 | { 24 | } 25 | 26 | 27 | HTTPServerRequest::~HTTPServerRequest() 28 | { 29 | } 30 | 31 | 32 | } } // namespace Poco::Net 33 | -------------------------------------------------------------------------------- /Net/src/HTTPServerResponse.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // HTTPServerResponse.cpp 3 | // 4 | // Library: Net 5 | // Package: HTTPServer 6 | // Module: HTTPServerResponse 7 | // 8 | // Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH. 9 | // and Contributors. 10 | // 11 | // SPDX-License-Identifier: BSL-1.0 12 | // 13 | 14 | 15 | #include "Poco/Net/HTTPServerResponse.h" 16 | 17 | 18 | namespace Poco { 19 | namespace Net { 20 | 21 | 22 | HTTPServerResponse::HTTPServerResponse() 23 | { 24 | } 25 | 26 | 27 | HTTPServerResponse::~HTTPServerResponse() 28 | { 29 | } 30 | 31 | 32 | } } // namespace Poco::Net 33 | -------------------------------------------------------------------------------- /Net/src/PartHandler.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // PartHandler.cpp 3 | // 4 | // Library: Net 5 | // Package: Messages 6 | // Module: PartHandler 7 | // 8 | // Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH. 9 | // and Contributors. 10 | // 11 | // SPDX-License-Identifier: BSL-1.0 12 | // 13 | 14 | 15 | #include "Poco/Net/PartHandler.h" 16 | 17 | 18 | namespace Poco { 19 | namespace Net { 20 | 21 | 22 | PartHandler::PartHandler() 23 | { 24 | } 25 | 26 | 27 | PartHandler::~PartHandler() 28 | { 29 | } 30 | 31 | 32 | } } // namespace Poco::Net 33 | -------------------------------------------------------------------------------- /Net/src/ServerSocketImpl.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // ServerSocketImpl.cpp 3 | // 4 | // Library: Net 5 | // Package: Sockets 6 | // Module: ServerSocketImpl 7 | // 8 | // Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH. 9 | // and Contributors. 10 | // 11 | // SPDX-License-Identifier: BSL-1.0 12 | // 13 | 14 | 15 | #include "Poco/Net/ServerSocketImpl.h" 16 | 17 | 18 | namespace Poco { 19 | namespace Net { 20 | 21 | 22 | ServerSocketImpl::ServerSocketImpl() 23 | { 24 | } 25 | 26 | 27 | ServerSocketImpl::~ServerSocketImpl() 28 | { 29 | } 30 | 31 | 32 | } } // namespace Poco::Net 33 | -------------------------------------------------------------------------------- /Net/testsuite/TestSuite.progen: -------------------------------------------------------------------------------- 1 | vc.project.guid = D5EFBF27-B934-4B8D-8AE5-6EC00374819C 2 | vc.project.name = TestSuite 3 | vc.project.target = TestSuite 4 | vc.project.type = testsuite 5 | vc.project.pocobase = ..\\.. 6 | vc.project.platforms = Win32 7 | vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md 8 | vc.project.prototype = TestSuite_vs90.vcproj 9 | vc.project.compiler.include = ..\\..\\Foundation\\include 10 | vc.project.linker.dependencies = iphlpapi.lib 11 | vc.project.linker.dependencies.Win32 = ws2_32.lib 12 | -------------------------------------------------------------------------------- /Net/testsuite/src/Driver.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // Driver.cpp 3 | // 4 | // Console-based test driver for Poco Net. 5 | // 6 | // Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #include "CppUnit/TestRunner.h" 14 | #include "NetTestSuite.h" 15 | 16 | 17 | CppUnitMain(NetTestSuite) 18 | -------------------------------------------------------------------------------- /Net/testsuite/src/FTPClientTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // FTPClientTestSuite.h 3 | // 4 | // Definition of the FTPClientTestSuite class. 5 | // 6 | // Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef FTPClientTestSuite_INCLUDED 14 | #define FTPClientTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class FTPClientTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // FTPClientTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /Net/testsuite/src/HTMLTestSuite.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // HTMLTestSuite.cpp 3 | // 4 | // Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH. 5 | // and Contributors. 6 | // 7 | // SPDX-License-Identifier: BSL-1.0 8 | // 9 | 10 | 11 | #include "HTMLTestSuite.h" 12 | #include "HTMLFormTest.h" 13 | 14 | 15 | CppUnit::Test* HTMLTestSuite::suite() 16 | { 17 | CppUnit::TestSuite* pSuite = new CppUnit::TestSuite("HTMLTestSuite"); 18 | 19 | pSuite->addTest(HTMLFormTest::suite()); 20 | 21 | return pSuite; 22 | } 23 | -------------------------------------------------------------------------------- /Net/testsuite/src/HTMLTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // HTMLTestSuite.h 3 | // 4 | // Definition of the HTMLTestSuite class. 5 | // 6 | // Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef HTMLTestSuite_INCLUDED 14 | #define HTMLTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class HTMLTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // HTMLTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /Net/testsuite/src/HTTPClientTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // HTTPClientTestSuite.h 3 | // 4 | // Definition of the HTTPClientTestSuite class. 5 | // 6 | // Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef HTTPClientTestSuite_INCLUDED 14 | #define HTTPClientTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class HTTPClientTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // HTTPClientTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /Net/testsuite/src/HTTPServerTestSuite.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // HTTPServerTestSuite.cpp 3 | // 4 | // Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH. 5 | // and Contributors. 6 | // 7 | // SPDX-License-Identifier: BSL-1.0 8 | // 9 | 10 | 11 | #include "HTTPServerTestSuite.h" 12 | #include "HTTPServerTest.h" 13 | 14 | 15 | CppUnit::Test* HTTPServerTestSuite::suite() 16 | { 17 | CppUnit::TestSuite* pSuite = new CppUnit::TestSuite("HTTPServerTestSuite"); 18 | 19 | pSuite->addTest(HTTPServerTest::suite()); 20 | 21 | return pSuite; 22 | } 23 | -------------------------------------------------------------------------------- /Net/testsuite/src/HTTPServerTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // HTTPServerTestSuite.h 3 | // 4 | // Definition of the HTTPServerTestSuite class. 5 | // 6 | // Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef HTTPServerTestSuite_INCLUDED 14 | #define HTTPServerTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class HTTPServerTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // HTTPServerTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /Net/testsuite/src/HTTPTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // HTTPTestSuite.h 3 | // 4 | // Definition of the HTTPTestSuite class. 5 | // 6 | // Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef HTTPTestSuite_INCLUDED 14 | #define HTTPTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class HTTPTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // HTTPTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /Net/testsuite/src/ICMPClientTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // ICMPClientTestSuite.h 3 | // 4 | // Definition of the ICMPClientTestSuite class. 5 | // 6 | // Copyright (c) 2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef ICMPClientTestSuite_INCLUDED 14 | #define ICMPClientTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class ICMPClientTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // ICMPClientTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /Net/testsuite/src/MailTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // MailTestSuite.h 3 | // 4 | // Definition of the MailTestSuite class. 5 | // 6 | // Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef MailTestSuite_INCLUDED 14 | #define MailTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class MailTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // MailTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /Net/testsuite/src/MessagesTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // MessagesTestSuite.h 3 | // 4 | // Definition of the MessagesTestSuite class. 5 | // 6 | // Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef MessagesTestSuite_INCLUDED 14 | #define MessagesTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class MessagesTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // MessagesTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /Net/testsuite/src/NTPClientTestSuite.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // NTPClientTestSuite.cpp 3 | // 4 | // Copyright (c) 2006, Applied Informatics Software Engineering GmbH. 5 | // and Contributors. 6 | // 7 | // SPDX-License-Identifier: BSL-1.0 8 | // 9 | 10 | 11 | #include "NTPClientTestSuite.h" 12 | #include "NTPClientTest.h" 13 | 14 | 15 | CppUnit::Test* NTPClientTestSuite::suite() 16 | { 17 | CppUnit::TestSuite* pSuite = new CppUnit::TestSuite("NTPClientTestSuite"); 18 | 19 | pSuite->addTest(NTPClientTest::suite()); 20 | 21 | return pSuite; 22 | } 23 | -------------------------------------------------------------------------------- /Net/testsuite/src/NTPClientTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // NTPClientTestSuite.h 3 | // 4 | // Definition of the NTPClientTestSuite class. 5 | // 6 | // Copyright (c) 2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef NTPClientTestSuite_INCLUDED 14 | #define NTPClientTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class NTPClientTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // NTPClientTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /Net/testsuite/src/NetCoreTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // NetCoreTestSuite.h 3 | // 4 | // Definition of the NetCoreTestSuite class. 5 | // 6 | // Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef NetCoreTestSuite_INCLUDED 14 | #define NetCoreTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class NetCoreTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // NetCoreTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /Net/testsuite/src/NetTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // NetTestSuite.h 3 | // 4 | // Definition of the NetTestSuite class. 5 | // 6 | // Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef NetTestSuite_INCLUDED 14 | #define NetTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class NetTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // NetTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /Net/testsuite/src/OAuthTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // OAuthTestSuite.h 3 | // 4 | // Definition of the OAuthTestSuite class. 5 | // 6 | // Copyright (c) 2014, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef OAuthTestSuite_INCLUDED 14 | #define OAuthTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class OAuthTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // OAuthTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /Net/testsuite/src/ReactorTestSuite.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // ReactorTestSuite.cpp 3 | // 4 | // Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH. 5 | // and Contributors. 6 | // 7 | // SPDX-License-Identifier: BSL-1.0 8 | // 9 | 10 | 11 | #include "ReactorTestSuite.h" 12 | #include "SocketReactorTest.h" 13 | 14 | 15 | CppUnit::Test* ReactorTestSuite::suite() 16 | { 17 | CppUnit::TestSuite* pSuite = new CppUnit::TestSuite("ReactorTestSuite"); 18 | 19 | pSuite->addTest(SocketReactorTest::suite()); 20 | 21 | return pSuite; 22 | } 23 | -------------------------------------------------------------------------------- /Net/testsuite/src/ReactorTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // ReactorTestSuite.h 3 | // 4 | // Definition of the ReactorTestSuite class. 5 | // 6 | // Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef ReactorTestSuite_INCLUDED 14 | #define ReactorTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class ReactorTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // ReactorTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /Net/testsuite/src/SocketsTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // SocketsTestSuite.h 3 | // 4 | // Definition of the SocketsTestSuite class. 5 | // 6 | // Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef SocketsTestSuite_INCLUDED 14 | #define SocketsTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class SocketsTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // SocketsTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /Net/testsuite/src/TCPServerTestSuite.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // TCPServerTestSuite.cpp 3 | // 4 | // Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH. 5 | // and Contributors. 6 | // 7 | // SPDX-License-Identifier: BSL-1.0 8 | // 9 | 10 | 11 | #include "TCPServerTestSuite.h" 12 | #include "TCPServerTest.h" 13 | 14 | 15 | CppUnit::Test* TCPServerTestSuite::suite() 16 | { 17 | CppUnit::TestSuite* pSuite = new CppUnit::TestSuite("TCPServerTestSuite"); 18 | 19 | pSuite->addTest(TCPServerTest::suite()); 20 | 21 | return pSuite; 22 | } 23 | -------------------------------------------------------------------------------- /Net/testsuite/src/TCPServerTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // TCPServerTestSuite.h 3 | // 4 | // Definition of the TCPServerTestSuite class. 5 | // 6 | // Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef TCPServerTestSuite_INCLUDED 14 | #define TCPServerTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class TCPServerTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // TCPServerTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /Net/testsuite/src/UDPServerTestSuite.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // UDPServerTestSuite.cpp 3 | // 4 | // Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH. 5 | // and Contributors. 6 | // 7 | // SPDX-License-Identifier: BSL-1.0 8 | // 9 | 10 | 11 | #include "UDPServerTestSuite.h" 12 | #include "UDPServerTest.h" 13 | 14 | 15 | CppUnit::Test* UDPServerTestSuite::suite() 16 | { 17 | CppUnit::TestSuite* pSuite = new CppUnit::TestSuite("UDPServerTestSuite"); 18 | 19 | pSuite->addTest(UDPServerTest::suite()); 20 | 21 | return pSuite; 22 | } 23 | -------------------------------------------------------------------------------- /Net/testsuite/src/UDPServerTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // UDPServerTestSuite.h 3 | // 4 | // Definition of the UDPServerTestSuite class. 5 | // 6 | // Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef UDPServerTestSuite_INCLUDED 14 | #define UDPServerTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class UDPServerTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // UDPServerTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /Net/testsuite/src/WebSocketTestSuite.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // WebSocketTestSuite.cpp 3 | // 4 | // Copyright (c) 2012, Applied Informatics Software Engineering GmbH. 5 | // and Contributors. 6 | // 7 | // SPDX-License-Identifier: BSL-1.0 8 | // 9 | 10 | 11 | #include "WebSocketTestSuite.h" 12 | #include "WebSocketTest.h" 13 | 14 | 15 | CppUnit::Test* WebSocketTestSuite::suite() 16 | { 17 | CppUnit::TestSuite* pSuite = new CppUnit::TestSuite("WebSocketTestSuite"); 18 | 19 | pSuite->addTest(WebSocketTest::suite()); 20 | 21 | return pSuite; 22 | } 23 | -------------------------------------------------------------------------------- /Net/testsuite/src/WebSocketTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // WebSocketTestSuite.h 3 | // 4 | // Definition of the WebSocketTestSuite class. 5 | // 6 | // Copyright (c) 2012, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef WebSocketTestSuite_INCLUDED 14 | #define WebSocketTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class WebSocketTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // WebSocketTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /Net/testsuite/src/WinDriver.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // WinDriver.cpp 3 | // 4 | // Windows test driver for Poco Net. 5 | // 6 | // Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #include "WinTestRunner/WinTestRunner.h" 14 | #include "NetTestSuite.h" 15 | 16 | 17 | class TestDriver: public CppUnit::WinTestRunnerApp 18 | { 19 | void TestMain() 20 | { 21 | CppUnit::WinTestRunner runner; 22 | runner.addTest(NetTestSuite::suite()); 23 | runner.run(); 24 | } 25 | }; 26 | 27 | 28 | TestDriver theDriver; 29 | -------------------------------------------------------------------------------- /NetSSL_OpenSSL/cmake/PocoNetSSLConfig.cmake: -------------------------------------------------------------------------------- 1 | include(CMakeFindDependencyMacro) 2 | find_dependency(PocoFoundation) 3 | find_dependency(PocoUtil) 4 | find_dependency(PocoNet) 5 | find_dependency(PocoCrypto) 6 | find_dependency(OpenSSL REQUIRED COMPONENTS SSL) 7 | include("${CMAKE_CURRENT_LIST_DIR}/PocoNetSSLTargets.cmake") 8 | -------------------------------------------------------------------------------- /NetSSL_OpenSSL/samples/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(HTTPSTimeServer) 2 | add_subdirectory(download) 3 | add_subdirectory(Mail) 4 | add_subdirectory(TwitterClient) 5 | -------------------------------------------------------------------------------- /NetSSL_OpenSSL/samples/HTTPSTimeServer/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(HTTPSTimeServer src/HTTPSTimeServer.cpp) 2 | target_link_libraries(HTTPSTimeServer PUBLIC Poco::NetSSL Poco::Util Poco::XML) 3 | -------------------------------------------------------------------------------- /NetSSL_OpenSSL/samples/Mail/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(Mail-ssl src/Mail.cpp) 2 | target_link_libraries(Mail-ssl PUBLIC Poco::NetSSL Poco::Util Poco::XML) 3 | -------------------------------------------------------------------------------- /NetSSL_OpenSSL/samples/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco NetSSL Samples 5 | # 6 | 7 | .DEFAULT all: 8 | $(MAKE) -C HTTPSTimeServer $(MAKECMDGOALS) 9 | $(MAKE) -C download $(MAKECMDGOALS) 10 | $(MAKE) -C Mail $(MAKECMDGOALS) 11 | $(MAKE) -C TwitterClient $(MAKECMDGOALS) 12 | -------------------------------------------------------------------------------- /NetSSL_OpenSSL/samples/TwitterClient/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(TwitterCLient 2 | src/TweetApp.cpp 3 | src/Twitter.cpp 4 | ) 5 | target_link_libraries(TwitterCLient PUBLIC Poco::NetSSL Poco::Util Poco::JSON Poco::XML) 6 | -------------------------------------------------------------------------------- /NetSSL_OpenSSL/samples/download/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(download-ssl src/download.cpp) 2 | target_link_libraries(download-ssl PUBLIC Poco::NetSSL Poco::Util Poco::XML) 3 | -------------------------------------------------------------------------------- /NetSSL_OpenSSL/samples/samples.progen: -------------------------------------------------------------------------------- 1 | vc.project.platforms = Win32 2 | vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md 3 | vc.solution.create = true 4 | vc.solution.include = \ 5 | download\\download;\ 6 | HTTPSTimeServer\\HTTPSTimeServer;\ 7 | Mail\\Mail;\ 8 | TwitterClient\\TwitterClient 9 | -------------------------------------------------------------------------------- /NetSSL_OpenSSL/testsuite/src/FTPSClientTestSuite.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // FTPClientTestSuite.cpp 3 | // 4 | // Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH. 5 | // and Contributors. 6 | // 7 | // SPDX-License-Identifier: BSL-1.0 8 | // 9 | 10 | 11 | #include "FTPSClientTestSuite.h" 12 | #include "FTPSClientSessionTest.h" 13 | 14 | 15 | CppUnit::Test* FTPSClientTestSuite::suite() 16 | { 17 | CppUnit::TestSuite* pSuite = new CppUnit::TestSuite("FTPSClientTestSuite"); 18 | 19 | pSuite->addTest(FTPSClientSessionTest::suite()); 20 | 21 | return pSuite; 22 | } 23 | -------------------------------------------------------------------------------- /NetSSL_OpenSSL/testsuite/src/FTPSClientTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // FTPClientTestSuite.h 3 | // 4 | // Definition of the FTPClientTestSuite class. 5 | // 6 | // Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef FTPClientTestSuite_INCLUDED 14 | #define FTPClientTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class FTPSClientTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // FTPClientTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /NetSSL_OpenSSL/testsuite/src/HTTPSClientTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // HTTPSClientTestSuite.h 3 | // 4 | // Definition of the HTTPSClientTestSuite class. 5 | // 6 | // Copyright (c) 2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef HTTPSClientTestSuite_INCLUDED 14 | #define HTTPSClientTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class HTTPSClientTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // HTTPSClientTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /NetSSL_OpenSSL/testsuite/src/HTTPSServerTestSuite.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // HTTPSServerTestSuite.cpp 3 | // 4 | // Copyright (c) 2006, Applied Informatics Software Engineering GmbH. 5 | // and Contributors. 6 | // 7 | // SPDX-License-Identifier: BSL-1.0 8 | // 9 | 10 | 11 | #include "HTTPSServerTestSuite.h" 12 | #include "HTTPSServerTest.h" 13 | 14 | 15 | CppUnit::Test* HTTPSServerTestSuite::suite() 16 | { 17 | CppUnit::TestSuite* pSuite = new CppUnit::TestSuite("HTTPSServerTestSuite"); 18 | 19 | pSuite->addTest(HTTPSServerTest::suite()); 20 | 21 | return pSuite; 22 | } 23 | -------------------------------------------------------------------------------- /NetSSL_OpenSSL/testsuite/src/HTTPSServerTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // HTTPSServerTestSuite.h 3 | // 4 | // Definition of the HTTPSServerTestSuite class. 5 | // 6 | // Copyright (c) 2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef HTTPSServerTestSuite_INCLUDED 14 | #define HTTPSServerTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class HTTPSServerTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // HTTPSServerTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /NetSSL_OpenSSL/testsuite/src/NetSSLTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // NetSSLTestSuite.h 3 | // 4 | // Definition of the NetSSLTestSuite class. 5 | // 6 | // Copyright (c) 2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef NetSSLTestSuite_INCLUDED 14 | #define NetSSLTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class NetSSLTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // NetSSLTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /NetSSL_OpenSSL/testsuite/src/SecureStreamSocketTestSuite.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // SecureStreamSocketTestSuite.cpp 3 | // 4 | // Copyright (c) 2006, Applied Informatics Software Engineering GmbH. 5 | // and Contributors. 6 | // 7 | // SPDX-License-Identifier: BSL-1.0 8 | // 9 | 10 | 11 | #include "SecureStreamSocketTestSuite.h" 12 | #include "SecureStreamSocketTest.h" 13 | 14 | 15 | CppUnit::Test* SecureStreamSocketTestSuite::suite() 16 | { 17 | CppUnit::TestSuite* pSuite = new CppUnit::TestSuite("SecureStreamSocketTestSuite"); 18 | 19 | pSuite->addTest(SecureStreamSocketTest::suite()); 20 | 21 | return pSuite; 22 | } 23 | -------------------------------------------------------------------------------- /NetSSL_OpenSSL/testsuite/src/TCPServerTestSuite.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // TCPServerTestSuite.cpp 3 | // 4 | // Copyright (c) 2006, Applied Informatics Software Engineering GmbH. 5 | // and Contributors. 6 | // 7 | // SPDX-License-Identifier: BSL-1.0 8 | // 9 | 10 | 11 | #include "TCPServerTestSuite.h" 12 | #include "TCPServerTest.h" 13 | 14 | 15 | CppUnit::Test* TCPServerTestSuite::suite() 16 | { 17 | CppUnit::TestSuite* pSuite = new CppUnit::TestSuite("TCPServerTestSuite"); 18 | 19 | pSuite->addTest(TCPServerTest::suite()); 20 | 21 | return pSuite; 22 | } 23 | -------------------------------------------------------------------------------- /NetSSL_OpenSSL/testsuite/src/TCPServerTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // TCPServerTestSuite.h 3 | // 4 | // Definition of the TCPServerTestSuite class. 5 | // 6 | // Copyright (c) 2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef TCPServerTestSuite_INCLUDED 14 | #define TCPServerTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class TCPServerTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // TCPServerTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /NetSSL_OpenSSL/testsuite/src/WebSocketTestSuite.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // WebSocketTestSuite.cpp 3 | // 4 | // Copyright (c) 2012, Applied Informatics Software Engineering GmbH. 5 | // and Contributors. 6 | // 7 | // SPDX-License-Identifier: BSL-1.0 8 | // 9 | 10 | 11 | #include "WebSocketTestSuite.h" 12 | #include "WebSocketTest.h" 13 | 14 | 15 | CppUnit::Test* WebSocketTestSuite::suite() 16 | { 17 | CppUnit::TestSuite* pSuite = new CppUnit::TestSuite("WebSocketTestSuite"); 18 | 19 | pSuite->addTest(WebSocketTest::suite()); 20 | 21 | return pSuite; 22 | } 23 | -------------------------------------------------------------------------------- /NetSSL_OpenSSL/testsuite/src/WebSocketTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // WebSocketTestSuite.h 3 | // 4 | // Definition of the WebSocketTestSuite class. 5 | // 6 | // Copyright (c) 2012, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef WebSocketTestSuite_INCLUDED 14 | #define WebSocketTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class WebSocketTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // WebSocketTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /NetSSL_Win/cmake/PocoNetSSLWinConfig.cmake: -------------------------------------------------------------------------------- 1 | include(CMakeFindDependencyMacro) 2 | find_dependency(PocoFoundation) 3 | find_dependency(PocoUtil) 4 | find_dependency(PocoNet) 5 | include("${CMAKE_CURRENT_LIST_DIR}/PocoNetSSLWinTargets.cmake") 6 | -------------------------------------------------------------------------------- /NetSSL_Win/samples/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(HTTPSTimeServer) 2 | add_subdirectory(download) 3 | add_subdirectory(Mail) 4 | -------------------------------------------------------------------------------- /NetSSL_Win/samples/HTTPSTimeServer/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(HTTPSTimeServer-win src/HTTPSTimeServer.cpp) 2 | target_link_libraries(HTTPSTimeServer-win PUBLIC Poco::NetSSLWin Poco::Crypto Poco::XML) 3 | -------------------------------------------------------------------------------- /NetSSL_Win/samples/HTTPSTimeServer/any.pfx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/my-devices/sdk/bdb9ca712954ab3649271ca7914fbf3b41dc39e6/NetSSL_Win/samples/HTTPSTimeServer/any.pfx -------------------------------------------------------------------------------- /NetSSL_Win/samples/Mail/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(Mail-ssl-win src/Mail.cpp) 2 | target_link_libraries(Mail-ssl-win PUBLIC Poco::NetSSLWin Poco::Crypto Poco::XML) 3 | -------------------------------------------------------------------------------- /NetSSL_Win/samples/download/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(SAMPLE_NAME "") 2 | 3 | set(LOCAL_SRCS "") 4 | aux_source_directory(src LOCAL_SRCS) 5 | 6 | add_executable(download-ssl-win src/download.cpp) 7 | target_link_libraries(download-ssl-win PUBLIC Poco::NetSSLWin Poco::Crypto Poco::XML) 8 | -------------------------------------------------------------------------------- /NetSSL_Win/samples/samples.progen: -------------------------------------------------------------------------------- 1 | vc.project.platforms = Win32 2 | vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md 3 | vc.solution.create = true 4 | vc.solution.include = \ 5 | download\\download;\ 6 | HTTPSTimeServer\\HTTPSTimeServer;\ 7 | Mail\\Mail 8 | -------------------------------------------------------------------------------- /NetSSL_Win/testsuite/any.pfx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/my-devices/sdk/bdb9ca712954ab3649271ca7914fbf3b41dc39e6/NetSSL_Win/testsuite/any.pfx -------------------------------------------------------------------------------- /NetSSL_Win/testsuite/src/HTTPSClientTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // HTTPSClientTestSuite.h 3 | // 4 | // Definition of the HTTPSClientTestSuite class. 5 | // 6 | // Copyright (c) 2006-2014, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef HTTPSClientTestSuite_INCLUDED 14 | #define HTTPSClientTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class HTTPSClientTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // HTTPSClientTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /NetSSL_Win/testsuite/src/HTTPSServerTestSuite.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // HTTPSServerTestSuite.cpp 3 | // 4 | // Copyright (c) 2006-2014, Applied Informatics Software Engineering GmbH. 5 | // and Contributors. 6 | // 7 | // SPDX-License-Identifier: BSL-1.0 8 | // 9 | 10 | 11 | #include "HTTPSServerTestSuite.h" 12 | #include "HTTPSServerTest.h" 13 | 14 | 15 | CppUnit::Test* HTTPSServerTestSuite::suite() 16 | { 17 | CppUnit::TestSuite* pSuite = new CppUnit::TestSuite("HTTPSServerTestSuite"); 18 | 19 | pSuite->addTest(HTTPSServerTest::suite()); 20 | 21 | return pSuite; 22 | } 23 | -------------------------------------------------------------------------------- /NetSSL_Win/testsuite/src/HTTPSServerTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // HTTPSServerTestSuite.h 3 | // 4 | // Definition of the HTTPSServerTestSuite class. 5 | // 6 | // Copyright (c) 2006-2014, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef HTTPSServerTestSuite_INCLUDED 14 | #define HTTPSServerTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class HTTPSServerTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // HTTPSServerTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /NetSSL_Win/testsuite/src/NetSSLTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // NetSSLTestSuite.h 3 | // 4 | // Definition of the NetSSLTestSuite class. 5 | // 6 | // Copyright (c) 2006-2014, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef NetSSLTestSuite_INCLUDED 14 | #define NetSSLTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class NetSSLTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // NetSSLTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /NetSSL_Win/testsuite/src/SecureStreamSocketTestSuite.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // SecureStreamSocketTestSuite.cpp 3 | // 4 | // Copyright (c) 2006, Applied Informatics Software Engineering GmbH. 5 | // and Contributors. 6 | // 7 | // SPDX-License-Identifier: BSL-1.0 8 | // 9 | 10 | 11 | #include "SecureStreamSocketTestSuite.h" 12 | #include "SecureStreamSocketTest.h" 13 | 14 | 15 | CppUnit::Test* SecureStreamSocketTestSuite::suite() 16 | { 17 | CppUnit::TestSuite* pSuite = new CppUnit::TestSuite("SecureStreamSocketTestSuite"); 18 | 19 | pSuite->addTest(SecureStreamSocketTest::suite()); 20 | 21 | return pSuite; 22 | } 23 | -------------------------------------------------------------------------------- /NetSSL_Win/testsuite/src/TCPServerTestSuite.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // TCPServerTestSuite.cpp 3 | // 4 | // Copyright (c) 2006-2014, Applied Informatics Software Engineering GmbH. 5 | // and Contributors. 6 | // 7 | // SPDX-License-Identifier: BSL-1.0 8 | // 9 | 10 | 11 | #include "TCPServerTestSuite.h" 12 | #include "TCPServerTest.h" 13 | 14 | 15 | CppUnit::Test* TCPServerTestSuite::suite() 16 | { 17 | CppUnit::TestSuite* pSuite = new CppUnit::TestSuite("TCPServerTestSuite"); 18 | 19 | pSuite->addTest(TCPServerTest::suite()); 20 | 21 | return pSuite; 22 | } 23 | -------------------------------------------------------------------------------- /NetSSL_Win/testsuite/src/TCPServerTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // TCPServerTestSuite.h 3 | // 4 | // Definition of the TCPServerTestSuite class. 5 | // 6 | // Copyright (c) 2006-2014, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef TCPServerTestSuite_INCLUDED 14 | #define TCPServerTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class TCPServerTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // TCPServerTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /NetSSL_Win/testsuite/src/WebSocketTestSuite.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // WebSocketTestSuite.cpp 3 | // 4 | // Copyright (c) 2012, Applied Informatics Software Engineering GmbH. 5 | // and Contributors. 6 | // 7 | // SPDX-License-Identifier: BSL-1.0 8 | // 9 | 10 | 11 | #include "WebSocketTestSuite.h" 12 | #include "WebSocketTest.h" 13 | 14 | 15 | CppUnit::Test* WebSocketTestSuite::suite() 16 | { 17 | CppUnit::TestSuite* pSuite = new CppUnit::TestSuite("WebSocketTestSuite"); 18 | 19 | pSuite->addTest(WebSocketTest::suite()); 20 | 21 | return pSuite; 22 | } 23 | -------------------------------------------------------------------------------- /NetSSL_Win/testsuite/src/WebSocketTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // WebSocketTestSuite.h 3 | // 4 | // Definition of the WebSocketTestSuite class. 5 | // 6 | // Copyright (c) 2012, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef WebSocketTestSuite_INCLUDED 14 | #define WebSocketTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class WebSocketTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // WebSocketTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /PageCompiler/File2Page/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco C++ Server Page Compiler File2Page Utility 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = File2Page 10 | 11 | ifdef POCO_UNBUNDLED 12 | SYSLIBS += -lz -lpcre -lexpat 13 | endif 14 | 15 | target = f2cpsp 16 | target_version = 1 17 | target_libs = PocoUtil PocoXML PocoJSON PocoFoundation 18 | 19 | include $(POCO_BASE)/build/rules/exec 20 | -------------------------------------------------------------------------------- /PageCompiler/File2Page/dependencies: -------------------------------------------------------------------------------- 1 | Net 2 | Util 3 | XML 4 | JSON 5 | Foundation 6 | -------------------------------------------------------------------------------- /PageCompiler/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco C++ Server Page Compiler 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = Page PageReader \ 10 | CodeWriter ApacheCodeWriter OSPCodeWriter \ 11 | PageCompiler 12 | 13 | ifdef POCO_UNBUNDLED 14 | SYSLIBS += -lz -lpcre -lexpat 15 | endif 16 | 17 | target = cpspc 18 | target_version = 1 19 | target_libs = PocoNet PocoUtil PocoXML PocoJSON PocoFoundation 20 | 21 | include $(POCO_BASE)/build/rules/exec 22 | -------------------------------------------------------------------------------- /PageCompiler/cpspc.properties: -------------------------------------------------------------------------------- 1 | PageCompiler.fileHeader = //\n// ${outputFileName}\n//\n// This file has been generated from ${inputFileName} on ${dateTime}.\n// 2 | -------------------------------------------------------------------------------- /PageCompiler/dependencies: -------------------------------------------------------------------------------- 1 | Net 2 | Util 3 | XML 4 | JSON 5 | Foundation 6 | -------------------------------------------------------------------------------- /PageCompiler/samples/HTTPTimeServer/src/TimeHandler.cpsp: -------------------------------------------------------------------------------- 1 | <%@ page class="TimeHandler" %> 2 | <%@ impl include="Poco/DateTime.h" 3 | include="Poco/DateTimeFormatter.h" 4 | %> 5 | 6 | <% 7 | Poco::DateTime now; 8 | std::string dt(Poco::DateTimeFormatter::format(now, "%W, %e %b %y %H:%M:%S %Z")); 9 | %> 10 | 11 | 12 | HTTPTimeServer powered by POCO C++ Libraries and PageCompiler 13 | 14 | 15 | 16 |

<%= dt %>

17 | 18 | 19 | -------------------------------------------------------------------------------- /PageCompiler/samples/HTTPTimeServer/src/TimeHandler.h: -------------------------------------------------------------------------------- 1 | // 2 | // TimeHandler.h 3 | // 4 | // This file has been generated from TimeHandler.cpsp on 2021-06-24 17:01:24. 5 | // 6 | 7 | 8 | #ifndef TimeHandler_INCLUDED 9 | #define TimeHandler_INCLUDED 10 | 11 | 12 | #include "Poco/Net/HTTPRequestHandler.h" 13 | 14 | 15 | class TimeHandler: public Poco::Net::HTTPRequestHandler 16 | { 17 | public: 18 | void handleRequest(Poco::Net::HTTPServerRequest& request, Poco::Net::HTTPServerResponse& response); 19 | }; 20 | 21 | 22 | #endif // TimeHandler_INCLUDED 23 | -------------------------------------------------------------------------------- /PageCompiler/samples/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco PageCompiler Samples 5 | # 6 | 7 | .PHONY: projects 8 | clean all: projects 9 | projects: 10 | $(MAKE) -C HTTPTimeServer $(MAKECMDGOALS) 11 | -------------------------------------------------------------------------------- /PageCompiler/samples/dependencies: -------------------------------------------------------------------------------- 1 | Foundation 2 | Net 3 | Util 4 | PageCompiler 5 | -------------------------------------------------------------------------------- /PageCompiler/samples/samples.progen: -------------------------------------------------------------------------------- 1 | vc.project.platforms = Win32 2 | vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md 3 | vc.solution.create = true 4 | vc.solution.include = HTTPTimeServer\\HTTPTimeServer 5 | -------------------------------------------------------------------------------- /Util/cmake/PocoUtilConfig.cmake: -------------------------------------------------------------------------------- 1 | include(CMakeFindDependencyMacro) 2 | find_dependency(PocoFoundation) 3 | if (ENABLE_XML) 4 | find_dependency(PocoXML) 5 | endif() 6 | if (ENABLE_JSON) 7 | find_dependency(PocoJSON) 8 | endif() 9 | include("${CMAKE_CURRENT_LIST_DIR}/PocoUtilTargets.cmake") 10 | -------------------------------------------------------------------------------- /Util/samples/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(SampleApp) 2 | add_subdirectory(SampleServer) 3 | add_subdirectory(Units) 4 | add_subdirectory(pkill) 5 | -------------------------------------------------------------------------------- /Util/samples/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco Util Samples 5 | # 6 | 7 | .PHONY: projects 8 | clean all: projects 9 | projects: 10 | $(MAKE) -C SampleApp $(MAKECMDGOALS) 11 | $(MAKE) -C SampleServer $(MAKECMDGOALS) 12 | $(MAKE) -C pkill $(MAKECMDGOALS) 13 | -------------------------------------------------------------------------------- /Util/samples/SampleApp/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(SampleApp src/SampleApp.cpp) 2 | if(WINCE) 3 | set_target_properties(SampleApp PROPERTIES LINK_FLAGS "/ENTRY:wmainCRTStartup") 4 | endif() 5 | target_link_libraries(SampleApp PUBLIC Poco::Util Poco::JSON Poco::XML) 6 | -------------------------------------------------------------------------------- /Util/samples/SampleApp/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco SampleApp 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = SampleApp 10 | 11 | target = SampleApp 12 | target_version = 1 13 | target_libs = PocoUtil PocoJSON PocoXML PocoFoundation 14 | 15 | include $(POCO_BASE)/build/rules/exec 16 | 17 | ifdef POCO_UNBUNDLED 18 | SYSLIBS += -lz -lpcre -lexpat 19 | endif 20 | -------------------------------------------------------------------------------- /Util/samples/SampleApp/SampleApp.properties: -------------------------------------------------------------------------------- 1 | # This is a sample configuration file. 2 | logging.loggers.root.channel.class = ConsoleChannel 3 | logging.loggers.app.name = Application 4 | logging.loggers.app.channel = c1 5 | logging.formatters.f1.class = PatternFormatter 6 | logging.formatters.f1.pattern = [%p] %t 7 | logging.channels.c1.class = ConsoleChannel 8 | logging.channels.c1.formatter = f1 9 | -------------------------------------------------------------------------------- /Util/samples/SampleServer/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(SampleServer src/SampleServer.cpp) 2 | if(WINCE) 3 | set_target_properties(SampleServer PROPERTIES LINK_FLAGS "/ENTRY:wmainCRTStartup") 4 | endif() 5 | target_link_libraries(SampleServer PUBLIC Poco::Util Poco::JSON Poco::XML) 6 | -------------------------------------------------------------------------------- /Util/samples/SampleServer/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco SampleServer 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = SampleServer 10 | 11 | target = SampleServer 12 | target_version = 1 13 | target_libs = PocoUtil PocoJSON PocoXML PocoFoundation 14 | 15 | include $(POCO_BASE)/build/rules/exec 16 | 17 | ifdef POCO_UNBUNDLED 18 | SYSLIBS += -lz -lpcre -lexpat 19 | endif 20 | -------------------------------------------------------------------------------- /Util/samples/SampleServer/SampleServer.properties: -------------------------------------------------------------------------------- 1 | # This is a sample configuration file. 2 | logging.loggers.root.channel = c1 3 | logging.channels.c1.class = FileChannel 4 | logging.channels.c1.path = ${application.dir}SampleServer.log 5 | logging.channels.c1.pattern = %s: [%p] %t 6 | -------------------------------------------------------------------------------- /Util/samples/Units/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(Units src/Units.cpp) 2 | target_link_libraries(Units PUBLIC Poco::Util Poco::JSON Poco::XML) 3 | -------------------------------------------------------------------------------- /Util/samples/Units/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco SampleServer 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = Units 10 | 11 | target = Units 12 | target_version = 1 13 | target_libs = 14 | 15 | include $(POCO_BASE)/build/rules/exec 16 | -------------------------------------------------------------------------------- /Util/samples/Units/Units.progen: -------------------------------------------------------------------------------- 1 | vc.project.guid = ${vc.project.guidFromName} 2 | vc.project.name = ${vc.project.baseName} 3 | vc.project.target = ${vc.project.name} 4 | vc.project.type = executable 5 | vc.project.pocobase = ..\\..\\.. 6 | vc.project.platforms = Win32 7 | vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md 8 | vc.project.prototype = ${vc.project.name}_vs90.vcproj 9 | vc.project.compiler.include = ..\\..\\..\\Foundation\\include;..\\..\\..\\Util\\include 10 | -------------------------------------------------------------------------------- /Util/samples/pkill/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(pkill src/pkill.cpp) 2 | if(WINCE) 3 | set_target_properties(pkill PROPERTIES LINK_FLAGS "/ENTRY:wmainCRTStartup") 4 | endif() 5 | target_link_libraries(pkill PUBLIC Poco::Util Poco::JSON Poco::XML) 6 | -------------------------------------------------------------------------------- /Util/samples/pkill/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco pkill utility 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = pkill 10 | 11 | target = pkill 12 | target_version = 1 13 | target_libs = PocoUtil PocoJSON PocoXML PocoFoundation 14 | 15 | include $(POCO_BASE)/build/rules/exec 16 | 17 | ifdef POCO_UNBUNDLED 18 | SYSLIBS += -lz -lpcre -lexpat 19 | endif 20 | -------------------------------------------------------------------------------- /Util/samples/samples.progen: -------------------------------------------------------------------------------- 1 | vc.project.platforms = Win32 2 | vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md 3 | vc.solution.create = true 4 | vc.solution.include = \ 5 | pkill\\pkill;\ 6 | SampleApp\\SampleApp;\ 7 | SampleServer\\SampleServer;\ 8 | Units\\Units 9 | -------------------------------------------------------------------------------- /Util/src/Validator.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // Validator.cpp 3 | // 4 | // Library: Util 5 | // Package: Options 6 | // Module: Validator 7 | // 8 | // Copyright (c) 2006, Applied Informatics Software Engineering GmbH. 9 | // and Contributors. 10 | // 11 | // SPDX-License-Identifier: BSL-1.0 12 | // 13 | 14 | 15 | #include "Poco/Util/Validator.h" 16 | 17 | 18 | namespace Poco { 19 | namespace Util { 20 | 21 | 22 | Validator::Validator() 23 | { 24 | } 25 | 26 | 27 | Validator::~Validator() 28 | { 29 | } 30 | 31 | 32 | } } // namespace Poco::Util 33 | -------------------------------------------------------------------------------- /Util/testsuite/TestSuite.progen: -------------------------------------------------------------------------------- 1 | vc.project.guid = E40E738C-447B-40F4-A878-EBA9A2459270 2 | vc.project.name = TestSuite 3 | vc.project.target = TestSuite 4 | vc.project.type = testsuite 5 | vc.project.pocobase = ..\\.. 6 | vc.project.platforms = Win32 7 | vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md 8 | vc.project.prototype = TestSuite_vs90.vcproj 9 | vc.project.compiler.include = ..\\..\\Foundation\\include;..\\..\\XML\\include;..\\..\\JSON\\include 10 | vc.project.linker.dependencies.Win32 = iphlpapi.lib 11 | -------------------------------------------------------------------------------- /Util/testsuite/src/ConfigurationTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // ConfigurationTestSuite.h 3 | // 4 | // Definition of the ConfigurationTestSuite class. 5 | // 6 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef ConfigurationTestSuite_INCLUDED 14 | #define ConfigurationTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class ConfigurationTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // ConfigurationTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /Util/testsuite/src/Driver.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // Driver.cpp 3 | // 4 | // Console-based test driver for Poco Util. 5 | // 6 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #include "CppUnit/TestRunner.h" 14 | #include "UtilTestSuite.h" 15 | 16 | 17 | CppUnitMain(UtilTestSuite) 18 | -------------------------------------------------------------------------------- /Util/testsuite/src/OptionsTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // OptionsTestSuite.h 3 | // 4 | // Definition of the OptionsTestSuite class. 5 | // 6 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef OptionsTestSuite_INCLUDED 14 | #define OptionsTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class OptionsTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // OptionsTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /Util/testsuite/src/TimerTestSuite.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // TimerTestSuite.cpp 3 | // 4 | // Copyright (c) 2009, Applied Informatics Software Engineering GmbH. 5 | // and Contributors. 6 | // 7 | // SPDX-License-Identifier: BSL-1.0 8 | // 9 | 10 | 11 | #include "TimerTestSuite.h" 12 | #include "TimerTest.h" 13 | 14 | 15 | CppUnit::Test* TimerTestSuite::suite() 16 | { 17 | CppUnit::TestSuite* pSuite = new CppUnit::TestSuite("TimerTestSuite"); 18 | 19 | pSuite->addTest(TimerTest::suite()); 20 | 21 | return pSuite; 22 | } 23 | -------------------------------------------------------------------------------- /Util/testsuite/src/TimerTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // TimerTestSuite.h 3 | // 4 | // Definition of the TimerTestSuite class. 5 | // 6 | // Copyright (c) 2009, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef TimerTestSuite_INCLUDED 14 | #define TimerTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class TimerTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // TimerTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /Util/testsuite/src/UtilTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // UtilTestSuite.h 3 | // 4 | // Definition of the UtilTestSuite class. 5 | // 6 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef UtilTestSuite_INCLUDED 14 | #define UtilTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class UtilTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // UtilTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /Util/testsuite/src/WinDriver.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // WinDriver.cpp 3 | // 4 | // Windows test driver for Poco Util. 5 | // 6 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #include "WinTestRunner/WinTestRunner.h" 14 | #include "UtilTestSuite.h" 15 | 16 | 17 | class TestDriver: public CppUnit::WinTestRunnerApp 18 | { 19 | void TestMain() 20 | { 21 | CppUnit::WinTestRunner runner; 22 | runner.addTest(UtilTestSuite::suite()); 23 | runner.run(); 24 | } 25 | }; 26 | 27 | 28 | TestDriver theDriver; 29 | -------------------------------------------------------------------------------- /Util/testsuite/src/WindowsTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // WindowsTestSuite.h 3 | // 4 | // Definition of the WindowsTestSuite class. 5 | // 6 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef WindowsTestSuite_INCLUDED 14 | #define WindowsTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class WindowsTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // WindowsTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /VERSION: -------------------------------------------------------------------------------- 1 | 1.11.9 2 | -------------------------------------------------------------------------------- /WebTunnel/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco WebTunnel library 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = LocalPortForwarder RemotePortForwarder \ 10 | SocketDispatcher Protocol 11 | 12 | target = PocoWebTunnel 13 | target_version = 1 14 | target_libs = PocoNet PocoFoundation 15 | 16 | include $(POCO_BASE)/build/rules/lib 17 | -------------------------------------------------------------------------------- /WebTunnel/WebTunnelAgent/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for WebTunnelAgent 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | ifndef WEBTUNNEL_DISABLE_TLS 10 | CXXFLAGS += -DWEBTUNNEL_ENABLE_TLS 11 | tlslibs = PocoNetSSL PocoCrypto 12 | SYSLIBS += -lssl -lcrypto -lz -ldl 13 | endif 14 | 15 | objects = WebTunnelAgent 16 | 17 | target = WebTunnelAgent 18 | target_version = 1 19 | target_libs = $(tlslibs) PocoWebTunnel PocoUtil PocoNet PocoXML PocoJSON PocoFoundation 20 | 21 | include $(POCO_BASE)/build/rules/exec 22 | -------------------------------------------------------------------------------- /WebTunnel/WebTunnelAgent/etc/systemd/system/WebTunnelAgent.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=WebTunnelAgent 3 | After=syslog.target network.target 4 | StartLimitIntervalSec=0 5 | 6 | [Service] 7 | Type=forking 8 | Restart=always 9 | RestartSec=1 10 | User=root 11 | ExecStart=/usr/local/sbin/WebTunnelAgent --config=/etc/WebTunnelAgent.properties --pidfile=/var/run/WebTunnelAgent.pid --daemon 12 | PIDFile=/var/run/WebTunnelAgent.pid 13 | 14 | [Install] 15 | WantedBy=multi-user.target 16 | -------------------------------------------------------------------------------- /WebTunnel/WebTunnelAgentLib/cmake/PocoWebTunnelAgentLibConfig.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/my-devices/sdk/bdb9ca712954ab3649271ca7914fbf3b41dc39e6/WebTunnel/WebTunnelAgentLib/cmake/PocoWebTunnelAgentLibConfig.cmake -------------------------------------------------------------------------------- /WebTunnel/WebTunnelClient/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for WebTunnelClient 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | ifndef WEBTUNNEL_DISABLE_TLS 10 | CXXFLAGS += -DWEBTUNNEL_ENABLE_TLS 11 | tlslibs = PocoNetSSL PocoCrypto 12 | SYSLIBS += -lssl -lcrypto -lz -ldl 13 | endif 14 | 15 | objects = WebTunnelClient 16 | 17 | target = remote-client 18 | target_version = 1 19 | target_libs = $(tlslibs) PocoWebTunnel PocoUtil PocoNet PocoXML PocoJSON PocoFoundation 20 | 21 | include $(POCO_BASE)/build/rules/exec 22 | -------------------------------------------------------------------------------- /WebTunnel/WebTunnelClientLib/cmake/PocoWebTunnelClientLibConfig.cmake: -------------------------------------------------------------------------------- 1 | include(CMakeFindDependencyMacro) 2 | find_dependency(PocoFoundation) 3 | find_dependency(PocoNet) 4 | find_dependency(PocoWebTunnel) 5 | include("${CMAKE_CURRENT_LIST_DIR}/WebTunnelClientLibTargets.cmake") 6 | -------------------------------------------------------------------------------- /WebTunnel/WebTunnelRDP/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for WebTunnelRDP 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | ifndef WEBTUNNEL_DISABLE_TLS 10 | CXXFLAGS += -DWEBTUNNEL_ENABLE_TLS 11 | tlslibs = PocoNetSSL PocoCrypto 12 | SYSLIBS += -lssl -lcrypto -lz -ldl 13 | endif 14 | 15 | objects = WebTunnelRDP 16 | 17 | target = remote-rdp 18 | target_version = 1 19 | target_libs = $(tlslibs) PocoWebTunnel PocoUtil PocoNet PocoXML PocoJSON PocoFoundation 20 | 21 | include $(POCO_BASE)/build/rules/exec 22 | -------------------------------------------------------------------------------- /WebTunnel/WebTunnelSCP/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for WebTunnelSCP 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | ifndef WEBTUNNEL_DISABLE_TLS 10 | CXXFLAGS += -DWEBTUNNEL_ENABLE_TLS 11 | tlslibs = PocoNetSSL PocoCrypto 12 | SYSLIBS += -lssl -lcrypto -lz -ldl 13 | endif 14 | 15 | objects = WebTunnelSCP 16 | 17 | target = remote-scp 18 | target_version = 1 19 | target_libs = $(tlslibs) PocoWebTunnel PocoUtil PocoNet PocoXML PocoJSON PocoFoundation 20 | 21 | include $(POCO_BASE)/build/rules/exec 22 | -------------------------------------------------------------------------------- /WebTunnel/WebTunnelSFTP/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for WebTunnelSFTP 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | ifndef WEBTUNNEL_DISABLE_TLS 10 | CXXFLAGS += -DWEBTUNNEL_ENABLE_TLS 11 | tlslibs = PocoNetSSL PocoCrypto 12 | SYSLIBS += -lssl -lcrypto -lz -ldl 13 | endif 14 | 15 | objects = WebTunnelSFTP 16 | 17 | target = remote-sftp 18 | target_version = 1 19 | target_libs = $(tlslibs) PocoWebTunnel PocoUtil PocoNet PocoXML PocoJSON PocoFoundation 20 | 21 | include $(POCO_BASE)/build/rules/exec 22 | -------------------------------------------------------------------------------- /WebTunnel/WebTunnelSSH/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for WebTunnelSSH 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | ifndef WEBTUNNEL_DISABLE_TLS 10 | CXXFLAGS += -DWEBTUNNEL_ENABLE_TLS 11 | tlslibs = PocoNetSSL PocoCrypto 12 | SYSLIBS += -lssl -lcrypto -lz -ldl 13 | endif 14 | 15 | objects = WebTunnelSSH 16 | 17 | target = remote-ssh 18 | target_version = 1 19 | target_libs = $(tlslibs) PocoWebTunnel PocoUtil PocoNet PocoXML PocoJSON PocoFoundation 20 | 21 | include $(POCO_BASE)/build/rules/exec 22 | -------------------------------------------------------------------------------- /WebTunnel/WebTunnelVNC/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for WebTunnelVNC 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | ifndef WEBTUNNEL_DISABLE_TLS 10 | CXXFLAGS += -DWEBTUNNEL_ENABLE_TLS 11 | tlslibs = PocoNetSSL PocoCrypto 12 | SYSLIBS += -lssl -lcrypto -lz -ldl 13 | endif 14 | 15 | objects = WebTunnelVNC 16 | 17 | target = remote-vnc 18 | target_version = 1 19 | target_libs = $(tlslibs) PocoWebTunnel PocoUtil PocoNet PocoXML PocoJSON PocoFoundation 20 | 21 | include $(POCO_BASE)/build/rules/exec 22 | -------------------------------------------------------------------------------- /WebTunnel/cmake/PocoWebTunnelConfig.cmake: -------------------------------------------------------------------------------- 1 | include(CMakeFindDependencyMacro) 2 | find_dependency(PocoFoundation) 3 | find_dependency(PocoNet) 4 | include("${CMAKE_CURRENT_LIST_DIR}/PocoWebTunnelTargets.cmake") 5 | -------------------------------------------------------------------------------- /XML/cmake/PocoXMLConfig.cmake: -------------------------------------------------------------------------------- 1 | include(CMakeFindDependencyMacro) 2 | find_dependency(PocoFoundation) 3 | if(@POCO_UNBUNDLED@) 4 | if(CMAKE_VERSION VERSION_LESS "3.10") 5 | list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/V39") 6 | endif() 7 | find_dependency(EXPAT REQUIRED) 8 | endif() 9 | 10 | include("${CMAKE_CURRENT_LIST_DIR}/PocoXMLTargets.cmake") 11 | -------------------------------------------------------------------------------- /XML/samples/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(DOMParser) 2 | add_subdirectory(DOMWriter) 3 | add_subdirectory(PrettyPrint) 4 | add_subdirectory(SAXParser) 5 | #add_subdirectory(RoundTrip) 6 | 7 | -------------------------------------------------------------------------------- /XML/samples/DOMParser/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(DOMParser src/DOMParser.cpp) 2 | target_link_libraries(DOMParser PUBLIC Poco::XML) 3 | -------------------------------------------------------------------------------- /XML/samples/DOMParser/DOMParser.progen: -------------------------------------------------------------------------------- 1 | vc.project.guid = ${vc.project.guidFromName} 2 | vc.project.name = ${vc.project.baseName} 3 | vc.project.target = ${vc.project.name} 4 | vc.project.type = executable 5 | vc.project.pocobase = ..\\..\\.. 6 | vc.project.platforms = Win32 7 | vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md 8 | vc.project.prototype = ${vc.project.name}_vs90.vcproj 9 | vc.project.compiler.include = ..\\..\\..\\Foundation\\include;..\\..\\..\\XML\\include 10 | vc.project.linker.dependencies.Win32 = ws2_32.lib iphlpapi.lib 11 | -------------------------------------------------------------------------------- /XML/samples/DOMParser/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco DOMParser 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = DOMParser 10 | 11 | target = DOMParser 12 | target_version = 1 13 | target_libs = PocoXML PocoFoundation 14 | 15 | include $(POCO_BASE)/build/rules/exec 16 | 17 | ifdef POCO_UNBUNDLED 18 | SYSLIBS += -lexpat 19 | endif 20 | 21 | -------------------------------------------------------------------------------- /XML/samples/DOMWriter/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(DOMWriter src/DOMWriter.cpp) 2 | target_link_libraries(DOMWriter PUBLIC Poco::XML) 3 | -------------------------------------------------------------------------------- /XML/samples/DOMWriter/DOMWriter.progen: -------------------------------------------------------------------------------- 1 | vc.project.guid = ${vc.project.guidFromName} 2 | vc.project.name = ${vc.project.baseName} 3 | vc.project.target = ${vc.project.name} 4 | vc.project.type = executable 5 | vc.project.pocobase = ..\\..\\.. 6 | vc.project.platforms = Win32 7 | vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md 8 | vc.project.prototype = ${vc.project.name}_vs90.vcproj 9 | vc.project.compiler.include = ..\\..\\..\\Foundation\\include;..\\..\\..\\XML\\include 10 | vc.project.linker.dependencies.Win32 = ws2_32.lib iphlpapi.lib 11 | -------------------------------------------------------------------------------- /XML/samples/DOMWriter/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco DOMWriter 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = DOMWriter 10 | 11 | target = DOMWriter 12 | target_version = 1 13 | target_libs = PocoXML PocoFoundation 14 | 15 | include $(POCO_BASE)/build/rules/exec 16 | -------------------------------------------------------------------------------- /XML/samples/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco XML Samples 5 | # 6 | 7 | .PHONY: projects 8 | clean all: projects 9 | projects: 10 | $(MAKE) -C DOMParser $(MAKECMDGOALS) 11 | $(MAKE) -C DOMWriter $(MAKECMDGOALS) 12 | $(MAKE) -C PrettyPrint $(MAKECMDGOALS) 13 | $(MAKE) -C SAXParser $(MAKECMDGOALS) 14 | -------------------------------------------------------------------------------- /XML/samples/PrettyPrint/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(PrettyPrint src/PrettyPrint.cpp) 2 | target_link_libraries(PrettyPrint PUBLIC Poco::XML) 3 | -------------------------------------------------------------------------------- /XML/samples/PrettyPrint/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco PrettyPrint 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = PrettyPrint 10 | 11 | target = PrettyPrint 12 | target_version = 1 13 | target_libs = PocoXML PocoFoundation 14 | 15 | include $(POCO_BASE)/build/rules/exec 16 | 17 | ifdef POCO_UNBUNDLED 18 | SYSLIBS += -lexpat 19 | endif 20 | 21 | -------------------------------------------------------------------------------- /XML/samples/SAXParser/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(SAXParser src/SAXParser.cpp) 2 | target_link_libraries(SAXParser PUBLIC Poco::XML) 3 | -------------------------------------------------------------------------------- /XML/samples/SAXParser/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile 3 | # 4 | # Makefile for Poco SAXParser 5 | # 6 | 7 | include $(POCO_BASE)/build/rules/global 8 | 9 | objects = SAXParser 10 | 11 | target = SAXParser 12 | target_version = 1 13 | target_libs = PocoXML PocoFoundation 14 | 15 | include $(POCO_BASE)/build/rules/exec 16 | 17 | ifdef POCO_UNBUNDLED 18 | SYSLIBS += -lexpat 19 | endif 20 | -------------------------------------------------------------------------------- /XML/samples/SAXParser/SAXParser.progen: -------------------------------------------------------------------------------- 1 | vc.project.guid = ${vc.project.guidFromName} 2 | vc.project.name = ${vc.project.baseName} 3 | vc.project.target = ${vc.project.name} 4 | vc.project.type = executable 5 | vc.project.pocobase = ..\\..\\.. 6 | vc.project.platforms = Win32 7 | vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md 8 | vc.project.prototype = ${vc.project.name}_vs90.vcproj 9 | vc.project.compiler.include = ..\\..\\..\\Foundation\\include;..\\..\\..\\XML\\include 10 | vc.project.linker.dependencies.Win32 = ws2_32.lib iphlpapi.lib 11 | -------------------------------------------------------------------------------- /XML/samples/samples.progen: -------------------------------------------------------------------------------- 1 | vc.project.platforms = Win32 2 | vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md 3 | vc.solution.create = true 4 | vc.solution.include = \ 5 | DOMParser\\DOMParser;\ 6 | DOMWriter\\DOMWriter;\ 7 | PrettyPrint\\PrettyPrint;\ 8 | SAXParser\\SAXParser 9 | -------------------------------------------------------------------------------- /XML/src/Attributes.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // Attributes.cpp 3 | // 4 | // Library: XML 5 | // Package: SAX 6 | // Module: SAX 7 | // 8 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 9 | // and Contributors. 10 | // 11 | // SPDX-License-Identifier: BSL-1.0 12 | // 13 | 14 | 15 | #include "Poco/SAX/Attributes.h" 16 | 17 | 18 | namespace Poco { 19 | namespace XML { 20 | 21 | 22 | Attributes::~Attributes() 23 | { 24 | } 25 | 26 | 27 | } } // namespace Poco::XML 28 | -------------------------------------------------------------------------------- /XML/src/ContentHandler.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // ContentHandler.cpp 3 | // 4 | // Library: XML 5 | // Package: SAX 6 | // Module: SAX 7 | // 8 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 9 | // and Contributors. 10 | // 11 | // SPDX-License-Identifier: BSL-1.0 12 | // 13 | 14 | 15 | #include "Poco/SAX/ContentHandler.h" 16 | 17 | 18 | namespace Poco { 19 | namespace XML { 20 | 21 | 22 | ContentHandler::~ContentHandler() 23 | { 24 | } 25 | 26 | 27 | } } // namespace Poco::XML 28 | -------------------------------------------------------------------------------- /XML/src/DOMObject.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // DOMObject.cpp 3 | // 4 | // Library: XML 5 | // Package: DOM 6 | // Module: DOM 7 | // 8 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 9 | // and Contributors. 10 | // 11 | // SPDX-License-Identifier: BSL-1.0 12 | // 13 | 14 | 15 | #include "Poco/DOM/DOMObject.h" 16 | 17 | 18 | namespace Poco { 19 | namespace XML { 20 | 21 | 22 | DOMObject::DOMObject(): _rc(1) 23 | { 24 | } 25 | 26 | 27 | DOMObject::~DOMObject() 28 | { 29 | } 30 | 31 | 32 | } } // namespace Poco::XML 33 | -------------------------------------------------------------------------------- /XML/src/DTDHandler.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // DTDHandler.cpp 3 | // 4 | // Library: XML 5 | // Package: SAX 6 | // Module: SAX 7 | // 8 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 9 | // and Contributors. 10 | // 11 | // SPDX-License-Identifier: BSL-1.0 12 | // 13 | 14 | 15 | #include "Poco/SAX/DTDHandler.h" 16 | 17 | 18 | namespace Poco { 19 | namespace XML { 20 | 21 | 22 | DTDHandler::~DTDHandler() 23 | { 24 | } 25 | 26 | 27 | } } // namespace Poco::XML 28 | -------------------------------------------------------------------------------- /XML/src/DeclHandler.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // DeclHandler.cpp 3 | // 4 | // Library: XML 5 | // Package: SAX 6 | // Module: SAX 7 | // 8 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 9 | // and Contributors. 10 | // 11 | // SPDX-License-Identifier: BSL-1.0 12 | // 13 | 14 | 15 | #include "Poco/SAX/DeclHandler.h" 16 | 17 | 18 | namespace Poco { 19 | namespace XML { 20 | 21 | 22 | DeclHandler::~DeclHandler() 23 | { 24 | } 25 | 26 | 27 | } } // namespace Poco::XML 28 | -------------------------------------------------------------------------------- /XML/src/DocumentEvent.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // DocumentEvent.cpp 3 | // 4 | // Library: XML 5 | // Package: DOM 6 | // Module: DOM 7 | // 8 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 9 | // and Contributors. 10 | // 11 | // SPDX-License-Identifier: BSL-1.0 12 | // 13 | 14 | 15 | #include "Poco/DOM/DocumentEvent.h" 16 | 17 | 18 | namespace Poco { 19 | namespace XML { 20 | 21 | 22 | DocumentEvent::~DocumentEvent() 23 | { 24 | } 25 | 26 | 27 | } } // namespace Poco::XML 28 | -------------------------------------------------------------------------------- /XML/src/EntityResolver.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // EntityResolver.cpp 3 | // 4 | // Library: XML 5 | // Package: SAX 6 | // Module: SAX 7 | // 8 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 9 | // and Contributors. 10 | // 11 | // SPDX-License-Identifier: BSL-1.0 12 | // 13 | 14 | 15 | #include "Poco/SAX/EntityResolver.h" 16 | 17 | 18 | namespace Poco { 19 | namespace XML { 20 | 21 | 22 | EntityResolver::~EntityResolver() 23 | { 24 | } 25 | 26 | 27 | } } // namespace Poco::XML 28 | -------------------------------------------------------------------------------- /XML/src/ErrorHandler.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // ErrorHandler.cpp 3 | // 4 | // Library: XML 5 | // Package: SAX 6 | // Module: SAX 7 | // 8 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 9 | // and Contributors. 10 | // 11 | // SPDX-License-Identifier: BSL-1.0 12 | // 13 | 14 | 15 | #include "Poco/SAX/ErrorHandler.h" 16 | 17 | 18 | namespace Poco { 19 | namespace XML { 20 | 21 | 22 | ErrorHandler::~ErrorHandler() 23 | { 24 | } 25 | 26 | 27 | } } // namespace Poco::XML 28 | -------------------------------------------------------------------------------- /XML/src/EventListener.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // EventListener.cpp 3 | // 4 | // Library: XML 5 | // Package: DOM 6 | // Module: DOMEvents 7 | // 8 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 9 | // and Contributors. 10 | // 11 | // SPDX-License-Identifier: BSL-1.0 12 | // 13 | 14 | 15 | #include "Poco/DOM/EventListener.h" 16 | 17 | 18 | namespace Poco { 19 | namespace XML { 20 | 21 | 22 | EventListener::~EventListener() 23 | { 24 | } 25 | 26 | 27 | } } // namespace Poco::XML 28 | -------------------------------------------------------------------------------- /XML/src/EventTarget.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // EventTarget.cpp 3 | // 4 | // Library: XML 5 | // Package: DOM 6 | // Module: DOMEvents 7 | // 8 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 9 | // and Contributors. 10 | // 11 | // SPDX-License-Identifier: BSL-1.0 12 | // 13 | 14 | 15 | #include "Poco/DOM/EventTarget.h" 16 | 17 | 18 | namespace Poco { 19 | namespace XML { 20 | 21 | 22 | EventTarget::~EventTarget() 23 | { 24 | } 25 | 26 | 27 | } } // namespace Poco::XML 28 | -------------------------------------------------------------------------------- /XML/src/LexicalHandler.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // LexicalHandler.cpp 3 | // 4 | // Library: XML 5 | // Package: SAX 6 | // Module: SAX 7 | // 8 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 9 | // and Contributors. 10 | // 11 | // SPDX-License-Identifier: BSL-1.0 12 | // 13 | 14 | 15 | #include "Poco/SAX/LexicalHandler.h" 16 | 17 | 18 | namespace Poco { 19 | namespace XML { 20 | 21 | 22 | LexicalHandler::~LexicalHandler() 23 | { 24 | } 25 | 26 | 27 | } } // namespace Poco::XML 28 | -------------------------------------------------------------------------------- /XML/src/Locator.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // Locator.cpp 3 | // 4 | // Library: XML 5 | // Package: SAX 6 | // Module: SAX 7 | // 8 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 9 | // and Contributors. 10 | // 11 | // SPDX-License-Identifier: BSL-1.0 12 | // 13 | 14 | 15 | #include "Poco/SAX/Locator.h" 16 | 17 | 18 | namespace Poco { 19 | namespace XML { 20 | 21 | 22 | Locator::~Locator() 23 | { 24 | } 25 | 26 | 27 | } } // namespace Poco::XML 28 | -------------------------------------------------------------------------------- /XML/src/NamedNodeMap.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // NamedNodeMap.cpp 3 | // 4 | // Library: XML 5 | // Package: DOM 6 | // Module: DOM 7 | // 8 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 9 | // and Contributors. 10 | // 11 | // SPDX-License-Identifier: BSL-1.0 12 | // 13 | 14 | 15 | #include "Poco/DOM/NamedNodeMap.h" 16 | 17 | 18 | namespace Poco { 19 | namespace XML { 20 | 21 | 22 | NamedNodeMap::~NamedNodeMap() 23 | { 24 | } 25 | 26 | 27 | } } // namespace Poco::XML 28 | -------------------------------------------------------------------------------- /XML/src/Node.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // Node.cpp 3 | // 4 | // Library: XML 5 | // Package: DOM 6 | // Module: DOM 7 | // 8 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 9 | // and Contributors. 10 | // 11 | // SPDX-License-Identifier: BSL-1.0 12 | // 13 | 14 | 15 | #include "Poco/DOM/Node.h" 16 | 17 | 18 | namespace Poco { 19 | namespace XML { 20 | 21 | 22 | Node::~Node() 23 | { 24 | } 25 | 26 | 27 | } } // namespace Poco::XML 28 | -------------------------------------------------------------------------------- /XML/src/NodeFilter.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // NodeFilter.cpp 3 | // 4 | // Library: XML 5 | // Package: DOM 6 | // Module: NodeFilter 7 | // 8 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 9 | // and Contributors. 10 | // 11 | // SPDX-License-Identifier: BSL-1.0 12 | // 13 | 14 | 15 | #include "Poco/DOM/NodeFilter.h" 16 | 17 | 18 | namespace Poco { 19 | namespace XML { 20 | 21 | 22 | NodeFilter::~NodeFilter() 23 | { 24 | } 25 | 26 | 27 | } } // namespace Poco::XML 28 | -------------------------------------------------------------------------------- /XML/src/NodeList.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // NodeList.cpp 3 | // 4 | // Library: XML 5 | // Package: DOM 6 | // Module: DOM 7 | // 8 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 9 | // and Contributors. 10 | // 11 | // SPDX-License-Identifier: BSL-1.0 12 | // 13 | 14 | 15 | #include "Poco/DOM/NodeList.h" 16 | 17 | 18 | namespace Poco { 19 | namespace XML { 20 | 21 | 22 | NodeList::~NodeList() 23 | { 24 | } 25 | 26 | 27 | } } // namespace Poco::XML 28 | -------------------------------------------------------------------------------- /XML/src/XMLException.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // XMLException.cpp 3 | // 4 | // Library: XML 5 | // Package: XML 6 | // Module: XMLException 7 | // 8 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 9 | // and Contributors. 10 | // 11 | // SPDX-License-Identifier: BSL-1.0 12 | // 13 | 14 | 15 | #include "Poco/XML/XMLException.h" 16 | #include 17 | 18 | 19 | using Poco::RuntimeException; 20 | 21 | 22 | namespace Poco { 23 | namespace XML { 24 | 25 | 26 | POCO_IMPLEMENT_EXCEPTION(XMLException, RuntimeException, "XML Exception") 27 | 28 | 29 | } } // namespace Poco::XML 30 | -------------------------------------------------------------------------------- /XML/src/XMLFilter.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // XMLFilter.cpp 3 | // 4 | // Library: XML 5 | // Package: SAX 6 | // Module: SAXFilters 7 | // 8 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 9 | // and Contributors. 10 | // 11 | // SPDX-License-Identifier: BSL-1.0 12 | // 13 | 14 | 15 | #include "Poco/SAX/XMLFilter.h" 16 | 17 | 18 | namespace Poco { 19 | namespace XML { 20 | 21 | 22 | XMLFilter::~XMLFilter() 23 | { 24 | } 25 | 26 | 27 | } } // namespace Poco::XML 28 | -------------------------------------------------------------------------------- /XML/testsuite/TestSuite.progen: -------------------------------------------------------------------------------- 1 | vc.project.guid = C9ACF028-17A1-44C2-8C09-DFD3BD9E7D45 2 | vc.project.name = TestSuite 3 | vc.project.target = TestSuite 4 | vc.project.type = testsuite 5 | vc.project.pocobase = ..\\.. 6 | vc.project.platforms = Win32 7 | vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md 8 | vc.project.prototype = TestSuite_vs90.vcproj 9 | vc.project.compiler.include = ..\\..\\Foundation\\include 10 | vc.project.linker.dependencies = iphlpapi.lib 11 | -------------------------------------------------------------------------------- /XML/testsuite/src/DOMTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // DOMTestSuite.h 3 | // 4 | // Definition of the DOMTestSuite class. 5 | // 6 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef DOMTestSuite_INCLUDED 14 | #define DOMTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class DOMTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // DOMTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /XML/testsuite/src/Driver.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // Driver.cpp 3 | // 4 | // Console-based test driver for Poco XML. 5 | // 6 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #include "CppUnit/TestRunner.h" 14 | #include "XMLTestSuite.h" 15 | 16 | 17 | CppUnitMain(XMLTestSuite) 18 | -------------------------------------------------------------------------------- /XML/testsuite/src/SAXTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // SAXTestSuite.h 3 | // 4 | // Definition of the SAXTestSuite class. 5 | // 6 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef SAXTestSuite_INCLUDED 14 | #define SAXTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class SAXTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // SAXTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /XML/testsuite/src/WinDriver.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // WinDriver.cpp 3 | // 4 | // Windows test driver for Poco XML. 5 | // 6 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #include "WinTestRunner/WinTestRunner.h" 14 | #include "XMLTestSuite.h" 15 | 16 | 17 | class TestDriver: public CppUnit::WinTestRunnerApp 18 | { 19 | void TestMain() 20 | { 21 | CppUnit::WinTestRunner runner; 22 | runner.addTest(XMLTestSuite::suite()); 23 | runner.run(); 24 | } 25 | }; 26 | 27 | 28 | TestDriver theDriver; 29 | -------------------------------------------------------------------------------- /XML/testsuite/src/XMLTestSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // XMLTestSuite.h 3 | // 4 | // Definition of the XMLTestSuite class. 5 | // 6 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 7 | // and Contributors. 8 | // 9 | // SPDX-License-Identifier: BSL-1.0 10 | // 11 | 12 | 13 | #ifndef XMLTestSuite_INCLUDED 14 | #define XMLTestSuite_INCLUDED 15 | 16 | 17 | #include "CppUnit/TestSuite.h" 18 | 19 | 20 | class XMLTestSuite 21 | { 22 | public: 23 | static CppUnit::Test* suite(); 24 | }; 25 | 26 | 27 | #endif // XMLTestSuite_INCLUDED 28 | -------------------------------------------------------------------------------- /build/config/Alpine: -------------------------------------------------------------------------------- 1 | # 2 | # Alpine 3 | # 4 | # Make settings for Alpine Linux (musl; no header) 5 | # 6 | 7 | include $(POCO_BASE)/build/config/Linux 8 | 9 | SYSFLAGS += -DPOCO_NO_LINUX_IF_PACKET_H 10 | -------------------------------------------------------------------------------- /build/config/AppleTVSimulator: -------------------------------------------------------------------------------- 1 | # 2 | # AppleTVSimulator 3 | # 4 | # Build settings for tvOS 9.0 Simulator 5 | # 6 | 7 | TVOS_SDK = AppleTVSimulator 8 | POCO_TARGET_OSARCH = x86_64 9 | OSFLAGS = -arch $(POCO_TARGET_OSARCH) -isysroot $(TVOS_SDK_BASE) -mtvos-simulator-version-min=$(TVOS_SDK_VERSION_MIN) -fembed-bitcode 10 | 11 | include $(POCO_BASE)/build/config/AppleTV 12 | -------------------------------------------------------------------------------- /build/config/Darwin: -------------------------------------------------------------------------------- 1 | # 2 | # Darwin 3 | # 4 | # Build settings for Mac OS X 10.11 (clang++, libc++, x86_64) 5 | # The build settings defined in this file are compatible 6 | # with XCode C++ projects. 7 | # 8 | 9 | include $(POCO_BASE)/build/config/Darwin-clang-libc++ 10 | -------------------------------------------------------------------------------- /build/config/Darwin-clang: -------------------------------------------------------------------------------- 1 | # 2 | # Darwin-clang 3 | # 4 | # Build settings for Mac OS X 10.11 (clang, libstdc++, x86_64) 5 | # 6 | # NOTE: This build configuration will build 64-bit binaries. 7 | # Use the Darwin32-clang build configuration to build 32-bit binaries. 8 | # 9 | 10 | include $(POCO_BASE)/build/config/Darwin-clang-libc++ 11 | -------------------------------------------------------------------------------- /build/config/Darwin32: -------------------------------------------------------------------------------- 1 | # 2 | # Darwin32 3 | # 4 | # Build settings for Mac OS X 10.9 (clang, libc++, i386) 5 | # The build settings defined in this file are compatible 6 | # with XCode C++ projects. 7 | # 8 | 9 | ARCHFLAGS = -arch i386 10 | POCO_TARGET_OSARCH = i386 11 | 12 | include $(POCO_BASE)/build/config/Darwin-clang-libc++ 13 | -------------------------------------------------------------------------------- /build/config/Darwin32-clang: -------------------------------------------------------------------------------- 1 | # 2 | # Darwin32-clang 3 | # 4 | # Build settings for Mac OS X 10.7 (clang, libstdc++, i386) 5 | # 6 | 7 | ARCHFLAGS = -arch i386 8 | POCO_TARGET_OSARCH = i386 9 | 10 | include $(POCO_BASE)/build/config/Darwin-clang 11 | -------------------------------------------------------------------------------- /build/config/Darwin32-clang-libc++: -------------------------------------------------------------------------------- 1 | # 2 | # Darwin32-clang-libc++ 3 | # 4 | # Build settings for Mac OS X 10.9 (clang, libc++, i386) 5 | # The build settings defined in this file are compatible 6 | # with XCode C++ projects. 7 | # 8 | 9 | ARCHFLAGS = -arch i386 10 | POCO_TARGET_OSARCH = i386 11 | 12 | include $(POCO_BASE)/build/config/Darwin-clang-libc++ 13 | -------------------------------------------------------------------------------- /build/config/Darwin32-gcc: -------------------------------------------------------------------------------- 1 | # 2 | # $Id: //poco/1.7/build/config/Darwin32-gcc#2 $ 3 | # 4 | # Darwin32 5 | # 6 | # Build settings for Mac OS X 10.5/10.6 (GCC 4.0.1), 32-bits 7 | # The build settings defined in this file are compatible 8 | # with XCode 3.1 C++ projects. 9 | # 10 | 11 | ARCHFLAGS = -arch i386 12 | POCO_TARGET_OSARCH = i386 13 | 14 | include $(POCO_BASE)/build/config/Darwin 15 | -------------------------------------------------------------------------------- /build/config/Darwin64: -------------------------------------------------------------------------------- 1 | # 2 | # Darwin64 3 | # 4 | # Build settings for Mac OS X 10.11 and later (clang, libc++, x86_64/arm64) 5 | # The build settings defined in this file are compatible 6 | # with XCode C++ projects. 7 | # 8 | 9 | include $(POCO_BASE)/build/config/Darwin-clang-libc++ 10 | -------------------------------------------------------------------------------- /build/config/Darwin64-clang: -------------------------------------------------------------------------------- 1 | # 2 | # Darwin64-clang 3 | # 4 | # Build settings for Mac OS X 10.11 and later (clang, libc++, x86_64/arm64) 5 | # The build settings defined in this file are compatible 6 | # with XCode C++ projects. 7 | # 8 | 9 | include $(POCO_BASE)/build/config/Darwin-clang 10 | -------------------------------------------------------------------------------- /build/config/Darwin64-clang-libc++: -------------------------------------------------------------------------------- 1 | # 2 | # Darwin64-clang-libc++ 3 | # 4 | # Build settings for Mac OS X 10.11 and later (clang, libc++, x86_64/arm64) 5 | # The build settings defined in this file are compatible 6 | # with XCode C++ projects. 7 | # 8 | 9 | include $(POCO_BASE)/build/config/Darwin-clang-libc++ 10 | -------------------------------------------------------------------------------- /build/config/Darwin64-gcc: -------------------------------------------------------------------------------- 1 | # 2 | # $Id: //poco/1.7/build/config/Darwin64-gcc#2 $ 3 | # 4 | # Darwin64 5 | # 6 | # Build settings for Mac OS X 10.5/10.6 (GCC 4.0.1), 64-bits 7 | # The build settings defined in this file are compatible 8 | # with XCode 3.1 C++ projects. 9 | # 10 | 11 | ARCHFLAGS = -arch x86_64 12 | POCO_TARGET_OSARCH = x86_64 13 | 14 | include $(POCO_BASE)/build/config/Darwin 15 | -------------------------------------------------------------------------------- /build/config/SunOS: -------------------------------------------------------------------------------- 1 | # 2 | # SunOS 3 | # 4 | # Build settings for SunOS/Sun Studio C++ 5 | # 6 | 7 | include $(POCO_BASE)/build/config/SunOS-SunStudio 8 | -------------------------------------------------------------------------------- /build/config/WatchSimulator: -------------------------------------------------------------------------------- 1 | # 2 | # WatchSimulator 3 | # 4 | # Build settings for WatchOS 2.0 Simulator 5 | # 6 | 7 | WATCHOS_SDK = WatchSimulator 8 | POCO_TARGET_OSARCH = i386 9 | OSFLAGS = -arch $(POCO_TARGET_OSARCH) -isysroot $(WATCHOS_SDK_BASE) -mwatchos-simulator-version-min=$(WATCHOS_SDK_VERSION_MIN) -fembed-bitcode 10 | 11 | include $(POCO_BASE)/build/config/WatchOS 12 | -------------------------------------------------------------------------------- /build/config/iPhone-clang: -------------------------------------------------------------------------------- 1 | # 2 | # iPhone-clang 3 | # 4 | # Build settings for iPhone OS, using Apple's iPhone SDK 5 | # 6 | 7 | include $(POCO_BASE)/build/config/iPhone 8 | -------------------------------------------------------------------------------- /build/config/iPhone-clang-libc++: -------------------------------------------------------------------------------- 1 | # 2 | # iPhone-clang-libc++ 3 | # 4 | # Build settings for iPhone OS, using Apple's iPhone SDK 5 | # 6 | 7 | include $(POCO_BASE)/build/config/iPhone 8 | -------------------------------------------------------------------------------- /build/config/iPhoneSimulator: -------------------------------------------------------------------------------- 1 | # 2 | # iPhoneSimulator 3 | # 4 | # Build settings for iPhone Simulator, using Apple's iPhone SDK 5 | # 6 | 7 | IPHONE_SDK = iPhoneSimulator 8 | POCO_TARGET_OSARCH = i686 9 | OSFLAGS = -arch $(POCO_TARGET_OSARCH) -isysroot $(IPHONE_SDK_BASE) -miphoneos-version-min=$(IPHONE_SDK_VERSION_MIN) 10 | 11 | include $(POCO_BASE)/build/config/iPhone 12 | -------------------------------------------------------------------------------- /build/config/iPhoneSimulator-clang: -------------------------------------------------------------------------------- 1 | # 2 | # iPhoneSimulator-clang 3 | # 4 | # Build settings for iPhone Simulator, using Apple's iPhone SDK 5 | # 6 | 7 | IPHONE_SDK = iPhoneSimulator 8 | POCO_TARGET_OSARCH = i686 9 | OSFLAGS = -arch $(POCO_TARGET_OSARCH) -isysroot $(IPHONE_SDK_BASE) -miphoneos-version-min=$(IPHONE_SDK_VERSION_MIN) 10 | 11 | include $(POCO_BASE)/build/config/iPhone-clang 12 | -------------------------------------------------------------------------------- /build/config/iPhoneSimulator-clang-libc++: -------------------------------------------------------------------------------- 1 | # 2 | # iPhoneSimulator-clang-libc++ 3 | # 4 | # Build settings for iPhone Simulator, using Apple's iPhone SDK 5 | # 6 | 7 | IPHONE_SDK = iPhoneSimulator 8 | POCO_TARGET_OSARCH = i686 9 | OSFLAGS = -arch $(POCO_TARGET_OSARCH) -isysroot $(IPHONE_SDK_BASE) -miphoneos-version-min=$(IPHONE_SDK_VERSION_MIN) 10 | 11 | include $(POCO_BASE)/build/config/iPhone-clang-libc++ 12 | -------------------------------------------------------------------------------- /build/script/makedepend.SunCC: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | # 3 | # makedepend.SunCC 4 | # 5 | # Create dependency file, Sun Forte C++ version 6 | # Usage: makedepend.SunCC source target dir1 dir2 dir3 dir4 flags... 7 | # 8 | 9 | source=$1 10 | shift 11 | target=$1 12 | shift 13 | dir1=$1 14 | shift 15 | dir2=$1 16 | shift 17 | dir3=$1 18 | shift 19 | dir4=$1 20 | shift 21 | 22 | CC -xM1 $@ $source | sed "s#\(.*\.o$\)#$dir1/\1 $dir2/\1 $dir3/\1 $dir4/\1#" >$target 23 | -------------------------------------------------------------------------------- /build/script/makedepend.aCC: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | # 3 | # makedepend.aCC 4 | # 5 | # Create dependency file, HP ANSI C++ version 6 | # Usage: makedepend.gcc source target dir1 dir2 dir3 dir4 flags... 7 | # 8 | 9 | source=$1 10 | shift 11 | target=$1 12 | shift 13 | dir1=$1 14 | shift 15 | dir2=$1 16 | shift 17 | dir3=$1 18 | shift 19 | dir4=$1 20 | shift 21 | 22 | tmpfile=`basename $target` 23 | aCC -E +maked $@ $source >/dev/null 24 | sed "s#\(.*\.o$\)#$dir1/\1 $dir2/\1 $dir3/\1 $dir4/\1#" <$tmpfile >$target 25 | rm $tmpfile 26 | -------------------------------------------------------------------------------- /build/script/makedepend.clang: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | # 3 | # makedepend.clang 4 | # 5 | # Create dependency file, Clang version 6 | # Usage: makedepend.clang source target dir1 dir2 dir3 dir4 flags... 7 | # 8 | 9 | source=$1 10 | shift 11 | target=$1 12 | shift 13 | dir1=$1 14 | shift 15 | dir2=$1 16 | shift 17 | dir3=$1 18 | shift 19 | dir4=$1 20 | shift 21 | 22 | ext=${source##*.} 23 | if [ "$ext" = "c" ] ; then 24 | CLANG=clang 25 | else 26 | CLANG=clang++ 27 | fi 28 | 29 | $CLANG -MM $@ $source | sed "s#\(.*\.o\):#$dir1/\1 $dir2/\1 $dir3/\1 $dir4/\1:#" >$target 30 | -------------------------------------------------------------------------------- /build/script/makedepend.cxx: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | # 3 | # makedepend.cxx 4 | # 5 | # Create dependency file, Compaq C++ version 6 | # Usage: makedepend.gcc source target dir1 dir2 dir3 dir4 flags... 7 | # 8 | 9 | source=$1 10 | shift 11 | target=$1 12 | shift 13 | dir1=$1 14 | shift 15 | dir2=$1 16 | shift 17 | dir3=$1 18 | shift 19 | dir4=$1 20 | shift 21 | 22 | cxx -M $@ $source | sed "s#\(.*\.o$\)#$dir1/\1 $dir2/\1 $dir3/\1 $dir4/\1#" >$target 23 | -------------------------------------------------------------------------------- /build/script/makedepend.gcc: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | # 3 | # makedepend.gcc 4 | # 5 | # Create dependency file, GCC version 6 | # Usage: makedepend.gcc source target dir1 dir2 dir3 dir4 flags... 7 | # 8 | 9 | source=$1 10 | shift 11 | target=$1 12 | shift 13 | dir1=$1 14 | shift 15 | dir2=$1 16 | shift 17 | dir3=$1 18 | shift 19 | dir4=$1 20 | shift 21 | 22 | $CC -MM $@ $source | sed "s#\(.*\.o\):#$dir1/\1 $dir2/\1 $dir3/\1 $dir4/\1:#" >$target 23 | -------------------------------------------------------------------------------- /build/script/makedepend.qcc: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | # 3 | # makedepend.gcc 4 | # 5 | # Create dependency file, QNX Neutrino QCC version 6 | # Usage: makedepend.qcc source target dir1 dir2 dir3 dir4 flags... 7 | # 8 | source=$1 9 | shift 10 | target=$1 11 | shift 12 | dir1=$1 13 | shift 14 | dir2=$1 15 | shift 16 | dir3=$1 17 | shift 18 | dir4=$1 19 | shift 20 | 21 | $CC -E -Wp,-MM $@ $source | sed "s#\(.*\.o$\)#$dir1/\1 $dir2/\1 $dir3/\1 $dir4/\1#" >$target 22 | -------------------------------------------------------------------------------- /build/script/makeldpath: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | # 3 | # makeldpath 4 | # 5 | # Create a LD_LIBRARY_PATH for all project libraries. 6 | # 7 | 8 | if [ "$POCO_BASE" == "" ] ; then 9 | echo $0": POCO_BASE is not set." 10 | exit 1 11 | fi 12 | 13 | projectList=`cat ${POCO_BASE}/components` 14 | 15 | OSNAME=`uname` 16 | OSARCH=`uname -m | tr " /" "_-"` 17 | 18 | for proj in $projectList ; 19 | do 20 | path=${POCO_BASE}/${proj}/lib/${OSNAME}/${OSARCH} 21 | echo $path 22 | if [ -d $path ] ; then 23 | echo -n ":"$path 24 | fi 25 | done 26 | -------------------------------------------------------------------------------- /build/script/projname: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | # 3 | # projname 4 | # 5 | # Usage: projname PROJECT_BASE 6 | # 7 | # Extract the project name from the current path 8 | # NOTE: the cd $PROJECT_BASE is necessary to resolve symbolic links, 9 | # ditto is the kinda strange sh -c pwd 10 | # 11 | 12 | PROJECT_BASE=$1 13 | cdir=`sh -c pwd` 14 | cd $PROJECT_BASE 15 | projbase=`sh -c pwd` 16 | cd "$cdir" 17 | sh -c pwd | sed "s:^$projbase::" | sed "s:^/::" 18 | -------------------------------------------------------------------------------- /build/script/shlibln: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | # 3 | # shlibln 4 | # 5 | # Create a symbolic link for a shared library 6 | # 7 | 8 | if [ $# -ne 2 ] ; then 9 | echo "usage: $0:t file link" 10 | exit 1 11 | fi 12 | 13 | source="$1" 14 | target="$2" 15 | 16 | sourcedir=`dirname "$source"` 17 | targetdir=`dirname "$target"` 18 | 19 | if [ "$sourcedir" = "$targetdir" ] ; then 20 | source=`basename $source` 21 | fi 22 | 23 | 24 | if [ "$1" != "$2" ] ; then 25 | ln -sf "$source" "$target" 26 | fi 27 | -------------------------------------------------------------------------------- /cmake/PocoConfigVersion.cmake.in: -------------------------------------------------------------------------------- 1 | set(PACKAGE_VERSION @APPLICATION_VERSION@) 2 | 3 | # Check whether the requested PACKAGE_FIND_VERSION is compatible 4 | if("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}") 5 | set(PACKAGE_VERSION_COMPATIBLE FALSE) 6 | else() 7 | set(PACKAGE_VERSION_COMPATIBLE TRUE) 8 | if ("${PACKAGE_VERSION}" VERSION_EQUAL "${PACKAGE_FIND_VERSION}") 9 | set(PACKAGE_VERSION_EXACT TRUE) 10 | endif() 11 | endif() 12 | -------------------------------------------------------------------------------- /cmake/test_compiler.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() 5 | { 6 | std::string str = "Try to compile"; 7 | std::cout << str << '\n'; 8 | return 0; 9 | } 10 | -------------------------------------------------------------------------------- /components: -------------------------------------------------------------------------------- 1 | CppUnit 2 | Foundation 3 | XML 4 | JSON 5 | Util 6 | Net 7 | Crypto 8 | NetSSL_OpenSSL 9 | WebTunnel 10 | WebTunnel/WebTunnelAgent 11 | WebTunnel/WebTunnelClient 12 | WebTunnel/WebTunnelSSH 13 | WebTunnel/WebTunnelVNC 14 | -------------------------------------------------------------------------------- /doc/CppCodingStyleGuide.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/my-devices/sdk/bdb9ca712954ab3649271ca7914fbf3b41dc39e6/doc/CppCodingStyleGuide.doc -------------------------------------------------------------------------------- /doc/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/my-devices/sdk/bdb9ca712954ab3649271ca7914fbf3b41dc39e6/doc/images/logo.png -------------------------------------------------------------------------------- /doc/images/overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/my-devices/sdk/bdb9ca712954ab3649271ca7914fbf3b41dc39e6/doc/images/overview.png -------------------------------------------------------------------------------- /libversion: -------------------------------------------------------------------------------- 1 | 88 --------------------------------------------------------------------------------