1 |
|
2004-10-11 Gaius Mulley <gaius@glam.ac.uk> |
2 |
|
|
3 |
|
* src/roff/troff/request.h (macro): Make `p' public. |
4 |
|
New variable `is_a_diversion'. |
5 |
|
New member function `is_diversion'. |
6 |
|
|
7 |
|
|
8 |
|
* src/devices/grohtml/html.h (simple_output): New member function |
9 |
|
`force_nl'. |
10 |
|
|
11 |
|
* src/devices/grohtml/html-table.cpp (tabs::compatible): Fix |
12 |
|
computation of `total'. |
13 |
|
(tabs::check_init): New function. |
14 |
|
(html_table::emit_table_header): Emit style data. |
15 |
|
(html_table::insert_column): Improved. |
16 |
|
|
17 |
|
* src/devices/grohtml/html-table.h: Updated. |
18 |
|
|
19 |
|
* src/devices/grohtml/html-text.cpp (html_text::html_text): |
20 |
|
Initialize `start_space' with TRUE. |
21 |
|
(html_text::end_tag, html_start_tag): Fix `P_TAG' and `PRE_TAG' |
22 |
|
cases. |
23 |
|
(html_text::flush_text): Set `start_space' flag. |
24 |
|
(html_text::uses_indent, html_text::remove_para_space, |
25 |
|
html_text::get_alignment): New functions. |
26 |
|
(html_text::push_para): Updated. |
27 |
|
(html_text::do_para): Check for empty argument. |
28 |
|
Don't set `space_emitted'. |
29 |
|
(html_text::do_space, html_text::emit_space): Updated. |
30 |
|
|
31 |
|
* src/devices/grohtml/html-text.h (tag_definition): New variable |
32 |
|
`really_issued'. |
33 |
|
(html_text): New member function `uses_indent', `remove_para_space', |
34 |
|
`get_alignment'. |
35 |
|
|
36 |
|
* src/devices/grohtml/output.cpp (simple_output::force_nl): New |
37 |
|
function. |
38 |
|
(simple_output:nl): Always emit `\n'. |
39 |
|
|
40 |
|
* src/devices/grohtml/post-html.cpp: Include `string.h'. |
41 |
|
(BASE_POINT_SIZE): Removed. |
42 |
|
(base_point_size, head_info): New global variables. |
43 |
|
(text_glob): New member functions `is_ll', `is_tl', `is_eo_tl', |
44 |
|
`is_eo_h'. |
45 |
|
(text_glob::is_nf, text_glob::is_fi): Handle `.fi 0' and `.fi 1' |
46 |
|
tags, respectively. |
47 |
|
(page::add_and_encode): Pass additional parameter for tag flag. |
48 |
|
(assert_pos): New structure. |
49 |
|
(assert_state): New class. |
50 |
|
(html_printer): Remove `indentation', `prev_indent'. |
51 |
|
Add variables `troff_indent', `device_indent', `temp_indent'. |
52 |
|
Add variables `seen_indent', `next_indent', `seen_pageoffset', |
53 |
|
`next_pageoffset', `seen_linelenght', `next_linelength', |
54 |
|
`seen_center', `next_center', `seen_space', `seen_break', `as'. |
55 |
|
Add member functions `do_check_center', `do_space', `do_head', |
56 |
|
`get_troff_indent', `restore_troff_indent', `handle_assertion', |
57 |
|
`handle_state_assertion', `do_end_para', `set_char_and_width'. |
58 |
|
Change argument to `do_fill' to `char *'. |
59 |
|
Update constructor. |
60 |
|
(html_printer::emit_raw): Call `shutdown_table'. |
61 |
|
Use new functions. |
62 |
|
(html_printer::do_center): Simplified. |
63 |
|
(html_printer::do_title): Improved. |
64 |
|
(html_printer::write_header): Emit one more newline. |
65 |
|
Use new functions. |
66 |
|
(html_printer::do_heading, html_printer::do_indent, |
67 |
|
html_printer::do_eol, html_printer::do_tab_ts, |
68 |
|
html_printer::do_tab, html_printer::do_tab0, |
69 |
|
html_printer::calc_po_in, html_printer::next_horiz_pos, |
70 |
|
html_printer::remove_courier_tabs, |
71 |
|
html_printer::insert_tab0_foreach_tab, html_printer::begin_page): |
72 |
|
Updated. |
73 |
|
(html_printer::do_linelength, html_printer::do_pageoffset, |
74 |
|
html_printer::do_indentation, html_printer::do_tempindent, |
75 |
|
html_printer::do_tab_te): Simplified. |
76 |
|
(html_printer::do_pointsize): Check whether point size is really |
77 |
|
associated a `.tl' tag. |
78 |
|
(html_printer::do_break): Rewritten. |
79 |
|
(html_printer::troff_tag): Improved. |
80 |
|
(html_printer::flush_globs): Updated. |
81 |
|
(html_printer::lookahead_for_tables): Handle `is_br'. |
82 |
|
Use new functions. |
83 |
|
(html_printer::set_char): Check `sbuf_style.f'. |
84 |
|
(html_printer::write_navigation): Use string comparison. |
85 |
|
(html_printer::~html_printer): Emit `head_info'. |
86 |
|
(html_printer::special): Rewritten. |
87 |
|
(get_str, make_val): New functions. |
88 |
|
(main): New option `s' to set the base point size. |
89 |
|
|
90 |
|
* src/preproc/html/pre-html.cpp (scanArguments): Handle option `s'. |
91 |
|
|
92 |
2004-10-10 Gaius Mulley <gaius@glam.ac.uk> |
2004-10-10 Gaius Mulley <gaius@glam.ac.uk> |
93 |
|
|
94 |
* src/roff/troff/node.cpp: New extern `debug_state'. |
* src/roff/troff/node.cpp: New extern `debug_state'. |