gnucash-htdocs master: Fix several warnings, mostly <tt>

Frank H.Ellenberger fell at code.gnucash.org
Mon Jul 6 15:12:47 EDT 2020


Updated	 via  https://github.com/Gnucash/gnucash-htdocs/commit/def301ab (commit)
	from  https://github.com/Gnucash/gnucash-htdocs/commit/7b556fb2 (commit)



commit def301ab944ee33dd898e86c63ca0ef45132c0e7
Author: Frank H. Ellenberger <frank.h.ellenberger at gmail.com>
Date:   Mon Jul 6 08:27:58 2020 +0200

    Fix several warnings, mostly <tt>

diff --git a/download.phtml b/download.phtml
index 5148f64..1b525bf 100644
--- a/download.phtml
+++ b/download.phtml
@@ -40,7 +40,7 @@
     <li class="imagelistitem" style="background-image: url(<?=$top_dir?>/images/icons/flatpak.png);">
       <p class="justify"><?php printf (T_("Flatpaks are bundles, which contain beneath the program also all required libraries. If your distribution is too old, to offer all required libraries, but has the package <a href=\"%s\">Flatpak</a>, you can install a recent version of <span class=\"gnucash\">GnuCash</span> from"), $URL_FLATPAK)?></p>
       <p class="justify"><a href="<?php echo $URL_FLATHUB;?>"><img width='240' alt='Download on Flathub' src='https://flathub.org/assets/badges/flathub-badge-en.png'/></a></p>
-      <p class"justify"><a href="<?php 
+      <p class="justify"><a href="<?php 
         // Translators: %s is the wiki url, change this only, if you created a localized instance of ...wiki/Flatpak
         printf (T_("%sFlatpak"), $URL_WIKI);?>"><?php printf (T_("Known Issues and other details ..."));?></a></p>
     </li>
diff --git a/news/200427-3.902.news b/news/200427-3.902.news
index 98ccfff..47c74b5 100644
--- a/news/200427-3.902.news
+++ b/news/200427-3.902.news
@@ -13,7 +13,7 @@
   <li>Linux: Ubuntu 18.04LTS</li>
   <li>MacOS: 10.13</li>
   <li>Windows: 8.1</li>
-</ul></p>
+</ul>
 <p>Software Dependencies:
 <ul>
   <li>C++ standard is now C++17, requires gcc 8.0 or clang 6.0.</li>
@@ -26,7 +26,7 @@
   <li>libdbi 0.8.3</li>
   <li>libxml2 2.9.4</li>
   <li>swig 3.0.12  Now required for building from tarballs as well as from git.</li>
-  <li>Webkit 2.4.11 Mac & Win32, 2.14.1 Linux/BSD</li>
+  <li>Webkit 2.4.11 Mac & Win32, 2.14.1 Linux/BSD</li>
 </ul>
 <h3>New Features</h3>
 <ul>
@@ -55,14 +55,14 @@
 <h3>Significant Code Changes</h3>
 <ul>
   <li>The source directories have been rearranged and most of the loadable modules (e.g. libgncmod-engine.so) are now normal dynamic libraries (libgnc-engine.so), shorn of their gnc-module adapters. Make sure that you clean and rebuild your build directory.</li>
-  <li>All functions marked as deprecated in 3.x are now removed. If you have custom reports be sure to examine <tt>gnucash.trace</tt> for deprecation warnings and update your reports before trying them in GnuCash 3.91.</li>
+  <li>All functions marked as deprecated in 3.x are now removed. If you have custom reports be sure to examine <samp>gnucash.trace</samp> for deprecation warnings and update your reports before trying them in GnuCash 3.91.</li>
   <li>libgncmod-generic-import is now libgnc-generic-import.</li>
-  <li>Scheme no longer uses libgncmodule, always do <tt>(use-modules (gnucash foo))</li></tt></li>
+  <li>Scheme no longer uses libgncmodule, always do <code>(use-modules (gnucash foo))</code></li>
   <li>Autocompletion improvements for the transfer-account field.</li>
   <li>New test for invalid mappings for online accounts and a dialog to fix them.</li>
-  <li>jqplot is replaced by chartjs.</li>
+  <li><samp>jqplot</samp> is replaced by <samp>chartjs</samp>.</li>
   <li>Separate most Guile binding code from the code that it wraps. It's now located in bindings/guile.</li>
