[mythtv-commits] [MythTV/mythtv] c49f84: tidy: Convert some macros to constexpr. (musicmeta...

David Hampton noreply at github.com
Fri Jul 8 20:05:35 UTC 2022


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

  Changed paths:
    M mythplugins/mythmusic/mythmusic/streamview.cpp
    M mythtv/libs/libmythmetadata/musicmetadata.cpp
    M mythtv/libs/libmythmetadata/musicmetadata.h

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

Also change the type of a couple of variable to prevent "signed to
unsigned comparison" warnings.


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

  Changed paths:
    M mythtv/libs/libmyth/audio/audiooutputalsa.cpp
    M mythtv/libs/libmyth/audio/audiooutputbase.cpp
    M mythtv/libs/libmyth/audio/audiooutputdigitalencoder.cpp
    M mythtv/libs/libmyth/audio/audiooutputdigitalencoder.h
    M mythtv/libs/libmyth/audio/audiooutputjack.h
    M mythtv/libs/libmyth/audio/audiooutputnull.cpp
    M mythtv/libs/libmyth/audio/audiooutputnull.h
    M mythtv/libs/libmyth/audio/audiooutputpulse.cpp
    M mythtv/libs/libmyth/audio/eldutils.h
    M mythtv/libs/libmyth/mediamonitor-unix.cpp
    M mythtv/libs/libmyth/mediamonitor-unix.h
    M mythtv/libs/libmyth/mythmediamonitor.cpp
    M mythtv/libs/libmyth/programinfo.h

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

This converts the values from untyped to typed.


  Commit: 9e910eb06c88bbb9b7d6a62fe92accd74a9d86fa
      https://github.com/MythTV/mythtv/commit/9e910eb06c88bbb9b7d6a62fe92accd74a9d86fa
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-08 (Fri, 08 Jul 2022)

  Changed paths:
    M mythtv/libs/libmythmetadata/imagemanager.cpp
    M mythtv/libs/libmythmetadata/imagemanager.h
    M mythtv/libs/libmythmetadata/imagemetadata.h
    M mythtv/libs/libmythmetadata/imagetypes.h
    M mythtv/libs/libmythmetadata/metaio.h

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

This converts the values from untyped to typed.


  Commit: 6439619d0d0e7d892aff2584d8487641d8d27d43
      https://github.com/MythTV/mythtv/commit/6439619d0d0e7d892aff2584d8487641d8d27d43
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-08 (Fri, 08 Jul 2022)

  Changed paths:
    M mythtv/libs/libmythtv/AirPlay/mythairplayserver.cpp
    M mythtv/libs/libmythtv/AirPlay/mythairplayserver.h
    M mythtv/libs/libmythtv/AirPlay/mythraopconnection.cpp
    M mythtv/libs/libmythtv/AirPlay/mythraopdevice.h
    M mythtv/libs/libmythtv/Bluray/mythbdbuffer.h
    M mythtv/libs/libmythtv/DVD/mythdvdbuffer.cpp
    M mythtv/libs/libmythtv/DVD/mythdvdbuffer.h
    M mythtv/libs/libmythtv/DVD/mythdvddecoder.h
    M mythtv/libs/libmythtv/DVD/mythdvdinfo.h
    M mythtv/libs/libmythtv/HLS/httplivestreambuffer.cpp
    M mythtv/libs/libmythtv/captions/cc608decoder.cpp
    M mythtv/libs/libmythtv/captions/cc608reader.h
    M mythtv/libs/libmythtv/captions/teletextreader.cpp
    M mythtv/libs/libmythtv/captions/teletextreader.h
    M mythtv/libs/libmythtv/captions/xine_demux_sputext.cpp
    M mythtv/libs/libmythtv/channelscan/channelscan_sm.cpp
    M mythtv/libs/libmythtv/channelscan/scanmonitor.cpp
    M mythtv/libs/libmythtv/decoders/avformatdecoder.cpp
    M mythtv/libs/libmythtv/io/mythmediabuffer.h

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

This converts the values from untyped to typed.


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

  Changed paths:
    M mythtv/libs/libmythtv/mheg/dsmccbiop.h
    M mythtv/libs/libmythtv/mheg/mhi.cpp
    M mythtv/libs/libmythtv/mheg/mhi.h
    M mythtv/libs/libmythtv/mpeg/dvbstreamdata.cpp
    M mythtv/libs/libmythtv/mpeg/freesat_huffman.cpp
    M mythtv/libs/libmythtv/mpeg/mpegtables.h
    M mythtv/libs/libmythtv/mpeg/pespacket.cpp
    M mythtv/libs/libmythtv/mpeg/tablestatus.cpp
    M mythtv/libs/libmythtv/mpeg/tspacket.h
    M mythtv/libs/libmythtv/opengl/mythopenglvideo.cpp
    M mythtv/libs/libmythtv/recorders/NuppelVideoRecorder.cpp
    M mythtv/libs/libmythtv/recorders/NuppelVideoRecorder.h
    M mythtv/libs/libmythtv/recorders/RTjpegN.h
    M mythtv/libs/libmythtv/recorders/iptvstreamhandler.cpp
    M mythtv/libs/libmythtv/recorders/iptvstreamhandler.h
    M mythtv/libs/libmythtv/recorders/satiprtcppacket.h
    M mythtv/libs/libmythtv/recorders/vbitext/vbi.cpp
    M mythtv/libs/libmythtv/recorders/vbitext/vbi.h
    M mythtv/libs/libmythtv/recorders/vboxutils.cpp
    M mythtv/libs/libmythtv/recorders/vboxutils.h

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

This converts the values from untyped to typed.


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

  Changed paths:
    M mythtv/libs/libmythtv/DetectLetterbox.cpp
    M mythtv/libs/libmythtv/eitcache.cpp
    M mythtv/libs/libmythtv/fourcc.h
    M mythtv/libs/libmythtv/frequencies.h
    M mythtv/libs/libmythtv/jitterometer.cpp
    M mythtv/libs/libmythtv/mythcaptionsoverlay.h
    M mythtv/libs/libmythtv/mythframe.h
    M mythtv/libs/libmythtv/mythinteropgpu.h
    M mythtv/libs/libmythtv/mythplayer.h
    M mythtv/libs/libmythtv/mythplayereditorui.cpp
    M mythtv/libs/libmythtv/mythvideoprofile.h
    M mythtv/libs/libmythtv/osd.h
    M mythtv/libs/libmythtv/videobuffers.cpp

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

This converts the values from untyped to typed.


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

  Changed paths:
    M mythtv/libs/libmythtv/visualisations/goom/filters.cpp
    M mythtv/libs/libmythtv/visualisations/goom/goom_core.cpp
    M mythtv/libs/libmythtv/visualisations/goom/goom_tools.h
    M mythtv/libs/libmythtv/visualisations/goom/ifs.cpp
    M mythtv/libs/libmythtv/visualisations/goom/ifs_display.cpp
    M mythtv/libs/libmythtv/visualisations/goom/tentacle3d.cpp
    M mythtv/libs/libmythtv/visualisations/goom/zoom_filter_mmx.cpp

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

This converts the values from untyped to typed.


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

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

  Log Message:
  -----------
  Remove unused code in goom visualizer.


  Commit: 3535fd41c2c16d25ba8e9744921597cbefd310d3
      https://github.com/MythTV/mythtv/commit/3535fd41c2c16d25ba8e9744921597cbefd310d3
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-08 (Fri, 08 Jul 2022)

  Changed paths:
    M mythtv/libs/libmythui/devices/mythcecadapter.cpp
    M mythtv/libs/libmythui/mythedid.cpp
    M mythtv/libs/libmythui/mythfontmanager.cpp
    M mythtv/libs/libmythui/mythmainwindow.cpp
    M mythtv/libs/libmythui/mythnotificationcenter.cpp
    M mythtv/libs/libmythui/mythuiactions.h
    M mythtv/libs/libmythui/mythuiguidegrid.h
    M mythtv/libs/libmythui/mythuitext.h
    M mythtv/libs/libmythui/mythuithemehelper.h
    M mythtv/libs/libmythui/opengl/mythpainteropengl.h
    M mythtv/libs/libmythui/opengl/mythrenderopengl.cpp
    M mythtv/libs/libmythui/opengl/mythrenderopengl.h
    M mythtv/libs/libmythui/platforms/mythdrmdevice.h
    M mythtv/libs/libmythui/platforms/mythnvcontrol.cpp
    M mythtv/libs/libmythui/platforms/mythscreensaverdbus.cpp

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

This converts the values from untyped to typed.


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

  Changed paths:
    M mythtv/libs/libmythupnp/httprequest.cpp
    M mythtv/libs/libmythupnp/httprequest.h
    M mythtv/libs/libmythupnp/serializers/xmlSerializer.cpp
    M mythtv/libs/libmythupnp/serializers/xmlplistSerializer.cpp
    M mythtv/libs/libmythupnp/ssdp.h
    M mythtv/libs/libmythupnp/upnpcds.cpp
    M mythtv/libs/libmythupnp/upnpsubscription.cpp

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

This converts the values from untyped to typed.

Also convert one escaped string literal to a raw string
literal. Conversion by clang-tidy.


  Commit: 235d59a0b52c603685309c036ce69f73b381b816
      https://github.com/MythTV/mythtv/commit/235d59a0b52c603685309c036ce69f73b381b816
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-08 (Fri, 08 Jul 2022)

  Changed paths:
    M mythtv/programs/mythfrontend/galleryslide.cpp
    M mythtv/programs/mythfrontend/guidegrid.cpp
    M mythtv/programs/mythfrontend/mythfexml.cpp
    M mythtv/programs/mythfrontend/networkcontrol.cpp
    M mythtv/programs/mythfrontend/progdetails.cpp
    M mythtv/programs/mythfrontend/upnpscanner.cpp

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

This converts the values from untyped to typed.


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

  Changed paths:
    M mythtv/programs/mythtranscode/audioreencodebuffer.h
    M mythtv/programs/mythtranscode/external/replex/ts.cpp
    M mythtv/programs/mythtranscode/external/replex/ts.h
    M mythtv/programs/mythtranscode/mpeg2fix.cpp
    M mythtv/programs/mythtranscode/transcodedefs.h

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

This converts the values from untyped to typed.


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

  Changed paths:
    M mythtv/programs/mythbackend/mainserver.cpp
    M mythtv/programs/mythbackend/mythbackend.cpp
    M mythtv/programs/mythcommflag/CommDetectorBase.h
    M mythtv/programs/mythfilerecorder/mythfilerecorder.cpp
    M mythtv/programs/mythfilldatabase/filldata.h
    M mythtv/programs/mythlcdserver/lcdprocclient.cpp
    M mythtv/programs/mythlcdserver/lcdprocclient.h
    M mythtv/programs/mythpreviewgen/mythpreviewgen.cpp
    M mythtv/programs/mythscreenwizard/screenwizard.cpp
    M mythtv/programs/mythtv-setup/exitprompt.h

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

This converts the values from untyped to typed.


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

  Changed paths:
    M mythplugins/mytharchive/mytharchive/thumbfinder.cpp
    M mythplugins/mythmusic/mythmusic/bumpscope.h
    M mythplugins/mythmusic/mythmusic/cddecoder.cpp
    M mythplugins/mythmusic/mythmusic/playlistcontainer.h
    M mythplugins/mythmusic/mythmusic/pls.cpp
    M mythplugins/mythmusic/mythmusic/visualize.cpp
    M mythplugins/mythmusic/mythmusic/visualize.h
    M mythplugins/mythweather/mythweather/weatherSetup.cpp
    M mythplugins/mythweather/mythweather/weatherUtils.h
    M mythplugins/mythzoneminder/mythzmserver/mythzmserver.cpp
    M mythplugins/mythzoneminder/mythzmserver/zmserver.cpp
    M mythplugins/mythzoneminder/mythzoneminder/zmclient.cpp

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

This converts the values from untyped to typed.

Also update naming to match the style for class constants.


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

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

  Log Message:
  -----------
  Update the number of GPS leap seconds.


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

  Changed paths:
    M mythtv/libs/libmythbase/mythdownloadmanager.cpp
    M mythtv/libs/libmythbase/mythsingledownload.cpp
    M mythtv/libs/libmythbase/mythversion.h
    M mythtv/version.sh

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

This converts the values from untyped to typed.


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

  Changed paths:
    M mythplugins/configure
    M mythtv/configure

  Log Message:
  -----------
  tidy: Exclude the contents of config.h from macro usage checks.


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

  Changed paths:
    M mythtv/libs/libmythbase/filesysteminfo.h
    M mythtv/libs/libmythbase/http/mythmimedatabase.cpp
    M mythtv/libs/libmythbase/logging.h
    M mythtv/libs/libmythbase/loggingserver.h
    M mythtv/libs/libmythbase/mythbinaryplist.cpp
    M mythtv/libs/libmythbase/mythcdrom.cpp
    M mythtv/libs/libmythbase/mythdownloadmanager.cpp
    M mythtv/libs/libmythbase/mythsystemunix.cpp
    M mythtv/libs/libmythbase/signalhandling.cpp
    M mythtv/libs/libmythbase/test/test_logging/test_logging.cpp
    M mythtv/libs/libmythbase/unzip2.cpp

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

This converts the values from untyped to typed.


  Commit: 27fc403c1953ff569030282c0022fb7995eac7d8
      https://github.com/MythTV/mythtv/commit/27fc403c1953ff569030282c0022fb7995eac7d8
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-08 (Fri, 08 Jul 2022)

  Changed paths:
    M mythtv/libs/libmythfreesurround/freesurround.h

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

This converts the values from untyped to typed.


  Commit: 8c492b19edf4f6eb1cff69db39eab47ae37af4e9
      https://github.com/MythTV/mythtv/commit/8c492b19edf4f6eb1cff69db39eab47ae37af4e9
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-08 (Fri, 08 Jul 2022)

  Changed paths:
    M mythtv/libs/libmythfreemheg/ParseText.cpp
    M mythtv/libs/libmythfreemheg/Text.cpp

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

This converts the value from untyped to typed.


  Commit: 8682ae99845b259c01a05f4f64daaac7dca489a6
      https://github.com/MythTV/mythtv/commit/8682ae99845b259c01a05f4f64daaac7dca489a6
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-08 (Fri, 08 Jul 2022)

  Changed paths:
    M mythtv/libs/libmythtv/AirPlay/mythairplayserver.cpp
    M mythtv/libs/libmythtv/AirPlay/mythairplayserver.h

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

This converts the values from untyped to typed.


  Commit: 916e1f57fcd6cfa06cde903cfd3d1e158243b3d1
      https://github.com/MythTV/mythtv/commit/916e1f57fcd6cfa06cde903cfd3d1e158243b3d1
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-08 (Fri, 08 Jul 2022)

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

  Log Message:
  -----------
  tidy: Explicitly write out the "leading ones" table.

This removes a handful of macros.


  Commit: 1e4708bc3d578613042bd4c5876167f80747c3af
      https://github.com/MythTV/mythtv/commit/1e4708bc3d578613042bd4c5876167f80747c3af
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-08 (Fri, 08 Jul 2022)

  Changed paths:
    M mythtv/libs/libmythmetadata/imagescanner.cpp
    M mythtv/libs/libmythmetadata/imagescanner.h

  Log Message:
  -----------
  tidy: Eliminate two macros in imagescanner.

These were originally created to support compiling with QRegExp in Qt4
and QRegularExpression in Qt5. Their removal is long overdue.


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

  Changed paths:
    M mythplugins/mythmusic/mythmusic/cddecoder.cpp
    M mythplugins/mythmusic/mythmusic/lameencoder.h
    M mythplugins/mythmusic/mythmusic/visualize.h
    M mythtv/libs/libmyth/audio/audiooutputdigitalencoder.cpp
    M mythtv/libs/libmythbase/http/mythhttpservice.h
    M mythtv/libs/libmythbase/loggingserver.cpp
    M mythtv/libs/libmythbase/mythcdrom-linux.cpp
    M mythtv/libs/libmythbase/mythdbcon.h
    M mythtv/libs/libmythbase/programtypeflags.h
    M mythtv/libs/libmythtv/recorders/DeviceReadBuffer.cpp
    M mythtv/libs/libmythtv/recorders/RTjpegN.cpp
    M mythtv/libs/libmythtv/recorders/dvbchannel.cpp
    M mythtv/libs/libmythtv/recorders/v4lchannel.h
    M mythtv/libs/libmythtv/test/test_eitfixups/test_eitfixups.cpp
    M mythtv/libs/libmythui/mythfontproperties.cpp

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

These are "define" statement that are later referenced by compiler
pre-processing directives. Tell the clang-tidy "macro usage" check to
ignore them.


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

  Changed paths:
    M mythtv/libs/libmythui/mythmainwindow.h

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


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

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

  Log Message:
  -----------
  tidy: Convert the multiple ELEM_SWAP macros into a template function.


  Commit: 951a94191379b74ded3611dc0361fdfe6f04887c
      https://github.com/MythTV/mythtv/commit/951a94191379b74ded3611dc0361fdfe6f04887c
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-08 (Fri, 08 Jul 2022)

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

  Log Message:
  -----------
  tidy: Convert the PRETTYIP macro into a static inline function.


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

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

  Log Message:
  -----------
  tidy: Convert the GRAB_BITS macro into a static inline function.


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

  Changed paths:
    M mythtv/libs/libmythtv/decoders/avformatdecoder.cpp
    M mythtv/libs/libmythtv/mythcodecid.cpp
    M mythtv/libs/libmythtv/mythcodecid.h

  Log Message:
  -----------
  tidy: Convert the mythcodecid.h macros into a static inline functions.

Remove one redundant function.


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

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

  Log Message:
  -----------
  tidy: Convert the PulseAudio IS_READY macro into a static inline function.


  Commit: 39844343b43b38c0a541a17c997a45f3ede6cbea
      https://github.com/MythTV/mythtv/commit/39844343b43b38c0a541a17c997a45f3ede6cbea
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-08 (Fri, 08 Jul 2022)

  Changed paths:
    M mythtv/libs/libmythtv/visualisations/goom/filters.cpp
    M mythtv/libs/libmythtv/visualisations/goom/goom_core.cpp
    M mythtv/libs/libmythtv/visualisations/goom/goom_tools.h
    M mythtv/libs/libmythtv/visualisations/goom/ifs.cpp
    M mythtv/libs/libmythtv/visualisations/goom/tentacle3d.cpp

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


  Commit: 1189bd10fd593136faab3bbc76e9e5f5e81d5121
      https://github.com/MythTV/mythtv/commit/1189bd10fd593136faab3bbc76e9e5f5e81d5121
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-08 (Fri, 08 Jul 2022)

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

  Log Message:
  -----------
  tidy: Convert the synathesia macros into std::xxx functions.

Also convert some variables from the generic 'int' to 'size_t' since
they are always used as indices into arrays.


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

  Changed paths:
    M mythtv/programs/mythfrontend/audiogeneralsettings.cpp

  Log Message:
  -----------
  tidy: Tweak the allocation of the audio test buffer.

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


  Commit: 01086cc42b59b8155724d32e37fbae27e161d9fb
      https://github.com/MythTV/mythtv/commit/01086cc42b59b8155724d32e37fbae27e161d9fb
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-08 (Fri, 08 Jul 2022)

  Changed paths:
    M mythtv/libs/libmythtv/dbcheck.cpp
    M mythtv/programs/mythbackend/mythbackend_main_helpers.cpp
    M mythtv/programs/mythfrontend/mythfrontend.cpp
    M mythtv/programs/mythmediaserver/mythmediaserver.cpp
    M mythtv/programs/mythwelcome/mythwelcome.cpp

  Log Message:
  -----------
  tidy: Convert the program xx_sd_notify macros into static inline functions.


  Commit: 53798ae1c7f2fad0139534c31c931e72a34593d7
      https://github.com/MythTV/mythtv/commit/53798ae1c7f2fad0139534c31c931e72a34593d7
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-08 (Fri, 08 Jul 2022)

  Changed paths:
    M mythtv/libs/libmyth/mythmediamonitor.h

  Log Message:
  -----------
  tidy: Convert the REG_MEDIA_HANDLER macro into a static inline function.


  Commit: 04cff7499d70685ffac74cf39abfae05e1038fc9
      https://github.com/MythTV/mythtv/commit/04cff7499d70685ffac74cf39abfae05e1038fc9
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-08 (Fri, 08 Jul 2022)

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

  Log Message:
  -----------
  tidy: Convert the mythsystemunix CLOSE macro into a static inline.


  Commit: 89855f219e343bb564b87beeccef91e24ab9d21e
      https://github.com/MythTV/mythtv/commit/89855f219e343bb564b87beeccef91e24ab9d21e
  Author: David Hampton <mythtv at love2code.net>
  Date:   2022-07-08 (Fri, 08 Jul 2022)

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

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


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

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

  Log Message:
  -----------
  tidy: remove trivial macro in v4l2util.cpp.


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

  Changed paths:
    M mythtv/libs/libmythui/mythdisplaymode.cpp

  Log Message:
  -----------
  tidy: Convert the mythdisplaymode extract_key macro into a static inline.

Also convert three loops to range-for loops. These changes made by
clang-tidy.


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

  Changed paths:
    M mythtv/libs/libmyth/audio/audiooutputoss.cpp
    M mythtv/programs/mythfrontend/audiogeneralsettings.cpp

  Log Message:
  -----------
  Eliminate excessive warnings when testing audio settings.

1) If opening an OSS audio device fails for any reason other than
EAGAIN or EINTR, stop retrying.

2) Don't push test audio at the device if failed to open properly.


Compare: https://github.com/MythTV/mythtv/compare/e941790ffd7a...6c6cb3448c0c


More information about the mythtv-commits mailing list