Commit fd27b262 authored by charras's avatar charras
Browse files

pcbnew: minor work about netclasses. eeschema: bug fix

parent 9861941d
Loading
Loading
Loading
Loading
+21 −0
Original line number Original line Diff line number Diff line
@@ -4,6 +4,27 @@ 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-oct-01 UPDATE Wayne Stambaugh <stambaughw@verizon.net>
================================================================================
* Component library viewer restores state between uses.
* Fixed automatic zoom calculations in library viewer.
* Make library entry list dialog restore previous selection.
* Fix bounding box calculation for vertical field and text draw objects.
* Changed library draw object comparison to test for greater and less than.
* Initial preparation for merging separate library component draw item lists.


2009-sept-29 UPDATE Wayne Stambaugh <stambaughw@verizon.net>
================================================================================
* Eliminate external direct manipulation of component draw item pointer.
* Add draw item remove, add, and locate methods to library component object.
* Remove redundant locate pin, field, and draw item code.
* Fix add new pin drawing bug that left initial pin draw in place.
* Improved best zoom calculations for small components.
* Library component bounding box calculation now includes fields.
* Removed unnecessary header file "libcmp.h".
* Fixed potential locate draw item bug in library editor hot key handler.

2009-sept-27 UPDATE Jean-Pierre Charras <jean-pierre.charras@gipsa-lab.inpg.fr>
2009-sept-27 UPDATE Jean-Pierre Charras <jean-pierre.charras@gipsa-lab.inpg.fr>
================================================================================
================================================================================
++pcbnew
++pcbnew
+19 −17
Original line number Original line Diff line number Diff line
@@ -4,24 +4,26 @@ extern const char *via_sketch_xpm[];


#else
#else
const char * via_sketch_xpm[] = {
const char * via_sketch_xpm[] = {
"16 16 3 1",
"16 16 5 1",
" 	c None",
" 	c None",
".	c #7D7D00",
".	c #7D7D00",
"+	c #7C7C00",
"+	c #7C7C00",
"                ",
"*	c #CC0000",
"=	c #00AC00",
"       ....     ",
"       ....     ",
"     ..++++..   ",
"     ..++++..   ",
"    ..      ..  ",
"    ..      ..  ",
"   ..        .. ",
"   ..        .. ",
"   .    ..    . ",
"   .    ..    . ",
" .+   ....   +. ",
"***+***....   +.",
" .+  ..  ..  +. ",
"**.+**..**..  +.",
" .+  ..  ..  +. ",
"**.+**..**..  +.",
" .+   ....   +. ",
"***+***....   +.",
"  .    ..    .  ",
"   .   =..=   . ",
"  ..        ..  ",
"   ..  ====  .. ",
"   ..      ..   ",
"    .. ==== ..  ",
"     ..++++..   ",
"     ..++++..   ",
"      ....      ",
"       ...=     ",
"                "};
"       ====     ",
"       ====     "};
#endif
#endif
+1 −1
Original line number Original line Diff line number Diff line
@@ -8,7 +8,7 @@
#include "appl_wxstruct.h"
#include "appl_wxstruct.h"




#define BUILD_VERSION "(20090921-unstable)"
#define BUILD_VERSION "(20091001-unstable)"




#ifdef HAVE_SVN_VERSION
#ifdef HAVE_SVN_VERSION
+7 −2
Original line number Original line Diff line number Diff line
@@ -390,7 +390,6 @@ void WinEDA_SchematicFrame::SelPartUnit( SCH_COMPONENT* DrawComponent,
void WinEDA_SchematicFrame::ConvertPart( SCH_COMPONENT* DrawComponent,
void WinEDA_SchematicFrame::ConvertPart( SCH_COMPONENT* DrawComponent,
                                         wxDC*          DC )
                                         wxDC*          DC )
{
{
    int ii;
    LIB_COMPONENT* LibEntry;
    LIB_COMPONENT* LibEntry;


    if( DrawComponent == NULL )
    if( DrawComponent == NULL )
@@ -414,7 +413,13 @@ void WinEDA_SchematicFrame::ConvertPart( SCH_COMPONENT* DrawComponent,
        DrawComponent->Draw( DrawPanel, DC, wxPoint( 0, 0 ), g_XorMode );
        DrawComponent->Draw( DrawPanel, DC, wxPoint( 0, 0 ), g_XorMode );


    DrawComponent->m_Convert++;
    DrawComponent->m_Convert++;
    if( DrawComponent->m_Convert > ii )
    // ensure m_Convert = 0, 1 or 2
    // 0 and 1 = shape 1 = not converted
    // 2 = shape 2 = first converted shape
    // > 2 is not used but could be used for more shapes
    // like multiple shapes for a programmable component
    // When m_Convert = val max, return to the first shape
    if( DrawComponent->m_Convert > 2 )
        DrawComponent->m_Convert = 1;
        DrawComponent->m_Convert = 1;


    /* Redessine le composant dans la nouvelle position */
    /* Redessine le composant dans la nouvelle position */
+0 −1
Original line number Original line Diff line number Diff line
@@ -18,7 +18,6 @@ void WinEDA_LibeditFrame::SaveCopyInUndoList( EDA_BaseStruct* ItemToCopy,
                                              int             unused_flag )
                                              int             unused_flag )
/*************************************************************************/
/*************************************************************************/
{
{
    EDA_BaseStruct*    item;
    LIB_COMPONENT*     CopyItem;
    LIB_COMPONENT*     CopyItem;
    PICKED_ITEMS_LIST* lastcmd;
    PICKED_ITEMS_LIST* lastcmd;


Loading