home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Tools / ghostview-1.5 / HISTORY < prev    next >
Encoding:
Text File  |  1995-05-03  |  17.6 KB  |  450 lines

  1. ==================== ghostview 1.5         (25 Jul 93) =====================
  2.  
  3.  1. Minimize comparison is DSC scanner to further speed it up.
  4.  
  5.  2. Modify MenuButton translations to popup menu under any combination
  6.     of modifiers.
  7.  
  8.  3. Change all occurances of .Translation to .translation to allow #augment
  9.     and #override to work properly.
  10.  
  11.  4. Rename ghostview widget "preload" resource to "arguments".
  12.  
  13.  5. Add foreground and palette resources to Ghostview widget.
  14.     Allow user to set the palette from the command line.
  15.     Remove special visual and special cmap code.
  16.  
  17.  6. Remove Standard Color Map installation code.
  18.  
  19.  7. Sync the connection just after setting the properties to ensure they
  20.     are set when gs starts.  Flush the next page event to ensure ghostscript
  21.     starts right away.
  22.  
  23.  8. Fix up bug in pasting of arguments into exec() call.
  24.  
  25.  9. Add safer resource and make it the default.
  26.  
  27. 10. Apply HOME directory selfile fix from Erik van der Poel.
  28.  
  29. 11. Invoke ad2c with sh, so it work properly with for people using VPATH.
  30.  
  31. 12. Improve comment scanner.  Avoid allocating 0 bytes when %%Pages: 0
  32.     is present.  Blank lines are counted with the section that they follow.
  33.     This is necessary one one decides that the current section being scanned
  34.     belong somewhere else.
  35.  
  36. 13. Various portability patches.  (For Alpha-OSF/1 in particular.)
  37.  
  38. ==================== ghostview 1.4.1       ( 2 Nov 92) =====================
  39.  
  40.  1. Fix a couple of bugs introduced into the PostScript comment scanner.
  41.     - Change isblank() to blank() to avoid name clash.
  42.     - Upgrade blank() to call not DSC comments blank lines.
  43.     - Avoid core dump by guarding against garbage bewteen the %%EndSetup
  44.       and first %%Page.
  45.     - Collsaped sections (Documents, Files, ProcSets, etc.) are no longer
  46.       returned as a comment line.  They are now properly recognized.
  47.     - Avoid looping by truncating line buffer at EOF.
  48.  
  49.  2. Synchronize X connection before trying to force error associated with
  50.     backing pixmap.
  51.  
  52.  3. Add <Tab> as another keyboard accelerator for Next.
  53.  
  54. ==================== ghostview 1.4         (11 Oct 92) =====================
  55.  
  56.  1. Merge in VMS support from Terry Poot <tp@mccall.com>.
  57.  
  58.  2. Force the Alloc error to occur immediately after trying to allocate
  59.     the backing pixmap.  Deal with it as best as we can.
  60.  
  61.  3. Withdraw unused function GhostviewGetInputFileDescriptor().
  62.  
  63.  4. Use XCOMM trick from X11R5 to make Imakefile more portable.
  64.  
  65.  5. Renamed ghostview.h to gv.h and Ghostview.ad.h to app-defaults.h to
  66.     avoid limitations in VMS file names.
  67.  
  68.  6. Correct problem where ghostscript interpreter was not being killed
  69.     when the popup zoom window was dismissed.
  70.  
  71.  7. Propagate error messages about alloc failures and interpreter failures
  72.     in both main and zoom windows back to the information window.
  73.  
  74.  8. Catch X errors and gracefully die if one occurs.
  75.  
  76.  9. Relayout ghostview whenever the document requests a new orientation or
  77.     page media.
  78.  
  79. 10. Allow for multipage encapsulated PostScript figures.
  80.  
  81. 11. More upgrades to PostScript scanner.
  82.     - Comment section now terminated by %X where X is unprintable.
  83.     - Length of section is now properly computed when there is an
  84.       included document.
  85.     - Cleaned up misuse of global variables.
  86.     - Ignore comments within %%Begin(End)Feature, %%Begin(End)File,
  87.       %%Begin(End)Font, %%Begin(End)ProcSet, %%Begin(End)Resource.
  88.     - Change enum {LLX, LLY, URX, URY} to #defines to avoid confusing some
  89.       compilers.
  90.  
  91. 12. Pay attention to ordinal number on %%Page comment to detect included
  92.     figures without %%Begin(End)Document guards.
  93.  
  94. 13. Added reopen button.
  95.  
  96. 14. Small POSIX change in Dir.c
  97.  
  98. 15. Make installStdCmap false by default.
  99.  
  100. 16. Fix error where wrong pages were being saved or printed when descending
  101.     page order is used.
  102.  
  103. 17. Be sure to discard old backing pixmap if new alloc fails.
  104.  
  105. ==================== ghostview 1.3-terry   (30 May 92) =====================
  106.  
  107.  1. Rework the DSC comment scanner to return the length of the section as
  108.     well as the start and end position.
  109.  
  110.  2. Rework sending PostScript input down the pipe to eliminate a gross
  111.     efficiency problem.  I/O is done in 512 byte buffers rather than
  112.     line by line.  As many buffers as possible are sent before returning
  113.     from routine.
  114.  
  115.  3. Change Path.c to include <X11/Xos.h> to get <sys/types.h> and define
  116.     getuid in terms of uid_t.
  117.  
  118.  4. Added #defines for memset() and memcpy() for use when BSD4_2 is defined.
  119.  
  120. ==================== ghostview 1.3         (12 May 92) =====================
  121.  
  122.  1. Fix bug where EPSF figures with a %%Page comment would cause ghostview
  123.     to use garbage for the orientation or media.
  124.  
  125.  2. Redid waiting for form to change size before reattaching the chains the X
  126.     way.  (Previous algorithm used a subsidiary event loop.  It was prone
  127.     to getting stuck with the wrong app-defaults.)  The new algorithm uses
  128.     timer events with exponential backoff.
  129.  
  130.  3. Added Prior and Next keys to page back and forward.
  131.  
  132.  4. Added GhostviewCheckFile action and bound it to MapNotify.  Ghostview will
  133.     now redraw the current page on deiconify when the file has changed.
  134.  
  135.  5. Added application resource for the name of the PRINER environment variable.
  136.     Default is LPDEST for SYSV and PRINTER for BSD.  Also changed printer
  137.     command to default to lp for SYSV and lpr for BSD.
  138.  
  139.  6. Change Print Marked Pages to mark the current selection or current page
  140.     when no pages are marked.  It unmarks any page that it marked after sending
  141.     output to the print command.  Also, change Print Marked Pages to call
  142.     print whole when there was no table of contents.  This allows people to
  143.     print a EPSF figure without having to press Shift P.
  144.  
  145.  7. Automatically center page within viewport.  autoCenter app-default or
  146.     -nocenter can be used to disable this behavior.  Add Center to Page menu
  147.     and GhostviewCenter action and bind it to the C key.
  148.  
  149.  8. Reworked the way that popup zoom windows work.  The notify event contains
  150.     both the window size desired and resolution desired.  This allows much
  151.     greater flexibility in the zoom windows.  Changed the default zooms to
  152.     be all 500x500 pixels at 200, 300, and 400 dpi.  Popup zoom windows can
  153.     be dismissed with the new dismiss button or pressing Q within the window.
  154.  
  155.  9. Added -page <label> to start preview at a specific page.
  156.  
  157. 10. Made minor change in Path.c for OCS88.
  158.     (88open Object Compatibility Standard)
  159.  
  160. 11. Disable interpreter earlier in setup_ghostview to avoid forking a new
  161.     gs and then immediately killing it.
  162.  
  163. 12. Correct generation of page numbers for documents without useful page labels
  164.     and descending page order.
  165.  
  166. 13. Coerce Magstep specified on command line in range.
  167.  
  168. 14. Add U and D for scroll up and down.  Moved unmark keyboard accelerator
  169.     to N.
  170.  
  171. 15. Add a couple of type casts to pacify some really picky compilers.
  172.  
  173. 16. Use vfork() instead of fork(), except when SYSV or USG is defined.
  174.  
  175. ==================== ghostview 1.2         (21 Apr 92) =====================
  176.  
  177.  1. Apply patch from Jonathan Stone <jonathan@isor.vuw.ac.nz> to
  178.     explicitly call ./ad2c.
  179.  
  180.  2. Fix problem with occasionally leaving an old file open.
  181.  
  182.  3. Apply portability patches to SelFile widget for Interactive 2.2 from
  183.     Karl Berry <karl@cs.umb.edu>.  Also added .NOEXPORT to the Imakefile.
  184.  
  185.  4. Apply portability patches to SelFile widget for SVR4 from Kimmo Suominen
  186.     <Kimmo.Suominen@lut.fi>.
  187.  
  188.  5. Fix error where wrong page(s) is(are) selected for printing in a
  189.     document with Descending page order.
  190.  
  191.  6. Added .defaultPrinter application resource.  This string is used as
  192.     the printer name if the PRINTER enviroment variable is not set.  Also,
  193.     allow the user to specify a NULL printername.
  194.  
  195.  7. The Redisplay button was bound to the Next Page function.  It is correct
  196.     now.
  197.  
  198.  8. It has been pointed out to me (repeatedly) that most users' screens are
  199.     landscape orientation and the documents that they want to preview are
  200.     portrait orientation placing a high value on sceen real estate in the
  201.     vertical direction.  I have changed the layout to use vertical space for
  202.     the viewport alone.  (Added undocumented action to <Key>Z to trigger
  203.     relayout.)
  204.  
  205.  9. Installed workaround for when form does not give me the sizes that I
  206.     asked for.  (Set all sizes, force relayout, request all sizes, if something
  207.     different repeat.)  Also, wait for shell resize before putting
  208.     wm_size_hints in effect.
  209.  
  210. 10. Tab stops adjusted in man page to work for both nroff and troff.
  211.  
  212. 11. Added the following optimization:  If reopening the same file and the
  213.     prolog and setup are at the same place (byte position) in the file,
  214.     assume that the prolog is identical and don't restart gs.
  215.  
  216. 12. Move "*input: true" and "*allowShellResize: true" to the app-defaults file.
  217.  
  218. 13. Mark values from the DSC comments with the "document" icon in the popup
  219.     menus.
  220.  
  221. 14. Since the title and date are sometimes truncated by the new layout, make
  222.     them one item popup menus with the optional "document" icon.
  223.  
  224. 15. Added two routines to the Ghostview widget that allows the application to
  225.     query whether ghostscript is ready for new input, or if it is running.
  226.     (It has to keep track of this already so why make the application do it as
  227.     well.)
  228.  
  229. 16. Avoid unnecessary restarting of ghostscript when user initiates changes
  230.     that have no effect on the current page.
  231.  
  232. 17. Don't rebuild the pagemedia menu on every document open.  Just when the
  233.     media list changes.
  234.  
  235. 18. Added an option/application resource so that the user can control whether
  236.     a standard colormap is installed.
  237.  
  238. 19. Added an option/application resource so that the user can control whether
  239.     a private colormap is used.
  240.  
  241. ==================== ghostview 1.1         (25 Mar 92) =====================
  242.  
  243.  1. Remove HP-widget fluff from SelFile routines.
  244.  
  245.  2. Remove pre-R4 fluff from SelFile routines.
  246.  
  247.  3. Change "About..." popup to "Copyright..."
  248.  
  249.  4. Added "Redisplay" menu button.
  250.  
  251.  5. Changed name of topsy-turvy to seascape.
  252.  
  253.  6. Added baseTranslations for X11R5.
  254.  
  255.  7. Added F and B as synonyms for Next Page and Prev Page.
  256.  
  257.  8. Added R and ctrl-L as synonyms for Redisplay Page.
  258.  
  259.  9. Reworked NON_BLOCKING_IO to work with POSIX and SYSV.
  260.  
  261. 10. Added margins to the Ghostview widget.  This lets the popup zoom
  262.     window "fool" tricky PostScript figure into thinking they have the
  263.     whole page to draw on.
  264.  
  265. 11. Added preload resource to ghostview widget.  This allows on to preload
  266.     fonts for instance.  Real handy for drawings that like to load fonts
  267.     over and over again.
  268.  
  269. 12. Added GhostviewGetInputFileDescriptor convenience routine for other
  270.     applications that might like to use the widget.
  271.  
  272. 13. Fix XmuCvtStringToPageOrientation type converter.  Used to just assume
  273.     the it would allocate the storage.  Now will write into preallocated
  274.     storage.  (This fixed command line orientation options.)
  275.  
  276. 14. Adopt ad2c for generating fallback resources.  Rework Imakefile to
  277.     include that and streamline SIGNAL_DEFINES.
  278.  
  279. 15. Two malloc mistakes fixed (Used 1 more byte than alloced.)
  280.  
  281. 16. Include HOME_ON_DEMAND patch from Erik to reduce network load of
  282.     SelFile widget when users home directories are NFS mounted.
  283.  
  284. 17. Reworked SelFile widget to be a transient shell, and automatically
  285.     place itself under the cursor.
  286.  
  287. 18. Reworked SelFile widget to acutally open the requested file.  Then
  288.     it doesn't pop down and back up again when the user makes a mistake.
  289.  
  290. 19. Changed overall size calculation to be precise.  Add window manager
  291.     horizontal and vertical margins for those who want to be as precise.
  292.  
  293. 20. Added a work around for ncdwm users.  Xt intrinsics put bogus information
  294.     into size hints.  Changing this slightly allows ncdwm to work right.
  295.  
  296. 21. Fix bug when left bitmap of date or locator would be set when title
  297.     was not realized.
  298.  
  299. 22. Make dialog box a transient window for the main window.  (This resource
  300.     had to be set after both were realized.)
  301.  
  302. 23. Delay mapping main window until after all geometry negotiation is done.
  303.  
  304. 24. Fix bug (introduced in beta4) which would cause page numbers, rather
  305.     then page labels to be used.
  306.  
  307. 25. Don't replace the std cmap, just use what is there.
  308.  
  309. 26. Man page included.
  310.  
  311. 27. Always clear the window before starting interpreter.
  312.  
  313. 28. Only popup the information window once.
  314.  
  315. ==================== ghostview 1.0 beta 4  (05 Nov 91) =====================
  316.  
  317. 1. Changes for X11R5.
  318.    - Fix up bogus function prototypes.
  319.    - Type casts inserted where appropriate.
  320.  
  321. 2. Added Delete Window protocol to SelFile widget.
  322.  
  323. 3. Added chains within SelFile form widget.  (Otherwise resizing would
  324.    mess up its appearance.)
  325.  
  326. 4. Correct problem with Text widget and useStringInPlace.
  327.  
  328. 5. Moved setting of size hints to a separate routine.
  329.  
  330. 6. Reset scroll bars of Viewport widget to 0 before resizing.
  331.    (If Viewport goofs up it resize a nonzero scroll postion.)
  332.    Scroll bars a set back to original location after the resize.
  333.  
  334. 7. Change resize routine to accurate calculate new size when checking to
  335.    make sure it isn't bigger than the screen.
  336.  
  337. 8. Added two checks for exhausted dynamic memory after malloc.
  338.  
  339. 9. Fixup parsing of comments when copying to a new file.
  340.  
  341. 10.Fixup default pagemedia so that it is still in effect after viewing
  342.    a document with a pagemedia specified in the PostScript comments.
  343.  
  344. ==================== ghostview 1.0 beta 3  (07 Aug 91) =====================
  345.  
  346. 1. Ability to print whole file as well as selected pages.
  347.  
  348. 2. Put locator within form widget rather than popping it up.
  349.  
  350. 3. Send a message whenever the interpreter (ghostscript) fails (dumps core).
  351.  
  352. 4. Add a convenience routine to Ghostview widget to return the backing pixmap.
  353.  
  354. 5. Reworked the handling of dialog widgets.
  355.  
  356. 6. Optionally include the SelFile file selector for open and save dialogs.
  357.  
  358. 7. Corrected code that gave size hints to the window manager.  Things
  359.    now resize properly under motif.  Also, set size hints via SetValues
  360.    rather than directly.
  361.  
  362. 8. Fixed up problem that could cause core dumps when switching files.
  363.  
  364. 9. Removed hard coding of background to white and foreground to black
  365.    when using the default colormap.  If a special visual is used, you
  366.    have to live with black and white.
  367.  
  368. 10.Added check to make sure app-defaults were installed.
  369.  
  370. 11.Made the display of title, date, and locator optional.
  371.  
  372. 12.Rework command line options.
  373.  
  374. 13.Allow input from stdin.
  375.  
  376. 14.Ensure that orientation was set from app-defaults/command-line rather
  377.    than individual Ghostview resources.
  378.  
  379. 15.Made next button insensitive on last page and prev button insensitive
  380.    on first page.
  381.  
  382. 16.Correct problem where the files would appear to switch but the previous
  383.    one would continue to be displayed.
  384.  
  385. 17.Changed the type of "distance" from Dimension to int.  (This would cause
  386.    core dumps on some architectures.)
  387.  
  388. 18.Changed pscopydoc to preserve the second argument to the %%Pages: comment.
  389.  
  390. 19.Changed pscopydoc to not use the same FILE* as main.
  391.  
  392. 20.added openwindows option/app-default to work-around openwindows bitmap bug.
  393.  
  394. 21.Rewrote addr+enum_const expressions to &(addr[enum_const]) to pacify some
  395.    compilers.
  396.  
  397. ==================== ghostview 1.0 beta 2  (24 Jul 91) =====================
  398.  
  399. Portability:
  400.   - include <fcntl.h> on all systems for O_NDELAY
  401.   - set O_NDELAY = O_NONBLOCK for system V and POSIX systems
  402.   - set EWOULDBLOCK = EAGAIN for system V and POSIX systems
  403.   - include the free BSD sources for getenv, setenv, and strcasecmp
  404.     for systems the don't have them.
  405.   - Recoded XtSetFloatArg to be more portable.
  406.  
  407. Bugs fixed:
  408.   - PostScript Scanner properly handles nested documents (%%BeginDocument:)
  409.   - Only one (correct) %%Pages: comment in saved or printed file.
  410.   - Prevent dialog box components from getting squished.
  411.   - GhostviewSetOrientation action works now.
  412.   - GhostviewSetPageMedia action works now.
  413.   - Documents with structuring comments, but no pages don't cause core dumps.
  414.   - Bug in AsciiText widget was worked-around to avoid core dumps when
  415.     switching to another document.
  416.   - Documents with pages in Descending order now have the table of contents
  417.     displayed in reverse order.
  418.  
  419. Resource leaks plugged:
  420.   - Input buffer and backing pixmap are now freed when widget is destroyed.
  421.   - Input file descriptor is closed on zoom windows.
  422.  
  423. Enhancements:  (Thanks for the suggestions.)
  424.   - When forcing a page media or orientation on a page, indicate that fact
  425.     with a different marker on the orientation and/or page media menu.
  426.   - Allow a forced page media to override the bounding box on epsf figures.
  427.   - Added a locator which displays the coordinates in the default PostScript
  428.     coordinate system while the mouse button is pressed in the main viewport.
  429.     To avoid popping up a zoom window, leave the main viewport before releasing
  430.     the mouse button.
  431.   - All top level windows now understand WM_DELETE_WINDOW protocol.  mwm
  432.     users can use the close button.
  433.   - If all the page labels are identical, use the ordinal page number instead.
  434.   - Added popup dialog box to specify printer.  The default is the contents
  435.     of the PRINTER environment variable.
  436.   - Added actions to allow scrolling of main viewport from keyboard.
  437.     These are currently bound to h,j,k,l.
  438.   - Enhanced PostScript scanner to accept real numbers on %%BoundingBox:
  439.     comments.  (Didn't anyone read the spec, it calls for integers!)
  440.   - Added a limit check in increase/decrease magstep to prevent the magstep
  441.     from being off the menu.  (People objected to not being able to check the
  442.     magstep.)
  443.   - Added an option to the Ghostview widget to use backing store instead
  444.     of a backing pixmap.  (set "*Ghostview.useBackingPixmap: False" to use
  445.     backing store.)
  446.  
  447. ==================== ghostview 1.0 beta 1  (17 Jul 91) =====================
  448.  
  449. Original Release, No changes.
  450.