Eugene Popov
e5e13a3fb2
Avoid memory leaks by misusing HistoryItem::mimeData()
4 years ago
Eugene Popov
45185e257e
A better fix for BUG 431673
4 years ago
Eugene Popov
1f5a8b86f0
Revert "Trim very long text strings in Klipper history view"
...
This reverts commit f9669af2cf .
4 years ago
Eugene Popov
92ad76ea5f
Revert "[klipper] Use full text for DBus return values"
...
This reverts commit 2db375f6a7 .
4 years ago
Eugene Popov
082aee2320
Revert "Fix Klipper Actions content truncation"
...
This reverts commit 4936585762 .
4 years ago
Eugene Popov
8148858b8a
Revert "klipper: Add FullTextRole to get untruncated text"
...
This reverts commit 5c9d8c2eca .
4 years ago
Eugene Popov
5f67b31e52
Revert "klipper: Add `testTrimmedText`"
...
This reverts commit fc888e5d2d .
4 years ago
Ahmad Samir
24d4b12469
Use Qt logging categories
...
So as not to unnecessarily fill the system log (or binary journal, because
plain text log files are not the fashion any more).
GIT_SILENT
4 years ago
Jonathan Marten
1b1e962c08
Klipper: Do not compile sources twice to build the data engine
...
libklipper_common_SRCS are compiled into the libklipper_common_static
library and then linked for the Klipper application. The same sources
are also compiled again to build plasma_engine_clipboard via
plasma_engine_clipboard_SRCS. This results in almost double the
compile time and repeated diagnostic messages (if there are any).
Use the previously built static library for linking the data engine.
4 years ago
l10n daemon script
daed0461eb
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
l10n daemon script
2141988c3b
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
Jonathan Marten
99d0f172e4
Klipper: Make the "General" configuration options clearer
...
Combine the "Text selection only", "Ignore selection" and "Ignore images"
options into separate sets of radio buttons for text and images, to make
their functions explicit.
Remove the "Prevent empty clipboard" option (but leave it as a hidden
config file setting), it was difficult to explain and it is unclear if it
ever had a use case.
Convert the page to a QFormLayout, and add explanatory text to existing
controls where appropriate.
GUI:
I18N:
4 years ago
l10n daemon script
6721c2ec92
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
Fushan Wen
fc888e5d2d
klipper: Add `testTrimmedText`
...
Test if the text is correctly trimmed, and can still provide the full
text.
4 years ago
Fushan Wen
5c9d8c2eca
klipper: Add FullTextRole to get untruncated text
4 years ago
Fushan Wen
e76c838785
klipper: Replace UserRole with named types
...
This makes the expressions more clear.
4 years ago
Fushan Wen
87faa4a6f5
klipper: Add named role types to HistoryModel
...
This makes the expressions more clear.
4 years ago
l10n daemon script
482dc8a0e3
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
l10n daemon script
1c12775ec7
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
l10n daemon script
0d0b713076
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
l10n daemon script
5259ac39ab
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
l10n daemon script
594b933a1e
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
l10n daemon script
5a792e989f
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
Alexander Lohnau
ff19a1c343
Remove unneeded ServiceType definitions in json metadata
...
We already do the filtering based on the plugin namespace and no
longer through the SevriceTyoes.
4 years ago
l10n daemon script
7ebe49f96f
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
l10n daemon script
41e9c0e65f
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
l10n daemon script
b64be79def
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
Nate Graham
802cc0a263
klipper: Shorten unnecessarily long action menu title
...
BUG: 447032
FIXED-IN: 5.24
4 years ago
l10n daemon script
07e7431c2a
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
l10n daemon script
c7689f5349
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
l10n daemon script
36cadc2c69
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
Laurent Montel
2543f1b843
GIT_SILENT: use Q_EMIT
4 years ago
l10n daemon script
50a7069ada
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
Alexander Lohnau
e1856783c3
Remove now unneeded desktop files
...
Also the install code for some plugins that are already ported to json metadata
4 years ago
Alexander Lohnau
6d3b831cdb
Remove now unneeded desktop to json conversion code
4 years ago
Alexander Lohnau
5e8b5a41d1
Convert desktop files to JSON
...
Task: https://phabricator.kde.org/T14564
4 years ago
ValdikSS ValdikSS
4936585762
Fix Klipper Actions content truncation
...
Commit f9669af2 introduced a regression with Klipper Actions: it used
truncated text as a source for the action, which resulted in truncated
output.
BUG: 444365
4 years ago
David Edmundson
2db375f6a7
[klipper] Use full text for DBus return values
...
In a recent commit HistoryItem::text() became the visual representation
of the mimedata; often a truncated string.
mimeData()->text() always returns the full value.
BUG: 446441
4 years ago
l10n daemon script
f258b6217a
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
l10n daemon script
9dcd97b680
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
Méven Car
756d5c51c9
Use KGuiAddons::KSystemClipboard to better handle wayland
...
Allow klipper to read image data from clipboard
BUG: 442923
4 years ago
Alexander Lohnau
0020ce3baf
Port away from deprecated KConfigDialogManager::changedMap::insert method call
...
As the docs suggest, define the property for the widget instead
4 years ago
Fushan Wen
400b4c9dbe
klipper: Remove deprecated QMutex usage
...
This constructor is not available in Qt6 https://doc.qt.io/qt-5/qmutex.html#QMutex-1
Using QRecursiveMutex instead
4 years ago
Bharadwaj Raju
b29f88fd9e
applets/clipboard: Add an edit page instead of opening a dialog
...
Previously, clicking the Edit button opened a dialog to edit it in. Now
it is done inside the applet itself. This makes it much less disruptive
and jarring, and makes the editing action feel smoother.
4 years ago
Bharadwaj Raju
ff5c9a1129
[klipper] Fix shortcut of OK button in the clipboard content edit dialog
...
BUG: 400623
5 years ago
David Redondo
01641a2eb6
klipper: Fix reading from plasma on wayland
...
When copying something inside the same process that klipper is in,
reading the data through wayland will not work since we have to do
so in a blocking way due to how klipper is structured.
But we can check if we currently own the clipboard and just return that.
5 years ago
David Edmundson
22ff0818cd
[Klipper] Guard against broken data fetches
...
QMimeData::data() can fail. Fetching is done on demand. It's also
possible for clients to advertise mimedata they don't really have.
This patch avoids putting those broken entries in klipper's history.
5 years ago
David Edmundson
2297983230
[Klipper] Handle incoming UTF-8 mime types
...
QMimeData abstracts most mime type handling, but not text/plain vs
text/plain;charset=utf-8.
This is currently being done in QWayland inside qwaylanddataoffer. Given
this code is effectively a clone, we need to have the same check here.
Interestingly mimeData->text() worked before but not hasText(), which is
why it was unnoticed in the test pasteClient tool.
This fixes klipper and GTK apps.
BUG: 424694
5 years ago
l10n daemon script
55000bfbca
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
5 years ago
David Edmundson
4e2d47aeff
[Klipper] Support DataControl v2 adding support for primary buffers
5 years ago