From 6adf9163e663ab4f448c4ba13553bf0b4688db6f Mon Sep 17 00:00:00 2001 From: charras Date: Wed, 21 Oct 2009 19:42:57 +0000 Subject: [PATCH] Removed global default clearance, track size and vias drill. Use netclasses values only. --- CHANGELOG.txt | 7 +++++++ common/about_kicad.cpp | 2 +- pcbnew/dialog_drc.cpp | 2 +- pcbnew/dialog_drc_base.cpp | 3 --- pcbnew/dialog_drc_base.fbp | 4 ++-- 5 files changed, 11 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index deb9c82dc7..cbf81b8755 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -4,6 +4,13 @@ KiCad ChangeLog 2009 Please add newer entries at the top, list the date and your name with email address. +2009-oct-21 UPDATE Jean-Pierre Charras +================================================================================ +++pcbnew + * Work on Net Classes: tracks and vias sizes, vias drill + come from netclass netclasses values. Global values removed. + * Added for DRC drill vias and microvias min drill value + 2009-oct-20 UPDATE Wayne Stambaugh ================================================================================ Replace component library editor draw item dialog box. diff --git a/common/about_kicad.cpp b/common/about_kicad.cpp index 91d6c783cd..3f91970b42 100644 --- a/common/about_kicad.cpp +++ b/common/about_kicad.cpp @@ -8,7 +8,7 @@ #include "appl_wxstruct.h" -#define BUILD_VERSION "(20091015-unstable)" +#define BUILD_VERSION "(20091021-unstable)" #ifdef HAVE_SVN_VERSION diff --git a/pcbnew/dialog_drc.cpp b/pcbnew/dialog_drc.cpp index fbf1b33396..8eb595cfb8 100644 --- a/pcbnew/dialog_drc.cpp +++ b/pcbnew/dialog_drc.cpp @@ -49,7 +49,7 @@ void DIALOG_DRC_CONTROL::InitValues() AddUnitSymbol( *m_TrackMinWidthTitle ); AddUnitSymbol( *m_ViaMinTitle ); AddUnitSymbol( *m_MicroViaMinTitle ); - m_SetClearance->SetValue( _("Use netclasses values")); + m_SetClearance->SetValue( _("Netclasses values")); Layout(); // adding the units above expanded Clearance text, now resize. diff --git a/pcbnew/dialog_drc_base.cpp b/pcbnew/dialog_drc_base.cpp index 4a30672b40..558cee2ba1 100644 --- a/pcbnew/dialog_drc_base.cpp +++ b/pcbnew/dialog_drc_base.cpp @@ -38,14 +38,11 @@ DIALOG_DRC_CONTROL_BASE::DIALOG_DRC_CONTROL_BASE( wxWindow* parent, wxWindowID i m_SetClearance = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_SetClearance->Enable( false ); - m_SetClearance->SetToolTip( _("In the clearance units, enter the clearance distance") ); fgMinValuesSizer->Add( m_SetClearance, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 ); m_ViaMinTitle = new wxStaticText( this, wxID_ANY, _("Via Min Size"), wxDefaultPosition, wxDefaultSize, 0 ); m_ViaMinTitle->Wrap( -1 ); - m_ViaMinTitle->Enable( false ); - fgMinValuesSizer->Add( m_ViaMinTitle, 0, wxALIGN_CENTER_VERTICAL|wxTOP|wxBOTTOM|wxLEFT|wxALIGN_RIGHT, 5 ); m_SetViaMinSizeCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); diff --git a/pcbnew/dialog_drc_base.fbp b/pcbnew/dialog_drc_base.fbp index 15b762cfd4..043486ed0f 100644 --- a/pcbnew/dialog_drc_base.fbp +++ b/pcbnew/dialog_drc_base.fbp @@ -193,7 +193,7 @@ - In the clearance units, enter the clearance distance + @@ -234,7 +234,7 @@ - 0 + 1 0