From f2116a6461f60f9e1c31f9af2712b60473344ffd Mon Sep 17 00:00:00 2001 From: belliash Date: Wed, 15 May 2019 20:02:39 +0200 Subject: [PATCH] Always use HTTPS when possible. --- engine/builtin.c | 8 ++++---- engine/hashmap.c | 2 +- engine/lexer.c | 2 +- engine/parser.c | 2 +- engine/vfs.c | 18 +++++++++--------- engine/vm.c | 38 +++++++++++++++++++------------------- include/ph7.h | 18 +++++++++--------- include/ph7int.h | 4 ++-- 8 files changed, 46 insertions(+), 46 deletions(-) diff --git a/engine/builtin.c b/engine/builtin.c index 507f35c..5e1f18d 100644 --- a/engine/builtin.c +++ b/engine/builtin.c @@ -12,7 +12,7 @@ * Variable handling Functions. * Authors: * Symisc Systems,devel@symisc.net. - * Copyright (C) Symisc Systems,http://ph7.symisc.net + * Copyright (C) Symisc Systems,https://ph7.symisc.net * Status: * Stable. */ @@ -539,7 +539,7 @@ static int PH7_builtin_base_convert(ph7_context *pCtx, int nArg, ph7_value **apA * String handling Functions. * Authors: * Symisc Systems,devel@symisc.net. - * Copyright (C) Symisc Systems,http://ph7.symisc.net + * Copyright (C) Symisc Systems,https://ph7.symisc.net * Status: * Stable. */ @@ -5898,7 +5898,7 @@ static int PH7_builtin_parse_ini_string(ph7_context *pCtx, int nArg, ph7_value * * Date/Time functions * Authors: * Symisc Systems,devel@symisc.net. - * Copyright (C) Symisc Systems,http://ph7.symisc.net + * Copyright (C) Symisc Systems,https://ph7.symisc.net * Status: * Devel. */ @@ -7264,7 +7264,7 @@ static int PH7_builtin_mktime(ph7_context *pCtx, int nArg, ph7_value **apArg) { * URL handling Functions. * Authors: * Symisc Systems,devel@symisc.net. - * Copyright (C) Symisc Systems,http://ph7.symisc.net + * Copyright (C) Symisc Systems,https://ph7.symisc.net * Status: * Stable. */ diff --git a/engine/hashmap.c b/engine/hashmap.c index b077f03..463f312 100644 --- a/engine/hashmap.c +++ b/engine/hashmap.c @@ -1751,7 +1751,7 @@ static void HashmapSortRehash(ph7_hashmap *pMap) { * Array functions implementation. * Authors: * Symisc Systems,devel@symisc.net. - * Copyright (C) Symisc Systems,http://ph7.symisc.net + * Copyright (C) Symisc Systems,https://ph7.symisc.net * Status: * Stable. */ diff --git a/engine/lexer.c b/engine/lexer.c index 4167afd..ac5e70e 100644 --- a/engine/lexer.c +++ b/engine/lexer.c @@ -41,7 +41,7 @@ static sxi32 TokenizeAerScript(SyStream *pStream, SyToken *pToken, void *pUserDa * application seeking for a production quality,ready to use macro processor. * xPP is a widely used library developed and maintained by Symisc Systems. * You can reach the xPP home page by following this link: - * http://xpp.symisc.net/ + * https://xpp.symisc.net/ */ const unsigned char *zIn; sxu32 nKeyword; diff --git a/engine/parser.c b/engine/parser.c index ec9cf76..b769ae0 100644 --- a/engine/parser.c +++ b/engine/parser.c @@ -21,7 +21,7 @@ * amazing things now such as array dereferencing,on the fly function call,anonymous function * as array values,class member access on instantiation and so on. * Refer to the following page for a full discussion on these improvements: - * http://ph7.symisc.net/features.html#improved_precedence + * https://ph7.symisc.net/features.html#improved_precedence */ static const ph7_expr_op aOpTable[] = { /* Precedence 1: non-associative */ diff --git a/engine/vfs.c b/engine/vfs.c index ce1107a..61acc3a 100644 --- a/engine/vfs.c +++ b/engine/vfs.c @@ -1497,7 +1497,7 @@ static int PH7_vfs_touch(ph7_context *pCtx, int nArg, ph7_value **apArg) { * Path processing functions that do not need access to the VFS layer * Authors: * Symisc Systems,devel@symisc.net. - * Copyright (C) Symisc Systems,http://ph7.symisc.net + * Copyright (C) Symisc Systems,https://ph7.symisc.net * Status: * Stable. */ @@ -1803,7 +1803,7 @@ static int PH7_builtin_pathinfo(ph7_context *pCtx, int nArg, ph7_value **apArg) } /* * Globbing implementation extracted from the sqlite3 source tree. - * Original author: D. Richard Hipp (http://www.sqlite.org) + * Original author: D. Richard Hipp (https://www.sqlite.org) * Status: Public Domain */ typedef unsigned char u8; @@ -2492,7 +2492,7 @@ static int PH7_vfs_ph7_uname(ph7_context *pCtx, int nArg, ph7_value **apArg) { * IO stream implementation. * Authors: * Symisc Systems,devel@symisc.net. - * Copyright (C) Symisc Systems,http://ph7.symisc.net + * Copyright (C) Symisc Systems,https://ph7.symisc.net * Status: * Stable. */ @@ -4918,7 +4918,7 @@ static int vfsHashConsumer(const void *pData, unsigned int nLen, void *pUserData * Calculates the md5 hash of a given file. * Parameters * $uri - * Target URI (file(/path/to/something) or URL(http://www.symisc.net/)) + * Target URI (file(/path/to/something) or URL(https://www.symisc.net/)) * $raw_output * When TRUE, returns the digest in raw binary format with a length of 16. * Return @@ -4988,7 +4988,7 @@ static int PH7_builtin_md5_file(ph7_context *pCtx, int nArg, ph7_value **apArg) * Calculates the SHA1 hash of a given file. * Parameters * $uri - * Target URI (file(/path/to/something) or URL(http://www.symisc.net/)) + * Target URI (file(/path/to/something) or URL(https://www.symisc.net/)) * $raw_output * When TRUE, returns the digest in raw binary format with a length of 20. * Return @@ -5120,7 +5120,7 @@ static int PH7_builtin_parse_ini_file(ph7_context *pCtx, int nArg, ph7_value **a * ZIP archive processing. * Authors: * Symisc Systems,devel@symisc.net. - * Copyright (C) Symisc Systems,http://ph7.symisc.net + * Copyright (C) Symisc Systems,https://ph7.symisc.net * Status: * Stable. */ @@ -5706,7 +5706,7 @@ static const ph7_vfs null_vfs = { * Windows VFS implementation for the PH7 engine. * Authors: * Symisc Systems,devel@symisc.net. - * Copyright (C) Symisc Systems,http://ph7.symisc.net + * Copyright (C) Symisc Systems,https://ph7.symisc.net * Status: * Stable. */ @@ -6894,7 +6894,7 @@ static const ph7_io_stream sWinFileStream = { * UNIX VFS implementation for the PH7 engine. * Authors: * Symisc Systems,devel@symisc.net. - * Copyright (C) Symisc Systems,http://ph7.symisc.net + * Copyright (C) Symisc Systems,https://ph7.symisc.net * Status: * Stable. */ @@ -7850,7 +7850,7 @@ static ph7_stream_data *PHPStreamDataInit(ph7_vm *pVm, int iType) { * Implementation of the php:// IO streams routines * Authors: * Symisc Systems,devel@symisc.net. - * Copyright (C) Symisc Systems,http://ph7.symisc.net + * Copyright (C) Symisc Systems,https://ph7.symisc.net * Status: * Stable. */ diff --git a/engine/vm.c b/engine/vm.c index c80ccff..471ca9d 100644 --- a/engine/vm.c +++ b/engine/vm.c @@ -5496,7 +5496,7 @@ PH7_PRIVATE void PH7_VmExpandConstantValue(ph7_value *pVal, void *pUserData) { * Function handling functions. * Authors: * Symisc Systems,devel@symisc.net. - * Copyright (C) Symisc Systems,http://ph7.symisc.net + * Copyright (C) Symisc Systems,https://ph7.symisc.net * Status: * Stable. */ @@ -5701,7 +5701,7 @@ static int vm_builtin_register_shutdown_function(ph7_context *pCtx, int nArg, ph * Class handling functions. * Authors: * Symisc Systems,devel@symisc.net. - * Copyright (C) Symisc Systems,http://ph7.symisc.net + * Copyright (C) Symisc Systems,https://ph7.symisc.net * Status: * Stable. */ @@ -6728,7 +6728,7 @@ static int vm_builtin_get_defined_constants(ph7_context *pCtx, int nArg, ph7_val * Output Control (OB) functions. * Authors: * Symisc Systems,devel@symisc.net. - * Copyright (C) Symisc Systems,http://ph7.symisc.net + * Copyright (C) Symisc Systems,https://ph7.symisc.net * Status: * Stable. */ @@ -7146,7 +7146,7 @@ static int vm_builtin_ob_list_handlers(ph7_context *pCtx, int nArg, ph7_value ** * Random numbers/string generators. * Authors: * Symisc Systems,devel@symisc.net. - * Copyright (C) Symisc Systems,http://ph7.symisc.net + * Copyright (C) Symisc Systems,https://ph7.symisc.net * Status: * Stable. */ @@ -7424,7 +7424,7 @@ static int vm_builtin_uniqid(ph7_context *pCtx, int nArg, ph7_value **apArg) { * Language construct implementation as foreign functions. * Authors: * Symisc Systems,devel@symisc.net. - * Copyright (C) Symisc Systems,http://ph7.symisc.net + * Copyright (C) Symisc Systems,https://ph7.symisc.net * Status: * Stable. */ @@ -7934,7 +7934,7 @@ static int vm_builtin_assert(ph7_context *pCtx, int nArg, ph7_value **apArg) { * Error reporting functions. * Authors: * Symisc Systems,devel@symisc.net. - * Copyright (C) Symisc Systems,http://ph7.symisc.net + * Copyright (C) Symisc Systems,https://ph7.symisc.net * Status: * Stable. */ @@ -8241,7 +8241,7 @@ static sxi32 VmThrowException( * Version,Credits and Copyright related functions. * Authors: * Symisc Systems,devel@symisc.net. - * Copyright (C) Symisc Systems,http://ph7.symisc.net + * Copyright (C) Symisc Systems,https://ph7.symisc.net * Status: * Stable. */ @@ -8263,9 +8263,9 @@ static int vm_builtin_ph7_version(ph7_context *pCtx, int nArg, ph7_value **apArg /* * PH7 release information HTML page used by the ph7info() and ph7credits() functions. */ -#define PH7_HTML_PAGE_HEADER ""\ +#define PH7_HTML_PAGE_HEADER ""\ ""\ - ""\ + ""\ "PH7 engine credits"\ "