Path to this page:
Subject: CVS commit: pkgsrc/cad/gerbv
From: Dan McMahill
Date: 2005-03-01 13:07:52
Message id: 20050301120752.7F8A82DA1D@cvs.netbsd.org
Log Message:
update to gerbv-1.01. Condensed change log:
* src/draw_amacro.c: Forgot to copy gc to local_gc
so drawing inherits gc from image wide setting.
Pointed out by Warren Young.
* src/gerbv.c: malloc strlen+2, not +1
* src/gerb_file.c: malloc len+1, not len
* src/draw.c: When drawing circles I ignored if circle
had inner diameter, which was pointed out by Harry Eaton.
Not anymore... Closes bug #1050340 in this branch.
* src/draw_amacro.c: Forgot to use local_gc when drawing some
of the primitive aperture macros. Closes bug #1051045.
* src/gerbv.c: If you tried to invert color of an unloaded layer
you got a segmentation fault. I think it was discovered by Juergen.
* configure.in, src/Makefile.am: Use libpng-config to find out
parameters to use in CFLAGS and LIBS.
* src/gerbv.c: Made sure that only list of short options is
printed when only short options are compiled in.
* doc/*, example/*: Makefiles.am removed Makefile.in wheh running
distclean. Not good. Spotted by Hamish Moffatt when packaging
for Debian.
* src/draw.c: In gerbers the image can be negative or positive.
Then a part of the image called a layer can be clear or dark.
-"No more weed for you, Mr Gerber".
Richard Lightman found this and submitted both an example and
a patch. Thanks!
* src/draw_amacro.c: When drawing thermals the cross ends in butt
instead of round which gives nicer look when thermal covers an
other via.
* src/gerber.c: Improved comments on what is going and why. Also
improved a little in determining the size of the image. Now it
ignores points with no aperture defined, unless it is a polygon
area.
* src/gerber.c: Removed two potential segfaults when running old
RS-274D format.
* src/gerber.c, src/batch.c, src/gerb_image.[hc]: Actually removed
all traces of MQ_END and MQ_START. That means that empty nodes
with only this information isn't saved, since the only time we need
this information is when parsing arcs. When an arc is parsed
the information wheter that arc is multi or single quadrant is
saved there. Also closes bug #942590.
* src/gerbv.c, src/gerbv_screen.h, src/gerb_image.c, src/gerb_image.h:
Added possibility to dump a parsed image as text to be able to
debug the parser.
* src/draw_amacro.c: By mistake I assumed that all aperture
macros had exposure flags, but that was a mistake. Drew Moore
pointed it out to me. Thanks.
* */.cvsignore, man/gerbv.1.in, src/gerbv.c: Minor updates and
cleanups from Dimitri. --help added for instance.
Files: