Index: trunk/doc-rnd/index.html =================================================================== --- trunk/doc-rnd/index.html (revision 1634) +++ trunk/doc-rnd/index.html (revision 1635) @@ -31,8 +31,9 @@ [flagcomp] unknown flag compatibility [scconfig] use scconfig instead of autotools [pcb-fp] generic parametric footprints; on-the-fly footprint generation by external tools written in any language (remove m4 hardwirings) -[pcblib], +[pcblib], [fp_fs], [pcblib-param] clean up the footprint library shipped +[library_t] footprint library is an arbitrary tree instead of a special, 2 level tree [debian] Debian packaging the binaries configured to my own taste [ba] back annotation [onpoint] on-point by Robert Drehmel Index: trunk/doc-rnd/library_t.html =================================================================== --- trunk/doc-rnd/library_t.html (nonexistent) +++ trunk/doc-rnd/library_t.html (revision 1635) @@ -0,0 +1,28 @@ + + +

pcb-rnd - the [library_t] patch

+ +The original code has a special setup for representing trees, C structures +called LibraryMenu and LibraryEntry. This system can represent only a subset +of trees: there is a root, a level consist of directories only and a next level, +each directory consist of data nodes only. This has been enough for newlib, +which strictly follows this model in the file system hierarchy. The lesstif +HID also hardwired this model in the GUI. +

+In pcb-rnd this has been replaced with a new struct type called library_t +that can represent an arbitrary tree: directories and files within directories +down to many levels. +

+Both the gtk and the lesstif had has been modified accordingly and can +properly display the tree. This in turn enables alternative footprint backend +implementations such as fp_wget to import +more complex libraries, e.g. the one on gedasymbols.org. + +

save/load and compatibility

+Not affected. + +

plans

+Finished, no plans. + + + Index: trunk/doc-rnd/pcblib.html =================================================================== --- trunk/doc-rnd/pcblib.html (revision 1634) +++ trunk/doc-rnd/pcblib.html (revision 1635) @@ -1,6 +1,6 @@ -

pcb-rnd - the [pcblib] and [pcblib-param] patches

+

pcb-rnd - the [pcblib] and [pcblib-param] and [fp_fs] patches

The footprint library shipped with vanilla pcb is cluttered with @@ -36,6 +36,13 @@ open. Note how few smd parts are there. Still, smd/ is the most crowded subdirectory! +

[fp_fs]

+As of vesion 1.0.10, the footprint list/search/load of footprints is a plugin. +The original code that handles local file system footprint libraries (e.g. +pcblib or newlib) is now a plugin. Altnerative plugins can be provided that work +from databases or from the web. In extreme +situations the file system based footprint plugin can even be disabled. +

save/load and compatibility

Not affected: elements are embedded in the PCB.