[Development] CI Jenkins will be updated today

2014-04-23 Thread Sarajärvi Tony
Hi We will update Jenkins to hopefully a more stable version. We have tried it already on dev side and the update process went fine. The update will happen after the current qt5 release integration build, which will occur around noon, i.e. in 3 hours or so. Cheers, -Tony Tony Sarajärvi CI Te

Re: [Development] Changelogs for 5.3.0

2014-04-23 Thread Alan Alpert
On Tue, Apr 22, 2014 at 3:13 PM, Thiago Macieira wrote: > Please find attached the raw logs for each of the modules that had any > [ChangeLog] in the v5.2.1..origin/release range. > > I'm taking responsibility of editing the one for qtbase. > > For all other modules, I'd like someone to reply to t

Re: [Development] Qt 5.3 header diff: QtQuick

2014-04-23 Thread Alan Alpert
On Wed, Apr 23, 2014 at 3:56 AM, Simon Hausmann wrote: > On Tuesday 22. April 2014 16.37.50 Thiago Macieira wrote: >> Em ter 22 abr 2014, às 14:12:46, Thiago Macieira escreveu: >> > http://macieira.org/~thiago/qt-5.3/QtQuick.diff >> >> Looks fine from the C++ side. I have no clue what those Q_REVI

Re: [Development] Qt 5.3 header diff: QtBluetooth

2014-04-23 Thread Aaron McCarthy
On Tue, 22 Apr 2014 14:12:46 Thiago Macieira wrote: > diff --git a/src/bluetooth/qbluetoothuuid.h b/src/bluetooth/qbluetoothuuid.h > index ef69e98..014b975 100644 > --- a/src/bluetooth/qbluetoothuuid.h > +++ b/src/bluetooth/qbluetoothuuid.h > @@ -112,6 +112,7 @@ public: > GN = 0x1117, >

[Development] Styling Qt Quick Items

2014-04-23 Thread Alex Montgomery
Hello, While trying to style a ComboBox such that its text didn't elide and it didn't have inexplicably large margins, I was surprised to learn that these two items would be displayed entirely differently: ComboBox { model: ["1", "2"] } ComboBox { model: ["1", "2"]; style: ComboBoxStyle{} } Whic

Re: [Development] utf-8 BOM and parsers

2014-04-23 Thread Thiago Macieira
Em qua 23 abr 2014, às 07:38:30, Thiago Macieira escreveu: > Em qua 23 abr 2014, às 08:14:41, Knoll Lars escreveu: > > >I'll send the update to the release branch in the next few hours. > > > > Thanks! > > I will do that today. I spent my Qt time yesterday with the changelog and > the header diff

Re: [Development] Qt 5.3 header diff: QtCore

2014-04-23 Thread Nowacki Jedrzej
Hi, Yes, the copy constructor is used. The change was introduced to calm down MSVC in paranoia mode, apparently it complains about usage of a default copy constructor if an assign operator is also defined by the compiler but not used, or something ridiculous like that. https://codereview.qt-

Re: [Development] Question about Qt's future

2014-04-23 Thread André Pönitz
On Wed, Apr 23, 2014 at 10:50:23PM +0800, Sze Howe Koh wrote: > QML is a declarative language Are you considering sequences of JavaScript statements, especially control flow statements, as "declarative"? Andre' ___ Development mailing list Development@q

Re: [Development] Nominating Jake Petroules as approver

2014-04-23 Thread Sorvig Morten
+1 from me as well. In addition to his submissions Jake is knowledgeable about all things Mac and has provided solid advice on several occasions. Morten On 16 Apr 2014, at 09:08, Christian Kandeler wrote: > On 04/15/2014 07:13 PM, Thiago Macieira wrote: >> I'd like to nominate Jake Petroules

Re: [Development] Question about Qt's future

2014-04-23 Thread Sorvig Morten
On 22 Apr 2014, at 12:49, Simon Hausmann wrote: > On Monday 21. April 2014 15.13.08 Robert Knight wrote: >>> The design direction is because QML is easier to develop with, more >>> modern, >>> and based on OpenGL. Widgets don't have that and will never be as >>> efficient.> >>> Therefore, the e

Re: [Development] Question about Qt's future

2014-04-23 Thread cincirin
Hi Sze Howe, On 4/23/2014 5:50 PM, Sze Howe Koh wrote: > With QML, the general idea is to use QML for the GUI and use C++ for core > logic. Well from I understand QML is used in a lot of other aspects than GUI: Qt WebKit 2 is QML ( only ? ), also QML is used in multimedia, position modules and

