[mythtv-commits] [MythTV/mythtv] e77bc2: MythUIType: Add a VisibilityChanged signal

Mark Kendall noreply at github.com
Sun Oct 25 10:22:08 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: e77bc2b3ec34bea468aa683481b7aefb75927b93
      https://github.com/MythTV/mythtv/commit/e77bc2b3ec34bea468aa683481b7aefb75927b93
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-10-25 (Sun, 25 Oct 2020)

  Changed paths:
    M mythtv/libs/libmythui/mythuitype.cpp
    M mythtv/libs/libmythui/mythuitype.h

  Log Message:
  -----------
  MythUIType: Add a VisibilityChanged signal

- which saves connecting to both the Showing and Hiding signals


  Commit: 9fa0f1ee3cb60567ac3b8c3dd5539ebf29a49895
      https://github.com/MythTV/mythtv/commit/9fa0f1ee3cb60567ac3b8c3dd5539ebf29a49895
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-10-25 (Sun, 25 Oct 2020)

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

  Log Message:
  -----------
  Mythfrontend: Rework shutdown/reboot settings page

- add a new setting to enable/disable the additional confirmation shown
when shutting down, rebooting or suspending
- add an additional option of showing quit, reboot, suspend and shutdown
- use the settingsChanged signal to rebuild the page when the selected
options are changed - thus only showing the relevant additional settings
depending on the exit menu options selected
- move 'Idle time' setting down so that 'Customise exit menu options' is
always at the top of the screen - and hence retains focus when its value
is changed and the screen is updated.

NOTE: this is the settings part of the update only - associated
functional changes to follow...

Refs #269


  Commit: c6ea05b90346ed778dee5533a6757ef96e781bb0
      https://github.com/MythTV/mythtv/commit/c6ea05b90346ed778dee5533a6757ef96e781bb0
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-10-25 (Sun, 25 Oct 2020)

  Changed paths:
    M mythtv/programs/mythfrontend/exitprompt.cpp
    M mythtv/programs/mythfrontend/exitprompt.h
    M mythtv/programs/mythfrontend/main.cpp

  Log Message:
  -----------
  ExitPrompter: Update for new confirm power event setting (and refactor)

- respect the new additional 'Comfirm before suspending...' setting
(which defaults to enabled)
- the additional confirmation step will now be shown if the setting is
enabled OR mythbackend is running on the local machine
- testing highlighted an existing problem; ExitPrompter was created as a
global static singleton and hence was not receiving settings updates
- rather than try and hook the instance up to the settings pages, I
converted to creating ExitPrompter on demand. This necessitated some
refactoring to ensure it is always deleted when all interaction is
complete.

Refs #269


  Commit: ddd9effff691979b9523192a2e77dfd57728ea55
      https://github.com/MythTV/mythtv/commit/ddd9effff691979b9523192a2e77dfd57728ea55
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-10-25 (Sun, 25 Oct 2020)

  Changed paths:
    M mythtv/libs/libmythtv/mythplayeraudioui.cpp
    M mythtv/libs/libmythtv/mythplayeraudioui.h
    M mythtv/libs/libmythtv/mythplayeroverlayui.cpp
    M mythtv/libs/libmythtv/mythplayeroverlayui.h
    M mythtv/libs/libmythtv/mythplayerstate.cpp
    M mythtv/libs/libmythtv/mythplayerstate.h
    M mythtv/libs/libmythtv/mythplayerui.cpp
    M mythtv/libs/libmythtv/mythplayerui.h
    M mythtv/libs/libmythtv/mythplayervideoui.cpp
    M mythtv/libs/libmythtv/osd.cpp
    M mythtv/libs/libmythtv/tv_play.cpp
    M mythtv/libs/libmythtv/tv_play.h
    M mythtv/libs/libmythtv/tvbrowsehelper.cpp
    M mythtv/libs/libmythtv/tvbrowsehelper.h
    M mythtv/libs/libmythtv/tvplaybackstate.cpp
    M mythtv/libs/libmythtv/tvplaybackstate.h

  Log Message:
  -----------
  MythPlayerOverlayUI: Add some overlay state tracking

