Fix whitespace alignment

This commit is contained in:
a1346054 2021-09-22 21:03:19 +00:00
parent ab3bdad5ab
commit 9c41441861
No known key found for this signature in database
GPG Key ID: D149AD21DC40440C
5 changed files with 103 additions and 102 deletions

View File

@ -108,6 +108,7 @@ A: Start the binary with the argument `--config <path_to_saved_configuration>`
Q: After loading my configuration on the client the field 'Server IP' is still empty! Q: After loading my configuration on the client the field 'Server IP' is still empty!
A: Edit your configuration to include the server's ip address manually with A: Edit your configuration to include the server's ip address manually with
(...)
section: options (...)
serverhostname=<AAA.BBB.CCC.DDD> section: options
serverhostname=<AAA.BBB.CCC.DDD>

View File

@ -4,17 +4,17 @@
<plist version="1.0"> <plist version="1.0">
<!-- Mac OSX only: Copy this plist file into [~]/Library/LaunchAgents to start barrier client automatically. Make sure you change the IP below. --> <!-- Mac OSX only: Copy this plist file into [~]/Library/LaunchAgents to start barrier client automatically. Make sure you change the IP below. -->
<dict> <dict>
<key>Label</key> <key>Label</key>
<string>org.debauchee.com.barrierc.plist</string> <string>org.debauchee.com.barrierc.plist</string>
<key>OnDemand</key> <key>OnDemand</key>
<false/> <false/>
<key>ProgramArguments</key> <key>ProgramArguments</key>
<array> <array>
<string>/usr/bin/barrierc</string> <string>/usr/bin/barrierc</string>
<!-- Replace this IP with the IP of your barriers server --> <!-- Replace this IP with the IP of your barriers server -->
<string>192.168.0.2</string> <string>192.168.0.2</string>
</array> </array>
<key>RunAtLoad</key> <key>RunAtLoad</key>
<true/> <true/>
</dict> </dict>
</plist> </plist>

View File

@ -4,12 +4,12 @@
<plist version="1.0"> <plist version="1.0">
<!-- Mac OSX only: Copy this plist file into [~]/Library/LaunchAgents to start barrier server automatically. Make sure you change configuration file below --> <!-- Mac OSX only: Copy this plist file into [~]/Library/LaunchAgents to start barrier server automatically. Make sure you change configuration file below -->
<dict> <dict>
<key>Label</key> <key>Label</key>
<string>org.debauchee.com.barriers.plist</string> <string>org.debauchee.com.barriers.plist</string>
<key>OnDemand</key> <key>OnDemand</key>
<false/> <false/>
<key>ProgramArguments</key> <key>ProgramArguments</key>
<array> <array>
<string>/usr/bin/barriers</string> <string>/usr/bin/barriers</string>
<string>--no-daemon</string> <string>--no-daemon</string>
<string>--config</string> <string>--config</string>

View File

