Re: [Development] QtV8: Order of arguments on Runtime::kResolvePossiblyDirectEval inconsistent

2012-05-08 Thread Kent Hansen
Hi Holger, Den 08. mai 2012 23:04, skrev ext Holger Hans Peter Freyther: > Hi, > > I am looking into why QtV8 stopped working for MIPS (the obvious candidate is > that there is lithium support now). While doing this I noted that in > FullCodeGenerator::EmitResolvePossiblyDirectEval the following i

Re: [Development] important: upcoming rename of _qpa.h to _p.h

2012-05-08 Thread Girish Ramakrishnan
On Tue, May 8, 2012 at 5:31 PM, Girish Ramakrishnan wrote: > On Tuesday, May 8, 2012, Girish Ramakrishnan wrote: >> Hi, >> >> On Tue, May 8, 2012 at 3:07 AM, Girish Ramakrishnan >> wrote: >>> The change landed. For some reason, the ci is failing compile in all >>> other modules. Works locally wi

Re: [Development] important: upcoming rename of _qpa.h to _p.h

2012-05-08 Thread Girish Ramakrishnan
On Tue, May 8, 2012 at 4:22 PM, Rohan McGovern wrote: > Girish Ramakrishnan said: >> Hi, >> >> On Tue, May 8, 2012 at 3:07 AM, Girish Ramakrishnan >> wrote: >> > The change landed. For some reason, the ci is failing compile in all >> > other modules. Works locally with shadow builds but not on CI

Re: [Development] The place of QML

2012-05-08 Thread Alan Alpert
On Tue, 8 May 2012 20:08:38 ext Frank Hemer wrote: > On Tuesday 08 May 2012 09:50:16 Peter Kuemmel wrote: > > > > Now we suddenly have an easy to use, yet compulsory, Turing complete > > > > language with essentially no support from off-the-shelf tools. > > > > > > It's this "compulsory" part that

Re: [Development] important: upcoming rename of _qpa.h to _p.h

2012-05-08 Thread Girish Ramakrishnan
On Tuesday, May 8, 2012, Girish Ramakrishnan forwardbias.in > wrote: > Hi, > > On Tue, May 8, 2012 at 3:07 AM, Girish Ramakrishnan > forwardbias.in > wrote: >> The change landed. For some reason, the ci is failing compile in all >> other modules. Works locally with shadow builds but not on CI. I a

Re: [Development] important: upcoming rename of _qpa.h to _p.h

2012-05-08 Thread Rohan McGovern
Girish Ramakrishnan said: > Hi, > > On Tue, May 8, 2012 at 3:07 AM, Girish Ramakrishnan > wrote: > > The change landed. For some reason, the ci is failing compile in all > > other modules. Works locally with shadow builds but not on CI. I am on > > it. > > > > Fix is integrating: https://coderev

[Development] QtV8: Order of arguments on Runtime::kResolvePossiblyDirectEval inconsistent

2012-05-08 Thread Holger Hans Peter Freyther
Hi, I am looking into why QtV8 stopped working for MIPS (the obvious candidate is that there is lithium support now). While doing this I noted that in FullCodeGenerator::EmitResolvePossiblyDirectEval the following is not consistent: ARM: 1.) language_mode 2.) is_qml_mode 3.) start_position ia32

Re: [Development] Desktop components: project directory structure

2012-05-08 Thread 1+1=2
I have no idea, And I hope that we can do some change for branch names: master ==> qt4 qt5==> master or simply merge qt5 ==> master Regards, Debao On Tue, May 8, 2012 at 9:45 AM, Alberto Mardegan wrote: > Hi all, >   I've got a question about the QML Desktop components at: > http

Re: [Development] Late API addition in QScreen for 5.0

2012-05-08 Thread Fredrik Höglund
On Friday 04 May 2012, Samuel Rødal wrote: > On Linux, it's all up to the graphics driver in my experience. With the > binary Nvidia driver the only reliable way I've seen of enabling vsync > has been to do "export __GL_SYNC_TO_VBLANK=1" before launching an > application. AMD's Catalyst control pan

Re: [Development] Late API addition in QScreen for 5.0

2012-05-08 Thread Fredrik Höglund
On Monday 07 May 2012, Samuel Rødal wrote: > On 05/04/2012 04:22 PM, ext Samuel Rødal wrote: > > As for the open source drivers I don't know of any reliable way of > > enabling vsync. There's the GLX_SGI_video_sync extension which is > > supposed to give a uniform way to sync rendering regardless o

Re: [Development] [API] homogenising pimpled value class copying and moving

2012-05-08 Thread Thiago Macieira
On terça-feira, 8 de maio de 2012 16.57.47, Marc Mutz wrote: > > Between a move constructor and QSharedDataPointer, I'd rather stay with > > the > > latter. It avoids the manual reference counting, which may include subtle > > errors. > > The manual reference counting reduces to calling ref() in th

[Development] Desktop components: project directory structure

2012-05-08 Thread Alberto Mardegan
Hi all, I've got a question about the QML Desktop components at: https://qt.gitorious.org/qtplayground/qtdesktopcomponents Some components, such as TextField, are implemented as a derivative of another (homonymous) component defined in the "custom/" subdirectory. Why is this separation needed

Re: [Development] QtCore: qt_addObject and qt_removeObject

2012-05-08 Thread Stephen Kelly
On Thursday, May 03, 2012 23:00:49 Harri Porten wrote: > On Thu, 3 May 2012, Thiago Macieira wrote: > >> My suggestion is to replace them by callbacks and keep the setters in > >> a > >> private header. Someone is against this idea? > > > > Not at all. > > > > I suggested that the Squish and Gamm

