changeset 27971:ec769a7ab9fb

fix more spelling errors (bug #57613)
author John W. Eaton <jwe@octave.org>
date Tue, 21 Jan 2020 09:20:15 -0600
parents 9e769371fb45
children 8f33435cfb00
files configure.ac libgui/kb-layouts/linux.keytab libgui/kb-layouts/vt420pc.keytab libgui/src/documentation.h libgui/src/files-dock-widget.cc libgui/src/gui-preferences-ws.h libgui/src/m-editor/file-editor-tab.cc libgui/src/m-editor/file-editor.cc libgui/src/tab-bar.cc libinterp/corefcn/call-stack.h libinterp/corefcn/event-manager.h libinterp/corefcn/interpreter.cc libinterp/octave-value/cdef-class.h libinterp/octave-value/cdef-object.h libinterp/parse-tree/bp-table.cc libinterp/parse-tree/pt-eval.cc libinterp/parse-tree/pt-idx.cc liboctave/util/unwind-prot.h scripts/plot/util/print.m
diffstat 19 files changed, 25 insertions(+), 23 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Tue Jan 21 09:10:37 2020 -0600
+++ b/configure.ac	Tue Jan 21 09:20:15 2020 -0600
@@ -3135,7 +3135,7 @@
   Build shared libraries:               $SHARED_LIBS
   Dynamic Linking API:                  $DL_API_MSG
   Include support for GNU readline:     $USE_READLINE
-  Use push parser in comand line REPL:  $ENABLE_COMMAND_LINE_PUSH_PARSER
+  Use push parser in command line REPL: $ENABLE_COMMAND_LINE_PUSH_PARSER
   64-bit array dims and indexing:       $ENABLE_64
   64-bit BLAS array dims and indexing:  $HAVE_64_BIT_BLAS
   OpenMP SMP multithreading:            $ENABLE_OPENMP
--- a/libgui/kb-layouts/linux.keytab	Tue Jan 21 09:10:37 2020 -0600
+++ b/libgui/kb-layouts/linux.keytab	Tue Jan 21 09:20:15 2020 -0600
@@ -43,7 +43,7 @@
 #
 # If the key is not found here, the text of the
 # key event as provided by QT is emitted, possibly
-# preceeded by ESC if the Alt key is pressed.
+# preceded by ESC if the Alt key is pressed.
 #
 # --------------------------------------------------------------
 
--- a/libgui/kb-layouts/vt420pc.keytab	Tue Jan 21 09:10:37 2020 -0600
+++ b/libgui/kb-layouts/vt420pc.keytab	Tue Jan 21 09:20:15 2020 -0600
@@ -4,7 +4,7 @@
 #
 ################################################################
 #
-# The escape sequences emmited by the
+# The escape sequences emitted by the
 # keys Shift+F1 to Shift+F12 might not fit your needs
 #
 ################# IMPORTANT NOTICE #############################
@@ -57,7 +57,7 @@
 #
 # If the key is not found here, the text of the
 # key event as provided by QT is emitted, possibly
-# preceeded by ESC if the Alt key is pressed.
+# preceded by ESC if the Alt key is pressed.
 #
 # --------------------------------------------------------------
 
--- a/libgui/src/documentation.h	Tue Jan 21 09:10:37 2020 -0600
+++ b/libgui/src/documentation.h	Tue Jan 21 09:20:15 2020 -0600
@@ -90,7 +90,7 @@
   };
 
 
-  //! The documentation main class derived from QSplitter
+  //! The documenztation main class derived from QSplitter
 
   class documentation : public QSplitter
   {
--- a/libgui/src/files-dock-widget.cc	Tue Jan 21 09:10:37 2020 -0600
+++ b/libgui/src/files-dock-widget.cc	Tue Jan 21 09:20:15 2020 -0600
@@ -763,7 +763,8 @@
       }
   }
 
-  // Get the currently selectd files/dirs and return their file infos in a list
+  // Get the currently selected files/dirs and return their file info
+  // in a list.
   QList<QFileInfo> files_dock_widget::get_selected_items_info (bool dir)
   {
     QItemSelectionModel *m = m_file_tree_view->selectionModel ();
--- a/libgui/src/gui-preferences-ws.h	Tue Jan 21 09:10:37 2020 -0600
+++ b/libgui/src/gui-preferences-ws.h	Tue Jan 21 09:20:15 2020 -0600
@@ -84,6 +84,6 @@
 ws_color_names (QStringList ()
              << QT_TRANSLATE_NOOP ("octave::settings_dialog", "argument")
              << QT_TRANSLATE_NOOP ("octave::settings_dialog", "global")
-             << QT_TRANSLATE_NOOP ("octave::settings_dialog", "persistant"));
+             << QT_TRANSLATE_NOOP ("octave::settings_dialog", "persistent"));
 
 #endif
