head 1.2; access; symbols pkgsrc-2017Q3:1.1.0.56 pkgsrc-2017Q3-base:1.1 pkgsrc-2017Q2:1.1.0.52 pkgsrc-2017Q2-base:1.1 pkgsrc-2017Q1:1.1.0.50 pkgsrc-2017Q1-base:1.1 pkgsrc-2016Q4:1.1.0.48 pkgsrc-2016Q4-base:1.1 pkgsrc-2016Q3:1.1.0.46 pkgsrc-2016Q3-base:1.1 pkgsrc-2016Q2:1.1.0.44 pkgsrc-2016Q2-base:1.1 pkgsrc-2016Q1:1.1.0.42 pkgsrc-2016Q1-base:1.1 pkgsrc-2015Q4:1.1.0.40 pkgsrc-2015Q4-base:1.1 pkgsrc-2015Q3:1.1.0.38 pkgsrc-2015Q3-base:1.1 pkgsrc-2015Q2:1.1.0.36 pkgsrc-2015Q2-base:1.1 pkgsrc-2015Q1:1.1.0.34 pkgsrc-2015Q1-base:1.1 pkgsrc-2014Q4:1.1.0.32 pkgsrc-2014Q4-base:1.1 pkgsrc-2014Q3:1.1.0.30 pkgsrc-2014Q3-base:1.1 pkgsrc-2014Q2:1.1.0.28 pkgsrc-2014Q2-base:1.1 pkgsrc-2014Q1:1.1.0.26 pkgsrc-2014Q1-base:1.1 pkgsrc-2013Q4:1.1.0.24 pkgsrc-2013Q4-base:1.1 pkgsrc-2013Q3:1.1.0.22 pkgsrc-2013Q3-base:1.1 pkgsrc-2013Q2:1.1.0.20 pkgsrc-2013Q2-base:1.1 pkgsrc-2013Q1:1.1.0.18 pkgsrc-2013Q1-base:1.1 pkgsrc-2012Q4:1.1.0.16 pkgsrc-2012Q4-base:1.1 pkgsrc-2012Q3:1.1.0.14 pkgsrc-2012Q3-base:1.1 pkgsrc-2012Q2:1.1.0.12 pkgsrc-2012Q2-base:1.1 pkgsrc-2012Q1:1.1.0.10 pkgsrc-2012Q1-base:1.1 pkgsrc-2011Q4:1.1.0.8 pkgsrc-2011Q4-base:1.1 pkgsrc-2011Q3:1.1.0.6 pkgsrc-2011Q3-base:1.1 pkgsrc-2011Q2:1.1.0.4 pkgsrc-2011Q2-base:1.1 pkgsrc-2011Q1:1.1.0.2 pkgsrc-2011Q1-base:1.1; locks; strict; comment @# @; 1.2 date 2017.10.03.15.09.36; author wiz; state dead; branches; next 1.1; commitid s2GDYUjZ3nvEnC9A; 1.1 date 2011.01.19.19.03.12; author drochner; state Exp; branches; next ; desc @@ 1.2 log @xfig: update to 3.2.6a. Changes to Xfig ============================================================================= Version 3.2 ============================================================================= Patchlevel 6a (January 2017) CHANGES: o Draw lines with the same width as in PostScript and other outputs. BUGS FIXED: o Add compile-switch --enable-tablet for using an input tablet. o Eventually, sorted out the xpm switches. Only use --enable-xpm-splash. o Improve ./configure and add diagnostic output. Looks now for headers and libraries in unusal places, for compilation under mac darwin when using fink or macports. ----------------------------------- Patchlevel 6 (August 2016) NEW FEATURES: o Add compile switch to enable xpm-icon and xpm-splash screen independently (--enable-xpm-icon, --enable-xpm-splash). o New compile switch --enable-versioning, calls update_version_m4 to get version information from a source control system. BUGS FIXED: o Update documentation to LaTeX and Xfig. From Roland Rosenfeld : o Update LaTeX documentation, use \documentclass instead of \documentstyle, \usepackage instead of \input. o Builds on hurd, had to #include in a few places. o Use application/x-xfig, not image/x-xfig in xfig.desktop file. See https://bugs.launchpad.net/ubuntu/+source/xfig/+bug/690067 and https://bugs.launchpad.net/ubuntu/+source/xfig/+bug/1045848 . ----------------------------------- Patchlevel 6-rc (July 2016) NEW FEATURES: o Should compile on Mac (Darwin) after installing dependencies using Macports, Fink or Homebrew. o Add two rudimentary tests. Run with make check. UI CHANGES: From Brian V. Smith. These changes were made because the original view was of the drawing on the page instead of the modern view of the observer moving left/right/up/down: o Left arrow moves observer left (used to scroll canvas left) o Right arrow moves observer right o Up arrow moves observer up o Down arrow moves observer down o Ctrl+Wheel up zooms in, Ctrl+Wheel down zooms out (was the other way around) BUGS FIXED: o To compile on ancient systems, try make -DANCIENT. o Report correct paths to installed files in the man page. o Add pathmax.h and dirstruct.h, to define DIRSTRUCT and PATH_MAX. From Vladislav Zavjalov; Commit numbers refer to http://git.altlinux.org/people/slazav/packages/?p=xfig.git;a=commit;h=# o Preserve comments when deleting objects; Commit #6c42e5c o Restore colors and main comment after Delete All + Undo; #34f6105 o Draw horizontal scrollbar if property buttons are too wide to fit on the screen. Commit #e9c1394 o Add save8bit app-resource to allow saving 8-bit files. #5bd9fbb o Move Xfuncs.h and Xosdefs.h out from fig.h. Commit #b433478 o Move -l flags from LDFLAGS to LDADD. Commit #2d57c85 From Roland Rosenfeld. Bug numers refer to https://bugs.debian.org/#. o Do not link with -lXmu, if linking with Xaw3d > 1.5e. o Make japanese documentation available for LANG=ja_JP.ujis. o Set the Creation date in xfig_man.html to the date when creating the source tarball. o Really fix reading png files, https://bugzilla.redhat.com/show_bug.cgi?id=1150330 o Delete some superfluos files, fix typos (Caribbean), add semicolon in xfig.desktop (bug # 812477). From Brian V. Smith: o old link for "Xfig On Microsoft Windows" (Getting and Installing Xfig html page) o dash_list wrong dimension causes segfault on some line styles o Should handle systems where REG_NOERROR (regular expression) is undefined now o Missing xfig_man.html o Modify a few places where to set locale to "C". o Didn't allocate enough space for fonts (would segfault when popping up File panels) o Moving arc point would segfault ----------------------------------- Patchlevel 6-beta (May 2016) NEW FEATURES: o New tikz and pict2e export drivers. o Build using autoconf (./configure; make; make install). BUGS FIXED: o Change \r\n to \n in all files. From Roland Rosenfeld. Bug numbers refer to https://bugs.debian.org/#. In fact, most of the bugs below, also those from other sources, were fixed by applying the debian-patches. o Position independent executables work, fixes bug # 756791. o Revert previous change of X-spline parameter. o Use C locale for fig2dev, to correctly interpret decimal point. Fixes bug # 782737. o Correct grid mode distances in man page. Bug # 314820. o Extend xfig.desktop. o Fix unsecure use of temporary file. From Thomas Hoger, gentoo. Debian Bug # 565341. o Escape - in man-page. o Securely print string. o Restore old shadow behaviour. o Fix reading "/MediaBox" when importing pdf. Closes Bug # 530898. o With -papersize b1, use B1, not B10. Bug 535181. From Vladislav Zavjalov. Information on bugs is found at https://bugzilla.altlinux.org/show_bug.cgi?id=# o Do not use fontsets for symbol and dingbat fonts, bug # 26579. o Fix compiler warnigs in w_indpanel.c. Commit feabe27. o Restore correct depths when loading a figure, then undo. Commit b5c79b3. o Restore filename after delete region, undo. Commit 219d690. o Restore user color when opening new fig-file. Commit fccd915. o Restore correct depths when joining lines with different depths. Commit a77bcaf. o Fix xfontlist->fset initialization. Commit a592399. o Fix default origin (100000,100000) -> (0,0) for filled objects. Commit 4d87e60. o Fix 100% cpu-load by save panel. Commit 81a4596. o Do not use local SimpleMenu.c with XAW3D1_5E. Would segfault on some 64-bit systems when opening main menu. o Missing argument may cause crash or undefined behaviour. Debian bug # 795642. From Michael Tautschnig. From Hans de Goede. Bug information at https://bugzilla.redhat.com/show_bug.cgi?id=#. o Patch for importing png-files, Red Hat bug # 1150330. From David Kaufmann. o Fix crash when changing arrow size. Bug # 1046102. o Fix crash when creating dash-dotted lines. Bug # 1023744. From Michael Srb, thanks to Maurizio Pollini and David Kaufmann. o Fix crash on exit. From Peter Volkov at gentoo ----------------------------------- Patchlevel 5c (August, 2013) BUGS FIXED: o Increased default width of layer panel from 58 to 64 to accomodate scrollbar width o missing comma in FIXED_JAPANESE_PDF #ifdef case in w_cmdpanel.c o printer name enclosed in apostrophes when printing in case has spaces in name o new link from Elizabeth Bailey for Fig applications referenced in installation.html o old link to duke.uask.ca for Fig applications has new link in installation.html o Typo in message "GIF read error on extention ..." should be "extension" o Possibility of stack overflow with malformed Fig files. o In version 1.4 of the PNG library dither was removed so xfig now uses quantize when importing PNG images with palettes o Other updates for PNG library version 1.5 from Peter Volkov o Some versions of Cygwin don't have either REG_NOERROR or REG_OKAY defined so REG_NOERROR defined to be 0 o Changed X-Spline parameter to match original intent of X-Spline authors: changed definition of Q(s) from -s to -0.5 * s in u_draw_spline.c o Allowance for stricter ghostscript in -dSAFER mode. Was causing error on reading EPS images. From Hans de Goede o Security vulnerability with importing images fixed (RedHat bug # 657981 - xfig buffer overflow when opening .fig file with malicius color definition) o When exporting to combined PS/PDF/LATEX the -D option to exclude all but active layers was not passed to fig2dev o Uses 24-bit color instead of 8-bit when importing eps files (pcx24b driver for ghostscript) o Bug in freeing null fontset o Semicolon (;) added at end of MimeType line in xfig.desktop as per http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html o Reference to "Darwin Ports" changed to "MacPorts" o Renamed O_TEXT to O_TXT to avoid conflicts with system define o On lines with Round or Projecting cap style and arrowheads, the line endpoint stuck out beyond the arrowhead From Vladsilav Zavjalov: o Uses fontsets for all fonts in international mode o SEGV when zooming while creating object (e.g. text) o Add locale_encoding appres which acts similar to euc_encoding, but uses system locale and mbrlen function for multibyte character length calculation. o Move "file not found" error message from check_docfile() to launch_viewer(), remove excess check_docfile() call. Error message is not shown when looking for a locale-dependent docs. It is shown only if no docs found at all. o Do not do strcpy with equal arguments in w_cmdpanel.c/update_cur_filename() o Print to file had extra argument in sprintf in international mode o Message panel not tall enough with 3D Athena widgets o Warnings about different size of int and void * on 64-bit system. To fix this problem I changed int to intptr_t in some places. NEW FEATURES: o New library objects from Markus Laner: Networks: NodeB.fig, cloud.fig, router.fig, wlan.fig Computers: datacard.fig, screen.fig, usbpen.fig, xbox.fig o New command-line option -nowrite_bak to turn off automatic renaming of .fig to .fig.bak when saving .fig file. X resource is "write_bak". Also command-line option -write_bak to force renaming to true. o Can now specify small buttons with command-line argument -smallicons From Ed Rosten ----------------------------------- Patchlevel 5b (Jun 1, 2009) BUGS FIXED: o Dimension line indicator incorrectly showed arrow length/width o Several patches from Fedora xfig maintainer o divide by 0 under certain circumstances in ruler code From Libor Pechacek o Segfault if PRINTER env variable was not defined @ text @$NetBSD: patch-ap,v 1.1 2011/01/19 19:03:12 drochner Exp $ --- f_wrpng.c.orig 2007-03-29 00:23:14.000000000 +0000 +++ f_wrpng.c @@@@ -20,6 +20,7 @@@@ #include "w_msgpanel.h" #include "w_setup.h" #include +#include /* * Write PNG file from rgb data @@@@ -59,7 +60,7 @@@@ write_png(FILE *file, unsigned char *dat } /* set long jump recovery here */ - if (setjmp(png_ptr->jmpbuf)) { + if (setjmp(png_jmpbuf(png_ptr))) { /* if we get here there was a problem reading the file */ png_destroy_write_struct(&png_ptr, &info_ptr); return False; @ 1.1 log @fix build with png-1.5 @ text @d1 1 a1 1 $NetBSD$ @