[mythtv-commits] [MythTV/mythtv] 34b969: tidy: Convert macros to constexpr or enum. (format.h)

David Hampton noreply at github.com
Tue Jul 12 03:11:57 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: 34b96952bf4af63cf7b65fd993c2263161dd0941
      https://github.com/MythTV/mythtv/commit/34b96952bf4af63cf7b65fd993c2263161dd0941
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

  Changed paths:
    M mythtv/libs/libmythtv/captions/cc608decoder.cpp
    M mythtv/libs/libmythtv/format.h

  Log Message:
  -----------
  tidy: Convert macros to constexpr or enum. (format.h)


  Commit: 10ee6ec00bad180fbf475e5996fb2541258f2647
      https://github.com/MythTV/mythtv/commit/10ee6ec00bad180fbf475e5996fb2541258f2647
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

  Changed paths:
    M mythtv/libs/libmythbase/compat.h
    M mythtv/libs/libmythbase/remotefile.cpp
    M mythtv/libs/libmythtv/io/mythfilebuffer.cpp
    M mythtv/libs/libmythtv/jobqueue.cpp

  Log Message:
  -----------
  tidy: Convert redefined open/posix_fadvise flag macros to constexpr.

Remove the flags that aren't used.


  Commit: c24cd02ec1476baa19a856a2a11869ab2779e0f8
      https://github.com/MythTV/mythtv/commit/c24cd02ec1476baa19a856a2a11869ab2779e0f8
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

  Changed paths:
    M mythtv/libs/libmythtv/opengl/mythegldefs.h

  Log Message:
  -----------
  tidy: Convert macros to constexpr or enum. (mythegldefs.h)


  Commit: c4733a1a19e7e55b5eeaf1c16067bb3a81b34fdd
      https://github.com/MythTV/mythtv/commit/c4733a1a19e7e55b5eeaf1c16067bb3a81b34fdd
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

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

  Log Message:
  -----------
  tidy: Convert macros to constexpr. (frequencytables)


  Commit: 813d552e1343b3050cbc1de753d9e519f9e13627
      https://github.com/MythTV/mythtv/commit/813d552e1343b3050cbc1de753d9e519f9e13627
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

  Changed paths:
    M mythtv/libs/libmythfreemheg/ASN1Codes.h

  Log Message:
  -----------
  tidy: Convert macros into three enums. (libmythfreemheg)


  Commit: 318338f8a53fc7d682f86f53ed9d997e1f256c7c
      https://github.com/MythTV/mythtv/commit/318338f8a53fc7d682f86f53ed9d997e1f256c7c
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

  Changed paths:
    M mythtv/libs/libmythui/devices/lirc_client.cpp

  Log Message:
  -----------
  tidy: Convert macros to static constexprs. (lirc_client)


  Commit: 1981d6f59604378921ff8a89693f1a30d2247396
      https://github.com/MythTV/mythtv/commit/1981d6f59604378921ff8a89693f1a30d2247396
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

  Changed paths:
    M mythtv/libs/libmythtv/recorders/dvbdev/dvbci.cpp

  Log Message:
  -----------
  tidy: Convert macros to static constexprs and enums. (dvbci)

Also, push the MALLOC macro into the only place its called.


  Commit: fe41095cbc0330726dc0fda7bcccd1103888b5aa
      https://github.com/MythTV/mythtv/commit/fe41095cbc0330726dc0fda7bcccd1103888b5aa
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

  Changed paths:
    M mythtv/libs/libmythtv/mheg/dsmcc.cpp
    M mythtv/libs/libmythtv/mheg/dsmcc.h

  Log Message:
  -----------
  tidy: Convert macros to static constexprs and enums. (mheg)


  Commit: bf073147374f04940ffaeb0c4e138dafdbf42fdd
      https://github.com/MythTV/mythtv/commit/bf073147374f04940ffaeb0c4e138dafdbf42fdd
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

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

  Log Message:
  -----------
  tidy: Convert macros to static constexprs and enums. (diseqc)


  Commit: a1f1fb4e68fe1ea4d4b696b8f528b6b8f1aeb4ff
      https://github.com/MythTV/mythtv/commit/a1f1fb4e68fe1ea4d4b696b8f528b6b8f1aeb4ff
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

  Changed paths:
    M mythplugins/mythzoneminder/mythzmserver/mythzmserver.cpp
    M mythtv/libs/libmythbase/exitcodes.h
    M mythtv/libs/libmythbase/test/test_logging/test_logging.cpp

  Log Message:
  -----------
  tidy: Convert exit code macros to enums.