- this currently just tracks whether the browse and editor windows are
displaying. These are 'special case' OSD windows that override action
handling etc - and influence behaviour both in the MythPlayerOverlayUI
and TV classes.


  Commit: c9e6bc2c3175254f644ea693047a977e710e66c2
      https://github.com/MythTV/mythtv/commit/c9e6bc2c3175254f644ea693047a977e710e66c2
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-10-25 (Sun, 25 Oct 2020)

  Changed paths:
    M mythtv/libs/libmythtv/mythplayerui.cpp
    M mythtv/libs/libmythtv/mythplayerui.h
    M mythtv/libs/libmythtv/osd.cpp

  Log Message:
  -----------
  MythPlayerUI: Fix OSd debug screen visibility

- hook the updtime timer directly into the visibility of the osd_debug
window

Closes #271


  Commit: 7f3dbf5b9a62bff2488d679de9cd1dcc670bd238
      https://github.com/MythTV/mythtv/commit/7f3dbf5b9a62bff2488d679de9cd1dcc670bd238
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-10-25 (Sun, 25 Oct 2020)

  Changed paths:
    M mythtv/libs/libmythtv/Bluray/mythbdoverlayscreen.cpp
    M mythtv/libs/libmythtv/Bluray/mythbdoverlayscreen.h
    M mythtv/libs/libmythtv/captions/subtitlescreen.cpp
    M mythtv/libs/libmythtv/captions/subtitlescreen.h
    M mythtv/libs/libmythtv/captions/teletextscreen.cpp
    M mythtv/libs/libmythtv/captions/teletextscreen.h
    M mythtv/libs/libmythtv/mheg/interactivescreen.cpp
    M mythtv/libs/libmythtv/mheg/interactivescreen.h
    M mythtv/libs/libmythtv/osd.cpp
    M mythtv/libs/libmythtv/osd.h

  Log Message:
  -----------
  OSD: Pass MythPainter directly into various screens

- we should always have the same painter these days (it will only change
currently if we switch between Vulkan and OpenGL rendering)
- ideally MythUIType would also receive the painter directly - but that
is a huge change


  Commit: 1b7447d99fd4ebae52f02a5c3c727d22341dc9ae
      https://github.com/MythTV/mythtv/commit/1b7447d99fd4ebae52f02a5c3c727d22341dc9ae
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-10-25 (Sun, 25 Oct 2020)

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

  Log Message:
  -----------
  TV: Minor removal of unused variable


  Commit: 8a961b6c68b5461d4212c60832f58706d3a20be5
      https://github.com/MythTV/mythtv/commit/8a961b6c68b5461d4212c60832f58706d3a20be5
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-10-25 (Sun, 25 Oct 2020)

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

  Log Message:
  -----------
  MythTVMenuItemContext: Remove unnecessary member initialisation


  Commit: a6f7ef66015b82f41f5f2ac1b49fc7fac605a348
      https://github.com/MythTV/mythtv/commit/a6f7ef66015b82f41f5f2ac1b49fc7fac605a348
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-10-25 (Sun, 25 Oct 2020)

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

  Log Message:
  -----------
  OSD::ShowDialog: Use const references (clang-tidy)


  Commit: 62dd8601ce32d74623a25038d439da82961ccd6f
      https://github.com/MythTV/mythtv/commit/62dd8601ce32d74623a25038d439da82961ccd6f
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-10-25 (Sun, 25 Oct 2020)

  Changed paths:
    M mythtv/libs/libmythtv/tvplaybackstate.h

  Log Message:
  -----------
  TVPlaybackState: Use reference


  Commit: cb5921ff301c42fe9ce4a10dfb26f7c3b589627e
      https://github.com/MythTV/mythtv/commit/cb5921ff301c42fe9ce4a10dfb26f7c3b589627e
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-10-25 (Sun, 25 Oct 2020)

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

  Log Message:
  -----------
  TV: Fix DEBUG_ACTIONS ifdeffed code


Compare: https://github.com/MythTV/mythtv/compare/7f308845eb1c...cb5921ff301c


More information about the mythtv-commits mailing list