Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Correct width of horizontal spans; relevant in case of centered or | Ingo Schwarze | 2012-05-27 | 1 | -3/+11 |
| | | | | | | | | flush right text, for boxes, and when more columns follow the span. Issue found by sthen@ in the net/arp-scan(1) port manual. "Please check them in and I'll look into them later!" kristaps@ | ||||
* | Do not handle vertical lines as additional tbl(7) columns, | Ingo Schwarze | 2012-05-27 | 6 | -221/+71 |
| | | | | | | | | | | | | | | | | instead save their properties with the following column. This simplifies layout parsing and saves a lot of code related to column handling. At output time, print all white space and vertical lines separating columns before printing the following column, and none after printing the preceding column, considerably simplifying white space handling and width calculations. No functional change, but it saves 150 lines of code, and it allows the next patch to tbl_term.c, tbl_literal(). "Please check them in and I'll look into them later!" kristaps@ | ||||
* | Support -Ios='OpenBSD 5.1' to override uname(3) as the source of the | Ingo Schwarze | 2012-05-27 | 10 | -23/+60 |
| | | | | | | | | | | default value for the mdoc(7) .Os macro. Needed for man.cgi on the OpenBSD website. Problem with man.cgi first noticed by deraadt@; beck@ and deraadt@ agree with the way to solve the issue. "Please check them in and I'll look into them later!" kristaps@ | ||||
* | update Copyright years according to the CVS logs; no code change | Ingo Schwarze | 2012-05-27 | 6 | -7/+7 |
| | |||||
* | Horizontal spacing of tables was fixed | Ingo Schwarze | 2012-05-27 | 1 | -9/+0 |
| | | | | | | in tbl_term.c rev. 1.10 and out.c rev. 1.16 on September 20, 2011. I merely forgot to delete the TODO entry. | ||||
* | The .\} -> .\& -> pset() bug reported by naddy has already been fixed; | Ingo Schwarze | 2012-05-27 | 1 | -9/+2 |
| | | | | | | | i'm really sure because i both stepped through the code with gdb and wrote an OpenBSD regression test for it. While here, note that bentley@ reported .ti .ce .fc missing. | ||||
* | Discourage the use of esr's man-ext macros: | Ingo Schwarze | 2012-04-15 | 1 | -5/+2 |
| | | | | | | If man(7) has any advantage compared to mdoc(7), it's portability, and using man-ext would needlessly give that advantage away. ok kristaps@ | ||||
* | The -width and -offset macro arguments consume the next argument | Ingo Schwarze | 2012-04-15 | 1 | -38/+4 |
| | | | | | even if it starts with a dash. ok kristaps@ | ||||
* | Being reluctant to add yet more trailing whitespace, i rather back | Ingo Schwarze | 2012-04-15 | 1 | -8/+8 |
| | | | | it out here than merge it to OpenBSD. No binary change. | ||||
* | Some documentation nits. | Kristaps Dzonsons | 2012-03-25 | 3 | -13/+3 |
| | |||||
* | Fix lookup not to use full-out regexp search. | Kristaps Dzonsons | 2012-03-25 | 1 | -1/+1 |
| | |||||
* | FreeBSD, NetBSD and DragonFly use the same names as Linux. | Joerg Sonnenberger | 2012-03-24 | 1 | -1/+5 |
| | | | | Add dummy entry for OpenBSD and XXX entry for the rest. | ||||
* | Forgot chdir(2) into volume path.VERSION.1.12.1 | Kristaps Dzonsons | 2012-03-24 | 1 | -0/+1 |
| | |||||
* | Small tweaks for release. | Kristaps Dzonsons | 2012-03-24 | 2 | -8/+11 |
| | |||||
* | Get ready for a version. | Kristaps Dzonsons | 2012-03-24 | 3 | -47/+33 |
| | |||||
* | Be insane. Make apropos(1) subsume man(1). | Kristaps Dzonsons | 2012-03-24 | 5 | -31/+119 |
| | |||||
* | Simplify by not pre-filtering the result vector for satisfied matches: | Kristaps Dzonsons | 2012-03-24 | 4 | -104/+114 |
| | | | | we can do this in the frontend. | ||||
* | Whitespace fix. | Kristaps Dzonsons | 2012-03-24 | 1 | -1/+1 |
| | |||||
* | Knock out useless & confusing whatis mode. | Kristaps Dzonsons | 2012-03-23 | 1 | -28/+8 |
| | |||||
* | Improve mandocdb's ability to handle NAME sections by sucking the entire | Kristaps Dzonsons | 2012-03-23 | 1 | -9/+57 |
| | | | | | shebang into a buffer and parsing it that way. This improves on many cruddy -man manuals in the wild. | ||||
* | Make the `-width' field to `Bl' not puke if it doesn't have an argument. | Kristaps Dzonsons | 2012-03-23 | 2 | -3/+8 |
| | | | | This makes mandoc work much, much nicer with Mac OSX manpages. | ||||
* | Clean up code a bit by pushing warnings into WARNING macro. | Kristaps Dzonsons | 2012-03-23 | 1 | -63/+48 |
| | |||||
* | Merge some/most of schwarze@'s OpenBSD changes into mandoc: many more | Kristaps Dzonsons | 2012-03-23 | 2 | -116/+159 |
| | | | | | | | | | | | | | | | warnings about grokking manpages in their respective directories. DO NOT, however, import his temporary-file routines (I don't plan on staying with a recno/btree split) nor the realpath() routines, which destroy relative path-ness. Also pull in the lorder bits. There are some changes I started to make then stopped relating to reporting errors in the correct directories. I'll clean this up in subsequent commits. This puts us more or less on parity with OpenBSD. | ||||
* | Remove some Mac OS crap in the Makefile. | Kristaps Dzonsons | 2012-03-23 | 1 | -6/+10 |
| | |||||
* | Don't run superfluous mkdir when installing. | Kristaps Dzonsons | 2012-03-23 | 1 | -1/+0 |
| | |||||
* | Revert to mandocdb.{index,db} for database files. | Kristaps Dzonsons | 2012-03-23 | 2 | -5/+6 |
| | |||||
* | two reminders | Ingo Schwarze | 2012-03-04 | 1 | -0/+3 |
| | |||||
* | Correct the expansion of -xbd5; | Ingo Schwarze | 2012-02-26 | 1 | -1/+1 |
| | | | | | from Philip Guenther <guenther at openbsd dot org>. OK Werner Lemberg <wl at gnu dot org>. | ||||
* | Add mparse_readmem, which allows application to run the parser directly | Joerg Sonnenberger | 2012-02-16 | 2 | -41/+55 |
| | | | | from memory, e.g. after de-compressing a document. | ||||
* | Don't silently skip non-ASCII characters, but replace them with ``?''. | Joerg Sonnenberger | 2012-02-05 | 1 | -4/+7 |
| | | | | This is less likely to break the syntax of macros. | ||||
* | Add libquota | Joerg Sonnenberger | 2012-01-28 | 1 | -0/+1 |
| | |||||
* | Add libisns, libppath and libsaslc from NetBSD. Fix formatting of librt. | Joerg Sonnenberger | 2012-01-28 | 1 | -1/+4 |
| | |||||
* | Add x86 pseudo architecure | Joerg Sonnenberger | 2012-01-28 | 1 | -0/+1 |
| | |||||
* | Add entry about the .TP / .RS crash before I forget about it again. | Joerg Sonnenberger | 2012-01-23 | 1 | -0/+2 |
| | |||||
* | Reflect reality, mandoc_escape does not skip the "\" itself, but expects | Joerg Sonnenberger | 2012-01-13 | 1 | -1/+3 |
| | | | | the caller to have done that. | ||||
* | Fix previous such that all .It HEADs are unparsed, | Ingo Schwarze | 2012-01-05 | 1 | -10/+8 |
| | | | | | | | not just the first one in each -diag list. While here, drop the needless if-statement and choose a more precise wording for the comment. ok kristaps@ | ||||
* | Local variable initialisation. | Kristaps Dzonsons | 2012-01-03 | 1 | -1/+1 |
| | |||||
* | Add support for `OP', one of the extended man macros. This also requires | Kristaps Dzonsons | 2012-01-03 | 7 | -15/+104 |
| | | | | some man(7) changes to accomodate for the an-ext compatibility. | ||||
* | Accommodate for ISO C11. groff applied the same `St' argument on | Kristaps Dzonsons | 2012-01-03 | 2 | -0/+3 |
| | | | | | 03/01/2012. From a tweaked patch (isoC-11 -> isoC-2011) by Ulrich Sporlein: thanks! | ||||
* | `-diag' lists aren't parsed, unlike other list types. This fixes a TODO | Kristaps Dzonsons | 2012-01-02 | 2 | -6/+13 |
| | | | | entry raised by deraadt@. | ||||
* | Fix ID vs. CLASS for man.cgi CSS selector on results table and vertically | Kristaps Dzonsons | 2011-12-31 | 1 | -3/+2 |
| | | | | align. | ||||
* | When parsing catpages, read from the first section (NAME, we hope) until | Kristaps Dzonsons | 2011-12-31 | 2 | -16/+44 |
| | | | | | the next section. Also, remove the limit of 72 characters and enforce this, instead in the apropos frontend. | ||||
* | Do not skip manuals shared across architectures when building databases. | Ingo Schwarze | 2011-12-28 | 1 | -3/+18 |
| | |||||
* | Update the whatis.db database format. | Ingo Schwarze | 2011-12-25 | 1 | -7/+11 |
| | | | | | While here, reference apropos(1) from the description, inspired by the makewhatis(8) manual. | ||||
* | State default usage before listing arguments of a utility. Inspired by a | Kristaps Dzonsons | 2011-12-25 | 6 | -64/+60 |
| | | | | patch to mandocdb.8 by schwarze@ some time ago. Ok jmc@. | ||||
* | First memory leak in mandocdb.c freeing "struct of". Also properly | Kristaps Dzonsons | 2011-12-25 | 1 | -2/+7 |
| | | | | const-ify several strings. | ||||
* | Continue changing mandoc.{index,db} into whatis.{index,db}. Use mandocdb.h | Kristaps Dzonsons | 2011-12-25 | 3 | -11/+27 |
| | | | | to do so. | ||||
* | Use the traditional name "whatis.db" for the mandocdb(8) databases. | Ingo Schwarze | 2011-12-25 | 5 | -12/+12 |
| | | | | Requested by deraadt@, ok kristaps@. | ||||
* | For binary compatability of the databases across architectures, | Ingo Schwarze | 2011-12-25 | 3 | -33/+28 |
| | | | | | | | use pointers to arrays, not pointers to structs. It is now possible to create databases on sparc64 and use them on i386 and vice versa. Kristaps@ can't think of anything else that might be required, either. Put this in now such that we can move on. | ||||
* | Implement test mode (makewhatis -t), required for pkg_create(8). | Ingo Schwarze | 2011-12-25 | 2 | -216/+348 |
| | | | | | | | | | | | | Always do all consistency checks; when any one fails, decide whether to print a message, or skip the file, or both, or none. While here, do some cleanup as well: * Bail out on conflicting options. * Do not crash with -a if there are plain files in the root dir. * Collect some related variables into structs. Feedback and OK kristaps@. |