[Development] The impact of Qt code review practices

2014-10-08 Thread Shane McIntosh
Hi Qt developers, My name is Shane. I’m a PhD student at Queen’s University in Canada. Recently, I performed a statistical analysis of the Qt code review process and the impact that it has on post-release defects: http://shanemcintosh.org/2014/05/31/the-impact-of-code-review-coverage-and-code-r

Re: [Development] The life of a file name and other possibly mal-encoded strings on non-Windows systems

2014-10-08 Thread Kuba Ober
On Tue, Oct 7, 2014 at 11:41 AM, Thiago Macieira wrote: > On Tuesday 07 October 2014 10:38:47 Kuba Ober wrote: > > Just to be very clear: it is currently impossible to make a truly > portable > > file management utility with Qt’s core APIs. Why? Because it will simply > > ignore all file names th

Re: [Development] The life of a file name and other possibly mal-encoded strings on non-Windows systems

2014-10-08 Thread Al-Khanji Louai
It's not a platform bug. It's an application/framework (Qt) bug. Unix paths are just a byte array, where certain bytes have special meaning (mostly just '/'). Passing around those byte arrays from/to platform functions will always work correctly. The problem is that Qt tries to interpret thos

Re: [Development] The life of a file name and other possibly mal-encoded strings on non-Windows systems

2014-10-08 Thread Konstantin Ritt
2014-10-09 3:57 GMT+04:00 Marc Mutz : > Hi Julien, > > On Tuesday 07 October 2014 14:30:59 Julien Blanc wrote: > > However, i agree that changing this would : > > * break a lot of code > > No, it cannot, if, as I propose, it's added to Qt 5. > > > * permit only to solve really lower level / corner

Re: [Development] The life of a file name and other possibly mal-encoded strings on non-Windows systems

2014-10-08 Thread Marc Mutz
Hi Julien, On Tuesday 07 October 2014 14:30:59 Julien Blanc wrote: > However, i agree that changing this would : > * break a lot of code No, it cannot, if, as I propose, it's added to Qt 5. > * permit only to solve really lower level / corner case issues The value lies _also_ in being able to i

Re: [Development] QtDeclarative CI

2014-10-08 Thread Oleg Shparber
Now qtdeclarative compiles, but still CI (macx-clang) always fails with this test: https://github.com/qtproject/qtdeclarative/blob/5.4/tests/auto/quick/qquickwindow/tst_qquickwindow.cpp#L1679 One of the logs: http://testresults.qt-project.org/ci/QtDeclarative_5.4_Integration/build_00235/macx-clan

Re: [Development] FYI: Latest status about Qt Project mirror on github

2014-10-08 Thread Mirror Bot Qt
Now, the mirror script works again. Please check https://github.com/qtproject/ . And please report any issue if you found. Thanks in advance. Best Regards, Qt Mirror Bot On Wed, Oct 8, 2014 at 12:48 PM, Mirror Bot Qt wrote: > Hi, all, > > This unofficial mirror project was transferred to Qt Pr

Re: [Development] qt.io download-open-source page updated

2014-10-08 Thread Ray Donnelly
I don't see any "Help us improve" button, so I'm emailing instead. On Tue, Oct 7, 2014 at 8:13 AM, Anttila Janne wrote: > Hi, > > Thanks for your feedback related to qt.io opensource downloads page: > http://www.qt.io/download-open-source/ > > The page is now updated based on your comments - the

Re: [Development] openssl + windows + qtwebkit segmentation fault

2014-10-08 Thread Richard Gerd Kuesters
Thanks Michael, I'll keep that in mind while using Qt 5.3 and test it with the beta version of Qt 5.4, let's see what happens :) Best regards, Richard. Em , Michael Brüning escreveu: > Hi Richard, > > On 10/08/2014 03:58 PM, Richard Gerd Kuesters wrote: > >> Hello all! >> >> I'm havi

Re: [Development] openssl + windows + qtwebkit segmentation fault

2014-10-08 Thread Michael Brüning
Hi Richard, On 10/08/2014 03:58 PM, Richard Gerd Kuesters wrote: Hello all! I'm having a problem when using qtwebkit with openssl enabled (linked to the lib I compiled myself). Someone have the same problem in the forums, without answer: http://qt-project.org/forums/viewthread/46132/ Basi

[Development] openssl + windows + qtwebkit segmentation fault

