Commit f6656e03 authored by charras's avatar charras
Browse files

fixed eeschema crash when using the hotkey m (move) command.

Pcbnew :added option to show/hide footprints values and/or references
parent 3962e443
Loading
Loading
Loading
Loading
+6 −0
Original line number Original line Diff line number Diff line
@@ -4,6 +4,12 @@ KiCad ChangeLog 2010
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.


2010-Jan-28 UPDATE Jean-Pierre Charras <jean-pierre.charras@gipsa-lab.inpg.fr>
================================================================================
 *fixed eeschema crash when using the hotkey m (move) command.
* Pcbnew :added option to show/hide footprints values and/or references
  See if show/hide footprints texts option is now always useful.

2010-Jan-27 UPDATE Jean-Pierre Charras <jean-pierre.charras@gipsa-lab.inpg.fr>
2010-Jan-27 UPDATE Jean-Pierre Charras <jean-pierre.charras@gipsa-lab.inpg.fr>
================================================================================
================================================================================
++ Pcbnew:
++ Pcbnew:
+0 −1
Original line number Original line Diff line number Diff line
@@ -83,7 +83,6 @@ set(PCB_COMMON_SRCS
    ../pcbnew/classpcb.cpp
    ../pcbnew/classpcb.cpp
    ../pcbnew/collectors.cpp
    ../pcbnew/collectors.cpp
    ../pcbnew/sel_layer.cpp
    ../pcbnew/sel_layer.cpp
    ../pcbnew/tracemod.cpp
)
)


add_library(pcbcommon ${PCB_COMMON_SRCS})
add_library(pcbcommon ${PCB_COMMON_SRCS})
+0 −4
Original line number Original line Diff line number Diff line
@@ -5,10 +5,6 @@
/* Set up color Layers for EESchema
/* Set up color Layers for EESchema
 */
 */


#if defined(__GNUG__) && !defined(__APPLE__)
#pragma implementation "eelayer.h"
#endif

#include "fctsys.h"
#include "fctsys.h"
#include "gr_basic.h"
#include "gr_basic.h"
#include "common.h"
#include "common.h"
+0 −4
Original line number Original line Diff line number Diff line
@@ -5,10 +5,6 @@
#ifndef _EELAYER_H_
#ifndef _EELAYER_H_
#define _EELAYER_H_
#define _EELAYER_H_


#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "eelayer.cpp"
#endif

#include "wx/statline.h"
#include "wx/statline.h"


class wxBoxSizer;
class wxBoxSizer;
+3 −3
Original line number Original line Diff line number Diff line
@@ -468,6 +468,8 @@ void WinEDA_SchematicFrame::OnHotKey( wxDC* DC, int hotkey,
                break;
                break;
            if( DrawStruct->Type() == TYPE_SCH_COMPONENT )
            if( DrawStruct->Type() == TYPE_SCH_COMPONENT )
                DrawStruct = LocateSmallestComponent( GetScreen() );
                DrawStruct = LocateSmallestComponent( GetScreen() );
            if( DrawStruct == NULL )
                break;
            if( DrawStruct->Type() == DRAW_SHEET_STRUCT_TYPE ){
            if( DrawStruct->Type() == DRAW_SHEET_STRUCT_TYPE ){
            	// If it's a sheet, then check if a pinsheet is under the cursor
            	// If it's a sheet, then check if a pinsheet is under the cursor
            	SCH_SHEET_PIN* slabel = LocateSheetLabel( (SCH_SHEET*) DrawStruct,
            	SCH_SHEET_PIN* slabel = LocateSheetLabel( (SCH_SHEET*) DrawStruct,
@@ -477,10 +479,8 @@ void WinEDA_SchematicFrame::OnHotKey( wxDC* DC, int hotkey,
            }
            }
            if (DrawStruct->Type() == DRAW_JUNCTION_STRUCT_TYPE){
            if (DrawStruct->Type() == DRAW_JUNCTION_STRUCT_TYPE){
            	// If it's a junction, pick the underlying wire instead
            	// If it's a junction, pick the underlying wire instead
            	DrawStruct = PickStruct( GetScreen()->m_Curseur,
            	DrawStruct = PickStruct( GetScreen()->m_Curseur, GetScreen(), WIREITEM);
            	                                     GetScreen(), WIREITEM);
            }
            }

            if( DrawStruct == NULL )
            if( DrawStruct == NULL )
                break;
                break;
        }
        }
Loading