| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
With the series of commits ending in ff1280178, I made QUrl::toAce
fail if the parameter is not a well-formed hostname (i.e., if it
violates STD3). IPv6 hostnames do, so we can't preemptively run
ToACE.
Instead, delay running ToACE until we've tried literal matching.
Reviewed-by: TrustMe
|
|
|
|
|
|
|
|
|
| |
scene bottom-up.
When adding n items, the depth was computed n² times. Adding lazy computation
fixes this performance issue.
Reviewed-by: Andreas
|
|
|
|
| |
Reviewed-by: Thierry
|
|
|
|
| |
Reviewed-by: ariya
|
|
|
|
|
|
|
|
|
|
| |
HTTP Pipelining should improve the performance of HTTP requests
for high latency network links. Since some servers/proxies could
have problems with it, it is disabled by default.
Set the HttpPipeliningAllowed attribute of a QNetworkRequest
to enable it for that request.
Reviewed-by: Thiago
|
|
|
|
|
|
| |
We will use this for auto testing.
Reviewed-by: Thiago
|
|
|
|
| |
Reviewed-by: Thiago
|
|
|
|
|
|
|
|
| |
When sending XdndLeave events, we should use the effectiveWinId() of
the drag source (just like we do when sending XdndEnter and
XdndPosition events).
Task-number: 255559
|
|
|
|
| |
Otherwise this codec would not be available.
|
|
|
|
| |
Reviewed-by: trustme
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
... by not allocating space for slots in the vector.
Before, the vector uses the signal index as index. The problem is that
the slots and signal are mixed in the same index space.
We solve the problem by having a different index space for the signal in
the connectionlists vector. All we need to do is to add the information
about the number of signals in the moc.
Also, we are not connecting to cloned signal but only to the orginial
ones. For example, destroyed(QObject * = 0) would generate two signal,
we now only connect to the first one.
This also improve a little bit the performence while activating signals
since it removed one call to indexOfMethod.
Reviewed-by: Brad
|
|
|
|
|
|
|
|
|
| |
be handled by connected views/proxies. Otherwise, the views/proxies may
end up in an invalid state.
Task: 227718
Reviewed-By: Olivier Goffart
|
|
|
|
|
|
|
|
| |
This includes docs on the default QWidget::event() behavior, how to
use touch with QAbstractScrollArea subclasses, how the propagation and
grouping works, as well as some caveats.
Reviewed-by: David Boddie
|
|
|
|
|
|
|
|
| |
QXmlStreamReader and QXmlStreamWriter can be used conveniently without
subclassing, which the example now demonstrates.
Reviewed-by: mae
Reviewed-by: David Boddie
|
|
|
|
| |
Reviewed-By: TrustMe
|
|
|
|
| |
Reviewed-By: TrustMe
|
| |
|
|
|
|
|
|
|
| |
Mentioned in the doc that the preferred way to save/restore a geometry
of a QMainWindow is to use both saveGeometry() and saveState().
Reviewed-by: Kavindra Devi Palaraja
|
|
|
|
|
|
|
|
| |
Moved the dummy variable to the same scope as the 'motion' variable.
This fixes Coverity defect CID 1528.
Reviewed-by: Olivier Goffart
Reviewed-by: Gabriel de Dietrich
|
|
|
|
|
|
|
| |
This is partly done to address a review comment for S60.
Reviewed-by: Marius SO
Reviewed-by: Paul
|
| |
|
|
|
|
|
| |
Now that it is really no longer used.
QXmlStreamReader::skipCurrentElement replaces it.
|
|
|
|
| |
Apparently I forgot one occurrence.
|
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Some of the platform test infrastructure assumes that all unit
tests are sub-directories under tests/auto, and the tests/auto/math3d
sub-directory was confusing that infrastructure.
Reviewed-by: trustme
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We never used to properly raise windows with DirectFB's window
management. Somehow the event happens on a window surface that doesn't
really have a IDirectFBWindow associated with it but using
permanentState I can establish a sibling relationship to ensure raise
gets called on the right window surface.
Reviewed-By: Donald <qt-info@nokia.com>
|
| |
| |
| |
| | |
Reviewed-by: Donald <qt-info@nokia.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
s/lock/lockFlgs/
lock is also a function in QWSWindowSurface.
Reviewed-by: Donald <qt-info@nokia.com>
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Like 9fea895d6, the series of commits ending in ff1280178 made
QUrl::toAce more strict. Now it doesn't accept empty domain labels,
which is exactly what a leading dot means.
Interestingly, KDE 3's KURL had a long-standing hack to support the
leading dot and which I broke on more than one occasion. And it had that
feature exactly because of cookies.
|
| | |
|
| |
| |
| |
| |
| | |
The change of URLs in Qt broke the tests that operated on URLs. This
wasn't properly done, so revert to the last working values.
|
| |
| |
| |
| |
| | |
We won't fix any issues in those libraries anyway, so don't waste time
checking.
|
| |
| |
| |
| | |
allocation.
|
| |
| |
| |
| | |
Instead, only run the unload code if we successfully loaded.
|
| |
| |
| |
| |
| | |
We shouldn't fail in our autotests because the platform is buggy. But
note the problem. We should report the bugs upstream...
|
| |
| |
| |
| |
| | |
The license header update in e12a03d5 changed the .ui templates, but
not the baselines in all cases.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Instead of storing whether or not our clip is dirty and updating it in
every paint operation we'll just update it whenever it changes. This is
more intuitive and should be faster for the common case as well.
Also make sure to implement clip(region).
Prevent multiple updateClip() calls for a single clip operation by
introducing a flag to check whether we recursed into the different
clip() calls.
Reviewed-by: Donald <qt-info@nokia.com>
|
| |
| |
| |
| |
| |
| | |
Make sure to call CLIPPED_PAINT so painting with a region clip works.
Reviewed-by: Donald <qt-info@nokia.com>
|
| |
| |
| |
| | |
Same as in the bookmarks example.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This makes the function a bit more useful, since previously it was only
safe to use if you were sure that it would not encounter an unexpected
child element, or if you would be alright with canceling the parser on
such an occurrence.
Now it is also possible to have it ignore any unexpected child elements,
or to have it include the text found in any child elements.
Task-number: 231938
Reviewed-by: mae
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
QXmlStreamReader::readNextStartElement reads until the next start
element within the current element, or returns false when no such
element is encountered before the end element is reached. It simplifies
the common case of iterating over the elements in an XML document.
QXmlStreamReader::skipCurrentElement reads until the end element of the
current element, skipping any child elements. This functionality was
requested in two tasks, and a similar function 'readUnknownElement' was
present in Qt's stream reader example.
Autotest is included, example and documentation have been updated.
Task-number: 238793
Reviewed-by: mae
|
| |
| |
| |
| | |
Reviewed-by: Olivier
|
| |
| |
| |
| | |
autotest will detect the problem
|
| |
| |
| |
| | |
Reviewed-by: Marius Storm-Olsen
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
QRasterPaintEngine::drawImage() used an optimized code path when the
source rectangle was 1x1. It would sample the source image at the
source rectangle's top-left corner and use the sampled color to fill
the entire target rectangle. There were two bugs, however:
1) The sampled color was assumed to be non-premultiplied, so you could
end up with premultiplying the color twice. This was fixed by
avoiding premultiplying a second time if the source image has a
premultiplied format.
2) Since the source rectangle is a QRectF, it could easily cross pixel
boundaries even if it's 1x1. In this case, it is not correct to fill
the target rectangle with a single color. This was fixed by checking
if the entire source rectangle is contained in a single pixel before
taking the optimized code path.
Task-number: 256950
Reviewed-by: Trond
|
| |\ |
|