/Parser/

ommitgraph'>* QNAM HTTP Code: When starting new request, prefer connected sockets.Markus Goetz2010-01-111-5/+17 | | | | | | | Prefer a QHttpNetworkConnectionChannel which has a connected socket to a channel which doesn't have a connected socket. Reviewed-by: Peter Hartmann * typo fixRitt Konstantin2010-01-111-1/+1 | | | | | Merge-request: 2077 Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com> * Added the 'framecapture' WebKit example to the default build.Andre Pedralho2010-01-111-1/+2 | | | | | | Merge-request: 2235 Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com> Reviewed-by: Simon Hausmann * Fix code exampleBernhard Rosenkraenzer2010-01-111-1/+1 | | | | | | | | | The example given for QAudioOutput doesn't actually compile: QAudioOutput::start takes a pointer to a QIODevice, but it's passed a QFile (not the pointer). Merge-request: 418 Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com> * fix typo in qreadwritelock's documentationRitt Konstantin2010-01-111-3/+3 | | | | | Merge-request: 426 Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com> * QNAM HTTP: Don't call d_func() so oftenMarkus Goetz2010-01-111-27/+30 | | | | Reviewed-by: Peter Hartmann * QNAM HTTP: Fix readBuffer maximum size.Markus Goetz2010-01-1112-1/+197 | | | | | | | | | | QHttpNetworkReply has now a throttled mode. If this is activated, it will only read HTTP body when its internal buffer is empty. This means that QNetworkReply.setReadBufferSize() can finally be used for bandwidth limiting. Thanks to David Faure for helping out. Reviewed-By: Peter Hartmann * QNAM HTTP: Optimize eatWhitespace()Markus Goetz2010-01-111-3/+10 | | | | | | Avoid calling socket->bytesAvailable(). Reviewed-by: Thiago * QNAM HTTP: Check if socket already tries to connect.Markus Goetz2010-01-111-5/+12 | | | | | | | This should get rid of QAbstractSocket warnings we sometimes emit. Reviewed-by: Thiago Reviewed-by: Peter Hartmann * network internals: fix build on S60Peter Hartmann2010-01-111-1/+1 | | | | Reviewed-by: Paul * [syncqt] Make -separate-module work with WebKit's directory structureSimon Hausmann2010-01-111-4/+4 | | | | | | | | | | | Changed the syntax to allow for the situation where the .pro file is in a different directory than the header files to install. In this case the resulting Makefile is in WebCore/Makefile, so the references in headers.pri to for example qwebview.h has to be ../WebKit/qt/Api/qwebview.h. This doesn't affect any existing syncqt operations inside of Qt. Reviewed-by: Trust me * Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.6Martin Smith2010-01-1174-584/+1314 |\ | * Add a way to access the normalised URL in QUrl.Thiago Macieira2010-01-111-4/+8 | | | | | | | | | | | | | | | | | | | | | | | | This is private API for now. For 4.7, decide whether to have a public method for this. Also investigate whether to provide a qHash function. Adding one to Qt would break source- and binary-compatibility with code that already has that (like Soprano). Patch-By: Warwick Allison Reviewed-by: Thiago Macieira | * [syncqt] Make it possible to synchronize headers for a separate moduleSimon Hausmann2010-01-111-2/+15 | | | | | | | | | | | | | | | | | | | | | | Added a -separate-module commandline option to syncqt that allows calling syncqt from outside of Qt to create header files. For WebKit package we call syncqt with -separate-module QtWebKit:WebKit/qt/Api to generate headers for the "QtWebKit" module for the headers in WebKit/qt/Api/*.h Reviewed-by: Thiago | * [syncqt] Make it possible to override the base directorySimon Hausmann2010-01-111-0/+11 | | | | | | | | | | | | | | | | This removes the need to set the QTDIR environment variable and makes it possible to call syncqt conveniently when creating webkit packages. Reviewed-by: Thiago | * network internals: start HTTP GET requests right away when calledPeter Hartmann2010-01-117-18/+30 | | | | | | | | | | | | | | | | | | | | | | | | | | on the code path from QNetworkAccessManager::get() to QTcpSocket::write() there were two calls involved that were invoked via a QueuedConnection, which would in some occasions delay writing the data to the socket. This patch makes sure the data is written to the socket immediately, without returning to the event loop (only the HTTP backend was changed for that event, the other backends were not changed) Reviewed-by: Thiago Macieira Reviewed-by: Markus Goetz | * Autotest: the cache code no longer returns expired pages.Thiago Macieira2010-01-111-3/+3 | | | | | | | | | | | | | | Returning expired changes is wrong. The documentation says we never do that. Now we really never return expired pages. Reviewed-by: Peter Hartmann | * Fix regression introduced in e49aee9f: set If-Modified-Since.Thiago Macieira2010-01-111-8/+8 | | | | | | | | | | | | | | | | I moved the code above the other tests because it's more complex. But, of course, that's wrong because it returns without setting the necessary headers. Reviewed-by: Peter Hartmann | * Merge branch '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into ↵Qt Continuous Integration System2010-01-09