Re: [Development] Git clone hangs on Linux using SSH

2015-02-26 Thread Koehne Kai
> -Original Message- > From: development-bounces+kai.koehne=theqtcompany.com@qt- > project.org [mailto:development- > bounces+kai.koehne=theqtcompany@qt-project.org] On Behalf Of > Denis Shienkov > Sent: Thursday, February 26, 2015 9:10 PM > Cc: development@qt-project.org > Subject: R

[Development] license question, bds 4 clause license text in qtbase\src\corelib\tools\qdatetime.cpp qt5.4.1 found

2015-02-26 Thread Gunnar Roth
Hi all, i have a question according license compatibilty. In qtbase\src\corelib\tools\qdatetime.cpp above line 601 in qt5.4.1 i found this:   \legalese     Copyright (c) 1989 The Regents of the University of California.     All rights reserved.     Redistribution and use in source and binary f

Re: [Development] QtCore missing check for memory allocation

2015-02-26 Thread Thiago Macieira
On Thursday 26 February 2015 21:05:31 Oswald Buddenhagen wrote: > even assuming that nobody else had an interest in this, you'd still need > rather good reasons to effectively sabotage another contributor's > interest, especially considering the majority situation. I do have good reasons. See the

Re: [Development] QtCore missing check for memory allocation

2015-02-26 Thread Thiago Macieira
On Thursday 26 February 2015 20:54:32 Oswald Buddenhagen wrote: > > Let me put it this way: who's going to write the unit tests to ensure we > > get coverage for all those conditionals? Any volunteers? > > which conditionals? the malloc wrapper would throw/qFatal (depending on > the build configur

Re: [Development] QtCore missing check for memory allocation

2015-02-26 Thread Oswald Buddenhagen
On Thu, Feb 26, 2015 at 11:33:17AM -0800, Thiago Macieira wrote: > On Thursday 26 February 2015 20:16:43 Oswald Buddenhagen wrote: > > > There's no feature on Linux to do that. Overcommit is always enabled. > > > > wrong. > > https://www.kernel.org/doc/Documentation/vm/overcommit-accounting > > H

Re: [Development] Git clone hangs on Linux using SSH

2015-02-26 Thread Denis Shienkov
> Does pushing over https work? Seems, not. I can not get the "message hooks" via HTTP: [denis@pclab qtserialport]$ scp -P 443 @codereview.qt-project.org:hooks/commit-msg .git/hooks ssh_exchange_identification: Connection closed by remote host But I can does "clone" and "push" (with an errors a

Re: [Development] QtCore missing check for memory allocation

2015-02-26 Thread Oswald Buddenhagen
On Thu, Feb 26, 2015 at 10:25:42AM -0800, Thiago Macieira wrote: > On Wednesday 25 February 2015 20:07:58 Oswald Buddenhagen wrote: > > as ulf pointed out, a rather trivial wrapper which ensures deterministic > > behavior is hardly a burden. > > And I disagree that it's hardly a burden. I am sayin

Re: [Development] Git clone hangs on Linux using SSH

2015-02-26 Thread Giuseppe D'Angelo
On 26 February 2015 at 20:42, Denis Shienkov wrote: > > Though, here > http://qt-project.org/wiki/Setting-up-Gerrit#e948ac2dda3846bfff303f89c1ad266f > in "Pushing your local changes to gerrit" I found out other way: > > $git push gerrit HEAD:refs/for/5.4 I've just reread your first mail -- if SSH

Re: [Development] Git clone hangs on Linux using SSH

2015-02-26 Thread Denis Shienkov
> For 3) keep using the codereview server as usual. But it is hangs on my side. So, I can not doing contribution anymore.. :) Though, here http://qt-project.org/wiki/Setting-up-Gerrit#e948ac2dda3846bfff303f89c1ad266f in "Pushing your local changes to gerrit" I found out other way: $git push ge

Re: [Development] Git clone hangs on Linux using SSH