Re: [Development] Question about Qt's future

2014-04-23 Thread Sze Howe Koh
On 23 April 2014 22:50, Sze Howe Koh wrote: > Hi Marius, > > On 23 April 2014 20:14, cincirin wrote: >> Sorry for re-open this topic, but as someone else already pointed out, >> what do you think about the Unreal engine guys to abandon the unreal >> script which was used until now for many years

Re: [Development] Question about Qt's future

2014-04-23 Thread Sze Howe Koh
Hi Marius, On 23 April 2014 20:14, cincirin wrote: > Sorry for re-open this topic, but as someone else already pointed out, > what do you think about the Unreal engine guys to abandon the unreal > script which was used until now for many years ? > To quote some comments: > "In the past, gameplay

Re: [Development] Qt 5.3 header diff

2014-04-23 Thread Thiago Macieira
Em qua 23 abr 2014, às 16:50:45, Andrey Ponomarenko escreveu: > I've created the ABI compatibility report between 5.2.1 and 5.3.0-beta > versions: > http://upstream-tracker.org/compat_reports/qt/5.2.1_to_5.3.0-beta/abi_compat > _report.html Thanks Andrey! I'll take a look at the report soon. Ca

Re: [Development] Qt 5.3 header diff: QtWidgets

2014-04-23 Thread Thiago Macieira
Em qua 23 abr 2014, às 09:40:34, Giuseppe D'Angelo escreveu: > I'm fine with them as they're simple forwarders to for the corresponding > QTextDocument functionality. On the other hand, QTextDocument is missing > QRegularExpression search... I see. I withdraw my request then, since this is more th

Re: [Development] utf-8 BOM and parsers

2014-04-23 Thread Thiago Macieira
Em qua 23 abr 2014, às 08:14:41, Knoll Lars escreveu: > >I'll send the update to the release branch in the next few hours. > > Thanks! I will do that today. I spent my Qt time yesterday with the changelog and the header diff. Running the scripts took about 5 seconds for each Editing the changel

Re: [Development] Question about Qt's future

2014-04-23 Thread Robin Burchell
Hi, On 23 Apr 2014, at 14:14, cincirin wrote: Sorry for re-open this topic, but as someone else already pointed out, what do you think about the Unreal engine guys to abandon the unreal script which was used until now for many years ? I don’t think this topic is really suited for this list, bu

Re: [Development] Qt 5.3 header diff: QtSql

2014-04-23 Thread Olivier Goffart
On Wednesday 23 April 2014 11:30:16 Knoll Lars wrote: > On 23/04/14 09:34, "Olivier Goffart" wrote: > > > >On Wednesday 23 April 2014 00:28:46 Thiago Macieira wrote: > > > >> Em qua 23 abr 2014, às 09:17:37, Olivier Goffart escreveu: > >> > >> > Just a little problem. > >> > > >> > +#if QT_DEP

Re: [Development] Qt 5.3 header diff

2014-04-23 Thread Andrey Ponomarenko
Hello, I've created the ABI compatibility report between 5.2.1 and 5.3.0-beta versions: http://upstream-tracker.org/compat_reports/qt/5.2.1_to_5.3.0-beta/abi_compat_report.html Hope it may be helpful to analyse changes in headers. Here also a visual headers diff generated by the rfcdiff utilit

Re: [Development] Qt 5.3 header diff: QtQml

2014-04-23 Thread Knoll Lars
Look ok to me. Lars On 23/04/14 12:55, "Simon Hausmann" wrote: >On Tuesday 22. April 2014 14.12.46 Thiago Macieira wrote: >> http://macieira.org/~thiago/qt-5.3/QtQml.diff > >I think those changes look okay. > >The bulk of the work going into Qml right now is all focused on the >internals >firs

Re: [Development] Question about Qt's future

2014-04-23 Thread cincirin
Sorry for re-open this topic, but as someone else already pointed out, what do you think about the Unreal engine guys to abandon the unreal script which was used until now for many years ? To quote some comments: "In the past, gameplay code existed in UnrealScript. UnrealScript is the scripting

Re: [Development] Qt 5.3 header diff: QtSql

2014-04-23 Thread Knoll Lars
On 23/04/14 09:34, "Olivier Goffart" wrote: >On Wednesday 23 April 2014 00:28:46 Thiago Macieira wrote: >> Em qua 23 abr 2014, às 09:17:37, Olivier Goffart escreveu: >> > Just a little problem. >> > >> > +#if QT_DEPRECATED_SINCE(5, 3) >> > QSqlError( const QString& driverText = QString(), >

