qt5base-lts/tests/auto/gui/text
Marc Mutz e486d69133 QString: preserve embedded NULs when converting from QByteArray
Unearthed an off-by-one error in a QByteArray::fromRawData() call in
tst_qtextdocumentfragment. Fixed by porting to QStringLiteral.

[ChangeLog][Important Behavior Changes] All conversions from QByteArray
to QString now preserve embedded NULs. This is done in order to provide a
faster conversion from QByteArray to QString that does not involve a call to
strlen. If you need the old behavior, convert from QByteArray::constData()
instead. If you are porting from Qt 4, we suggest to make your source compile
with QT_NO_CAST_FROM_BYTEARRAY before porting to Qt 5.

Change-Id: Ibca40f503920fee6f3a5f0d74a04b38b8849796f
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2015-04-02 19:28:31 +00:00
..
qabstracttextdocumentlayout Update copyright headers 2015-02-11 06:49:51 +00:00
qcssparser Update copyright headers 2015-02-11 06:49:51 +00:00
qfont Update copyright headers 2015-02-11 06:49:51 +00:00
qfontcache Update copyright headers 2015-02-11 06:49:51 +00:00
qfontdatabase Update copyright headers 2015-02-11 06:49:51 +00:00
qfontmetrics Update copyright headers 2015-02-11 06:49:51 +00:00
qglyphrun Update copyright headers 2015-02-11 06:49:51 +00:00
qrawfont Update copyright headers 2015-02-11 06:49:51 +00:00
qstatictext Update copyright headers 2015-02-11 06:49:51 +00:00
qsyntaxhighlighter Update copyright headers 2015-02-11 06:49:51 +00:00
qtextblock Update copyright headers 2015-02-11 06:49:51 +00:00
qtextcursor Update copyright headers 2015-02-11 06:49:51 +00:00
qtextdocument Ensure that CSS rules are inherited from the parent tags 2015-03-25 11:55:47 +00:00
qtextdocumentfragment QString: preserve embedded NULs when converting from QByteArray 2015-04-02 19:28:31 +00:00
qtextdocumentlayout Update copyright headers 2015-02-11 06:49:51 +00:00
qtextformat Update copyright headers 2015-02-11 06:49:51 +00:00
qtextlayout Update copyright headers 2015-02-11 06:49:51 +00:00
qtextlist Update copyright headers 2015-02-11 06:49:51 +00:00
qtextobject Update copyright headers 2015-02-11 06:49:51 +00:00
qtextodfwriter Update copyright headers 2015-02-11 06:49:51 +00:00
qtextpiecetable Update copyright headers 2015-02-11 06:49:51 +00:00
qtextscriptengine Update copyright headers 2015-02-11 06:49:51 +00:00
qtexttable Merge remote-tracking branch 'origin/5.4' into 5.5 2015-03-02 09:23:07 +01:00
qzip Update copyright headers 2015-02-11 06:49:51 +00:00
text.pro Fix the font engines leaking 2013-03-20 07:02:29 +01:00