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
Méven Car
17f73650c9
Klipper: wayland, add a missing closing fd when receiving data
5 years ago
l10n daemon script
b9a1e98742
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
ValdikSS ValdikSS
f9669af2cf
Trim very long text strings in Klipper history view
...
Klipper may freeze the whole plasmashell for tens of seconds trying
to render very long text string from history in the popup.
Trim very large strings to 200 characters (tooltip default) to prevent this.
BUG: 431673
5 years ago
Alexander Lohnau
d921e3e370
Adjust indentation of license headers
5 years ago
Alexander Lohnau
4df78f841c
Remove unneeded comments in license headers
5 years ago
Alexander Lohnau
fefe12dff6
Manual SPDX fixes & cleanup
5 years ago
Alexander Lohnau
5a2aeda884
Correct conversion of copyright texts
5 years ago
Alexander Lohnau
c4cfc9749e
Remove unneeded newlines in license headers
5 years ago
Alexander Lohnau
c11051955d
Convert license headers to SPDX
5 years ago
Adrien Faveraux
42515d22cb
Move include guard to Pragma Once
5 years ago
Felipe Kinoshita
7e14d80cbc
[klipper] Ignore selection by default
...
This commit turns on "Ignore selection" by default, copy selected
text by default is generally not expected and make the clipboard
history seems "random".
You can still paste selected text with the mouse middle click.
5 years ago
l10n daemon script
faad339db5
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
Felipe Kinoshita
60ab32584b
Assing first screen if `screen` is null
...
BUG: 438277
5 years ago