-  <li>Improve Google test integration in cmake. CMake now requires only GTEST_ROOT and only when cmake isn't able to find Google test without help.<?
+  <li>Improve Google test integration in cmake. CMake now requires only GTEST_ROOT and only when cmake isn't able to find Google test without help.</li>
   <li>Unit tests for Scheme code with SRFI64.</li>
 </ul>
 <h4>Deprecations (will be removed in GnuCash 5.0</h4>
@@ -130,7 +130,7 @@ application bundle.</p>
   <li><code>77ad3328cdf334bb7ea009bfa2346d780db69b6d522ede77a639a751ee76a838</code>  gnucash-3.902.setup.exe</li>
   <li><code>b109c984171c3d9bbf092d651edddd9ce2b1540da0800e2ed7380c34b18a1254</code>  Gnucash-Intel-3.902-1.dmg</li>
   <li><code>640dda16e4c238c560e32bde4b3445aa4f2cd8c4ae60c910caef076fee045485</code>  gnucash-docs-3.902.tar.gz</li>
-</ul></p>
+</ul>
 
 <ul>
   <li>SourceForge:
diff --git a/news/200601-3.903.news b/news/200601-3.903.news
index 15393f2..8e11fb4 100644
--- a/news/200601-3.903.news
+++ b/news/200601-3.903.news
@@ -31,7 +31,7 @@
 <h3>New Features</h3>
 <h4>For 3.903</h4>
 <ul>
-  <li>A new separate executable, <tt>gnucash-cli</tt> (<tt>gnucash-cli.exe</tt> on Microsoft Windows) for doing command-line things like updating the prices in your book. <tt>gnucash-cli</tt> gains the ability to run reports from the command line. Specify reports to run by name or guid. It also provides an export format and an output file name without which it will output the report to stdout.
+  <li>A new separate executable, <kbd>gnucash-cli</kbd> (<kbd>gnucash-cli.exe</kbd> on Microsoft Windows) for doing command-line things like updating the prices in your book. <kbd>gnucash-cli</kbd> gains the ability to run reports from the command line. Specify reports to run by name or guid. It also provides an export format and an output file name without which it will output the report to stdout.
   <ul>
     <li>gnucash --run-report=[reportname/guid] datafile.gnucash</li>
     <li>gnucash --run-report=[reportname/guid] --output-file=x.html datafile.gnucash</li>
@@ -41,7 +41,7 @@
   <li>When deleting accounts the destination accounts of moved splits will be checked to ensure that they have the same commodity as the source account. If they don't you'll get a warning and the opportunity to pick another account or to carry on regardless.</li>
   <li>New type-ahead search added to sequential search when selecting an account in the register: Instead of typing the first few characters of a top level account, the separator, the first few characters of the next level account and so on you may instead type a few characters of any part of a full account name and the drop-list will be filtered to contain only matching accounts. Once you have a small enough list you can use the arrow keys to select the account that you want.</li>
   <li> Python bindings are now localized and their strings available for translation.</li>
-  <li> The new reports introduced in the <b>Experimental</b> Reports menu are moved to the main menu and the old reports hidden; the old reports can be unhidden by running GnuCash from the commandline with the <tt>--extra</tt> argument. That will cause the old reports to appear in their regular locations on the menu labeled <b>(legacy)</b>. Note that new reports use different options and layouts and you may need to adjust your saved report configurations.</li>
+  <li> The new reports introduced in the <b>Experimental</b> Reports menu are moved to the main menu and the old reports hidden; the old reports can be unhidden by running GnuCash from the commandline with the <kbd>--extra</kbd> argument. That will cause the old reports to appear in their regular locations on the menu labeled <b>(legacy)</b>. Note that new reports use different options and layouts and you may need to adjust your saved report configurations.</li>
   <li> A new <b>Transaction Association</b> dialog, available from the new <b>Update Transaction Association</b> item in the register context menu, provides the ability to have multiple associations for a single transaction. Associations may now be easily removed.</li>
   <li>Allow Associations to be added to invoices. The actual association when present is added as a link button which is shown below the notes. </li>
   <li>A symbol is now displayed on transactions in the register when they have an attachment and the selected font supports the symbol.</li>
@@ -80,37 +80,37 @@
 <h3>Significant Code Changes</h3>
 <h4> In 3.903</h4>
 <ul>
-  <li><tt>gnucash-bin.c</tt> has been split into 4 parts, mostly C++:
+  <li><samp>gnucash-bin.c</samp> has been split into 4 parts, mostly C++:
   <ul>
-    <li><tt>gnucash.cpp</tt>, the GUI executable.</li>
-    <li><tt>gnucash-cli.cpp</tt>, the command-line executable.</li>
-    <li><tt>gnucash-commands.cpp</tt>, implementation for the commands that can be run from the command-line.</li>
-    <li><tt>gnucash-app-core.cpp</tt>, common code required by both the command line and gui programs.</li>
-    <li>There's also an auxiliary file, <tt>gnucash-windows-locale.c</tt> because the localization code proved resistant to compiling as C++. We're planning another auxiliary file for the MacOS localization.</li>
+    <li><samp>gnucash.cpp</samp>, the GUI executable.</li>
+    <li><samp>gnucash-cli.cpp</samp>, the command-line executable.</li>
+    <li><samp>gnucash-commands.cpp</samp>, implementation for the commands that can be run from the command-line.</li>
+    <li><samp>gnucash-app-core.cpp</samp>, common code required by both the command line and gui programs.</li>
+    <li>There's also an auxiliary file, <samp>gnucash-windows-locale.c</samp> because the localization code proved resistant to compiling as C++. We're planning another auxiliary file for the MacOS localization.</li>
   </ul></li>
   <li> A new mock facility for several engine classes to permit better-isolated unit testing of components that depend on those classes.</li>
   <li>Register filter and sort values are saved in the book's state file (book.gcm) in the user's configdir instead of in the book.</li>
-  <li>QofSession no longer creates its book, instead one must create a book first and pass that to <tt>qof_session_new()</tt>/<tt>QofSession::QofSession()</tt>.
+  <li>QofSession no longer creates its book, instead one must create a book first and pass that to <code>qof_session_new()</code>/<code>QofSession::QofSession()</code>.
   <li>Add option to save Layout for Register items<p>Add two menu items under windows, one to save an existing register layout based on the register type to there respective default layouts so the user set column widths will be used when opening registers. The second menu item will reset the column widths to defaults and remove the associated default layout. Open registers will also save their column widths to the page section so these can temporarily have different widths. </p></li>
   <li> Input Method handling in the register is moved to the GtkEntry where it belongs.</li>
-  <li><tt>gnc_get_current_session()</tt> no longer creates an empty session if there isn't one already open.
+  <li><code>gnc_get_current_session()</code> no longer creates an empty session if there isn't one already open.
 </ul>
 <h4>In previous 3.9xx releases</h4>
 <ul>
   <li>The source directories have been rearranged and most of the loadable modules (e.g. libgncmod-engine.so) are now normal dynamic libraries (libgnc-engine.so), shorn of their gnc-module adapters. Make sure that you clean and rebuild your build directory.</li>
-  <li>All functions marked as deprecated in 3.x are now removed. If you have custom reports be sure to examine <tt>gnucash.trace</tt> for deprecation warnings and update your reports before trying them in GnuCash 3.903.</li>
-  <li>libgncmod-generic-import is now libgnc-generic-import.</li>
-  <li>Scheme no longer uses libgncmodule, always do <tt>(use-modules (gnucash foo))</li></tt></li>
+  <li>All functions marked as deprecated in 3.x are now removed. If you have custom reports be sure to examine <samp>gnucash.trace</samp> for deprecation warnings and update your reports before trying them in GnuCash 3.903.</li>
+  <li><samp>libgncmod-generic-import</samp> is now <samp>libgnc-generic-import</samp>.</li>
+  <li>Scheme no longer uses libgncmodule, always do <code>(use-modules (gnucash foo))</code></li>
   <li>Autocompletion improvements for the transfer-account field.</li>
   <li>New test for invalid mappings for online accounts and a dialog to fix them.</li>
-  <li>jqplot is replaced by chartjs.</li>
+  <li><samp>jqplot</samp> is replaced by <samp>chartjs</samp>.</li>
   <li>Separate most Guile binding code from the code that it wraps. It's now located in bindings/guile.</li>
   <li>Improve Google test integration in cmake. CMake now requires only GTEST_ROOT and only when cmake isn't able to find Google test without help.</li>
   <li>Unit tests for Scheme code with SRFI64.</li>
 </ul>
 <h4>Deprecations (will be removed in GnuCash 5.0</h4>
 <ul>
-  <li>gnc:substring-replace-from-to</li>
+  <li><code>gnc:substring-replace-from-to</code></li>
 </ul>
 
 <p>Between 3.902 and 3.903, the following bugfixes were accomplished. Some of these will also be fixed in GnuCash 3.11, some are for 4.0 only.</p>
diff --git a/news/200607-3.904.news b/news/200607-3.904.news
index d61ac64..85a1054 100644
--- a/news/200607-3.904.news
+++ b/news/200607-3.904.news
@@ -31,15 +31,15 @@
 <h3>New Features</h3>
 <p>3.903 was the feature-freeze release. However, the command-line arguments for both gnucash and gnucash-cli have been adjusted as follows:</p>
 <ul>
-  <li><tt>--add-price-quotes</tt> is changed to <tt>--quotes get</tt></li>
-  <li><tt>--run-reports</tt> is changed to <tt>--report run --name <report name></tt></li>
-  <li>Added <tt>--report list</tt> to produce a list of available reports.</li>
-  <li>Added <tt>--report show --name</tt> to describe the options changed from the default values in the named report.</li>
+  <li><kbd>--add-price-quotes</kbd> is changed to <kbd>--quotes get</kbd></li>
+  <li><kbd>--run-reports</kbd> is changed to <kbd>--report run --name <report name></kbd></li>
+  <li>Added <kbd>--report list</kbd> to produce a list of available reports.</li>
+  <li>Added <kbd>--report show --name</kbd> to describe the options changed from the default values in the named report.</li>
 </ul>
-<p> The intent is to have command categories with subcommands to better enable a richer command line capability as illustrated with the new report commands <tt>list</tt> and <tt>show</tt>.</p>
+<p> The intent is to have command categories with subcommands to better enable a richer command line capability as illustrated with the new report commands <kbd>list</kbd> and <kbd>show</kbd>.</p>
 
 <ul>
-  <li>A new separate executable, <tt>gnucash-cli</tt> (<tt>gnucash-cli.exe</tt> on Microsoft Windows) for doing command-line things like updating the prices in your book. <tt>gnucash-cli</tt> gains the ability to run reports from the command line. Specify reports to run by name or guid. It also provides an export format and an output file name without which it will output the report to stdout.
+  <li>A new separate executable, <kbd>gnucash-cli</kbd> (<kbd>gnucash-cli.exe</kbd> on Microsoft Windows) for doing command-line things like updating the prices in your book. <kbd>gnucash-cli</kbd> gains the ability to run reports from the command line. Specify reports to run by name or guid. It also provides an export format and an output file name without which it will output the report to stdout.
   <ul>
     <li><code>gnucash-cli --report run --name=[reportname/guid] datafile.gnucash</code></li>
     <li><code>gnucash-cli --report run --name=[reportname/guid] --output-file=x.html datafile.gnucash</code></li>
@@ -84,28 +84,28 @@
 <h3>Significant Code Changes</h3>
 <h4> In 3.904</h4>
 <ul>
-  <li> The signature for <tt>qof_session_begin()</tt>, <tt>QofSession::begin()</tt>, and <tt>QofBackend::begin()</tt> are changed to use an enum <tt>SessionOpenMode</tt> instead of three booleans.</li>
+  <li> The signature for <code>qof_session_begin()</code>, <code>QofSession::begin()</code>, and <code>QofBackend::begin()</code> are changed to use an enum <code>SessionOpenMode</code> instead of three booleans.</li>
 </ul>
 <h4>In previous 3.9xx releases</h4>
 <ul>
-  <li><tt>gnucash-bin.c</tt> has been split into 4 parts, mostly C++:
+  <li><samp>gnucash-bin.c</samp> has been split into 4 parts, mostly C++:
   <ul>
-    <li><tt>gnucash.cpp</tt>, the GUI executable.</li>
-    <li><tt>gnucash-cli.cpp</tt>, the command-line executable.</li>
-    <li><tt>gnucash-commands.cpp</tt>, implementation for the commands that can be run from the command-line.</li>
-    <li><tt>gnucash-app-core.cpp</tt>, common code required by both the command line and gui programs.</li>
-    <li>There's also an auxiliary file, <tt>gnucash-windows-locale.c</tt> because the localization code proved resistant to compiling as C++. We're planning another auxiliary file for the MacOS localization.</li>
+    <li><samp>gnucash.cpp</samp>, the GUI executable.</li>
+    <li><samp>gnucash-cli.cpp</samp>, the command-line executable.</li>
+    <li><samp>gnucash-commands.cpp</samp>, implementation for the commands that can be run from the command-line.</li>
+    <li><samp>gnucash-app-core.cpp</samp>, common code required by both the command line and gui programs.</li>
+    <li>There's also an auxiliary file, <samp>gnucash-windows-locale.c</samp> because the localization code proved resistant to compiling as C++. We're planning another auxiliary file for the MacOS localization.</li>
   </ul></li>
   <li> A new mock facility for several engine classes to permit better-isolated unit testing of components that depend on those classes.</li>
   <li>Register filter and sort values are saved in the book's state file (book.gcm) in the user's configdir instead of in the book.</li>
-  <li>QofSession no longer creates its book, instead one must create a book first and pass that to <tt>qof_session_new()</tt>/<tt>QofSession::QofSession()</tt>.
+  <li>QofSession no longer creates its book, instead one must create a book first and pass that to <code>qof_session_new()</code>/<code>QofSession::QofSession()</code>.
   <li>Add option to save Layout for Register items<p>Add two menu items under windows, one to save an existing register layout based on the register type to there respective default layouts so the user set column widths will be used when opening registers. The second menu item will reset the column widths to defaults and remove the associated default layout. Open registers will also save their column widths to the page section so these can temporarily have different widths. </p></li>
   <li> Input Method handling in the register is moved to the GtkEntry where it belongs.</li>
-  <li><tt>gnc_get_current_session()</tt> no longer creates an empty session if there isn't one already open.
+  <li><code>gnc_get_current_session()</code> no longer creates an empty session if there isn't one already open.
   <li>The source directories have been rearranged and most of the loadable modules (e.g. libgncmod-engine.so) are now normal dynamic libraries (libgnc-engine.so), shorn of their gnc-module adapters. Make sure that you clean and rebuild your build directory.</li>
-  <li>All functions marked as deprecated in 3.x are now removed. If you have custom reports be sure to examine <tt>gnucash.trace</tt> for deprecation warnings and update your reports before trying them in GnuCash 3.904.</li>
-  <li>libgncmod-generic-import is now libgnc-generic-import.</li>
-  <li>Scheme no longer uses libgncmodule, always do <tt>(use-modules (gnucash foo))</li></tt></li>
+  <li>All functions marked as deprecated in 3.x are now removed. If you have custom reports be sure to examine <samp>gnucash.trace</samp> for deprecation warnings and update your reports before trying them in GnuCash 3.904.</li>
+  <li><samp>libgncmod-generic-import</samp> is now <samp>libgnc-generic-import</samp>.</li>
+  <li>Scheme no longer uses libgncmodule, always do <code>(use-modules (gnucash foo))</code></li>
   <li>Autocompletion improvements for the transfer-account field.</li>
   <li>New test for invalid mappings for online accounts and a dialog to fix them.</li>
   <li>jqplot is replaced by chartjs.</li>
diff --git a/news/200614-3.905.news b/news/200614-3.905.news
index 712864f..b4e6022 100644
--- a/news/200614-3.905.news
+++ b/news/200614-3.905.news
@@ -45,7 +45,7 @@
   <li>A symbol is now displayed on transactions in the register when they have an attachment and the selected font supports the symbol.</li>
   <li>The OFX file importer can now import more than one file at a time.</li>
   <li> A new report menu supbmenu <b>Multicolumn</b> contains the old custom-multicolumn report and a new <b>Dashboard</b> report containing Account reports for expenses and income, an income-expense chart, and an account summary.</li>
-  <li> Support for UK VAT and Australian GST added to the Income-GST report. The reports options are changed from source accounts to source sales and purchase accounts to permit proper reporting of capital purchases. <b>N.B.</b> This is incompatible with previous versions of the report and will require regenerating saved configurations.</li><
+  <li> Support for UK VAT and Australian GST added to the Income-GST report. The reports options are changed from source accounts to source sales and purchase accounts to permit proper reporting of capital purchases. <b>N.B.</b> This is incompatible with previous versions of the report and will require regenerating saved configurations.</li>
   <li>Add option to save Layout for Business items<p>Add two menu items under windows, one to save an existing layout for Invoices, Bills and Vouchers to their respective default layouts so the user set column widths will be used. The second menu item will reset the column widths to defaults and remove the default layout. Open Business items will also save their column widths to the page section so these can temporarily have different widths. </p></li>
   <li>The matcher window columns are changed from R to C and from U+R to U+C, reflecting that the matcher marks transactions cleared but doesn't reconcile them. (Bug 797338)</li>
   <li>OFX imports having balance information will now offer to immediately reconcile, passing the balance information in the file to the reconcile info.</li>



Summary of changes:
 download.phtml         |  2 +-
 news/200427-3.902.news | 14 +++++++-------
 news/200601-3.903.news | 30 +++++++++++++++---------------
 news/200607-3.904.news | 36 ++++++++++++++++++------------------
 news/200614-3.905.news |  2 +-
 5 files changed, 42 insertions(+), 42 deletions(-)



More information about the gnucash-changes mailing list