This requires tweaking the test code to explicitly convert the enum
values to "int" since the Qt metatype code doesn't recognize the enum.
This could be solved by using an "enum class" instead of a plain enum,
but that would cause churn as every reference would need to be
updated (à la RecStatus::Type).  A project for another day.


  Commit: c6b650a409dda68a6f2cf0362591c2f881cd09c8
      https://github.com/MythTV/mythtv/commit/c6b650a409dda68a6f2cf0362591c2f881cd09c8
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

  Changed paths:
    M mythtv/libs/libmythtv/mheg/netstream.cpp
    M mythtv/libs/libmythtv/mpeg/HEVCParser.cpp

  Log Message:
  -----------
  tidy: Convert a couple of LOC defines to static const.


  Commit: 391c90116904c48f334050f600f7b9a927b347f3
      https://github.com/MythTV/mythtv/commit/391c90116904c48f334050f600f7b9a927b347f3
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

  Changed paths:
    M mythplugins/mytharchive/mytharchive/thumbfinder.cpp

  Log Message:
  -----------
  Remove set but unused variable.


  Commit: 0f15176d34ba67ac0c144bcf34cc305574263527
      https://github.com/MythTV/mythtv/commit/0f15176d34ba67ac0c144bcf34cc305574263527
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

  Changed paths:
    M mythtv/libs/libmythtv/visualisations/goom/zoom_filter_mmx.cpp

  Log Message:
  -----------
  Fix no previous declaration warning on armv7l compile.


  Commit: 30b2f66170a40d5ced1fce66f3e8b9b6da733bc5
      https://github.com/MythTV/mythtv/commit/30b2f66170a40d5ced1fce66f3e8b9b6da733bc5
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

  Changed paths:
    M mythtv/libs/libmythbase/mythscheduler.h
    M mythtv/programs/mythbackend/scheduler.cpp

  Log Message:
  -----------
  tidy: Push SORT_RECLIST macro into places it is called.


  Commit: 3c2285bb449f1da34235986fcd09021acc8a95c6
      https://github.com/MythTV/mythtv/commit/3c2285bb449f1da34235986fcd09021acc8a95c6
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

  Changed paths:
    M mythtv/libs/libmythtv/mpeg/dvbdescriptors.h

  Log Message:
  -----------
  tidy: Convert the mpeg byteBCDx macros into static constexpr functions.


  Commit: 11a0ece7982f7dee7dce5e622ed3caae4e588f4f
      https://github.com/MythTV/mythtv/commit/11a0ece7982f7dee7dce5e622ed3caae4e588f4f
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

  Changed paths:
    M mythtv/libs/libmythtv/opengl/mythegldmabuf.cpp

  Log Message:
  -----------
  tidy: Convert the MKTAG2 macro into a static constexpr.


  Commit: 3e628dd26f4e607b6b9c1bc364c2b1d0ace7541e
      https://github.com/MythTV/mythtv/commit/3e628dd26f4e607b6b9c1bc364c2b1d0ace7541e
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

  Changed paths:
    M mythplugins/mythzoneminder/mythzmserver/zmserver.cpp

  Log Message:
  -----------
  tidy: Convert some zmserver macros into static inline functions.

