[mythtv-commits] [MythTV/mythtv] 2f60c8: Starting with Qt5.10, replace calls to rand/srand ...

Dag noreply at github.com
Mon Apr 8 16:15:36 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: 2f60c8b16125cdea4628889654a1501815101239
      https://github.com/MythTV/mythtv/commit/2f60c8b16125cdea4628889654a1501815101239
  Author: David Hampton <mythtv at love2code.net>
  Date:   2019-04-08 (Mon, 08 Apr 2019)

  Changed paths:
    M mythtv/libs/libmythbase/compat.h
    M mythtv/libs/libmythbase/mthread.cpp
    M mythtv/libs/libmythbase/mythcorecontext.cpp
    M mythtv/libs/libmythtv/AirPlay/mythairplayserver.cpp
    M mythtv/programs/mythfrontend/galleryslideview.cpp
    M mythtv/programs/mythfrontend/gallerytransitions.cpp
    M mythtv/programs/mythfrontend/galleryviews.cpp

  Log Message:
  -----------
  Starting with Qt5.10, replace calls to rand/srand with QRandomGenerator.

The rand/srand calls are considered obsolete.  Qt5.10 introduced
QRandomGenerator as a replacement, so take advantage of that.  Qt
provides a global random generator that was securely seeded from the
system random entropy pool.  This seeding function is expensive, so
calls to reseed the random number generator at thread creation or when
gallery views are created have been removed.


  Commit: 8286930cf994873468407d43ad36205c42a8bf10
      https://github.com/MythTV/mythtv/commit/8286930cf994873468407d43ad36205c42a8bf10
  Author: David Hampton <mythtv at love2code.net>
  Date:   2019-04-08 (Mon, 08 Apr 2019)

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

  Log Message:
  -----------
  cppcheck: Use prefix operators for non-primitive types.


  Commit: 75883e2bd8dee066812add59f4bfca372ec9b9eb
      https://github.com/MythTV/mythtv/commit/75883e2bd8dee066812add59f4bfca372ec9b9eb
  Author: David Hampton <mythtv at love2code.net>
  Date:   2019-04-08 (Mon, 08 Apr 2019)

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

  Log Message:
  -----------
  cppcheck: Prevent arithmetic on a nullptr.


  Commit: 34e38267ea65f205a77ab38f5378e3cb92f825c6
      https://github.com/MythTV/mythtv/commit/34e38267ea65f205a77ab38f5378e3cb92f825c6
  Author: David Hampton <mythtv at love2code.net>
  Date:   2019-04-08 (Mon, 08 Apr 2019)

  Changed paths:
    M mythtv/libs/libmythui/lirc_client.c

  Log Message:
  -----------
  cppcheck: Silence false positive 'arithmetic on a nullptr' check.


  Commit: d9683597ee67c0b9c5e0a6621ddddcdedec76c4b
      https://github.com/MythTV/mythtv/commit/d9683597ee67c0b9c5e0a6621ddddcdedec76c4b
  Author: David Hampton <mythtv at love2code.net>
  Date:   2019-04-08 (Mon, 08 Apr 2019)

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

  Log Message:
  -----------
  cppcheck: Silence false positive 'needs a destructor' check.


  Commit: b2e08f95f7096be2e2aed21624a514f54fd35ba8
      https://github.com/MythTV/mythtv/commit/b2e08f95f7096be2e2aed21624a514f54fd35ba8
  Author: David Hampton <mythtv at love2code.net>
  Date:   2019-04-08 (Mon, 08 Apr 2019)

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

  Log Message:
  -----------
  Fix resource leak in ThumbFinder::loadCutList.

Fixes coverity issue 1444401.


  Commit: b4bee66edda151c9dd2714a89dfd95c36dc4fbec
      https://github.com/MythTV/mythtv/commit/b4bee66edda151c9dd2714a89dfd95c36dc4fbec
  Author: David Hampton <mythtv at love2code.net>
  Date:   2019-04-08 (Mon, 08 Apr 2019)

  Changed paths:
    M mythplugins/mytharchive/mytharchivehelper/main.cpp

  Log Message:
  -----------
  Fix resource leak in mytharchivehelper getFrameCount.

