Re: [Development] Proposal for allowing handling of HTTP redirects in QNAM

2013-12-30 Thread Mandeep Sandhu
>> Even so, the "body" content might still be of different sizes, so the >> total bytes will have to change across redirects. This to me doesn't >> look very consistent. > > I say once again: the downloadProgress includes *only* the body, not a single > byte of header or of overhead. Also, download

Re: [Development] git submodules

2013-12-30 Thread Mandeep Sandhu
On Tue, Dec 31, 2013 at 9:19 AM, Jiergir Ogoerg wrote: > Hi, > the Qt tutorials that explain how to use git don't mention git submodules. There are quite a few tutorials on the web on git submodules. In a nutshell, a submodule is an independent git repository that can reside/be referenced by anot

[Development] git submodules

2013-12-30 Thread Jiergir Ogoerg
Hi, the Qt tutorials that explain how to use git don't mention git submodules. Is that why after doing changes to some source file "git diff" doesn't show the changes as expected from reading this: http://qt-project.org/wiki/Git_Introduction I'm working with the files from qt5/qtbase/src/plugins/

Re: [Development] src/plugins/platforms/eglfs compilation error

2013-12-30 Thread Thiago Macieira
On segunda-feira, 30 de dezembro de 2013 21:20:06, David Faure wrote: > I am very surprised that this passed the CI and that others aren't affected. EGLFS is probably not compiled by the CI. It probably does Desktop OpenGL builds for generic Linux only. EGL is probably enabled for Android only, i

Re: [Development] src/plugins/platforms/eglfs compilation error

2013-12-30 Thread Thiago Macieira
On segunda-feira, 30 de dezembro de 2013 21:20:06, David Faure wrote: > Xlib.h is included by > src/3rdparty/angle/include/EGL/eglplatform.h > I do have /usr/include/EGL/egl.h btw. What provides it? I'm guessing you have a non-Mesa GL driver then. The Mesa-provided EGL/eglplatform.h has this:

Re: [Development] gitorious error

2013-12-30 Thread Thiago Macieira
On segunda-feira, 30 de dezembro de 2013 22:52:23, Jiergir Ogoerg wrote: > Thanks, this one works, but I wonder if gerrit and the whole Qt > shebang works with it by default or at all. It works. You have an Internet connection problem that is unrelated to Qt. -- Thiago Macieira - thiago.macieira

Re: [Development] gitorious error

2013-12-30 Thread Jiergir Ogoerg
Thanks, this one works, but I wonder if gerrit and the whole Qt shebang works with it by default or at all. On Mon, Dec 30, 2013 at 10:46 PM, Liang Qi wrote: > Try github mirror? > > git clone git://github.com/qtproject/qt.git > > More in https://github.com/qtproject/ > > On 30 December 2013 19:3

Re: [Development] gitorious error

2013-12-30 Thread Liang Qi
Try github mirror? git clone git://github.com/qtproject/qt.git More in https://github.com/qtproject/ On 30 December 2013 19:35, Jiergir Ogoerg wrote: > Hi, > I'm trying to follow the pile of tutorials to be able to contribute code > to qt. > > At > http://qt-project.org/wiki/Git_Introduction >

Re: [Development] QWidget mouse events - different order

2013-12-30 Thread Rick Stockton
On 12/30/2013 12:50 AM, Rutledge Shawn wrote: > On 23 Dec 2013, at 5:37 PM, Rick Stockton wrote: > >> QTBUG-25831 is re-opened, and assigned to me. The linked gerrit change >> would "solve" the problem for Widgets- creating the issue >> Shawn Rutledge has suggested making the change configurable

[Development] src/plugins/platforms/eglfs compilation error

2013-12-30 Thread David Faure
Same old story: the Xlib.h headers #define None, breaking the None in qurl.h This breaks compilation of qtbase/src/plugins/platforms/eglfs in stable branch for me. Including Qt headers after egl headers works around it, but it would have to be done in many .cpp files... (I only tried on qeglfsi

Re: [Development] Proposal for allowing handling of HTTP redirects in QNAM

2013-12-30 Thread Thiago Macieira
On segunda-feira, 30 de dezembro de 2013 11:26:48, Mandeep Sandhu wrote: > > No, it doesn't. It includes only data. The HTTP headers are metadata, so > > they don't count. > > Even so, the "body" content might still be of different sizes, so the > total bytes will have to change across redirects.

