qt5base-lts/src
Giuseppe D'Angelo 594abde1a2 Enforce that statically allocated array-like containers have 0 capacity
It has been the case for both QStringLiteral and QByteArrayLiteral
since Qt 5.0, and Q_ARRAY_LITERAL since Qt 6.0.

Since it's definitely surprising, add a note in the docs, which
is "somehow" consistent with the interpretation of capacity as
the biggest possible size before we reallocate. Since it's 0,
any manipulation of the size will cause a reallocation.
(Alternatively: the capacity() is for how many elements memory was
requested from the free store. No memory was allocated, so 0...)

Task-number: QTBUG-84069
Change-Id: I5c7d21a22d1bd8b8d9b71143e33d537ca0224acd
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2020-05-14 14:19:47 +02:00
..
3rdparty Update PCRE2 to 10.35 2020-05-11 11:56:29 +02:00
android Merge remote-tracking branch 'origin/5.15' into dev 2020-05-05 19:51:50 +02:00
angle Merge remote-tracking branch 'origin/5.15' into dev 2020-04-08 20:11:39 +02:00
concurrent Get rid of virtual inheritance from ThreadEngineBase 2020-04-29 22:58:11 +02:00
corelib Enforce that statically allocated array-like containers have 0 capacity 2020-05-14 14:19:47 +02:00
dbus Merge remote-tracking branch 'origin/5.15' into dev 2020-04-22 15:28:01 +02:00
gui QBasicDrag: Send QDragMoveEvent when modifiers change 2020-05-14 15:19:47 +03:00
network Remove deprecated QDesktopServices APIs 2020-05-13 14:38:23 +02:00
opengl Remove a bunch of deprecated members from src/gui/painting classes 2020-05-06 09:54:17 +02:00
openglextensions Get rid of QT_OPENGL_ES* 2020-04-17 11:50:24 +02:00
openglwidgets
platformheaders Windows: Provide a way to switch between WinTab and Windows Ink at run-time 2020-04-10 01:52:35 +02:00
platformsupport Get rid of some QTextCodec leftovers 2020-05-14 07:51:20 +02:00
plugins Get rid of some QTextCodec leftovers 2020-05-14 07:51:20 +02:00
printsupport Get rid of QTextCodec in the cups support 2020-05-14 07:51:11 +02:00
sql Sweep of int-ish → char-ish types near calls to QString::fromU*() 2020-05-12 05:43:37 +00:00
testlib Close memory leak in QTestLib support for item model testing 2020-05-12 09:08:12 +02:00
tools Get rid of some QTextCodec leftovers 2020-05-14 07:51:20 +02:00
widgets Remove QTextCodec dependency from QTextBrowser 2020-05-14 07:50:43 +02:00
winmain
xml Remove QTextCodec dependency in the old SAX parser 2020-05-14 07:51:32 +02:00
CMakeLists.txt CMake: Remove special case handling for OpenSSL 2020-03-06 12:32:58 +01:00
src.pro Snippets: Fix dependency issues 2020-05-07 08:37:00 +02:00