From e3e27b6b0d15fd3fa82d89c3b807e056c3998596 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Fri, 5 May 2017 16:02:22 +0200 Subject: [PATCH 1/4] util: Use secure HTTPS URLs in licence header The request to https://www.opensource.org times out, but the domain without *www.* works. ``` $ curl -I https://opensource.org/licenses/bsd-license.php HTTP/1.1 200 OK ``` --- src/util/xxhash.c | 2 +- src/util/xxhash.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/xxhash.c b/src/util/xxhash.c index bd2447ca16..438d69e528 100644 --- a/src/util/xxhash.c +++ b/src/util/xxhash.c @@ -2,7 +2,7 @@ xxHash - Fast Hash algorithm Copyright (C) 2012-2015, Yann Collet -BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php) +BSD 2-Clause License (https://opensource.org/licenses/bsd-license.php) Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are diff --git a/src/util/xxhash.h b/src/util/xxhash.h index 1d11a095fb..f88ff81369 100644 --- a/src/util/xxhash.h +++ b/src/util/xxhash.h @@ -6,7 +6,7 @@ Header File Copyright (C) 2012-2015, Yann Collet. - BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php) + BSD 2-Clause License (https://opensource.org/licenses/bsd-license.php) Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are From ec443c9db9961adf53eec3024beb13c7d5f5d7f9 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Fri, 5 May 2017 16:04:03 +0200 Subject: [PATCH 2/4] Use secure HTTPS URLs where possible --- CMakeLists.txt | 2 +- INSTALL | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ddfefab53c..d6a96e7339 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,7 +5,7 @@ PROJECT(libgpuarray C) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/CMakeModules/") # -Wall is unbelieveably noisy with Visual Studio: -# http://stackoverflow.com/q/4001736/3257826 +# https://stackoverflow.com/q/4001736/3257826 if(MSVC) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -W3") else() diff --git a/INSTALL b/INSTALL index 469d6da210..8b39a672dc 100644 --- a/INSTALL +++ b/INSTALL @@ -5,7 +5,7 @@ with a log of the build messages to abergeron@gmail.com. Requirements: - either an OpenCL runtime (with headers) or the CUDA toolkit - - CMake [ http://cmake.org ] (to build) + - CMake [ https://cmake.org ] (to build) Run CMake on the CMakeList.txt file in src/ and build according to your platform. Set CMAKE_INSTALL_PREFIX to your desired path if you @@ -21,4 +21,4 @@ There are instruction for installation in the CMake file which make install on Windows. If you also want the python bindings, run 'python setup.py install' -after building and installing the library which will install pygpu. \ No newline at end of file +after building and installing the library which will install pygpu. From 7777f0cd6334a084699f3c7e4f76cb220403ea83 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Fri, 5 May 2017 16:06:40 +0200 Subject: [PATCH 3/4] doc/installation: Use secure HTTPS URLs where possible --- doc/installation.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/installation.rst b/doc/installation.rst index 15c295c8f2..880decfa47 100644 --- a/doc/installation.rst +++ b/doc/installation.rst @@ -175,8 +175,8 @@ install step. It is up to you to copy the headers and libraries to an appropriate place. If you don't have Visual Studio installed, you can get the free -Express version from `here `_ in the -downloads section (select the "for Windows" edition). +Express version from `here `_ in the +downloads section (select the "for windows" edition). .. warning:: While you may get the library to compile using cygwin, this is not @@ -226,7 +226,7 @@ you can confirm which device it is running on. only the codename of the architecture the GPU belongs to (e.g. 'Tahiti'). -.. _cmake: http://cmake.org/ +.. _cmake: https://cmake.org/ .. _clblas: https://github.com/clMathLibraries/clBLAS @@ -238,10 +238,10 @@ you can confirm which device it is running on. .. _check: http://check.sourceforge.net/ -.. _python: http://python.org/ +.. _python: https://python.org/ .. _cython: http://cython.org/ -.. _nosetests: http://nose.readthedocs.org/en/latest/ +.. _nosetests: https://nose.readthedocs.org/en/latest/ .. _mako: http://www.makotemplates.org/ From a75162ec5df0fdf8ab954623217bd050437d2012 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Fri, 5 May 2017 16:09:42 +0200 Subject: [PATCH 4/4] doc: Always load Google Analytics script over secure connection MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Even if the site is not loaded over HTTPS, it’s good practice to load assets over HTTPS if that is possible. --- doc/_templates/layout.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/_templates/layout.html b/doc/_templates/layout.html index 2f40797e03..47d86e61c3 100644 --- a/doc/_templates/layout.html +++ b/doc/_templates/layout.html @@ -9,7 +9,7 @@ (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; - ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + ga.src = 'https://ssl.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();