@ -1,46 +1,46 @@
<?xml version="1.0" encoding="UTF-8" ?> <?xml version="1.0" encoding="UTF-8" ?>
<languages> <languages>
<language ietfCode="en" name="English" /> <language ietfCode="en" name="English" />
<language ietfCode="ca-AD" name="Català (Andorra)" /> <language ietfCode="ca-AD" name="Català (Andorra)" />
<language ietfCode="cs-CZ" name="Čeština" /> <language ietfCode="cs-CZ" name="Čeština" />
<language ietfCode="cy" name="Cymraeg" /> <language ietfCode="cy" name="Cymraeg" />
<language ietfCode="da" name="Dansk" /> <language ietfCode="da" name="Dansk" />
<language ietfCode="de" name="Deutsch" /> <language ietfCode="de" name="Deutsch" />
<language ietfCode="es" name="Español" /> <language ietfCode="es" name="Español" />
<language ietfCode="fr" name="Français" /> <language ietfCode="fr" name="Français" />
<language ietfCode="hr-HR" name="Hrvatski" /> <language ietfCode="hr-HR" name="Hrvatski" />
<language ietfCode="id" name="Indonesia" /> <language ietfCode="id" name="Indonesia" />
<language ietfCode="it" name="Italiano" /> <language ietfCode="it" name="Italiano" />
<language ietfCode="lv" name="Latvijas" /> <language ietfCode="lv" name="Latvijas" />
<language ietfCode="lt" name="Lietuvos" /> <language ietfCode="lt" name="Lietuvos" />
<language ietfCode="hu-HU" name="Magyar" /> <language ietfCode="hu-HU" name="Magyar" />
<language ietfCode="nl-NL" name="Nederlands" /> <language ietfCode="nl-NL" name="Nederlands" />
<language ietfCode="no" name="Norsk" /> <language ietfCode="no" name="Norsk" />
<language ietfCode="pl-PL" name="Polski" /> <language ietfCode="pl-PL" name="Polski" />
<language ietfCode="pt-PT" name="Português" /> <language ietfCode="pt-PT" name="Português" />
<language ietfCode="pt-BR" name="Português (Brasil)" /> <language ietfCode="pt-BR" name="Português (Brasil)" />
<language ietfCode="ro" name="Română" /> <language ietfCode="ro" name="Română" />
<language ietfCode="sq-AL" name="Shqiptar" /> <language ietfCode="sq-AL" name="Shqiptar" />
<language ietfCode="sl-SI" name="Slovenščina" /> <language ietfCode="sl-SI" name="Slovenščina" />
<language ietfCode="sk-SK" name="Slovenčina" /> <language ietfCode="sk-SK" name="Slovenčina" />
<language ietfCode="fi" name="Suomi" /> <language ietfCode="fi" name="Suomi" />
<language ietfCode="sv" name="Svenska" /> <language ietfCode="sv" name="Svenska" />
<language ietfCode="vi" name="Tiếng Việt" /> <language ietfCode="vi" name="Tiếng Việt" />
<language ietfCode="tr-TR" name="Türkçe" /> <language ietfCode="tr-TR" name="Türkçe" />
<language ietfCode="bg-BG" name="български" /> <language ietfCode="bg-BG" name="български" />
<language ietfCode="ru" name="Русский" /> <language ietfCode="ru" name="Русский" />
<language ietfCode="sr" name="српски" /> <language ietfCode="sr" name="српски" />
<language ietfCode="uk" name="Український" /> <language ietfCode="uk" name="Український" />
<language ietfCode="grk" name="Ελληνικά" /> <language ietfCode="grk" name="Ελληνικά" />
<language ietfCode="he" name="עברית" /> <language ietfCode="he" name="עברית" />
<language ietfCode="ar" name="العربية" /> <language ietfCode="ar" name="العربية" />
<language ietfCode="pes-IR" name="فارسی" /> <language ietfCode="pes-IR" name="فارسی" />
<language ietfCode="ur" name="اردو" /> <language ietfCode="ur" name="اردو" />
<language ietfCode="mr" name="मराठी" /> <language ietfCode="mr" name="मराठी" />
<language ietfCode="si" name="Sඉන්හල" /> <language ietfCode="si" name="Sඉන්හල" />
<language ietfCode="th-TH" name="ภาษาไทย" /> <language ietfCode="th-TH" name="ภาษาไทย" />
<language ietfCode="zh-CN" name="中文 (简体)" /> <language ietfCode="zh-CN" name="中文 (简体)" />
<language ietfCode="zh-TW" name="中文 (繁體)" /> <language ietfCode="zh-TW" name="中文 (繁體)" />
<language ietfCode="ja-JP" name="日本語" /> <language ietfCode="ja-JP" name="日本語" />
<language ietfCode="ko" name="한국어" /> <language ietfCode="ko" name="한국어" />
</languages> </languages>

View File

