Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | As pointed out by schwarze@, %T/%J renders with a normal double-quote, not | Kristaps Dzonsons | 2010-12-25 | 1 | -4/+4 |
| | | | | the fancy double-quote. | ||||
* | Implement schwarze@'s much more elegant version of my %T/%J fix. | Kristaps Dzonsons | 2010-12-25 | 3 | -20/+7 |
| | |||||
* | Specifying both %T and %J in an `Rs' block causes the title to be quoted | Kristaps Dzonsons | 2010-12-25 | 5 | -8/+65 |
| | | | | | instead of underlined. This only happens in -Tascii, as -T[x]html both underlines and italicises. | ||||
* | Whack superfluous font-family in mdocml's www style.css. Noted by | Kristaps Dzonsons | 2010-12-24 | 1 | -2/+1 |
| | | | | Anthony J. Bentley. Thanks! | ||||
* | Make `Fo' use a B instead of SPAN (left-over). | Kristaps Dzonsons | 2010-12-24 | 1 | -2/+2 |
| | |||||
* | Have Makefile build XHTML files too.VERSION.1.10.8 | Kristaps Dzonsons | 2010-12-24 | 1 | -3/+7 |
| | |||||
* | Apparently the U tag is deprecated, so use a SPAN instead (blah). Bump | Kristaps Dzonsons | 2010-12-24 | 7 | -7/+4 |
| | | | | version date for release. | ||||
* | As per schwarze@'s suggestions, roll back the refcount structure in | Kristaps Dzonsons | 2010-12-24 | 6 | -143/+152 |
| | | | | | | | | favour of a simpler shim for normalised data in the node allocation and free routines. This removes the need to bump and copy references within validator handlers, removes a pointer redirect, and also kills the refcount structure itself. Data is assumed to "live" either in a MDOC_BLOCK or MDOC_ELEM and is copied accordingly. | ||||
* | Drastically fix -T[x]html's handling of font-escape mode changes (i.e., | Kristaps Dzonsons | 2010-12-24 | 4 | -62/+54 |
| | | | | | | | | | | | | | | | using \fI or \fP). Now, using these modes will cause a font to be rendered for each word; furthermore, setting mode within a word will do the correct thing. Second, make -man use real font tags (B, I, SMALL) to set its font instead of using font modes and fix up the pre-macro unsetting of the current mode. This fixes how roff.7 wasn't validating (<P> closing out a font mode) and has been checked against gcc.1 (more will come). I considered failure to validate OUR manual to be a show-stopper for the up-coming release. | ||||
* | Ensure -Thtml has DIV as child of BLOCKQUOTE. | Kristaps Dzonsons | 2010-12-23 | 1 | -5/+5 |
| | |||||
* | Added last version notes and bumped version number and date. | Kristaps Dzonsons | 2010-12-23 | 2 | -14/+15 |
| | |||||
* | minor tweaks: | Ingo Schwarze | 2010-12-22 | 1 | -5/+7 |
| | | | | | | | | | 1. improve .Bl wording (from jmc@) 2. jmc@ noted that the .Mt default (the same as in groff) makes no sense, and there is no better default we could use; thus, regard it as implementation dependent and do not document it 3. fix formatting of one COMPATIBILITY note: move "and" out of .Sx ok kristaps@, jmc@ | ||||
* | At the beginning of .Bl, .Sm is allowed, | Ingo Schwarze | 2010-12-22 | 1 | -3/+5 |
| | | | | | and .Lp should cause a warning, not an error. "I don't suppose I mind this." kristaps@ | ||||
* | Build xhtml files for www site exemplaria. | Kristaps Dzonsons | 2010-12-22 | 3 | -0/+14 |
| | |||||
* | Revert IGNPAR to a warning after clue-stick applied by schwarze@: | Kristaps Dzonsons | 2010-12-22 | 2 | -2/+2 |
| | | | | | | | although technically-speaking a lost macro is an error (e.g., MANDOCERR_MACRO), casting out some extra whitespace (note, IGNPAR only happens in conditions where whitespace already exists!) is hardly an error matter. | ||||
* | Implement reference-counted version of original union mdoc_data. This | Kristaps Dzonsons | 2010-12-22 | 9 | -167/+158 |
| | | | | | | | simplifies clean-up and allows for more types without extra hassle. Also made in-line literal types in -T[x]html use CODE instead of SPAN to match how literal blocks use PRE. | ||||
* | Throw out negative margin garbage in -man -T[x]html in favour of using | Kristaps Dzonsons | 2010-12-22 | 1 | -96/+78 |
| | | | | TABLE and P and so on. Now renders in text-based browsers. | ||||
* | Sync to OpenBSD: | Ingo Schwarze | 2010-12-21 | 1 | -11/+43 |
| | | | | | | | | | 1) Now that growing buffers in main.c is safe, bring back the bugfix distinguishing empty and undefined macros that was backed out in the previous roff.c commit: `de' initializes to "", not to NULL. 2) Roff only interpolates \* strings when the leading backslash is not escaped; using optimizations suggested by joerg@ and kristaps@. ok kristaps@ | ||||
* | Sane behaviour for the growing of very small buffers: | Ingo Schwarze | 2010-12-21 | 1 | -1/+1 |
| | | | | | | | Always grow at least to the minimum requested size. Before this, a buffer of 1 byte was grown to 2 bytes, which was too small and sometimes caused segfaults. ok kristaps@ | ||||
* | Clarify style inclusions and update release information. | Kristaps Dzonsons | 2010-12-20 | 3 | -11/+15 |
| | |||||
* | Fix list-type being clobbered by margins. Last default styles in place. | Kristaps Dzonsons | 2010-12-20 | 3 | -33/+35 |
| | | | | | Added `Sx' to be default-italic (as in OpenBSD's cvsweb). Added `diag' formatting, which had been lost. | ||||
* | More use default tags, this time I and U. Also fix a stack overflow | Kristaps Dzonsons | 2010-12-20 | 4 | -21/+37 |
| | | | | segfault in the last commit. | ||||
* | Give header and footer table cells default widths (using WIDTH and ALIGN | Kristaps Dzonsons | 2010-12-20 | 4 | -45/+77 |
| | | | | | | | | | atttributes) if no style is specified. Give the default-bold elements a B tag instead of a SPAN tag, as this can be overriden in the stylesheet. Prune some unused attributes from html.h. | ||||
* | Migrate schwarze@'s `Bk' argument patch to -T[x]html. | Kristaps Dzonsons | 2010-12-19 | 1 | -1/+2 |
| | |||||
* | Handle .Bk the same way as groff 1.20.1: | Ingo Schwarze | 2010-12-19 | 1 | -1/+2 |
| | | | | | | .Bk without arguments defaults to -words. .Bk with invalid arguments (including -lines) has no effect. ok kristaps@ | ||||
* | Sync to the installed version in OpenBSD, excluding .ft documentation: | Ingo Schwarze | 2010-12-18 | 1 | -88/+138 |
| | | | | | | Be more careful to not confuse requests, macros and escape sequences. Add more info at various places, including new SEE ALSO and HISTORY sections. OK jmc@ kristaps@ | ||||
* | Sync to OpenBSD: More precise description of .Xo, and don't talk | Ingo Schwarze | 2010-12-18 | 1 | -3/+7 |
| | | | | | | | | about deprecation, because there are cases were choosing .Xo or backslash line continuation is merely a matter of taste, not a difference in readability, and well-used .Xo is even slightly more portable. OK jmc@ | ||||
* | Tweak default styles. | Kristaps Dzonsons | 2010-12-17 | 2 | -7/+7 |
| | |||||
* | Don't use EM for default widths; use BU instead. | Kristaps Dzonsons | 2010-12-17 | 1 | -2/+2 |
| | |||||
* | Merged example.style.css into style.css. Adding version stuff. | Kristaps Dzonsons | 2010-12-17 | 3 | -52/+143 |
| | |||||
* | Correctly labelled command-line as `Dl'. | Kristaps Dzonsons | 2010-12-17 | 2 | -2/+2 |
| | |||||
* | Prevent double-printing of `D1' or `Dl' DIV. | Kristaps Dzonsons | 2010-12-17 | 1 | -4/+3 |
| | |||||
* | Correctly mark the examples as `Dl', not `D1'. | Kristaps Dzonsons | 2010-12-17 | 1 | -4/+4 |
| | |||||
* | Add a "list" top-level tag, too. | Kristaps Dzonsons | 2010-12-17 | 2 | -2/+6 |
| | |||||
* | Remove useless DIVs in favour of BRs. Fix `Ex' by having it print a prior | Kristaps Dzonsons | 2010-12-17 | 1 | -3/+9 |
| | | | | BR. Fix `Rv' by only having it print a BR if there's a prior. | ||||
* | Make literal `Bd' use a PRE in -Thtml. Make `Bd' output in general use | Kristaps Dzonsons | 2010-12-17 | 4 | -29/+27 |
| | | | | only a single DIV or PRE. Tag all displays with display class. | ||||
* | Banished -man -Thtml header and footer to example.style.css as well. | Kristaps Dzonsons | 2010-12-17 | 2 | -32/+19 |
| | |||||
* | Have synopsis_pre() in -Thtml emit P or BR, not DIVs. | Kristaps Dzonsons | 2010-12-17 | 3 | -44/+35 |
| | | | | Banish header and footer TABLE styling to example.style.css. | ||||
* | Make SYNOPSIS `Nm' use a TABLE in -T[x]html mode. Also fix `Nd' using | Kristaps Dzonsons | 2010-12-17 | 2 | -57/+39 |
| | | | | desc-body instead of desc as its CSS key. | ||||
* | Significantly clean up Sh, Ss, SH, and SS handling in -Thtml. Now a | Kristaps Dzonsons | 2010-12-17 | 3 | -133/+38 |
| | | | | | | top-level DIV is used with only an H1 or H2 as the section header. This makes manuals much more readable in lynx, less complicated, and relegates left-margin widths to example.style.css. | ||||
* | Some default styles for lists. Needs more testing, but seems safe | Kristaps Dzonsons | 2010-12-16 | 1 | -8/+8 |
| | | | | enough. | ||||
* | Note that we use CSS1, not CSS2. | Kristaps Dzonsons | 2010-12-16 | 1 | -6/+5 |
| | | | | Remove superfluous language in output-mode short description. | ||||
* | Get widths to be propertly represented in -T[x]html. | Kristaps Dzonsons | 2010-12-16 | 1 | -6/+17 |
| | |||||
* | Migrate `An' to use a pointer in its data, like everybody else. This is | Kristaps Dzonsons | 2010-12-16 | 4 | -7/+13 |
| | | | | | the first step to having a simpler ref-counted system for "data" associated with a node. | ||||
* | Remove stray note on `i', which we no longer support. | Kristaps Dzonsons | 2010-12-16 | 1 | -6/+0 |
| | |||||
* | Note that `Sh' and `Ss' are now rigorously checked for paragraph macros. | Kristaps Dzonsons | 2010-12-16 | 1 | -4/+2 |
| | | | | Merge other TODO regarding `It' and paragraphs. | ||||
* | Back out last: apparently `Bl', `It', and `Pp' need a little bit more | Kristaps Dzonsons | 2010-12-16 | 1 | -17/+2 |
| | | | | study to see exactly what's legal and what's not. | ||||
* | Allow `It' to have a trailing paragraph if the surrounding list is in | Kristaps Dzonsons | 2010-12-16 | 1 | -2/+17 |
| | | | | compact mode. | ||||
* | First, make `Pp' (next to `Sm') be allowed as the first element of a | Kristaps Dzonsons | 2010-12-16 | 1 | -13/+15 |
| | | | | | | | | | | | `Bl' (before any `It' have been invoked). Next, have the existence of either macro raise a warning, as it's technically not legal according to mdoc.7. Second, delete any `Pp' as the first element of a `Bl' (i.e., before an `It') ONLY when -compact has not been specified. This matches with the latest version of groff. This deletion happens prior to the above check, so double-warnings will not be issued. | ||||
* | Remove `Pp' and `Lp' checks in front-ends to make sure we're not | Kristaps Dzonsons | 2010-12-15 | 2 | -10/+0 |
| | | | | | printing as the first or last child of an `Ss' or `Sh': this is now ensured within the validator. |