From 63c9cd56949165d8fa3b7d1e63e86e7f6dc23007 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org> Date: Wed, 9 Jun 2021 17:15:17 +0200 Subject: [PATCH] Use secure URL for link to GNU licenses --- LICENSE.md | 2 +- macros/make_report_irfs.m | 2 +- src/@page/addData.m | 2 +- src/@page/addGraph.m | 2 +- src/@page/addParagraph.m | 2 +- src/@page/addSection.m | 2 +- src/@page/addSeries.m | 2 +- src/@page/addTable.m | 2 +- src/@page/addVspace.m | 2 +- src/@page/end.m | 2 +- src/@page/numSections.m | 2 +- src/@page/page.m | 2 +- src/@page/write.m | 2 +- src/@paragraph/paragraph.m | 2 +- src/@paragraph/write.m | 2 +- src/@report/addData.m | 2 +- src/@report/addGraph.m | 2 +- src/@report/addPage.m | 2 +- src/@report/addParagraph.m | 2 +- src/@report/addSection.m | 2 +- src/@report/addSeries.m | 2 +- src/@report/addTable.m | 2 +- src/@report/addVspace.m | 2 +- src/@report/compile.m | 2 +- src/@report/numPages.m | 2 +- src/@report/report.m | 2 +- src/@report/write.m | 2 +- src/@report_data/report_data.m | 2 +- src/@report_data/writeDataForTable.m | 2 +- src/@report_graph/addSeries.m | 2 +- src/@report_graph/end.m | 2 +- src/@report_graph/report_graph.m | 2 +- src/@report_graph/write.m | 2 +- src/@report_graph/writeGraphFile.m | 2 +- src/@report_series/getNameForLegend.m | 2 +- src/@report_series/getRange.m | 2 +- src/@report_series/getTexName.m | 2 +- src/@report_series/isZero.m | 2 +- src/@report_series/printSeries.m | 2 +- src/@report_series/report_series.m | 2 +- src/@report_series/setDataToZeroFromZeroTol.m | 2 +- src/@report_series/writeSeriesForGraph.m | 2 +- src/@report_series/writeSeriesForTable.m | 2 +- src/@report_series/ymax.m | 2 +- src/@report_series/ymin.m | 2 +- src/@report_table/addData.m | 2 +- src/@report_table/addSeries.m | 2 +- src/@report_table/report_table.m | 6 +++--- src/@report_table/write.m | 2 +- src/@report_table/writeTableFile.m | 2 +- src/@section/addData.m | 2 +- src/@section/addGraph.m | 2 +- src/@section/addParagraph.m | 2 +- src/@section/addSeries.m | 2 +- src/@section/addTable.m | 2 +- src/@section/addVspace.m | 2 +- src/@section/end.m | 2 +- src/@section/numElements.m | 2 +- src/@section/section.m | 2 +- src/@section/write.m | 2 +- src/@vspace/vspace.m | 2 +- src/@vspace/write.m | 2 +- src/addCommasToCellStr.m | 2 +- src/getMaxRange.m | 2 +- src/initialize_reporting_toolbox.m | 2 +- test/AnnualTable.m | 2 +- test/CommResidTablePage.m | 2 +- test/CountryGraphPage.m | 2 +- test/CountryTablePage.m | 2 +- test/ResidTablePage.m | 2 +- test/createReport.m | 2 +- test/runtest.m | 2 +- 72 files changed, 74 insertions(+), 74 deletions(-) diff --git a/LICENSE.md b/LICENSE.md index 47a746a..05be690 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -12,4 +12,4 @@ > General Public License for more details. > A copy of the GNU General Public License is available here -> <http://www.gnu.org/licenses/>. +> <https://www.gnu.org/licenses/>. diff --git a/macros/make_report_irfs.m b/macros/make_report_irfs.m index f6e23ee..22f6560 100644 --- a/macros/make_report_irfs.m +++ b/macros/make_report_irfs.m @@ -28,7 +28,7 @@ function make_report_irfs(M, oo, ticks_every, showOutput) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. if ~isfield(oo, 'irfs') disp('make_report_irfs: oo_.irfs does not exist'); diff --git a/src/@page/addData.m b/src/@page/addData.m index 7d53690..a5d8bbf 100644 --- a/src/@page/addData.m +++ b/src/@page/addData.m @@ -27,7 +27,7 @@ function o = addData(o, varargin) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. assert(~isempty(o.sections), ... '@page.addData: Before adding data, you must add a section.'); diff --git a/src/@page/addGraph.m b/src/@page/addGraph.m index b60c120..73aa323 100644 --- a/src/@page/addGraph.m +++ b/src/@page/addGraph.m @@ -27,7 +27,7 @@ function o = addGraph(o, varargin) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. assert(~isempty(o.sections), ... '@page.addGraph: Before adding a graph, you must add a section.'); diff --git a/src/@page/addParagraph.m b/src/@page/addParagraph.m index 56a5517..d99e24d 100644 --- a/src/@page/addParagraph.m +++ b/src/@page/addParagraph.m @@ -27,7 +27,7 @@ function o = addParagraph(o, varargin) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. assert(~isempty(o.sections), ... '@page.addParagraph: Before adding a paragraph, you must add a section.'); diff --git a/src/@page/addSection.m b/src/@page/addSection.m index 8644f17..ec03841 100644 --- a/src/@page/addSection.m +++ b/src/@page/addSection.m @@ -27,7 +27,7 @@ function o = addSection(o, varargin) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. o.sections{end+1} = section(varargin{:}); end diff --git a/src/@page/addSeries.m b/src/@page/addSeries.m index e44ff80..033d86c 100644 --- a/src/@page/addSeries.m +++ b/src/@page/addSeries.m @@ -27,7 +27,7 @@ function o = addSeries(o, varargin) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. assert(~isempty(o.sections), ... '@page.addSeries: Before adding a series, you must add a section.'); diff --git a/src/@page/addTable.m b/src/@page/addTable.m index 63f56e9..560daf8 100644 --- a/src/@page/addTable.m +++ b/src/@page/addTable.m @@ -27,7 +27,7 @@ function o = addTable(o, varargin) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. assert(~isempty(o.sections), ... '@page.addTable: Before adding a table, you must add a section.'); diff --git a/src/@page/addVspace.m b/src/@page/addVspace.m index 828f3a1..d19e86f 100644 --- a/src/@page/addVspace.m +++ b/src/@page/addVspace.m @@ -27,7 +27,7 @@ function o = addVspace(o, varargin) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. assert(~isempty(o.sections), ... '@page.addVspace: Before adding a vspace, you must add a section.'); diff --git a/src/@page/end.m b/src/@page/end.m index 49b790b..64db412 100644 --- a/src/@page/end.m +++ b/src/@page/end.m @@ -28,7 +28,7 @@ function lastIndex = end(o, k, n) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. assert(k==1 && n==1, '@page/end: page only has one dimension'); lastIndex = numSections(o); diff --git a/src/@page/numSections.m b/src/@page/numSections.m index 9454abf..a414545 100644 --- a/src/@page/numSections.m +++ b/src/@page/numSections.m @@ -26,7 +26,7 @@ function ns = numSections(p) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. ns = length(p.sections); end \ No newline at end of file diff --git a/src/@page/page.m b/src/@page/page.m index 320c02b..565c34e 100644 --- a/src/@page/page.m +++ b/src/@page/page.m @@ -16,7 +16,7 @@ classdef page < handle % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License - % along with Dynare. If not, see <http://www.gnu.org/licenses/>. + % along with Dynare. If not, see <https://www.gnu.org/licenses/>. properties (Access = private, Constant = true) titleFormatDefalut = {'\large\bfseries'} end diff --git a/src/@page/write.m b/src/@page/write.m index 61a4c31..e02e37e 100644 --- a/src/@page/write.m +++ b/src/@page/write.m @@ -29,7 +29,7 @@ function write(o, fid, pg, rep_dir) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. fprintf(fid, '\n%% Page Number %d written %s\n', pg, datestr(now)); if ~isempty(o.setPageNumber) diff --git a/src/@paragraph/paragraph.m b/src/@paragraph/paragraph.m index e036ef5..85ff6b5 100644 --- a/src/@paragraph/paragraph.m +++ b/src/@paragraph/paragraph.m @@ -16,7 +16,7 @@ classdef paragraph < handle % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License - % along with Dynare. If not, see <http://www.gnu.org/licenses/>. + % along with Dynare. If not, see <https://www.gnu.org/licenses/>. properties (SetAccess = private) balancedCols = true % Determines whether the text is spread out evenly across the columns when the Paragraph has more than one column. Default: true. cols = 1 % The number of columns for the Paragraph. Default: 1. diff --git a/src/@paragraph/write.m b/src/@paragraph/write.m index 8133a04..b106ab0 100644 --- a/src/@paragraph/write.m +++ b/src/@paragraph/write.m @@ -27,7 +27,7 @@ function write(o, fid) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. fprintf(fid, '%% Paragraph Object written %s\n', datestr(now)); fprintf(fid, '\\multicolumn{1}{p{\\linewidth}}{%%\n'); diff --git a/src/@report/addData.m b/src/@report/addData.m index 2ff066a..ad718ea 100644 --- a/src/@report/addData.m +++ b/src/@report/addData.m @@ -27,7 +27,7 @@ function o = addData(o, varargin) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. assert(~isempty(o.pages), ... '@report.addData: Before adding data, you must add a page, section, and a table.'); diff --git a/src/@report/addGraph.m b/src/@report/addGraph.m index 7a4e68e..7bc239e 100644 --- a/src/@report/addGraph.m +++ b/src/@report/addGraph.m @@ -27,7 +27,7 @@ function o = addGraph(o, varargin) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. assert(~isempty(o.pages) > 0, ... '@report.addGraph: Before adding a graph, you must add a page and a section.'); diff --git a/src/@report/addPage.m b/src/@report/addPage.m index 8137962..e15b8eb 100644 --- a/src/@report/addPage.m +++ b/src/@report/addPage.m @@ -27,7 +27,7 @@ function o = addPage(o, varargin) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. np = length(o.pages) + 1; if o.showOutput diff --git a/src/@report/addParagraph.m b/src/@report/addParagraph.m index 7dfd947..16daf3e 100644 --- a/src/@report/addParagraph.m +++ b/src/@report/addParagraph.m @@ -27,7 +27,7 @@ function o = addParagraph(o, varargin) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. assert(~isempty(o.pages) > 0, ... '@report.addParagraph: Before adding a paragraph, you must add a page and a section.'); diff --git a/src/@report/addSection.m b/src/@report/addSection.m index 430ec84..a24cdf3 100644 --- a/src/@report/addSection.m +++ b/src/@report/addSection.m @@ -27,7 +27,7 @@ function o = addSection(o, varargin) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. assert(~isempty(o.pages) > 0, ... '@report.addSection: Before adding a section, you must add a page.'); diff --git a/src/@report/addSeries.m b/src/@report/addSeries.m index 239740e..6de33bb 100644 --- a/src/@report/addSeries.m +++ b/src/@report/addSeries.m @@ -27,7 +27,7 @@ function o = addSeries(o, varargin) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. assert(~isempty(o.pages), ... ['@report.addSeries: Before adding a series, you must add a page, ' ... diff --git a/src/@report/addTable.m b/src/@report/addTable.m index 12e4621..01fe433 100644 --- a/src/@report/addTable.m +++ b/src/@report/addTable.m @@ -27,7 +27,7 @@ function o = addTable(o, varargin) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. assert(~isempty(o.pages), ... '@report.addTable: Before adding a table, you must add a page and a section.'); diff --git a/src/@report/addVspace.m b/src/@report/addVspace.m index f3fee71..e243298 100644 --- a/src/@report/addVspace.m +++ b/src/@report/addVspace.m @@ -27,7 +27,7 @@ function o = addVspace(o, varargin) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. assert(~isempty(o.pages), ... '@report.addVspace: Before adding a vspace, you must add a page and a section.'); diff --git a/src/@report/compile.m b/src/@report/compile.m index 81fd322..b34d935 100644 --- a/src/@report/compile.m +++ b/src/@report/compile.m @@ -28,7 +28,7 @@ function o = compile(o, varargin) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. opts.compiler = o.compiler; opts.showReport = true; diff --git a/src/@report/numPages.m b/src/@report/numPages.m index 055a95c..4c6a21b 100644 --- a/src/@report/numPages.m +++ b/src/@report/numPages.m @@ -26,7 +26,7 @@ function n = numPages(o) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. n = length(o.pages); end \ No newline at end of file diff --git a/src/@report/report.m b/src/@report/report.m index dcdb975..858d686 100644 --- a/src/@report/report.m +++ b/src/@report/report.m @@ -16,7 +16,7 @@ classdef report < handle % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License - % along with Dynare. If not, see <http://www.gnu.org/licenses/>. + % along with Dynare. If not, see <https://www.gnu.org/licenses/>. properties (Access = private) pages = {} end diff --git a/src/@report/write.m b/src/@report/write.m index 0f3f0b2..53003f0 100644 --- a/src/@report/write.m +++ b/src/@report/write.m @@ -26,7 +26,7 @@ function o = write(o) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. if exist(o.directory, 'dir') ~= 7 mkdir(o.directory); diff --git a/src/@report_data/report_data.m b/src/@report_data/report_data.m index 84683d0..bdc0b8f 100644 --- a/src/@report_data/report_data.m +++ b/src/@report_data/report_data.m @@ -16,7 +16,7 @@ classdef report_data < handle % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License - % along with Dynare. If not, see <http://www.gnu.org/licenses/>. + % along with Dynare. If not, see <https://www.gnu.org/licenses/>. properties (SetAccess = private) data = '' tableAlignRight = false diff --git a/src/@report_data/writeDataForTable.m b/src/@report_data/writeDataForTable.m index 34723fb..ec3b2c7 100644 --- a/src/@report_data/writeDataForTable.m +++ b/src/@report_data/writeDataForTable.m @@ -29,7 +29,7 @@ function writeDataForTable(o, fid, precision) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. %% Validate options provided by user assert(ischar(o.tableRowColor), '@report_data.writeDataForTable: tableRowColor must be a string'); diff --git a/src/@report_graph/addSeries.m b/src/@report_graph/addSeries.m index adf157b..5ab24e8 100644 --- a/src/@report_graph/addSeries.m +++ b/src/@report_graph/addSeries.m @@ -27,7 +27,7 @@ function o = addSeries(o, varargin) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. o.series{end+1} = report_series(varargin{:}); end diff --git a/src/@report_graph/end.m b/src/@report_graph/end.m index 2410bc9..c04e3e6 100644 --- a/src/@report_graph/end.m +++ b/src/@report_graph/end.m @@ -28,7 +28,7 @@ function lastIndex = end(o, k, n) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. assert(k==1 && n==1, '@report_graph/end: graph only has one dimension'); lastIndex = length(o.series); diff --git a/src/@report_graph/report_graph.m b/src/@report_graph/report_graph.m index 9739cb4..0cddf17 100644 --- a/src/@report_graph/report_graph.m +++ b/src/@report_graph/report_graph.m @@ -16,7 +16,7 @@ classdef report_graph < handle % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License - % along with Dynare. If not, see <http://www.gnu.org/licenses/>. + % along with Dynare. If not, see <https://www.gnu.org/licenses/>. properties (Access = private) series = {} end diff --git a/src/@report_graph/write.m b/src/@report_graph/write.m index 069bc77..f889a48 100644 --- a/src/@report_graph/write.m +++ b/src/@report_graph/write.m @@ -32,7 +32,7 @@ function write(o, fid, pg, sec, row, col, rep_dir) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. graphName = writeGraphFile(o, pg, sec, row, col, rep_dir); fprintf(fid, '\\input{%s}', graphName); diff --git a/src/@report_graph/writeGraphFile.m b/src/@report_graph/writeGraphFile.m index 0724e14..6539bd5 100644 --- a/src/@report_graph/writeGraphFile.m +++ b/src/@report_graph/writeGraphFile.m @@ -31,7 +31,7 @@ function graphName = writeGraphFile(o, pg, sec, row, col, rep_dir) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. ne = length(o.series); if ne < 1 diff --git a/src/@report_series/getNameForLegend.m b/src/@report_series/getNameForLegend.m index 4b28ee8..9b43da9 100644 --- a/src/@report_series/getNameForLegend.m +++ b/src/@report_series/getNameForLegend.m @@ -16,7 +16,7 @@ function s = getNameForLegend(o) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. if isempty(o.data) || ~o.graphShowInLegend % for the case when there is no data in the series diff --git a/src/@report_series/getRange.m b/src/@report_series/getRange.m index 76d2e57..cf4e855 100644 --- a/src/@report_series/getRange.m +++ b/src/@report_series/getRange.m @@ -16,7 +16,7 @@ function dd = getRange(o) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. if isempty(o.data) dd = dates(); diff --git a/src/@report_series/getTexName.m b/src/@report_series/getTexName.m index 87076b2..9d212bb 100644 --- a/src/@report_series/getTexName.m +++ b/src/@report_series/getTexName.m @@ -16,7 +16,7 @@ function s = getTexName(o) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. if isempty(o.data) % for the case when there is no data in the series diff --git a/src/@report_series/isZero.m b/src/@report_series/isZero.m index 5982efe..6c2bdef 100644 --- a/src/@report_series/isZero.m +++ b/src/@report_series/isZero.m @@ -26,7 +26,7 @@ function tf = isZero(o) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. tf = all(o.data.data == 0); end diff --git a/src/@report_series/printSeries.m b/src/@report_series/printSeries.m index ce539d8..6bece9c 100644 --- a/src/@report_series/printSeries.m +++ b/src/@report_series/printSeries.m @@ -30,7 +30,7 @@ function o = printSeries(o, fid, dser, dates, precision) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. dataString = sprintf('%%.%df', precision); precision = 10^precision; diff --git a/src/@report_series/report_series.m b/src/@report_series/report_series.m index 35454d6..1cf5830 100644 --- a/src/@report_series/report_series.m +++ b/src/@report_series/report_series.m @@ -16,7 +16,7 @@ classdef report_series < handle % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License - % along with Dynare. If not, see <http://www.gnu.org/licenses/>. + % along with Dynare. If not, see <https://www.gnu.org/licenses/>. properties (SetAccess = private) data = '' % The dseries that provides the data for the graph. Default: none. graphFanShadeColor = '' % The shading color to use between a series and the previously-added series in a graph. Useful for making fan charts. Default: empty. diff --git a/src/@report_series/setDataToZeroFromZeroTol.m b/src/@report_series/setDataToZeroFromZeroTol.m index b6ee3ed..22faa32 100644 --- a/src/@report_series/setDataToZeroFromZeroTol.m +++ b/src/@report_series/setDataToZeroFromZeroTol.m @@ -16,7 +16,7 @@ function d = setDataToZeroFromZeroTol(o, ds) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. d = ds.data; stz = bsxfun(@and, ... diff --git a/src/@report_series/writeSeriesForGraph.m b/src/@report_series/writeSeriesForGraph.m index ee2bd94..8549796 100644 --- a/src/@report_series/writeSeriesForGraph.m +++ b/src/@report_series/writeSeriesForGraph.m @@ -28,7 +28,7 @@ function writeSeriesForGraph(o, fid, xrange, series_num) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. %% Validate options provided by user if isempty(o.graphVline) && isempty(o.graphHline) diff --git a/src/@report_series/writeSeriesForTable.m b/src/@report_series/writeSeriesForTable.m index dbdad25..5a36f32 100644 --- a/src/@report_series/writeSeriesForTable.m +++ b/src/@report_series/writeSeriesForTable.m @@ -32,7 +32,7 @@ function writeSeriesForTable(o, fid, dates, precision, ncols, rowcolor) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. %% Validate options passed to function for i=1:length(dates) diff --git a/src/@report_series/ymax.m b/src/@report_series/ymax.m index b0168bc..e711292 100644 --- a/src/@report_series/ymax.m +++ b/src/@report_series/ymax.m @@ -16,7 +16,7 @@ function ymax = ymax(o, dd) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. assert(~isempty(o.data) && size(o.data, 2) == 1); ymax = max(o.data(dd).data); diff --git a/src/@report_series/ymin.m b/src/@report_series/ymin.m index 2820faf..3ae958a 100644 --- a/src/@report_series/ymin.m +++ b/src/@report_series/ymin.m @@ -16,7 +16,7 @@ function ymin = ymin(o, dd) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. assert(~isempty(o.data) && size(o.data, 2) == 1); ymin = min(o.data(dd).data); diff --git a/src/@report_table/addData.m b/src/@report_table/addData.m index b17fe99..6a6a33a 100644 --- a/src/@report_table/addData.m +++ b/src/@report_table/addData.m @@ -27,7 +27,7 @@ function o = addData(o, varargin) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. if length(o.table_data) >= 1 error('@report_table.addData: You can only use addData once per table') diff --git a/src/@report_table/addSeries.m b/src/@report_table/addSeries.m index 348aa78..70eccc1 100644 --- a/src/@report_table/addSeries.m +++ b/src/@report_table/addSeries.m @@ -27,7 +27,7 @@ function o = addSeries(o, varargin) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. o.series{end+1} = report_series(varargin{:}); end \ No newline at end of file diff --git a/src/@report_table/report_table.m b/src/@report_table/report_table.m index adf24a4..3df72d5 100644 --- a/src/@report_table/report_table.m +++ b/src/@report_table/report_table.m @@ -16,7 +16,7 @@ classdef report_table < handle % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License - % along with Dynare. If not, see <http://www.gnu.org/licenses/>. + % along with Dynare. If not, see <https://www.gnu.org/licenses/>. properties (Access = private, Constant = true) titleFormatDefalut = {'\large'} end @@ -187,7 +187,7 @@ function tf = allCellsAreDatesRange(dcell) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. assert(iscell(dcell)); tf = true; @@ -227,7 +227,7 @@ function tf = allCellsAreDates(dcell) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. assert(iscell(dcell)); tf = true; diff --git a/src/@report_table/write.m b/src/@report_table/write.m index 7769589..eb34d5a 100644 --- a/src/@report_table/write.m +++ b/src/@report_table/write.m @@ -32,7 +32,7 @@ function write(o, fid, pg, sec, row, col, rep_dir) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. tableName = writeTableFile(o, pg, sec, row, col, rep_dir); fprintf(fid, '\\input{%s}', tableName); diff --git a/src/@report_table/writeTableFile.m b/src/@report_table/writeTableFile.m index 40e43df..088d621 100644 --- a/src/@report_table/writeTableFile.m +++ b/src/@report_table/writeTableFile.m @@ -31,7 +31,7 @@ function tableName = writeTableFile(o, pg, sec, row, col, rep_dir) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. ne = length(o.series); is_data_table = ~isempty(o.table_data); diff --git a/src/@section/addData.m b/src/@section/addData.m index 8d4b91d..67c3b4b 100644 --- a/src/@section/addData.m +++ b/src/@section/addData.m @@ -27,7 +27,7 @@ function o = addData(o, varargin) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. assert(~isempty(o.elements), ... '@section.addData: Before adding data, you must add either a table'); diff --git a/src/@section/addGraph.m b/src/@section/addGraph.m index 7699817..9ae9d60 100644 --- a/src/@section/addGraph.m +++ b/src/@section/addGraph.m @@ -27,7 +27,7 @@ function o = addGraph(o, varargin) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. if ~isempty(o.elements) assert(~isa(o.elements{1}, 'paragraph'), ... diff --git a/src/@section/addParagraph.m b/src/@section/addParagraph.m index 49cbe50..4898044 100644 --- a/src/@section/addParagraph.m +++ b/src/@section/addParagraph.m @@ -27,7 +27,7 @@ function o = addParagraph(o, varargin) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. assert(o.cols == 1, ... '@addParagraph: you can only add a paragraph to a Section that contains one column'); diff --git a/src/@section/addSeries.m b/src/@section/addSeries.m index 1119460..7b248ca 100644 --- a/src/@section/addSeries.m +++ b/src/@section/addSeries.m @@ -27,7 +27,7 @@ function o = addSeries(o, varargin) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. assert(~isempty(o.elements), ... '@section.addSeries: Before adding a series, you must add either a graph or a table'); diff --git a/src/@section/addTable.m b/src/@section/addTable.m index 7b819d7..29b6054 100644 --- a/src/@section/addTable.m +++ b/src/@section/addTable.m @@ -27,7 +27,7 @@ function o = addTable(o, varargin) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. if ~isempty(o.elements) assert(~isa(o.elements{1}, 'paragraph'), ... diff --git a/src/@section/addVspace.m b/src/@section/addVspace.m index 7bd4842..15db7c2 100644 --- a/src/@section/addVspace.m +++ b/src/@section/addVspace.m @@ -27,7 +27,7 @@ function o = addVspace(o, varargin) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. if ~isempty(o.elements) assert(~isa(o.elements{1}, 'paragraph'), ... diff --git a/src/@section/end.m b/src/@section/end.m index b9d3745..d5b5adc 100644 --- a/src/@section/end.m +++ b/src/@section/end.m @@ -28,7 +28,7 @@ function lastIndex = end(o, k, n) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. assert(k==1 && n==1, '@section/end: section only has one dimension'); lastIndex = numElements(o); diff --git a/src/@section/numElements.m b/src/@section/numElements.m index c783c82..d77eebf 100644 --- a/src/@section/numElements.m +++ b/src/@section/numElements.m @@ -16,7 +16,7 @@ function n = numElements(o) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. n = length(o.elements); end \ No newline at end of file diff --git a/src/@section/section.m b/src/@section/section.m index ea29782..cfd70af 100644 --- a/src/@section/section.m +++ b/src/@section/section.m @@ -16,7 +16,7 @@ classdef section < handle % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License - % along with Dynare. If not, see <http://www.gnu.org/licenses/>. + % along with Dynare. If not, see <https://www.gnu.org/licenses/>. properties (Access = private) elements = {} end diff --git a/src/@section/write.m b/src/@section/write.m index 4e68ac7..3099496 100644 --- a/src/@section/write.m +++ b/src/@section/write.m @@ -30,7 +30,7 @@ function write(o, fid, pg, sec, rep_dir) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. fprintf(fid, '%% Section Object written %s\n', datestr(now)); if isempty(o.elements) diff --git a/src/@vspace/vspace.m b/src/@vspace/vspace.m index 74dc957..009a22d 100644 --- a/src/@vspace/vspace.m +++ b/src/@vspace/vspace.m @@ -16,7 +16,7 @@ classdef vspace < handle % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License - % along with Dynare. If not, see <http://www.gnu.org/licenses/>. + % along with Dynare. If not, see <https://www.gnu.org/licenses/>. properties (SetAccess = private) hline = 0 % Number of horizontal lines to be inserted. Default 0 number = 1 % Number of new lines to be inserted. Default 1 diff --git a/src/@vspace/write.m b/src/@vspace/write.m index 382be90..61f5172 100644 --- a/src/@vspace/write.m +++ b/src/@vspace/write.m @@ -27,7 +27,7 @@ function o = write(o, fid) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. fprintf(fid, repmat(' \\par \\medskip ', 1, o.number)); if o.hline > 0 diff --git a/src/addCommasToCellStr.m b/src/addCommasToCellStr.m index de96d4e..94d9d2b 100644 --- a/src/addCommasToCellStr.m +++ b/src/addCommasToCellStr.m @@ -26,7 +26,7 @@ function str = addCommasToCellStr(cs) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. assert(iscellstr(cs), 'addCommasToCellStr: cs should be a cell array of strings.'); diff --git a/src/getMaxRange.m b/src/getMaxRange.m index 9a06576..ace80d6 100644 --- a/src/getMaxRange.m +++ b/src/getMaxRange.m @@ -16,7 +16,7 @@ function dd = getMaxRange(cellser) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. ddmin = dates(); ddmax = dates(); diff --git a/src/initialize_reporting_toolbox.m b/src/initialize_reporting_toolbox.m index f421b17..442cb74 100644 --- a/src/initialize_reporting_toolbox.m +++ b/src/initialize_reporting_toolbox.m @@ -18,7 +18,7 @@ function initialize_reporting_toolbox() % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. % Find reporting source directory reporting_src_root = strrep(which('initialize_reporting_toolbox'), 'initialize_reporting_toolbox.m', ''); diff --git a/test/AnnualTable.m b/test/AnnualTable.m index 92a276a..e411de7 100644 --- a/test/AnnualTable.m +++ b/test/AnnualTable.m @@ -14,7 +14,7 @@ function rep = AnnualTable(rep, db_a, dc_a, seriesRootName, arange) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. shortNames = {'US', 'EU', 'JA', 'EA6', 'LA6', 'RC6'}; longNames = {'Coca Cola', 'Kinder Bueno', 'Pizza', ... diff --git a/test/CommResidTablePage.m b/test/CommResidTablePage.m index 26da030..e8436df 100644 --- a/test/CommResidTablePage.m +++ b/test/CommResidTablePage.m @@ -14,7 +14,7 @@ function rep = CommResidTablePage(rep, db_q, dc_q, trange, vline_after) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. seriesNames = {{'RES_LRPOIL_GAP_WORLD'}, ... {'RES_LRPOIL_BAR_WORLD'}, ... diff --git a/test/CountryGraphPage.m b/test/CountryGraphPage.m index 549f828..3a67740 100644 --- a/test/CountryGraphPage.m +++ b/test/CountryGraphPage.m @@ -14,7 +14,7 @@ function rep = CountryGraphPage(rep, countryAbbr, db_q, dc_q, prange, srange) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. startpoint = strings(prange(1)); shaded = strings(srange(1)); diff --git a/test/CountryTablePage.m b/test/CountryTablePage.m index 62073b1..0b531c8 100644 --- a/test/CountryTablePage.m +++ b/test/CountryTablePage.m @@ -14,7 +14,7 @@ function rep = CountryTablePage(rep, countryAbbr, countryName, db_q, dc_q, db_a, % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. seriesNames = {{'RS_', 'Short Term Interest Rate'}, ... {'RR_', 'Real Interest Rate'}, ... diff --git a/test/ResidTablePage.m b/test/ResidTablePage.m index 295e705..2e70a66 100644 --- a/test/ResidTablePage.m +++ b/test/ResidTablePage.m @@ -14,7 +14,7 @@ function rep = ResidTablePage(rep, countryAbbr, countryName, db_q, dc_q, trange, % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. seriesNames = {{'RES_RS_'}, ... {'RES_RR_BAR_'}, ... diff --git a/test/createReport.m b/test/createReport.m index 486e963..fa47180 100644 --- a/test/createReport.m +++ b/test/createReport.m @@ -16,7 +16,7 @@ function createReport(dc_a, dc_q, db_a, db_q) % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. tic larange= dates('2007a'):dates('2014a'); diff --git a/test/runtest.m b/test/runtest.m index 0e8b525..65b6411 100644 --- a/test/runtest.m +++ b/test/runtest.m @@ -13,7 +13,7 @@ % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License -% along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% along with Dynare. If not, see <https://www.gnu.org/licenses/>. initialize_dseries_class(); initialize_reporting_toolbox(); -- GitLab