diff --git a/CMakeLists.txt b/CMakeLists.txt index 78475521d9..d4429d2636 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -49,7 +49,7 @@ cmake_dependent_option( BUILD_SMALL_DEBUG_FILES "In debug build: create smaller # # KiCad build options should be added below. # -# If you add a new build option, please add it's state to the +# If you add a new build option, please add its state to the # OnCopyVersionInfo() function in common/dialog_about/dialog_about.cpp # so that build option settings can be included in bug reports. # diff --git a/CMakeModules/FindwxPython.cmake b/CMakeModules/FindwxPython.cmake index b0f9d53dcd..61c1e55180 100644 --- a/CMakeModules/FindwxPython.cmake +++ b/CMakeModules/FindwxPython.cmake @@ -37,7 +37,7 @@ if( PYTHON_SITE_PACKAGE_PATH ) endif() if( VCPKG_TOOLCHAIN ) -# python 3.8+ requires us to use python to add additiona load directories (PATH no longer supported) +# python 3.8+ requires us to use python to add additional load directories (PATH no longer supported) # vcpkg does not copy all the dlls into the python folder so we need this for development # as the wxpython modules need the wxwidgets library DLLs to load set( _py_dll "import os;os.add_dll_directory(\"${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/bin\");os.add_dll_directory(\"${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/debug/bin\");" ) diff --git a/common/pgm_base.cpp b/common/pgm_base.cpp index 2d61c136df..5772def733 100644 --- a/common/pgm_base.cpp +++ b/common/pgm_base.cpp @@ -256,7 +256,7 @@ bool PGM_BASE::InitPgm( bool aHeadless ) if( !m_settings_manager->IsOK() ) return false; - // Set up built-in environment variables (and override them from the system enviroment if set) + // Set up built-in environment variables (and override them from the system environment if set) GetCommonSettings()->InitializeEnvironment(); // Load common settings from disk after setting up env vars diff --git a/common/string.cpp b/common/string.cpp index f032f99169..3262aa9042 100644 --- a/common/string.cpp +++ b/common/string.cpp @@ -60,7 +60,7 @@ wxString ConvertToNewOverbarNotation( const wxString& aOldStr ) { if( ++lookahead != aOldStr.end() && *lookahead == '{' ) { - // This way the subseqent opening curly brace will not start an + // This way the subsequent opening curly brace will not start an // overbar. newStr << "~~{}"; continue; diff --git a/cvpcb/dialogs/fp_conflict_assignment_selector.h b/cvpcb/dialogs/fp_conflict_assignment_selector.h index 83c8671dd4..88ed8b021e 100644 --- a/cvpcb/dialogs/fp_conflict_assignment_selector.h +++ b/cvpcb/dialogs/fp_conflict_assignment_selector.h @@ -44,7 +44,7 @@ public: void Add( const wxString& aRef, const wxString& aFpSchName, const wxString& aFpCmpName ); /** - * @param aReference is the compoent schematic reference. + * @param aReference is the component schematic reference. * @return the selection option: * 0 for fpid text from the netlist * 1 for fpid text from the cmp file diff --git a/demos/python_scripts_examples/action_plugin_test_undoredo.py b/demos/python_scripts_examples/action_plugin_test_undoredo.py index ef63a20185..f08bca22ed 100644 --- a/demos/python_scripts_examples/action_plugin_test_undoredo.py +++ b/demos/python_scripts_examples/action_plugin_test_undoredo.py @@ -52,7 +52,7 @@ class testundoredo2(ActionPlugin): def createFPCXFootprint(self,pads): size_025_160mm = wxSizeMM(0.25,1.6) size_150_200mm = wxSizeMM(1.50,2.0) - # create a new footprint, it's parent is our previously created pcb + # create a new footprint, its parent is our previously created pcb footprint = FOOTPRINT(self.pcb) footprint.SetReference("FPC"+str(pads)) # give it a reference name footprint.Reference().SetPosition(wxPointMM(-1,-1)) diff --git a/eeschema/sch_edit_frame.cpp b/eeschema/sch_edit_frame.cpp index 8a1907482a..979ec1f749 100644 --- a/eeschema/sch_edit_frame.cpp +++ b/eeschema/sch_edit_frame.cpp @@ -676,7 +676,7 @@ void SCH_EDIT_FRAME::doCloseWindow() RecordERCExclusions(); - // Close the find dialog and preserve it's setting if it is displayed. + // Close the find dialog and preserve its setting if it is displayed. if( m_findReplaceDialog ) { m_findStringHistoryList = m_findReplaceDialog->GetFindEntries(); diff --git a/eeschema/sch_edit_frame.h b/eeschema/sch_edit_frame.h index 09cbb02f81..d18d0bbfcb 100644 --- a/eeschema/sch_edit_frame.h +++ b/eeschema/sch_edit_frame.h @@ -886,12 +886,12 @@ private: void initScreenZoom(); /** - * Verify that the symbol library links \a aSheet and all of it's child sheets have + * Verify that the symbol library links \a aSheet and all of its child sheets have * been remapped to the symbol library table. * * @param aSheet is the #SCH_SHEET object to test. * - * @return true if \a aSheet and it's child sheets have not been remapped. + * @return true if \a aSheet and its child sheets have not been remapped. */ bool checkForNoFullyDefinedLibIds( SCH_SHEET* aSheet ); diff --git a/eeschema/sch_plugins/kicad/sch_sexpr_parser.cpp b/eeschema/sch_plugins/kicad/sch_sexpr_parser.cpp index 9735c52ef9..11fc9ee880 100644 --- a/eeschema/sch_plugins/kicad/sch_sexpr_parser.cpp +++ b/eeschema/sch_plugins/kicad/sch_sexpr_parser.cpp @@ -2330,7 +2330,7 @@ SCH_SYMBOL* SCH_SEXPR_PARSER::parseSchematicSymbol() break; case T_property: - // The field parent symbol must be set and it's orientation must be set before + // The field parent symbol must be set and its orientation must be set before // the field positions are set. field = parseSchField( symbol.get() ); diff --git a/eeschema/sch_plugins/kicad/sch_sexpr_plugin.cpp b/eeschema/sch_plugins/kicad/sch_sexpr_plugin.cpp index bd3e9ee78c..0e85b2f60d 100644 --- a/eeschema/sch_plugins/kicad/sch_sexpr_plugin.cpp +++ b/eeschema/sch_plugins/kicad/sch_sexpr_plugin.cpp @@ -2087,7 +2087,7 @@ void SCH_SEXPR_PLUGIN_CACHE::DeleteSymbol( const wxString& aSymbolName ) { LIB_SYMBOL* rootSymbol = symbol; - // Remove the root symbol and all it's children. + // Remove the root symbol and all its children. m_symbols.erase( it ); LIB_SYMBOL_MAP::iterator it1 = m_symbols.begin(); diff --git a/eeschema/sch_plugins/legacy/sch_legacy_plugin.cpp b/eeschema/sch_plugins/legacy/sch_legacy_plugin.cpp index b9ddd6276a..583027a944 100644 --- a/eeschema/sch_plugins/legacy/sch_legacy_plugin.cpp +++ b/eeschema/sch_plugins/legacy/sch_legacy_plugin.cpp @@ -801,7 +801,7 @@ void SCH_LEGACY_PLUGIN::loadFile( const wxString& aFileName, SCH_SCREEN* aScreen LoadContent( reader, aScreen, m_version ); // Unfortunately schematic files prior to version 2 are not terminated with $EndSCHEMATC - // so checking for it's existance will fail so just exit here and take our chances. :( + // so checking for its existance will fail so just exit here and take our chances. :( if( m_version > 1 ) { char* line = reader.Line(); @@ -4225,7 +4225,7 @@ void SCH_LEGACY_PLUGIN_CACHE::DeleteSymbol( const wxString& aSymbolName ) { LIB_SYMBOL* rootSymbol = symbol; - // Remove the root symbol and all it's children. + // Remove the root symbol and all its children. m_symbols.erase( it ); LIB_SYMBOL_MAP::iterator it1 = m_symbols.begin(); diff --git a/eeschema/sch_screen.cpp b/eeschema/sch_screen.cpp index fa4a0118f3..1055ea1a57 100644 --- a/eeschema/sch_screen.cpp +++ b/eeschema/sch_screen.cpp @@ -203,7 +203,7 @@ void SCH_SCREEN::Append( SCH_SCREEN* aScreen ) { wxCHECK_RET( aScreen, "Invalid screen object." ); - // No need to descend the hierarchy. Once the top level screen is copied, all of it's + // No need to descend the hierarchy. Once the top level screen is copied, all of its // children are copied as well. for( auto aItem : aScreen->m_rtree ) Append( aItem ); diff --git a/eeschema/sch_sheet_path.cpp b/eeschema/sch_sheet_path.cpp index b7ff788ef0..c8fd73a646 100644 --- a/eeschema/sch_sheet_path.cpp +++ b/eeschema/sch_sheet_path.cpp @@ -231,7 +231,7 @@ wxString SCH_SHEET_PATH::PathAsString() const s = wxT( "/" ); // This is the root path // Start at 1 to avoid the root sheet, which does not need to be added to the path. - // It's timestamp changes anyway. + // Its timestamp changes anyway. for( unsigned i = 1; i < size(); i++ ) s += at( i )->m_Uuid.AsString() + "/"; diff --git a/eeschema/sch_sheet_path.h b/eeschema/sch_sheet_path.h index a30f2c28b6..5ac9e44f73 100644 --- a/eeschema/sch_sheet_path.h +++ b/eeschema/sch_sheet_path.h @@ -68,7 +68,7 @@ struct SCH_SHEET_INSTANCE * * A hierarchical schematic uses sheets (hierarchical sheets) included in a given sheet. * Each sheet corresponds to a schematic drawing handled by a SCH_SCREEN structure. A - * SCH_SCREEN structure contains drawings, and have a filename to write it's data. Also a + * SCH_SCREEN structure contains drawings, and have a filename to write its data. Also a * SCH_SCREEN displays a sheet number and the name of the sheet. * * In simple (and flat) hierarchies a sheet is linked to a SCH_SCREEN, and a SCH_SCREEN is @@ -346,7 +346,7 @@ public: bool TestForRecursion( const wxString& aSrcFileName, const wxString& aDestFileName ); /** - * Make the sheet file name relative to it's parent sheet. + * Make the sheet file name relative to its parent sheet. * * This should only be called when changing the parent sheet path such performing a save * as or a new schematic without a project in stand alone mode. The sheet file name is diff --git a/eeschema/sheet.cpp b/eeschema/sheet.cpp index 253593e7fd..6acfbbbd11 100644 --- a/eeschema/sheet.cpp +++ b/eeschema/sheet.cpp @@ -81,7 +81,7 @@ bool SCH_EDIT_FRAME::checkForNoFullyDefinedLibIds( SCH_SHEET* aSheet ) if( newScreens.HasNoFullyDefinedLibIds() ) { - msg.Printf( _( "The schematic '%s' has not had it's symbol library links remapped " + msg.Printf( _( "The schematic '%s' has not had its symbol library links remapped " "to the symbol library table. The project this schematic belongs to " "must first be remapped before it can be imported into the current " "project." ), diff --git a/gerbview/dialogs/dialog_layers_select_to_pcb.h b/gerbview/dialogs/dialog_layers_select_to_pcb.h index 064371e89a..250f863c9a 100644 --- a/gerbview/dialogs/dialog_layers_select_to_pcb.h +++ b/gerbview/dialogs/dialog_layers_select_to_pcb.h @@ -61,7 +61,7 @@ private: * * The passed vector will be returned with the same number of elements * as there are Gerber files. The indices into it are 1:1 with the loaded Gerber - * files. Any Gerber that maps will have it's entry set to the KiCad PCB layer + * files. Any Gerber that maps will have its entry set to the KiCad PCB layer * number. Gerbers that can be identified or which don't map to an * equivalent KiCad PCB layer will be set to UNSELECTED_LAYER. * @@ -76,7 +76,7 @@ private: * * The passed vector will be returned with the same number of elements * as there are Gerber files. The indices into it are 1:1 with the loaded Gerber - * files. Any Gerber that maps will have it's entry set to the KiCad PCB layer + * files. Any Gerber that maps will have its entry set to the KiCad PCB layer * number. Gerbers that aren't using Altium extensions or which don't map to an * equivalent KiCad PCB layer will be set to UNSELECTED_LAYER. * @@ -91,7 +91,7 @@ private: * * The passed vector will be returned with the same number of elements * as there are Gerber files. The indices into it are 1:1 with the loaded Gerber - * files. Any Gerber that maps will have it's entry set to the KiCad PCB layer + * files. Any Gerber that maps will have its entry set to the KiCad PCB layer * number. Gerbers that aren't using KiCad naming or which don't map to an * equivalent KiCad PCB layer will be set to UNSELECTED_LAYER. * @@ -106,7 +106,7 @@ private: * * The passed vector will be returned with the same number of elements * as there are Gerber files. The indices into it are 1:1 with the loaded Gerber - * files. Any Gerber that maps will have it's entry set to the KiCad PCB layer + * files. Any Gerber that maps will have its entry set to the KiCad PCB layer * number. Gerbers that aren't using X2 File functions or which don't map to an * equivalent KiCad PCB layer will be set to UNSELECTED_LAYER. * diff --git a/gerbview/gerber_file_image.cpp b/gerbview/gerber_file_image.cpp index 7c233a4bfe..fbdc3501ab 100644 --- a/gerbview/gerber_file_image.cpp +++ b/gerbview/gerber_file_image.cpp @@ -192,8 +192,8 @@ void GERBER_FILE_IMAGE::ResetDefaultValues() m_Offset.x = 0; m_Offset.y = 0; // Coord Offset, from OF command m_Scale.x = m_Scale.y = 1.0; // scale (A and B) this layer - m_MirrorA = false; // true: miror / axe A (default = X) - m_MirrorB = false; // true: miror / axe B (default = Y) + m_MirrorA = false; // true: mirror / axe A (default = X) + m_MirrorB = false; // true: mirror / axe B (default = Y) m_SwapAxis = false; // false if A = X, B = Y; true if A =Y, B = Y m_Has_DCode = false; // true = DCodes in file // false = no DCode-> perhaps deprecated RS274D file diff --git a/gerbview/gerber_file_image.h b/gerbview/gerber_file_image.h index b4de84e532..45d660b60c 100644 --- a/gerbview/gerber_file_image.h +++ b/gerbview/gerber_file_image.h @@ -214,7 +214,7 @@ public: /** * Return the current coordinate type pointed to by InnJnn Text (InnnnJmmmm) * - * These coordinates are relative, so if coordinate is absent, it's value + * These coordinates are relative, so if coordinate is absent, its value * defaults to 0 */ wxPoint ReadIJCoord( char*& Text ); diff --git a/gerbview/job_file_reader.cpp b/gerbview/job_file_reader.cpp index bc2e902f78..631e7cf9f8 100644 --- a/gerbview/job_file_reader.cpp +++ b/gerbview/job_file_reader.cpp @@ -96,7 +96,7 @@ private: wxFileName m_filename; wxArrayString m_GerberFiles; // List of gerber files in job - // Convert a JSON string, that uses escaped sequence of 4 hexdecimal digits + // Convert a JSON string, that uses escaped sequence of 4 hexadecimal digits // to encode unicode chars when not ASCII7 codes // json11 converts this sequence to UTF8 string wxString formatStringFromJSON( const std::string& name ); @@ -166,7 +166,7 @@ bool GERBER_JOBFILE_READER::ReadGerberJobFile() wxString GERBER_JOBFILE_READER::formatStringFromJSON( const std::string& name ) { - // Convert a JSON string, that uses a escaped sequence of 4 hexdecimal digits + // Convert a JSON string, that uses a escaped sequence of 4 hexadecimal digits // to encode unicode chars // Our json11 library returns in this case a UTF8 sequence. Just convert it to // a wxString. diff --git a/gerbview/rs274_read_XY_and_IJ_coordinates.cpp b/gerbview/rs274_read_XY_and_IJ_coordinates.cpp index 519906a0c9..8b869cf76b 100644 --- a/gerbview/rs274_read_XY_and_IJ_coordinates.cpp +++ b/gerbview/rs274_read_XY_and_IJ_coordinates.cpp @@ -183,7 +183,7 @@ wxPoint GERBER_FILE_IMAGE::ReadXYCoord( char*& Text, bool aExcellonMode ) /* Returns the current coordinate type pointed to by InnJnn Text (InnnnJmmmm) - * These coordinates are relative, so if coordinate is absent, it's value + * These coordinates are relative, so if coordinate is absent, its value * defaults to 0 */ wxPoint GERBER_FILE_IMAGE::ReadIJCoord( char*& Text ) diff --git a/include/drawing_sheet/ds_data_model.h b/include/drawing_sheet/ds_data_model.h index 00fbaa236d..3b65bed5c6 100644 --- a/include/drawing_sheet/ds_data_model.h +++ b/include/drawing_sheet/ds_data_model.h @@ -120,7 +120,7 @@ public: int GetItemIndex( DS_DATA_ITEM* aItem ) const; /** - * @return is the item from it's index \a aIdx, or NULL if does not exist. + * @return is the item from its index \a aIdx, or NULL if does not exist. */ DS_DATA_ITEM* GetItem( unsigned aIdx ) const; diff --git a/include/eda_base_frame.h b/include/eda_base_frame.h index c07f72b6a8..9f6f1b890e 100644 --- a/include/eda_base_frame.h +++ b/include/eda_base_frame.h @@ -748,7 +748,7 @@ protected: * around. * * Each panel has rows, starting at 0. Each row has positions starting at 0. Each item in a panel - * can have it's row and position set. + * can have its row and position set. * * Eventually panels will be movable. Each initialization function sets up the panel for this, * then after a //==// break has additional calls to anchor toolbars in a way that matches diff --git a/include/ki_exception.h b/include/ki_exception.h index eb85865d32..b8adca22cf 100644 --- a/include/ki_exception.h +++ b/include/ki_exception.h @@ -121,7 +121,7 @@ struct PARSE_ERROR : public IO_ERROR int byteIndex; ///< at which byte offset within the line, 1 based index /// problem line of input [say, from a LINE_READER]. - /// this is brought up in original byte format rather than wxString form, incase + /// this is brought up in original byte format rather than wxString form, in case /// there was a problem with the encoding, in which case converting to wxString is /// not reliable in this context. std::string inputLine; diff --git a/include/lib_table_base.h b/include/lib_table_base.h index fbd4f9af2b..4dd9df688a 100644 --- a/include/lib_table_base.h +++ b/include/lib_table_base.h @@ -293,7 +293,7 @@ public: virtual void Parse( LIB_TABLE_LEXER* aLexer ) = 0; /** - * Generate the table in s-expression format to \a aOutput with an indention level + * Generate the table in s-expression format to \a aOutput with an indentation level * of \a aIndentLevel. * * @param aOutput is the #OUTPUTFORMATTER to format the table into. diff --git a/include/origin_viewitem.h b/include/origin_viewitem.h index 9c6c36a8a1..4649ded0b6 100644 --- a/include/origin_viewitem.h +++ b/include/origin_viewitem.h @@ -84,7 +84,7 @@ public: /** * Set the draw at zero flag. * - * When set the marker will be drawn when it's position is 0,0. Otherwise it will not + * When set the marker will be drawn when its position is 0,0. Otherwise it will not * be drawn when its position is 0,0. * * @param aDrawFlag The value to set the draw at zero flag. diff --git a/include/paths.h b/include/paths.h index 8f67d17318..c7d93d52bc 100644 --- a/include/paths.h +++ b/include/paths.h @@ -149,7 +149,7 @@ private: #ifdef __WXWINDOWS__ /** * Gets the root of the kicad install on Windows specifically. - * KiCad on Windows has a psuedo posix folder structure contained in it's installed folder + * KiCad on Windows has a pseudo posix folder structure contained in its installed folder * This retrieves that root for usage in other methods */ static wxString getWindowsKiCadRoot(); diff --git a/include/pgm_base.h b/include/pgm_base.h index 8a04f559ca..56c8112631 100644 --- a/include/pgm_base.h +++ b/include/pgm_base.h @@ -195,13 +195,13 @@ public: /** * Set the default language without reference to any preferences. Can be used to set * the language for dialogs that show before preferences are loaded - * @param aErrMsg String to return the error messsage(s) in + * @param aErrMsg String to return the error message(s) in * @return false if the language could not be set */ bool SetDefaultLanguage( wxString& aErrMsg ); /** - * Set in .m_language_id member the wxWidgets language identifier ID fromthe KiCad + * Set in .m_language_id member the wxWidgets language identifier ID from the KiCad * menu id (internal menu identifier). * * @param menu_id The KiCad menuitem id (returned by Menu Event, when clicking on a diff --git a/include/tool/tool_base.h b/include/tool/tool_base.h index f4cd688640..86d5ed2e88 100644 --- a/include/tool/tool_base.h +++ b/include/tool/tool_base.h @@ -183,7 +183,7 @@ protected: template T* getEditFrame() const { -#if !defined( QA_TEST ) // Dynamic casts give the linker a siezure in the test framework +#if !defined( QA_TEST ) // Dynamic casts give the linker a seizure in the test framework wxASSERT( dynamic_cast( getToolHolderInt() ) ); #endif return static_cast( getToolHolderInt() ); @@ -196,7 +196,7 @@ protected: T* getModel() const { EDA_ITEM* m = getModelInt(); -#if !defined( QA_TEST ) // Dynamic casts give the linker a siezure in the test framework +#if !defined( QA_TEST ) // Dynamic casts give the linker a seizure in the test framework wxASSERT( dynamic_cast( m ) ); #endif return static_cast( m ); diff --git a/include/view/view_item.h b/include/view/view_item.h index d4fc76d6ec..69561ffe9c 100644 --- a/include/view/view_item.h +++ b/include/view/view_item.h @@ -70,7 +70,7 @@ enum VIEW_VISIBILITY_FLAGS { /** * An abstract base class for deriving all objects that can be added to a VIEW. * - * It's role is to: + * Its role is to: * - communicate geometry, appearance and visibility updates to the associated dynamic VIEW, * - provide a bounding box for redraw area calculation, * - (optional) draw the object using the #GAL API functions for #PAINTER-less implementations. diff --git a/pcb_calculator/attenuators/attenuator_classes.h b/pcb_calculator/attenuators/attenuator_classes.h index d34a5f97b1..1046024f87 100644 --- a/pcb_calculator/attenuators/attenuator_classes.h +++ b/pcb_calculator/attenuators/attenuator_classes.h @@ -45,7 +45,7 @@ public: void WriteConfig(); protected: - // The constructor is protected, because this class is not intended to be instanciated. + // The constructor is protected, because this class is not intended to be instantiated. ATTENUATOR( ATTENUATORS_TYPE Topology ); public: diff --git a/pcb_calculator/eserie.cpp b/pcb_calculator/eserie.cpp index 93525529fe..e06cdf85c3 100644 --- a/pcb_calculator/eserie.cpp +++ b/pcb_calculator/eserie.cpp @@ -138,7 +138,7 @@ void eserie::NewCalc( void ) i.e_use = false; // no combinations and no results are available for( r_data& i : luts[m_series]) - i.e_use = true; // all selecte E-values available + i.e_use = true; // all selected E-values available } diff --git a/pcbnew/board_items_to_polygon_shape_transform.cpp b/pcbnew/board_items_to_polygon_shape_transform.cpp index 3971522d8a..027db2396d 100644 --- a/pcbnew/board_items_to_polygon_shape_transform.cpp +++ b/pcbnew/board_items_to_polygon_shape_transform.cpp @@ -603,7 +603,7 @@ void PAD::TransformShapeWithClearanceToPolygon( SHAPE_POLY_SET& aCornerBuffer, { case PAD_SHAPE::CIRCLE: case PAD_SHAPE::OVAL: - // Note: dx == dy is not guaranted for circle pads in legacy boards + // Note: dx == dy is not guaranteed for circle pads in legacy boards if( dx == dy || ( GetShape() == PAD_SHAPE::CIRCLE ) ) { TransformCircleToPolygon( aCornerBuffer, padShapePos, dx + aClearanceValue, aError, diff --git a/pcbnew/pcb_expr_evaluator.cpp b/pcbnew/pcb_expr_evaluator.cpp index 5755f3ec93..2616320be2 100644 --- a/pcbnew/pcb_expr_evaluator.cpp +++ b/pcbnew/pcb_expr_evaluator.cpp @@ -889,7 +889,7 @@ LIBEVAL::VALUE PCB_EXPR_VAR_REF::GetValue( LIBEVAL::CONTEXT* aCtx ) if( it == m_matchingTypes.end() ) { // Don't force user to type "A.Type == 'via' && A.Via_Type == 'buried'" when the - // simplier "A.Via_Type == 'buried'" is perfectly clear. Instead, return an undefined + // simpler "A.Via_Type == 'buried'" is perfectly clear. Instead, return an undefined // value when the property doesn't appear on a particular object. return LIBEVAL::VALUE(); diff --git a/pcbnew/router/pns_meander_placer_base.cpp b/pcbnew/router/pns_meander_placer_base.cpp index 6a2ca26a2e..231a44fae5 100644 --- a/pcbnew/router/pns_meander_placer_base.cpp +++ b/pcbnew/router/pns_meander_placer_base.cpp @@ -61,7 +61,7 @@ void MEANDER_PLACER_BASE::SpacingStep( int aSign ) int MEANDER_PLACER_BASE::Clearance() { - // Asumption: All tracks are part of the same net class. + // Assumption: All tracks are part of the same net class. // It shouldn't matter which track we pick. They should all have the same clearance if // they are part of the same net class. Therefore, pick the first one on the list. ITEM* itemToCheck = Traces().CItems().front().item; diff --git a/pcbnew/tools/drawing_stackup_table_tool.cpp b/pcbnew/tools/drawing_stackup_table_tool.cpp index 4df78ca508..d6c07f05d5 100644 --- a/pcbnew/tools/drawing_stackup_table_tool.cpp +++ b/pcbnew/tools/drawing_stackup_table_tool.cpp @@ -289,7 +289,7 @@ std::vector DRAWING_TOOL::DrawSpecificationStackup( { for( j = 0; j < layers.at( i )->GetSublayersCount(); j++ ) { - // Layer names are empty untill we close at least once the board setup dialog. + // Layer names are empty until we close at least once the board setup dialog. // If the user did not open the dialog, then get the names from the board. // But dielectric layer names will be missing. t = static_cast( dataStyle->Duplicate() ); diff --git a/pcbnew/zone_filler.cpp b/pcbnew/zone_filler.cpp index 822b54fa2d..03149c5efe 100644 --- a/pcbnew/zone_filler.cpp +++ b/pcbnew/zone_filler.cpp @@ -769,12 +769,12 @@ void ZONE_FILLER::buildCopperItemClearances( const ZONE* aZone, PCB_LAYER_ID aLa else { // Gives more clearance to arcs (the arc to area drc test is not perfect) - // extra_margin is not enought here + // extra_margin is not enough here // This is a workaround, that can be removed when (if?) the DRC arcs // issues are fixed // The root cause is the fact the DRC approximates the arc shape // by a segmentlist with a error = +- SHAPE_ARC::DefaultAccuracyForPCB()/2 - // and the arc to polygons approximation also creates approxiamtions when + // and the arc to polygons approximation also creates approximations when // filling the zone if( aTrack->Type() == PCB_ARC_T ) gap += SHAPE_ARC::DefaultAccuracyForPCB();