← Back to team overview

kicad-developers team mailing list archive

Re: Schematic I/O plugin.

 

We could probably push that back into the plugin.  I'm not sure what
issues it may or may not cause with the footprint library table.  The
other issue is that LIB_ID has the concept of a revision which uses '/'
as a separator.  We don't use the revision part of LIB_ID in the
footprint libraries and we can probably drop it all together since
symbols will be embedded in the schematic rather than linked to the
symbol library.  The original intent of the LIB_ID revisions was to
prevent symbol changes from breaking schematics by using multiple
revisions of symbols in libraries.

On 2/10/2017 6:42 PM, Chris Pavlina wrote:
> I still don't understand why it's an issue. Why can't LIB_ID allow /?
> That should be forbidden at the level of the individual plugin which has
> to ensure the names are valid for the format being written.
> 
> On Fri, Feb 10, 2017 at 06:37:26PM -0500, Wayne Stambaugh wrote:
>> This is a direct result of LIB_ID which has to be used for symbol
>> library mapping.  I could silently force slashes to underscores or some
>> other valid file name character.  I'm sure that is not going to make
>> folks happy but it will have to happen when we convert the legacy symbol
>> libraries to the new format.  We went through the same issue when we
>> converted the footprint libraries as well.  I'll see if I can come up
>> with a work around for the legacy parser but this is only temporary.
>>
>> Was it our microchip libs that are the problem or someone's custom lib?
>> If it's a custom lib, please attach the lib causing the issues so I can
>> debug it.
>>
>> On 2/10/2017 5:42 PM, Nick Østergaard wrote:
>>> I did notice that the new io manager thing broke some libs things
>>> related to the microchip libs, but it also found an error in the
>>> official libs that I patched. But then I forgot to report the other
>>> issues.
>>>
>>> But yeah, it seems strange that slash'es are not allowed in footprint
>>> property names.
>>>
>>> 2017-02-10 22:59 GMT+01:00 Chris Pavlina <pavlina.chris@xxxxxxxxx>:
>>>> To elaborate - I get that / is forbidden because part names will be file
>>>> names in the new format, but this is going to break libraries. Manufs
>>>> have used all kinds of horrid symbols in part numbers. Perhaps we should
>>>> make the plugin system allow each plugin to specify its own valid
>>>> characters? The legacy format has always allowed / so the legacy plugin
>>>> should.
>>>>
>>>> On Fri, Feb 10, 2017 at 03:57:11PM -0600, José Ignacio wrote:
>>>>> This broke all my designs with microchip parts (which have forward slashes
>>>>> in the symbol names). Sadpanda.jpg
>>>>>
>>>>> On Fri, Feb 10, 2017 at 8:55 AM, Wayne Stambaugh <stambaughw@xxxxxxxxx>
>>>>> wrote:
>>>>>
>>>>>> I just pushed my changes to make the schematic I/O plugin the default
>>>>>> for all schematic and symbol library I/O.  This is a pretty significant
>>>>>> change.  I tested everything I could think of but there may be some
>>>>>> corner cases that I missed.  I also used LIB_ID instead of wxString to
>>>>>> store symbol library lookup information.  For now, it behaves the same
>>>>>> way it always has.  Please let me know if you find any issues and I will
>>>>>> try to fix them as quickly as possible.  KICAD_USE_SCH_IO_MANAGER is no
>>>>>> longer a build option.
>>>>>>
>>>>>> I'm going to try to get the symbol library table implemented in the next
>>>>>> week or so.  This will likely be the last of the schematic I/O changes
>>>>>> before the next stable release.  I am going to push the new file formats
>>>>>> to the stable 6 release due to the increasing amount of time I am
>>>>>> spending doing project management stuff and the equally decreasing
>>>>>> amount of time I have to code.  Given that none of the new features
>>>>>> provided by the new file formats would have been implemented for the
>>>>>> stable 5 release, I don't think this is a major setback.  This will give
>>>>>> us some more time to further discuss the new file formats before I
>>>>>> implement them.  The new file formats will be my first task after the
>>>>>> stable 5 release.
>>>>>>
>>>>>> Cheers,
>>>>>>
>>>>>> Wayne
>>>>>>
>>>>>> _______________________________________________
>>>>>> Mailing list: https://launchpad.net/~kicad-developers
>>>>>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>>>>>> Unsubscribe : https://launchpad.net/~kicad-developers
>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Mailing list: https://launchpad.net/~kicad-developers
>>>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>>>> Unsubscribe : https://launchpad.net/~kicad-developers
>>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~kicad-developers
>>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~kicad-developers
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~kicad-developers
>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~kicad-developers
>> More help   : https://help.launchpad.net/ListHelp



References