Re: [Development] Requesting forward BC exception for QtWaylandCompositor in 6.2 and 5.15

2022-02-25 Thread Marc Mutz
-project.org Subject: Re: [Development] Requesting forward BC exception for QtWaylandCompositor in 6.2 and 5.15 On Monday, 21 February 2022 23:03:52 PST Marc Mutz wrote: > Can we have a decision here? The windows for 6.2.4 as well as 6.3 are > closing. After considering multiple solutions, I'm

Re: [Development] Requesting forward BC exception for QtWaylandCompositor in 6.2 and 5.15

2022-02-22 Thread Thiago Macieira
On Monday, 21 February 2022 23:03:52 PST Marc Mutz wrote: > Can we have a decision here? The windows for 6.2.4 as well as 6.3 are > closing. After considering multiple solutions, I'm favouring a clean > solution as per https://codereview.qt-project.org/c/qt/qtwayland/+/395784 > (will require massag

Re: [Development] Requesting forward BC exception for QtWaylandCompositor in 6.2 and 5.15

2022-02-21 Thread Marc Mutz
and move on. Thanks, Marc From: Development on behalf of Lars Knoll Sent: Thursday, February 17, 2022 9:01 AM To: Macieira, Thiago Cc: Qt development mailing list Subject: Re: [Development] Requesting forward BC exception for QtWaylandCompositor in 6.2 and 5.15 > O

Re: [Development] Requesting forward BC exception for QtWaylandCompositor in 6.2 and 5.15

2022-02-17 Thread Thiago Macieira
On Thursday, 17 February 2022 02:53:11 PST Marc Mutz wrote: > 2. that brings up back to The Other Discussion™, about C++20 types in the > ABI, which isn't really about C++20 types, after all, but about symbols > only C++20 code would need/could use > > I'm not sure where we left off on (2), but

Re: [Development] Requesting forward BC exception for QtWaylandCompositor in 6.2 and 5.15

2022-02-17 Thread Marc Mutz
Hi Thiago, > By the way, how often is this done? What's the exposure in the real world? Does FTBFS of qtwayland count? 🙂 IOW: Clang and GCC found this one for me, I didn't look. > The pre-6.3 implementation could be #if __cplusplus <= 2020 Two comments: 1. possibly, with __cpp_impl_thr

Re: [Development] Requesting forward BC exception for QtWaylandCompositor in 6.2 and 5.15

2022-02-17 Thread Lars Knoll
> On 16 Feb 2022, at 18:10, Thiago Macieira wrote: > > On Tuesday, 15 February 2022 07:54:07 PST Marc Mutz wrote: >> https://bugreports.qt.io/browse/QTBUG-100845 >> >> The QWaylandBufferRef class has a very annoying bug in that its relational >> operators cannot compare `const` objects (only on

Re: [Development] Requesting forward BC exception for QtWaylandCompositor in 6.2 and 5.15

2022-02-16 Thread Thiago Macieira
On Tuesday, 15 February 2022 07:54:07 PST Marc Mutz wrote: > https://bugreports.qt.io/browse/QTBUG-100845 > > The QWaylandBufferRef class has a very annoying bug in that its relational > operators cannot compare `const` objects (only on the RHS). That's because > these operators are implemented as

Re: [Development] Requesting forward BC exception for QtWaylandCompositor in 6.2 and 5.15

2022-02-16 Thread Thiago Macieira
On Wednesday, 16 February 2022 00:53:41 PST Albert Astals Cid wrote: > [2]: Before you say "you could if you sign a few more NDAs and stuff", > realize that by saying that you would be agreeing that normal The Qt > Project people can't contribute to those LTS releases and only those that > sign ext

Re: [Development] Requesting forward BC exception for QtWaylandCompositor in 6.2 and 5.15

2022-02-16 Thread Marc Mutz
s/that the/that this is the only workable solution/ From: Marc Mutz Sent: Wednesday, February 16, 2022 11:20 AM To: Lars Knoll Cc: Qt development mailing list Subject: Re: [Development] Requesting forward BC exception for QtWaylandCompositor in 6.2 and 5.15

Re: [Development] Requesting forward BC exception for QtWaylandCompositor in 6.2 and 5.15

2022-02-16 Thread Marc Mutz
anks, Marc From: Marc Mutz Sent: Wednesday, February 16, 2022 9:37 AM To: Lars Knoll Cc: Qt development mailing list Subject: Re: [Development] Requesting forward BC exception for QtWaylandCompositor in 6.2 and 5.15 Hi Lars, > * Is there a work-around for the developers with the

Re: [Development] Requesting forward BC exception for QtWaylandCompositor in 6.2 and 5.15

2022-02-16 Thread Albert Astals Cid
El dimarts, 15 de febrer de 2022, a les 19:58:05 (CET), Andreas Aardal Hanssen va escriure: > On Tue, Feb 15, 2022, at 19:46, Thiago Macieira wrote: > > On Tuesday, 15 February 2022 09:34:35 PST Marc Mutz wrote: > > > 6.2 is an LTS release, is it not? > > > > Not from my point of view, it isn't.

Re: [Development] Requesting forward BC exception for QtWaylandCompositor in 6.2 and 5.15

