qt5base-lts/tests/auto
João Abecasis bce08ba220 Introducing QArrayData
Modeled on QByteArrayData/QStringData/QVectorData, the intent is to
unify book-keeping structs for array-like data and enable sharing of
code among them.

As in those structures, size (and alloc) data member(s) specify the
number of *typed* elements the array does (and can) hold.  The size or
alignment requirements of those objects is not tracked in this data
structure and needs to be maintained by its users.

Contrary to QByteArrayData and QStringData, QArrayData's offset member
keeps a *byte* offset to the actual data array and is computed from the
beginning of the struct.

Shared-null and -empty functionality is provided by QArrayData and
shared among all users.

Planned features include setSharable (force deep copies), fromRawData
(detached header and data allocations) and literals a la QStringLiteral
(static immutable instances), thus covering the functionality needed for
QByteArray, QString and QVector.

Change-Id: I9aa709dbb675442e6d06965efb8138ab84602bbd
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
2011-12-06 16:57:17 +01:00
..
bic Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
compilerwarnings/data Remove uilib and QtUiTools from QtBase 2011-09-13 20:11:40 +02:00
corelib Introducing QArrayData 2011-12-06 16:57:17 +01:00
dbus Fix stack overwrite in QDBusDemarshaller 2011-11-23 19:14:12 +01:00
gui Remove TESTED_CLASS/TESTED_FILES comments from tests. 2011-12-06 02:19:25 +01:00
guiapplauncher Update the documentation after moving examples. 2011-07-05 21:19:08 +02:00
network Skip untestable interfaces in QTcpSocket::bind autotest 2011-12-06 11:57:11 +01:00
opengl Remove TESTED_CLASS/TESTED_FILES comments from tests. 2011-12-06 02:19:25 +01:00
other Remove TESTED_CLASS/TESTED_FILES comments from tests. 2011-12-06 02:19:25 +01:00
sql Remove TESTED_CLASS/TESTED_FILES comments from tests. 2011-12-06 02:19:25 +01:00
testlib Don't mark selftest subtests as testcases. 2011-12-06 02:19:25 +01:00
tools Revert "Add QObject::objectNameChanged(const QString &objectName) signal" 2011-12-02 06:03:12 +01:00
v8 qtbase tests: Fix some warnings 2011-11-21 09:58:23 +01:00
widgets Remove TESTED_CLASS/TESTED_FILES comments from tests. 2011-12-06 02:19:25 +01:00
xml Remove TESTED_CLASS/TESTED_FILES comments from tests. 2011-12-06 02:19:25 +01:00
auto.pro Moved integrationtests/* into other/ 2011-11-30 09:30:22 +01:00
network-settings.h Fix sanity check of network test server 2011-11-28 08:13:41 +01:00
platformquirks.h Remove unused PlatformQuirks functions. 2011-11-05 02:31:07 +01:00
test.pl Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00