Switch from http to https on our sourceforge webpage

This commit is contained in:
Daniel Marjamäki 2021-08-28 12:46:54 +02:00
parent 08d02432a4
commit ca047e57bf
13 changed files with 23 additions and 23 deletions

View File

@ -185,7 +185,7 @@ class Token:
The CppcheckData.tokenlist is a list of Token items The CppcheckData.tokenlist is a list of Token items
C++ class: http://cppcheck.net/devinfo/doxyoutput/classToken.html C++ class: https://cppcheck.sourceforge.io/devinfo/doxyoutput/classToken.html
Attributes: Attributes:
str Token string str Token string
@ -425,7 +425,7 @@ class Token:
class Scope: class Scope:
""" """
Scope. Information about global scope, function scopes, class scopes, inner scopes, etc. Scope. Information about global scope, function scopes, class scopes, inner scopes, etc.
C++ class: http://cppcheck.net/devinfo/doxyoutput/classScope.html C++ class: https://cppcheck.sourceforge.io/devinfo/doxyoutput/classScope.html
Attributes Attributes
bodyStart The { Token for this scope bodyStart The { Token for this scope
@ -493,7 +493,7 @@ class Function:
""" """
Information about a function Information about a function
C++ class: C++ class:
http://cppcheck.net/devinfo/doxyoutput/classFunction.html https://cppcheck.sourceforge.io/devinfo/doxyoutput/classFunction.html
Attributes Attributes
argument Argument list argument Argument list
@ -554,7 +554,7 @@ class Variable:
""" """
Information about a variable Information about a variable
C++ class: C++ class:
http://cppcheck.net/devinfo/doxyoutput/classVariable.html https://cppcheck.sourceforge.io/devinfo/doxyoutput/classVariable.html
Attributes: Attributes:
nameToken Name token in variable declaration nameToken Name token in variable declaration
@ -722,7 +722,7 @@ class ValueFlow:
Each possible value has a ValueFlow::Value item. Each possible value has a ValueFlow::Value item.
Each ValueFlow::Value either has a intvalue or tokvalue Each ValueFlow::Value either has a intvalue or tokvalue
C++ class: C++ class:
http://cppcheck.net/devinfo/doxyoutput/classValueFlow_1_1Value.html https://cppcheck.sourceforge.io/devinfo/doxyoutput/classValueFlow_1_1Value.html
Attributes: Attributes:
values Possible values values Possible values

View File

@ -1261,7 +1261,7 @@ void CmdLineParser::printHelp()
" cppcheck -I inc1/ -I inc2/ f.cpp\n" " cppcheck -I inc1/ -I inc2/ f.cpp\n"
"\n" "\n"
"For more information:\n" "For more information:\n"
" http://cppcheck.net/manual.pdf\n" " https://cppcheck.sourceforge.io/manual.pdf\n"
"\n" "\n"
"Many thanks to the 3rd party libraries we use:\n" "Many thanks to the 3rd party libraries we use:\n"
" * tinyxml2 -- loading project/library/ctu files.\n" " * tinyxml2 -- loading project/library/ctu files.\n"

View File

@ -33,7 +33,7 @@ AboutDialog::AboutDialog(const QString &version, const QString &extraVersion, QW
mUI.mVersion->setText(mUI.mVersion->text().arg(fmtVersion)); mUI.mVersion->setText(mUI.mVersion->text().arg(fmtVersion));
QString date = __DATE__; QString date = __DATE__;
mUI.mCopyright->setText(mUI.mCopyright->text().arg(date.right(4))); mUI.mCopyright->setText(mUI.mCopyright->text().arg(date.right(4)));
QString url = "<a href=\"http://cppcheck.net/\">http://cppcheck.net/</a>"; QString url = "<a href=\"https://cppcheck.sourceforge.io/\">https://cppcheck.sourceforge.io/</a>";
mUI.mHomepage->setText(mUI.mHomepage->text().arg(url)); mUI.mHomepage->setText(mUI.mHomepage->text().arg(url));
connect(mUI.mButtons, &QDialogButtonBox::accepted, this, &AboutDialog::accept); connect(mUI.mButtons, &QDialogButtonBox::accepted, this, &AboutDialog::accept);
} }

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<QtHelpProject version="1.0"> <QtHelpProject version="1.0">
<namespace>cppcheck.sourceforge.net</namespace> <namespace>cppcheck.sourceforge.io</namespace>
<virtualFolder>doc</virtualFolder> <virtualFolder>doc</virtualFolder>
<filterSection> <filterSection>
<toc> <toc>

View File

@ -21,8 +21,8 @@ If you want to get a message box about this.</p>
<p><b>Display error id column &quot;Id&quot;</b><br>Show error id in results</p> <p><b>Display error id column &quot;Id&quot;</b><br>Show error id in results</p>
<p><b>Enable inline suppressions</b><br>You can suppress warnings with comments. <p><b>Enable inline suppressions</b><br>You can suppress warnings with comments.
See the Cppcheck manual (http://cppcheck.sf.net/manual.pdf) for more information See the Cppcheck manual (https://cppcheck.sourceforge.io/manual.pdf) for more
about inline suppressions.</p> information about inline suppressions.</p>
<p><b>Check for inconclusive errors also</b><br>When full analysis of the code <p><b>Check for inconclusive errors also</b><br>When full analysis of the code
can not determine if there should be a warning or not, it is inconclusive. can not determine if there should be a warning or not, it is inconclusive.

View File

@ -75,7 +75,7 @@ HelpDialog::HelpDialog(QWidget *parent) :
mUi->textBrowser->setHelpEngine(mHelpEngine); mUi->textBrowser->setHelpEngine(mHelpEngine);
mUi->textBrowser->setSource(QUrl("qthelp://cppcheck.sourceforge.net/doc/index.html")); mUi->textBrowser->setSource(QUrl("qthelp://cppcheck.sourceforge.io/doc/index.html"));
connect(mHelpEngine->contentWidget(), connect(mHelpEngine->contentWidget(),
SIGNAL(linkActivated(QUrl)), SIGNAL(linkActivated(QUrl)),
mUi->textBrowser, mUi->textBrowser,

View File

@ -52,7 +52,7 @@
#include "translationhandler.h" #include "translationhandler.h"
#include "variablecontractsdialog.h" #include "variablecontractsdialog.h"
static const QString OnlineHelpURL("http://cppcheck.net/manual.html"); static const QString OnlineHelpURL("https://cppcheck.sourceforge.io/manual.html");
static const QString compile_commands_json("compile_commands.json"); static const QString compile_commands_json("compile_commands.json");
MainWindow::MainWindow(TranslationHandler* th, QSettings* settings) : MainWindow::MainWindow(TranslationHandler* th, QSettings* settings) :

View File

@ -264,7 +264,7 @@ HTML_FOOTER = """
<p> <p>
Cppcheck %s - a tool for static C/C++ code analysis<br> Cppcheck %s - a tool for static C/C++ code analysis<br>
<br> <br>
Internet: <a href="http://cppcheck.net">http://cppcheck.net</a><br> Internet: <a href="https://cppcheck.sourceforge.io">https://cppcheck.sourceforge.io</a><br>
IRC: <a href="irc://irc.freenode.net/cppcheck">irc://irc.freenode.net/cppcheck</a><br> IRC: <a href="irc://irc.freenode.net/cppcheck">irc://irc.freenode.net/cppcheck</a><br>
</p> </p>
</div> </div>

View File

@ -883,7 +883,7 @@ Cppcheck is distributed with a few addons which are listed below.
This standard is proprietary, and open source tools are not allowed to distribute the Misra rule texts. Therefore Cppcheck is not allowed to write the rule texts directly. Cppcheck is allowed to distribute the rules and display the id of each violated rule (for example, [c2012-21.3]). The corresponding rule text can also be written however you need to provide that. To get the rule texts, please buy the PDF from MISRA (https://www.misra.org.uk). If you copy the rule texts from "Appendix A - Summary of guidelines" in the PDF and write those in a text file, then by using that text file Cppcheck can write the proper warning messages. To see how the text file can be formatted, take a look at the files listed here: https://github.com/danmar/cppcheck/blob/main/addons/test/misra/. You can use the option `--rule-texts` to specify your rules text file. This standard is proprietary, and open source tools are not allowed to distribute the Misra rule texts. Therefore Cppcheck is not allowed to write the rule texts directly. Cppcheck is allowed to distribute the rules and display the id of each violated rule (for example, [c2012-21.3]). The corresponding rule text can also be written however you need to provide that. To get the rule texts, please buy the PDF from MISRA (https://www.misra.org.uk). If you copy the rule texts from "Appendix A - Summary of guidelines" in the PDF and write those in a text file, then by using that text file Cppcheck can write the proper warning messages. To see how the text file can be formatted, take a look at the files listed here: https://github.com/danmar/cppcheck/blob/main/addons/test/misra/. You can use the option `--rule-texts` to specify your rules text file.
The full list of supported rules is available on [Cppcheck](http://cppcheck.sourceforge.net/misra.php) home page. The full list of supported rules is available on [Cppcheck](https://cppcheck.sourceforge.io/misra.php) home page.
### y2038.py ### y2038.py
@ -933,7 +933,7 @@ You can create and use your own .cfg files for your projects. Use `--check-libra
You can use the `Library Editor` in the `Cppcheck GUI` to edit configuration files. It is available in the `View` menu. You can use the `Library Editor` in the `Cppcheck GUI` to edit configuration files. It is available in the `View` menu.
The .cfg file format is documented in the `Reference: Cppcheck .cfg format` (http://cppcheck.sf.net/reference-cfg-format.pdf) document. The .cfg file format is documented in the `Reference: Cppcheck .cfg format` (https://cppcheck.sf.net/reference-cfg-format.pdf) document.
# HTML Report # HTML Report

View File

@ -12,7 +12,7 @@ Despite the name, Cppcheck is designed for both C and C++.
## Manual ## Manual
A manual is available [online](http://cppcheck.sourceforge.net/manual.pdf). A manual is available [online](https://cppcheck.sourceforge.io/manual.pdf).
## Donate CPU ## Donate CPU
@ -223,4 +223,4 @@ https://src.fedoraproject.org/rpms/cppcheck/tree/master
## Webpage ## Webpage
http://cppcheck.sourceforge.net/ https://cppcheck.sourceforge.io/

View File

@ -10,7 +10,7 @@ About
Manual Manual
A manual is available online: A manual is available online:
http://cppcheck.sourceforge.net/manual.pdf https://cppcheck.sourceforge.io/manual.pdf
Compiling Compiling
@ -128,4 +128,4 @@ Packages
Webpage Webpage
http://cppcheck.sourceforge.net/ https://cppcheck.sourceforge.io/

View File

@ -12,7 +12,7 @@
## マニュアル ## マニュアル
マニュアルは[オンライン上に](http://cppcheck.sourceforge.net/manual.pdf)あります。 マニュアルは[オンライン上に](https://cppcheck.sourceforge.io/manual.pdf)あります。
## ビルド ## ビルド
@ -137,4 +137,4 @@ mv cppcheck cppcheck.exe
## Webページ ## Webページ
http://cppcheck.sourceforge.net/ https://cppcheck.sourceforge.io/

View File

@ -1079,7 +1079,7 @@ def server(server_address_port: int, packages: list, packageIndex: int, resultPa
# save data # save data
res = re.match(r'ftp://.*pool/main/[^/]+/([^/]+)/[^/]*tar.(gz|bz2|xz)', url) res = re.match(r'ftp://.*pool/main/[^/]+/([^/]+)/[^/]*tar.(gz|bz2|xz)', url)
if res is None: if res is None:
res = re.match(r'http://cppcheck\.sf\.net/([a-z]+).tgz', url) res = re.match(r'https?://cppcheck\.sf\.net/([a-z]+).tgz', url)
if res is None: if res is None:
print('results not written. res is None.') print('results not written. res is None.')
continue continue
@ -1148,7 +1148,7 @@ def server(server_address_port: int, packages: list, packageIndex: int, resultPa
# save data # save data
res = re.match(r'ftp://.*pool/main/[^/]+/([^/]+)/[^/]*tar.(gz|bz2|xz)', url) res = re.match(r'ftp://.*pool/main/[^/]+/([^/]+)/[^/]*tar.(gz|bz2|xz)', url)
if res is None: if res is None:
res = re.match(r'http://cppcheck\.sf\.net/([a-z]+).tgz', url) res = re.match(r'https://cppcheck\.sf\.net/([a-z]+).tgz', url)
if res is None: if res is None:
print('info output not written. res is None.') print('info output not written. res is None.')
continue continue