1. 25 Oct, 2017 - 2 commits
  2. 24 Oct, 2017 - 2 commits
  3. 12 Oct, 2017 - 2 commits
  4. 06 Oct, 2017 - 2 commits
    • Denis Shienkov's avatar
      Revamp the Blocking Master Example · 07e1fc7b
      Denis Shienkov authored
      
      * Use the 'const' keywords more.
      * Split very long lines.
      * Use the 'm_' prefixes for all class members.
      * Use the QOverload in signal/slot casting.
      * Use more member class initializations.
      * Remove QT_USE_NAMESPACE macro.
      * Use from(to)Utf8 instead of from(to)Local8Bit.
      
      Task-number: QTBUG-60652
      Change-Id: I5ef9916cc1e6371dde97154f5f5683f85bc02e96
      Reviewed-by: default avatarAndré Hartmann <aha_1980@gmx.de>
      07e1fc7b
    • Denis Shienkov's avatar
      Revamp the Blocking Slave Example · c513cbae
      Denis Shienkov authored
      
      * Use the 'const' keywords more.
      * Split very long lines.
      * Use the 'm_' prefixes for all class members.
      * Use the QOverload in signal/slot casting.
      * Use more member class initializations.
      * Remove QT_USE_NAMESPACE macro.
      * Use from(to)Utf8 instead of from(to)Local8Bit.
      
      Task-number: QTBUG-60652
      Change-Id: I64bfaf93672dc69f4d10bcaaa0c1c6dd87267d3e
      Reviewed-by: default avatarAndré Hartmann <aha_1980@gmx.de>
      Reviewed-by: default avatarAlex Blasche <alexander.blasche@qt.io>
      c513cbae
  5. 05 Oct, 2017 - 8 commits
  6. 18 Sep, 2017 - 1 commit
  7. 15 Aug, 2017 - 2 commits
  8. 30 Jun, 2017 - 3 commits
  9. 20 Jun, 2017 - 1 commit
  10. 07 Jun, 2017 - 1 commit
  11. 31 May, 2017 - 1 commit
  12. 17 May, 2017 - 1 commit
  13. 11 May, 2017 - 1 commit
  14. 10 May, 2017 - 1 commit
  15. 04 May, 2017 - 1 commit
  16. 26 Apr, 2017 - 2 commits
    • Alex Trotsenko's avatar
      Improve read performance when the buffer size is limited · 84221c27
      Alex Trotsenko authored
      
      Read notifications should be enabled all the time while the device is
      opened unless the buffer size limit is reached. To enable the read
      notifier again, the user needs to read the data or enlarge the buffer
      with a setReadBufferSize() call.
      
      According to that scenario, it's very likely that the device will
      toggle the state of notifier twice (on->off->on) in one notification
      cycle. This patch prevents this unnecessary toggling by:
      
      - unconditionally setting the notifier's state in setReadBufferSize()/
        readData();
      - deferring the notification disabling in readNotification() on Unix
        and in completeAsyncRead() on Windows to the next notification
        cycle.
      
      Change-Id: I97fc041bb705c034a7e73d1437e64b9b34dc2c18
      Reviewed-by: default avatarDenis Shienkov <denis.shienkov@gmail.com>
      84221c27
    • Denis Shienkov's avatar
      Increase buffer chunk sizes · a5ecc626
      Denis Shienkov authored
      
      This reduces the number of syscalls and thus the CPU load when dealing
      with fast ports. And 32KiB seems still small enough to be no concern on
      modern hardware even if it's excessive for a given port.
      
      Change-Id: I4749e4255627d3abf2393323216e01ac6436413b
      Reviewed-by: default avatarAlex Trotsenko <alex1973tr@gmail.com>
      Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@qt.io>
      Reviewed-by: default avatarDenis Shienkov <denis.shienkov@gmail.com>
      a5ecc626
  17. 25 Apr, 2017 - 1 commit
  18. 22 Apr, 2017 - 2 commits
  19. 09 Apr, 2017 - 5 commits
  20. 27 Mar, 2017 - 1 commit