# HG changeset patch # User Rik # Date 1669441102 28800 # Node ID ed7b17c7ddf3f1b8d569d1c536a337fba528e9dd # Parent c8ad083a5802e1c72da0b1f40badc4178960714c maint: Strip trailing spaces and add missing EOL to all files. * README, NEWS.6.md, RELEASE_CHECKLIST.md, README.md, besselj.cc, Array.h, LSODE.cc, set.m, audiorecorder.m, play.m, set.m, patch.m: Strip trailing spaces. * command-widget.cc, led-indicator.cc, led-indicator.h: Add missing EOL to files. diff -r c8ad083a5802 -r ed7b17c7ddf3 doc/interpreter/doccheck/README --- a/doc/interpreter/doccheck/README Fri Nov 25 21:23:54 2022 -0800 +++ b/doc/interpreter/doccheck/README Fri Nov 25 21:38:22 2022 -0800 @@ -59,7 +59,7 @@ Make corrections to the source files, *not* arith.texi which is derived. There are generally three choices for resolving a reported misspelling: - + 1. The word is misspelled and should be corrected in the source. 2. The word should not be checked for spelling (for example, it might be a proper name such as "Lanczos"). Use the @nospell{...} macro around diff -r c8ad083a5802 -r ed7b17c7ddf3 etc/NEWS.6.md --- a/etc/NEWS.6.md Fri Nov 25 21:23:54 2022 -0800 +++ b/etc/NEWS.6.md Fri Nov 25 21:38:22 2022 -0800 @@ -482,7 +482,7 @@ Function | Replacement -----------------|------------------ - runtests | oruntests + runtests | oruntests - Properties diff -r c8ad083a5802 -r ed7b17c7ddf3 etc/RELEASE_CHECKLIST.md --- a/etc/RELEASE_CHECKLIST.md Fri Nov 25 21:23:54 2022 -0800 +++ b/etc/RELEASE_CHECKLIST.md Fri Nov 25 21:38:22 2022 -0800 @@ -14,7 +14,7 @@ ### ⚙️ Update gnulib to latest version ### -Completion Date: +Completion Date: **Must occur first** as it could resolve existing, or create new, bug reports. You should run `./bootstrap` in the source tree after updating to the new gnulib version. diff -r c8ad083a5802 -r ed7b17c7ddf3 libgui/languages/build_ts/README.md --- a/libgui/languages/build_ts/README.md Fri Nov 25 21:23:54 2022 -0800 +++ b/libgui/languages/build_ts/README.md Fri Nov 25 21:38:22 2022 -0800 @@ -10,7 +10,7 @@ - `libgui/languages/build_ts/update_ts_files` -which also determines the required search paths for each language. +which also determines the required search paths for each language. Besides source folders within `libgui`, the search path is extended by some qt and qsci files, collected in `libgui/build_ts/octave-qt` and `libgui/build_ts/octave-qsci` respectively, whenever there are no translation files for the language from Qt or QsciScintilla. diff -r c8ad083a5802 -r ed7b17c7ddf3 libgui/src/command-widget.cc --- a/libgui/src/command-widget.cc Fri Nov 25 21:23:54 2022 -0800 +++ b/libgui/src/command-widget.cc Fri Nov 25 21:38:22 2022 -0800 @@ -303,4 +303,4 @@ } -#endif \ No newline at end of file +#endif diff -r c8ad083a5802 -r ed7b17c7ddf3 libgui/src/led-indicator.cc --- a/libgui/src/led-indicator.cc Fri Nov 25 21:23:54 2022 -0800 +++ b/libgui/src/led-indicator.cc Fri Nov 25 21:38:22 2022 -0800 @@ -77,4 +77,4 @@ return style; } -} \ No newline at end of file +} diff -r c8ad083a5802 -r ed7b17c7ddf3 libgui/src/led-indicator.h --- a/libgui/src/led-indicator.h Fri Nov 25 21:23:54 2022 -0800 +++ b/libgui/src/led-indicator.h Fri Nov 25 21:38:22 2022 -0800 @@ -58,4 +58,4 @@ }; } -#endif \ No newline at end of file +#endif diff -r c8ad083a5802 -r ed7b17c7ddf3 libinterp/corefcn/besselj.cc --- a/libinterp/corefcn/besselj.cc Fri Nov 25 21:23:54 2022 -0800 +++ b/libinterp/corefcn/besselj.cc Fri Nov 25 21:38:22 2022 -0800 @@ -472,7 +472,7 @@ %!# Function besseli is tested along with other bessels at the end of this file ## besseli specific BIST -%!assert (! isinf (besseli (0, 700))) +%!assert (! isinf (besseli (0, 700))) */ diff -r c8ad083a5802 -r ed7b17c7ddf3 liboctave/array/Array.h --- a/liboctave/array/Array.h Fri Nov 25 21:23:54 2022 -0800 +++ b/liboctave/array/Array.h Fri Nov 25 21:38:22 2022 -0800 @@ -635,7 +635,7 @@ reshape (octave_idx_type nr, octave_idx_type nc) const { return Array (*this, dim_vector (nr, nc)); } - OCTARRAY_OVERRIDABLE_FUNC_API Array + OCTARRAY_OVERRIDABLE_FUNC_API Array reshape (const dim_vector& new_dims) const { return Array (*this, new_dims); } diff -r c8ad083a5802 -r ed7b17c7ddf3 liboctave/numeric/LSODE.cc --- a/liboctave/numeric/LSODE.cc Fri Nov 25 21:23:54 2022 -0800 +++ b/liboctave/numeric/LSODE.cc Fri Nov 25 21:38:22 2022 -0800 @@ -81,7 +81,7 @@ } static F77_INT -lsode_j (const F77_INT& neq, const double& time, double *, +lsode_j (const F77_INT& neq, const double& time, double *, const F77_INT& ml, const F77_INT& mu, double *pd, const F77_INT& nrowpd) { @@ -102,8 +102,8 @@ for (F77_INT i = 0, j = mu; i <= ml; j == 0 ? i++ : j--) // walk down the subdiagonal in tmp_jac for (F77_INT k = i, l = j; k < neq && l < neq; k++, l++) - pd[nrowpd * l + k + mu - l] = tmp_jac (k, l); - + pd[nrowpd * l + k + mu - l] = tmp_jac (k, l); + return 0; } diff -r c8ad083a5802 -r ed7b17c7ddf3 scripts/audio/@audioplayer/set.m --- a/scripts/audio/@audioplayer/set.m Fri Nov 25 21:23:54 2022 -0800 +++ b/scripts/audio/@audioplayer/set.m Fri Nov 25 21:38:22 2022 -0800 @@ -114,5 +114,5 @@ ## Test input validation %!testif HAVE_PORTAUDIO; audiodevinfo (0) > 0 %! player = audioplayer ([-1, 1], 44100, 8); -%! fail ('set (player, "foobar", 1)', "not a valid property name"); -%! fail ('set (player, "Running", 1)', "is read-only"); +%! fail ('set (player, "foobar", 1)', "not a valid property name"); +%! fail ('set (player, "Running", 1)', "is read-only"); diff -r c8ad083a5802 -r ed7b17c7ddf3 scripts/audio/@audiorecorder/audiorecorder.m --- a/scripts/audio/@audiorecorder/audiorecorder.m Fri Nov 25 21:23:54 2022 -0800 +++ b/scripts/audio/@audiorecorder/audiorecorder.m Fri Nov 25 21:38:22 2022 -0800 @@ -80,7 +80,7 @@ if (nargin > 0 && (is_function_handle (varargin{1}) || ischar (varargin{1}))) error ("audiorecorder: first argument cannot be a callback function"); endif - + ## FIXME: Uncomment when callback functions are supported. ## if (nargin > 0 && ischar (varargin{1})) ## varargin{1} = str2func (varargin{1}); diff -r c8ad083a5802 -r ed7b17c7ddf3 scripts/audio/@audiorecorder/play.m --- a/scripts/audio/@audiorecorder/play.m Fri Nov 25 21:23:54 2022 -0800 +++ b/scripts/audio/@audiorecorder/play.m Fri Nov 25 21:38:22 2022 -0800 @@ -35,7 +35,7 @@ ## ## If the optional argument @var{end} is provided, stop playing at ## @var{end} seconds into the recording. -## @seealso{@audiorecorder/getplayer, @audioplayer/audioplayer, +## @seealso{@audiorecorder/getplayer, @audioplayer/audioplayer, ## @audiorecorder/audiorecorder} ## @end deftypefn diff -r c8ad083a5802 -r ed7b17c7ddf3 scripts/audio/@audiorecorder/set.m --- a/scripts/audio/@audiorecorder/set.m Fri Nov 25 21:23:54 2022 -0800 +++ b/scripts/audio/@audiorecorder/set.m Fri Nov 25 21:38:22 2022 -0800 @@ -117,5 +117,5 @@ ## Test input validation %!testif HAVE_PORTAUDIO; audiodevinfo (1) > 0 %! recorder = audiorecorder (); -%! fail ('set (recorder, "foobar", 1)', "not a valid property name"); -%! fail ('set (recorder, "Running", 1)', "is read-only"); +%! fail ('set (recorder, "foobar", 1)', "not a valid property name"); +%! fail ('set (recorder, "Running", 1)', "is read-only"); diff -r c8ad083a5802 -r ed7b17c7ddf3 scripts/plot/draw/patch.m --- a/scripts/plot/draw/patch.m Fri Nov 25 21:23:54 2022 -0800 +++ b/scripts/plot/draw/patch.m Fri Nov 25 21:38:22 2022 -0800 @@ -84,7 +84,7 @@ if (! isempty (hax)) hax = hax(1); - endif + endif htmp = __patch__ (hax, varargin{:});