Commit graph

34 commits

Author SHA1 Message Date
dmcmahill
33614edb45 update to gerbv-1.0.2
Changes are:
* Removed all build support for GTK1.
* Dino Ghilardi fixed log.c (the last reminder of GTK1) so
  log windows popup don't crash gerbv anymore.
* Dan McMahill added the GCC4 patch.
* Renamed stack_t to macro_stack_t to support darwin/MacOS X
  pointed out by Daniel Mack.
* Changed build system to suit new autoconf/automake versions.
  Caused gerbv not to find init.scm.
* Fixed a bug so gerbv can handle negative coordinates when using
  trailing zeroes.
* Better checking of return values for errors.
* Use setlocale explicit so your locale doesn't screw up sscanf
  and strtod to use comma (,) instead of dot (.).
* For distributions there is a new directory called desktop, where
  gerbv.desktop and gerbv.png is stored for desktop settings.
  Submitted to Debian bug list from Vassilis Pandis for Ubuntu.
2006-08-08 11:46:50 +00:00
gson
eafe386bea Remove illegal and unnecessary cast on left side of
assignment to make it compile with gcc 4.1.2
2006-07-13 06:58:37 +00:00
wiz
02f8f7c52d Bump BUILDLINK_ABI_DEPENDS.png and PKGREVISION for png-1.2.9nb2 update. 2006-04-17 13:45:57 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
rillig
f795c2e475 Removed trailing white-space. 2005-05-23 08:26:03 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
dmcmahill
89d9cd21ce 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.
2005-03-01 12:07:52 +00:00
agc
7ea6ce3da9 Add RMD160 digests in addition to SHA1 ones. 2005-02-23 14:59:23 +00:00
reed
e117eda090 Bump PKGREVISIONs due to libtiff update.
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-12-28 23:18:15 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
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-10-03 00:12:51 +00:00
dmcmahill
ff1a47d9ad update to gerbv-0.16.
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-05-29 00:17:45 +00:00
xtraeme
81495749e6 Bump PKGREVISION due to gdk-pixbuf update. 2004-04-25 04:16:42 +00:00
dmcmahill
d9b3a4c938 bl3ify, enable pkgviews 2004-02-17 02:49:25 +00:00
grant
ed16993a08 replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-22 07:14:59 +00:00
cjep
ae7fd52e7b Add trailing / on HOMEPAGEs 2003-12-30 17:21:54 +00:00
dmcmahill
d153628a45 update to gerbv-0.15
-- 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-10-26 04:56:58 +00:00
dmcmahill
8c8769471c update to gerbv-0.14.
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-08-19 00:06:44 +00:00
grant
91f00f1cbc s/netbsd.org/NetBSD.org/ 2003-07-17 21:21:03 +00:00
wiz
43fa0c7cb6 PKGREVISION bump for libiconv update. 2003-07-13 13:50:19 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
wiz
7166660e08 Dependency bumps, needed because of devel/pth's major bump, and related
dependency bumps.
2003-05-02 11:53:34 +00:00
dmcmahill
1afb64fde0 update to gerbv-0.13
* 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-03-21 03:43:21 +00:00
dmcmahill
1b836a1ecb fix a bug when reading certain NC/Drill files. Files with leading +/-
are not properly parsed.  Bump pkgrev.
2003-02-05 19:19:27 +00:00
uebayasi
917d29d213 Rename older (<1.6) Guile as guile14.
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.
2003-01-07 03:56:17 +00:00
dmcmahill
e0431f8846 update to gerbv-0.11
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-11-22 00:41:14 +00:00
dmcmahill
fec4cbe599 update to gerbv-0.0.10
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-16 01:36:07 +00:00
wiz
2b074f2283 buildlink1 -> buildlink2. 2002-10-08 13:35:47 +00:00
dmcmahill
65adb86808 - remove comments about some limitations which are no longer present.
- remove comment about guile backend.


Thanks to Stephan Petersen (the program author) for pointing this out.
2002-07-09 23:20:22 +00:00
dmcmahill
3ab553687c update to gerbv-0.0.9
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-07-08 03:30:55 +00:00
dmcmahill
5548f76358 update to gerbv 0.0.8
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-05-07 00:51:17 +00:00
dmcmahill
f549d3fca1 update to 0.0.7
What's new in 0.0.7
- Aperture macros!
- Improved detection of drill- or gerber file.
2002-02-10 17:48:59 +00:00
dmcmahill
2470ba19c1 update to 0.0.6.
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-12-15 22:04:18 +00:00
dmcmahill
1eafdd7033 initial import of gerbv.
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.
2001-11-15 01:57:58 +00:00