Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Clean up -T[x]html by using a table instead of a switch statement for | 2011-05-17 | 1 | -42/+17 | |
| | | | | | the roff units. Also remove a comment about CSS and number types (they all accept decimal numbers). | ||||
* | Remove function calls to res() and so forth in term_word(). These were | 2011-05-15 | 2 | -57/+19 | |
| | | | | | | only used once and simply bloated the binary. Also fix mchars_num2char to correctly render the character instead of using atoi(). This makes the conversation more strict, but it's more correct. | ||||
* | Fix missing support for \N'n' when calculating string widths in -Tascii | 2011-05-15 | 3 | -7/+14 | |
| | | | | (oops). Do the same for -Thtml (oops^2). | ||||
* | Support groff's escape for Unicode input. See | 2011-05-15 | 3 | -4/+27 | |
| | | | | | | http://mdocml.bsd.lv/archives/tech/0368.html For the time being, we just throw it away. | ||||
* | Use strcspn() in term_strlen(). Clarifies the code. | 2011-05-15 | 1 | -11/+11 | |
| | |||||
* | Get rid of an "#if 0" that I don't anticipate being fixed ever (nor does | 2011-05-15 | 1 | -43/+1 | |
| | | | | it really need to be fixed, anyway). | ||||
* | Move struct termp_ps into term_ps.c; remove the engine union in struct termp, | 2011-05-15 | 2 | -202/+199 | |
| | | | | | | which only held one entry; finally (as per the first), make "ps" member into a pointer managed by term_ps.c. This frees up a nice chunk of memory during run-time and in the binary. | ||||
* | Continuing last commit with the style-sheet change. | 2011-05-14 | 1 | -19/+21 | |
| | |||||
* | Fix makewhatis.1 to have the correct name (it was MANDOC-DB, oops). | 2011-05-14 | 1 | -3/+3 | |
| | |||||
* | Make index.sgml look more like mandoc-cgi, which I find looks much cleaner | 2011-05-14 | 1 | -58/+17 | |
| | | | | and nicer. | ||||
* | Make www style.css link up to example.style.css much nicer. | 2011-05-14 | 1 | -41/+34 | |
| | |||||
* | Make some values "int" that were "size_t". These are primarily used for | 2011-05-14 | 2 | -26/+30 | |
| | | | | indexing into arrays, so this removes lots of casts from size_t to int. | ||||
* | Make character engine (-Tascii, -Tpdf, -Tps) ready for Unicode: make buffer | 2011-05-14 | 6 | -24/+28 | |
| | | | | | | consist of type "int". This will take more work (especially in encode and friends), but this is a strong start. This commit also consists of some harmless lint fixes. | ||||
* | Give -Thtml and -Txhtml the gift of recognising escapes when calculating | 2011-05-14 | 3 | -8/+45 | |
| | | | | | widths (e.g., `Bl -tag -width "\s[blahblah]bar"). This has long since been done for -Tascii but escaped noticed with -T[x]html. | ||||
* | Move roff.c's strtol into libmandoc.h for use by other parts of the code | 2011-05-14 | 3 | -30/+43 | |
| | | | | (which will come). | ||||
* | Last sneak-in: incorrect www link.VERSION_1_11_2 | 2011-05-13 | 1 | -2/+2 | |
| | |||||
* | Ooops, forgot to install makewhatis manual. | 2011-05-13 | 1 | -1/+6 | |
| | |||||
* | Version up! 1.11.2. Let's go... | 2011-05-13 | 1 | -2/+2 | |
| | |||||
* | More release notes. | 2011-05-13 | 1 | -1/+2 | |
| | |||||
* | Rename mandoc-db to makewhatis. On the suggestion of schwarze@; I agree. | 2011-05-13 | 4 | -34/+45 | |
| | | | | Add initial version notes. | ||||
* | Don't let Linux-isms creep into Makefile. | 2011-05-12 | 1 | -1/+1 | |
| | |||||
* | Correctly catch `Vt' semicolon in mandoc-db. | 2011-05-12 | 1 | -3/+4 | |
| | |||||
* | Lint fixes: remove unused function variables and pass in proper enum | 2011-05-12 | 1 | -8/+7 | |
| | | | | values instead of ints. | ||||
* | Make sure that we check for the \(en, \(em, \-, and - separators for | 2011-05-12 | 1 | -4/+9 | |
| | | | | the heuristic dance to grab manual descriptions from man documents. | ||||
* | Grok manual architecture in mandoc-db.c. | 2011-05-04 | 2 | -3/+13 | |
| | |||||
* | Add configurations (`Cd') to mandoc-db mining. | 2011-05-04 | 2 | -5/+42 | |
| | | | | | Also put some notes into index.sgml to the effect that mandoc-db exists, but is not linked to the build. | ||||
* | Pick up authors in mandoc-db. | 2011-05-03 | 2 | -5/+28 | |
| | |||||
* | Have mandoc-db grok `Dt'/`TH' manual title as well. | 2011-05-03 | 1 | -1/+7 | |
| | |||||
* | Back out stripping of non-predef and non-special escape sequences from | 2011-05-02 | 1 | -5/+4 | |
| | | | | | input (this is not yet possible with mandoc_escape(), which depends on nil-terminated strings). | ||||
* | Have mandoc-db strip out escapes that aren't special or predefined | 2011-05-01 | 1 | -16/+55 | |
| | | | | characters. This is a work-in-progress that has some issues. | ||||
* | Documenting the mchars_XXXX part of mandoc.h. | 2011-05-01 | 1 | -2/+88 | |
| | |||||
* | Remove mdoc.template. It's already embedded in man(7) and mdoc(7); no | 2011-05-01 | 1 | -42/+0 | |
| | | | | need to have it floating around separately. | ||||
* | Document the fact that \N'' accepts only printable characters. | 2011-05-01 | 1 | -2/+5 | |
| | |||||
* | Filter all \N'' values with isprint(). Ok schwarze@. | 2011-05-01 | 1 | -10/+6 | |
| | |||||
* | Make mchars_num2char() return a char like it says. | 2011-04-30 | 4 | -23/+21 | |
| | |||||
* | Rename mchars_init() -> mchars_alloc() for consistency. | 2011-04-30 | 5 | -10/+10 | |
| | |||||
* | Remove enum mcharst, which hasn't been used in quite some time. | 2011-04-30 | 5 | -17/+10 | |
| | |||||
* | No code change: fixing spelling errors. From a patch by uqs@. Thanks! | 2011-04-30 | 9 | -23/+23 | |
| | |||||
* | Was installing libmandoc.a without mandoc.h... | 2011-04-30 | 1 | -0/+2 | |
| | |||||
* | Move "chars" interface out of out.h and into mandoc.h. This doesn't | 2011-04-29 | 10 | -72/+65 | |
| | | | | | | | | | | change any code but for renaming functions and types to be consistent with other mandoc.h stuff. The reason for moving into libmandoc is that the rendering of special characters is part of mandoc itself---not an external part. From mandoc(1)'s perspective, this changes nothing, but for other utilities, it's important to have these part of libmandoc. Note this isn't documented [yet] in mandoc.3 because there are some parts I'd like to change around beforehand. | ||||
* | Let mandoc-db grok `St' tokens. | 2011-04-28 | 2 | -5/+25 | |
| | |||||
* | Closing delimiters only suppress spacing when they follow something. | 2011-04-25 | 1 | -2/+14 | |
| | | | | | Fixing a regression introduced in rev. 1.105. ok and prodding for comments kristaps@. | ||||
* | User defined macros may invoke high-level macros. | 2011-04-24 | 1 | -3/+2 | |
| | | | | | The latter got lost due to a regression in rev. 1.130. ok kristaps@ | ||||
* | Prevent line breaks right before numbers. Groff does the same. | 2011-04-24 | 2 | -38/+42 | |
| | | | | OK kristaps@. | ||||
* | Revert last change: this screwed up displaying in other pages (didn't | 2011-04-23 | 1 | -2/+2 | |
| | | | | test it enough). | ||||
* | Make the `Nm' -Thtml attribute be min-width instead of width. This is a | 2011-04-23 | 1 | -2/+2 | |
| | | | | | | | | quick fix for, say, rc.d(8) in OpenBSD, which has nested macros on the `Nm' SYNOPSIS line that were skipped over by the length calculator. This should [maybe?] be a recursive length check, but still it'd need to be a min-width to accomodate for (say) `Qq' and the like printing excess characters post-length-calculation. | ||||
* | Add \*(Ai (ANSI) and \*(Px (POSIX) predefined strings, which are part of | 2011-04-20 | 3 | -7/+16 | |
| | | | | | | groff's tmac.doc package. Originally noted by Matthew Dempsky. Feedback by Jason McIntyre, joerg@, and schwarze@. Also add some documentation about predefined strings, tweaked by schwarze@. | ||||
* | Clean up parsing of delimiters in -mdoc. First, remove the "dowarn" | 2011-04-19 | 7 | -204/+173 | |
| | | | | | | | | variable from mandoc_getarg() so that it prints the warning every time. Then, remove the warning from args_checkpunct(). This way, warnings are being posted at the correct time. This makes the flag argument to mdoc_zargs() superfluous, so make it be zero when it's invoked. Finally, move the args() flags into mdoc_argv.c and make them enums. | ||||
* | Add more documentation bits to mandoc.3. | 2011-04-19 | 1 | -2/+74 | |
| | |||||
* | .Pp in .Bl -column | 2011-04-17 | 1 | -1/+5 | |
| |