Re: [Development] Building QtWayland is broken

2013-12-30 Thread Thiago Macieira
On segunda-feira, 30 de dezembro de 2013 12:59:22, Hausmann Simon wrote: > It's possible to create qmake rules within a module, something Ossi and Tor > Arne have done successfully in webkit. Grab me when back in the office and > we can have a look :) Another option is to reconsider moving the way

Re: [Development] gitorious error

2013-12-30 Thread Jiergir Ogoerg
Yes it loads, in Chrome and Firefox. However IPv6 is troublesome (doesn't work or disabled or ISP to blame - don't know) - I disable IPv6 in Firefox, otherwise some sites start loading after like 20 seconds. I'll try to install a completely different distro (though not Fedora 20 KDE cause it hang

Re: [Development] gitorious error

2013-12-30 Thread Nicolás Alvarez
2013/12/30 Jiergir Ogoerg : > Hi, > I'm trying to follow the pile of tutorials to be able to contribute code to > qt. > > At > http://qt-project.org/wiki/Git_Introduction > at "Getting the Qt source code" > I must do > git clone git://gitorious.org/qt/qt.git > > but it yields this on the command l

[Development] gitorious error

2013-12-30 Thread Jiergir Ogoerg
Hi, I'm trying to follow the pile of tutorials to be able to contribute code to qt. At http://qt-project.org/wiki/Git_Introduction at "Getting the Qt source code" I must do git clone git://gitorious.org/qt/qt.git but it yields this on the command line: Cloning into 'qt'... fatal: unable to connec

Re: [Development] Cleanup open requests in Gerrit?

2013-12-30 Thread Alan Alpert
On Mon, Dec 30, 2013 at 6:36 AM, Kurt Pattyn wrote: > Hi, > > I noticed that the oldest open item in Gerrit dates back to 7 October 2011. > There are around 2000 items still open. I suppose a lot of them are not > relevant anymore. > > Wouldn’t it a good idea that the maintainers of the differen

Re: [Development] Proposal for allowing handling of HTTP redirects in QNAM

2013-12-30 Thread Mandeep Sandhu
> Since we know immediately that we're being redirected we can simply > wait until we get a non-redirecting response before we start emitting > the progress signals. We just need to (internally) ensure that we've > read the body from the redirect response, the user of QNAM doesn't > need to care.

Re: [Development] Proposal for allowing handling of HTTP redirects in QNAM

2013-12-30 Thread Richard Moore
On 30 December 2013 16:07, Mandeep Sandhu wrote: So I guess having body in the 3xx response will not be all that unusual. >>> >>> It will be. >> >> Actually, it's extremely common - here's a default apache 301 for example: [snip] > I guess the body is provided for clients who can't or intent

Re: [Development] Proposal for allowing handling of HTTP redirects in QNAM

2013-12-30 Thread Mandeep Sandhu
>>> So I guess having body in the 3xx response will not be all that unusual. >> >> It will be. > > Actually, it's extremely common - here's a default apache 301 for example: > > monster:/home/rich/src/wireshark # telnet xmelegance.org 80 > Trying 80.68.89.8... > Connected to xmelegance.org. > Escap

Re: [Development] Proposal for allowing handling of HTTP redirects in QNAM

2013-12-30 Thread Richard Moore
On 30 December 2013 11:25, Thiago Macieira wrote: > On segunda-feira, 30 de dezembro de 2013 11:23:29, Mandeep Sandhu wrote: >> > Maybe rare for URL shorteners. Internal redirects inside a web site or >> > group of sites are a different matter: call me an old-grumpy-Mosaic-user >> > if you like, b

[Development] Cleanup open requests in Gerrit?

2013-12-30 Thread Kurt Pattyn
Hi, I noticed that the oldest open item in Gerrit dates back to 7 October 2011. There are around 2000 items still open. I suppose a lot of them are not relevant anymore. Wouldn’t it a good idea that the maintainers of the different modules in Qt go through them and either discard them or merge

Re: [Development] [Q] Good way to handle QEvent::DeferredDelete

2013-12-30 Thread Hausmann Simon
You can turn off the JIT by setting the QV4_FORCE_INTERPRETER=1 environment variable at runtime. Simon Fra: Thiago Macieira Sendt: 12:26 mandag 30. desember 2013 Til: development@qt-project.org Emne: Re: [Development] [Q] Good way to handle QEvent::DeferredDelete On segunda-feira, 30 de dezemb