Re: [Development] Qt 5.3 header diff: QtPrintSupport

2014-04-23 Thread Knoll Lars
Also ok. Lars On 22/04/14 23:12, "Thiago Macieira" wrote: >http://macieira.org/~thiago/qt-5.3/QtPrintSupport.diff ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development

Re: [Development] Qt 5.3 header diff: QtQuick

2014-04-23 Thread Simon Hausmann
On Tuesday 22. April 2014 16.37.50 Thiago Macieira wrote: > Em ter 22 abr 2014, às 14:12:46, Thiago Macieira escreveu: > > http://macieira.org/~thiago/qt-5.3/QtQuick.diff > > Looks fine from the C++ side. I have no clue what those Q_REVISION changes > do to QML. I don't think we need them actuall

Re: [Development] Qt 5.3 header diff: QtQml

2014-04-23 Thread Simon Hausmann
On Tuesday 22. April 2014 14.12.46 Thiago Macieira wrote: > http://macieira.org/~thiago/qt-5.3/QtQml.diff I think those changes look okay. The bulk of the work going into Qml right now is all focused on the internals first. Simon ___ Development maili

Re: [Development] Qt 5.3 header diff: QtQml

2014-04-23 Thread Simon Hausmann
On Tuesday 22. April 2014 16.37.06 Thiago Macieira wrote: > Em ter 22 abr 2014, às 14:12:46, Thiago Macieira escreveu: > > diff --git a/src/qml/qml/qqmlprivate.h b/src/qml/qml/qqmlprivate.h > > Why do we have a public header with "private" in the name? It part of the "private" interface into the

Re: [Development] Categorized logging inside Qt

2014-04-23 Thread Frederik Gladhorn
Since there was no further followup and no arguments against Kai's proposal, I think we can just agree on the issue as settled :) Fredag 11. april 2014 06.31.18 skrev Koehne Kai: > > -Original Message- > > From: development-bounces+kai.koehne=digia@qt-project.org > > [mailto:developme

Re: [Development] Qt 5.3 header diff: QtNetwork

2014-04-23 Thread Peter Hartmann
On 04/22/2014 11:57 PM, Sune Vuorela wrote: > On 2014-04-22, Thiago Macieira wrote: >> --- a/src/network/ssl/qsslconfiguration.h >> +++ b/src/network/ssl/qsslconfiguration.h >> @@ -131,6 +132,21 @@ public: >> +static const char NextProtocolSpdy3_0[]; >> +static const char NextProtocolHttp1

Re: [Development] Changelogs for 5.3.0

2014-04-23 Thread Samuel Gaist
On 23 avr. 2014, at 09:16, Thiago Macieira wrote: > Em qua 23 abr 2014, às 08:49:47, Samuel Gaist escreveu: - QTBUG-4714: * [QTBUG-4714] Use the grid size for wordwrapping when available in icon mode Task-number: QTBUG-4714 Change-Id: I2cb63809d3ee8bd262f38bc11de9

Re: [Development] Changelogs for 5.3.0

2014-04-23 Thread Oswald Buddenhagen
On Wed, Apr 23, 2014 at 12:26:41AM -0700, Thiago Macieira wrote: > Em qua 23 abr 2014, às 09:16:05, Joerg Bornemann escreveu: > > On 23-Apr-14 09:04, Giuseppe D'Angelo wrote: > > > And no, commit message and changelog can't use the same rules. > > > > Well you can have simple rules or people makin

Re: [Development] Project structure for multi-platform mobile devices

2014-04-23 Thread Gustavsen Richard
When building a static application on iOS, Qt currently scans the project folder for all qml files and tries to figure out which imports they use. The result is used to copy and link the needed resources into the application. This means that currently your qml files needs to be inside your applic

Re: [Development] Privacy of Qt Cloud Services (developer access to user data)

2014-04-23 Thread Oswald Buddenhagen
On Wed, Apr 23, 2014 at 09:38:32AM +1000, Drew Parsons wrote: > On the Qt Forum I raised a question about security/privacy of user data > on Qt Cloud Services. As far I can tell any data from my users on my > cloud instance can be read by me, the developer. > > My example was a diary app, where u

Re: [Development] New Qt5.3 RC snapshot available