--- a/libgui/src/m-editor/file-editor-tab.cc	Tue Jan 21 09:10:37 2020 -0600
+++ b/libgui/src/m-editor/file-editor-tab.cc	Tue Jan 21 09:20:15 2020 -0600
@@ -410,7 +410,7 @@
     emit dbstop_if ("dbstop if", linenr+1, cond);
   }
 
-  // Display dialog in GUI thread to get condtition, then emit
+  // Display dialog in GUI thread to get condition, then emit
   // interpreter_event signal to check it in the interpreter thread.
   // If the dialog returns a valid condition, then either emit a signal
   // to add the breakpoint in the editor tab or a signal to display a
--- a/libgui/src/m-editor/file-editor.cc	Tue Jan 21 09:10:37 2020 -0600
+++ b/libgui/src/m-editor/file-editor.cc	Tue Jan 21 09:20:15 2020 -0600
@@ -822,7 +822,8 @@
     m_find_dialog->init_search_text ();
   }
 
-  // This methos creates the find dialog
+  // This method creates the find dialog.
+
   void file_editor::find_create ()
   {
     if (m_find_dialog)
--- a/libgui/src/tab-bar.cc	Tue Jan 21 09:10:37 2020 -0600
+++ b/libgui/src/tab-bar.cc	Tue Jan 21 09:20:15 2020 -0600
@@ -109,9 +109,9 @@
     // Move tab into the order of the generated string list
     for (int title = 0; title < tab_texts.count (); title++)
       {
-        // Target tab is same as palce of title in QStringList.
+        // Target tab is same as place of title in QStringList.
         // Find index of next title in string list, leaving out the
-        // tabs (or titles) that were alredy moved
+        // tabs (or titles) that were already moved.
         for (int tab = title; tab < count (); tab++)
           {
             if (tabText (tab) == tab_texts.at (title))
--- a/libinterp/corefcn/call-stack.h	Tue Jan 21 09:10:37 2020 -0600
+++ b/libinterp/corefcn/call-stack.h	Tue Jan 21 09:20:15 2020 -0600
@@ -320,7 +320,7 @@
     // individual stack frames?
     stack_frames m_cs;
 
-    // FIXME: Could we eliminate this varaible and manage the current
+    // FIXME: Could we eliminate this variable and manage the current
     // frame in the evaluator class instead?  The current frame might
     // always be the top of the stack.  Restoring the previous/current
     // frame would be managed by other means, such as an
--- a/libinterp/corefcn/event-manager.h	Tue Jan 21 09:10:37 2020 -0600
+++ b/libinterp/corefcn/event-manager.h	Tue Jan 21 09:20:15 2020 -0600
@@ -68,7 +68,7 @@
   // multiple times.  In that way, it would be more flexible and
   // decentralized, similar to the Qt signal/slot connection mechanism
   // and would allow the GUI to connect multiple signals to a single
-  // action or multiple actions to a singal signal.
+  // action or multiple actions to a single signal.
 
   // FIXME: audit this list of functions and determine whether they are
   // all necessary and whether there might be better names for them.
@@ -307,7 +307,7 @@
 
     // The following functions correspond to the virtual fuunctions in
     // the interpreter_events class.  They provide a way for the
-    // interperter to notify the GUI that some event has occurred
+    // interpreter to notify the GUI that some event has occurred
     // (directory or workspace changed, for example) or to request the
     // GUI to perform some action (display a dialog, for example).
 
--- a/libinterp/corefcn/interpreter.cc	Tue Jan 21 09:10:37 2020 -0600
+++ b/libinterp/corefcn/interpreter.cc	Tue Jan 21 09:20:15 2020 -0600
@@ -1780,7 +1780,7 @@
   {
     m_error_system.save_exception (e);
 
-    // FIXME: use a separate stream instad of std::cerr directly so that
+    // FIXME: use a separate stream instead of std::cerr directly so that
     // error messages can be redirected more easily?  Pass the message
     // to an event manager function?
     m_error_system.display_exception (e, std::cerr);
--- a/libinterp/octave-value/cdef-class.h	Tue Jan 21 09:10:37 2020 -0600
+++ b/libinterp/octave-value/cdef-class.h	Tue Jan 21 09:20:15 2020 -0600
@@ -311,7 +311,7 @@
     //! Classdef attribute values can be given in the form of
     //! expressions.  These expressions must be evaluated before
     //! assigning them as attribute values.  Evaluating them as they are
-    //! parsed causes trouble with possible recusion in the parser so we
+    //! parsed causes trouble with possible recursion in the parser so we
     //! do it here.  For example
     //!
     //! @code
--- a/libinterp/octave-value/cdef-object.h	Tue Jan 21 09:10:37 2020 -0600
+++ b/libinterp/octave-value/cdef-object.h	Tue Jan 21 09:20:15 2020 -0600
@@ -43,7 +43,7 @@
   class cdef_object;
   class cdef_class;
 
-  // This is mainly a boostrap class to declare the expected interface.
+  // This is mainly a bootstrap class to declare the expected interface.
   // The actual base class is cdef_class_base, which is declared after
   // cdef_object, such that it can contain cdef_object objects.
 
--- a/libinterp/parse-tree/bp-table.cc	Tue Jan 21 09:10:37 2020 -0600
+++ b/libinterp/parse-tree/bp-table.cc	Tue Jan 21 09:20:15 2020 -0600
@@ -267,7 +267,7 @@
     dbstop_none
   };
 
-  // FIXME: This function probalby needs to be completely overhauled to
+  // FIXME: This function probably needs to be completely overhauled to
   // correctly parse the full syntax of the dbstop command and properly
   // reject incorrect forms.
 
--- a/libinterp/parse-tree/pt-eval.cc	Tue Jan 21 09:10:37 2020 -0600
+++ b/libinterp/parse-tree/pt-eval.cc	Tue Jan 21 09:20:15 2020 -0600
@@ -1031,7 +1031,7 @@
                             const std::string& name, const octave_value& val)
   {
     // FIXME: Can this be done without an unwind-protect frame, simply
-    // by geting a reference to the caller or base stack frame and
+    // by getting a reference to the caller or base stack frame and
     // calling assign on that?
 
     unwind_action act ([this] (size_t frm)
--- a/libinterp/parse-tree/pt-idx.cc	Tue Jan 21 09:10:37 2020 -0600
+++ b/libinterp/parse-tree/pt-idx.cc	Tue Jan 21 09:20:15 2020 -0600
@@ -400,7 +400,7 @@
   //  * Obtain the initial value from the expression component of the
   //    tree_index_expression object.  If it is a tree_identifier object
   //    indexed by '(args)' and the identifier is not a variable, then
-  //    peform a function call.  Use the (optional) arguments to perform
+  //    perform a function call.  Use the (optional) arguments to perform
   //    the function lookup so we choose the correct function or class
   //    method to call.  Otherwise, evaluate the first expression
   //    without any additional arguments.
--- a/liboctave/util/unwind-prot.h	Tue Jan 21 09:10:37 2020 -0600
+++ b/liboctave/util/unwind-prot.h	Tue Jan 21 09:20:15 2020 -0600
@@ -160,7 +160,7 @@
   //
   // then the destructor for the temporary anonymous object will be
   // called immediately after the object is constructed instead of at
-  // the end of teh current scope.
+  // the end of the current scope.
 
   class unwind_action
   {
@@ -210,7 +210,7 @@
   //
   // then the destructor for the temporary anonymous object will be
   // called immediately after the object is constructed instead of at
-  // the end of teh current scope.
+  // the end of the current scope.
   //
   // FIXME: Once we are able to use C++17, class template argument
   // deduction will allow us to omit the explicit template type from the
--- a/scripts/plot/util/print.m	Tue Jan 21 09:10:37 2020 -0600
+++ b/scripts/plot/util/print.m	Tue Jan 21 09:20:15 2020 -0600
@@ -275,7 +275,7 @@
 ##
 ##   @item  ps(2)
 ##   @itemx psc(2)
-##     Same as @code{eps} except that the figure is formated for printing on
+##     Same as @code{eps} except that the figure is formatted for printing on
 ## paper.  The size of the surrounding page and position of the figure inside
 ## the page are defined by the
 ## @ref{XREFfigurepaperorientation,, paper* figure properties}.