History1.htm 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html>
  3. <head>
  4. <title>History of Ghostscript versions 1.n</title>
  5. <!-- $Id: History1.htm,v 1.39 2005/10/20 19:46:23 ray Exp $ -->
  6. <!-- Originally: history1.txt -->
  7. <!--
  8. WARNING: do not use Pete Kaiser's emacs function "gs-toc" alone to
  9. re-create the table of contents here, because it will replace the
  10. hand-edited TOC subheads with a separate subhead for each H2 in
  11. the body of the file. Or if you do, first look at the original
  12. TOC to see how to edit it for visual conciseness.
  13. -->
  14. <link rel="stylesheet" type="text/css" href="gs.css" title="Ghostscript Style">
  15. </head>
  16. <body>
  17. <!-- [1.0 begin visible header] ============================================ -->
  18. <!-- [1.1 begin headline] ================================================== -->
  19. <h1>History of Ghostscript versions 1.n</h1>
  20. <!-- [1.1 end headline] ==================================================== -->
  21. <!-- [1.2 begin table of contents] ========================================= -->
  22. <h2>Table of contents</h2>
  23. <blockquote><ul>
  24. <li><a href="#Version1.3">Version 1.3 (6/20/89)</a>
  25. <ul>
  26. <li><a href="#V1.3_Interpreter">Interpreter</a>,
  27. <a href="#V1.3_Fonts">Fonts</a>,
  28. <a href="#V1.3_Library">Library</a>,
  29. <a href="#V1.3_Usage_procedures">Usage procedures</a>
  30. </ul>
  31. <li><a href="#Version1.2">Version 1.2 (2/22/89)</a>
  32. <ul>
  33. <li><a href="#V1.2_Interpreter">Interpreter</a>,
  34. <a href="#V1.2_Library">Library</a>,
  35. <a href="#V1.2_Usage_procedures">Usage procedures</a>
  36. </ul>
  37. <li><a href="#Version1.1">Version 1.1 (2/12/89)</a>
  38. <ul>
  39. <li><a href="#V1.1_Interpreter">Interpreter</a>,
  40. <a href="#V1.1_Initialization">Initialization (ghost.ps, gfonts.ps)</a>,
  41. <a href="#V1.1_Library">Library</a>,
  42. <a href="#V1.1_Usage_procedures">Usage procedures</a>
  43. </ul>
  44. <li><a href="#Version1.0">Version 1.0 (8/11/88)</a>
  45. </ul></blockquote>
  46. <!-- [1.2 end table of contents] =========================================== -->
  47. <!-- [1.3 begin hint] ====================================================== -->
  48. <p>
  49. This document is a history of Ghostscript releases numbered 1.n. For more
  50. recent changes, see the the other history documents and, for the latest
  51. versions, the news:
  52. <blockquote>
  53. <a href="News.htm">News</a><br>
  54. <a href="History4.htm">History of Ghostscript versions 4.n</a><br>
  55. <a href="History3.htm">History of Ghostscript versions 3.n</a><br>
  56. <a href="History2.htm">History of Ghostscript versions 2.n</a><br>
  57. History of Ghostscript versions 1.n (this document)<br>
  58. </blockquote>
  59. <p>For other information, see the <a href="Readme.htm">Ghostscript
  60. overview</a>.
  61. <!-- [1.3 end hint] ======================================================== -->
  62. <hr>
  63. <!-- [1.0 end visible header] ============================================== -->
  64. <h2><a name="Version1.3"></a>Version 1.3 (6/20/89)</h2>
  65. <pre>
  66. This release should have had a lot more things in it, but time pressure
  67. and the already long delay in getting it out made it necessary to push it
  68. out the door in an incomplete state (e.g., no testing on X systems
  69. whatsoever).
  70. </pre>
  71. <h3><a name="V1.3_Interpreter"></a>Interpreter</h3>
  72. <pre>
  73. Makes -d and -D equivalent on the command line. Adds a new switch -s / -S
  74. that defines a name as a string rather than a token.
  75. Arranges things so that if -sLIB=_a_prefix_ is defined on the command
  76. line, (filename) run will look for _a_prefix_filename before giving up if
  77. filename isn't the name of an accessible file.
  78. Changes showpage from an operator to a procedure. The definition of
  79. showpage in ghost.ps does a copypage, beeps the console, waits for the
  80. user to type a character (normally a &lt;return&gt;, since line buffering is
  81. always enabled), and then does an erasepage and an initgraphics.
  82. Adds a new initialization file, gdevs.ps, containing device-dependent
  83. parameters. The default window size for X Windows is properly set to 612
  84. x 792, i.e., 8.5" x 11".
  85. Adds a new optional initialization file, statusd.ps, that provides dummy
  86. definitions for the names found in statusdict on LaserWriters.
  87. Adds a new operator, getenv, to get information from the shell
  88. environment.
  89. Adds a new predefined operator, defaultdevicename, that returns either (X)
  90. or (EGA) according to how the interpreter was built.
  91. Adds a new type, devicetype, and new operators deviceparams, getscanlines,
  92. makedevice, makeimagedevice, and setdevice. Changes currentdevice to
  93. return a device object rather than a set of parameters.
  94. Makes the scanner recognize reals with 'e' exponent notation, and handle
  95. reals with more than 9 digits.
  96. Fixes a bug that made names starting with digits read incorrectly.
  97. Fixes a bug in the exp operator that made it not pop its first argument
  98. from the stack.
  99. Fixes a bug in the rand operator that made it return negative values about
  100. half the time.
  101. Fixes a bug in equality comparison (eq, ne, and several other operators)
  102. that made unequal operator objects occasionally appear to be equal on DOS
  103. systems.
  104. Fixes a bug in the bind operator that made it not work on packed arrays.
  105. Changes the internal representation of dictionaries so they can be
  106. expanded or contracted dynamically. Adds a new operator, setmaxlength, to
  107. change the allocated size of a dictionary.
  108. Changes sstorei.h so that non-DOS compilers don't encounter the #pragma
  109. directive used by Turbo C.
  110. Restores the display mode (on MS-DOS systems) when exiting.
  111. </pre>
  112. <h3><a name="V1.3_Fonts"></a>Fonts</h3>
  113. <pre>
  114. Makes undefined characters in the standard font display as tilde rather
  115. than blank (or causing an error). Unmapped character codes (those mapped
  116. to .notdef in the encoding) still display as nothing, per the PostScript
  117. manual.
  118. </pre>
  119. <h3><a name="V1.3_Library"></a>Library</h3>
  120. <pre>
  121. Adds a new header file, gxbitmap.h, with some new documentation describing
  122. the internal storage format for bitmaps.
  123. Makes numerous internal changes in the character / font cache, affecting
  124. many of the routines in gxcache.c.
  125. Fixes a bug in gz_draw_line / gz_fill_trapezoid that made nearly
  126. horizontal lines display wrong.
  127. Fixes a bug in gs_scale that made scaling not work if the coordinate
  128. system was rotated or skewed.
  129. Extends the font cache so it will handle characters rotated by multiples
  130. of 90 degrees.
  131. Changes the second argument of gx_path_bbox and gx_path_is_rectangle to be
  132. a gs_fixed_rect * rather than a fixed [4].
  133. Changes gs_matrix_rotate so it handles multiples of 90 degrees as a
  134. special case.
  135. Changes the definition of the gx_device structure to accommodate the new
  136. device operators, and adds corresponding library calls.
  137. Changes the type for a device color index from int to gx_color_index
  138. (equivalent to unsigned long). ***NOTE***: this affects existing clients
  139. and drivers in a non-trivial way on MS-DOS systems.
  140. Changes gs_malloc and gs_free to take a client name string as an argument.
  141. </pre>
  142. <h3><a name="V1.3_Usage_procedures"></a>Usage procedures</h3>
  143. <pre>
  144. Changes the compilation rules for Unix systems to not use the -o and -c
  145. compiler flags together, to be compatible with more versions of cc.
  146. Changes the gcc makefile to use $(GCC) rather than gcc as the compiler
  147. name.
  148. Moves the -1 flag for the MS-DOS compiler from the cc*.bat files to the
  149. makefile.
  150. Changes CCDEBUG to CCFLAGS, and adds ASMFLAGS, in DOS makefile.
  151. Adds -DFOR80386 and /DFOR80386 to enable use of 80386 instructions in
  152. assembly code on DOS systems.
  153. Merges the DEBUG and gs_DEBUG switches. There is now only a single DEBUG
  154. switch that affects both the interpreter and the library.
  155. Adds a new compilation switch, -DNOPRIVATE, that makes private (static)
  156. variables and procedures public for debugging and profiling (only needed
  157. on DOS systems).
  158. Adds the DOS executable (gs.exe and gs.map) to the distribution fileset.
  159. Adds new platform-specific code files, gp-*.c, for a few things like
  160. reading the clock.
  161. Adds a new documentation file, drivers.doc, that describes the interface
  162. between Ghostscript and device drivers.
  163. </pre>
  164. <hr>
  165. <h2><a name="Version1.2"></a>Version 1.2 (2/22/89)</h2>
  166. <h3><a name="V1.2_Interpreter"></a>Interpreter</h3>
  167. <pre>
  168. Adds the new facilities in version 25 of PostScript: //name for immediate
  169. lookup, packed arrays (setpacking, currentpacking, packedarray operators),
  170. and new font cache parameters (setcacheparams, currentcacheparams
  171. operators).
  172. Adds new operators (setfileposition, currentfileposition) for random
  173. access to files.
  174. Extends readhexstring to take either a string or a file, just like token.
  175. Fixes a bug that caused the 'for' operator (and a couple of others) to
  176. randomly smash memory locations on PC platforms.
  177. </pre>
  178. <h3><a name="V1.2_Library"></a>Library</h3>
  179. <pre>
  180. Renames the init_device driver procedure as open_device, and adds a
  181. corresponding close_device.
  182. Adds new procedures to read and set the cache limit values (implementing
  183. the currentcacheparams and setcacheparams operators).
  184. </pre>
  185. <h3><a name="V1.2_Usage_procedures"></a>Usage procedures</h3>
  186. <pre>
  187. Changes the name of the Unix makefile to ux-cc-x.mak, and adds a new Unix
  188. makefile, ux-gcc-x.mak, for using gcc instead of cc. (The latter doesn't
  189. actually work yet.)
  190. Changes the name of the single built-in font from uglyfont.cp to
  191. ugly10.cp.
  192. </pre>
  193. <hr>
  194. <h2><a name="Version1.1"></a>Version 1.1 (2/12/89)</h2>
  195. <h3><a name="V1.1_Interpreter"></a>Interpreter</h3>
  196. <pre>
  197. Makes the scanner treat ^Z (ASCII code 26) as whitespace: it erroneously
  198. treated ^R (ASCII code 22, or octal 26) as whitespace.
  199. Makes the token and readline operators, and the syntax for comments,
  200. recognize \r (code 13), \n (code 10), and \r\n as equivalent end-of-line
  201. indicators. The token and readline operators will skip over any of these
  202. sequences at the end of a token or line respectively, and a comment will
  203. read through any of these sequences. The other file operators (read,
  204. write, readstring, writestring) do nothing special with these characters.
  205. Changes the debug switch name from -D to -Z. Adds a -D switch for
  206. defining names in systemdict from the command line. Defines -DDEBUG for
  207. printing out debugging information during initialization, and -DNODISPLAY
  208. for suppressing display output.
  209. Corrects a bug that prevented the error machinery from working -- in
  210. version 1.0, errors always dumped the stacks and aborted interpretation.
  211. Corrects a bug that made eq and ne not work for strings.
  212. Makes the atan (arctangent) operator normalize its results according to
  213. the PostScript convention.
  214. Makes the div operator check for zero divisor.
  215. Makes unimplemented operators (resetfile, echo, save, restore, strokepath,
  216. reversepath) truly undefined.
  217. Makes the interactive loop exit gracefully on end-of-file: in version 1.0
  218. this caused an infinite loop.
  219. Implements the status operator.
  220. Corrects a bug that made the 'for' operator deliver garbage values if one
  221. or more of the operands (start, increment, end) was a real.
  222. Corrects a bug that made the arc and arcn operators not pop their operands
  223. from the stack.
  224. Corrects a bug that made the kshow operator crash the interpreter.
  225. Corrects a bug that made the print operator fail on machines that don't
  226. pass structure arguments by simply pushing the contents of the structure.
  227. Adds a new operator, imagecharpath, to convert images to
  228. addcharpath-compatible outlines.
  229. Changes alloc and alloc_free to use char * rather than byte *, and
  230. alloc_free to return void rather than int, making them compatible with the
  231. library's expectations and with malloc/free.
  232. Explicitly casts all expressions of the form (ptr1 - ptr2) used as
  233. procedure arguments to unsigned, to handle an incompatibility between
  234. Turbo C versions 1.5 and 2.0.
  235. Changes some of the internal conventions for operators: operators that
  236. push on the operand stack must check for overflow explicitly, and
  237. operators that modify the execution stack must return a special code.
  238. (See oper.h for details.)
  239. </pre>
  240. <h3><a name="V1.1_Initialization"></a>Initialization (ghost.ps, gfonts.ps)</h3>
  241. <pre>
  242. Modifies ghost.ps and gfonts.ps so they print debugging information only
  243. if the name DEBUG is defined. (Presumably the user will set this from the
  244. command line with -DDEBUG.)
  245. Changes ghost.ps so it initializes the nominal screen size to 640 x 350 on
  246. MS-DOS systems as before, but to 612 x 792 on Unix systems, which is an
  247. 8.5" x 11" page at 72 pixels per inch.
  248. </pre>
  249. <h3><a name="V1.1_Library"></a>Library</h3>
  250. <pre>
  251. Corrects a bug that made the fill and eofill operators (gs_fill and
  252. gs_eofill) not perform a newpath afterward.
  253. Corrects the bug that made thin, nearly horizontal lines display wrong (as
  254. a series of disconnected dots) in the MS-DOS implementation.
  255. Fixes a bug in the EGA driver that often made it fill rectangular regions
  256. with black around information being displayed in white.
  257. Completely changes the internal representation of outline fonts, and
  258. changes btoi.ps (a Ghostscript language program for converting bitmaps to
  259. outlines) to use a new library call, gs_imagecharpath.
  260. Changes the extension for outline font files from .gf to .cp.
  261. Adds a new debugging switch, q, that traces all rectangle fill operations.
  262. Adds a new debugging switch, v, that traces all device-level output calls.
  263. Explicitly casts pointer differences passed as procedure arguments, as in
  264. the interpreter.
  265. Makes stringwidth work if there is no current point. In version 1.0, this
  266. gave a nocurrentpoint error.
  267. </pre>
  268. <h3><a name="V1.1_Usage_procedures"></a>Usage procedures</h3>
  269. <pre>
  270. Changes the name of the 'read me' file from READ.ME to README.
  271. Removes a bogus line (invoking the 'mcopy' utility) from the makefile.
  272. Splits up the makefile into a generic part (ghost.mak) and
  273. platform-specific parts (dos-ega.mak, unix-x11.mak). The latter are what
  274. is actually executed.
  275. Puts the definitions of the DEBUG and gs_DEBUG compilation flags into the
  276. makefile instead of in ghost.h and gx.h respectively.
  277. Changes the names of the documentation files to be a little less cryptic.
  278. Changes all the file names to lower-case in the documentation. Adds
  279. installation information to make.doc.
  280. Changes all function definitions (but not prototype declarations) to ANSI
  281. syntax, and adds a preprocessing step (ansi2knr) to convert them to K&amp;R
  282. syntax on Unix systems.
  283. Changes the normal MS-DOS link configuration to not assume the presence of
  284. an 80x87 coprocessor, and describes how to increase performance if a
  285. coprocessor is present.
  286. Changes the names of all the interpreter .c files, except stream.c, to
  287. begin with 'i'.
  288. </pre>
  289. <hr>
  290. <h2><a name="Version1.0"></a>Version 1.0 (8/11/88)</h2>
  291. <pre>
  292. First version released to the public.
  293. </pre>
  294. <!-- [3.0 begin visible trailer] =========================================== -->
  295. <hr>
  296. <p><small>Copyright &copy; 1996, 1997, 1998 Aladdin Enterprises.
  297. All rights reserved.</small>
  298. <p>This software is provided AS-IS with no warranty, either express or
  299. <p>implied.
  300. <p>
  301. <p>This software is distributed under license and may not be copied,
  302. <p>modified or distributed except as expressly authorized under the terms
  303. <p>of the license contained in the file LICENSE in this distribution.
  304. <p>
  305. <p>For more information about licensing, please refer to
  306. <p>http://www.ghostscript.com/licensing/. For information on
  307. <p>commercial licensing, go to http://www.artifex.com/licensing/ or
  308. <p>contact Artifex Software, Inc., 101 Lucas Valley Road #110,
  309. <p>San Rafael, CA 94903, U.S.A., +1(415)492-9861.
  310. <p>
  311. <small>Ghostscript version 8.53, 20 October 2005
  312. <!-- [3.0 end visible trailer] ============================================= -->
  313. </body>
  314. </html>