Re: [Development] A QtCore class for event-driven jobs

2013-09-13 Thread Konstantin Ritt
Thanks Marc, that's exactly what I was saying about. The only difference is (seems to be) a user-visible "manager" that "owns" (or let's say "locks") the task up until it gets processed so no deletion may occur in the middle of execution, i.e. What the manager is and where/how it executes the task

Re: [Development] More on QDateTime / QTimeZone

2013-09-13 Thread John Layt
On Thursday 12 Sep 2013 13:48:24 Thiago Macieira wrote: > On quinta-feira, 12 de setembro de 2013 21:06:03, John Layt wrote: > > * Choose either local msecs or epoch msecs, if epoch then that change > > can't > > be done for 5.2 > > Choose the easiest for you to implement. We're running out of ti

Re: [Development] Qt Platform Extras

2013-09-13 Thread Sze Howe Koh
On 11 September 2013 01:07, Laszlo Papp wrote: > On Tue, Sep 10, 2013 at 4:46 PM, Thiago Macieira > wrote: >> >> On terça-feira, 10 de setembro de 2013 22:31:53, Sze Howe Koh wrote: >> > On 10 September 2013 14:27, Knoll Lars wrote: >> > > Ok, let's use QtWin for the namespace. For the module it

Re: [Development] Validating JSON with schema?

