From bab75b7365cc87639cd5aaa9840ebe1f6228d556 Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Sat, 14 Jul 2018 14:13:22 +0200 Subject: [PATCH] Change a bazillion URLs to https:// Including all user-visible link and links called from code, like the help pages. --- COPYING | 4 ++-- HACKING | 10 ++++----- INSTALL.in | 10 ++++----- README | 8 +++---- README.i18n | 6 ++--- app/config/gimpguiconfig.c | 2 +- app/core/gimpcontainer.c | 2 +- app/core/gimpgradient-save.c | 2 +- app/core/gimpimagefile.h | 2 +- app/dialogs/lebl-dialog.h | 2 +- app/dialogs/tips-dialog.c | 4 ++-- app/display/gimpimagewindow.c | 4 ++-- app/operations/gimpoperationflood.c | 4 ++-- app/pdb/drawable-cmds.c | 2 +- app/pdb/fileops-cmds.c | 4 ++-- app/pdb/text-layer-cmds.c | 2 +- app/text/gimpfont.c | 6 ++--- app/widgets/gimphelp.c | 2 +- autogen.sh | 2 +- data/tips/fortunes.xsl | 2 +- desktop/gimp-data-extras.metainfo.xml.in.in | 2 +- desktop/org.gimp.GIMP.appdata.xml.in.in | 2 +- devel-docs/README | 2 +- devel-docs/submitting-patches.txt | 2 +- docs/Wilber.xcf.gz.README | 2 +- gimp.doap | 6 ++--- libgimp/COPYING | 2 +- libgimp/gimpdrawable_pdb.c | 2 +- libgimp/gimpfileops_pdb.c | 9 ++++---- libgimp/gimptextlayer_pdb.c | 2 +- libgimpcolor/gimprgb-parse.c | 4 ++-- libgimpwidgets/gimpframe.c | 2 +- pdb/README_NEW_PDB_PROC | 4 ++-- pdb/groups/drawable.pdb | 2 +- pdb/groups/fileops.pdb | 25 +++++++++++---------- pdb/groups/text_layer.pdb | 2 +- plug-ins/common/web-page.c | 2 +- plug-ins/help-browser/dialog.c | 2 +- plug-ins/help/gimphelp.h | 2 +- plug-ins/help/gimphelpdomain.c | 2 +- 40 files changed, 80 insertions(+), 78 deletions(-) diff --git a/COPYING b/COPYING index 76525e7c7dc..e60008693e0 100644 --- a/COPYING +++ b/COPYING @@ -1,7 +1,7 @@ GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. @@ -671,4 +671,4 @@ into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read -. +. diff --git a/HACKING b/HACKING index bca7d7c22b6..850ca2d98d8 100644 --- a/HACKING +++ b/HACKING @@ -10,14 +10,14 @@ to have the following packages (or newer versions) installed: * GNU libtool 1.5 - ftp://ftp.gnu.org/gnu/libtool/ -Fine GNU mirrors are listed at http://www.gnu.org/prep/ftp.html +Fine GNU mirrors are listed at https://www.gnu.org/prep/ftp.html Beta software can be found at alpha.gnu.org. * pkg-config 0.16.0 (or preferably a newer version) - - http://www.freedesktop.org/software/pkgconfig/ + - https://www.freedesktop.org/software/pkgconfig/ * gtkdocize - - http://ftp.gnome.org/pub/GNOME/sources/gtk-doc/ + - https://ftp.gnome.org/pub/GNOME/sources/gtk-doc/ * xsltproc - ftp://ftp.gnome.org/pub/GNOME/sources/libxslt/1.1/ @@ -83,8 +83,8 @@ to get GIMP from the the git server: You can read more on using GNOME's git service at these URLs: - http://live.gnome.org/Git - http://www.kernel.org/pub/software/scm/git/docs/ + https://wiki.gnome.org/Git + https://www.kernel.org/pub/software/scm/git/docs/ You will also need relatively new stable releases of glib, pango, atk, diff --git a/INSTALL.in b/INSTALL.in index e86c2636ca4..aed7117857d 100644 --- a/INSTALL.in +++ b/INSTALL.in @@ -30,16 +30,16 @@ header files installed. 1. You need to have installed a recent version of pkg-config (>= @GIMP_PKGCONFIG_VERSION@) available - from http://www.freedesktop.org/software/pkgconfig/. + from https://www.freedesktop.org/software/pkgconfig/. 2. You need intltool (at least @INTLTOOL_REQUIRED_VERSION@, but preferably a newer version). Intltool can be downloaded from - http://ftp.gnome.org/pub/gnome/sources/intltool/ + https://ftp.gnome.org/pub/gnome/sources/intltool/ You are recommended to install gettext version @XGETTEXT_RECOMMENDED_VERSION@ or over. Earlier gettext had issues with script-fu localization, ending up in incomplete GIMP localization. 3. You need to have GEGL version @GEGL_REQUIRED_VERSION@ or newer and babl version - @BABL_REQUIRED_VERSION@ or newer. You can get them from http://gegl.org/ or clone + @BABL_REQUIRED_VERSION@ or newer. You can get them from https://gegl.org/ or clone them from the GNOME git repository: https://gitlab.gnome.org/GNOME/babl.git @@ -51,7 +51,7 @@ header files installed. from ftp://ftp.gtk.org/. 5. We use cairo >= @CAIRO_REQUIRED_VERSION@, which is hosted at - http://www.cairographics.org/. + https://www.cairographics.org/. 6. We require PangoCairo, a Pango backend using Cairo. Make sure you have Cairo, FreeType2 and fontconfig installed before you compile @@ -370,7 +370,7 @@ When ./configure fails 'configure' uses pkg-config, a tool that replaces the old foo-config scripts. The most recent version is available from - http://www.freedesktop.org/software/pkgconfig/ + https://www.freedesktop.org/software/pkgconfig/ 'configure' tries to compile and run a short GTK+ program. There are several reasons why this might fail: diff --git a/README b/README index 1db488366bf..106e9d08272 100644 --- a/README +++ b/README @@ -21,21 +21,21 @@ detailed installation instructions, see the file INSTALL. GIMP's home page is at: - http://www.gimp.org/ + https://www.gimp.org/ Please be sure to visit this site for information, documentation, tutorials, news, etc. All things GIMP-ish are available from there. The automated plug-in registry is located at: - http://registry.gimp.org/ + https://registry.gimp.org/ There you can get the latest versions of plug-ins, using a convenient forms-based interface. The latest version of GIMP can be found at: - http://www.gimp.org/downloads/ + https://www.gimp.org/downloads/ 2. Mailing Lists @@ -44,7 +44,7 @@ The latest version of GIMP can be found at: We have several mailing lists dedicated to GIMP user and development discussion. There is more info at - http://www.gimp.org/mail_lists.html + https://www.gimp.org/mail_lists.html Links to several archives of the mailing lists are included in that page. diff --git a/README.i18n b/README.i18n index 0eaae6802b2..84f4ccdd23c 100644 --- a/README.i18n +++ b/README.i18n @@ -3,13 +3,13 @@ This file contains some important hints for translators. The current status of the GIMP translation can be checked at - http://l10n.gnome.org/module/gimp + https://l10n.gnome.org/module/gimp Translation of the GNU Image Manipulation Program is handled by the -GNOME Translation Project (see http://l10n.gnome.org/). If you want to +GNOME Translation Project (see https://l10n.gnome.org/). If you want to help, we suggest that you get in touch with the translation team of -your language (see http://l10n.gnome.org/teams/). +your language (see https://l10n.gnome.org/teams/). GIMP is different diff --git a/app/config/gimpguiconfig.c b/app/config/gimpguiconfig.c index c1b7772e315..f7319145fe7 100644 --- a/app/config/gimpguiconfig.c +++ b/app/config/gimpguiconfig.c @@ -40,7 +40,7 @@ #endif #define DEFAULT_USER_MANUAL_ONLINE_URI \ - "http://docs.gimp.org/" GIMP_APP_VERSION_STRING + "https://docs.gimp.org/" GIMP_APP_VERSION_STRING enum diff --git a/app/core/gimpcontainer.c b/app/core/gimpcontainer.c index ac22f57fbd7..ec11b28406e 100644 --- a/app/core/gimpcontainer.c +++ b/app/core/gimpcontainer.c @@ -652,7 +652,7 @@ gimp_container_remove (GimpContainer *container, if (n_children == container->priv->n_children) { g_warning ("%s: GimpContainer::remove() implementation did not " - "chain up. Please report this at http://www.gimp.org/bugs/", + "chain up. Please report this at https://www.gimp.org/bugs/", G_STRFUNC); container->priv->n_children--; diff --git a/app/core/gimpgradient-save.c b/app/core/gimpgradient-save.c index 53803e41208..9cd9423a953 100644 --- a/app/core/gimpgradient-save.c +++ b/app/core/gimpgradient-save.c @@ -142,7 +142,7 @@ gimp_gradient_save_pov (GimpGradient *gradient, return FALSE; string = g_string_new ("/* color_map file created by GIMP */\n" - "/* http://www.gimp.org/ */\n" + "/* https://www.gimp.org/ */\n" "color_map {\n"); for (seg = gradient->segments; seg; seg = seg->next) diff --git a/app/core/gimpimagefile.h b/app/core/gimpimagefile.h index 91e744219d5..9ea29b0637a 100644 --- a/app/core/gimpimagefile.h +++ b/app/core/gimpimagefile.h @@ -4,7 +4,7 @@ * gimpimagefile.h * * Thumbnail handling according to the Thumbnail Managing Standard. - * http://triq.net/~pearl/thumbnail-spec/ + * https://specifications.freedesktop.org/thumbnail-spec/ * * Copyright (C) 2001-2002 Sven Neumann * Michael Natterer diff --git a/app/dialogs/lebl-dialog.h b/app/dialogs/lebl-dialog.h index 0cbb2ad9980..e1d57970b27 100644 --- a/app/dialogs/lebl-dialog.h +++ b/app/dialogs/lebl-dialog.h @@ -15345,7 +15345,7 @@ GResource *lebl_dialog_get_resource (void) #elif defined(__SUNPRO_C) /* This is not tested, but i believe it should work, based on: - * http://opensource.apple.com/source/OpenSSL098/OpenSSL098-35/src/fips/fips_premain.c + * https://opensource.apple.com/source/OpenSSL098/OpenSSL098-35/src/fips/fips_premain.c */ #define G_HAS_CONSTRUCTORS 1 diff --git a/app/dialogs/tips-dialog.c b/app/dialogs/tips-dialog.c index f9426083ae3..d24bb100729 100644 --- a/app/dialogs/tips-dialog.c +++ b/app/dialogs/tips-dialog.c @@ -189,7 +189,7 @@ tips_dialog_create (Gimp *gimp) gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0); gtk_widget_show (hbox); - more_button = gtk_link_button_new_with_label ("http://docs.gimp.org/", + more_button = gtk_link_button_new_with_label ("https://docs.gimp.org/", /* a link to the related section in the user manual */ _("Learn more")); gtk_widget_show (more_button); @@ -249,7 +249,7 @@ tips_dialog_set_tip (GimpTip *tip) /* set the URI to unset the "visited" state */ gtk_link_button_set_uri (GTK_LINK_BUTTON (more_button), - "http://docs.gimp.org/"); + "https://docs.gimp.org/"); gtk_widget_set_sensitive (more_button, tip->help_id != NULL); } diff --git a/app/display/gimpimagewindow.c b/app/display/gimpimagewindow.c index 32a739812c5..59d1bf873b2 100644 --- a/app/display/gimpimagewindow.c +++ b/app/display/gimpimagewindow.c @@ -401,7 +401,7 @@ gimp_image_window_constructed (GObject *object) private->menubar, FALSE, FALSE, 0); /* make sure we can activate accels even if the menubar is invisible - * (see http://bugzilla.gnome.org/show_bug.cgi?id=137151) + * (see https://bugzilla.gnome.org/show_bug.cgi?id=137151) */ g_signal_connect (private->menubar, "can-activate-accel", G_CALLBACK (gtk_true), @@ -765,7 +765,7 @@ gimp_image_window_style_updated (GtkWidget *widget) /* Only set user pos on the empty display because it gets a pos * set by gimp. All other displays should be placed by the window - * manager. See http://bugzilla.gnome.org/show_bug.cgi?id=559580 + * manager. See https://bugzilla.gnome.org/show_bug.cgi?id=559580 */ if (! gimp_display_get_image (shell->display)) geometry_mask |= GDK_HINT_USER_POS; diff --git a/app/operations/gimpoperationflood.c b/app/operations/gimpoperationflood.c index ba629adfe9d..b35fe2ebf11 100644 --- a/app/operations/gimpoperationflood.c +++ b/app/operations/gimpoperationflood.c @@ -20,7 +20,7 @@ /* Implementation of the Flood algorithm. - * See http://wiki.gimp.org/wiki/Algorithms:Flood for details. + * See https://wiki.gimp.org/wiki/Algorithms:Flood for details. */ @@ -238,7 +238,7 @@ gimp_operation_flood_class_init (GimpOperationFloodClass *klass) "name", "gimp:flood", "categories", "gimp", "description", "GIMP Flood operation", - "reference", "http://wiki.gimp.org/wiki/Algorithms:Flood", + "reference", "https://wiki.gimp.org/wiki/Algorithms:Flood", "reference-image", "flood-output.png", "reference-composition", reference_xml, NULL); diff --git a/app/pdb/drawable-cmds.c b/app/pdb/drawable-cmds.c index c35b5e03b6f..88cf445c6ba 100644 --- a/app/pdb/drawable-cmds.c +++ b/app/pdb/drawable-cmds.c @@ -1832,7 +1832,7 @@ register_drawable_procs (GimpPDB *pdb) gimp_procedure_set_static_strings (procedure, "gimp-drawable-foreground-extract", "Extract the foreground of a drawable using a given trimap.", - "Image Segmentation by Uniform Color Clustering, see http://www.inf.fu-berlin.de/inst/pubs/tr-b-05-07.pdf", + "Image Segmentation by Uniform Color Clustering, see https://www.inf.fu-berlin.de/inst/pubs/tr-b-05-07.pdf", "Gerald Friedland , Kristian Jantz , Sven Neumann ", "Gerald Friedland", "2005", diff --git a/app/pdb/fileops-cmds.c b/app/pdb/fileops-cmds.c index f772e48ff07..ded6228c661 100644 --- a/app/pdb/fileops-cmds.c +++ b/app/pdb/fileops-cmds.c @@ -633,7 +633,7 @@ register_fileops_procs (GimpPDB *pdb) gimp_procedure_set_static_strings (procedure, "gimp-file-load", "Loads an image file by invoking the right load handler.", - "This procedure invokes the correct file load handler using magic if possible, and falling back on the file's extension and/or prefix if not. The name of the file to load is typically a full pathname, and the name entered is what the user actually typed before prepending a directory path. The reason for this is that if the user types http://www.xcf/~gimp/ he wants to fetch a URL, and the full pathname will not look like a URL.", + "This procedure invokes the correct file load handler using magic if possible, and falling back on the file's extension and/or prefix if not. The name of the file to load is typically a full pathname, and the name entered is what the user actually typed before prepending a directory path. The reason for this is that if the user types https://www.gimp.org/foo.png he wants to fetch a URL, and the full pathname will not look like a URL.", "Josh MacDonald", "Josh MacDonald", "1997", @@ -774,7 +774,7 @@ register_fileops_procs (GimpPDB *pdb) gimp_procedure_set_static_strings (procedure, "gimp-file-save", "Saves a file by extension.", - "This procedure invokes the correct file save handler according to the file's extension and/or prefix. The name of the file to save is typically a full pathname, and the name entered is what the user actually typed before prepending a directory path. The reason for this is that if the user types http://www.xcf/~gimp/ she wants to fetch a URL, and the full pathname will not look like a URL.", + "This procedure invokes the correct file save handler according to the file's extension and/or prefix. The name of the file to save is typically a full pathname, and the name entered is what the user actually typed before prepending a directory path. The reason for this is that if the user types https://www.gimp.org/foo.png she wants to fetch a URL, and the full pathname will not look like a URL.", "Josh MacDonald", "Josh MacDonald", "1997", diff --git a/app/pdb/text-layer-cmds.c b/app/pdb/text-layer-cmds.c index b6545865475..e29f3a4d2fe 100644 --- a/app/pdb/text-layer-cmds.c +++ b/app/pdb/text-layer-cmds.c @@ -1266,7 +1266,7 @@ register_text_layer_procs (GimpPDB *pdb) gimp_procedure_set_static_strings (procedure, "gimp-text-layer-get-markup", "Get the markup from a text layer as string.", - "This procedure returns the markup of the styles from a text layer. The markup will be in the form of Pango's markup - See http://www.pango.org/ for more information about Pango and its markup. Note: Setting the markup of a text layer using Pango's markup is not supported for now.", + "This procedure returns the markup of the styles from a text layer. The markup will be in the form of Pango's markup - See https://www.pango.org/ for more information about Pango and its markup. Note: Setting the markup of a text layer using Pango's markup is not supported for now.", "Barak Itkin ", "Barak Itkin", "2010", diff --git a/app/text/gimpfont.c b/app/text/gimpfont.c index 360447d3665..23d3a60cfa6 100644 --- a/app/text/gimpfont.c +++ b/app/text/gimpfont.c @@ -395,10 +395,10 @@ gimp_font_get_sample_string (PangoContext *context, /* This is a table of scripts and corresponding short sample strings * to be used instead of the Latin sample string Aa. The script * codes are as in ISO15924 (see - * http://www.unicode.org/iso15924/iso15924-codes.html), but in + * https://www.unicode.org/iso15924/iso15924-codes.html), but in * lower case. The Unicode subrange bit numbers, as used in TrueType * so-called OS/2 tables, are from - * http://www.microsoft.com/typography/otspec/os2.htm#ur . + * https://www.microsoft.com/typography/otspec/os2.htm#ur . * * The table is mostly ordered by Unicode order. But as there are * fonts that support several of these scripts, the ordering is @@ -414,7 +414,7 @@ gimp_font_get_sample_string (PangoContext *context, * This table is used to determine the primary script a font has * been designed for. * - * Very useful link: http://www.travelphrases.info/fonts.html + * Very useful link: https://www.wazu.jp/index.html */ static const struct { diff --git a/app/widgets/gimphelp.c b/app/widgets/gimphelp.c index 92d3cd40bf9..ee071788742 100644 --- a/app/widgets/gimphelp.c +++ b/app/widgets/gimphelp.c @@ -614,7 +614,7 @@ gimp_help_get_help_domains (Gimp *gimp, *domain_names = g_new0 (gchar *, n_domains + 1); *domain_uris = g_new0 (gchar *, n_domains + 1); - (*domain_names)[0] = g_strdup ("http://www.gimp.org/help"); + (*domain_names)[0] = g_strdup ("https://www.gimp.org/help"); (*domain_uris)[0] = gimp_help_get_default_domain_uri (gimp); for (i = 0; i < n_domains; i++) diff --git a/autogen.sh b/autogen.sh index bca839b9c03..445aab039bf 100755 --- a/autogen.sh +++ b/autogen.sh @@ -130,7 +130,7 @@ else echo " You must have gtk-doc installed to compile $PROJECT." echo " Install the appropriate package for your distribution," echo " or get the source tarball at" - echo " http://ftp.gnome.org/pub/GNOME/sources/gtk-doc/" + echo " https://ftp.gnome.org/pub/GNOME/sources/gtk-doc/" echo " You can also use the option --disable-gtk-doc to skip" echo " this test but then you will not be able to generate a" echo " configure script that can build the API documentation." diff --git a/data/tips/fortunes.xsl b/data/tips/fortunes.xsl index dd04a9b8ee8..7108bcd3d5e 100644 --- a/data/tips/fortunes.xsl +++ b/data/tips/fortunes.xsl @@ -2,7 +2,7 @@ + https://wiki.gimp.org/gimp/FortuneCookies in the GIMP Wiki. --> diff --git a/desktop/gimp-data-extras.metainfo.xml.in.in b/desktop/gimp-data-extras.metainfo.xml.in.in index 47b355a6f1c..46b56cad313 100644 --- a/desktop/gimp-data-extras.metainfo.xml.in.in +++ b/desktop/gimp-data-extras.metainfo.xml.in.in @@ -5,7 +5,7 @@ gimp.desktop <_name>Extra files for GIMP <_summary>Patterns, gradients, and other extra files for GIMP - http://www.gimp.org/ + https://www.gimp.org/ @BUG_REPORT_URL@ CC0-1.0 GPL-3.0+ diff --git a/desktop/org.gimp.GIMP.appdata.xml.in.in b/desktop/org.gimp.GIMP.appdata.xml.in.in index 1243bbc54db..29f4d1edd35 100644 --- a/desktop/org.gimp.GIMP.appdata.xml.in.in +++ b/desktop/org.gimp.GIMP.appdata.xml.in.in @@ -5,7 +5,7 @@