Re: [Kicad-developers] S-expression footprint library format.

2012-10-08 Thread Dick Hollenbeck
On 10/08/2012 08:26 AM, Kaspar Bumke wrote: >> Once the new format becomes the default, footprint libraries will be saved >> as a directory of footprint files. In other words, a footprint library is >> defined as a directory of footprint files where each footprint file contains >> a single foot

Re: [Kicad-developers] S-expression footprint library format.

2012-10-08 Thread Wayne Stambaugh
On 10/8/2012 10:42 AM, Kaspar Bumke wrote: Not that I am planning. The directory and it's footprint files are the library. So what Lorenzo said was wrong? What is this library table then? The library table fixes a long standing bug in Pcbnew when duplicate footprint names exist in more than

Re: [Kicad-developers] S-expression footprint library format.

2012-10-08 Thread Kaspar Bumke
>Not that I am planning. The directory and it's footprint files are the >library. So what Lorenzo said was wrong? What is this library table then? >Once the library table is implemented, as long as there is Pcbnew plugin that >supports reading and writing footprint libraries you will be able t

Re: [Kicad-developers] S-expression footprint library format.

2012-10-08 Thread Wayne Stambaugh
On 10/8/2012 9:26 AM, Kaspar Bumke wrote: Once the new format becomes the default, footprint libraries will be saved as a directory of footprint files. In other words, a footprint library is defined as a directory of footprint files where each footprint file contains a single footprint. I st

Re: [Kicad-developers] S-expression footprint library format.

2012-10-08 Thread Lorenzo Marcantonio
On Mon, Oct 08, 2012 at 02:26:58PM +0100, Kaspar Bumke wrote: > I see, so the preferred sharing method will probably be zip files with > a single folder. Is there anything else that will unify the footprints > except being in the same directory (and having a reason for being > lumped together)? Lik

Re: [Kicad-developers] S-expression footprint library format.

2012-10-08 Thread Kaspar Bumke
> Once the new format becomes the default, footprint libraries will be saved as > a directory of footprint files. In other words, a footprint library is > defined as a directory of footprint files where each footprint file contains > a single footprint. I still have to implement the footprint

Re: [Kicad-developers] S-expression footprint library format.

2012-10-08 Thread Wayne Stambaugh
On 10/8/2012 7:11 AM, Kaspar Bumke wrote: Great to see some progress on this! I don't have time at the minute to look at it closer but am anxious to test it out. Please note that the new file format will create a file for each footprint in the current library file in a directory named from the

Re: [Kicad-developers] S-expression footprint library format.

2012-10-08 Thread Kaspar Bumke
Great to see some progress on this! I don't have time at the minute to look at it closer but am anxious to test it out. >Please note that the new file format will create a file for each footprint in >the current library file in a directory named from the current library file >name. So is this p

Re: [Kicad-developers] S-expression footprint library format.

2012-10-07 Thread Wayne Stambaugh
On 10/7/2012 2:20 PM, Dick Hollenbeck wrote: On 10/07/2012 11:36 AM, Wayne Stambaugh wrote: I finally committed the changes to allow Pcbnew to save libraries in the new s-expression format. You can test this feature by building KiCad with the -DUSE_PCBNEW_SEXPR_FOOTPRINT_LIBS=ON CMake definitio

Re: [Kicad-developers] S-expression footprint library format.

2012-10-07 Thread Dick Hollenbeck
Thinking of old Mac text files: RE: INPUTSTREAM_LINE_READER::ReadLine "end of line test": Does KiCad run on Mac OS older than version 9? If so, CR alone was the end of line designator http://en.wikipedia.org/wiki/Newline If not, then testing only for '\n' seems adequate. On the other hand

Re: [Kicad-developers] S-expression footprint library format.

2012-10-07 Thread Dick Hollenbeck
On 10/07/2012 11:36 AM, Wayne Stambaugh wrote: > I finally committed the changes to allow Pcbnew to save libraries in the > new s-expression format. You can test this feature by building KiCad > with the -DUSE_PCBNEW_SEXPR_FOOTPRINT_LIBS=ON CMake definition. This > will add an entry into the l

[Kicad-developers] S-expression footprint library format.

2012-10-07 Thread Wayne Stambaugh
I finally committed the changes to allow Pcbnew to save libraries in the new s-expression format. You can test this feature by building KiCad with the -DUSE_PCBNEW_SEXPR_FOOTPRINT_LIBS=ON CMake definition. This will add an entry into the library editor file menu that will allow you to save th