2013-09-13 Thread Leandro T. C. Melo
On Fri, Sep 13, 2013 at 11:00 PM, wrote: > Hello, > > I am wondering if there are any plans to support the validation of JSON > data in Qt using a JSON schema. Qt supports the validation of XML using > an XML schema with QtXmlPatterns (example: > http://qt-project.org/doc/qt-4.8/xmlpatterns-schem

Re: [Development] Validating JSON with schema?

2013-09-13 Thread Chris Craig
There is an example of JSON validation in the qtjsonstream playground project (http://qt.gitorious.org/qtplayground/qtjsonstream or on codereview.qt-project.org). Please keep in mind that this proj

[Development] Validating JSON with schema?

2013-09-13 Thread achartier
Hello, I am wondering if there are any plans to support the validation of JSON data in Qt using a JSON schema. Qt supports the validation of XML using an XML schema with QtXmlPatterns (example: http://qt-project.org/doc/qt-4.8/xmlpatterns-schema.html). What is the likelihood that we will see simil

Re: [Development] A QtCore class for event-driven jobs

2013-09-13 Thread Marc Mutz
On 2013-09-12 08:07, André Somers wrote: > Op 11-9-2013 17:19, David Faure schreef: >>> Couldn't such a class be part of the hopefully coming QtConcurrent >>> replacement? >> Can we forget about threads for a second? > No, I'd rather not forget that huge pink elephant in the room... In > this > ag

[Development] Heads up: QtAlgorithms to be deprecated in 5.2

2013-09-13 Thread Giuseppe D'Angelo
Hello, https://codereview.qt-project.org/#change,43441 (currently waiting for a review) is going to mark most of the QtAlgorithms functions as deprecated. The decision about this has already happened some time ago: http://www.mail-archive.com/development@qt-project.org/msg01603.html To summar

Re: [Development] Qt WebEngine

2013-09-13 Thread Alexis Menard
On Fri, Sep 13, 2013 at 2:03 PM, Jiang Jiang wrote: > On Fri, Sep 13, 2013 at 1:39 PM, Alexis Menard wrote: > >> Qt integration will be on top of the Content Shell and this single >> process mode needs to work because Google needs it for their Android >> WebView. >> > > Alexis, I think you meant

Re: [Development] Qt WebEngine

2013-09-13 Thread Jiang Jiang
On Fri, Sep 13, 2013 at 1:39 PM, Alexis Menard wrote: > Qt integration will be on top of the Content Shell and this single process > mode needs to work because Google needs it for their Android WebView. > Alexis, I think you meant "Content API" here, not Content Shell, right? I didn't work on

Re: [Development] Pointer aliasing problem in optimized gcc builds

2013-09-13 Thread Konstantin Tokarev
13.09.2013, 19:51, "Thiago Macieira" : > On sexta-feira, 13 de setembro de 2013 17:22:32, Olivier Goffart wrote: > >>>  * How bad are -O3 compiles? I've read that it's completely safe for >>>  well-written code but using optimization aggressively, may cause undefined >>>  behavior or even runtime

Re: [Development] Pointer aliasing problem in optimized gcc builds

2013-09-13 Thread Thiago Macieira
On sexta-feira, 13 de setembro de 2013 20:13:30, Konstantin Tokarev wrote: > 13.09.2013, 19:51, "Thiago Macieira" : > > On sexta-feira, 13 de setembro de 2013 17:22:32, Olivier Goffart wrote: > >>> * How bad are -O3 compiles? I've read that it's completely safe for > >>> well-written code but usi

Re: [Development] Pointer aliasing problem in optimized gcc builds

2013-09-13 Thread Olivier Goffart
On Friday 13 September 2013 15:55:45 Soroush Rabiei wrote: > Hi everybody > > > I'm using a custom build of Qt 5.1.1 compiled with GCC 4.8.1 on > Windows (MinGW builds x86_64). For some performance reasons I have to > enable "-O3" flag until my project is ported out of Qt. The Qt was > built with

Re: [Development] Pointer aliasing problem in optimized gcc builds

2013-09-13 Thread Thiago Macieira
On sexta-feira, 13 de setembro de 2013 17:22:32, Olivier Goffart wrote: > > * How bad are -O3 compiles? I've read that it's completely safe for > > well-written code but using optimization aggressively, may cause undefined > > behavior or even runtime crashes for bad codes. How is Qt code? I've on

[Development] Binary incompatible change in dev branch.

2013-09-13 Thread Stephen Kelly
Hello, Two changes which are binary incompatible compared to the state before them were just merged to dev: https://codereview.qt-project.org/#change,65263 https://codereview.qt-project.org/#change,65042 The changes are to APIs which were not present in Qt 5.1. This is a heads-up that you

Re: [Development] More on QDateTime / QTimeZone

2013-09-13 Thread John Layt
On Thursday 12 Sep 2013 22:24:40 Robin Burchell wrote: > On Thu, Sep 12, 2013 at 9:24 PM, Knoll Lars wrote: > > We might be able to simply cache the time zone offset once and cache it. > > Then it should be at the same speed. > > This would also probably provide hidden wins in various places, mak

Re: [Development] More on QDateTime / QTimeZone

2013-09-13 Thread John Layt
On Thursday 12 Sep 2013 19:24:15 Knoll Lars wrote: > On 9/12/13 9:06 PM, "John Layt" wrote: > >The first is it means creating a QDateTime becomes a > >lot slower as we need to calculate the epoch offset up-front, instead of > >only when/if needed. > > We might be able to simply cache the time zon

Re: [Development] Qt WebEngine

2013-09-13 Thread Alexis Menard
Hi, On Fri, Sep 13, 2013 at 7:06 AM, Konstantin Tokarev wrote: > > > 12.09.2013, 16:04, "Knoll Lars" : > > Hi, > > > > As many of you know, we've been doing some research on a (chromium based) > > new web engine for Qt during spring and summer. I wanted to let you know > > that we've now come to

[Development] Pointer aliasing problem in optimized gcc builds

2013-09-13 Thread Soroush Rabiei
Hi everybody I'm using a custom build of Qt 5.1.1 compiled with GCC 4.8.1 on Windows (MinGW builds x86_64). For some performance reasons I have to enable "-O3" flag until my project is ported out of Qt. The Qt was built with C++11 support. When program tries to append an item to a container it

Re: [Development] Qt WebEngine

2013-09-13 Thread Konstantin Tokarev
12.09.2013, 16:04, "Knoll Lars" : > Hi, > > As many of you know, we've been doing some research on a (chromium based) > new web engine for Qt during spring and summer. I wanted to let you know > that we've now come to the conclusion that we want to continue these > efforts in the future. > > Plea

Re: [Development] QT4.8.5 issue: multi-touch message cannot handled by "close" button

2013-09-13 Thread Duan Fugang-B38611
From: Rutledge Shawn Data: Friday, September 13, 2013 4:11 PM > To: development@qt-project.org > Subject: [Development] QT4.8.5 issue: multi-touch message cannot handled > by "close" button > > On 13 Sep 2013, at 9:44 AM, Duan Fugang-B38611 wrote: > > The KDE is not kwin, is matchbox-window-mana

[Development] QT4.8.5 issue: multi-touch message cannot handled by "close" button

2013-09-13 Thread Rutledge Shawn
On 13 Sep 2013, at 9:44 AM, Duan Fugang-B38611 wrote: > The KDE is not kwin, is matchbox-window-manager. OK I can reproduce it, so it seems to be an issue with matchbox (and matchbox is not using Qt). But it was designed for PDAs, so maybe there is a solution. The touch drivers for Linux PDAs

Re: [Development] New SceneGraph related issue

2013-09-13 Thread Sletta Gunnar
Ok, that stack trace doesn't tell me much as the interesting parameters are optimized out :/ If this was a general bug, I suspect the issue would be present in a lot of places though, so my immediate reaction is to point towards the emulator :) You can compare the buffer size used in uploadBatc

Re: [Development] QT4.8.5 issue: multi-touch message cannot handled by "close" button

2013-09-13 Thread Duan Fugang-B38611
From: Rutledge Shawn Data: Friday, September 13, 2013 2:48 PM > To: development@qt-project.org > Subject: Re: [Development] QT4.8.5 issue: multi-touch message cannot > handled by "close" button > Importance: High > > > On 13 Sep 2013, at 7:53 AM, Duan Fugang-B38611 wrote: > > > Hi, all, > > >

Re: [Development] QT4.8.5 issue: multi-touch message cannot handled by "close" button

2013-09-13 Thread Duan Fugang-B38611
From: Rutledge Shawn Data: Friday, September 13, 2013 2:48 PM > > We use the X.Org X Server 1.14.0 + QT4.8.5 to do one demo, but I catch > one issue: multi-touch message is not handled by "close" button. > > > > I use egalax touchscreen for the multi-touch test. > > After kernel up, evtest test

Re: [Development] QT4.8.5 issue: multi-touch message cannot handled by "close" button

2013-09-13 Thread Duan Fugang-B38611
From: Rutledge Shawn Data: Friday, September 13, 2013 2:48 PM > Which driver is the X server using for the touchscreen? (check > /var/log/Xorg.0.log) ___ Shawn, thanks for your response. I have attached the Xorg log. Thanks, Andy Xorg.0.log Descr