Commit a97a2b4b authored by charras's avatar charras
Browse files

Eeschema: Connecting power pins of all parts is no more needed. see changelog

parent baa278a3
Loading
Loading
Loading
Loading
+12 −0
Original line number Original line Diff line number Diff line
@@ -4,6 +4,18 @@ KiCad ChangeLog 2009
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-july-10 UPDATE Jean-Pierre Charras <jean-pierre.charras@gipsa-lab.inpg.fr>
================================================================================
++Eeschema:
    Enhanced netlist creation and ERC tests for component having multiple parts per package
    Connecting power pins of all parts is no more needed.
    Usually, these components have in schematic duplicated  power pins.
    Op amps having 4 parts have also 4 duplicated  pins per power input,
    and therefore the user must place 4 power symboles per physical power pin
    Now Only one power is needed (now eeschema search for a connected pin
    between duplicated power pins)
    Note this is a work in progress because the ERC does not check if these duplicate
    are connected to the *same* net.


2009-july-06 UPDATE Jean-Pierre Charras <jean-pierre.charras@gipsa-lab.inpg.fr>
2009-july-06 UPDATE Jean-Pierre Charras <jean-pierre.charras@gipsa-lab.inpg.fr>
================================================================================
================================================================================
+5 −5
Original line number Original line Diff line number Diff line
@@ -11,17 +11,17 @@


