Re: [Development] QtCS2019 Notes: QtCore

2019-11-23 Thread Thiago Macieira
On Saturday, 23 November 2019 13:55:52 CET André Pönitz wrote: > Also, replacing size() by count() would be easy to do in e.g. Creator > (effectively a single global renaming of size() to count() and discarding > the changes to Qt itself). > > Wrapping int() around requires more manual work. I un

Re: [Development] Notes from "Releasing" session in QtCon19

2019-11-23 Thread André Hartmann
Hi all, The script creating the changlog still oversees a lot of QTBUG - > entries. I could not find out why the bug number is sometimes added to> the changelog entry and sometimes doesn't.> See for example> https://codereview.qt-project.org/c/qt/qtbase/+/281862/2..3/dist/changes-5.14.0 I've

Re: [Development] QtCS2019 Notes: QtCore

2019-11-23 Thread André Pönitz
On Sat, Nov 23, 2019 at 12:48:12PM +0100, Thiago Macieira wrote: > On Saturday, 23 November 2019 09:47:23 CET André Pönitz wrote: > > So let's make this a real proposal: Should we have > > > >qsizetype QContainer::size() > >int QContainer::count() const > > So you propose changing code li

Re: [Development] QtCS2019 Notes: QtCore

2019-11-23 Thread Thiago Macieira
On Saturday, 23 November 2019 09:47:23 CET André Pönitz wrote: > So let's make this a real proposal: Should we have > >qsizetype QContainer::size() >int QContainer::count() const So you propose changing code like int n = vec.size(); to int n = vec.count(); while we could

Re: [Development] QtCS2019 Notes: Clang-based cpp parser for lupdate

2019-11-23 Thread Oswald Buddenhagen
On Fri, Nov 22, 2019 at 12:25:21PM +, Joerg Bornemann wrote: On the topic of switching to gettext: My searches yielded nothing. because our archives are incomplete and badly indexed, and clearly nobody bothered to make a jira task (at least a publicly visible one). It would be cool to k

Re: [Development] QtCS2019 Notes: QtCore

2019-11-23 Thread Giuseppe D'Angelo via Development
Il 23/11/19 09:47, André Pönitz ha scritto: So let's make this a real proposal: Should we have qsizetype QContainer::size() int QContainer::count() const ? It's an idea, but overly confusing and will make our API a mess. (Also, concretely, what about count(T), indexOf(T), capacity(),

Re: [Development] Notes from "Releasing" session in QtCon19

2019-11-23 Thread Christian Ehrlicher
Am 20.11.2019 um 15:11 schrieb Kai Köhne: Hi, I took the notes for the "Releasing" Session we just had at the Qt Contributor Summit 2019: https://wiki.qt.io/Qt_Contributor_Summit_2019_-_Releasing_Notes High level summary: * The Releasing Dashboard [1] in JIRA provides a good overview of upcomi

Re: [Development] QtCS2019 Notes: QtCore

2019-11-23 Thread André Pönitz
On Fri, Nov 22, 2019 at 08:01:30PM +0100, Giuseppe D'Angelo via Development wrote: > Il 22/11/19 18:49, Thiago Macieira ha scritto: > > We decided not to add q6sizetype. Just add a "### Qt6: qsizetype" comment > > where you can't use qsizetype in Qt 6. We'll deal with conflicts. > > Sorry, what d