[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gEDA-dev: PCB source code spellcheck



Friends -

PCB (CVS) Spelling fixes.  99% are obvious and should just go in.
Most are user-invisible, comments only.  Special cases that
deserve review:
  action.c:   fixes to HID_Action.syntax strings
     SelectedPins was spelled SelectePins, three places.
  autoroute.c:  Original comment is "hace route to actual pins/pads".
     I'm unsure if the first word should be "have", or if this is
     a note to/from Harry Eaton.
  find.c:  change the spelling of a macro name
  find.c:  what should the first word of this really be?
     "highlest the rest of the encroaching net so it's not reported it again"
     My best guess is "highlight"
  find.c:  messages available for translation changed (insuficient to insufficient)

   - Larry

P.S. Steve might enjoy the fact that for once it's not his code
under my microscope.


diff -ur --exclude=aclocal.m4 --exclude=CVS --exclude=configure --exclude=Makefile.in pcb-cvs/src/action.c pcb-lrd/src/action.c
--- pcb-cvs/src/action.c	2006-07-07 08:52:18.000000000 -0700
+++ pcb-lrd/src/action.c	2006-07-14 16:05:25.000000000 -0700
@@ -883,7 +883,7 @@
 
 /* ---------------------------------------------------------------------------
  *
- * does what's appropriate for the current mode setting. This normaly
+ * does what's appropriate for the current mode setting. This normally
  * means creation of an object at the current crosshair location.
  *
  * new created objects are added to the create undo list of course
@@ -1820,7 +1820,7 @@
 /* -------------------------------------------------------------------------- */
 
 static const char togglethermal_syntax[] =
-"ToggleThermal(Object|SelectePins|SelectedVias|Selected)";
+"ToggleThermal(Object|SelectedPins|SelectedVias|Selected)";
 
 static const char togglethermal_help[] =
 "Toggle a thermal (on the current layer) to pins or vias.";
@@ -1880,7 +1880,7 @@
 /* -------------------------------------------------------------------------- */
 
 static const char setthermal_syntax[] =
-"SetThermal(Object|SelectePins|SelectedVias|Selected|SelectedElements)";
+"SetThermal(Object|SelectedPins|SelectedVias|Selected|SelectedElements)";
 
 static const char setthermal_help[] =
 "Set a thermal (on the current layer) to pins or vias.";
@@ -1940,7 +1940,7 @@
 /* -------------------------------------------------------------------------- */
 
 static const char clearthermal_syntax[] =
-"ClearThermal(Object|SelectePins|SelectedVias|Selected|SelectedElements)";
+"ClearThermal(Object|SelectedPins|SelectedVias|Selected|SelectedElements)";
 
 static const char clearthermal_help[] =
 "Clear a thermal (on the current layer) to pins or vias.";
@@ -2455,7 +2455,7 @@
 
 @item CycleClip
 Changes the way lines are restricted to 45 degree increments.  The
-varous settings are: straight only, orthogonal then angled, and angled
+various settings are: straight only, orthogonal then angled, and angled
 then orthogonal.  If AllDirections is set, this action disables it.
 
 @item ToggleRubberBandMode
@@ -3900,7 +3900,7 @@
 	    break;
 	  }
 
-	  /* change the layouts name */
+	  /* change the layout's name */
 	case F_Layout:
 	  name =
 	    gui->prompt_for (_("Enter the layout name:"), EMPTY (PCB->Name));
@@ -3908,7 +3908,7 @@
 	    SetChangedFlag (True);
 	  break;
 
-	  /* change the name of the activ layer */
+	  /* change the name of the active layer */
 	case F_Layer:
 	  name = gui->prompt_for (_("Enter the layer name:"),
 				  EMPTY (CURRENT->Name));
@@ -5189,7 +5189,7 @@
 
 @item Mirror
 Flip all objects in the paste buffer vertically (up/down flip).  To mirror
-horizonally, combine this with rotations.
+horizontally, combine this with rotations.
 
 @item Rotate
 Rotates the current buffer.  The number to pass is 1..3, where 1 means
@@ -5397,7 +5397,7 @@
 	      int type;
 	      void *ptr1, *ptr3, *ptrtmp;
 	      LineTypePtr ptr2;
-	      /* this search is guranteed to succeed */
+	      /* this search is guaranteed to succeed */
 	      SearchObjectByLocation (LINE_TYPE | RATLINE_TYPE, &ptr1, &ptrtmp,
 				      &ptr3, Crosshair.AttachedLine.Point1.X,
 				      Crosshair.AttachedLine.Point1.Y, 0);
