Index: trunk/doc-rnd/TODO =================================================================== --- trunk/doc-rnd/TODO (revision 3259) +++ trunk/doc-rnd/TODO (revision 3260) @@ -18,7 +18,7 @@ - TEST: - png export: bloat settings in pixel (scale changed) - whether polygon rendering breaks if pcb_long64_t is double - - import netlist and import EDIF (File/Load Netlist in gtk - file format should be autodetected usign file content) + - import netlist and import EDIF (File/Load Netlist in gtk - file format should be autodetected using file content) - atexit change -> is the design saved periodically? is it saved on a crash? - dbus support - project files: Index: trunk/doc-rnd/conf/tree/editor.html =================================================================== --- trunk/doc-rnd/conf/tree/editor.html (revision 3259) +++ trunk/doc-rnd/conf/tree/editor.html (revision 3260) @@ -41,7 +41,7 @@ description boolean 0 display element description as element name, instead of value name_on_pcb boolean 0 display Reference Designator as element name, instead of value click_time integer 0 default time for click expiration, in ms - enable_stroke boolean 0 Enable libstroke gesutres on middle mouse button when non-zero + enable_stroke boolean 0 Enable libstroke gestures on middle mouse button when non-zero live_routing boolean 0 autorouter shows tracks in progress beep_when_finished boolean 0 flag if a signal should be produced when searching of connections is done undo_warning_size integer 0 warn the user when undo list exceeds this amount of kilobytes in memory Index: trunk/pcblib/parametric/plcc.awk =================================================================== --- trunk/pcblib/parametric/plcc.awk (revision 3259) +++ trunk/pcblib/parametric/plcc.awk (revision 3260) @@ -17,7 +17,7 @@ if (!(args ~ "pad_thickness=")) { if (!(pitch in PT)) - error("Unkown pitch (" pitch "), should be one of:" parri(PT)) + error("Unknown pitch (" pitch "), should be one of:" parri(PT)) pt = PT[pitch] } else Index: trunk/pcblib/parametric/qfn.awk =================================================================== --- trunk/pcblib/parametric/qfn.awk (revision 3259) +++ trunk/pcblib/parametric/qfn.awk (revision 3260) @@ -18,7 +18,7 @@ if (!(args ~ "pad_thickness=")) { if (!(pitch in PT)) - error("Unkown pitch, should be one of:" parri(PT)) + error("Unknown pitch, should be one of:" parri(PT)) pt = PT[pitch] } else Index: trunk/pcblib/parametric/qfp.awk =================================================================== --- trunk/pcblib/parametric/qfp.awk (revision 3259) +++ trunk/pcblib/parametric/qfp.awk (revision 3260) @@ -19,7 +19,7 @@ if (!(args ~ "pad_thickness=")) { if (!(pitch in PT)) - error("Unkown pitch, should be one of:" parri(PT)) + error("Unknown pitch, should be one of:" parri(PT)) pt = PT[pitch] } else Index: trunk/src/action_helper.c =================================================================== --- trunk/src/action_helper.c (revision 3259) +++ trunk/src/action_helper.c (revision 3260) @@ -1209,7 +1209,7 @@ case PCB_TYPE_ARC: return get_style_size(F_SelectedArcs, out, 0, size_id); } - Message(PCB_MSG_DEFAULT, _("Sorry, can't fetch the style of that object tpye (%x)\n"), type); + Message(PCB_MSG_DEFAULT, _("Sorry, can't fetch the style of that object type (%x)\n"), type); return -1; case F_SelectedPads: if (size_id != 2) /* don't mess with pad size */ Index: trunk/src/change.c =================================================================== --- trunk/src/change.c (revision 3259) +++ trunk/src/change.c (revision 3260) @@ -858,7 +858,7 @@ } /* --------------------------------------------------------------------------- - * Handle attepts to change the clearance of a polygon. + * Handle attempts to change the clearance of a polygon. */ static void *ChangePolygonClearSize(LayerTypePtr Layer, PolygonTypePtr poly) { Index: trunk/src/change_act.c =================================================================== --- trunk/src/change_act.c (revision 3259) +++ trunk/src/change_act.c (revision 3260) @@ -300,7 +300,7 @@ /* %start-doc actions ChangePaste The "no paste flag" of a pad determines whether the solderpaste - stencil will have an opening for the pad (no set) or if there wil be + stencil will have an opening for the pad (no set) or if there will be no solderpaste on the pad (set). This is used for things such as fiducial pads. Index: trunk/src/compat_fs.c =================================================================== --- trunk/src/compat_fs.c (revision 3259) +++ trunk/src/compat_fs.c (revision 3260) @@ -123,7 +123,7 @@ /* * Creates a new temporary file name. Hopefully the operating system - * provides a mkdtemp() function to securily create a temporary + * provides a mkdtemp() function to securely create a temporary * directory with mode 0700. If so then that directory is created and * the returned string is made up of the directory plus the name * variable. For example: @@ -220,7 +220,7 @@ int tempfile_unlink(char *name) { #ifdef DEBUG - /* SDB says: Want to keep old temp files for examiniation when debugging */ + /* SDB says: Want to keep old temp files for examination when debugging */ return 0; #endif Index: trunk/src/compat_misc.c =================================================================== --- trunk/src/compat_misc.c (revision 3259) +++ trunk/src/compat_misc.c (revision 3260) @@ -31,7 +31,7 @@ #include #endif -/* On some old systems random() works better than rand(). Unfrtunately +/* On some old systems random() works better than rand(). Unfortunately random() is less portable than rand(), which is C89. By default, just use rand(). Later on: scconfig should detect and enable random() if we find a system where it really breaks. */ Index: trunk/src/conf.c =================================================================== --- trunk/src/conf.c (revision 3259) +++ trunk/src/conf.c (revision 3260) @@ -431,7 +431,7 @@ } /*printf(" didx: %d / %d '%s'\n", didx, dest->array_size, s->data.text.value);*/ if (didx >= dest->array_size) { - hid_cfg_error(s, "Array is already full [%d] of [%d] ingored value: '%s' policy=%d\n", dest->used, dest->array_size, s->data.text.value, pol); + hid_cfg_error(s, "Array is already full [%d] of [%d] ignored value: '%s' policy=%d\n", dest->used, dest->array_size, s->data.text.value, pol); res = -1; break; } @@ -1424,7 +1424,7 @@ f = fopen(efn, "w"); } else - Message(PCB_MSG_DEFAULT, "Error: failed to creat directory %s for saving %s\n", path, efn); + Message(PCB_MSG_DEFAULT, "Error: failed to create directory %s for saving %s\n", path, efn); } free(path); } Index: trunk/src/conf.h =================================================================== --- trunk/src/conf.h (revision 3259) +++ trunk/src/conf.h (revision 3260) @@ -35,7 +35,7 @@ #include "list_conf.h" -int conf_rev; /* icreased by one each time there's a change in any of the config binaries */ +int conf_rev; /* increased by one each time there's a change in any of the config binaries */ typedef enum { POL_PREPEND, @@ -104,7 +104,7 @@ /* dynamic fields loaded from lihata */ confitem_t val; /* value is always an array (len 1 for the common case) */ - confprop_t *prop; /* an array of properies allocated as big as val's array */ + confprop_t *prop; /* an array of properties allocated as big as val's array */ int used; /* number of items actually used in the arrays */ int conf_rev; /* last changed rev */ @@ -117,7 +117,7 @@ struct conf_listitem_s { conf_native_type_t type; confitem_t val; /* value is always an array (len 1 for the common case) */ - confprop_t prop; /* an array of properies allocated as big as val's array */ + confprop_t prop; /* an array of properties allocated as big as val's array */ const char *payload; gdl_elem_t link; }; Index: trunk/src/conf_core.h =================================================================== --- trunk/src/conf_core.h (revision 3259) +++ trunk/src/conf_core.h (revision 3260) @@ -4,7 +4,7 @@ #include "conf.h" /* NOTE: this struct has a strict format because a code generator needs to - read it. Please always keep the format (preferrably even whitespace style). + read it. Please always keep the format (preferably even whitespace style). Use only the CFT_* prefixed types declared in conf.h. */ @@ -64,7 +64,7 @@ reasons to keep them here: - the original pcb and pcb-rnd file formats already have named/numbered flags for these, so io_pcb needs these - more than one router plugin may share these */ - CFT_BOOLEAN enable_stroke; /* Enable libstroke gesutres on middle mouse button when non-zero */ + CFT_BOOLEAN enable_stroke; /* Enable libstroke gestures on middle mouse button when non-zero */ CFT_BOOLEAN live_routing; /* autorouter shows tracks in progress */ /* Keep it here instead of the router plugin: more than one router plugin may share these */ @@ -97,7 +97,7 @@ CFT_LIST preferred_gui; /* if set, try GUI HIDs in this order when no GUI is explicitly selected */ - /***** automatically set (in postporc) *****/ + /***** automatically set (in postproc) *****/ CFT_BOOLEAN have_regex; /* whether we have regex compiled in */ struct path { CFT_STRING prefix; /* e.g. /usr/local */ Index: trunk/src/crosshair.c =================================================================== --- trunk/src/crosshair.c (revision 3259) +++ trunk/src/crosshair.c (revision 3260) @@ -112,7 +112,7 @@ Cardinal next = next_contour_point(polygon, i); if (next == 0) { /* last line: sometimes the implicit closing line */ - if (i == 1) /* corner case: don't draw two lines on top of eachother - with XOR it looks bad */ + if (i == 1) /* corner case: don't draw two lines on top of each other - with XOR it looks bad */ continue; if (dash_last) { @@ -774,7 +774,7 @@ case PCB_TYPE_LINE_POINT: /* Attention: We can use a NULL pointer here for the layer, * because it is not used in the DrawLine() function anyways. - * ATM DrawLine() only alls AddPart() internally, which invalidates + * ATM DrawLine() only calls AddPart() internally, which invalidates * the area specified by the line's bounding box. */ DrawLine(NULL, (LineType *) obj); @@ -822,7 +822,7 @@ op_swap(crosshair); - /* Do not truncate to 0 becuase that may free the array */ + /* Do not truncate to 0 because that may free the array */ vtop_truncate(&crosshair->onpoint_objs, 1); crosshair->onpoint_objs.used = 0; Index: trunk/src/event.h =================================================================== --- trunk/src/event.h (revision 3259) +++ trunk/src/event.h (revision 3260) @@ -6,7 +6,7 @@ EVENT_SAVE_PRE, /* called before saving the design */ EVENT_SAVE_POST, /* called after saving the design */ EVENT_LOAD_PRE, /* called before loading a new design */ - EVENT_LOAD_POST, /* called after loading a new design, whether it was succesful or not */ + EVENT_LOAD_POST, /* called after loading a new design, whether it was successful or not */ EVENT_last /* not a real event */ } event_id_t; Index: trunk/src/free_atexit.h =================================================================== --- trunk/src/free_atexit.h (revision 3259) +++ trunk/src/free_atexit.h (revision 3260) @@ -2,7 +2,7 @@ by (growing) buffers allocated in static variables in functions. The library provides leaky_ prefixed variants of the common allocation routines. These wrappers will remember all pointers they return and - can free all memory used, at the end of the applocation. + can free all memory used, at the end of the application. */ #include Index: trunk/src/funchash.h =================================================================== --- trunk/src/funchash.h (revision 3259) +++ trunk/src/funchash.h (revision 3260) @@ -42,6 +42,6 @@ /* Remove all keys inserted for a cookie */ void funchash_remove_cookie(const char *cookie); -/* Init-ununit the hash */ +/* Init-uninit the hash */ void funchash_init(void); void funchash_uninit(void); Index: trunk/src/global.h =================================================================== --- trunk/src/global.h (revision 3259) +++ trunk/src/global.h (revision 3260) @@ -234,7 +234,7 @@ */ const char *Package; /* package */ const char *Value; /* the value field */ - const char *Description; /* some descritional text */ + const char *Description; /* some descriptive text */ #if 0 fp_type_t Type; void **Tags; /* an array of void * tag IDs; last tag ID is NULL */ Index: trunk/src/globalconst.h =================================================================== --- trunk/src/globalconst.h (revision 3259) +++ trunk/src/globalconst.h (revision 3260) @@ -109,7 +109,7 @@ /**** Font ***/ /* These are used in debug draw font rendering (e.g. pin names) and reverse - scale calcualtions (e.g. when report is trying to figure how the font + scale calculations (e.g. when report is trying to figure how the font is scaled. Changing these values is not really supported. */ #define FONT_CAPHEIGHT PCB_MIL_TO_COORD (45) /* (Approximate) capheight size of the default PCB font */ #define DEFAULT_CELLSIZE 50 /* default cell size for symbols */ Index: trunk/src/gui_act.c =================================================================== --- trunk/src/gui_act.c (revision 3259) +++ trunk/src/gui_act.c (revision 3260) @@ -1072,7 +1072,7 @@ int known; known = pcb_route_style_lookup(&PCB->RouteStyle, Thick, Diameter, Hole, Clearance, Name); if (known < 0) { - /* unkown style, set properties */ + /* unknown style, set properties */ if (Thick != 0) { pcb_custom_route_style.Thick = Thick; conf_set_design("design/line_thickness", "%$mS", Thick); } if (Clearance != 0) { pcb_custom_route_style.Clearance = Clearance; conf_set_design("design/clearance", "%$mS", Clearance); } if (Diameter != 0) { pcb_custom_route_style.Diameter = Diameter; conf_set_design("design/via_thickness", "%$mS", Diameter); } Index: trunk/src/hid.h =================================================================== --- trunk/src/hid.h (revision 3259) +++ trunk/src/hid.h (revision 3260) @@ -28,7 +28,7 @@ The main structure is at the end of this file. Data structures passed to the HIDs will be copied if the HID needs to -save them. Data structures retured from the HIDs must not be freed, +save them. Data structures returned from the HIDs must not be freed, and may be changed by the HID in response to new information. */ @@ -444,7 +444,7 @@ * but they do not have to be functional. request_debug_draw can * return NULL to indicate debug drawing is not permitted. * - * Debug drawing is not gauranteed to be re-entrant. + * Debug drawing is not guaranteed to be re-entrant. * The caller must not nest requests for debug drawing. */ Index: trunk/src/hid_cfg.h =================================================================== --- trunk/src/hid_cfg.h (revision 3259) +++ trunk/src/hid_cfg.h (revision 3260) @@ -75,7 +75,7 @@ field name expected in the lihata document (useful for error messages) */ lht_node_t *hid_cfg_menu_field(const lht_node_t *submenu, hid_cfg_menufield_t field, const char **field_name); -/* Return a lihata node usign a relative lihata path from parent - this is +/* Return a lihata node using a relative lihata path from parent - this is just a wrapper around lht_tree_path_ */ lht_node_t *hid_cfg_menu_field_path(const lht_node_t *parent, const char *path); Index: trunk/src/hid_cfg_input.c =================================================================== --- trunk/src/hid_cfg_input.c (revision 3259) +++ trunk/src/hid_cfg_input.c (revision 3260) @@ -54,7 +54,7 @@ else if ((vlen >= 7) && (strncasecmp(value, "release", 7) == 0)) m |= M_Release; else if ((vlen >= 5) && (strncasecmp(value, "press", 5) == 0)) press = 1; else - Message(PCB_MSG_DEFAULT, "Unkown modifier: %s\n", value); + Message(PCB_MSG_DEFAULT, "Unknown modifier: %s\n", value); /* skip to next word */ next = strpbrk(value, "<- \t"); if (next == NULL) Index: trunk/src/ht_element.c =================================================================== --- trunk/src/ht_element.c (revision 3259) +++ trunk/src/ht_element.c (revision 3260) @@ -8,7 +8,7 @@ #warning TODO: move these in the big split -/* compare two strings and return 0 if they are equal. NULL == NULL meanms equal. */ +/* compare two strings and return 0 if they are equal. NULL == NULL means equal. */ static int neqs(const char *s1, const char *s2) { if ((s1 == NULL) && (s2 == NULL)) return 0; Index: trunk/src/macro.h =================================================================== --- trunk/src/macro.h (revision 3259) +++ trunk/src/macro.h (revision 3260) @@ -152,7 +152,7 @@ * a pointer is created from index addressing because the base pointer * may change when new memory is allocated; * - * all data is relativ to an objects name 'top' which can be either + * all data is relative to an objects name 'top' which can be either * PCB or PasteBuffer */ #define END_LOOP }} while (0) Index: trunk/src/main.c =================================================================== --- trunk/src/main.c (revision 3259) +++ trunk/src/main.c (revision 3260) @@ -170,7 +170,7 @@ } if (found_bindir) { - /* strip off the executible name leaving only the path */ + /* strip off the executable name leaving only the path */ t2 = NULL; t1 = strchr(bindir, PCB_DIR_SEPARATOR_C); while (t1 != NULL && *t1 != '\0') { Index: trunk/src/main_act.c =================================================================== --- trunk/src/main_act.c (revision 3259) +++ trunk/src/main_act.c (revision 3260) @@ -75,7 +75,7 @@ "PrintUsage()\n" "PrintUsage(plugin)"; -static const char printusage_help[] = "Print command line aruments of pcb-rnd or a plugin loaded."; +static const char printusage_help[] = "Print command line arguments of pcb-rnd or a plugin loaded."; static int help0(void) { Index: trunk/src/misc.c =================================================================== --- trunk/src/misc.c (revision 3259) +++ trunk/src/misc.c (revision 3260) @@ -700,7 +700,7 @@ { /* * save data if necessary. It not needed, then don't trigger EmergencySave - * via our atexit() registering of EmergencySave(). We presumeably wanted to + * via our atexit() registering of EmergencySave(). We presumably wanted to * exit here and thus it is not an emergency. */ if (PCB->Changed && conf_core.editor.save_in_tmp) @@ -836,7 +836,7 @@ if ((ang1 <= 270 && ang2 >= 270) || (ang1 <= 630 && ang2 >= 630)) miny = -1; - /* Finally, calcate bounds, converting sane geometry into pcb geometry */ + /* Finally, calculate bounds, converting sane geometry into pcb geometry */ Arc->BoundingBox.X1 = Arc->X - Arc->Width * maxx; Arc->BoundingBox.X2 = Arc->X - Arc->Width * minx; Arc->BoundingBox.Y1 = Arc->Y + Arc->Height * miny; Index: trunk/src/pcb-printf.c =================================================================== --- trunk/src/pcb-printf.c (revision 3259) +++ trunk/src/pcb-printf.c (revision 3260) @@ -78,7 +78,7 @@ /* \brief Internal coord-to-string converter for pcb-printf * \par Function Description - * Converts a (group of) measurement(s) to a comma-deliminated + * Converts a (group of) measurement(s) to a comma-delimited * string, with appropriate units. If more than one coord is * given, the list is enclosed in parens to make the scope of * the unit suffix clear. @@ -178,7 +178,7 @@ for (i = 0; i < n_coords; ++i) value[i] = value[i] * Units[n].scale_factor; - /* Create sprintf specifier, using default_prec no preciscion is given */ + /* Create sprintf specifier, using default_prec no precision is given */ i = 0; while (printf_spec[i] == '%' || isdigit(printf_spec[i]) || printf_spec[i] == '-' || printf_spec[i] == '+' || printf_spec[i] == '#' || printf_spec[i] == '0') @@ -399,7 +399,7 @@ break; case 'n': /* Depending on gcc settings, this will probably break with - * some silly "can't put %n in writeable data space" message */ + * some silly "can't put %n in writable data space" message */ tmplen = sprintf(tmp, spec.array, va_arg(args, int *)); if (gds_append_len(string, tmp, tmplen) != 0) goto err; break; Index: trunk/src/plug_footprint.c =================================================================== --- trunk/src/plug_footprint.c (revision 3259) +++ trunk/src/plug_footprint.c (revision 3260) @@ -344,7 +344,7 @@ */ libpaths = pcb_strdup(searchpath); for (p = strtok(libpaths, PCB_PATH_DELIMETER); p && *p; p = strtok(NULL, PCB_PATH_DELIMETER)) { - /* remove trailing path delimeter */ + /* remove trailing path delimiter */ strncpy(toppath, p, sizeof(toppath) - 1); #ifdef DEBUG Index: trunk/src/plug_io.c =================================================================== --- trunk/src/plug_io.c (revision 3259) +++ trunk/src/plug_io.c (revision 3260) @@ -83,12 +83,12 @@ const char *reason = "", *comment = ""; if (plug_io_chain != NULL) { if (filename == NULL) { - reason = "none of io plugins could succesfully write the file"; + reason = "none of io plugins could successfully write the file"; filename = ""; } else { FILE *f; - reason = "none of io plugins could succesfully read file"; + reason = "none of io plugins could successfully read file"; f = fopen(filename, "r"); if (f != NULL) { fclose(f); Index: trunk/src/polygon.c =================================================================== --- trunk/src/polygon.c (revision 3259) +++ trunk/src/polygon.c (revision 3260) @@ -35,7 +35,7 @@ A PolygonType also contains a POLYAREA called 'Clipped' which is computed dynamically by InitClip every time a board is loaded. The -point array is coverted to a POLYAREA by original_poly and then holes +point array is converted to a POLYAREA by original_poly and then holes are cut in it by clearPoly. After that it is maintained dynamically as parts are added, moved or removed (this is why sometimes bugs can be fixed by just re-loading the board). @@ -391,7 +391,7 @@ return ContourToPoly(contour); } -/* add verticies in a fractional-circle starting from v +/* add vertices in a fractional-circle starting from v * centered at X, Y and going counter-clockwise * does not include the first point * last argument is 1 for a full circle @@ -762,7 +762,7 @@ return RectPoly(box->X1 - bloat, box->X2 + bloat, box->Y1 - bloat, box->Y2 + bloat); } -/* return the clearence polygon for a pin */ +/* return the clearance polygon for a pin */ static POLYAREA *pin_clearance_poly(Cardinal layernum, PCBTypePtr pcb, PinType * pin) { POLYAREA *np; Index: trunk/src/polygon1.c =================================================================== --- trunk/src/polygon1.c (revision 3259) +++ trunk/src/polygon1.c (revision 3260) @@ -107,7 +107,7 @@ #endif /* ///////////////////////////////////////////////////////////////////////////// * / -/ * 2-Dimentional stuff +/ * 2-Dimensional stuff / * ///////////////////////////////////////////////////////////////////////////// */ #define Vsub2(r,a,b) {(r)[0] = (a)[0] - (b)[0]; (r)[1] = (a)[1] - (b)[1];} @@ -538,7 +538,7 @@ return R_DIR_FOUND_CONTINUE; /* might intersect */ } -/* Prepend a deferred node-insersion task to a list */ +/* Prepend a deferred node-insertion task to a list */ static insert_node_task *prepend_insert_node_task(insert_node_task * list, seg * seg, VNODE * new_node) { insert_node_task *task = (insert_node_task *) malloc(sizeof(*task)); @@ -601,7 +601,7 @@ s->intersected = 1; return R_DIR_NOT_FOUND; /* Keep looking for intersections with segment "i" */ } - /* Skip any remaining r_search hits against segment i, as any futher + /* Skip any remaining r_search hits against segment i, as any further * intersections will be rejected until the next pass anyway. */ if (done_insert_on_i) @@ -661,10 +661,10 @@ * added, the search for intersections is re-started because the rounding * could alter the topology otherwise. * This should use a faster algorithm for snap rounding intersection finding. - * The best algorthim is probably found in: + * The best algorithm is probably found in: * * "Improved output-sensitive snap rounding," John Hershberger, Proceedings - * of the 22nd annual symposium on Computational geomerty, 2006, pp 357-366. + * of the 22nd annual symposium on Computational geometry, 2006, pp 357-366. * http://doi.acm.org/10.1145/1137856.1137909 * * Algorithms described by de Berg, or Goodrich or Halperin, or Hobby would @@ -795,12 +795,12 @@ need_restart = 1; } - /* Process any deferred node insersions */ + /* Process any deferred node insertions */ task = c_info.node_insert_list; while (task != NULL) { insert_node_task *next = task->next; - /* Do insersion */ + /* Do insertion */ task->new_node->prev = task->node_seg->v; task->new_node->next = task->node_seg->v->next; task->node_seg->v->next->prev = task->new_node; @@ -902,7 +902,7 @@ /* if checking touching, use only the first polygon */ while (!test && (outer = outer->f) != outfst); /* we need only check the smallest poly container - * but we must loop in case the box containter is not + * but we must loop in case the box container is not * the poly container */ do { int cnt; @@ -1493,7 +1493,7 @@ poly_PreContour(p, TRUE); if (p->Count > 2) { #ifdef DEBUG_GATHER - DEBUGP("adding contour with %d verticies and direction %c\n", p->Count, p->Flags.orient ? 'F' : 'B'); + DEBUGP("adding contour with %d vertices and direction %c\n", p->Count, p->Flags.orient ? 'F' : 'B'); #endif PutContour(e, p, contours, holes, NULL, NULL, NULL); } @@ -2652,7 +2652,7 @@ /* Returns the dot product of Vector A->B, and a vector - * orthogonal to Vector C->D. The result is not normalisd, so will be + * orthogonal to Vector C->D. The result is not normalised, so will be * weighted by the magnitude of the C->D vector. */ static double dot_orthogonal_to_direction(Vector A, Vector B, Vector C, Vector D) @@ -2743,7 +2743,7 @@ /* NB: This function assumes the caller _knows_ the contours do not * intersect. If the contours intersect, the result is undefined. * It will return the correct result if the two contours share - * common points beteween their contours. (Identical contours + * common points between their contours. (Identical contours * are treated as being inside each other). */ int poly_ContourInContour(PLINE * poly, PLINE * inner) @@ -3173,7 +3173,7 @@ * The intersections of the two circles centered at the vertex points * would determine the two possible arc centers. If P2.x > P1.x then * the center with smaller Y is selected for positive r. If P2.y > P1.y - * then the center with greate X is selected for positive r. + * then the center with greater X is selected for positive r. * * the vec_inters2() routine would then need to handle line-line * line-arc and arc-arc intersections. Index: trunk/src/rotate.h =================================================================== --- trunk/src/rotate.h (revision 3259) +++ trunk/src/rotate.h (revision 3260) @@ -51,7 +51,7 @@ } \ } -/* Rotate pin shape style by n_in * 90 degress */ +/* Rotate pin shape style by n_in * 90 degrees */ #define PIN_ROTATE(p,n_in) \ do { \ int _n_; \ Index: trunk/src/route_style.h =================================================================== --- trunk/src/route_style.h (revision 3259) +++ trunk/src/route_style.h (revision 3260) @@ -43,7 +43,7 @@ int pcb_use_route_style_idx(vtroutestyle_t *styles, int idx); /* Compare supplied parameters to each style in the vector and return the index - of the first mathcing style. All non-0 parameters need to match to accept + of the first matching style. All non-0 parameters need to match to accept a style. Return -1 on no match. */ int pcb_route_style_lookup(vtroutestyle_t *styles, Coord Thick, Coord Diameter, Coord Hole, Coord Clearance, char *Name); Index: trunk/src/rtree.c =================================================================== --- trunk/src/rtree.c (revision 3259) +++ trunk/src/rtree.c (revision 3260) @@ -922,7 +922,7 @@ return (__r_delete(node->parent, &node->box)); } else - /* propegate boundary adjust upward */ + /* propagate boundary adjust upward */ while (node) { adjust_bounds(node); node = node->parent; Index: trunk/src/search.c =================================================================== --- trunk/src/search.c (revision 3259) +++ trunk/src/search.c (revision 3260) @@ -583,7 +583,7 @@ * L * * Finally, D1 and D2 are orthogonal, so we can sum them easily - * by pythagorean theorem. + * by Pythagorean theorem. */ bool IsPointOnLine(Coord X, Coord Y, Coord Radius, LineTypePtr Line) { @@ -607,7 +607,7 @@ /* Get distance from (X, Y) to Q */ D2 = ((double) (X - Line->Point1.X) * (Line->Point2.Y - Line->Point1.Y) - (double) (Y - Line->Point1.Y) * (Line->Point2.X - Line->Point1.X)) / L; - /* Total distance is then the pythagorean sum of these */ + /* Total distance is then the Pythagorean sum of these */ return sqrt(D1 * D1 + D2 * D2) <= Radius + Line->Thickness / 2; } Index: trunk/src/select.c =================================================================== --- trunk/src/select.c (revision 3259) +++ trunk/src/select.c (revision 3260) @@ -194,7 +194,7 @@ * If len is NULL: * Flag determines if the block is to be selected or unselected * returns non-NULL if the state of any object has changed - * if len is non-NULLL + * if len is non-NULL: * returns a list of object IDs matched the search and loads len with the * length of the list. Returns NULL on no match. */ Index: trunk/src/vtonpoint.h =================================================================== --- trunk/src/vtonpoint.h (revision 3259) +++ trunk/src/vtonpoint.h (revision 3260) @@ -41,7 +41,7 @@ /*#define GVT_ELEM_CONSTRUCTOR */ /* Enable GVT_ELEM_DESTRUCTOR and an user configured function is called - for each element that was once constructed and now getting beyong ->used. + for each element that was once constructed and now getting beyond ->used. See vt_construction(7) */ /*#define GVT_ELEM_DESTRUCTOR */ Index: trunk/src/vtroutestyle.h =================================================================== --- trunk/src/vtroutestyle.h (revision 3259) +++ trunk/src/vtroutestyle.h (revision 3260) @@ -51,7 +51,7 @@ /*#define GVT_ELEM_CONSTRUCTOR */ /* Enable GVT_ELEM_DESTRUCTOR and an user configured function is called - for each element that was once constructed and now getting beyong ->used. + for each element that was once constructed and now getting beyond ->used. See vt_construction(7) */ /*#define GVT_ELEM_DESTRUCTOR */ Index: trunk/tests/orig/run_tests.sh =================================================================== --- trunk/tests/orig/run_tests.sh (revision 3259) +++ trunk/tests/orig/run_tests.sh (revision 3260) @@ -178,7 +178,7 @@ # so we need to look 3 levels up and then down to src PCB=${PCB:-../../../../src/pcb-rnd} -# The gerbv executible +# The gerbv executable GERBV=${GERBV:-gerbv} GERBV_DEFAULT_FLAGS=${GERBV_DEFAULT_FLAGS:---export=png --window=640x480}