changeset 22173:8de49f15e182

doc: Fix "doubled words" typos (\b(\w+)\s+\1\b)
author Andreas Weber <andy.weber.aw@gmail.com>
date Sun, 24 Jul 2016 12:17:07 +0200
parents ed8a0c39e14c
children 8358b9ef5def
files libgui/src/octave-qt-link.cc libinterp/corefcn/ft-text-renderer.cc libinterp/corefcn/interpreter.cc libinterp/corefcn/jit-typeinfo.cc libinterp/corefcn/load-save.cc libinterp/corefcn/pt-jit.cc libinterp/corefcn/quad.cc libinterp/corefcn/symtab.cc libinterp/dldfcn/audiodevinfo.cc libinterp/dldfcn/xzip.cc libinterp/octave-value/ov-usr-fcn.cc liboctave/numeric/oct-rand.cc scripts/geometry/inpolygon.m scripts/plot/util/newplot.m scripts/plot/util/subplot.m scripts/startup/__finish__.m
diffstat 16 files changed, 18 insertions(+), 18 deletions(-) [+]
line wrap: on
line diff
--- a/libgui/src/octave-qt-link.cc	Sat Jul 23 18:39:07 2016 -0400
+++ b/libgui/src/octave-qt-link.cc	Sun Jul 24 12:17:07 2016 +0200
@@ -243,7 +243,7 @@
 
   // We have pairs of data, first being the list of extensions
   // exta;exb;extc etc second the name to use as filter name
