Fix various typos

Found via `codespell -q 3 -S *.po,./thirdparty,./Documentation/changelogs -L aactual,acount,aline,alocation,alog,anormal,anumber,aother,apoints,aparent,aray,ba,busses,dout,einstance,leaded,modul,ontext,ot,overide,serie,te,,tesselate,tesselator,tht`
This commit is contained in:
luz paz 2022-07-03 00:20:05 -04:00 committed by Seth Hillbrand
parent e558893851
commit 79fa911e0e
57 changed files with 67 additions and 66 deletions

View File

@ -263,7 +263,7 @@ bool BOARD_ADAPTER::Is3dLayerEnabled( PCB_LAYER_ID aLayer ) const
bool BOARD_ADAPTER::IsFootprintShown( FOOTPRINT_ATTR_T aFPAttributes ) const bool BOARD_ADAPTER::IsFootprintShown( FOOTPRINT_ATTR_T aFPAttributes ) const
{ {
if( m_IsPreviewer ) // In panel Preview, footprints are always shown, of cource if( m_IsPreviewer ) // In panel Preview, footprints are always shown, of course
return true; return true;
if( aFPAttributes & FP_SMD ) if( aFPAttributes & FP_SMD )

View File

@ -98,7 +98,7 @@ protected:
*/ */
std::unique_ptr<BUSY_INDICATOR> CreateBusyIndicator() const; std::unique_ptr<BUSY_INDICATOR> CreateBusyIndicator() const;
///< the canvas to disply the scene ///< the canvas to display the scene
EDA_3D_CANVAS* m_canvas; EDA_3D_CANVAS* m_canvas;
///< Settings reference in use for this render. ///< Settings reference in use for this render.

View File

@ -1,7 +1,8 @@
Credits Credits
======= =======
The 3D-viewer contains parts, source code or adaptations or implementations that should give the following aknowledge: The 3D-viewer contains parts, source code or adaptations or implementations that should give the following
aknowledgments:
cbvh_packet_traversal.cpp cbvh_packet_traversal.cpp

View File

@ -51,7 +51,7 @@ class DIALOG_SELECT_3D_MODEL_BASE : public DIALOG_SHIM
wxButton* m_sdbSizerOK; wxButton* m_sdbSizerOK;
wxButton* m_sdbSizerCancel; wxButton* m_sdbSizerCancel;
// Virtual event handlers, overide them in your derived class // Virtual event handlers, override them in your derived class
virtual void OnFileActivated( wxCommandEvent& event ) { event.Skip(); } virtual void OnFileActivated( wxCommandEvent& event ) { event.Skip(); }
virtual void OnSelectionChanged( wxCommandEvent& event ) { event.Skip(); } virtual void OnSelectionChanged( wxCommandEvent& event ) { event.Skip(); }
virtual void SetRootDir( wxCommandEvent& event ) { event.Skip(); } virtual void SetRootDir( wxCommandEvent& event ) { event.Skip(); }

View File

@ -59,7 +59,7 @@ class PANEL_3D_DISPLAY_OPTIONS_BASE : public RESETTABLE_PANEL
wxStaticText* m_staticAnimationSpeed; wxStaticText* m_staticAnimationSpeed;
wxSlider* m_sliderAnimationSpeed; wxSlider* m_sliderAnimationSpeed;
// Virtual event handlers, overide them in your derived class // Virtual event handlers, override them in your derived class
virtual void OnCheckRealisticMode( wxCommandEvent& event ) { event.Skip(); } virtual void OnCheckRealisticMode( wxCommandEvent& event ) { event.Skip(); }
virtual void OnCheckEnableAnimation( wxCommandEvent& event ) { event.Skip(); } virtual void OnCheckEnableAnimation( wxCommandEvent& event ) { event.Skip(); }

View File

@ -79,7 +79,7 @@ class BM2CMP_FRAME_BASE : public KIWAY_PLAYER
wxRadioBox* m_rbPCBLayer; wxRadioBox* m_rbPCBLayer;
wxStatusBar* m_statusBar; wxStatusBar* m_statusBar;
// Virtual event handlers, overide them in your derived class // Virtual event handlers, override them in your derived class
virtual void OnPaintInit( wxPaintEvent& event ) { event.Skip(); } virtual void OnPaintInit( wxPaintEvent& event ) { event.Skip(); }
virtual void OnPaintGreyscale( wxPaintEvent& event ) { event.Skip(); } virtual void OnPaintGreyscale( wxPaintEvent& event ) { event.Skip(); }
virtual void OnPaintBW( wxPaintEvent& event ) { event.Skip(); } virtual void OnPaintBW( wxPaintEvent& event ) { event.Skip(); }

View File

@ -37,7 +37,7 @@ class DIALOG_HTML_REPORTER : public DIALOG_SHIM
wxStdDialogButtonSizer* m_sdbSizer; wxStdDialogButtonSizer* m_sdbSizer;
wxButton* m_sdbSizerOK; wxButton* m_sdbSizerOK;
// Virtual event handlers, overide them in your derived class // Virtual event handlers, override them in your derived class
virtual void OnErrorLinkClicked( wxHtmlLinkEvent& event ) { event.Skip(); } virtual void OnErrorLinkClicked( wxHtmlLinkEvent& event ) { event.Skip(); }
virtual void OnOK( wxCommandEvent& event ) { event.Skip(); } virtual void OnOK( wxCommandEvent& event ) { event.Skip(); }

View File

@ -75,7 +75,7 @@ class DIALOG_COLOR_PICKER_BASE : public DIALOG_SHIM
wxButton* m_sdbSizerOK; wxButton* m_sdbSizerOK;
wxButton* m_sdbSizerCancel; wxButton* m_sdbSizerCancel;
// Virtual event handlers, overide them in your derived class // Virtual event handlers, override them in your derived class
virtual void onRGBMouseClick( wxMouseEvent& event ) { event.Skip(); } virtual void onRGBMouseClick( wxMouseEvent& event ) { event.Skip(); }
virtual void onRGBMouseDrag( wxMouseEvent& event ) { event.Skip(); } virtual void onRGBMouseDrag( wxMouseEvent& event ) { event.Skip(); }
virtual void OnChangeEditRed( wxSpinEvent& event ) { event.Skip(); } virtual void OnChangeEditRed( wxSpinEvent& event ) { event.Skip(); }

View File

@ -53,7 +53,7 @@ class DIALOG_CONFIGURE_PATHS_BASE : public DIALOG_SHIM
wxButton* m_sdbSizerCancel; wxButton* m_sdbSizerCancel;
wxButton* m_sdbSizerHelp; wxButton* m_sdbSizerHelp;
// Virtual event handlers, overide them in your derived class // Virtual event handlers, override them in your derived class
virtual void OnUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); } virtual void OnUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); }
virtual void OnGridSize( wxSizeEvent& event ) { event.Skip(); } virtual void OnGridSize( wxSizeEvent& event ) { event.Skip(); }
virtual void OnAddEnvVar( wxCommandEvent& event ) { event.Skip(); } virtual void OnAddEnvVar( wxCommandEvent& event ) { event.Skip(); }

