Commit 0750a215 authored by charras's avatar charras
Browse files

removed bug: forgotten paths when adding lib files when not in the default lib path

parent 03569ca1
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.


2008-Apr-09 UPDATE  Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
================================================================================
+eeschema
    removed bug: forgotten paths when adding lib files when not in the default lib path
    Also: adding SCH_COMPONENT.m_PartPerPackageSelections to handle multiple parts per package selection
        in a complex hierarchy, but yet, no other code to do that.


2008-Mar-30 UPDATE  Jonas Diemer <diemer-at-gmx.de>
2008-Mar-30 UPDATE  Jonas Diemer <diemer-at-gmx.de>
================================================================================
================================================================================
+eeschema
+eeschema
+14 −13
Original line number Original line Diff line number Diff line
@@ -37,8 +37,8 @@ enum NumFieldType {
 *  component fields are texts attached to the component (not the graphic texts)
 *  component fields are texts attached to the component (not the graphic texts)
 *  There are 2 major fields : Reference and Value
 *  There are 2 major fields : Reference and Value
 */
 */
class PartTextStruct :  public EDA_BaseStruct
class PartTextStruct :  public EDA_BaseStruct,
    , public EDA_TextStruct
    public EDA_TextStruct
{
{
public:
public:
    int      m_Layer;
    int      m_Layer;
@@ -89,6 +89,7 @@ public:


    wxArrayString     m_Paths;                      // /sheet1/C102, /sh2/sh1/U32 etc.
    wxArrayString     m_Paths;                      // /sheet1/C102, /sh2/sh1/U32 etc.
    wxArrayString     m_References;                 // C102, U32 etc.
    wxArrayString     m_References;                 // C102, U32 etc.
    wxArrayString     m_PartPerPackageSelections;   // "1", "2" etc. when a component has more than 1 partper package
    wxString          m_PrefixString;   /* C, R, U, Q etc - the first character which typically indicates what the component is.
    wxString          m_PrefixString;   /* C, R, U, Q etc - the first character which typically indicates what the component is.
                                         * determined, upon placement, from the library component.
                                         * determined, upon placement, from the library component.
                                         * determined, upon file load, by the first non-digits in the reference fields. */
                                         * determined, upon file load, by the first non-digits in the reference fields. */
+12 −12
Original line number Original line Diff line number Diff line
@@ -373,7 +373,7 @@ wxString FullLibName,ShortLibName, Mask;


	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 ++ )
	{
	{
−12 B (149 KiB)

File changed.

No diff preview for this file type.