qt5base-lts/tests/auto/corelib/io
João Abecasis 7bbe79fe5f Drop file-engine abstraction from public API
This abstraction imposed serious performance penalties and is being
dropped from the public API.

In particular, by allowing file names to be arbitrarily hijacked by
different file engines, and requiring engines to be instantiated in
order to decide, it imposed unnecessary overhead on all file operations.

Another flaw in the design with direct impact on performance is how
engines have no way to provide (or retain) additional information
obtained when querying the filesystem. In many places this has meant
repeated operations on the file system, where useful information is
immediately discarded to be queried again subsequently.

For Qt 4.8 a major refactoring of the code base took place to allow
bypassing the file-engine abstraction in select places, with
considerable performance gains observed. In Qt 5 it is expected we'll be
able to take this further, reaping even more benefits, but the
abstraction has to go.

[Dropping this now does not preclude that virtual file systems make an
appearance in Qt at a later point in Qt 5's lifecycle. Hopefully with a
new and improved abstraction.]

Forward declarations for QFileExtension(Result) were dropped, as the
classes were never used or defined.

Tests using "internalized" classes will only fully run on developer
builds. QFSFileEngine was removed altogether from exception safety test,
as it isn't its intent to test internal API.

Change-Id: Ie910e6c2628be202ea9e05366b091d6d529b246b
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
2012-02-22 00:07:31 +01:00
..
largefile Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qabstractfileengine Drop file-engine abstraction from public API 2012-02-22 00:07:31 +01:00
qbuffer Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qdatastream Eliminate duplicate data row names from corelib autotests. 2012-02-14 06:19:16 +01:00
qdebug Fix QTextStream and QDebug operator<< for QLatin1String 2012-02-02 11:10:04 +01:00
qdir Drop file-engine abstraction from public API 2012-02-22 00:07:31 +01:00
qdiriterator Drop file-engine abstraction from public API 2012-02-22 00:07:31 +01:00
qfile Drop file-engine abstraction from public API 2012-02-22 00:07:31 +01:00
qfileinfo Add QFileInfo::isNativePath 2012-02-14 02:48:35 +01:00
qfilesystementry Eliminate duplicate data row names from corelib autotests. 2012-02-14 06:19:16 +01:00
qfilesystemwatcher Fix tst_QFileSystemWatcher failure on Mac OS X 2012-02-17 05:25:26 +01:00
qiodevice Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qnodebug Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qprocess Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qprocessenvironment Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qresourceengine Import QMimeType / QMimeDatabase into QtCore. 2012-02-18 22:19:43 +01:00
qsettings Expect tst_QSettings::ctor(native) failures on Mac OS X 2012-02-17 11:44:29 +01:00
qstandardpaths Fixed qstandardpaths unittest to handle being run as root 2012-02-09 06:53:10 +01:00
qtemporarydir Compilation fix: missing includes for geteuid() 2012-02-17 05:27:29 +01:00
qtemporaryfile Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qtextstream Eliminate duplicate data row names from corelib autotests. 2012-02-14 06:19:16 +01:00
qurl Eliminate duplicate data row names from corelib autotests. 2012-02-14 06:19:16 +01:00
qwinoverlappedionotifier Update contact address in license headers. 2012-01-31 04:54:56 +01:00
io.pro Drop file-engine abstraction from public API 2012-02-22 00:07:31 +01:00