View File

@ -46,7 +46,7 @@ class DIALOG_GLOBAL_LIB_TABLE_CONFIG_BASE : public DIALOG_SHIM
wxStdDialogButtonSizer* m_sdbSizer1; wxStdDialogButtonSizer* m_sdbSizer1;
wxButton* m_sdbSizer1OK; wxButton* m_sdbSizer1OK;
// Virtual event handlers, overide them in your derived class // Virtual event handlers, override them in your derived class
virtual void onUpdateDefaultSelection( wxUpdateUIEvent& event ) { event.Skip(); } virtual void onUpdateDefaultSelection( wxUpdateUIEvent& event ) { event.Skip(); }
virtual void onUpdateFilePicker( wxUpdateUIEvent& event ) { event.Skip(); } virtual void onUpdateFilePicker( wxUpdateUIEvent& event ) { event.Skip(); }

View File

@ -68,7 +68,7 @@ class DIALOG_GRID_SETTINGS_BASE : public DIALOG_SHIM
wxButton* m_sdbSizerOK; wxButton* m_sdbSizerOK;
wxButton* m_sdbSizerCancel; wxButton* m_sdbSizerCancel;
// Virtual event handlers, overide them in your derived class // Virtual event handlers, override them in your derived class
virtual void OnInitDlg( wxInitDialogEvent& event ) { event.Skip(); } virtual void OnInitDlg( wxInitDialogEvent& event ) { event.Skip(); }
virtual void OnResetGridOriginClick( wxCommandEvent& event ) { event.Skip(); } virtual void OnResetGridOriginClick( wxCommandEvent& event ) { event.Skip(); }
virtual void OnCancelClick( wxCommandEvent& event ) { event.Skip(); } virtual void OnCancelClick( wxCommandEvent& event ) { event.Skip(); }

View File

@ -46,7 +46,7 @@ class DIALOG_LOCKED_ITEMS_QUERY_BASE : public DIALOG_SHIM
wxButton* m_sdbSizerOK; wxButton* m_sdbSizerOK;
wxButton* m_sdbSizerCancel; wxButton* m_sdbSizerCancel;
// Virtual event handlers, overide them in your derived class // Virtual event handlers, override them in your derived class
virtual void OnInitDlg( wxInitDialogEvent& event ) { event.Skip(); } virtual void OnInitDlg( wxInitDialogEvent& event ) { event.Skip(); }
virtual void onOverrideLocks( wxCommandEvent& event ) { event.Skip(); } virtual void onOverrideLocks( wxCommandEvent& event ) { event.Skip(); }

View File

@ -54,7 +54,7 @@ class DIALOG_MIGRATE_SETTINGS_BASE : public DIALOG_SHIM
wxButton* m_standardButtonsOK; wxButton* m_standardButtonsOK;
wxButton* m_standardButtonsCancel; wxButton* m_standardButtonsCancel;
// Virtual event handlers, overide them in your derived class // Virtual event handlers, override them in your derived class
virtual void OnPrevVerSelected( wxCommandEvent& event ) { event.Skip(); } virtual void OnPrevVerSelected( wxCommandEvent& event ) { event.Skip(); }
virtual void OnPathChanged( wxCommandEvent& event ) { event.Skip(); } virtual void OnPathChanged( wxCommandEvent& event ) { event.Skip(); }
virtual void OnPathDefocused( wxFocusEvent& event ) { event.Skip(); } virtual void OnPathDefocused( wxFocusEvent& event ) { event.Skip(); }

View File

@ -116,7 +116,7 @@ class DIALOG_PAGES_SETTINGS_BASE : public DIALOG_SHIM
wxButton* m_sdbSizerOK; wxButton* m_sdbSizerOK;
wxButton* m_sdbSizerCancel; wxButton* m_sdbSizerCancel;
// Virtual event handlers, overide them in your derived class // Virtual event handlers, override them in your derived class
virtual void OnPaperSizeChoice( wxCommandEvent& event ) { event.Skip(); } virtual void OnPaperSizeChoice( wxCommandEvent& event ) { event.Skip(); }
virtual void OnPageOrientationChoice( wxCommandEvent& event ) { event.Skip(); } virtual void OnPageOrientationChoice( wxCommandEvent& event ) { event.Skip(); }
virtual void OnUserPageSizeYTextUpdated( wxCommandEvent& event ) { event.Skip(); } virtual void OnUserPageSizeYTextUpdated( wxCommandEvent& event ) { event.Skip(); }

View File

@ -39,7 +39,7 @@ class DIALOG_PASTE_SPECIAL_BASE : public DIALOG_SHIM
wxButton* m_sdbSizerOK; wxButton* m_sdbSizerOK;
wxButton* m_sdbSizerCancel; wxButton* m_sdbSizerCancel;
// Virtual event handlers, overide them in your derived class // Virtual event handlers, override them in your derived class
virtual void onOKButton( wxCommandEvent& event ) { event.Skip(); } virtual void onOKButton( wxCommandEvent& event ) { event.Skip(); }

