Replace http:// with https:// for various links throughout codebase

This commit is contained in:
Iain Buclaw 2021-12-22 18:06:20 +01:00 committed by The Dlang Bot
parent e2c591103a
commit 2e50d4f0e5
14 changed files with 19 additions and 19 deletions

View file

@ -1,4 +1,4 @@
# EditorConfig file: http://editorconfig.org/
# EditorConfig file: https://editorconfig.org/
root = true

View file

@ -43,7 +43,7 @@ LFLAGS =
## Basically, if you had some Makefile knowledge, this is all you need.
##
## For explanation / more advanced use, see:
## http://www.gnu.org/software/make/manual/html_node/Suffix-Rules.html
## https://www.gnu.org/software/make/manual/html_node/Suffix-Rules.html
.SUFFIXES: .d
.d.o:
$(DMD) $(DFLAGS) -c $< -of$@

View file

@ -2,9 +2,9 @@
* Definitions for DWARF debug infos (v3 to v5)
*
* See_Also:
* - $(LINK2 http://www.dwarfstd.org/doc/Dwarf3.pdf, DWARFv3 standard)
* - $(LINK2 http://www.dwarfstd.org/doc/DWARF4.pdf, DWARFv4 standard)
* - $(LINK2 http://www.dwarfstd.org/doc/DWARF5.pdf, DWARFv5 standard)
* - $(LINK2 https://www.dwarfstd.org/doc/Dwarf3.pdf, DWARFv3 standard)
* - $(LINK2 https://www.dwarfstd.org/doc/DWARF4.pdf, DWARFv4 standard)
* - $(LINK2 https://www.dwarfstd.org/doc/DWARF5.pdf, DWARFv5 standard)
* Source: $(DMDSRC backend/_dwarf.d)
*/

View file

@ -3378,7 +3378,7 @@ void ElfObj_dehinfo(Symbol *scc)
private void obj_rtinit()
{
// section start/stop symbols are defined by the linker (http://www.airs.com/blog/archives/56)
// section start/stop symbols are defined by the linker (https://www.airs.com/blog/archives/56)
// make the symbols hidden so that each DSO gets its own brackets
IDXSYM minfo_beg, minfo_end, dso_rec;

View file

@ -1162,7 +1162,7 @@ void MsCoffObj_staticdtor(Symbol *s)
void MsCoffObj_setModuleCtorDtor(Symbol *sfunc, bool isCtor)
{
// Also see https://blogs.msdn.microsoft.com/vcblog/2006/10/20/crt-initialization/
// and http://www.codeguru.com/cpp/misc/misc/applicationcontrol/article.php/c6945/Running-Code-Before-and-After-Main.htm
// and https://www.codeguru.com/cplusplus/running-code-before-and-after-main/
const int align_ = I64 ? IMAGE_SCN_ALIGN_8BYTES : IMAGE_SCN_ALIGN_4BYTES;
const int attr = IMAGE_SCN_CNT_INITIALIZED_DATA | align_ | IMAGE_SCN_MEM_READ;
const int seg = MsCoffObj_getsegment(isCtor ? ".CRT$XCU" : ".CRT$XPU", attr);

View file

@ -57,7 +57,7 @@ import dmd.target;
* `true` if errors occurred
* References:
* C99 7.19.6.1
* http://www.cplusplus.com/reference/cstdio/printf/
* https://www.cplusplus.com/reference/cstdio/printf/
*/
bool checkPrintfFormat(ref const Loc loc, scope const char[] format, scope Expression[] args, bool isVa_list)
{
@ -331,7 +331,7 @@ bool checkPrintfFormat(ref const Loc loc, scope const char[] format, scope Expre
* `true` if errors occurred
* References:
* C99 7.19.6.2
* http://www.cplusplus.com/reference/cstdio/scanf/
* https://www.cplusplus.com/reference/cstdio/scanf/
*/
bool checkScanfFormat(ref const Loc loc, scope const char[] format, scope Expression[] args, bool isVa_list)
{
@ -955,7 +955,7 @@ Format parseGenericFormatSpecifier(scope const char[] format,
case 'm':
if (useGNUExts)
{
// http://www.gnu.org/software/libc/manual/html_node/Other-Output-Conversions.html
// https://www.gnu.org/software/libc/manual/html_node/Other-Output-Conversions.html
specifier = Format.GNU_m;
break;
}

View file

@ -837,7 +837,7 @@ extern (C++) final class Module : Package
if (buf.length >= 2)
{
/* Convert all non-UTF-8 formats to UTF-8.
* BOM : http://www.unicode.org/faq/utf_bom.html
* BOM : https://www.unicode.org/faq/utf_bom.html
* 00 00 FE FF UTF-32BE, big-endian
* FF FE 00 00 UTF-32LE, little-endian
* FE FF UTF-16BE, big-endian

View file

@ -36,8 +36,8 @@ private:
/*********************************************
* Convert from named entity to its encoding.
* For reference:
* http://www.htmlhelp.com/reference/html40/entities/
* http://www.w3.org/2003/entities/2007/w3centities-f.ent
* https://www.htmlhelp.com/reference/html40/entities/
* https://www.w3.org/2003/entities/2007/w3centities-f.ent
*/
struct NameId
{

View file

@ -5980,7 +5980,7 @@ private extern (C++) final class ExpressionSemanticVisitor : Visitor
/* Be wary of CWE-22: Improper Limitation of a Pathname to a Restricted Directory
* ('Path Traversal') attacks.
* http://cwe.mitre.org/data/definitions/22.html
* https://cwe.mitre.org/data/definitions/22.html
*/
if (FileName.absolute(namez))

View file

@ -162,7 +162,7 @@ extern (C++) struct Param
// https://issues.dlang.org/show_bug.cgi?id=14246
bool fieldwise; // do struct equality testing field-wise rather than by memcmp()
bool rvalueRefParam; // allow rvalues to be arguments to ref parameters
// http://dconf.org/2019/talks/alexandrescu.html
// https://dconf.org/2019/talks/alexandrescu.html
// https://gist.github.com/andralex/e5405a5d773f07f73196c05f8339435a
// https://digitalmars.com/d/archives/digitalmars/D/Binding_rvalues_to_ref_parameters_redux_325087.html
// Implementation: https://github.com/dlang/dmd/pull/9817

View file

@ -255,7 +255,7 @@ struct SignExtendedNumber
uinteger_t v = copySign(value, negative);
// compute base-2 log of 'v' to determine the maximum allowed bits to shift.
// Ref: http://graphics.stanford.edu/~seander/bithacks.html#IntegerLog
// Ref: https://graphics.stanford.edu/~seander/bithacks.html#IntegerLog
// Why is this a size_t? Looks like a bug.
size_t r, s;

View file

@ -31,7 +31,7 @@ inline size_t ld_sprint(char* str, int fmt, longdouble x)
if (((longdouble)(unsigned long long)x) == x)
{ // ((1.5 -> 1 -> 1.0) == 1.5) is false
// ((1.0 -> 1 -> 1.0) == 1.0) is true
// see http://en.cppreference.com/w/cpp/io/c/fprintf
// see https://en.cppreference.com/w/cpp/io/c/fprintf
char sfmt[5] = "%#Lg";
sfmt[3] = fmt;
return sprintf(str, sfmt, x);

View file

@ -284,7 +284,7 @@ private:
size_t findSlot(hash_t hash, scope const(char)[] str) const @nogc nothrow pure
{
// quadratic probing using triangular numbers
// http://stackoverflow.com/questions/2348187/moving-from-linear-probing-to-quadratic-probing-hash-collisons/2349774#2349774
// https://stackoverflow.com/questions/2348187/moving-from-linear-probing-to-quadratic-probing-hash-collisons/2349774#2349774
for (size_t i = hash & (table.length - 1), j = 1;; ++j)
{
const(StringValue!T)* sv;

View file

@ -64,7 +64,7 @@ alias cm = C.m;
alias cmset = C.m.set;
// adapted from http://thecybershadow.net/d/dconf2017/#/21
// adapted from https://thecybershadow.net/d/dconf2017/#/21
struct S { string a, b, c; }
static string printField(alias field)()