aboutsummaryrefslogtreecommitdiffstats
path: root/win/rfb_win32/Clipboard.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'win/rfb_win32/Clipboard.cxx')
-rw-r--r--win/rfb_win32/Clipboard.cxx22
1 files changed, 11 insertions, 11 deletions
diff --git a/win/rfb_win32/Clipboard.cxx b/win/rfb_win32/Clipboard.cxx
index 242ebf34..d3b99200 100644
--- a/win/rfb_win32/Clipboard.cxx
+++ b/win/rfb_win32/Clipboard.cxx
@@ -41,11 +41,11 @@ static LogWriter vlog("Clipboard");
Clipboard::Clipboard()
: MsgWindow("Clipboard"), notifier(nullptr), next_window(nullptr) {
next_window = SetClipboardViewer(getHandle());
- vlog.debug("registered clipboard handler");
+ vlog.debug("Registered clipboard handler");
}
Clipboard::~Clipboard() {
- vlog.debug("removing %p from chain (next is %p)", getHandle(), next_window);
+ vlog.debug("Removing %p from chain (next is %p)", getHandle(), next_window);
ChangeClipboardChain(getHandle(), next_window);
}
@@ -54,26 +54,26 @@ Clipboard::processMessage(UINT msg, WPARAM wParam, LPARAM lParam) {
switch (msg) {
case WM_CHANGECBCHAIN:
- vlog.debug("change clipboard chain (%I64x, %I64x)",
+ vlog.debug("Change clipboard chain (%I64x, %I64x)",
(long long)wParam, (long long)lParam);
if ((HWND) wParam == next_window)
next_window = (HWND) lParam;
else if (next_window != nullptr)
SendMessage(next_window, msg, wParam, lParam);
else
- vlog.error("bad clipboard chain change!");
+ vlog.error("Bad clipboard chain change!");
break;
case WM_DRAWCLIPBOARD:
{
HWND owner = GetClipboardOwner();
if (owner == getHandle()) {
- vlog.debug("local clipboard changed by me");
+ vlog.debug("Local clipboard changed by me");
} else {
- vlog.debug("local clipboard changed by %p", owner);
+ vlog.debug("Local clipboard changed by %p", owner);
if (notifier == nullptr)
- vlog.debug("no clipboard notifier registered");
+ vlog.debug("No clipboard notifier registered");
else
notifier->notifyClipboardChanged(IsClipboardFormatAvailable(CF_UNICODETEXT));
}
@@ -149,18 +149,18 @@ Clipboard::setClipText(const char* text) {
throw rdr::Win32Exception("unable to set Win32 clipboard", GetLastError());
clip_handle = nullptr;
- vlog.debug("set clipboard");
+ vlog.debug("Set clipboard");
} catch (rdr::Exception& e) {
vlog.debug("%s", e.str());
}
// - Close the clipboard
if (!CloseClipboard())
- vlog.debug("unable to close Win32 clipboard: %lu", GetLastError());
+ vlog.debug("Unable to close Win32 clipboard: %lu", GetLastError());
else
- vlog.debug("closed clipboard");
+ vlog.debug("Closed clipboard");
if (clip_handle) {
- vlog.debug("freeing clipboard handle");
+ vlog.debug("Freeing clipboard handle");
GlobalFree(clip_handle);
}
}
Nextcloud server, a safe home for all your data: https://github.com/nextcloud/serverwww-data
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* fix(user_ldap): Do not block access to configuration page upon bad configurationfix/do-not-throw-from-countusersCôme Chilliet2024-02-122-7/+12
* Fix(l10n): Update translations from TransifexNextcloud bot2024-02-1216-20/+146
* Merge pull request #43498 from nextcloud/dependabot/github_actions/actions/se...Ferdinand Thiessen2024-02-116-9/+9
|\
| * chore(deps): Bump actions/setup-node from 4.0.1 to 4.0.2dependabot[bot]2024-02-106-9/+9
* | Merge pull request #43515 from nextcloud/chore/unify-files-externalJohn Molakvoæ2024-02-116-102/+209
|\ \
| * | chore(CI): Make `files_external` CI workflows consistentFerdinand Thiessen2024-02-106-102/+209
* | | Fix(l10n): Update translations from TransifexNextcloud bot2024-02-1130-6/+578
|/ /
* | Merge pull request #43507 from nextcloud/dependabot/npm_and_yarn/cypress-wait...dependabot[bot]2024-02-102-5/+5
|\ \
| * | chore(deps-dev): Bump cypress-wait-until from 2.0.1 to 3.0.1dependabot[bot]2024-02-102-5/+5
| |/
* | Merge pull request #42991 from nextcloud/lowToInfoGit'Fellow2024-02-101-1/+1
|\ \
| * | Lower failed movie preview to infoGit'Fellow2024-02-031-1/+1
* | | Merge pull request #43500 from nextcloud/automated/noid/master-update-code-si...Joas Schilling2024-02-101-10/+10
|\ \ \
| * | | fix(security): Update code signing revocation listnextcloud-command2024-02-101-10/+10
| | |/ | |/|
* | | Merge pull request #43411 from nextcloud/automated/noid/master-update-psalm-b...Ferdinand Thiessen2024-02-102-55/+0
|\ \ \ | |/ / |/| |
| * | Update psalm baselinenextcloud-command2024-02-102-55/+0
|/ /
* | Fix(l10n): Update translations from TransifexNextcloud bot2024-02-10112-262/+432
* | Merge pull request #43479 from nextcloud/fix/ci-do-not-run-oci-alwaysFerdinand Thiessen2024-02-091-1/+1
|\ \
| * | fix(CI): Only run phpunit OCI when neededFerdinand Thiessen2024-02-091-1/+1
* | | Merge pull request #43440 from nextcloud/fix/files-external-s3-redact-valuesJosh2024-02-091-2/+2
|\ \ \
| * | | fix(files_external) Add sensitive S3 values redacted by list commandJosh2024-02-071-2/+2
* | | | Merge pull request #43486 from nextcloud/bump/bump-calendar-availability-vue-...Pytal2024-02-0981-168/+124
|\ \ \ \
| * | | | chore: Bump calendar-availability-vue to `v2.1.0`julia.kirschenheuter2024-02-0981-168/+124
|/ / / /
* | | | Merge pull request #43474 from nextcloud/chore/cleanup-dashboardFerdinand Thiessen2024-02-093-10/+3
|\ \ \ \
| * | | | chore: Compile assetsFerdinand Thiessen2024-02-092-3/+3
| * | | | chore: Remove unused code from dashboard entrypointFerdinand Thiessen2024-02-091-7/+0
* | | | | Merge pull request #41184 from nextcloud/fixTypoInVarGit'Fellow2024-02-091-1/+1
|\ \ \ \ \
| * | | | | Fix typo in varGit'Fellow2024-02-091-1/+1
|/ / / / /
* | | | | Merge pull request #43476 from nextcloud/enh/noid/personal-settings-2Simon L2024-02-091-5/+5
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | do not break personal settings page is viewer is not thereSimon L2024-02-091-5/+5
| | |/ / | |/| |
* | | | Merge pull request #42833 from nextcloud/enh/noid/set-boolean-configFerdinand Thiessen2024-02-091-2/+2
|\ \ \ \
| * | | | true, on, yes and 1 can be booleanMaxence Lange2024-01-161-2/+2
* | | | | Merge pull request #43469 from nextcloud/chore/drop-jquery-migrateFerdinand Thiessen2024-02-0916-143/+10
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | chore: Compile assetsFerdinand Thiessen2024-02-098-59/+9
| * | | | chore: Remove `jquery-migrate` and jQuery tooltip polyfills from global scopeFerdinand Thiessen2024-02-098-84/+1
|/ / / /
* | | | Merge pull request #43353 from nextcloud/fix/webdav-client-double-decodeFerdinand Thiessen2024-02-0917-35/+121
|\ \ \ \
| * | | | chore: Compile assetsFerdinand Thiessen2024-02-09