View File

@ -65,7 +65,7 @@ class DIALOG_PRINT_GENERIC_BASE : public DIALOG_SHIM
wxButton* m_sdbSizer1Apply; wxButton* m_sdbSizer1Apply;
wxButton* m_sdbSizer1Cancel; wxButton* m_sdbSizer1Cancel;
// Virtual event handlers, overide them in your derived class // Virtual event handlers, override them in your derived class
virtual void onClose( wxCloseEvent& event ) { event.Skip(); } virtual void onClose( wxCloseEvent& event ) { event.Skip(); }
virtual void onSetCustomScale( wxCommandEvent& event ) { event.Skip(); } virtual void onSetCustomScale( wxCommandEvent& event ) { event.Skip(); }
virtual void onPageSetup( wxCommandEvent& event ) { event.Skip(); } virtual void onPageSetup( wxCommandEvent& event ) { event.Skip(); }

View File

@ -41,7 +41,7 @@ class EDA_LIST_DIALOG_BASE : public DIALOG_SHIM
wxButton* m_sdbSizerOK; wxButton* m_sdbSizerOK;
wxButton* m_sdbSizerCancel; wxButton* m_sdbSizerCancel;
// Virtual event handlers, overide them in your derived class // Virtual event handlers, override them in your derived class
virtual void onListItemActivated( wxListEvent& event ) = 0; virtual void onListItemActivated( wxListEvent& event ) = 0;
virtual void textChangeInFilterBox( wxCommandEvent& event ) = 0; virtual void textChangeInFilterBox( wxCommandEvent& event ) = 0;

View File

@ -77,7 +77,7 @@ PANEL_COMMON_SETTINGS::PANEL_COMMON_SETTINGS( DIALOG_SHIM* aDialog, wxWindow* aP
* uniformly enough to exclude the explicit controls there. * uniformly enough to exclude the explicit controls there.
*/ */
#if defined( __WXGTK__ ) || defined( __WXMSW__ ) #if defined( __WXGTK__ ) || defined( __WXMSW__ )
// Sadly wxSlider is poorly implemented and adds its legends as sibiling windows (so that // Sadly wxSlider is poorly implemented and adds its legends as sibling windows (so that
// showing/hiding the control doesn't work). So we have to create it conditionally. // showing/hiding the control doesn't work). So we have to create it conditionally.
wxWindow* parent = m_sbUserInterface->GetStaticBox(); wxWindow* parent = m_sbUserInterface->GetStaticBox();
wxGridBagSizer* gb = m_gbUserInterface; wxGridBagSizer* gb = m_gbUserInterface;

View File

@ -40,7 +40,7 @@ class PANEL_TEXT_VARIABLES_BASE : public wxPanel
wxBitmapButton* m_btnAddTextVar; wxBitmapButton* m_btnAddTextVar;
wxBitmapButton* m_btnDeleteTextVar; wxBitmapButton* m_btnDeleteTextVar;
// Virtual event handlers, overide them in your derived class // Virtual event handlers, override them in your derived class
virtual void OnUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); } virtual void OnUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); }
virtual void OnGridCellChange( wxGridEvent& event ) { event.Skip(); } virtual void OnGridCellChange( wxGridEvent& event ) { event.Skip(); }
virtual void OnGridSize( wxSizeEvent& event ) { event.Skip(); } virtual void OnGridSize( wxSizeEvent& event ) { event.Skip(); }

View File

@ -52,7 +52,7 @@ class WX_HTML_REPORT_PANEL_BASE : public wxPanel
wxCheckBox* m_checkBoxShowInfos; wxCheckBox* m_checkBoxShowInfos;
wxButton* m_btnSaveReportToFile; wxButton* m_btnSaveReportToFile;
// Virtual event handlers, overide them in your derived class // Virtual event handlers, override them in your derived class
virtual void onRightClick( wxMouseEvent& event ) { event.Skip(); } virtual void onRightClick( wxMouseEvent& event ) { event.Skip(); }
virtual void onCheckBoxShowAll( wxCommandEvent& event ) { event.Skip(); } virtual void onCheckBoxShowAll( wxCommandEvent& event ) { event.Skip(); }
virtual void onCheckBoxShowErrors( wxCommandEvent& event ) { event.Skip(); } virtual void onCheckBoxShowErrors( wxCommandEvent& event ) { event.Skip(); }

View File

