summaryrefslogtreecommitdiff
path: root/src/devices/grohtml/ChangeLog
blob: 9cc5ec05d29975ced6d570c8540666a711c3e425 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
2000-08-23  Gaius Mulley  <gaius@glam.ac.uk>

	* html.cc (char_translate_to_html): New function.
	(str_translate_to_html): Use it.

2000-06-17  Eli Zaretskii  <eliz@is.elta.co.il>

	* html.cc [!_POSIX_VERSION]: Include limits.h and dirent.h or
	sys/dir.h.  Define NAME_MAX using MAXNAMLEN.  Include nonposix.h.
	(file_name_max): New function.
	(html_printer::make_new_image_name): If the filesystem doesn't
	support file names longer than 14 characters, use a shorter
	image_name string.
	(html_printer::convert_to_image): Enlarge the size of buffer[] to
	accomodate 2 temp file names plus some slack.  Don't put \n at the
	end of commands passed to system().  Redirect stderr to the null
	device programmatically, not via the shell.  Use NULL_DEV, not
	literal "/dev/null".  Print diagnostics if any calls to system()
	failed.

2000-05-31  Keith Thompson  <kst@SDSC.EDU>

	* html.cc: Added declaration of mktemp() as needed for SunOS 4.1.3.

2000-05-11  Werner LEMBERG  <wl@gnu.org>

	* output.cc (simple_output::simple_output): Reordering of
	initializers to remove compiler warning.

2000-04-28  Gaius Mulley  <gaius@glam.ac.uk>

	* html.cc (calculate_margin): Calculate the left and right margin
	irrespective of the boolean `margin_on'.  Fixes a divide by zero bug
	and a column bug as reported by Steve Blinkhorn <steve@prd.co.uk>.
	Improved the behaviour of the -m (margin on) option.

	* html.cc (make_html_indent): More checking.

	* html.cc (right_indentation): Fixed substitution slip-up.
	
2000-03-30  Werner LEMBERG  <wl@gnu.org>

	* grohtml.man: Document use of whitespace between command line
	arguments and its parameters.

2000-03-17  Werner LEMBERG  <wl@gnu.org>

	* grohtml.man: Some formatting.

2000-03-11  Werner LEMBERG  <wl@gnu.org>

	* ordered_list.h (list_element): Added `<T>' twice to satisfy picky
	compilers.

2000-03-01  Gaius Mulley  <gaius@glam.ac.uk>

	* html.cc (handle_unknown_font_command): Removed dead code as
	spotted by Werner.
	
2000-02-11  Gaius Mulley  <gaius@glam.ac.uk>

	* html.cc (create_tmp_file, create_temp_name): Removed.  It has been
	replaced with calls to xtmpfile() and xtmptemplate().

2000-02-07  Gaius Mulley  <gaius@glam.ac.uk>

	* html.cc (html_printer::make_new_image_name): Tidied up file and
	fixed name of image if the source file is in a different directory.

	* html.cc (create_file): Renamed to create_tmp_file.
	
2000-02-07  Colin Phipps  <crp22@cam.ac.uk>

	* html.cc (create_file): Identified & fixed security bug when
	creating files in /tmp.

2000-02-06  Werner LEMBERG  <wl@gnu.org>

	* Makefile.sub: Adapted to new directory structure.

2000-01-28  Gaius Mulley  <gaius@glam.ac.uk>

	* html.cc: Minor fixes.

2000-01-27  Gaius Mulley  <gaius@glam.ac.uk>

	* html.cc: Added support for the new tcommand `F'.
	* TODO: Updated.
	
2000-01-24  Gaius Mulley  <gaius@glam.ac.uk>

	* design.ms: Revised.  Removed TODO stuff.

	* TODO: New file.

2000-01-21  Gaius Mulley  <gaius@glam.ac.uk>

	* html.cc: Add support for char names in special requests (to
	support e.g. accented characters in HTML specials).

2000-01-14  Gaius Mulley  <gaius@glam.ac.uk>

	* html.cc, html.h: Many fixes to table code.

	Fixes to manual page handling, font changes, spaces, and
	diacritical characters.  All *standard* html character encodings
	are handled.
	
	Added -T option which turns off all image generation for tables. 
	One day grohtml should be able to determine this for itself.

	Altered image name to: <groff_input_file>-<index>.png as per
	Werners suggestion.

	* grohtml.man: Document -T option.

	* html_chars.h: New file, providing diacritical table support.

	* output.cc: New file, providing basic output routines for grohtml.

	* Makefile.sub: Added output.cc.

	* Makefile.dep: Updated.

2000-01-13  Bruno Haible  <haible@clisp.cons.org>

	* html.cc: Avoid most "g++ -Wall -Wno-sign-compare" warnings.

2000-01-10  Werner Lemberg  <wl@gnu.org>

	* html.cc: Use Version_string instead of version_string.

1999-12-30  Gaius Mulley  <gaius@glam.ac.uk>

	* html.cc (is_appropriate_to_start_table): Added a missing
	declaration.

1999-12-28  Gaius Mulley  <gaius@glam.ac.uk>

	* html.cc: Revisited the table handling code with a vengeance,
	aiming to make manual pages generate sensible html.
	Superscripting/subscripting revisited.  Fixed wierd table lengths.
	Table widths are now specified in percentages.  Fixed the man.n
	test example which Werner reported.

Version 1.15 released
=====================

1999-12-21  Werner LEMBERG  <wl@gnu.org>

	* grohtml.man: Fixed copyright year.

1999-12-15  Gaius Mulley  <gaius@glam.ac.uk>

	* html.cc: Some other fixes.

1999-12-13  Gaius Mulley  <gaius@glam.ac.uk>

	* html.cc (main): Added new option `-x' to help debugging tables.

1999-12-11  Gaius Mulley  <gaius@glam.ac.uk>

	* html.cc: Fixed image position bugs.  However, three major bugs
	remain: Firstly, grohtml sometimes miscalculates the end of an
	html table resulting in text which appears twice.  Secondly,
	equation numbers are not handled correctly.  Thirdly, equation
	macros and pic macros can confuse grohtml; this can be seen by
	nested `graphic-start's -- I believe the best method to solve this
	is to detect .EQ, .EN, .TS, .TE, .PS, .PE sequences in troff and
	add the graphic-start special character at this point.

	* grohtml.man: Minor fixes.
	
1999-11-29  Gaius Mulley  <gaius@glam.ac.uk>

	* design.ms: More updates; added some basic introductional
	information.

	* html.cc: Fixed more bugs mainly in the table handling code.
	Making the code terminate a table at the correct position.
	Indented .IPs appear to work now.  Region ends also correctly
	terminate tables.

1999-11-16  Gaius Mulley  <gaius@glam.ac.uk>

	* design.ms, grohtml.man: Updated.

	* html.cc, ordered_list.h: Fixed many bugs in the table handling
	code.  Reverted the -t switch so that table handling code is used
	by default and users must turn it off with -t.

	Manual page generation using `groff -Thtml -man' is much better
	due in large part to the table code and minor alterations in
	tmac.an.

1999-10-30  Gaius Mulley  <gaius@glam.ac.uk>

	* implemented auto formatting and introduced html table
	code. Fixed several text handling bugs and grohtml will
	detect centered lines - an offshoot of the html table code.

	* reverted meaning of grohtml's `-a' switch: using -a means that
	output will be preformatted.

1999-10-05  Gaius Mulley  <gaius@glam.ac.uk>

	* Introduced command line options -r to determine the resolution
	of generated images, -I to determine the format of images
	generated.

	* Fixed many bugs to do with superscripts, subscripts,
	indentation, font changes, and extraneous spaces.

	* Fixed bug in determining the range of polygons and splines.

	* Updated the manual page to reflect the new options.

	* The default image type is png format, however this will only
	work if you have a gs with a png output device.  If you don't have
	a gs with this ability you can either reconfigure html to generate
	gif images by default (alter a #define in html.cc).  Or
	alternatively you can use the -Igif option.

1999-09-27  Werner LEMBERG  <wl@gnu.org>

	* html.cc (move_horizontal): Fonts have changed one character too
	late.
	
1999-09-26  Werner LEMBERG  <wl@gnu.org>

	* grohtml.man: Minor cosmetic fixes.

1999-09-25  Gaius Mulley <gaius@glam.ac.uk>

	* grohtml.man, html.cc: Rewrite of the html text component.  Basic
	font faces supported together with font types.  Superscript and
	subscript have also been implemented.  Temporarily removed the
	-P-a switch on grohtml as it is not working (never worked).  This
	is the next `to do'.  Added a simple macro tmac.arkup which
	contains simple html features.  This macro needs further work.
	Arc, spline, polygon fill have all been added and arc max/min xy
	limits are calculated, the same needs to be done for spline.  Many
	bugs have been fixed regarding basic html text.

	* design.ms: New file describing how html.cc works.

Aug 1999

	Initial release, very basic html text generated, quite ugly text
	is generated according to many reports :-) Equations, tables,
	pictures generate gif files via gs and ppmquant, ppmtogif, grops.