2022-02-16 Thread Marc Mutz
Hi Lars, > * Is there a work-around for the developers with the current state, e.g. by > adding some casts? There are two situations here: * those that control the creation of the QWaylandBufferRef objects can just choose to not make the LHS const, swapping RHS and LHS if need be (as all

Re: [Development] Requesting forward BC exception for QtWaylandCompositor in 6.2 and 5.15

2022-02-16 Thread Allan Sandfeld Jensen
On Mittwoch, 16. Februar 2022 01:21:16 CET Thiago Macieira wrote: > On Tuesday, 15 February 2022 11:37:30 PST Giuseppe D'Angelo via Development > > wrote: > > First and foremost, does anyone know whether QtWayland is under any BC > > promise at all? > > The question must be turned around: does an

Re: [Development] Requesting forward BC exception for QtWaylandCompositor in 6.2 and 5.15

2022-02-16 Thread Lars Knoll
Hi Marc, Two questions: * Is there a work-around for the developers with the current state, e.g. by adding some casts? * Could you add the missing operators inline, so they don’t add new symbols? Cheers, Lars On 15 Feb 2022, at 16:54, Marc Mutz mailto:marc.m...@qt.io>> wrote: Hi, https://bu

Re: [Development] Requesting forward BC exception for QtWaylandCompositor in 6.2 and 5.15

2022-02-15 Thread Kai Köhne
> -Original Message- > From: Development On Behalf Of > Giuseppe D'Angelo via Development > [...] > For instance, QtTestLib is not under BC promises. Various modules in their > "Tech preview" state weren't. I really don't know about the specific module... This is tracked in https://doc.qt

Re: [Development] Requesting forward BC exception for QtWaylandCompositor in 6.2 and 5.15

2022-02-15 Thread Giuseppe D'Angelo via Development
On 16/02/2022 01:21, Thiago Macieira wrote: On Tuesday, 15 February 2022 11:37:30 PST Giuseppe D'Angelo via Development wrote: First and foremost, does anyone know whether QtWayland is under any BC promise at all? The question must be turned around: does anyone know of an explicit exception to

Re: [Development] Requesting forward BC exception for QtWaylandCompositor in 6.2 and 5.15

2022-02-15 Thread Thiago Macieira
On Tuesday, 15 February 2022 11:37:30 PST Giuseppe D'Angelo via Development wrote: > First and foremost, does anyone know whether QtWayland is under any BC > promise at all? The question must be turned around: does anyone know of an explicit exception to BC? Because if there isn't one, then it

Re: [Development] Requesting forward BC exception for QtWaylandCompositor in 6.2 and 5.15

2022-02-15 Thread Giuseppe D'Angelo via Development
On 15/02/2022 16:54, Marc Mutz wrote: So, I'd like to ask for permission to add the full set of {mut, const} Ă— {==, !=} Ă— {mut, const} to 6.2 and 5.15 (two are present, so six are missing), and then rebasing https://codereview.qt-project.org/c/qt/qtwayland/+/395784

Re: [Development] Requesting forward BC exception for QtWaylandCompositor in 6.2 and 5.15

2022-02-15 Thread Thiago Macieira
On Tuesday, 15 February 2022 10:46:15 PST Thiago Macieira wrote: > On Tuesday, 15 February 2022 09:34:35 PST Marc Mutz wrote: > > 6.2 is an LTS release, is it not? > > Not from my point of view, it isn't. Let's do it this way: 6.2.4 branching starts on Monday Feb 21st. So don't merge your patch

Re: [Development] Requesting forward BC exception for QtWaylandCompositor in 6.2 and 5.15

2022-02-15 Thread Andreas Aardal Hanssen
On Tue, Feb 15, 2022, at 19:46, Thiago Macieira wrote: > On Tuesday, 15 February 2022 09:34:35 PST Marc Mutz wrote: > > 6.2 is an LTS release, is it not? > > Not from my point of view, it isn't. *cough* *cough* Can this be commented officially by the chief maintainer? Andreas _

Re: [Development] Requesting forward BC exception for QtWaylandCompositor in 6.2 and 5.15

2022-02-15 Thread Thiago Macieira
On Tuesday, 15 February 2022 09:34:35 PST Marc Mutz wrote: > 6.2 is an LTS release, is it not? Not from my point of view, it isn't. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel DPG Cloud Engineering ___ Developmen

Re: [Development] Requesting forward BC exception for QtWaylandCompositor in 6.2 and 5.15

2022-02-15 Thread Marc Mutz
6.2 is an LTS release, is it not? ___ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development

Re: [Development] Requesting forward BC exception for QtWaylandCompositor in 6.2 and 5.15

2022-02-15 Thread Thiago Macieira
On Tuesday, 15 February 2022 07:54:07 PST Marc Mutz wrote: > For Qt 6.3+, we can fix this by QT_REMOVED_SINCE the member and adding an > exported friend op==(const, const): > https://codereview.qt-project.org/c/qt/qtwayland/+/395784 This is backwards > BC. For 6.2 and 5.15, forwards BC is required,

[Development] Requesting forward BC exception for QtWaylandCompositor in 6.2 and 5.15

2022-02-15 Thread Marc Mutz
Hi, https://bugreports.qt.io/browse/QTBUG-100845 The QWaylandBufferRef class has a very annoying bug in that its relational operators cannot compare `const` objects (only on the RHS). That's because these operators are implemented as members, but are not const. Since they're not const, they ca