2014-10-08 Thread Richard Gerd Kuesters
Hello all! I'm having a problem when using qtwebkit with openssl enabled (linked to the lib I compiled myself). Someone have the same problem in the forums, without answer: http://qt-project.org/forums/viewthread/46132/ Basically the problem consists on running a qt application in debug mo

Re: [Development] The life of a file name and other possibly mal-encoded strings on non-Windows systems

2014-10-08 Thread Oswald Buddenhagen
On Wed, Oct 08, 2014 at 12:16:55PM +0200, Thiago Macieira wrote: > The proposal by Kuba would be to have everything use a QFileName or > similar class. So why not just use QUrl? > yes, i think kuba's proposal is just as unpractical as the qurl one. i'd have a much more favorable view towards a QF

Re: [Development] Qt for iOS: Management Retina vs Non-Retina Images

2014-10-08 Thread Thiago A . Corrêa
On Wed, Oct 8, 2014 at 9:12 AM, Morten Johan Sørvig wrote: >> >> This behavior isn't documented in QIcon[1]. Shouldn't it use >> QFileSelector[2] instead now? Since it's undocumented, couldn't this >> be changed before 6.0? > > The problem with QFileSelector is that it lives in QtCore and that the

Re: [Development] Qt for iOS: Management Retina vs Non-Retina Images

2014-10-08 Thread Morten Johan Sørvig
> On 08 Oct 2014, at 13:36, Thiago A. Corrêa wrote: > > Hi, > > On Wed, Oct 8, 2014 at 5:10 AM, Ziller Eike > wrote: >> >> QIcon does automatic loading of @2x images afair. QPixmap and QImage only >> set the devicePixelRatio corresponding to the file name automatically, but >> you have to d

Re: [Development] Qt for iOS: Management Retina vs Non-Retina Images

2014-10-08 Thread Ziller Eike
On Oct 8, 2014, at 1:36 PM, Thiago A. Corrêa wrote: > Hi, > > On Wed, Oct 8, 2014 at 5:10 AM, Ziller Eike > wrote: >> >> QIcon does automatic loading of @2x images afair. QPixmap and QImage only >> set the devicePixelRatio corresponding to the file name automatically, but >> you have to def

[Development] Fw: Change in qt/qtdeclarative[5.4]: Fix QQmlExpression/QQmlScriptString/QQmlBinding crashes

2014-10-08 Thread Hausmann Simon
‎Hi, Does anyone know what's up with the build on windows ce? I've seen this failure in various integrations in the past days. Simon Original Message From: Qt Continuous Integration System (Code Review) Sent: Wednesday, October 8, 2014 13:19 To: Hausmann Simon Reply To: ci-nore...@qt-projec

Re: [Development] Qt for iOS: Management Retina vs Non-Retina Images

2014-10-08 Thread Thiago A . Corrêa
Hi, On Wed, Oct 8, 2014 at 5:10 AM, Ziller Eike wrote: > > QIcon does automatic loading of @2x images afair. QPixmap and QImage only set > the devicePixelRatio corresponding to the file name automatically, but you > have to define yourself if you want to load a @2x or not. > This behavior isn'

Re: [Development] qt.io download-open-source page updated

2014-10-08 Thread Anttila Janne
On 07/10/14 11:02, "Mark Gaiser" wrote: > >1. The download to the community version of Qt from >http://www.qt.io/download/ links to http://www.qt.io/?p=323 which >redirects to http://www.qt.io/download-open-source/ .. A bit weird. >2. Again on http://www.qt.io/download/ the "Download" button for

[Development] FYI: Latest status about Qt Project mirror on github

2014-10-08 Thread Mirror Bot Qt
Hi, all, This unofficial mirror project was transferred to Qt Project(or Digia, or The Qt Company), but the mirror script hasn't worked well for a few weeks. Hope it could be fixed very soon. Just for your information. Best Regards, Qt Mirror Bot ___ D

Re: [Development] The life of a file name and other possibly mal-encoded strings on non-Windows systems

2014-10-08 Thread Thiago Macieira
On Wednesday 08 October 2014 12:10:07 Oswald Buddenhagen wrote: > On Mon, Oct 06, 2014 at 05:21:45PM +0200, Thiago Macieira wrote: > > File names that cannot be decoded using the locale codec are > > considered filesystem corruption and are silently dropped. They won't > > appear in directory listi

