Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | If %B is specified, quote %T. Noted by schwarze@ in the TODO. | Kristaps Dzonsons | 2011-01-25 | 4 | -10/+5 |
| | |||||
* | Ignore .ns (no-space mode), .ps (change point size), .ta (tab control) | Ingo Schwarze | 2011-01-25 | 2 | -0/+20 |
| | | | | | | for now. All of these just cause a bit too much or too little whitespace, but no serious formatting problems. Triggered by reports from brad@. | ||||
* | As noticed by deraadt@, it goes without saying that text files | Ingo Schwarze | 2011-01-25 | 3 | -10/+0 |
| | | | | | | on a UNIX system use UNIX conventions, and UNIX tools working on them expect that. ok jmc@ | ||||
* | Skip carriage return before newline, if any. | Ingo Schwarze | 2011-01-24 | 1 | -3/+20 |
| | | | | | | As pointed out by Joerg Sonnenberger, this is useful because we use mmap(3) and look for '\n' by hand. "check it in" kristaps@ | ||||
* | Better explain roff(7) macro argument quoting; | Ingo Schwarze | 2011-01-24 | 2 | -6/+42 |
| | | | | ok jmc@. | ||||
* | results of some systematic comparisons | Ingo Schwarze | 2011-01-24 | 1 | -1/+94 |
| | |||||
* | not implemented: adjustment | Ingo Schwarze | 2011-01-23 | 1 | -0/+13 |
| | |||||
* | Fix another regression caused by the reorg of print_man_node() in rev. 1.97: | Ingo Schwarze | 2011-01-23 | 1 | -0/+3 |
| | | | | End-of-sentence spacing got lost for man(7) after plain text lines. | ||||
* | some more reports from brad@ | Ingo Schwarze | 2011-01-22 | 1 | -0/+10 |
| | |||||
* | missing: .ns, .UR; reported by brad@ | Ingo Schwarze | 2011-01-22 | 1 | -4/+8 |
| | |||||
* | sort missing features, no change of content | Ingo Schwarze | 2011-01-22 | 1 | -18/+28 |
| | |||||
* | Lots of in-line macros require arguments but were not marked as such. | Ingo Schwarze | 2011-01-22 | 1 | -9/+9 |
| | | | | Check prompted by kristaps@. | ||||
* | Check argument count validation for all in_line() macros. | Ingo Schwarze | 2011-01-22 | 1 | -36/+20 |
| | | | | | | | | Most empty in_line() macros are already removed by the parser, so there is no need to check again in mdoc_validate.c. This also downgrades almost all remaining argument count issues from ERROR to WARNING. ok kristaps@ | ||||
* | When finding the roff .it request (line trap), | Ingo Schwarze | 2011-01-22 | 2 | -1/+6 |
| | | | | | make it clear that you cannot use mandoc to format that page (yet). Triggered by a report from brad@, ok kristaps@. | ||||
* | "decimalpoint" is in fact supported. | Kristaps Dzonsons | 2011-01-17 | 1 | -2/+0 |
| | |||||
* | Refrain from throwing fatal errors for | Ingo Schwarze | 2011-01-17 | 3 | -37/+27 |
| | | | | | | | * .br .sp .nf .fi .na with arguments - just skip the arguments * .TH lacking arguments - use empty strings instead like groff * .TH with excessive arguments - skip those Reminded by joerg@, ok kristaps@. | ||||
* | When processing a blank text line, do not break out of text processing | Ingo Schwarze | 2011-01-16 | 1 | -2/+2 |
| | | | | | | into macro processing code. Fixing a regression introduced in 1.95, found because it caused segfaults in my regression suite. OK kristaps@ | ||||
* | Implement the roff .rm request (remove macro). | Ingo Schwarze | 2011-01-16 | 1 | -11/+18 |
| | | | | | | Using the new roff_getname() function, this is really simple. Breaks mandoc of the habit of reporting an error in each pod2man(1) preamble. Reminded by a report from brad@; ok kristaps@. | ||||
* | Change how -Thtml behaves with tables: use multiple rows, with widths | Kristaps Dzonsons | 2011-01-13 | 5 | -49/+112 |
| | | | | | | | | | set by COL, until an external macro is encountered. At this point in time, close out the table and process the macro. When the first table row is again re-encountered, re-start the table. This requires a bit of tracking added to "struct html", but the change is very small and follows the logic of meta-fonts. This all follows a bug-report by joerg@. | ||||
* | Incorporate same fix for -man post-validation deletion of nodes. This | Kristaps Dzonsons | 2011-01-12 | 1 | -2/+9 |
| | | | | isn't known to cause any problems, but better safe than sorry. | ||||
* | Downgrade -man message of ignored empty paragraph to MANDOC_IGNPAR. The | Kristaps Dzonsons | 2011-01-12 | 3 | -38/+31 |
| | | | | | | | | | | | change in man_macro.c was from an assertion caused by a subtle problem: (1) macro is removed, causing m->last to be m->last->parent; (2) by jumping to the m->last->parent after post-validation, the original m->last->parent is skipped; (3) the rewinder climbs to the root of the tree and aborts. The original issue recorded in the TODO by schwarze@, reminded by Brad Smith. | ||||
* | Make out-of-context `fi' invocations not cause an error, but just a | Kristaps Dzonsons | 2011-01-12 | 4 | -5/+3 |
| | | | | warning. From a TODO by schwarze@, originally noted by Brad Smith. | ||||
* | Bring in -Tascii comments for -Thtml MANH_LITERAL line-breaking stuff. | Kristaps Dzonsons | 2011-01-12 | 1 | -5/+15 |
| | |||||
* | Make sure that -Thtml doesn't break within literal lines. This is the | Kristaps Dzonsons | 2011-01-12 | 2 | -17/+5 |
| | | | | same logic as the -Tascii case. Also remove the TODO. | ||||
* | Make -man -Tascii not break within literal lines, e.g., | Kristaps Dzonsons | 2011-01-12 | 1 | -27/+33 |
| | | | | | | | | | | .nf .B hello world .fi Also, clean up the print_man_node() function a little bit. This problem has long since been in the TODO and was recently noted again by Brad Smith. The -T[x]html fix will follow... | ||||
* | If the first character of free-form text is whitespace, then a newline | Kristaps Dzonsons | 2011-01-12 | 9 | -10/+42 |
| | | | | shall precede outputted text (surprise!). | ||||
* | Note that "^" needs an empty cell, while "s" does not. | Kristaps Dzonsons | 2011-01-11 | 1 | -0/+2 |
| | |||||
* | Add support for "^" vertical spanners. Unlike GNU tbl, raise | Kristaps Dzonsons | 2011-01-11 | 6 | -7/+40 |
| | | | | | | | error-class messages when data is being ignored by specifying it in "^" cells (either as-is or in blocks). Also note again that horizontal spanners aren't really supported... | ||||
* | Don't let `in' creep past the right margin. | Kristaps Dzonsons | 2011-01-11 | 1 | -0/+5 |
| | | | | From an assertion noted by Brad (at comstyle). | ||||
* | Refactoring in preparation for .rm support: | Ingo Schwarze | 2011-01-11 | 3 | -38/+47 |
| | | | | | | | | | | Unify parsing of names given as roff request arguments into a new function roff_getname(), which is rather different from the parsing function for normal arguments, mandoc_getarg(), because names cannot be quoted and cannot contain whitespace or escaped characters. The new function now throws an ERROR when finding escaped characters in a name. "I'm fine with this." kristaps@ | ||||
* | Clarify what members may be NULL or not in calculating widths. Make | Kristaps Dzonsons | 2011-01-10 | 4 | -23/+27 |
| | | | | | sure signedness is correct. Verify that layouts MUST exit for data cells. | ||||
* | Make dp->string always consist of a value. | Kristaps Dzonsons | 2011-01-10 | 2 | -15/+14 |
| | |||||
* | First, make extra data cells be thrown away. This makes "dp->layout" | Kristaps Dzonsons | 2011-01-10 | 8 | -33/+83 |
| | | | | | | | | | | | | always hold, which cleans up the table stuff a bit. Second, set a "spans" value per data cell consisting of the number of skipped TBL_CELL_SPAN layout cells. Third, make tbl_term.c understand how to skip over spanned sections when iterating over the header queue. What remains is to calculate the widths of spanned cells. | ||||
* | some minor issues reported by brad@ | Ingo Schwarze | 2011-01-10 | 1 | -0/+15 |
| | |||||
* | When a row of data is being parsed and it's a line or double-line | Kristaps Dzonsons | 2011-01-09 | 1 | -3/+9 |
| | | | | | | | (instead of data), re-use the last "layout" pointer instead of advancing to the next one. This fixes a segfault report by joerg@. | ||||
* | Remove lots of issues that have been resolved, | Ingo Schwarze | 2011-01-09 | 1 | -22/+15 |
| | | | | and rephrase some that have been partially resolved. | ||||
* | Add some unsigned char casts for tolower() usage | Joerg Sonnenberger | 2011-01-09 | 2 | -4/+4 |
| | |||||
* | Note that we support the "a" key. | Kristaps Dzonsons | 2011-01-08 | 1 | -2/+1 |
| | |||||
* | The numerical column type centres on the *last* decimal point. | Kristaps Dzonsons | 2011-01-08 | 3 | -3/+3 |
| | |||||
* | Give the "n" cell type knowledge of its spacing. | Kristaps Dzonsons | 2011-01-08 | 3 | -17/+16 |
| | |||||
* | Meh, 2010->2011. Changed the live index.html file so as not to confuse | Kristaps Dzonsons | 2011-01-07 | 2 | -2/+2 |
| | | | | people (although the tagged 1.10.9 release will show 2010). | ||||
* | Oops: get rid of stray whitespace.VERSION.1.10.9 | Kristaps Dzonsons | 2011-01-07 | 1 | -1/+1 |
| | |||||
* | Fixes: T} can be followed by a delimiter then more data. Make this | Kristaps Dzonsons | 2011-01-07 | 4 | -16/+46 |
| | | | | | | | | | work and add documentation for it. Also make tbl_term() not puke if the number of data cells is less than the number of layout cells (which happens from time to time). This still needs work because we should pad out empty cells so that the borders all work out. | ||||
* | Quiesce lint with some type handling. Does not change anything. | Kristaps Dzonsons | 2011-01-07 | 5 | -17/+20 |
| | |||||
* | Version bits. Here we go... | Kristaps Dzonsons | 2011-01-07 | 2 | -41/+41 |
| | |||||
* | Tiny bits in place for tbl horizontal spans. This will wait for the next | Kristaps Dzonsons | 2011-01-07 | 2 | -3/+24 |
| | | | | release to be implemented in full. | ||||
* | Make -literal displays only have 8-character displays. From a | Kristaps Dzonsons | 2011-01-06 | 2 | -6/+3 |
| | | | | low-hanging TODO added by schwarze@ on 15/08/10. | ||||
* | Remove delims from struct tbl (not used anywhere and never will be). | Kristaps Dzonsons | 2011-01-06 | 2 | -3/+2 |
| | |||||
* | Clean-up www page a bit. | Kristaps Dzonsons | 2011-01-06 | 1 | -11/+12 |
| | |||||
* | Restructured tbl_html() function so that we always clean up our columns. | Kristaps Dzonsons | 2011-01-06 | 1 | -39/+42 |
| |