[mythtv-commits] [MythTV/mythtv] 00ecbc: qt6: Convert CustomEdit::evaluate to use QRegularE...
David Hampton
noreply at github.com
Fri Mar 12 13:38:14 UTC 2021
Branch: refs/heads/master
Home: https://github.com/MythTV/mythtv
Commit: 00ecbc5a4c4adab83e7a79cef94ecd6486323f25
https://github.com/MythTV/mythtv/commit/00ecbc5a4c4adab83e7a79cef94ecd6486323f25
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-07 (Sun, 07 Mar 2021)
Changed paths:
M mythtv/programs/mythfrontend/customedit.cpp
Log Message:
-----------
qt6: Convert CustomEdit::evaluate to use QRegularExpression.
Commit: 90b14bb9446f3dc574b19826f023345b271a7ef7
https://github.com/MythTV/mythtv/commit/90b14bb9446f3dc574b19826f023345b271a7ef7
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-07 (Sun, 07 Mar 2021)
Changed paths:
M mythtv/libs/libmythtv/recordinginfo.cpp
M mythtv/libs/libmythtv/recordinginfo.h
M mythtv/programs/mythfrontend/customedit.cpp
M mythtv/programs/mythfrontend/custompriority.cpp
M mythtv/programs/mythfrontend/scheduleeditor.cpp
Log Message:
-----------
qt6: Remove the search type from a recording title using QRegularExpression.
These are all the various places that converts a recording title from
"Jaws (Power Search)" to "Jaws".
Commit: b5d64a8d28e98b22ec59eca2cb434a34cd101ab7
https://github.com/MythTV/mythtv/commit/b5d64a8d28e98b22ec59eca2cb434a34cd101ab7
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-07 (Sun, 07 Mar 2021)
Changed paths:
M mythtv/libs/libmythtv/recordinginfo.cpp
M mythtv/libs/libmythtv/recordinginfo.h
M mythtv/programs/mythbackend/scheduler.cpp
M mythtv/programs/mythfrontend/customedit.cpp
M mythtv/programs/mythfrontend/custompriority.cpp
M mythtv/programs/mythfrontend/progdetails.cpp
M mythtv/programs/mythfrontend/proglist.cpp
Log Message:
-----------
qt6: Convert old style power recording rule checks to QRegularExpression.
Apparently in the past power recording rules needed to start with
"AND", but is no longer necessary or allowed. There are several places
in the code that check for a leading "AND" in a SQL fragment, and
there are several places that just strip this keyword and continue
processing. Convert all of these functions to use a QRegularExpression
to match on the word "AND".
Commit: 09329cbf1849edff7b62e437d10728cc56e96ecd
https://github.com/MythTV/mythtv/commit/09329cbf1849edff7b62e437d10728cc56e96ecd
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-07 (Sun, 07 Mar 2021)
Changed paths:
M mythtv/programs/mythfrontend/customedit.cpp
Log Message:
-----------
qt6: Use QString::simplified to clean up SQL fragments.
This replaces two calls to QString::replace, one of which passes in a
QRegExp.
Commit: 245593e4fcc031369f212817354daa8ab16a8ca6
https://github.com/MythTV/mythtv/commit/245593e4fcc031369f212817354daa8ab16a8ca6
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-09 (Tue, 09 Mar 2021)
Changed paths:
M mythtv/programs/mythfrontend/customedit.cpp
M mythtv/programs/mythfrontend/custompriority.cpp
Log Message:
-----------
qt6: Convert custom editors to use QRegularExpression.
These are the checks to see if the new SQL fragment is being added to
an existing fragment, and therefore an "AND" connector needs to be
added as well.
Commit: 5db0ed58084a390ae403a534162112ba799511e8
https://github.com/MythTV/mythtv/commit/5db0ed58084a390ae403a534162112ba799511e8
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-09 (Tue, 09 Mar 2021)
Changed paths:
M mythtv/programs/mythfrontend/schedulecommon.cpp
Log Message:
-----------
qt6: Convert ScheduleCommon::EditRecording to use QRegularExpression.
This converts part of one of the duplicate recording check where the
programID is tested to see if it is a series ID (i.e ends in all
zeros).
Commit: daab4a2214157e2de94d64dc0da2ecd8f70600b4
https://github.com/MythTV/mythtv/commit/daab4a2214157e2de94d64dc0da2ecd8f70600b4
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-11 (Thu, 11 Mar 2021)
Changed paths:
M mythtv/programs/mythfrontend/videofilter.cpp
M mythtv/programs/mythfrontend/videofilter.h
Log Message:
-----------
qt6: Convert Videos text filter box to QRegularExpression.
Commit: 9ac94228772d89f33b4780b7ce983a2a13e7ecbd
https://github.com/MythTV/mythtv/commit/9ac94228772d89f33b4780b7ce983a2a13e7ecbd
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-11 (Thu, 11 Mar 2021)
Changed paths:
M mythtv/programs/mythfrontend/videofilter.cpp
Log Message:
-----------
Add "year" option to Videos text filter box.
Commit: 45996f2e7e0c88b8d3a5d07e82bfed134ecc845a
https://github.com/MythTV/mythtv/commit/45996f2e7e0c88b8d3a5d07e82bfed134ecc845a
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-11 (Thu, 11 Mar 2021)
Changed paths:
M mythtv/programs/mythfrontend/videodlg.cpp
M mythtv/programs/mythfrontend/videodlg.h
Log Message:
-----------
Remove VideoDialog::GetImageFromFolder function, unused for many years.
Commit: 293b2f399750397e9d9eddea82dc9bc148f20db6
https://github.com/MythTV/mythtv/commit/293b2f399750397e9d9eddea82dc9bc148f20db6
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-11 (Thu, 11 Mar 2021)
Changed paths:
M mythtv/programs/mythfrontend/videodlg.cpp
Log Message:
-----------
Clean up QStringList creation in VideoDialog::GetCoverImage.
Commit: a803966d9a817112fec692981caae8555e573eb8
https://github.com/MythTV/mythtv/commit/a803966d9a817112fec692981caae8555e573eb8
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-11 (Thu, 11 Mar 2021)
Changed paths:
M mythtv/programs/mythfrontend/videodlg.cpp
Log Message:
-----------
qt6: Convert VideoDialog::GetCoverImage to use QRegularExpression.
Commit: cf70bc6e2f91c68552d72a07b360188acf7ad248
https://github.com/MythTV/mythtv/commit/cf70bc6e2f91c68552d72a07b360188acf7ad248
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-11 (Thu, 11 Mar 2021)
Changed paths:
M mythtv/programs/mythfrontend/playbackbox.cpp
M mythtv/programs/mythfrontend/playbackbox.h
Log Message:
-----------
qt6: Convert playback box title cleanup to use QRegularExpression.
Commit: f95908bb163563994a6414ba7e0bdb9ca09eafcd
https://github.com/MythTV/mythtv/commit/f95908bb163563994a6414ba7e0bdb9ca09eafcd
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-11 (Thu, 11 Mar 2021)
Changed paths:
M mythplugins/mythgame/mythgame/gamescan.h
M mythtv/libs/libmythbase/iso639.h
M mythtv/libs/libmythbase/mthread.h
M mythtv/libs/libmythbase/mythmiscutil.h
M mythtv/libs/libmythbase/mythsystem.h
M mythtv/libs/libmythbase/mythsystemprivate.h
M mythtv/libs/libmythbase/unzip.h
M mythtv/libs/libmythmetadata/bluraymetadata.h
M mythtv/libs/libmythtv/dtvconfparser.h
M mythtv/libs/libmythtv/remoteencoder.h
M mythtv/libs/libmythui/mythuifilebrowser.h
M mythtv/programs/mythbackend/encoderlink.h
M mythtv/programs/mythfrontend/playbackboxhelper.h
Log Message:
-----------
qt6: Remove forward declarations of class QStringList.
QStringList isn't a class in qt6, its defined as 'QList<QString>'.
Commit: 184c3b8806b3bf87c7b4563bc9290412ef5305d6
https://github.com/MythTV/mythtv/commit/184c3b8806b3bf87c7b4563bc9290412ef5305d6
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-11 (Thu, 11 Mar 2021)
Changed paths:
M mythtv/programs/mythbackend/services/dvr.cpp
Log Message:
-----------
qt6: Convert Dvr::GetRecordedList to use QRegularExpression.
Commit: 890361e2ab310367b6ff5850c47d68c0f0f7fb4a
https://github.com/MythTV/mythtv/commit/890361e2ab310367b6ff5850c47d68c0f0f7fb4a
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-11 (Thu, 11 Mar 2021)
Changed paths:
M mythtv/libs/libmythbase/storagegroup.cpp
Log Message:
-----------
Fix "conversion from ‘unsigned int’ to ‘QChar’ is ambiguous" error.
Commit: d56729845b51fe7e3b45ef08bedb8116c6b103cf
https://github.com/MythTV/mythtv/commit/d56729845b51fe7e3b45ef08bedb8116c6b103cf
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-11 (Thu, 11 Mar 2021)
Changed paths:
M mythplugins/mytharchive/mytharchivehelper/main.cpp
Log Message:
-----------
qt6: Convert mytharchivehelper file name munging to QRegularExpression.
Commit: 13d6b413b332b65d6a4d8b08a30fc47a7c434874
https://github.com/MythTV/mythtv/commit/13d6b413b332b65d6a4d8b08a30fc47a7c434874
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-11 (Thu, 11 Mar 2021)
Changed paths:
M mythplugins/mythgame/mythgame/gameui.cpp
Log Message:
-----------
mythgame: Provide defaults for "Level" settings.
Also protect against an empty childLevel string, which will cause
malformed SQL queries.
Commit: b3d4bbb97dd3a10ae5e8537f7a06eef5ea21ea46
https://github.com/MythTV/mythtv/commit/b3d4bbb97dd3a10ae5e8537f7a06eef5ea21ea46
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-11 (Thu, 11 Mar 2021)
Changed paths:
M mythplugins/mythgame/mythgame/gamehandler.cpp
Log Message:
-----------
qt6: Convert MythGame to QRegularExpression.
Commit: 43f0b432fed8c7730d24e6be95e4354695f13871
https://github.com/MythTV/mythtv/commit/43f0b432fed8c7730d24e6be95e4354695f13871
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-11 (Thu, 11 Mar 2021)
Changed paths:
M mythplugins/mythgame/mythgame/gamescan.cpp
Log Message:
-----------
Add a "finished scan" message to MythGame.
Commit: c608ee6fb2808f50287c45254099ec5a21993179
https://github.com/MythTV/mythtv/commit/c608ee6fb2808f50287c45254099ec5a21993179
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-11 (Thu, 11 Mar 2021)
Changed paths:
M mythplugins/mythmusic/mythmusic/avfdecoder.cpp
Log Message:
-----------
qt6: Convert ShoutCast metadata parser to QRegularExpression.
Commit: 1e95b5e88fbce66e4b02e38db8bde6965b5b0fba
https://github.com/MythTV/mythtv/commit/1e95b5e88fbce66e4b02e38db8bde6965b5b0fba
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-11 (Thu, 11 Mar 2021)
Changed paths:
M mythplugins/mythmusic/mythmusic/playlist.cpp
M mythplugins/mythmusic/mythmusic/pls.cpp
Log Message:
-----------
qt6: Convert music playlist parsing to QRegularExpression.
Commit: 0d17de7415fb24045e33d56d962c8751cdeca5f4
https://github.com/MythTV/mythtv/commit/0d17de7415fb24045e33d56d962c8751cdeca5f4
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-11 (Thu, 11 Mar 2021)
Changed paths:
M mythplugins/mythmusic/mythmusic/cdrip.cpp
Log Message:
-----------
qt6: Convert cdrip query string cleanup to QRegularExpression.
Commit: 7f1538b6b9e23a21b658ea8d08a889fdc4d2e360
https://github.com/MythTV/mythtv/commit/7f1538b6b9e23a21b658ea8d08a889fdc4d2e360
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-11 (Thu, 11 Mar 2021)
Changed paths:
M mythtv/programs/mythbackend/mainserver.cpp
Log Message:
-----------
qt6: Convert file lookup pattern matching to use QRegularExpression.
Commit: 1b0fd4deb40cbb1e1fa486f6c1ffeb67daeed187
https://github.com/MythTV/mythtv/commit/1b0fd4deb40cbb1e1fa486f6c1ffeb67daeed187
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-11 (Thu, 11 Mar 2021)
Changed paths:
M mythtv/libs/libmythtv/eitfixup.cpp
Log Message:
-----------
qt6: Use QRegularExpressionMatch::capturedView in EIT fixups.
Commit: 8274f0849a06be05e0f318a8cc51d9cddc1c47c4
https://github.com/MythTV/mythtv/commit/8274f0849a06be05e0f318a8cc51d9cddc1c47c4
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-11 (Thu, 11 Mar 2021)
Changed paths:
M mythtv/programs/mythbackend/backendhousekeeper.cpp
Log Message:
-----------
qt6: Use QRegularExpressionMatch::capturedView in mythbackend.
Commit: fc061f2675304bac43c13c4106edfa8ba6751011
https://github.com/MythTV/mythtv/commit/fc061f2675304bac43c13c4106edfa8ba6751011
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-11 (Thu, 11 Mar 2021)
Changed paths:
M mythtv/programs/mythfilldatabase/channeldata.cpp
Log Message:
-----------
qt6: Use QRegularExpressionMatch::capturedView in mythfilldatabase.
Commit: 73c545070902fcb0b315925701677c3a6593b042
https://github.com/MythTV/mythtv/commit/73c545070902fcb0b315925701677c3a6593b042
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-11 (Thu, 11 Mar 2021)
Changed paths:
M mythtv/programs/mythfrontend/themechooser.cpp
Log Message:
-----------
qt6: Use QRegularExpressionMatch::capturedView in mythfrontend.
Commit: c8a203f27a225500c305a137cb7ac2d40d179f58
https://github.com/MythTV/mythtv/commit/c8a203f27a225500c305a137cb7ac2d40d179f58
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-11 (Thu, 11 Mar 2021)
Changed paths:
M mythtv/libs/libmythtv/recorders/satiprtsp.cpp
Log Message:
-----------
qt6: Use QRegularExpressionMatch::capturedView in satiprtsp.cpp.
Commit: 40a8c4a7020ef094521bab8090be9fdc3af5af4b
https://github.com/MythTV/mythtv/commit/40a8c4a7020ef094521bab8090be9fdc3af5af4b
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-11 (Thu, 11 Mar 2021)
Changed paths:
M mythtv/libs/libmythmetadata/lyricsdata.cpp
M mythtv/libs/libmythmetadata/musicutils.cpp
M mythtv/libs/libmythmetadata/videometadata.cpp
Log Message:
-----------
qt6: Use QRegularExpressionMatch::capturedView in libmythmetadata.
Commit: 0feeeb07b4344b4ec3b3c6b3c8b896f0232b55e9
https://github.com/MythTV/mythtv/commit/0feeeb07b4344b4ec3b3c6b3c8b896f0232b55e9
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-11 (Thu, 11 Mar 2021)
Changed paths:
M mythtv/libs/libmythbase/dbutil.cpp
Log Message:
-----------
qt6: Use QRegularExpressionMatch::capturedView in dbutil.cpp.
Commit: 05049467368b3b357b544504b9ce56cf8ac49b58
https://github.com/MythTV/mythtv/commit/05049467368b3b357b544504b9ce56cf8ac49b58
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-11 (Thu, 11 Mar 2021)
Changed paths:
M mythtv/libs/libmyth/rssparse.cpp
Log Message:
-----------
qt6: Use QRegularExpressionMatch::capturedView in rssparse.cpp.
Commit: ddf321d6ba5c002f8f2bf5baf54de696dc947cce
https://github.com/MythTV/mythtv/commit/ddf321d6ba5c002f8f2bf5baf54de696dc947cce
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-11 (Thu, 11 Mar 2021)
Changed paths:
M mythtv/libs/libmythbase/mythmiscutil.cpp
Log Message:
-----------
qt6: Update naturalCompare function for removal of QStringRef.
Commit: 62eabbf7a5296f4f5eb403815a4db313c52d417f
https://github.com/MythTV/mythtv/commit/62eabbf7a5296f4f5eb403815a4db313c52d417f
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-11 (Thu, 11 Mar 2021)
Changed paths:
M mythtv/libs/libmythbase/mythdownloadmanager.cpp
Log Message:
-----------
qt5.15: Replace obsolete QByteArray::append function in mythdownloadmanager.cpp.
The "QByteArray::append(const QString &str)" function overload was
deprecated in Qt 5.15 and completely removed in Qt 6.0. All the
overload did was convert using QString::toUtf8(). Since HTTP requires
ASCII replace the obsolete overload an explicit call to
QString::toLatin1() instead.
Commit: 13379d8f30f3fd266762d7d23b0c656730320c12
https://github.com/MythTV/mythtv/commit/13379d8f30f3fd266762d7d23b0c656730320c12
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-11 (Thu, 11 Mar 2021)
Changed paths:
M mythtv/libs/libmythtv/AirPlay/mythairplayserver.cpp
M mythtv/libs/libmythtv/AirPlay/mythraopdevice.cpp
M mythtv/programs/mythbackend/mediaserver.cpp
M mythtv/programs/mythfrontend/main.cpp
Log Message:
-----------
qt5.15: Replace obsolete QByteArray::append function in the AirPlay code.
The "QByteArray::append(const QString &str)" function overload was
deprecated in Qt 5.15 and completely removed in Qt 6.0. All the
overload did was convert using QString::toUtf8(). Since the AirPlay
code already has some explicit conversions using ::toUtf8(), make
these implicit conversions explicit using QString::toUtf8() - instead
of using the QString::toLatin1() function.
Commit: 66c776ad48454ca78afd3e462255284bd2501ab1
https://github.com/MythTV/mythtv/commit/66c776ad48454ca78afd3e462255284bd2501ab1
Author: David Hampton <mythtv at love2code.net>
Date: 2021-03-11 (Thu, 11 Mar 2021)
Changed paths:
M mythtv/programs/mythexternrecorder/MythExternRecApp.cpp
Log Message:
-----------
qt5.15: Replace obsolete QProcess::pid() with QProcess::processId().
Compare: https://github.com/MythTV/mythtv/compare/6911843ed88d...66c776ad4845
More information about the mythtv-commits
mailing list