qt6-bb10/src
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
..
3rdparty Remove usages of QT_ARCH and QT_ARCH_* from qtbase 2012-02-17 08:22:43 +01:00
concurrent Move QtConcurrent configuration to a single file 2012-02-14 16:14:58 +01:00
corelib Drop file-engine abstraction from public API 2012-02-22 00:07:31 +01:00
dbus replace 'const QChar &' with 'QChar ' where appropriate 2012-02-21 21:05:25 +01:00
gui Add GL_BGR to the list of defined GL constants, right next to GL_BGRA 2012-02-21 22:31:00 +01:00
modules Move QtConcurrent into its own module 2012-02-05 17:49:16 +01:00
network Drop file-engine abstraction from public API 2012-02-22 00:07:31 +01:00
opengl Corrected the size of mipmaps in framebuffer objects. 2012-02-15 17:06:49 +01:00
platformsupport Use new plugin system for Input Context plugins. 2012-02-21 12:54:07 +01:00
plugins Use requested window format to match rest of the patch in 38257651 2012-02-21 14:01:29 +01:00
printsupport Windows: Fix inclusion of <windows.h> 2012-02-01 11:06:19 +01:00
sql Ensure that QSqlDatabase::database() is still thread-safe 2012-02-17 05:28:28 +01:00
testlib replace 'const QChar &' with 'QChar ' where appropriate 2012-02-21 21:05:25 +01:00
tools Drop file-engine abstraction from public API 2012-02-22 00:07:31 +01:00
widgets Drop file-engine abstraction from public API 2012-02-22 00:07:31 +01:00
winmain Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
xml Remove many unneeded virtuals. 2012-02-20 22:06:50 +01:00
qbase.pri Moved common module profiles to be feature profiles. 2011-06-05 14:47:14 +02:00
qt_install.pri Moved common module profiles to be feature profiles. 2011-06-05 14:47:14 +02:00
qt_targets.pri Moved common module profiles to be feature profiles. 2011-06-05 14:47:14 +02:00
src.pro Dont build printer support for Windows CE. 2012-02-10 00:27:44 +01:00