2015-02-26 Thread Giuseppe D'Angelo
On 26 February 2015 at 20:31, Denis Shienkov wrote: > Hmm.. I little confused.. I always used the "codereview.qt-project.org " > server.. > > But, how then I can to push my changes on codereview from the mirrors? > I do not understand a base idea. Is there are any instructions? There's a differen

Re: [Development] Git clone hangs on Linux using SSH

2015-02-26 Thread Denis Shienkov
> Always clone from the anonymous mirrors. Hmm.. I little confused.. I always used the "codereview.qt-project.org " server.. But, how then I can to push my changes on codereview from the mirrors? I do not understand a base idea. Is there are any instructions? 26.02.2015 22:21, Thiago Macieira

Re: [Development] QtCore missing check for memory allocation

2015-02-26 Thread Thiago Macieira
On Thursday 26 February 2015 20:16:43 Oswald Buddenhagen wrote: > > There's no feature on Linux to do that. Overcommit is always enabled. > > wrong. > https://www.kernel.org/doc/Documentation/vm/overcommit-accounting Have you read the file you linked to? Options are: 0 Heuristic overcommit

Re: [Development] Git clone hangs on Linux using SSH

2015-02-26 Thread Thiago Macieira
On Thursday 26 February 2015 22:00:21 Denis Shienkov wrote: > > Don't clone from the Gerrit server. Clone from Gitorious, GitHub or > > one of the other mirrors. > > Hmm? I'm sorry, but what about this instructions: > http://qt-project.org/wiki/Gerrit-Introduction ? > This is deprecated now? It

Re: [Development] QtCore missing check for memory allocation

2015-02-26 Thread Oswald Buddenhagen
On Thu, Feb 26, 2015 at 10:27:05AM -0800, Thiago Macieira wrote: > On Wednesday 25 February 2015 20:09:21 Oswald Buddenhagen wrote: > > On Wed, Feb 25, 2015 at 08:38:21AM -0800, Thiago Macieira wrote: > > > On Wednesday 25 February 2015 17:20:54 Christian Kandeler wrote: > > > > Also, you are not e

Re: [Development] Git clone hangs on Linux using SSH

2015-02-26 Thread Denis Shienkov
> Don't clone from the Gerrit server. Clone from Gitorious, GitHub or one of the other mirrors. Hmm? I'm sorry, but what about this instructions: http://qt-project.org/wiki/Gerrit-Introduction ? This is deprecated now? 26.02.2015 21:19, Thiago Macieira пишет: > On Wednesday 25 February 2015 20

[Development] How to QNAM from the WebCore jungles?

2015-02-26 Thread Ilya Kowalewski
Hiho, I am looking for a way to fetch some resources from WebCore sources (QtWebKit) with QNAM. I want it to be associated with user-agent of QWebView and referrer of QWebPage. Is there a way to handle this? Thanks! ___ Development mailing list Developm

Re: [Development] New Qt Wiki Now Available

2015-02-26 Thread Thiago Macieira
On Thursday 26 February 2015 15:05:58 Kojo Tero wrote: > and the content has been migrated from the old wiki. Which of the two old wikis? Both http://wiki.qt-project.org and http://qt-project.org/wiki? -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source T

Re: [Development] QtCore missing check for memory allocation

