summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Doc: Remove \pagekeywords commandv5.15.0-beta1Topi Reinio2020-02-211-1/+0
| | | | | | | The command does nothing, it was not implemented by QDoc. Change-Id: I3e8d34d633a28739065a61ca08032008506dd792 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* Fix one more deprecation warning against QDateTime(QDate)Edward Welbourne2020-02-181-1/+1
| | | | | Change-Id: Iea19b45306566179390f6292341c0b8fb2a94559 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Fix deprecation warningsFriedemann Kleint2020-02-147-7/+11
| | | | | | | | | | | | | | | | querymainwindow.cpp:69:82: warning: ‘void QComboBox::currentIndexChanged(int)’ is deprecated: Use currentIndexChanged(int, const QString &) instead [-Wdeprecated-declarations] data/qabstractdatetime.cpp:148:30: warning: ‘QDateTime::QDateTime(const QDate&)’ is deprecated: Use QDate::startOfDay() [-Wdeprecated-declarations] data/qgday.cpp:78:71: warning: ‘QDateTime::QDateTime(const QDate&)’ is deprecated: Use QDate::startOfDay() [-Wdeprecated-declarations] data/qgyear.cpp:83:71: warning: ‘QDateTime::QDateTime(const QDate&)’ is deprecated: Use QDate::startOfDay() [-Wdeprecated-declarations] data/qgmonth.cpp:77:71: warning: ‘QDateTime::QDateTime(const QDate&)’ is deprecated: Use QDate::startOfDay() [-Wdeprecated-declarations] data/qgmonthday.cpp:80:76: warning: ‘QDateTime::QDateTime(const QDate&)’ is deprecated: Use QDate::startOfDay() [-Wdeprecated-declarations] data/qgyearmonth.cpp:85:76: warning: ‘QDateTime::QDateTime(const QDate&)’ is deprecated: Use QDate::startOfDay() [-Wdeprecated-declarations] qqmlxmllistmodel.cpp:748:71: warning: ‘QQmlListProperty<T>::QQmlListProperty(QObject*, QList<T*>&) [with T = QQuickXmlListModelRole]’ is deprecated: Use constructor taking QList pointer, and gain improved performance [-Wdeprecated-declarations] connect(ui_defaultQueries, QOverload<int>::of(&QComboBox::currentIndexChanged), Change-Id: Ia4ed432369d25269075d12d06fdbf2e286d5119b Reviewed-by: Vitaly Fanaskov <vitaly.fanaskov@qt.io>
* Merge remote-tracking branch 'origin/5.14' into 5.15v5.15.0-alpha1Qt Forward Merge Bot2020-02-050-0/+0
|\ | | | | | | | | | | | | Conflicts: .qmake.conf Change-Id: I12424435f2a4c4f2b582c7acad18e0c57dfbd554
| * Bump versionAlexandru Croitor2020-02-021-1/+1
| | | | | | | | Change-Id: Ie974007aa207364c2157bd7c90a6e79ef1718f9e
* | Merge remote-tracking branch 'origin/5.14' into 5.15Qt Forward Merge Bot2020-01-283-1/+41
|\| | | | | | | Change-Id: Ib8ba4718239d5b7690a20b50c6f49a055a0ea04f
| * Merge remote-tracking branch 'origin/5.14.1' into 5.14Qt Forward Merge Bot2020-01-271-0/+20
| |\ | | | | | | | | | Change-Id: I3890885d75527dcb516efff1f2636b8a73500828
| | * Add changes file for Qt 5.14.1v5.14.1Antti Kokko2020-01-091-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + 089bdc0fcc1d87c6f5fe0835a4f723a6677e9a01 Catch invalid simple type that was causing a crash + 45ad1dc9c5f7330ea5d33cc8c8585d33b097e2e8 Enable auto tests run stand-alone + 7c8d1494dc06ff00508f512bdcf8153f21f348ff Add binary compatibility file for qtxmlpatterns 5.14 branch + b8c12ed8b1287462b897de76b7a9ad3ff5cc2194 Bump version Change-Id: Ia2156a2bcac6bc520162ef7e5d5fac2bd9acd028 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
| * | Doc: Fix regression caused by moving files around (leave no file behind)Paul Wicking2020-01-272-1/+21
| |/ | | | | | | | | | | | | | | | | | | | | When xmllistmodel moved to xmlpatterns, an xml file quoted from in docs was unintentionally left behind. This adds the missing file, and corrects the file to quote from (which had since been adjusted to quote from the wrong file). Fixes: QTBUG-77176 Change-Id: I9cc871cf58dd33ce922fa0f6c5d86800210208c5 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* | Use QNetworkReply::networkError() instead of deprecated error()Timur Pocheptsov2020-01-152-2/+2
| | | | | | | | | | | | Task-number: QTBUG-80369 Change-Id: I6e71a6b888f292c283c85b6aeb3aa5804f032c91 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* | Merge remote-tracking branch 'origin/5.14' into 5.15Qt Forward Merge Bot2019-12-300-0/+0
|\| | | | | | | | | | | | | Conflicts: .qmake.conf Change-Id: Ieec8f7e562fc4c246a336402985cdb60f36b172f
| * Bump versionDaniel Smith2019-12-161-1/+1
| | | | | | | | Change-Id: I16747fabe937d18a437880acffa35bcd3e7e2a97
* | Bump Qt version to Qt 6Alexandru Croitor2019-12-201-6/+6
| | | | | | | | | | | | | | | | | | Also fix usage of text stream operators. Change-Id: I6c3ca0fe501f0565ecae5782a52cc70e1a4b6c04 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> (cherry picked from commit 2fc7a39180270c7551e99b918e827a93507e32a0) Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
* | Stop using SAX classes for writing XML in testsSona Kurazyan2019-12-187-184/+54
| | | | | | | | | | | | | | | | | | | | | | Removed the dependency of XMLWriter from QXmlContentHandler and QXmlLexicalHandler which are about to be deprecated. There's no need in inheriting from these interfaces, the tests call the methods of XMLWriter directly via XMLWriter instance. Task-number: QTBUG-76177 Change-Id: I2fe237b962774a004a9014f3dab1b5de5072f180 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* | Stop using SAX classes for reading XML filesSona Kurazyan2019-12-1819-171/+315
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The qtxmlpatterns' tests are using SAX classes for parsing XML files. These classes will be deprecated. Replaced QXmlSimpleReader by QDomDocument where applicable. For the test suite handlers inheriting from QXmlDefaultHandler, introduced the XmlParseHelper base class, which drives the parsing loop and allows overriding the methods for handling different XML tokens. Task-number: QTBUG-76177 Change-Id: Ia1a60c898a272906ede459e95ced7ec95d154fde Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* | Fix deprecation warnings about QHash::unite()Friedemann Kleint2019-12-183-3/+3
| | | | | | | | | | | | | | | | | | | | Use QHash::insert() instead, fixing: schema/qxsdparticlechecker.cpp:467:83: warning: ‘QHash<K, V>& QHash<K, V>::unite(const QHash<K, V>&) is deprecated schema/qxsdschemachecker.cpp:108:39: warning: ‘QHash<K, V>& QHash<K, V>::unite(const QHash<K, V>&) is deprecated schema/qxsdschemaresolver.cpp:267:39: warning: ‘QHash<K, V>& QHash<K, V>::unite(const QHash<K, V>&) is deprecated Change-Id: I5ac3ee4f9a8103a9ce1210d6c369597c6b0abddc Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* | Merge remote-tracking branch 'origin/5.14' into 5.15Qt Forward Merge Bot2019-12-1431-40/+6253
|\| | | | | | | Change-Id: Ief4b8ef19ad417bac23f4a4fe42e3b1c53455f03
| * Merge remote-tracking branch 'origin/5.14.0' into 5.14Qt Forward Merge Bot2019-12-131-0/+18
| |\ | | | | | | | | | Change-Id: If025f51e601f4ec7f23e1fe51d698f9c20e67256
| | * Add changes file for Qt 5.14.0v5.14.0-rc2v5.14.0-rc1v5.14.0Antti Kokko2019-11-261-0/+18
| | | | | | | | | | | | | | | Change-Id: I00cdf3d22cdbad6d697ea5895e80b17a9e7506a5 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
| * | Add binary compatibility file for qtxmlpatterns 5.14 branchMilla Pohjanheimo2019-12-131-0/+6205
| | | | | | | | | | | | | | | | | | | | | BC file built against 5.14.0 added. Change-Id: I1d29b035c0efa57424fca81aa6fd09c461281a08 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
| * | Enable auto tests run stand-aloneFriedemann Kleint2019-12-0929-40/+30
| | | | | | | | | | | | | | | | | | | | | | | | Change the QtXmlPatternsSDK helper library to be a static library. Fixes: QTBUG-79802 Change-Id: I2f299fbcb73da155643a0b66a13a88745de6d00f Reviewed-by: Matti Paaso <matti.paaso@qt.io>
* | | Merge remote-tracking branch 'origin/5.14' into 5.15Qt Forward Merge Bot2019-12-075-1/+76
|\| | | | | | | | | | | Change-Id: I967a3678e5791457e25618e46611f6327e182c70
| * | Catch invalid simple type that was causing a crashEdward Welbourne2019-12-045-1/+76
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Although the type passes a check that's supposed to find all types with a simple type, and appears to be of a simple type, its primitive type is apparently null. This was causing a segmentation fault. Apparently the code fails to correctly set the primitive type of a pattern-type instance of a union type. Document the known limitation by a QEXPECT_FAIL() in the test; I was unable to find where the primitive type should be set. Task-number: QTBUG-77620 Change-Id: I56b95ed815366c508f71b8af03b6f2a653d338c5 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* | Avoid initializing QFlags with 0 or nullptrFriedemann Kleint2019-11-252-2/+2
| | | | | | | | | | | | | | It is being deprecated. Change-Id: I3c331ceb434f48939e4ce7e550c57df1b1794b17 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Merge remote-tracking branch 'origin/5.14' into 5.15Qt Forward Merge Bot2019-11-163-3/+13
|\| | | | | | | Change-Id: Icde6a1cc61662a8b55325727182d174cf17f8b1b
| * Doc: Suppress unnecessary documentation warnings for \internal typesTopi Reinio2019-11-133-3/+13
| | | | | | | | | | | | | | | | | | Add \internal commands to documented member functions of internal classes. Fixes: QTBUG-79819 Change-Id: I90a0b17df623fda350810c46ff3bc3421692f753 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* | Merge remote-tracking branch 'origin/5.14' into 5.15Qt Forward Merge Bot2019-11-091-0/+20
|\| | | | | | | Change-Id: I8bdf4a25cbf1e7d13a093200b234866e622e9af6
| * Merge remote-tracking branch 'origin/5.13' into 5.14v5.14.0-beta3Qt Forward Merge Bot2019-11-051-0/+20
| |\ | | | | | | | | | | | | | | | | | | Conflicts: .qmake.conf Change-Id: I5f2c272ee2c34387b7ef5169dc553cec14f1db80
| | * Add changes file for Qt 5.13.2v5.13.2Antti Kokko2019-10-141-0/+20
| | | | | | | | | | | | | | | | | | | | | + cdf3aa96879b7f5f0bd9bec9d1bd8dd624beee28 Add changes file for Qt 5.12.5 Change-Id: I83e50c04167a687aa666bfce9d300b11e1de3514 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
| | * Bump versionFrederik Gladhorn2019-10-141-1/+1
| | | | | | | | | | | | Change-Id: I8b7d19766262a617d612737ff32b19e6b7865474
* | | Merge remote-tracking branch 'origin/5.14' into 5.15Qt Forward Merge Bot2019-10-262-3/+277
|\| | | | | | | | | | | Change-Id: I9a32082a43f99b34431e27360214af1ce8ad621f
| * | Doc: Fix typoPaul Wicking2019-10-241-1/+1
| | | | | | | | | | | | | | | Change-Id: I462fb91fbb2dfef7c29c0662f710aac5903791f4 Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
| * | Update plugins.qmltypes for 5.14Kai Koehne2019-10-221-2/+276
| | | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-78690 Change-Id: Id6361fc271aec1db292d1ea0e40f90f443b7b97e Reviewed-by: Kai Koehne <kai.koehne@qt.io> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* | | Merge remote-tracking branch 'origin/5.14' into 5.15Qt Forward Merge Bot2019-10-122-8/+11
|\| | | | | | | | | | | Change-Id: Id99fd14f46601939c9b97d163e7bd794b9496df0
| * | Fix loading of schemas and validation to use resolved URLsv5.14.0-beta2Edward Welbourne2019-10-102-8/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Loading the scheme did compute and record a resolved URL, but didn't actually pass it on, so a QUrl() of a plain local path (which is unresolved so doesn't know it's local) isn't recognized by QNAM as being local when it decides how to handle the request it's been sent. Likewise, verification's loading of files used the URL it was given, without resolving, so would fail to read local files it was meant to validate. This lead to getting no data from local files. (That, in turn, prevented a new test-case I'm about to add from crashing, which the same change shall fix.) Change-Id: Icc56dd599897d3498f0838b2f12e3ac46da84519 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* | | Fix createTokenLookup.sh and re-run itEdward Welbourne2019-10-082-153/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This regenerates the tooken lookup code, now without the need for hand-editing after running the script. The script's copy of a license header came through shell variable expansion, which broke the $...$ markers; so just cat the relevant lines of the gperf file. As gperf wants to use size_t for the len parameters of TookenLookup's hash() and value() methods, pipe its output through a simple sed to convert size_t to the unsigned int we actually want; and fix a fall-through marker at the same time. Change-Id: Ia38c4cd833c6fcaad2371c154e2204c0992aa811 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Albert Astals Cid <albert.astals.cid@kdab.com>
* | | Merge "Merge remote-tracking branch 'origin/5.14' into 5.15"Qt Forward Merge Bot2019-09-213-5/+48
|\ \ \
| * | | Merge remote-tracking branch 'origin/5.14' into 5.15Qt Forward Merge Bot2019-09-213-5/+48
|/| | | | |/ / | | | | | | Change-Id: Idc45924a74c32bce5ef90e42b2fd1517022b6086
| * | Make a test conditional on its set-up having succeededv5.14.0-beta1v5.14.0-alpha1Edward Welbourne2019-09-201-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tst_QXmlQuery::setQueryQUrlFailure()'s sub-test "Query via file:/ that does not have read permissions." depends on the file it tries to read being unreadable. The test's set-up contained a comment explaining why we don't QVERIFY() that it succeeded, but went ahead with adding the test-case regardless. Oddly enough, when the set-up fails to deny permissions, the test fails because the file can be read, so isn't found invalid. Made addition of the test-case conditional on the set-up having succeeded. This made a long line over-long; and it included a duplicated long slab of boring code, used in another test, so extract that piece of code as a lambda and use it twice to save duplication. The tests were also passing raw C-strings to QUrl(), which wants a QString, so give it QStringLiteral() in one case and the existing QString with the relevant name in the other. Fixes: QTBUG-78560 Change-Id: I2e9ca6fe526edfc021cb4978c81fc9204e047c7f Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
| * | Merge "Merge remote-tracking branch 'origin/5.13' into 5.14"Qt Forward Merge Bot2019-09-192-0/+40
| |\ \
| | * | Merge remote-tracking branch 'origin/5.13' into 5.14Qt Forward Merge Bot2019-09-172-0/+40
| |/| | | | |/ | | | | | | Change-Id: I78e676fc7b8ec4aa401c0c0407bee6e2c25a3704
| | * Merge "Merge remote-tracking branch 'origin/5.12' into 5.13"Qt Forward Merge Bot2019-09-081-0/+20
| | |\
| | | * Merge remote-tracking branch 'origin/5.12' into 5.13Qt Forward Merge Bot2019-09-081-0/+20
| | |/| | | | | | | | | | | | | Change-Id: I4871adce37736010f202c800c7197077535ad87e
| | | * Merge "Merge remote-tracking branch 'origin/5.12.5' into 5.12"Qt Forward Merge Bot2019-09-071-0/+20
| | | |\
| | | | * Merge remote-tracking branch 'origin/5.12.5' into 5.12Qt Forward Merge Bot2019-09-071-0/+20
| | | |/| | | | | | | | | | | | | | | | Change-Id: I123ee1b23e1fe90536e34d2a970db1cfe95b9840
| | | | * Add changes file for Qt 5.12.5v5.12.5Antti Kokko2019-08-281-0/+20
| | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + 47c86cbb55a03df0f9d95dc2311b0be6d7852a5b Actually test XmlListModel + adf91ef5da6bb51288fffd68d3c9ebb02c3fe9bf Fix GCC 9 -Wdeprecated-copy + 1fe82f967320b3c65f29ed704862f8c34a6c0c87 Bump version Change-Id: I4faaef9a8e7c4b44f73e2a27ce028e2112aa5a29 Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
| | * | Merge "Merge remote-tracking branch 'origin/5.13.1' into 5.13"Qt Forward Merge Bot2019-09-051-0/+20
| | |\ \
| | | * | Merge remote-tracking branch 'origin/5.13.1' into 5.13Qt Forward Merge Bot2019-09-051-0/+20
| | |/| | | | | | | | | | | | | | | | | Change-Id: Ie0c61b7154416d8ad8a0a916ef5d1e943498485e
| | | * | Add changes file for Qt 5.13.1v5.13.1Antti Kokko2019-08-061-0/+20
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + 25a313cc7af41c2c63231499c49cc1f3e382e019 Allow union memberTypes as members of a SimpleType in a XSDSchema + a8e463058edec8882bf5eb1ae1ba87cefdb8ba8c Bump version + 4efc4b1d0c11b68e1140734f659b22ce266d1bd6 Add changes file for Qt 5.12.4 + 78c788c386ccb69d823d71f668cfae45eef56351 Android: Disable tests that depend on external files + 47c86cbb55a03df0f9d95dc2311b0be6d7852a5b Actually test XmlListModel + adf91ef5da6bb51288fffd68d3c9ebb02c3fe9bf Fix GCC 9 -Wdeprecated-copy + 0e1ee397fe97d06b946e6fa296378721496ba3e5 Bump version + 1fe82f967320b3c65f29ed704862f8c34a6c0c87 Bump version + 5e6e09823da454e16341b9cab944b74a13265ef9 Doc: Replace example file lists with links to code.qt.io Change-Id: Ic21afc08f0fe1fe77dd5d0225e2d780b66b82d32 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* | | | Run createParser.sh to update the query transform parserEdward Welbourne2019-09-1713-874/+909
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We are curious to know whether to keep the ypp file around, so wish to review what changes when we use it. Various things with YY* names have now changed to have XPATH* names, so renamed them systematically in the non-generated code. Change-Id: Ia5fad9bc5845a8707430d59aaf6ac6dadf17b5bd Reviewed-by: Albert Astals Cid <albert.astals.cid@kdab.com> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>