[mythtv-commits] [MythTV/mythtv] 1bba48: libmythtv/recorders/External…: ensure headers are ...

Scott Theisen noreply at github.com
Sun Apr 10 14:21:51 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: 1bba489c25bc5f93c6fb9f5cb768381f57e07bb3
      https://github.com/MythTV/mythtv/commit/1bba489c25bc5f93c6fb9f5cb768381f57e07bb3
  Author: Scott Theisen <scott.the.elm at gmail.com>
  Date:   2022-04-10 (Sun, 10 Apr 2022)

  Changed paths:
    M mythtv/libs/libmythtv/recorders/ExternalChannel.h
    M mythtv/libs/libmythtv/recorders/ExternalRecorder.h
    M mythtv/libs/libmythtv/recorders/ExternalSignalMonitor.h
    M mythtv/libs/libmythtv/recorders/ExternalStreamHandler.h

  Log Message:
  -----------
  libmythtv/recorders/External…: ensure headers are standalone

also reduce transitive includes


  Commit: 2fa45650d36c3083d9fbdaa3eb6f26897a44a5a4
      https://github.com/MythTV/mythtv/commit/2fa45650d36c3083d9fbdaa3eb6f26897a44a5a4
  Author: Scott Theisen <scott.the.elm at gmail.com>
  Date:   2022-04-10 (Sun, 10 Apr 2022)

  Changed paths:
    M mythtv/libs/libmythbase/libmythbase.pro
    M mythtv/libs/libmythbase/mythmiscutil.cpp
    M mythtv/libs/libmythbase/mythmiscutil.h
    A mythtv/libs/libmythbase/stringutil.cpp
    A mythtv/libs/libmythbase/stringutil.h
    M mythtv/libs/libmythtv/mpeg/atsctables.cpp
    M mythtv/libs/libmythtv/mpeg/atsctables.h
    M mythtv/libs/libmythtv/mpeg/mpegdescriptors.cpp
    M mythtv/libs/libmythtv/mpeg/mpegtables.cpp
    M mythtv/libs/libmythtv/mpeg/mpegtables.h
    M mythtv/libs/libmythtv/mpeg/sctetables.cpp
    M mythtv/libs/libmythtv/mpeg/splicedescriptors.cpp
    M mythtv/libs/libmythtv/recordingquality.cpp

  Log Message:
  -----------
  create stringutil

Initial functions

xml_indent_spaces was far more complicated than necessary, now StringUtil::indentSpaces


  Commit: 8f4d40949bb4c59bf66e161e1ba0b74dcc61ea08
      https://github.com/MythTV/mythtv/commit/8f4d40949bb4c59bf66e161e1ba0b74dcc61ea08
  Author: Scott Theisen <scott.the.elm at gmail.com>
  Date:   2022-04-10 (Sun, 10 Apr 2022)

  Changed paths:
    R mythtv/libs/libmythbase/codecutil.cpp
    R mythtv/libs/libmythbase/codecutil.h
    M mythtv/libs/libmythbase/libmythbase.pro
    M mythtv/libs/libmythbase/mythmiscutil.cpp
    M mythtv/libs/libmythbase/mythmiscutil.h
    M mythtv/libs/libmythbase/stringutil.cpp
    M mythtv/libs/libmythbase/stringutil.h
    M mythtv/libs/libmythupnp/websocket.cpp

  Log Message:
  -----------
  move codecutil into stringutil (needs distclean)


  Commit: b7759e740d7806fcf11d9d05000ad6f8673bb774
      https://github.com/MythTV/mythtv/commit/b7759e740d7806fcf11d9d05000ad6f8673bb774
  Author: Scott Theisen <scott.the.elm at gmail.com>
  Date:   2022-04-10 (Sun, 10 Apr 2022)

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

  Log Message:
  -----------
  rewrite StringUtil::isValidUTF8()

