* REVISION: Increased to 2.
[s-roff.git] / src / xditview / ChangeLog
blob249fa833871dc8f18d7116fa301d5c84c2814253
1 Version 1.18.1 released
2 =======================
4 2002-09-16  Werner LEMBERG  <wl@gnu.org>
6         * Imakefile.in (GROFF_LOCALFONTDIR): New variable.
7         (GROFF_FONTPATH): Use it.
8         Remove /usr/local/lib/font.
10 Version 1.18.0 released
11 =======================
13 2002-06-22  Werner LEMBERG  <wl@gnu.org>
15         * gxditview.c (main): Handle `-help' and `--help' correctly.
17 2002-06-17  Colin Watson  <cjwatson@debian.org>
19         * Imakefile.in: s/@top_builddir@/@groff_top_builddir@/.
21 2002-04-06  Werner LEMBERG  <wl@gnu.org>
23         * DviChar.c (ISO_8859_1_map, Adobe_Symbol_map): Remove all
24         characters > 0x80.
25         * parse.c (ParseInput): Ignore `m' command.
26         (ParseDrawFunction): Don't move for unknown drawing functions.
27         Don't move for `f' drawing function.
29 2002-03-25  Werner LEMBERG  <wl@gnu.org>
31         * DviChar.c (ISO_8859_1_map): Use `t+-', `tmu', and `tdi' symbols
32         instead of `+-', `mu', and `di', respectively.
34 2002-02-23  Werner LEMBERG  <wl@gnu.org>
36         * DviChar.c (ISO_8859_1_map): Add `mc' symbol.
38 2001-09-22  Werner LEMBERG  <wl@gnu.org>
40         * Imakefile.in: Redefine `ProgramTargetHelper' as
41         `ProgramTargetHelperNoMan' and add a call to `InstallManPageLong'
42         to make the `install.man' target work if the build directory isn't
43         $srcdir.
45 Version 1.17.2 released
46 =======================
48 Version 1.17.1 released
49 =======================
51 2001-04-21  Albert Chin-A-Young  <china@thewrittenword.com>
53         * Imakefile.in: Add support for recent HP architectures.
55 Version 1.17 released
56 =====================
58 2001-01-04  Rob Daasch  <daasch@ece.pdx.edu>
60         * parse.c (ParseInput): Added 'F' to command switch to swallow
61         filename strings as ignored comments.
63 2000-12-02  Werner LEMBERG  <wl@gnu.org>
65         * device.c (find_file): Remove home directory in search path.
67 2000-11-14  Werner LEMBERG  <wl@gnu.org>
69         * device.c (open_device_file): Remove `path' parameter.
70         (find_file): Construct font path similar to groff: First the contents
71         of GROFF_FONT_PATH, then the home directory, and finally the default
72         font path.
73         * Imakefile.in: Fix GROFF_DATAPROGRAMDIR and GROFF_FONTPATH.
75 2000-10-23  Werner LEMBERG  <wl@gnu.org>
77         Change installation structure for data files from .../groff/... to
78         .../groff/<version><revision>/... to be conform with other GNU
79         programs.
81         * Imakefile.in: Implement it.
83 Version 1.16.1 released
84 =======================
86 Version 1.16 released
87 =====================
89 2000-05-18  Werner LEMBERG  <wl@gnu.org>
91         * DviChar.c: Adding `cq' as an alias for "'" in latin-1 map.
93 2000-05-03  Werner LEMBERG  <wl@gnu.org>
95         * DviChar.c: Adding `dq' as an alias for `"' in latin-1 map.
97 2000-04-28  Werner LEMBERG  <wl@gnu.org>
99         * DviChar.c: Replacing `md' glyph name with `pc' in latin-1 map to
100         make it distinct from the `md' glyph in the symbol font.
102 2000-03-03  Werner LEMBERG  <wl@gnu.org>
104         * Imakefile replaced with Imakefile.in which will be configured by
105         the main configure script of groff.  This will set the correct font
106         path, and it will make it possible to build xditview in a directory
107         different from $srcdir.
109 2000-03-01  Colin Phipps  <crp22@cam.ac.uk>
111         * Dvi.c (OpenFile): Use tmpdir() for security reasons.
112         * xtotroff.c (MapFont): Avoid race while opening file.
114 2000-02-06  Werner LEMBERG  <wl@gnu.org>
116         * Imakefile: Adapted to new directory structure.
118         * README: Updated.
120 Version 1.15 released
121 =====================
123 1999-12-21  Werner LEMBERG  <wl@gnu.org>
125         * README: Fixed ftp GNU address.
127 1999-12-13  Werner LEMBERG  <wl@gnu.org>
129         * device.c: Use extern declarations of strtok(), strchr(), and
130         getenv() only if not defined as macros.
132 1999-11-18  Larry Jones  <larry.jones@sdrc.com>
134         * xditview.c: Add fallback_resources to allow running without
135         access to the app-defaults file.
137         * Imakefile: Added rule to create app-defaults to a C header file.
139         * GXditview-ad.h: New file containing fallback default resources.
141         * ad2c: New file to do the app-defaults -> C header file
142         conversion.
144 1999-10-27  Larry Jones  <larry.jones@sdrc.com>
146         * font.c (DisposeFontSizes): If there's a problem loading a font,
147         xditview will fall-back and use the default font, but it hasn't
148         checked before unloading fonts which could result in unloading the
149         default font (possibly multiple times) and then X errors.
151 1999-09-13  Werner LEMBERG  <wl@gnu.org>
153         * Imakefile (extraclean): Added Makefile.
155         * xditview.c (main, MakePrompt): Fixing compilation warnings.
157         * TODO: Imakefile should be replaced with a configure script.
159 1999-09-13  Werner LEMBERG  <wl@gnu.org>
161         * Makefile: Removed.
163 1999-09-12  Werner LEMBERG  <wl@gnu.org>
165         * Imakefile (GROFF_FONTPATH): Another addition.
167         * device.c (FONTPATH): Update to match current groff version.
169 1999-09-11  Larry Jones  <larry.jones@sdrc.com>
171         * Imakefile (GROFF_LIBDIR, GROFF_FONTPATH): Update to match
172         current groff version.
174         * Dvi.c (Realize, Destroy), DviP.h, draw.c (setFillGC), gray*.bm:
175         Allow 8 levels of gray rather than just 1.
177         * draw.c (DrawFilledCircle, DrawFilledEllipse, DrawFilledPolygon):
178         Draw outlines to prevent gaps between abutting figures.
180 1999-05-27  Werner LEMBERG  <wl@gnu.org>
182         * xtotroff.c (usage): Fixed typo.
184 Mon Sep 11 10:40:33 1995  James Clark  <jjc@jclark.com>
186         * device.c (INT_MIN, INT_MAX): Don't define if already defined.
188 Mon Aug  8 11:14:11 1994  James Clark  (jjc@jclark.com)
190         * DviChar.c (Adobe_Symbol_map): Use \(nb for notsubset.
192 Tue Apr 19 04:41:16 1994  James Clark  (jjc@jclark.com)
194         * Dvi.c (resources): Change default for background and foreground
195         to "XtDefaultBackground" and "XtDefaultForeground".
197 Sat Feb 12 10:38:47 1994  James Clark  (jjc@jclark.com)
199         * DviChar.c (Adobe_Symbol_map): Rename radicalex to rn.
201 Thu May 27 20:30:12 1993  James Clark  (jjc@jclark.com)
203         * device.c (isascii): Define if necessary.
204         (canonicalize_name): Cast argument to isdigit() to unsigned char.
206 Thu Apr 29 18:36:57 1993  James Clark  (jjc at jclark.com)
208         * xditview.c: Include <X11/Xos.h>.
209         (NewFile): Don't declare rindex(). Use strrchr() rather than
210         rindex().
212 Tue Mar 30 15:12:09 1993  James Clark  (jjc at jclark)
214         * draw.c (charExists): Check that fi->per_char is not NULL.
216 Sat Dec 12 17:42:40 1992  James Clark  (jjc at jclark)
218         * Dvi.c (SetGeometry): Cast XtMakeGeometryRequest arguments.
220         * draw.c (DrawPolygon, DrawFilledPolygon): Cast Xtfree argument.
222         * font.c (DisposeFontSizes): Add declaration.
224         * draw.c (FakeCharacter): Add declaration.
226 Wed Oct 28 13:24:00 1992  James Clark  (jjc at jclark)
228         * Imakefile (install.dev): Deleted.
229         (fonts): New target.
231 Mon Oct 12 10:50:44 1992  James Clark  (jjc at jclark)
233         * Imakefile (install.dev): Say when we're installing devX*-12.
235         * Imakefile (install.dev): Depends on DESC and FontMap.
237 Thu Oct  1 20:03:45 1992  James Clark  (jjc at jclark)
239         * xditview.c (Syntax): Mention -filename option.
241 Sat Aug 15 12:56:39 1992  James Clark  (jjc at jclark)
243         * GXditview.ad: Bind space and return to NextPage. Bind backspace
244         and delete to previous page.
246         * DviChar.c (Adobe_Symbol_map): Add `an'.
248         * DviChar.c (Adobe_Symbol_map): Add arrowvertex, arrowverttp, and
249         arrowvertbt.
251 Mon Aug 10 11:54:27 1992  James Clark  (jjc at jclark)
253         * FontMap: Add m/p fields to the fonts names.
255 Sat Aug  8 12:00:28 1992  James Clark  (jjc at jclark)
257         * DESC: Leave font positions 5-9 blank.
259 Tue Jul 28 11:37:05 1992  James Clark  (jjc at jclark)
261         * Imakefile: Don't use gendef.  Pass definition of FONTPATH using
262         DEFINES.
263         (path.h): Deleted.
264         (device.c): Don't include path.h.  Provide default definition of
265         FONTPATH.
267 Mon Jul  6 14:06:53 1992  James Clark  (jjc at jclark)
269         * Imakefile: Don't install tmac.X and tmac.Xps.
270         * tmac.X, tmac.Xps: Moved to ../macros.
272         * Imakefile: Don't install eqnchar.
273         * eqnchar: Deleted.
275 Sun Jun 14 12:55:02 1992  James Clark  (jjc@jclark)
277         * tmac.Xps: Handle OE, oe, lq, rq.
278         * draw.c (FakeCharacter): Don't handle these.
280         * draw.c (FakeCharacter): Don't handle f/. 
282 Mon Jun  8 11:46:37 1992  James Clark  (jjc@jclark)
284         * tmac.X: Translate char160 to space.
286 Sun Jun  7 14:39:53 1992  James Clark  (jjc@jclark)
288         * tmac.X: Do `mso tmac.psic' before restoring compatibility mode.
290         * tmac.X: Add \(OE, \(oe, \(ah, \(ao, \(ho.
292         * tmac.Xps: Make it work in compatibility mode.
293         Redo existing character definitions with .Xps-char.
294         Add more character definitions.
295         (Xps-char): New macro.
297 Sat Jun  6 21:46:03 1992  James Clark  (jjc@jclark)
299         * DviChar.c (Adobe_Symbol_map): Add +h, +f, +p, Fn, lz.
300         * tmac.X: Add \(bq, \(Bq, \(aq.
301         * tmac.Xps: Handle \(aq, \(bq, \(Bq, \(Fn.
303 Wed Jun  3 11:11:15 1992  James Clark  (jjc@jclark)
305         * DviChar.c (Adobe_Symbol_map): Add wp.
307 Tue Apr 21 09:21:59 1992  James Clark  (jjc at jclark)
309         * GXditview.ad: Bind n, p, q keys to NextPage, PreviousPage and
310         Quit actions.
312         * xditview.c (RerasterizeAction): New function.
313         (xditview_actions): Add RerasterizeAction.
314         * GXditview.ad: Bind r key to Rerasterize action.
316 Fri Apr 17 08:25:36 1992  James Clark  (jjc at jclark)
318         * xditview.c: Add -filename option.
319         (main): Copy any -filename argument into current_file_name.
321 Mon Mar 16 10:21:58 1992  James Clark  (jjc at jclark)
323         * tmac.X: Load tmac.pspic.
325 Sun Mar  8 11:27:19 1992  James Clark  (jjc at jclark)
327         * Lex.c (GetLine, GetWord, GetNumber): Rewrite.
329 Sat Oct 12 22:58:52 1991  James Clark  (jjc at jclark)
331         * Dvi.c (SetDevice): If the size change request is refused but a
332         larger geometry is offered, request that.
334 Wed Oct  9 12:27:48 1991  James Clark  (jjc at jclark)
336         * font.c (InstallFontSizes): Ignore FontNameAverageWidth component.
338         * Dvi.c (default_font_map): Add `adobe' to font names to avoid
339         ambiguity.
341         * FontMap: New file.
342         * FontMap.X100, FontMap.X75: Deleted.
343         * xtotroff.c (main, usage): Add -s and -r options.
344         (MapFont): Change the font pattern to have the selected resolution and
345         size.
346         * Imakefile (install.dev): Use FontMap and supply appropriate -s
347         and -r options.
349         * xtotroff.c (MapFont): Check for ambiguity by comparing canonicalized
350         font names.
352         * DviP.h (DviFontList): Add initialized and scalable members.
353         (font.c):  Add support for scalable fonts based on R5 xditview.
355         * DviChar.c: Use xmalloc rather than malloc.
356         * xditview.c (xmalloc): New function.
357         * xtotroff.c (xmalloc): New function.
358         * other files: Use XtMalloc and XtFree instead of malloc and free.
360 Thu Aug 29 20:15:31 1991  James Clark  (jjc at jclark)
362         * draw.c (setGC): Do multiplication in floating point to avoid
363         overflow.
365 Tue Aug 13 12:04:41 1991  James Clark  (jjc at jclark)
367         * draw.c (FakeCharacter): Remove casts in defintion of pack2.
369 Tue Jul 30 11:42:39 1991  James Clark  (jjc at jclark)
371         * tmac.Xps: New file.
372         * Imakefile (install): Install tmac.Xps.
374 Tue Jul  2 09:31:37 1991  James Clark  (jjc at jclark)
376         * xtotroff.c (main): Pass argv[0] to usage().
378 Sun Jun 30 12:34:06 1991  James Clark  (jjc at jclark)
380         * xtotroff.c (MapFont): Handle the case where XLoadQueryFont
381         returns NULL.
383 Sat Jun 29 12:32:52 1991  James Clark  (jjc at jclark)
385         * Imakefile: Use ../gendef to generate path.h.
387 Sun Jun 16 13:26:34 1991  James Clark  (jjc at jclark)
389         * Imakefile (depend.o): Change to device.o.
391 Sun Jun  2 12:17:56 1991  James Clark  (jjc at jclark)
393         * Imakefile: Remove spaces from the beginning of variable
394         assignment lines.
396 Sun May 26 14:14:01 1991  James Clark  (jjc at jclark)
398         * xditview.c (Syntax): Update.
400         * Dvi.c (DviSaveToFile, SaveToFile): New functions.
401         (FindPage): Check that we're not readingTmp before checking for
402         end of file of normal input file.
403         (ClassPartInitialize): New function.
404         * Dvi.h: Add declaration of DviSaveToFile.
405         * DviP.h: Add save method to DviClassPart. Declare
406         InheritSaveToFile.
407         * xditview.c (DoPrint, Print, PrintAction): New functions.
408         * xditview.c: Add print menu entry.
409         * xditview.c: Provide printCommand application resource.
410         * lex.c: Don't output EOF to temporary file.
412         * Dvi.c (QueryGeometry): Check request->request_mode.
414         * Dvi.c (SetDevice): New function.
415         (SetDeviceResolution): Deleted.
417         * Dvi.c: Add resolution resource.
418         * DviP.h: Add definitions of XtNResolution and XtCResolution.
419         * xditview.c: Add -resolution argument.
420         * GXditview.ad: Add default for GXditview.height.
421         * Dvi.c (Initialize, SetDevice): Use default_resolution.
423         * Dvi.c: Make MY_HEIGHT and MY_WIDTH use the paperlength and
424         paperwidth commands in the DESC file.
425         
426         * Dvi.c: Add SS font to default font map.
428         * draw.c: Rewritten so as not to assume device and display
429         resolution is the same.
430         * DviP.h: Include device.h. Add device_font member to DviFontList.
431         Add adjustable arrary to DviCharCache. Add text_x_width,
432         text_device_width, word_flag, device_font, device_font_number,
433         device, native, device_resolution, display_resolution,
434         paperlength, paperwidth, scale_factor, sizescale members.
435         * Dvi.c (Initialize): Initialize new variable used by draw.c
436         (Destroy): Call device_destroy.
437         * font.c (MaxFontPosition): New function.
438         (LookupFontSizeBySize): Handle sizescale.
439         (InstallFont): Load the device font.
440         (ForgetFonts): New function.
441         (QueryDeviceFont): New function.
442         * parse.c (ParseInput): Handle t and u commands. Split off
443         character output into draw.c.
444         (ParseDeviceControl): Ignore res command. Use the device argument
445         to the T command.
447         * font.c (MapXNameToDviName): Ifdefed out.
449         * path.h: New file.
450         * device.c, device.h: New files.
452         * DviChar.c: Add entries for lB, rB, oq, lC, rC, md.
454         * INSTALL: New file.
456         * libxdvi: Merged into main directory.
457         * xtotroff.c, xditview.c: Change includes accordingly.  
459         * devX75, devX100: Merged into main directory.
460         * xditview.man: Renamed to gxditview.man.
462         * Xditview.ad: Renamed to GXditview.ad.
463         * xditview.c (main): Use class of GXditview rather than xditview.
465         * Imakefile: New file.
466         * Makefile: Deleted.
468         * xtotroff.c (MapFont): Unlink output file before opening it.
470         * Started separate ChangeLog.