Hello all, I have just checked in the CVS some new code to handle the component library. It's a rewrite of the original code with simplification with dynamic allocation in mind.
I have adapted the applications of the gEDA suite for this new code (except gattrib, I did not know if you mind or not Stuart. Anyway, the fix is simple: remove the call to s_clib_cache_free() in gattrib.c). Note that s_clib_search_basename() now returns a list of match: you can know if the component that is loaded is unique or not (though this will require some work to be more user friendly than a line in the log message). I was thinking about making it possible to have one component library per schematic. This way we could manage the addition of library directories better for each page. I will have a look at that. Please test and let me know of any problem. Of course, Ales, if you do not like feel free to delete it. Patrick
