Friedrich W. H. Kossebau
78cc1ed7df
Do not include complete Qt modules
8 years ago
Friedrich W. H. Kossebau
6e1946cec7
Remove module prefix from Qt includes
8 years ago
Laurent Montel
41378bc40f
Remove extra ';'
8 years ago
Laurent Montel
a2cf64c6fd
Use override keyword
8 years ago
Kai Uwe Broulik
8164beac15
[Notifications] Fix grouping
...
Sanitize the body before doing anything else.
Cleanup grouping logic.
Differential Revision: https://phabricator.kde.org/D10315
8 years ago
l10n daemon script
fc9b8df034
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"
8 years ago
l10n daemon script
fa85921f5f
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"
8 years ago
l10n daemon script
4f41079669
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"
8 years ago
Friedrich W. H. Kossebau
36e53b5478
Update D-Bus xml annotation name from com.trolltech -> org.qtproject
8 years ago
Friedrich W. H. Kossebau
f6dad3c07b
Update D-Bus xml files to use "Out*" for signal type Qt annotations
...
Since Qt 5.6.3/5.7.1 qdbusxml2cpp favours as name for signals argument
annotations the name "org.qtproject.QtDBus.QtTypeName.Out*", matching
the "out" direction nature of the arguments.
".In*" is still supported for backward compat, but with a warning.
8 years ago
Friedrich W. H. Kossebau
3f863f8658
Remove unneeded moc file include
8 years ago
Friedrich W. H. Kossebau
cd3d63f43d
Prevent cmake 3.10+ warning with automoc & K_EXPORT_PLASMA_GEOLOCATIONPROVIDER
8 years ago
David Edmundson
3b4a81d2fd
Add license header to test
8 years ago
l10n daemon script
94d8fe26fb
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"
8 years ago
l10n daemon script
4b2e7975c7
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"
8 years ago
Luca Beltrame
0c6078a788
Add ECMMarkAsTest to dataengines/notifications
...
In some configurations and CMake versions, such as those used on the
Open Build System, it is not included, and configure fails
8 years ago
David Edmundson
5bc696b5ab
Sanitise notification HTML
...
Summary:
Qt labels support a HTML subset, using a completely internal parser in
QTextDocument.
The Notification spec support an even smaller subset of notification
elements.
It's important to strip out irrelevant tags that could potentially load
remote information without user interaction, such as img
src or even <b style="background:url...
But we want to maintain the basic rich text formatting of bold and
italics and links.
This parser iterates reads the XML, copying only permissable tags and
attributes.
A future obvious improvement would be to merge the original regular
expressions into this stream parser, but I'm trying to minimise
breakages to get this into 5.12.
Test Plan:
Moved code into it's own class for easy unit testing
Tried a bunch of things, including what the old regexes were doing
Also ran notify send with a few options to make sure things worked
Reviewers: #plasma, fvogt
Reviewed By: fvogt
Subscribers: aacid, fvogt, plasma-devel
Tags: #plasma
Differential Revision: https://phabricator.kde.org/D10188
8 years ago
l10n daemon script
265ab95965
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"
8 years ago
l10n daemon script
aee0a5cf06
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"
8 years ago
l10n daemon script
ccc944d570
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"
8 years ago
Laurent Montel
31421a6e5f
Use nullptr
8 years ago
l10n daemon script
d389cde75f
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"
8 years ago
l10n daemon script
6ea0292868
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"
8 years ago
Friedrich W. H. Kossebau
75a3b8d53f
[weather] Add optional "Observation Timestamp" to dataengine data
8 years ago
Friedrich W. H. Kossebau
4cff16d527
[weather] Use night icons for observation data where possible
...
As the time dataengine can no longer be queried sync in Plasma5 days,
do the needed async stateful dance.
8 years ago
Friedrich W. H. Kossebau
fb7b5c93af
[weather] Use range-based for loops
8 years ago
Friedrich W. H. Kossebau
971134a4d0
[weather] More const ref arg passing
8 years ago
Friedrich W. H. Kossebau
d179c64f06
[weather] UKMET: add some icon mapping, align order for day & night
8 years ago
Friedrich W. H. Kossebau
7950320894
[weather] Use initializer list for setting up lookup tables
8 years ago
Friedrich W. H. Kossebau
a5ed4c19a5
[weather] Use QHash for faster lookup
8 years ago
Friedrich W. H. Kossebau
5c7651ec6e
[weather] Avoid some repeated table-lookups
8 years ago
Friedrich W. H. Kossebau
5956f5ad2d
[weather] use multi-arg with strings
8 years ago
Friedrich W. H. Kossebau
9f914401cc
[weather] avoid some string allocations
8 years ago
Friedrich W. H. Kossebau
e17a7a86a7
[weather] use some Q_DECLARE_TYPEINFO
8 years ago
Friedrich W. H. Kossebau
32af7e8d98
[weather] QList -> QVector
8 years ago
Friedrich W. H. Kossebau
f3432b54d8
QDateTime::fromTime_t -> QDateTime::fromSecsSinceEpoch
8 years ago
Friedrich W. H. Kossebau
a4feb54dc9
Use more nullptr
8 years ago
Friedrich W. H. Kossebau
767484db9e
[weather] Dump old code for day/night calculation by time dataengine
...
Sync querying of the time dataengine is no longer possible,
also is the calculation of the elevation not depending on other data
then those passed in, so this is not really data hold by the time
data engine. Instead one would calculate the values needed on the fly.
Yet to solve: how to make direct use of the solarsystem code currently
part of the time dataengine only.
8 years ago
Friedrich W. H. Kossebau
b5ed2234d4
[weather] NOAA: remove unused m_dateFormat member
8 years ago
Friedrich W. H. Kossebau
79282fc593
[weather] ENVCAN: fix reading station coordinates
8 years ago
Friedrich W. H. Kossebau
0fae936b2a
[weather] ENVCAN: read complete observation time data
8 years ago
Friedrich W. H. Kossebau
587cb11b33
[weather] NOAA: read complete observation time data
8 years ago
Friedrich W. H. Kossebau
81a8c2fb87
[weather] UKMET: fix parsing of station location
8 years ago
Friedrich W. H. Kossebau
12d1d35f83
[weather] Remove unused iconPeriod* variables
8 years ago
Friedrich W. H. Kossebau
bfac9ca943
[weather] Do not abuse #warning for normal FIXME notes
8 years ago
l10n daemon script
1c8eb7a732
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"
8 years ago
l10n daemon script
c758248f4d
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"
8 years ago
l10n daemon script
5947632bd6
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"
8 years ago
l10n daemon script
29cde5f169
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"
8 years ago
l10n daemon script
4d909b239e
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"
8 years ago