@@ -5448,7 +5448,7 @@
 		}
 	      else
 		{
-		  /* this search is guranteed to succeed too */
+		  /* this search is guaranteed to succeed too */
 		  SearchObjectByLocation (LINE_TYPE | RATLINE_TYPE, &ptr1, 
 					  &ptrtmp,
 					  &ptr3,
@@ -5473,7 +5473,7 @@
 	    {
 	      void *ptr1, *ptr2, *ptr3;
 	      BoxTypePtr bx;
-	      /* guranteed to succeed */
+	      /* guaranteed to succeed */
 	      SearchObjectByLocation (ARC_TYPE, &ptr1, &ptr2, &ptr3,
 				      Crosshair.AttachedBox.Point1.X,
 				      Crosshair.AttachedBox.Point1.Y, 0);
diff -ur --exclude=aclocal.m4 --exclude=CVS --exclude=configure --exclude=Makefile.in pcb-cvs/src/autoroute.c pcb-lrd/src/autoroute.c
--- pcb-cvs/src/autoroute.c	2006-07-20 09:44:31.000000000 -0700
+++ pcb-lrd/src/autoroute.c	2006-07-24 10:31:35.000000000 -0700
@@ -146,7 +146,7 @@
  * corner but don't include their bottom-right corner.
  *
  * Obstacles, however, are thought of to be closed on all sides,
- * and exclusion zone *open* on all sides.  We will ignore the infintesimal
+ * and exclusion zone *open* on all sides.  We will ignore the infinitesimal
  * difference w.r.t. obstacles, but exclusion zones will be consistently
  * bumped in one unit on the top and left in order to exclose the same
  * integer coordinates as their open-rectangle equivalents.
@@ -224,7 +224,7 @@
      * vias through the polygon will automatically be given a keepaway
      * and will not electrically connect to the polygon. */
     unsigned clear_poly:1;
-    /* this markes "conflicting" routes that must be torn up to obtain
+    /* this marks "conflicting" routes that must be torn up to obtain
      * a correct routing.  This flag allows us to return a correct routing
      * even if the user cancels auto-route after a non-final pass. */
     unsigned is_bad:1;
@@ -784,7 +784,7 @@
 
   front = GetLayerGroupNumberByNumber (max_layer + COMPONENT_LAYER);
   back = GetLayerGroupNumberByNumber (max_layer + SOLDER_LAYER);
-  /* determine prefered routing direction on each group */
+  /* determine preferred routing direction on each group */
   for (i = 0; i < max_layer; i++)
     {
       if (i != back && i != front)
@@ -1228,7 +1228,7 @@
 
   /* obstacle exclusion zones get bloated, and then shrunk on their
    * top and left sides so that they approximate their "open"
-   * brethern. */
+   * brethren. */
   keepaway = MAX (AutoRouteParameters.augStyle->style->Keepaway,
 		  rb->augStyle->style->Keepaway);
   r = bloat_box (&rb->box, keepaway +
@@ -2522,7 +2522,7 @@
   if (target->flags.circular)
     b = shrink_box (&b, MIN (b.X2 - b.X1, b.Y2 - b.Y1) / 5);
   nextpoint = closest_point_in_box (&nextpoint, &b);
-  /* hace route to actual pins/pads */
+  /* have route to actual pins/pads */
   if (target->type == PIN)
     {
       nextpoint.X = target->parent.pin->X;
@@ -3907,7 +3907,7 @@
     {
       routebox_t *net, *rb, *last;
       int i = 0;
-      /* count numberof rats selected */
+      /* count number of rats selected */
       RAT_LOOP (PCB->Data);
       {
 	if (!selected || TEST_FLAG (SELECTEDFLAG, line))
diff -ur --exclude=aclocal.m4 --exclude=CVS --exclude=configure --exclude=Makefile.in pcb-cvs/src/buffer.c pcb-lrd/src/buffer.c
--- pcb-cvs/src/buffer.c	2006-06-09 20:07:38.000000000 -0700
+++ pcb-lrd/src/buffer.c	2006-07-14 12:34:48.000000000 -0700
@@ -575,7 +575,7 @@
 	  return (True);
 	}
     }
-  /* release memory which might have been aquired */
+  /* release memory which might have been acquired */
   ClearBuffer (Buffer);
   return (False);
 }
diff -ur --exclude=aclocal.m4 --exclude=CVS --exclude=configure --exclude=Makefile.in pcb-cvs/src/create.c pcb-lrd/src/create.c
--- pcb-cvs/src/create.c	2006-07-07 08:52:19.000000000 -0700
+++ pcb-lrd/src/create.c	2006-07-14 16:21:17.000000000 -0700
@@ -310,7 +310,7 @@
       i->ans = (LineTypePtr) - 1;
       longjmp (i->env, 1);
     }
-  /* remove unncessary line points */
+  /* remove unnecessary line points */
   if (line->Thickness == i->Thickness)
     {
       if (line->Point1.X == i->X1 && line->Point1.Y == i->Y1)
@@ -404,7 +404,7 @@
 
   if ((void *) info.ans == (void *) (-1))
     return NULL;		/* stacked line */
-  /* remove unneccessary points */
+  /* remove unnecessary points */
   if (info.ans)
     {
       /* must do this BEFORE getting new line memory */
@@ -558,7 +558,7 @@
     return (text);
 
   /* copy values, width and height are set by drawing routine
-   * because at ths point we don't know which symbols are available
+   * because at this point we don't know which symbols are available
    */
   text->X = X;
   text->Y = Y;
@@ -883,7 +883,7 @@
 
 /* ---------------------------------------------------------------------------
  * parses a file with font information and installs it
- * checks directories given as colon seperated list by resource fontPath
+ * checks directories given as colon separated list by resource fontPath
  * if the fonts filename doesn't contain a directory component
  */
 void
diff -ur --exclude=aclocal.m4 --exclude=CVS --exclude=configure --exclude=Makefile.in pcb-cvs/src/crosshair.c pcb-lrd/src/crosshair.c
--- pcb-cvs/src/crosshair.c	2006-07-14 13:10:12.000000000 -0700
+++ pcb-lrd/src/crosshair.c	2006-07-14 16:23:33.000000000 -0700
@@ -375,7 +375,7 @@
 }
 
 /* ---------------------------------------------------------------------------
- * draws the attched object while in MOVE_MODE or COPY_MODE
+ * draws the attached object while in MOVE_MODE or COPY_MODE
  */
 static void
 XORDrawMoveOrCopyObject (void)
@@ -749,7 +749,7 @@
   x0 = 0;
   x2 = TO_PCB_X (Output.Width - 1);
 
-  /* check position agains window size and against valid
+  /* check position against window size and against valid
    * coordinates determined by the size of an attached
    * object or buffer
    an   */
diff -ur --exclude=aclocal.m4 --exclude=CVS --exclude=configure --exclude=Makefile.in pcb-cvs/src/data.c pcb-lrd/src/data.c
--- pcb-cvs/src/data.c	2006-04-18 09:54:55.000000000 -0700
+++ pcb-lrd/src/data.c	2006-07-14 16:23:43.000000000 -0700
@@ -60,7 +60,7 @@
 BufferType Buffers[MAX_BUFFER];	/* my buffers */
 LibraryType Library;		/* the library */
 Boolean Bumped;			/* if the undo serial number has changed */
-Boolean render;			/* wether or not to re-render the pixmap */
+Boolean render;			/* whether or not to re-render the pixmap */
 
 LocationType Xorig, Yorig;	/* origin offset for drawing in pixmap */
 
diff -ur --exclude=aclocal.m4 --exclude=CVS --exclude=configure --exclude=Makefile.in pcb-cvs/src/dev_rs274x.c pcb-lrd/src/dev_rs274x.c
--- pcb-cvs/src/dev_rs274x.c	2006-07-07 08:52:19.000000000 -0700
+++ pcb-lrd/src/dev_rs274x.c	2006-07-14 16:26:13.000000000 -0700
@@ -546,10 +546,10 @@
       /* indicate straight lines and set our initial position (0,0) */
       fprintf (GBX_Flags.FP, "G01X0Y0D02*\015\012");
 
-      /* initalize our current x,y location.  Note that in PCB,
+      /* initialize our current x,y location.  Note that in PCB,
        * the upper left corner is 0,0 and positive Y extents
        * downwards, however in photoplotterland 0,0 is lower left with 
-       * positive Y extending updards.  lastX,lastY are in PCB
+       * positive Y extending upwards.  lastX,lastY are in PCB
        * coordinates.
        */
       lastX = 0;
@@ -568,10 +568,10 @@
       /* indicate straight lines */
       fprintf (GBX_Flags.FP, "G01X0Y0D02*\015\012");
 
-      /* initalize our current x,y location.  Note that in PCB,
+      /* initialize our current x,y location.  Note that in PCB,
        * the upper left corner is 0,0 and positive Y extents
        * downwards, however in photoplotterland 0,0 is lower left with 
-       * positive Y extending updards.  lastX,lastY are in PCB
+       * positive Y extending upwards.  lastX,lastY are in PCB
        * coordinates.
        */
       lastX = 0;
diff -ur --exclude=aclocal.m4 --exclude=CVS --exclude=configure --exclude=Makefile.in pcb-cvs/src/djopt.c pcb-lrd/src/djopt.c
--- pcb-cvs/src/djopt.c	2006-07-14 13:10:12.000000000 -0700
+++ pcb-lrd/src/djopt.c	2006-07-14 16:27:48.000000000 -0700
@@ -763,7 +763,7 @@
 
   if (l->line)
     {
-      /* compenstate for having line pointers rearranged */
+      /* compensate for having line pointers rearranged */
       from = &(layer->Line[layer->LineN - 1]);
       to = l->line;
       RemoveLine (layer, l->line);
@@ -2917,7 +2917,7 @@
 
 @item orthopull
 Looks for chains of traces all going in one direction, with more
-traces orthagonal on one side than on the other.  Moves the chain in
+traces orthogonal on one side than on the other.  Moves the chain in
 that direction, causing a net reduction in trace length, possibly
 eliminating traces and/or corners.
 
diff -ur --exclude=aclocal.m4 --exclude=CVS --exclude=configure --exclude=Makefile.in pcb-cvs/src/draw.c pcb-lrd/src/draw.c
--- pcb-cvs/src/draw.c	2006-06-09 20:07:41.000000000 -0700
+++ pcb-lrd/src/draw.c	2006-07-14 16:28:55.000000000 -0700
@@ -1245,7 +1245,7 @@
 }
 
 /*******************************************************************
- * draw clearance in pixmask arround pins and vias that pierce polygons
+ * draw clearance in pixmask around pins and vias that pierce polygons
  */
 static void
 ClearOnlyPin (PinTypePtr Pin, Boolean mask)
diff -ur --exclude=aclocal.m4 --exclude=CVS --exclude=configure --exclude=Makefile.in pcb-cvs/src/error.c pcb-lrd/src/error.c
--- pcb-cvs/src/error.c	2006-04-13 06:04:55.000000000 -0700
+++ pcb-lrd/src/error.c	2006-07-14 16:29:50.000000000 -0700
@@ -27,7 +27,7 @@
  */
 
 
-/* error and debug funtions
+/* error and debug functions
  * getpid() needs a cast to (int) to get rid of compiler warnings
  * on several architectures
  */
diff -ur --exclude=aclocal.m4 --exclude=CVS --exclude=configure --exclude=Makefile.in pcb-cvs/src/file.c pcb-lrd/src/file.c
--- pcb-cvs/src/file.c	2006-07-07 08:52:19.000000000 -0700
+++ pcb-lrd/src/file.c	2006-07-14 16:40:01.000000000 -0700
@@ -802,7 +802,7 @@
 /* ---------------------------------------------------------------------------
  * saves the layout in a temporary file
  * this is used for fatal errors and does not call the program specified
- * in 'saveCommand' for savety reasons
+ * in 'saveCommand' for safety reasons
  */
 void
 SaveInTMP (void)
@@ -820,7 +820,7 @@
 
 /* ---------------------------------------------------------------------------
  * front-end for 'SaveInTMP()'
- * justs makes sure that the routine is only called once
+ * just makes sure that the routine is only called once
  */
 void
 EmergencySave (void)
@@ -1021,7 +1021,7 @@
       return (1);
     }
 
-  /* the library contents are seperated by colons;
+  /* the library contents are separated by colons;
    * template : package : name : description
    */
   while (resultFP && fgets (inputline, MAX_LIBRARY_LINE_LENGTH, resultFP))
diff -ur --exclude=aclocal.m4 --exclude=CVS --exclude=configure --exclude=Makefile.in pcb-cvs/src/find.c pcb-lrd/src/find.c
--- pcb-cvs/src/find.c	2006-07-07 08:52:19.000000000 -0700
+++ pcb-lrd/src/find.c	2006-07-14 16:48:03.000000000 -0700
@@ -115,7 +115,7 @@
        (p)->BoundingBox.Y1 -= Bloat; \
        (p)->BoundingBox.Y2 += Bloat;}
 
-#define	SEPERATE(FP)							\
+#define	SEPARATE(FP)							\
 	{											\
 		int	i;									\
 		fputc('#', (FP));						\
@@ -168,7 +168,7 @@
  * some local types
  *
  * the two 'dummy' structs for PVs and Pads are necessary for creating
- * connection lists which include the elments name
+ * connection lists which include the element's name
  */
 typedef struct
 {
@@ -1629,7 +1629,7 @@
  * to find the actual points of intersection with the
  * circle, and see if they are on the arc.
  *
- * To do this, we tranlate along the line from the point Q
+ * To do this, we translate along the line from the point Q
  * plus or minus a distance delta = sqrt(Radius^2 - d^2)
  * but it's handy to normalize with respect to l, the line
  * length so a single projection is done (e.g. we don't first
@@ -2605,7 +2605,7 @@
  * checks if a polygon has a connection to a second one
  *
  * First check all points out of P1 against P2 and vice versa.
- * If both fail check all lines of P1 agains the ones of P2
+ * If both fail check all lines of P1 against the ones of P2
  */
 Boolean
 IsPolygonInPolygon (PolygonTypePtr P1, PolygonTypePtr P2)
@@ -2627,7 +2627,7 @@
       }
       END_LOOP;
 
-      /* check all lines of P1 agains P2;
+      /* check all lines of P1 against P2;
        * POLYGONPOINT_LOOP decrements the pointer !!!
        */
 
@@ -2925,11 +2925,11 @@
   }
   END_LOOP;
 
-  /* print seperator if element has unused pins or pads */
+  /* print separator if element has unused pins or pads */
   if (!first)
     {
       fputs ("}\n\n", FP);
-      SEPERATE (FP);
+      SEPARATE (FP);
     }
   return (False);
 }
@@ -3155,7 +3155,7 @@
     /* break if abort dialog returned True */
     if (PrintElementConnections (element, FP, False))
       break;
-    SEPERATE (FP);
+    SEPARATE (FP);
     if (Settings.ResetAfterElement && n != 1)
       ResetConnections (False);
   }
@@ -3630,7 +3630,7 @@
 	return (True);
       IncrementUndoSerialNumber ();
       Undo (True);
-      /* highlest the rest of the encroaching net so it's not reported it again */
+      /* highlight (?) the rest of the encroaching net so it's not reported again */
       TheFlag |= SELECTEDFLAG;
       Bloat = 0;
       fBloat = 0.0;
@@ -3690,7 +3690,7 @@
 	{
 	  AddObjectToFlagUndoList (type, ptr1, ptr2, ptr3);
 	  SET_FLAG (TheFlag, line);
-	  Message (_("Line with insuficient clearance inside polygon\n"));
+	  Message (_("Line with insufficient clearance inside polygon\n"));
 	  goto doIsBad;
 	}
       break;
@@ -3699,7 +3699,7 @@
 	{
 	  AddObjectToFlagUndoList (type, ptr1, ptr2, ptr3);
 	  SET_FLAG (TheFlag, arc);
-	  Message (_("Arc with insuficient clearance inside polygon\n"));
+	  Message (_("Arc with insufficient clearance inside polygon\n"));
 	  goto doIsBad;
 	}
       break;
@@ -3708,7 +3708,7 @@
 	{
 	  AddObjectToFlagUndoList (type, ptr1, ptr2, ptr3);
 	  SET_FLAG (TheFlag, pad);
-	  Message (_("Pad with insuficient clearance inside polygon\n"));
+	  Message (_("Pad with insufficient clearance inside polygon\n"));
 	  goto doIsBad;
 	}
       break;
@@ -3717,7 +3717,7 @@
 	{
 	  AddObjectToFlagUndoList (type, ptr1, ptr2, ptr3);
 	  SET_FLAG (TheFlag, pin);
-	  Message (_("Pin with insuficient clearance inside polygon\n"));
+	  Message (_("Pin with insufficient clearance inside polygon\n"));
 	  goto doIsBad;
 	}
       break;
@@ -3726,7 +3726,7 @@
 	{
 	  AddObjectToFlagUndoList (type, ptr1, ptr2, ptr3);
 	  SET_FLAG (TheFlag, pin);
-	  Message (_("Via with insuficient clearance inside polygon\n"));
+	  Message (_("Via with insufficient clearance inside polygon\n"));
 	  goto doIsBad;
 	}
       break;
diff -ur --exclude=aclocal.m4 --exclude=CVS --exclude=configure --exclude=Makefile.in pcb-cvs/src/hid/gtk/gtkhid-main.c pcb-lrd/src/hid/gtk/gtkhid-main.c
--- pcb-cvs/src/hid/gtk/gtkhid-main.c	2006-07-14 13:10:12.000000000 -0700
+++ pcb-lrd/src/hid/gtk/gtkhid-main.c	2006-07-15 10:25:35.000000000 -0700
@@ -123,7 +123,7 @@
     {
       npoints = n + 10;
       points =
-	MyRealloc (points, npoints * sizeof (GdkPoint), "lesstif_draw_grid");
+	MyRealloc (points, npoints * sizeof (GdkPoint), "gtk_draw_grid");
     }
   n = 0;
   for (x = x1; x <= x2; x += PCB->Grid)
diff -ur --exclude=aclocal.m4 --exclude=CVS --exclude=configure --exclude=Makefile.in pcb-cvs/src/hid/lesstif/main.c pcb-lrd/src/hid/lesstif/main.c
--- pcb-cvs/src/hid/lesstif/main.c	2006-07-24 10:34:12.000000000 -0700
+++ pcb-lrd/src/hid/lesstif/main.c	2006-07-24 10:37:35.000000000 -0700
@@ -447,7 +447,7 @@
 
 /* %start-doc actions ThinDraw
 
-When the thindraw flag is set, all board objects are drawin using
+When the thindraw flag is set, all board objects are drawn using
 ``thin'' lines.  Traces are drawn as single lines along their
 centerlines, other objects are drawn as outlines.  If you pass
 @code{0}, thin draw is disabled.  If you pass @code{1}, thin draw is
@@ -480,7 +480,7 @@
 
 /* %start-doc actions ThinDrawPoly
 
-When the polygon thindraw flag is set, all polygonss are drawin using
+When the polygon thindraw flag is set, all polygons are drawn using
 ``thin'' lines along their outlines.  If you pass @code{0}, polygon
 thin draw is disabled.  If you pass @code{1}, polygon thin draw is
 enabled.  If you pass nothing, polygon thin draw is toggled.
diff -ur --exclude=aclocal.m4 --exclude=CVS --exclude=configure --exclude=Makefile.in pcb-cvs/src/line.c pcb-lrd/src/line.c
--- pcb-cvs/src/line.c	2006-06-09 20:07:41.000000000 -0700
+++ pcb-lrd/src/line.c	2006-07-14 16:48:13.000000000 -0700
@@ -461,7 +461,7 @@
 	    }
 	  else
 	    {
-	      /* bumpped into something, back off */
+	      /* bumped into something, back off */
 	      f2 -= s2;
 	    }
 	  s2 *= 0.5;
diff -ur --exclude=aclocal.m4 --exclude=CVS --exclude=configure --exclude=Makefile.in pcb-cvs/src/misc.c pcb-lrd/src/misc.c
--- pcb-cvs/src/misc.c	2006-07-07 08:52:19.000000000 -0700
+++ pcb-lrd/src/misc.c	2006-07-14 16:52:20.000000000 -0700
@@ -249,7 +249,7 @@
   END_LOOP;
 
   /* do not include the elementnames bounding box which
-   * is handles seperatly
+   * is handles separately
    */
   box = &Element->BoundingBox;
   vbox = &Element->VBox;
@@ -478,7 +478,7 @@
   box.X1 = box.Y1 = MAX_COORD;
   box.X2 = box.Y2 = -MAX_COORD;
 
-  /* now scan for the lowest/highest X and Y coodinate */
+  /* now scan for the lowest/highest X and Y coordinate */
   VIA_LOOP (Data);
   {
     box.X1 = MIN (box.X1, via->X - via->Thickness / 2);
@@ -639,8 +639,8 @@
 
 
 /* ----------------------------------------------------------------------
- * parses the routes definition string which is a colon seperated list of
- * comma seperated Name, Dimension, Dimension, Dimension, Dimension
+ * parses the routes definition string which is a colon separated list of
+ * comma separated Name, Dimension, Dimension, Dimension, Dimension
  * e.g. Signal,20,40,20,10:Power,40,60,28,10:...
  */
 int
@@ -682,7 +682,7 @@
 	goto error;
       GetNum (&s, &routeStyle->Hole);
       routeStyle->Hole *= scale;
-      /* for backwards-compatibilty, we use a 10-mil default
+      /* for backwards-compatibility, we use a 10-mil default
        * for styles which omit the keepaway specification. */
       if (*s != ',')
 	routeStyle->Keepaway = 1000;
@@ -714,8 +714,8 @@
 }
 
 /* ----------------------------------------------------------------------
- * parses the group definition string which is a colon seperated list of
- * comma seperated layer numbers (1,2,b:4,6,8,t)
+ * parses the group definition string which is a colon separated list of
+ * comma separated layer numbers (1,2,b:4,6,8,t)
  */
 int
 ParseGroupString (char *s, LayerGroupTypePtr LayerGroup, int LayerN)
@@ -771,7 +771,7 @@
 	  LayerGroup->Entries[group][member++] = layer;
 	  while (*++s && isdigit ((int) *s));
 
-	  /* ignore white spaces and check for seperator */
+	  /* ignore white spaces and check for separator */
 	  while (*s && isspace ((int) *s))
 	    s++;
 	  if (!*s || *s == ':')
@@ -1014,7 +1014,7 @@
       {
 	int layer = PCB->LayerGroups.Entries[group][--i];
 
-	/* dont count the passed member of the group */
+	/* don't count the passed member of the group */
 	if (layer != Layer && layer < max_layer)
 	  {
 	    PCB->Data->Layer[layer].On = On;
@@ -1193,7 +1193,7 @@
       }
 
     default:
-      Message ("Request for bounding box of unsupported typ %d\n", Type);
+      Message ("Request for bounding box of unsupported type %d\n", Type);
       box.X1 = box.X2 = box.Y1 = box.Y2 = 0;
       break;
     }
diff -ur --exclude=aclocal.m4 --exclude=CVS --exclude=configure --exclude=Makefile.in pcb-cvs/src/mtspace.h pcb-lrd/src/mtspace.h
--- pcb-cvs/src/mtspace.h	2006-03-22 15:17:20.000000000 -0800
+++ pcb-lrd/src/mtspace.h	2006-07-14 17:09:07.000000000 -0700
@@ -46,7 +46,7 @@
 typedef enum
 { FIXED, ODD, EVEN } mtspace_type_t;
 
-/* create an "empty space" representation with a shrunken boundry */
+/* create an "empty space" representation with a shrunken boundary */
 mtspace_t *mtspace_create (const BoxType * bounds, BDimension keepaway);
 /* destroy an "empty space" representation. */
 void mtspace_destroy (mtspace_t ** mtspacep);
diff -ur --exclude=aclocal.m4 --exclude=CVS --exclude=configure --exclude=Makefile.in pcb-cvs/src/mymem.c pcb-lrd/src/mymem.c
--- pcb-cvs/src/mymem.c	2006-07-14 13:10:12.000000000 -0700
+++ pcb-lrd/src/mymem.c	2006-07-14 16:52:53.000000000 -0700
@@ -1029,7 +1029,7 @@
   /* strip leading blanks */
   for (p1 = S; *p1 && isspace ((int) *p1); p1++);
 
-  /* strip trailing blanksand get string length */
+  /* strip trailing blanks and get string length */
   length = strlen (p1);
   for (p2 = p1 + length - 1; length && isspace ((int) *p2); p2--, length--);
 
diff -ur --exclude=aclocal.m4 --exclude=CVS --exclude=configure --exclude=Makefile.in pcb-cvs/src/netlist.c pcb-lrd/src/netlist.c
--- pcb-cvs/src/netlist.c	2006-04-16 18:04:39.000000000 -0700
+++ pcb-lrd/src/netlist.c	2006-07-14 16:53:32.000000000 -0700
@@ -160,7 +160,7 @@
 @table @code
 
 @item find
-Nets which apply are marked @emph{found} and are drawin in the
+Nets which apply are marked @emph{found} and are drawn in the
 @code{connected-color} color.
 
 @item select
diff -ur --exclude=aclocal.m4 --exclude=CVS --exclude=configure --exclude=Makefile.in pcb-cvs/src/output.c pcb-lrd/src/output.c
--- pcb-cvs/src/output.c	2006-03-27 20:29:20.000000000 -0800
+++ pcb-lrd/src/output.c	2006-07-14 16:55:43.000000000 -0700
@@ -129,7 +129,7 @@
 
 /* Pan shifts the origin of the output window to PCB coordinates X,Y if
  * possible. if X,Y is out of range, it goes as far as possible and
- * returns TRUE. Otherwise it goest to X,Y and returns false.
+ * returns TRUE. Otherwise it goes to X,Y and returns false.
  * If Scroll is TRUE and there is no offscreen pixmap, the display
  * is scrolled and only the newly visible part gets updated.
  * If Update is TRUE, an update event is generated so the display
@@ -174,7 +174,7 @@
   Yorig = Y;
   render = TRUE;
 
-  /* calculate the visbile bounds in pcb coordinates
+  /* calculate the visible bounds in pcb coordinates
    */
   theScreen.X1 = vxl = TO_PCB_X (0);
   theScreen.X2 = vxh = TO_PCB_X (Output.Width);
diff -ur --exclude=aclocal.m4 --exclude=CVS --exclude=configure --exclude=Makefile.in pcb-cvs/src/parse_l.l pcb-lrd/src/parse_l.l
--- pcb-cvs/src/parse_l.l	2006-07-07 08:52:23.000000000 -0700
+++ pcb-lrd/src/parse_l.l	2006-07-14 16:56:09.000000000 -0700
@@ -220,7 +220,7 @@
 	yylineno = 1;
 	yyfilename = Filename;
 
-		/* We need to save the data temorarily because lex-yacc are able
+		/* We need to save the data temporarily because lex-yacc are able
 		 * to break the application if the input file has an illegal format.
 		 * It's not necessary if the system supports the call of functions
 		 * on termination.
diff -ur --exclude=aclocal.m4 --exclude=CVS --exclude=configure --exclude=Makefile.in pcb-cvs/src/parse_y.y pcb-lrd/src/parse_y.y
--- pcb-cvs/src/parse_y.y	2006-06-09 20:07:41.000000000 -0700
+++ pcb-lrd/src/parse_y.y	2006-07-14 17:03:02.000000000 -0700
@@ -758,7 +758,7 @@
 				}
 				Layer = &yyData->Layer[$3-1];
 
-					/* memory for name is alread allocated */
+					/* memory for name is already allocated */
 				Layer->Name = $4;
 				LayerFlag[$3-1] = True;
 				if (yyData->LayerN + 2 < $3)
@@ -866,7 +866,7 @@
 			/* x1, y1, x2, y2, thickness, flags */
 		: T_LINE '(' NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER ')'
 			{
-				/* elliminate old-style rat-lines */
+				/* eliminate old-style rat-lines */
 			if (($8 & RATFLAG) == 0)
 				CreateNewLineOnLayer(Layer, $3*100, $4*100, $5*100, $6*100, $7*100,
 					200*GROUNDPLANEFRAME, OldFlags($8));
@@ -1462,12 +1462,12 @@
 
 @table @var
 @item rX1 rY1 rX2 rY2
-Coordinates of the enpoints of the pad, relative to the element's
+Coordinates of the endpoints of the pad, relative to the element's
 mark.  Note that the copper extends beyond these coordinates by half
 the thickness.  To make a square or round pad, specify the same
 coordinate twice.
 @item aX1 aY1 aX2 aY2
-Same, but absolute coordinates of the enpoints of the pad.
+Same, but absolute coordinates of the endpoints of the pad.
 @item Thickness
 width of the pad.
 @item Clearance
diff -ur --exclude=aclocal.m4 --exclude=CVS --exclude=configure --exclude=Makefile.in pcb-cvs/src/Pcb.ad.in pcb-lrd/src/Pcb.ad.in
--- pcb-cvs/src/Pcb.ad.in	2006-03-21 09:34:58.000000000 -0800
+++ pcb-lrd/src/Pcb.ad.in	2006-07-14 16:59:53.000000000 -0700
@@ -318,7 +318,7 @@
 ! resources used by the menu buttons
 ! Note that these overrides plus those of the menus below make the menus
 ! behave as "sticky" menus.
-! The next two lines elliminate the menu button borders
+! The next two lines eliminate the menu button borders
 ! but there is no convenient way to underline the first characters.
 Pcb.masterForm*MenuButton.shadowWidth:	0
 Pcb.masterForm*MenuButton.BorderWidth: 0
diff -ur --exclude=aclocal.m4 --exclude=CVS --exclude=configure --exclude=Makefile.in pcb-cvs/src/Pcb.ad.raw pcb-lrd/src/Pcb.ad.raw
--- pcb-cvs/src/Pcb.ad.raw	2004-04-27 12:08:24.000000000 -0700
+++ pcb-lrd/src/Pcb.ad.raw	2006-07-14 17:00:24.000000000 -0700
@@ -313,7 +313,7 @@
 ! resources used by the menu buttons
 ! Note that these overrides plus those of the menus below make the menus
 ! behave as "sticky" menus.
-! The next two lines elliminate the menu button borders
+! The next two lines eliminate the menu button borders
 ! but there is no convenient way to underline the first characters.
 pcb.masterForm*MenuButton.shadowWidth:	0
 pcb.masterForm*MenuButton.BorderWidth: 0
diff -ur --exclude=aclocal.m4 --exclude=CVS --exclude=configure --exclude=Makefile.in pcb-cvs/src/Pcb.ad.small pcb-lrd/src/Pcb.ad.small
--- pcb-cvs/src/Pcb.ad.small	2004-04-27 12:08:24.000000000 -0700
+++ pcb-lrd/src/Pcb.ad.small	2006-07-14 17:00:30.000000000 -0700
@@ -290,7 +290,7 @@
 ! resources used by the menu buttons
 ! Note that these overrides plus those of the menus below make the menus
 ! behave as "sticky" menus.
-! The next two lines elliminate the menu button borders
+! The next two lines eliminate the menu button borders
 ! but there is no convenient way to underline the first characters.
 pcb.masterForm*MenuButton.shadowWidth:	0
 pcb.masterForm*MenuButton.BorderWidth: 0
diff -ur --exclude=aclocal.m4 --exclude=CVS --exclude=configure --exclude=Makefile.in pcb-cvs/src/polygon.c pcb-lrd/src/polygon.c
--- pcb-cvs/src/polygon.c	2006-06-09 20:07:41.000000000 -0700
+++ pcb-lrd/src/polygon.c	2006-07-14 17:02:26.000000000 -0700
@@ -267,7 +267,7 @@
 
 /* ---------------------------------------------------------------------------
  *  Updates the pin-in-polygon flags
- *  if called with Element == NULL, seach all pins
+ *  if called with Element == NULL, search all pins
  *  if called with Pin == NULL, search all pins on element
  *  if called with Layer == NULL, search all layers
  */
diff -ur --exclude=aclocal.m4 --exclude=CVS --exclude=configure --exclude=Makefile.in pcb-cvs/src/print.h pcb-lrd/src/print.h
--- pcb-cvs/src/print.h	2006-03-22 15:17:20.000000000 -0800
+++ pcb-lrd/src/print.h	2006-07-09 14:24:30.000000000 -0700
@@ -35,6 +35,7 @@
 
 #include "global.h"
 
-void PrintFab ();
+int PrintFab_overhang(void);
+void PrintFab (void);
 
 #endif
diff -ur --exclude=aclocal.m4 --exclude=CVS --exclude=configure --exclude=Makefile.in pcb-cvs/src/puller.c pcb-lrd/src/puller.c
--- pcb-cvs/src/puller.c	2006-04-14 20:32:06.000000000 -0700
+++ pcb-lrd/src/puller.c	2006-07-14 17:03:11.000000000 -0700
@@ -231,7 +231,7 @@
 
 The @code{Puller()} action is a special-purpose optimization.  When
 invoked while the crosshair is over the junction of an arc and a line,
-it will adjust the arc's angle and the connecting line's enpoint such
+it will adjust the arc's angle and the connecting line's endpoint such
 that the line intersects the arc at a tangent.  In the example below,
 the left side is ``before'' with the black target marking where to put
 the crosshair:
diff -ur --exclude=aclocal.m4 --exclude=CVS --exclude=configure --exclude=Makefile.in pcb-cvs/src/rats.c pcb-lrd/src/rats.c
--- pcb-cvs/src/rats.c	2006-07-13 14:50:33.000000000 -0700
+++ pcb-lrd/src/rats.c	2006-07-14 17:03:42.000000000 -0700
@@ -175,7 +175,7 @@
 }
 
 /*--------------------------------------------------------------------------
- * parse a netlist menu entry and locate the cooresponding pad
+ * parse a netlist menu entry and locate the corresponding pad
  * returns True if found, and fills in Connection information
  */
 Boolean
diff -ur --exclude=aclocal.m4 --exclude=CVS --exclude=configure --exclude=Makefile.in pcb-cvs/src/rtree.c pcb-lrd/src/rtree.c
--- pcb-cvs/src/rtree.c	2006-07-20 09:44:34.000000000 -0700
+++ pcb-lrd/src/rtree.c	2006-07-24 10:33:19.000000000 -0700
@@ -931,7 +931,7 @@
 	  MAKEMIN (node->box.Y1, query->Y1);
 	  MAKEMAX (node->box.Y2, query->Y2);
 	}
