| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Base on QDeclarativeDataTest to locate test data.
- Make small windows frameless to prevent errors from
minimum size constraints of decorated windows on Windows.
- Add test messages printing the value of comparisons.
- Skip alignment tests if no reference image exists:
Previously, the test would create an image file name
"<testfile>-unknown-architecture", find out it does not
exist, write out the 'actual' image under that name
(clobbering the source directory) and compare to it,
claiming success.
The reference image name is now composed of platform and style
name and the test is skipped if the file does not exist.
Task-number: QTBUG-28611
Change-Id: If1496e11db9638e7febd3af637ad55d7c6f11409
Reviewed-by: Christopher Adams <chris.adams@jollamobile.com>
|
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-21015
Change-Id: I5b0f3a607c182aec819bd525ce3b2a4f8b47791a
Reviewed-by: Alan Alpert <aalpert@rim.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Backport 447e5acb880ebda498891623dc4009984cb73bc6 and
0fc361f96b06ba318e70610e46beb421753cae9d which fix bugs related
to currentIndex. The first commit ensures currentIndex=0 when all
items are removed; the second ensures that the initial currentIndex
value is respected and also resets the view correctly if the model
changes.
Change-Id: I73266a211001a54163be8415d449802ff077a72e
Reviewed-by: Martin Jones <martin.jones@jollamobile.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
By placing imports into a hash keyed by the qualifier, imports were not
processed in the order they appeared in the source. This is perhaps not a major
problem, but it is nice to have predictability.
This becomes more important in Qt 5, when QHash is randomly seeded at
application startup, as alterations to order could have strange side effects on
code.
Reported-by: Maciej Blomberg
Change-Id: Ibd34fab1eed4bc727b498ba4684c62d801ae713b
Reviewed-by: Matthew Vogt <matthew.vogt@qinetic.com.au>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
follow respective change in qtbase
Change-Id: I15346e16cd1d6f30cf32a77284b5f19b1dd2a7a9
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: hjk <qthjk@ovi.com>
|
| |
| |
| |
| |
| | |
Change-Id: I55d94c152217e419a2c8f04d174996a71eb933a5
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
|
| |
| |
| |
| |
| | |
Change-Id: If0fd01464160259d634770908d5c284db2bbe582
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Use consistent timing on the unified timer instead of qWait
Manual cherry-pick of 2ebb2fce87642ef0da8629bdb27164fffbdcdcb9
Change-Id: I76c402081062f7f6849bd421e90bc96f08e8d95a
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
|
| |
| |
| |
| |
| |
| |
| | |
Missed this bit in commit 905537e032095790b4ac1607c5ca0de2ad412476
Change-Id: Ic318dbe7a48412e9689ca0f4506c7098d9f48b6a
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
|
| |
| |
| |
| |
| | |
Change-Id: Ic318dbe7a48412e9689ca0f4506c7098d9f48b5f
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
|
|/
|
|
|
| |
Change-Id: I4c02f91abde94d9ee7d154efa6eb371e1a8dfd71
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
|
|
|
|
|
|
|
|
|
|
| |
Provide for checking relative paths only; default to file names.
Currently, the checking triggers on a drive letters and
installation folder names, which is too strict.
Task-number: QTBUG-28277
Change-Id: I2056a39b605f7891d2c3e395efc6bc541aa7e470
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
|
|
|
|
|
| |
Change-Id: Ie78eda64966b6d594123db91f908e3c84b1966b6
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
|
|
|
|
|
|
|
|
|
| |
The test seems to be wrong. Keep the warning though if other
tests actually rely on the behavior.
Task-number: QTBUG-28271
Change-Id: I93b952156b96b5d07ab5177ffce6152e77479c2d
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
|
|
|
|
|
| |
Change-Id: Ifb326e09a5254d1518d7d18c1994b36c349bdeb6
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
|
|
|
|
|
|
|
|
|
|
| |
So that it can skip loading state when the underlying
QNetworkReply is already finished.
Change-Id: Ic2d26271868b64bf8a411b4b54d7e5be7ee5d2b5
Parts-of-the-patch-by: Jeremy Nicholl
Task-number: QTBUG-27723
Reviewed-by: Alan Alpert <aalpert@rim.com>
|
|
|
|
|
|
|
|
| |
Although ObserverMode was enabled, the messages to the plugin
were not delivered and hence the feature did not work.
Change-Id: I58ec83a4ee727b32833c011a4942cde0cd6a02c8
Reviewed-by: Christiaan Janssen <christiaan.janssen@digia.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Although not valid according to ECMA 5.1, both JSC and V8 accept a
missing semicolon after a do-while loop. (Both JSC and V8 do not do this
through automatic semicolon insertion, but handle it as a special case.)
This is a "port" of a similair change done in the qtdeclarative module.
Change-Id: I417cf18abb75e7040c48894b8f8f68afc41547fe
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
|
|
|
|
|
|
|
| |
The generated module_includes test is a super-set of this test.
Change-Id: I9faca7c8eb171c99e2033aa7cddc923aedf13507
Reviewed-by: Rohan McGovern [inactive] <rohan.mcgovern@nokia.com>
|
|
|
|
|
| |
Change-Id: Ie02cabb3081be394242f8d1fa06ecf7946c4bdc0
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
by using fixed QTextBoundaryFinder behavior.
Update QDeclarativeTextInput autotests.
Task-number: QTBUG-11365
Task-number: QTBUG-27364
Change-Id: Idda22f6c0974bf29d2ff961ea8d998a68c3d676b
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The QtDeclartive tst_examples autotest has been flaky. After some
investigation I found that it has been using qWaitForWindowActive,
which basically means that window itself or it's child has taken focus.
When running tst_examples locally I found that some tested QML files
stay on screen for maximum time given for qWaitForWindowActive.
This probably happens because not all QML demos take focus. From Git
logs I also found that test case intially used qWaitForWindowShown
(15e48b7387ae302a1b07a57b8374b097dc9c96a4), but that was changed to
qWaitForWindowActive when qWaitForWindowShown was deprecated. Based on
documentation qWaitForWindowExposed should be used instead of
qWaitForWindowShown.
-->
Switch qWaitForWindowActive to qWaitForWindowExposed to decrease
execution time of tst_examples in CI system and make tests to pass more
consistently.
Change-Id: Id859b377e577c44e85216a5acb51e69fe9659699
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
|
|
|
|
|
|
|
|
| |
The examples test is failing on different tests every time, so it's
likely to be a timing issue.
Change-Id: I3fc8826d1100dba8e62839eb7f8d67b5bda3b761
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Fix check to indicate immediate errors, skip the loading
state and check for errors after loading again.
- Exclude all broken examples.
- Exclude Mac .app folders
- Fix the DeclarativeViewer to check for the presence
of the ImageMagick and ffmpeg executables only once,
reducing test time.
- Do not check for ImageMagick by running its command
line tool 'convert' on Windows, since Windows
has a tool of the same name that converts file
systems (!).
- Fix doc snippets to load correctly.
- Introduce defines in case WebKit or XmlPatterns
are not present (which existed in Qt 4).
Task-number: QTQAINFRA-428
Change-Id: Icc0a983bc42857b41ab1d9e93336f8265bfbec36
Reviewed-by: Christiaan Janssen <christiaan.janssen@digia.com>
Reviewed-by: Caroline Chao <caroline.chao@digia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
|
|
|
|
|
| |
Change-Id: If95a85c8aaff359a35ae21549f0142e47cb0cc10
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Matches the name that this code used to have in Qt 4.
- Adapt library, change import path to 'QtDeclarative'.
- Update the tests and examples to match the new library name.
- Rename qtquick1global{_p}.h to qtdeclarativeglobal.h.
- Change exports back to Q_DECLARATIVE_[PRIVATE_]EXPORT, like
it was in Qt 4 and matching the library name again. This also
changes the include guards in qtdeclarativeglobal{,_p}.h.
- Fix occurrence of quick_debug in tools/qml/qml.pro.
Change-Id: Ibb1fb2e503f90943a2125e4ac3cc4eca3369ca3f
Reviewed-by: hjk <qthjk@ovi.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
|
|
|
|
|
|
|
| |
This change was introduced in qtbase by abbecca7d484560111dfdbb894d48d253873018b
Change-Id: Ic04076e0925c8e2a7226caef4a008fd09a9d1216
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
|
|
|
|
|
|
|
|
| |
It wasn't included in the autotests, and did not compile due to missing defines in the makefile.
Change-Id: Ie1e3790422e6c1af2948b1edc38a72e2f8d543ed
Reviewed-by: Fanda Vacek <fvacek@rim.com>
Reviewed-by: Aurindam Jana <aurindam.jana@digia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Needed for the BB10 Cascades profiling. There are more reasons for
introducing this patch:
1) Cascades do not use QtGui library for QML rendering. It has its own
paint engine with client-server architecture. Profiler traces are sent
asynchronously from non Qt renderer thread to the Qt client.
The QPerformanceTimer has to be patched too, cause we need to know time
difference between tracing zero time and some time in past,
see: qint64 QPerformanceTimer::elapsed(qint64 to_monotonic_time_ns) const
2) Since we need more sophisticated trace engine in cascades, this patch
allows explicitly assign custom class derived from QDeclaraqtiveDebugtrace
to the trace framework.
If no custom instance is assigned, the default QDeclarativeDebugTrace
instance is created implicitly on first trace request.
Using custom trace instance which is not part of Qt
(it is part of libbbcascades) allows us to implement all Cascades trace
special needs in libbbcascades and not to carry Qt with the platform
specific code.
3) The NO_CUSTOM_DECLARATIVE_DEBUG_TRACE_INSTANCE macro is introduced to
allow custom trace engine only on the bleckberry platform,
see declarative.pro.
If this macro is defined Qt compiles from its original code.
4) Possibility of custom QDeclaraqtiveDebugTrace instance might be usable
for other projects which needs to extends somehow default Qt trace
functionality.
5) Patch is not intended to be applied to Qt Quick 2, since declarative
debugging infrastructure is changed there.
Change-Id: I199211c1de66e930e252e8c033503d7f4940565f
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Reviewed-by: Christiaan Janssen <christiaan.janssen@digia.com>
|
|
|
|
|
|
|
|
| |
This adds the QML1 QDeclarativeWebView integration to the default build (it was
added a while ago) as well as the unit tests.
Change-Id: I7324f5a3b00716d4b300e8c11d9ea3b8b9577da3
Reviewed-by: Pierre Rossi <pierre.rossi@gmail.com>
|
|
|
|
|
|
|
|
| |
Task-number: QTBUG-27364
Change-Id: I35d23837896a87be371712023388da14e8a228c5
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
|
|
|
|
|
|
|
|
|
| |
Change copyrights and license headers from Nokia to Digia
Change-Id: I11a957e35758e821269478ebc91e87f0f5ebc4d5
Reviewed-by: Janne Anttila <janne.anttila@digia.com>
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
|
|
|
|
|
| |
Change-Id: Iad770614f7c1c890febeee662d0ce9370dcb17e3
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
|
|
|
|
|
|
|
| |
qInstallMsgHandler got deprecated in Qt 5.
Change-Id: I87f5f8d5b28afcbcf8a9c613d1d4b1199f5f4254
Reviewed-by: Martin Jones <martin.r.jones@gmail.com>
|
|
|
|
|
| |
Change-Id: Ie6e37ab23b1bef99d294fe8a0acd95429a37a527
Reviewed-by: Joona Petrell <joona.petrell@gmail.com>
|
|
|
|
|
| |
Change-Id: I63cc45662e8f1ac5979ac8cf2ba8c76b42c45895
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit 504ba059df18c524fa8199084791f3b792b2104e.
The test was failing due to a regression in qtscript that's now
been fixed (commit 9429a85a2160cf8b860b1292e4e0bc0855841755).
Task-number: QTBUG-26889
Change-Id: If7a417d4d3f67a853ffde1033ab2ae9e43f44a2c
Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
|
|
|
|
|
|
|
|
|
| |
Created QTBUG-26889 describing the failure.
We need to skip the test for now to unblock qt5.git
integration.
Change-Id: I2be7ebcbd655a7a32a4c7e49d7a2e4889ee9c164
Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
|
|
|
|
|
|
|
|
| |
It is to be removed, and is obsoleted by QMetaType::PointerToQObject.
Change-Id: I6832808cfd1e22d6c04c7ba37bf52ff7c36f0272
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@nokia.com>
|
|
|
|
|
|
|
| |
See commit 68458376c0db2f786b2c9ab3b8dfd21695a5645e in qtscript.
Change-Id: If62bf96d9a965ba500c7a4786d347c828a1683b1
Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
|
|
|
|
|
|
|
|
|
|
| |
Prior to this change, the test had one stable XPASS on all CI platforms
except Ubuntu 10.04. Limit the QEXPECT_FAIL to that one platform and
make the test significant again.
Task-number: QTBUG-26787
Change-Id: Id6c9dfc9a8d6de149dbb739c3e8c6311ce903c39
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
|
|
|
|
|
|
|
|
| |
The test warned about an unregistered metatype, though this didn't cause
the test to fail.
Change-Id: I7338d3e2e4f81c7ab5351c4b7e7b69a60870d49f
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
|
|
|
|
|
|
|
|
| |
This test was failing consistently until recently. Make it significant
to prevent further regressions.
Change-Id: I90ad6215d034d219a938973a7430c58c3604e838
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
|
|
|
|
|
|
|
|
| |
A fix for the failures has been merged.
Task-number: QTBUG-26703
Change-Id: I23b2e8d8f4211b076a0c4666e77fd94a9b2a6580
Reviewed-by: Matthew Vogt <matthew.vogt@nokia.com>
|
|
|
|
|
|
|
|
|
| |
Disable line ending conversion for test data files so that they are
served as lf on all platforms.
Task-number: QTBUG-26703
Change-Id: I1a48232f631a722342da6a8d50dcbe341ba5689c
Reviewed-by: Matthew Vogt <matthew.vogt@nokia.com>
|
|
|
|
|
|
|
|
|
|
| |
Qt 5.0 beta requires changing the default to the 5.0 API, disabling
the deprecated code. However, tests should test (and often do) the
compatibility API too, so turn it back on.
Task-number: QTBUG-25053
Change-Id: I9b0267e5fd947cec4b66debfa6c2795008643d18
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
|
|
|
|
|
|
|
|
|
| |
The order in which resources declared in QML are placed into the default
property is not defined, and should not be relied upon.
Task-number: QTBUG-26702
Change-Id: I5023b8dad89513cde69852e0c3a910477f60888e
Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com>
|
|
|
|
|
|
|
|
|
| |
Adapt to changes in qtbase - removal of third parameter to the
QGraphicsObject ctor, and the declaration of the
QWindowSystemInterface class.
Change-Id: I8b01ae67f09cbf4fc2e3e062dc8b976ccb061234
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
|
|
|
|
|
|
|
|
|
|
| |
Role names in QDeclarativeListModel are stored in a QHash which doesn't
have a stable sort order so the test cannot rely on the properties
being returned in a specific order.
Task-number: QTBUG-26706
Change-Id: I0f10e75f7940d70f31fa399f91022fe025ef1195
Reviewed-by: Glenn Watson <glenn.watson@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
19bba2faca1e1a1e6ddbb7a899a6894fc64c1723 added QtQuick1 to both the
base path of QtQuick 1 imports and the target paths of individual
plugins leading to a duplication of QtQuick1 in the final path.
Remove the suffix from the root destination directory as the plugins
still need to explicity include it in the install path and it's better
if there's a single relative target path used in the .pro files.
Task-number: QTBUG-26707 QTBUG-26701
Change-Id: I79ee28fc5b6ef549cf3c5f71585756149f0f8ff3
Reviewed-by: Matthew Vogt <matthew.vogt@nokia.com>
|