memset
calls.
/usr/local/share
because autoconf likes it that way; the
new library directory will contain a subdirectory for each mgv
version installed.malloc
debugging via dmalloc
(ftp://ftp.letters.com/src/dmalloc/dmalloc.tar.gz
).
If for some reason you want to enable dmalloc, make sure you
configure dmalloc to allow freeing NULL
pointers: ANSI
guarantees that free(0)
will work and I assume ANSI all
over the place.
wlib/create.c
, gadgets seem to
be working fine now.
dsc.c
. Thanks to
Marty Leisner for the fix.INSTALL
file to the top directory where it should
be. Thanks to Marty Leisner for telling me about this
brain damage.
wlib/resource.c
file wasn't supposed to exist in 2.4
but I neglected to delete a CVS tag so it was there. This caused
some build problems because wlib/wlib/wlib.h
didn't have
the necessary prototypes for wlib/resource.c
. I have
now properly killed wlib/resource.c
.make/sys.solaris-cc.mk
"
makefile.
mgv.icon*
files as their icon if they wish (the images are pretty cheesy,
if anyone wants to donate a better one, please do).mk-editres
to no in the appropriate
make/sys.*.mk
file before compiling.-O2
on all platforms.
I don't think this will cause any problems.-W
" to the compiler warning flags for all
gcc setups. This gives even more warnings the "-Wall
-Werror -ansi -pedantic -Wmissing-prototypes
" and this
is good.wlib/create.c
so it doesn't hurt me either).EPERM
instead of errno
so the message
wasn't always accurate.%!
" we'll scan for the structure comments.
DSC documents are supposed to start with
"%!PS-Adobe-
" and a version number but
there are some naughty PostScript files out there.wlib/wlib/dirtysocks.h
that
were causing problems on Sun machines with Sun's compiler.
Thanks go to
Jean-Jacques Moulis for letting me know about
the problem.--
" or use
"./-blah
") to open files which begin with
a hyphen from the command line.
Thanks to David Green for this suggestion.echo-on.net
have been converted to the new and improved trends.net
.splash.xpm
and/or
splash.xbm
files in the final library directory. If you
don't like splash screens at all, use the -nosplash switch
or set the "mgv*wlShowSplashScreen" resource
to False.
ranlib
if necessary.
As far as I know, only FreeBSD (version 2.X at least) needs
ranlib
. This change also has the bonus side effect of allowing
"make -j
" to be used in the wlib
directory
(this may not matter to you but it is a big win on my K6-200);
the only disadvantage is a slight increase in disk space when you're
compiling.
-D_XOPEN_SOURCE_EXTENDED
to the compiler flags for AIX.
I hear that AIX 4.3 needs this rather than -D_XOPEN_SOURCE
so I'll try it out with both defined and hope for the best (will
the madness of -D_POSIX_SOURCE
, -D_XOPEN_SOURCE
,
-D_BSD_SOURCE
, etc... ever end?). Thanks to
Lukasz Dutkiewicz for telling me about this new piece of
vendor/standards brilliance.
long
where it should have had
an off_t
. Apparently HP-UX 10.20's off_t
isn't a
long
like it is on all the other machines (otherwise the
compilers would have complained long ago). This was reported and
fixed by
Karl Storck.
mgv not-there.ps
" used to just give an
empty window.
MGv*Ghostview.baseTranslations: #replace \n\ <Key>osfHelp: wlHelpContext() \n\ <Message>: gvMessage() \n\ !<Btn2Down>: mgvZoom(begin) \n\ !<Btn2Motion>: mgvZoom(extend) \n\ !<Btn2Up>: mgvZoom(end) \n\ !<Btn1Down>: mgvZoom(begin) \n\ !<Btn1Motion>: mgvZoom(extend) \n\ !<Btn1Up>: mgvZoom(end) \n\ <EnterWindow>: gvNotify(0) \n\ <LeaveWindow>: gvNotify(0) \n\ <MotionNotify>: gvNotify(0) \n\ <Key>osfUp: mgvScroll(up, magical) \n\ <Key>osfDown: mgvScroll(down, magical) \n\ <Key>osfLeft: mgvScroll(left) \n\ <Key>osfRight: mgvScroll(right)These bindings will give you zooming with either button one or button two.
*.*ps*
(it was *.ps
and then *.ps*
to get gzipped/compressed
files) to try and pick up .eps
files too.file:///path/to/x/blah.html
" without
realizing that file://
means localhost.