| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Fix error 11 identified by static analysis from
http://www.viva64.com/en/b/0251/
Change-Id: I3ed821c6d7cda874bfa5e3a24ccde1a4f2f13ec9
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
|
|
|
|
|
|
|
|
| |
Fix error 8 and 9 identified by static analysis from
http://www.viva64.com/en/b/0251/
Change-Id: I7f6741513814d8707e9dfe3402f970696238b8a3
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
|
|
|
|
|
| |
Change-Id: Ib01b7b81f4b154910595a5eacd5fa502241097fa
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
|
|
|
|
|
| |
Change-Id: I4754f1bc1f9fb3e099fc7c7135ca0a933d9b7475
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
|
|
|
|
|
| |
Change-Id: Ic387dac14f664fd01700142ca303d01d2fe09168
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
|
|\
| |
| |
| | |
Change-Id: I60405f79dbe590e2f598d57f80794364f415c566
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Since not all tests for tst_qxmlquery and tst_xmlpatterns depend on
the network test server being set up, now we just fail those which
really depend on it allowing the rest to be normally run.
Change-Id: I0588cf986ffddea117cee680e07e1a8cc4d68436
Reviewed-by: Peter Hartmann <phartmann@blackberry.com>
|
| |
| |
| |
| |
| | |
Change-Id: I1c9a9027ac4a592aaf6f34450ab6fbcf3224e47f
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
remove trailing spaces & expand tabs
Change-Id: Ic958087d8c50f3c51d767f5191e54c4079cc74a2
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
|
|\|
| |
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: I8a745d75ab994164aa861f5d5082e493b02eaea4
|
| |
| |
| |
| |
| | |
Change-Id: Ibf702ab35725578d4f72f4959b1bcca9d8332ce0
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
|
| |
| |
| |
| |
| |
| |
| | |
That way we avoid some unnecessary memory allocations
Change-Id: I597443393671d57b1a47b37eb15c3eca54ee4168
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
|
| |
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-35479
Change-Id: If385bd85f5c20871a0248c828626deea2d72e0a2
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Peter Hartmann <phartmann@blackberry.com>
|
|\|
| |
| |
| | |
Change-Id: I220517794f3427f9f1746981e8dc7256bb482285
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
qxslttokenizer.cpp(700): warning #177: variable "val" was declared but never referenced
const QStringRef val(m_currentAttributes.value(CommonNamespaces::XML, QLatin1String("space")));
^
Change-Id: Ic806bf1e9c22ead8680907b0e22794d7b07dcc90
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Found by Clang 3.4.
Change-Id: I60f78b62d2ecacf58d534623eced537ca62a2405
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
|
|\|
| |
| |
| | |
Change-Id: I918b255b204a5246fa9cdc9ed3f8c7d71ab01e35
|
| |
| |
| |
| |
| | |
Change-Id: Ic385a3589c3c84fdd7e0c73f69ac319d0543009c
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
|
|\|
| |
| |
| | |
Change-Id: I914a08f02d1bca4402a7c29dd4aedb77c99f6d02
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The debug version of the algorithm in MSVC performs a check
on the less-than function (if a < b, b < a should be false).
Always returning QXmlNodeModelIndex::Precedes fails that.
Task-number: QTBUG-35525
Change-Id: I2ad030284eb76fd07427ffb710b3d3afd63103e5
Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
|
| |
| |
| |
| |
| |
| | |
Change-Id: I081b4ebad362d99dcae594f877592f2a910002f3
(cherry picked from commit e7a51b138772cb453555d27f44e6a2c0e79e799c)
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The following manual changes to qquerytransformparser.cpp were not
reflected in the .ypp source, but they are now:
c95a0e6e8eb8ba5fd2a4412b318ad998b3ccb4fc (Nov 2009)
c1623a0d42c9869e5a1d04081e7660722a863de5 (Apr 2012)
The following change is lost because it modified code generated by
bison (not from .ypp) and needs to be re-applied:
e7a51b138772cb453555d27f44e6a2c0e79e799c
Change-Id: I72e76732acd1c370394c9fc373522b43ace6e009
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
|
|\|
| |
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: I0b0d5044d34bc915614253e89fb6029d6bfb75f7
|
| |
| |
| |
| |
| |
| | |
Change-Id: Ieb54e9508f48cc9694bd9a59dc9908cf84a62486
Reviewed-by: Matti Paaso <matti.paaso@digia.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
|
|\|
| |
| |
| | |
Change-Id: I028af77ed75b91c721ec3e20eccca49e30fbd495
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Removing XML schema functionality reduces the size of
libQt5XmlPatterns.so considerably:
Linux desktop release mode:
with XML schema: 4.3 MB
without XML schema: 3.2 MB
BlackBerry10 release mode:
with XML schema: 2.6 MB
without XML schema: 1.9 MB
XML schema might not be used, especially on a mobile / embedded
device, as opposed to the rest of xmlpatterns (e.g. XPath through
QML XmlListModel).
Task-number: QTBUG-28068
Change-Id: I5024a822179e7241e592f079efe3adef8f661c70
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
|
|\|
| |
| |
| | |
Change-Id: Ib71b7f22be969dae2e1f4bfc20bc8d5478679e5c
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In 5.2, the HTML output is in a flatter structure and when they are
hosted in qt-project.org/doc, the documentation will be found at
http://qt-project.org/doc/qt-$QT_VER
The url variable is used by projects outside of Qt 5 which need
to link to Qt 5 documentation, such as Qt Creator.
Task-number: QTBUG-34584
Change-Id: I7f989870b311e101ed4de85f3139f010012cfd71
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In 409655f3451815930b70a71baa175ab9f34467ed, the C-style cast was replaced
by pointer arithmetic:
char *null = 0;
return null + offset;
Says the standard (5.7 [expr.add]/5):
When an expression that has integral type is added to or subtracted from
a pointer, [...] If both the pointer operand and the result point to
elements of the same array object, or one past the last element of the
array object, the evaluation shall not produce an overflow; otherwise,
the behavior is undefined.
Iow: the above code has undefined behaviour.
Fix by going back to the casting version, but using a C++
reinterpret_cast instead of a C-style one.
Task-number: QTBUG-32735
Change-Id: Ia774491b13b1c52089daf63a7921b163fc93abce
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
value."
This reverts commit bf49d9f0d41c3be802dbdd2c23dfe7c5fd86f4b0.
QtTraceMsg was removed from QtCore for the moment, too.
Change-Id: I1d6aaacf5e363f81272da4fbb0a4ff12337dd677
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
|
|\|
| |
| |
| | |
Change-Id: I5040e8925ebcf73b353abd3b3e91f9603a086c49
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
-std=c++11 sets __STRICT_ANSI__, and the stdio.h from mingw.org doesn't
declare e.g. _fileno then.
Change-Id: Iaa29e4f2b04bcae73b8706aff1be83913bcf6a52
Reviewed-by: Jonathan Liu <net147@gmail.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
|
|\|
| |
| |
| | |
Change-Id: Icd0bc0b31f6c925850d6773ec1000afc9a702d36
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Android apps require packaging to be usable, so they need to be
built individually, not as part of the subdirs build. The build would
fail during make install due to this.
Task-number: QTBUG-34023
Change-Id: If7627dcdc15334f82c454c6a2a19501fcc6bc970
Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
|
|\|
| |
| |
| | |
Change-Id: Icbade3b8a1098b442dccb04c85c597e9c7adc423
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A bug in XSD substitution group validation would result in an invalid
cast of SchemaType::Ptr to XsdComplexType::Ptr, in which case evaluating
complexType->prohibitedSubstitutions() exhibited undefined behavior. In
practice this caused validation against XSD schemas containing
substitution groups to fail on some machines, where ORing the checkSet
mask against out of bounds memory could cause the function
XsdSchemaHelper::substitutionGroupOkTransitive()
to return a false negative.
Minus the bug fix, the regression test added in this commit failed on
(at least) Linux ARM when compiled with the Linaro toolchain 2013.01 g++
4.7, with flags -marm -mcpu=cortex-a8 -O2. However, it did not fail on
a Linux amd64 machine prior to the bug fix.
Change-Id: Idd060a941a3bc0620f1fcc903375e43022bdcbdc
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
|
|\|
| |
| |
| | |
Change-Id: I4e5b26b796b12ced8a62926cdf91da10b9c20f9e
|
| |
| |
| |
| |
| |
| |
| |
| | |
QtAlgorithms is getting deprecated,
see http://www.mail-archive.com/development@qt-project.org/msg01603.html
Change-Id: I4e2c7bf7970ba59ca9443c545b66db9f509d946b
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
|
| |
| |
| |
| |
| | |
Change-Id: Ia908aa03e0f6a0e4f92013ae84fc68ac73919d08
Reviewed-by: hjk <hjk121@nokiamail.com>
|
| |
| |
| |
| |
| | |
Change-Id: Ie230ae86d664542b1ce98a50c967460373ebafda
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
|
|\|
| |
| |
| | |
Change-Id: I580d8758366a6d225391b4bb7a2a3d37c8dca196
|
| |
| |
| |
| |
| | |
Change-Id: Ic586e7d306729f26859411b17c79d36320f487e7
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
|
| |
| |
| |
| |
| |
| | |
Change-Id: I685b1be45fcf6b59de12204ca471e35a5a03f06d
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Reviewed-by: John Layt <jlayt@kde.org>
|
|/
|
|
|
|
|
|
|
| |
QTime is not showing milliseconds by default anymore, when converted to
QString.
Change-Id: Iba745919ee1f034aebc75628a96efad5546f03c1
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
|
|
|
|
|
|
|
| |
qstringvaluefns.cpp:224:23: error: comparison of constant -1 with expression of type 'QString::NormalizationForm' is always false [-Werror,-Wtautological-constant-out-of-range-compare]
Change-Id: Ia0dd98f72521709712f5ed11ecf19a48acaf1998
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
|
|\
| |
| |
| | |
Change-Id: I29e25aef95a7b845bfe7d57d41369fec2f1fd562
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Avoids a warning in user code. We should add -Wold-style-cast to our
header checks.
Task-number: QTBUG-32735
Change-Id: Ic284e3a5df56789d51484364b34a9ebc026bb20a
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
|
| |
| |
| |
| |
| | |
Change-Id: Ia7f8c08bba44fbb01d3babeed7a430dcb9660b99
Reviewed-by: John Layt <jlayt@kde.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The ! applies to a only, so the result of this expression is most
likely not what was expected.
Clang warned about this one.
Change-Id: I600c1ec70fa22313eee70ecce8995afd83713de6
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
|
|\|
| |
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: I8472ccedaa829436aebf4424b64a3b7dd0adc173
|