changeset 31549:ed7b17c7ddf3 stable

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.
author Rik <rik@octave.org>
date Fri, 25 Nov 2022 21:38:22 -0800
parents c8ad083a5802
children c58f0f6ae207 fd29c7a50a78
files doc/interpreter/doccheck/README etc/NEWS.6.md etc/RELEASE_CHECKLIST.md libgui/languages/build_ts/README.md libgui/src/command-widget.cc libgui/src/led-indicator.cc libgui/src/led-indicator.h libinterp/corefcn/besselj.cc liboctave/array/Array.h liboctave/numeric/LSODE.cc scripts/audio/@audioplayer/set.m scripts/audio/@audiorecorder/audiorecorder.m scripts/audio/@audiorecorder/play.m scripts/audio/@audiorecorder/set.m scripts/plot/draw/patch.m
diffstat 15 files changed, 19 insertions(+), 19 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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
 
--- 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.
 
--- 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.
 
--- 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
--- 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
+}
--- 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
--- 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)))
 
 */
 
--- 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<T, Alloc> (*this, dim_vector (nr, nc)); }
 
-  OCTARRAY_OVERRIDABLE_FUNC_API Array<T, Alloc> 
+  OCTARRAY_OVERRIDABLE_FUNC_API Array<T, Alloc>
   reshape (const dim_vector& new_dims) const
   { return Array<T, Alloc> (*this, new_dims); }
 
--- 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;
 }
 
--- 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");
--- 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});
--- 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
 
--- 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");
--- 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{:});