Re: [Development] The life of a file name and other possibly mal-encoded strings on non-Windows systems

2014-10-08 Thread Oswald Buddenhagen
On Mon, Oct 06, 2014 at 05:21:45PM +0200, Thiago Macieira wrote: > File names that cannot be decoded using the locale codec are > considered filesystem corruption and are silently dropped. They won't > appear in directory listings. > > This was discussed to exhaustion in Qt 5's development process

Re: [Development] Qt for iOS: Management Retina vs Non-Retina Images

2014-10-08 Thread Robert Iakobashvili
On Wed, Oct 8, 2014 at 11:10 AM, Ziller Eike wrote: > > On Oct 8, 2014, at 9:18 AM, Robert Iakobashvili wrote: > >> On Wed, Oct 8, 2014 at 10:03 AM, Ziller Eike >> wrote: >>> >>> On Oct 6, 2014, at 1:59 PM, Robert Iakobashvili wrote: >>> Gentlemen, If images are placed to resource fil

Re: [Development] Qt for iOS: Management Retina vs Non-Retina Images

2014-10-08 Thread Ziller Eike
On Oct 8, 2014, at 9:18 AM, Robert Iakobashvili wrote: > On Wed, Oct 8, 2014 at 10:03 AM, Ziller Eike > wrote: >> >> On Oct 6, 2014, at 1:59 PM, Robert Iakobashvili wrote: >> >>> Gentlemen, >>> If images are placed to resource file, >>> is there any option for an automatic management >>> of

Re: [Development] The life of a file name and other possibly mal-encoded strings on non-Windows systems

2014-10-08 Thread Thiago Macieira
On Wednesday 08 October 2014 09:44:56 Tomasz Siekierda wrote: > On Tuesday 07 October 2014 23:31:11 Christoph Feck wrote: > > We are using the same hack in KDE4Libs, but it relies on > > QFile::setDecodingFunction. Unfortunately, this function is no longer > > available in Qt5, so in a few years, w

Re: [Development] The life of a file name and other possibly mal-encoded strings on non-Windows systems

2014-10-08 Thread Tomasz Siekierda
On Tuesday 07 October 2014 23:31:11 Christoph Feck wrote: > We are using the same hack in KDE4Libs, but it relies on > QFile::setDecodingFunction. Unfortunately, this function is no longer > available in Qt5, so in a few years, we will see the same long > discussion as in https://bugs.kde.org/show_

Re: [Development] Qt for iOS: Management Retina vs Non-Retina Images

2014-10-08 Thread Robert Iakobashvili
On Wed, Oct 8, 2014 at 10:03 AM, Ziller Eike wrote: > > On Oct 6, 2014, at 1:59 PM, Robert Iakobashvili wrote: > >> Gentlemen, >> If images are placed to resource file, >> is there any option for an automatic management >> of using either Retina or non-Retina images >> using Apple's naming conven

Re: [Development] Important OSX 10.9.5 & 10.10 codesign changes

2014-10-08 Thread Robert Iakobashvili
Many thanks for your tip! On Wed, Oct 8, 2014 at 10:08 AM, Ziller Eike wrote: > > On Oct 7, 2014, at 8:43 AM, Robert Iakobashvili wrote: > >> On Mon, Sep 22, 2014 at 1:03 PM, Sorvig Morten >> wrote: >>> On 19 Sep 2014, at 11:28, Sorvig Morten wrote: This will indeed receive att

Re: [Development] Important OSX 10.9.5 & 10.10 codesign changes

2014-10-08 Thread Ziller Eike
On Oct 7, 2014, at 8:43 AM, Robert Iakobashvili wrote: > On Mon, Sep 22, 2014 at 1:03 PM, Sorvig Morten > wrote: >> >>> On 19 Sep 2014, at 11:28, Sorvig Morten wrote: >>> >>> This will indeed receive attention in the coming days. There are already >>> some patches attached to the QTBUGs. I

Re: [Development] Qt for iOS: Management Retina vs Non-Retina Images

2014-10-08 Thread Ziller Eike
On Oct 6, 2014, at 1:59 PM, Robert Iakobashvili wrote: > Gentlemen, > If images are placed to resource file, > is there any option for an automatic management > of using either Retina or non-Retina images > using Apple's naming convention or the manual > management is the only option like for Ma