Re: [Development] Building QtWayland is broken

2013-12-30 Thread Hausmann Simon
It's possible to create qmake rules within a module, something Ossi and Tor Arne have done successfully in webkit. Grab me when back in the office and we can have a look :) Simon Fra: jorgen.l...@digia.com Sendt: 11:03 mandag 30. desember 2013 Til: development@qt-project.org Svar til: Lind Jor

Re: [Development] Proposal for allowing handling of HTTP redirects in QNAM

2013-12-30 Thread Thiago Macieira
On segunda-feira, 30 de dezembro de 2013 11:23:29, Mandeep Sandhu wrote: > > Maybe rare for URL shorteners. Internal redirects inside a web site or > > group of sites are a different matter: call me an old-grumpy-Mosaic-user > > if you like, but I usually add a body of the "if you are not redirecte

Re: [Development] [Q] Good way to handle QEvent::DeferredDelete

2013-12-30 Thread Thiago Macieira
On segunda-feira, 30 de dezembro de 2013 10:44:15, Elvis Lee wrote: > #24 0x3b60a0a8 in ?? () > #25 0x3b60a0a8 in ?? () > Backtrace stopped: previous frame identical to this frame (corrupt stack?) > > I don't know what's here. > 3b60a000-3b60b000 rwxp 00:00 0 > 3b60b000-3b60c000 ---p

Re: [Development] Howto know the Qt version in Qt source code

2013-12-30 Thread Jason McDonald
On Mon, Dec 30, 2013 at 7:03 PM, Li Anthony wrote: > One more question. I found my tree is still in 5.1.1. I have do git pull > in qt5 directory. How should I do to update source code to 5.2.0? > If you specifically want the released 5.2.0 code, the following should work: cd /path/to/qt5

Re: [Development] Building QtWayland is broken

2013-12-30 Thread jorgen.lind
Hi, > I've been trying to build QtWayland from git using Qt 5.2 for a little > while now, and I've come to the conclusion that the module depends on > the module being installed to actually build. The actual issue is I > run into occurs when building wayland_wrapper/qwlcompositor.cpp: > > In file

Re: [Development] Howto know the Qt version in Qt source code

2013-12-30 Thread Andreas Aardal Hanssen
On 30 Dec 2013, at 09:31, Li Anthony wrote: > Hi, > Maybe this is a silly question. But I always want to know the Qt version when > I compile Qt from source code. Is there a version file or some easy way that > I can find in source code? > Thanks. > http://linux.m2osw.com/find-qt-version-comm

Re: [Development] Howto know the Qt version in Qt source code

2013-12-30 Thread Li Anthony
One more question. I found my tree is still in 5.1.1. I have do git pull in qt5 directory. How should I do to update source code to 5.2.0? From: Jason McDonald [mailto:macadd...@gmail.com] Sent: 2013年12月30日 16:51 To: Li Anthony Cc: Subject: Re: [Development] Howto know the Qt version in Qt sourc

Re: [Development] Howto know the Qt version in Qt source code

2013-12-30 Thread Matthew Brush
On 13-12-30 12:31 AM, Li Anthony wrote: > Hi, > > Maybe this is a silly question. But I always want to know the Qt version when > I compile Qt from source code. Is there a version file or some easy way that > I can find in source code? > Thanks. > For compile time you could use this: http://qt-

Re: [Development] QWidget mouse events - different order

2013-12-30 Thread Rutledge Shawn
On 23 Dec 2013, at 5:37 PM, Rick Stockton wrote: > QTBUG-25831 is re-opened, and assigned to me. The linked gerrit change > would "solve" the problem for Widgets- creating the issue that a LOT of > Qt5 modules are listening only for single-click, and would now need to > listen for both events if

Re: [Development] Howto know the Qt version in Qt source code

2013-12-30 Thread Jason McDonald
On Mon, Dec 30, 2013 at 6:31 PM, Li Anthony wrote: > Hi, > > > > Maybe this is a silly question. But I always want to know the Qt version > when I compile Qt from source code. Is there a version file or some easy > way that I can find in source code? > > qglobal.h contains the following definit

[Development] Howto know the Qt version in Qt source code

2013-12-30 Thread Li Anthony
Hi, Maybe this is a silly question. But I always want to know the Qt version when I compile Qt from source code. Is there a version file or some easy way that I can find in source code? Thanks. Best Regards, Li Li (Anthony Li) ___ Development mailing