DIALOG_DISPLAY_HTML_TEXT_BASE::DIALOG_DISPLAY_HTML_TEXT_BASE( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
DIALOG_DISPLAY_HTML_TEXT_BASE::DIALOG_DISPLAY_HTML_TEXT_BASE( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
{
{
	this->SetSizeHints( wxSize( 400,170 ), wxDefaultSize );
	this->SetSizeHints( wxSize( 400,120 ), wxDefaultSize );
	
	
	wxBoxSizer* bMainSizer;
	wxBoxSizer* bMainSizer;
	bMainSizer = new wxBoxSizer( wxVERTICAL );
	bMainSizer = new wxBoxSizer( wxVERTICAL );
	
	
	m_htmlWindow = new wxHtmlWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO );
	m_htmlWindow = new wxHtmlWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO|wxSUNKEN_BORDER );
	bMainSizer->Add( m_htmlWindow, 1, wxALL|wxEXPAND, 5 );
	bMainSizer->Add( m_htmlWindow, 1, wxEXPAND, 5 );
	
	
	m_buttonClose = new wxButton( this, wxID_CANCEL, _("Close"), wxDefaultPosition, wxDefaultSize, 0 );
	m_buttonClose = new wxButton( this, wxID_CANCEL, _("Close"), wxDefaultPosition, wxDefaultSize, wxBU_EXACTFIT );
	m_buttonClose->SetDefault(); 
	m_buttonClose->SetDefault(); 
	bMainSizer->Add( m_buttonClose, 0, wxALL|wxALIGN_RIGHT, 5 );
	bMainSizer->Add( m_buttonClose, 0, wxALIGN_RIGHT|wxRIGHT|wxLEFT, 5 );
	
	
	this->SetSizer( bMainSizer );
	this->SetSizer( bMainSizer );
	this->Layout();
	this->Layout();
+6 −6
Original line number Original line Diff line number Diff line
@@ -29,10 +29,10 @@
            <property name="hidden">0</property>
            <property name="hidden">0</property>
            <property name="id">wxID_ANY</property>
            <property name="id">wxID_ANY</property>
            <property name="maximum_size"></property>
            <property name="maximum_size"></property>
            <property name="minimum_size">400,170</property>
            <property name="minimum_size">400,120</property>
            <property name="name">DIALOG_DISPLAY_HTML_TEXT_BASE</property>
            <property name="name">DIALOG_DISPLAY_HTML_TEXT_BASE</property>
            <property name="pos"></property>
            <property name="pos"></property>
            <property name="size">431,170</property>
            <property name="size">431,120</property>
            <property name="style">wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER</property>
            <property name="style">wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER</property>
            <property name="subclass"></property>
            <property name="subclass"></property>
            <property name="title"></property>
            <property name="title"></property>
@@ -77,7 +77,7 @@
                <property name="permission">none</property>
                <property name="permission">none</property>
                <object class="sizeritem" expanded="1">
                <object class="sizeritem" expanded="1">
                    <property name="border">5</property>
                    <property name="border">5</property>
                    <property name="flag">wxALL|wxEXPAND</property>
                    <property name="flag">wxEXPAND</property>
                    <property name="proportion">1</property>
                    <property name="proportion">1</property>
                    <object class="wxHtmlWindow" expanded="1">
                    <object class="wxHtmlWindow" expanded="1">
                        <property name="bg"></property>
                        <property name="bg"></property>
@@ -98,7 +98,7 @@
                        <property name="tooltip"></property>
                        <property name="tooltip"></property>
                        <property name="window_extra_style"></property>
                        <property name="window_extra_style"></property>
                        <property name="window_name"></property>
                        <property name="window_name"></property>
                        <property name="window_style"></property>
                        <property name="window_style">wxSUNKEN_BORDER</property>
                        <event name="OnChar"></event>
                        <event name="OnChar"></event>
                        <event name="OnEnterWindow"></event>
                        <event name="OnEnterWindow"></event>
                        <event name="OnEraseBackground"></event>
                        <event name="OnEraseBackground"></event>
@@ -129,7 +129,7 @@
                </object>
                </object>
                <object class="sizeritem" expanded="1">
                <object class="sizeritem" expanded="1">
                    <property name="border">5</property>
                    <property name="border">5</property>
                    <property name="flag">wxALL|wxALIGN_RIGHT</property>
                    <property name="flag">wxALIGN_RIGHT|wxRIGHT|wxLEFT</property>
                    <property name="proportion">0</property>
                    <property name="proportion">0</property>
                    <object class="wxButton" expanded="1">
                    <object class="wxButton" expanded="1">
                        <property name="bg"></property>
                        <property name="bg"></property>
@@ -147,7 +147,7 @@
                        <property name="permission">protected</property>
                        <property name="permission">protected</property>
                        <property name="pos"></property>
                        <property name="pos"></property>
                        <property name="size"></property>
                        <property name="size"></property>
                        <property name="style"></property>
                        <property name="style">wxBU_EXACTFIT</property>
                        <property name="subclass"></property>
                        <property name="subclass"></property>
                        <property name="tooltip"></property>
                        <property name="tooltip"></property>
                        <property name="window_extra_style"></property>
                        <property name="window_extra_style"></property>
+1 −1
Original line number Original line Diff line number Diff line
@@ -40,7 +40,7 @@ class DIALOG_DISPLAY_HTML_TEXT_BASE : public wxDialog
	
	
	public:
	public:
		wxHtmlWindow* m_htmlWindow;
		wxHtmlWindow* m_htmlWindow;
		DIALOG_DISPLAY_HTML_TEXT_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 431,180 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
		DIALOG_DISPLAY_HTML_TEXT_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 431,120 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
		~DIALOG_DISPLAY_HTML_TEXT_BASE();
		~DIALOG_DISPLAY_HTML_TEXT_BASE();
	
	
};
};
+2 −0
Original line number Original line Diff line number Diff line
@@ -661,6 +661,8 @@ void WinEDA_DrawPanel::OnPaint( wxPaintEvent& event )
    m_ClipBox.SetHeight( PaintClipBox.GetHeight() );
    m_ClipBox.SetHeight( PaintClipBox.GetHeight() );
#endif
#endif


    // Be sure the drawpanel clipbox is bigger than the region to repair:
    m_ClipBox.Inflate(1,1); // Give it one pixel more in each direction


#if 0 && defined (DEBUG)
#if 0 && defined (DEBUG)
    printf( "2) PaintClipBox=(%d, %d, %d, %d) org=(%d, %d) m_ClipBox=(%d, %d, %d, %d)\n",
    printf( "2) PaintClipBox=(%d, %d, %d, %d) org=(%d, %d) m_ClipBox=(%d, %d, %d, %d)\n",
Loading