Fixes coverity issue 1444409.


  Commit: 94861c417fa7a4da5fc477b23700b01931699728
      https://github.com/MythTV/mythtv/commit/94861c417fa7a4da5fc477b23700b01931699728
  Author: David Hampton <mythtv at love2code.net>
  Date:   2019-04-08 (Mon, 08 Apr 2019)

  Changed paths:
    M mythtv/programs/mythavtest/main.cpp

  Log Message:
  -----------
  Fix resource leak in VideoPerformanceTest::Test.

Fixes coverity issue 1444400.


  Commit: dabcf865b5ac161973f7821ba30c0b6fcc6c86bb
      https://github.com/MythTV/mythtv/commit/dabcf865b5ac161973f7821ba30c0b6fcc6c86bb
  Author: David Hampton <mythtv at love2code.net>
  Date:   2019-04-08 (Mon, 08 Apr 2019)

  Changed paths:
    M mythtv/programs/mythtranscode/transcode.cpp

  Log Message:
  -----------
  Fix resource leak in Transcode::TranscodeFile.

Fixes coverity issue 1444396.


  Commit: e4cd50e4225cea89bcd3ebff8c9fd1d2241e74c8
      https://github.com/MythTV/mythtv/commit/e4cd50e4225cea89bcd3ebff8c9fd1d2241e74c8
  Author: David Hampton <mythtv at love2code.net>
  Date:   2019-04-08 (Mon, 08 Apr 2019)

  Changed paths:
    M mythtv/libs/libmythbase/test/test_mythsorthelper/test_mythsorthelper.cpp

  Log Message:
  -----------
  Fix resource leak in mythsorthelper test code.

Fixes coverity issue 1442081.


  Commit: a54dbf5aeafc1da8230480cb891b81a0e179e603
      https://github.com/MythTV/mythtv/commit/a54dbf5aeafc1da8230480cb891b81a0e179e603
  Author: David Hampton <mythtv at love2code.net>
  Date:   2019-04-08 (Mon, 08 Apr 2019)

  Changed paths:
    M mythtv/libs/libmythbase/test/test_mythsystem/test_mythsystem.h

  Log Message:
  -----------
  Fix resource leak in TestMythSystem::auto_cleanup_return_null.

Fixes coverity issue 1442079.


  Commit: 666d0f8ce525f3a8be689ffffeed1b62205a50fd
      https://github.com/MythTV/mythtv/commit/666d0f8ce525f3a8be689ffffeed1b62205a50fd
  Author: David Hampton <mythtv at love2code.net>
  Date:   2019-04-08 (Mon, 08 Apr 2019)

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

  Log Message:
  -----------
  Fix uninitialized object member in HDHomeRunConfigurationGroup::FillDeviceList.

Fixes coverity issue 1442052.


  Commit: e0739eca3cbe2eb6a76430877cd2c3895f789680
      https://github.com/MythTV/mythtv/commit/e0739eca3cbe2eb6a76430877cd2c3895f789680
  Author: David Hampton <mythtv at love2code.net>
  Date:   2019-04-08 (Mon, 08 Apr 2019)

  Changed paths:
    M mythtv/libs/libmythtv/test/test_mpegtables/test_mpegtables.cpp

  Log Message:
  -----------
  Fix resource leak in TestMPEGTables::pat_test.

Fixes coverity issue 1442027.


  Commit: 753a062b10d93485830a4dbf7a52d8336e2edf96
      https://github.com/MythTV/mythtv/commit/753a062b10d93485830a4dbf7a52d8336e2edf96
  Author: Dag Nygren <dag at newtech.fi>
  Date:   2019-04-08 (Mon, 08 Apr 2019)

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

  Log Message:
  -----------
  Update Finish EIT fixups.

1) Remove 'Film' or 'Elokuva' at the start of titles.  2) Remove age
limit at the end of the title.

Fixes #13215.

Signed-off-by: David Hampton <mythtv at love2code.net>


Compare: https://github.com/MythTV/mythtv/compare/038e171c40c1...753a062b10d9


More information about the mythtv-commits mailing list