Had to add a semicolon after every reference to these functions.


  Commit: fea4ab4b32429f5aa8b7f3eb79f224de432f3282
      https://github.com/MythTV/mythtv/commit/fea4ab4b32429f5aa8b7f3eb79f224de432f3282
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

  Changed paths:
    M mythtv/libs/libmythtv/recorders/RTjpegN.cpp

  Log Message:
  -----------
  tidy: Replace RTjpeg swap macros with QtEndian template functions.


  Commit: 16a3c0cb16e3a8683e3f1716960b1c6acc391a3c
      https://github.com/MythTV/mythtv/commit/16a3c0cb16e3a8683e3f1716960b1c6acc391a3c
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

  Changed paths:
    M mythtv/libs/libmythtv/recorders/dtvsignalmonitor.cpp
    M mythtv/libs/libmythtv/recorders/signalmonitor.cpp
    M mythtv/libs/libmythtv/recorders/signalmonitor.h

  Log Message:
  -----------
  Remove macro that all users redefine before usage.


  Commit: 71e1ab2ad7af123e7be5e96b94882465ab04590e
      https://github.com/MythTV/mythtv/commit/71e1ab2ad7af123e7be5e96b94882465ab04590e
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

  Changed paths:
    M mythtv/libs/libmythtv/tv_play.cpp
    M mythtv/libs/libmythtv/tv_play.h

  Log Message:
  -----------
  tidy: Convert the HideOSDWindow macro into a class function.

Had to add a semicolon after every reference to this function.


  Commit: 83e7e8edf3677a934e17310144daa6380d5bfec2
      https://github.com/MythTV/mythtv/commit/83e7e8edf3677a934e17310144daa6380d5bfec2
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

  Changed paths:
    M mythtv/libs/libmythtv/mpeg/pespacket.cpp

  Log Message:
  -----------
  tidy: Push INCR_CC macro into the only place it is called.


  Commit: 4b596757b6c7d13d82692d7760428b3b84901475
      https://github.com/MythTV/mythtv/commit/4b596757b6c7d13d82692d7760428b3b84901475
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

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

  Log Message:
  -----------
  tidy: Convert mythhdrvideometadata UINT16 macro into a static inline.


  Commit: 6a01c0ad3c8f6f34a01174408d999f727f526ff8
      https://github.com/MythTV/mythtv/commit/6a01c0ad3c8f6f34a01174408d999f727f526ff8
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

  Changed paths:
    M mythtv/libs/libmythmetadata/metaiowavpack.cpp
    M mythtv/libs/libmythmetadata/musicutils.h

  Log Message:
  -----------
  Remove taglib < 1.10 compatability macros (i.e. 2015).


  Commit: 2d642bd4ffc1ffb278e827871ad8ea49b5eabccf
      https://github.com/MythTV/mythtv/commit/2d642bd4ffc1ffb278e827871ad8ea49b5eabccf
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

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

  Log Message:
  -----------
  tidy: Convert SCALED_RECT macro into a static inline.


  Commit: 6f46a22efd98d559d5a9eb379c53964592395103
      https://github.com/MythTV/mythtv/commit/6f46a22efd98d559d5a9eb379c53964592395103
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

  Changed paths:
    M mythtv/libs/libmythbase/http/mythhttpservice.h
    M mythtv/libs/libmythservicecontracts/service.h
    M mythtv/programs/mythbackend/services/serviceUtil.h
    M mythtv/programs/mythbackend/servicesv2/v2serviceUtil.h

  Log Message:
  -----------
  tidy: Convert HAS_PARAM macros into a static inline functions.


  Commit: ce5cb96fab10bb7687184aeeeab7d72aec16ec6d
      https://github.com/MythTV/mythtv/commit/ce5cb96fab10bb7687184aeeeab7d72aec16ec6d
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

  Changed paths:
    M mythtv/programs/mythcommflag/HistogramAnalyzer.cpp

  Log Message:
  -----------
  tidy: Convert ROUNDUP macro into a static constexpr function.


  Commit: f40e7318905a904bd05777ee9f9768954044a028
      https://github.com/MythTV/mythtv/commit/f40e7318905a904bd05777ee9f9768954044a028
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

  Changed paths:
    M mythtv/libs/libmythtv/decoders/mythvdpauhelper.cpp
    M mythtv/libs/libmythui/platforms/mythxdisplay.cpp
    M mythtv/libs/libmythui/platforms/mythxdisplay.h

  Log Message:
  -----------
  tidy: Push XLOCK macro into the two places it is called.


  Commit: 80418f886489b9e4980e4dd690f03b0e351c82a7
      https://github.com/MythTV/mythtv/commit/80418f886489b9e4980e4dd690f03b0e351c82a7
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

  Changed paths:
    M mythtv/libs/libmythtv/recorders/NuppelVideoRecorder.cpp
    M mythtv/libs/libmythtv/recorders/NuppelVideoRecorder.h

  Log Message:
  -----------
  tidy: Use alignas() to align work buffer in NuppelVideoRecorder.

Also fix name to match the class variable naming requirements.


  Commit: ca29373cd701b46d4e78206f9cfcd04503ab1610
      https://github.com/MythTV/mythtv/commit/ca29373cd701b46d4e78206f9cfcd04503ab1610
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

  Changed paths:
    M mythtv/programs/mythcommflag/ClassicCommDetector.cpp
    M mythtv/programs/mythcommflag/ClassicCommDetector.h

  Log Message:
  -----------
  tidy: Convert FORMAT_MSG macro into a class template function.


  Commit: c777f26aaaf698955bb290d935a894d7c431f256
      https://github.com/MythTV/mythtv/commit/c777f26aaaf698955bb290d935a894d7c431f256
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

  Changed paths:
    M mythtv/libs/libmyth/audio/audiooutputbase.cpp

  Log Message:
  -----------
  tidy: Tweak the allocation of the OutputAudioLoop buffer.

Replace over-allocation and manipulation of the buffer starting address
with the C++17 placement new function.


  Commit: d559cc4937a687cec06780a840dfa10b3cb7fa41
      https://github.com/MythTV/mythtv/commit/d559cc4937a687cec06780a840dfa10b3cb7fa41
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

  Changed paths:
    M mythtv/libs/libmythtv/recorders/RTjpegN.cpp

  Log Message:
  -----------
  tidy: Convert some macros to constexpr. (RTjpegN)


  Commit: acd405d649c29f48507f5e0e41c0417037d7770e
      https://github.com/MythTV/mythtv/commit/acd405d649c29f48507f5e0e41c0417037d7770e
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

  Changed paths:
    M mythtv/programs/mythbackend/services/channel.cpp
    M mythtv/programs/mythbackend/services/serviceUtil.h
    M mythtv/programs/mythbackend/servicesv2/v2channel.cpp
    M mythtv/programs/mythbackend/servicesv2/v2serviceUtil.h

  Log Message:
  -----------
  tidy: Convert ADD_SQL macros into teplate functions.

Had to add a semicolon after every reference to these functions.


  Commit: a7991e7986a45edeb68d83400b9cb5bbeba1d69f
      https://github.com/MythTV/mythtv/commit/a7991e7986a45edeb68d83400b9cb5bbeba1d69f
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

  Changed paths:
    M mythtv/libs/libmythbase/mythmiscutil.cpp

  Log Message:
  -----------
  Use system defined SYS_ioprio_xxx syscall numbers.


  Commit: ec27545373e38f2ca9bc0a6029bfe4717ecf65dd
      https://github.com/MythTV/mythtv/commit/ec27545373e38f2ca9bc0a6029bfe4717ecf65dd
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

  Changed paths:
    M mythtv/libs/libmythtv/DVD/mythdvdbuffer.cpp

  Log Message:
  -----------
  tidy: Replace DVD GETBE16 macro with QtEndian function.


  Commit: c1ea14a3a241ab73224ed23aaacaab689a1f3476
      https://github.com/MythTV/mythtv/commit/c1ea14a3a241ab73224ed23aaacaab689a1f3476
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

  Changed paths:
    M mythplugins/mythmusic/mythmusic/avfdecoder.cpp
    M mythtv/libs/libmythbase/mythlogging.h
    M mythtv/libs/libmythtv/channelscan/channelscanner_cli.cpp
    M mythtv/libs/libmythtv/decoders/avformatdecoder.cpp

  Log Message:
  -----------
  tidy: Converty the VERBOSE_LEVEL macros to inline functions.


  Commit: 5a4a5e34c91073fe4752f963548851bb3d757675
      https://github.com/MythTV/mythtv/commit/5a4a5e34c91073fe4752f963548851bb3d757675
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

  Changed paths:
    M mythtv/libs/libmyth/audio/audiooutputalsa.cpp
    M mythtv/libs/libmyth/audio/audiooutputbase.h
    M mythtv/libs/libmythbase/mythlogging.h
    M mythtv/libs/libmythmetadata/imagemanager.cpp
    M mythtv/libs/libmythtv/decoders/avformatdecoder.cpp
    M mythtv/libs/libmythtv/decoders/mythvdpauhelper.cpp
    M mythtv/libs/libmythtv/opengl/mythnvdecinterop.cpp
    M mythtv/libs/libmythtv/recorders/dtvsignalmonitor.cpp
    M mythtv/libs/libmythtv/recorders/dvbdev/dvbci.cpp
    M mythtv/libs/libmythtv/recorders/dvbsignalmonitor.cpp
    M mythtv/libs/libmythtv/recorders/signalmonitor.cpp
    M mythtv/libs/libmythui/xmlparsebase.h

  Log Message:
  -----------
  tidy: All logging related macros should be ignored.

