From e3138abef8b69a2e92e947d3c5f57fc30dfe3222 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= Date: Wed, 9 Jun 2021 17:15:17 +0200 Subject: [PATCH] Use secure URL for link to GNU licenses --- matlab/reporting/LICENSE.md | 2 +- matlab/reporting/macros/make_report_irfs.m | 2 +- matlab/reporting/src/@page/addData.m | 2 +- matlab/reporting/src/@page/addGraph.m | 2 +- matlab/reporting/src/@page/addParagraph.m | 2 +- matlab/reporting/src/@page/addSection.m | 2 +- matlab/reporting/src/@page/addSeries.m | 2 +- matlab/reporting/src/@page/addTable.m | 2 +- matlab/reporting/src/@page/addVspace.m | 2 +- matlab/reporting/src/@page/end.m | 2 +- matlab/reporting/src/@page/numSections.m | 2 +- matlab/reporting/src/@page/page.m | 2 +- matlab/reporting/src/@page/write.m | 2 +- matlab/reporting/src/@paragraph/paragraph.m | 2 +- matlab/reporting/src/@paragraph/write.m | 2 +- matlab/reporting/src/@report/addData.m | 2 +- matlab/reporting/src/@report/addGraph.m | 2 +- matlab/reporting/src/@report/addPage.m | 2 +- matlab/reporting/src/@report/addParagraph.m | 2 +- matlab/reporting/src/@report/addSection.m | 2 +- matlab/reporting/src/@report/addSeries.m | 2 +- matlab/reporting/src/@report/addTable.m | 2 +- matlab/reporting/src/@report/addVspace.m | 2 +- matlab/reporting/src/@report/compile.m | 2 +- matlab/reporting/src/@report/numPages.m | 2 +- matlab/reporting/src/@report/report.m | 2 +- matlab/reporting/src/@report/write.m | 2 +- matlab/reporting/src/@report_data/report_data.m | 2 +- matlab/reporting/src/@report_data/writeDataForTable.m | 2 +- matlab/reporting/src/@report_graph/addSeries.m | 2 +- matlab/reporting/src/@report_graph/end.m | 2 +- matlab/reporting/src/@report_graph/report_graph.m | 2 +- matlab/reporting/src/@report_graph/write.m | 2 +- matlab/reporting/src/@report_graph/writeGraphFile.m | 2 +- matlab/reporting/src/@report_series/getNameForLegend.m | 2 +- matlab/reporting/src/@report_series/getRange.m | 2 +- matlab/reporting/src/@report_series/getTexName.m | 2 +- matlab/reporting/src/@report_series/isZero.m | 2 +- matlab/reporting/src/@report_series/printSeries.m | 2 +- matlab/reporting/src/@report_series/report_series.m | 2 +- .../reporting/src/@report_series/setDataToZeroFromZeroTol.m | 2 +- matlab/reporting/src/@report_series/writeSeriesForGraph.m | 2 +- matlab/reporting/src/@report_series/writeSeriesForTable.m | 2 +- matlab/reporting/src/@report_series/ymax.m | 2 +- matlab/reporting/src/@report_series/ymin.m | 2 +- matlab/reporting/src/@report_table/addData.m | 2 +- matlab/reporting/src/@report_table/addSeries.m | 2 +- matlab/reporting/src/@report_table/report_table.m | 6 +++--- matlab/reporting/src/@report_table/write.m | 2 +- matlab/reporting/src/@report_table/writeTableFile.m | 2 +- matlab/reporting/src/@section/addData.m | 2 +- matlab/reporting/src/@section/addGraph.m | 2 +- matlab/reporting/src/@section/addParagraph.m | 2 +- matlab/reporting/src/@section/addSeries.m | 2 +- matlab/reporting/src/@section/addTable.m | 2 +- matlab/reporting/src/@section/addVspace.m | 2 +- matlab/reporting/src/@section/end.m | 2 +- matlab/reporting/src/@section/numElements.m | 2 +- matlab/reporting/src/@section/section.m | 2 +- matlab/reporting/src/@section/write.m | 2 +- matlab/reporting/src/@vspace/vspace.m | 2 +- matlab/reporting/src/@vspace/write.m | 2 +- matlab/reporting/src/addCommasToCellStr.m | 2 +- matlab/reporting/src/getMaxRange.m | 2 +- matlab/reporting/src/initialize_reporting_toolbox.m | 2 +- matlab/reporting/test/AnnualTable.m | 2 +- matlab/reporting/test/CommResidTablePage.m | 2 +- matlab/reporting/test/CountryGraphPage.m | 2 +- matlab/reporting/test/CountryTablePage.m | 2 +- matlab/reporting/test/ResidTablePage.m | 2 +- matlab/reporting/test/createReport.m | 2 +- matlab/reporting/test/runtest.m | 2 +- 72 files changed, 74 insertions(+), 74 deletions(-) diff --git a/matlab/reporting/LICENSE.md b/matlab/reporting/LICENSE.md index 47a746a4b..05be69088 100644 --- a/matlab/reporting/LICENSE.md +++ b/matlab/reporting/LICENSE.md @@ -12,4 +12,4 @@ > General Public License for more details. > A copy of the GNU General Public License is available here -> . +> . diff --git a/matlab/reporting/macros/make_report_irfs.m b/matlab/reporting/macros/make_report_irfs.m index f6e23eef2..22f656010 100644 --- a/matlab/reporting/macros/make_report_irfs.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . if ~isfield(oo, 'irfs') disp('make_report_irfs: oo_.irfs does not exist'); diff --git a/matlab/reporting/src/@page/addData.m b/matlab/reporting/src/@page/addData.m index 7d53690a3..a5d8bbff7 100644 --- a/matlab/reporting/src/@page/addData.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . assert(~isempty(o.sections), ... '@page.addData: Before adding data, you must add a section.'); diff --git a/matlab/reporting/src/@page/addGraph.m b/matlab/reporting/src/@page/addGraph.m index b60c12053..73aa32388 100644 --- a/matlab/reporting/src/@page/addGraph.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . assert(~isempty(o.sections), ... '@page.addGraph: Before adding a graph, you must add a section.'); diff --git a/matlab/reporting/src/@page/addParagraph.m b/matlab/reporting/src/@page/addParagraph.m index 56a551719..d99e24df4 100644 --- a/matlab/reporting/src/@page/addParagraph.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . assert(~isempty(o.sections), ... '@page.addParagraph: Before adding a paragraph, you must add a section.'); diff --git a/matlab/reporting/src/@page/addSection.m b/matlab/reporting/src/@page/addSection.m index 8644f1715..ec03841e9 100644 --- a/matlab/reporting/src/@page/addSection.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . o.sections{end+1} = section(varargin{:}); end diff --git a/matlab/reporting/src/@page/addSeries.m b/matlab/reporting/src/@page/addSeries.m index e44ff8034..033d86c2b 100644 --- a/matlab/reporting/src/@page/addSeries.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . assert(~isempty(o.sections), ... '@page.addSeries: Before adding a series, you must add a section.'); diff --git a/matlab/reporting/src/@page/addTable.m b/matlab/reporting/src/@page/addTable.m index 63f56e95c..560daf83a 100644 --- a/matlab/reporting/src/@page/addTable.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . assert(~isempty(o.sections), ... '@page.addTable: Before adding a table, you must add a section.'); diff --git a/matlab/reporting/src/@page/addVspace.m b/matlab/reporting/src/@page/addVspace.m index 828f3a195..d19e86f79 100644 --- a/matlab/reporting/src/@page/addVspace.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . assert(~isempty(o.sections), ... '@page.addVspace: Before adding a vspace, you must add a section.'); diff --git a/matlab/reporting/src/@page/end.m b/matlab/reporting/src/@page/end.m index 49b790b29..64db41299 100644 --- a/matlab/reporting/src/@page/end.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . assert(k==1 && n==1, '@page/end: page only has one dimension'); lastIndex = numSections(o); diff --git a/matlab/reporting/src/@page/numSections.m b/matlab/reporting/src/@page/numSections.m index 9454abf75..a41454563 100644 --- a/matlab/reporting/src/@page/numSections.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . ns = length(p.sections); end \ No newline at end of file diff --git a/matlab/reporting/src/@page/page.m b/matlab/reporting/src/@page/page.m index 320c02bc3..565c34ebe 100644 --- a/matlab/reporting/src/@page/page.m +++ b/matlab/reporting/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 . + % along with Dynare. If not, see . properties (Access = private, Constant = true) titleFormatDefalut = {'\large\bfseries'} end diff --git a/matlab/reporting/src/@page/write.m b/matlab/reporting/src/@page/write.m index 61a4c3143..e02e37e08 100644 --- a/matlab/reporting/src/@page/write.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . fprintf(fid, '\n%% Page Number %d written %s\n', pg, datestr(now)); if ~isempty(o.setPageNumber) diff --git a/matlab/reporting/src/@paragraph/paragraph.m b/matlab/reporting/src/@paragraph/paragraph.m index e036ef5da..85ff6b5d6 100644 --- a/matlab/reporting/src/@paragraph/paragraph.m +++ b/matlab/reporting/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 . + % along with Dynare. If not, see . 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/matlab/reporting/src/@paragraph/write.m b/matlab/reporting/src/@paragraph/write.m index 8133a04af..b106ab0cd 100644 --- a/matlab/reporting/src/@paragraph/write.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . fprintf(fid, '%% Paragraph Object written %s\n', datestr(now)); fprintf(fid, '\\multicolumn{1}{p{\\linewidth}}{%%\n'); diff --git a/matlab/reporting/src/@report/addData.m b/matlab/reporting/src/@report/addData.m index 2ff066a55..ad718ea10 100644 --- a/matlab/reporting/src/@report/addData.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . assert(~isempty(o.pages), ... '@report.addData: Before adding data, you must add a page, section, and a table.'); diff --git a/matlab/reporting/src/@report/addGraph.m b/matlab/reporting/src/@report/addGraph.m index 7a4e68e48..7bc239e7b 100644 --- a/matlab/reporting/src/@report/addGraph.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . assert(~isempty(o.pages) > 0, ... '@report.addGraph: Before adding a graph, you must add a page and a section.'); diff --git a/matlab/reporting/src/@report/addPage.m b/matlab/reporting/src/@report/addPage.m index 8137962b6..e15b8eb93 100644 --- a/matlab/reporting/src/@report/addPage.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . np = length(o.pages) + 1; if o.showOutput diff --git a/matlab/reporting/src/@report/addParagraph.m b/matlab/reporting/src/@report/addParagraph.m index 7dfd9478a..16daf3eb5 100644 --- a/matlab/reporting/src/@report/addParagraph.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . assert(~isempty(o.pages) > 0, ... '@report.addParagraph: Before adding a paragraph, you must add a page and a section.'); diff --git a/matlab/reporting/src/@report/addSection.m b/matlab/reporting/src/@report/addSection.m index 430ec84f8..a24cdf3cd 100644 --- a/matlab/reporting/src/@report/addSection.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . assert(~isempty(o.pages) > 0, ... '@report.addSection: Before adding a section, you must add a page.'); diff --git a/matlab/reporting/src/@report/addSeries.m b/matlab/reporting/src/@report/addSeries.m index 239740e3c..6de33bb11 100644 --- a/matlab/reporting/src/@report/addSeries.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . assert(~isempty(o.pages), ... ['@report.addSeries: Before adding a series, you must add a page, ' ... diff --git a/matlab/reporting/src/@report/addTable.m b/matlab/reporting/src/@report/addTable.m index 12e46216f..01fe4339a 100644 --- a/matlab/reporting/src/@report/addTable.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . assert(~isempty(o.pages), ... '@report.addTable: Before adding a table, you must add a page and a section.'); diff --git a/matlab/reporting/src/@report/addVspace.m b/matlab/reporting/src/@report/addVspace.m index f3fee71a4..e24329865 100644 --- a/matlab/reporting/src/@report/addVspace.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . assert(~isempty(o.pages), ... '@report.addVspace: Before adding a vspace, you must add a page and a section.'); diff --git a/matlab/reporting/src/@report/compile.m b/matlab/reporting/src/@report/compile.m index 81fd3229b..b34d935a6 100644 --- a/matlab/reporting/src/@report/compile.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . opts.compiler = o.compiler; opts.showReport = true; diff --git a/matlab/reporting/src/@report/numPages.m b/matlab/reporting/src/@report/numPages.m index 055a95c79..4c6a21b56 100644 --- a/matlab/reporting/src/@report/numPages.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . n = length(o.pages); end \ No newline at end of file diff --git a/matlab/reporting/src/@report/report.m b/matlab/reporting/src/@report/report.m index dcdb97587..858d686ce 100644 --- a/matlab/reporting/src/@report/report.m +++ b/matlab/reporting/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 . + % along with Dynare. If not, see . properties (Access = private) pages = {} end diff --git a/matlab/reporting/src/@report/write.m b/matlab/reporting/src/@report/write.m index 0f3f0b260..53003f061 100644 --- a/matlab/reporting/src/@report/write.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . if exist(o.directory, 'dir') ~= 7 mkdir(o.directory); diff --git a/matlab/reporting/src/@report_data/report_data.m b/matlab/reporting/src/@report_data/report_data.m index 84683d06a..bdc0b8f21 100644 --- a/matlab/reporting/src/@report_data/report_data.m +++ b/matlab/reporting/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 . + % along with Dynare. If not, see . properties (SetAccess = private) data = '' tableAlignRight = false diff --git a/matlab/reporting/src/@report_data/writeDataForTable.m b/matlab/reporting/src/@report_data/writeDataForTable.m index 34723fb91..ec3b2c7cc 100644 --- a/matlab/reporting/src/@report_data/writeDataForTable.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . %% Validate options provided by user assert(ischar(o.tableRowColor), '@report_data.writeDataForTable: tableRowColor must be a string'); diff --git a/matlab/reporting/src/@report_graph/addSeries.m b/matlab/reporting/src/@report_graph/addSeries.m index adf157b8b..5ab24e83a 100644 --- a/matlab/reporting/src/@report_graph/addSeries.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . o.series{end+1} = report_series(varargin{:}); end diff --git a/matlab/reporting/src/@report_graph/end.m b/matlab/reporting/src/@report_graph/end.m index 2410bc916..c04e3e630 100644 --- a/matlab/reporting/src/@report_graph/end.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . assert(k==1 && n==1, '@report_graph/end: graph only has one dimension'); lastIndex = length(o.series); diff --git a/matlab/reporting/src/@report_graph/report_graph.m b/matlab/reporting/src/@report_graph/report_graph.m index 9739cb489..0cddf171d 100644 --- a/matlab/reporting/src/@report_graph/report_graph.m +++ b/matlab/reporting/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 . + % along with Dynare. If not, see . properties (Access = private) series = {} end diff --git a/matlab/reporting/src/@report_graph/write.m b/matlab/reporting/src/@report_graph/write.m index 069bc77a2..f889a480b 100644 --- a/matlab/reporting/src/@report_graph/write.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . graphName = writeGraphFile(o, pg, sec, row, col, rep_dir); fprintf(fid, '\\input{%s}', graphName); diff --git a/matlab/reporting/src/@report_graph/writeGraphFile.m b/matlab/reporting/src/@report_graph/writeGraphFile.m index 0724e14d2..6539bd539 100644 --- a/matlab/reporting/src/@report_graph/writeGraphFile.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . ne = length(o.series); if ne < 1 diff --git a/matlab/reporting/src/@report_series/getNameForLegend.m b/matlab/reporting/src/@report_series/getNameForLegend.m index 4b28ee8b5..9b43da988 100644 --- a/matlab/reporting/src/@report_series/getNameForLegend.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . if isempty(o.data) || ~o.graphShowInLegend % for the case when there is no data in the series diff --git a/matlab/reporting/src/@report_series/getRange.m b/matlab/reporting/src/@report_series/getRange.m index 76d2e5749..cf4e85510 100644 --- a/matlab/reporting/src/@report_series/getRange.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . if isempty(o.data) dd = dates(); diff --git a/matlab/reporting/src/@report_series/getTexName.m b/matlab/reporting/src/@report_series/getTexName.m index 87076b2c1..9d212bbb1 100644 --- a/matlab/reporting/src/@report_series/getTexName.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . if isempty(o.data) % for the case when there is no data in the series diff --git a/matlab/reporting/src/@report_series/isZero.m b/matlab/reporting/src/@report_series/isZero.m index 5982efe29..6c2bdef1b 100644 --- a/matlab/reporting/src/@report_series/isZero.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . tf = all(o.data.data == 0); end diff --git a/matlab/reporting/src/@report_series/printSeries.m b/matlab/reporting/src/@report_series/printSeries.m index ce539d862..6bece9cf9 100644 --- a/matlab/reporting/src/@report_series/printSeries.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . dataString = sprintf('%%.%df', precision); precision = 10^precision; diff --git a/matlab/reporting/src/@report_series/report_series.m b/matlab/reporting/src/@report_series/report_series.m index 35454d60d..1cf583032 100644 --- a/matlab/reporting/src/@report_series/report_series.m +++ b/matlab/reporting/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 . + % along with Dynare. If not, see . 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/matlab/reporting/src/@report_series/setDataToZeroFromZeroTol.m b/matlab/reporting/src/@report_series/setDataToZeroFromZeroTol.m index b6ee3edd6..22faa322b 100644 --- a/matlab/reporting/src/@report_series/setDataToZeroFromZeroTol.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . d = ds.data; stz = bsxfun(@and, ... diff --git a/matlab/reporting/src/@report_series/writeSeriesForGraph.m b/matlab/reporting/src/@report_series/writeSeriesForGraph.m index ee2bd9434..8549796ad 100644 --- a/matlab/reporting/src/@report_series/writeSeriesForGraph.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . %% Validate options provided by user if isempty(o.graphVline) && isempty(o.graphHline) diff --git a/matlab/reporting/src/@report_series/writeSeriesForTable.m b/matlab/reporting/src/@report_series/writeSeriesForTable.m index dbdad2587..5a36f329a 100644 --- a/matlab/reporting/src/@report_series/writeSeriesForTable.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . %% Validate options passed to function for i=1:length(dates) diff --git a/matlab/reporting/src/@report_series/ymax.m b/matlab/reporting/src/@report_series/ymax.m index b0168bc86..e7112923e 100644 --- a/matlab/reporting/src/@report_series/ymax.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . assert(~isempty(o.data) && size(o.data, 2) == 1); ymax = max(o.data(dd).data); diff --git a/matlab/reporting/src/@report_series/ymin.m b/matlab/reporting/src/@report_series/ymin.m index 2820faf38..3ae958a9c 100644 --- a/matlab/reporting/src/@report_series/ymin.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . assert(~isempty(o.data) && size(o.data, 2) == 1); ymin = min(o.data(dd).data); diff --git a/matlab/reporting/src/@report_table/addData.m b/matlab/reporting/src/@report_table/addData.m index b17fe9915..6a6a33ae9 100644 --- a/matlab/reporting/src/@report_table/addData.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . if length(o.table_data) >= 1 error('@report_table.addData: You can only use addData once per table') diff --git a/matlab/reporting/src/@report_table/addSeries.m b/matlab/reporting/src/@report_table/addSeries.m index 348aa785b..70eccc148 100644 --- a/matlab/reporting/src/@report_table/addSeries.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . o.series{end+1} = report_series(varargin{:}); end \ No newline at end of file diff --git a/matlab/reporting/src/@report_table/report_table.m b/matlab/reporting/src/@report_table/report_table.m index adf24a465..3df72d56a 100644 --- a/matlab/reporting/src/@report_table/report_table.m +++ b/matlab/reporting/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 . + % along with Dynare. If not, see . 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 . +% along with Dynare. If not, see . 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 . +% along with Dynare. If not, see . assert(iscell(dcell)); tf = true; diff --git a/matlab/reporting/src/@report_table/write.m b/matlab/reporting/src/@report_table/write.m index 776958967..eb34d5a80 100644 --- a/matlab/reporting/src/@report_table/write.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . tableName = writeTableFile(o, pg, sec, row, col, rep_dir); fprintf(fid, '\\input{%s}', tableName); diff --git a/matlab/reporting/src/@report_table/writeTableFile.m b/matlab/reporting/src/@report_table/writeTableFile.m index 40e43df07..088d6214e 100644 --- a/matlab/reporting/src/@report_table/writeTableFile.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . ne = length(o.series); is_data_table = ~isempty(o.table_data); diff --git a/matlab/reporting/src/@section/addData.m b/matlab/reporting/src/@section/addData.m index 8d4b91d55..67c3b4bc6 100644 --- a/matlab/reporting/src/@section/addData.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . assert(~isempty(o.elements), ... '@section.addData: Before adding data, you must add either a table'); diff --git a/matlab/reporting/src/@section/addGraph.m b/matlab/reporting/src/@section/addGraph.m index 76998175b..9ae9d6078 100644 --- a/matlab/reporting/src/@section/addGraph.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . if ~isempty(o.elements) assert(~isa(o.elements{1}, 'paragraph'), ... diff --git a/matlab/reporting/src/@section/addParagraph.m b/matlab/reporting/src/@section/addParagraph.m index 49cbe5044..489804498 100644 --- a/matlab/reporting/src/@section/addParagraph.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . assert(o.cols == 1, ... '@addParagraph: you can only add a paragraph to a Section that contains one column'); diff --git a/matlab/reporting/src/@section/addSeries.m b/matlab/reporting/src/@section/addSeries.m index 111946022..7b248ca9a 100644 --- a/matlab/reporting/src/@section/addSeries.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . assert(~isempty(o.elements), ... '@section.addSeries: Before adding a series, you must add either a graph or a table'); diff --git a/matlab/reporting/src/@section/addTable.m b/matlab/reporting/src/@section/addTable.m index 7b819d760..29b60546c 100644 --- a/matlab/reporting/src/@section/addTable.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . if ~isempty(o.elements) assert(~isa(o.elements{1}, 'paragraph'), ... diff --git a/matlab/reporting/src/@section/addVspace.m b/matlab/reporting/src/@section/addVspace.m index 7bd48428b..15db7c226 100644 --- a/matlab/reporting/src/@section/addVspace.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . if ~isempty(o.elements) assert(~isa(o.elements{1}, 'paragraph'), ... diff --git a/matlab/reporting/src/@section/end.m b/matlab/reporting/src/@section/end.m index b9d37457c..d5b5adcdc 100644 --- a/matlab/reporting/src/@section/end.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . assert(k==1 && n==1, '@section/end: section only has one dimension'); lastIndex = numElements(o); diff --git a/matlab/reporting/src/@section/numElements.m b/matlab/reporting/src/@section/numElements.m index c783c82f7..d77eebf94 100644 --- a/matlab/reporting/src/@section/numElements.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . n = length(o.elements); end \ No newline at end of file diff --git a/matlab/reporting/src/@section/section.m b/matlab/reporting/src/@section/section.m index ea29782ec..cfd70afa4 100644 --- a/matlab/reporting/src/@section/section.m +++ b/matlab/reporting/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 . + % along with Dynare. If not, see . properties (Access = private) elements = {} end diff --git a/matlab/reporting/src/@section/write.m b/matlab/reporting/src/@section/write.m index 4e68ac743..309949616 100644 --- a/matlab/reporting/src/@section/write.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . fprintf(fid, '%% Section Object written %s\n', datestr(now)); if isempty(o.elements) diff --git a/matlab/reporting/src/@vspace/vspace.m b/matlab/reporting/src/@vspace/vspace.m index 74dc9575e..009a22ddd 100644 --- a/matlab/reporting/src/@vspace/vspace.m +++ b/matlab/reporting/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 . + % along with Dynare. If not, see . 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/matlab/reporting/src/@vspace/write.m b/matlab/reporting/src/@vspace/write.m index 382be905d..61f517278 100644 --- a/matlab/reporting/src/@vspace/write.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . fprintf(fid, repmat(' \\par \\medskip ', 1, o.number)); if o.hline > 0 diff --git a/matlab/reporting/src/addCommasToCellStr.m b/matlab/reporting/src/addCommasToCellStr.m index de96d4e08..94d9d2b5e 100644 --- a/matlab/reporting/src/addCommasToCellStr.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . assert(iscellstr(cs), 'addCommasToCellStr: cs should be a cell array of strings.'); diff --git a/matlab/reporting/src/getMaxRange.m b/matlab/reporting/src/getMaxRange.m index 9a065767c..ace80d6dc 100644 --- a/matlab/reporting/src/getMaxRange.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . ddmin = dates(); ddmax = dates(); diff --git a/matlab/reporting/src/initialize_reporting_toolbox.m b/matlab/reporting/src/initialize_reporting_toolbox.m index f421b17f7..442cb7458 100644 --- a/matlab/reporting/src/initialize_reporting_toolbox.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . % Find reporting source directory reporting_src_root = strrep(which('initialize_reporting_toolbox'), 'initialize_reporting_toolbox.m', ''); diff --git a/matlab/reporting/test/AnnualTable.m b/matlab/reporting/test/AnnualTable.m index 92a276ac9..e411de71b 100644 --- a/matlab/reporting/test/AnnualTable.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . shortNames = {'US', 'EU', 'JA', 'EA6', 'LA6', 'RC6'}; longNames = {'Coca Cola', 'Kinder Bueno', 'Pizza', ... diff --git a/matlab/reporting/test/CommResidTablePage.m b/matlab/reporting/test/CommResidTablePage.m index 26da0301f..e8436dfd9 100644 --- a/matlab/reporting/test/CommResidTablePage.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . seriesNames = {{'RES_LRPOIL_GAP_WORLD'}, ... {'RES_LRPOIL_BAR_WORLD'}, ... diff --git a/matlab/reporting/test/CountryGraphPage.m b/matlab/reporting/test/CountryGraphPage.m index 549f828e0..3a6774089 100644 --- a/matlab/reporting/test/CountryGraphPage.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . startpoint = strings(prange(1)); shaded = strings(srange(1)); diff --git a/matlab/reporting/test/CountryTablePage.m b/matlab/reporting/test/CountryTablePage.m index 62073b1be..0b531c842 100644 --- a/matlab/reporting/test/CountryTablePage.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . seriesNames = {{'RS_', 'Short Term Interest Rate'}, ... {'RR_', 'Real Interest Rate'}, ... diff --git a/matlab/reporting/test/ResidTablePage.m b/matlab/reporting/test/ResidTablePage.m index 295e7058d..2e70a66df 100644 --- a/matlab/reporting/test/ResidTablePage.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . seriesNames = {{'RES_RS_'}, ... {'RES_RR_BAR_'}, ... diff --git a/matlab/reporting/test/createReport.m b/matlab/reporting/test/createReport.m index 486e963f4..fa471806f 100644 --- a/matlab/reporting/test/createReport.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . tic larange= dates('2007a'):dates('2014a'); diff --git a/matlab/reporting/test/runtest.m b/matlab/reporting/test/runtest.m index 0e8b52507..65b641178 100644 --- a/matlab/reporting/test/runtest.m +++ b/matlab/reporting/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 . +% along with Dynare. If not, see . initialize_dseries_class(); initialize_reporting_toolbox();