2014-04-23 Thread Ray Donnelly
Same here. Seems eminently sensible to allow easy testing of these candidates from source. On Apr 23, 2014 8:09 AM, "Peter Kümmel" wrote: > On 22.04.2014 07:17, Heikkinen Jani wrote: > > Hi all, > > > > We have new RC snapshot available in > http://download.qt-project.org/snapshots/qt/5.3/5.3.0-R

Re: [Development] Qt 5.3 header diff: QtCore

2014-04-23 Thread Koehne Kai
> -Original Message- > [...] > From: development-bounces+kai.koehne=digia@qt-project.org > These two change combined trigger QTBUG-37283: it's now not possible to > use qCDebug(cat) on a compiler w/o variadic macros, where cat is a function > that returns a QLoggingCategory subclass.

[Development] Privacy of Qt Cloud Services (developer access to user data)

2014-04-23 Thread Drew Parsons
On the Qt Forum I raised a question about security/privacy of user data on Qt Cloud Services. As far I can tell any data from my users on my cloud instance can be read by me, the developer. My example was a diary app, where users don't want me to know who they're in love with or their other priva

Re: [Development] utf-8 BOM and parsers

2014-04-23 Thread Knoll Lars
On 22/04/14 16:36, "Thiago Macieira" wrote: >Em ter 22 abr 2014, às 12:35:33, Knoll Lars escreveu: >> Hi, >> >> Just came back from vacation today. >> >> Unfortunately BOM’s at the beginning of files seem to still be used >>quite >> a bit esp. in the Windows world. So I would actually vote for

Re: [Development] Qt 5.3 header diff: QtGui

