==================== ghostview 1.5 HACKED (25 Jul 93) ===================== Hacked by tanmoy@qcd.lanl.gov to support pdfmarks (alpha release) ==================== ghostview 1.5 (25 Jul 93) ===================== 1. Minimize comparison is DSC scanner to further speed it up. 2. Modify MenuButton translations to popup menu under any combination of modifiers. 3. Change all occurances of .Translation to .translation to allow #augment and #override to work properly. 4. Rename ghostview widget "preload" resource to "arguments". 5. Add foreground and palette resources to Ghostview widget. Allow user to set the palette from the command line. Remove special visual and special cmap code. 6. Remove Standard Color Map installation code. 7. Sync the connection just after setting the properties to ensure they are set when gs starts. Flush the next page event to ensure ghostscript starts right away. 8. Fix up bug in pasting of arguments into exec() call. 9. Add safer resource and make it the default. 10. Apply HOME directory selfile fix from Erik van der Poel. 11. Invoke ad2c with sh, so it work properly with for people using VPATH. 12. Improve comment scanner. Avoid allocating 0 bytes when %%Pages: 0 is present. Blank lines are counted with the section that they follow. This is necessary one one decides that the current section being scanned belong somewhere else. 13. Various portability patches. (For Alpha-OSF/1 in particular.) ==================== ghostview 1.4.1 ( 2 Nov 92) ===================== 1. Fix a couple of bugs introduced into the PostScript comment scanner. - Change isblank() to blank() to avoid name clash. - Upgrade blank() to call not DSC comments blank lines. - Avoid core dump by guarding against garbage bewteen the %%EndSetup and first %%Page. - Collsaped sections (Documents, Files, ProcSets, etc.) are no longer returned as a comment line. They are now properly recognized. - Avoid looping by truncating line buffer at EOF. 2. Synchronize X connection before trying to force error associated with backing pixmap. 3. Add as another keyboard accelerator for Next. ==================== ghostview 1.4 (11 Oct 92) ===================== 1. Merge in VMS support from Terry Poot . 2. Force the Alloc error to occur immediately after trying to allocate the backing pixmap. Deal with it as best as we can. 3. Withdraw unused function GhostviewGetInputFileDescriptor(). 4. Use XCOMM trick from X11R5 to make Imakefile more portable. 5. Renamed ghostview.h to gv.h and Ghostview.ad.h to app-defaults.h to avoid limitations in VMS file names. 6. Correct problem where ghostscript interpreter was not being killed when the popup zoom window was dismissed. 7. Propagate error messages about alloc failures and interpreter failures in both main and zoom windows back to the information window. 8. Catch X errors and gracefully die if one occurs. 9. Relayout ghostview whenever the document requests a new orientation or page media. 10. Allow for multipage encapsulated PostScript figures. 11. More upgrades to PostScript scanner. - Comment section now terminated by %X where X is unprintable. - Length of section is now properly computed when there is an included document. - Cleaned up misuse of global variables. - Ignore comments within %%Begin(End)Feature, %%Begin(End)File, %%Begin(End)Font, %%Begin(End)ProcSet, %%Begin(End)Resource. - Change enum {LLX, LLY, URX, URY} to #defines to avoid confusing some compilers. 12. Pay attention to ordinal number on %%Page comment to detect included figures without %%Begin(End)Document guards. 13. Added reopen button. 14. Small POSIX change in Dir.c 15. Make installStdCmap false by default. 16. Fix error where wrong pages were being saved or printed when descending page order is used. 17. Be sure to discard old backing pixmap if new alloc fails. ==================== ghostview 1.3-terry (30 May 92) ===================== 1. Rework the DSC comment scanner to return the length of the section as well as the start and end position. 2. Rework sending PostScript input down the pipe to eliminate a gross efficiency problem. I/O is done in 512 byte buffers rather than line by line. As many buffers as possible are sent before returning from routine. 3. Change Path.c to include to get and define getuid in terms of uid_t. 4. Added #defines for memset() and memcpy() for use when BSD4_2 is defined. ==================== ghostview 1.3 (12 May 92) ===================== 1. Fix bug where EPSF figures with a %%Page comment would cause ghostview to use garbage for the orientation or media. 2. Redid waiting for form to change size before reattaching the chains the X way. (Previous algorithm used a subsidiary event loop. It was prone to getting stuck with the wrong app-defaults.) The new algorithm uses timer events with exponential backoff. 3. Added Prior and Next keys to page back and forward. 4. Added GhostviewCheckFile action and bound it to MapNotify. Ghostview will now redraw the current page on deiconify when the file has changed. 5. Added application resource for the name of the PRINER environment variable. Default is LPDEST for SYSV and PRINTER for BSD. Also changed printer command to default to lp for SYSV and lpr for BSD. 6. Change Print Marked Pages to mark the current selection or current page when no pages are marked. It unmarks any page that it marked after sending output to the print command. Also, change Print Marked Pages to call print whole when there was no table of contents. This allows people to print a EPSF figure without having to press Shift P. 7. Automatically center page within viewport. autoCenter app-default or -nocenter can be used to disable this behavior. Add Center to Page menu and GhostviewCenter action and bind it to the C key. 8. Reworked the way that popup zoom windows work. The notify event contains both the window size desired and resolution desired. This allows much greater flexibility in the zoom windows. Changed the default zooms to be all 500x500 pixels at 200, 300, and 400 dpi. Popup zoom windows can be dismissed with the new dismiss button or pressing Q within the window. 9. Added -page