summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year.wl2009-01-05217-227/+307
|
* * */*: Update GPL2 to GPL3.wl2009-01-04200-1005/+792
|
* * src/roff/troff/TODO: Mention local variables.wl2009-01-041-0/+2
|
* Update .cvsignore files.wl2009-01-033-0/+7
|
* * src/preproc/tbl/table.cpp (table::compute_expand_width,wl2009-01-031-7/+12
| | | | | table::compute_separation_factor): In warning messages, don't refer to pages but to input line numbers.
* * config.rpath, m4/codeset.m4, m4/glibc21.m4, m4/iconv.m4,wl2009-01-025-89/+143
| | | | | | | | | m4/lib-link.m4, m4/lib-prefix.m4, src/include/localcharset.h, src/libs/libgroff/config.charset, src/libs/libgroff/localcharset.c, src/libs/libgroff/ref-add.sin, src/libs/libgroff/ref-del.sin: Updated from `gnulib' git repository. * configure: Regenerated.
* Clarify interaction of x, w, and e specifiers.wl2008-11-171-8/+23
| | | | Improve documentation of e specifier.
* Implement `x' specifier for expanded columns. Contrary to old DWBwl2008-11-164-191/+414
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tbl, more than a single `x' specifier can be used. At the same time, remove most of the code from change 2007-02-09 which collides with the new implementation. * src/preproc/tbl/main.cpp (format): Add `expand' array. (format::format, format::~format): Updated. (input_entry_format): Add `expand' field. (input_entry_format::input_entry_format): Updated. (input_entry_format::debug_print): Handle `expand'. (process_format): Handle `x' specifier. (process_data): Updated. * src/preproc/tbl/table.cpp (AVAILABLE_REG, COLCOUNT_REG): Remove. (EXPAND_REG): New macro. (table_entry::divert, block_entry::divert, alphabetic_block_entry::divert): Add parameter to control whether expanded columns shall be handled. (block_entry::do_width): Remove. (block_entry::do_divert): Add parameter to control whether expanded columns shall be handled. Treat expanded columns like columns with a minimum width. Remove `experimental' code. (table::table, table::~table, table::allocate): Updated. (table::set_expand_column): New function. (table::count_block_columns): Replace with... (table::count_expand_columns): This function. (table::divide_span): Handle expanded columns the same as equal columns. (table::sum_columns): Add parameter to control whether expanded columns shall be handled. (table::compute_available_block_width): Replace with... (table::compute_expand_width): This function. (table::compute_total_separation): New function, taking code from `compute_separation_factor'. (table::compute_separation_factor): Simpler code. The check for the `EXPAND' flag has been moved to the caller. (table::compute_widths): Add `top-level' changes to handle expanded blocks. * src/preproc/tbl/table.h (table): New field `total_separation'. Remove `blockflag' array. Add `expand' array. Update member function declarations. * src/preproc/tbl/tbl.man: Document `x' specifier. Expand documentation to cover all aspects of Lesk's tbl reference. * NEWS: Document `x' specifier.
* Improve documentation of the width of text block spans.wl2008-11-081-5/+5
|
* Improve documentation of text block widths.wl2008-11-071-3/+8
|
* * src/preproc/tbl/table.cpp (table::compute_widths): Use defaultwl2008-11-071-1/+1
| | | | | | scaling operator for minimum width. Without this fix, `lw3' (or `lw(3)' would be handled as a column with a minimum width of 3u instead of 3n.
* Clarify meaning of `z' modifier.wl2008-10-271-1/+3
|
* * src/preproc/tbl/main.cpp (process_format): Rename `x' and `X' towl2008-10-186-181/+184
| | | | | | | `m' and `M', respectively. Sort entries in `switch' block. * src/preproc/tbl/tbl.man: Updated. Sort key entries; other minor improvements.
* * src/preproc/tbl/table.cpp (table::compute_available_block_width):wl2008-10-182-19/+32
| | | | | | | New function. (table::compute_widths): Replace some code with new function (shifted to a more appropriate place). * src/preproc/tbl/table.h: Updated.
* * man/roff.man, doc/groff.texinfo: Improve the history part. Thiswl2008-10-101-2/+3
| | | | | | | | | | is based on input from Tom Van Vleck <thvv@multicians.org>. * src/preproc/eqn/sqrt.cpp (sqrt_box::compute_metrics): Assure that value of `rst' register is not zero, as can happen for the HTML output device. Otherwise, there are too many loops, and we get a stack overflow because of recursion.
* * src/preproc/ref/ref.cpp (reference::compute_sort_key): Dowl2008-10-091-2/+5
| | | | | not insert SORT_SEP before the first field, so that sort_key has the same format as before the patch of 2003-08-23.
* s/with other words/in other words/wl2008-10-051-1/+1
|
* * src/roff/troff/input.cpp (do_suppress): Make \O[3], \O[4], andwl2008-10-041-2/+6
| | | | | \O[5] non-transparent w.r.t. beginning-of-line recognition (similar to the other \O variants).
* * src/devices/grops/grops.man, src/roff/troff/troff.man,wl2008-10-033-67/+84
| | | | | | src/preproc/soelim/soelim.man: Correct documentation of -I switch. Reported by Larry Kollar. Other minor formatting issues.
* Restore behaviour of \$0 if a macro is called with string syntaxwl2008-09-301-1/+20
| | | | | | | | (problem caused by change on 2008-09-29). * src/roff/troff/input.cpp (input_iterator, input_stack, macro_iterator): Add `get_macro_name' member function. (interpolate_string): Use it.
* Make \\*[xxx]\\ within a macro (with `xxx' a macro too) work aswl2008-09-292-9/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | expected. Without the patch, .de aaa \\*[bbb]\\ . tm \\$* .. .de bbb . shift .. .aaa 1 2 3 prints `2 3' instead of `1 2 3'. * src/roff/troff/input.cpp (input_iterator, input_stack, macro_iterator): Add `get_arg_list' member function. (macro): Add `is_a_string', `is_string', and `clear_string_flag' members. Update constructors and operators. (arg_list): Add copy constructor. (macro_iterator): Add optional argument to constructor to indicate whether arguments shall be inherited from calling macro. (interpolate_string): If string argument is a macro, push a macro iterator on the stack. (do_define_macro): Call clear_string_flag if macro data contains a newline. * src/roff/troff/request.h: Updated.
* If a macro is called as a string, inherit value of \n[.br] from thewl2008-09-281-1/+5
| | | | | | | | | | | | caller. This is useful for `trace.tmac'. * src/roff/troff/input.cpp (string_iterator): New members `with_break' and `get_break_flag'. (string_iterator::string_iterator): Updated. * doc/groff.texinfo: Improve documentation of \$0 and string syntax calling of macros. Document behaviour of \n[.br] within strings.
* Fix incompatibility between `.de1' and `.do'. Without this change,wl2008-09-252-14/+21
| | | | | | | | | | | | | | | | | | | | | | | the following snippet .de1 xx . tm \\n(.C .. .cp 1 .do xx prints 1 instead of 0. * src/roff/troff/input.cc (do_request): If a macro gets processed, call tok.next(). (interpolate_macro): Add optional argument. Update callers. (request::invoke): Add optional argument. (macro::invoke): Add optional argument to delay call of tok.next(). * src/roff/troff/request.h (request_or_macro): Add argument to `invoke' member. Update all derived classes. * doc/groff.texinfo: Improve documentation of .do request.
* * src/preproc/tbl/tbl.man: Document computation of element widths.wl2008-08-201-0/+45
|
* Add default encoding option -D to preconv and groff.wl2008-08-204-12/+47
| | | | | | | | | | | | | * src/preproc/preconv/preconv.cpp (default_encoding): Make it an array. Update all users. (main): Handle new option -D. (usage): Updated. * src/preproc/preconv/preconv.man: Updated. * src/roff/groff/groff.cpp (main): Handle new option -D. (synopsis, help): Updated. * src/roff/groff/groff.man: Updated.
* *** empty log message ***wl2008-08-191-1/+1
|
* Typo.wl2008-08-191-1/+1
|
* New options -f and -k for afmtodit.wl2008-07-242-9/+23
| | | | | | | * src/afmtodit/afmtodit.pl: New options `-f NAME' sets the internal name of the groff font. New option `-k' disables output of kerning data. * src/afmtodit/afmtodit.man, NEWS: Document new options.
* * src/preproc/tbl/table.cpp (table::compute_separation_factor): Emitwl2008-07-182-14/+31
| | | | | | | | warning messages if table gets squeezed. (table::compute_widths): Fix computation of AVAILABLE_REG. Emit warning if table is wider than line length. * src/preproc/tbl/tbl.man: Minor improvements.
* * src/eqn/script.cpp (script_box::output): Portability fix.wl2008-04-291-2/+2
|
* * src/roff/troff/input.cpp: s/safer_flag/unsafe_flag/.wl2008-02-261-9/+9
| | | | | Update all occurrences so that \n[.U] works as advertised. Bug reported by Dorai Sitaram.
* * src/preproc/html/pre-html.cpp (usage): Don't describe options butwl2008-01-193-24/+25
| | | | | | | | | | mention that it should never be called stand-alone. * tmac/groff_www.man, doc/groff.texinfo, man/groff_font.man, man/groff_tmac.man, man/groff_out.man, README, README.MinGW, src/roff/groff/groff.man: Mention -Txhtml. * man/groff_font.man, man/groff_tmac.man, man/roff.man: Revised.
* * src/libs/libgroff/font.cpp (font::contains, font::get_code):wl2008-01-161-1/+13
| | | | | | | | Handle single-letter names correctly. * doc/groff.texinfo, man/groff_diff.man: Extend documentation of \^ and \|. * NEWS: Updated.
* name_to_glyph() exists two times. Explain this.wl2008-01-162-2/+10
|
* * src/roff/troff/node.cpp (left_italic_corrected_node::add_self):wl2008-01-061-2/+6
| | | | | | | | | | Don't remove itself if there is no glyph associated with the node yet. This happens, for example, in this situation: .ll 15000u .ft I x x (\,f
* * man/groff_char.man, man/groff.man: Revised.wl2008-01-051-2/+3
| | | | * src/preproc/eqn/lex.cpp (troff_defs): Fix typo.
* * */*: s/Osanna/Ossanna/.wl2008-01-044-28/+33
| | | | | | | | | | | * */*.man: Replace .URL with .UR/.UE (except in groff_www.tmac). Replace .MTO with .MT/.ME (except in groff_www.tmac). Insert `\:' in URLs where appropriate. Don't include www.tmac (except in groff_www.tmac). * man/groff.man (.ESC[]): Fix font of closing bracket. (.ESCq): Fix font of closing quote character. Many other improvements.
* * src/devices/grohtml/post-html.ccwl2007-12-301-3/+3
| | | | (html_printer::writeHeadMetaStyle): Fix CSS output.
* * NEWS: Updated.wl2007-12-062-9/+9
| | | | | | | | * src/roff/nroff/nroff.sh: Add options -w and -W. * src/roff/nroff/nroff.man: Document them. * tmac/hyphenex.pl: Update header output.
* * src/devices/grotty/tty.cpp (tty_printer::line): Fix line lengths.wl2007-11-291-2/+2
| | | | typo.
* * src/roff/nroff/nroff.sh: Handle GROFF_TYPESETTER environmentwl2007-11-192-42/+83
| | | | | | | | variable. Problem reported by Michael G Schwern <schwern@pobox.com>. * src/roff/nroff/nroff.man: Document it. Other minor updates.
* * src/groff/preproc/pic/lex.cpp (table): Add box attributeswl2007-11-195-33/+101
| | | | | | | | | | | | | | | | | | | | | `xslanted' and `yslanted'. * src/groff/preproc/pic/object.cpp (object_spec::object_spec): Initialize `xslanted' and `yslanted'. (graphic_object): Add methods `set_xlanted' and `set_yslanted'. (closed_object): Ditto. Add members `xslanted' and `yslanted'. (box_object::print): Use them. (object_spec::make_object): Handle slant values. * src/groff/preproc/pic/object.h (IS_XSLANTED, IS_YSLANTED): New constants. (object_spec): Add members `xslanted' and `yslanted'. * src/groff/preproc/pic/pic.y (XSLANTED, YSLANTED): New left-valued tokens. Add rules for them. * src/groff/preproc/pic/pic.man, NEWS, doc/pic.ms: Document above changes.
* * src/preproc/preconv/preconv.cpp (emacs_to_mime): Add `utf-16be'wl2007-11-082-24/+165
| | | | | | | `utf-16le', `utf-16be-with-signature', `utf-16le-with-signature'. (is_comment_line): Handle '\" and '\# also. * src/preproc/preconv/preconv.man: Revise and make complete.
* Add some copyrights.wl2007-11-044-0/+78
| | | | Typos.
* * src/roff/troff/input.cpp (do_ps_file): Handle `%X' in headerwl2007-10-211-4/+11
| | | | | comments correctly. Reported by Frank Jahnke <jahnke@sonatabio.com>.
* * doc/Makefile.in, doc/Makefile.sub (.ms.html): Add -P-V switch towl2007-09-253-20/+34
| | | | | | | | | | | | | | | | | | | | | the production of html files. (pic.html): Ditto. Remove background colour switch. (.SUFFIXES, clean): Handle *.xhtml files. * src/devices/grohtml/grohtml.man: Document that -V option now generates an HTML-4.01 validator or XHTML validator. * src/devices/grohtml/html-text.cpp (html_text::end_tag, html_text::start_tag): Suppress <small>, <big>, and <color> tags if we are inside a <pre> block. * src/devices/grohtml/post-html.cpp (html_printer::handle_valid_flag): Add a parameter to indicate whether it needs to generate a paragraph block. (html_printer::write_navigation): Updated. (html_printer::do_file_components): Generate an HTML-4.01 blue validator button also.
* * man/groff.man: Fix URL of CSTR 54.wl2007-09-231-0/+1
| | | | | | | * man/groff_char.man: Normalize character set names as defined by IANA. Based on a patch from Axel Kielhorn. * src/preproc/refer/label.y: Undo change from 2007-09-19.
* more typoswl2007-09-211-2/+1
|
* typoswl2007-09-211-2/+2
|
* * src/roff/troff/input.cpp (interpolate_arg): Remove compilerwl2007-09-204-11/+6
| | | | | | | | | | | warning. * src/preproc/eqn/pile.cpp (pile_box::output, matrix_box::output): Remove compiler warning. * src/preproc/refer/label.y: Remove compiler warning. * src/preproc/pic/pic.y: Remove doubled token entries.