The Byte-Order Mark is irrelevant for UTF-8, so I don't know why that comment was added.


  Commit: b7a6433dafd82d431015f29f462d011dc7244f93
      https://github.com/MythTV/mythtv/commit/b7a6433dafd82d431015f29f462d011dc7244f93
  Author: Scott Theisen <scott.the.elm at gmail.com>
  Date:   2022-04-10 (Sun, 10 Apr 2022)

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

  Log Message:
  -----------
  remove unused StringUtil::hasUtf8()

If needed StringUtil::isValidUTF8() could replace it.


  Commit: 4fd6b0499693310620beae2a38ec55491aff38cb
      https://github.com/MythTV/mythtv/commit/4fd6b0499693310620beae2a38ec55491aff38cb
  Author: Scott Theisen <scott.the.elm at gmail.com>
  Date:   2022-04-10 (Sun, 10 Apr 2022)

  Changed paths:
    M mythplugins/mythbrowser/mythbrowser/bookmarkmanager.h
    M mythplugins/mythnews/mythnews/newssite.h
    M mythtv/libs/libmythbase/mythmiscutil.cpp
    M mythtv/libs/libmythbase/mythmiscutil.h
    M mythtv/libs/libmythbase/stringutil.cpp
    M mythtv/libs/libmythbase/stringutil.h
    M mythtv/libs/libmythmetadata/dbaccess.cpp
    M mythtv/libs/libmythmetadata/videometadata.cpp
    M mythtv/libs/libmythtv/channelutil.cpp
    M mythtv/programs/mythfrontend/editvideometadata.cpp
    M mythtv/programs/mythfrontend/prevreclist.cpp
    M mythtv/programs/mythfrontend/proglist.cpp
    M mythtv/programs/mythfrontend/programrecpriority.cpp
    M mythtv/programs/mythfrontend/videofilter.cpp
    M mythtv/programs/mythfrontend/videolist.cpp

  Log Message:
  -----------
  move naturalCompare into StringUtil


  Commit: 9d99211dfa1dd17421a5f412530e12313143be1e
      https://github.com/MythTV/mythtv/commit/9d99211dfa1dd17421a5f412530e12313143be1e
  Author: Scott Theisen <scott.the.elm at gmail.com>
  Date:   2022-04-10 (Sun, 10 Apr 2022)

  Changed paths:
    M mythplugins/mytharchive/mytharchive/recordingselector.cpp
    M mythtv/libs/libmyth/programinfo.cpp
    M mythtv/libs/libmyth/programinfo.h
    M mythtv/libs/libmyth/rssparse.cpp
    M mythtv/libs/libmythbase/stringutil.h
    M mythtv/libs/libmythmetadata/videometadata.cpp
    M mythtv/libs/libmythtv/Bluray/mythbdbuffer.cpp
    M mythtv/libs/libmythtv/decoders/avformatdecoder.cpp
    M mythtv/programs/mythfrontend/playbackbox.cpp

  Log Message:
  -----------
  replace programinfo.h format_season_and_episode() with StringUtil::intToPaddedString()

Note: The format ##x## or 00x00 seems to have always been #x##, see 5c37307029dab81d936c743977a86dbd47e7ff16

format_season_and_episode was far more complicated than necessary.

NB: intToPaddedString defaults to width of 2, width of 1 should be equivalent to QString::number


  Commit: 4c4f3852f8fdea6f085a63829e95c01f094182d3
      https://github.com/MythTV/mythtv/commit/4c4f3852f8fdea6f085a63829e95c01f094182d3
  Author: Scott Theisen <scott.the.elm at gmail.com>
  Date:   2022-04-10 (Sun, 10 Apr 2022)

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

  Log Message:
  -----------
  MythDate:formatTime(): use StringUtil::intToPaddedString()


Compare: https://github.com/MythTV/mythtv/compare/81aeb49c456f...4c4f3852f8fd


More information about the mythtv-commits mailing list