@ -214,7 +214,7 @@ bool KICAD_CURL_EASY::SetURL( const std::string& aURL )
{ {
KIPLATFORM::ENV::PROXY_CONFIG cfg; KIPLATFORM::ENV::PROXY_CONFIG cfg;
// Unforunately on Windows land, proxies can be configured depending on destination url // Unfortunately on Windows land, proxies can be configured depending on destination url
// So we also check and set any proxy config here // So we also check and set any proxy config here
if( KIPLATFORM::ENV::GetSystemProxyConfig( aURL, cfg ) ) if( KIPLATFORM::ENV::GetSystemProxyConfig( aURL, cfg ) )
{ {

View File

@ -25,15 +25,15 @@
#include <wx/intl.h> #include <wx/intl.h>
#include <clocale> #include <clocale>
// When reading/writing files, we need to swtich to setlocale( LC_NUMERIC, "C" ). // When reading/writing files, we need to switch to setlocale( LC_NUMERIC, "C" ).
// Works fine to read/write files with floating point numbers. // Works fine to read/write files with floating point numbers.
// We can call setlocale( LC_NUMERIC, "C" ) or wxLocale( "C", "C", "C", false ) // We can call setlocale( LC_NUMERIC, "C" ) or wxLocale( "C", "C", "C", false )
// wxWidgets discourage a direct call to setlocale // wxWidgets discourage a direct call to setlocale
// However, for us, calling wxLocale( "C", "C", "C", false ) has a unwanted effect: // However, for us, calling wxLocale( "C", "C", "C", false ) has a unwanted effect:
// The I18N translations are no longer active, because the English dictionary is selected. // The I18N translations are no longer active, because the English dictionary is selected.
// To read files, this is not a major issues, but the resul can differ // To read files, this is not a major issues, but the result can differ
// from using setlocale(xx, "C"). // from using setlocale(xx, "C").
// Previouly, we used only setlocale( LC_NUMERIC, "C" ) // Previously, we used only setlocale( LC_NUMERIC, "C" )
// //
// Known issues are // Known issues are
// on MSW // on MSW

View File

@ -55,8 +55,8 @@
* *
* CP (Character Plot): * CP (Character Plot):
* CP {h, v}; * CP {h, v};
* h [-127.9999 .. 127.9999] Anzahl der Zeichen horizontal * h [-127.9999 .. 127.9999] Number of characters horizontally
* v [-127.9999 .. 127.9999] Anzahl der Zeichen vertikal * v [-127.9999 .. 127.9999] Number of characters vertically
* *
* CS (Standard Character Set): * CS (Standard Character Set):
* CS {n}; * CS {n};

View File

@ -253,7 +253,7 @@ void SVG_PLOTTER::setSVGPlotStyle( int aLineWidth, bool aIsGroup, const std::str
// Fix a strange issue found in Inkscape: aWidth < 100 nm create issues on degrouping objects // Fix a strange issue found in Inkscape: aWidth < 100 nm create issues on degrouping objects
// So we use only 4 digits in mantissa for stroke-width. // So we use only 4 digits in mantissa for stroke-width.
// TODO: perhaps used only 3 or 4 digits in mantissa for all values in mm, because some // TODO: perhaps used only 3 or 4 digits in mantissa for all values in mm, because some
// issues were previouly reported reported when using nm as integer units // issues were previously reported reported when using nm as integer units
fprintf( m_outputFile, "\nstroke:#%6.6lX; stroke-width:%.*f; stroke-opacity:1; \n", fprintf( m_outputFile, "\nstroke:#%6.6lX; stroke-width:%.*f; stroke-opacity:1; \n",
m_pen_rgb_color, m_precision, pen_w ); m_pen_rgb_color, m_precision, pen_w );

View File

@ -43,7 +43,7 @@ struct COMPOUND_FILE_ENTRY;
/** /**
* Helper for debug logging (vector -> string) * Helper for debug logging (vector -> string)
* @param aVectorPath path * @param aVectorPath path
* @return path formated as string * @return path formatted as string
*/ */
std::string FormatPath( const std::vector<std::string>& aVectorPath ); std::string FormatPath( const std::vector<std::string>& aVectorPath );

View File

@ -120,7 +120,7 @@ wxString AltiumSpecialStringsToKiCadVariables( const wxString&
if( !specialString.IsEmpty() ) if( !specialString.IsEmpty() )
{ {
// Note: Altium variable references are case-insensitive. KiCad matches // Note: Altium variable references are case-insensitive. KiCad matches
// case-senstive OR to all-upper-case, so make the references all-upper-case. // case-sensitive OR to all-upper-case, so make the references all-upper-case.
specialString.UpperCase(); specialString.UpperCase();
auto overrideIt = aOverrides.find( specialString ); auto overrideIt = aOverrides.find( specialString );

View File

@ -988,7 +988,7 @@ public:
///< that this could be empty in earlier ///< that this could be empty in earlier
///< versions of CADSTAR ///< versions of CADSTAR
wxString Name = wxEmptyString; ///< Can be empty. If empty the pin name wxString Name = wxEmptyString; ///< Can be empty. If empty the pin name
///< displayed wil be Identifier ///< displayed will be Identifier
///< (subnode="PINNAME") ///< (subnode="PINNAME")
///< This seems to be equivalent to "Pin ///< This seems to be equivalent to "Pin
///< Number" in KiCad. ///< Number" in KiCad.

View File

@ -50,7 +50,7 @@ void STEPPED_SLIDER::SetStep( int aSize )
// configure pg up/down to increment by our steps // configure pg up/down to increment by our steps
SetPageSize( aSize ); SetPageSize( aSize );
//configure arrows to incrment by our steps //configure arrows to increment by our steps
SetLineSize( aSize ); SetLineSize( aSize );
#ifdef __WXMSW__ #ifdef __WXMSW__

View File

@ -38,7 +38,7 @@ public:
wxRadioBox* GetAttenuatorsSelector() { return m_AttenuatorsSelection; } wxRadioBox* GetAttenuatorsSelector() { return m_AttenuatorsSelection; }
// Methods from CALCULATOR_PANEL that must be overriden // Methods from CALCULATOR_PANEL that must be overridden
void LoadSettings( PCB_CALCULATOR_SETTINGS* aCfg ) override; void LoadSettings( PCB_CALCULATOR_SETTINGS* aCfg ) override;
void SaveSettings( PCB_CALCULATOR_SETTINGS* aCfg ) override; void SaveSettings( PCB_CALCULATOR_SETTINGS* aCfg ) override;
void ThemeChanged() override; void ThemeChanged() override;

View File

@ -34,7 +34,7 @@ public:
long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString ); long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString );
~PANEL_BOARD_CLASS(); ~PANEL_BOARD_CLASS();
// Methods from CALCULATOR_PANEL that must be overriden // Methods from CALCULATOR_PANEL that must be overridden
void LoadSettings( PCB_CALCULATOR_SETTINGS* aCfg ) override; void LoadSettings( PCB_CALCULATOR_SETTINGS* aCfg ) override;
void SaveSettings( PCB_CALCULATOR_SETTINGS* aCfg ) override; void SaveSettings( PCB_CALCULATOR_SETTINGS* aCfg ) override;
void ThemeChanged() override; void ThemeChanged() override;

View File

@ -41,7 +41,7 @@ public:
long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString ); long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString );
~PANEL_CABLE_SIZE(); ~PANEL_CABLE_SIZE();
// Methods from CALCULATOR_PANEL that must be overriden // Methods from CALCULATOR_PANEL that must be overridden
void LoadSettings( PCB_CALCULATOR_SETTINGS* aCfg ) override; void LoadSettings( PCB_CALCULATOR_SETTINGS* aCfg ) override;
void SaveSettings( PCB_CALCULATOR_SETTINGS* aCfg ) override; void SaveSettings( PCB_CALCULATOR_SETTINGS* aCfg ) override;
void ThemeChanged() override{}; void ThemeChanged() override{};

View File

@ -36,7 +36,7 @@ public:
void OnToleranceSelection( wxCommandEvent& event ) override; void OnToleranceSelection( wxCommandEvent& event ) override;
void ToleranceSelection( int aSelection ); void ToleranceSelection( int aSelection );
// Methods from CALCULATOR_PANEL that must be overriden // Methods from CALCULATOR_PANEL that must be overridden
void LoadSettings( PCB_CALCULATOR_SETTINGS* aCfg ) override; void LoadSettings( PCB_CALCULATOR_SETTINGS* aCfg ) override;
void SaveSettings( PCB_CALCULATOR_SETTINGS* aCfg ) override; void SaveSettings( PCB_CALCULATOR_SETTINGS* aCfg ) override;
void ThemeChanged() override; void ThemeChanged() override;

View File

@ -34,7 +34,7 @@ public:
long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString ); long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString );
~PANEL_ELECTRICAL_SPACING(); ~PANEL_ELECTRICAL_SPACING();
// Methods from CALCULATOR_PANEL that must be overriden // Methods from CALCULATOR_PANEL that must be overridden
void LoadSettings( PCB_CALCULATOR_SETTINGS* aCfg ) override; void LoadSettings( PCB_CALCULATOR_SETTINGS* aCfg ) override;
void SaveSettings( PCB_CALCULATOR_SETTINGS* aCfg ) override; void SaveSettings( PCB_CALCULATOR_SETTINGS* aCfg ) override;
void ThemeChanged() override; void ThemeChanged() override;

View File

@ -34,7 +34,7 @@ public:
long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString ); long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString );
~PANEL_E_SERIE(); ~PANEL_E_SERIE();
// Methods from CALCULATOR_PANEL that must be overriden // Methods from CALCULATOR_PANEL that must be overridden
void LoadSettings( PCB_CALCULATOR_SETTINGS* aCfg ) override; void LoadSettings( PCB_CALCULATOR_SETTINGS* aCfg ) override;
void SaveSettings( PCB_CALCULATOR_SETTINGS* aCfg ) override; void SaveSettings( PCB_CALCULATOR_SETTINGS* aCfg ) override;
void ThemeChanged() override; void ThemeChanged() override;

