1. 26 May, 2016 - 3 commits
  2. 25 May, 2016 - 3 commits
  3. 24 May, 2016 - 4 commits
    • Thiago Macieira's avatar
      Revert "QMutexPool: avoid QVarLengthArray of QAtomicPointers" · b084739b
      Thiago Macieira authored
      This reverts commit 4579d966
      
      .
      
      This causes a miscompilation with ICC 16 on Windows (MSVC 2015 ABI): the
      vector created by new[] with () in:
      
            mutexes(new QAtomicPointer<QMutex>[size]()), // (): zero-initialize
      
      does not actually zero-initialize (see disassembly in the bug
      report). This is definitely a compiler bug.
      
      Since we plan on removing QMutexPool in Qt 5.8 anyway, let's just revert
      the patch.
      
      Task-number: QTBUG-53360
      Change-Id: I06bae9392f534e45b3f1ffff144e823b747e7962
      Reviewed-by: default avatarKai Koehne <kai.koehne@qt.io>
      b084739b
    • Kai Koehne's avatar
      Determine the compiler's default include and lib directories at qmake time · efd2ea8e
      Kai Koehne authored
      
      This fixes a long-standing issue for Qt packages, where the
      paths detected at configure time do not necessarily match the
      paths on the user's machine. Hence they have been stripped
      manually from qconfig.pri so far, preventing moc from resolving
      some includes.
      
      The same logic in configure is left alone for the time being,
      since the paths there are also used to filter paths returned
      by pg_config and mysql_config. I expect that this will
      eventually be removed too in a bigger refactoring going on
      right now in dev.
      
      Asking the compiler for implicit paths only works for non-msvc
      builds - that is, gcc, clang and icc fortunately have a
      compatible way to retrieve the paths. MSVC works
      solely on environment variables, which will be taken into
      account by a separate patch.
      
      [ChangeLog][qmake] The implicit compiler directories that
      moc needs for resolving include files are now determined
      when qmake runs. So far QMAKE_DEFAULT_INCDIR was determined
      at configure time, which might be wrong for relocated
      installations.
      
      Task-number: QTBUG-52687
      Change-Id: If0706e8c56a5aca2b6e777e79e90342c498726f3
      Reviewed-by: default avatarLars Knoll <lars.knoll@theqtcompany.com>
      Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
      efd2ea8e
    • Friedemann Kleint's avatar
      Fix tst_QListView::setCurrentIndexAfterAppendRowCrash(). · 65ae3de2
      Friedemann Kleint authored
      
      The test was half-ported from Qt 4 and #ifdefed out depending
      on WINVER. When it became active, it failed since it queries the window
      handle too early in the process.
      
      Move the code sending the message into showEvent() to ensure a window
      handle exists and parent the listview properly to prevent a leaking
      toplevel.
      
      Change-Id: I74aa9ddfd0e88dd31e9258400fc3e473b6e0d92e
      Reviewed-by: default avatarKai Koehne <kai.koehne@qt.io>
      65ae3de2
    • BogDan Vatra's avatar
      Move services documenation to a wiki page. · 48d14c66
      BogDan Vatra authored
      
      Qt XML parser doesn't like these comments and it breakes QtCreator's manifest editor
      
      Task-number: QTCREATORBUG-16139
      Change-Id: I6459926b32c39eb6d1ee8a9b5a5ade9b6f72924a
      Reviewed-by: default avatarChristian Stromme <christian.stromme@qt.io>
      48d14c66
  4. 23 May, 2016 - 1 commit
  5. 20 May, 2016 - 6 commits
  6. 19 May, 2016 - 9 commits
  7. 18 May, 2016 - 10 commits
  8. 17 May, 2016 - 4 commits
    • Laszlo Agocs's avatar
      Add notes and an example configure line to the imx6 makespec · 4251509c
      Laszlo Agocs authored
      
      Other popular specs have this as well.
      
      Change-Id: I44245f37857d476b9ee53ecad021261b94214b2f
      Reviewed-by: default avatarJohan Helsing <johan.helsing@qt.io>
      Reviewed-by: default avatarLouai Al-Khanji <louai.al-khanji@qt.io>
      4251509c
    • Laszlo Agocs's avatar
      egl: Reshuffle headers to help less fortunate systems with X11 · 6e401ebc
      Laszlo Agocs authored
      
      EGL headers including X headers has traditionally been problematic due
      to getting macros for Status, None, etc.
      
      In most cases this is not an issue anymore because on embedded one will
      almost always use a driver targeting the framebuffer or DRM/KMS and
      therefore the EGL headers do not pull in X dependencies.
      
      Furthermore, Mesa supports MESA_EGL_NO_X11_HEADERS which we set, avoiding
      the problem altogether with Mesa regardless of targeting X11 or KMS.
      
      However, other drivers do not have this option. On i.MX6 for instance,
      targeting X11 is problematic due to not having EGL_API_FB defined, which
      in turn means the EGL headers pulls in X headers in order to be able to
      define the native display and window types as Display and Window.
      
      Try to play nice with this use case by reshuffling the includes and
      undefining the problematic names.
      
      This restores patch set 2 from the previously merged, and then reverted
      commit. This here is safe since the egl.h include and the following undefs
      are only done internally for eglfs and can have therefore no effect on
      other code.
      
      Task-number: QTBUG-52928
      Change-Id: I383e783d5064dc8fb41f3ef56d2a4f4fcd31a6cf
      Reviewed-by: default avatarLouai Al-Khanji <louai.al-khanji@qt.io>
      6e401ebc
    • Ralf Nolden's avatar
      Compile fix: remove _POSIX_C_SOURCE usage · bfa53e1c
      Ralf Nolden authored
      
      Remove _POSIX_C_SOURCE usage as the reason why it was added is not
      clear anymore and it causes compile errors on BSD systems if not
      circumvented by adding further defines to re-enable function calls
      hidden by the _POSIX_C_SOURCE define. (__BSD_VISIBLE on FreeBSD/OpenBSD
      and _NETBSD_SOURCE on NetBSD)
      
      Change-Id: Ic6b49ddcd6c481b0f2acd598cea5470604e00507
      Reviewed-by: default avatarThiago Macieira <thiago.macieira@intel.com>
      bfa53e1c
    • Oswald Buddenhagen's avatar
      QT_CONFIG simplification re debug_and_release and build_all · b67a0836
      Oswald Buddenhagen authored
      
      don't pretend that these two flags can be set separately - the
      configures set them in tandem.
      
      Change-Id: Ib0beae0152de09026d4627fd3ae0feabd9ce1b81
      Reviewed-by: default avatarJoerg Bornemann <joerg.bornemann@qt.io>
      b67a0836