Re: [Development] important: upcoming rename of _qpa.h to _p.h

2012-05-08 Thread Girish Ramakrishnan
Hi, On Tue, May 8, 2012 at 3:07 AM, Girish Ramakrishnan wrote: > The change landed. For some reason, the ci is failing compile in all > other modules. Works locally with shadow builds but not on CI. I am on > it. > Fix is integrating: https://codereview.qt-project.org/#change,25570. Sorry for bl

Re: [Development] [API] homogenising pimpled value class copying and moving

2012-05-08 Thread Marc Mutz
On Tuesday May 8 2012, Thiago Macieira wrote: > On terça-feira, 8 de maio de 2012 15.22.55, Marc Mutz wrote: > > I'm also giving each class a move constructor. There, the classes which > > hold their pimpl in smart pointers create the problem[1] that the move > > ctor cannot be inline. I'm tempted

Re: [Development] [API] homogenising pimpled value class copying and moving

2012-05-08 Thread Thiago Macieira
On terça-feira, 8 de maio de 2012 15.22.55, Marc Mutz wrote: > I'm also giving each class a move constructor. There, the classes which > hold their pimpl in smart pointers create the problem[1] that the move > ctor cannot be inline. I'm tempted to remove the use of these in favour of > going back

Re: [Development] Setters: Passing by value or const reference?

2012-05-08 Thread Thiago Macieira
On terça-feira, 8 de maio de 2012 15.42.41, Marc Mutz wrote: > > Most of the flags like -fno-exceptions ... are still binary compatible. > > What happens if an exception travels through C++ code compiled > with -fno-exceptions? Will it pass through? Will it call all dtors? Or will > it ruin the st

Re: [Development] Setters: Passing by value or const reference?

2012-05-08 Thread Marc Mutz
Hi Olivier, Please excuse the delay in answering. On Wednesday April 25 2012, Olivier Goffart wrote: > On Wednesday 25 April 2012 15:07:24 Marc Mutz wrote: [...] > > > We could implement a move setter (Foo::setText(QString&&)). But that > > > would > > > mean duplication, and it could not be in

[Development] [API] homogenising pimpled value class copying and moving

2012-05-08 Thread Marc Mutz
Hi, I've just uploaded a patch series that aims to homogenise the value classes, at least the pimpled (d-pointered) ones, with respect to basic C++ operations like copying and moving. QEasingCurve can be seen as the prototype of these classes: a. member-swap() b. inline copy and move assign

Re: [Development] The place of QML

2012-05-08 Thread Frank Hemer
On Tuesday 08 May 2012 13:18:26 lars.kn...@nokia.com wrote: > On 5/8/12 12:08 PM, "ext Frank Hemer" wrote: > >On Tuesday 08 May 2012 09:50:16 Peter Kuemmel wrote: > >> > > Now we suddenly have an easy to use, yet compulsory, Turing complete > >> > > language with essentially no support from off-th

Re: [Development] The place of QML

2012-05-08 Thread lars.knoll
On 5/8/12 12:08 PM, "ext Frank Hemer" wrote: >On Tuesday 08 May 2012 09:50:16 Peter Kuemmel wrote: >> > > Now we suddenly have an easy to use, yet compulsory, Turing complete >> > > language with essentially no support from off-the-shelf tools. >> > >> > It's this "compulsory" part that I don't u

Re: [Development] The place of QML

2012-05-08 Thread Frank Hemer
On Tuesday 08 May 2012 09:50:16 Peter Kuemmel wrote: > > > Now we suddenly have an easy to use, yet compulsory, Turing complete > > > language with essentially no support from off-the-shelf tools. > > > > It's this "compulsory" part that I don't understand. > > The current situation is that if you

Re: [Development] important: upcoming rename of _qpa.h to _p.h

2012-05-08 Thread Girish Ramakrishnan
On Fri, May 4, 2012 at 8:20 AM, Girish Ramakrishnan wrote: > On Fri, Apr 20, 2012 at 7:16 AM, Girish Ramakrishnan > wrote: >> 2012/4/20 Stephen Kelly : >>> On Friday, April 20, 2012 07:35:39 lars.kn...@nokia.com wrote: >>> Proposal sounds ok to me as well. If someone still has concerns, plea

Re: [Development] The place of QML

2012-05-08 Thread Frank Hemer
On Tuesday 08 May 2012 04:13:40 Alan Alpert wrote: > On Mon, 7 May 2012 07:44:56 ext André Pönitz wrote: > > On Mon, Apr 23, 2012 at 07:35:02AM +, lars.kn...@nokia.com wrote: > > > [...] And who says that 100% of the code has to be C++? > > > > Nobody reasonably wants that. But people like to h

Re: [Development] The place of QML

2012-05-08 Thread Uwe Rathmann
On 05/08/2012 04:13 AM, Alan Alpert wrote: > It's this "compulsory" part that I don't understand. The current situation is > that if you don't want to use QML you don't use it. Lars wrote in his blog about the vision behind Qt5, but isn't the main idea behind this one: a) application development

Re: [Development] The place of QML

2012-05-08 Thread Peter Kuemmel
> > Now we suddenly have an easy to use, yet compulsory, Turing complete > > language with essentially no support from off-the-shelf tools. > > It's this "compulsory" part that I don't understand. > The current situation is that if you don't want to use > QML you don't use it. Does "don't use it"