# HG changeset patch
# User Wuzzy
# Date 1492310945 -7200
# Node ID 2eedf9e0cd6dc8e8f40923a7620fdd0ad119e947
# Parent dad24eb53873a2555bae423de7f87095f2d182c7
Replace some HTTP links with HTTPS links
Don't worry, I have tested all the links
diff -r dad24eb53873 -r 2eedf9e0cd6d QTfrontend/hwconsts.h
--- a/QTfrontend/hwconsts.h Sun Apr 16 03:24:17 2017 +0200
+++ b/QTfrontend/hwconsts.h Sun Apr 16 04:49:05 2017 +0200
@@ -73,7 +73,7 @@
#define HEDGEHOGS_PER_TEAM 8
-// see http://en.wikipedia.org/wiki/List_of_colors
+// see https://en.wikipedia.org/wiki/List_of_colors
/*define HW_TEAMCOLOR_ARRAY {0xff007fff, /. azure ./ \
0xffdd0000, /. classic red ./ \
0xff3e9321, /. classic green ./ \
diff -r dad24eb53873 -r 2eedf9e0cd6d QTfrontend/ui/dialog/upload_video.cpp
--- a/QTfrontend/ui/dialog/upload_video.cpp Sun Apr 16 03:24:17 2017 +0200
+++ b/QTfrontend/ui/dialog/upload_video.cpp Sun Apr 16 04:49:05 2017 +0200
@@ -57,7 +57,7 @@
"By clicking 'upload,' you certify that you own all rights to the content or that "
"you are authorized by the owner to make the content publicly available on YouTube, "
"and that it otherwise complies with the YouTube Terms of Service located at "
- "http://www.youtube.com/t/terms.
";
+ "https://www.youtube.com/t/terms.
";
// youtube doesn't understand this characters, even when they are properly escaped
// (either with CDATA or with < or >)
diff -r dad24eb53873 -r 2eedf9e0cd6d QTfrontend/ui/page/pagevideos.cpp
--- a/QTfrontend/ui/page/pagevideos.cpp Sun Apr 16 03:24:17 2017 +0200
+++ b/QTfrontend/ui/page/pagevideos.cpp Sun Apr 16 04:49:05 2017 +0200
@@ -77,7 +77,7 @@
QString name;
QString prefix; // original filename without extension
QString desc; // description (duration, resolution, etc...)
- QString uploadUrl; // http://youtu.be/???????
+ QString uploadUrl; // https://youtu.be/???????
HWRecorder * pRecorder; // non NULL if file is being encoded
QNetworkReply * pUploading; // non NULL if file is being uploaded
bool seen; // used when updating directory
@@ -824,7 +824,7 @@
if (!videoid.isEmpty())
{
- item->uploadUrl = "http://youtu.be/" + videoid;
+ item->uploadUrl = "https://youtu.be/" + videoid;
updateDescription();
// save url in file
diff -r dad24eb53873 -r 2eedf9e0cd6d QTfrontend/ui/widget/about.cpp
--- a/QTfrontend/ui/widget/about.cpp Sun Apr 16 03:24:17 2017 +0200
+++ b/QTfrontend/ui/widget/about.cpp Sun Apr 16 04:49:05 2017 +0200
@@ -80,7 +80,7 @@
.arg("https://www.hedgewars.org/") + "" +
//: %1 is the name of a license
tr("This program is distributed under the %1.")
- .arg(""+
+ .arg(""+
//: Short for “GNU General Public License version 2”
tr("GNU GPL v2")+"") +
""
@@ -100,7 +100,7 @@
QString libinfo = QString(tr("Dependency versions:") + QString("
"));
#ifdef __GNUC__
- libinfo.append(QString(tr("GCC: %1")).arg(__VERSION__));
+ libinfo.append(QString(tr("GCC: %1")).arg(__VERSION__));
libinfo.append(QString("
"));
#else
libinfo.append(QString(tr("Unknown Compiler")).arg(__VERSION__) + QString("
"));
@@ -110,14 +110,14 @@
SDL_version sdl_version;
SDL_GetVersion(&sdl_version);
sdl_ver = &sdl_version;
- libinfo.append(QString(tr("SDL2: %1.%2.%3"))
+ libinfo.append(QString(tr("SDL2: %1.%2.%3"))
.arg(sdl_ver->major)
.arg(sdl_ver->minor)
.arg(sdl_ver->patch));
libinfo.append(QString("
"));
const SDL_version *sdlmixer_ver = Mix_Linked_Version();
- libinfo.append(QString(tr("SDL2_mixer: %1.%2.%3"))
+ libinfo.append(QString(tr("SDL2_mixer: %1.%2.%3"))
.arg(sdlmixer_ver->major)
.arg(sdlmixer_ver->minor)
.arg(sdlmixer_ver->patch));
@@ -131,7 +131,7 @@
sdlnet_ver_get = (SDL_version *(*)(void)) SDL_LoadFunction(sdlnet_handle, "SDLNet_Linked_Version");
if (sdlnet_ver_get != NULL) {
SDL_version *sdlnet_ver = sdlnet_ver_get();
- libinfo.append(QString(tr("SDL_net: %1.%2.%3"))
+ libinfo.append(QString(tr("SDL_net: %1.%2.%3"))
.arg(sdlnet_ver->major)
.arg(sdlnet_ver->minor)
.arg(sdlnet_ver->patch));
@@ -146,7 +146,7 @@
sdlimage_ver_get = (SDL_version *(*)(void)) SDL_LoadFunction(sdlimage_handle, "IMG_Linked_Version");
if (sdlimage_ver_get != NULL) {
SDL_version *sdlimage_ver = sdlimage_ver_get();
- libinfo.append(QString(tr("SDL_image: %1.%2.%3"))
+ libinfo.append(QString(tr("SDL_image: %1.%2.%3"))
.arg(sdlimage_ver->major)
.arg(sdlimage_ver->minor)
.arg(sdlimage_ver->patch));
@@ -161,7 +161,7 @@
sdlttf_ver_get = (SDL_version *(*)(void)) SDL_LoadFunction(sdlttf_handle, "TTF_Linked_Version");
if (sdlttf_ver_get != NULL) {
SDL_version *sdlttf_ver = sdlttf_ver_get();
- libinfo.append(QString(tr("SDL_ttf: %1.%2.%3"))
+ libinfo.append(QString(tr("SDL_ttf: %1.%2.%3"))
.arg(sdlttf_ver->major)
.arg(sdlttf_ver->minor)
.arg(sdlttf_ver->patch));
@@ -171,28 +171,28 @@
}
- libinfo.append(QString(tr("Qt: %1")).arg(QT_VERSION_STR));
+ libinfo.append(QString(tr("Qt: %1")).arg(QT_VERSION_STR));
libinfo.append(QString("
"));
#ifdef VIDEOREC
- libinfo.append(QString(tr("libavcodec: %1.%2.%3"))
+ libinfo.append(QString(tr("libavcodec: %1.%2.%3"))
.arg(LIBAVCODEC_VERSION_MAJOR)
.arg(LIBAVCODEC_VERSION_MINOR)
.arg(LIBAVCODEC_VERSION_MICRO));
libinfo.append(QString("
"));
- libinfo.append(QString(tr("libavformat: %1.%2.%3"))
+ libinfo.append(QString(tr("libavformat: %1.%2.%3"))
.arg(LIBAVFORMAT_VERSION_MAJOR)
.arg(LIBAVFORMAT_VERSION_MINOR)
.arg(LIBAVFORMAT_VERSION_MICRO));
libinfo.append(QString("
"));
- libinfo.append(QString(tr("libavutil: %1.%2.%3"))
+ libinfo.append(QString(tr("libavutil: %1.%2.%3"))
.arg(LIBAVUTIL_VERSION_MAJOR)
.arg(LIBAVUTIL_VERSION_MINOR)
.arg(LIBAVUTIL_VERSION_MICRO));
libinfo.append(QString("
"));
#endif
- libinfo.append(QString(tr("PhysFS: %1.%2.%3"))
+ libinfo.append(QString(tr("PhysFS: %1.%2.%3"))
.arg(PHYSFS_VER_MAJOR)
.arg(PHYSFS_VER_MINOR)
.arg(PHYSFS_VER_PATCH));
diff -r dad24eb53873 -r 2eedf9e0cd6d QTfrontend/util/DataManager.h
--- a/QTfrontend/util/DataManager.h Sun Apr 16 03:24:17 2017 +0200
+++ b/QTfrontend/util/DataManager.h Sun Apr 16 04:49:05 2017 +0200
@@ -37,7 +37,7 @@
/**
* @brief Offers access to the data files of hedgewars.
*
- * @see singleton pattern
+ * @see singleton pattern
*
* @author sheepluva
* @since 0.9.17
@@ -50,7 +50,7 @@
/**
* @brief Returns reference to the singleton instance of this class.
*
- * @see singleton pattern
+ * @see singleton pattern
*
* @return reference to the instance.
*/
@@ -141,7 +141,7 @@
* Not to be used from outside the class,
* use the static {@link DataManager::instance()} instead.
*
- * @see singleton pattern
+ * @see singleton pattern
*/
DataManager();
diff -r dad24eb53873 -r 2eedf9e0cd6d QTfrontend/util/LibavInteraction.h
--- a/QTfrontend/util/LibavInteraction.h Sun Apr 16 03:24:17 2017 +0200
+++ b/QTfrontend/util/LibavInteraction.h Sun Apr 16 04:49:05 2017 +0200
@@ -24,7 +24,7 @@
/**
* @brief Class for interacting with ffmpeg/libav libraries
*
- * @see singleton pattern
+ * @see singleton pattern
*/
class LibavInteraction : public QObject
{
diff -r dad24eb53873 -r 2eedf9e0cd6d QTfrontend/util/SDLInteraction.h
--- a/QTfrontend/util/SDLInteraction.h Sun Apr 16 03:24:17 2017 +0200
+++ b/QTfrontend/util/SDLInteraction.h Sun Apr 16 04:49:05 2017 +0200
@@ -41,7 +41,7 @@
/**
* @brief Class for interacting with SDL (used for music and keys)
*
- * @see singleton pattern
+ * @see singleton pattern
*/
class SDLInteraction
{
@@ -53,7 +53,7 @@
* Not to be used from outside the class,
* use the static {@link DataManager::instance()} instead.
*
- * @see singleton pattern
+ * @see singleton pattern
*/
SDLInteraction();
@@ -73,7 +73,7 @@
/**
* @brief Returns reference to the singleton instance of this class.
*
- * @see singleton pattern
+ * @see singleton pattern
*
* @return reference to the instance.
*/
diff -r dad24eb53873 -r 2eedf9e0cd6d QTfrontend/util/platform/CocoaInitializer.h
--- a/QTfrontend/util/platform/CocoaInitializer.h Sun Apr 16 03:24:17 2017 +0200
+++ b/QTfrontend/util/platform/CocoaInitializer.h Sun Apr 16 04:49:05 2017 +0200
@@ -16,7 +16,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-// see original example here http://el-tramo.be/blog/mixing-cocoa-and-qt
+// see original example here https://el-tramo.be/blog/mixing-cocoa-and-qt
#ifndef COCOAINITIALIZER_H
#define COCOAINITIALIZER_H
diff -r dad24eb53873 -r 2eedf9e0cd6d QTfrontend/util/platform/CocoaInitializer.mm
--- a/QTfrontend/util/platform/CocoaInitializer.mm Sun Apr 16 03:24:17 2017 +0200
+++ b/QTfrontend/util/platform/CocoaInitializer.mm Sun Apr 16 04:49:05 2017 +0200
@@ -16,7 +16,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-// see original example here http://el-tramo.be/blog/mixing-cocoa-and-qt
+// see original example here https://el-tramo.be/blog/mixing-cocoa-and-qt
#include "CocoaInitializer.h"
diff -r dad24eb53873 -r 2eedf9e0cd6d QTfrontend/util/platform/SparkleAutoUpdater.mm
--- a/QTfrontend/util/platform/SparkleAutoUpdater.mm Sun Apr 16 03:24:17 2017 +0200
+++ b/QTfrontend/util/platform/SparkleAutoUpdater.mm Sun Apr 16 04:49:05 2017 +0200
@@ -16,7 +16,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-// see original example here http://el-tramo.be/blog/mixing-cocoa-and-qt
+// see original example here https://el-tramo.be/blog/mixing-cocoa-and-qt
#include "SparkleAutoUpdater.h"