o Added color support
[s-roff.git] / src / xditview / ChangeLog
blob2d00ac7e47d7df60c0d496f7fe0a795930d061d8
1 2003-11-10  Werner LEMBERG  <wl@gnu.org>
3         * doc/Makefile.in: s/@top_srcdir@/@abs_top_srcdir@/,
4         s/@groff_top_builddir@/@abs_top_builddir@/.
6 Version 1.19 released
7 =====================
9 2003-03-03  Werner LEMBERG  <wl@gnu.org>
11         * Imakefile.in (extraclean): Added gxditview._man.
13 2003-01-28  Werner LEMBERG  <wl@gnu.org>
15         * Imakefile.in (SEP): New variable; set to @PATH_SEPARATOR@.
16         (GROFF_FONTPATH): Use it.
18 2003-01-07  Werner LEMBERG  <wl@gnu.org>
20         * DviChar.c (Adobe_Symbol_map): Add `sqrt'.
22 2003-01-06  Werner LEMBERG  <wl@gnu.org>
24         * DviChar.c (Adobe_Symbol_map): Add `integral'.
26 2002-12-29  Werner LEMBERG  <wl@gnu.org>
28         * DviChar.c (ISO_8859_1_map): Remove `ap' and `eq'.
30 2002-12-20  Werner LEMBERG  <wl@gnu.org>
32         * DviChar.c (Adobe_Symbol_map): Don't include `or'.
33         * draw.c (AdjustCharDeltas): Apply correction only if nadj > 1.
34         (DoCharacter): Call FlushCharCache if font size and font number
35         differ.
36         Reset `dw->dvi.cache.adjustable' properly.
38 2002-12-09  Werner LEMBERG  <wl@gnu.org>
40         * DviChar.c (ISO_8859_1_map): Use `tno' symbol instead of `no'.
42 2002-12-01  Werner LEMBERG  <wl@gnu.org>
44         * Imakefile.in: Use `InstallAppDefaultsLong' instead of
45         `InstallAppDefaults' to make it work if build directory isn't
46         $srcdir.
48 2002-11-24  Werner LEMBERG  <wl@gnu.org>
50         * DviChar.c (Adobe_Symbol_map): Add glyph `braceex'.
52 2002-11-14  Werner LEMBERG  <wl@gnu.org>
54         * DviChar.c (ISO_8859_1_map): Don't include `or'.
56 Version 1.18.1 released
57 =======================
59 2002-09-16  Werner LEMBERG  <wl@gnu.org>
61         * Imakefile.in (GROFF_LOCALFONTDIR): New variable.
62         (GROFF_FONTPATH): Use it.
63         Remove /usr/local/lib/font.
65 Version 1.18.0 released
66 =======================
68 2002-06-22  Werner LEMBERG  <wl@gnu.org>
70         * gxditview.c (main): Handle `-help' and `--help' correctly.
72 2002-06-17  Colin Watson  <cjwatson@debian.org>
74         * Imakefile.in: s/@top_builddir@/@groff_top_builddir@/.
76 2002-04-06  Werner LEMBERG  <wl@gnu.org>
78         * DviChar.c (ISO_8859_1_map, Adobe_Symbol_map): Remove all
79         characters > 0x80.
80         * parse.c (ParseInput): Ignore `m' command.
81         (ParseDrawFunction): Don't move for unknown drawing functions.
82         Don't move for `f' drawing function.
84 2002-03-25  Werner LEMBERG  <wl@gnu.org>
86         * DviChar.c (ISO_8859_1_map): Use `t+-', `tmu', and `tdi' symbols
87         instead of `+-', `mu', and `di', respectively.
89 2002-02-23  Werner LEMBERG  <wl@gnu.org>
91         * DviChar.c (ISO_8859_1_map): Add `mc' symbol.
93 2001-09-22  Werner LEMBERG  <wl@gnu.org>
95         * Imakefile.in: Redefine `ProgramTargetHelper' as
96         `ProgramTargetHelperNoMan' and add a call to `InstallManPageLong'
97         to make the `install.man' target work if the build directory isn't
98         $srcdir.
100 Version 1.17.2 released
101 =======================
103 Version 1.17.1 released
104 =======================
106 2001-04-21  Albert Chin-A-Young  <china@thewrittenword.com>
108         * Imakefile.in: Add support for recent HP architectures.
110 Version 1.17 released
111 =====================
113 2001-01-04  Rob Daasch  <daasch@ece.pdx.edu>
115         * parse.c (ParseInput): Added 'F' to command switch to swallow
116         filename strings as ignored comments.
118 2000-12-02  Werner LEMBERG  <wl@gnu.org>
120         * device.c (find_file): Remove home directory in search path.
122 2000-11-14  Werner LEMBERG  <wl@gnu.org>
124         * device.c (open_device_file): Remove `path' parameter.
125         (find_file): Construct font path similar to groff: First the contents
126         of GROFF_FONT_PATH, then the home directory, and finally the default
127         font path.
128         * Imakefile.in: Fix GROFF_DATAPROGRAMDIR and GROFF_FONTPATH.
130 2000-10-23  Werner LEMBERG  <wl@gnu.org>
132         Change installation structure for data files from .../groff/... to
133         .../groff/<version><revision>/... to be conform with other GNU
134         programs.
136         * Imakefile.in: Implement it.
138 Version 1.16.1 released
139 =======================
141 Version 1.16 released
142 =====================
144 2000-05-18  Werner LEMBERG  <wl@gnu.org>
146         * DviChar.c: Adding `cq' as an alias for "'" in latin-1 map.
148 2000-05-03  Werner LEMBERG  <wl@gnu.org>
150         * DviChar.c: Adding `dq' as an alias for `"' in latin-1 map.
152 2000-04-28  Werner LEMBERG  <wl@gnu.org>
154         * DviChar.c: Replacing `md' glyph name with `pc' in latin-1 map to
155         make it distinct from the `md' glyph in the symbol font.
157 2000-03-03  Werner LEMBERG  <wl@gnu.org>
159         * Imakefile replaced with Imakefile.in which will be configured by
160         the main configure script of groff.  This will set the correct font
161         path, and it will make it possible to build xditview in a directory
162         different from $srcdir.
164 2000-03-01  Colin Phipps  <crp22@cam.ac.uk>
166         * Dvi.c (OpenFile): Use tmpdir() for security reasons.
167         * xtotroff.c (MapFont): Avoid race while opening file.
169 2000-02-06  Werner LEMBERG  <wl@gnu.org>
171         * Imakefile: Adapted to new directory structure.
173         * README: Updated.
175 Version 1.15 released
176 =====================
178 1999-12-21  Werner LEMBERG  <wl@gnu.org>
180         * README: Fixed ftp GNU address.
182 1999-12-13  Werner LEMBERG  <wl@gnu.org>
184         * device.c: Use extern declarations of strtok(), strchr(), and
185         getenv() only if not defined as macros.
187 1999-11-18  Larry Jones  <larry.jones@sdrc.com>
189         * xditview.c: Add fallback_resources to allow running without
190         access to the app-defaults file.
192         * Imakefile: Added rule to create app-defaults to a C header file.
194         * GXditview-ad.h: New file containing fallback default resources.
196         * ad2c: New file to do the app-defaults -> C header file
197         conversion.
199 1999-10-27  Larry Jones  <larry.jones@sdrc.com>
201         * font.c (DisposeFontSizes): If there's a problem loading a font,
202         xditview will fall-back and use the default font, but it hasn't
203         checked before unloading fonts which could result in unloading the
204         default font (possibly multiple times) and then X errors.
206 1999-09-13  Werner LEMBERG  <wl@gnu.org>
208         * Imakefile (extraclean): Added Makefile.
210         * xditview.c (main, MakePrompt): Fixing compilation warnings.
212         * TODO: Imakefile should be replaced with a configure script.
214 1999-09-13  Werner LEMBERG  <wl@gnu.org>
216         * Makefile: Removed.
218 1999-09-12  Werner LEMBERG  <wl@gnu.org>
220         * Imakefile (GROFF_FONTPATH): Another addition.
222         * device.c (FONTPATH): Update to match current groff version.
224 1999-09-11  Larry Jones  <larry.jones@sdrc.com>
226         * Imakefile (GROFF_LIBDIR, GROFF_FONTPATH): Update to match
227         current groff version.
229         * Dvi.c (Realize, Destroy), DviP.h, draw.c (setFillGC), gray*.bm:
230         Allow 8 levels of gray rather than just 1.
232         * draw.c (DrawFilledCircle, DrawFilledEllipse, DrawFilledPolygon):
233         Draw outlines to prevent gaps between abutting figures.
235 1999-05-27  Werner LEMBERG  <wl@gnu.org>
237         * xtotroff.c (usage): Fixed typo.
239 Mon Sep 11 10:40:33 1995  James Clark  <jjc@jclark.com>
241         * device.c (INT_MIN, INT_MAX): Don't define if already defined.
243 Mon Aug  8 11:14:11 1994  James Clark  (jjc@jclark.com)
245         * DviChar.c (Adobe_Symbol_map): Use \(nb for notsubset.
247 Tue Apr 19 04:41:16 1994  James Clark  (jjc@jclark.com)
249         * Dvi.c (resources): Change default for background and foreground
250         to "XtDefaultBackground" and "XtDefaultForeground".
252 Sat Feb 12 10:38:47 1994  James Clark  (jjc@jclark.com)
254         * DviChar.c (Adobe_Symbol_map): Rename radicalex to rn.
256 Thu May 27 20:30:12 1993  James Clark  (jjc@jclark.com)
258         * device.c (isascii): Define if necessary.
259         (canonicalize_name): Cast argument to isdigit() to unsigned char.
261 Thu Apr 29 18:36:57 1993  James Clark  (jjc at jclark.com)
263         * xditview.c: Include <X11/Xos.h>.
264         (NewFile): Don't declare rindex(). Use strrchr() rather than
265         rindex().
267 Tue Mar 30 15:12:09 1993  James Clark  (jjc at jclark)
269         * draw.c (charExists): Check that fi->per_char is not NULL.
271 Sat Dec 12 17:42:40 1992  James Clark  (jjc at jclark)
273         * Dvi.c (SetGeometry): Cast XtMakeGeometryRequest arguments.
275         * draw.c (DrawPolygon, DrawFilledPolygon): Cast Xtfree argument.
277         * font.c (DisposeFontSizes): Add declaration.
279         * draw.c (FakeCharacter): Add declaration.
281 Wed Oct 28 13:24:00 1992  James Clark  (jjc at jclark)
283         * Imakefile (install.dev): Deleted.
284         (fonts): New target.
286 Mon Oct 12 10:50:44 1992  James Clark  (jjc at jclark)
288         * Imakefile (install.dev): Say when we're installing devX*-12.
290         * Imakefile (install.dev): Depends on DESC and FontMap.
292 Thu Oct  1 20:03:45 1992  James Clark  (jjc at jclark)
294         * xditview.c (Syntax): Mention -filename option.
296 Sat Aug 15 12:56:39 1992  James Clark  (jjc at jclark)
298         * GXditview.ad: Bind space and return to NextPage. Bind backspace
299         and delete to previous page.
301         * DviChar.c (Adobe_Symbol_map): Add `an'.
303         * DviChar.c (Adobe_Symbol_map): Add arrowvertex, arrowverttp, and
304         arrowvertbt.
306 Mon Aug 10 11:54:27 1992  James Clark  (jjc at jclark)
308         * FontMap: Add m/p fields to the fonts names.
310 Sat Aug  8 12:00:28 1992  James Clark  (jjc at jclark)
312         * DESC: Leave font positions 5-9 blank.
314 Tue Jul 28 11:37:05 1992  James Clark  (jjc at jclark)
316         * Imakefile: Don't use gendef.  Pass definition of FONTPATH using
317         DEFINES.
318         (path.h): Deleted.
319         (device.c): Don't include path.h.  Provide default definition of
320         FONTPATH.
322 Mon Jul  6 14:06:53 1992  James Clark  (jjc at jclark)
324         * Imakefile: Don't install tmac.X and tmac.Xps.
325         * tmac.X, tmac.Xps: Moved to ../macros.
327         * Imakefile: Don't install eqnchar.
328         * eqnchar: Deleted.
330 Sun Jun 14 12:55:02 1992  James Clark  (jjc@jclark)
332         * tmac.Xps: Handle OE, oe, lq, rq.
333         * draw.c (FakeCharacter): Don't handle these.
335         * draw.c (FakeCharacter): Don't handle f/. 
337 Mon Jun  8 11:46:37 1992  James Clark  (jjc@jclark)
339         * tmac.X: Translate char160 to space.
341 Sun Jun  7 14:39:53 1992  James Clark  (jjc@jclark)
343         * tmac.X: Do `mso tmac.psic' before restoring compatibility mode.
345         * tmac.X: Add \(OE, \(oe, \(ah, \(ao, \(ho.
347         * tmac.Xps: Make it work in compatibility mode.
348         Redo existing character definitions with .Xps-char.
349         Add more character definitions.
350         (Xps-char): New macro.
352 Sat Jun  6 21:46:03 1992  James Clark  (jjc@jclark)
354         * DviChar.c (Adobe_Symbol_map): Add +h, +f, +p, Fn, lz.
355         * tmac.X: Add \(bq, \(Bq, \(aq.
356         * tmac.Xps: Handle \(aq, \(bq, \(Bq, \(Fn.
358 Wed Jun  3 11:11:15 1992  James Clark  (jjc@jclark)
360         * DviChar.c (Adobe_Symbol_map): Add wp.
362 Tue Apr 21 09:21:59 1992  James Clark  (jjc at jclark)
364         * GXditview.ad: Bind n, p, q keys to NextPage, PreviousPage and
365         Quit actions.
367         * xditview.c (RerasterizeAction): New function.
368         (xditview_actions): Add RerasterizeAction.
369         * GXditview.ad: Bind r key to Rerasterize action.
371 Fri Apr 17 08:25:36 1992  James Clark  (jjc at jclark)
373         * xditview.c: Add -filename option.
374         (main): Copy any -filename argument into current_file_name.
376 Mon Mar 16 10:21:58 1992  James Clark  (jjc at jclark)
378         * tmac.X: Load tmac.pspic.
380 Sun Mar  8 11:27:19 1992  James Clark  (jjc at jclark)
382         * Lex.c (GetLine, GetWord, GetNumber): Rewrite.
384 Sat Oct 12 22:58:52 1991  James Clark  (jjc at jclark)
386         * Dvi.c (SetDevice): If the size change request is refused but a
387         larger geometry is offered, request that.
389 Wed Oct  9 12:27:48 1991  James Clark  (jjc at jclark)
391         * font.c (InstallFontSizes): Ignore FontNameAverageWidth component.
393         * Dvi.c (default_font_map): Add `adobe' to font names to avoid
394         ambiguity.
396         * FontMap: New file.
397         * FontMap.X100, FontMap.X75: Deleted.
398         * xtotroff.c (main, usage): Add -s and -r options.
399         (MapFont): Change the font pattern to have the selected resolution and
400         size.
401         * Imakefile (install.dev): Use FontMap and supply appropriate -s
402         and -r options.
404         * xtotroff.c (MapFont): Check for ambiguity by comparing canonicalized
405         font names.
407         * DviP.h (DviFontList): Add initialized and scalable members.
408         (font.c):  Add support for scalable fonts based on R5 xditview.
410         * DviChar.c: Use xmalloc rather than malloc.
411         * xditview.c (xmalloc): New function.
412         * xtotroff.c (xmalloc): New function.
413         * other files: Use XtMalloc and XtFree instead of malloc and free.
415 Thu Aug 29 20:15:31 1991  James Clark  (jjc at jclark)
417         * draw.c (setGC): Do multiplication in floating point to avoid
418         overflow.
420 Tue Aug 13 12:04:41 1991  James Clark  (jjc at jclark)
422         * draw.c (FakeCharacter): Remove casts in defintion of pack2.
424 Tue Jul 30 11:42:39 1991  James Clark  (jjc at jclark)
426         * tmac.Xps: New file.
427         * Imakefile (install): Install tmac.Xps.
429 Tue Jul  2 09:31:37 1991  James Clark  (jjc at jclark)
431         * xtotroff.c (main): Pass argv[0] to usage().
433 Sun Jun 30 12:34:06 1991  James Clark  (jjc at jclark)
435         * xtotroff.c (MapFont): Handle the case where XLoadQueryFont
436         returns NULL.
438 Sat Jun 29 12:32:52 1991  James Clark  (jjc at jclark)
440         * Imakefile: Use ../gendef to generate path.h.
442 Sun Jun 16 13:26:34 1991  James Clark  (jjc at jclark)
444         * Imakefile (depend.o): Change to device.o.
446 Sun Jun  2 12:17:56 1991  James Clark  (jjc at jclark)
448         * Imakefile: Remove spaces from the beginning of variable
449         assignment lines.
451 Sun May 26 14:14:01 1991  James Clark  (jjc at jclark)
453         * xditview.c (Syntax): Update.
455         * Dvi.c (DviSaveToFile, SaveToFile): New functions.
456         (FindPage): Check that we're not readingTmp before checking for
457         end of file of normal input file.
458         (ClassPartInitialize): New function.
459         * Dvi.h: Add declaration of DviSaveToFile.
460         * DviP.h: Add save method to DviClassPart. Declare
461         InheritSaveToFile.
462         * xditview.c (DoPrint, Print, PrintAction): New functions.
463         * xditview.c: Add print menu entry.
464         * xditview.c: Provide printCommand application resource.
465         * lex.c: Don't output EOF to temporary file.
467         * Dvi.c (QueryGeometry): Check request->request_mode.
469         * Dvi.c (SetDevice): New function.
470         (SetDeviceResolution): Deleted.
472         * Dvi.c: Add resolution resource.
473         * DviP.h: Add definitions of XtNResolution and XtCResolution.
474         * xditview.c: Add -resolution argument.
475         * GXditview.ad: Add default for GXditview.height.
476         * Dvi.c (Initialize, SetDevice): Use default_resolution.
478         * Dvi.c: Make MY_HEIGHT and MY_WIDTH use the paperlength and
479         paperwidth commands in the DESC file.
480         
481         * Dvi.c: Add SS font to default font map.
483         * draw.c: Rewritten so as not to assume device and display
484         resolution is the same.
485         * DviP.h: Include device.h. Add device_font member to DviFontList.
486         Add adjustable array to DviCharCache. Add text_x_width,
487         text_device_width, word_flag, device_font, device_font_number,
488         device, native, device_resolution, display_resolution,
489         paperlength, paperwidth, scale_factor, sizescale members.
490         * Dvi.c (Initialize): Initialize new variable used by draw.c.
491         (Destroy): Call device_destroy.
492         * font.c (MaxFontPosition): New function.
493         (LookupFontSizeBySize): Handle sizescale.
494         (InstallFont): Load the device font.
495         (ForgetFonts): New function.
496         (QueryDeviceFont): New function.
497         * parse.c (ParseInput): Handle t and u commands. Split off
498         character output into draw.c.
499         (ParseDeviceControl): Ignore res command. Use the device argument
500         to the T command.
502         * font.c (MapXNameToDviName): Ifdefed out.
504         * path.h: New file.
505         * device.c, device.h: New files.
507         * DviChar.c: Add entries for lB, rB, oq, lC, rC, md.
509         * INSTALL: New file.
511         * libxdvi: Merged into main directory.
512         * xtotroff.c, xditview.c: Change includes accordingly.  
514         * devX75, devX100: Merged into main directory.
515         * xditview.man: Renamed to gxditview.man.
517         * Xditview.ad: Renamed to GXditview.ad.
518         * xditview.c (main): Use class of GXditview rather than xditview.
520         * Imakefile: New file.
521         * Makefile: Deleted.
523         * xtotroff.c (MapFont): Unlink output file before opening it.
525         * Started separate ChangeLog.