Permalink
Commits on Mar 16, 2016
  1. widgets

    Change-Id: I9ffe0349a68fde956d1f701e083cc9c3e1107700
    committed Feb 29, 2016
  2. tools

    Change-Id: I7bcb284696189ef2861ca7af8b086638d4e79b85
    committed Feb 29, 2016
  3. xml

    Change-Id: I6c010168407718a1f72cf25b40b15a3cbe988cfc
    committed Feb 29, 2016
  4. testlib

    Change-Id: Ia44c0922ef11389dabbe6bf6f20604e6c62324b5
    committed Feb 29, 2016
  5. sql

    Change-Id: Id96d5262b890e8faf757290ff086eef37ca72743
    committed Feb 29, 2016
  6. printsupport

    Change-Id: I13d0b206266865e8b7b9e3a35e4abe8408b7a8c8
    committed Feb 29, 2016
  7. plugins

    Change-Id: Id1c47be1995d7eeb98e63ac68fa578878b3c766f
    committed Feb 29, 2016
  8. platformsupport

    Change-Id: I777194df9efae06a5ed2589d53a7f1fc4cce444e
    committed Feb 29, 2016
  9. openglext

    Change-Id: Ic93f4c87b0e61c0648f98fc921e9043c8e49ae16
    committed Feb 29, 2016
  10. opengl

    Change-Id: Icfa032ea0f0fcf718d92e406530055d0367a93a9
    committed Feb 29, 2016
  11. concurrent

    Change-Id: If2691b18ae496b63b8c46592447e4784c4a98152
    committed Feb 29, 2016
  12. dbus

    Change-Id: I644f812e87dfadde2b5d9be99fd623bba9855b2f
    committed Feb 29, 2016
  13. gui

    Change-Id: I3ffb6110d2fb9e9a90b96179c113147f9a60d614
    committed Feb 29, 2016
  14. network

    Change-Id: I12510403e4dc4b73eece03ecac1de6c65ce12b6c
    committed Feb 29, 2016
  15. core

    Change-Id: Idc707967df9b5537352066bdab880f39fd2cce98
    committed Feb 29, 2016
  16. Change some variable declarations according to intent

    Change-Id: Icb1a40e706af828f474348f0c782f61bc2479d56
    committed Feb 28, 2016
  17. Fix some Q_D uses.

    Change-Id: I3d3f8ada01e21b2fb131984c9848f0f0d8a8ee32
    committed Feb 29, 2016
  18. Change the clang mkspec to use clazy

    Change-Id: If9fabf0a858e2774ec5ce5fd413ae8c3aa546d4d
    committed Feb 27, 2016
