Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Regression tests in place for `.if' in libroff. | Kristaps Dzonsons | 2010-05-16 | 12 | -4/+257 |
| | | | | | Check against some strange `.if' constructs I missed. Added initial roff.7 manual. | ||||
* | Fully skip first and last line for the purpose of cmp. | Joerg Sonnenberger | 2010-05-16 | 1 | -3/+6 |
| | |||||
* | Skip first line when comparing output. | Joerg Sonnenberger | 2010-05-16 | 1 | -1/+3 |
| | |||||
* | mandoc should be a variable. | Kristaps Dzonsons | 2010-05-16 | 1 | -2/+2 |
| | | | | Consensus is on using a *.in for regression tests (symmetry-broken by Ingo). | ||||
* | Remove temp files on success. | Joerg Sonnenberger | 2010-05-16 | 1 | -0/+1 |
| | |||||
* | Add a basic regression testing script. | Joerg Sonnenberger | 2010-05-16 | 1 | -0/+39 |
| | |||||
* | Re-admit the simple case of `.ig' that works with groff's stranger invocations. | Kristaps Dzonsons | 2010-05-16 | 1 | -123/+71 |
| | |||||
* | Support for the general case of `if', which will boil out into other | Kristaps Dzonsons | 2010-05-16 | 1 | -49/+77 |
| | | | | | | | | constructs: single-level and multi-level blocks; nested, varied-level blocks; recalculating buffer (begin) boundaries pushed correctly into the back-ends, and so on. This will allow, once conditions are turned on, for things like `.ie n .TH FOO 1' then `.el .Dd Mdocdate'. Read it and weep. | ||||
* | Allow roff_parseln() to be re-run. | Kristaps Dzonsons | 2010-05-16 | 7 | -99/+206 |
| | | | | | | | | | Allow roff_parseln() to manipulate the line buffer offset. This is used in situations like `.ie n .TH FOO 1' or `.ie n .ie n', where the line buffer offset is recalculated then the roff parser re-run. Fix mdoc_parseln() and man_parseln() to accept the initial line offset. WARNING: backed-out ALL roff macros whilst accomodating for how roff handles multi-line conditionals (in short, re-running the parser). | ||||
* | sync to OpenBSD: | Ingo Schwarze | 2010-05-16 | 3 | -2/+4 |
| | | | | | | introduce a #define to get rid of the magic number describing the ASCII character used to represent non-breaking space; ok kristaps | ||||
* | Fix allowing silly '\'' control character. | Kristaps Dzonsons | 2010-05-16 | 3 | -3/+3 |
| | |||||
* | Removed `.' entry from -man hashtable. | Kristaps Dzonsons | 2010-05-15 | 1 | -6/+4 |
| | |||||
* | Remove `am', `ami', `de', `dei', and `.' from -man, as they're now in the ↵ | Kristaps Dzonsons | 2010-05-15 | 8 | -159/+5 |
| | | | | roff preprocessor. | ||||
* | Backed-out warning messages (lots). | Kristaps Dzonsons | 2010-05-15 | 2 | -3/+5 |
| | |||||
* | The `am', `ami', `de', and holy `dei' are all being properly ignored. | Kristaps Dzonsons | 2010-05-15 | 1 | -35/+23 |
| | |||||
* | The `ig' now supports `ig end-macro'. | Kristaps Dzonsons | 2010-05-15 | 3 | -8/+89 |
| | | | | Initial warning/error messages in place (still experimental). | ||||
* | Pull `ig' out of -man and leave it the roff preparser. | Kristaps Dzonsons | 2010-05-15 | 8 | -22/+3 |
| | |||||
* | Magic fix for bogus manuals making -man puke: I don't care if it's magic ↵ | Kristaps Dzonsons | 2010-05-15 | 1 | -1/+1 |
| | | | | because roff instructions will be nixed from the underlying systems anyway. | ||||
* | Segfault fix and letting warnings slip through for now. | Kristaps Dzonsons | 2010-05-15 | 2 | -3/+5 |
| | |||||
* | Add mandoc.h, which will eventually replace compilers' inner enum errors ↵ | Kristaps Dzonsons | 2010-05-15 | 4 | -23/+418 |
| | | | | | | with unified ones. Add initial roff pre-processor shim, a compiler sitting outside of the other compilers that processes pure roff instructions. | ||||
* | non-numeric section headers in -man merged to OpenBSD | Ingo Schwarze | 2010-05-15 | 1 | -4/+0 |
| | |||||
* | Mishandling of : in expr(1) | Joerg Sonnenberger | 2010-05-15 | 1 | -0/+2 |
| | |||||
* | Lint-fix for enum return (ok schwarze@). | Kristaps Dzonsons | 2010-05-15 | 1 | -1/+1 |
| | |||||
* | For .IP groff requires a single space only after the head, adopt. | Joerg Sonnenberger | 2010-05-15 | 1 | -2/+0 |
| | |||||
* | Fixed memory leak introduced in last checkin of man_action TH parsing (only ↵ | Kristaps Dzonsons | 2010-05-15 | 2 | -3/+4 |
| | | | | | | | if TH is called again, which never happens anyway). Fixed my email address in man_action.c and msec.c. Removed superfluous <time.h> inclusion in msec.c. | ||||
* | LIBRARY can also occur in section 9. | Kristaps Dzonsons | 2010-05-15 | 9 | -37/+36 |
| | | | | | | All manual sections (unknown, 3p, 3f, etc.) correctly handled by -mdoc. Useful warning printed if unknown manual section. Checking for manual sections (e.g., LIBRARY) checks only first character, so 3p, 3f, etc. are free. | ||||
* | Reorganise the comment stripping and line merging to be easier to follow | Joerg Sonnenberger | 2010-05-15 | 1 | -50/+52 |
| | | | | and slightly faster. | ||||
* | Make the output width an option for ascii_alloc and use that to compute | Joerg Sonnenberger | 2010-05-15 | 6 | -9/+18 |
| | | | | the default margin. Hard-code 80 chars/line for now. | ||||
* | Removed restriction on integer manual sections in -man. | Kristaps Dzonsons | 2010-05-15 | 8 | -19/+12 |
| | |||||
* | Push buffer resizing into its own function. Keep initial allocations the | Joerg Sonnenberger | 2010-05-15 | 1 | -19/+24 |
| | | | | same size as before. | ||||
* | fixed tabs in quoted .Bl -column; and removed right margin from displays | Ingo Schwarze | 2010-05-15 | 1 | -10/+0 |
| | |||||
* | no more info on bugs FIXED in bsd.lv; | Ingo Schwarze | 2010-05-15 | 1 | -40/+2 |
| | | | | this info is in old revisions of this file | ||||
* | Distinguish OPEN, MIDDLE and CLOSE delimiters (using an enum). | Ingo Schwarze | 2010-05-15 | 4 | -22/+32 |
| | | | | | | | Only OPEN are drawn before the beginning of a macro; this is new, before this, MIDDLE ('|') were drawn in front, too. Only CLOSE are pushed after the end of a macro (as before). ok kristaps@ | ||||
* | Initial roff shim skeleton in place. | Kristaps Dzonsons | 2010-05-15 | 3 | -11/+89 |
| | |||||
* | Documented EOS buffered spaces and added `]'. | Kristaps Dzonsons | 2010-05-15 | 3 | -4/+19 |
| | |||||
* | More EOS: append_delims() fitted with EOS detection, so ANY macro with ↵ | Kristaps Dzonsons | 2010-05-15 | 4 | -18/+51 |
| | | | | | | appended delimiters will properly EOS. Fixed mandoc_eos() to accept sentence punctuation followed by close-delim buffers. | ||||
* | Cleanup indentation after moving the read buffering out of the loop. | Joerg Sonnenberger | 2010-05-15 | 1 | -53/+51 |
| | |||||
* | "Push down the buffer to where they are used. | Kristaps Dzonsons | 2010-05-15 | 1 | -77/+130 |
| | | | | | | Handle the stdin/file argument in one function. On top, use either mmap or if that failed reading the whole file into a single buffer." (patches by Joerg Sonnenberger, ed. Kristaps) | ||||
* | More `Bl -column' dancing: It children also inherit in-phrase flags (noted ↵ | Kristaps Dzonsons | 2010-05-15 | 3 | -27/+19 |
| | | | | by Ingo Schwarze). | ||||
* | Whacked lastman and lastmdoc (not being used). | Kristaps Dzonsons | 2010-05-15 | 1 | -6/+0 |
| | |||||
* | Making room for libroff in Makefile: properly split out libmandoc.a. | Kristaps Dzonsons | 2010-05-15 | 1 | -15/+57 |
| | |||||
* | Added Ingo's TODO file. | Kristaps Dzonsons | 2010-05-14 | 1 | -0/+164 |
| | |||||
* | "Accumulate errors and warnings in global variables and exit with error | Kristaps Dzonsons | 2010-05-14 | 1 | -57/+59 |
| | | | | if either is not null on exit." (patch by Joerg Sonnenberger) | ||||
* | Remove in-manual-section warnings for Fd and Lb (ok joerg@, schwarze@). | Kristaps Dzonsons | 2010-05-14 | 1 | -47/+3 |
| | |||||
* | Backed out check for `Ex' manual sec (ok schwarze@, joerg@), in turn backing ↵ | Kristaps Dzonsons | 2010-05-14 | 4 | -38/+3 |
| | | | | out check_msec() and deps. | ||||
* | "Add libelf and libterminfo." (patch by Joerg Sonnenberger) | Kristaps Dzonsons | 2010-05-14 | 1 | -0/+2 |
| | |||||
* | Pulled back in mysterious lost le1 <-> eq0 for Sp macro. | Kristaps Dzonsons | 2010-05-14 | 2 | -2/+2 |
| | |||||
* | "Warn on unknown argument for .At and print it like [new] groff." (patch by ↵ | Kristaps Dzonsons | 2010-05-14 | 4 | -7/+30 |
| | | | | | | | Joerg Sonnenberger, ed. Kristaps) Keep short-log of commits in index.sgml. Document compatibility with new/old groff in mdoc.7. | ||||
* | "Invalid standard argument should be a warning. Just leak it into the | Kristaps Dzonsons | 2010-05-14 | 2 | -4/+5 |
| | | | | output." (patch by Joerg Sonnenberger) | ||||
* | Finish initial documentation of the Bl lists. | Kristaps Dzonsons | 2010-05-14 | 1 | -0/+39 |
| |