Go to file
João Abecasis fe778b94bd Enable endianness conversions on q(u)int8
Lack of support for these types is not a real issue as endian
conversions on byte-sized types are no-ops. Still, the conversions are
useful as they facilitate writing of generic code. They can also be used
explicitly as a way to document in code an endian-specific binary
format:

     uchar *data;
     quint8 tag = qFromLittleEndian<quint8>(data++);
     quint32 size = qFromLittleEndian<quint32>(data);

This commit also adds a test for functions documented in the QtEndian
header.

Change-Id: I2f6c876ce89d2adb8c03a1c8a25921d225bf6f92
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2012-03-25 13:12:24 +02:00
bin Fix qtmodule-configtests to honor error codes 2012-03-08 23:52:34 +01:00
config.tests Add detection of AVX and AVX2 support in the compiler. 2012-03-23 19:43:00 +01:00
dist QMetaMethod::typeName() should return "void" if the return type is void 2012-03-21 18:55:51 +01:00
doc/src Remove QWorkspace. 2012-03-23 13:22:10 +01:00
examples Merge master into api_changes 2012-03-23 14:10:58 +01:00
lib Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
mkspecs Add detection of AVX and AVX2 support in the compiler. 2012-03-23 19:43:00 +01:00
qmake Disable QUrl support in QVariant in bootstrapped mode 2012-03-24 16:30:58 +01:00
src Enable endianness conversions on q(u)int8 2012-03-25 13:12:24 +02:00
tests Enable endianness conversions on q(u)int8 2012-03-25 13:12:24 +02:00
tools Disable QUrl support in QVariant in bootstrapped mode 2012-03-24 16:30:58 +01:00
util Update QLocale data from CLDR v1.8.1 to CLDR v1.9.1 2012-03-24 18:32:16 +01:00
.gitattributes Added .tag file with Git revision. 2011-05-03 16:23:49 +02:00
.gitignore Add configure bootstrap generated files to .gitignore 2012-03-22 18:59:45 +01:00
.tag Added .tag file with Git revision. 2011-05-03 16:23:49 +02:00
configure Add detection of AVX and AVX2 support in the compiler. 2012-03-23 19:43:00 +01:00
configure.bat Remove Q_BYTE_ORDER and -*-endian arguments from configures 2012-03-02 14:48:00 +01:00
header.BSD Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
header.FDL Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
header.LGPL Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
header.LGPL-ONLY Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
INSTALL Remove Symbian specific code from qtbase. 2012-01-31 07:08:31 +01:00
LGPL_EXCEPTION.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
LICENSE.FDL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
LICENSE.LGPL Update contact information in license headers. 2012-01-23 04:04:33 +01:00
LICENSE.PREVIEW.COMMERCIAL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
qtbase.pro remove obviously counterproductive uses of QT_SOURCE_TREE & QT_BUILD_TREE 2012-03-08 18:57:13 +01:00
sync.profile Add qprocessordetection.h 2012-02-08 12:33:11 +01:00