@ -57,58 +57,58 @@ XArchEvalWinsock::eval() const noexcept
// may not look up network error messages correctly. we'll have // may not look up network error messages correctly. we'll have
// to do it ourself. // to do it ourself.
static const struct { int m_code; const char* m_msg; } s_netErrorCodes[] = { static const struct { int m_code; const char* m_msg; } s_netErrorCodes[] = {
/* 10004 */{WSAEINTR, "The (blocking) call was canceled via WSACancelBlockingCall"}, /* 10004 */{WSAEINTR, "The (blocking) call was canceled via WSACancelBlockingCall"},
/* 10009 */{WSAEBADF, "Bad file handle"}, /* 10009 */{WSAEBADF, "Bad file handle"},
/* 10013 */{WSAEACCES, "The requested address is a broadcast address, but the appropriate flag was not set"}, /* 10013 */{WSAEACCES, "The requested address is a broadcast address, but the appropriate flag was not set"},
/* 10014 */{WSAEFAULT, "WSAEFAULT"}, /* 10014 */{WSAEFAULT, "WSAEFAULT"},
/* 10022 */{WSAEINVAL, "WSAEINVAL"}, /* 10022 */{WSAEINVAL, "WSAEINVAL"},
/* 10024 */{WSAEMFILE, "No more file descriptors available"}, /* 10024 */{WSAEMFILE, "No more file descriptors available"},
/* 10035 */{WSAEWOULDBLOCK, "Socket is marked as non-blocking and no connections are present or the receive operation would block"}, /* 10035 */{WSAEWOULDBLOCK, "Socket is marked as non-blocking and no connections are present or the receive operation would block"},
/* 10036 */{WSAEINPROGRESS, "A blocking Windows Sockets operation is in progress"}, /* 10036 */{WSAEINPROGRESS, "A blocking Windows Sockets operation is in progress"},
/* 10037 */{WSAEALREADY, "The asynchronous routine being canceled has already completed"}, /* 10037 */{WSAEALREADY, "The asynchronous routine being canceled has already completed"},
/* 10038 */{WSAENOTSOCK, "At least on descriptor is not a socket"}, /* 10038 */{WSAENOTSOCK, "At least on descriptor is not a socket"},
/* 10039 */{WSAEDESTADDRREQ, "A destination address is required"}, /* 10039 */{WSAEDESTADDRREQ, "A destination address is required"},
/* 10040 */{WSAEMSGSIZE, "The datagram was too large to fit into the specified buffer and was truncated"}, /* 10040 */{WSAEMSGSIZE, "The datagram was too large to fit into the specified buffer and was truncated"},
/* 10041 */{WSAEPROTOTYPE, "The specified protocol is the wrong type for this socket"}, /* 10041 */{WSAEPROTOTYPE, "The specified protocol is the wrong type for this socket"},
/* 10042 */{WSAENOPROTOOPT, "The option is unknown or unsupported"}, /* 10042 */{WSAENOPROTOOPT, "The option is unknown or unsupported"},
/* 10043 */{WSAEPROTONOSUPPORT,"The specified protocol is not supported"}, /* 10043 */{WSAEPROTONOSUPPORT, "The specified protocol is not supported"},
/* 10044 */{WSAESOCKTNOSUPPORT,"The specified socket type is not supported by this address family"}, /* 10044 */{WSAESOCKTNOSUPPORT, "The specified socket type is not supported by this address family"},
/* 10045 */{WSAEOPNOTSUPP, "The referenced socket is not a type that supports that operation"}, /* 10045 */{WSAEOPNOTSUPP, "The referenced socket is not a type that supports that operation"},
/* 10046 */{WSAEPFNOSUPPORT, "BSD: Protocol family not supported"}, /* 10046 */{WSAEPFNOSUPPORT, "BSD: Protocol family not supported"},
/* 10047 */{WSAEAFNOSUPPORT, "The specified address family is not supported"}, /* 10047 */{WSAEAFNOSUPPORT, "The specified address family is not supported"},
/* 10048 */{WSAEADDRINUSE, "The specified address is already in use"}, /* 10048 */{WSAEADDRINUSE, "The specified address is already in use"},
/* 10049 */{WSAEADDRNOTAVAIL, "The specified address is not available from the local machine"}, /* 10049 */{WSAEADDRNOTAVAIL, "The specified address is not available from the local machine"},
/* 10050 */{WSAENETDOWN, "The Windows Sockets implementation has detected that the network subsystem has failed"}, /* 10050 */{WSAENETDOWN, "The Windows Sockets implementation has detected that the network subsystem has failed"},
/* 10051 */{WSAENETUNREACH, "The network can't be reached from this host at this time"}, /* 10051 */{WSAENETUNREACH, "The network can't be reached from this host at this time"},
/* 10052 */{WSAENETRESET, "The connection must be reset because the Windows Sockets implementation dropped it"}, /* 10052 */{WSAENETRESET, "The connection must be reset because the Windows Sockets implementation dropped it"},
/* 10053 */{WSAECONNABORTED, "The virtual circuit was aborted due to timeout or other failure"}, /* 10053 */{WSAECONNABORTED, "The virtual circuit was aborted due to timeout or other failure"},
/* 10054 */{WSAECONNRESET, "The virtual circuit was reset by the remote side"}, /* 10054 */{WSAECONNRESET, "The virtual circuit was reset by the remote side"},
/* 10055 */{WSAENOBUFS, "No buffer space is available or a buffer deadlock has occurred. The socket cannot be created"}, /* 10055 */{WSAENOBUFS, "No buffer space is available or a buffer deadlock has occurred. The socket cannot be created"},
/* 10056 */{WSAEISCONN, "The socket is already connected"}, /* 10056 */{WSAEISCONN, "The socket is already connected"},
/* 10057 */{WSAENOTCONN, "The socket is not connected"}, /* 10057 */{WSAENOTCONN, "The socket is not connected"},
/* 10058 */{WSAESHUTDOWN, "The socket has been shutdown"}, /* 10058 */{WSAESHUTDOWN, "The socket has been shutdown"},
/* 10059 */{WSAETOOMANYREFS, "BSD: Too many references"}, /* 10059 */{WSAETOOMANYREFS, "BSD: Too many references"},
/* 10060 */{WSAETIMEDOUT, "Attempt to connect timed out without establishing a connection"}, /* 10060 */{WSAETIMEDOUT, "Attempt to connect timed out without establishing a connection"},
/* 10061 */{WSAECONNREFUSED, "Connection was refused"}, /* 10061 */{WSAECONNREFUSED, "Connection was refused"},
/* 10062 */{WSAELOOP, "Undocumented WinSock error code used in BSD"}, /* 10062 */{WSAELOOP, "Undocumented WinSock error code used in BSD"},
/* 10063 */{WSAENAMETOOLONG, "Undocumented WinSock error code used in BSD"}, /* 10063 */{WSAENAMETOOLONG, "Undocumented WinSock error code used in BSD"},
/* 10064 */{WSAEHOSTDOWN, "Undocumented WinSock error code used in BSD"}, /* 10064 */{WSAEHOSTDOWN, "Undocumented WinSock error code used in BSD"},
/* 10065 */{WSAEHOSTUNREACH, "No route to host"}, /* 10065 */{WSAEHOSTUNREACH, "No route to host"},
/* 10066 */{WSAENOTEMPTY, "Undocumented WinSock error code"}, /* 10066 */{WSAENOTEMPTY, "Undocumented WinSock error code"},
/* 10067 */{WSAEPROCLIM, "Undocumented WinSock error code"}, /* 10067 */{WSAEPROCLIM, "Undocumented WinSock error code"},
/* 10068 */{WSAEUSERS, "Undocumented WinSock error code"}, /* 10068 */{WSAEUSERS, "Undocumented WinSock error code"},
/* 10069 */{WSAEDQUOT, "Undocumented WinSock error code"}, /* 10069 */{WSAEDQUOT, "Undocumented WinSock error code"},
/* 10070 */{WSAESTALE, "Undocumented WinSock error code"}, /* 10070 */{WSAESTALE, "Undocumented WinSock error code"},
/* 10071 */{WSAEREMOTE, "Undocumented WinSock error code"}, /* 10071 */{WSAEREMOTE, "Undocumented WinSock error code"},
/* 10091 */{WSASYSNOTREADY, "Underlying network subsystem is not ready for network communication"}, /* 10091 */{WSASYSNOTREADY, "Underlying network subsystem is not ready for network communication"},
/* 10092 */{WSAVERNOTSUPPORTED, "The version of WinSock API support requested is not provided in this implementation"}, /* 10092 */{WSAVERNOTSUPPORTED, "The version of WinSock API support requested is not provided in this implementation"},
/* 10093 */{WSANOTINITIALISED, "WinSock subsystem not properly initialized"}, /* 10093 */{WSANOTINITIALISED, "WinSock subsystem not properly initialized"},
/* 10101 */{WSAEDISCON, "Virtual circuit has gracefully terminated connection"}, /* 10101 */{WSAEDISCON, "Virtual circuit has gracefully terminated connection"},
/* 11001 */{WSAHOST_NOT_FOUND, "The specified host is unknown"}, /* 11001 */{WSAHOST_NOT_FOUND, "The specified host is unknown"},
/* 11002 */{WSATRY_AGAIN, "A temporary error occurred on an authoritative name server"}, /* 11002 */{WSATRY_AGAIN, "A temporary error occurred on an authoritative name server"},
/* 11003 */{WSANO_RECOVERY, "A non-recoverable name server error occurred"}, /* 11003 */{WSANO_RECOVERY, "A non-recoverable name server error occurred"},
/* 11004 */{WSANO_DATA, "The requested name is valid but does not have an IP address"}, /* 11004 */{WSANO_DATA, "The requested name is valid but does not have an IP address"},
/* end */{0, NULL} /* end */{0, NULL}
}; };
for (unsigned int i = 0; s_netErrorCodes[i].m_code != 0; ++i) { for (unsigned int i = 0; s_netErrorCodes[i].m_code != 0; ++i) {