[mythtv-commits] [MythTV/mythtv] 49ea6b: When using floating-point timestamps, use a double...
David Hampton
noreply at github.com
Sun Mar 7 21:28:06 UTC 2021
Branch: refs/heads/master
Home: https://github.com/MythTV/mythtv
Commit: 49ea6b5763bb9f915e952623a0ebe37fc35df346
https://github.com/MythTV/mythtv/commit/49ea6b5763bb9f915e952623a0ebe37fc35df346
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-07 (Sun, 07 Mar 2021)
Changed paths:
M mythtv/libs/libmythbase/housekeeper.cpp
M mythtv/libs/libmythbase/housekeeper.h
M mythtv/libs/libmythbase/mythchrono.h
Log Message:
-----------
When using floating-point timestamps, use a double instead of a float.
The vast majority of timestamps are held as a pair of 64-bit integers
(numerator and denominator). For the few cases where floating point
math is used, use a double for the numerator instead of a float (the
denominator is always an int64_t.) This will provide more precision.
Commit: 6cddc6c50b7b2a2b51be78c3dc961d8ccb846ee1
https://github.com/MythTV/mythtv/commit/6cddc6c50b7b2a2b51be78c3dc961d8ccb846ee1
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-07 (Sun, 07 Mar 2021)
Changed paths:
M mythtv/libs/libmythtv/DVD/mythdvdbuffer.cpp
Log Message:
-----------
Fix clang warning on 32-bit compile of DVD code.
Clang warns that the labs function can truncate its argument, and
recommends the use of std::abs instead.
Commit: 00d8d9e4fbd8a52a50191712b340621bf1d642e1
https://github.com/MythTV/mythtv/commit/00d8d9e4fbd8a52a50191712b340621bf1d642e1
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-07 (Sun, 07 Mar 2021)
Changed paths:
M mythtv/libs/libmythtv/channelscan/iptvchannelfetcher.cpp
Log Message:
-----------
qt6: Convert IPTV channel fetcher to use QRegularExpression.
Commit: a54f926fe0fcf4ef54e70d0f6c5f5c9b68ee0145
https://github.com/MythTV/mythtv/commit/a54f926fe0fcf4ef54e70d0f6c5f5c9b68ee0145
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-07 (Sun, 07 Mar 2021)
Changed paths:
M mythtv/libs/libmythtv/recorders/satiprtsp.cpp
Log Message:
-----------
qt6: Convert Sat IP RTSP to use QRegularExpression.
Commit: 45e9aadb1288d6368fefde8d75d48d25cdaeaec2
https://github.com/MythTV/mythtv/commit/45e9aadb1288d6368fefde8d75d48d25cdaeaec2
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-07 (Sun, 07 Mar 2021)
Changed paths:
M mythtv/libs/libmythtv/videosource.cpp
Log Message:
-----------
qt6: Convert video device name popups to use QRegularExpression.
Commit: 1861c1e4e335a456d0b6c0cef622d72ce48bd13a
https://github.com/MythTV/mythtv/commit/1861c1e4e335a456d0b6c0cef622d72ce48bd13a
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-07 (Sun, 07 Mar 2021)
Changed paths:
M mythtv/libs/libmythupnp/serverSideScripting.cpp
Log Message:
-----------
qt6: Convert server side scripting to use QRegularExpression.
Tested by tickling the code with:
wget -O stuff \
--header='Key1: en' \
--header "Cookie: Key2=Value" \
"http://localhost:6544/tv/ajax_backends/program_util.qsp?Key3=getProgramDetailHTML&Test[Key4]=a"
Changing the 4 key value in that command exercises the four regular
expression matches in the code, although they all share the same
singular regular expression.
Commit: 6302d5411dc97183f1d9ef2355de6ce34c98cb33
https://github.com/MythTV/mythtv/commit/6302d5411dc97183f1d9ef2355de6ce34c98cb33
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-07 (Sun, 07 Mar 2021)
Changed paths:
M mythtv/libs/libmythtv/captions/subtitlescreen.cpp
M mythtv/libs/libmythtv/captions/subtitlescreen.h
Log Message:
-----------
Remove unused QRegExp from subtitlescreen.cpp.
Commit: f912c5ec9d43b34bc30c0dfec2cf9fa7df0ca877
https://github.com/MythTV/mythtv/commit/f912c5ec9d43b34bc30c0dfec2cf9fa7df0ca877
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-07 (Sun, 07 Mar 2021)
Changed paths:
M mythtv/programs/mythtranscode/transcode.cpp
Log Message:
-----------
qt6: Convert mythtranscode to use QRegularExpression.
Commit: fec5e9eb2415e4d3044f61ade6bf6ebb3685a8d8
https://github.com/MythTV/mythtv/commit/fec5e9eb2415e4d3044f61ade6bf6ebb3685a8d8
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-07 (Sun, 07 Mar 2021)
Changed paths:
M mythtv/libs/libmythbase/mythdbcon.cpp
Log Message:
-----------
qt6: Tweak QRegExp used to apply bindings from Power Searches.
As written, this regular expression looks like it should have accepted
any string between two single quotes, or any string following a
colon. Only the latter worked. Tweak the expression so that both work,
and require that there be at least one character between the single
quotes.
Commit: d0bfbb745821b0a5a2b7a6a551dcd067a25763de
https://github.com/MythTV/mythtv/commit/d0bfbb745821b0a5a2b7a6a551dcd067a25763de
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-07 (Sun, 07 Mar 2021)
Changed paths:
A mythtv/libs/libmythbase/test/test_mythdbcon/.gitignore
A mythtv/libs/libmythbase/test/test_mythdbcon/test_mythdbcon.cpp
A mythtv/libs/libmythbase/test/test_mythdbcon/test_mythdbcon.h
A mythtv/libs/libmythbase/test/test_mythdbcon/test_mythdbcon.pro
Log Message:
-----------
Add test cases for mythdbcon.cpp.
Commit: 97f805bae4e4e0750eaa1f54b84ff4edc136c605
https://github.com/MythTV/mythtv/commit/97f805bae4e4e0750eaa1f54b84ff4edc136c605
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-07 (Sun, 07 Mar 2021)
Changed paths:
M mythtv/libs/libmythbase/mythdbcon.cpp
M mythtv/libs/libmythbase/test/test_mythdbcon/test_mythdbcon.cpp
Log Message:
-----------
qt6: Convert query escaping in mythdbcon to use QRegularExpression.
Commit: 679c433b1e3720dd410a62d3da32c328a56ae854
https://github.com/MythTV/mythtv/commit/679c433b1e3720dd410a62d3da32c328a56ae854
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-07 (Sun, 07 Mar 2021)
Changed paths:
M mythtv/libs/libmythtv/cardutil.cpp
M mythtv/libs/libmythtv/recorders/cetonstreamhandler.cpp
Log Message:
-----------
qt6: Convert Ceton stream handler to use QRegularExpression.
Commit: bc111cd1720bc0775403211b90a814b1373fb169
https://github.com/MythTV/mythtv/commit/bc111cd1720bc0775403211b90a814b1373fb169
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-07 (Sun, 07 Mar 2021)
Changed paths:
M mythtv/libs/libmythtv/captions/subtitlescreen.h
A mythtv/libs/libmythtv/test/test_subtitlescreen/.gitignore
A mythtv/libs/libmythtv/test/test_subtitlescreen/test_subtitlescreen.cpp
A mythtv/libs/libmythtv/test/test_subtitlescreen/test_subtitlescreen.h
A mythtv/libs/libmythtv/test/test_subtitlescreen/test_subtitlescreen.pro
Log Message:
-----------
Add test cases for subtitle parsing.
Commit: a918478189afa399532518efec9ddb36b5e0f0aa
https://github.com/MythTV/mythtv/commit/a918478189afa399532518efec9ddb36b5e0f0aa
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-07 (Sun, 07 Mar 2021)
Changed paths:
M mythtv/libs/libmythtv/captions/subtitlescreen.cpp
Log Message:
-----------
qt6: Convert subtitle parsing to use QRegularExpression.
Commit: 3fed50eea6248f3d145f339f5e794f8577180a29
https://github.com/MythTV/mythtv/commit/3fed50eea6248f3d145f339f5e794f8577180a29
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-07 (Sun, 07 Mar 2021)
Changed paths:
M mythplugins/mytharchive/mytharchive/main.cpp
M mythplugins/mythgame/mythgame/gamehandler.cpp
Log Message:
-----------
qt6: Remove QRegExp from a couple of string replacements. (plugins)
These are simple string substitutions that don't use any of the
features of regular expressions.
Commit: ae301b2626bc567e6a98815270364ce3cf692738
https://github.com/MythTV/mythtv/commit/ae301b2626bc567e6a98815270364ce3cf692738
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-07 (Sun, 07 Mar 2021)
Changed paths:
M mythtv/programs/mythbackend/httpstatus.cpp
M mythtv/programs/mythfrontend/videoplayercommand.cpp
Log Message:
-----------
qt6: Remove QRegExp from a couple of string replacements. (programs)
These are simple string substitutions that don't use any of the
features of regular expressions.
Commit: 7cff7d267f99c0b07cbff5072eaf709e33fdbafc
https://github.com/MythTV/mythtv/commit/7cff7d267f99c0b07cbff5072eaf709e33fdbafc
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-07 (Sun, 07 Mar 2021)
Changed paths:
M mythtv/programs/mythfilldatabase/channeldata.cpp
Log Message:
-----------
qt6: Convert mythfilldatabase xmltv channel parsing to use QRegularExpression.
Commit: 61314194808ec15afd22a3564c002ee166b3de55
https://github.com/MythTV/mythtv/commit/61314194808ec15afd22a3564c002ee166b3de55
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-07 (Sun, 07 Mar 2021)
Changed paths:
M mythtv/programs/mythbackend/backendhousekeeper.cpp
M mythtv/programs/mythfrontend/themechooser.cpp
Log Message:
-----------
qt6: Convert theme version number parsing to use QRegularExpression.
Commit: fd273c3f83a865bd88649a3d6a957c0b9c27f6f3
https://github.com/MythTV/mythtv/commit/fd273c3f83a865bd88649a3d6a957c0b9c27f6f3
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-07 (Sun, 07 Mar 2021)
Changed paths:
M mythtv/libs/libmythtv/tv_play.cpp
Log Message:
-----------
When using network control, accept volume as either "10" or "10%".
The network control code parser already accepted either version and
passed it on to the TV playing code. Tweak that code to process a
volume with/without a percent sign.
Commit: c2f06fbd7c183be657606eeaf5c660c93831f6ed
https://github.com/MythTV/mythtv/commit/c2f06fbd7c183be657606eeaf5c660c93831f6ed
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-07 (Sun, 07 Mar 2021)
Changed paths:
M mythtv/programs/mythfrontend/networkcontrol.cpp
Log Message:
-----------
qt6: Convert frontend network control code to use QRegularExpression.
Commit: 3f3f647df5106ab63dc3493decf771527e1f1584
https://github.com/MythTV/mythtv/commit/3f3f647df5106ab63dc3493decf771527e1f1584
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-07 (Sun, 07 Mar 2021)
Changed paths:
M mythtv/libs/libmythbase/mythmedia.cpp
Log Message:
-----------
qt6: Convert mythmedia.cpp to use QRegularExpression.
This code path is only used on OSX systems.
Commit: a093a746ba3430e26050ce4dcbc3cfdee4fe0d63
https://github.com/MythTV/mythtv/commit/a093a746ba3430e26050ce4dcbc3cfdee4fe0d63
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-07 (Sun, 07 Mar 2021)
Changed paths:
M mythtv/programs/mythfrontend/statusbox.cpp
Log Message:
-----------
Remove obsolete Log Viewer code fragments from the System Status page.
This is a followup to commit c3b022a6.
Commit: 6911843ed88dddb385f8cdfa584d95975a2b518b
https://github.com/MythTV/mythtv/commit/6911843ed88dddb385f8cdfa584d95975a2b518b
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-07 (Sun, 07 Mar 2021)
Changed paths:
M mythtv/configure
Log Message:
-----------
Debian needs additional libs to compile Vulkan.
Compare: https://github.com/MythTV/mythtv/compare/fecb7766c22b...6911843ed88d
More information about the mythtv-commits
mailing list