-      /* this node encloses it, but it's not a leaf, so decend the tree */
+      /* this node encloses it, but it's not a leaf, so descend the tree */
       assert (node->u.kids[0]);
       best_score = __r_insert_node (node->u.kids[0], query, manage, False);
       if (best_score == 0)
@@ -1003,7 +1003,7 @@
 {
   int i, flag, mask, a;
 
-  /* the tree might be inconsistant during delete */
+  /* the tree might be inconsistent during delete */
   if (query->X1 < node->box.X1 || query->Y1 < node->box.Y1
       || query->X2 > node->box.X2 || query->Y2 > node->box.Y2)
     return False;
@@ -1036,7 +1036,7 @@
 		  return (__r_delete (seed, node->parent, &node->box));
 		}
 	      else
-		/* propegate boundry adjust upward */
+		/* propegate boundary adjust upward */
 		while (node)
 		  {
 		    adjust_bounds (node);
@@ -1096,7 +1096,7 @@
       return True;
     }
   else
-    /* propagate boundry adjustment upward */
+    /* propagate boundary adjustment upward */
     while (node)
       {
 	adjust_bounds (node);
diff -ur --exclude=aclocal.m4 --exclude=CVS --exclude=configure --exclude=Makefile.in pcb-cvs/src/rubberband.c pcb-lrd/src/rubberband.c
--- pcb-cvs/src/rubberband.c	2006-06-09 20:07:41.000000000 -0700
+++ pcb-lrd/src/rubberband.c	2006-07-14 17:10:11.000000000 -0700
@@ -338,7 +338,7 @@
  *
  * Square pins are handled as if they were round. Speed
  * and readability is more important then the few %
- * of faiures that are immediately recognized
+ * of failures that are immediately recognized
  */
 static void
 CheckPinForRubberbandConnection (PinTypePtr Pin)
@@ -469,7 +469,7 @@
 
 	/* square pins are handled as if they are round. Speed
 	 * and readability is more important then the few %
-	 * of faiures that are immediately recognized
+	 * of failures that are immediately recognized
 	 */
 	PIN_LOOP (element);
 	{
diff -ur --exclude=aclocal.m4 --exclude=CVS --exclude=configure --exclude=Makefile.in pcb-cvs/src/search.c pcb-lrd/src/search.c
--- pcb-cvs/src/search.c	2006-06-09 20:07:41.000000000 -0700
+++ pcb-lrd/src/search.c	2006-07-14 17:11:16.000000000 -0700
@@ -897,7 +897,7 @@
  *   This code is from Wm. Randolph Franklin, wrf@ecse.rpi.edu, a
  *   professor at RPI.
  *
- * extentions:
+ * extensions:
  * check if the distance between the polygon lines and the point is less
  * or equal to the radius.
  */
@@ -933,7 +933,7 @@
       /* check the distance between the lines of the
        * polygon and the point itself
        *
-       * check is done by contructing a dummy line
+       * check is done by constructing a dummy line
        */
       if (!inside)
 	{
diff -ur --exclude=aclocal.m4 --exclude=CVS --exclude=configure --exclude=Makefile.in pcb-cvs/src/select.c pcb-lrd/src/select.c
--- pcb-cvs/src/select.c	2006-04-11 09:59:28.000000000 -0700
+++ pcb-lrd/src/select.c	2006-07-14 17:12:11.000000000 -0700
@@ -531,7 +531,7 @@
 
 /* ----------------------------------------------------------------------
  * performs several operations on selected objects which are also visible
- * The lowlevel procdures are passed together with additional information
+ * The lowlevel procedures are passed together with additional information
  * resets the selected flag if requested
  * returns True if anything has changed
  */
diff -ur --exclude=aclocal.m4 --exclude=CVS --exclude=configure --exclude=Makefile.in pcb-cvs/src/undo.c pcb-lrd/src/undo.c
--- pcb-cvs/src/undo.c	2006-07-07 08:52:23.000000000 -0700
+++ pcb-lrd/src/undo.c	2006-07-14 17:12:42.000000000 -0700
@@ -39,7 +39,7 @@
  * E.g.: removing all selected objects is one operation with exactly one
  * serial number even if the remove function is called several times.
  *
- * a lock flag ensures that no infinite loops occure
+ * a lock flag ensures that no infinite loops occur
  */
 
 #ifdef HAVE_CONFIG_H
@@ -99,7 +99,7 @@
 }
 RemovedPointType, *RemovedPointTypePtr;
 
-typedef struct			/* informstion about rotation */
+typedef struct			/* information about rotation */
 {
   LocationType CenterX,		/* center of rotation */
     CenterY;


_______________________________________________
geda-dev mailing list
geda-dev@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev