| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Some of the more advanced tests will fail for non-obvious
reasons if these basic assumptions don't hold.
|
|\ |
|
| | |
|
| |
| |
| |
| | |
Reviewed-by: Thiago
|
| |
| |
| |
| |
| |
| |
| | |
This was basically a problem with shadow builds not being able to
access the pixmap.
Reviewed-by:eskil
|
| |
| |
| |
| |
| | |
Task-number: 217003
Reviewed-by: Bill King
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Requested by Girish and Jurgen. Useful for training and small examples.
Task-number: 245219
Reviewed-by: Tobias Koenig
AutoTest: Included in this submit.
|
| |
| |
| |
| | |
Also fixed a bug that would take the VMargin 3 times instead of 2.
|
| | |
|
| |
| |
| |
| | |
I also fixed an off-by-1 pixel bug
|
| |
| |
| |
| | |
Reviewed-by: Trust me
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This patch causes the size hint of QPushButton to be
recalculated in cases where the value of the autoDefault
property may have changed due to changes in the ancestor
chain.
If not explicitly set, the value of the autoDefault property
depends on the presence of a QDialog ancestor.
Note: The new autotest covers two different use cases related to
this behavior.
Reviewed-by: janarve
Task-number: 255581
|
|/ /
| |
| |
| |
| |
| |
| | |
Commercial license headers belong in source packages only. The repo
must have the pre-release license headers.
Reviewed-by: Trust Me
|
|\ \ |
|
| | | |
|
|/ /
| |
| |
| | |
Reviewed-by: Trust Me
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is mainly a stop-gap solution for 4.5.x. It trades painting performance
for correct painting.
Commit 7988d05da changed the opaque test from q->testAttribute(Qt::WA_OpaquePaintEvent)
to qt_widget_private(w)->isOpaque in qt_mac_update_widget_posisiton. This means
we'll do optimized moves in more cases. Unfortunately it also causes painting errors
in some cases (see the task).
Revert the commit for now to put the 4.5 branch in a god shape.
Task-number: 252295
Reviewed-by: nrc
|
| |
| |
| |
| | |
of calculation (ie. updateActionRects)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In making QUrl more strict with hostnames (to avoid malicious
attacks), I'm implementing the STD3 checks described by RFC
3490. These tests are invalid, so they are being removed or corrected.
STD3 requires that the hostname be composed of Letters, Digits,
Hyphens (so no underlines) and limited to 63 characters.
Also, an empty port doesn't make sense.
|
| |
| |
| |
| |
| |
| | |
There's only one permitted encoding for a hostname. If "fußball.de"
expands to "fussball.de" (due to NFKC), then it can't be equivalent to
xn-fuball-cta.de.
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Reviewed-by: TrustMe
|
| | | |
|
|\ \ \
| |/ / |
|
| | |
| | |
| | |
| | | |
Can't assume that the executable and source are in the same dir.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If it was shared and you then set it back to an int type,
it is still marked as shared,. This might even lead to crashes.
The patch was sent through gitorious by Jürgen Starek.
Note: autotest added as well
|
|\ \ \
| |/ / |
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | | |
Conflicts:
src/3rdparty/webkit/VERSION
src/3rdparty/webkit/WebCore/ChangeLog
src/network/access/qnetworkreplyimpl.cpp
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Use the fully qualified classname at relevant places in the
moc-generated code. Also, QMetaObject::newInstance() needs to
strip the namespace part, since the constructor signatures
don't contain the fully qualified name.
Task-number: 246064
Reviewed-by: Simon Hausmann
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This fixes a bug that occured together with a QProgressDialog.
The signal emission was like:
readyRead readyRead readyRead [...] readyRead finished readyRead
Now finished should be properly at the ending of this sequence.
Task-number: 256630
Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
|
|\ \ \
| |/ / |
|
| | |
| | |
| | |
| | | |
Task-number: 256918
|
| |\ \
| | |/
| | |
| | |
| | |
| | | |
Conflicts:
src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp
src/plugins/gfxdrivers/directfb/qdirectfbpixmap.cpp
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
enabled.
This allows mixing of debug and non-debug code (possible on Unix
systems) without causing assertion failures.
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Makes it work with custom message handlers (qInstallMsgHandler()).
Task-number: 233005
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Add 2 basic tests that, when faced with multiple touch points, make sure
we send multiple touch events on TouchScreen devices, but only one event
on TouchPads.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
Conflicts:
src/gui/kernel/qapplication_x11.cpp
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
before, there was no newline between a comment and a start element. Now,
there is and the comment is correctly indented.
Task: 256468
Reviewed-by: Frans Englich
|
| | |
| | |
| | |
| | | |
Reviewed-by: TrustMe
|
| | |
| | |
| | |
| | |
| | |
| | | |
Suggested by Jan Arve.
Reviewed-by: TrustMe
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Due to this, the behaviour of count(), itemAt() and removeAt() was
different between QGraphicsLinearLayout and QGraphicsGridLayout.
QGraphicsGridLayout does it right.
This adds some behaviour changes:
1. QGraphicsLinearLayout::count() is no longer affected by inserted
stretches (through insertStretch)
This means that code like this will break:
QGraphicsLinearLayout *linearLayout = new QGraphicsLinearLayout;
linearLayout->addItem(new QGraphicsWidget);
linearLayout->addStretch();
int count = linearLayout->count();
linearLayout->removeAt(count - 1);
// before this patch it would do nothing (and it wouldn't
// actually remove the stretch), with the new patch it would
// remove the QGraphicsWidget.
2. count(), itemAt() and removeAt() now prints a warning for an invalid
index.
The documentation actually says that "The reimplementation can assume
that index is valid (i.e., it respects the value of count()", but I
decided that its too risky to not assume that it is valid, since it
would break the following common pattern:
while(layout->itemAt(0)) {
layout->removeAt(0);
}
Cleaned up autotests (and a small codeblock) that assumed
itemAt/removeAt with an invalid index to work, since we should try to
follow our own advice. :-)
This change is also an alignment with what QGraphicsGridLayout does
(it checks the index argument and prints a warning too.)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
QSpinBox failed to recalculate its cached size hint
when setting the range, prefix, or suffix.
Reviewed-by: janarve
Task-number: 255051
|