| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Reviewed-by: Leo
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The test was introduced to make sure that the cursor position changed signal
was not emitted excessively on setPlainText or on setHtml. The original
fix however still included one superfluous emission for a temporary
QTextCursor object. This was fixed by change 930ba91ec1e630, this change
adjusts the auto test accordingly.
Reviewed-by: Simon Hausmann
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In S60 message boxes are always in portrait mode located on the bottom
of screen and they occypy the whole sreen width. In addition
messageboxes in S60 does not have their own buttons, but the buttons are
located in system softkey area. That's why adding standard buttons for
message box in S60 does not change the dialog size.
Reviewed-by: Sami Merila
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| | |
Softkey actions need to copy enable state from action widget to prevent
crash when action is triggered and action widget is disabled.
OPEN: dynamically setting enable state for softkey actions.
Task-number: QT-2117
Reviewed-by: Jason Barron
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Reviewed-by: Joao
Conflicts:
src/gui/graphicsview/qgraphicsview.cpp
src/gui/widgets/qspinbox.cpp
tests/auto/qgraphicsview/tst_qgraphicsview.cpp
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Regression against Qt 4.4. Children of items with ItemClipsChildrenToShape
would only be discovered if the view's expose region contained the outer
bounding rect of all items, _if_ there was at least one item in the
scene that enabled ItemIgnoresTransformations.
The reason for this bug is that the presence of an untransformable item
causes the item lookups to go through a different path
(QGraphicsViewPrivate::itemsInArea()). This function had the bug that it
didn't correctly discover children of clip-items. Because of this, in
the provided test case you could "work around" the bug by either removing
the clip flag, or the transformation flag.
Task-number: QTBUG-4151
Reviewed-by: Alexis
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
QDomDocument::toString() should not cause an assertion if the document
specifies an encoding that is not supported by QTextCodec.
Task-number: QTBUG-4595
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Removing dubious intermediate detection code that also had a buffer
overflow. The results were inconsistent and not dependable on.
Processing was inefficient and end value to user experience dubious.
Test cases that abused the former behaviour were changed to consider
input in an Intermediate where it was previously considered Invalid.
With this change, user input will mostly be considered in an
intermediate state, until it is effectively validated.
Task-number: 255019
Reviewed-by: Anders Bakken
|
| |/
|/|
| |
| |
| | |
Test that the event has the right attributes.
Also improve the custom QSignalTransition test to cover all attributes.
|
| |
| |
| |
| | |
Reviewed-by: Joerg
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Those two classes are specific to the state machine framework, but
their names were so generic that we felt they were polluting the
Q-namespace. They are now QStateMachine::SignalEvent and
QStateMachine::WrappedEvent.
Reviewed-by: Eskil Abrahamsen Blomfeldt
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In cases where there are both softkey actions as well as "normal"
actions, we need to be sure to skip over the none softkey actions since
they should not be a part of the softkey framework and the 'index' will
be out of sync.
Reviewed-by: Sami Merila
|
|/ /
| |
| |
| | |
Reviewed-by: TrustMe
|
|\ \ |
|
| | | |
|
|/ /
| |
| |
| |
| |
| | |
Since S60 does not compile QPlastiqueStyle, we use QWindowsStyle
Reviewed-by: TrustMe
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Reviewed-by: paul
|
|/ /
| |
| |
| |
| |
| |
| | |
The test passes without these workarounds in 5800 XpressMusic and
emulator
Reviewed-by: TrustMe
|
| |
| |
| |
| |
| |
| | |
See: 82275b4c03a0. This workaround applies also for Symbian.
Reviewed-by: TrustMe
|
| |
| |
| |
| | |
Reviewed-by: TrustMe
|
| |
| |
| |
| |
| |
| |
| | |
Symbian OS has working networking support now, so we donät need to skip
this test anymore.
Reviewed-by: TrustMe
|
| | |
|
| |
| |
| |
| | |
Reviewed-by: Bill King
|
| |
| |
| |
| |
| |
| | |
Added more checking in each step of the playback or recording tests.
Reviewed-by:Justin McPherson
|
| |
| |
| |
| |
| |
| |
| | |
The SRCDIR entry was added to the project file to correct the deployment
for WindowsCE. Also the process start is now monitored in the test.
Reviewed-by: Joerg
|
| |
| |
| |
| |
| |
| |
| | |
The deployment for Windows CE did not work as the processes could not
be located properly on the device.
Reviewed-by: banana joe
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
qsystemsemaphore autotest does not compile for S60 and WinCE without
QtScript and QtScript currently does not compile for S60, that's why
the following statement was added to pro file:
requires(contains(QT_CONFIG,script))
Reviewed-by: TrustMe
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
qsharedmemory autotest does not compile for S60 and WinCE without
QtScript and QtScript currently does not compiled for S60, that's why
the following statement was added:
requires(contains(QT_CONFIG,script))
Reviewed-by: TrustMe
|
| |
| |
| |
| |
| |
| | |
Symbian OS doesn't support environment variables.
Reviewed-by: Miikka Heikkinen
|
| |
| |
| |
| |
| |
| |
| |
| | |
Specialized test code to set higher stack for this test case is not
needed anymore since default stack for Qt thread in S60 now is 80 KB.
See commit: 9324fdde
Reviewed-by: TrustMe
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The polling watcher was generating two events for directory content
deletion on Symbian emulator. 1 for content change, 1 for time change.
Seems within the bounds of reason for a poller, so test relaxed to
allow it.
Reviewed-by: Liang QI
|
| |
| |
| |
| |
| |
| |
| | |
The image comparison reference snapshots were not up to date. Also
the comparison ignores the title bar completely.
Reviewed-by: banana joe
|
| |
| |
| |
| |
| |
| |
| |
| | |
This test would trigger random Q_ASSERT failures but should
work fine after the previous commit.
Signed-off-by: Eduardo M. Fleury <eduardo.fleury@openbossa.org>
Reviewed-by: Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
|
| |
| |
| |
| |
| | |
Signed-off-by: Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
Reviewed-by: Eduardo M. Fleury <eduardo.fleury@openbossa.org>
|
| |
| |
| |
| |
| | |
Signed-off-by: Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
Reviewed-by: Eduardo M. Fleury <eduardo.fleury@openbossa.org>
|
| |
| |
| |
| |
| | |
Signed-off-by: Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
Reviewed-by: Eduardo M. Fleury <eduardo.fleury@openbossa.org>
|
| |
| |
| |
| |
| |
| |
| | |
Test that the variable is stored in the correct activation object.
Currently it's marked as an expected failure because it doesn't work
with the JSC-based back-end. It did however work with the old back-end,
so this is a regression.
|
|\ \ |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Some network tests depend on reading file and comparing it with
data fetched from network. On Windows, if not set properly, git will
append CRLF when checking out. This makes tests to fail as sizes and
binary content are not as expected.
Reviewed-by: Janne Anttila
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When we changed the sibling stacking order to be defined (4.5) instead of
undefined (4.2, 4.3, 4.4), the need to control this stacking order
arose. Before we could just say the order was random, but stable,
and the only way people could rely on order was to set Z. Now, when the
default order is defined as "insertion order", people start relying on
this order, and incidentally they want more control.
In QML, the need to have insertion order semantics is very evident as
the order you define the elements in QML more strongly implies a
graphical stacking order than the imperative order they get when added
in C++.
This change adds QGraphicsItem::stackBefore(const QGraphicsItem *), which
works similarily to QWidget::stackUnder(). It moves the item in front of
the sibling item passed as an argument.
While implementing this function, and writing tests for how this
function behaves in combination with Z values, I found that the code
we had for updating siblingIndex was broken in the case where you remove
an item from the middle of the children list. In this case newly added
items would be assigned the same sibling index order as one that's already
in the list.
So in order to get the tests to pass I had to fix this bug as well.. The
approach is to sort the children list by insertion order, so that we can
fix up the sibling indexes.
Performancewise this has little implications. If there are gaps in
the sibling index list, which only occurs if you remove an item from the
middle of the children list, will the sibling index list be adjusted /
corrected before used (for example, by stackBehind()). Multiple calls to
stackBehind will be fast, and the list is flagged for resorting (including
Z order).
Reviewed-by: jasplin
|
| |/ /
| | |
| | |
| | | |
One item slipped and was now added.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Tests showAndMoveChild and rectOutsideCoordinatesLimit_task144779
were made desktop client area dependent so the screen capturing
targets meaningfull rectangles on Windows CE.
Reviewed-by: Joerg
|