pcbnew, cvpcb removed bug: forgotten paths when adding lib files

This commit is contained in:
charras 2008-04-17 08:33:27 +00:00
parent 24e66546d9
commit 25d0403221
7 changed files with 764 additions and 97 deletions

View File

@ -5,6 +5,18 @@ 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.
2008-Apr-17 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
================================================================================
+eeschema
very small bug in display component info removed
+pcbnew
+cvpcb
removed bug: forgotten paths when adding lib files when not in the default lib path
(same problem as in eeschema, solved in 2008-Apr-09 Update)
2008-Apr-16 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr> 2008-Apr-16 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
================================================================================ ================================================================================
+eeschema +eeschema

View File

@ -235,7 +235,7 @@ wxString FullFileName, ShortLibName, mask;
FilesDialog.ShowModal(); FilesDialog.ShowModal();
wxArrayString Filenames; wxArrayString Filenames;
FilesDialog.GetFilenames(Filenames); FilesDialog.GetPaths(Filenames);
if ( Filenames.GetCount() == 0 ) if ( Filenames.GetCount() == 0 )
return; return;

View File

@ -50,8 +50,7 @@ void SCH_COMPONENT::Display_Infos( WinEDA_DrawFrame* frame )
if( Entry ) if( Entry )
{ {
Affiche_1_Parametre( frame, 52, Entry->m_Doc, wxEmptyString, DARKCYAN ); Affiche_1_Parametre( frame, 52, Entry->m_Doc, Entry->m_KeyWord, DARKCYAN );
Affiche_1_Parametre( frame, 52, wxEmptyString, Entry->m_KeyWord, DARKGREEN );
} }
} }

View File

@ -201,7 +201,7 @@ void* WinEDA_SchematicFrame::BuildNetListBase()
tabObjNet += ListeObjetConnection( this, sheet, tabObjNet ); tabObjNet += ListeObjetConnection( this, sheet, tabObjNet );
} }
Affiche_1_Parametre( this, -1, wxEmptyString, _( "Done" ), RED ); Affiche_1_Parametre( this, -1, _( "List" ), _( "Done" ), RED );
msg.Printf( wxT( "%d" ), g_NbrObjNet ); msg.Printf( wxT( "%d" ), g_NbrObjNet );
Affiche_1_Parametre( this, 8, _( "NbItems" ), msg, GREEN ); Affiche_1_Parametre( this, 8, _( "NbItems" ), msg, GREEN );
@ -308,7 +308,7 @@ void* WinEDA_SchematicFrame::BuildNetListBase()
#endif #endif
Affiche_1_Parametre( this, -1, wxEmptyString, _( "Done" ), CYAN ); Affiche_1_Parametre( this, 18, _( "Conn" ), _( "Done" ), CYAN );
/* Mise a jour des NetCodes des Bus Labels connectes par les Bus */ /* Mise a jour des NetCodes des Bus Labels connectes par les Bus */
ConnectBusLabels( g_TabObjNet, g_NbrObjNet ); ConnectBusLabels( g_TabObjNet, g_NbrObjNet );
@ -348,7 +348,7 @@ void* WinEDA_SchematicFrame::BuildNetListBase()
dumpNetTable(); dumpNetTable();
#endif #endif
Affiche_1_Parametre( this, -1, wxEmptyString, _( "Done" ), CYAN ); Affiche_1_Parametre( this, 26, _( "Labels" ), _( "Done" ), CYAN );
/* Connexion des hierarchies */ /* Connexion des hierarchies */
Affiche_1_Parametre( this, 36, _( "Hierar." ), wxEmptyString, LIGHTRED ); Affiche_1_Parametre( this, 36, _( "Hierar." ), wxEmptyString, LIGHTRED );
@ -369,7 +369,7 @@ void* WinEDA_SchematicFrame::BuildNetListBase()
dumpNetTable(); dumpNetTable();
#endif #endif
Affiche_1_Parametre( this, -1, wxEmptyString, _( "Done" ), RED ); Affiche_1_Parametre( this, 36, _( "Hierar." ), _( "Done" ), RED );
/* Compression des numeros de NetCode a des valeurs consecutives */ /* Compression des numeros de NetCode a des valeurs consecutives */
Affiche_1_Parametre( this, 46, _( "Sorting" ), wxEmptyString, GREEN ); Affiche_1_Parametre( this, 46, _( "Sorting" ), wxEmptyString, GREEN );
@ -384,7 +384,7 @@ void* WinEDA_SchematicFrame::BuildNetListBase()
g_TabObjNet[i].SetNet( NetCode ); g_TabObjNet[i].SetNet( NetCode );
} }
Affiche_1_Parametre( this, -1, wxEmptyString, _( "Done" ), GREEN ); Affiche_1_Parametre( this, 46, _( "Sorting" ), _( "Done" ), GREEN );
/* Affectation du m_FlagOfConnection en fonction de connection ou non */ /* Affectation du m_FlagOfConnection en fonction de connection ou non */
SetUnconnectedFlag( g_TabObjNet, g_NbrObjNet ); SetUnconnectedFlag( g_TabObjNet, g_NbrObjNet );

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -370,7 +370,7 @@ wxString mask = wxT("*");
FilesDialog.ShowModal(); FilesDialog.ShowModal();
wxArrayString Filenames; wxArrayString Filenames;
FilesDialog.GetFilenames(Filenames); FilesDialog.GetPaths(Filenames);
for ( unsigned jj = 0; jj < Filenames.GetCount(); jj ++ ) for ( unsigned jj = 0; jj < Filenames.GetCount(); jj ++ )
{ {