diff --git a/LameXP_VS2017.vcxproj b/LameXP_VS2017.vcxproj index 4c17c71e..61c6c013 100644 --- a/LameXP_VS2017.vcxproj +++ b/LameXP_VS2017.vcxproj @@ -572,11 +572,6 @@ copy /Y "$(SolutionDir)\..\Prerequisites\Qt4\$(PlatformToolset)\Shared\plugins\i true false - - true - true - false - true true @@ -697,7 +692,7 @@ copy /Y "$(SolutionDir)\..\Prerequisites\Qt4\$(PlatformToolset)\Shared\plugins\i true false - + true true false @@ -2072,7 +2067,7 @@ copy /Y "$(SolutionDir)\..\Prerequisites\Qt4\$(PlatformToolset)\Shared\plugins\i true false - + Document "$(QTDIR)\bin\rcc.exe" -o "$(SolutionDir)tmp\$(ProjectName)\QRC_%(Filename).cpp" -no-compress -name "%(Filename)" "%(FullPath)" RCC "$(SolutionDir)tmp\$(ProjectName)\QRC_%(Filename).cpp" @@ -2162,21 +2157,6 @@ copy /Y "$(SolutionDir)\..\Prerequisites\Qt4\$(PlatformToolset)\Shared\plugins\i true false - - Document - "$(QTDIR)\bin\rcc.exe" -o "$(SolutionDir)tmp\$(ProjectName)\QRC_%(Filename).cpp" -no-compress -name "%(Filename)" "%(FullPath)" - "$(QTDIR)\bin\rcc.exe" -o "$(SolutionDir)tmp\$(ProjectName)\QRC_%(Filename).cpp" -no-compress -name "%(Filename)" "%(FullPath)" - "$(QTDIR)\bin\rcc.exe" -o "$(SolutionDir)tmp\$(ProjectName)\QRC_%(Filename).cpp" -no-compress -name "%(Filename)" "%(FullPath)" - RCC "$(SolutionDir)tmp\$(ProjectName)\QRC_%(Filename).cpp" - RCC "$(SolutionDir)tmp\$(ProjectName)\QRC_%(Filename).cpp" - RCC "$(SolutionDir)tmp\$(ProjectName)\QRC_%(Filename).cpp" - $(SolutionDir)tmp\$(ProjectName)\QRC_%(Filename).cpp;%(Outputs) - $(SolutionDir)tmp\$(ProjectName)\QRC_%(Filename).cpp;%(Outputs) - $(SolutionDir)tmp\$(ProjectName)\QRC_%(Filename).cpp;%(Outputs) - true - true - false - Document "$(QTDIR)\bin\rcc.exe" -o "$(SolutionDir)tmp\$(ProjectName)\QRC_%(Filename).cpp" -no-compress -name "%(Filename)" "%(FullPath)" diff --git a/LameXP_VS2017.vcxproj.filters b/LameXP_VS2017.vcxproj.filters index 9e8cf5d0..ddb93bd3 100644 --- a/LameXP_VS2017.vcxproj.filters +++ b/LameXP_VS2017.vcxproj.filters @@ -514,9 +514,6 @@ Generated Files\QRC - - Generated Files\QRC - Generated Files\QRC @@ -529,9 +526,6 @@ Generated Files\QRC - - Generated Files\QRC - Generated Files\QRC @@ -577,6 +571,9 @@ Generated Files\QRC + + Generated Files\QRC + @@ -1019,9 +1016,6 @@ Resources - - Resources - Resources @@ -1034,9 +1028,6 @@ Resources - - Resources - Resources @@ -1088,6 +1079,9 @@ Resources + + Resources + diff --git a/res/Tools.curl.qrc b/res/Tools.curl.qrc new file mode 100644 index 00000000..e47f9fc7 --- /dev/null +++ b/res/Tools.curl.qrc @@ -0,0 +1,2 @@ + +tools/curl.exe diff --git a/res/Tools.mcat.qrc b/res/Tools.mcat.qrc deleted file mode 100644 index 2147fc13..00000000 --- a/res/Tools.mcat.qrc +++ /dev/null @@ -1,2 +0,0 @@ - -tools/mcat.exe diff --git a/res/Tools.wget.qrc b/res/Tools.wget.qrc deleted file mode 100644 index 039572b3..00000000 --- a/res/Tools.wget.qrc +++ /dev/null @@ -1,2 +0,0 @@ - -tools/wget.exe diff --git a/res/_ALL.qrc b/res/_ALL.qrc index da2dceeb..20121c57 100644 --- a/res/_ALL.qrc +++ b/res/_ALL.qrc @@ -215,6 +215,7 @@ tools/aften.sse2.exe tools/aften.x64.exe tools/avs2wav.exe + tools/curl.exe tools/dcaenc.exe tools/faad.i686.exe tools/faad.sse2.exe @@ -232,7 +233,6 @@ tools/mac.x64-sse2.exe tools/mac.x86-i686.exe tools/mac.x86-sse2.exe - tools/mcat.exe tools/mediainfo.i686.exe tools/mediainfo.sse2.exe tools/mediainfo.x64.exe @@ -264,7 +264,6 @@ tools/tta.exe tools/valdec.exe tools/vorbiscomment.exe - tools/wget.exe tools/wma2wav.exe tools/wupdate.exe tools/wvunpack.x64-avx.exe diff --git a/res/tools/curl.exe b/res/tools/curl.exe new file mode 100644 index 00000000..328351a9 Binary files /dev/null and b/res/tools/curl.exe differ diff --git a/res/tools/mcat.exe b/res/tools/mcat.exe deleted file mode 100644 index 7f262868..00000000 Binary files a/res/tools/mcat.exe and /dev/null differ diff --git a/res/tools/wget.exe b/res/tools/wget.exe deleted file mode 100644 index 56638f11..00000000 Binary files a/res/tools/wget.exe and /dev/null differ diff --git a/src/Config.h b/src/Config.h index 7065bd18..49219098 100644 --- a/src/Config.h +++ b/src/Config.h @@ -35,7 +35,7 @@ #define VER_LAMEXP_MINOR_LO 7 #define VER_LAMEXP_TYPE RC #define VER_LAMEXP_PATCH 1 -#define VER_LAMEXP_BUILD 2159 +#define VER_LAMEXP_BUILD 2162 #define VER_LAMEXP_CONFG 2134 /////////////////////////////////////////////////////////////////////////////// diff --git a/src/Dialog_About.cpp b/src/Dialog_About.cpp index 16afbe33..4073e902 100644 --- a/src/Dialog_About.cpp +++ b/src/Dialog_About.cpp @@ -842,10 +842,10 @@ void AboutDialog::initSoftwareTab(void) ); moreAboutText += makeToolText ( - tr("GNU Wget - Software for retrieving files using HTTP"), - "wget.exe", "v?.??.?", - tr("Released under the terms of the GNU Lesser General Public License."), - "http://www.gnu.org/software/wget/" + tr("cURL - Curl URL Request Library"), + "curl.exe", "v?.??.?", + tr("By Daniel Stenberg, released under the terms of the MIT/X Derivate License."), + "https://curl.haxx.se/" ); moreAboutText += makeToolText ( diff --git a/src/Dialog_Update.cpp b/src/Dialog_Update.cpp index e213c762..35117ff0 100644 --- a/src/Dialog_Update.cpp +++ b/src/Dialog_Update.cpp @@ -83,12 +83,11 @@ UpdateDialog::UpdateDialog(const SettingsModel *const settings, QWidget *parent) m_updateReadyToInstall(false), m_updaterProcess(NULL), m_binaryUpdater(lamexp_tools_lookup("wupdate.exe")), - m_binaryWGet(lamexp_tools_lookup("wget.exe")), - m_binaryMCat(lamexp_tools_lookup("mcat.exe")), + m_binaryCurl(lamexp_tools_lookup("curl.exe")), m_binaryGnuPG(lamexp_tools_lookup("gpgv.exe")), m_binaryKeys(lamexp_tools_lookup("keyring.gpg")) { - if(m_binaryUpdater.isEmpty() || m_binaryWGet.isEmpty() || m_binaryMCat.isEmpty() || m_binaryGnuPG.isEmpty() || m_binaryKeys.isEmpty()) + if(m_binaryUpdater.isEmpty() || m_binaryCurl.isEmpty() || m_binaryGnuPG.isEmpty() || m_binaryKeys.isEmpty()) { MUTILS_THROW("Tools not initialized correctly!"); } @@ -151,7 +150,7 @@ void UpdateDialog::showEvent(QShowEvent *event) { if(m_thread.isNull()) { - m_thread.reset(new MUtils::UpdateChecker(m_binaryWGet, m_binaryMCat, m_binaryGnuPG, m_binaryKeys, QLatin1String("LameXP"), lamexp_version_build(), m_betaUpdates)); + m_thread.reset(new MUtils::UpdateChecker(m_binaryCurl, m_binaryGnuPG, m_binaryKeys, QLatin1String("LameXP"), lamexp_version_build(), m_betaUpdates)); connect(m_thread.data(), SIGNAL(statusChanged(int)), this, SLOT(threadStatusChanged(int))); connect(m_thread.data(), SIGNAL(progressChanged(int)), this, SLOT(threadProgressChanged(int))); connect(m_thread.data(), SIGNAL(messageLogged(QString)), this, SLOT(threadMessageLogged(QString))); @@ -476,7 +475,7 @@ void UpdateDialog::testKnownHosts(void) { ui->statusLabel->setText("Testing all known hosts, this may take a few minutes..."); - if(MUtils::UpdateChecker *testThread = new MUtils::UpdateChecker(m_binaryWGet, m_binaryMCat, m_binaryGnuPG, m_binaryKeys, QLatin1String("LameXP"), lamexp_version_build(), m_betaUpdates, true)) + if(MUtils::UpdateChecker *testThread = new MUtils::UpdateChecker(m_binaryCurl, m_binaryGnuPG, m_binaryKeys, QLatin1String("LameXP"), lamexp_version_build(), m_betaUpdates, true)) { QEventLoop loop; m_logFile->clear(); diff --git a/src/Dialog_Update.h b/src/Dialog_Update.h index 7d5126c5..753f2e7e 100644 --- a/src/Dialog_Update.h +++ b/src/Dialog_Update.h @@ -77,8 +77,7 @@ private: Ui::UpdateDialog *const ui; //for Qt UIC const SettingsModel *const m_settings; - const QString m_binaryWGet; - const QString m_binaryMCat; + const QString m_binaryCurl; const QString m_binaryGnuPG; const QString m_binaryKeys; const QString m_binaryUpdater; diff --git a/src/Tools.h b/src/Tools.h index 476789cf..d1d482be 100644 --- a/src/Tools.h +++ b/src/Tools.h @@ -69,9 +69,10 @@ g_lamexp_tools[] = {"fc4e38b11a0f52b68cca79aa2d71c02180b70eb0e592923dee4f0ccf766f1006642369b2178f6a61d1c2506446cc442d", CPU_TYPE_X86_SSX, "aften.sse2.exe", 8, ""}, {"b44b1c0e1a8f4633c9bc2e43d0a83ea5edc890e1cccc0054c812d0e64170e5292dc1dfd7430da61b73150831aa16e9c4", CPU_TYPE_X64_ALL, "aften.x64.exe", 8, ""}, {"4558728999a05f12fe88566e8308cba0ada200814c2a1bfe2507f49faf8f3994b0d52a829148f5c6321d24faa2718439", CPU_TYPE_ALL_ALL, "avs2wav.exe", 13, ""}, + {"8714792c1c8c32bdd0c9e366d82b9cef5d3745e4e9938f42a683211acc6e13aa14d635c543090b694797a60f281ff9f6", CPU_TYPE_ALL_ALL, "curl.exe", 7611, ""}, {"07834b1b8ecac2f3db79ad048005eca3a284cb759e15d399eb1a560a403122e20db5f08e60319759b8463aeef2410d02", CPU_TYPE_ALL_ALL, "dcaenc.exe", 20120419, ""}, - { "5c4a5cdd708b5857bcb064558be81a2dfb16401e796b296f6eee7c63042acbeae12e1e2f1f3d0fd096eaf73201b54e10", CPU_TYPE_ALL_GEN, "faad.i686.exe", 270, "" }, - { "72447794cf411e1e4ce71facf5f60023f001d203894cf40185a0ee13e144e93d72ac99f2ed30a9168450ce5bf882f99f", CPU_TYPE_ALL_SSX, "faad.sse2.exe", 270, "" }, + {"5c4a5cdd708b5857bcb064558be81a2dfb16401e796b296f6eee7c63042acbeae12e1e2f1f3d0fd096eaf73201b54e10", CPU_TYPE_ALL_GEN, "faad.i686.exe", 270, "" }, + {"72447794cf411e1e4ce71facf5f60023f001d203894cf40185a0ee13e144e93d72ac99f2ed30a9168450ce5bf882f99f", CPU_TYPE_ALL_SSX, "faad.sse2.exe", 270, "" }, {"735654150f5d123660aa8493d322a7181cfd6d6c3e584a53c94c27a5163659b6aab3dd84230f684f8cec3cb565223482", CPU_TYPE_X86_GEN, "flac.x86-i686.exe", 132, ""}, {"2ee22f174131615cf342cb3031a4c93adfff0997d84eb1b6794c133c8f19d109c43e67a3f60638705c7afb93427a07f8", CPU_TYPE_X86_SSX, "flac.x86-sse2.exe", 132, ""}, {"323ba94d1d3a8f82f4e5a6adf859d0f11d7b0c69fa0254e620724f879edd9d7017e3d2fa78ffe0a615539d8798606a46", CPU_TYPE_X64_NVX, "flac.x64-sse2.exe", 132, ""}, @@ -93,7 +94,6 @@ g_lamexp_tools[] = {"54d45af70bb6f251634dbdd0de10269cac2c2e803d94623a96279b31fb7506e2b68a65fd596b19223ab3026bcbb87c22", CPU_TYPE_ALL_GEN, "mpg123.i686.exe", 12510, ""}, {"efc53e539aab547e79b4e9be5f19be98896cf2571b9ecfdb70fa05c4972451baf6e9cdf75ec3d5bb420dde3d3165f8bf", CPU_TYPE_ALL_SSE, "mpg123.sse2.exe", 12510, ""}, {"53bd4d5c570a5a368205cb585759d4d046378918b58acda1c5d720fdb78f44370b71d0f2ee56a24f3a78cfea8d635c00", CPU_TYPE_ALL_AVX, "mpg123.avx.exe", 12510, ""}, - {"dda88fb66a80c362dfa367d07265eee3dcf8ee959191fc7685163fdee694ece7d84000065de217942749b6859d33fa84", CPU_TYPE_ALL_ALL, "mcat.exe", 101, "" }, {"8e9b65f4bee39deceb303e5fdfe6875872fe450e29151ef3546128e7133a8eb3d14daae446e0c17c56ad3b969294367c", CPU_TYPE_ALL_GEN, "oggdec.i686.exe", 1101, ""}, {"5fb1d7781de9449eed958a175305a9827b158f69cd83131da6b92cd78ee7ea3dcc47ed6b3ee58e2892fe6cf98a994730", CPU_TYPE_ALL_SSE, "oggdec.sse2.exe", 1101, ""}, {"1f1f52553703afc11a428a4d5c9211f91cf9d39019ade3e049478e5a853b9a8c0a0d11304a04feb3a37cac6904244bab", CPU_TYPE_ALL_AVX, "oggdec.avx.exe", 1101, ""}, @@ -117,7 +117,6 @@ g_lamexp_tools[] = {"75d4c18dbb74e2dbf7342698428248d45cc4070d5f95da8831ef755e63dcd7ff9c3a760f289e8ef8b5c06b82548edbd8", CPU_TYPE_ALL_ALL, "tag.exe", 100, ""}, {"a83628880da0b7519ec368a74a92da5a5099d8d46aa0583131f92d7321f47c9e16a1841b2a3fb8ffcca7205ef4b1bb0a", CPU_TYPE_ALL_ALL, "tta.exe", 21, ""}, {"9e1ade2137ea5cee0ad4657971c314a372df3068594fbe4f77d45b9eb65fa7c69e55027b0df81b6fe072a220e9a8ba8a", CPU_TYPE_ALL_ALL, "valdec.exe", 100, "a"}, - {"0a2c8afb50aac35b80f34be2e2286bbb4f0876c1ad53fed8dc2f679786671eafdc1a244378abcc2c229fc110bb5cdf79", CPU_TYPE_ALL_ALL, "wget.exe", 1180, ""}, {"572b9448bf4a338ecb9727951fdfcc5a219cc69896695cc96b9f6b083690e339910e41558968264a38992e45f2be152c", CPU_TYPE_ALL_ALL, "wma2wav.exe", 20111001, ""}, {"5ef85aa6c6521161e19fc9eadd30bac82c3d0eee2374fd6ac543022181f7846ec2198ebe8bc84667e9b92a4a85d07fbb", CPU_TYPE_ALL_ALL, "wupdate.exe", 20171002, ""}, {"6021b938769b09d05617c7e91e0cb6cc5f9e40c50cb470455afc21d466b37183b8675822b8797cbf98950a5262ec07a6", CPU_TYPE_X86_GEN, "wvunpack.x86-i686.exe", 5010, ""},