summaryrefslogtreecommitdiff
path: root/cad/gerbv
AgeCommit message (Collapse)AuthorFilesLines
2005-05-23Removed trailing white-space.rillig1-1/+1
2005-05-22Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:jlam1-2/+2
USE_GNU_TOOLS -> USE_TOOLS awk -> gawk m4 -> gm4 make -> gmake sed -> gsed yacc -> bison
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-03-01update to gerbv-1.01. Condensed change log:dmcmahill2-7/+6
* 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.
2005-02-23Add RMD160 digests in addition to SHA1 ones.agc1-1/+2
2004-12-28Bump PKGREVISIONs due to libtiff update.reed1-2/+2
Some BUILDLINK_RECOMMENDED bumps done also. (If I missed any, please let me know -- and let me know a good way to automate this.)
2004-10-03Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10tv1-1/+2
in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include.
2004-05-29update to gerbv-0.16.dmcmahill3-7/+9
additions/changes since gerbv-0.15: * projects: you can save and load setups in what I call projects. * GTK+ 2 support * Now you can invert a layer by the push of button. Basically. * When gerber files were defined with omit trailing zeros, gerbv could parse them very bad. Now it should work better. * Aperture macros did not handle exposures at all. Now they do a better work. Some thermals are defined from their CAD program as a sequence of aperture macros instead of just using aperture macro 7. They are drawn better now. * Handles tool tables when drawing drill files thanks to Dimitri. See man page for more info.
2004-04-25Bump PKGREVISION due to gdk-pixbuf update.xtraeme1-1/+2
2004-02-17bl3ify, enable pkgviewsdmcmahill1-5/+7
2004-01-22replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make.grant1-2/+2
2003-12-30Add trailing / on HOMEPAGEscjep1-2/+2
2003-10-26update to gerbv-0.15dmcmahill2-5/+5
-- Release 0.15 -- 2003-10-06 Stefan Petersen <spe@stacken.kth.se> * src/draw_amacro.c: Drawing of aperture macro primitive 7 was severly broken. Revealed by Drew Moore who sent an example along. Thanks Drew! Closes bug #818307. 2003-09-28 Stefan Petersen <spe@stacken.kth.se> * src/gerber.c: Patch from Peter Brueckner. Some Gerbers don't have G04 but just G4. Peters patch fixes that for G- and M-codes. 2003-09-08 Stefan Petersen <spe@stacken.kth.se> * src/gerber.c: Patch from Simon Munton to fix a problem with polygons sometimes not being filled properly. Closes bug #800928 (which he promptly had submitted). * src/gerber.c: Another patch from Simon. This time it fixes circular polygon outlines by with a number of short segments. Closes bug #603183, which was almost a year old. Thanks Simon!
2003-08-19update to gerbv-0.14.dmcmahill2-6/+5
Changes since 0.13: * Removal of the last inclusions of malloc.h after tips from Charles Lepple. * Some patch that fixed a problem for Larry Doolittle * Error messages when running RS274D instead of "crash-and-burn" (ie segfault).
2003-07-17s/netbsd.org/NetBSD.org/grant1-2/+2
2003-07-13PKGREVISION bump for libiconv update.wiz1-2/+2
2003-05-06Drop trailing whitespace. Ok'ed by wiz.jmmv1-1/+1
2003-05-02Dependency bumps, needed because of devel/pth's major bump, and relatedwiz1-1/+2
dependency bumps.
2003-03-21update to gerbv-0.13dmcmahill4-31/+6
* You cannot compile with backend anymore, switch is removed. In last release this caused compilation error due to bit rot. * Drawing of arcs is a constant headache. Mark Whitis found another case that I had missed out. Clockwise arcs all of a sudden started to be drawn as counter-clockwise. * Arcs with very small angle differences could either be a complete circle or a very small part of an arc. Calculating the angles with integers wasn't sufficient, anyhow. They are now doubles all the way. * Aperture macro primitive 1 was a _filled_ circle. * Image rotate used to cause warnings that it wasn't implemented. Now if the file has an image rotate on zero degrees there is no warning (yes I've seen it). * Dan McMahill discovered that if you tried to swap with an unused layer gerbv segfaulted. * Peter Monta submitted patch for incremental coordinates. * No traces of Guile left...
2003-02-05fix a bug when reading certain NC/Drill files. Files with leading +/-dmcmahill3-2/+21
are not properly parsed. Bump pkgrev.
2003-01-07Rename older (<1.6) Guile as guile14.uebayasi1-2/+2
Packages using Guile now all depend on guile14. These packages are expected to be made depend on newer Guile (1.6.x) when updated in the future.
2002-11-22update to gerbv-0.11dmcmahill2-5/+8
Changes since last version: * fixed bug which caused huge memory usage and crashing when zooming way in to a layout * Two bugs in aperture macros fixed; one caused "multi macro" macros not to work properly and the other was related to primitive 20. * The Debian build system discovered that I checked if unsigned were -1. * Some cleanup/speedup when parsing Gerber by removing nested strncmp's with a switch/case. * RS274D caused segfault. * If %SR%, %SF% and %AS% are defined to their default values the compiler doesn't complain anymore. I still don't handle them if they are non default values. * In some strange corner case we managed to sometimes get spurious lines showing up on the image. * Strange drill files from Orcad386 handled better (we all know what Pitch thinks about Orcad:-) ). * Dino Ghilardi has contributed some code to be able to set the scale explicitly. That can be used when printing PNG's generated by gerbv. He has also written a text on how to actually get them out on the printer. It is in doc/PNG-print/PNGPrintMiniHowto.txt. * Round off when converting from inches to pixels changed so poured areas built up by several lines now seems to fill. Before the change you could, at certain zoom levels, see gaps that wasn't there.
2002-10-16update to gerbv-0.0.10dmcmahill2-6/+5
Yet another bunch of bugs in different corner cases of Gerber files has been fixed. Many fixes in polygon area fill, some fixes in calculating circles, a statically allocated array caused strange stray segfaults when drawing aperture macros. A bunch of new command line switches. Most important are: * --display: use as in all other X-programs, ie open window from a remote computer. * --geometry: Sets the geometry. Usually gerbv guess the resolution of your window and sets the window size accordingly. If you for instance have a bigger virtual window than actual screen the window can get quite big. With this switch you can override with for example --geometry=400x300 Fixes in drill file parser. Many drill files don't have drill sizes in them, else perfectly valid files. Pitch fix makes gerbv parse drill files even though they don't have drill sizes defined, but under protest. Greatest fix of them all. Super imposing. Handles paint-scratch-paint more proper. Changed dramatically how different layers are drawn "on top of each other".
2002-10-08buildlink1 -> buildlink2.wiz1-4/+5
2002-07-09- remove comments about some limitations which are no longer present.dmcmahill1-10/+1
- remove comment about guile backend. Thanks to Stephan Petersen (the program author) for pointing this out.
2002-07-08update to gerbv-0.0.9dmcmahill2-7/+8
bug fixes: A couple of apertures drawn wrong has been fixed, like lines with square apertures and rotation of aperture macro primitive 4. new features: Zoom outline and the measurement tools. You can also export the image as PNG,
2002-05-07update to gerbv 0.0.8dmcmahill3-19/+5
Graphical quirks fixed are: - zooming around the mouse pointer. - zooming several steps at once goes much faster. No calculation and redrawing in each zoom step, but in the last step. When you click with the left mouse button on a layer button you get a popup menu with color selection, load file and unload file. That is on a "per layer-basis". The "global" "Open File..." menu is removed in favor for this.
2002-02-10update to 0.0.7dmcmahill3-5/+19
What's new in 0.0.7 - Aperture macros! - Improved detection of drill- or gerber file.
2001-12-15update to 0.0.6.dmcmahill3-6/+7
changes since 0.0.5: - Turn on and off explicit layers. - Color on button reflect color on layer. - Automatic detection of drill- or gerber file. - Tooltips over buttons to reflect loaded filename. - Handles Polygon Area Fill - Major rehacking of file IO and pan code to significantly increase speed. - Autoscaling. Loaded gerber files are automagically scaled and panned to fit in window. Also possible to do with loaded files with Zoom/Fit meny option. - configure.in enhancement to support package building in Red Hat. Thanks to Wojciech Kazubski for patch. - bzero changed to memset, which hopefully is more POSIX (for portability). - Loads of bugs squashed and hopefully fewer added.
2001-11-15initial import of gerbv.dmcmahill4-0/+42
Gerber Viewer (gerbv) is a viewer for Gerber files. Gerber files are generated from PCB CAD system and sent to PCB manufacturers as basis for the manufacturing process. The different layers of the PCB are separated into different files. gerbv can load all files at the same time, though it can not show them at the same time. You have to browse through the different layers with the radio buttons on the right side.