diff -rc xfig.3.2.1/CHANGES xfig.3.2.2/CHANGES
*** xfig.3.2.1/CHANGES Wed Jul 1 10:07:08 1998
--- xfig.3.2.2/CHANGES Thu Jul 2 11:23:19 1998
***************
*** 1,6 ****
--- 1,21 ----
=============================================================================
Version 3.2
=============================================================================
+
+ Patchlevel 2 (July 2, 1998)
+
+ BUGS FIXED:
+ o Placing a library object caused xfig to die after recursing for a
+ long time
+ o Arrowheads in xfig 2.x files were incorrectly converted to 3.2.1
+ (they came out too large)
+ o Imakefile didn't properly install Electrical/Physical and
+ Electrical/Schematic directories
+ o Some variables multiply defined in u_draw.c
+ o Some systems' "install" program don't have the "-d" (create directory)
+ option so I have reworked the install part of the Imakefile
+
+ --------------------------
Patchlevel 1 Final (July 1, 1998)
NEW FEATURES:
diff -rc xfig.3.2.1/Fig.ad xfig.3.2.2/Fig.ad
*** xfig.3.2.1/Fig.ad Wed Jul 1 10:30:15 1998
--- xfig.3.2.2/Fig.ad Wed Jul 1 17:10:28 1998
***************
*** 1,7 ****
!Don't change the following string - xfig uses it to determine
! if you have the newest app-defaults files installed
! Fig.version: 3.2.1
! some sample settings you may want to change
--- 1,7 ----
!Don't change the following string - xfig uses it to determine
! if you have the newest app-defaults files installed
! Fig.version: 3.2.2
! some sample settings you may want to change
diff -rc xfig.3.2.1/Imakefile xfig.3.2.2/Imakefile
*** xfig.3.2.1/Imakefile Wed Jul 1 15:27:27 1998
--- xfig.3.2.2/Imakefile Thu Jul 2 11:23:10 1998
***************
*** 318,331 ****
@(cd Doc ; \
$(INSTALL) -c xfig-howto.pdf $(XFIGLIBDIR) ; \
$(INSTALL) -c xfig.pdf $(XFIGLIBDIR) ; \
- $(INSTALL) -d $(XFIGLIBDIR)/html ; \
- $(INSTALL) -d $(XFIGLIBDIR)/html/japanese ; \
- $(INSTALL) -d $(XFIGLIBDIR)/html/images ; \
echo Copying html files to $(XFIGLIBDIR)/html ; \
(cd html ; $(INSTALL) -c *.* $(XFIGLIBDIR)/html ; ) ;\
echo " Copying japanese html files" ; \
(cd html/japanese ; $(INSTALL) -c * $(XFIGLIBDIR)/html/japanese ; ) ; \
echo " Copying image files for html" ; \
(cd html/images ; $(INSTALL) -c * $(XFIGLIBDIR)/html/images ; ) ; \
) ;
@echo "Copying Fig Object Libraries"
--- 318,334 ----
@(cd Doc ; \
$(INSTALL) -c xfig-howto.pdf $(XFIGLIBDIR) ; \
$(INSTALL) -c xfig.pdf $(XFIGLIBDIR) ; \
echo Copying html files to $(XFIGLIBDIR)/html ; \
+ if [ -d $(XFIGLIBDIR)/html ]; then set +x; \
+ else (set -x; $(MKDIRHIER) $(XFIGLIBDIR)/html ); fi ; \
(cd html ; $(INSTALL) -c *.* $(XFIGLIBDIR)/html ; ) ;\
echo " Copying japanese html files" ; \
+ if [ -d $(XFIGLIBDIR)/html/japanese ]; then set +x; \
+ else (set -x; $(MKDIRHIER) $(XFIGLIBDIR)/html/japanese ); fi ; \
(cd html/japanese ; $(INSTALL) -c * $(XFIGLIBDIR)/html/japanese ; ) ; \
echo " Copying image files for html" ; \
+ if [ -d $(XFIGLIBDIR)/html/images ]; then set +x; \
+ else (set -x; $(MKDIRHIER) $(XFIGLIBDIR)/html/images ); fi ; \
(cd html/images ; $(INSTALL) -c * $(XFIGLIBDIR)/html/images ; ) ; \
) ;
@echo "Copying Fig Object Libraries"
***************
*** 332,343 ****
@(cd Examples/Libraries ; \
for d in * ; do \
(cd $$d ; \
! $(INSTALL) -d $(OBJLIBDIR)/$$d ; \
echo " Copying $$d library files to $(OBJLIBDIR)/$$d" ; \
for f in * ; do \
if [ -d $$f ]; then ( \
echo " Copying files to $(OBJLIBDIR)/$$d/$$f" ; \
! $(INSTALL) -d $(OBJLIBDIR)/$$d/$$f ; \
cd $$f ; $(INSTALL) -c * $(OBJLIBDIR)/$$d/$$f ); \
else ($(INSTALL) -c $$f $(OBJLIBDIR)/$$d ) ; fi ; \
done ) ; \
--- 335,348 ----
@(cd Examples/Libraries ; \
for d in * ; do \
(cd $$d ; \
! if [ -d $(OBJLIBDIR)/$$d ]; then set +x; \
! else (set -x; $(MKDIRHIER) $(OBJLIBDIR)/$$d ); fi ; \
echo " Copying $$d library files to $(OBJLIBDIR)/$$d" ; \
for f in * ; do \
if [ -d $$f ]; then ( \
echo " Copying files to $(OBJLIBDIR)/$$d/$$f" ; \
! if [ -d $(OBJLIBDIR)/$$d/$$f ]; then set +x; \
! else (set -x; $(MKDIRHIER) $(OBJLIBDIR)/$$d/$$f ); fi ; \
cd $$f ; $(INSTALL) -c * $(OBJLIBDIR)/$$d/$$f ); \
else ($(INSTALL) -c $$f $(OBJLIBDIR)/$$d ) ; fi ; \
done ) ; \
diff -rc xfig.3.2.1/Makefile xfig.3.2.2/Makefile
*** xfig.3.2.1/Makefile Thu Jul 2 10:04:24 1998
--- xfig.3.2.2/Makefile Thu Jul 2 11:23:31 1998
***************
*** 561,574 ****
@(cd Doc ; \
$(INSTALL) -c xfig-howto.pdf $(XFIGLIBDIR) ; \
$(INSTALL) -c xfig.pdf $(XFIGLIBDIR) ; \
- $(INSTALL) -d $(XFIGLIBDIR)/html ; \
- $(INSTALL) -d $(XFIGLIBDIR)/html/japanese ; \
- $(INSTALL) -d $(XFIGLIBDIR)/html/images ; \
echo Copying html files to $(XFIGLIBDIR)/html ; \
(cd html ; $(INSTALL) -c *.* $(XFIGLIBDIR)/html ; ) ;\
echo " Copying japanese html files" ; \
(cd html/japanese ; $(INSTALL) -c * $(XFIGLIBDIR)/html/japanese ; ) ; \
echo " Copying image files for html" ; \
(cd html/images ; $(INSTALL) -c * $(XFIGLIBDIR)/html/images ; ) ; \
) ;
@echo "Copying Fig Object Libraries"
--- 561,577 ----
@(cd Doc ; \
$(INSTALL) -c xfig-howto.pdf $(XFIGLIBDIR) ; \
$(INSTALL) -c xfig.pdf $(XFIGLIBDIR) ; \
echo Copying html files to $(XFIGLIBDIR)/html ; \
+ if [ -d $(XFIGLIBDIR)/html ]; then set +x; \
+ else (set -x; $(MKDIRHIER) $(XFIGLIBDIR)/html ); fi ; \
(cd html ; $(INSTALL) -c *.* $(XFIGLIBDIR)/html ; ) ;\
echo " Copying japanese html files" ; \
+ if [ -d $(XFIGLIBDIR)/html/japanese ]; then set +x; \
+ else (set -x; $(MKDIRHIER) $(XFIGLIBDIR)/html/japanese ); fi ; \
(cd html/japanese ; $(INSTALL) -c * $(XFIGLIBDIR)/html/japanese ; ) ; \
echo " Copying image files for html" ; \
+ if [ -d $(XFIGLIBDIR)/html/images ]; then set +x; \
+ else (set -x; $(MKDIRHIER) $(XFIGLIBDIR)/html/images ); fi ; \
(cd html/images ; $(INSTALL) -c * $(XFIGLIBDIR)/html/images ; ) ; \
) ;
@echo "Copying Fig Object Libraries"
***************
*** 575,586 ****
@(cd Examples/Libraries ; \
for d in * ; do \
(cd $$d ; \
! $(INSTALL) -d $(OBJLIBDIR)/$$d ; \
echo " Copying $$d library files to $(OBJLIBDIR)/$$d" ; \
for f in * ; do \
if [ -d $$f ]; then ( \
echo " Copying files to $(OBJLIBDIR)/$$d/$$f" ; \
! $(INSTALL) -d $(OBJLIBDIR)/$$d/$$f ; \
cd $$f ; $(INSTALL) -c * $(OBJLIBDIR)/$$d/$$f ); \
else ($(INSTALL) -c $$f $(OBJLIBDIR)/$$d ) ; fi ; \
done ) ; \
--- 578,591 ----
@(cd Examples/Libraries ; \
for d in * ; do \
(cd $$d ; \
! if [ -d $(OBJLIBDIR)/$$d ]; then set +x; \
! else (set -x; $(MKDIRHIER) $(OBJLIBDIR)/$$d ); fi ; \
echo " Copying $$d library files to $(OBJLIBDIR)/$$d" ; \
for f in * ; do \
if [ -d $$f ]; then ( \
echo " Copying files to $(OBJLIBDIR)/$$d/$$f" ; \
! if [ -d $(OBJLIBDIR)/$$d/$$f ]; then set +x; \
! else (set -x; $(MKDIRHIER) $(OBJLIBDIR)/$$d/$$f ); fi ; \
cd $$f ; $(INSTALL) -c * $(OBJLIBDIR)/$$d/$$f ); \
else ($(INSTALL) -c $$f $(OBJLIBDIR)/$$d ) ; fi ; \
done ) ; \
diff -rc xfig.3.2.1/mode.h xfig.3.2.2/mode.h
*** xfig.3.2.1/mode.h Fri Jun 5 13:51:46 1998
--- xfig.3.2.2/mode.h Wed Jul 1 17:04:58 1998
***************
*** 36,41 ****
--- 36,43 ----
#define F_ARC_BOX 14
#define F_REGPOLY 15
#define F_PICOBJ 16
+ #define F_PLACE_LIB_OBJ 17
+
#define FIRST_EDIT_MODE F_GLUE
#define F_GLUE 30
#define F_BREAK 31
***************
*** 63,69 ****
#define F_EXIT_COMP 52
#define F_EXIT_ALL_COMP 53
#define F_OPEN_CLOSE 54
- #define F_PLACE_LIB_OBJ 55
extern int cur_mode;
--- 65,70 ----
diff -rc xfig.3.2.1/patchlevel.h xfig.3.2.2/patchlevel.h
*** xfig.3.2.1/patchlevel.h Mon Jun 29 13:23:47 1998
--- xfig.3.2.2/patchlevel.h Wed Jul 1 16:20:00 1998
***************
*** 18,22 ****
#ifndef PATCHLEVEL_H
#define PATCHLEVEL_H
! #define PATCHLEVEL "1"
#endif /* PATCHLEVEL_H */
--- 18,22 ----
#ifndef PATCHLEVEL_H
#define PATCHLEVEL_H
! #define PATCHLEVEL "2"
#endif /* PATCHLEVEL_H */
diff -rc xfig.3.2.1/u_draw.c xfig.3.2.2/u_draw.c
*** xfig.3.2.1/u_draw.c Fri Jun 5 14:38:26 1998
--- xfig.3.2.2/u_draw.c Thu Jul 2 09:41:18 1998
***************
*** 83,97 ****
/************** POLYGON/CURVE DRAWING FACILITIES ****************/
static int npoints;
- static zXPoint *points;
- static int max_points;
- static int allocstep;
-
-
-
static zXPoint *points = NULL;
! static int max_points = 0;
! static int allocstep = 200;
static void
init_point_array()
--- 83,91 ----
/************** POLYGON/CURVE DRAWING FACILITIES ****************/
static int npoints;
static zXPoint *points = NULL;
! static int max_points = 0;
! static int allocstep = 200;
static void
init_point_array()
diff -rc xfig.3.2.1/u_scale.c xfig.3.2.2/u_scale.c
*** xfig.3.2.1/u_scale.c Fri Jun 5 14:39:17 1998
--- xfig.3.2.2/u_scale.c Wed Jul 1 16:15:36 1998
***************
*** 48,55 ****
arc->point[2].x = arc->point[2].x * mul + offset;
arc->point[2].y = arc->point[2].y * mul + offset;
! read_scale_arrow(arc->for_arrow, mul, offset);
! read_scale_arrow(arc->back_arrow, mul, offset);
}
read_scale_line(line, mul, offset)
--- 48,55 ----
arc->point[2].x = arc->point[2].x * mul + offset;
arc->point[2].y = arc->point[2].y * mul + offset;
! read_scale_arrow(arc->for_arrow, mul);
! read_scale_arrow(arc->back_arrow, mul);
}
read_scale_line(line, mul, offset)
***************
*** 68,75 ****
line->pic->size_y = line->pic->size_y * mul + offset;
}
! read_scale_arrow(line->for_arrow, mul, offset);
! read_scale_arrow(line->back_arrow, mul, offset);
}
read_scale_text(text, mul, offset)
--- 68,75 ----
line->pic->size_y = line->pic->size_y * mul + offset;
}
! read_scale_arrow(line->for_arrow, mul);
! read_scale_arrow(line->back_arrow, mul);
}
read_scale_text(text, mul, offset)
***************
*** 95,114 ****
point->y = point->y * mul + offset;
}
! read_scale_arrow(spline->for_arrow, mul, offset);
! read_scale_arrow(spline->back_arrow, mul, offset);
}
! read_scale_arrow(arrow, mul, offset)
F_arrow *arrow;
float mul;
- int offset;
{
if(!arrow)
return;
! arrow->wd = arrow->wd * mul + offset;
! arrow->ht = arrow->ht * mul + offset;
}
read_scale_compound(compound, mul, offset)
--- 95,113 ----
point->y = point->y * mul + offset;
}
! read_scale_arrow(spline->for_arrow, mul);
! read_scale_arrow(spline->back_arrow, mul);
}
! read_scale_arrow(arrow, mul)
F_arrow *arrow;
float mul;
{
if(!arrow)
return;
! arrow->wd = arrow->wd * mul;
! arrow->ht = arrow->ht * mul;
}
read_scale_compound(compound, mul, offset)
diff -rc xfig.3.2.1/Doc/xfig.man xfig.3.2.2/Doc/xfig.man
*** xfig.3.2.1/Doc/xfig.man Tue Jun 30 16:42:44 1998
--- xfig.3.2.2/Doc/xfig.man Thu Jul 2 09:10:47 1998
***************
*** 108,114 ****
.PD
..
.\"-------
! .TH XFIG 1 "Version 3.2 Patchlevel 1 (Protocol 3.2, July 1, 1998)"
.SH NAME
xfig - Facility for Interactive Generation of figures under X11
.SH SYNOPSIS
--- 108,114 ----
.PD
..
.\"-------
! .TH XFIG 1 "Version 3.2 Patchlevel 2 (Protocol 3.2, July 2, 1998)"
.SH NAME
xfig - Facility for Interactive Generation of figures under X11
.SH SYNOPSIS
***************
*** 129,135 ****
.PP
For a HTML-based
.IR xfig
! reference guide, see
.IR index.html
provided with the
.IR xfig
--- 129,137 ----
.PP
For a HTML-based
.IR xfig
! reference guide, see the Help menu in
! .IR xfig
! or
.IR index.html
provided with the
.IR xfig
diff -rc xfig.3.2.1/Doc/html/index.html xfig.3.2.2/Doc/html/index.html
*** xfig.3.2.1/Doc/html/index.html Wed Jul 1 10:30:58 1998
--- xfig.3.2.2/Doc/html/index.html Thu Jul 2 09:11:08 1998
***************
*** 20,26 ****
<P>
<HR>
<H1>
! XFIG Version 3.2 Patchlevel 1<BR>
Users Manual (Edition 1.0)</H1>
<B>xfig</B> is an interactive drawing tool which runs under <A HREF="
http://www.opengroup.org/tech/desktop/x">X
Window System</A> Version 11 Release 4 (X11R4) or later, on most UNIX-compatible
--- 20,26 ----
<P>
<HR>
<H1>
! XFIG Version 3.2 Patchlevel 2 (July 2, 1998)<BR>
Users Manual (Edition 1.0)</H1>
<B>xfig</B> is an interactive drawing tool which runs under <A HREF="
http://www.opengroup.org/tech/desktop/x">X
Window System</A> Version 11 Release 4 (X11R4) or later, on most UNIX-compatible