View File

@ -34,7 +34,7 @@ public:
const wxString& name = wxEmptyString ); const wxString& name = wxEmptyString );
~PANEL_FUSING_CURRENT(); ~PANEL_FUSING_CURRENT();
// Methods from CALCULATOR_PANEL that must be overriden // Methods from CALCULATOR_PANEL that must be overridden
void LoadSettings( PCB_CALCULATOR_SETTINGS* aCfg ) override {}; void LoadSettings( PCB_CALCULATOR_SETTINGS* aCfg ) override {};
void SaveSettings( PCB_CALCULATOR_SETTINGS* aCfg ) override {}; void SaveSettings( PCB_CALCULATOR_SETTINGS* aCfg ) override {};
void ThemeChanged() override; void ThemeChanged() override;

View File

@ -44,7 +44,7 @@ public:
void OnEditRegulator( wxCommandEvent& event ) override; void OnEditRegulator( wxCommandEvent& event ) override;
void OnRemoveRegulator( wxCommandEvent& event ) override; void OnRemoveRegulator( wxCommandEvent& event ) override;
// Methods from CALCULATOR_PANEL that must be overriden // Methods from CALCULATOR_PANEL that must be overridden
void LoadSettings( PCB_CALCULATOR_SETTINGS* aCfg ) override; void LoadSettings( PCB_CALCULATOR_SETTINGS* aCfg ) override;
void SaveSettings( PCB_CALCULATOR_SETTINGS* aCfg ) override; void SaveSettings( PCB_CALCULATOR_SETTINGS* aCfg ) override;
void ThemeChanged() override; void ThemeChanged() override;

View File

@ -34,7 +34,7 @@ public:
long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString ); long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString );
~PANEL_TRACK_WIDTH(); ~PANEL_TRACK_WIDTH();
// Methods from CALCULATOR_PANEL that must be overriden // Methods from CALCULATOR_PANEL that must be overridden
void LoadSettings( PCB_CALCULATOR_SETTINGS* aCfg ) override; void LoadSettings( PCB_CALCULATOR_SETTINGS* aCfg ) override;
void SaveSettings( PCB_CALCULATOR_SETTINGS* aCfg ) override; void SaveSettings( PCB_CALCULATOR_SETTINGS* aCfg ) override;
void ThemeChanged() override; void ThemeChanged() override;

View File

@ -36,7 +36,7 @@ public:
long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString ); long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString );
~PANEL_TRANSLINE(); ~PANEL_TRANSLINE();
// Methods from CALCULATOR_PANEL that must be overriden // Methods from CALCULATOR_PANEL that must be overridden
void LoadSettings( PCB_CALCULATOR_SETTINGS* aCfg ) override; void LoadSettings( PCB_CALCULATOR_SETTINGS* aCfg ) override;
void SaveSettings( PCB_CALCULATOR_SETTINGS* aCfg ) override; void SaveSettings( PCB_CALCULATOR_SETTINGS* aCfg ) override;
void ThemeChanged() override; void ThemeChanged() override;

View File