-  // (optional).  Qt wants a a list of filters in the format of
+  // (optional).  Qt wants a list of filters in the format of
   // 'FilterName (space separated exts)'.
 
   for (octave_link::filter_list::const_iterator it = lst.begin ();
--- a/libinterp/corefcn/ft-text-renderer.cc	Sat Jul 23 18:39:07 2016 -0400
+++ b/libinterp/corefcn/ft-text-renderer.cc	Sun Jul 24 12:17:07 2016 +0200
@@ -744,7 +744,7 @@
 
                   // 'w' seems to have a negative -1
                   // face->glyph->bitmap_left, this is so we don't
-                  // index out of bound, and assumes we we allocated
+                  // index out of bound, and assumes we've allocated
                   // the right amount of horizontal space in the bbox.
                   if (x0 < 0)
                     x0 = 0;
--- a/libinterp/corefcn/interpreter.cc	Sat Jul 23 18:39:07 2016 -0400
+++ b/libinterp/corefcn/interpreter.cc	Sun Jul 24 12:17:07 2016 +0200
@@ -357,7 +357,7 @@
 
 // Execute commands from a file and catch potential exceptions in a consistent
 // way.  This function should be called anywhere we might parse and execute
-// commands from a file before before we have entered the main loop in
+// commands from a file before we have entered the main loop in
 // toplev.cc.
 
 static void
--- a/libinterp/corefcn/jit-typeinfo.cc	Sat Jul 23 18:39:07 2016 -0400
+++ b/libinterp/corefcn/jit-typeinfo.cc	Sun Jul 24 12:17:07 2016 +0200
@@ -2208,7 +2208,7 @@
 {
   if (ov.is_function ())
     {
-      // FIXME: This is ugly, we need to finalize how we want to to this, then
+      // FIXME: This is ugly, we need to finalize how we want to do this, then
       // have octave_value fully support the needed functionality
       octave_builtin *builtin
         = dynamic_cast<octave_builtin *> (ov.internal_rep ());
--- a/libinterp/corefcn/load-save.cc	Sat Jul 23 18:39:07 2016 -0400
+++ b/libinterp/corefcn/load-save.cc	Sun Jul 24 12:17:07 2016 +0200
@@ -188,7 +188,7 @@
   else
     {
       if (! quiet)
-        error ("load: unable to read read binary file");
+        error ("load: unable to read binary file");
 
       return -1;
     }
--- a/libinterp/corefcn/pt-jit.cc	Sat Jul 23 18:39:07 2016 -0400
+++ b/libinterp/corefcn/pt-jit.cc	Sun Jul 24 12:17:07 2016 +0200
@@ -865,7 +865,7 @@
 
   jit_block *tail = factory.create<jit_block> ("switch_tail");
 
-  // if there's no otherwise branch, the the 'else' of the last branch
+  // if there's no otherwise branch, the 'else' of the last branch
   // has to point to the tail
   if (! has_otherwise)
     entry_blocks[entry_blocks.size()-1] = tail;
--- a/libinterp/corefcn/quad.cc	Sat Jul 23 18:39:07 2016 -0400
+++ b/libinterp/corefcn/quad.cc	Sun Jul 24 12:17:07 2016 +0200
@@ -253,7 +253,7 @@
 
           have_sing = true;
 
-          sing = args(4).xfloat_vector_value ("quad: fifth argument SING must be a vector vector of singularities");
+          sing = args(4).xfloat_vector_value ("quad: fifth argument SING must be a vector of singularities");
 
         case 4:
           tol = args(3).xfloat_vector_value ("quad: TOL must be a 1 or 2-element vector");
@@ -346,7 +346,7 @@
 
           have_sing = true;
 
-          sing = args(4).vector_value ("quad: fifth argument SING must be a vector vector of singularities");
+          sing = args(4).vector_value ("quad: fifth argument SING must be a vector of singularities");
 
         case 4:
           tol = args(3).xvector_value ("quad: TOL must be a 1 or 2-element vector");
--- a/libinterp/corefcn/symtab.cc	Sat Jul 23 18:39:07 2016 -0400
+++ b/libinterp/corefcn/symtab.cc	Sun Jul 24 12:17:07 2016 +0200
@@ -176,7 +176,7 @@
 // Check the load path to see if file that defined this is still
 // visible.  If the file is no longer visible, then erase the
 // definition and move on.  If the file is visible, then we also
-// need to check to see whether the file has changed since the the
+// need to check to see whether the file has changed since the
 // function was loaded/parsed.  However, this check should only
 // happen once per prompt (for files found from relative path
 // elements, we also check if the working directory has changed
--- a/libinterp/dldfcn/audiodevinfo.cc	Sat Jul 23 18:39:07 2016 -0400
+++ b/libinterp/dldfcn/audiodevinfo.cc	Sun Jul 24 12:17:07 2016 +0200
@@ -1096,7 +1096,7 @@
 
   err = Pa_StartStream (stream);
   if (err != paNoError)
-    error ("audioplayer: unable to start start audio playback stream");
+    error ("audioplayer: unable to start audio playback stream");
 
   unsigned int start, end;
   start = get_sample_number ();
--- a/libinterp/dldfcn/xzip.cc	Sat Jul 23 18:39:07 2016 -0400
+++ b/libinterp/dldfcn/xzip.cc	Sun Jul 24 12:17:07 2016 +0200
@@ -411,7 +411,7 @@
             // Error "handling" is not including filename on the output list.
             // Also remove created file which maybe was not even created
             // in the first place.  Note that it is possible for the file
-            // to exist in the first place and for for X::zip to not have
+            // to exist in the first place and for X::zip to not have
             // clobber it yet but we remove it anyway by design.
             octave::sys::unlink (dest_path);
             return;
--- a/libinterp/octave-value/ov-usr-fcn.cc	Sat Jul 23 18:39:07 2016 -0400
+++ b/libinterp/octave-value/ov-usr-fcn.cc	Sun Jul 24 12:17:07 2016 +0200
@@ -845,7 +845,7 @@
 
       if (! fcn)
         {
-          // Matlab gives up for histc, so maybe it's ok that that we
+          // Matlab gives up for histc, so maybe it's ok that we
           // give up sometimes too?
 
           std::string type = fcn_val->type_name ();
@@ -964,7 +964,7 @@
 
       if (! fcn)
         {
-          // Matlab gives up for histc, so maybe it's ok that that we
+          // Matlab gives up for histc, so maybe it's ok that we
           // give up sometimes too?
 
           std::string type = fcn_val->type_name ();
--- a/liboctave/numeric/oct-rand.cc	Sat Jul 23 18:39:07 2016 -0400
+++ b/liboctave/numeric/oct-rand.cc	Sun Jul 24 12:17:07 2016 +0200
@@ -565,7 +565,7 @@
 
 // Make the random number generator give us a different sequence every
 // time we start octave unless we specifically set the seed.  The
-// technique used below will cycle monthly, but it it does seem to
+// technique used below will cycle monthly, but it does seem to
 // work ok to give fairly different seeds each time Octave starts.
 
 void
--- a/scripts/geometry/inpolygon.m	Sat Jul 23 18:39:07 2016 -0400
+++ b/scripts/geometry/inpolygon.m	Sun Jul 24 12:17:07 2016 +0200
@@ -37,7 +37,7 @@
 
 ## Vectorized by Søren Hauberg <soren@hauberg.org>
 
-## The method for determining if a point is in in a polygon is based on
+## The method for determining if a point is in a polygon is based on
 ## the algorithm shown on
 ## http://local.wasp.uwa.edu.au/~pbourke/geometry/insidepoly/
 ## and is credited to Randolph Franklin.
--- a/scripts/plot/util/newplot.m	Sat Jul 23 18:39:07 2016 -0400
+++ b/scripts/plot/util/newplot.m	Sun Jul 24 12:17:07 2016 +0200
@@ -200,7 +200,7 @@
       ## xlabel, ylabel, zlabel, and title text objects.
       ## Also it preserves font properties like fontsize.
       ## For the time being, in order to have axis labels and title work,
-      ## the above code is is required.
+      ## the above code is required.
   endswitch
 
   ## Reset line and color styles when hold is not on
--- a/scripts/plot/util/subplot.m	Sat Jul 23 18:39:07 2016 -0400
+++ b/scripts/plot/util/subplot.m	Sun Jul 24 12:17:07 2016 +0200
@@ -166,7 +166,7 @@
     endif
 
     if (rows < 1 || cols < 1 || index < 1)
-      error ("subplot: ROWS, COLS, and INDEX must be be positive");
+      error ("subplot: ROWS, COLS, and INDEX must be positive");
     endif
   endif
 
--- a/scripts/startup/__finish__.m	Sat Jul 23 18:39:07 2016 -0400
+++ b/scripts/startup/__finish__.m	Sun Jul 24 12:17:07 2016 +0200
@@ -27,7 +27,7 @@
 ## @seealso{atexit}
 ## @end deftypefn
 
-## No function declaration, this is is an Octave script.  This means we are
+## No function declaration, this is an Octave script.  This means we are
 ## still in the base workspace with access to all user variables.
 
 if (exist ("finish", "file"))