Skip to content

Commit

Permalink
AVRO-2401: Make all external links https
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsbasjes committed Jun 20, 2019
1 parent ded9823 commit 3442c02
Show file tree
Hide file tree
Showing 51 changed files with 82 additions and 81 deletions.
6 changes: 3 additions & 3 deletions LICENSE.txt
Expand Up @@ -235,7 +235,7 @@ Some files include an additional copyright notice:
----------------------------------------------------------------------
License for msinttypes.h and msstdint.h used in the C implementation:
Source from:
http://code.google.com/p/msinttypes/downloads/detail?name=msinttypes-r26.zip
https://code.google.com/p/msinttypes/downloads/detail?name=msinttypes-r26.zip

Copyright (c) 2006-2008 Alexander Chemeris

Expand Down Expand Up @@ -401,7 +401,7 @@ File: Castle.Core.dll
Copyright (c) 2004-2015 Castle Project

License: Apache License version 2.0 (see above)
URL: http://opensource.org/licenses/Apache-2.0
URL: https://opensource.org/licenses/Apache-2.0

----------------------------------------------------------------------
License for the log4net binary included with the C# implementation:
Expand Down Expand Up @@ -527,7 +527,7 @@ All rights reserved.
License for g.Raphael 0.4.1 used by the Java IPC implementation:

