Commit 0f725ee2 authored by charras's avatar charras
Browse files

DRC: added test pads to holes (pcbnew). Others minor changes

parent aa45e5a4
Loading
Loading
Loading
Loading
+8 −0
Original line number Original line Diff line number Diff line
@@ -5,6 +5,14 @@ Started 2007-June-11
Please add newer entries at the top, list the date and your name with
Please add newer entries at the top, list the date and your name with
email address.
email address.


2009-mar-16 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
================================================================================
++pcbnew:
    in DRC: added test pads to holes.

++Al:
    minor changes.



2009-mar-16 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
2009-mar-16 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
================================================================================
================================================================================
+3 −1
Original line number Original line Diff line number Diff line
@@ -198,7 +198,9 @@ wxString MakeFileName( const wxString& dir,
    {
    {
        if( !wxIsAbsolutePath( shortname ) )
        if( !wxIsAbsolutePath( shortname ) )
        {
        {
            if( !shortname.StartsWith( wxT( "./" ) ) && !shortname.StartsWith( wxT( "../" ) ) )
            if( !shortname.StartsWith( wxT( "./" ) ) && !shortname.StartsWith( wxT( "../" ) )            // under unix
                && !shortname.StartsWith( wxT( ".\\" ) ) && !shortname.StartsWith( wxT( "..\\" ) ))      // under Windows

            {   /* no absolute path in shortname, add dir to shortname */
            {   /* no absolute path in shortname, add dir to shortname */
                fullfilename = dir;
                fullfilename = dir;
            }
            }
+3 −3
Original line number Original line Diff line number Diff line
@@ -190,7 +190,7 @@
                                                <property name="name">orientationRadioBox</property>
                                                <property name="name">orientationRadioBox</property>
                                                <property name="permission">protected</property>
                                                <property name="permission">protected</property>
                                                <property name="pos"></property>
                                                <property name="pos"></property>
                                                <property name="selection">3</property>
                                                <property name="selection">0</property>
                                                <property name="size"></property>
                                                <property name="size"></property>
                                                <property name="style">wxRA_SPECIFY_COLS</property>
                                                <property name="style">wxRA_SPECIFY_COLS</property>
                                                <property name="subclass"></property>
                                                <property name="subclass"></property>
@@ -255,7 +255,7 @@
                                                <property name="name">mirrorRadioBox</property>
                                                <property name="name">mirrorRadioBox</property>
                                                <property name="permission">protected</property>
                                                <property name="permission">protected</property>
                                                <property name="pos"></property>
                                                <property name="pos"></property>
                                                <property name="selection">2</property>
                                                <property name="selection">0</property>
                                                <property name="size"></property>
                                                <property name="size"></property>
                                                <property name="style">wxRA_SPECIFY_COLS</property>
                                                <property name="style">wxRA_SPECIFY_COLS</property>
                                                <property name="subclass"></property>
                                                <property name="subclass"></property>
@@ -872,7 +872,7 @@
                                                        <property name="name">m_StyleRadioBox</property>
                                                        <property name="name">m_StyleRadioBox</property>
                                                        <property name="permission">protected</property>
                                                        <property name="permission">protected</property>
                                                        <property name="pos"></property>
                                                        <property name="pos"></property>
                                                        <property name="selection">3</property>
                                                        <property name="selection">0</property>
                                                        <property name="size"></property>
                                                        <property name="size"></property>
                                                        <property name="style">wxRA_SPECIFY_COLS</property>
                                                        <property name="style">wxRA_SPECIFY_COLS</property>
                                                        <property name="subclass"></property>
                                                        <property name="subclass"></property>
+3 −3
Original line number Original line Diff line number Diff line
@@ -39,7 +39,7 @@ DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_FBP::DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_FBP(
	wxString orientationRadioBoxChoices[] = { _("0"), _("+90"), _("180"), _("-90") };
	wxString orientationRadioBoxChoices[] = { _("0"), _("+90"), _("180"), _("-90") };
	int orientationRadioBoxNChoices = sizeof( orientationRadioBoxChoices ) / sizeof( wxString );
	int orientationRadioBoxNChoices = sizeof( orientationRadioBoxChoices ) / sizeof( wxString );
	orientationRadioBox = new wxRadioBox( this, wxID_ANY, _("Orientation (Degrees)"), wxDefaultPosition, wxDefaultSize, orientationRadioBoxNChoices, orientationRadioBoxChoices, 1, wxRA_SPECIFY_COLS );
	orientationRadioBox = new wxRadioBox( this, wxID_ANY, _("Orientation (Degrees)"), wxDefaultPosition, wxDefaultSize, orientationRadioBoxNChoices, orientationRadioBoxChoices, 1, wxRA_SPECIFY_COLS );
	orientationRadioBox->SetSelection( 3 );
	orientationRadioBox->SetSelection( 0 );
	orientationRadioBox->SetToolTip( _("Select if the component is to be rotated when drawn") );
	orientationRadioBox->SetToolTip( _("Select if the component is to be rotated when drawn") );
	
	
	orientationSizer->Add( orientationRadioBox, 1, wxALL, 8 );
	orientationSizer->Add( orientationRadioBox, 1, wxALL, 8 );
@@ -52,7 +52,7 @@ DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_FBP::DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_FBP(
	wxString mirrorRadioBoxChoices[] = { _("Normal"), _("Mirror ---"), _("Mirror |") };
	wxString mirrorRadioBoxChoices[] = { _("Normal"), _("Mirror ---"), _("Mirror |") };
	int mirrorRadioBoxNChoices = sizeof( mirrorRadioBoxChoices ) / sizeof( wxString );
	int mirrorRadioBoxNChoices = sizeof( mirrorRadioBoxChoices ) / sizeof( wxString );
	mirrorRadioBox = new wxRadioBox( this, wxID_ANY, _("Mirror"), wxDefaultPosition, wxDefaultSize, mirrorRadioBoxNChoices, mirrorRadioBoxChoices, 1, wxRA_SPECIFY_COLS );
	mirrorRadioBox = new wxRadioBox( this, wxID_ANY, _("Mirror"), wxDefaultPosition, wxDefaultSize, mirrorRadioBoxNChoices, mirrorRadioBoxChoices, 1, wxRA_SPECIFY_COLS );
	mirrorRadioBox->SetSelection( 2 );
	mirrorRadioBox->SetSelection( 0 );
	mirrorRadioBox->SetToolTip( _("Pick the graphical transformation to be used when displaying the component, if any") );
	mirrorRadioBox->SetToolTip( _("Pick the graphical transformation to be used when displaying the component, if any") );
	
	
	mirrorSizer->Add( mirrorRadioBox, 1, wxALL, 8 );
	mirrorSizer->Add( mirrorRadioBox, 1, wxALL, 8 );
@@ -134,7 +134,7 @@ DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_FBP::DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_FBP(
	wxString m_StyleRadioBoxChoices[] = { _("Normal"), _("Italic"), _("Bold"), _("Bold Italic") };
	wxString m_StyleRadioBoxChoices[] = { _("Normal"), _("Italic"), _("Bold"), _("Bold Italic") };
	int m_StyleRadioBoxNChoices = sizeof( m_StyleRadioBoxChoices ) / sizeof( wxString );
	int m_StyleRadioBoxNChoices = sizeof( m_StyleRadioBoxChoices ) / sizeof( wxString );
	m_StyleRadioBox = new wxRadioBox( this, wxID_ANY, _("Style:"), wxDefaultPosition, wxDefaultSize, m_StyleRadioBoxNChoices, m_StyleRadioBoxChoices, 1, wxRA_SPECIFY_COLS );
	m_StyleRadioBox = new wxRadioBox( this, wxID_ANY, _("Style:"), wxDefaultPosition, wxDefaultSize, m_StyleRadioBoxNChoices, m_StyleRadioBoxChoices, 1, wxRA_SPECIFY_COLS );
	m_StyleRadioBox->SetSelection( 3 );
	m_StyleRadioBox->SetSelection( 0 );
	m_StyleRadioBox->SetToolTip( _("The style of the currently selected field's text in the schemati") );
	m_StyleRadioBox->SetToolTip( _("The style of the currently selected field's text in the schemati") );
	
	
	visibilitySizer->Add( m_StyleRadioBox, 1, wxBOTTOM|wxRIGHT|wxLEFT, 5 );
	visibilitySizer->Add( m_StyleRadioBox, 1, wxBOTTOM|wxRIGHT|wxLEFT, 5 );
+1 −1
Original line number Original line Diff line number Diff line
@@ -3,7 +3,7 @@
#ifndef KICAD_BUILD_VERSION
#ifndef KICAD_BUILD_VERSION
#define KICAD_BUILD_VERSION
#define KICAD_BUILD_VERSION


#define BUILD_VERSION wxT("(20090216-final)")
#define BUILD_VERSION wxT("(20090332-unstable)")


COMMON_GLOBL wxString g_BuildVersion
COMMON_GLOBL wxString g_BuildVersion
#ifdef EDA_BASE
#ifdef EDA_BASE
Loading