Re: Review Request 115225: Add runtime platform support to KWindowInfo

2014-02-01 Thread Commit Hook
--- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/115225/#review48735 --- This review has been submitted with commit

Re: Review Request 115225: Add runtime platform support to KWindowInfo

2014-02-01 Thread Martin Gräßlin
--- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/115225/ --- (Updated Feb. 1, 2014, 8:03 a.m.) Status -- This change has been

Re: Review Request 115225: Add runtime platform support to KWindowInfo

2014-01-31 Thread Alex Merry
--- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/115225/#review48712 --- Ship it! I'm not a huge fan of the dark templating magic,

Re: Review Request 115225: Add runtime platform support to KWindowInfo

2014-01-28 Thread Martin Gräßlin
--- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/115225/ --- (Updated Jan. 29, 2014, 8:02 a.m.) Review request for KDE Frameworks and

Re: Review Request 115225: Add runtime platform support to KWindowInfo

2014-01-24 Thread Martin Gräßlin
--- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/115225/ --- (Updated Jan. 24, 2014, 9:04 a.m.) Review request for KDE Frameworks and

Re: Review Request 115225: Add runtime platform support to KWindowInfo

2014-01-24 Thread Alexander Richardson
--- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/115225/#review48200 --- Looks good to me, however I think someone else should give

Re: Review Request 115225: Add runtime platform support to KWindowInfo

2014-01-23 Thread Martin Gräßlin
--- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/115225/ --- (Updated Jan. 23, 2014, 9:09 a.m.) Review request for KDE Frameworks and

Re: Review Request 115225: Add runtime platform support to KWindowInfo

2014-01-23 Thread Alexander Richardson
--- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/115225/#review48124 --- Wouldn't this be easier using methods with the subclass as a

Re: Review Request 115225: Add runtime platform support to KWindowInfo

2014-01-23 Thread Alexander Richardson
On Jan. 23, 2014, 3:47 p.m., Alexander Richardson wrote: Wouldn't this be easier using methods with the subclass as a template parameter instead of the enum. I.e: class KWindowSystemPrivate { // template class Impl inline unsigned long state() const { // use a

Re: Review Request 115225: Add runtime platform support to KWindowInfo

2014-01-22 Thread David Edmundson
--- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/115225/#review48024 --- src/kwindowinfo_p.h

Re: Review Request 115225: Add runtime platform support to KWindowInfo

2014-01-22 Thread Martin Gräßlin
On Jan. 22, 2014, 2:39 p.m., David Edmundson wrote: src/kwindowinfo_p.h, line 80 https://git.reviewboard.kde.org/r/115225/diff/1/?file=235187#file235187line80 Why are we ref counting ourselves instead of just using QExplicitlySharedDataPointer? because it was that way in the old

Re: Review Request 115225: Add runtime platform support to KWindowInfo

2014-01-22 Thread Martin Gräßlin
--- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/115225/ --- (Updated Jan. 22, 2014, 3:03 p.m.) Review request for KDE Frameworks and

Re: Review Request 115225: Add runtime platform support to KWindowInfo

2014-01-22 Thread Aaron J. Seigo
--- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/115225/#review48044 --- Looks quite nice, other than the missing win/mac support

Re: Review Request 115225: Add runtime platform support to KWindowInfo

2014-01-22 Thread Aaron J. Seigo
On Jan. 22, 2014, 3:22 p.m., Aaron J. Seigo wrote: Looks quite nice, other than the missing win/mac support which you can do little about at this point. Use of the explicitly shared pointer approach is a simple and nice performance booster when passing these objects around (as

Re: Review Request 115225: Add runtime platform support to KWindowInfo

2014-01-22 Thread David Edmundson
--- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/115225/#review48048 --- QSharedData code looks right to me. Thanks.

Re: Review Request 115225: Add runtime platform support to KWindowInfo

2014-01-22 Thread Martin Gräßlin
On Jan. 22, 2014, 4:22 p.m., Aaron J. Seigo wrote: Looks quite nice, other than the missing win/mac support which you can do little about at this point. Use of the explicitly shared pointer approach is a simple and nice performance booster when passing these objects around (as

Re: Review Request 115225: Add runtime platform support to KWindowInfo

2014-01-22 Thread Martin Gräßlin
On Jan. 22, 2014, 4:32 p.m., David Edmundson wrote: src/kwindowinfo.cpp, line 191 https://git.reviewboard.kde.org/r/115225/diff/2/?file=235203#file235203line191 This seems wrong. KWindowInfo cheese; cheese.state(); //CRASH I kept the ctor as it's documented as