Copyright (c) 2009 Dmitry Baranovskiy (http://g.raphaeljs.com)
Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license.
Licensed under the MIT (https://www.opensource.org/licenses/mit-license.php) license.

----------------------------------------------------------------------
License for jQuery v1.4.2 used by the Java IPC implementation:
Expand Down
2 changes: 1 addition & 1 deletion NOTICE.txt
Expand Up @@ -35,7 +35,7 @@ is:
The Odiago NOTICE at the time of the contribution:

| This product includes software developed by Odiago, Inc.
| (http://www.wibidata.com).
| (https://www.wibidata.com).

Apache Ivy includes the following in its NOTICE file:

Expand Down
2 changes: 1 addition & 1 deletion doc/NOTICE
Expand Up @@ -29,7 +29,7 @@ is:
The Odiago NOTICE at the time of the contribution:

| This product includes software developed by Odiago, Inc.
| (http://www.wibidata.com).
| (https://www.wibidata.com).

The documentation contains the default Apache Forrest skin.
Apache Forrest includes the following in its NOTICE file:
Expand Down
2 changes: 1 addition & 1 deletion doc/src/content/htmldocs/canonical-completeness.html
Expand Up @@ -198,7 +198,7 @@ <h2>2.0 Completeness argument for Parsing Canonical Form</h2>

<h2>3.0 Concluding remarks</h2>

Engineers <a href="http://www.aps.org/publications/apsnews/201002/physicshistory.cfm">have a history</a> of running ahead of formal mathematical proofs, when things "seem correct" to them. In this case, it seems pretty obvious that Parsing Canonical Form is complete as well as sound, and we should go ahead and treat it as such. At the same time, formal proofs often turn up corner cases and exceptions that are valuable to document and account for. Thus, it'd nice if someone could provide a better completeness argument than we've been able to so far.
Engineers <a href="https://www.aps.org/publications/apsnews/201002/physicshistory.cfm">have a history</a> of running ahead of formal mathematical proofs, when things "seem correct" to them. In this case, it seems pretty obvious that Parsing Canonical Form is complete as well as sound, and we should go ahead and treat it as such. At the same time, formal proofs often turn up corner cases and exceptions that are valuable to document and account for. Thus, it'd nice if someone could provide a better completeness argument than we've been able to so far.

</body>
</html>
2 changes: 1 addition & 1 deletion doc/src/content/xdocs/gettingstartedpython.xml
Expand Up @@ -157,7 +157,7 @@ reader.close()
Do make sure that you open your files in binary mode (i.e. using the modes
<code>wb</code> or <code>rb</code> respectively). Otherwise you might
generate corrupt files due to
<a href="http://docs.python.org/library/functions.html#open">
<a href="https://docs.python.org/library/functions.html#open">
automatic replacement</a> of newline characters with the
platform-specific representations.
</p>
Expand Down
2 changes: 1 addition & 1 deletion doc/src/content/xdocs/index.xml
Expand Up @@ -61,7 +61,7 @@
schema, correspondence between same named fields, missing
fields, extra fields, etc. can all be easily resolved.</p>
<p>Avro schemas are defined with
<a href="http://www.json.org/">JSON</a> . This
<a href="https://www.json.org/">JSON</a> . This
facilitates implementation in languages that already have
JSON libraries.</p>
</section>
Expand Down
4 changes: 2 additions & 2 deletions doc/src/content/xdocs/sasl.xml
Expand Up @@ -28,7 +28,7 @@
<body>
<section id="intro">
<title>Introduction</title>
<p>SASL (<a href="http://www.ietf.org/rfc/rfc2222.txt">RFC 2222</a>)
<p>SASL (<a href="https://www.ietf.org/rfc/rfc2222.txt">RFC 2222</a>)
provides a framework for authentication and security of network
protocols. Each protocol that uses SASL is meant to define a
SASL <em>profile</em>. This document provides a SASL profile
Expand Down Expand Up @@ -126,7 +126,7 @@
<section id="anonymous">
<title>Anonymous Mechanism</title>
<p>The SASL anonymous mechanism
(<a href="http://www.ietf.org/rfc/rfc2222.txt">RFC 2245</a>) is
(<a href="https://www.ietf.org/rfc/rfc2222.txt">RFC 2245</a>) is
quite simple to implement. In particular, an initial anonymous
request may be prefixed by the following static sequence:</p>
<source>| 0 | 0009 | ANONYMOUS | 0000 |</source>
Expand Down
2 changes: 1 addition & 1 deletion doc/src/content/xdocs/site.xml
Expand Up @@ -33,7 +33,7 @@ See https://forrest.apache.org/docs/linking.html for more info
Use elements project-name and group-name in skinconfig to change name of
your site or project that is usually shown at the top of page.
No matter what you configure for the href attribute, Forrest will
always use index.html when you request http://yourHost/
always use index.html when you request https://yourHost/
See FAQ: "How can I use a start-up-page other than index.html?"
-->

Expand Down
26 changes: 13 additions & 13 deletions doc/src/content/xdocs/spec.xml
Expand Up @@ -410,11 +410,11 @@
</li>
<li>a <code>float</code> is written as 4 bytes. The float is
converted into a 32-bit integer using a method equivalent
to <a href="http://java.sun.com/javase/6/docs/api/java/lang/Float.html#floatToIntBits%28float%29">Java's floatToIntBits</a> and then encoded
to <a href="https://java.sun.com/javase/6/docs/api/java/lang/Float.html#floatToIntBits%28float%29">Java's floatToIntBits</a> and then encoded
in little-endian format.</li>
<li>a <code>double</code> is written as 8 bytes. The double
is converted into a 64-bit integer using a method equivalent
to <a href="http://java.sun.com/javase/6/docs/api/java/lang/Double.html#doubleToLongBits%28double%29">Java's
to <a href="https://java.sun.com/javase/6/docs/api/java/lang/Double.html#doubleToLongBits%28double%29">Java's
doubleToLongBits</a> and then encoded in little-endian
format.</li>
<li><code>bytes</code> are encoded as
Expand Down Expand Up @@ -763,7 +763,7 @@
<title>deflate</title>
<p>The "deflate" codec writes the data block using the
deflate algorithm as specified in
<a href="http://www.isi.edu/in-notes/rfc1951.txt">RFC 1951</a>,
<a href="https://www.isi.edu/in-notes/rfc1951.txt">RFC 1951</a>,
and typically implemented using the zlib library. Note that this
format (unlike the "zlib format" in RFC 1950) does not have a
checksum.
Expand All @@ -775,7 +775,7 @@
<section>
<title>snappy</title>
<p>The "snappy" codec uses
Google's <a href="http://code.google.com/p/snappy/">Snappy</a>
Google's <a href="https://code.google.com/p/snappy/">Snappy</a>
compression library. Each compressed block is followed
by the 4-byte, big-endian CRC32 checksum of the
uncompressed data in the block.</p>
Expand Down Expand Up @@ -901,7 +901,7 @@
<section>
<title>HTTP as Transport</title>
<p>When
<a href="http://www.w3.org/Protocols/rfc2616/rfc2616.html">HTTP</a>
<a href="https://www.w3.org/Protocols/rfc2616/rfc2616.html">HTTP</a>
is used as a transport, each Avro message exchange is an
HTTP request/response pair. All messages of an Avro
protocol should share a single URL at an HTTP server.
Expand Down Expand Up @@ -1305,7 +1305,7 @@
much shorter bit string, its <em>fingerprint,</em> that
uniquely identifies the original data for all practical
purposes" (quoted from [<a
href="http://en.wikipedia.org/wiki/Fingerprint_(computing)">Wikipedia</a>]).
href="https://en.wikipedia.org/wiki/Fingerprint_(computing)">Wikipedia</a>]).
In the Avro context, fingerprints of Parsing Canonical Form
can be useful in a number of applications; for example, to
cache encoder and decoder objects, to tag data items with a
Expand All @@ -1323,14 +1323,14 @@
<ul>
<li> When applications can tolerate longer fingerprints, we
recommend using the <a
href="http://en.wikipedia.org/wiki/SHA-2">SHA-256 digest
href="https://en.wikipedia.org/wiki/SHA-2">SHA-256 digest
algorithm</a> to generate 256-bit fingerprints of Parsing
Canonical Forms. Most languages today have SHA-256
implementations in their libraries.</li>

<li> At the opposite extreme, the smallest fingerprint we
recommend is a 64-bit <a
href="http://en.wikipedia.org/wiki/Rabin_fingerprint">Rabin
href="https://en.wikipedia.org/wiki/Rabin_fingerprint">Rabin
fingerprint</a>. Below, we provide pseudo-code for this
algorithm that can be easily translated into any programming
language. 64-bit fingerprints should guarantee uniqueness
Expand All @@ -1342,7 +1342,7 @@
collision).</li>

<li>Between these two extremes, we recommend using the <a
href="http://en.wikipedia.org/wiki/MD5">MD5 message
href="https://en.wikipedia.org/wiki/MD5">MD5 message
digest</a> to generate 128-bit fingerprints. These make
sense only where very large numbers of schemas are being
manipulated (tens of millions); otherwise, 64-bit
Expand All @@ -1361,10 +1361,10 @@
fingerprints themselves.</p>

<p>Rabin fingerprints are <a
href="http://en.wikipedia.org/wiki/Cyclic_redundancy_check">cyclic
href="https://en.wikipedia.org/wiki/Cyclic_redundancy_check">cyclic
redundancy checks</a> computed using irreducible polynomials.
In the style of the Appendix of <a
href="http://www.ietf.org/rfc/rfc1952.txt">RFC&nbsp;1952</a>
href="https://www.ietf.org/rfc/rfc1952.txt">RFC&nbsp;1952</a>
(pg 10), which defines the CRC-32 algorithm, here's our
definition of the 64-bit AVRO fingerprinting algorithm:</p>

Expand Down Expand Up @@ -1393,7 +1393,7 @@ void initFPTable() {

<p> Readers interested in the mathematics behind this
algorithm may want to read <a
href="http://www.scribd.com/fb-6001967/d/84795-Crc">this book
href="https://www.scribd.com/fb-6001967/d/84795-Crc">this book
chapter.</a> (Unlike RFC-1952 and the book chapter, we prepend
a single one bit to messages. We do this because CRCs ignore
leading zero bits, which can be problematic. Our code
Expand Down Expand Up @@ -1476,7 +1476,7 @@ void initFPTable() {
</p>

<p>
A <code>uuid</code> logical type annotates an Avro <code>string</code>. The string has to conform with <a href="http://www.ietf.org/rfc/rfc4122.txt">RFC-4122</a>
A <code>uuid</code> logical type annotates an Avro <code>string</code>. The string has to conform with <a href="https://www.ietf.org/rfc/rfc4122.txt">RFC-4122</a>
</p>
</section>

Expand Down
2 changes: 1 addition & 1 deletion lang/c++/CMakeLists.txt
Expand Up @@ -61,7 +61,7 @@ if (AVRO_ADD_PROTECTOR_FLAGS)
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -fstack-protector-all -D_GLIBCXX_DEBUG")
# Unset _GLIBCXX_DEBUG for avrogencpp.cc because using Boost Program Options
# leads to linking errors when compiling with _GLIBCXX_DEBUG as described on
# http://stackoverflow.com/questions/19729036/
# https://stackoverflow.com/questions/19729036/
set_source_files_properties(impl/avrogencpp.cc PROPERTIES COMPILE_FLAGS "-U_GLIBCXX_DEBUG")
endif ()
endif ()
Expand Down
4 changes: 2 additions & 2 deletions lang/c++/MainPage.dox
Expand Up @@ -56,8 +56,8 @@ One should be able to build Avro C++ on (1) any UNIX flavor including cygwin for
In order to build Avro C++, one needs the following:
<ul>
<li>A C++ compiler and runtime libraries.
<li>Boost library version 1.38 or later. Apart from the header-only libraries of Boost, Avro C++ requires filesystem, iostreams, system and program_options libraries. Please see <a href="http://www.boost.org/">http://www.boost.org</a> or your platform's documentation for details on how to set up Boost for your platform.
<li>CMake build tool version 2.6 or later. Please see <a href="http://www.cmake.org">http://www.cmake.org</a> or your platform's documentation for details on how to set up CMake for your system.
<li>Boost library version 1.38 or later. Apart from the header-only libraries of Boost, Avro C++ requires filesystem, iostreams, system and program_options libraries. Please see <a href="https://www.boost.org/">https://www.boost.org</a> or your platform's documentation for details on how to set up Boost for your platform.
<li>CMake build tool version 2.6 or later. Please see <a href="https://www.cmake.org">https://www.cmake.org</a> or your platform's documentation for details on how to set up CMake for your system.
<li>Python. If not already present, please consult your platform-specific documentation on how to install Python on your system.
</ul>

Expand Down
2 changes: 1 addition & 1 deletion lang/c++/m4/m4_ax_boost_asio.m4
@@ -1,5 +1,5 @@
# ===========================================================================
# http://www.gnu.org/software/autoconf-archive/ax_boost_asio.html
# https://www.gnu.org/software/autoconf-archive/ax_boost_asio.html
# ===========================================================================
#
# SYNOPSIS
Expand Down
4 changes: 2 additions & 2 deletions lang/c/INSTALL
Expand Up @@ -4,7 +4,7 @@ Installation instructions
The Avro library is written in ANSI C. It uses CMake [1] as its build
manager.

[1] http://www.cmake.org/
[1] https://www.cmake.org/


Prerequisites
Expand All @@ -23,7 +23,7 @@ To build the documentation you need asciidoc [3] and source-highlight [4]
installed. The build scripts will automatically detect whether these
tools are installed, and will skip the documentation if they're not.

[1] http://www.cmake.org/
[1] https://www.cmake.org/
[2] http://www.digip.org/jansson/
[3] http://www.methods.co.nz/asciidoc
[4] http://www.gnu.org/software/src-highlite/
Expand Down
2 changes: 1 addition & 1 deletion lang/c/LICENSE
Expand Up @@ -204,7 +204,7 @@
----------------------------------------------------------------------
License for msinttypes.h and msstdint.h used in the C implementation:
Source from:
http://code.google.com/p/msinttypes/downloads/detail?name=msinttypes-r26.zip
https://code.google.com/p/msinttypes/downloads/detail?name=msinttypes-r26.zip

Copyright (c) 2006-2008 Alexander Chemeris

Expand Down
4 changes: 2 additions & 2 deletions lang/c/README.maintaining_win32.txt
Expand Up @@ -33,7 +33,7 @@ Limitations of Windows Build:

2. The shared library, i.e. DLL, for avro has not been built. There
are instructions on how to build DLLs using CMake at
http://www.cmake.org/Wiki/BuildingWinDLL
https://www.cmake.org/Wiki/BuildingWinDLL

3. Currently avropipe.c and avromod.c do not compile under Windows. In
order for them to compile we would have to either port getopt() to
Expand Down Expand Up @@ -102,7 +102,7 @@ Instructions for Maintenance
preprocessor macro, whose only purpose is to properly expand its
input. This method is described here:

http://stackoverflow.com/questions/2575864/the-problem-about-different-treatment-to-va-args-when-using-vs-2008-and-gcc
https://stackoverflow.com/questions/2575864/the-problem-about-different-treatment-to-va-args-when-using-vs-2008-and-gcc
See the solution described by monkeyman.

This method is used in the macro expand_args(...) in test_avro_values.c.
Expand Down
2 changes: 1 addition & 1 deletion lang/c/src/CMakeLists.txt
Expand Up @@ -89,7 +89,7 @@ target_link_libraries(avro-static ${JANSSON_LIBRARIES} ${CODEC_LIBRARIES} ${THRE
set_target_properties(avro-static PROPERTIES OUTPUT_NAME avro)

if (NOT WIN32)
# TODO: Create Windows DLLs. See http://www.cmake.org/Wiki/BuildingWinDLL
# TODO: Create Windows DLLs. See https://www.cmake.org/Wiki/BuildingWinDLL
add_library(avro-shared SHARED ${AVRO_SRC})
target_link_libraries(avro-shared ${JANSSON_LIBRARIES} ${CODEC_LIBRARIES} ${THREADS_LIBRARIES})
set_target_properties(avro-shared PROPERTIES
Expand Down
2 changes: 1 addition & 1 deletion lang/c/src/value-hash.c
Expand Up @@ -35,7 +35,7 @@
* We currently use MurmurHash3 [1], which is public domain, as our hash
* implementation.
*
* [1] http://code.google.com/p/smhasher/
* [1] https://code.google.com/p/smhasher/
*/

/* Our seed is the MurmurHash3 of the string "avro.value" */
Expand Down
2 changes: 1 addition & 1 deletion lang/c/tests/test_avro_values.c
Expand Up @@ -126,7 +126,7 @@ _check_invalid_methods(const char *name, avro_value_t *val)

/* For a description on GCC vs Visual Studio 2008 usage of variadic
* macros see:
* http://stackoverflow.com/questions/2575864/the-problem-about-different
* https://stackoverflow.com/questions/2575864/the-problem-about-different
* -treatment-to-va-args-when-using-vs-2008-and-gcc
*/
#define expand_args(...) __VA_ARGS__
Expand Down
2 changes: 1 addition & 1 deletion lang/c/version.sh
Expand Up @@ -47,7 +47,7 @@ if test $# != 1; then
exit 1
fi

# http://sources.redhat.com/autobook/autobook/autobook_91.html
# https://www.sourceware.org/autobook/autobook/autobook_91.html
# 'Current' is the most recent interface number that this library implements
libcurrent=$(($libavro_micro_version - $libavro_interface_age))
# The implementation number of the 'current' interface
Expand Down
2 changes: 1 addition & 1 deletion lang/csharp/LICENSE
Expand Up @@ -233,7 +233,7 @@ File: Castle.Core.dll
Copyright (c) 2004-2015 Castle Project

License: Apache License version 2.0 (see above)
URL: http://opensource.org/licenses/Apache-2.0
URL: https://opensource.org/licenses/Apache-2.0

----------------------------------------------------------------------
License for the log4net binary included with the C# implementation:
Expand Down
2 changes: 1 addition & 1 deletion lang/csharp/src/apache/main/CodeGen/CodeGenUtil.cs
Expand Up @@ -56,7 +56,7 @@ is regenerated
</auto-generated>
------------------------------------------------------------------------------");

// Visual Studio 2010 http://msdn.microsoft.com/en-us/library/x53a06bb.aspx
// Visual Studio 2010 https://msdn.microsoft.com/en-us/library/x53a06bb.aspx
ReservedKeywords = new HashSet<string>() {
"abstract","as", "base", "bool", "break", "byte", "case", "catch", "char", "checked", "class",
"const", "continue", "decimal", "default", "delegate", "do", "double", "else", "enum", "event",
Expand Down
4 changes: 2 additions & 2 deletions lang/java/avro/src/main/java/org/apache/avro/Protocol.java
Expand Up @@ -392,14 +392,14 @@ public int hashCode() {
return name.hashCode() + namespace.hashCode() + types.hashCode() + messages.hashCode() + propsHashCode();
}

/** Render this as <a href="http://json.org/">JSON</a>. */
/** Render this as <a href="https://json.org/">JSON</a>. */
@Override
public String toString() {
return toString(false);
}

/**
* Render this as <a href="http://json.org/">JSON</a>.
* Render this as <a href="https://json.org/">JSON</a>.
*
* @param pretty if true, pretty-print JSON.
*/
Expand Down
8 changes: 4 additions & 4 deletions lang/java/avro/src/main/java/org/apache/avro/Schema.java
Expand Up @@ -346,14 +346,14 @@ public int getFixedSize() {
throw new AvroRuntimeException("Not fixed: " + this);
}

/** Render this as <a href="http://json.org/">JSON</a>. */
/** Render this as <a href="https://json.org/">JSON</a>. */
@Override
public String toString() {
return toString(false);
}

/**
* Render this as <a href="http://json.org/">JSON</a>.
* Render this as <a href="https://json.org/">JSON</a>.
*
* @param pretty if true, pretty-print JSON.
*/
Expand Down Expand Up @@ -1403,7 +1403,7 @@ public static Schema parse(InputStream in) throws IOException {
}

/**
* Construct a schema from <a href="http://json.org/">JSON</a> text.
* Construct a schema from <a href="https://json.org/">JSON</a> text.
*
* @deprecated use {@link Schema.Parser} instead.
*/
Expand All @@ -1413,7 +1413,7 @@ public static Schema parse(String jsonSchema) {
}

/**
* Construct a schema from <a href="http://json.org/">JSON</a> text.
* Construct a schema from <a href="https://json.org/">JSON</a> text.
*
* @param validate true if names should be validated, false if not.
* @deprecated use {@link Schema.Parser} instead.
Expand Down

0 comments on commit 3442c02

Please sign in to comment.