Skip to content

Commit

Permalink
ENH: Use https instead of http when https works
Browse files Browse the repository at this point in the history
https is more tamper-resistant and more private so we use it instead
of http when it is available.

Following
InsightSoftwareConsortium/ITK@9cd0f20
  • Loading branch information
jhlegarreta committed Jun 3, 2022
1 parent 4f827f1 commit 351ec22
Show file tree
Hide file tree
Showing 41 changed files with 88 additions and 88 deletions.
2 changes: 1 addition & 1 deletion .hooks-config.bash
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0.txt
# https://www.apache.org/licenses/LICENSE-2.0.txt
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
10 changes: 5 additions & 5 deletions CMake/CTestCustom.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@

#
# For further details regarding this file,
# see http://www.cmake.org/Wiki/CMake_Testing_With_CTest#Customizing_CTest
# see https://www.cmake.org/Wiki/CMake_Testing_With_CTest#Customizing_CTest
#
# and
# http://www.kitware.com/blog/home/post/27
# https://www.kitware.com/blog/home/post/27
#
#----------------------------------------------------------------------

Expand Down Expand Up @@ -159,9 +159,9 @@ set(CTEST_CUSTOM_WARNING_EXCEPTION

# Suppressing warnings about GL_GLEXT_LEGACY, the link reported below
# report a similar problem with GL_GLEXT_PROTOTYPE.
# http://lists.apple.com/archives/mac-opengl/2009/Dec/msg00081.html
# https://lists.apple.com/archives/mac-opengl/2009/Dec/msg00081.html
# That problem could be solved installing a newer version of X11 SDK
# See http://xquartz.macosforge.org/trac/changeset/343
# See https://xquartz.macosforge.org/trac/changeset/343
".*warning.*GL_GLEXT_LEGACY.*redefined"

# ITK suppressions
Expand Down Expand Up @@ -315,7 +315,7 @@ set(CTEST_CUSTOM_WARNING_EXCEPTION

# Suppressing warnings about duplicate libraries in Darwin
# At some point this may be addressed by CMake feature request:
# http://public.kitware.com/Bug/view.php?id=10179
# https://public.kitware.com/Bug/view.php?id=10179
"ld.*warning.*duplicate dylib.*"
)
endif()
Expand Down
2 changes: 1 addition & 1 deletion CMake/ExternalData.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
# Example usage:
# include(ExternalData)
# set(ExternalData_URL_TEMPLATES "file:///local/%(algo)/%(hash)"
# "http://data.org/%(algo)/%(hash)")
# "https://data.org/%(algo)/%(hash)")
# ExternalData_Add_Test(MyData
# NAME MyTest
# COMMAND MyExe DATA{MyInput.png}
Expand Down
2 changes: 1 addition & 1 deletion CMake/ITKSetStandardCompilerFlags.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ macro(check_compiler_platform_flags)
# With MS compilers on Win64, we need the /bigobj switch, else generated
# code results in objects with number of sections exceeding object file
# format.
# see http://msdn.microsoft.com/en-us/library/ms173499.aspx
# see https://msdn.microsoft.com/en-us/library/ms173499.aspx
if(MSVC_VERSION GREATER 1310)
set(ITK_REQUIRED_CXX_FLAGS "${ITK_REQUIRED_CXX_FLAGS} /bigobj")
endif()
Expand Down
2 changes: 1 addition & 1 deletion CMake/SlicerMacroCheckExternalProjectDependency.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Copyright (c) Kitware Inc.
#
# See COPYRIGHT.txt
# or http://www.slicer.org/copyright/copyright.txt for details.
# or https://www.slicer.org/copyright/copyright.txt for details.
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
4 changes: 2 additions & 2 deletions CMake/SlicerMacroEmptyExternalProject.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.commontk.org/LICENSE
# https://www.commontk.org/LICENSE
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
Expand All @@ -18,7 +18,7 @@
#
###########################################################################

# See http://github.com/commontk/CTK/blob/master/CMake/ctkMacroEmptyExternalProject.cmake
# See https://github.com/commontk/CTK/blob/master/CMake/ctkMacroEmptyExternalProject.cmake

#
# Convenient macro allowing to define a "empty" project in case an external one is provided
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,6 @@ Some Helpful Git Commands


[Git]: https://git-scm.com/
[VIM]: http://www.vim.org/
[VIM]: https://www.vim.org/
[GitHub]: https://github.com/
[Pull Request]: https://help.github.com/articles/about-pull-requests/
24 changes: 12 additions & 12 deletions Latex/Insight.bib
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ @InProceedings{Whitaker1994c

@Manual{POVRay,
Title = "Persistence of Vision, Ray-Tracer",
Address = "http://www.povray.org",
Address = "https://www.povray.org",
}

@Book{Romeny1994,
Expand All @@ -55,7 +55,7 @@ @Book{ToErrIsHuman2001
@TechReport{Aisemberg,
Author = "G.O. Aisemberg",
Title = "Vertebrate embryology",
Address = "http://lcw.lehman.edu/lehman/depts/biology/aisemberg/Bio268.html",
Address = "https://lcw.lehman.edu/lehman/depts/biology/aisemberg/Bio268.html",
Institution = "Department of Biological Sciences. Lehman College,
City University of New York",
year = 1998,
Expand Down Expand Up @@ -758,7 +758,7 @@ @TechReport{Culver1999
Title = "Intrinsic scale for boundary representation of
two-dimensional objects",
Institution = "MIDAG, University of North Carolina at Chapel Hill",
annote = "http://www.cs.unc.edu/~culver",
annote = "https://www.cs.unc.edu/~culver",
year = 1999,
}

Expand Down Expand Up @@ -824,15 +824,15 @@ @TechReport{Deriche1993
Institution = "Unite de recherche INRIA Sophia-Antipolis",
Number = "1893",
Note = "Research Repport",
annote = "http://www.inria.fr",
annote = "https://www.inria.fr",
year = 1993,
month = "avril",
}

@Book{Darwin1999,
Author = "C. Darwin",
Title = "On the Origin of Species",
Publisher = "http://www.gutenberg.org",
Publisher = "https://www.gutenberg.org",
Edition = "sixth",
year = 1999,
}
Expand Down Expand Up @@ -2753,7 +2753,7 @@ @TechReport{Monga1990
Title = "From Voxel to Curvature",
Institution = "INRIA",
Number = "1356",
Note = "http://www.inria.fr",
Note = "https://www.inria.fr",
year = 1990,
month = "decembre",
}
Expand All @@ -2763,7 +2763,7 @@ @TechReport{Monga1992
Title = "Using Partial Derivatives of 3D Images to Extract
Typical Surface Features ",
Institution = "INRIA",
Note = "http://www.inria.fr",
Note = "https://www.inria.fr",
year = 1992,
}

Expand Down Expand Up @@ -3490,7 +3490,7 @@ @Manual{OpenGLSpecification
Title = "The OpenGL Graphics System: A Specification (Version
1.2)",
Author = "M. Segal and K. Akeley",
Address = "http://www.opengl.org",
Address = "https://www.opengl.org",
month = "march",
year = 1998,
}
Expand Down Expand Up @@ -3908,7 +3908,7 @@ @TechReport{Udupa1998
Author = "J. K. Udupa and S. Samarasekera",
Title = "Extraction of fuzzy object information in multidimensional images for quantifying MS lesions of the brain",
year = 1998,
Institution = "United States Patent Office http://www.uspto.gov",
Institution = "United States Patent Office https://www.uspto.gov",
Number = "5,812,691"
}

Expand Down Expand Up @@ -4803,7 +4803,7 @@ @Manual{CreatisINSA-Lyon
Title = "The GDCM Library",
Institution = "CREATIS (France)",
Organization = "CNRS, INSERM, INSA Lyon, UCB Lyon",
Address = "http://www.creatis.insa-lyon.fr/Public/Gdcm/"
Address = "https://www.creatis.insa-lyon.fr/Public/Gdcm/"
}

@InProceedings{Chung2002,
Expand Down Expand Up @@ -4854,7 +4854,7 @@ @Manual{OpenJPEG
Title = "OpenJPEG",
Institution = "Communications and Remote Sensing Laboratory (TELE)",
Organization = "Universit\'{e} Catholique de Louvain (UCL), Belgium",
Address = "http://www.openjpeg.org"
Address = "https://www.openjpeg.org"
}

@TechReport{JPEG2000KeyAdvantages,
Expand All @@ -4863,7 +4863,7 @@ @TechReport{JPEG2000KeyAdvantages
Institution = "Aware Inc.",
Year = 2002,
Month = "February",
Address = "http://medical.nema.org/Dicom/minutes/WG-04/2002/2002-02-27/Weisfeiler.doc"
Address = "https://medical.nema.org/Dicom/minutes/WG-04/2002/2002-02-27/Weisfeiler.doc"
}

@inproceedings{ marcellin00overview,
Expand Down
4 changes: 2 additions & 2 deletions Latex/gitdags.sty
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%%
%% http://www.latex-project.org/lppl.txt
%% https://www.latex-project.org/lppl.txt
%%
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
Expand Down Expand Up @@ -64,7 +64,7 @@
}
}

% To cancel a shadow (see http://tex.stackexchange.com/a/198298/21891)
% To cancel a shadow (see https://tex.stackexchange.com/a/198298/21891)
\tikzset{reset preaction/.code={\def\tikz@preactions{}}}

% --- repository history graphs ---
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ All the dependencies described belowe are available pre-installed in a [Docker]
image. This is the easiest way to build and contribute to The Software
Guide.

1. Download and [install Docker](http://docs.docker.com/installation/).
1. Download and [install Docker](https://docs.docker.com/installation/).
2. From a shell, run
```sh
docker run --name software-guide -p 8888:8888 insighttoolkit/itksoftwareguide-edit:latest
Expand Down Expand Up @@ -175,12 +175,12 @@ Troubleshooting

[BibTeX]: http://www.bibtex.org/
[Docker]: https://www.docker.com/
[dvips]: http://tug.org/texinfohtml/dvips.html
[dvips]: https://tug.org/texinfohtml/dvips.html
[Git]: https://git-scm.com/
[ImageMagick]: https://www.imagemagick.org
[LaTeX]: https://www.latex-project.org//
[Minted]: https://ctan.org/pkg/minted?lang=en
[MikTex]: https://miktex.org/
[ps2pdf]: https://www.ps2pdf.com/
[Pygments]: http://pygments.org/
[Pygments]: https://pygments.org/
[Python]: https://www.python.org/
2 changes: 1 addition & 1 deletion SoftwareGuide/Latex/01-PrintedPreamble-Common.tex
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

\copyright \the\year \; Kitware, Inc. \emph{(cover, preface, postface)}\\
\copyright \the\year \; Insight Software Consortium \emph{(main text body)}\\
Published by Kitware, Inc. \texttt{http://www.kitware.com}
Published by Kitware, Inc. \texttt{https://www.kitware.com}
\normalsize
\end{center}
\end{minipage}
Expand Down
2 changes: 1 addition & 1 deletion SoftwareGuide/Latex/02-Cover-Book1.tex
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ \chapter*{About the Cover}
image was visualized in VolView.\footnote{VolView is a commercial product
from Kitware. It supports ITK plug-ins and is available as a free viewer or
may be licensed with advanced functionality. See
http://www.kitware.com/products/volview.html for information.} The cluster
https://www.kitware.com/products/volview.html for information.} The cluster
corresponding to the statistical distribution of blue values was identified
visually, and a separating plane was manually defined in RGB space. The
equation of this plane was subsequently used to discriminate pixels in the
Expand Down
4 changes: 2 additions & 2 deletions SoftwareGuide/Latex/03-Abstract-Common.tex
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ \chapter*{Abstract}
algorithms can be applied to arbitrary spatial dimensions and pixel types.

An automated wrapping system integrated with ITK generates an interface between
C++ and a high-level programming language \href{http://www.python.org}{Python}.
C++ and a high-level programming language \href{https://www.python.org}{Python}.
This enables rapid prototyping and faster exploration of ideas by shortening the
edit-compile-execute cycle. In addition to automated
wrapping, the \href{https://www.itk.org/Wiki/SimpleITK}{SimpleITK} project
Expand All @@ -41,7 +41,7 @@ \chapter*{Abstract}
ITK community is what helps manage the rapid evolution of the
software. Testing is what keeps the software stable. An
extensive testing process supported by the system known as
\href{http://open.cdash.org/index.php?project=Insight}{CDash}
\href{https://open.cdash.org/index.php?project=Insight}{CDash}
measures the quality of ITK code on a daily basis. The ITK Testing Dashboard is
updated continuously, reflecting the quality of the code at any moment.

Expand Down
26 changes: 13 additions & 13 deletions SoftwareGuide/Latex/Appendices/CodingStyleGuide.tex
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ \section{Overview}
Please discuss with the ITK community members if you wish to add, modify, or
delete the rules described in these guidelines.

See \href{http://www.itk.org/ITK/help/mailing.html}{http://www.itk.org/ITK/help/mailing.html}
See \href{https://www.itk.org/ITK/help/mailing.html}{https://www.itk.org/ITK/help/mailing.html}
for more information about joining the ITK community members discussion. This
forum is one of the best venues in which to propose changes to these style
guidelines.
Expand Down Expand Up @@ -154,7 +154,7 @@ \subsection{Implementation Language}
wrappers on the C++ counterparts. ITK's Python wrappers can be easily installed.
See Section~\ref{sec:ModuleWrapping} on page~\pageref{sec:ModuleWrapping} for
further details. Users requiring a Python interface for ITK classes may refer to
SimpleITK (\href{http://www.simpleitk.org/}{http://www.simpleitk.org/}).
SimpleITK (\href{https://www.simpleitk.org/}{https://www.simpleitk.org/}).

Additionally, SimpleITK offers interpreted language bindings for Java, C\#, R,
Tcl, and Ruby.
Expand Down Expand Up @@ -270,7 +270,7 @@ \subsection{CMake Build Environment}
cross-platform build system that enables community members to write simple
makefiles (named \code{CMakeLists.txt}) that are processed to generated native
build tools for a particular operating system/compiler combination. See the
CMake web pages at \href{http://www.cmake.org}{http://www.cmake.org} for more
CMake web pages at \href{https://www.cmake.org}{https://www.cmake.org} for more
information.

See Section~\ref{sec:UsingCMakeForConfiguringAndBuildingITK} on page
Expand Down Expand Up @@ -346,7 +346,7 @@ \section{Copyright}
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0.txt
* https://www.apache.org/licenses/LICENSE-2.0.txt
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
Expand Down Expand Up @@ -1097,8 +1097,8 @@ \subsection{Naming Template Parameters}
and \code{class} was purposed for declaring template parameters. It was later
discovered that this lead to ambiguity in some valid code constructs, and the
\code{typename} key word was added. It is often agreed
(\href{http://blogs.msdn.com/b/slippman/archive/2004/08/11/212768.aspx}
{http://blogs.msdn.com/b/slippman/archive/2004/08/11/212768.aspx}) that
(\href{https://blogs.msdn.com/b/slippman/archive/2004/08/11/212768.aspx}
{https://blogs.msdn.com/b/slippman/archive/2004/08/11/212768.aspx}) that
\code{typename} is marginally more expressive in its intent and ITK should
consistently use \code{typename} instead of \code{class}.
Expand Down Expand Up @@ -1793,7 +1793,7 @@ \subsection{Class Layout}
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0.txt
* https://www.apache.org/licenses/LICENSE-2.0.txt
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
Expand Down Expand Up @@ -1877,7 +1877,7 @@ \subsection{Class Layout}
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0.txt
* https://www.apache.org/licenses/LICENSE-2.0.txt
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
Expand Down Expand Up @@ -2428,7 +2428,7 @@ \subsection{Alignment}
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0.txt
* https://www.apache.org/licenses/LICENSE-2.0.txt
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
Expand Down Expand Up @@ -2710,7 +2710,7 @@ \subsection{Empty Lines}
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0.txt
* https://www.apache.org/licenses/LICENSE-2.0.txt
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
Expand Down Expand Up @@ -2804,7 +2804,7 @@ \subsection{Empty Lines}
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0.txt
* https://www.apache.org/licenses/LICENSE-2.0.txt
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
Expand Down Expand Up @@ -4032,8 +4032,8 @@ \section{Doxygen Documentation System}
ITK community members are required at a minimum to insert Doxygen commands
listed in this section.
See more at \href{http://www.stack.nl/~dimitri/doxygen/}
{http://www.stack.nl/~dimitri/doxygen/}
See more at \href{https://www.stack.nl/~dimitri/doxygen/}
{https://www.stack.nl/~dimitri/doxygen/}
\subsection{General Principles}
Expand Down
Loading

0 comments on commit 351ec22

Please sign in to comment.