D8919: Add explicit AppMenu protocol

2017-12-18 Thread David Edmundson
This revision was automatically updated to reflect the committed changes. Closed by commit R127:a0180f387eaf: Add explicit AppMenu protocol (authored by davidedmundson). Restricted Application edited projects, added Plasma; removed Plasma on Wayland. CHANGED PRIOR TO COMMIT https://phabricator.

D8919: Add explicit AppMenu protocol

2017-11-28 Thread Martin Flöser
graesslin accepted this revision. This revision is now accepted and ready to land. Restricted Application edited projects, added Plasma on Wayland; removed Plasma. REPOSITORY R127 KWayland BRANCH master REVISION DETAIL https://phabricator.kde.org/D8919 To: davidedmundson, #plasma, graessl

D8919: Add explicit AppMenu protocol

2017-11-28 Thread David Edmundson
davidedmundson updated this revision to Diff 23083. davidedmundson added a comment. Restricted Application edited projects, added Plasma; removed Plasma on Wayland. Add line in docs REPOSITORY R127 KWayland CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D8919?vs=22890&id=23083 BRA

D8919: Add explicit AppMenu protocol

2017-11-25 Thread Martin Flöser
graesslin added inline comments. Restricted Application edited projects, added Plasma on Wayland; removed Plasma. INLINE COMMENTS > appmenu.xml:37-38 > + > + > + > + Could you please add "The string must be encoded in latin-1". REPOSITORY R127 KWayland R

D8919: Add explicit AppMenu protocol

2017-11-24 Thread David Edmundson
davidedmundson updated this revision to Diff 22890. davidedmundson marked 8 inline comments as done. davidedmundson added a comment. Restricted Application edited projects, added Plasma; removed Plasma on Wayland. Docs++ REPOSITORY R127 KWayland CHANGES SINCE LAST UPDATE https://phabricat

D8919: Add explicit AppMenu protocol

2017-11-20 Thread Martin Flöser
graesslin added inline comments. INLINE COMMENTS > davidedmundson wrote in appmenu.cpp:178 > Wayland strings can be UTF-8 but DBus service names and object paths can only > be ASCII. > > I figured it was best to avoid any potential locale issues. Fair enough. I wasn't aware of the DBus restric

D8919: Add explicit AppMenu protocol

2017-11-20 Thread David Edmundson
davidedmundson added inline comments. INLINE COMMENTS > graesslin wrote in appmenu.cpp:178 > why toLatin1? I would expect a toUtf8? Wayland strings can be UTF-8 but DBus service names and object paths can only be ASCII. I figured it was best to avoid any potential locale issues. > graesslin w

D8919: Add explicit AppMenu protocol

2017-11-20 Thread Kai Uwe Broulik
broulik added a comment. lgtm REPOSITORY R127 KWayland REVISION DETAIL https://phabricator.kde.org/D8919 To: davidedmundson, #plasma Cc: broulik, graesslin, plasma-devel, #frameworks, leezu, ZrenBot, alexeymin, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, eliasp, sebas,

D8919: Add explicit AppMenu protocol

2017-11-20 Thread Martin Flöser
graesslin added a comment. Looks good, just a few minor comments. INLINE COMMENTS > appmenu.cpp:178 > +Q_ASSERT(isValid()); > +org_kde_kwin_appmenu_set_address(d->appmenu, serviceName.toLatin1(), > objectPath.toLatin1()); > +} why toLatin1? I would expect a toUtf8? > appmenu.xml:6-

D8919: Add explicit AppMenu protocol

2017-11-20 Thread David Edmundson
davidedmundson created this revision. davidedmundson added a reviewer: Plasma. Restricted Application added projects: Plasma on Wayland, Frameworks. Restricted Application added subscribers: Frameworks, plasma-devel. REVISION SUMMARY A protocol that attaches to a surface and contains two strings