@ -34,7 +34,7 @@ public:
long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString ); long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString );
~PANEL_VIA_SIZE(); ~PANEL_VIA_SIZE();
// Methods from CALCULATOR_PANEL that must be overriden // Methods from CALCULATOR_PANEL that must be overridden
void LoadSettings( PCB_CALCULATOR_SETTINGS* aCfg ) override; void LoadSettings( PCB_CALCULATOR_SETTINGS* aCfg ) override;
void SaveSettings( PCB_CALCULATOR_SETTINGS* aCfg ) override; void SaveSettings( PCB_CALCULATOR_SETTINGS* aCfg ) override;
void ThemeChanged() override; void ThemeChanged() override;

View File

@ -50,7 +50,7 @@ class DIALOG_REGULATOR_FORM_BASE : public DIALOG_SHIM
wxButton* m_sdbSizerOK; wxButton* m_sdbSizerOK;
wxButton* m_sdbSizerCancel; wxButton* m_sdbSizerCancel;
// Virtual event handlers, overide them in your derived class // Virtual event handlers, override them in your derived class
virtual void OnRegTypeSelection( wxCommandEvent& event ) { event.Skip(); } virtual void OnRegTypeSelection( wxCommandEvent& event ) { event.Skip(); }

View File

@ -56,7 +56,7 @@
* List of handled E series values: * List of handled E series values:
* Note: series bigger than E24 have no interest because * Note: series bigger than E24 have no interest because
* - probably the user will fing the needed value inside these series * - probably the user will fing the needed value inside these series
* - the calcuation time can be *very high* for series > E24 * - the calculation time can be *very high* for series > E24
*/ */
enum { E1, E3, E6, E12, E24 }; enum { E1, E3, E6, E12, E24 };
@ -65,7 +65,7 @@ enum { E1, E3, E6, E12, E24 };
*/ */
enum { S2R, S3R, S4R }; enum { S2R, S3R, S4R };
// R_DATA handles a resitor: string value, value and allowed to use // R_DATA handles a resistor: string value, value and allowed to use
struct R_DATA struct R_DATA
{ {
R_DATA() : R_DATA() :

View File

@ -216,7 +216,7 @@ void PANEL_TRANSLINE::SetPrmBgColor( enum PRMS_ID aPrmId, const KIGFX::COLOR4D*
/** /**
* Function SetResult * Function SetResult
* Puts the text into the given result line. * Puts the text into the given result line.
* @param aLineNumber = the line (0 to MSG_CNT_MAX-1) wher to display the text * @param aLineNumber = the line (0 to MSG_CNT_MAX-1) where to display the text
* @param aText = the text to display * @param aText = the text to display
*/ */
void PANEL_TRANSLINE::SetResult( int aLineNumber, const wxString& aText ) void PANEL_TRANSLINE::SetResult( int aLineNumber, const wxString& aText )

View File

@ -500,14 +500,14 @@ void C_MICROSTRIP::conductor_losses()
/* even-mode strip inductive quality factor */ /* even-mode strip inductive quality factor */
Q_c_e = ( M_PI * Z0_h_e * m_parameters[PHYS_WIDTH_PRM] * m_parameters[FREQUENCY_PRM] ) Q_c_e = ( M_PI * Z0_h_e * m_parameters[PHYS_WIDTH_PRM] * m_parameters[FREQUENCY_PRM] )
/ ( R_s * C0 * K ); / ( R_s * C0 * K );
/* even-mode losses per unith length */ /* even-mode losses per unit length */
alpha_c_e = ( 20.0 * M_PI / log( 10.0 ) ) * m_parameters[FREQUENCY_PRM] alpha_c_e = ( 20.0 * M_PI / log( 10.0 ) ) * m_parameters[FREQUENCY_PRM]
* sqrt( e_r_eff_e_0 ) / ( C0 * Q_c_e ); * sqrt( e_r_eff_e_0 ) / ( C0 * Q_c_e );
/* odd-mode strip inductive quality factor */ /* odd-mode strip inductive quality factor */
Q_c_o = ( M_PI * Z0_h_o * m_parameters[PHYS_WIDTH_PRM] * m_parameters[FREQUENCY_PRM] ) Q_c_o = ( M_PI * Z0_h_o * m_parameters[PHYS_WIDTH_PRM] * m_parameters[FREQUENCY_PRM] )
/ ( R_s * C0 * K ); / ( R_s * C0 * K );
/* odd-mode losses per unith length */ /* odd-mode losses per unit length */
alpha_c_o = ( 20.0 * M_PI / log( 10.0 ) ) * m_parameters[FREQUENCY_PRM] alpha_c_o = ( 20.0 * M_PI / log( 10.0 ) ) * m_parameters[FREQUENCY_PRM]
* sqrt( e_r_eff_o_0 ) / ( C0 * Q_c_o ); * sqrt( e_r_eff_o_0 ) / ( C0 * Q_c_o );
} }

View File

@ -907,7 +907,7 @@ bool processLabel( const TDF_Label& aLabel, DATA& aData, SGNODE* aParent,
if( wxLog::IsAllowedTraceMask( MASK_OCE ) ) if( wxLog::IsAllowedTraceMask( MASK_OCE ) )
{ {
// can be expensive, guard it if we arent logging // can be expensive, guard it if we aren't logging
getTag( aLabel, labelTag ); getTag( aLabel, labelTag );
} }

View File

@ -179,7 +179,7 @@ void WRL1COORDS::GetCoords( WRLVEC3F*& aCoordList, size_t& aListSize )
SGNODE* WRL1COORDS::TranslateToSG( SGNODE* aParent, WRL1STATUS* sp ) SGNODE* WRL1COORDS::TranslateToSG( SGNODE* aParent, WRL1STATUS* sp )
{ {
wxCHECK_MSG( sp, nullptr, wxT( "Inalid base data." ) ); wxCHECK_MSG( sp, nullptr, wxT( "Invalid base data." ) );
sp->coord = this; sp->coord = this;

View File

@ -81,7 +81,7 @@
(tedit 620FF1C8) (tstamp 2e642b3e-a476-4c54-9a52-dcea955640cd) (tedit 620FF1C8) (tstamp 2e642b3e-a476-4c54-9a52-dcea955640cd)
(at 136.84 58.35) (at 136.84 58.35)
(descr "Wire Pad, Square, SMD Pad, 5mm x 10mm,") (descr "Wire Pad, Square, SMD Pad, 5mm x 10mm,")
(tags "MesurementPoint Square SMDPad 5mmx10mm ") (tags "MeasurementPoint Square SMDPad 5mmx10mm ")
(attr exclude_from_pos_files exclude_from_bom) (attr exclude_from_pos_files exclude_from_bom)
(fp_text reference "REF**" (at 0 -2.54) (layer "F.SilkS") hide (fp_text reference "REF**" (at 0 -2.54) (layer "F.SilkS") hide
(effects (font (size 1 1) (thickness 0.15))) (effects (font (size 1 1) (thickness 0.15)))

View File

@ -1154,8 +1154,8 @@
(module Measurement_Points:Measurement_Point_Round-TH_Small (layer F.Cu) (tedit 56C35F63) (tstamp 5BFC373F) (module Measurement_Points:Measurement_Point_Round-TH_Small (layer F.Cu) (tedit 56C35F63) (tstamp 5BFC373F)
(at 133.993082 125.51875) (at 133.993082 125.51875)
(descr "Mesurement Point, Square, Trough Hole, DM 1.5mm, Drill 0.8mm,") (descr "Measurement Point, Square, Trough Hole, DM 1.5mm, Drill 0.8mm,")
(tags "Mesurement Point Round Trough Hole 1.5mm Drill 0.8mm") (tags "Measurement Point Round Trough Hole 1.5mm Drill 0.8mm")
(path /5BF7786D) (path /5BF7786D)
(attr virtual) (attr virtual)
(fp_text reference TP1 (at 0 -2) (layer F.SilkS) (fp_text reference TP1 (at 0 -2) (layer F.SilkS)

View File

@ -165,7 +165,7 @@
This library contains GPS modules, GPS antennas, etc. This library contains GPS modules, GPS antennas, etc.
&lt;br&gt; &lt;br&gt;
&lt;br&gt; &lt;br&gt;
We've spent an enormous amount of time creating and checking these footprints and parts, but it is &lt;b&gt; the end user's responsibility&lt;/b&gt; to ensure correctness and suitablity for a given componet or application. We've spent an enormous amount of time creating and checking these footprints and parts, but it is &lt;b&gt; the end user's responsibility&lt;/b&gt; to ensure correctness and suitablity for a given component or application.
&lt;br&gt; &lt;br&gt;
&lt;br&gt;If you enjoy using this library, please buy one of our products at &lt;a href=" www.sparkfun.com"&gt;SparkFun.com&lt;/a&gt;. &lt;br&gt;If you enjoy using this library, please buy one of our products at &lt;a href=" www.sparkfun.com"&gt;SparkFun.com&lt;/a&gt;.
&lt;br&gt; &lt;br&gt;
@ -1128,7 +1128,7 @@ the 3 V variant.&lt;/p&gt;
</package> </package>
<package name="SAM-M8Q"> <package name="SAM-M8Q">
<description>&lt;h3&gt;SAM-M8Q-0-10&lt;/h3&gt; <description>&lt;h3&gt;SAM-M8Q-0-10&lt;/h3&gt;
Physcial Characteristics Physical Characteristics
&lt;ul&gt; &lt;ul&gt;
&lt;li&gt;15x15x6.3mm&lt;/li&gt; &lt;li&gt;15x15x6.3mm&lt;/li&gt;
&lt;li&gt;Module is a Chip Antenna/GPS Unit combined&lt;/li&gt; &lt;li&gt;Module is a Chip Antenna/GPS Unit combined&lt;/li&gt;
@ -2819,7 +2819,7 @@ Dedicated massive-correlator signal parameter search engine within the baseband
&lt;p&gt;u-blox ZOE-M8 standard precision GNSS SiP (System in Package) modules feature the high performance u-blox M8 &lt;p&gt;u-blox ZOE-M8 standard precision GNSS SiP (System in Package) modules feature the high performance u-blox M8
GNSS engine. ZOE-M8s ultra-miniature form factor integrates a complete GNSS receiver including SAW filter, LNA GNSS engine. ZOE-M8s ultra-miniature form factor integrates a complete GNSS receiver including SAW filter, LNA
and TCXO.&lt;/p&gt; and TCXO.&lt;/p&gt;
&lt;p&gt;Handles all &lt;b&gt;GNSS systems&lt;/b&gt; and can simulatenously use up to three of them, with accuracy ranging from 2.5m to 4m.&lt;/p&gt; &lt;p&gt;Handles all &lt;b&gt;GNSS systems&lt;/b&gt; and can simultaneously use up to three of them, with accuracy ranging from 2.5m to 4m.&lt;/p&gt;
&lt;ul&gt; &lt;ul&gt;
&lt;li&gt;GPS&lt;/li&gt; &lt;li&gt;GPS&lt;/li&gt;
&lt;li&gt;GLONASS&lt;/li&gt; &lt;li&gt;GLONASS&lt;/li&gt;

View File

@ -1,6 +1,6 @@
(footprint "SAM-M8Q" (version 20220308) (generator pcbnew) (footprint "SAM-M8Q" (version 20220308) (generator pcbnew)
(layer "F.Cu") (layer "F.Cu")
(descr "<h3>SAM-M8Q-0-10</h3>\nPhyscial Characteristics\n<ul>\n<li>15x15x6.3mm</li>\n<li>Module is a Chip Antenna/GPS Unit combined</li>\n<li></li>\n</ul>") (descr "<h3>SAM-M8Q-0-10</h3>\nPhysical Characteristics\n<ul>\n<li>15x15x6.3mm</li>\n<li>Module is a Chip Antenna/GPS Unit combined</li>\n<li></li>\n</ul>")
(fp_text reference "REF**" (at -7.75 -8.25) (layer "F.SilkS") (fp_text reference "REF**" (at -7.75 -8.25) (layer "F.SilkS")
(effects (font (size 0.46736 0.46736) (thickness 0.04064)) (justify left bottom)) (effects (font (size 0.46736 0.46736) (thickness 0.04064)) (justify left bottom))
(tstamp 862f4113-a97c-4e19-b737-89e520642e0b) (tstamp 862f4113-a97c-4e19-b737-89e520642e0b)

View File

@ -162,7 +162,7 @@
(tedit 620FF653) (tstamp 970e0f64-111f-41e3-9f5a-fb0d0f6fa101) (tedit 620FF653) (tstamp 970e0f64-111f-41e3-9f5a-fb0d0f6fa101)
(at 194.73 80.19) (at 194.73 80.19)
(descr "Wire Pad, Square, SMD Pad, 5mm x 10mm,") (descr "Wire Pad, Square, SMD Pad, 5mm x 10mm,")
(tags "MesurementPoint Square SMDPad 5mmx10mm ") (tags "MeasurementPoint Square SMDPad 5mmx10mm ")
(attr exclude_from_pos_files exclude_from_bom) (attr exclude_from_pos_files exclude_from_bom)
(fp_text reference "REF**" (at 0 -2.54) (layer "F.SilkS") hide (fp_text reference "REF**" (at 0 -2.54) (layer "F.SilkS") hide
(effects (font (size 1 1) (thickness 0.15))) (effects (font (size 1 1) (thickness 0.15)))

View File

@ -49,8 +49,8 @@ struct ALTIUM_TO_KICAD_UNIT_CASE
/** /**
* A list of valid internal unit conversation factors * A list of valid internal unit conversation factors
* Rem: altium to kicad importer rounds cordinates to the near 10 nm value when * Rem: altium to kicad importer rounds coordinates to the near 10 nm value
* converting altium values in 0.01 mil to pcbnew units (1 nm) * when converting altium values in 0.01 mil to pcbnew units (1 nm)
*/ */
static const std::vector<ALTIUM_TO_KICAD_UNIT_CASE> altium_to_kicad_unit = { static const std::vector<ALTIUM_TO_KICAD_UNIT_CASE> altium_to_kicad_unit = {
// Some simple values // Some simple values

View File

@ -40,7 +40,7 @@
// //
// green, black, // green, black,
// red, blue // red, blue
// ( the black tile is a a circle, otherwise older wx's seem to crash) // (the black tile is a circle, otherwise older wx's seem to crash)
static const std::vector<unsigned char> png_data_4tile = { // static const std::vector<unsigned char> png_data_4tile = { //
0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A, 0x00, 0x00, 0x00, 0x0D, 0x49, 0x48, 0x44, 0x52, 0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A, 0x00, 0x00, 0x00, 0x0D, 0x49, 0x48, 0x44, 0x52,
0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x08, 0x08, 0x06, 0x00, 0x00, 0x00, 0xC4, 0x0F, 0xBE, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x08, 0x08, 0x06, 0x00, 0x00, 0x00, 0xC4, 0x0F, 0xBE,

View File

@ -20,7 +20,7 @@ BEGIN
BEGIN BEGIN
BLOCK "040904E4" BLOCK "040904E4"
BEGIN BEGIN
// this gets dispalyed in the windows 10 task manager // this gets displayed in the windows 10 task manager
VALUE "FileDescription", RC_VER_FILE_DESCRIPTION VALUE "FileDescription", RC_VER_FILE_DESCRIPTION
VALUE "FileVersion", KICAD_WIN32_RC_FILEVER_STR VALUE "FileVersion", KICAD_WIN32_RC_FILEVER_STR
//original filename without extension //original filename without extension

View File

@ -52,7 +52,7 @@ BEGIN
BEGIN BEGIN
BLOCK "040904E4" BLOCK "040904E4"
BEGIN BEGIN
// this gets dispalyed in the windows 10 task manager // this gets displayed in the windows 10 task manager
VALUE "FileDescription", RC_VER_FILE_DESCRIPTION VALUE "FileDescription", RC_VER_FILE_DESCRIPTION
VALUE "FileVersion", KICAD_WIN32_RC_FILEVER_STR VALUE "FileVersion", KICAD_WIN32_RC_FILEVER_STR
//original filename without extension //original filename without extension

View File

@ -88,7 +88,7 @@ int main( int argc, char** argv )
// printf( "sizeof(long double): %zd\n", sizeof( long double ) ); // printf( "sizeof(long double): %zd\n", sizeof( long double ) );
// Emperically prove that we can round trip all 4 billion 32 bit integers representative // Empirically prove that we can round trip all 4 billion 32 bit integers representative
// of nanometers out to textual floating point millimeters, and back without error using // of nanometers out to textual floating point millimeters, and back without error using
// the above two functions. // the above two functions.
// for( int i = INT_MIN; int64_t( i ) <= int64_t( INT_MAX ); ++i ) // for( int i = INT_MIN; int64_t( i ) <= int64_t( INT_MAX ); ++i )

View File

@ -123,7 +123,7 @@ public:
void ResetArcParams(); void ResetArcParams();
/** /**
* Rrase all data except for arc parameters. * Erase all data except for arc parameters.
*/ */
void Clear( void ); void Clear( void );

View File

@ -35,7 +35,7 @@ class KICAD2STEP_FRAME_BASE : public wxFrame
wxStdDialogButtonSizer* m_sdbSizer1; wxStdDialogButtonSizer* m_sdbSizer1;
wxButton* m_sdbSizer1OK; wxButton* m_sdbSizer1OK;
// Virtual event handlers, overide them in your derived class // Virtual event handlers, override them in your derived class
virtual void OnOKButtonClick( wxCommandEvent& event ) { event.Skip(); } virtual void OnOKButtonClick( wxCommandEvent& event ) { event.Skip(); }