1 1999-12-21 Werner LEMBERG <wl@gnu.org>
3 * README: Fixed ftp GNU address.
5 1999-12-13 Werner LEMBERG <wl@gnu.org>
7 * device.c: Use extern declarations of strtok(), strchr(), and
8 getenv() only if not defined as macros.
10 1999-11-18 Larry Jones <larry.jones@sdrc.com>
12 * xditview.c: Add fallback_resources to allow running without
13 access to the app-defaults file.
15 * Imakefile: Added rule to create app-defaults to a C header file.
17 * GXditview-ad.h: New file containing fallback default resources.
19 * ad2c: New file to do the app-defaults -> C header file
22 1999-10-27 Larry Jones <larry.jones@sdrc.com>
24 * font.c (DisposeFontSizes): If there's a problem loading a font,
25 xditview will fall-back and use the default font, but it hasn't
26 checked before unloading fonts which could result in unloading the
27 default font (possibly multiple times) and then X errors.
29 1999-09-13 Werner LEMBERG <wl@gnu.org>
31 * Imakefile (extraclean): Added Makefile.
33 * xditview.c (main, MakePrompt): Fixing compilation warnings.
35 * TODO: Imakefile should be replaced with a configure script.
37 1999-09-12 Werner LEMBERG <wl@gnu.org>
39 * Imakefile (GROFF_FONTPATH): Another addition.
41 * device.c (FONTPATH): Update to match current groff version.
43 1999-09-11 Larry Jones <larry.jones@sdrc.com>
45 * Imakefile (GROFF_LIBDIR, GROFF_FONTPATH): Update to match
46 current groff version.
48 * Dvi.c (Realize, Destroy), DviP.h, draw.c (setFillGC), gray*.bm:
49 Allow 8 levels of gray rather than just 1.
51 * draw.c (DrawFilledCircle, DrawFilledEllipse, DrawFilledPolygon):
52 Draw outlines to prevent gaps between abutting figures.
54 1999-05-27 Werner LEMBERG <wl@gnu.org>
56 * xtotroff.c (usage): Fixed typo.
58 Mon Sep 11 10:40:33 1995 James Clark <jjc@jclark.com>
60 * device.c (INT_MIN, INT_MAX): Don't define if already defined.
62 Mon Aug 8 11:14:11 1994 James Clark (jjc@jclark.com)
64 * DviChar.c (Adobe_Symbol_map): Use \(nb for notsubset.
66 Tue Apr 19 04:41:16 1994 James Clark (jjc@jclark.com)
68 * Dvi.c (resources): Change default for background and foreground
69 to "XtDefaultBackground" and "XtDefaultForeground".
71 Sat Feb 12 10:38:47 1994 James Clark (jjc@jclark.com)
73 * DviChar.c (Adobe_Symbol_map): Rename radicalex to rn.
75 Thu May 27 20:30:12 1993 James Clark (jjc@jclark.com)
77 * device.c (isascii): Define if necessary.
78 (canonicalize_name): Cast argument to isdigit() to unsigned char.
80 Thu Apr 29 18:36:57 1993 James Clark (jjc at jclark.com)
82 * xditview.c: Include <X11/Xos.h>.
83 (NewFile): Don't declare rindex(). Use strrchr() rather than
86 Tue Mar 30 15:12:09 1993 James Clark (jjc at jclark)
88 * draw.c (charExists): Check that fi->per_char is not NULL.
90 Sat Dec 12 17:42:40 1992 James Clark (jjc at jclark)
92 * Dvi.c (SetGeometry): Cast XtMakeGeometryRequest arguments.
94 * draw.c (DrawPolygon, DrawFilledPolygon): Cast Xtfree argument.
96 * font.c (DisposeFontSizes): Add declaration.
98 * draw.c (FakeCharacter): Add declaration.
100 Wed Oct 28 13:24:00 1992 James Clark (jjc at jclark)
102 * Imakefile (install.dev): Deleted.
105 Mon Oct 12 10:50:44 1992 James Clark (jjc at jclark)
107 * Imakefile (install.dev): Say when we're installing devX*-12.
109 * Imakefile (install.dev): Depends on DESC and FontMap.
111 Thu Oct 1 20:03:45 1992 James Clark (jjc at jclark)
113 * xditview.c (Syntax): Mention -filename option.
115 Sat Aug 15 12:56:39 1992 James Clark (jjc at jclark)
117 * GXditview.ad: Bind space and return to NextPage. Bind backspace
118 and delete to previous page.
120 * DviChar.c (Adobe_Symbol_map): Add `an'.
122 * DviChar.c (Adobe_Symbol_map): Add arrowvertex, arrowverttp, and
125 Mon Aug 10 11:54:27 1992 James Clark (jjc at jclark)
127 * FontMap: Add m/p fields to the fonts names.
129 Sat Aug 8 12:00:28 1992 James Clark (jjc at jclark)
131 * DESC: Leave font positions 5-9 blank.
133 Tue Jul 28 11:37:05 1992 James Clark (jjc at jclark)
135 * Imakefile: Don't use gendef. Pass definition of FONTPATH using
138 (device.c): Don't include path.h. Provide default definition of
141 Mon Jul 6 14:06:53 1992 James Clark (jjc at jclark)
143 * Imakefile: Don't install tmac.X and tmac.Xps.
144 * tmac.X, tmac.Xps: Moved to ../macros.
146 * Imakefile: Don't install eqnchar.
149 Sun Jun 14 12:55:02 1992 James Clark (jjc@jclark)
151 * tmac.Xps: Handle OE, oe, lq, rq.
152 * draw.c (FakeCharacter): Don't handle these.
154 * draw.c (FakeCharacter): Don't handle f/.
156 Mon Jun 8 11:46:37 1992 James Clark (jjc@jclark)
158 * tmac.X: Translate char160 to space.
160 Sun Jun 7 14:39:53 1992 James Clark (jjc@jclark)
162 * tmac.X: Do `mso tmac.psic' before restoring compatibility mode.
164 * tmac.X: Add \(OE, \(oe, \(ah, \(ao, \(ho.
166 * tmac.Xps: Make it work in compatibility mode.
167 Redo existing character definitions with .Xps-char.
168 Add more character definitions.
169 (Xps-char): New macro.
171 Sat Jun 6 21:46:03 1992 James Clark (jjc@jclark)
173 * DviChar.c (Adobe_Symbol_map): Add +h, +f, +p, Fn, lz.
174 * tmac.X: Add \(bq, \(Bq, \(aq.
175 * tmac.Xps: Handle \(aq, \(bq, \(Bq, \(Fn.
177 Wed Jun 3 11:11:15 1992 James Clark (jjc@jclark)
179 * DviChar.c (Adobe_Symbol_map): Add wp.
181 Tue Apr 21 09:21:59 1992 James Clark (jjc at jclark)
183 * GXditview.ad: Bind n, p, q keys to NextPage, PreviousPage and
186 * xditview.c (RerasterizeAction): New function.
187 (xditview_actions): Add RerasterizeAction.
188 * GXditview.ad: Bind r key to Rerasterize action.
190 Fri Apr 17 08:25:36 1992 James Clark (jjc at jclark)
192 * xditview.c: Add -filename option.
193 (main): Copy any -filename argument into current_file_name.
195 Mon Mar 16 10:21:58 1992 James Clark (jjc at jclark)
197 * tmac.X: Load tmac.pspic.
199 Sun Mar 8 11:27:19 1992 James Clark (jjc at jclark)
201 * Lex.c (GetLine, GetWord, GetNumber): Rewrite.
203 Sat Oct 12 22:58:52 1991 James Clark (jjc at jclark)
205 * Dvi.c (SetDevice): If the size change request is refused but a
206 larger geometry is offered, request that.
208 Wed Oct 9 12:27:48 1991 James Clark (jjc at jclark)
210 * font.c (InstallFontSizes): Ignore FontNameAverageWidth component.
212 * Dvi.c (default_font_map): Add `adobe' to font names to avoid
216 * FontMap.X100, FontMap.X75: Deleted.
217 * xtotroff.c (main, usage): Add -s and -r options.
218 (MapFont): Change the font pattern to have the selected resolution and
220 * Imakefile (install.dev): Use FontMap and supply appropriate -s
223 * xtotroff.c (MapFont): Check for ambiguity by comparing canonicalized
226 * DviP.h (DviFontList): Add initialized and scalable members.
227 (font.c): Add support for scalable fonts based on R5 xditview.
229 * DviChar.c: Use xmalloc rather than malloc.
230 * xditview.c (xmalloc): New function.
231 * xtotroff.c (xmalloc): New function.
232 * other files: Use XtMalloc and XtFree instead of malloc and free.
234 Thu Aug 29 20:15:31 1991 James Clark (jjc at jclark)
236 * draw.c (setGC): Do multiplication in floating point to avoid
239 Tue Aug 13 12:04:41 1991 James Clark (jjc at jclark)
241 * draw.c (FakeCharacter): Remove casts in defintion of pack2.
243 Tue Jul 30 11:42:39 1991 James Clark (jjc at jclark)
245 * tmac.Xps: New file.
246 * Imakefile (install): Install tmac.Xps.
248 Tue Jul 2 09:31:37 1991 James Clark (jjc at jclark)
250 * xtotroff.c (main): Pass argv[0] to usage().
252 Sun Jun 30 12:34:06 1991 James Clark (jjc at jclark)
254 * xtotroff.c (MapFont): Handle the case where XLoadQueryFont
257 Sat Jun 29 12:32:52 1991 James Clark (jjc at jclark)
259 * Imakefile: Use ../gendef to generate path.h.
261 Sun Jun 16 13:26:34 1991 James Clark (jjc at jclark)
263 * Imakefile (depend.o): Change to device.o.
265 Sun Jun 2 12:17:56 1991 James Clark (jjc at jclark)
267 * Imakefile: Remove spaces from the beginning of variable
270 Sun May 26 14:14:01 1991 James Clark (jjc at jclark)
272 * xditview.c (Syntax): Update.
274 * Dvi.c (DviSaveToFile, SaveToFile): New functions.
275 (FindPage): Check that we're not readingTmp before checking for
276 end of file of normal input file.
277 (ClassPartInitialize): New function.
278 * Dvi.h: Add declaration of DviSaveToFile.
279 * DviP.h: Add save method to DviClassPart. Declare
281 * xditview.c (DoPrint, Print, PrintAction): New functions.
282 * xditview.c: Add print menu entry.
283 * xditview.c: Provide printCommand application resource.
284 * lex.c: Don't output EOF to temporary file.
286 * Dvi.c (QueryGeometry): Check request->request_mode.
288 * Dvi.c (SetDevice): New function.
289 (SetDeviceResolution): Deleted.
291 * Dvi.c: Add resolution resource.
292 * DviP.h: Add definitions of XtNResolution and XtCResolution.
293 * xditview.c: Add -resolution argument.
294 * GXditview.ad: Add default for GXditview.height.
295 * Dvi.c (Initialize, SetDevice): Use default_resolution.
297 * Dvi.c: Make MY_HEIGHT and MY_WIDTH use the paperlength and
298 paperwidth commands in the DESC file.
300 * Dvi.c: Add SS font to default font map.
302 * draw.c: Rewritten so as not to assume device and display
303 resolution is the same.
304 * DviP.h: Include device.h. Add device_font member to DviFontList.
305 Add adjustable arrary to DviCharCache. Add text_x_width,
306 text_device_width, word_flag, device_font, device_font_number,
307 device, native, device_resolution, display_resolution,
308 paperlength, paperwidth, scale_factor, sizescale members.
309 * Dvi.c (Initialize): Initialize new variable used by draw.c
310 (Destroy): Call device_destroy.
311 * font.c (MaxFontPosition): New function.
312 (LookupFontSizeBySize): Handle sizescale.
313 (InstallFont): Load the device font.
314 (ForgetFonts): New function.
315 (QueryDeviceFont): New function.
316 * parse.c (ParseInput): Handle t and u commands. Split off
317 character output into draw.c.
318 (ParseDeviceControl): Ignore res command. Use the device argument
321 * font.c (MapXNameToDviName): Ifdefed out.
324 * device.c, device.h: New files.
326 * DviChar.c: Add entries for lB, rB, oq, lC, rC, md.
330 * libxdvi: Merged into main directory.
331 * xtotroff.c, xditview.c: Change includes accordingly.
333 * devX75, devX100: Merged into main directory.
334 * xditview.man: Renamed to gxditview.man.
336 * Xditview.ad: Renamed to GXditview.ad.
337 * xditview.c (main): Use class of GXditview rather than xditview.
339 * Imakefile: New file.
342 * xtotroff.c (MapFont): Unlink output file before opening it.
344 * Started separate ChangeLog.