diff --git a/addons/cppcheckdata.py b/addons/cppcheckdata.py index 02add01b6..08a812c27 100755 --- a/addons/cppcheckdata.py +++ b/addons/cppcheckdata.py @@ -185,7 +185,7 @@ class Token: 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: str Token string @@ -425,7 +425,7 @@ class Token: class Scope: """ 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 bodyStart The { Token for this scope @@ -493,7 +493,7 @@ class Function: """ Information about a function C++ class: - http://cppcheck.net/devinfo/doxyoutput/classFunction.html + https://cppcheck.sourceforge.io/devinfo/doxyoutput/classFunction.html Attributes argument Argument list @@ -554,7 +554,7 @@ class Variable: """ Information about a variable C++ class: - http://cppcheck.net/devinfo/doxyoutput/classVariable.html + https://cppcheck.sourceforge.io/devinfo/doxyoutput/classVariable.html Attributes: nameToken Name token in variable declaration @@ -722,7 +722,7 @@ class ValueFlow: Each possible value has a ValueFlow::Value item. Each ValueFlow::Value either has a intvalue or tokvalue C++ class: - http://cppcheck.net/devinfo/doxyoutput/classValueFlow_1_1Value.html + https://cppcheck.sourceforge.io/devinfo/doxyoutput/classValueFlow_1_1Value.html Attributes: values Possible values diff --git a/cli/cmdlineparser.cpp b/cli/cmdlineparser.cpp index ad38b6b5d..afc96c2b5 100644 --- a/cli/cmdlineparser.cpp +++ b/cli/cmdlineparser.cpp @@ -1261,7 +1261,7 @@ void CmdLineParser::printHelp() " cppcheck -I inc1/ -I inc2/ f.cpp\n" "\n" "For more information:\n" - " http://cppcheck.net/manual.pdf\n" + " https://cppcheck.sourceforge.io/manual.pdf\n" "\n" "Many thanks to the 3rd party libraries we use:\n" " * tinyxml2 -- loading project/library/ctu files.\n" diff --git a/gui/aboutdialog.cpp b/gui/aboutdialog.cpp index 55408b0ec..388724a1e 100644 --- a/gui/aboutdialog.cpp +++ b/gui/aboutdialog.cpp @@ -33,7 +33,7 @@ AboutDialog::AboutDialog(const QString &version, const QString &extraVersion, QW mUI.mVersion->setText(mUI.mVersion->text().arg(fmtVersion)); QString date = __DATE__; mUI.mCopyright->setText(mUI.mCopyright->text().arg(date.right(4))); - QString url = "http://cppcheck.net/"; + QString url = "https://cppcheck.sourceforge.io/"; mUI.mHomepage->setText(mUI.mHomepage->text().arg(url)); connect(mUI.mButtons, &QDialogButtonBox::accepted, this, &AboutDialog::accept); } diff --git a/gui/help/online-help.qhp b/gui/help/online-help.qhp index c0bb5279f..ad0adc482 100644 --- a/gui/help/online-help.qhp +++ b/gui/help/online-help.qhp @@ -1,6 +1,6 @@ - cppcheck.sourceforge.net + cppcheck.sourceforge.io doc diff --git a/gui/help/preferences.html b/gui/help/preferences.html index d35dfdcc9..5a591227b 100644 --- a/gui/help/preferences.html +++ b/gui/help/preferences.html @@ -21,8 +21,8 @@ If you want to get a message box about this.

Display error id column "Id"
Show error id in results

Enable inline suppressions
You can suppress warnings with comments. -See the Cppcheck manual (http://cppcheck.sf.net/manual.pdf) for more information -about inline suppressions.

+See the Cppcheck manual (https://cppcheck.sourceforge.io/manual.pdf) for more +information about inline suppressions.

Check for inconclusive errors also
When full analysis of the code can not determine if there should be a warning or not, it is inconclusive. diff --git a/gui/helpdialog.cpp b/gui/helpdialog.cpp index 0aba2026a..66c40a6cb 100644 --- a/gui/helpdialog.cpp +++ b/gui/helpdialog.cpp @@ -75,7 +75,7 @@ HelpDialog::HelpDialog(QWidget *parent) : 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(), SIGNAL(linkActivated(QUrl)), mUi->textBrowser, diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index 6b537db45..4de67be70 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -52,7 +52,7 @@ #include "translationhandler.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"); MainWindow::MainWindow(TranslationHandler* th, QSettings* settings) : diff --git a/htmlreport/cppcheck-htmlreport b/htmlreport/cppcheck-htmlreport index ce7104419..f0749de80 100755 --- a/htmlreport/cppcheck-htmlreport +++ b/htmlreport/cppcheck-htmlreport @@ -264,7 +264,7 @@ HTML_FOOTER = """

Cppcheck %s - a tool for static C/C++ code analysis

- Internet: http://cppcheck.net
+ Internet: https://cppcheck.sourceforge.io
IRC: irc://irc.freenode.net/cppcheck

diff --git a/man/manual.md b/man/manual.md index e34696adf..a3e0138df 100644 --- a/man/manual.md +++ b/man/manual.md @@ -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. -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 @@ -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. -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 diff --git a/readme.md b/readme.md index 2964de205..86587d2b6 100644 --- a/readme.md +++ b/readme.md @@ -12,7 +12,7 @@ Despite the name, Cppcheck is designed for both C and C++. ## 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 @@ -223,4 +223,4 @@ https://src.fedoraproject.org/rpms/cppcheck/tree/master ## Webpage -http://cppcheck.sourceforge.net/ +https://cppcheck.sourceforge.io/ diff --git a/readme.txt b/readme.txt index 5400c117f..1e498a11e 100644 --- a/readme.txt +++ b/readme.txt @@ -10,7 +10,7 @@ About Manual A manual is available online: - http://cppcheck.sourceforge.net/manual.pdf + https://cppcheck.sourceforge.io/manual.pdf Compiling @@ -128,4 +128,4 @@ Packages Webpage - http://cppcheck.sourceforge.net/ + https://cppcheck.sourceforge.io/ diff --git a/readmeja.md b/readmeja.md index dd5e6a443..0f8476d3f 100644 --- a/readmeja.md +++ b/readmeja.md @@ -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ページ -http://cppcheck.sourceforge.net/ +https://cppcheck.sourceforge.io/ diff --git a/tools/donate-cpu-server.py b/tools/donate-cpu-server.py index ad1544e52..5721fe3c3 100755 --- a/tools/donate-cpu-server.py +++ b/tools/donate-cpu-server.py @@ -1079,7 +1079,7 @@ def server(server_address_port: int, packages: list, packageIndex: int, resultPa # save data res = re.match(r'ftp://.*pool/main/[^/]+/([^/]+)/[^/]*tar.(gz|bz2|xz)', url) 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: print('results not written. res is None.') continue @@ -1148,7 +1148,7 @@ def server(server_address_port: int, packages: list, packageIndex: int, resultPa # save data res = re.match(r'ftp://.*pool/main/[^/]+/([^/]+)/[^/]*tar.(gz|bz2|xz)', url) 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: print('info output not written. res is None.') continue