From: Peter Clifton <peter.clifton@cl...> - 2012-11-21 02:50:50
I'd prefer to avoid using the vector_ APIs, as the code underneath is
pretty dated (and by the feel of it, due being killed with fire). It is
currently only used (as far as I can see) by the autorouter.
As we now depend on glib, and you can have GLists and other nice
functionality from there at will. If I get time, I'll look at whether
there is a case for migrating some of the users of the old vector_ code
to something like that.
I've not reviewed the code in huge detail, but a cursory glance suggests
that certain parts might be much simplified with a few of the nicer GLib
string handling routines. (g_strdup_printf() is a lovely function to
avoid lot of strlen calls and memory allocation grief).
You received this bug notification because you are a member of PCB Bug
Team, which is subscribed to pcb.
Added "pcbignore" to ignore newlib dirs/files
Status in PCB: Printed Circuit Board CAD package:
In my private newlib style libraries I have some non-footprint files,
which were showing up in the Library window. I noticed in the code
(in file.c) that a few directories/files are hard-coded as to be
ignored. I figured that adding a user-configurable mechanism to
ignore dirs/files would be more useful to others than just adding my
names to the hard-coded list.
So I implemented a simple "pcbignore" mechanism. Allows for per-user
and per-newlib ignore lists. The patch adds an appendix to the
doc/pcb.texi file (q.v. for details on use).
To manage notifications about this bug go to: