D27087: Add HEIF thumbnailer

2020-02-01 Thread Vlad Zahorodnii
zzag abandoned this revision. REPOSITORY R320 KIO Extras REVISION DETAIL https://phabricator.kde.org/D27087 To: zzag, #plasma Cc: broulik, ngraham, kde-frameworks-devel, kfm-devel, pberestov, iasensio, fprice, LeGast00n, MrPepe, fbampaloukas, alexde, GB_2, Codezela, feverfew, meven, michae

D27087: Add HEIF thumbnailer

2020-02-01 Thread Vlad Zahorodnii
zzag added a comment. In D27087#604477 , @ngraham wrote: > Very cool. So QImage supports this file format now such that you could open the image in, say, Gwenview? No, as far as I know there is no `QImageIOHandler` for HEIF files. However

D27087: Add HEIF thumbnailer

2020-02-01 Thread Vlad Zahorodnii
zzag updated this revision to Diff 74836. zzag added a comment. missing copyright stuff in Findlibheif.cmake REPOSITORY R320 KIO Extras CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D27087?vs=74835&id=74836 BRANCH heic-thumbnailer REVISION DETAIL https://phabricator.kde.org/

D27087: Add HEIF thumbnailer

2020-02-01 Thread Vlad Zahorodnii
zzag edited the test plan for this revision. REPOSITORY R320 KIO Extras REVISION DETAIL https://phabricator.kde.org/D27087 To: zzag, #plasma Cc: kde-frameworks-devel, kfm-devel, pberestov, iasensio, fprice, LeGast00n, MrPepe, fbampaloukas, alexde, GB_2, Codezela, feverfew, meven, michaelh,

D27087: Add HEIF thumbnailer

2020-02-01 Thread Vlad Zahorodnii
zzag created this revision. zzag added a reviewer: Plasma. Herald added projects: Dolphin, Frameworks. Herald added subscribers: kfm-devel, kde-frameworks-devel. zzag requested review of this revision. REPOSITORY R320 KIO Extras BRANCH heic-thumbnailer REVISION DETAIL https://phabricator.k

D26503: [Dialog Shadows] Port to KWindowSystem shadows API

2020-01-29 Thread Vlad Zahorodnii
zzag updated this revision to Diff 74590. zzag added a comment. s/const QWindow/QWindow/ REPOSITORY R242 Plasma Framework (Library) CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D26503?vs=74098&id=74590 BRANCH port-to-shadows-api REVISION DETAIL https://phabricator.kde.org/D

D26960: RFC: [KWindowShadows] Check for X connection

2020-01-28 Thread Vlad Zahorodnii
zzag accepted this revision. This revision is now accepted and ready to land. REPOSITORY R278 KWindowSystem REVISION DETAIL https://phabricator.kde.org/D26960 To: broulik, #plasma, zzag Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns

D26858: Provide an implementation for the tablet interface

2020-01-28 Thread Vlad Zahorodnii
zzag accepted this revision. zzag added a subscriber: davidedmundson. zzag added a comment. This revision is now accepted and ready to land. Code-wise, this change looks good. I don't have a tablet device to test this patch so you may want to wait for a +1 from @davidedmundson. INLINE COMMENT

D26858: Provide an implementation for the tablet interface

2020-01-27 Thread Vlad Zahorodnii
zzag added a comment. Looks good to me. There are still many coding style issues. I suggest to run `clang-format` over individual files in this patch and then adjust the most problematic places (I don't think there are that many). You could borrow a `.clang-format` file from https://git

Re: Introducing SPDX License Headers

2020-01-26 Thread Vlad Zahorodnii
Hi, On 1/26/20 7:59 PM, Andreas Cord-Landwehr wrote: Does this approach sound reasonable? If anybody wants to review my conversion tool and the license-header-to-SPDX-translations, I am happy for feedback! +1 It appears like the SPDX markers are not used in the source code of your licensedig

D26858: Provide an implementation for the tablet interface

2020-01-23 Thread Vlad Zahorodnii
zzag requested changes to this revision. zzag added inline comments. This revision now requires changes to proceed. INLINE COMMENTS > test_tablet_interface.cpp:227 > +QCOMPARE(m_surfaces.count(), 3); > +for (SurfaceInterface* surface : m_surfaces) { > +m_tool->setCurrentSurface(su

D26858: Provide an implementation for the tablet interface

2020-01-23 Thread Vlad Zahorodnii
zzag requested changes to this revision. zzag added inline comments. This revision now requires changes to proceed. INLINE COMMENTS > test_tablet_interface.cpp:2 > +/ > +Copyright 2014 Martin Gräßlin > + Haven't you written th

D26503: [Dialog Shadows] Port to KWindowSystem shadows API

2020-01-22 Thread Vlad Zahorodnii
zzag updated this revision to Diff 74098. zzag added a comment. Specify the parent object REPOSITORY R242 Plasma Framework (Library) CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D26503?vs=73010&id=74098 BRANCH port-to-shadows-api REVISION DETAIL https://phabricator.kde.org/

D26491: [Plasma Quick] Add WaylandIntegration class

2020-01-21 Thread Vlad Zahorodnii
This revision was automatically updated to reflect the committed changes. Closed by commit R242:f5f43514af0d: [Plasma Quick] Add WaylandIntegration class (authored by zzag). CHANGED PRIOR TO COMMIT https://phabricator.kde.org/D26491?vs=72969&id=74068#toc REPOSITORY R242 Plasma Framework (Lib

D26457: Introduce shadows API

2020-01-21 Thread Vlad Zahorodnii
This revision was automatically updated to reflect the committed changes. Closed by commit R278:493452e98f99: Introduce shadows API (authored by zzag). REPOSITORY R278 KWindowSystem CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D26457?vs=74055&id=74060 REVISION DETAIL https://phabr

D26457: Introduce shadows API

2020-01-21 Thread Vlad Zahorodnii
zzag updated this revision to Diff 74055. zzag added a comment. Set padding of 1 for missing borders REPOSITORY R278 KWindowSystem CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D26457?vs=73733&id=74055 BRANCH kwindowshadow REVISION DETAIL https://phabricator.kde.org/D26457

Re: Updating our coding conventions and coding style for C++11

2020-01-17 Thread Vlad Zahorodnii
On 1/17/20 12:27 AM, David Faure wrote: > On jeudi 16 janvier 2020 18:29:11 CET Vlad Zahorodnii wrote: >> I would like us to copy Qt's policy [1] for consistency: > > OK, please do. Done. Please notice that I did not annotate auto keywords with '*'. Once we have

Re: Updating our coding conventions and coding style for C++11

2020-01-17 Thread Vlad Zahorodnii
On 1/16/20 7:29 PM, Vlad Zahorodnii wrote: > The common practice used in KDE seems to be: > > for (a:b) Alright, it looks like we all agree on this one, so I'm going to update the Frameworks Coding Style.

Re: Updating our coding conventions and coding style for C++11

2020-01-17 Thread Vlad Zahorodnii
On 1/16/20 7:46 PM, Kai Uwe Broulik wrote: > for "auto" I think we should always annotate it with const, *, and/or & > where appropriate: > > auto *something = new MyCustomType; > auto *keyEvent = static_cast(event); > const auto myList = QStringList({QLatin1String("FooThing"), > QLatin1String("

Re: Updating our coding conventions and coding style for C++11

2020-01-17 Thread Vlad Zahorodnii
On 1/17/20 12:46 AM, Kai Uwe Broulik wrote: > It provides useful visual information. > > auto foo = bar(); > auto baz = &bla; I don't think that you should use auto in either case since it's not clear what type foo and baz have. Cheers, Vlad

D26457: Introduce shadows API

2020-01-16 Thread Vlad Zahorodnii
zzag updated this revision to Diff 73733. zzag added a comment. Update doc. REPOSITORY R278 KWindowSystem CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D26457?vs=73728&id=73733 BRANCH kwindowshadow REVISION DETAIL https://phabricator.kde.org/D26457 AFFECTED FILES src/CMak

D26457: Introduce shadows API

2020-01-16 Thread Vlad Zahorodnii
zzag updated this revision to Diff 73728. zzag added a comment. No `noexcept` `noexcept` is a very rare thing to see in KF code so let's not deviate too much. REPOSITORY R278 KWindowSystem CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D26457?vs=73352&id=73728 BRANCH kwind

Updating our coding conventions and coding style for C++11

2020-01-16 Thread Vlad Zahorodnii
Hi, I would like to update our coding conventions https://community.kde.org/Policies/Library_Code_Policy. The auto keyword is not mentioned leading to it being a common point of contention in reviews as we can't point to a reference. I would like us to copy Qt's policy [1] for consistency: Opti

D26633: Deprecate KWindowEffects::markAsDashboard()

2020-01-15 Thread Vlad Zahorodnii
This revision was automatically updated to reflect the committed changes. Closed by commit R278:181d4f31f5c7: Deprecate KWindowEffects::markAsDashboard() (authored by zzag). REPOSITORY R278 KWindowSystem CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D26633?vs=73440&id=73655 REVISION

D24629: RFC: Introduce KClockSkewNotifier class

2020-01-13 Thread Vlad Zahorodnii
zzag updated this revision to Diff 73471. zzag added a comment. Fix a typo. REPOSITORY R244 KCoreAddons CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D24629?vs=73158&id=73471 BRANCH kclockskewnotifier REVISION DETAIL https://phabricator.kde.org/D24629 AFFECTED FILES src/l

D26633: Deprecate KWindowEffects::markAsDashboard()

2020-01-13 Thread Vlad Zahorodnii
zzag marked an inline comment as done. REPOSITORY R278 KWindowSystem BRANCH deprecate-dashboard REVISION DETAIL https://phabricator.kde.org/D26633 To: zzag, #kwin, apol Cc: apol, kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns

D26633: Deprecate KWindowEffects::markAsDashboard()

2020-01-13 Thread Vlad Zahorodnii
zzag updated this revision to Diff 73440. zzag added a comment. Add `@deprecated since` REPOSITORY R278 KWindowSystem CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D26633?vs=73436&id=73440 BRANCH deprecate-dashboard REVISION DETAIL https://phabricator.kde.org/D26633 AFFECTE

D26633: Deprecate KWindowEffects::markAsDashboard()

2020-01-13 Thread Vlad Zahorodnii
zzag created this revision. zzag added a reviewer: KWin. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. zzag requested review of this revision. REVISION SUMMARY "Support" for dashboard windows in KWin was removed long time ago. REPOSITORY R278 KWindowSyst

D26457: Introduce shadows API

2020-01-12 Thread Vlad Zahorodnii
zzag retitled this revision from "Introduce shadow API" to "Introduce shadows API". REPOSITORY R278 KWindowSystem REVISION DETAIL https://phabricator.kde.org/D26457 To: zzag, #kwin Cc: davidedmundson, kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns

D26457: Introduce shadow API

2020-01-12 Thread Vlad Zahorodnii
zzag updated this revision to Diff 73352. zzag added a comment. - Make KWindowShadow a QObject subclass (for memory management) - Clarify that it is okay to call destroy() after window() had been removed - Check whether QWindow has QPlatformWindow associated with it REPOSITORY R278 KWind

D24629: RFC: Introduce KClockSkewNotifier class

2020-01-09 Thread Vlad Zahorodnii
zzag updated this revision to Diff 73158. zzag added a comment. Build with older versions of glibc. See D26553 REPOSITORY R244 KCoreAddons CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D24629?vs=72993&id=73158 BRANCH kclockskewnotifier REV

D26503: [Dialog Shadows] Port to KWindowSystem shadows API

2020-01-07 Thread Vlad Zahorodnii
zzag retitled this revision from "[WIP] [Dialog Shadows] Port to KWindowSystem shadows API" to "[Dialog Shadows] Port to KWindowSystem shadows API". REPOSITORY R242 Plasma Framework (Library) REVISION DETAIL https://phabricator.kde.org/D26503 To: zzag, #plasma Cc: kde-frameworks-devel, LeGa

D26491: [Plasma Quick] Add WaylandIntegration class

2020-01-07 Thread Vlad Zahorodnii
zzag added a dependent revision: D26503: [WIP] [Dialog Shadows] Port to KWindowSystem shadows API. REPOSITORY R242 Plasma Framework (Library) REVISION DETAIL https://phabricator.kde.org/D26491 To: zzag, #plasma Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns

D26503: [WIP] [Dialog Shadows] Port to KWindowSystem shadows API

2020-01-07 Thread Vlad Zahorodnii
zzag added a dependency: D26491: [Plasma Quick] Add WaylandIntegration class. REPOSITORY R242 Plasma Framework (Library) REVISION DETAIL https://phabricator.kde.org/D26503 To: zzag, #plasma Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns

D26503: [WIP] [Dialog Shadows] Port to KWindowSystem shadows API

2020-01-07 Thread Vlad Zahorodnii
zzag added a task: T12496: Shadows API in KWindowSystem. REPOSITORY R242 Plasma Framework (Library) REVISION DETAIL https://phabricator.kde.org/D26503 To: zzag, #plasma Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns

D26503: [WIP] [Dialog Shadows] Port to KWindowSystem shadows API

2020-01-07 Thread Vlad Zahorodnii
zzag created this revision. zzag added a reviewer: Plasma. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. zzag requested review of this revision. TEST PLAN Run `qmlscene tests/dialog.qml` REPOSITORY R242 Plasma Framework (Library) BRANCH port-to-shadow

D24629: RFC: Introduce KClockSkewNotifier class

2020-01-07 Thread Vlad Zahorodnii
zzag added a comment. The KWin patch has landed. Can we proceed now? REPOSITORY R244 KCoreAddons REVISION DETAIL https://phabricator.kde.org/D24629 To: zzag, #frameworks Cc: apol, davidedmundson, kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns

D24629: RFC: Introduce KClockSkewNotifier class

2020-01-07 Thread Vlad Zahorodnii
zzag updated this revision to Diff 72993. zzag added a comment. Rename signal. REPOSITORY R244 KCoreAddons CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D24629?vs=67889&id=72993 BRANCH kclockskewnotifier REVISION DETAIL https://phabricator.kde.org/D24629 AFFECTED FILES sr

D26491: [Plasma Quick] Add WaylandIntegration class

2020-01-07 Thread Vlad Zahorodnii
zzag updated this revision to Diff 72969. zzag added a comment. Rename a function. REPOSITORY R242 Plasma Framework (Library) CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D26491?vs=72968&id=72969 BRANCH port-to-shadows-api REVISION DETAIL https://phabricator.kde.org/D26491

D26491: [Plasma Quick] Add WaylandIntegration class

2020-01-07 Thread Vlad Zahorodnii
zzag updated this revision to Diff 72968. zzag added a comment. Update logs. REPOSITORY R242 Plasma Framework (Library) CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D26491?vs=72967&id=72968 BRANCH port-to-shadows-api REVISION DETAIL https://phabricator.kde.org/D26491 AFFEC

D26491: [Plasma Quick] Add WaylandIntegration class

2020-01-07 Thread Vlad Zahorodnii
zzag edited the summary of this revision. REPOSITORY R242 Plasma Framework (Library) REVISION DETAIL https://phabricator.kde.org/D26491 To: zzag, #plasma Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns

D26491: [Plasma Quick] Add WaylandIntegration class

2020-01-07 Thread Vlad Zahorodnii
zzag created this revision. zzag added a reviewer: Plasma. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. zzag requested review of this revision. REVISION SUMMARY It allows us to get rid of DialogShadows::plasmaShellInterface(). REPOSITORY R242 Plasma Fra

D26491: [Plasma Quick] Add WaylandIntegration class

2020-01-07 Thread Vlad Zahorodnii
zzag added a task: T12496: Shadows API in KWindowSystem. REPOSITORY R242 Plasma Framework (Library) REVISION DETAIL https://phabricator.kde.org/D26491 To: zzag, #plasma Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns

D24629: RFC: Introduce KClockSkewNotifier class

2020-01-06 Thread Vlad Zahorodnii
zzag reclaimed this revision. zzag added a comment. D25962 adds one usage of (K)ClockSkewNotifier in KWin. REPOSITORY R244 KCoreAddons REVISION DETAIL https://phabricator.kde.org/D24629 To: zzag, #frameworks Cc: apol, davidedmundson, kde-frameworks-d

D26457: Introduce shadow API

2020-01-06 Thread Vlad Zahorodnii
zzag added inline comments. INLINE COMMENTS > zzag wrote in kwindowshadow.h:201 > Oh, that one... Yeah, perhaps it will be worth to handle surface > creation/destruction in kwayland-integration. Okay, looks like it's do-able. However, we would need to call `QWidget::winId()` in `Breeze::Shadow

D26457: Introduce shadow API

2020-01-06 Thread Vlad Zahorodnii
zzag added inline comments. INLINE COMMENTS > davidedmundson wrote in kwindowshadow.h:201 > kwayland-integration > > 0a0c3f23fce265f36e5b8fb2b4b8bd311c7c1beb > > src/windowsystem/windoweffects.cpp Oh, that one... Yeah,

D26457: Introduce shadow API

2020-01-06 Thread Vlad Zahorodnii
zzag added inline comments. INLINE COMMENTS > davidedmundson wrote in kwindowshadow.h:201 > For KWindowEffects I did put window tracking into the wayland plugin and it > improved the readability of all the client code considerably. > > I would recommend looking at doing so, especially as we cou

D26457: Introduce shadow API

2020-01-06 Thread Vlad Zahorodnii
zzag updated this revision to Diff 72880. zzag added a comment. Remove pointless default member initializers in KWindowShadowPrivate. REPOSITORY R278 KWindowSystem CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D26457?vs=72862&id=72880 BRANCH kwindowshadow REVISION DETAIL htt

D26457: Introduce shadow API

2020-01-06 Thread Vlad Zahorodnii
zzag added a task: T12496: Shadows API in KWindowSystem. REPOSITORY R278 KWindowSystem REVISION DETAIL https://phabricator.kde.org/D26457 To: zzag, #kwin Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns

D26457: Introduce shadow API

2020-01-06 Thread Vlad Zahorodnii
zzag created this revision. zzag added a reviewer: KWin. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. zzag requested review of this revision. REVISION SUMMARY The new API provides a platform-independent way for setting drop-shadows on a window. X11 and W

D25708: Don't use nullptr to flags

2019-12-03 Thread Vlad Zahorodnii
zzag accepted this revision. zzag added a comment. This revision is now accepted and ready to land. > IT seems that it was a error during modernize code by using nullptr Yeah, we had the same issue with running modernize-use-nullptr over kwin's code base. REPOSITORY R127 KWayland REVI

D24657: Add support for _GTK_FRAME_EXTENTS

2019-11-27 Thread Vlad Zahorodnii
zzag closed this revision. REPOSITORY R278 KWindowSystem REVISION DETAIL https://phabricator.kde.org/D24657 To: zzag, #kwin, davidedmundson Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns

D23745: [server] Make double-buffered properties in xdg-shell double-buffered

2019-11-27 Thread Vlad Zahorodnii
This revision was not accepted when it landed; it landed in state "Needs Review". This revision was automatically updated to reflect the committed changes. Closed by commit R127:d0b3eab864a2: [server] Make double-buffered properties in xdg-shell double-buffered (authored by zzag). CHANGED PRIOR

D20261: Fix Plasma themes' quassel icon to match current quassel icon names

2019-11-18 Thread Vlad Zahorodnii
zzag added a comment. In D20261#443859 , @broulik wrote: > This is a bug in Quassel, a violation of the FDO spec, it should have ebeen `quassel-tray-inactive` or something See https://github.com/quassel/quassel/pull/515 REPOSITORY R242

D25184: Define property X-Plasma-MainScript for Plasma/Wallpaper

2019-11-07 Thread Vlad Zahorodnii
zzag abandoned this revision. zzag added a comment. Okay, I see. REPOSITORY R242 Plasma Framework (Library) REVISION DETAIL https://phabricator.kde.org/D25184 To: zzag, #plasma Cc: davidedmundson, kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns

D25184: Define property X-Plasma-MainScript for Plasma/Wallpaper

2019-11-06 Thread Vlad Zahorodnii
zzag retitled this revision from "Add property definition for "X-Plasma-MainScript" for Plasma/Wallpaper" to "Define property X-Plasma-MainScript for Plasma/Wallpaper". REPOSITORY R242 Plasma Framework (Library) REVISION DETAIL https://phabricator.kde.org/D25184 To: zzag, #plasma Cc: kde-f

D25184: Add property definition for "X-Plasma-MainScript" for Plasma/Wallpaper

2019-11-06 Thread Vlad Zahorodnii
zzag created this revision. zzag added a reviewer: Plasma. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. zzag requested review of this revision. REVISION SUMMARY This commit fixes `Unknown property type for key "X-Plasma-MainScript"` warning that pops up

D24826: Enforce 100 chars line width

2019-10-21 Thread Vlad Zahorodnii
zzag added a comment. I suggest to set ColumnLimit to 0 by default and allow projects to override it. REPOSITORY R240 Extra CMake Modules REVISION DETAIL https://phabricator.kde.org/D24826 To: romangg, #frameworks, cullmann Cc: zzag, kde-frameworks-devel, kde-buildsystem, LeGast00n, GB_

D24657: Add support for _GTK_FRAME_EXTENTS

2019-10-21 Thread Vlad Zahorodnii
zzag removed a dependent revision: D24660: [x11] Add support for _GTK_FRAME_EXTENTS. REPOSITORY R278 KWindowSystem REVISION DETAIL https://phabricator.kde.org/D24657 To: zzag, #kwin Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns

D24663: Use ECMGenerateExportHeader to manage deprecated API better

2019-10-21 Thread Vlad Zahorodnii
zzag added a comment. In D24663#549764 , @kossebau wrote: > @zzag Hi. Any chance you can have time to review this today/the WE? One of the last ECMGenerateExportHeader patches. Hi, sorry for the late response. Yes, I think this change is/

D24568: Provide clang-format target with a KDE Frameworks style file

2019-10-17 Thread Vlad Zahorodnii
zzag added inline comments. INLINE COMMENTS > dfaure wrote in clang-format.cmake:75 > typo: ternary I've been always wondering how one should break long ternary operators when writing KF code. There are several ways to do it (a) w/o breaking (BreakBeforeTernaryOperators: false) const FooBar

D24663: Use ECMGenerateExportHeader to manage deprecated API better

2019-10-16 Thread Vlad Zahorodnii
zzag edited reviewers, added: KWin; removed: Plasma. REPOSITORY R127 KWayland REVISION DETAIL https://phabricator.kde.org/D24663 To: kossebau, #kwin, #plasma Cc: zzag, kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns

D24663: Use ECMGenerateExportHeader to manage deprecated API better

2019-10-16 Thread Vlad Zahorodnii
zzag added inline comments. INLINE COMMENTS > plasmawindowmanagement_interface.cpp:741 > > -#ifndef KWAYLANDSERVER_NO_DEPRECATED > void PlasmaWindowInterface::setVirtualDesktop(quint32 desktop) Hmm, PlasmaWindowInterface::setVirtualDesktop is wrapped in KWAYLANDSERVER_ENABLE_DEPRECATED_SINCE

D24657: Add support for _GTK_FRAME_EXTENTS

2019-10-15 Thread Vlad Zahorodnii
zzag removed a dependent revision: D24660: [x11] Add support for _GTK_FRAME_EXTENTS. REPOSITORY R278 KWindowSystem REVISION DETAIL https://phabricator.kde.org/D24657 To: zzag, #kwin Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns

D24657: Add support for _GTK_FRAME_EXTENTS

2019-10-15 Thread Vlad Zahorodnii
zzag added a dependent revision: D24660: [x11] Add support for _GTK_FRAME_EXTENTS. REPOSITORY R278 KWindowSystem REVISION DETAIL https://phabricator.kde.org/D24657 To: zzag, #kwin Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns

D24657: Add support for _GTK_FRAME_EXTENTS

2019-10-15 Thread Vlad Zahorodnii
zzag created this revision. zzag added a reviewer: KWin. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. zzag requested review of this revision. REVISION SUMMARY _GTK_FRAME_EXTENTS is a property set by the client that specifies extents of the client-side dr

D24629: RFC: Introduce KClockSkewNotifier class

2019-10-14 Thread Vlad Zahorodnii
zzag abandoned this revision. zzag added a comment. Okay REPOSITORY R244 KCoreAddons REVISION DETAIL https://phabricator.kde.org/D24629 To: zzag, #frameworks Cc: apol, davidedmundson, kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns

D24629: RFC: Introduce KClockSkewNotifier class

2019-10-14 Thread Vlad Zahorodnii
zzag created this revision. zzag added a reviewer: Frameworks. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. zzag requested review of this revision. REVISION SUMMARY The new class provides a way for monitoring system clock changes. This class can be usefu

D24465: Use ECMGenerateExportHeader to manage deprecated API better

2019-10-14 Thread Vlad Zahorodnii
zzag accepted this revision. This revision is now accepted and ready to land. REPOSITORY R278 KWindowSystem BRANCH useECMGenerateExportHeader REVISION DETAIL https://phabricator.kde.org/D24465 To: kossebau, #frameworks, #kwin, dfaure, zzag Cc: kde-frameworks-devel, LeGast00n, GB_2, michae

D24465: Use ECMGenerateExportHeader to manage deprecated API better

2019-10-10 Thread Vlad Zahorodnii
zzag added inline comments. INLINE COMMENTS > netwm_def.h:336-339 > /** > @deprecated has unclear meaning and is KDE-only > **/ > Override = 6, // NON STANDARD This one should be wrapped in `#if KWINDOWSYSTEM_ENABLE_DEPRECATED_SINCE(5, 0)`, right? REP

D24014: [KWayland] Port away from deprecated API in Qt 5.14

2019-09-17 Thread Vlad Zahorodnii
zzag accepted this revision. zzag added inline comments. This revision is now accepted and ready to land. INLINE COMMENTS > dfaure wrote in test_wayland_surface.cpp:396 > The "Almost Always Auto" crowd would disagree with you, but sure, your > choice. Done. Putting auto everywhere is a terrible

D24002: Sort files alphabetically in cmake list

2019-09-17 Thread Vlad Zahorodnii
zzag accepted this revision. This revision is now accepted and ready to land. REPOSITORY R127 KWayland BRANCH arcpatch-D24002 REVISION DETAIL https://phabricator.kde.org/D24002 To: gladhorn, #kwin, zzag Cc: zzag, kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns

D24014: [KWayland] Port away from deprecated API in Qt 5.14

2019-09-17 Thread Vlad Zahorodnii
zzag added inline comments. INLINE COMMENTS > test_wayland_surface.cpp:396 > > -wl_buffer *blackBuffer = *(m_shm->createBuffer(black).data()); > -auto redBuffer = m_shm->createBuffer(red); > +auto blackBufferPtr = m_shm->createBuffer(black).toStrongRef(); > +QVERIFY(blackBufferP

D24003: kwaylandScanner produce version enum per class

2019-09-16 Thread Vlad Zahorodnii
zzag added a comment. FYI, https://phabricator.kde.org/D22362#493722 INLINE COMMENTS > generator.cpp:431 > auto it = std::find_if(m_interfaces.constBegin(), > m_interfaces.constEnd(), [] (const Interface &i) { return i.isGlobal(); }); > -if (it != m_interfaces.constE

D24002: Sort files alphabetically in cmake list

2019-09-16 Thread Vlad Zahorodnii
zzag added inline comments. INLINE COMMENTS > CMakeLists.txt:49-50 > shell_interface.cpp > surface_interface.cpp > subcompositor_interface.cpp > textinput_interface.cpp Open vim, select all relevant lines in visual mode, and run sort command. REPOSITORY R127 KWayland REVI

D23917: Use const_iterator

2019-09-14 Thread Vlad Zahorodnii
zzag accepted this revision. This revision is now accepted and ready to land. REPOSITORY R127 KWayland BRANCH master REVISION DETAIL https://phabricator.kde.org/D23917 To: gladhorn, #kwin, zzag Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns

D23930: Set XCB to required if building the X backend

2019-09-13 Thread Vlad Zahorodnii
zzag accepted this revision. This revision is now accepted and ready to land. REPOSITORY R278 KWindowSystem BRANCH master REVISION DETAIL https://phabricator.kde.org/D23930 To: davidedmundson, zzag Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns

D23915: Add some docstrings

2019-09-13 Thread Vlad Zahorodnii
zzag added inline comments. INLINE COMMENTS > dpms.h:44 > * > + * Display Power Management Signaling allows power management for monitors. > + * Not sure that this is valid documentation for org_kde_kwin_dpms_manager because it's nothing more but a factory. > dpms_interface.h:38-41 > + * Dis

D23917: Use const_iterator

2019-09-12 Thread Vlad Zahorodnii
zzag added a comment. In D23917#530297 , @broulik wrote: > If the container is `const` already there's no real reason to explicitly use `constBegin` which is effectively the same Yes, however it's still a good idea to be explicit about it

D23917: Use const_iterator

2019-09-12 Thread Vlad Zahorodnii
zzag added inline comments. INLINE COMMENTS > registry.cpp:879 > }); > if (it == m_interfaces.end()) { > qCDebug(KWAYLAND_CLIENT) << "Don't have interface " << > int(interface) << "with name " << name << "and minimum version" << version; constEnd REPOSITORY R127 KWayland

D23917: Use const_iterator

2019-09-12 Thread Vlad Zahorodnii
zzag added inline comments. INLINE COMMENTS > output_interface.cpp:119 > +auto rit = std::find_if(resources.constBegin(), > resources.constEnd(), [native] (const ResourceData &data) { return > data.resource == native; }); > if (rit != resources.end()) { > return (*

D23916: Remove capture of this in lambda

2019-09-12 Thread Vlad Zahorodnii
zzag accepted this revision. This revision is now accepted and ready to land. REPOSITORY R127 KWayland BRANCH master REVISION DETAIL https://phabricator.kde.org/D23916 To: gladhorn, #kwin, zzag Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns

<    1   2