* Imakefile replaced with Imakefile.in
[s-roff.git] / src / xditview / ChangeLog
blob0a4610b4de12f7bd07e856658daaa40f693b3af9
1 2000-03-03  Werner LEMBERG  <wl@gnu.org>
3         * Imakefile replaced with Imakefile.in which will be configured by
4         the main configure script of groff.  This will set the correct font
5         path, and it will make it possible to build xditview in a directory
6         different from $srcdir.
8 2000-03-01  Colin Phipps  <crp22@cam.ac.uk>
10         * Dvi.c (OpenFile): Use tmpdir() for security reasons.
11         * xtotroff.c (MapFont): Avoid race while opening file.
13 2000-02-06  Werner LEMBERG  <wl@gnu.org>
15         * Imakefile: Adapted to new directory structure.
17         * README: Updated.
19 Version 1.15 released
20 =====================
22 1999-12-21  Werner LEMBERG  <wl@gnu.org>
24         * README: Fixed ftp GNU address.
26 1999-12-13  Werner LEMBERG  <wl@gnu.org>
28         * device.c: Use extern declarations of strtok(), strchr(), and
29         getenv() only if not defined as macros.
31 1999-11-18  Larry Jones  <larry.jones@sdrc.com>
33         * xditview.c: Add fallback_resources to allow running without
34         access to the app-defaults file.
36         * Imakefile: Added rule to create app-defaults to a C header file.
38         * GXditview-ad.h: New file containing fallback default resources.
40         * ad2c: New file to do the app-defaults -> C header file
41         conversion.
43 1999-10-27  Larry Jones  <larry.jones@sdrc.com>
45         * font.c (DisposeFontSizes): If there's a problem loading a font,
46         xditview will fall-back and use the default font, but it hasn't
47         checked before unloading fonts which could result in unloading the
48         default font (possibly multiple times) and then X errors.
50 1999-09-13  Werner LEMBERG  <wl@gnu.org>
52         * Imakefile (extraclean): Added Makefile.
54         * xditview.c (main, MakePrompt): Fixing compilation warnings.
56         * TODO: Imakefile should be replaced with a configure script.
58 1999-09-12  Werner LEMBERG  <wl@gnu.org>
60         * Imakefile (GROFF_FONTPATH): Another addition.
62         * device.c (FONTPATH): Update to match current groff version.
64 1999-09-11  Larry Jones  <larry.jones@sdrc.com>
66         * Imakefile (GROFF_LIBDIR, GROFF_FONTPATH): Update to match
67         current groff version.
69         * Dvi.c (Realize, Destroy), DviP.h, draw.c (setFillGC), gray*.bm:
70         Allow 8 levels of gray rather than just 1.
72         * draw.c (DrawFilledCircle, DrawFilledEllipse, DrawFilledPolygon):
73         Draw outlines to prevent gaps between abutting figures.
75 1999-05-27  Werner LEMBERG  <wl@gnu.org>
77         * xtotroff.c (usage): Fixed typo.
79 Mon Sep 11 10:40:33 1995  James Clark  <jjc@jclark.com>
81         * device.c (INT_MIN, INT_MAX): Don't define if already defined.
83 Mon Aug  8 11:14:11 1994  James Clark  (jjc@jclark.com)
85         * DviChar.c (Adobe_Symbol_map): Use \(nb for notsubset.
87 Tue Apr 19 04:41:16 1994  James Clark  (jjc@jclark.com)
89         * Dvi.c (resources): Change default for background and foreground
90         to "XtDefaultBackground" and "XtDefaultForeground".
92 Sat Feb 12 10:38:47 1994  James Clark  (jjc@jclark.com)
94         * DviChar.c (Adobe_Symbol_map): Rename radicalex to rn.
96 Thu May 27 20:30:12 1993  James Clark  (jjc@jclark.com)
98         * device.c (isascii): Define if necessary.
99         (canonicalize_name): Cast argument to isdigit() to unsigned char.
101 Thu Apr 29 18:36:57 1993  James Clark  (jjc at jclark.com)
103         * xditview.c: Include <X11/Xos.h>.
104         (NewFile): Don't declare rindex(). Use strrchr() rather than
105         rindex().
107 Tue Mar 30 15:12:09 1993  James Clark  (jjc at jclark)
109         * draw.c (charExists): Check that fi->per_char is not NULL.
111 Sat Dec 12 17:42:40 1992  James Clark  (jjc at jclark)
113         * Dvi.c (SetGeometry): Cast XtMakeGeometryRequest arguments.
115         * draw.c (DrawPolygon, DrawFilledPolygon): Cast Xtfree argument.
117         * font.c (DisposeFontSizes): Add declaration.
119         * draw.c (FakeCharacter): Add declaration.
121 Wed Oct 28 13:24:00 1992  James Clark  (jjc at jclark)
123         * Imakefile (install.dev): Deleted.
124         (fonts): New target.
126 Mon Oct 12 10:50:44 1992  James Clark  (jjc at jclark)
128         * Imakefile (install.dev): Say when we're installing devX*-12.
130         * Imakefile (install.dev): Depends on DESC and FontMap.
132 Thu Oct  1 20:03:45 1992  James Clark  (jjc at jclark)
134         * xditview.c (Syntax): Mention -filename option.
136 Sat Aug 15 12:56:39 1992  James Clark  (jjc at jclark)
138         * GXditview.ad: Bind space and return to NextPage. Bind backspace
139         and delete to previous page.
141         * DviChar.c (Adobe_Symbol_map): Add `an'.
143         * DviChar.c (Adobe_Symbol_map): Add arrowvertex, arrowverttp, and
144         arrowvertbt.
146 Mon Aug 10 11:54:27 1992  James Clark  (jjc at jclark)
148         * FontMap: Add m/p fields to the fonts names.
150 Sat Aug  8 12:00:28 1992  James Clark  (jjc at jclark)
152         * DESC: Leave font positions 5-9 blank.
154 Tue Jul 28 11:37:05 1992  James Clark  (jjc at jclark)
156         * Imakefile: Don't use gendef.  Pass definition of FONTPATH using
157         DEFINES.
158         (path.h): Deleted.
159         (device.c): Don't include path.h.  Provide default definition of
160         FONTPATH.
162 Mon Jul  6 14:06:53 1992  James Clark  (jjc at jclark)
164         * Imakefile: Don't install tmac.X and tmac.Xps.
165         * tmac.X, tmac.Xps: Moved to ../macros.
167         * Imakefile: Don't install eqnchar.
168         * eqnchar: Deleted.
170 Sun Jun 14 12:55:02 1992  James Clark  (jjc@jclark)
172         * tmac.Xps: Handle OE, oe, lq, rq.
173         * draw.c (FakeCharacter): Don't handle these.
175         * draw.c (FakeCharacter): Don't handle f/. 
177 Mon Jun  8 11:46:37 1992  James Clark  (jjc@jclark)
179         * tmac.X: Translate char160 to space.
181 Sun Jun  7 14:39:53 1992  James Clark  (jjc@jclark)
183         * tmac.X: Do `mso tmac.psic' before restoring compatibility mode.
185         * tmac.X: Add \(OE, \(oe, \(ah, \(ao, \(ho.
187         * tmac.Xps: Make it work in compatibility mode.
188         Redo existing character definitions with .Xps-char.
189         Add more character definitions.
190         (Xps-char): New macro.
192 Sat Jun  6 21:46:03 1992  James Clark  (jjc@jclark)
194         * DviChar.c (Adobe_Symbol_map): Add +h, +f, +p, Fn, lz.
195         * tmac.X: Add \(bq, \(Bq, \(aq.
196         * tmac.Xps: Handle \(aq, \(bq, \(Bq, \(Fn.
198 Wed Jun  3 11:11:15 1992  James Clark  (jjc@jclark)
200         * DviChar.c (Adobe_Symbol_map): Add wp.
202 Tue Apr 21 09:21:59 1992  James Clark  (jjc at jclark)
204         * GXditview.ad: Bind n, p, q keys to NextPage, PreviousPage and
205         Quit actions.
207         * xditview.c (RerasterizeAction): New function.
208         (xditview_actions): Add RerasterizeAction.
209         * GXditview.ad: Bind r key to Rerasterize action.
211 Fri Apr 17 08:25:36 1992  James Clark  (jjc at jclark)
213         * xditview.c: Add -filename option.
214         (main): Copy any -filename argument into current_file_name.
216 Mon Mar 16 10:21:58 1992  James Clark  (jjc at jclark)
218         * tmac.X: Load tmac.pspic.
220 Sun Mar  8 11:27:19 1992  James Clark  (jjc at jclark)
222         * Lex.c (GetLine, GetWord, GetNumber): Rewrite.
224 Sat Oct 12 22:58:52 1991  James Clark  (jjc at jclark)
226         * Dvi.c (SetDevice): If the size change request is refused but a
227         larger geometry is offered, request that.
229 Wed Oct  9 12:27:48 1991  James Clark  (jjc at jclark)
231         * font.c (InstallFontSizes): Ignore FontNameAverageWidth component.
233         * Dvi.c (default_font_map): Add `adobe' to font names to avoid
234         ambiguity.
236         * FontMap: New file.
237         * FontMap.X100, FontMap.X75: Deleted.
238         * xtotroff.c (main, usage): Add -s and -r options.
239         (MapFont): Change the font pattern to have the selected resolution and
240         size.
241         * Imakefile (install.dev): Use FontMap and supply appropriate -s
242         and -r options.
244         * xtotroff.c (MapFont): Check for ambiguity by comparing canonicalized
245         font names.
247         * DviP.h (DviFontList): Add initialized and scalable members.
248         (font.c):  Add support for scalable fonts based on R5 xditview.
250         * DviChar.c: Use xmalloc rather than malloc.
251         * xditview.c (xmalloc): New function.
252         * xtotroff.c (xmalloc): New function.
253         * other files: Use XtMalloc and XtFree instead of malloc and free.
255 Thu Aug 29 20:15:31 1991  James Clark  (jjc at jclark)
257         * draw.c (setGC): Do multiplication in floating point to avoid
258         overflow.
260 Tue Aug 13 12:04:41 1991  James Clark  (jjc at jclark)
262         * draw.c (FakeCharacter): Remove casts in defintion of pack2.
264 Tue Jul 30 11:42:39 1991  James Clark  (jjc at jclark)
266         * tmac.Xps: New file.
267         * Imakefile (install): Install tmac.Xps.
269 Tue Jul  2 09:31:37 1991  James Clark  (jjc at jclark)
271         * xtotroff.c (main): Pass argv[0] to usage().
273 Sun Jun 30 12:34:06 1991  James Clark  (jjc at jclark)
275         * xtotroff.c (MapFont): Handle the case where XLoadQueryFont
276         returns NULL.
278 Sat Jun 29 12:32:52 1991  James Clark  (jjc at jclark)
280         * Imakefile: Use ../gendef to generate path.h.
282 Sun Jun 16 13:26:34 1991  James Clark  (jjc at jclark)
284         * Imakefile (depend.o): Change to device.o.
286 Sun Jun  2 12:17:56 1991  James Clark  (jjc at jclark)
288         * Imakefile: Remove spaces from the beginning of variable
289         assignment lines.
291 Sun May 26 14:14:01 1991  James Clark  (jjc at jclark)
293         * xditview.c (Syntax): Update.
295         * Dvi.c (DviSaveToFile, SaveToFile): New functions.
296         (FindPage): Check that we're not readingTmp before checking for
297         end of file of normal input file.
298         (ClassPartInitialize): New function.
299         * Dvi.h: Add declaration of DviSaveToFile.
300         * DviP.h: Add save method to DviClassPart. Declare
301         InheritSaveToFile.
302         * xditview.c (DoPrint, Print, PrintAction): New functions.
303         * xditview.c: Add print menu entry.
304         * xditview.c: Provide printCommand application resource.
305         * lex.c: Don't output EOF to temporary file.
307         * Dvi.c (QueryGeometry): Check request->request_mode.
309         * Dvi.c (SetDevice): New function.
310         (SetDeviceResolution): Deleted.
312         * Dvi.c: Add resolution resource.
313         * DviP.h: Add definitions of XtNResolution and XtCResolution.
314         * xditview.c: Add -resolution argument.
315         * GXditview.ad: Add default for GXditview.height.
316         * Dvi.c (Initialize, SetDevice): Use default_resolution.
318         * Dvi.c: Make MY_HEIGHT and MY_WIDTH use the paperlength and
319         paperwidth commands in the DESC file.
320         
321         * Dvi.c: Add SS font to default font map.
323         * draw.c: Rewritten so as not to assume device and display
324         resolution is the same.
325         * DviP.h: Include device.h. Add device_font member to DviFontList.
326         Add adjustable arrary to DviCharCache. Add text_x_width,
327         text_device_width, word_flag, device_font, device_font_number,
328         device, native, device_resolution, display_resolution,
329         paperlength, paperwidth, scale_factor, sizescale members.
330         * Dvi.c (Initialize): Initialize new variable used by draw.c
331         (Destroy): Call device_destroy.
332         * font.c (MaxFontPosition): New function.
333         (LookupFontSizeBySize): Handle sizescale.
334         (InstallFont): Load the device font.
335         (ForgetFonts): New function.
336         (QueryDeviceFont): New function.
337         * parse.c (ParseInput): Handle t and u commands. Split off
338         character output into draw.c.
339         (ParseDeviceControl): Ignore res command. Use the device argument
340         to the T command.
342         * font.c (MapXNameToDviName): Ifdefed out.
344         * path.h: New file.
345         * device.c, device.h: New files.
347         * DviChar.c: Add entries for lB, rB, oq, lC, rC, md.
349         * INSTALL: New file.
351         * libxdvi: Merged into main directory.
352         * xtotroff.c, xditview.c: Change includes accordingly.  
354         * devX75, devX100: Merged into main directory.
355         * xditview.man: Renamed to gxditview.man.
357         * Xditview.ad: Renamed to GXditview.ad.
358         * xditview.c (main): Use class of GXditview rather than xditview.
360         * Imakefile: New file.
361         * Makefile: Deleted.
363         * xtotroff.c (MapFont): Unlink output file before opening it.
365         * Started separate ChangeLog.