Annotation of researchv10no/cmd/pic/FIXES, revision 1.1

1.1     ! root        1: June 10, 1992:
        !             2:        made invis work better with everything; if the object
        !             3:        is filled, invis causes the edge not to be drawn.
        !             4:        noedge is a synonym, for compatibility with picasso.
        !             5: 
        !             6:        changed default grayscale value to 0.7.
        !             7: 
        !             8: 10/6/91:
        !             9:        fiddled eprint to try to get rid of "not a typewriter".
        !            10: 
        !            11: Aug 8, 91:
        !            12: 
        !            13: added extra test in whatpos in misc.c to avoid copying
        !            14: uninitialized o_val stuff;  only showed up on plan 9.
        !            15: thanks to howard trickey.
        !            16: 
        !            17: May 8, 1991:
        !            18: 
        !            19: removed some old code that was meant to provide dashed splines
        !            20: but had no postscript support.  better done another way.
        !            21: not yet installed.
        !            22: 
        !            23: Apr 29, 1991:
        !            24: 
        !            25: Made "fill invis" turn off the boundary if box, circle, ellipse
        !            26: but leave the filled part visible.  also permitted filled arcs,
        !            27: multi-element lines, and splines.  the properties of the latter
        !            28: are not completely determined.
        !            29: 
        !            30: for compatibility with picasso, really ought to be "noedge".
        !            31: 
        !            32: July 19, 1990:
        !            33: 
        !            34: Converted to ANSI C.  Alea iacta est.
        !            35: 
        !            36: May 5, 1990:
        !            37: 
        !            38: Fixed shrinking of oversize pictures so that it maintains the proper
        !            39: aspect ratio but otherwise fits the box defined by maxpswid and ht.
        !            40: (used to be 7x7.)  Should these be done independently instead?
        !            41: 
        !            42: Apr, 1990:
        !            43: 
        !            44: Upgraded set of regression tests from Peter Nelson
        !            45: 
        !            46: Sep 89:
        !            47: 
        !            48: Fixed core dump when .PS < nonexistent
        !            49: 
        !            50: Apr 89:
        !            51: 
        !            52: No warning if undef something not defined.
        !            53: 
        !            54: Fixed bug that gave memory fault when a line had lots of segments.
        !            55: 
        !            56: Fixed bug that omitted variable or place name from "no such place"
        !            57: messages.
        !            58: 
        !            59: Fixed bug that didn't assign size to X: right or X: x=0;
        !            60: subsequent uses of the label got huge/undefined sizes.
        !            61: 
        !            62: Fixed bug that didn't return sensible dimension for things like
        !            63:        B:0,0; print B.wid
        !            64: and for blocks containing such things.
        !            65: 
        !            66: Fixed defective makefile (I think).
        !            67: 
        !            68: Feb 89:
        !            69: 
        !            70: Added ^ operator for exponentation.
        !            71: 
        !            72: Dec 88:
        !            73: 
        !            74: Modified storage management so large pictures are handled
        !            75: more gracefully.
        !            76: 
        !            77: Mar 88:
        !            78: 
        !            79: Some special stuff to permit limited access to postscript
        !            80: for gray scale.  Not much tested, not much used.
        !            81: 
        !            82: Mar 87:
        !            83: 
        !            84: Added variables maxpsht and maxpswid to override built-in
        !            85: 8.5x11 limits on maximum picture.  Use for landscape mode,
        !            86: for example.
        !            87: 
        !            88: Jan 86:
        !            89: 
        !            90: Fixed .PS x y to specify x and y scaling.
        !            91: Uses the more constraining, rather than changing
        !            92: the aspect ratio.
        !            93: 
        !            94: May 85:
        !            95: 
        !            96: "solid" is now a valid (though uninteresting) attribute.
        !            97: 
        !            98: Mar 85:
        !            99: 
        !           100: Limited amount of point arithmetic:
        !           101:        point +/- point
        !           102: works
        !           103: 
        !           104: Dec, 1984:
        !           105: 
        !           106: reset varlist
        !           107:        resets built-in variables in list to default values.
        !           108:        empty list resets everything.
        !           109: 
        !           110: sprintf("format", exprlist)
        !           111:        returns a text string suitable for use anywhere "..."
        !           112:        can be used.
        !           113: 
        !           114: sh X anything X
        !           115:        passes "anything" to a shell for execution after
        !           116:        replacing any defined terms in it.
        !           117: 
        !           118: Nov, 1984:
        !           119: 
        !           120: line expr and move expr are treated as line/move by expr
        !           121: in current direction.
        !           122: 
        !           123: The -D option has been rendered obsolete -- all output is
        !           124: produced with \D commands.  The -T option is also 
        !           125: meaningless -- the output is independent of typesetter.
        !           126: 
        !           127: A new variable "arrowhead" controls printing of arrowheads,
        !           128: by defining the number of lines printed in a little fan.
        !           129: Default is 2;  values around 7 give a filled-in head;
        !           130: other values are basically worthless.  Arrowheads on arcs
        !           131: are now tilted somewhat in an attempt to improve their
        !           132: appearance.
        !           133: 
        !           134: "undef foo" removes the definition of foo.
        !           135: 
        !           136: July 1984:
        !           137: 
        !           138: The functions log, exp (both base 10), sqrt, sin, cos, atan2(,),
        !           139: max, min (2 arguments only), int, and rand (which returns a
        !           140: float random on [0,1)) are now available,  stolen directly
        !           141: from grap.
        !           142: 
        !           143: Added copy, for and if from grap:
        !           144:        copy "file"
        !           145:        copy "file" thru X macro body X
        !           146:        copy thru X macro X [until "str"]
        !           147:        for var = expr to expr [by expr] do X anything X
        !           148:        if expr then X anything [else X anything X]
        !           149: 
        !           150: In a copy, any .PS or .PE is discarded [sic], so copied files
        !           151: can be nested without editing.  .PS <file still works
        !           152: but its use is discouraged.
        !           153: 
        !           154: In an if, you can also test "string1" == "string2" or
        !           155: "string1" != "string2"
        !           156: 
        !           157: The text primitive is now more systematic:
        !           158: "..." ".." "." makes an invisible object with
        !           159: properties much like a box.  Height and width
        !           160: are settable:  explicit ht and wid modifiers
        !           161: affect a specific instance;  variables textht
        !           162: and textwid affect all subsequent occurrences.
        !           163: "textht" is the height of one line, so the height
        !           164: of n strings is n*textht.
        !           165: 
        !           166: Added code from Eric Grosse to correctly compute bounding
        !           167: box for arcs.  Also defined corners for arcs as same as
        !           168: corresponding circle, an idea due to Tom Cargill.
        !           169: 
        !           170: Limits on text strings, attributes and objects grow until
        !           171: memory limit reached.
        !           172: 
        !           173: Permits E format on input numbers.
        !           174: 
        !           175: Output produced in inches, not units, so somewhat more
        !           176: typesetter-independent.  The environment variable TYPESETTER
        !           177: is examined.
        !           178: 
        !           179: Saves and restores fill state around .PS/.PE.
        !           180: 
        !           181: .PS wid ht
        !           182: can be used to set width and height separately for picture;
        !           183: default ht is to scale in same proportion as width (as before).
        !           184: May give surprising results when both x and y values are given.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.