1. 02 May, 2017 10 commits
  2. 30 Apr, 2017 4 commits
  3. 29 Apr, 2017 3 commits
  4. 28 Apr, 2017 13 commits
  5. 27 Apr, 2017 9 commits
    • Thiago Macieira's avatar
      Update detection of $DESKTOP_SESSION · 851b39a6
      Thiago Macieira authored
      I don't know how widespread this use is, but apparently sddm seems to
      set DESKTOP_SESSION to be the .desktop file that it used to launch the
      session (minus the .desktop extension). In that case, we should read the
      DesktopName entry from the file to get the actual desktop type.
      And since the desktop detection from QGenericUnixServices should
      suffice, we don't need to repeat the same code in QGenericUnixThemes.
      Change-Id: I0e1a09998253489388abfffd14b5eeefbd7fe740
      Reviewed-by: default avatarJ-P Nurmi <jpnurmi@qt.io>
    • Thiago Macieira's avatar
      Clean up mkspecs from old, unsupported and untested mkspecs · ab44ac02
      Thiago Macieira authored
      They have not been tested with Qt 5, not even once to make sure
      that the mkspec passes the sanity check.
      This removes for OSes:
        HP-UX (running on PA-RISC -- Itanium still supported)
        SGI IRIX
        SCO Unix
        Tru64 Unix
      And compilers:
        IBM xlC (Visual Age C++)
        HP aCC compiler (PA-RISC and Itanium)
        PGCC, cxx and kcc on Linux
      There were a couple more OSes detected in the configure script that were
      lacking even the mkspec. Those have also been removed.
      Of those, only hpuxi-acc and aix-xlc have been tested in the last 9
      years, though only with Qt 4 and never tried with C++11 support. IRIX
      was last tested over 10 years ago and PA-RISC is definitely not
      supported due to its lack of atomic operations.
      Support for HP-UXi and AIX is now only possible with GCC (assuming GCC
      supports those). Support files for Oracle's Sun Studio compiler are left
      behind, but its state is unknown.
      Change-Id: I7814054a102a407d876ffffd14b69c796b97c972
      Reviewed-by: default avatarVille Voutilainen <ville.voutilainen@qt.io>
      Reviewed-by: default avatarLars Knoll <lars.knoll@qt.io>
      Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@qt.io>
    • Tasuku Suzuki's avatar
      Fix build without features.shortcut · a9e0879e
      Tasuku Suzuki authored
      Change-Id: I87a7ba1a77b0671559616a3ea4722bcc233af32d
      Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@qt.io>
      Reviewed-by: default avatarPaul Olav Tvete <paul.tvete@qt.io>
    • Thiago Macieira's avatar
      QSysInfo: Make use of the QT_WARNING_DISABLE_DEPRECATED macro · c1e19a2e
      Thiago Macieira authored
      We have it for a reason.
      Change-Id: I84e363d735b443cb9beefffd14b8f355aeb8a31c
      Reviewed-by: default avatarJake Petroules <jake.petroules@qt.io>
    • Timur Pocheptsov's avatar
      Revert "Blacklist tst_QSslSocket::protocolServerSide on OS X 10.11" · b6968f50
      Timur Pocheptsov authored
      This reverts commit 96c27f0d
      We now use a custom keychain that should fix the original
      problem with the test.
      Change-Id: I52e4105f34a46ad7080750d9a62480ebe3a56e68
      Reviewed-by: default avatarEdward Welbourne <edward.welbourne@qt.io>
    • Oliver Wolff's avatar
      winrt: Use list initialization for KeyInfo's members · 11e37a0e
      Oliver Wolff authored
      Change-Id: Idd05d1e1332efd9afc9816a48437fee377730735
      Reviewed-by: default avatarMaurice Kalinowski <maurice.kalinowski@qt.io>
    • Oliver Wolff's avatar
      winrt: Fix text value for key release events · eb77a24f
      Oliver Wolff authored
      The text member was never filled and thus was not set in onKeyUp.
      Change-Id: I0d0094745c385e0942635da643d863868b010c2a
      Reviewed-by: default avatarMaurice Kalinowski <maurice.kalinowski@qt.io>
    • Oliver Wolff's avatar
      winrt: Remove wrong parameter from handleExtendedKeyEvent call · 4bfb4645
      Oliver Wolff authored
      The event's count parameter is used to determine the number of keys
      involved in the key event, not the repeat count of the key press.
      The desktop windows implementation does not pass the "count" parameter,
      so we omit it as well.
      The tryShortcutOverride parameter is only used on macOS and thus can be
      omitted as well.
      Change-Id: Id7554e43cc73ec616f68444e82a38418e622e20a
      Reviewed-by: default avatarMaurice Kalinowski <maurice.kalinowski@qt.io>
    • Dyami Caliri's avatar
      QOpenGLWidget: Fix UB (invalid cast) in ~QOpenGLWidgetPrivate · 32f8cbae
      Dyami Caliri authored
      The QOpenGLWidgetPrivate destructor calls reset(), which accesses
      the Q-pointer. Calling Q_Q(Class) while still inside the private
      class's destructor is wrong due to the cast in q_func() which is
      undefined behavior at that stage.
      Here is the UB report:
      qopenglwidget.cpp:548:5: runtime error: downcast of address 0x000016d0e200 which does not point to an object of type 'QOpenGLWidget'
      0x000016d0e200: note: object is of type 'QObject'
       00 00 00 00  10 30 32 0f 00 00 00 00  40 e2 d0 16 00 00 00 00  80 7b 42 0f 00 00 00 00  00 00 00 00
                    vptr for 'QObject'
      0     QOpenGLWidgetPrivate::reset    qopenglwidget.cpp    656    0x607e667
      1     QOpenGLWidgetPrivate::~QOpenGLWidgetPrivate    qopenglwidget.cpp    570    0x60982ab
      2     QOpenGLWidgetPrivate::~QOpenGLWidgetPrivate    qopenglwidget.cpp    569    0x6098516
      3     QScopedPointerDeleter<QObjectData>::cleanup    qscopedpointer.h    54    0xcbf7058
      4     QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData>>::~QScopedPointer    qscopedpointer.h    101    0xcbde858
      5     QObject::~QObject    qobject.cpp    1042    0xcb94792
      6     QWidget::~QWidget    qwidget.cpp    1701    0x5e173f7
      7     QOpenGLWidget::~QOpenGLWidget    qopenglwidget.cpp    946    0x608d72b
      8     ImagePreviewComponent::~ImagePreviewComponent    imagepreviewcomponent.h    16    0x58237b6
      9     ImagePreviewComponent::~ImagePreviewComponent    imagepreviewcomponent.h    16    0x58238c6
      Change-Id: If13932ac657afb9d1358ac82ab911a05e96cfbcd
      Reviewed-by: default avatarLaszlo Agocs <laszlo.agocs@qt.io>
  6. 26 Apr, 2017 1 commit