2014-04-23 Thread Agocs Laszlo
It is called GLES2 because there used to be a GLES1 value too, until a recent purge for ES 1.x support. The version could be omitted now. Laszlo -Original Message- From: development-bounces+laszlo.agocs=digia@qt-project.org [mailto:development-bounces+laszlo.agocs=digia@qt-pro

Re: [Development] Qt 5.3 header diff: QtWidgets

2014-04-23 Thread Giuseppe D'Angelo
Il 23/04/2014 01:44, Thiago Macieira ha scritto: Em ter 22 abr 2014, às 14:12:46, Thiago Macieira escreveu: --- a/src/widgets/widgets/qplaintextedit.h +++ b/src/widgets/widgets/qplaintextedit.h @@ -141,6 +145,9 @@ public: bool centerOnScroll() const; bool find(const QString &exp, QT

Re: [Development] Qt 5.3 header diff: QtLocation

2014-04-23 Thread Albert Astals Cid
On Tuesday 22 April 2014 17:49:17 Thiago Macieira wrote: > Em qua 23 abr 2014, às 10:28:51, Aaron McCarthy escreveu: > > On Tue, 22 Apr 2014 14:12:46 Thiago Macieira wrote: > > > http://macieira.org/~thiago/qt-5.3/QtLocation.diff > > > > This is fine. Qt Location is not part of the 5.3 release. >

Re: [Development] Qt 5.3 header diff: QtSql

2014-04-23 Thread Olivier Goffart
On Wednesday 23 April 2014 00:28:46 Thiago Macieira wrote: > Em qua 23 abr 2014, às 09:17:37, Olivier Goffart escreveu: > > Just a little problem. > > > > +#if QT_DEPRECATED_SINCE(5, 3) > > QSqlError( const QString& driverText = QString(), > > const QString& databaseText = QS

Re: [Development] Qt 5.3 header diff: QtGui

2014-04-23 Thread Giuseppe D'Angelo
Il 23/04/2014 01:15, Thiago Macieira ha scritto: >+enum OpenGLModuleType { >+DesktopGL, >+GLES2 >+}; Suggestion: OpenGL & OpenGLES2. Some non-desktop devices may have non-ES GL. The fact that we constantly refer to "desktop GL" erroneously should not influence the API.

Re: [Development] Qt 5.3 header diff: QtSql

2014-04-23 Thread Thiago Macieira
Em qua 23 abr 2014, às 09:17:37, Olivier Goffart escreveu: > Just a little problem. > > +#if QT_DEPRECATED_SINCE(5, 3) > QSqlError( const QString& driverText = QString(), > const QString& databaseText = QString(), > ErrorType type = NoError, >

Re: [Development] Qt 5.3 header diff: QtCore

2014-04-23 Thread Giuseppe D'Angelo
Il 22/04/2014 23:12, Thiago Macieira ha scritto: http://macieira.org/~thiago/qt-5.3/QtCore.diff QtCore.diff +void warning(const char *msg, ...) const Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); +void critical(const char *msg, ...) const Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); + +typedef const QLoggi

[Development] Periodical digest from CI

2014-04-23 Thread Sarajärvi Tony
Hi everybody A few pointers from the CI side. * OpenSUSE 13.1 was brought back a while ago. We fixed the reboot issues with it. It had actually to do with Jenkins not noticing nodes going offline. The fix might have caused instability on the Windows side however. You might have noticed new ran

Re: [Development] Changelogs for 5.3.0

2014-04-23 Thread Thiago Macieira
Em qua 23 abr 2014, às 09:16:05, Joerg Bornemann escreveu: > On 23-Apr-14 09:04, Giuseppe D'Angelo wrote: > > And no, commit message and changelog can't use the same rules. A > > commit message is usually in the imperative mode, present tense ("Fix > > foo"), and uses pluralis maiestatis + indicati

Re: [Development] What am I not seeing in the QByteArray::capacity test failure?

2014-04-23 Thread Thiago Macieira
Em qua 23 abr 2014, às 09:01:39, Olivier Goffart escreveu: > > 1858 qba.resize(capacity); > > > > [...] > > > > 1863 QCOMPARE(qba.capacity(), capacity); > > > > [...] > > > > 1866 copy = qba; > > copy was still holding the original data. But there, it is assigned to > detach

Re: [Development] Qt 5.3 header diff: QtSql

2014-04-23 Thread Olivier Goffart
On Tuesday 22 April 2014 16:43:00 Thiago Macieira wrote: > Em ter 22 abr 2014, às 14:12:46, Thiago Macieira escreveu: > > http://macieira.org/~thiago/qt-5.3/QtSql.diff > > Looks fine, if scary. Just a little problem. +#if QT_DEPRECATED_SINCE(5, 3) QSqlError( const QString& driverText = QSt

Re: [Development] Changelogs for 5.3.0

2014-04-23 Thread Joerg Bornemann
On 23-Apr-14 09:04, Giuseppe D'Angelo wrote: > And no, commit message and changelog can't use the same rules. A > commit message is usually in the imperative mode, present tense ("Fix > foo"), and uses pluralis maiestatis + indicative in the body ("We do > this, but we should do that, so this comm

Re: [Development] Changelogs for 5.3.0

2014-04-23 Thread Thiago Macieira
Em qua 23 abr 2014, às 08:49:47, Samuel Gaist escreveu: > >> - QTBUG-4714: > >> * [QTBUG-4714] Use the grid size for wordwrapping when available in > >>icon > >> mode Task-number: QTBUG-4714 Change-Id: > >> I2cb63809d3ee8bd262f38bc11de91df9ff5cf237 Reviewed-by: Stephen Kelly > >> > >

Re: [Development] Changelogs for 5.3.0

2014-04-23 Thread Thiago Macieira
Em qua 23 abr 2014, às 09:04:35, Giuseppe D'Angelo escreveu: > And no, commit message and changelog can't use the same rules. A > commit message is usually in the imperative mode, present tense ("Fix > foo"), and uses pluralis maiestatis + indicative in the body ("We do > this, but we should do tha

Re: [Development] New Qt5.3 RC snapshot available

2014-04-23 Thread Peter Kümmel
On 22.04.2014 07:17, Heikkinen Jani wrote: > Hi all, > > We have new RC snapshot available in > http://download.qt-project.org/snapshots/qt/5.3/5.3.0-RC/2014-04-21_65/ I tried to update my build scripts, but there are no source packages available. Isn't a RC a simulation of the release? Thanks,

Re: [Development] Changelogs for 5.3.0

2014-04-23 Thread Giuseppe D'Angelo
On 23 April 2014 08:30, Joerg Bornemann wrote: > According to The Law I have to write the commit message in imperative > and the changelog in indicative mode. I think it's time to become way more strict on our changelog entries, as I feel we're abusing of Thiago's patience to fix them up before e

Re: [Development] What am I not seeing in the QByteArray::capacity test failure?

2014-04-23 Thread Olivier Goffart
On Tuesday 22 April 2014 17:45:08 Thiago Macieira wrote: > FAIL! : tst_QByteArray::reserve() 'qba.constData() != data' returned > FALSE. tst_qbytearray.cpp(1871) : failure location > > http://testresults.qt-project.org/ci/QtBase_stable_Integration/build_03694/w > in32-msvc2010_Windows_7/log.txt