From beb08eb751fa8e1f72042f263316ab5e5ddb596d Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Wed, 10 Nov 2021 00:54:13 -0500 Subject: New upstream version 2.4.0+dfsg. --- src/lib/CMakeLists.txt | 4 +- src/lib/arch/Arch.cpp | 4 +- src/lib/arch/Arch.h | 4 +- src/lib/arch/ArchConsoleStd.cpp | 6 +- src/lib/arch/ArchConsoleStd.h | 4 +- src/lib/arch/ArchDaemonNone.cpp | 4 +- src/lib/arch/ArchDaemonNone.h | 4 +- src/lib/arch/CMakeLists.txt | 4 +- src/lib/arch/IArchConsole.h | 4 +- src/lib/arch/IArchDaemon.h | 8 +- src/lib/arch/IArchLog.h | 4 +- src/lib/arch/IArchMultithread.h | 30 +- src/lib/arch/IArchNetwork.h | 12 +- src/lib/arch/IArchSleep.h | 4 +- src/lib/arch/IArchString.cpp | 4 +- src/lib/arch/IArchString.h | 14 +- src/lib/arch/IArchSystem.h | 4 +- src/lib/arch/IArchTaskBar.h | 4 +- src/lib/arch/IArchTaskBarReceiver.h | 4 +- src/lib/arch/IArchTime.h | 4 +- src/lib/arch/XArch.h | 6 +- src/lib/arch/multibyte.h | 4 +- src/lib/arch/unix/ArchConsoleUnix.cpp | 4 +- src/lib/arch/unix/ArchConsoleUnix.h | 4 +- src/lib/arch/unix/ArchDaemonUnix.cpp | 20 +- src/lib/arch/unix/ArchDaemonUnix.h | 4 +- src/lib/arch/unix/ArchInternetUnix.cpp | 8 +- src/lib/arch/unix/ArchLogUnix.cpp | 4 +- src/lib/arch/unix/ArchLogUnix.h | 4 +- src/lib/arch/unix/ArchMultithreadPosix.cpp | 35 +- src/lib/arch/unix/ArchMultithreadPosix.h | 7 +- src/lib/arch/unix/ArchNetworkBSD.cpp | 4 +- src/lib/arch/unix/ArchNetworkBSD.h | 4 +- src/lib/arch/unix/ArchSleepUnix.cpp | 4 +- src/lib/arch/unix/ArchSleepUnix.h | 4 +- src/lib/arch/unix/ArchStringUnix.cpp | 5 +- src/lib/arch/unix/ArchStringUnix.h | 4 +- src/lib/arch/unix/ArchSystemUnix.cpp | 4 +- src/lib/arch/unix/ArchSystemUnix.h | 4 +- src/lib/arch/unix/ArchTaskBarXWindows.cpp | 4 +- src/lib/arch/unix/ArchTaskBarXWindows.h | 4 +- src/lib/arch/unix/ArchTimeUnix.cpp | 4 +- src/lib/arch/unix/ArchTimeUnix.h | 4 +- src/lib/arch/unix/XArchUnix.cpp | 4 +- src/lib/arch/unix/XArchUnix.h | 4 +- src/lib/arch/vsnprintf.h | 67 ---- src/lib/arch/win32/ArchConsoleWindows.cpp | 4 +- src/lib/arch/win32/ArchConsoleWindows.h | 4 +- src/lib/arch/win32/ArchDaemonWindows.cpp | 10 +- src/lib/arch/win32/ArchDaemonWindows.h | 4 +- src/lib/arch/win32/ArchInternetWindows.cpp | 8 +- src/lib/arch/win32/ArchLogWindows.cpp | 4 +- src/lib/arch/win32/ArchLogWindows.h | 4 +- src/lib/arch/win32/ArchMiscWindows.cpp | 22 +- src/lib/arch/win32/ArchMiscWindows.h | 6 +- src/lib/arch/win32/ArchMultithreadWindows.cpp | 33 +- src/lib/arch/win32/ArchMultithreadWindows.h | 7 +- src/lib/arch/win32/ArchNetworkWinsock.cpp | 4 +- src/lib/arch/win32/ArchNetworkWinsock.h | 4 +- src/lib/arch/win32/ArchSleepWindows.cpp | 6 +- src/lib/arch/win32/ArchSleepWindows.h | 4 +- src/lib/arch/win32/ArchStringWindows.cpp | 9 +- src/lib/arch/win32/ArchStringWindows.h | 4 +- src/lib/arch/win32/ArchSystemWindows.cpp | 4 +- src/lib/arch/win32/ArchSystemWindows.h | 4 +- src/lib/arch/win32/ArchTaskBarWindows.cpp | 15 +- src/lib/arch/win32/ArchTaskBarWindows.h | 7 +- src/lib/arch/win32/ArchTimeWindows.cpp | 4 +- src/lib/arch/win32/ArchTimeWindows.h | 4 +- src/lib/arch/win32/XArchWindows.cpp | 80 ++--- src/lib/arch/win32/XArchWindows.h | 4 +- src/lib/barrier/App.cpp | 47 +-- src/lib/barrier/App.h | 24 +- src/lib/barrier/AppUtil.cpp | 8 +- src/lib/barrier/AppUtil.h | 8 +- src/lib/barrier/ArgParser.cpp | 67 +++- src/lib/barrier/ArgParser.h | 20 +- src/lib/barrier/ArgsBase.cpp | 9 +- src/lib/barrier/ArgsBase.h | 10 +- src/lib/barrier/BarrierType.h | 26 ++ src/lib/barrier/CMakeLists.txt | 4 +- src/lib/barrier/Chunk.cpp | 4 +- src/lib/barrier/Chunk.h | 6 +- src/lib/barrier/ClientApp.cpp | 58 ++-- src/lib/barrier/ClientApp.h | 7 +- src/lib/barrier/ClientArgs.cpp | 4 +- src/lib/barrier/ClientArgs.h | 4 +- src/lib/barrier/ClientTaskBarReceiver.cpp | 4 +- src/lib/barrier/ClientTaskBarReceiver.h | 4 +- src/lib/barrier/Clipboard.cpp | 4 +- src/lib/barrier/Clipboard.h | 4 +- src/lib/barrier/ClipboardChunk.cpp | 8 +- src/lib/barrier/ClipboardChunk.h | 4 +- src/lib/barrier/DragInformation.cpp | 16 +- src/lib/barrier/DragInformation.h | 8 +- src/lib/barrier/DropHelper.cpp | 11 +- src/lib/barrier/DropHelper.h | 4 +- src/lib/barrier/FileChunk.cpp | 4 +- src/lib/barrier/FileChunk.h | 4 +- src/lib/barrier/IApp.h | 4 +- src/lib/barrier/IAppUtil.h | 6 +- src/lib/barrier/IClient.h | 4 +- src/lib/barrier/IClipboard.cpp | 8 +- src/lib/barrier/IClipboard.h | 4 +- src/lib/barrier/IKeyState.cpp | 4 +- src/lib/barrier/IKeyState.h | 8 +- src/lib/barrier/INode.h | 6 +- src/lib/barrier/IPlatformScreen.cpp | 4 +- src/lib/barrier/IPlatformScreen.h | 7 +- src/lib/barrier/IPrimaryScreen.cpp | 4 +- src/lib/barrier/IPrimaryScreen.h | 4 +- src/lib/barrier/IScreen.h | 6 +- src/lib/barrier/IScreenSaver.h | 6 +- src/lib/barrier/ISecondaryScreen.h | 4 +- src/lib/barrier/KeyMap.cpp | 14 +- src/lib/barrier/KeyMap.h | 12 +- src/lib/barrier/KeyState.cpp | 10 +- src/lib/barrier/KeyState.h | 8 +- src/lib/barrier/PacketStreamFilter.cpp | 26 +- src/lib/barrier/PacketStreamFilter.h | 10 +- src/lib/barrier/PlatformScreen.cpp | 4 +- src/lib/barrier/PlatformScreen.h | 1 + src/lib/barrier/PortableTaskBarReceiver.cpp | 6 +- src/lib/barrier/PortableTaskBarReceiver.h | 4 +- src/lib/barrier/ProtocolUtil.cpp | 18 +- src/lib/barrier/ProtocolUtil.h | 10 +- src/lib/barrier/Screen.cpp | 12 +- src/lib/barrier/Screen.h | 14 +- src/lib/barrier/ServerApp.cpp | 92 +++--- src/lib/barrier/ServerApp.h | 8 +- src/lib/barrier/ServerArgs.h | 1 + src/lib/barrier/ServerTaskBarReceiver.cpp | 6 +- src/lib/barrier/ServerTaskBarReceiver.h | 4 +- src/lib/barrier/StreamChunker.cpp | 27 +- src/lib/barrier/StreamChunker.h | 11 +- src/lib/barrier/XBarrier.cpp | 6 +- src/lib/barrier/XBarrier.h | 10 +- src/lib/barrier/XScreen.cpp | 4 +- src/lib/barrier/XScreen.h | 4 +- src/lib/barrier/clipboard_types.h | 4 +- src/lib/barrier/key_types.cpp | 14 +- src/lib/barrier/key_types.h | 17 +- src/lib/barrier/mouse_types.h | 4 +- src/lib/barrier/option_types.h | 4 +- src/lib/barrier/protocol_types.cpp | 4 +- src/lib/barrier/protocol_types.h | 16 +- src/lib/barrier/unix/AppUtilUnix.cpp | 4 +- src/lib/barrier/unix/AppUtilUnix.h | 6 +- src/lib/barrier/win32/AppUtilWindows.cpp | 28 +- src/lib/barrier/win32/AppUtilWindows.h | 6 +- src/lib/barrier/win32/DaemonApp.cpp | 25 +- src/lib/barrier/win32/DaemonApp.h | 6 +- src/lib/base/CMakeLists.txt | 4 +- src/lib/base/ELevel.h | 4 +- src/lib/base/Event.cpp | 4 +- src/lib/base/Event.h | 8 +- src/lib/base/EventQueue.cpp | 16 +- src/lib/base/EventQueue.h | 6 +- src/lib/base/EventTypes.cpp | 5 +- src/lib/base/EventTypes.h | 44 +-- src/lib/base/FunctionEventJob.cpp | 4 +- src/lib/base/FunctionEventJob.h | 4 +- src/lib/base/FunctionJob.cpp | 43 --- src/lib/base/FunctionJob.h | 39 --- src/lib/base/IEventJob.h | 4 +- src/lib/base/IEventQueue.h | 8 +- src/lib/base/IEventQueueBuffer.h | 6 +- src/lib/base/IJob.h | 4 +- src/lib/base/ILogOutputter.h | 4 +- src/lib/base/Log.cpp | 10 +- src/lib/base/Log.h | 12 +- src/lib/base/PriorityQueue.h | 4 +- src/lib/base/SimpleEventQueueBuffer.cpp | 4 +- src/lib/base/SimpleEventQueueBuffer.h | 6 +- src/lib/base/Stopwatch.cpp | 4 +- src/lib/base/Stopwatch.h | 6 +- src/lib/base/String.cpp | 78 ++++- src/lib/base/String.h | 9 +- src/lib/base/TMethodEventJob.h | 4 +- src/lib/base/TMethodJob.h | 68 ---- src/lib/base/Unicode.cpp | 4 +- src/lib/base/Unicode.h | 4 +- src/lib/base/XBase.cpp | 4 +- src/lib/base/XBase.h | 4 +- src/lib/base/finally.h | 61 ++++ src/lib/base/log_outputters.cpp | 11 +- src/lib/base/log_outputters.h | 4 +- src/lib/client/CMakeLists.txt | 4 +- src/lib/client/Client.cpp | 46 ++- src/lib/client/Client.h | 16 +- src/lib/client/ServerProxy.cpp | 37 ++- src/lib/client/ServerProxy.h | 8 +- src/lib/common/CMakeLists.txt | 4 +- src/lib/common/DataDirectories.h | 37 ++- src/lib/common/DataDirectories_static.cpp | 41 ++- src/lib/common/IInterface.h | 4 +- src/lib/common/MacOSXPrecomp.h | 23 -- src/lib/common/PathUtilities.cpp | 75 ----- src/lib/common/PathUtilities.h | 31 -- src/lib/common/Version.cpp | 4 +- src/lib/common/Version.h | 4 +- src/lib/common/basic_types.h | 67 +--- src/lib/common/common.h | 24 +- src/lib/common/stdbitset.h | 4 +- src/lib/common/stddeque.h | 4 +- src/lib/common/stdfstream.h | 4 +- src/lib/common/stdistream.h | 4 +- src/lib/common/stdlist.h | 4 +- src/lib/common/stdmap.h | 4 +- src/lib/common/stdostream.h | 4 +- src/lib/common/stdpost.h | 4 +- src/lib/common/stdpre.h | 4 +- src/lib/common/stdset.h | 4 +- src/lib/common/stdsstream.h | 4 +- src/lib/common/stdstring.h | 4 +- src/lib/common/stdvector.h | 4 +- src/lib/common/unix/DataDirectories.cpp | 38 +-- src/lib/common/win32/DataDirectories.cpp | 36 +-- src/lib/common/win32/encoding_utilities.cpp | 37 +++ src/lib/common/win32/encoding_utilities.h | 28 ++ src/lib/io/CMakeLists.txt | 4 +- src/lib/io/IStream.h | 4 +- src/lib/io/StreamBuffer.cpp | 6 +- src/lib/io/StreamBuffer.h | 4 +- src/lib/io/StreamFilter.cpp | 4 +- src/lib/io/StreamFilter.h | 4 +- src/lib/io/XIO.cpp | 4 +- src/lib/io/XIO.h | 4 +- src/lib/io/filesystem.cpp | 71 ++++ src/lib/io/filesystem.h | 41 +++ src/lib/ipc/CMakeLists.txt | 4 +- src/lib/ipc/Ipc.h | 4 +- src/lib/ipc/IpcClient.cpp | 4 +- src/lib/ipc/IpcClient.h | 6 +- src/lib/ipc/IpcClientProxy.cpp | 8 +- src/lib/ipc/IpcClientProxy.h | 6 +- src/lib/ipc/IpcLogOutputter.cpp | 11 +- src/lib/ipc/IpcLogOutputter.h | 16 +- src/lib/ipc/IpcMessage.cpp | 4 +- src/lib/ipc/IpcMessage.h | 4 +- src/lib/ipc/IpcServer.cpp | 4 +- src/lib/ipc/IpcServer.h | 8 +- src/lib/ipc/IpcServerProxy.cpp | 12 +- src/lib/ipc/IpcServerProxy.h | 4 +- src/lib/mt/CMakeLists.txt | 4 +- src/lib/mt/CondVar.cpp | 6 +- src/lib/mt/CondVar.h | 6 +- src/lib/mt/Lock.cpp | 4 +- src/lib/mt/Lock.h | 4 +- src/lib/mt/Mutex.cpp | 4 +- src/lib/mt/Mutex.h | 4 +- src/lib/mt/Thread.cpp | 46 +-- src/lib/mt/Thread.h | 35 +- src/lib/mt/XMT.cpp | 4 +- src/lib/mt/XMT.h | 4 +- src/lib/mt/XThread.h | 14 +- src/lib/net/CMakeLists.txt | 4 +- src/lib/net/ConnectionSecurityLevel.h | 27 ++ src/lib/net/FingerprintData.cpp | 52 +++ src/lib/net/FingerprintData.h | 46 +++ src/lib/net/FingerprintDatabase.cpp | 135 ++++++++ src/lib/net/FingerprintDatabase.h | 53 +++ src/lib/net/IDataSocket.cpp | 4 +- src/lib/net/IDataSocket.h | 4 +- src/lib/net/IListenSocket.h | 6 +- src/lib/net/ISocket.h | 4 +- src/lib/net/ISocketFactory.h | 15 +- src/lib/net/ISocketMultiplexerJob.h | 4 +- src/lib/net/NetworkAddress.cpp | 4 +- src/lib/net/NetworkAddress.h | 6 +- src/lib/net/SecureListenSocket.cpp | 36 +-- src/lib/net/SecureListenSocket.h | 15 +- src/lib/net/SecureSocket.cpp | 356 +++++++++++---------- src/lib/net/SecureSocket.h | 62 ++-- src/lib/net/SecureUtils.cpp | 312 ++++++++++++++++++ src/lib/net/SecureUtils.h | 43 +++ src/lib/net/SocketMultiplexer.cpp | 17 +- src/lib/net/SocketMultiplexer.h | 6 +- src/lib/net/TCPListenSocket.cpp | 16 +- src/lib/net/TCPListenSocket.h | 4 +- src/lib/net/TCPSocket.cpp | 42 +-- src/lib/net/TCPSocket.h | 10 +- src/lib/net/TCPSocketFactory.cpp | 21 +- src/lib/net/TCPSocketFactory.h | 15 +- src/lib/net/TSocketMultiplexerMethodJob.h | 94 ++---- src/lib/net/XSocket.cpp | 6 +- src/lib/net/XSocket.h | 4 +- src/lib/platform/CMakeLists.txt | 4 +- src/lib/platform/IMSWindowsClipboardFacade.h | 6 +- src/lib/platform/IOSXKeyResource.cpp | 6 +- src/lib/platform/IOSXKeyResource.h | 8 +- src/lib/platform/IXWindowsImpl.h | 58 ++-- src/lib/platform/ImmuneKeysReader.cpp | 2 +- src/lib/platform/ImmuneKeysReader.h | 4 - src/lib/platform/MSWindowsClipboard.cpp | 6 +- src/lib/platform/MSWindowsClipboard.h | 4 +- .../MSWindowsClipboardAnyTextConverter.cpp | 4 +- .../platform/MSWindowsClipboardAnyTextConverter.h | 4 +- .../platform/MSWindowsClipboardBitmapConverter.cpp | 4 +- .../platform/MSWindowsClipboardBitmapConverter.h | 4 +- src/lib/platform/MSWindowsClipboardFacade.cpp | 4 +- src/lib/platform/MSWindowsClipboardFacade.h | 4 +- .../platform/MSWindowsClipboardHTMLConverter.cpp | 4 +- src/lib/platform/MSWindowsClipboardHTMLConverter.h | 4 +- .../platform/MSWindowsClipboardTextConverter.cpp | 4 +- src/lib/platform/MSWindowsClipboardTextConverter.h | 4 +- .../platform/MSWindowsClipboardUTF16Converter.cpp | 4 +- .../platform/MSWindowsClipboardUTF16Converter.h | 4 +- src/lib/platform/MSWindowsDebugOutputter.cpp | 4 +- src/lib/platform/MSWindowsDebugOutputter.h | 6 +- src/lib/platform/MSWindowsDesks.cpp | 25 +- src/lib/platform/MSWindowsDesks.h | 13 +- src/lib/platform/MSWindowsDropTarget.cpp | 10 +- src/lib/platform/MSWindowsDropTarget.h | 8 +- src/lib/platform/MSWindowsEventQueueBuffer.cpp | 4 +- src/lib/platform/MSWindowsEventQueueBuffer.h | 4 +- src/lib/platform/MSWindowsHook.cpp | 66 ++-- src/lib/platform/MSWindowsHook.h | 4 +- src/lib/platform/MSWindowsHookResource.cpp | 2 +- src/lib/platform/MSWindowsHookResource.h | 2 +- src/lib/platform/MSWindowsKeyState.cpp | 105 +++--- src/lib/platform/MSWindowsKeyState.h | 6 +- src/lib/platform/MSWindowsScreen.cpp | 92 +++--- src/lib/platform/MSWindowsScreen.h | 19 +- src/lib/platform/MSWindowsScreenSaver.cpp | 17 +- src/lib/platform/MSWindowsScreenSaver.h | 8 +- src/lib/platform/MSWindowsSession.cpp | 14 +- src/lib/platform/MSWindowsSession.h | 6 +- src/lib/platform/MSWindowsUtil.cpp | 4 +- src/lib/platform/MSWindowsUtil.h | 4 +- src/lib/platform/MSWindowsWatchdog.cpp | 60 ++-- src/lib/platform/MSWindowsWatchdog.h | 8 +- src/lib/platform/OSXClipboard.cpp | 14 +- src/lib/platform/OSXClipboard.h | 4 +- src/lib/platform/OSXClipboardAnyTextConverter.cpp | 4 +- src/lib/platform/OSXClipboardAnyTextConverter.h | 4 +- src/lib/platform/OSXClipboardHTMLConverter.cpp | 2 +- src/lib/platform/OSXClipboardTextConverter.cpp | 12 +- src/lib/platform/OSXClipboardTextConverter.h | 4 +- src/lib/platform/OSXClipboardUTF16Converter.cpp | 4 +- src/lib/platform/OSXClipboardUTF16Converter.h | 4 +- src/lib/platform/OSXDragSimulator.h | 2 +- src/lib/platform/OSXDragSimulator.m | 102 ------ src/lib/platform/OSXDragSimulator.mm | 102 ++++++ src/lib/platform/OSXDragView.m | 177 ---------- src/lib/platform/OSXDragView.mm | 177 ++++++++++ src/lib/platform/OSXEventQueueBuffer.cpp | 18 +- src/lib/platform/OSXEventQueueBuffer.h | 4 +- src/lib/platform/OSXKeyState.cpp | 74 +++-- src/lib/platform/OSXKeyState.h | 8 +- src/lib/platform/OSXMediaKeySimulator.m | 92 ------ src/lib/platform/OSXMediaKeySimulator.mm | 92 ++++++ src/lib/platform/OSXMediaKeySupport.m | 154 --------- src/lib/platform/OSXMediaKeySupport.mm | 154 +++++++++ src/lib/platform/OSXPasteboardPeeker.h | 2 +- src/lib/platform/OSXPasteboardPeeker.m | 37 --- src/lib/platform/OSXPasteboardPeeker.mm | 37 +++ src/lib/platform/OSXScreen.h | 48 +-- src/lib/platform/OSXScreen.mm | 218 ++++++------- src/lib/platform/OSXScreenSaver.cpp | 14 +- src/lib/platform/OSXScreenSaver.h | 8 +- src/lib/platform/OSXScreenSaverControl.h | 2 +- src/lib/platform/OSXScreenSaverUtil.h | 4 +- src/lib/platform/OSXScreenSaverUtil.m | 83 ----- src/lib/platform/OSXScreenSaverUtil.mm | 83 +++++ src/lib/platform/OSXUchrKeyResource.cpp | 4 +- src/lib/platform/OSXUchrKeyResource.h | 12 +- src/lib/platform/XWindowsClipboard.cpp | 8 +- src/lib/platform/XWindowsClipboard.h | 10 +- .../XWindowsClipboardAnyBitmapConverter.cpp | 4 +- .../platform/XWindowsClipboardAnyBitmapConverter.h | 4 +- src/lib/platform/XWindowsClipboardBMPConverter.cpp | 4 +- src/lib/platform/XWindowsClipboardBMPConverter.h | 4 +- .../platform/XWindowsClipboardHTMLConverter.cpp | 4 +- src/lib/platform/XWindowsClipboardHTMLConverter.h | 4 +- .../platform/XWindowsClipboardTextConverter.cpp | 4 +- src/lib/platform/XWindowsClipboardTextConverter.h | 4 +- .../platform/XWindowsClipboardUCS2Converter.cpp | 4 +- src/lib/platform/XWindowsClipboardUCS2Converter.h | 4 +- .../platform/XWindowsClipboardUTF8Converter.cpp | 4 +- src/lib/platform/XWindowsClipboardUTF8Converter.h | 4 +- src/lib/platform/XWindowsEventQueueBuffer.cpp | 8 +- src/lib/platform/XWindowsEventQueueBuffer.h | 10 +- src/lib/platform/XWindowsKeyState.cpp | 20 +- src/lib/platform/XWindowsKeyState.h | 24 +- src/lib/platform/XWindowsScreen.cpp | 12 +- src/lib/platform/XWindowsScreen.h | 10 +- src/lib/platform/XWindowsScreenSaver.cpp | 28 +- src/lib/platform/XWindowsScreenSaver.h | 12 +- src/lib/platform/XWindowsUtil.cpp | 49 ++- src/lib/platform/XWindowsUtil.h | 12 +- src/lib/platform/synwinhk.h | 4 +- src/lib/server/BaseClientProxy.cpp | 4 +- src/lib/server/BaseClientProxy.h | 4 +- src/lib/server/CMakeLists.txt | 4 +- src/lib/server/ClientListener.cpp | 37 +-- src/lib/server/ClientListener.h | 13 +- src/lib/server/ClientProxy.cpp | 4 +- src/lib/server/ClientProxy.h | 4 +- src/lib/server/ClientProxy1_0.cpp | 27 +- src/lib/server/ClientProxy1_0.h | 4 +- src/lib/server/ClientProxy1_1.cpp | 4 +- src/lib/server/ClientProxy1_1.h | 4 +- src/lib/server/ClientProxy1_2.cpp | 4 +- src/lib/server/ClientProxy1_2.h | 4 +- src/lib/server/ClientProxy1_3.cpp | 4 +- src/lib/server/ClientProxy1_3.h | 4 +- src/lib/server/ClientProxy1_4.cpp | 4 +- src/lib/server/ClientProxy1_4.h | 4 +- src/lib/server/ClientProxy1_5.cpp | 8 +- src/lib/server/ClientProxy1_5.h | 4 +- src/lib/server/ClientProxy1_6.cpp | 6 +- src/lib/server/ClientProxy1_6.h | 4 +- src/lib/server/ClientProxyUnknown.cpp | 10 +- src/lib/server/ClientProxyUnknown.h | 4 +- src/lib/server/Config.cpp | 38 +-- src/lib/server/Config.h | 6 +- src/lib/server/InputFilter.cpp | 16 +- src/lib/server/InputFilter.h | 18 +- src/lib/server/PrimaryClient.cpp | 4 +- src/lib/server/PrimaryClient.h | 10 +- src/lib/server/Server.cpp | 32 +- src/lib/server/Server.h | 26 +- 423 files changed, 4005 insertions(+), 3418 deletions(-) delete mode 100644 src/lib/arch/vsnprintf.h create mode 100644 src/lib/barrier/BarrierType.h delete mode 100644 src/lib/base/FunctionJob.cpp delete mode 100644 src/lib/base/FunctionJob.h delete mode 100644 src/lib/base/TMethodJob.h create mode 100644 src/lib/base/finally.h delete mode 100644 src/lib/common/MacOSXPrecomp.h delete mode 100644 src/lib/common/PathUtilities.cpp delete mode 100644 src/lib/common/PathUtilities.h create mode 100644 src/lib/common/win32/encoding_utilities.cpp create mode 100644 src/lib/common/win32/encoding_utilities.h create mode 100644 src/lib/io/filesystem.cpp create mode 100644 src/lib/io/filesystem.h create mode 100644 src/lib/net/ConnectionSecurityLevel.h create mode 100644 src/lib/net/FingerprintData.cpp create mode 100644 src/lib/net/FingerprintData.h create mode 100644 src/lib/net/FingerprintDatabase.cpp create mode 100644 src/lib/net/FingerprintDatabase.h create mode 100644 src/lib/net/SecureUtils.cpp create mode 100644 src/lib/net/SecureUtils.h delete mode 100644 src/lib/platform/OSXDragSimulator.m create mode 100644 src/lib/platform/OSXDragSimulator.mm delete mode 100644 src/lib/platform/OSXDragView.m create mode 100644 src/lib/platform/OSXDragView.mm delete mode 100644 src/lib/platform/OSXMediaKeySimulator.m create mode 100644 src/lib/platform/OSXMediaKeySimulator.mm delete mode 100644 src/lib/platform/OSXMediaKeySupport.m create mode 100644 src/lib/platform/OSXMediaKeySupport.mm delete mode 100644 src/lib/platform/OSXPasteboardPeeker.m create mode 100644 src/lib/platform/OSXPasteboardPeeker.mm delete mode 100644 src/lib/platform/OSXScreenSaverUtil.m create mode 100644 src/lib/platform/OSXScreenSaverUtil.mm (limited to 'src/lib') diff --git a/src/lib/CMakeLists.txt b/src/lib/CMakeLists.txt index 70a0629..fdec71c 100644 --- a/src/lib/CMakeLists.txt +++ b/src/lib/CMakeLists.txt @@ -1,11 +1,11 @@ # barrier -- mouse and keyboard sharing utility # Copyright (C) 2012-2016 Symless Ltd. # Copyright (C) 2009 Nick Bolton -# +# # This package is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # found in the file LICENSE that should have accompanied this file. -# +# # This package is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/src/lib/arch/Arch.cpp b/src/lib/arch/Arch.cpp index 0a3b3e5..810b74f 100644 --- a/src/lib/arch/Arch.cpp +++ b/src/lib/arch/Arch.cpp @@ -2,11 +2,11 @@ * barrier -- mouse and keyboard sharing utility * Copyright (C) 2012-2016 Symless Ltd. * Copyright (C) 2002 Chris Schoeneman - * + * * This package is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * found in the file LICENSE that should have accompanied this file. - * + * * This package is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/src/lib/arch/Arch.h b/src/lib/arch/Arch.h index 940a2e3..3b37617 100644 --- a/src/lib/arch/Arch.h +++ b/src/lib/arch/Arch.h @@ -2,11 +2,11 @@ * barrier -- mouse and keyboard sharing utility * Copyright (C) 2012-2016 Symless Ltd. * Copyright (C) 2002 Chris Schoeneman - * + * * This package is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * found in the file LICENSE that should have accompanied this file. - * + * * This package is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/src/lib/arch/ArchConsoleStd.cpp b/src/lib/arch/ArchConsoleStd.cpp index f7f7691..2e188bb 100644 --- a/src/lib/arch/ArchConsoleStd.cpp +++ b/src/lib/arch/ArchConsoleStd.cpp @@ -2,11 +2,11 @@ * barrier -- mouse and keyboard sharing utility * Copyright (C) 2012-2016 Symless Ltd. * Copyright (C) 2002 Chris Schoeneman - * + * * This package is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * found in the file LICENSE that should have accompanied this file. - * + * * This package is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the @@ -30,4 +30,4 @@ ArchConsoleStd::writeConsole(ELevel level, const char* str) std::cout << str << std::endl; std::cout.flush(); -} \ No newline at end of file +} diff --git a/src/lib/arch/ArchConsoleStd.h b/src/lib/arch/ArchConsoleStd.h index 8560fad..1d306e7 100644 --- a/src/lib/arch/ArchConsoleStd.h +++ b/src/lib/arch/ArchConsoleStd.h @@ -2,11 +2,11 @@ * barrier -- mouse and keyboard sharing utility * Copyright (C) 2012-2016 Symless Ltd. * Copyright (C) 2002 Chris Schoeneman - * + * * This package is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * found in the file LICENSE that should have accompanied this file. - * + * * This package is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/src/lib/arch/ArchDaemonNone.cpp b/src/lib/arch/ArchDaemonNone.cpp index 1222549..5cb4681 100644 --- a/src/lib/arch/ArchDaemonNone.cpp +++ b/src/lib/arch/ArchDaemonNone.cpp @@ -2,11 +2,11 @@ * barrier -- mouse and keyboard sharing utility * Copyright (C) 2012-2016 Symless Ltd. * Copyright (C) 2002 Chris Schoeneman - * + * * This package is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * found in the file LICENSE that should have accompanied this file. - * + * * This package is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/src/lib/arch/ArchDaemonNone.h b/src/lib/arch/ArchDaemonNone.h index e02405f..425ae56 100644 --- a/src/lib/arch/ArchDaemonNone.h +++ b/src/lib/arch/ArchDaemonNone.h @@ -2,11 +2,11 @@ * barrier -- mouse and keyboard sharing utility * Copyright (C) 2012-2016 Symless Ltd. * Copyright (C) 2002 Chris Schoeneman - * + * * This package is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * found in the file LICENSE that should have accompanied this file. - * + * * This package is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/src/lib/arch/CMakeLists.txt b/src/lib/arch/CMakeLists.txt index db92634..5ff7b51 100644 --- a/src/lib/arch/CMakeLists.txt +++ b/src/lib/arch/CMakeLists.txt @@ -1,11 +1,11 @@ # barrier -- mouse and keyboard sharing utility # Copyright (C) 2012-2016 Symless Ltd. # Copyright (C) 2009 Nick Bolton -# +# # This package is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # found in the file LICENSE that should have accompanied this file. -# +# # This package is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/src/lib/arch/IArchConsole.h b/src/lib/arch/IArchConsole.h index d115c50..41e3527 100644 --- a/src/lib/arch/IArchConsole.h +++ b/src/lib/arch/IArchConsole.h @@ -2,11 +2,11 @@ * barrier -- mouse and keyboard sharing utility * Copyright (C) 2012-2016 Symless Ltd. * Copyright (C) 2002 Chris Schoeneman - * + * * This package is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * found in the file LICENSE that should have accompanied this file. - * + * * This package is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/src/lib/arch/IArchDaemon.h b/src/lib/arch/IArchDaemon.h index 23a34f2..6a4fb67 100644 --- a/src/lib/arch/IArchDaemon.h +++ b/src/lib/arch/IArchDaemon.h @@ -2,11 +2,11 @@ * barrier -- mouse and keyboard sharing utility * Copyright (C) 2012-2016 Symless Ltd. * Copyright (C) 2002 Chris Schoeneman - * + * * This package is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * found in the file LICENSE that should have accompanied this file. - * + * * This package is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the @@ -64,7 +64,7 @@ public: Installs the default daemon. */ virtual void installDaemon() = 0; - + //! Uninstall daemon /*! Uninstalls the default daemon. @@ -76,7 +76,7 @@ public: Daemonize. Throw XArchDaemonFailed on error. \c name is the name of the daemon. Once daemonized, \c func is invoked and daemonize returns when and what it does. - + Exactly what happens when daemonizing depends on the platform.