From 0384268bd4c757b5b0125d63bb0599695b961c48 Mon Sep 17 00:00:00 2001 From: Jake Shadle Date: Tue, 11 Jun 2019 20:56:50 +0200 Subject: [PATCH] HTTPS All The Things (#608) * Use https for all links where it is valid * Fix random links to external sites --- CHANGELOG.md | 12 ++++++------ Cargo.toml | 4 ++-- README.md | 6 +++--- nalgebra-glm/src/lib.rs | 4 ++-- nalgebra-lapack/Cargo.toml | 4 ++-- nalgebra-lapack/README.md | 2 +- nalgebra-lapack/src/lib.rs | 6 +++--- src/base/blas.rs | 2 +- src/geometry/quaternion_construction.rs | 2 +- src/geometry/rotation_specialization.rs | 2 +- src/lib.rs | 6 +++--- 11 files changed, 25 insertions(+), 25 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 36aea56e..9e22820c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to `nalgebra`, starting with the version 0.6.0 will be documented here. -This project adheres to [Semantic Versioning](http://semver.org/). +This project adheres to [Semantic Versioning](https://semver.org/). ## [0.18.0] This release adds full complex number support to nalgebra. This includes all common vector/matrix operations as well @@ -111,7 +111,7 @@ All dependencies have been updated to their latest versions. ## [0.15.0] The most notable change of this release is the support for using part of the library without the rust standard -library (i.e. it supports `#![no_std]`). See the corresponding [documentation](http://nalgebra.org/wasm_and_embedded_programming/). +library (i.e. it supports `#![no_std]`). See the corresponding [documentation](https://nalgebra.org/wasm_and_embedded_programming/). ### Modified * Rename the `core` module to `base` to avoid conflicts with the `core` crate implicitly imported when `#![no_std]` is enabled. @@ -276,7 +276,7 @@ The main change of this release is the update of the dependency serde to 1.0. elements.) ## [0.11.0] -The [website](http://nalgebra.org) has been fully rewritten and gives a good +The [website](https://nalgebra.org) has been fully rewritten and gives a good overview of all the added/modified features. This version is a major rewrite of the library. Major changes are: @@ -298,9 +298,9 @@ This version is a major rewrite of the library. Major changes are: ### Added Lots of features including rectangular matrices, slices, and Serde -serialization. Refer to the brand new [website](http://nalgebra.org) for more +serialization. Refer to the brand new [website](https://nalgebra.org) for more details. The following free-functions have been added as well: - * `::id()` that returns the universal [identity element](http://nalgebra.org/performance_tricks/#the-id-type) + * `::id()` that returns the universal [identity element](https://nalgebra.org/performance_tricks/#the-id-type) of type `Id`. * `::inf_sup()` that returns both the infimum and supremum of a value at the same time. @@ -459,7 +459,7 @@ crate for vectors, rotations and points. To enable them, activate the ## [0.6.0] **Announcement:** a users forum has been created for `nalgebra`, `ncollide`, and `nphysics`. See -you [there](http://users.nphysics.org)! +you [there](https://users.nphysics.org)! ### Added * Added a dependency to [generic-array](https://crates.io/crates/generic-array). Feature-gated: diff --git a/Cargo.toml b/Cargo.toml index 08e14057..fd9ad6e0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,8 +4,8 @@ version = "0.18.0" authors = [ "Sébastien Crozet " ] description = "Linear algebra library with transformations and statically-sized or dynamically-sized matrices." -documentation = "http://nalgebra.org/rustdoc/nalgebra/index.html" -homepage = "http://nalgebra.org" +documentation = "https://nalgebra.org/rustdoc/nalgebra/index.html" +homepage = "https://nalgebra.org" repository = "https://github.com/rustsim/nalgebra" readme = "README.md" categories = [ "science" ] diff --git a/README.md b/README.md index 17a312be..df3a82f3 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@

- crates.io + crates.io

@@ -9,7 +9,7 @@ Build status - crates.io + crates.io @@ -17,7 +17,7 @@

- Users guide | Documentation | Forum + Users guide | Documentation | Forum

diff --git a/nalgebra-glm/src/lib.rs b/nalgebra-glm/src/lib.rs index 66502e73..1414bf6a 100644 --- a/nalgebra-glm/src/lib.rs +++ b/nalgebra-glm/src/lib.rs @@ -7,7 +7,7 @@ seamless inter-operability between both. ## Getting started - First of all, you should start by taking a look at the official [GLM API documentation](http://glm.g-truc.net/0.9.9/api/index.html) + First of all, you should start by taking a look at the official [GLM API documentation](https://glm.g-truc.net/0.9.9/api/index.html) since **nalgebra-glm** implements a large subset of it. To use **nalgebra-glm** to your project, you should add it as a dependency to your `Crates.toml`: @@ -110,7 +110,7 @@ and keep in mind it is possible to convert, e.g., an `Isometry3` to a `Mat4` and vice-versa (see the [conversions section](#conversions)). */ -#![doc(html_favicon_url = "http://nalgebra.org/img/favicon.ico")] +#![doc(html_favicon_url = "https://nalgebra.org/img/favicon.ico")] #![cfg_attr(not(feature = "std"), no_std)] extern crate num_traits as num; diff --git a/nalgebra-lapack/Cargo.toml b/nalgebra-lapack/Cargo.toml index 759cef7e..9d392712 100644 --- a/nalgebra-lapack/Cargo.toml +++ b/nalgebra-lapack/Cargo.toml @@ -4,8 +4,8 @@ version = "0.10.0" authors = [ "Sébastien Crozet ", "Andrew Straw " ] description = "Linear algebra library with transformations and satically-sized or dynamically-sized matrices." -documentation = "http://nalgebra.org/doc/nalgebra/index.html" -homepage = "http://nalgebra.org" +documentation = "https://nalgebra.org/doc/nalgebra/index.html" +homepage = "https://nalgebra.org" repository = "https://github.com/rustsim/nalgebra" readme = "README.md" keywords = [ "linear", "algebra", "matrix", "vector" ] diff --git a/nalgebra-lapack/README.md b/nalgebra-lapack/README.md index 9f474f75..d6762758 100644 --- a/nalgebra-lapack/README.md +++ b/nalgebra-lapack/README.md @@ -14,7 +14,7 @@ MIT Like the [lapack crate](https://crates.io/crates/lapack) from which this behavior is inherited, nalgebra-lapack uses [cargo -features](http://doc.crates.io/manifest.html#the-[features]-section) to select +features](https://doc.crates.io/manifest.html#the-[features]-section) to select which lapack provider (or implementation) is used. Command line arguments to cargo are the easiest way to do this, and the best provider depends on your particular system. In some cases, the providers can be further tuned with diff --git a/nalgebra-lapack/src/lib.rs b/nalgebra-lapack/src/lib.rs index a1a7b7b7..d58aba0b 100644 --- a/nalgebra-lapack/src/lib.rs +++ b/nalgebra-lapack/src/lib.rs @@ -14,7 +14,7 @@ //! //! Like the [lapack crate](https://crates.io/crates/lapack) from which this //! behavior is inherited, nalgebra-lapack uses [cargo -//! features](http://doc.crates.io/manifest.html#the-[features]-section) to select +//! features](https://doc.crates.io/manifest.html#the-[features]-section) to select //! which lapack provider (or implementation) is used. Command line arguments to //! cargo are the easiest way to do this, and the best provider depends on your //! particular system. In some cases, the providers can be further tuned with @@ -69,8 +69,8 @@ #![deny(unused_results)] #![deny(missing_docs)] #![doc( - html_favicon_url = "http://nalgebra.org/img/favicon.ico", - html_root_url = "http://nalgebra.org/rustdoc" + html_favicon_url = "https://nalgebra.org/img/favicon.ico", + html_root_url = "https://nalgebra.org/rustdoc" )] extern crate alga; diff --git a/src/base/blas.rs b/src/base/blas.rs index 6e1b6c81..beb83c4b 100644 --- a/src/base/blas.rs +++ b/src/base/blas.rs @@ -311,7 +311,7 @@ where N: Scalar + Zero + ClosedAdd + ClosedMul } // All this is inspired from the "unrolled version" discussed in: - // http://blog.theincredibleholk.org/blog/2012/12/10/optimizing-dot-product/ + // https://blog.theincredibleholk.org/blog/2012/12/10/optimizing-dot-product/ // // And this comment from bluss: // https://users.rust-lang.org/t/how-to-zip-two-slices-efficiently/2048/12 diff --git a/src/geometry/quaternion_construction.rs b/src/geometry/quaternion_construction.rs index 7758b4c9..893fdb6a 100644 --- a/src/geometry/quaternion_construction.rs +++ b/src/geometry/quaternion_construction.rs @@ -256,7 +256,7 @@ impl UnitQuaternion { #[inline] pub fn from_rotation_matrix(rotmat: &Rotation3) -> Self { // Robust matrix to quaternion transformation. - // See http://www.euclideanspace.com/maths/geometry/rotations/conversions/matrixToQuaternion + // See https://www.euclideanspace.com/maths/geometry/rotations/conversions/matrixToQuaternion let tr = rotmat[(0, 0)] + rotmat[(1, 1)] + rotmat[(2, 2)]; let res; diff --git a/src/geometry/rotation_specialization.rs b/src/geometry/rotation_specialization.rs index 973190a6..4baec27c 100644 --- a/src/geometry/rotation_specialization.rs +++ b/src/geometry/rotation_specialization.rs @@ -464,7 +464,7 @@ impl Rotation3 { /// ``` pub fn euler_angles(&self) -> (N, N, N) { // Implementation informed by "Computing Euler angles from a rotation matrix", by Gregory G. Slabaugh - // http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.371.6578 + // https://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.371.6578 if self[(2, 0)].abs() < N::one() { let yaw = -self[(2, 0)].asin(); let roll = (self[(2, 1)] / yaw.cos()).atan2(self[(2, 2)] / yaw.cos()); diff --git a/src/lib.rs b/src/lib.rs index 21792c97..a92e2250 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -8,7 +8,7 @@ * Real-time computer physics. ## Using **nalgebra** -You will need the last stable build of the [rust compiler](http://www.rust-lang.org) +You will need the last stable build of the [rust compiler](https://www.rust-lang.org) and the official package manager: [cargo](https://github.com/rust-lang/cargo). Simply add the following to your `Cargo.toml` file: @@ -84,8 +84,8 @@ an optimized set of tools for computer graphics and physics. Those features incl #![deny(missing_docs)] #![warn(incoherent_fundamental_impls)] #![doc( - html_favicon_url = "http://nalgebra.org/img/favicon.ico", - html_root_url = "http://nalgebra.org/rustdoc" + html_favicon_url = "https://nalgebra.org/img/favicon.ico", + html_root_url = "https://nalgebra.org/rustdoc" )] #![cfg_attr(not(feature = "std"), no_std)] #![cfg_attr(all(feature = "alloc", not(feature = "std")), feature(alloc))]