RESOLVED FIXED85607
[Qt] Qt support for new Layout types
https://bugs.webkit.org/show_bug.cgi?id=85607
Summary [Qt] Qt support for new Layout types
Allan Sandfeld Jensen
Reported 2012-05-04 05:09:19 PDT
New layout types has recently been added to replace IntPoint et al. The new types however does not yet support conversion to or from Qt datatypes like the old ones and can not be streamed to QDebug.
Attachments
Patch (12.97 KB, patch)
2012-05-04 05:16 PDT, Allan Sandfeld Jensen
no flags
Patch (11.62 KB, patch)
2012-05-11 01:02 PDT, Allan Sandfeld Jensen
no flags
Allan Sandfeld Jensen
Comment 1 2012-05-04 05:16:56 PDT
Early Warning System Bot
Comment 2 2012-05-04 05:49:59 PDT
Kenneth Rohde Christiansen
Comment 3 2012-05-04 05:54:44 PDT
Comment on attachment 140194 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=140194&action=review > Source/WebCore/platform/graphics/qt/FractionalLayoutPointQt.cpp:2 > + * Copyright (C) 2006 Zack Rusin <zack@kde.org> I wonder how much of this code is actually by Zack, if any? > Source/WebCore/platform/graphics/qt/FractionalLayoutSizeQt.cpp:37 > +FractionalLayoutSize::FractionalLayoutSize(const QSizeF& r) Doesn't size make more sense than r > Source/WebCore/platform/graphics/qt/FractionalLayoutSizeQt.cpp:50 > +// vim: ts=4 sw=4 et Are we supposed to add this? I think we should leave it out
Allan Sandfeld Jensen
Comment 4 2012-05-04 06:00:32 PDT
(In reply to comment #3) > (From update of attachment 140194 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=140194&action=review > > > Source/WebCore/platform/graphics/qt/FractionalLayoutPointQt.cpp:2 > > + * Copyright (C) 2006 Zack Rusin <zack@kde.org> > > I wonder how much of this code is actually by Zack, if any? > I copied the files from the similar versions of IntSomethingQt.cpp, the copyright is just copied from there and updated. The code is boiler plate enough that copyright probably doesn't matter though. > > Source/WebCore/platform/graphics/qt/FractionalLayoutSizeQt.cpp:37 > > +FractionalLayoutSize::FractionalLayoutSize(const QSizeF& r) > > Doesn't size make more sense than r > Makes sense. > > Source/WebCore/platform/graphics/qt/FractionalLayoutSizeQt.cpp:50 > > +// vim: ts=4 sw=4 et > > Are we supposed to add this? I think we should leave it out Okay, I was just copying the file.
Simon Hausmann
Comment 5 2012-05-09 00:45:01 PDT
Comment on attachment 140194 [details] Patch Taking this out of the review queue due to the EWS failure (missing #include?). Otherwise I think the patch is okay (modulo Kenneth's comments :)
Allan Sandfeld Jensen
Comment 6 2012-05-11 01:02:39 PDT
Simon Hausmann
Comment 7 2012-05-11 01:17:06 PDT
Comment on attachment 141346 [details] Patch let's wait for EWS results before landing
WebKit Review Bot
Comment 8 2012-05-11 07:10:43 PDT
Comment on attachment 141346 [details] Patch Clearing flags on attachment: 141346 Committed r116767: <http://trac.webkit.org/changeset/116767>
WebKit Review Bot
Comment 9 2012-05-11 07:10:47 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.