summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Support groff's escape for Unicode input. SeeKristaps Dzonsons2011-05-153-0/+23
| | | | | | 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.Kristaps Dzonsons2011-05-151-10/+10
|
* Get rid of an "#if 0" that I don't anticipate being fixed ever (nor doesKristaps Dzonsons2011-05-151-42/+0
| | | | it really need to be fixed, anyway).
* Move struct termp_ps into term_ps.c; remove the engine union in struct termp,Kristaps Dzonsons2011-05-152-200/+197
| | | | | | 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.Kristaps Dzonsons2011-05-141-19/+21
|
* Fix makewhatis.1 to have the correct name (it was MANDOC-DB, oops).Kristaps Dzonsons2011-05-141-1/+1
|
* Make index.sgml look more like mandoc-cgi, which I find looks much cleanerKristaps Dzonsons2011-05-141-58/+17
| | | | and nicer.
* Make www style.css link up to example.style.css much nicer.Kristaps Dzonsons2011-05-141-39/+32
|
* Make some values "int" that were "size_t". These are primarily used forKristaps Dzonsons2011-05-142-24/+28
| | | | indexing into arrays, so this removes lots of casts from size_t to int.
* Make character engine (-Tascii, -Tpdf, -Tps) ready for Unicode: make bufferKristaps Dzonsons2011-05-146-18/+22
| | | | | | 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 calculatingKristaps Dzonsons2011-05-143-5/+42
| | | | | 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 codeKristaps Dzonsons2011-05-143-27/+40
| | | | (which will come).
* Last sneak-in: incorrect www link.VERSION.1.11.2Kristaps Dzonsons2011-05-131-1/+1
|
* Ooops, forgot to install makewhatis manual.Kristaps Dzonsons2011-05-131-1/+6
|
* Version up! 1.11.2. Let's go...Kristaps Dzonsons2011-05-131-2/+2
|
* More release notes.Kristaps Dzonsons2011-05-131-0/+1
|
* Rename mandoc-db to makewhatis. On the suggestion of schwarze@; I agree.Kristaps Dzonsons2011-05-134-30/+41
| | | | Add initial version notes.
* Don't let Linux-isms creep into Makefile.Kristaps Dzonsons2011-05-121-1/+1
|
* Correctly catch `Vt' semicolon in mandoc-db.Kristaps Dzonsons2011-05-121-2/+3
|
* Lint fixes: remove unused function variables and pass in proper enumKristaps Dzonsons2011-05-121-7/+6
| | | | values instead of ints.
* Make sure that we check for the \(en, \(em, \-, and - separators forKristaps Dzonsons2011-05-121-3/+8
| | | | the heuristic dance to grab manual descriptions from man documents.
* Grok manual architecture in mandoc-db.c.Kristaps Dzonsons2011-05-042-0/+10
|
* Add configurations (`Cd') to mandoc-db mining.Kristaps Dzonsons2011-05-042-3/+40
| | | | | 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.Kristaps Dzonsons2011-05-032-2/+25
|
* Have mandoc-db grok `Dt'/`TH' manual title as well.Kristaps Dzonsons2011-05-031-0/+6
|
* Back out stripping of non-predef and non-special escape sequences fromKristaps Dzonsons2011-05-021-4/+3
| | | | | 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 predefinedKristaps Dzonsons2011-05-011-15/+54
| | | | characters. This is a work-in-progress that has some issues.
* Documenting the mchars_XXXX part of mandoc.h.Kristaps Dzonsons2011-05-011-0/+86
|
* Remove mdoc.template. It's already embedded in man(7) and mdoc(7); noKristaps Dzonsons2011-05-011-42/+0
| | | | need to have it floating around separately.
* Document the fact that \N'' accepts only printable characters.Kristaps Dzonsons2011-05-011-0/+3
|
* Filter all \N'' values with isprint(). Ok schwarze@.Kristaps Dzonsons2011-05-011-9/+5
|
* Make mchars_num2char() return a char like it says.Kristaps Dzonsons2011-04-304-19/+17
|
* Rename mchars_init() -> mchars_alloc() for consistency.Kristaps Dzonsons2011-04-305-5/+5
|
* Remove enum mcharst, which hasn't been used in quite some time.Kristaps Dzonsons2011-04-305-12/+5
|
* No code change: fixing spelling errors. From a patch by uqs@. Thanks!Kristaps Dzonsons2011-04-309-12/+12
|
* Was installing libmandoc.a without mandoc.h...Kristaps Dzonsons2011-04-301-0/+2
|
* Move "chars" interface out of out.h and into mandoc.h. This doesn'tKristaps Dzonsons2011-04-2910-63/+56
| | | | | | | | | | 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.Kristaps Dzonsons2011-04-282-2/+22
|
* Closing delimiters only suppress spacing when they follow something.Ingo Schwarze2011-04-251-1/+13
| | | | | Fixing a regression introduced in rev. 1.105. ok and prodding for comments kristaps@.
* User defined macros may invoke high-level macros.Ingo Schwarze2011-04-241-2/+1
| | | | | The latter got lost due to a regression in rev. 1.130. ok kristaps@
* Prevent line breaks right before numbers. Groff does the same.Ingo Schwarze2011-04-242-36/+40
| | | | OK kristaps@.
* Revert last change: this screwed up displaying in other pages (didn'tKristaps Dzonsons2011-04-231-1/+1
| | | | test it enough).
* Make the `Nm' -Thtml attribute be min-width instead of width. This is aKristaps Dzonsons2011-04-231-1/+1
| | | | | | | | 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 ofKristaps Dzonsons2011-04-203-3/+12
| | | | | | 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"Kristaps Dzonsons2011-04-197-197/+166
| | | | | | | | 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.Kristaps Dzonsons2011-04-191-0/+72
|
* .Pp in .Bl -columnIngo Schwarze2011-04-171-0/+4
|
* The semantics of .Bk was described incorrectlyIngo Schwarze2011-04-171-2/+3
| | | | | | for the case of multiple sibling macros on a single input line. Issue found investigating a question from sobrado@. "I like this diff" kristaps@
* Use mandoc_getarg() for the regular case of processing unquotedKristaps Dzonsons2011-04-171-19/+3
| | | | arguments in -mdoc documents.
* Get mdoc_argv.c ready to use [some of] mandoc_getarg() by giving saidKristaps Dzonsons2011-04-175-18/+20
| | | | function a parameter to suppress warnings.