← Back to team overview

kicad-developers team mailing list archive

Re: Schematic I/O plugin update.

 

It will make the library line ordering more consistent since the
libraries will be sorted on load instead on only when modified.  The
first save of the library will be ugly, but after that it should be much
better for VCS users.

On 8/18/2016 8:28 PM, Simon Wells wrote:
> Hey Wayne,
> 
> Will this make it less likely for there to be order changes when you
> save files in future that are currently the bane of those who use VCS
> with kicad projects?
> 
> Simon
> 
> On Fri, Aug 19, 2016 at 11:33 AM, Wayne Stambaugh <stambaughw@xxxxxxxxx> wrote:
>> I just committed the component library file parser for the new schematic
>> I/O plugin manager.  Please test it when you get a chance.  As with the
>> schematic parser and formatter, it requires compiling with
>> -DUSE_SCH_IO_MANAGER=ON.  The current library file parser has some odd
>> quirks so there may be some corner cases where older libraries do not
>> load properly.  If you get a error loading a library that the current
>> parser loads properly, please send me the library file so I can fix the
>> new parser.  As with the schematic parser, the new library parser will
>> be much more strict about the file formatting.  There is also a bug in
>> the existing parser where parsed library objects are not sorted at load
>> time.  As some point, the sorting must have changed so if you save a
>> library to a new name for round trip testing there will be some minor
>> differences in the order of the draw objects in the component
>> definitions.  Next up will be the using the plugin to handle library
>> management which I suspect will be much more likely to break things.
>>
>> Thanks,
>>
>> 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



References