Fix some typos (found by codespell)
authorStefan Weil <sw@weilnetz.de>
Sun, 20 Aug 2017 18:39:15 +0000 (20:39 +0200)
committerBen Pfaff <blp@cs.stanford.edu>
Sun, 20 Aug 2017 18:58:27 +0000 (11:58 -0700)
Most of them were in documentation and comments.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
27 files changed:
Bug-administration
NEWS
README.Git
doc/dev/i18n.texi
doc/expressions.texi
lib/gtk-contrib/gtkxpaned.c
src/data/casereader-translator.c
src/data/dictionary.c
src/data/sys-file-reader.c
src/language/control/loop.c
src/language/lexer/variable-parser.h
src/language/stats/kruskal-wallis.c
src/language/stats/logistic.c
src/language/stats/quick-cluster.c
src/language/stats/rank.c
src/language/stats/regression.c
src/language/stats/roc.c
src/libpspp/hmap.c
src/libpspp/i18n.c
src/libpspp/zip-reader.h
src/math/categoricals.c
src/ui/gui/psppire-dict.c
src/ui/gui/psppire-import-assistant.c
tests/data/datasheet-test.c
tests/language/data-io/matrix-data.at
tests/language/stats/quick-cluster.at
tests/language/stats/roc.at

index d6a534847200cd8a4f81e20706bcfeacfeaf10b9..3a760b52b267609029adb7da3733818e94c9e292 100644 (file)
@@ -3,7 +3,7 @@ at http://sv.gnu.org/bugs/?group=pspp
 
 We use the following conventions for classiying / ranking bugs:
 
-Relase: 
+Release:
 * Bugs which we think must be fixed before a release get their "Release" field set accordingly. 
 * Bugs which need not be fixed before any particular release, get their "Release" field set to "Future". 
 * Bugs where we have not get decided are left at "None". 
diff --git a/NEWS b/NEWS
index fc7e597e5105e8c86ca2f1a0cd2a63f8f3e8182c..1ce6229c76a86eb34bc8c75936a5c6cf726e46aa 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -172,7 +172,7 @@ Changes from 0.8.4 to 0.8.5:
  * SYSFILE INFO can now read SPSS/PC+ system files and SPSS portable
    files.
 
- * FREQUENCIES: A bug was fixed where an assertion failure occured
+ * FREQUENCIES: A bug was fixed where an assertion failure occurred
    when an empty dataset was presented.
 
  * The GRAPH command is now available.  Initially it supports
index 46bc0818eb00e5b5a613828e52e7ca0eb702691b..3dd09b9f155819c5ab7432a4b9c655b24b0cab5b 100644 (file)
@@ -97,7 +97,7 @@ Then you need to run
 psppire uses some self defined widgets. To use glade these widgets have
 to be announced to glade such that you can view the interface.
 The install process will install the psppire glade library, icons and
-psppire.xml files in the appropiate system locations. You cannot override
+psppire.xml files in the appropriate system locations. You cannot override
 this with --prefix. After that you can run "glade" and open the ui files.
 
 Building from git on Mac OS
index 09b5b419cf74d6636183c505557772f123d60f3d..876f359bff996e274b66d9b3356d2561692af379 100644 (file)
@@ -27,7 +27,7 @@ It's rarely, if ever, necessary to interrogate the system to find out
 the values of the 3 locales.
 However it's important to be aware of the source (destination) locale
 when reading (writing) string data.
-When transfering data between a source and a destination, the appropriate
+When transferring data between a source and a destination, the appropriate
 recoding must be performed.
 
 
index 463d5988657e7c18cd0096266419395eced76225..c530f7a7a839dddd3fe54434bb3e23d43bbff977 100644 (file)
@@ -7,7 +7,7 @@
 @c A copy of the license is included in the section entitled "GNU
 @c Free Documentation License".
 @c
-@c Use @func when refering to a function.
+@c Use @func when referring to a function.
 @c Use @deftypefn for their definitions 
 @macro func{NAME}
 @code{\NAME\}
index 4b98059ee3c21dbb40328d192dea6e1725c20de5..d5b9c843e57d5837d3a0fe2ebe4e470d07661e3c 100644 (file)
@@ -952,7 +952,7 @@ gtk_xpaned_size_allocate (GtkWidget * widget, GtkAllocation * allocation)
                                   xpaned->handle_pos_middle.height);
         }
 
-      /* Now allocate the childen, making sure, when resizing not to
+      /* Now allocate the children, making sure, when resizing not to
        * overlap the windows
        */
       if (gtk_widget_get_mapped (widget))
index f0411d1fa1430a75903e8e4e3f4317cb6b5ad3fa..d3388aa68b4d98ca3b69052338a412651aa9d5f3 100644 (file)
@@ -357,7 +357,7 @@ static struct ccase *car_translate (struct ccase *input, void *car_);
 
    If DISTINCT_CALLBACK is non-null, then  it will be called exactly
    once for every case containing a distinct value of V.  AUX is
-   an auxilliary pointer passed to DISTINCT_CALLBACK.
+   an auxiliary pointer passed to DISTINCT_CALLBACK.
 
    After this function is called, SUBREADER must not ever again
    be referenced directly.  It will be destroyed automatically
index 6dd1b99f876f52dec0204ab495f1ce801eaa518a..413c974fb415223024a27a91347c94969433ca7e 100644 (file)
@@ -285,7 +285,7 @@ dict_destroy (struct dictionary *d)
 {
   if (d != NULL)
     {
-      /* In general, we don't want callbacks occuring, if the dictionary
+      /* In general, we don't want callbacks occurring, if the dictionary
         is being destroyed */
       d->callbacks  = NULL ;
 
index 9d7e392d01ca1b23c51e50d8ccc60ce214c44917..2ad146e88025699879c4aa536252bd8f3bd0ddf6 100644 (file)
@@ -2986,7 +2986,7 @@ open_text_record (struct sfm_reader *r,
 }
 
 /* Closes TEXT, frees its storage, and issues a final warning
-   about suppressed warnings if necesary. */
+   about suppressed warnings if necessary. */
 static void
 close_text_record (struct sfm_reader *r, struct text_record *text)
 {
index cece7f68f647cf91e1fd925759c9b7c7a0c80f06..10d57105ccc8189d582be05dd501e04ae60a4a38 100644 (file)
@@ -61,7 +61,7 @@ struct loop_trns
 
     /* Iteration limit. */
     int max_pass_count;         /* Maximum number of passes (-1=unlimited). */
-    int pass;                  /* Number of passes thru the loop so far. */
+    int pass;                  /* Number of passes through the loop so far. */
 
     /* a=a TO b [BY c]. */
     struct variable *index_var; /* Index variable. */
index 798851d1a7e33a434dbc45293109e53f4c2a901e..57b4e470632df11499850eb39652e7ab6dc51677 100644 (file)
@@ -134,7 +134,7 @@ lex_match_variable (struct lexer *lexer, const struct dictionary *dict, const st
 struct interaction;
 
 /* Parse an interaction.
-   If not successfull return false.
+   If not successful return false.
    Otherwise, a newly created interaction will be placed in IACT.
    It is the caller's responsibility to destroy this interaction.
  */
index a9c269efedebfb7afaae9e86b910defeca8bcd23..65ce0868ad722cdc0184183ca0fac94f2a30056f 100644 (file)
@@ -193,7 +193,7 @@ kruskal_wallis_execute (const struct dataset *ds,
          rank->n += dict_get_case_weight (dict, c, &warn);
 
          /* If this assertion fires, then either the data wasn't sorted or some other
-            problem occured */
+            problem occurred */
          assert (rerr == 0);
        }
 
index b8ebb70cf7f452c10dafe81b8f787b03a2974861..4ab3f6f6db3fbbf6e22555cb99046fa811b19628 100644 (file)
@@ -598,7 +598,7 @@ run_lr (const struct lr_spec *cmd, struct casereader *input,
   work.hessian = NULL;
 
   /* Get the initial estimates of \beta and their standard errors.
-     And perform other auxilliary initialisation.  */
+     And perform other auxiliary initialisation.  */
   if (! initial_pass (cmd, &work, input))
     goto error;
 
index bd22fd1800d54ba47abf2c70dfb7d5276c8feb37..b171951557f95c1a464aacc9e1dfcfabc8576dd6 100644 (file)
@@ -237,7 +237,7 @@ min_dist_from (const struct Kmeans *kmeans, const struct qc *qc, int which)
 
 
 
-/* Calculate the intial cluster centers. */
+/* Calculate the initial cluster centers. */
 static void
 kmeans_initial_centers (struct Kmeans *kmeans, const struct casereader *reader, const struct qc *qc)
 {
index ee835e6b6aad824bb66a25f720beab93a0d11ffe..65a0fb8b574a9fb66b75031ed65332c7514e0ceb 100644 (file)
@@ -162,7 +162,7 @@ try_new_name (const char *new_name,
 }
 
 /* Returns a variable name for storing ranks of a variable named SRC_NAME
-   accoring to the rank function F.  The name chosen will not be one already in
+   according to the rank function F.  The name chosen will not be one already in
    DICT or NEW_NAMES.
 
    If successful, adds the new name to NEW_NAMES and returns the name added.
index 5650ca459251802d9d94c53c80078032d3c2d839..72649ba4ac633667d678f188927cbf0cb339dc6e 100644 (file)
@@ -137,7 +137,7 @@ create_aux_var (struct dataset *ds, const char *prefix)
   return var;
 }
 
-/* Auxilliary data for transformation when /SAVE is entered */
+/* Auxiliary data for transformation when /SAVE is entered */
 struct save_trans_data
 {
   int n_dep_vars;
index 73e00f905b2417053fd12ece155e8ec66a1b7b23..7d13c2c2cb7cf32c13c9d5c5051cf1328441517a 100644 (file)
@@ -557,7 +557,7 @@ process_group (const struct variable *var, struct casereader *reader,
 
 /* Some more indeces into case data */
 #define N_POS_EQ 1  /* number of positive cases with values equal to n */
-#define N_POS_GT 2  /* number of postive cases with values greater than n */
+#define N_POS_GT 2  /* number of positive cases with values greater than n */
 #define N_NEG_EQ 3  /* number of negative cases with values equal to n */
 #define N_NEG_LT 4  /* number of negative cases with values less than n */
 
index 471ff61f6ebf5e2b338751e5ba90e3bd31969a58..f3cbf23a6161ccade1ce5dc879d44b9b5a65cf6e 100644 (file)
@@ -187,7 +187,7 @@ hmap_moved (struct hmap *map,
 static size_t
 capacity_to_mask (size_t capacity)
 {
-  /* Calculate the minimum mask necesary to support the given
+  /* Calculate the minimum mask necessary to support the given
      capacity. */
   size_t mask = 0;
   while (hmap_mask_to_capacity__ (mask) < capacity)
index 380a96ae881a7c80b1ce5449a04ba9ea33133402..bc0db0b896426c094b305382141a6a3e69959cdb 100644 (file)
@@ -667,7 +667,7 @@ set_default_encoding (const char *enc)
 
 
 /* Attempts to set the encoding from a locale name
-   returns true if successfull.
+   returns true if successful.
    This function does not (should not!) alter the current locale.
 */
 bool
@@ -747,7 +747,7 @@ valid_encoding (const char *enc)
 
 
 /* Return the system local's idea of the
-   decimal seperator character */
+   decimal separator character */
 char
 get_system_decimal (void)
 {
index 81c1a766dd60ed8ecca85f5375bf305e5e18f1f7..6277b768e041939659d9b9185c23eb46be7f754e 100644 (file)
@@ -70,7 +70,7 @@ void zip_reader_destroy (struct zip_reader *zr);
 /* Return the zip member in the reader ZR, called MEMBER */
 struct zip_member *zip_member_open (struct zip_reader *zr, const char *member);
 
-/* Read upto N bytes from ZM, storing them in BUF.
+/* Read up to N bytes from ZM, storing them in BUF.
    Returns the number of bytes read, or -1 on error */
 int zip_member_read (struct zip_member *zm, void *buf, size_t n);
 
index 2227d4bb20e43ce9e04602f834326ef363901141..e1bbe1f99b141994365d32de6f888a2dee2619e4 100644 (file)
@@ -126,7 +126,7 @@ struct interact_params
 
   /* An array of integers df_n * df_{n-1} * df_{n-2} ...
      These are the products of the degrees of freedom for the current
-     variable and all preceeding variables */
+     variable and all preceding variables */
   int *df_prod;
 
   double *enc_sum;
index 0ee608cadef083eacb9f770aecfb37ff9d32af72..239f3ce2f3b08eb8ee47653b05884a0b4e2919c7 100644 (file)
@@ -327,7 +327,7 @@ psppire_dict_generate_name (const PsppireDict *dict, char *name, size_t size)
          - The string may not contain whitespace.
          - The first character may not be '$'
          - The first character may not be a digit
-         - The final charactor may not be '.' or '_'
+         - The final character may not be '.' or '_'
       */
       len = snprintf (name, size, _("Var%04d"), d);
       if (len + 1 >= size)
index 5f8793186b3303e8201c724f48c6b5cfe0892239..487c89b68e0ea40980bbdb9db0b2b726610fa157 100644 (file)
@@ -1523,11 +1523,11 @@ set_quote_list (GtkComboBox *cb)
   GtkListStore *list =  gtk_list_store_new (1, G_TYPE_STRING);
   GtkTreeIter iter;
   gint i;
-  const gchar *seperator[3] = {"'\"", "\'", "\""};
+  const gchar *separator[3] = {"'\"", "\'", "\""};
 
   for (i = 0; i < 3; i++)
     {
-      const gchar *s = seperator[i];
+      const gchar *s = separator[i];
 
       /* Add a new row to the model */
       gtk_list_store_append (list, &iter);
index db21ff33fe658e132fa8769f15a31ab2ca887fa0..e3dad3b32c8a9b826656c38e32dc1a278cc91671 100644 (file)
@@ -895,7 +895,7 @@ main (int argc, char *argv[])
   params.n_widths = 3;
   params.next_value = 1;
 
-  /* Parse comand line. */
+  /* Parse command line. */
   parser = argv_parser_create ();
   options = mc_options_create ();
   mc_options_register_argv_parser (options, parser);
index 67a37872997eca03587bf641045b2ccfff028a1c..f26cbe86426a2010fc4d7f39fd05de0d4ae6e61a 100644 (file)
@@ -334,7 +334,7 @@ AT_SETUP([Matrix reader - read integrity])
 
 dnl Check that matrices presented are read correctly.
 dnl The example below is an unlikely one since all
-dnl covariance/correlation matrices must be symetrical
+dnl covariance/correlation matrices must be symmetrical
 dnl but it serves a purpose for this test.
 AT_DATA([matrix-reader.pspp], [dnl
 matrix data
index d547dc765630bb970d8c8836c9eaa1eb48d62207..4580e412d2461d137c51117007559d72c9ec5d5e 100644 (file)
@@ -173,7 +173,7 @@ AT_CLEANUP
 AT_SETUP([QUICK CLUSTER with pairwise missing])
 
 dnl This test runs two programs, which are identical except that one
-dnl has an extra case with one missing value. Becuase the syntax uses
+dnl has an extra case with one missing value. Because the syntax uses
 dnl NOINITIAL and NOUPDATE, the results should be identical except for
 dnl the final classification.
 
index 34c5b0011fb04b3276144ba339ba26db21e019e7..c1fa369b4496ac8e22b23d45622f427794443d6e 100644 (file)
@@ -146,7 +146,7 @@ begin data.
 20 1 ""
 20 1 ""
 22 0 "here and"
-22 0 "here is the anomoly"
+22 0 "here is the anomaly"
 25 1 ""
 25 0 ""
 30 1 ""