Commits on Feb 25, 2016
  1. Also search the main bundle plugin path for plugins on Apple OSes.

    The default value of QLibraryInfo::PluginsPath is $prefix/plugins,
    where $prefix is the path to the bundle's contents directory
    (for example, .../foo.app/Contents/ on OS X, or .../foo.app/ on iOS).
    
    On Apple platforms the directory is actually called "PlugIns".
    Plugins could previously be loaded on OS X by coincidence, but
    if the system is using an HFS+ Case Sensitive filesystem (and this
    is ALWAYS the case on iOS-like operating systems), the case
    mismatch would cause plugins in an application bundle not to be
    found/loaded.
    
    This change allows plugins to be located in application bundles
    on Apple platforms regardless of the HFS+ case sensitivity mode
    and without needing to specify a qt.conf file.
    
    Change-Id: Ie0a0f7448fbf5fb410aa77944ba0d01895bb05e3
    Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com>
    Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
    jakepetroules committed Feb 18, 2016
  2. Merge "Merge remote-tracking branch 'origin/5.7' into dev" into refs/…

    …staging/dev
    liangqi committed with The Qt Project Feb 25, 2016
  3. Merge remote-tracking branch 'origin/5.7' into dev

    Conflicts:
    	mkspecs/features/qt_module.prf
    	src/plugins/platforms/cocoa/qcocoafiledialoghelper.mm
    
    Change-Id: I7912c23b02b186831f0e465dbe5d1f9936205439
    liangqi committed Feb 25, 2016
  4. Adjust tst_qabstracttextdocumentlayout for border cases

    OpenSUSE 42.1 failed this case for some reason. With this change
    the test tests the anchor from the middle of the string instead
    of looking for it from the end.
    
    Task-number: QTBUG-51345
    Change-Id: I2fc7496399f46926f261c7a1f48756bfaf782f7b
    Reviewed-by: Pekka Vuorela <pvuorela@iki.fi>
    Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
    Tony Sarajärvi committed Feb 18, 2016
  5. QtGui: use reserve to optimize memory allocation.

    Change-Id: I34a571b67840557de19ab496cadebd698c7f4f6a
    Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
    antkudr committed Feb 24, 2016
  6. QtCore: replace QStringLiteral with QLatin1String when appending

    It makes little sense to use QStringLiteral for strings which are
    immediately appended to, or which are appended to other strings,
    because no dynamic memory allocation is saved by doing so. But if
    the only advantage of QStringLiteral does not apply, all its
    disadvantages dominate, to wit: injection of calls to qstring dtor,
    non-sharability of data between C strings and QStringLiterals and
    among QStringLiterals, and doubled storage requirements.
    
    Fix by replacing QStringLiteral with QLatin1String.
    
    Saves 1156B in text size on stripped optimized Linux AMD64 GCC 4.9
    builds.
    
    Change-Id: If805e431f570ec1d2ac62c548f516f1b17390c3a
    Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
    marc-kdab committed Feb 28, 2015
  7. qmake: Fix name of header-only modules when doing simulator builds.

    This solves an issue where header only modules in a simulator build with
    frameworks on Apple platforms would result in a module like
    "QtZlib_iphonesimulator.framework" being created. This patch removes
    the "_iphonesimulator" infix from the name.
    
    Change-Id: I60e818042d776cc6ac430413ccea1be1a1a1e48b
    Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
    jakepetroules committed Feb 23, 2016
  8. qmake: Fix unwanted concurrency in simulator_and_device builds.

    Change-Id: Ia73fe903e5157fb1262878ede1fb1cc1af1c80f4
    Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
    jakepetroules committed Feb 23, 2016
