[mythtv-commits] [MythTV/mythtv] 40deb5: clazy: Don't include the entire QtCore module in r...

David Hampton noreply at github.com
Tue Dec 5 21:44:05 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: 40deb5825d85eadf9e458d5305b7463956e06e96
      https://github.com/MythTV/mythtv/commit/40deb5825d85eadf9e458d5305b7463956e06e96
  Author: David Hampton <mythtv at love2code.net>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

  Changed paths:
    M mythplugins/mytharchive/mytharchivehelper/mytharchivehelper.cpp
    M mythtv/libs/libmythbase/recordingstatus.h
    M mythtv/libs/libmythmetadata/metadatacommon.cpp
    M mythtv/libs/libmythtv/captions/subtitlescreen.cpp
    M mythtv/libs/libmythtv/channelutil.cpp
    M mythtv/libs/libmythtv/eitfixup.cpp
    M mythtv/libs/libmythtv/mythplayer.h
    M mythtv/libs/libmythtv/mythvideoprofile.cpp
    M mythtv/programs/mythbackend/backendhousekeeper.cpp
    M mythtv/programs/mythbackend/mainserver.cpp
    M mythtv/programs/mythbackend/recordingextender.cpp
    M mythtv/programs/mythbackend/services/dvr.cpp
    M mythtv/programs/mythbackend/services/serviceUtil.cpp
    M mythtv/programs/mythbackend/servicesv2/v2dvr.cpp
    M mythtv/programs/mythbackend/servicesv2/v2guide.h
    M mythtv/programs/mythbackend/servicesv2/v2serviceUtil.cpp
    M mythtv/programs/mythcommflag/ClassicCommDetector.h
    M mythtv/programs/mythfilldatabase/xmltvparser.cpp
    M mythtv/programs/mythtranscode/transcode.cpp

  Log Message:
  -----------
  clazy: Don't include the entire QtCore module in recordingstatus.h.

Including the <QtCore> module header file causes the compiler to
include at least 140 other header files, likely more.  Remove this
include and replace it with an include of the header that is actually
needed by the code.


  Commit: fe675d234d73b479aba21e8992f4798a68677294
      https://github.com/MythTV/mythtv/commit/fe675d234d73b479aba21e8992f4798a68677294
  Author: David Hampton <mythtv at love2code.net>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

  Changed paths:
    M mythtv/libs/libmythtv/programdata.cpp

  Log Message:
  -----------
  clazy: Don't include the entire QtCore module in programdata.cpp.

Including the <QtCore> module header file causes the compiler to
include at least 140 other header files, likely more.  Remove this
include and replace it with an include of the header that is actually
needed by the code.


  Commit: 2dd8eac4413fa12398dba3994673fbe1e002f8ce
      https://github.com/MythTV/mythtv/commit/2dd8eac4413fa12398dba3994673fbe1e002f8ce
  Author: David Hampton <mythtv at love2code.net>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

  Changed paths:
    M mythtv/libs/libmythupnp/websocket.cpp

  Log Message:
  -----------
  clazy: Don't include the entire QtCore module in websocket.cpp.

Including the <QtCore> module header file causes the compiler to
include at least 140 other header files, likely more.  Remove this
include and replace it with an include of the header that is actually
needed by the code.

The only reason for this include is to get the qPow function, which is
nothing more than a wrapper around std::pow.  Replace all three calls
to qPow with std::pow and include cmath instead of QtCore.


  Commit: c8fc53c2b7ce62338962a535b6cd7b068d1183ff
      https://github.com/MythTV/mythtv/commit/c8fc53c2b7ce62338962a535b6cd7b068d1183ff
  Author: David Hampton <mythtv at love2code.net>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

  Changed paths:
    M mythtv/programs/mythccextractor/mythccextractor.cpp

  Log Message:
  -----------
  clazy: Remove unnecessary include of QtCore from mythccextractor.cpp.

Including the <QtCore> module header file causes the compiler to
include at least 140 other header files, likely more.  Remove this
include and replace it with an include of the header that is actually
needed by the code.


  Commit: e679ac7097c0ae5f846355b3b878e47503cb58eb
      https://github.com/MythTV/mythtv/commit/e679ac7097c0ae5f846355b3b878e47503cb58eb
  Author: David Hampton <mythtv at love2code.net>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

  Changed paths:
    M mythtv/programs/mythexternrecorder/MythExternRecApp.cpp
    M mythtv/programs/mythexternrecorder/MythExternRecApp.h

  Log Message:
  -----------
  clazy: Don't include the entire QtCore module in MythExternRecApp.

Including the <QtCore> module header file causes the compiler to
include at least 140 other header files, likely more.  Remove this
include and replace it with an include of the header that is actually
needed by the code.


  Commit: 308f37b44ed0152347cc7336e89b2e39e543d4e2
      https://github.com/MythTV/mythtv/commit/308f37b44ed0152347cc7336e89b2e39e543d4e2
  Author: David Hampton <mythtv at love2code.net>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

  Changed paths:
    M mythtv/libs/libmythtv/mythplayer.cpp

  Log Message:
  -----------
  Remove unnecessary include of QtCore/qnumeric.h.


  Commit: 00e810d4459af89e7ebfc7ae9645918273992204
      https://github.com/MythTV/mythtv/commit/00e810d4459af89e7ebfc7ae9645918273992204
  Author: David Hampton <mythtv at love2code.net>
  Date:   2023-12-05 (Tue, 05 Dec 2023)

  Changed paths:
    M mythtv/libs/libmythmetadata/test/test_metadatagrabber/test_metadatagrabber.h

  Log Message:
  -----------
  clazy: Simplify include of QTest.


Compare: https://github.com/MythTV/mythtv/compare/d5b0b8a6bf38...00e810d4459a


More information about the mythtv-commits mailing list