1. 12 Sep, 2018 - 11 commits
  2. 11 Sep, 2018 - 5 commits
    • Andy Shaw's avatar
      ODBC: Remove the trailing \0 in the case of a non unicode string · a3e8b92d
      Andy Shaw authored
      
      Some ODBC drivers, such as old Informix ODBC drivers will incorrectly
      include a trailing \0 in a string when this should not exist. For
      unicode strings this was already accounted for, but for non-unicode ones
      this was not covered.
      
      The change also fixes up the comments a bit to make this clearer and
      also added one for the unicode case.
      
      Task-number: QTBUG-62406
      Change-Id: Id932a58d9e5fdff2f4d1aacf8cc9fdaeb34f95f4
      Reviewed-by: default avatarEdward Welbourne <edward.welbourne@qt.io>
      a3e8b92d
    • Tor Arne Vestbø's avatar
      macOS: Prevent flickering when resizing window rendered to by separate thread · d8c210d7
      Tor Arne Vestbø authored
      When a window is resized AppKit groups all updates to the view frames and
      corresponding layer bounds, so that the result of the resize is visually
      atomic, but this only works for the main thread.
      
      http://openradar.appspot.com/radar?id=4990815088672768
      
      When a separate thread renders to one of the views in the window, it may
      result in the view and its layer updating its bounds visually before the
      resize has been visually reflected for the window itself and its border.
      
      To ensure visually atomic updates, we disable all screen updates for the
      process during resizing. This is the same workaround used by e.g. the
      NSOpenPanel class, which renders the content of the view out of process,
      and by Chromium for a similar use-case:
      
      https://chromium-review.googlesource.com/c/chromium/src/+/798774
      
      
      
      Ideally we'd do this only for the window that is being resized, but there's
      no known API to do that. The deprecated [NSWindow disableScreenUpdatesUntilFlush]
      is a no-op these days, and used NSDisableScreenUpdates internally anyways).
      
      Fixes: QTBUG-69321
      Change-Id: I84de714782278f2e0b2b2e1eb245c30810cb3023
      Reviewed-by: default avatarMorten Johan Sørvig <morten.sorvig@qt.io>
      Reviewed-by: default avatarSimon Hausmann <simon.hausmann@qt.io>
      d8c210d7
    • Edward Welbourne's avatar
      Clean up time-zone matching logic in tst_QLocale::macDefaultLocale() · 017ac02e
      Edward Welbourne authored
      
      The test was computing GMT with a suffix added to it for the offset;
      but when the offset is zero there's no need for it.  Cleaned up the
      logic so that it only checks for a "padded to two digits with zero" if
      the number is single-digit (and use string arithmetic in preference to
      wantonly complex .arg()ing; and use simpler names).  Since we don't
      try to check anything unless GMT does appear in the string (because
      the actual zone ID was used, instead of GMT with an offset), the case
      of zero offset has nothing more to check than that GMT was present,
      the precondition for checking anything.
      
      Task-number: QTBUG-70322
      Change-Id: I0b8abe7e63d9d72fa9cf32f188b47a78a849044b
      Reviewed-by: default avatarQt CI Bot <qt_ci_bot@qt-project.org>
      Reviewed-by: default avatarThiago Macieira <thiago.macieira@intel.com>
      017ac02e
    • Friedemann Kleint's avatar
      Windows: Disable shader disk cache for Intel HD Graphics 620 · dff9bb2f
      Friedemann Kleint authored
      
      Set Qt::AA_DisableShaderDiskCache when the feature "disable_program_cache"
      (modeled after the Chromium driver bug list) is present and set it for the
      Intel HD Graphics 620 card.
      
      Task-number: QTBUG-64697
      Change-Id: Ibba588d2ab296b5c959ab8ee9712b47ec7cc906e
      Reviewed-by: default avatarLaszlo Agocs <laszlo.agocs@qt.io>
      dff9bb2f
    • Tony Sarajärvi's avatar
      Extend opensuse blacklistings to opensuse-leap · fd6370d8
      Tony Sarajärvi authored
      
      In openSUSE 15.0 /etc/os-release the ID of the OS was
      changed from "opensuse" to "opensuse-leap". So every blacklisting
      we did for opensuse, didn't cover opensuse-leap. This one adds
      opensuse-leap as a blacklisted platform whenever opensuse
      was blacklisted.
      
      Task-number: QTBUG-70463
      Task-number: QTBUG-51399
      Change-Id: I5879eb34926757163973d8b9442eae58f47d2f11
      Reviewed-by: default avatarLiang Qi <liang.qi@qt.io>
      fd6370d8
  3. 10 Sep, 2018 - 8 commits
  4. 09 Sep, 2018 - 8 commits
  5. 08 Sep, 2018 - 3 commits
  6. 07 Sep, 2018 - 1 commit
    • Tor Arne Vestbø's avatar
      macOS: Clear NSOpenGLContex's drawable when using offscreen surfaces · 3baa9aa3
      Tor Arne Vestbø authored
      
      Otherwise the user might accidentally render to the previously active
      window, if not explicitly using an FBO.
      
      This will have an performance impact if doing makeCurrent on a real
      window and an offscreen window back and forth with the same context,
      but that's not really a common or recommended use of QOffscreenSurface,
      as you can create FBOs with a normal window current as well. The use
      case of QOffscreenSurface is when a real window is not available.
      
      Change-Id: If93d04f82564523e15d5970429afea34c5cd31fe
      Reviewed-by: default avatarMorten Johan Sørvig <morten.sorvig@qt.io>
      3baa9aa3
  7. 06 Sep, 2018 - 4 commits