Compare commits
42 Commits
Author | SHA1 | Date |
---|---|---|
|
653e4badeb | |
|
7324f26e09 | |
|
00a57ea972 | |
|
433126e7a1 | |
|
6ce4b7e970 | |
|
d64bb1591a | |
|
4a978c8331 | |
|
20a1bd2e4c | |
|
b4cef2703e | |
|
2db65f0866 | |
|
606222fbae | |
|
4ed0141389 | |
|
37e7741942 | |
|
2fcffcdaa9 | |
|
2c8f92206f | |
|
69ec896e65 | |
|
13d8cd0d65 | |
|
4e082404f1 | |
|
b33af1f94c | |
|
3153062611 | |
|
40d4a58b1c | |
|
d874e5f729 | |
|
584306bf46 | |
|
8388f229dd | |
|
f4e2e51ce4 | |
|
3a24a76de3 | |
|
f8d538f29e | |
|
842c75747a | |
|
e46b8e558f | |
|
cc6067a543 | |
|
dc6ddbc246 | |
|
dc7aa012d5 | |
|
4b12265ae5 | |
|
141ab9ecb4 | |
|
bfc465d477 | |
|
ac5a1bfd3b | |
|
dd3ea8adfe | |
|
e010f89f41 | |
|
21c8fb88d0 | |
|
feb30fafcb | |
|
747039e1cd | |
|
06c1a5908c |
|
@ -1,6 +1,5 @@
|
|||
name: Bug Report
|
||||
description: File a bug report (for questions, ideas & support, use the Discussions tab, or IRC for quick answers, but make sure to stay on the channel!)
|
||||
labels: [bug, triage]
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
|
@ -30,6 +29,8 @@ body:
|
|||
- v2.3.2-alpha
|
||||
- v2.3.2
|
||||
- v2.3.3
|
||||
- v2.3.4
|
||||
- v2.4.0
|
||||
- From Git HEAD or commit (specify below)
|
||||
validations:
|
||||
required: true
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
## Contributor Checklist:
|
||||
|
||||
* [ ] I have created a file in the `doc/newsfragments` directory *IF* it is a
|
||||
user-visible change (and make sure to read the `README.md` in that directory)
|
72
README.md
72
README.md
|
@ -82,33 +82,67 @@ specific packages.
|
|||
|
||||
[](https://repology.org/project/barrier/versions)
|
||||
|
||||
### FAQ
|
||||
## FAQ - Frequently Asked Questions
|
||||
|
||||
Q: Does drag and drop work on linux?
|
||||
**Q: Does drag and drop work on linux?**
|
||||
|
||||
A: No
|
||||
> A: No *(see [#855](https://github.com/debauchee/barrier/issues/855) if you'd like to change that)*
|
||||
|
||||
Q: What OSes are supported?
|
||||
|
||||
A:
|
||||
- Windows 7, 8, 8.1, and 10
|
||||
- MacOS/OS X
|
||||
- Linux
|
||||
- FreeBSD
|
||||
- OpenBSD
|
||||
**Q: What OSes are supported?**
|
||||
|
||||
Q: Are 32-bit versions of Windows supported?
|
||||
> A: The [most recent release](https://github.com/debauchee/barrier/releases/latest) of Barrier is known to work on:
|
||||
> - Windows 7, 8, 8.1, 10, and 11
|
||||
> - macOS *(previously known as OS X or Mac OS X)*
|
||||
> - _The current GUI does **not** work on OS versions prior to macOS 10.12 Sierra (but see the related answer below)_
|
||||
> - Linux
|
||||
> - FreeBSD
|
||||
> - OpenBSD
|
||||
|
||||
A: No
|
||||
|
||||
Q: How do I load my configuration on startup?
|
||||
**Q: Are 32-bit versions of Windows supported?**
|
||||
|
||||
A: Start the binary with the argument `--config <path_to_saved_configuration>`
|
||||
> A: No
|
||||
|
||||
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
|
||||
__Q: Is it possible to use Barrier on Mac OS X / OS X versions prior to 10.12?__
|
||||
|
||||
(...)
|
||||
section: options
|
||||
serverhostname=<AAA.BBB.CCC.DDD>
|
||||
> A: Not officially.
|
||||
> - For OS X 10.10 Yosemite and later:
|
||||
> - [Barrier v2.1.0](https://github.com/debauchee/barrier/releases/tag/v2.1.0) or earlier _may_ work.
|
||||
> - For Mac OS X 10.9 Mavericks _(and perhaps earlier)_:
|
||||
> 1. the command-line portions of the [current release](https://github.com/debauchee/barrier/releases/latest) _should_ run fine.
|
||||
> 2. The GUI will _not_ run, as that OS version does not include Apple's *Metal* framework.
|
||||
> - _(For a GUI workaround for Mac OS X 10.9, see the [discussion at issue #544](https://github.com/debauchee/barrier/issues/544))_
|
||||
|
||||
> Note: Only versions [v2.3.4](https://github.com/debauchee/barrier/releases/tag/v2.3.4) and [later](https://github.com/debauchee/barrier/releases/latest) of Barrier can be supported by this project.
|
||||
> - Anyone using an earlier version is advised to upgrade due to recently-addressed security vulnerabilities *(and other bug fixes)*.
|
||||
> - This is especially important for computers accessible from the public Internet *(or from other shared/untrusted networks, such as when using shared WiFi)*.
|
||||
|
||||
|
||||
**Q: How do I load my configuration on startup?**
|
||||
|
||||
> 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!**
|
||||
|
||||
> A: Edit your configuration to include the server's ip address manually with
|
||||
>
|
||||
>```
|
||||
>(...)
|
||||
>
|
||||
>section: options
|
||||
> serverhostname=<AAA.BBB.CCC.DDD>
|
||||
>```
|
||||
|
||||
**Q: Are there any other significant limitations with the current version of Barrier?**
|
||||
|
||||
> A: Currently:
|
||||
> - Barrier currently has limited UTF-8 support; issues have been reported with processing various languages.
|
||||
> - *(see [#860](https://github.com/debauchee/barrier/issues/860))*
|
||||
> - There is interest in future support for the Wayland compositor/display server protocol *([official site](https://wayland.freedesktop.org/) | [Wikipedia article](https://en.wikipedia.org/wiki/Wayland_(display_server_protocol)))* on Linux.
|
||||
> - As of late 2021, there is no expected completion date for *Wayland* support.
|
||||
> - *(see [#109](https://github.com/debauchee/barrier/issues/109) and [#1251](https://github.com/debauchee/barrier/issues/1251) for status or to volunteer your talents)*
|
||||
>
|
||||
> The complete list of open issues can be found in the ['Issues' tab on GitHub](https://github.com/debauchee/barrier/issues?q=is%3Aissue+is%3Aopen). Help is always appreciated.
|
||||
|
|
25
RELEASING.md
25
RELEASING.md
|
@ -27,11 +27,28 @@ Check `newsfragments` directory for any forgotten release notes
|
|||
Step 3: Merge the release notes PR
|
||||
----------------------------------
|
||||
|
||||
Step 4: Push git tag
|
||||
--------------------
|
||||
Step 4: Bump the version number
|
||||
-------------------------------
|
||||
|
||||
Pull the merge commit created on the `master` branch during the step 2.
|
||||
|
||||
Edit the following files and update the version numbers:
|
||||
|
||||
- `Build.properties`
|
||||
- `cmake/Version.cmake`
|
||||
- `doc/barrierc.1`
|
||||
- `doc/barriers.1`
|
||||
- `.github/ISSUE_TEMPLATE/bug_report.yml`
|
||||
|
||||
Commit to the release branch with the following message `Barrier x.y.z`.
|
||||
|
||||
Push the commit:
|
||||
|
||||
git push origin master
|
||||
|
||||
Step 5: Push git tag
|
||||
--------------------
|
||||
|
||||
Create a tag:
|
||||
|
||||
git tag -s v${VERSION} -m v${VERSION}
|
||||
|
@ -41,7 +58,7 @@ Push the tag:
|
|||
git push origin master --tags
|
||||
|
||||
|
||||
Step 5: Draft a new release on Github
|
||||
Step 6: Draft a new release on Github
|
||||
-------------------------------------
|
||||
|
||||
Go to https://github.com/buildbot/buildbot/releases and draft a new release.
|
||||
|
@ -53,7 +70,7 @@ Use the release notes generated by the `towncrier` tool as the description of th
|
|||
Upload the artifacts created by Azure pipelines as the binaries of the release. The following
|
||||
artifacts should be uploaded to Github:
|
||||
|
||||
- the Barrier-X.Y.Z-release.dmg created by the oldest Mac OS task (artifact name is
|
||||
- the Barrier-X.Y.Z-release.dmg created by the newest Mac OS task (artifact name is
|
||||
"Mac Release Disk Image and App XYZ").
|
||||
|
||||
- the BarrierSetup-X.Y.Z-release.exe (artifact name is Windows Release Installer).
|
||||
|
|
|
@ -31,6 +31,6 @@
|
|||
<key>NSHumanReadableCopyright</key>
|
||||
<string>© 2018 Debauchee Open Source Group</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
<string>10.9.0</string>
|
||||
<string>10.12.0</string>
|
||||
</dict>
|
||||
</plist>
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Corrected macOS packaging to provide a better error message when a user attempts to launch Barrier on an incompatible macOS version. (https://github.com/debauchee/barrier/issues/1260).
|
|
@ -0,0 +1 @@
|
|||
Updated FAQs in project README.md with more detail on OS support and links to issues for infrequent users. (https://github.com/debauchee/barrier/issues/1260).
|
|
@ -0,0 +1,2 @@
|
|||
Fix wrong encoding for text copied between Linux and Windows
|
||||
(https://github.com/debauchee/barrier/issues/1037, https://github.com/debauchee/barrier/issues/1137).
|
|
@ -0,0 +1 @@
|
|||
Fixed build on GCC 11.2 (https://github.com/debauchee/barrier/issues/1366).
|
|
@ -0,0 +1,2 @@
|
|||
Updated Japanese translation.
|
||||
Add and translate strings that are not in gui.ts. Minor string adjustment, Fix wrong or duplicate shortcut keys.
|
|
@ -0,0 +1 @@
|
|||
Fixed FAQ link to Linux drag and drop issue.
|
|
@ -0,0 +1 @@
|
|||
Fixed a regression in 2.4.0 that caused Barrier to not support scaling other than 100% (https://github.com/debauchee/barrier/issues/1462).
|
|
@ -25,6 +25,9 @@ Security fixes
|
|||
again. Client and server will show both SHA1 and SHA256 server fingerprints to allow
|
||||
interoperability with older versions of Barrier.
|
||||
|
||||
All of the above security issues have been reported by Matthias Gerstner who was really helpful
|
||||
resolving them.
|
||||
|
||||
Bug fixes
|
||||
---------
|
||||
|
||||
|
@ -81,7 +84,8 @@ Security fixes
|
|||
Previously it was possible for a malicious client or server to send excessive length messages
|
||||
leading to denial of service by resource exhaustion.
|
||||
|
||||
- Fixed a bug which caused Barrier to crash when disconnecting a TCP session just after sending Hello message.
|
||||
- Fixed a bug which caused Barrier to crash when disconnecting a TCP session just after sending
|
||||
Hello message (fixes CVE-2021-42074).
|
||||
This bug allowed an unauthenticated attacker to crash Barrier with only network access.
|
||||
|
||||
All of the above security issues have been reported by Matthias Gerstner who was really helpful
|
||||
|
|
|
@ -21,7 +21,9 @@ set(sources
|
|||
if (WIN32)
|
||||
file(GLOB arch_headers "MSWindows*.h")
|
||||
file(GLOB arch_sources "MSWindows*.cpp")
|
||||
list(APPEND sources barrierc.rc)
|
||||
list(APPEND sources
|
||||
barrierc.rc
|
||||
barrierc.exe.manifest)
|
||||
elseif (APPLE)
|
||||
file(GLOB arch_headers "OSX*.h")
|
||||
file(GLOB arch_sources "OSX*.cpp")
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
|
||||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<security>
|
||||
<requestedPrivileges>
|
||||
<requestedExecutionLevel level="asInvoker" uiAccess="false"></requestedExecutionLevel>
|
||||
</requestedPrivileges>
|
||||
</security>
|
||||
</trustInfo>
|
||||
<application xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<windowsSettings>
|
||||
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
|
||||
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitor</dpiAwareness>
|
||||
</windowsSettings>
|
||||
</application>
|
||||
</assembly>
|
|
@ -21,7 +21,9 @@ set(sources
|
|||
if (WIN32)
|
||||
file(GLOB arch_headers "MSWindows*.h")
|
||||
file(GLOB arch_sources "MSWindows*.cpp")
|
||||
list(APPEND sources barriers.rc)
|
||||
list(APPEND sources
|
||||
barriers.rc
|
||||
barriers.exe.manifest)
|
||||
elseif (APPLE)
|
||||
file(GLOB arch_headers "OSX*.h")
|
||||
file(GLOB arch_sources "OSX*.cpp")
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
|
||||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<security>
|
||||
<requestedPrivileges>
|
||||
<requestedExecutionLevel level="asInvoker" uiAccess="false"></requestedExecutionLevel>
|
||||
</requestedPrivileges>
|
||||
</security>
|
||||
</trustInfo>
|
||||
<application xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<windowsSettings>
|
||||
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
|
||||
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitor</dpiAwareness>
|
||||
</windowsSettings>
|
||||
</application>
|
||||
</assembly>
|
Binary file not shown.
|
@ -8,34 +8,25 @@
|
|||
<source>About Barrier</source>
|
||||
<translation>Barrier について</translation>
|
||||
</message>
|
||||
<message>
|
||||
<message utf8="true">
|
||||
<location filename="res/AboutDialogBase.ui" line="53"/>
|
||||
<source><p>
|
||||
Keyboard and mouse sharing application. Cross platform and open source.<br /><br />
|
||||
Copyright © 2018 Debauchee Open Source Group<br />
|
||||
Copyright © 2012-2016 Symless Ltd.<br />
|
||||
Copyright © 2002-2012 Chris Schoeneman, Nick Bolton, Volker Lanz.<br /><br />
|
||||
Barrier is released under the GNU General Public License (GPLv2).<br /><br />
|
||||
Barrier is based on CosmoSynergy by Richard Lee and Adam Feder.<br />
|
||||
The Barrier GUI is based on QSynergy by Volker Lanz.<br /><br />
|
||||
Visit our website for help and info (symless.com).
|
||||
The Barrier GUI is based on QSynergy by Volker Lanz.
|
||||
</p></source>
|
||||
<oldsource><p>
|
||||
Keyboard and mouse sharing application. Cross platform and open source.<br /><br />
|
||||
Copyright © 2012-2016 Symless Ltd.<br />
|
||||
Copyright © 2002-2012 Chris Schoeneman, Nick Bolton, Volker Lanz.<br /><br />
|
||||
Barrier is released under the GNU General Public License (GPLv2).<br /><br />
|
||||
Barrier is based on CosmoSynergy by Richard Lee and Adam Feder.<br />
|
||||
The Barrier GUI is based on QSynergy by Volker Lanz.<br /><br />
|
||||
Visit our website for help and info (symless.com).
|
||||
</p></oldsource>
|
||||
<translation type="unfinished"><p>
|
||||
<translation><p>
|
||||
キーボードとマウスの共有ソフトウェアです。クロスプラットフォームでオープンソースです。<br /><br />
|
||||
Copyright © 2018 Debauchee Open Source Group<br />
|
||||
Copyright © 2012-2016 Symless Ltd.<br />
|
||||
Copyright © 2002-2012 Chris Schoeneman, Nick Bolton, Volker Lanz.<br /><br />
|
||||
Barrier は GNU General Public (GPLv2). のライセンスで公開されています。<br /><br />
|
||||
Barrier のベースは CosmoSynergy (Richard Lee, Adam Feder 開発) です。<br />
|
||||
Barrier の GUI は QSynergy (Volker Lanz 開発) がベースです。<br /><br />
|
||||
Visit our website for help and info (symless.com).
|
||||
Barrier は GNU General Public (GPLv2) のライセンスで公開されています。<br /><br />
|
||||
Barrier のベースは CosmoSynergyで、これは Richard Lee と Adam Feder の開発です。<br />
|
||||
Barrier の GUI のベースは QSynergy で、これは Volker Lanz 開発です。
|
||||
</p></translation>
|
||||
</message>
|
||||
<message>
|
||||
|
@ -48,6 +39,11 @@ Visit our website for help and info (symless.com).
|
|||
<source>Version:</source>
|
||||
<translation>バージョン:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="res/AboutDialogBase.ui" line="167"/>
|
||||
<source>Build Date: </source>
|
||||
<translation>ビルド日: </translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="res/AboutDialogBase.ui" line="163"/>
|
||||
<source>&Ok</source>
|
||||
|
@ -89,7 +85,7 @@ Visit our website for help and info (symless.com).
|
|||
<message>
|
||||
<location filename="res/ActionDialogBase.ui" line="119"/>
|
||||
<source>Switch to screen</source>
|
||||
<translation>モニターを切り替え</translation>
|
||||
<translation>次のモニターに切り替え</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="res/ActionDialogBase.ui" line="150"/>
|
||||
|
@ -151,18 +147,23 @@ Visit our website for help and info (symless.com).
|
|||
<source>the hotkey is released</source>
|
||||
<translation>ホットキーを離したとき</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="res/ActionDialogBase.ui" line="148"/>
|
||||
<source>Toggle screen</source>
|
||||
<translation>モニターを切り替え</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>AddClientDialog</name>
|
||||
<message>
|
||||
<location filename="res/AddClientDialogBase.ui" line="20"/>
|
||||
<source>Dialog</source>
|
||||
<translation type="unfinished">ダイアログ</translation>
|
||||
<translation>ダイアログ</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="res/AddClientDialogBase.ui" line="35"/>
|
||||
<source>TextLabel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="res/AddClientDialogBase.ui" line="83"/>
|
||||
|
@ -183,30 +184,12 @@ Visit our website for help and info (symless.com).
|
|||
<translation>ホットキーを入力してください:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LogWindowBase</name>
|
||||
<message>
|
||||
<location filename="res/LogWindowBase.ui" line="26"/>
|
||||
<source>Log - Barrier</source>
|
||||
<translation>ログ - Barrier</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="res/LogWindowBase.ui" line="71"/>
|
||||
<source>&Clear Log</source>
|
||||
<translation>ログ消去(&C)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="res/LogWindowBase.ui" line="78"/>
|
||||
<source>&Hide</source>
|
||||
<translation>閉じる</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>MainWindow</name>
|
||||
<message>
|
||||
<location filename="src/MainWindow.cpp" line="790"/>
|
||||
<source>&Start</source>
|
||||
<translation type="unfinished">開始(&S)</translation>
|
||||
<translation>開始(&S)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="src/MainWindow.cpp" line="237"/>
|
||||
|
@ -226,13 +209,13 @@ Visit our website for help and info (symless.com).
|
|||
<message>
|
||||
<location filename="src/MainWindow.cpp" line="240"/>
|
||||
<source>&Help</source>
|
||||
<translation type="unfinished">ヘルプ(&H)</translation>
|
||||
<translation>ヘルプ(&H)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="src/MainWindow.cpp" line="364"/>
|
||||
<source><p>Your version of Barrier is out of date. Version <b>%1</b> is now available to <a href="%2">download</a>.</p></source>
|
||||
<oldsource><p>Version %1 is now available, <a href="%2">visit website</a>.</p></oldsource>
|
||||
<translation type="unfinished"><p>お使いの Barrier のバージョンが古くなっています。 新しいバージョン <b>%1</b> が<a href="%2">ダウンロード</a>できます。</p></translation>
|
||||
<translation type="unfinished"><p>お使いの Barrier は最新版ではありません。 新しいバージョン <b>%1</b> が<a href="%2">ダウンロード</a>できます。</p></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="src/MainWindow.cpp" line="577"/>
|
||||
|
@ -317,7 +300,7 @@ Visit our website for help and info (symless.com).
|
|||
<message>
|
||||
<location filename="src/MainWindow.cpp" line="1044"/>
|
||||
<source>Please drag the new client screen (%1) to the desired position on the grid.</source>
|
||||
<translation type="unfinished">グリッド上の希望する位置に新しいクライアントのモニタ (%1) をドラッグしてください。</translation>
|
||||
<translation type="unfinished">グリッド上の希望する位置に新しいクライアントのモニター (%1) をドラッグしてください。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="src/MainWindow.cpp" line="1147"/>
|
||||
|
@ -355,12 +338,12 @@ Bonjour をインストールしますか?</translation>
|
|||
<message>
|
||||
<location filename="src/MainWindow.cpp" line="815"/>
|
||||
<source>Barrier is starting.</source>
|
||||
<translation>Barrier を開始中です。</translation>
|
||||
<translation>Barrier 開始中...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="src/MainWindow.cpp" line="809"/>
|
||||
<source>Barrier is running.</source>
|
||||
<translation>Barrier は動作中です。</translation>
|
||||
<translation>Barrier 動作中</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="src/MainWindow.cpp" line="819"/>
|
||||
|
@ -386,7 +369,7 @@ Bonjour をインストールしますか?</translation>
|
|||
</message>
|
||||
<message>
|
||||
<location filename="src/MainWindow.cpp" line="408"/>
|
||||
<source>Barrier is now connected, You can close the config window. Barrier will remain connected in the background.</source>
|
||||
<source>Barrier is now connected. You can close the config window and Barrier will remain connected in the background.</source>
|
||||
<translation>ただいま Barrier は接続されました。設定ウインドウを閉じることができます。それでもバックグラウンドで接続を維持します。</translation>
|
||||
</message>
|
||||
<message>
|
||||
|
@ -400,14 +383,14 @@ Bonjour をインストールしますか?</translation>
|
|||
|
||||
%1
|
||||
|
||||
This is a server fingerprint. You should compare this fingerprint to the one on your server's screen. If the two don't match exactly, then it's probably not the server you're expecting (it could be a malicious user).
|
||||
This is a server fingerprint. You should compare this fingerprint to the one on your server's screen. If the two don't match exactly, then it's probably not the server you're expecting (it could be a malicious user).
|
||||
|
||||
To automatically trust this fingerprint for future connections, click Yes. To reject this fingerprint and disconnect from the server, click No.</source>
|
||||
<translation type="unfinished">このフィンガープリントを信頼しますか?
|
||||
|
||||
%1
|
||||
|
||||
これはサーバーのフィンガープリントです。 このフィンガープリントを、サーバー側のモニタに表示されているフィンガープリントとで確認してください。その2つが一致しない場合、接続したいサーバーではありません (悪意のあるサーバの可能性があります)。
|
||||
これはサーバーのフィンガープリントです。 このフィンガープリントを、サーバー側のモニターに表示されているフィンガープリントとで確認してください。その2つが一致しない場合、接続したいサーバーではありません (悪意のあるサーバの可能性があります)。
|
||||
|
||||
「はい」で、今後の接続でも、このフィンガープリントを自動的に信頼します。「いいえ」で、このフィンガープリントを拒否しサーバーから接続を切断します。</translation>
|
||||
</message>
|
||||
|
@ -437,7 +420,7 @@ To automatically trust this fingerprint for future connections, click Yes. To re
|
|||
<message>
|
||||
<location filename="res/MainWindowBase.ui" line="90"/>
|
||||
<source>Ser&ver (share this computer's mouse and keyboard):</source>
|
||||
<translation>サーバー (このコンピューターのキーボードとマウスを共有する)(&V):</translation>
|
||||
<translation>サーバー (このコンピューターのキーボードとマウスを共有)(&V):</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="res/MainWindowBase.ui" line="243"/>
|
||||
|
@ -460,6 +443,11 @@ To automatically trust this fingerprint for future connections, click Yes. To re
|
|||
<source>Use existing configuration:</source>
|
||||
<translation>既存の構成設定を使用:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="res/MainWindowBase.ui" line="218"/>
|
||||
<source>SSL Fingerprint:</source>
|
||||
<translation>SSLフィンガープリント:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="res/MainWindowBase.ui" line="190"/>
|
||||
<source>&Configuration file:</source>
|
||||
|
@ -478,7 +466,7 @@ To automatically trust this fingerprint for future connections, click Yes. To re
|
|||
<message>
|
||||
<location filename="res/MainWindowBase.ui" line="159"/>
|
||||
<source>&Configure Server...</source>
|
||||
<translation>サーバーの構成設定(&S)...</translation>
|
||||
<translation>サーバーの構成設定(&C)...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="res/MainWindowBase.ui" line="350"/>
|
||||
|
@ -493,7 +481,7 @@ To automatically trust this fingerprint for future connections, click Yes. To re
|
|||
<message>
|
||||
<location filename="res/MainWindowBase.ui" line="373"/>
|
||||
<source>&Reload</source>
|
||||
<translation type="unfinished">適用(&R)</translation>
|
||||
<translation>再読込(&R)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="res/MainWindowBase.ui" line="107"/>
|
||||
|
@ -538,12 +526,12 @@ To automatically trust this fingerprint for future connections, click Yes. To re
|
|||
<message>
|
||||
<location filename="res/MainWindowBase.ui" line="423"/>
|
||||
<source>S&top</source>
|
||||
<translation>停止(&S)</translation>
|
||||
<translation>停止(&T)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="res/MainWindowBase.ui" line="426"/>
|
||||
<source>Stop</source>
|
||||
<translation>停止(&S)</translation>
|
||||
<translation>停止(&T)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="res/MainWindowBase.ui" line="434"/>
|
||||
|
@ -553,27 +541,27 @@ To automatically trust this fingerprint for future connections, click Yes. To re
|
|||
<message>
|
||||
<location filename="res/MainWindowBase.ui" line="442"/>
|
||||
<source>&Hide</source>
|
||||
<translation>隠す(&H)</translation>
|
||||
<translation>非表示(&H)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="res/MainWindowBase.ui" line="445"/>
|
||||
<source>Hide</source>
|
||||
<translation>隠す(&H)</translation>
|
||||
<translation>非表示(&H)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="res/MainWindowBase.ui" line="453"/>
|
||||
<source>&Show</source>
|
||||
<translation>表示(&S)</translation>
|
||||
<translation>表示(&W)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="res/MainWindowBase.ui" line="456"/>
|
||||
<source>Show</source>
|
||||
<translation>表示(&S)</translation>
|
||||
<translation>表示(&W)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="res/MainWindowBase.ui" line="464"/>
|
||||
<source>Save configuration &as...</source>
|
||||
<translation>構成設定に名前をつけて保存</translation>
|
||||
<translation>構成設定に名前をつけて保存...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="res/MainWindowBase.ui" line="467"/>
|
||||
|
@ -596,30 +584,25 @@ To automatically trust this fingerprint for future connections, click Yes. To re
|
|||
<translation>ウィザードを実行</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="res/MainWindowBase.ui" line="367"/>
|
||||
<location filename="res/MainWindowBase.ui" line="435"/>
|
||||
<source>S&ave configuration</source>
|
||||
<translation>構成設定の保存(&A)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="res/MainWindowBase.ui" line="380"/>
|
||||
<location filename="res/MainWindowBase.ui" line="446"/>
|
||||
<source>Change &Settings</source>
|
||||
<translation>設定の変更(&S)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="res/MainWindowBase.ui" line="391"/>
|
||||
<location filename="res/MainWindowBase.ui" line="457"/>
|
||||
<source>Show &Log</source>
|
||||
<translation>ログを表示(&L)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="res/MainWindowBase.ui" line="394"/>
|
||||
<location filename="res/MainWindowBase.ui" line="457"/>
|
||||
<source>Show Log</source>
|
||||
<translation>ログを表示(&L)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="res/MainWindowBase.ui" line="132"/>
|
||||
<source>SSL Fingerprint:</source>
|
||||
<translation>SSLフィンガープリント:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>NewScreenWidget</name>
|
||||
|
@ -712,13 +695,13 @@ To automatically trust this fingerprint for future connections, click Yes. To re
|
|||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="src/MainWindow.cpp" line="60"/>
|
||||
<source>Barrier Configurations (*.sgc)</source>
|
||||
<translation>Barrier 構成設定 (*.sgc)</translation>
|
||||
<source>Barrier Configurations (*.sgc);;All files (*.*)</source>
|
||||
<translation>Barrier 構成設定 (*.sgc);;すべてのファイル(*.*)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="src/MainWindow.cpp" line="67"/>
|
||||
<source>Barrier Configurations (*.conf)</source>
|
||||
<translation>Barrier 構成設定 (*.conf)</translation>
|
||||
<source>Barrier Configurations (*.conf);;All files (*.*)</source>
|
||||
<translation>Barrier 構成設定 (*.conf);;すべてのファイル(*.*)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="src/main.cpp" line="119"/>
|
||||
|
@ -764,7 +747,7 @@ To automatically trust this fingerprint for future connections, click Yes. To re
|
|||
<message>
|
||||
<location filename="res/ScreenSettingsDialogBase.ui" line="42"/>
|
||||
<source>A&liases</source>
|
||||
<translation>別名(&A)</translation>
|
||||
<translation>別名(&L)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="res/ScreenSettingsDialogBase.ui" line="57"/>
|
||||
|
@ -858,7 +841,7 @@ To automatically trust this fingerprint for future connections, click Yes. To re
|
|||
<message>
|
||||
<location filename="res/ScreenSettingsDialogBase.ui" line="291"/>
|
||||
<source>S&uper:</source>
|
||||
<translation>スーパー (&S):</translation>
|
||||
<translation>スーパー (&U):</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="res/ScreenSettingsDialogBase.ui" line="358"/>
|
||||
|
@ -898,17 +881,17 @@ To automatically trust this fingerprint for future connections, click Yes. To re
|
|||
<message>
|
||||
<location filename="res/ScreenSettingsDialogBase.ui" line="437"/>
|
||||
<source>Fix CAPS LOCK key</source>
|
||||
<translation>CAPS ロックキーを固定</translation>
|
||||
<translation>CAPS ロックキーを修正</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="res/ScreenSettingsDialogBase.ui" line="444"/>
|
||||
<source>Fix NUM LOCK key</source>
|
||||
<translation>NUM ロックキーを固定</translation>
|
||||
<translation>NUM ロックキーを修正</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="res/ScreenSettingsDialogBase.ui" line="451"/>
|
||||
<source>Fix SCROLL LOCK key</source>
|
||||
<translation>SCROLL ロックキーを固定</translation>
|
||||
<translation>SCROLL ロックキーを修正</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="res/ScreenSettingsDialogBase.ui" line="458"/>
|
||||
|
@ -918,7 +901,7 @@ To automatically trust this fingerprint for future connections, click Yes. To re
|
|||
<message>
|
||||
<location filename="res/ScreenSettingsDialogBase.ui" line="468"/>
|
||||
<source>Fix Preserve Focus</source>
|
||||
<translation>フォーカスの維持を修正</translation>
|
||||
<translation>フォーカスの維持を固定</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
|
@ -947,7 +930,7 @@ To automatically trust this fingerprint for future connections, click Yes. To re
|
|||
<message>
|
||||
<location filename="res/ServerConfigDialogBase.ui" line="24"/>
|
||||
<source>Screens and links</source>
|
||||
<translation>モニタの結びつき</translation>
|
||||
<translation>モニターの結びつき</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="res/ServerConfigDialogBase.ui" line="35"/>
|
||||
|
@ -962,7 +945,7 @@ To automatically trust this fingerprint for future connections, click Yes. To re
|
|||
<message>
|
||||
<location filename="res/ServerConfigDialogBase.ui" line="73"/>
|
||||
<source>Drag this button to the grid to add a new screen.</source>
|
||||
<translation>新規モニターの追加するには、このボタンをグリッド内にドラッグします。</translation>
|
||||
<translation>新規モニターを追加するには、このボタンをグリッド内にドラッグします。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="res/ServerConfigDialogBase.ui" line="128"/>
|
||||
|
@ -1045,11 +1028,26 @@ Double click on a screen to edit its settings.</source>
|
|||
<source>Switch on double &tap within</source>
|
||||
<translation>次の時間内のダブルタップで切り替え(&T)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="res/ServerConfigDialogBase.ui" line="394"/>
|
||||
<source>Bump against the screen edge with the mouse pointer twice in quick succession.</source>
|
||||
<translation>マウスポインターが画面の端に続けて2回当たることです。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="res/ServerConfigDialogBase.ui" line="408"/>
|
||||
<source>&Options</source>
|
||||
<translation>オプション(&O)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="res/ServerConfigDialogBase.ui" line="416"/>
|
||||
<source>Enable clipboard sharing</source>
|
||||
<translation>クリップボードを共有</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="res/ServerConfigDialogBase.ui" line="461"/>
|
||||
<source>Enable drag and drop file transfers</source>
|
||||
<translation>ドラッグアンドドロップでファイル転送</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="res/ServerConfigDialogBase.ui" line="419"/>
|
||||
<source>&Check clients every</source>
|
||||
|
@ -1105,23 +1103,13 @@ Double click on a screen to edit its settings.</source>
|
|||
<source>Cor&ner Size:</source>
|
||||
<translation>隅の大きさ(&N):</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="res/ServerConfigDialogBase.ui" line="510"/>
|
||||
<source>Enable drag and drop file transfers</source>
|
||||
<translation>ドラッグアンドドロップでファイル転送する</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="res/ServerConfigDialogBase.ui" line="524"/>
|
||||
<source>Enable clipboard sharing</source>
|
||||
<translation>クリップボードを共有</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsDialog</name>
|
||||
<message>
|
||||
<location filename="src/SettingsDialog.cpp" line="131"/>
|
||||
<source>Save log file to...</source>
|
||||
<translation>ログファイルの保存先</translation>
|
||||
<translation>ログファイルの保存先...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="src/SettingsDialog.cpp" line="151"/>
|
||||
|
@ -1133,8 +1121,8 @@ Double click on a screen to edit its settings.</source>
|
|||
<source>Are you sure you want to elevate Barrier?
|
||||
|
||||
This allows Barrier to interact with elevated processes and the UAC dialog, but can cause problems with non-elevated processes. Elevate Barrier only if you really need to.</source>
|
||||
<translation type="unfinished">Barrier を昇格させてもよろしいですか?
|
||||
この許可により Barrier は権限を持つプロセスや UAC ダイアログやりとりできます。一方で、昇格されていないプロセスとのやり取りに問題が起こることもあります。確かに必要である場合にのみ Barrier を昇格させてください。</translation>
|
||||
<translation type="unfinished">Barrier の権限を昇格しますか?
|
||||
この許可により Barrier は権限を持つプロセスや UAC ダイアログとやりとりできます。一方で、昇格されていないプロセスとのやり取りに問題が起こることもあります。確かに必要である場合にのみ Barrier を昇格させてください。</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
|
@ -1167,7 +1155,7 @@ This allows Barrier to interact with elevated processes and the UAC dialog, but
|
|||
<message>
|
||||
<location filename="res/SettingsDialogBase.ui" line="127"/>
|
||||
<source>&Hide on startup</source>
|
||||
<translation>起動時に隠す(&H)</translation>
|
||||
<translation>非表示で起動(&H)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="res/SettingsDialogBase.ui" line="146"/>
|
||||
|
@ -1187,7 +1175,7 @@ This allows Barrier to interact with elevated processes and the UAC dialog, but
|
|||
<message>
|
||||
<location filename="res/SettingsDialogBase.ui" line="202"/>
|
||||
<source>&Logging level:</source>
|
||||
<translation type="unfinished">ログ対象(&L):</translation>
|
||||
<translation>ログ対象(&L):</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="res/SettingsDialogBase.ui" line="251"/>
|
||||
|
@ -1297,7 +1285,30 @@ This allows Barrier to interact with elevated processes and the UAC dialog, but
|
|||
<message>
|
||||
<location filename="res/SettingsDialogBase.ui" line="132"/>
|
||||
<source>Start &Barrier on startup</source>
|
||||
<translation type="unfinished">起動時に Barrier を開始する (&B)</translation>
|
||||
<translation>起動時に Barrier を開始(&B)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="res/SettingsDialogBase.ui" line="201"/>
|
||||
<source>Require client certificate</source>
|
||||
<translation>クライアント証明書を要求</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LogWindowBase</name>
|
||||
<message>
|
||||
<location filename="res/LogWindowBase.ui" line="26"/>
|
||||
<source>Log - Barrier</source>
|
||||
<translation>ログ - Barrier</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="res/LogWindowBase.ui" line="71"/>
|
||||
<source>&Clear Log</source>
|
||||
<translation>ログ消去(&C)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="res/LogWindowBase.ui" line="78"/>
|
||||
<source>&Hide</source>
|
||||
<translation>閉じる</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
|
@ -1338,7 +1349,7 @@ This allows Barrier to interact with elevated processes and the UAC dialog, but
|
|||
<message>
|
||||
<location filename="res/SetupWizardBase.ui" line="114"/>
|
||||
<source>Barrier lets you easily share your mouse and keyboard between multiple computers on your desk, and it's Free and Open Source. Just move your mouse off the edge of one computer's screen on to another. You can even share all of your clipboards. All you need is a network connection. Barrier is cross-platform (works on Windows, Mac OS X and Linux).</source>
|
||||
<translation>Barrier によって、複数のデスクトップパソコン間でマウスとキーボードを簡単に共有することができます。そしてこれは無料でオープンソースのソフトウェアです。あるコンピュータの画面の端にマウスを移動するだけで、別のコンピュータの画面に移ることができます。クリップボードを共有することもできます。必要なのはネットワーク接続だけです。 Barrier はクロスプラットフォームで Windows, Mac OS X, Linux で動作します。</translation>
|
||||
<translation>Barrier によって、複数のデスクトップパソコン間でマウスとキーボードを簡単に共有することができます。そしてこれは無料でオープンソースのソフトウェアです。あるコンピュータの画面の端にマウスを移動するだけで、別のコンピュータの画面に移ることができます。クリップボードを共有することもできます。必要なのはネットワーク接続だけです。 Barrier はクロスプラットフォームで Windows、Mac OS X、Linux で動作します。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="res/SetupWizardBase.ui" line="125"/>
|
||||
|
@ -1373,7 +1384,7 @@ This allows Barrier to interact with elevated processes and the UAC dialog, but
|
|||
<message>
|
||||
<location filename="res/SetupWizardBase.ui" line="277"/>
|
||||
<source>&Server (share this computer's mouse and keyboard)</source>
|
||||
<translation>サーバー (このコンピューターのキーボードとマウスを共有する)(&V)</translation>
|
||||
<translation>サーバー (このコンピューターのキーボードとマウスを共有)(&V)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="res/SetupWizardBase.ui" line="290"/>
|
||||
|
@ -1386,7 +1397,7 @@ p, li { white-space: pre-wrap; }
|
|||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;">
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">使いたいマウスとキーボードがこのパソコンに接続されている場合、こちらを選択することで、別のパソコンのモニタへとマウスを移動することができます。サーバーは1つしか設置できません。</span></p></body></html></translation>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">使いたいマウスとキーボードがこのパソコンに接続されている場合、こちらを選択することで、別のパソコンのモニターへとマウスを移動することができます。サーバーは1つしか設置できません。</span></p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="res/SetupWizardBase.ui" line="326"/>
|
||||
|
@ -1404,7 +1415,7 @@ p, li { white-space: pre-wrap; }
|
|||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;">
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">既にサーバーを設置してある場合、このパソコンをサーバーに接続されたマウスとキーボードで制御できます。複数の数のクライアントを配置できます。</span></p></body></html></translation>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">既にサーバーを設置してある場合、このパソコンをサーバーに接続されたマウスとキーボードで制御できます。クライアントは複数配置できます。</span></p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="res/SetupWizardBase.ui" line="262"/>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
|
|
|
@ -98,7 +98,7 @@ FileChunk::assemble(barrier::IStream* stream, String& dataReceived, size_t& expe
|
|||
case kDataChunk:
|
||||
dataReceived.append(content);
|
||||
if (CLOG->getFilter() >= kDEBUG2) {
|
||||
LOG((CLOG_DEBUG2 "recv file chunck size=%i", content.size()));
|
||||
LOG((CLOG_DEBUG2 "recv file chunk size=%i", content.size()));
|
||||
double interval = stopwatch.getTime();
|
||||
receivedDataSize += content.size();
|
||||
LOG((CLOG_DEBUG2 "recv file interval=%f s", interval));
|
||||
|
|
|
@ -137,7 +137,9 @@ ServerApp::help()
|
|||
barrier::fs::u8path(SYS_CONFIG_NAME)).u8string();
|
||||
|
||||
std::ostringstream buffer;
|
||||
buffer << "Start the barrier server component.\n"
|
||||
buffer << "Start the barrier server component. The server shares the keyboard &\n"
|
||||
<< "mouse of the local machine with the connected clients based on the\n"
|
||||
<< "configuration file.\n"
|
||||
<< "\n"
|
||||
<< "Usage: " << args().m_exename
|
||||
<< " [--address <address>]"
|
||||
|
|
|
@ -21,6 +21,8 @@
|
|||
#include "common/basic_types.h"
|
||||
#include "common/stdmap.h"
|
||||
|
||||
#include <cstddef>
|
||||
|
||||
class EventData {
|
||||
public:
|
||||
EventData() { }
|
||||
|
|
|
@ -190,7 +190,7 @@ void generate_pem_self_signed_cert(const std::string& path)
|
|||
|
||||
X509_sign(cert, private_key, EVP_sha256());
|
||||
|
||||
auto fp = fopen_utf8_path(path.c_str(), "r");
|
||||
auto fp = fopen_utf8_path(path.c_str(), "w");
|
||||
if (!fp) {
|
||||
throw std::runtime_error("Could not open certificate output path");
|
||||
}
|
||||
|
|
|
@ -56,10 +56,17 @@ XWindowsClipboardHTMLConverter::getDataSize() const
|
|||
|
||||
std::string XWindowsClipboardHTMLConverter::fromIClipboard(const std::string& data) const
|
||||
{
|
||||
return Unicode::UTF8ToUTF16(data);
|
||||
return data;
|
||||
}
|
||||
|
||||
std::string XWindowsClipboardHTMLConverter::toIClipboard(const std::string& data) const
|
||||
{
|
||||
return Unicode::UTF16ToUTF8(data);
|
||||
// Older Firefox [1] and possibly other applications use UTF-16 for text/html - handle both
|
||||
// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1497580
|
||||
if (Unicode::isUTF8(data)) {
|
||||
return data;
|
||||
} else {
|
||||
return Unicode::UTF16ToUTF8(data);
|
||||
}
|
||||
return data;
|
||||
}
|
||||
|
|
|
@ -324,7 +324,7 @@ XWindowsScreen::leave()
|
|||
m_impl->XGetInputFocus(m_display, &m_lastFocus, &m_lastFocusRevert);
|
||||
|
||||
// take focus
|
||||
if (m_isPrimary || !m_preserveFocus) {
|
||||
if (!m_preserveFocus) {
|
||||
m_impl->XSetInputFocus(m_display, m_window, RevertToPointerRoot, CurrentTime);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue