Skip to content

Commit

Permalink
ENH: Bump ITK and replace http with https
Browse files Browse the repository at this point in the history
  • Loading branch information
tbirdso authored and dzenanz committed Jun 2, 2022
1 parent 7841c13 commit 7647736
Show file tree
Hide file tree
Showing 10 changed files with 35 additions and 35 deletions.
2 changes: 1 addition & 1 deletion .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## See: https://clang.llvm.org/docs/ClangFormatStyleOptions.html for details of each option
##
## The clang-format binaries can be downloaded as part of the clang binary distributions
## from http://releases.llvm.org/download.html
## from https://releases.llvm.org/download.html
##
## Use the script Utilities/Maintenance/clang-format.bash to faciliate
## maintaining a consistent code style.
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/build-test-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ jobs:
- os: ubuntu-18.04
c-compiler: "gcc"
cxx-compiler: "g++"
itk-git-tag: "a89145bccda6a36f42cfdd45d3a6b27234ff54fe"
itk-git-tag: "d6acfd26bfcdec606d605beb1301bddfb17c05a6"
cmake-build-type: "MinSizeRel"
- os: windows-2019
c-compiler: "cl.exe"
cxx-compiler: "cl.exe"
itk-git-tag: "a89145bccda6a36f42cfdd45d3a6b27234ff54fe"
itk-git-tag: "d6acfd26bfcdec606d605beb1301bddfb17c05a6"
cmake-build-type: "Release"
- os: macos-10.15
c-compiler: "clang"
cxx-compiler: "clang++"
itk-git-tag: "a89145bccda6a36f42cfdd45d3a6b27234ff54fe"
itk-git-tag: "d6acfd26bfcdec606d605beb1301bddfb17c05a6"
cmake-build-type: "MinSizeRel"

steps:
Expand Down Expand Up @@ -134,9 +134,9 @@ jobs:
strategy:
max-parallel: 2
matrix:
python-version: [36, 37, 38, 39]
python-version: [37, 38, 39, 310]
include:
- itk-python-git-tag: "v5.2rc01"
- itk-python-git-tag: "v5.3rc04"

steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -172,7 +172,7 @@ jobs:
max-parallel: 2
matrix:
include:
- itk-python-git-tag: "v5.2rc01"
- itk-python-git-tag: "v5.3rc04"

steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -206,9 +206,9 @@ jobs:
strategy:
max-parallel: 2
matrix:
python-version-minor: [6, 7, 8, 9]
python-version-minor: [7, 8, 9, 10]
include:
- itk-python-git-tag: "v5.2rc01"
- itk-python-git-tag: "v5.3rc04"

steps:
- name: Get specific version of CMake, Ninja
Expand Down Expand Up @@ -236,7 +236,7 @@ jobs:
shell: cmd
run: |
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
set PATH="C:\P\grep;%PATH%"
set PATH=C:\P\grep;%PATH%
set CC=cl.exe
set CXX=cl.exe
C:\Python3${{ matrix.python-version-minor }}-x64\python.exe C:\P\IPP\scripts\windows_build_module_wheels.py --py-envs "3${{ matrix.python-version-minor }}-x64"
Expand Down
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
https://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

Expand Down Expand Up @@ -193,7 +193,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
https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ Overview
This repository contains an ITK MeshIO class to read and write ITK meshes into
STL files.

For more information, see the `Insight Journal article <http://hdl.handle.net/10380/3452>`_::
For more information, see the `Insight Journal article <https://hdl.handle.net/10380/3452>`_::

Ibáñez L.
STL file format MeshIO class for ITK
The Insight Journal. January-December. 2014.
http://hdl.handle.net/10380/3452
http://www.insight-journal.org/browse/publication/913
https://hdl.handle.net/10380/3452
https://www.insight-journal.org/browse/publication/913


Installation
Expand Down
2 changes: 1 addition & 1 deletion include/itkSTLMeshIO.h
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
2 changes: 1 addition & 1 deletion include/itkSTLMeshIOFactory.h
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
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
'meshes into STL files.\n'
'Please refer to:\n'
'Ibáñez L. "STL file format MeshIO class for ITK", '
'Insight Journal, January-December 2014, http://hdl.handle.net/10380/3452.',
'Insight Journal, January-December 2014, https://hdl.handle.net/10380/3452.',
classifiers=[
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
Expand Down
30 changes: 15 additions & 15 deletions src/itkSTLMeshIO.cxx
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 Expand Up @@ -180,7 +180,7 @@ STLMeshIO ::ReadMeshInternalFromAscii()
while (!this->CheckStringFromAscii("endsolid"))
{
//
// http://en.wikipedia.org/wiki/STL_(file_format)#Binary_STL
// https://en.wikipedia.org/wiki/STL_(file_format)#Binary_STL
//
// facet normal ni nj nk
// outer loop
Expand Down Expand Up @@ -257,7 +257,7 @@ void
STLMeshIO ::ReadMeshInternalFromBinary()
{
//
// http://en.wikipedia.org/wiki/STL_(file_format)#Binary_STL
// https://en.wikipedia.org/wiki/STL_(file_format)#Binary_STL
//
// UINT8[80] header
//
Expand All @@ -277,7 +277,7 @@ STLMeshIO ::ReadMeshInternalFromBinary()

//
// Binary values in STL files are expected to be in little endian
// http://en.wikipedia.org/wiki/STL_(file_format)#Binary_STL
// https://en.wikipedia.org/wiki/STL_(file_format)#Binary_STL
//
ByteSwapper<int32_t>::SwapFromSystemToLittleEndian(&numberOfTriangles);

Expand Down Expand Up @@ -420,7 +420,7 @@ STLMeshIO ::WriteMeshInformation()
else if (this->GetFileType() == IOFileEnum::BINARY)
{
//
// http://en.wikipedia.org/wiki/STL_(file_format)#Binary_STL
// https://en.wikipedia.org/wiki/STL_(file_format)#Binary_STL
//
// UINT8[80] header
//
Expand Down Expand Up @@ -556,7 +556,7 @@ STLMeshIO ::WriteCellsAsBinary(void * buffer)
NormalType normal;

//
// http://en.wikipedia.org/wiki/STL_(file_format)#Binary_STL
// https://en.wikipedia.org/wiki/STL_(file_format)#Binary_STL
//
// UINT32 -- Number of Triangles
//
Expand Down Expand Up @@ -601,7 +601,7 @@ STLMeshIO ::WriteCellsAsBinary(void * buffer)
CrossProduct(normal, v12, v10);

//
// http://en.wikipedia.org/wiki/STL_(file_format)#Binary_STL
// https://en.wikipedia.org/wiki/STL_(file_format)#Binary_STL
//
// foreach triangle
// REAL32[3] – Normal vector
Expand Down Expand Up @@ -677,7 +677,7 @@ STLMeshIO ::WriteInt32AsBinary(int32_t value)
{
//
// Binary values in STL files are expected to be in little endian
// http://en.wikipedia.org/wiki/STL_(file_format)#Binary_STL
// https://en.wikipedia.org/wiki/STL_(file_format)#Binary_STL
//
ByteSwapper<int32_t>::SwapFromSystemToLittleEndian(&value);
this->m_OutputStream.write(reinterpret_cast<const char *>(&value), sizeof(value));
Expand All @@ -689,7 +689,7 @@ STLMeshIO ::WriteInt16AsBinary(int16_t value)
{
//
// Binary values in STL files are expected to be in little endian
// http://en.wikipedia.org/wiki/STL_(file_format)#Binary_STL
// https://en.wikipedia.org/wiki/STL_(file_format)#Binary_STL
//
ByteSwapper<int16_t>::SwapFromSystemToLittleEndian(&value);
this->m_OutputStream.write(reinterpret_cast<const char *>(&value), sizeof(value));
Expand All @@ -704,7 +704,7 @@ STLMeshIO ::WriteNormalAsBinary(const NormalType & normal)
float value = normal[i];
//
// Binary values in STL files are expected to be in little endian
// http://en.wikipedia.org/wiki/STL_(file_format)#Binary_STL
// https://en.wikipedia.org/wiki/STL_(file_format)#Binary_STL
//
ByteSwapper<float>::SwapFromSystemToLittleEndian(&value);
this->m_OutputStream.write(reinterpret_cast<const char *>(&value), sizeof(value));
Expand All @@ -720,7 +720,7 @@ STLMeshIO ::WritePointAsBinary(const PointType & point)
float value = point[i];
//
// Binary values in STL files are expected to be in little endian
// http://en.wikipedia.org/wiki/STL_(file_format)#Binary_STL
// https://en.wikipedia.org/wiki/STL_(file_format)#Binary_STL
//
ByteSwapper<float>::SwapFromSystemToLittleEndian(&value);
this->m_OutputStream.write(reinterpret_cast<const char *>(&value), sizeof(value));
Expand All @@ -737,7 +737,7 @@ STLMeshIO ::ReadNormalAsBinary(NormalType & normal)
this->m_InputStream.read(reinterpret_cast<char *>(&value), sizeof(value));
//
// Binary values in STL files are expected to be in little endian
// http://en.wikipedia.org/wiki/STL_(file_format)#Binary_STL
// https://en.wikipedia.org/wiki/STL_(file_format)#Binary_STL
//
ByteSwapper<float>::SwapFromSystemToLittleEndian(&value);
normal[i] = value;
Expand All @@ -751,7 +751,7 @@ STLMeshIO ::ReadInt32AsBinary(int32_t & value)
this->m_InputStream.read(reinterpret_cast<char *>(&value), sizeof(value));
//
// Binary values in STL files are expected to be in little endian
// http://en.wikipedia.org/wiki/STL_(file_format)#Binary_STL
// https://en.wikipedia.org/wiki/STL_(file_format)#Binary_STL
//
ByteSwapper<int32_t>::SwapFromSystemToLittleEndian(&value);
}
Expand All @@ -763,7 +763,7 @@ STLMeshIO ::ReadInt16AsBinary(int16_t & value)
this->m_InputStream.read(reinterpret_cast<char *>(&value), sizeof(value));
//
// Binary values in STL files are expected to be in little endian
// http://en.wikipedia.org/wiki/STL_(file_format)#Binary_STL
// https://en.wikipedia.org/wiki/STL_(file_format)#Binary_STL
//
ByteSwapper<int16_t>::SwapFromSystemToLittleEndian(&value);
}
Expand All @@ -778,7 +778,7 @@ STLMeshIO ::ReadPointAsBinary(PointType & point)
this->m_InputStream.read(reinterpret_cast<char *>(&value), sizeof(value));
//
// Binary values in STL files are expected to be in little endian
// http://en.wikipedia.org/wiki/STL_(file_format)#Binary_STL
// https://en.wikipedia.org/wiki/STL_(file_format)#Binary_STL
//
ByteSwapper<float>::SwapFromSystemToLittleEndian(&value);
point[i] = value;
Expand Down
2 changes: 1 addition & 1 deletion src/itkSTLMeshIOFactory.cxx
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
2 changes: 1 addition & 1 deletion test/itkSTLMeshIOTest.cxx
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

0 comments on commit 7647736

Please sign in to comment.