Re: [Development] Maintainership for some APIs

2012-09-20 Thread Lorn Potter
On 31/08/2012, at 3:45 AM, Lorn Potter wrote: > > On 14/08/2012, at 6:12 PM, > wrote: > >> On Aug 14, 2012, at 7:35 AM, ext alex.blas...@nokia.com >> wrote: -Original Message- From: development-bounces+alex.blasche=nokia@qt-project.org >>> Qt SystemInfo and Qt

Re: [Development] Single static list object to track something

2012-09-20 Thread Marc Mutz
On Friday September 21 2012, Majid Khan wrote: > Hi, > > I have a class that tracks strings so essentially TrackedStrings : > QStringList and this contains a list of strings that are being tracked (so > some function from some other class calls it's add(const QString& string). > I need this object

Re: [Development] Retina display support

2012-09-20 Thread Kai-Uwe Behrmann
Am 20.09.12, 19:09 -0700 schrieb P Bai: I have a few questions about how to add retina display support to my application. I understand by reading an earlier discuss that you can add a few lines in the info.plist to enable HiDPI render. That would only work for text and standard widgets, right?

[Development] Retina display support

2012-09-20 Thread P Bai
Hi all, I have a few questions about how to add retina display support to my application. I understand by reading an earlier discuss that you can add a few lines in the info.plist to enable HiDPI render. That would only work for text and standard widgets, right? How about icons and pixmaps? How

Re: [Development] Stepping down as maintainer

2012-09-20 Thread Loaden
I am so sad to heard this. and I am greatful for your past work. God bless you! 2012/9/21 > Hi everyone, > > it's been an awesome time participating in the development of Qt Creator. > However, I've recently decided to follow a different path and I will no > longer be able to maintain the text e

Re: [Development] QBasicMutex::lockInternal() race condition?

2012-09-20 Thread Olivier Goffart
On Thursday 20 September 2012 19:07:26 Thiago Macieira wrote: > On quinta-feira, 20 de setembro de 2012 16.50.18, Tony Van Eerd wrote: > > But we already did an acquire earlier when we got the d_ptr the first > > time. All our instructions on id and waiters happens after that. > > > > If we are w

[Development] Single static list object to track something

2012-09-20 Thread Majid Khan
Hi, I have a class that tracks strings so essentially TrackedStrings : QStringList and this contains a list of strings that are being tracked (so some function from some other class calls it's add(const QString& string). I need this object as static because I want to access it from anywhere withou

Re: [Development] C++11 ABI GCC 4.7.2

2012-09-20 Thread Olivier Goffart
On Thursday 20 September 2012 20:57:38 Peter Kümmel wrote: > "The ABI incompatibilities have been fixed for GCC version 4.7.2 > but as a result C++11 code compiled with GCC 4.7.0 or 4.7.1 may > be incompatible with C++11 code compiled with different GCC > versions and with C++98/C++03 code compiled

[Development] Stepping down as maintainer

2012-09-20 Thread leandro.melo
Hi everyone, it's been an awesome time participating in the development of Qt Creator. However, I've recently decided to follow a different path and I will no longer be able to maintain the text editors and C++ language support. A new maintainer will be suggested soon. Thanks for all of those

Re: [Development] Greetings from RIM and from Qt on BlackBerry 10

2012-09-20 Thread Leandro Melo de Sales
Dear Vladimir, I'm very glad to read all your words. I'm dedicating much time to use, test and develop Qt based apps for PlayBook and BB 10. I will be next week in San Jose for the BlackBerry Jam American and I will participate of the meeting on monday for members of BlackBerry MVP (Elite Progra

Re: [Development] QBasicMutex::lockInternal() race condition?

2012-09-20 Thread Tony Van Eerd
> -Original Message- > From: development-bounces+tvaneerd=rim@qt-project.org > [mailto:development-bounces+tvaneerd=rim@qt-project.org] On Behalf > Of Thiago Macieira > Sent: Thursday, September 20, 2012 1:29 PM > To: development@qt-project.org > Subject: Re: [Development] QBasicMut

Re: [Development] C++11 ABI GCC 4.7.2

2012-09-20 Thread Thiago Macieira
On quinta-feira, 20 de setembro de 2012 20.57.38, Peter Kümmel wrote: > "The ABI incompatibilities have been fixed for GCC version 4.7.2 > but as a result C++11 code compiled with GCC 4.7.0 or 4.7.1 may > be incompatible with C++11 code compiled with different GCC > versions and with C++98/C++03 co

Re: [Development] [Releasing] Beta 2 release

2012-09-20 Thread Stephen Chu
On 9/20/12 8:45 AM, Knoll Lars wrote: > To be able to understand the quality of the beta better, we will need > some help from everybody. Have a look at the Qt 5 bug statistics at > https://bugreports.qt-project.org/secure/Dashboard.jspa?selectPageId=11712 . > As you can see we currently have very

[Development] C++11 ABI GCC 4.7.2

2012-09-20 Thread Peter Kümmel
"The ABI incompatibilities have been fixed for GCC version 4.7.2 but as a result C++11 code compiled with GCC 4.7.0 or 4.7.1 may be incompatible with C++11 code compiled with different GCC versions and with C++98/C++03 code compiled with any version." Did they know what they were doing with 4.7.0/

Re: [Development] QBasicMutex::lockInternal() race condition?

2012-09-20 Thread Thiago Macieira
On quinta-feira, 20 de setembro de 2012 16.53.23, Tony Van Eerd wrote: > > Tony: I'd really appreciate giving the implementation a thorough once- > > over. > > I will try to find the time, although I'm already further down the rabbit > hole than I should be. I was really investigating what can be

[Development] Greetings from RIM and from Qt on BlackBerry 10

2012-09-20 Thread Vladimir Minenko
Hello all, I now finally took some time to drop this message to all who work on Qt. There are a few reasons why not any earlier and why now. First of all, congratulations to Qt with the new home! I am sure, Digia will be a very good home with many exciting possibilities! Also congratulation wi

[Development] Inconsistencies in namespace/module names, and associated problems in documentation

2012-09-20 Thread Sze Howe Koh
Hi all, After encountering broken doc links in Qt 5.0, I noticed some inconsistencies in the naming of Qt modules and namespaces. I asked about them at the Qt-Project forums, and was advised to bring them to your attention here. The original post is at http://qt-project.org/forums/viewthread/2049

Re: [Development] QBasicMutex::lockInternal() race condition?

2012-09-20 Thread Thiago Macieira
On quinta-feira, 20 de setembro de 2012 16.50.18, Tony Van Eerd wrote: > But we already did an acquire earlier when we got the d_ptr the first > time. All our instructions on id and waiters happens after that. > > If we are worried about ABA on the d_ptr, hmmm, I'd need to think about > that. Rig

Re: [Development] QBasicMutex::lockInternal() race condition?

2012-09-20 Thread Tony Van Eerd
> -Original Message- > internals? (P.S. I noticed one of those had a static QBasicMutex > inside a function, which gcc will then put a 'mutex' around...) > correction: no constructor, no compiler-installed mutex. I would hope/assume.

Re: [Development] QBasicMutex::lockInternal() race condition?

2012-09-20 Thread Tony Van Eerd
> -Original Message- > > I have a change to document more the internal, but it is not merged > yet. > > https://codereview.qt-project.org/33739 > > Staged now, thanks :-) It would be nice if the new comments on the if (d->ref()) line pointed out that 'd' is never invalid because we recyc

Re: [Development] QBasicMutex::lockInternal() race condition?

2012-09-20 Thread Tony Van Eerd
But we already did an acquire earlier when we got the d_ptr the first time. All our instructions on id and waiters happens after that. If we are worried about ABA on the d_ptr, hmmm, I'd need to think about that. > -Original Message- > From: development-bounces+tvaneerd=rim@qt-pr

Re: [Development] QBasicMutex::lockInternal() race condition?

2012-09-20 Thread Thiago Macieira
On quinta-feira, 20 de setembro de 2012 15.50.12, Tony Van Eerd wrote: > > We check for that case shortly after: > > > > > > 361 if (d != d_ptr.loadAcquire()) { > > 362//Either the mutex is already unlocked, or relocked with > > another mutex > > 363d->deref(); > > 364co

Re: [Development] QBasicMutex::lockInternal() race condition?

2012-09-20 Thread Thiago Macieira
On quinta-feira, 20 de setembro de 2012 17.38.40, Olivier Goffart wrote: > I have a change to document more the internal, but it is not merged yet. > https://codereview.qt-project.org/33739 Staged now, thanks :-) Tony: I'd really appreciate giving the implementation a thorough once-over. I've don

Re: [Development] QBasicMutex::lockInternal() race condition?

2012-09-20 Thread Tony Van Eerd
> -Original Message- > We check for that case shortly after: > > 361 if (d != d_ptr.loadAcquire()) { > 362//Either the mutex is already unlocked, or relocked with > another mutex > 363d->deref(); > 364continue; > 365 } > Or course. Very next lines! "sh

Re: [Development] QBasicMutex::lockInternal() race condition?

2012-09-20 Thread Olivier Goffart
On Thursday 20 September 2012 15:30:32 Tony Van Eerd wrote: > I've been looking at the implementation of QMutex (et al), via woboq, ie > http://code.woboq.org/qt5/qtbase/src/corelib/thread/qmutex.cpp.html. (nice > work on the code viewer, by the way!) Thanks :-) > > I'm wondering if there isn't

[Development] QBasicMutex::lockInternal() race condition?

2012-09-20 Thread Tony Van Eerd
I've been looking at the implementation of QMutex (et al), via woboq, ie http://code.woboq.org/qt5/qtbase/src/corelib/thread/qmutex.cpp.html. (nice work on the code viewer, by the way!) I'm wondering if there isn't a subtle race condition in lockInternal() at line 358: 358 if

[Development] Qt at the (American) Embedded Systems Conference East

2012-09-20 Thread Atlant Schmidt
Folks: Yesterday, I attended the trade show at the Embedded Systems Conference East, held annually in Boston Massachusetts. I'm glad to say that Qt had a booth there on the trade show floor, staffed by Digia employees. This year, the story being told in the Qt booth was a good one, addres

Re: [Development] New maintainers

2012-09-20 Thread Thiago Macieira
On quarta-feira, 19 de setembro de 2012 12.08.14, Knoll Lars wrote: > Hi, > > I'd like to nominate a couple of new maintainers for some parts of Qt > currently lacking a maintainer. Oops, I missed the "I'd like to nominate" part. > For the kernel subdirectory in Qt Widgets, I'd like to nominate S

[Development] Beta 2 release

2012-09-20 Thread Knoll Lars
Hi, now that the dust around the acquisition is starting to settle a bit it's time to get back on track towards 5.0 and especially towards the next beta. As I've outlined in my last blog (which is unfortunately unavailable for the moment…), I'd like to include Qt Creator into the 2nd beta, so t

Re: [Development] Upcoming CI disruptions

2012-09-20 Thread Knoll Lars
On Sep 20, 2012, at 12:44 PM, Holger Hans Peter Freyther wrote: > On Wed, Sep 19, 2012 at 02:06:05PM +1000, Rohan McGovern wrote: > > Hi, > > I am sorry to be the pain here. :} > > >> In preparation for the transfer of remaining systems from Nokia to >> Digia, various projects covered by th

Re: [Development] Upcoming CI disruptions

2012-09-20 Thread Holger Hans Peter Freyther
On Wed, Sep 19, 2012 at 02:06:05PM +1000, Rohan McGovern wrote: Hi, I am sorry to be the pain here. :} > In preparation for the transfer of remaining systems from Nokia to > Digia, various projects covered by the Qt CI will soon be migrated from > Nokia's Pulse infrastructure to a new Jenkins s

Re: [Development] Documentation and Modularization

2012-09-20 Thread Saether Jan-Arve
Actually, I have tried using tag files (or rather, qdocs .index files, which I guess is a superset of "tag files" in the semantic sense). This works in principle, but it needs some additional changes to qdoc and how the makefiles are generated (since its two-pass). We can go down that route late

Re: [Development] Fwd: Re: Proposing QSqlQuery syntax sugar

2012-09-20 Thread Mark Brand
Andras Mantia wrote: > Thiago A. Corrêa wrote: > >> I shall then send a patch for 5.1 >> branch when it's ready and ask Mark Brand, Thanks. > Why wait? You can do it now, create a Gerrit review for it, and make Mark a > reviewer. Can be integrated when the 5.1 branch is ready and/or he approves > i

Re: [Development] Fwd: Re: Proposing QSqlQuery syntax sugar

2012-09-20 Thread Andras Mantia
Thiago A. Corrêa wrote: > I shall then send a patch for 5.1 > branch when it's ready and ask Mark Brand, Thanks. Why wait? You can do it now, create a Gerrit review for it, and make Mark a reviewer. Can be integrated when the 5.1 branch is ready and/or he approves it. Andras -- ** Qt Develope