-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog.118
3802 lines (2801 loc) · 123 KB
/
ChangeLog.118
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
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Version 1.18.1 released 2002-10-08
==================================
2002-10-08 Werner LEMBERG <[email protected]>
* doc/webpage.ms, NEWS: Updated.
2002-10-07 Werner LEMBERG <[email protected]>
* tmac/doc-common (Ss): Add final `.ns' (similar to `.Sh') to
suppress additional whitespace after the header.
* tmac/doc-ditroff, tmac/doc-nroff (Am): New string to be in sync
with NetBSD.
* src/preproc/grn/grn.man, tmac/groff_mdoc.man, NEWS: Updated.
2002-10-07 Ruslan Ermilov <[email protected]>
* tmac/doc-common(doc-volume-operating-system-ateol): New flag.
(Dt): Use it to improve language localization (especially Russian
and French).
2002-10-07 Daniel Senderowicz <[email protected]>
* src/preproc/grn/gprint.h (BSPLINE, BEZIER): New macros.
* src/preproc/grn/hdb.cc (DBGetType): Parse spline and bezier
drawing commands.
* src/preproc/grn/hgraph.cc (drawwig): Add parameter to control
curve type.
Call `picurve' for BSPLINE.
(HGPrintElt): Handle BSPLINE.
* src/preproc/grn/README: Document it.
2002-10-03 Werner LEMBERG <[email protected]>
* src/roff/troff/node.cc (break_char_node::col): New variable.
Updated constructor.
(space_node::tprint, word_space_node::tprint): Call `fill_color'
unconditionally.
(space_node::space_node): Remove assertion.
(break_char_node::add_self): Pass color argument to space node.
* src/roff/troff/input.cc (token::add_to_node_list, token::process):
Ditto.
* src/roff/troff/env.cc (environment::do_break,
environment::add_padding): Ditto.
2002-10-02 Werner LEMBERG <[email protected]>
Redesigning color support in troff. Colors are no longer
represented as separate nodes but are now part of glyph nodes and
friends. This fixes the current formatting misbehaviour due to the
changes introduced on 2002-09-20. Some extra code is necessary for
proper grotty support: Without adding color variables to
space-related nodes, the background color would be changed too late.
* src/roff/troff/node.h, src/roff/troff/node.cc:
s/current_pagecolor/current_fill_color/.
s/current_glyphcolor/current_glyph_color/.
(glyph_color_node, fill_color_node): Removed.
(node::get_glyph_color, node::get_fill_color): New virtual member
functions.
(space_node::col): New variable.
Updated constructors of space_node and derived classes accordingly.
(hmotion_node::col): New variable.
Updated constructors of hmotion_node and space_char_hmotion_node
accordingly.
(vmotion_node::col): New variable.
Updated constructor accordingly.
(draw_node::gcol, draw_node::fcol): New variables.
Updated constructor accordingly.
(special_node::gcol, special_node::fcol): New variables.
Updated constructors accordingly.
(troff_output_file::put_char, troff_output_file::put_charwidth,
troff_output_file::draw): Set glyph and fill color.
(troff_output_file::start_special): Set glyph and fill color.
Always set current font.
(troff_output_file::fill_color, troff_output_file::glyph_color):
Don't call `do_motion'.
(glyph_node::gcol, glyph_node::fcol): New variables.
Updated constructors of glyph_node and ligature_node accordingly.
(glyph_node::get_glyph_color, glyph_node::get_fill_color): New
member functions.
(glyph_node::merge_glyph_node,
kern_pair_node::add_discretionary_hyphen,
node::add_discretionary_hyphen): Updated.
(break_char_node::merge_self): Updated.
(word_space_node::tprint, space_node::tprint, hmotion_node::tprint,
vmotion_node::tprint): Handle color.
(make_glyph_node, make_node, node::add_char): Updated.
* src/roff/troff/env.cc (environment::space_newline,
environment::space, environment::output_line, environment::do_break,
environment::make_tab_node, environment::add_padding, title):
Updated.
(environment_switch, environment_copy): Don't add color nodes.
* src/roff/troff/input.cc (do_glyph_color, do_fill_color): Return
nothing.
(token::next): Updated.
\m and \M now are as transparent as \s.
(process_input_stack, token::add_to_node_list, token::process,
read_draw_node): Updated.
(charinfo_to_node_list): Don't add color nodes.
* doc/groff.texinfo: Updated.
2002-09-27 Ruslan Ermilov <[email protected]>
* tmac/doc-common (ds-operating-system-FreeBSD-4.*): New version
strings.
2002-09-27 Colin Watson <[email protected]>
* src/roff/troff/node.cc (bracket_node::copy): Check `list' != 0.
2002-09-23 Werner LEMBERG <[email protected]>
* src/devices/grolbp/lbp.cc: Replace `300' with `font::res' where
appropriate.
(DEFAULT_LINEWIDTH_FACTOR): New macro.
(linewidth_factor): New global variable.
(lbp_printer::set_line_thickness): Fix case for size < 0, using
linewidth_factor.
(long_options): Add -w/--linewidth option.
(usage): Updated.
(main): Handle -w option to set linewidth_factor.
(lbp_printer::lbp_printer): Initialize req_linethickness, not
line_thickness.
* src/devices/grolbp/grolbp.man, NEWS, doc/webpage.ms: Updated.
2002-09-22 Paco Andrés Verdú <[email protected]>
Fixed a bug in the line thickness setting code.
* src/devices/grolbp/lbp.cc (lbp_printer::req_linethickness): New
variable.
(lbp_printer::set_line_thickness): Pass environment as second
parameter.
Implement it actually.
(lpb_printer::set_char, lbp_printer::draw): Use `req_linethickness'
and `set_line_thickness, depending on the current font size.
2002-09-21 Werner LEMBERG <[email protected]>
Some Debian patches.
* src/roff/groff/pipeline.h (MAX_COMMANDS): Increase to 12.
* src/roff/troff/node.cc (bracket_node::copy): Initialize
`list->last'.
2002-09-20 Werner LEMBERG <[email protected]>
* configure: Regenerated with autoconf 2.54.
2002-09-20 Werner LEMBERG <[email protected]>
* src/roff/troff/env.h (environment): Rename cur_glyph_color to
glyph_color.
Rename cur_fill_color to fill_color.
* src/roff/troff/env.cc: Updated.
2002-09-20 Werner LEMBERG <[email protected]>
* src/roff/troff/env.cc (title): Copy color status after processing
title.
* src/roff/troff/input.cc (charinfo_to_node_list): Emit glyph and
fill color nodes to reset colors properly.
* tmac/www.tmac (DC): Fix color handling.
* src/preproc/pic/pic.man, doc/pic.ms: Document some color issues.
* doc/groff.texinfo: Fixing documentation of `tl' request.
* doc/webpage.ms: Updated.
2002-09-19 Werner LEMBERG <[email protected]>
* src/roff/troff/env.cc (environent_switch, environment_copy):
Emit glyph and fill color nodes to initialize colors properly.
2002-09-17 Colin Watson <[email protected]>
* src/roff/troff/env.cc (environment::set_glyph_color,
environment::set_fill_color): Fix typo which prevented \m[] work
correctly.
2002-09-17 Werner LEMBERG <[email protected]>
Add left and right italic correction to non-slanted PS fonts. This
is an experimental feature to improve image rendering of grohtml.
* font/devps/generate/Makefile (RFLAG): New variable, set to `-i 0'.
({T,H,C,P,N,BM,A,HN}{R,B}, ZD, S, ZDR): Use it.
* font/devps/*: All non-slanted fonts regenerated.
* NEWS: Updated.
2002-09-16 Werner LEMBERG <[email protected]>
Add a site-specific font directory.
* Makefile.in (localfontdir, legacyfontdir): New variables.
(fontpath): Use them.
(MDEFINES, uninstall_dirs): Updated.
* Makefile.comm (.man.n): Add `LOCALFONTDIR' and `LEGACYFONTDIR'.
Remove `FONTPATH' and `MACROPATH'.
* src/roff/troff/troff.man, NEWS: Updated.
* doc/groff.texinfo (Font Directories): New section.
Other minor fixes.
* src/devices/grodvi/grodvi.man, src/devices/grohtml/grohtml.man,
src/devices/grolbp/grolbp.man, src/devices/grolj4/grolj4.man,
src/preproc/grn/grn.man: Minor fixes.
* src/devices/grohtml/post-html.cc (html_printer::do_tab_ts):
Remove unused variable.
2002-09-11 Werner LEMBERG <[email protected]>
* doc/groff.texinfo, man/groff_font.man: Clarify argument of \N.
* man/groff_out.man: Fix documentation of 'N'.
2002-09-09 Gaius Mulley <[email protected]>
* doc/Makefile.in (webpage.html): Depend on gnu.eps also.
* src/roff/troff/env.cc (indent): Emit html tag only if break_flag is
set.
* src/devices/grohtml/post-html.cc (text_glob::is_br_ni): Removed.
(text_glob::is_br, html_printer::lookahead_for_tables): Updated.
(html_printer::do_tab_ts): Call `emit_table_header' with `FALSE'.
* src/devices/grohtml/html-text.cc (html_text::start_tag) <P_TAG,
PRE_TAG>: Call `begin' with `FALSE'.
2002-09-09 Ralph Corderoy <[email protected]>
* src/libs/libgroff/string.cc (string::extract): Fix position of
terminating null byte.
2002-09-08 Werner LEMBERG <[email protected]>
Add global option `nospaces' to tbl so that leading and trailing
spaces in data items are ignored.
* src/libs/libgroff/string.cc (string::remove_spaces): New member
function to remove leading and trailing spaces.
* src/include/stringclass.h: Updated.
* src/preproc/tbl/table.h (table): Add flag `NOSPACES'.
* src/preproc/tbl/main.cc (process_options): Handle `nospaces'
option.
Fix typo in error messages.
(process_data): Implement `nospaces' option.
* src/preproc/tbl/tbl.man, NEWS, doc/webpage.ms: Updated.
2002-09-07 Werner LEMBERG <[email protected]>
* src/include/config.hin: Add `HAVE_ISATTY'.
* src/libs/libgroff/tmpfile.cc (xtmpfile_list): Drop `const' for
`fname' member.
* src/libs/libgroff/tmpname.cc: Include `time.h'.
* src/libs/libdriver/input.cc (Char): Add `operator==' and
`operator!=' for `char'.
* doc/groff.texinfo: Replace @ifnottex block for top node with
@ifhtml block.
2002-09-06 Werner LEMBERG <[email protected]>
* doc/Makefile.in (.texinfo.html): Add -I switch.
* doc/groff.texinfo: Add @ifnottex block for top node to make
translation to HTML work.
2002-09-05 Gaius Mulley <[email protected]>
* src/preproc/html/pre-html.cc (LETTER_LENGTH): Removed.
(get_papersize, determine_vertical_offset): Removed.
(char_buffer::do_image): Always specify letter size.
(main): Updated.
(imageList::createPage): Use -dDEVICEHEIGHTPOINTS instead of
-sPAPERSIZE.
2002-09-05 Werner LEMBERG <[email protected]>
* doc/groff.texinfo, tmac/groff_man.man: Improve documentation of
default indentation.
2002-09-04 Gaius Mulley <[email protected]>
* src/preproc/html/pre-html.cc (imageList::createPage): Use
-sPAPERSIZE for gs.
(generateImages): Clean up push-back buffer.
2002-09-04 Ralph Corderoy <[email protected]>
* doc/groff.texinfo: Minor fixes.
2002-08-21 Gaius Mulley <[email protected]>
* src/preproc/html/pre-html.cc (DEFAULT_LINE_LENGTH): New macro.
(MAX_WIDTH, A4_LENGTH, A4_OFFSET, LETTER_OFFSET): Removed.
(gsPaper): Removed.
(determine_vertical_offset): Use LETTER_LENGTH.
(createPage): Moved to ...
(imageList::createPage): This.
Call gs with -dDEVICEWIDTHPOINTS to avoid cropping.
(imageList::getMaxX): New function.
(createImage): Moved to ...
(imageList::createImage): This.
(imageList::createImages): New function.
(generateImages): Read `maxx' directly.
Updated.
(scanArguments): Don't specify `gsPaper' for `-o'.
(makeTempFiles): Call `xtmpfile' with the last argument set to
`TRUE'.
2002-08-24 Werner LEMBERG <[email protected]>
* src/include/nonposix.h (mkdir, WAIT, creat) [_MSC_VER]: Define.
(WAIT, _WAIT_CHILD) [!_MSC_VER]: Define.
* src/preproc/html/pre-html.cc (waitForChild): Use WAIT.
* src/preproc/html/pushback.cc: Include nonposix.h.
* src/roff/groff/pipeline.c: Define strcasecmp and strncasecmp
conditionally.
2002-08-23 Werner LEMBERG <[email protected]>
Use $(OBJEXT) for the object file extension.
* Makefile.comm (.SUFFIXES): Add .obj.
(.cc.obj, .c.obj): New implicit rules.
* Makefile.in (OBJEXT): New variable, initialized from autoconf.
(MDEFINES): Add EXEEXT and OBJEXT.
* */Makefile.sub: s/.o/.$(OBJEXT)/.
2002-08-22 Werner LEMBERG <[email protected]>
* INSTALL: Mention texinfo 4.2 as a prerequisite.
2002-08-21 Gaius Mulley <[email protected]>
* src/devices/grohtml/post-html.cc (colType): Make enum global to
the file.
(html_printer::update_min_max, html_printer::add_table_end): New
methods.
(html_printer::lookahead_for_tables): Use them.
Reset page offset correctly.
(html_printer::~html_printer): Add creation of creator comment up.
2002-08-20 Werner LEMBERG <[email protected]>
* tmac/an-old.tmac (T&): New dummy macro to avoid warning.
* man/groff_tmac.man: Fix typos.
* man/groff_font.man: Minor reordering.
* contrib/eqn2graph/eqn2graph.man (Tp): New macro.
2002-08-18 Gaius Mulley <[email protected]>
Avoid endless loops while scanning for tables.
* src/devices/grohtml/post-html.cc (list::insert): Set
ptr->right->left.
(html_printer::next_horiz_pos): Add `text_glob' argument; update
all callers.
Return immediately if that argument is NULL.
(html_printer::calc_nf): Don't test if `g' is NULL.
(html_printer::lookahead_for_tables): Use
`glyphs.move_right_get_data'.
Don't test if `g' is NULL.
2002-08-18 Gaius Mulley <[email protected]>
A better fix, replacing fix 2002-08-15, for increasing SIZE.
* src/devices/grohtml/post-html.cc (char_block): Make `buffer'
a pointer.
(char_block::char_block): Allocate `buffer'.
(char_buffer::add_string): Use it.
2002-08-15 Werner LEMBERG <[email protected]>
* src/devices/grops/grops.man, src/devices/grolj4/grolj4.man,
src/devices/grodvi/grodvi.man: Document default line thickness.
2002-08-15 Gaius Mulley <[email protected]>
* src/devices/grohtml/post-html.cc (char_block): Increase SIZE to
8192.
2002-08-14 Werner LEMBERG <[email protected]>
* doc/webpage.ms: Updated.
2002-08-09 Werner LEMBERG <[email protected]>
* src/roff/troff/node.cc (node::add_char): Call `freeze_space' for
unbreakable space.
2002-08-08 Aaron Campbell <[email protected]>
* src/preproc/pic/object.cc (object_spec::make_move): Fix typo
(&& -> &).
2002-08-08 Werner LEMBERG <[email protected]>
* src/roff/troff/input.cc (read_rgb, read_cmy, read_cmyk): Call
tok.next().
(read_gray): Ditto.
Don't push back a space but a newline onto the stack.
2002-08-07 Gaius Mulley <[email protected]>
Add fonts `CI', `CB', and `CBI' to grohtml which have been omitted
inadvertently.
* src/devices/grohtml/post-html.cc (html_printer::end_font,
html_printer::start_font): Handle them.
* src/devices/grohtml/html-text.cc (html_text::do_italic): Don't
reset bold and tt.
(html_text::do_bold): Don't reset italic and tt.
(html_text::do_tt, html_text::do_pre): Don't reset bold and italic.
* font/devhtml/DESC.proto: Add those fonts.
* font/devhtml/Makefile.sub (PROTOFONTS): Updated.
2002-08-07 Werner LEMBERG <[email protected]>
* MORE.STUFF: Added gpresent.
* tmac/trace.tmac: Show nesting level by a corresponding amount of
whitespace before printing the logging message.
2002-07-31 Colin Watson <[email protected]>
* src/devices/grohtml/html-table.cc (html_table::finish_row):
Initialize `n' to zero. This fixes a segfault on ARM.
2002-07-30 Werner LEMBERG <[email protected]>
* doc/grnexmpl.me: Remove calls to .st and .sc which are undefined.
2002-07-29 Werner LEMBERG <[email protected]>
* src/preproc/pic/pic.y (print_arg, relative_path): Add missing
final semicolon.
2002-07-28 Colin Watson <[email protected]>
* src/devices/grohtml/post-html (html_printer::troff_tag): Handle
`.ps'.
(html_printer::html_printer): Initialize `pointsize'.
2002-07-26 Werner LEMBERG <[email protected]>
* doc/Makefile.sub (PROCESSEDEXAMPLEFILES): Remove gnu.eps and
gnu.png.
(CLEANNOTSRCDIRADD): Add gnu.eps and gnu.png.
(gnu.eps): Add -rle switch to pnmtops.
(distfiles): Add gnu.eps and gnu.png.
2002-07-25 Petter Reinholdtsen <[email protected]>
* src/libs/libdriver/input.cc (Char): Add const to `operator=='.
Add `operator!='.
2002-07-24 Werner LEMBERG <[email protected]>
* doc/Makefile.in, doc/Makefile.sub (groff_bin_path): Don't use
' \+' but ' *' for sed.
(GROFF): Set GROFF_COMMAND_PREFIX to empty value.
2002-07-23 Werner LEMBERG <[email protected]>
* doc/groff.texinfo: Document `papersize' keyword.
* NEWS, man/groff_font.man: Updated.
2002-07-23 Colin Watson <[email protected]>
Extend papersize keyword to accept more than a single entry. The
first valid will be used.
* src/libs/libgroff/font.cc (font::load_desc): Implement it.
(font::scan_papersize): Really skip final newline.
* src/preproc/html/pre-html.cc (get_papersize): Ditto.
2002-07-23 Werner LEMBERG <[email protected]>
* configure.ac: Test for isatty.
* configure: Regenerated.
* src/include/posix.h: Check HAVE_ISATTY.
* src/roff/troff/input.cc [ISATTY_MISSING]: Removed.
* src/utils/lookbib/lookbib.cc: Include posix.h.
Don't declare isatty.
2002-07-21 Werner LEMBERG <[email protected]>
* NEWS: Add `output' request.
* REVISION: Increased to 1.
Version 1.18.0 released 2002-07-21
==================================
2002-07-19 Gaius Mulley <[email protected]>
Allow internal glyph indices > 0xFF in grohtml for input characters.
* src/devices/grohtml/post-html.cc (to_unicode): Use `unsigned int'
as parameter.
(html_printer::add_to_sbuf): Use `unsigned int' as first parameter.
Updated all callers.
(html_printer::sbuf_continuation, html_printer::overstrike): Ditto.
(html_printer): Updated.
2002-07-19 Werner LEMBERG <[email protected]>
* font/devhtml/R.proto: Updated to HTML 4, adding many glyphs.
* font/devutf8/R.proto: Adding some missing glyphs.
* font/devutf8/NOTES: Updated.
* tmac/dvi.tmac: Add more composite glyphs.
* tmac/html.tmac: Updated.
* man/groff_char.man: Add `sum' and `product' entities.
* NEWS: Updated.
2002-07-18 Gaius Mulley <[email protected]>
Improved table, tab, and indenting support.
* src/roff/troff/input.cc (file_iterator::suppress_newline_flag,
string_iterator::suppress_newline_flag): Removed. Updated all
function which have used it.
* src/roff/troff/env.cc: Include `input.h'.
(environment::add_node): Accept 0 as parameter.
(environment::add_html_tag): Add `force' parameter.
Updated all callers.
(environment::add_html_tag_tabs): Ditto.
For the moment, support left-aligned tabs only.
(environment::make_html_tag): New function.
(fill, no_fill): Set .br html tag additionally.
(environment::newline): Emit `eol.ce' or `eol' tag for html.
(environment::add_html_tag_eol): Removed.
(tab_stops::distance_to_next_tab): Add variant for handling
nextpos'.
(environment::distance_to_next_tab): Ditto.
Updated all callers.
(environment::handle_tab): Handle tabs for html.
* src/roff/troff/env.h: Updated.
* src/roff/troff/div.cc: Updated all callers of
`environment::add_html_tag'.
* src/devices/grohtml/html-table.cc,
src/devices/grohtml/html-table.h: New files.
* src/devices/grohtml/html-text.cc (html_text): New members
`blank_para' and `start_space'.
(html_text::issue_tag): Don't emit TABLE_TAG.
Handle indentation for PRE_TAG and P_TAG.
(html_text::end_tag): Updated.
(html_text::table_is_void, html_text::issue_table_begin,
html_text::issue_table_end): Removed.
(html_text::do_push): Simplified.
[DEBUGGING]: Small fix.
(html_text::push_para): Add new parameter for indentation; updated
all callers.
Handle PRE_TAG.
(html_text::do_indent, html_text::do_table, html_text::done_table,
html_text::is_in_table): Removed.
(html_text::do_pre): Handle P_TAG also.
(html_text::shutdown): Handle p->indent.
(html_text::check_emit_text): Simplified.
(html_text::do_emittext): Reset `blank_para'.
(html_text::do_para): Add new parameter for indentation; updated
all callers.
(html_text::remove_indent): New function.
(html_text::do_space): Handle verbatim text properly.
(html_text::ever_emitted_text, html_text::starts_with_space,
html_text::remove_para_align): New functions.
(html_text::dump_stack_element, html_text::dump_stack): Updated.
* src/devices/grohtml/html_text.h (HTML_TAG): Remove TABLE_TAG.
Updated.
* src/devices/grohtml/post-html.cc: Include html-table.h.
(INDENTATION): Removed.
(text_glob): Added many `is_<foo>' functions.
Added table description `tab'.
Added `get_arg',`get_tab_args', `remember_table', and `get_table'
member functions.
(list): Add `insert' and `move_to' member functions.
(page): Add `insert_tag' member function.
(page::dump_page) [DEBUG_TABLES]: Improved.
(html_printer): Add `table' and `max_linelength' elements.
Add many `do_<foo>', `insert_<foo>', `next_horiz_pos',
`lookahead_for_tables', `shutdown_table', `calc_nf', `calc_po_in',
`remove_tabs', `remove_courier_tabs'.
(html_printer::emit_raw): Handle indentation.
(html_printer::do_center, html_printer::write_header): Updated.
(html_printer::is_courier_until_eol): Check for tag.
(html_printer::do_linelength): Handle max_linelength.
(html_printer::do_page_offset, html_printer::do_indentation): Handle
fill_on.
(html_printer::do_tempindent): Updated.
(html_printer::do_indentedparagraph): Removed.
(html_printer::do_indent): Simplified.
(html_printer::do_eol): Use `ever_emitted_text'.
(html_printer::do_flush, html_printer::do_links): Don't call
done_table.
(html_printer::do_break): Handle end_tempindent.
(html_printer::troff_tag): Get argument.
Don't handle `.ip'.
Handle `.tab-ts', `.tab-te', `.col', `tab', and `tab0' tags.
(html_printer::flush_page): Call `lookahead_for_tables'.
Don't call `done_table'.
(html_printer::add_to_sbuf): Always call do_indent.
* src/devices/grohtml/Makefile.sub: Updated.
* tmac/an-old.tmac (TP): Don't handle html device specially.
(an-do-tag-html): New function which will be used instead of
`an-do-tag' if html device is used.
* tmac/html.tmac: Call .po to pass default page offset to grohtml.
* tmac/s.tmac (@IP): Don't handle html device specially.
(@IP-html): New function which will be used instead of `@IP' if
html device is used.
* tmac/www.tmac (HTML-NS, HTML-TAG-NS): New auxiliary macros -- this
is a hack which will eventually vanish again.
(PIMG): Handle `-C' option correctly if not html.
(HR): Use HTML-NS.
2002-07-17 Werner LEMBERG <[email protected]>
* src/utils/afmtodit/afmtodit.pl: Don't use `-P-' for invoking perl.
2002-07-14 Eric S. Raymond <[email protected]>
* contrib/pic2graph/pic2graph.*: Use convert(1).
* contrib/eqn2graph/eqn2graph.*: Minor fixes.
2002-07-14 Bernd Warken <[email protected]>
* tmac/groff_trace.man: New file.
* tmac/Makefile.sub: Updated.
* NEWS: Updated.
2002-07-13 Werner LEMBERG <[email protected]>
* src/roff/groff/groff.man: Add some cross references.
2002-07-12 Werner LEMBERG <[email protected]>
* src/roff/troff/input.cc (substring_request): Add warnings for
string indices out of range.
2002-07-11 Werner LEMBERG <[email protected]>
* font/devdvi/generate/ec.map: Fix typo (`(l' -> `/l').
* font/devdvi/*EC: Regenerated.
2002-07-10 Bernd Warken <[email protected]>
* man/groff_char.man: Updated and extended.
2002-07-10 Werner LEMBERG <[email protected]>
* src/roff/troff/input.cc (length_macro): Renamed to...
(length_request): This.
Move call of `tok.next()' to the very end, otherwise the register
value hasn't been updated yet.
(init_input_requests): Updated.
2002-07-09 Werner LEMBERG <[email protected]>
* src/roff/troff/input.cc (substring_macro): Renamed to...
(substring_request): This.
(init_input_requests): Updated.
* src/roff/troff/request.h: Updated.
2002-07-08 Robert D. Goulding <[email protected]>
* src/roff/grog/grog.sh: Fix typo.
2002-07-08 Werner LEMBERG <[email protected]>
* win32-diffs: Updated.
Handle `papersize' keyword properly in DESC.
* src/libs/libgroff/font.cc (font::scan_papersize): Fix argument
type.
Updated all callers.
* src/libs/libgroff/paper.cc: Add four more paper formats used by
grolj4.
* src/include/paper.h: Updated.
* src/devices/grolbp/lbp.cc: Remove unnecessary semicolons.
Other minor C syntax fixes.
(papersize, paperlength, paperwidth): Renamed to `user_*'.
(lbp_printer): Add `papersize', `paperlength', and `paperwidth'
members.
(lbp_printer::lbp_printer): Pass three arguments.
Set paper dimensions properly.
(make_printer, main): Updated.
(handle_unknown_desc_command): Fix error messages.
(main): Handle papersize keyword in DESC properly.
* src/devices/grolj4/lj4.cc (paper_size): Renamed to
`user_paper_size'.
(lbp_printer::lbp_printer): Pass an argument.
Set paper_size properly.
(handle_unknown_desc_command): Removed.
(make_printer, main): Updated.
* src/devices/grolj4/grolj4.man: Minor documentation fix.
* man/groff_font.man, NEWS: Updated.
2002-07-07 Werner LEMBERG <[email protected]>
Integrated eqn2graph, contributed by Eric S. Raymond.
* contrib/eqn2graph/{Makefile.sub, eqn2graph.sh, eqn2graph.man}: New
files.
* Makefile.in, NEWS: Updated.
2002-06-04 Werner LEMBERG <[email protected]>
Changing the substring request to make it fit better with other
string manipulation functions in other programming languages:
Index 0 is now the first character in the string, and index -1
indicates the last character. Since this request didn't work
properly anyway in the last release, it doesn't harm too much to
change the syntax.
* src/roff/troff/input.cc (substring_macro): Use loops to get
the real string length (ignoring COMPATIBLE_SAVE and
COMPATIBLE_RESTORE) and offsets.
Implement change described above.
* man/groff_char.man, tmac/doc-common (doc-header), tmac/doc.tmac
(doc-do-Bd-args, doc-do-Bl-args): Changed accordingly.
* NEWS, doc/groff.texinfo, man/groff_diff.man: Updated.
2002-06-03 Werner LEMBERG <[email protected]>
Make .chop work with .de1 and friends. COMPATIBLE_SAVE and
COMPATIBLE_RESTORE are completely ignored.
* src/roff/troff/input.cc (char_list::set, char_list::get): New
functions.
(macro): `length' field renamed to `len'.
Added new field `empty_macro' (1 if macro is empty), to be used
instead of checking `len'.
Updated all callers.
(macro::empty): Updated.
(macro::length, macro::set, macro::get): New functions.
(macro::append): Ignore COMPATIBLE_SAVE and COMPATIBLE_RESTORE.
Set `empty_macro'.
(chop_macro): Check and remove trailing COMPATIBLE_SAVE/
COMPATIBLE_RESTORE pairs.
(asciify): Ignore COMPATIBLE_SAVE and COMPATIBLE_RESTORE.
* src/roff/troff/request.h: Updated.
* doc/groff.texinfo: Document .chop's behaviour better.
2002-06-02 Werner LEMBERG <[email protected]>
* doc/pic.ms: Fix documentation for the addition of positions.
* tmac/doc.tmac, tmac/an-old.tmac: Need groff version 1.18.
2002-06-29 Werner LEMBERG <[email protected]>
Implementation of string arguments of the form \*[foo arg1 arg2 ...]
* src/roff/troff/input.cc (have_string_arg): New global variable.
(read_mode): New enumeration.
(read_escape_name): Use it. Update all calls.
(read_long_escape_name): Use it. Update all calls.
Set have_string_arg if appropriate.
(get_char_for_escape_name): Add parameter for handling space
character.
(interpolate_string_with_args, decode_string_args): New functions.
(get_copy, token::next): Call it if necessary.
(interpolate_string): Fix error message.
* NEWS, doc/groff.texinfo, man/groff.man, man/groff_diff.man:
Document it.
2002-06-24 Bernd Warken <[email protected]>
* man/groff_tmac.man: Updated and extended.
2002-06-24 Werner LEMBERG <[email protected]>
* doc/pic.ms, src/preproc/pic/pic.man: Fix description of `:='.
2002-06-23 Werner LEMBERG <[email protected]>
* doc/pic.ms: Improve documentation of composite block objects.
2002-06-22 Werner LEMBERG <[email protected]>
* src/roff/troff/input.cc (init_registers): Add three registers
`seconds', `minutes', and `hours' to hold the current time.
* NEWS, doc/groff.texinfo, man/groff.man, man/groff_diff.man:
Updated.
2002-06-20 Werner LEMBERG <[email protected]>
Make \X accept both `\ ' and `\~', converting them to single space
characters.
* src/roff/troff/token.h (token): Add TOKEN_UNSTRETCHABLE_SPACE.
(token::unstretchable_space): New inline function.
* src/roff/troff/input.cc (token::next, token::delimiter,
token::description, token::add_to_node_list, token::process): Handle
TOKEN_UNSTRETCHABLE_NODE.
(encode_char): Handle tok.stretchable_space and
tok.unstretchable_space.
* NEWS, doc/groff.texinfo: Document it..
2002-06-19 Werner LEMBERG <[email protected]>
* src/devices/grops/ps.cc (ps_printer::special): Fix error message.
* src/devices/grotty/tty.cc (tty_printer::special): Add `sgr'
keyword to enable/disable SGR output.
(tty_printer::change_fill_color): New function.
* NEWS, src/devices/grotty/grotty.man: Document `sgr' special.
* src/roff/troff/input.cc (output_request): Add missing `tok.next()'
call.
2002-06-18 Werner LEMBERG <[email protected]>
Add a `color' request and a `.color' register to control usage of
colours.
* src/roff/troff/input.cc (disable_color_flag): Replaced with...
(color_flag): This (which is the inverse).
(activate_color): New function.
(main, init_input_requests): Updated.
* src/roff/troff/troff.h, src/roff/troff/node.cc
(troff_output_file::fill_color, troff_output_file::glyph_color):
Updated.
* NEWS, doc/groff.texinfo, man/groff_diff.man, man/groff.man:
Document the changes.
2002-06-17 Colin Watson <[email protected]>
Circumvent bug in autoconf 2.53 regarding top_builddir.
* aclocal.m4 (GROFF_BUILDDIR): s/top_builddir/groff_top_builddir/.
* Makefile.in, doc/Makefile.in:
s/@top_builddir@/@groff_top_builddir@/.
* configure: Regenerated (with autoconf 2.53).
2002-06-17 Werner LEMBERG <[email protected]>
* src/libs/libgroff/font.cc (font::load_desc): Fix computation of
`paperwidth' and `paperlength' for the `papersize' keyword.
2002-06-16 P. Alejandro Lopez-Valencia <[email protected]>
* src/devices/grops/grops.man: Add info about Type 42 fonts.
2002-06-15 Gaius Mulley <[email protected]>
* src/devices/grohtml/post-html.cc (html_printer::emit_raw,
html_printer::do_linelength, html_printer::do_pageoffset,
html_printer::do_indentation, html_printer::do_tempindent,
html_printer::do_break, html_printer::begin_page): Clear indented
text.
* tmac/html.tmac: Disable hyphenation.
2002-06-15 Werner LEMBERG <[email protected]>
Don't produce HTML files if utility programs are missing.
* Makefile.in (make_html, make_install_html): New variables.
(MDEFINES): Updated.
* aclocal.m4 (GROFF_HTML_PROGRAMS): New function to test for HTML
utility programs.
* configure.ac: Use it.
* configure: Regenerated.
* doc/Makefile.sub (PROCESSEDEXAMPLEFILES): Move webpage.html to...
(HTMLEXAMPLESFILES): This new variable.
(EXAMPLESIMAGEFILES): Renamed to...
(HTMLEXAMPLEIMAGEFILES): This.
(CLEANADD): Add HTMLEXAMPLEFILES.
(all): Use `make_html'.
(html): New target.
(install_data): Use `make_install_html'.
Move html stuff to...
(install_html): This new target.
(uninstall_sub): Updated.
2002-06-14 Bernd Warken <[email protected]>
* src/roff/grog/Makefile.sub (grog): Renamed to...
(grog.old): This.
(grog): New rule to always install grog.sh as grog.
2002-06-08 Bernd Warken <[email protected]>
* src/roff/grog/grog.pl: Fix typo.
2002-06-07 Werner LEMBERG <[email protected]>
* doc/groff.texinfo: Add more info on .tr arguments.
2002-06-05 Werner LEMBERG <[email protected]>
* NEWS, src/roff/grog/grog.man, doc/groff.texinfo: Updated.
* aclocal.m4 (GROFF_MKSTEMP): Include unistd.h.
* configure: Regenerated.
2002-06-05 Ralph Corderoy <[email protected]>
* src/roff/troff/symbol.cc (table_sizes): Add more values.
* src/roff/grog/grog.pl, src/roff/grog/grog.sh: Recognize mom.
2002-06-04 Werner LEMBERG <[email protected]>
* aclocal.m4 (GROFF_PAGE): Don't use `prefix' directly since it
is not initialized at the time we need it in case `--prefix' hasn't
been set. Check for `ac_default_prefix' also.
Test for `papersize' keyword also and generalize allowed whitespace.
* configure: Regenerated.
* font/devps/Makefile.sub (DESC): Use `papersize' instead of
`paperlength'.
* src/libs/libgroff/Makefile.sub (version, revision): Replaced
with...
(src_version, src_revision): New variables to avoid overwriting
from parent make process.
(version.cc): Updated.
* src/preproc/html/pre-html.cc: Include paper.h and font.h.
(linebuf, linebufsize): New global variables.
(sys_fatal): Use `fatal' to abort properly.
(get_line): New function.
(get_resolution): Use it.
Improve error messages.
(get_papersize): Check `papersize' also.
Use `get_line'.
Improve error messages.
2002-06-03 Werner LEMBERG <[email protected]>
* Makefile.comm (CLEANNOTSRCDIRADD): New target for files which
should be removed only if builddir is not srcdir.
(mostlyclean): Handle `CLEANNOTSRCDIRADD'.
(clean): Depend on `mostlyclean'.
(distclean): Depend on `clean'.
(realclean, extraclean): Depend on `distclean'.
(.y.cc, .y.o): Simplified. The output files are no longer written
to srcdir but to builddir.
* Makefile.in (MDEFINES): Add `version' and `revision'.
(uninstall_dirs): Fix order of directories.
* doc/Makefile.sub (version, revision): Removed.
(CLEANADD): Removed grnexmpl.g, groff, groff-*.
Added `HTMLDOCFILES'.
(CLEANNOTSRCDIRADD): New target for grnexmpl.h, groff, groff-*.
* src/preproc/eqn/Makefile.sub, src/preproc/pic/Makefile.sub,
src/preproc/refer/Makefile.sub (YTABC, YTABH): Don't use `srcdir'
as prefix.
* doc/texinfo.tex (\authortt): New macro.
(\shortcontt): Define.
(\titlepage): Set \tt to \authortt while defining \authorfont.
(\appendixbox): New macro.
(\chapmacro, \appendixentry): Use \appendixbox to get even
indentation for letters.
(\summarycontents): Set \tt.
(\internalpagesize): Add two arguments for real paper width and
height as needed by pdfTeX.
(\letterpaper, \smallbook, \afourpaper, \afivepaper, \afourlatex):
Updated.
(\tempdima, \tempdimb): New temporary dimensions.
(\pagesizesyyy): Updated.
2002-06-02 Werner LEMBERG <[email protected]>