1. 17 Mar, 2021 1 commit
  2. 22 Jun, 2020 1 commit
  3. 04 Jun, 2020 1 commit
    • Sona Kurazyan's avatar
      Deprecate the pause-related APIs of QFuture* classes · 37cfc3c6
      Sona Kurazyan authored
      Deprecated the pause-related APIs of QFuture* classes and
      added alternatives having "suspend" in the name instead.
      
      With 2f15927f
      
       new
      isSuspended()/suspended() APIs have been added to QFuture* classes for
      checking if pause/suspension is still in progress or it already took
      effect. To keep the naming more consistent, renamed:
      
       - setPaused() -> setSuspended()
       - pause() -> suspend()
       - togglePaused() -> toggleSuspended()
       - QFutureWatcher::paused() -> QFutureWatcher::suspending()
      
      Note that QFuture*::isPaused() now corresponds to (isSuspending() ||
      isSuspended()).
      
      [ChangeLog][Deprecation Notice] Deprecated pause-related APIs of
      QFuture and QFutureWatcher. Added alternatives having "suspend" in
      the name instead.
      
      Change-Id: Ibeb75017a118401d64d18b72fb95d78e28c4661c
      Reviewed-by: default avatarMårten Nordheim <marten.nordheim@qt.io>
      Reviewed-by: default avatarLeena Miettinen <riitta-leena.miettinen@qt.io>
      Reviewed-by: default avatarAndrei Golubev <andrei.golubev@qt.io>
      Reviewed-by: default avatarJarek Kobus <jaroslaw.kobus@qt.io>
      37cfc3c6
  4. 29 May, 2020 1 commit
    • Sona Kurazyan's avatar
      Add a way of notifying QFutureWatcher when pause is in effect · 2f15927f
      Sona Kurazyan authored
      
      
      Because setting QFutureInterface to paused state does not mean that
      the computations that are already in progress will stop immediately,
      it may be useful to get notified when pause actually takes effect.
      
      Introduced the QFutureWatcher::suspended() signal, to be emitted when
      there are no more computations in progress, and no more result ready
      or progress reporting signals will be emitted, i.e. when pause took
      effect. Added {QFuture, QFutureWatcher}::isSuspended() methods for
      checking if pause took effect.
      
      QtConcurrent will now to send QFutureCallOutEvent::Suspended event
      when the state is paused and there are no more active threads.
      
      [ChangeLog][QtCore][QFutureWatcher] Added a new QFutureWatcher::suspended()
      signal, to be emitted when pause took effect, meaning that there are no
      more computations in progress. Added {QFuture, QFutureWatcher}::isSuspended()
      methods for checking if pause took effect.
      
      Fixes: QTBUG-12152
      Change-Id: I88f2ad24d800cd6293dec63977d45bd35f9a09f0
      Reviewed-by: default avatarJarek Kobus <jaroslaw.kobus@qt.io>
      2f15927f
  5. 18 May, 2020 1 commit
  6. 29 Apr, 2020 1 commit
    • Jarek Kobus's avatar
      Get rid of virtual inheritance from ThreadEngineBase · a4071c18
      Jarek Kobus authored
      
      
      The virtual inheritance causes the issue, when adding
      new, non-default constructor to the base ThreadEngineBase
      class. It looks like classes derived from it can't
      use the non-default constructor, even when it's called
      explicilty from the subclass. Instead, the default constructor of the
      ThreadEngineBase class is always required during compilation
      and called on runtime.
      
      In addition, the only sensible use of the virtual inheritance
      is the multiple inheritance, but apparently it looks like
      there is no single class in Qt which would multi inherit from
      the ThreadEngineBase class, so this change shouldn't have any bad
      side effects. This justifies the current lack of info on why it
      was introduced originally ages ago.
      
      Change-Id: I08266e6f6865d938d1b1e4243ef94d2c02c3a886
      Reviewed-by: default avatarLars Knoll <lars.knoll@qt.io>
      a4071c18
  7. 03 Apr, 2020 1 commit
  8. 29 Jan, 2019 1 commit
  9. 08 Dec, 2017 2 commits
    • Martin Smith's avatar
      doc: Fix all qdoc errors in QtConcurrent · 4f9575ec
      Martin Smith authored
      
      
      These errors resulted from the improved parsing provided
      by clang, which required rethinking which elements of the
      QtConcurrent API should be visible to clangqdoc. The basic
      problem is that clang must see declarations for all types
      used by a type, or else it either gets lost and fails to
      parse a type correctly, or it simply refuses to include
      the type in its AST.
      
      Change-Id: Iaa699c287e67d1288fcb2d83a9dbbaf07521d0cc
      Reviewed-by: default avatarMartin Smith <martin.smith@qt.io>
      4f9575ec
    • Martin Smith's avatar
      doc: Fix qdoc errors for \fn commands in QtConcurrent · d3af09fd
      Martin Smith authored
      
      
      This change updates the \fn commands in the QtConcurrent
      module, which makes extensive use of templates. Some of the
      update \fn commands are very long as a result.
      
      A few cases of the tag trick were used to fix qdoc errors
      for some complicated template function signatures that were
      marked \internal anyway.
      
      Change-Id: I8546b89030c51bb9dddf38fa10bc0248d901aa51
      Reviewed-by: default avatarMartin Smith <martin.smith@qt.io>
      d3af09fd
  10. 19 Sep, 2017 2 commits
  11. 15 Jan, 2016 1 commit
  12. 04 Nov, 2015 1 commit
  13. 11 Feb, 2015 1 commit
    • Jani Heikkinen's avatar
      Update copyright headers · 83a5694d
      Jani Heikkinen authored
      
      
      Qt copyrights are now in The Qt Company, so we could update the source
      code headers accordingly. In the same go we should also fix the links to
      point to qt.io.
      
      Outdated header.LGPL removed (use header.LGPL21 instead)
      
      Old header.LGPL3 renamed to header.LGPL3-COMM to match actual licensing
      combination. New header.LGPL-COMM taken in the use file which were
      using old header.LGPL3 (src/plugins/platforms/android/extract.cpp)
      
      Added new header.LGPL3 containing Commercial + LGPLv3 + GPLv2 license
      combination
      
      Change-Id: I6f49b819a8a20cc4f88b794a8f6726d975e8ffbe
      Reviewed-by: default avatarMatti Paaso <matti.paaso@theqtcompany.com>
      83a5694d
  14. 03 Dec, 2014 1 commit
  15. 24 Sep, 2014 1 commit
  16. 29 Jan, 2013 1 commit
  17. 18 Jan, 2013 1 commit
  18. 08 Jan, 2013 1 commit
  19. 28 Sep, 2012 2 commits
  20. 22 Sep, 2012 1 commit
  21. 29 May, 2012 1 commit
  22. 14 Feb, 2012 1 commit
  23. 06 Feb, 2012 1 commit
  24. 05 Feb, 2012 1 commit
  25. 30 Jan, 2012 1 commit
  26. 25 Jan, 2012 1 commit
  27. 23 Jan, 2012 1 commit
  28. 05 Jan, 2012 1 commit
  29. 24 May, 2011 1 commit
  30. 27 Apr, 2011 1 commit
    • Qt by Nokia's avatar
      Initial import from the monolithic Qt. · 38be0d13
      Qt by Nokia authored
      This is the beginning of revision history for this module. If you
      want to look at revision history older than this, please refer to the
      Qt Git wiki for how to use Git history grafting. At the time of
      writing, this wiki is located here:
      
      http://qt.gitorious.org/qt/pages/GitIntroductionWithQt
      
      If you have already performed the grafting and you don't see any
      history beyond this commit, try running "git log" with the "--follow"
      argument.
      
      Branched from the monolithic repo, Qt master branch, at commit
      896db169ea224deb96c59ce8af800d019de63f12
      38be0d13