Skip to content

Commit

Permalink
Update links (doctest#331) - http => https
Browse files Browse the repository at this point in the history
  • Loading branch information
Coeur authored and onqtam committed Feb 24, 2020
1 parent 2f3fd5e commit f55bdc7
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .clang-format
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# http://clang.llvm.org/docs/ClangFormatStyleOptions.html
# https://clang.llvm.org/docs/ClangFormatStyleOptions.html

DisableFormat: false
Language: Cpp
Expand Down
2 changes: 1 addition & 1 deletion doc/html_generated/roadmap.html
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
- templated fixture test cases
- test with missed warning flags for GCC
- https://github.com/Barro/compiler-warnings
- http://stackoverflow.com/a/34971392/3162383
- https://stackoverflow.com/a/34971392/3162383
- utf8 / unicode ???
- https://github.com/catchorg/Catch2/pull/903
- handle ```wchar``` strings???
Expand Down
2 changes: 1 addition & 1 deletion doc/markdown/roadmap.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ Planned features for future releases - order changes constantly... Also look thr
- templated fixture test cases
- test with missed warning flags for GCC
- https://github.com/Barro/compiler-warnings
- http://stackoverflow.com/a/34971392/3162383
- https://stackoverflow.com/a/34971392/3162383
- utf8 / unicode ???
- https://github.com/catchorg/Catch2/pull/903
- handle ```wchar``` strings???
Expand Down
14 changes: 7 additions & 7 deletions doctest/doctest.h
Original file line number Diff line number Diff line change
Expand Up @@ -1037,7 +1037,7 @@ namespace detail {

Result(bool passed, const String& decomposition = String());

// forbidding some expressions based on this table: http://en.cppreference.com/w/cpp/language/operator_precedence
// forbidding some expressions based on this table: https://en.cppreference.com/w/cpp/language/operator_precedence
DOCTEST_FORBIT_EXPRESSION(Result, &)
DOCTEST_FORBIT_EXPRESSION(Result, ^)
DOCTEST_FORBIT_EXPRESSION(Result, |)
Expand Down Expand Up @@ -1079,7 +1079,7 @@ namespace detail {
//DOCTEST_GCC_SUPPRESS_WARNING("-Wfloat-equal")

DOCTEST_MSVC_SUPPRESS_WARNING_PUSH
// http://stackoverflow.com/questions/39479163 what's the difference between 4018 and 4389
// https://stackoverflow.com/questions/39479163 what's the difference between 4018 and 4389
DOCTEST_MSVC_SUPPRESS_WARNING(4388) // signed/unsigned mismatch
DOCTEST_MSVC_SUPPRESS_WARNING(4389) // 'operator' : signed/unsigned mismatch
DOCTEST_MSVC_SUPPRESS_WARNING(4018) // 'expression' : signed/unsigned mismatch
Expand Down Expand Up @@ -1161,7 +1161,7 @@ namespace detail {
DOCTEST_DO_BINARY_EXPRESSION_COMPARISON(<=, " <= ", DOCTEST_CMP_LE) //!OCLINT bitwise operator in conditional
// clang-format on

// forbidding some expressions based on this table: http://en.cppreference.com/w/cpp/language/operator_precedence
// forbidding some expressions based on this table: https://en.cppreference.com/w/cpp/language/operator_precedence
DOCTEST_FORBIT_EXPRESSION(Expression_lhs, &)
DOCTEST_FORBIT_EXPRESSION(Expression_lhs, ^)
DOCTEST_FORBIT_EXPRESSION(Expression_lhs, |)
Expand Down Expand Up @@ -3817,7 +3817,7 @@ namespace detail {
#else // DOCTEST_IS_DEBUGGER_ACTIVE
#ifdef DOCTEST_PLATFORM_MAC
// The following function is taken directly from the following technical note:
// http://developer.apple.com/library/mac/#qa/qa2004/qa1361.html
// https://developer.apple.com/library/archive/qa/qa1361/_index.html
// Returns true if the current process is being debugged (either
// running under the debugger or has a debugger attached post facto).
bool isDebuggerActive() {
Expand Down Expand Up @@ -4379,7 +4379,7 @@ namespace {

void XmlEncode::encodeTo( std::ostream& os ) const {
// Apostrophe escaping not necessary if we always use " to write attributes
// (see: http://www.w3.org/TR/xml/#syntax)
// (see: https://www.w3.org/TR/xml/#syntax)

for( std::size_t idx = 0; idx < m_str.size(); ++ idx ) {
uchar c = m_str[idx];
Expand All @@ -4388,7 +4388,7 @@ namespace {
case '&': os << "&amp;"; break;

case '>':
// See: http://www.w3.org/TR/xml/#syntax
// See: https://www.w3.org/TR/xml/#syntax
if (idx > 2 && m_str[idx - 1] == ']' && m_str[idx - 2] == ']')
os << "&gt;";
else
Expand All @@ -4406,7 +4406,7 @@ namespace {
// Check for control characters and invalid utf-8

// Escape control characters in standard ascii
// see http://stackoverflow.com/questions/404107/why-are-control-characters-illegal-in-xml-1-0
// see https://stackoverflow.com/questions/404107/why-are-control-characters-illegal-in-xml-1-0
if (c < 0x09 || (c > 0x0D && c < 0x20) || c == 0x7F) {
hexEscapeChar(os, c);
break;
Expand Down
8 changes: 4 additions & 4 deletions doctest/parts/doctest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1205,7 +1205,7 @@ namespace detail {
#else // DOCTEST_IS_DEBUGGER_ACTIVE
#ifdef DOCTEST_PLATFORM_MAC
// The following function is taken directly from the following technical note:
// http://developer.apple.com/library/mac/#qa/qa2004/qa1361.html
// https://developer.apple.com/library/archive/qa/qa1361/_index.html
// Returns true if the current process is being debugged (either
// running under the debugger or has a debugger attached post facto).
bool isDebuggerActive() {
Expand Down Expand Up @@ -1767,7 +1767,7 @@ namespace {

void XmlEncode::encodeTo( std::ostream& os ) const {
// Apostrophe escaping not necessary if we always use " to write attributes
// (see: http://www.w3.org/TR/xml/#syntax)
// (see: https://www.w3.org/TR/xml/#syntax)

for( std::size_t idx = 0; idx < m_str.size(); ++ idx ) {
uchar c = m_str[idx];
Expand All @@ -1776,7 +1776,7 @@ namespace {
case '&': os << "&amp;"; break;

case '>':
// See: http://www.w3.org/TR/xml/#syntax
// See: https://www.w3.org/TR/xml/#syntax
if (idx > 2 && m_str[idx - 1] == ']' && m_str[idx - 2] == ']')
os << "&gt;";
else
Expand All @@ -1794,7 +1794,7 @@ namespace {
// Check for control characters and invalid utf-8

// Escape control characters in standard ascii
// see http://stackoverflow.com/questions/404107/why-are-control-characters-illegal-in-xml-1-0
// see https://stackoverflow.com/questions/404107/why-are-control-characters-illegal-in-xml-1-0
if (c < 0x09 || (c > 0x0D && c < 0x20) || c == 0x7F) {
hexEscapeChar(os, c);
break;
Expand Down
6 changes: 3 additions & 3 deletions doctest/parts/doctest_fwd.h
Original file line number Diff line number Diff line change
Expand Up @@ -1034,7 +1034,7 @@ namespace detail {

Result(bool passed, const String& decomposition = String());

// forbidding some expressions based on this table: http://en.cppreference.com/w/cpp/language/operator_precedence
// forbidding some expressions based on this table: https://en.cppreference.com/w/cpp/language/operator_precedence
DOCTEST_FORBIT_EXPRESSION(Result, &)
DOCTEST_FORBIT_EXPRESSION(Result, ^)
DOCTEST_FORBIT_EXPRESSION(Result, |)
Expand Down Expand Up @@ -1076,7 +1076,7 @@ namespace detail {
//DOCTEST_GCC_SUPPRESS_WARNING("-Wfloat-equal")

DOCTEST_MSVC_SUPPRESS_WARNING_PUSH
// http://stackoverflow.com/questions/39479163 what's the difference between 4018 and 4389
// https://stackoverflow.com/questions/39479163 what's the difference between 4018 and 4389
DOCTEST_MSVC_SUPPRESS_WARNING(4388) // signed/unsigned mismatch
DOCTEST_MSVC_SUPPRESS_WARNING(4389) // 'operator' : signed/unsigned mismatch
DOCTEST_MSVC_SUPPRESS_WARNING(4018) // 'expression' : signed/unsigned mismatch
Expand Down Expand Up @@ -1158,7 +1158,7 @@ namespace detail {
DOCTEST_DO_BINARY_EXPRESSION_COMPARISON(<=, " <= ", DOCTEST_CMP_LE) //!OCLINT bitwise operator in conditional
// clang-format on

// forbidding some expressions based on this table: http://en.cppreference.com/w/cpp/language/operator_precedence
// forbidding some expressions based on this table: https://en.cppreference.com/w/cpp/language/operator_precedence
DOCTEST_FORBIT_EXPRESSION(Expression_lhs, &)
DOCTEST_FORBIT_EXPRESSION(Expression_lhs, ^)
DOCTEST_FORBIT_EXPRESSION(Expression_lhs, |)
Expand Down
2 changes: 1 addition & 1 deletion scripts/cmake/common.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "GNU")
# no way to silence it in the expression decomposition macros: _Pragma() in macros doesn't work for the c++ front-end of g++
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55578
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69543
# Also the warning is completely worthless nowadays - http://stackoverflow.com/questions/14016993
# Also the warning is completely worthless nowadays - https://stackoverflow.com/questions/14016993
#add_compiler_flags(-Waggregate-return)

if(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 5.0)
Expand Down
2 changes: 1 addition & 1 deletion scripts/random_dev_notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ also check if anything should be added here:
https://github.com/martinmoene/catch-lest-other-comparison

== how to deal with pull requests for the main branch instead of the dev branch
- http://stackoverflow.com/questions/9135913/merge-pull-request-to-a-different-branch-than-default-in-github
- https://stackoverflow.com/questions/9135913/merge-pull-request-to-a-different-branch-than-default-in-github
- git fetch origin pull/ID/head:BRANCHNAME << BRANCHNAME should be a new local branch! and then rebase it

== other
Expand Down
2 changes: 1 addition & 1 deletion scripts/send_to_wandbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

# Strips C and C++ comments from the given string.
#
# Copied from http://stackoverflow.com/a/241506/627587.
# Copied from https://stackoverflow.com/a/241506/627587.
def strip_comments(text):
def replacer(match):
s = match.group(0)
Expand Down

0 comments on commit f55bdc7

Please sign in to comment.