Nicolas Fella
33c4929515
Unbreak fontinst KCM
...
KCMs without JSON metadata must not be installed into <plugins>/kcms. They belong in <plugins> until they are ported
BUG: 442748
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
l10n daemon script
f11f4749a1
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
Adrien Faveraux
5ba4387628
Cleanup :
...
Use image sizeInBytes
Use Qt:endl
register qml with qml register anonymous type
Remplace QDrag start by QDarg exec
QModel acces, remove use of child
Use QFileinfo, use birthTime()
Use QRandomGenerator
5 years ago
Nicolas Fella
ffb29766b7
Convert two files to SPDX
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
Nicolas Fella
225e4aae2c
Port away from deprecated KPluginLoader
5 years ago
Yaroslav Kurlaev
712ffec5bf
kfontinst: handle font/collection MIME type for ttc files
5 years ago
Alexander Lohnau
c97dddf20d
Manually adjustments for SPDX license statements
5 years ago
Alexander Lohnau
b51fd04b89
GIT_SILENT Revert accidental changes
5 years ago
Alexander Lohnau
1e995c05ab
Remove obsolete AUTHORS files
5 years ago
Alexander Lohnau
145b6c6369
Make sure to put license header before include guards
5 years ago
Alexander Lohnau
4df78f841c
Remove unneeded comments in license headers
5 years ago
Alexander Lohnau
a1c6ad22e9
Convert fontinst_x11 license header to SPDX
5 years ago
Alexander Lohnau
fefe12dff6
Manual SPDX fixes & cleanup
5 years ago
Alexander Lohnau
c11051955d
Convert license headers to SPDX
5 years ago
l10n daemon script
14bcd88cc2
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
Nicolas Fella
b9fb759737
Remove stray endifs
...
Fix build after 42515d22cb
5 years ago
Adrien Faveraux
42515d22cb
Move include guard to Pragma Once
5 years ago
Ahmad Samir
746ac95039
kcms/kfontinst: always add braces around statements
...
This was done using:
run-clang-tidy -checks='-*,readability-braces-around-statements' -j3 -fix '.*kfontinst.*'
git clang-format --force
GIT_SILENT
5 years ago
Ahmad Samir
6ae36d4b50
kio_fonts: fix the thumbnails creation by tweaking the USEntry fields
...
- Set the fancy name, e.g. "Foo, Bold Italic", as UDS_DISPLAY_NAME
- Set the actual file name, e.g. foo-bold.ttf, as UDS_NAME
- Set the actual file url, e.g. /usr/share/fonts/truetype/foo-bold.ttf as UDS_URL
Setting the UDS_URL fixes font thumbnail creation when using kio_fonts.
And IIUC, also avoids calling get() on "font:/" urls, the files are already
local; setting the UDS_URL makes all the font previews work on my system
at least.
BUG: 234754
FIXED-IN: 5.23
5 years ago
Ahmad Samir
ffa1baa6d4
kio_fonts: always add a UDSEntry for own "."
5 years ago
Ahmad Samir
104fea4ec3
kfontinst: less macros; use logging categories
...
And comment out the qDebug() calls (the ones without a logging category),
useful for debugging but they spam the terminal output if you e.g. start
systemsettings from terminal.
Also don't print time with debug statements, useful for benchmarking, but
too much output in terminal otherwise.
GIT_SILENT
5 years ago
Alexander Lohnau
2b523e2e5d
Remove deprecated and defunct KNewStuff properties
5 years ago
l10n daemon script
9cffc2cf0a
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
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
l10n daemon script
96355cd03a
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
l10n daemon script
7a28ad5ab0
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
Ahmad Samir
81ae7f8e28
Fix kcmfontinst install destination
...
This reverts part of a8ec95411a , KCModuleLoader can't load kcm_fontinst
if the library is installed in KDE_INSTALL_PLUGINDIR/kcms/; looks like that
only works for KCMs using QML.
BUG: 436306
FIXED-IN: 5.22.0
5 years ago
Alexander Lohnau
3d03606302
Use kcoreaddons_add_plugin to allow loading plugins from build dir
...
Task: https://phabricator.kde.org/T14528
5 years ago
Nicolas Fella
178a4f8756
Use version-less qt DBus macros
...
They work with both Qt5 and Qt6
5 years ago
Alexander Lohnau
46c784099d
Embed JSON metadata in KIOSlaves
...
Task: https://phabricator.kde.org/T14518
5 years ago
Alexander Lohnau
e900f43b62
Remove old .protocol files
5 years ago
Alexander Lohnau
42efaf445f
Convert protocol files to JSON
...
This was done using the protocoltojson utility from KIO.
Task: https://phabricator.kde.org/T14518
5 years ago
Nicolas Fella
894c5a1b91
re-run clang-format
5 years ago
l10n daemon script
d3869e910f
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
c52df1e792
Use ellipses instead of triple period
...
A real ellipsis character is better for accessibility, as screen readers
will describe it appropriately.
5 years ago
David Faure
8b297dbbb0
kfontviewpart: add JSON metadata to plugin, install into kf5/parts subdir
...
Remove call to deprecated setComponentData, this comes from the json now
(well, no version number in this specific json file, but I doubt
anything was actually showing that)
No user by direct path found in lxr:
https://lxr.kde.org/search?_string=%22kfontviewpart%22&_casesensitive=&_advanced=&_filestring=
KF6 task: https://phabricator.kde.org/T12340
5 years ago
Alexander Lohnau
73af72b3a5
GIT_SILENT Remove unused variables
5 years ago
Alexander Lohnau
f7b556dddf
GIT_SILENT Re-run clang-format
5 years ago
Alexander Lohnau
f6c0feff49
GIT_SILENT Add trailing comma to initializer lists
...
This will result in cleaner diffs when a new value is added
and clang-format will not indent them with the opening
brace of the initializer list which makes is slightly easier to read.
5 years ago
l10n daemon script
9f02b43f3f
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
l10n daemon script
7fb5605b5d
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
Nicolas Fella
78f04b5813
Port from QString::SkipEmptyParts to Qt::SkipEmptyParts
5 years ago
Nicolas Fella
3e309b4aca
Port from endl to Qt::endl
5 years ago
Ahmad Samir
d608432c34
Port away from KDELibs4Support
...
Add explicit find_package() and #include's that are required and were
pulled in by KDELibs4Support.
krdb: remove one redundant #include, KColorUtils
kcm_fonts: send dbus message directly to org.kde.KDEPlatformTheme to
'refreshFonts'
kcm_style:
- use KToolBar::emitToolbarStyleChanged() to notify of toolbar style changes
For the rest use the notifyKcmChange() private method to send the dbus
signal.
[1] https://invent.kde.org/frameworks/kdelibs4support/-/blob/master/src/kdeui/kglobalsettings.cpp#L860
5 years ago
Ahmad Samir
a8ec95411a
KCMs: put the kcm_* libs in builddir/bin/kcms/
...
This matches the install location scheme QT_PLUGIN_DIR/kcms/, which makes
it slightly easier to test stuff right from the builddir, without
installation, by exporting QT_PLUGIN_DIR=builddir/bin/.
Also install kcm_fontinst in QT_PLUGIN_DIR/kcms/, like the other KCMs.
5 years ago
Nicolas Fella
4850e89b97
Remove dead cmake code
...
QT_DEFINITIONS is from the Qt4 era and does not contain anything these days
5 years ago
David Edmundson
99c11bbddc
Fix font installation
...
Regression caused by 567d49f55c in a port
to QUrl::setQuery(QUrlQuery) from QUrl::addQueryItem
The bug is that FC::encode may return a URL with a query already set. We
want to append not replace.
5 years ago
l10n daemon script
9d630a85da
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