2015-02-26 Thread Thiago Macieira
On Thursday 26 February 2015 19:22:56 Konstantin Tokarev wrote: > When using such a large library as Qt is quite hard to get along with > disabled overcommit on embedded device (because you need to keep your > application's VmSize under than size of physical memory). That's not necessary. Let me

Re: [Development] QtCore missing check for memory allocation

2015-02-26 Thread Thiago Macieira
On Wednesday 25 February 2015 21:29:31 Marc Mutz wrote: > > -- why should now people have a slower library because > > of all those checks? > > Q_CHECK_PTR does not necessarily make the library slower. It only needs to > be applied to malloc/calloc and nothrow operator new, because ordinary new

Re: [Development] QtCore missing check for memory allocation

2015-02-26 Thread Thiago Macieira
On Wednesday 25 February 2015 20:09:21 Oswald Buddenhagen wrote: > On Wed, Feb 25, 2015 at 08:38:21AM -0800, Thiago Macieira wrote: > > On Wednesday 25 February 2015 17:20:54 Christian Kandeler wrote: > > > Also, you are not even guaranteed to get a null pointer/bad_alloc due to > > > things like L

Re: [Development] QtCore missing check for memory allocation

2015-02-26 Thread Thiago Macieira
On Wednesday 25 February 2015 20:07:58 Oswald Buddenhagen wrote: > On Wed, Feb 25, 2015 at 08:01:54AM -0800, Thiago Macieira wrote: > > On Wednesday 25 February 2015 16:48:44 Ulf Hermann wrote: > > > >> We should thus do Q_CHECK_PTR on every memory allocation in Qt and we > > > >> should fix Q_CHEC

Re: [Development] Git clone hangs on Linux using SSH

2015-02-26 Thread Thiago Macieira
On Wednesday 25 February 2015 20:24:40 Denis Shienkov wrote: > Hi all. > > Currently I can not clone any of repo using the "git clone" command, > this attempt hangs forever on my ArchLinux: That's expected. Don't clone from the Gerrit server. Clone from Gitorious, GitHub or one of the other mirr

Re: [Development] New Qt Wiki Now Available

2015-02-26 Thread Kojo Tero
Yes, that does look nicer. Can you open a bug for me on bugreports.qt.io on that? Otherwise I will forget. Tero From: Taylor Braun-Jones [mailto:tay...@braun-jones.org] Sent: 26. helmikuuta 2015 18:26 To: Kojo Tero Cc: Qt Project; development@qt-project.org Subject: Re: [Development] New Qt Wiki

Re: [Development] QtCore missing check for memory allocation

2015-02-26 Thread Konstantin Tokarev
25.02.2015, 22:09, "Oswald Buddenhagen" : > On Wed, Feb 25, 2015 at 08:38:21AM -0800, Thiago Macieira wrote: >>  On Wednesday 25 February 2015 17:20:54 Christian Kandeler wrote: >>>  Also, you are not even guaranteed to get a null pointer/bad_alloc due to >>>  things like Linux overcommitting. >>

Re: [Development] New Qt Wiki Now Available

2015-02-26 Thread Taylor Braun-Jones
On Thu, Feb 26, 2015 at 10:05 AM, Kojo Tero wrote: > In short, it’s a mediawiki instance, you use Qt Account to log in for > editing, > > Would it make sense to turn the "Enable enhanced editing toolbar" option on by default for new accounts? Seems to me like it would be the preferred option for

[Development] New Qt Wiki Now Available

2015-02-26 Thread Kojo Tero
Hello, We just opened the new Qt Wiki at http://wiki.qt.io You can find the details in the blog post: http://blog.qt.io/blog/2015/02/26/new-qt-wiki-now-available/ In short, it's a mediawiki instance, you use Qt Account to log in for editing, and the content has been migrated from the old wiki. A

Re: [Development] testresults.qt-project.org will discontinue!!!

2015-02-26 Thread Sarajärvi Tony
All should be OK now! Note that logs are now located in the new host testresults.qt.io/ci The status page as well is now there: testresults.qt.io/ci/status And QtMetrics http://testresults.qt.io/qtmetrics Regards, -Tony From: Sarajärvi Tony Sent: 26. helmikuuta 2015 15:20 To: development@qt-proj

[Development] testresults.qt-project.org will discontinue!!!

2015-02-26 Thread Sarajärvi Tony
Hi Terribly sorry for the late notice, but even I wasn't aware of the tight schedule before yesterday. Testresults.qt-project.org will be powered off during the weekend. The content has been transferred over to testresults.qt.io already and it will host the services (CI status, QtMetrics and l

Re: [Development] QtCore missing check for memory allocation

2015-02-26 Thread Al-Khanji Louai
How is that different from linking a custom implementation of operator new/operator delete and malloc/free into Qt? These are embedded use-cases anyway, so you wouldn’t be using a stock Qt binary. Implementing the above is well-documented, and in fact both C++11 and C++14 have improved the way