qt5base-lts/src
Edward Welbourne 0ad4f86729 Purge QRegExp use in QDateTime's rfcDateImpl()
Replace with a parser which actually does the job right, fixing
various infelicities in the parsing in the process.
Make the parser strict about formatting.

Adjusted tests to match. Fixed some QTime invalidity tests to each
test only one invalidity at a time (the invalid year and day tests
also used an invalid month).

[ChangeLog][QtCore][QDateTime] The parser for the Qt::RFC2822Date
format is now stricter, requiring the text to exactly match the form
of one of the relevant formats. A valid date or time will still be
parsed, even if the other part of the content is invalid, as long as
it (and any offset, if present) has the right form. In particular, the
parser now rejects texts with trailing cruft (other than space).

Fixes: QTBUG-80038
Change-Id: Id25675afd75f82f6351f20e79f0154f3ceda35ac
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2020-02-27 10:48:25 +01:00
..
3rdparty Merge remote-tracking branch 'origin/5.15' into dev 2020-02-26 18:39:21 +01:00
android Merge remote-tracking branch 'origin/5.15' into dev 2020-02-26 18:39:21 +01:00
angle Disable debug-and-release builds for MinGW 2019-09-18 06:28:16 +00:00
concurrent Remove QLinkedList 2020-02-19 21:01:07 +01:00
corelib Purge QRegExp use in QDateTime's rfcDateImpl() 2020-02-27 10:48:25 +01:00
dbus MetaObject: store the QMetaType of the properties 2020-02-25 15:43:15 +01:00
gui QTextOption: fix handling Qt::AlignBaseline 2020-02-27 06:51:53 +01:00
network Merge remote-tracking branch 'origin/5.15' into dev 2020-02-26 18:39:21 +01:00
opengl Move QOpenGLBuffer from QtGui to QtOpenGL 2020-02-22 02:08:26 +01:00
openglextensions Merge "Merge remote-tracking branch 'origin/dev' into wip/cmake" into wip/cmake 2019-11-25 14:49:13 +00:00
openglwidgets Docs: Remove lenghty comparison with QGLWidget 2020-02-20 16:11:01 +01:00
platformheaders Merge remote-tracking branch 'origin/dev' into merge-dev 2020-01-24 13:17:33 +01:00
platformsupport Merge remote-tracking branch 'origin/5.15' into dev 2020-02-26 18:39:21 +01:00
plugins Merge remote-tracking branch 'origin/5.15' into dev 2020-02-26 18:39:21 +01:00
printsupport Pass QDate and QTime as value classes 2020-02-27 10:48:25 +01:00
sql Merge remote-tracking branch 'origin/5.15' into dev 2020-02-26 18:39:21 +01:00
testlib Merge remote-tracking branch 'origin/5.15' into dev 2020-02-26 18:39:21 +01:00
tools Merge remote-tracking branch 'origin/5.15' into dev 2020-02-26 18:39:21 +01:00
widgets Pass QDate and QTime as value classes 2020-02-27 10:48:25 +01:00
winmain Regenerate src/* 2019-11-14 09:05:48 +00:00
xml Merge remote-tracking branch 'origin/5.15' into dev 2020-02-26 18:39:21 +01:00
CMakeLists.txt CMake: Allow building bundled 3rd party libraries in qtbase 2020-02-25 15:43:16 +01:00
src.pro Move QOpenGLWidget from QtOpenGL to its own module 2020-02-18 09:22:51 +01:00