Replace some HTTP links with HTTPS links
authorWuzzy <almikes@aol.com>
Sun, 16 Apr 2017 04:49:05 +0200
changeset 12268 2eedf9e0cd6d
parent 12267 dad24eb53873
child 12269 401cf7a7f870
Replace some HTTP links with HTTPS links Don't worry, I have tested all the links
QTfrontend/hwconsts.h
QTfrontend/ui/dialog/upload_video.cpp
QTfrontend/ui/page/pagevideos.cpp
QTfrontend/ui/widget/about.cpp
QTfrontend/util/DataManager.h
QTfrontend/util/LibavInteraction.h
QTfrontend/util/SDLInteraction.h
QTfrontend/util/platform/CocoaInitializer.h
QTfrontend/util/platform/CocoaInitializer.mm
QTfrontend/util/platform/SparkleAutoUpdater.mm
--- 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  ./ \
--- 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 @@
         "<p>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 "
-        "<a href=\"http://www.youtube.com/t/terms\" style=\"color: white;\">http://www.youtube.com/t/terms</a>.</p>";
+        "<a href=\"https://www.youtube.com/t/terms\" style=\"color: white;\">https://www.youtube.com/t/terms</a>.</p>";
 
     // youtube doesn't understand this characters, even when they are properly escaped
     // (either with CDATA or with &lt or &gt)
--- 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
--- 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("<a href=\"https://www.hedgewars.org/\">https://www.hedgewars.org/</a>") + "</p>" +
         //: %1 is the name of a license
         tr("This program is distributed under the %1.")
-	.arg("<a href=\"http://www.gnu.org/licenses/gpl-2.0.html\">"+
+	.arg("<a href=\"https://www.gnu.org/licenses/gpl-2.0.html\">"+
         //: Short for “GNU General Public License version 2”
         tr("GNU GPL v2")+"</a>") +
         "</div>"
@@ -100,7 +100,7 @@
     QString libinfo = QString(tr("Dependency versions:") + QString("<br>"));
 
 #ifdef __GNUC__
-    libinfo.append(QString(tr("<a href=\"http://gcc.gnu.org\">GCC</a>: %1")).arg(__VERSION__));
+    libinfo.append(QString(tr("<a href=\"https://gcc.gnu.org\">GCC</a>: %1")).arg(__VERSION__));
     libinfo.append(QString("<br>"));
 #else
     libinfo.append(QString(tr("Unknown Compiler")).arg(__VERSION__) + QString("<br>"));
@@ -110,14 +110,14 @@
     SDL_version sdl_version;
     SDL_GetVersion(&sdl_version);
     sdl_ver = &sdl_version;
-    libinfo.append(QString(tr("<a href=\"http://www.libsdl.org/\">SDL2</a>: %1.%2.%3"))
+    libinfo.append(QString(tr("<a href=\"https://www.libsdl.org/\">SDL2</a>: %1.%2.%3"))
         .arg(sdl_ver->major)
         .arg(sdl_ver->minor)
         .arg(sdl_ver->patch));
     libinfo.append(QString("<br>"));
 
     const SDL_version *sdlmixer_ver = Mix_Linked_Version();
-    libinfo.append(QString(tr("<a href=\"http://www.libsdl.org/\">SDL2_mixer</a>: %1.%2.%3"))
+    libinfo.append(QString(tr("<a href=\"https://www.libsdl.org/\">SDL2_mixer</a>: %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("<a href=\"http://www.libsdl.org/\">SDL_net</a>: %1.%2.%3"))
+            libinfo.append(QString(tr("<a href=\"https://www.libsdl.org/\">SDL_net</a>: %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("<a href=\"http://www.libsdl.org/\">SDL_image</a>: %1.%2.%3"))
+            libinfo.append(QString(tr("<a href=\"https://www.libsdl.org/\">SDL_image</a>: %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("<a href=\"http://www.libsdl.org/\">SDL_ttf</a>: %1.%2.%3"))
+            libinfo.append(QString(tr("<a href=\"https://www.libsdl.org/\">SDL_ttf</a>: %1.%2.%3"))
                 .arg(sdlttf_ver->major)
                 .arg(sdlttf_ver->minor)
                 .arg(sdlttf_ver->patch));
@@ -171,28 +171,28 @@
     }
 
 
-    libinfo.append(QString(tr("<a href=\"http://qt-project.org/\">Qt</a>: %1")).arg(QT_VERSION_STR));
+    libinfo.append(QString(tr("<a href=\"https://www.qt.io/developers/\">Qt</a>: %1")).arg(QT_VERSION_STR));
     libinfo.append(QString("<br>"));
 
 #ifdef VIDEOREC
-    libinfo.append(QString(tr("<a href=\"http://libav.org\">libavcodec</a>: %1.%2.%3"))
+    libinfo.append(QString(tr("<a href=\"https://libav.org\">libavcodec</a>: %1.%2.%3"))
         .arg(LIBAVCODEC_VERSION_MAJOR)
         .arg(LIBAVCODEC_VERSION_MINOR)
         .arg(LIBAVCODEC_VERSION_MICRO));
     libinfo.append(QString("<br>"));
-    libinfo.append(QString(tr("<a href=\"http://libav.org\">libavformat</a>: %1.%2.%3"))
+    libinfo.append(QString(tr("<a href=\"https://libav.org\">libavformat</a>: %1.%2.%3"))
         .arg(LIBAVFORMAT_VERSION_MAJOR)
         .arg(LIBAVFORMAT_VERSION_MINOR)
         .arg(LIBAVFORMAT_VERSION_MICRO));
     libinfo.append(QString("<br>"));
-    libinfo.append(QString(tr("<a href=\"http://libav.org\">libavutil</a>: %1.%2.%3"))
+    libinfo.append(QString(tr("<a href=\"https://libav.org\">libavutil</a>: %1.%2.%3"))
         .arg(LIBAVUTIL_VERSION_MAJOR)
         .arg(LIBAVUTIL_VERSION_MINOR)
         .arg(LIBAVUTIL_VERSION_MICRO));
     libinfo.append(QString("<br>"));
 #endif
 
-    libinfo.append(QString(tr("<a href=\"http://icculus.org/physfs/\">PhysFS</a>: %1.%2.%3"))
+    libinfo.append(QString(tr("<a href=\"https://icculus.org/physfs/\">PhysFS</a>: %1.%2.%3"))
         .arg(PHYSFS_VER_MAJOR)
         .arg(PHYSFS_VER_MINOR)
         .arg(PHYSFS_VER_PATCH));
--- 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 <a href="http://en.wikipedia.org/wiki/Singleton_pattern">singleton pattern</a>
+ * @see <a href="https://en.wikipedia.org/wiki/Singleton_pattern">singleton pattern</a>
  *
  * @author sheepluva
  * @since 0.9.17
@@ -50,7 +50,7 @@
         /**
          * @brief Returns reference to the <i>singleton</i> instance of this class.
          *
-         * @see <a href="http://en.wikipedia.org/wiki/Singleton_pattern">singleton pattern</a>
+         * @see <a href="https://en.wikipedia.org/wiki/Singleton_pattern">singleton pattern</a>
          *
          * @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 <a href="http://en.wikipedia.org/wiki/Singleton_pattern">singleton pattern</a>
+         * @see <a href="https://en.wikipedia.org/wiki/Singleton_pattern">singleton pattern</a>
          */
         DataManager();
 
--- 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 <a href="http://en.wikipedia.org/wiki/Singleton_pattern">singleton pattern</a>
+ * @see <a href="https://en.wikipedia.org/wiki/Singleton_pattern">singleton pattern</a>
  */
 class LibavInteraction : public QObject
 {
--- 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 <a href="http://en.wikipedia.org/wiki/Singleton_pattern">singleton pattern</a>
+ * @see <a href="https://en.wikipedia.org/wiki/Singleton_pattern">singleton pattern</a>
  */
 class SDLInteraction
 {
@@ -53,7 +53,7 @@
          * Not to be used from outside the class,
          * use the static {@link DataManager::instance()} instead.
          *
-         * @see <a href="http://en.wikipedia.org/wiki/Singleton_pattern">singleton pattern</a>
+         * @see <a href="https://en.wikipedia.org/wiki/Singleton_pattern">singleton pattern</a>
          */
         SDLInteraction();
 
@@ -73,7 +73,7 @@
         /**
          * @brief Returns reference to the <i>singleton</i> instance of this class.
          *
-         * @see <a href="http://en.wikipedia.org/wiki/Singleton_pattern">singleton pattern</a>
+         * @see <a href="https://en.wikipedia.org/wiki/Singleton_pattern">singleton pattern</a>
          *
          * @return reference to the instance.
          */
--- 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
--- 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"
 
--- 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"