Commits on Feb 24, 2016
  1. QtNetwork: don't use Boyer-Moore for single-character needles

    Using Boyer-Moore for single-character search strings makes
    no sense since there can be no skipping beyond the normal
    sequential search anyway.
    
    So, port to QByteArray::indexOf(char).
    
    Change-Id: I848e2ceea5ceafd0ebae402798b410f682348a75
    Reviewed-by: Richard J. Moore <rich@kde.org>
    marc-kdab committed Feb 24, 2016
  2. Perfect (almost) Qt on Android splash screen.

    There is no need to show the splash image immediately when the
    application starts, because it will be removed shortly in
    QtActivityDelegate.java, therefore show the splash in
    QtActivityDelegate.java.
    This patch also adds a new option to AndroidManifest.xml which keeps
    the splash screen visible until user to decides to hide it,
    by using the QtAndroid::hideSplashScreen() function.
    
    Change-Id: I8a29a5a757d626c4c9d6a2748a60ca3091ebf82d
    Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
    bog-dan-ro committed Feb 15, 2016
  3. QMimeTypeParser: scope a variable better

    The variable being a QVector, this means replacing
    default construction followed by one move-assignment
    per loop iteration with a StartElement state with
    RVO-catching a return value.
    
    Saves ~320b in text size on optimized GCC 5.3 Linux
    AMD64 builds.
    
    Change-Id: I618d31ad0816f9ad1a89a6b2e39481258f1e0878
    Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
    marc-kdab committed Feb 23, 2016
  4. QMimeTypeParser: don't use the heap to create QMimeMagicRules

    The function createMagicMatchRule() returned a heap-allocated
    QMimeMagicRule, and the caller code did not check the return
    value for nullptr, but copied the rule into a container before
    deleting the original again.
    
    Fix by returning by-value instead. Every C++ compiler will
    use RVO for this. On top, add an optimistic std::move()
    when inserting the rule into the container (currently QList,
    so no rvalue-push_back, yet).
    
    While touching the return value, also remove an unholy
    out-parameter with just local effects by returning a Result
    struct instead. The rest of the code remains full of out-
    parameters, of course.
    
    Add one Q_UNLIKELY and two qUtf16Printable() as drive-bys.
    
    Saves ~300b in text size on optimized GCC 5.3 Linux AMD64
    builds.
    
    Change-Id: I4374ab41f38502cd5c64ac37d106ca4bc6e00327
    Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
    marc-kdab committed Feb 23, 2016
  5. QMimeTypeParser: use QStringBuilder more

    Replace QString::arg() with QStringBuilder, use QStringLiteral
    where appropriate, and remove it where it isn't (e.g. in
    QStringBuilder expressions).
    
    Saves ~750b in text size on optimized GCC 5.3 Linux AMD64 builds.
    
    Change-Id: I2471c849db79f477677213f9a155053248800590
    Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
    marc-kdab committed Feb 23, 2016
  6. QMimeTypeParser: use QStringRef more

    Keep the return values of QXmlStream*::value() around as QStringRefs
    for as long as possible. Avoids conversions to QString, among other
    things, for:
    
    - comparison to another string
    - conversion to int
    - conversion to UTF-8 or Latin-1 byte arrays
    
    Add a pair of Q_UNLIKELY as a drive-by.
    
    Saves ~900b in text size on optimized GCC 5.3 Linux AMD64 builds.
    
    Change-Id: I17d440a11aeb8675979483f89e66d0a088ccc605
    Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
    marc-kdab committed Feb 23, 2016
  7. QtGui: replace QStringLiteral with QLatin1String when appending

    It makes little sense to use QStringLiteral for strings which are
    immediately appended to, or which are appended to other strings,
    because no dynamic memory allocation is saved by doing so. But if
    the only advantage of QStringLiteral does not apply, all its
    disadvantages dominate, to wit: injection of calls to qstring dtor,
    non-sharability of data between C strings and QStringLiterals and
    among QStringLiterals, and doubled storage requirements.
    
    Fix by replacing QStringLiteral with QLatin1String.
    
    Saves 104B in text size on stripped optimized Linux AMD64 GCC 4.9
    builds.
    
    Change-Id: I36b6a9bb1963b69361cc3a3db0971e1db92f0080
    Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
    marc-kdab committed Feb 28, 2015
  8. QtWidgets: replace QStringLiteral with QLatin1String when appending

    It makes little sense to use QStringLiteral for strings which are
    immediately appended to, or which are appended to other strings,
    because no dynamic memory allocation is saved by doing so. But if
    the only advantage of QStringLiteral does not apply, all its
    disadvantages dominate, to wit: injection of calls to qstring dtor,
    non-sharability of data between C strings and QStringLiterals and
    among QStringLiterals, and doubled storage requirements.
    
    Fix by replacing QStringLiteral with QLatin1String.
    
    Saves 288B in text size on stripped optimized Linux AMD64 GCC 4.9
    builds.
    
    Change-Id: Ie632f25883163f57991264b29e8753fe4c4f738e
    Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
    Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
    marc-kdab committed Feb 28, 2015
  9. QSqlDriver:sqlStatement: respect generated flags for WHERE too

    Change-Id: I90034cd1a8dc0473c36d788c6737493a51641b02
    Reviewed-by: Andy Shaw <andy.shaw@theqtcompany.com>
    mabrand committed Feb 18, 2016