| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| | |
Change-Id: Ib8ba4718239d5b7690a20b50c6f49a055a0ea04f
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-80369
Change-Id: I6e71a6b888f292c283c85b6aeb3aa5804f032c91
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|\ \
| |/
| |
| | |
Change-Id: I967a3678e5791457e25618e46611f6327e182c70
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| | |
It is being deprecated.
Change-Id: I3c331ceb434f48939e4ce7e550c57df1b1794b17
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|\ \
| |/
| |
| | |
Change-Id: Icde6a1cc61662a8b55325727182d174cf17f8b1b
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add \internal commands to documented member functions of internal
classes.
Fixes: QTBUG-79819
Change-Id: I90a0b17df623fda350810c46ff3bc3421692f753
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
|\ \
| |/
| |
| | |
Change-Id: I9a32082a43f99b34431e27360214af1ce8ad621f
|
| |
| |
| |
| |
| | |
Change-Id: I462fb91fbb2dfef7c29c0662f710aac5903791f4
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
|
| |
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-78690
Change-Id: Id6361fc271aec1db292d1ea0e40f90f443b7b97e
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
|
|\ \
| |/
| |
| | |
Change-Id: Id99fd14f46601939c9b97d163e7bd794b9496df0
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|/
|
|
|
|
|
|
|
| |
We were using directives that are now deprecated.
Replaved them with the modern equivalents bison suggested when run.
These changes *do* change the output.
Change-Id: I18064e60c86d1782490ab5896ab9233593198caf
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
|
|
|
|
|
|
|
|
| |
Calms gcc 7, which makes unannounced fall-through part of our standard
warnings (which are handled as error in developer builds).
Change-Id: Idc8cbb91d2fc5530a979b0ff06adde13f7c1b675
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes the following error on Ubuntu 18.04.2 with g++ 7.4.0:
/home/mitch/dev/qt5-dev/qtxmlpatterns/src/imports/xmllistmodel/qqmlxmllistmodel.cpp: In member function ‘void QQuickXmlListModel::reload()’:
/home/mitch/dev/qt5-dev/qtxmlpatterns/src/imports/xmllistmodel/qqmlxmllistmodel.cpp:1063:16: error: ‘QQmlFile’ has not been declared
} else if (QQmlFile::isLocalFile(d->src)) {
^~~~~~~~
/home/mitch/dev/qt5-dev/qtxmlpatterns/src/imports/xmllistmodel/qqmlxmllistmodel.cpp:1064:20: error: ‘QQmlFile’ has not been declared
QFile file(QQmlFile::urlToLocalFileOrQrc(d->src));
^~~~~~~~
Change-Id: I2ff7f898d42f51f8d0c5a1116049278a502ba343
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|\
| |
| |
| | |
Change-Id: If5274213e3d0d91e1b56693dc60cd45240b4dfaa
|
| |\ |
|
| | |\
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Conflicts:
.qmake.conf
Change-Id: Icb9c69298452f55c0816fca75b79c0f041c9d8cf
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: Ida54f2edbfa41936d40e7309c0ea1cd8d6d02e5f
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
Task-number: QTBUG-74391
Change-Id: Ibc00cc7b8cb9258ea0675f01ff4731788a4b4c8b
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Plain load() / store() have been deprecated, so port away
to their straight replacements.
Change-Id: Id026544af12f93ba7bd1b0ba6ff95c1efaff8106
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fix warnings introduced by
qtbase/92f984273262531f909ede17a324f546fe502b5c.
Change-Id: I1f64f1573ae4cff9e39f1a340711f2e90a6a7dd1
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|\ \ \
| |/ /
| | |
| | | |
Change-Id: Ic9eba22749056310f0dc8d345ac11159683051d5
|
| |\ \
| | |/
| | |
| | | |
Change-Id: Ifd4941a823c0d2cdcd1ec07ee6001b03ca18763b
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In accordance to the standard, a SimpleType can have both union and
atomic type members in a XSDSchema.
Reference - https://www.w3.org/TR/xmlschema-2/#rf-defn
Fixes: QTBUG-74702
Change-Id: I337b5aeded843c06d7850a8b88d17178a38db79e
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I20821a57596061bd3a3e7f744e4f8952b78dcfae
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
Replace by QJSValue after
qtdeclarative/65299ce292180a845eb2d76756faeeaa1456d8f0.
Change-Id: I3c74dcaebaf069f7f5b14e51de8fdbbba2fe9281
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: I389f40be19090afe72fee91743f821cadf9f6fbe
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
|
| |
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-73739
Change-Id: Ifba338201b0cba686c21ae29ef1018e82eeb5762
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: I066325d87c7e067d9a456fec2821bfe69fd806e3
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
|/
|
|
|
|
|
|
| |
- wrong file name for snippet file
- instantiates statement provoking spurious errors
Change-Id: I39d0852828c7382eda709bf32e2d6b3e6a8c6c53
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
|
|
|
|
| |
Change-Id: Ic16ad880a71237ddd7ec6f1346774a1844a752a1
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
|\
| |
| |
| | |
Change-Id: Iae558cdf73e96d8248b721c04aae92c2595929f7
|
| |
| |
| |
| |
| |
| |
| | |
It's is referred in the XmlListModel docs.
Change-Id: I4ad1d27d4ba046058e6bb0fdba774c4397df04dc
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
|
|/
|
|
|
|
|
|
|
| |
Otherwise, the XmlListModel and XmlRole docs are not
built.
Change-Id: I9d74d969e805a97b650f24797f171d8f03dcf88c
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
|
|
|
|
|
| |
Change-Id: I98958a66a6280eec26df9f32859e45f04dac4293
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
|
|
|
|
|
|
| |
Change-Id: Idacc3f77ed0dfcae7d3340262d89d3cf8052e9dd
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
|
|
|
|
| |
Change-Id: Ida2a23ae93b8625638397ee7ae10f32b9dcd2043
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
|
|
|
|
|
|
| |
QAbstractMessageHandler and QAbstractUriResolver have no private
classes, there is no need to declare fake ones.
Change-Id: Ibe18d7bec21ecf5df1d5f0068185e568b96460fd
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
An element in a complex type would refer to its parenty by a
QExplicitlySharedDataPointer, resulting in a reference cycle where none
of the items woulf reach a zero refcount, resulting in a leak.
Task-number: QTBUG-62691
Change-Id: I469c8cb38cc89ed778dac7534690a5d343b4bf25
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[ChangeLog][QSourceLocation] Corrected QSourceLocation::operator!=()
to test for non-equality, where prior to this it was incorrectly
testing for equality instead.
Also, corrected the QSourceLocation::operator!=() documentation which
was erroneously referencing an unrelated QXmlName class, and updated
the QSourceLocation::operator==() documentation to be consistent with
the rest of the class, as well as broader Qt documentation conventions.
Change-Id: Ia74f84e965f45fd2da3aa42c9c59eba7014b6edb
Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
|
|
|
|
|
|
|
|
| |
Avoid casting to a possibly null QXmlNodeModelIndex as that now can
cause -Wunitialized warnings.
Change-Id: Id53d213f90e9845f6e4b4e9ada5945726750ec86
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
|
|
|
|
|
|
|
|
| |
Update templated function doc signatures to include correct return type.
Change-Id: Iaca1ae3ebccf09b328e0cb66c27787df5052f9a0
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Martin Smith <martin.smith@qt.io>
|
|
|
|
|
| |
Change-Id: I29f89ddf8e2ff9ef47a6f27897e458d042293979
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
|
|\
| |
| |
| | |
Change-Id: Ic4b4cabff030fe494e2f446d99127847c6ba421a
|
| |\
| | |
| | |
| | | |
Change-Id: I09553d29eab1e65fc3e51d72ff6ea6682794d312
|