These macros can't be converted into static inline functions.  The
reason is that the __FUNCTION__, __FILE__, and __LINE__ values come
from the pre-processor, and would therefore always point to the place
where the static inline function is defined, not the place where the
static inline function is invoked.


  Commit: cc913be368c5d22ea94879cc14753ca5396d818b
      https://github.com/MythTV/mythtv/commit/cc913be368c5d22ea94879cc14753ca5396d818b
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

  Changed paths:
    M mythplugins/mythmusic/mythmusic/flacencoder.cpp
    M mythplugins/mythmusic/mythmusic/flacencoder.h

  Log Message:
  -----------
  Remove support for FLAC < 1.1.3 (i.e. 2006).


  Commit: bbfefd809323f23f0fe2635e5c6bff0038106ff4
      https://github.com/MythTV/mythtv/commit/bbfefd809323f23f0fe2635e5c6bff0038106ff4
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

  Changed paths:
    M mythtv/libs/libmythservicecontracts/service.h
    M mythtv/libs/libmythtv/decoders/mythvdpauhelper.cpp
    M mythtv/libs/libmythtv/dtvconfparser.cpp
    M mythtv/libs/libmythtv/inputinfo.cpp
    M mythtv/libs/libmythtv/mpeg/mpegstreamdata.cpp

  Log Message:
  -----------
  tidy: Ignore macros containing control flow statements.


  Commit: 07e1477bd14676e7c5bc955ad5a8b0512fdbee2b
      https://github.com/MythTV/mythtv/commit/07e1477bd14676e7c5bc955ad5a8b0512fdbee2b
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

  Changed paths:
    M mythtv/libs/libmyth/audio/audiooutputjack.cpp

  Log Message:
  -----------
  tidy: Push the trivial JERROR macro into its callers.


  Commit: 300e724d67dd6a74245253fa0009b456ea50a725
      https://github.com/MythTV/mythtv/commit/300e724d67dd6a74245253fa0009b456ea50a725
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

  Changed paths:
    M mythtv/libs/libmythbase/verbosedefs.h
    M mythtv/libs/libmythtv/jobqueue.cpp
    M mythtv/libs/libmythtv/jobqueue.h

  Log Message:
  -----------
  tidy: Ignore macros used to build data structures.


  Commit: 43e11131babb12d7521d74f0b920fc5de633bad5
      https://github.com/MythTV/mythtv/commit/43e11131babb12d7521d74f0b920fc5de633bad5
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

  Changed paths:
    M mythtv/programs/mythfilldatabase/xmltvparser.cpp

  Log Message:
  -----------
  tidy: Fix implicit bool->int conversion warning.


  Commit: 29e9039999886681703908686a3de2ac97a3677f
      https://github.com/MythTV/mythtv/commit/29e9039999886681703908686a3de2ac97a3677f
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

  Changed paths:
    M mythtv/libs/libmythbase/filesysteminfo.cpp

  Log Message:
  -----------
  tidy: Remove most defines in filesysteminfo.cpp.


  Commit: c9e6d9a78c8d448ee4ed6984eb0de42c1cf3c3f3
      https://github.com/MythTV/mythtv/commit/c9e6d9a78c8d448ee4ed6984eb0de42c1cf3c3f3
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

  Changed paths:
    M mythtv/libs/libmyth/programinfo.cpp

  Log Message:
  -----------
  tidy: Remove most defines in programinfo.cpp.


  Commit: 5456ac337280dd17aaa86092961eeb93c20b4b1a
      https://github.com/MythTV/mythtv/commit/5456ac337280dd17aaa86092961eeb93c20b4b1a
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

  Changed paths:
    M mythtv/libs/libmythmetadata/imagemanager.cpp

  Log Message:
  -----------
  tidy: Convert the DB_COLUMNS macro to a static constexpr.


  Commit: d8e8c9d894634b78ad7cc9eda6bcb16ce4152c50
      https://github.com/MythTV/mythtv/commit/d8e8c9d894634b78ad7cc9eda6bcb16ce4152c50
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

  Changed paths:
    M mythtv/libs/libmythbase/mythsocket.cpp
    M mythtv/libs/libmythbase/mythsocket.h

  Log Message:
  -----------
  tidy: Convert the MythSocket LOC macro to an inline member function.


  Commit: 7a37f37f3814f8d4766e8ddae90df97f41e8b8d7
      https://github.com/MythTV/mythtv/commit/7a37f37f3814f8d4766e8ddae90df97f41e8b8d7
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

  Changed paths:
    M mythtv/libs/libmythbase/recordingtypes.h
    M mythtv/programs/mythfrontend/scheduleeditor.cpp

  Log Message:
  -----------
  tidy: Remove the ENUM_TO_QVARIANT macro.

Create a set of toVariant() functions in recordingtypes.h to match the
set of toString() functions, toDescription() functions, etc.


  Commit: ef37e68464ee9bb0957fbb3385f4df81f104dbc0
      https://github.com/MythTV/mythtv/commit/ef37e68464ee9bb0957fbb3385f4df81f104dbc0
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

  Changed paths:
    M mythtv/libs/libmythtv/tv_play.cpp
    M mythtv/libs/libmythtv/tv_rec.cpp

  Log Message:
  -----------
  tidy: Ignore state change macros in TV play/record.


  Commit: 14e0779741133a863204e855a58266dfcd4b8f6e
      https://github.com/MythTV/mythtv/commit/14e0779741133a863204e855a58266dfcd4b8f6e
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

  Changed paths:
    M .clang-tidy
    M mythtv/libs/libmythmetadata/metadatacommon.cpp
    M mythtv/libs/libmythtv/captions/xine_demux_sputext.cpp
    M mythtv/libs/libmythtv/channelscan/channelscan_sm.cpp
    M mythtv/programs/mythfrontend/statusbox.cpp

  Log Message:
  -----------
  tidy: Tag some more macros to be ignored.


Compare: https://github.com/MythTV/mythtv/compare/a03fbcac8789...14e077974113


More information about the mythtv-commits mailing list