Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Churn to get parts of 'struct tbl' visible from mandoc.h: rename the | Kristaps Dzonsons | 2011-01-02 | 1 | -11/+11 |
| | | | | | | | existing 'struct tbl' as 'struct tbl_node', then move all option stuff into a 'struct tbl' in mandoc.h. This conflicted with a structure in chars.c, which was renamed. | ||||
* | Remove last pod2man escapes. These render ok, although \*(-- renders as | Kristaps Dzonsons | 2010-09-15 | 1 | -1/+1 |
| | | | | | | O- because the underlying macro depends on \(*W, which a prior pod2man preamble `tr' macro rewrites as "-". This is an error in groff as this tramples on the real \(*W, or Greek omega. | ||||
* | Churny commit to quiet lint. No functional changes. | Kristaps Dzonsons | 2010-09-04 | 1 | -2/+2 |
| | |||||
* | Remove the pod2man table entries. They can now be properly read and | Kristaps Dzonsons | 2010-08-29 | 1 | -1/+1 |
| | | | | assigned within the pod2man preamble. | ||||
* | Implement a simple, consistent user interface for error handling. | Ingo Schwarze | 2010-08-20 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | We now have sufficient practical experience to know what we want, so this is intended to be final: - provide -Wlevel (warning, error or fatal) to select what you care about - provide -Wstop to stop after parsing a file with warnings you care about - provide consistent exit status codes for those warnings you care about - fully document what warnings, errors and fatal errors mean - remove all other cruft from the user interface, less is more: - remove all -f knobs along with the whole -f option - remove the old -Werror because calling warnings "fatal" is silly - always finish parsing each file, unless fatal errors prevent that This commit also includes a couple of related simplifications behind the scenes regarding error handling. Feedback and OK kristaps@; Joerg Sonnenberger (NetBSD) and Sascha Wildner (DragonFly BSD) agree with the general direction. | ||||
* | Remove \*(C+ from the pre-predefined strings. It is always `ds'-defined | Kristaps Dzonsons | 2010-08-16 | 1 | -1/+1 |
| | | | | | | when being used in manuals. Since we now support `ds', it's no longer necessary to account for it. From a bug report originally by Thomas Jeunet. | ||||
* | Sync to OpenBSD: add missing Copyright years. | Ingo Schwarze | 2010-07-31 | 1 | -1/+1 |
| | | | | | I checked that substantial changes were committed to these files during these years. | ||||
* | Remove asciisz from chars.in. It frees up a nice chunk of memory and at | Kristaps Dzonsons | 2010-07-26 | 1 | -9/+8 |
| | | | | | | the overhead of running strlen() for ASCII strings (yes, I benchmarked this running mandoc_char(7) as input again and again with hundredth-second penalties... on my slow-ass alpha). | ||||
* | Clean up mandoc_special() (in order later to catch \m). It also flags | Kristaps Dzonsons | 2010-07-18 | 1 | -1/+2 |
| | | | | | | several syntactic errors that weren't caught before. Also un-puke chars.c on zero-length \[]. | ||||
* | By letting strncmp() do its job and not helping it with a prior length | Kristaps Dzonsons | 2010-07-17 | 1 | -9/+8 |
| | | | | | check, we can remove the hard-coded length of all escape patterns. This frees up a nice chunk of memory. | ||||
* | Change chars.in HTML encoding to be a Unicode codepoint (int), which is | Kristaps Dzonsons | 2010-07-16 | 1 | -23/+64 |
| | | | | later formatted in html.c. | ||||
* | Churn as I finish email address migration kth.se -> bsd.lv. | Kristaps Dzonsons | 2010-06-19 | 1 | -1/+1 |
| | |||||
* | Fixed condition of `\}' closing a conditional at the start of the line. | Kristaps Dzonsons | 2010-06-01 | 1 | -1/+1 |
| | | | | | | | | Fixed flushed-out condition of \} causing subsequent arguments to be truncated, when in fact the whole line should be passed through (if the conditional succeeds) to the front-end and the \} ignored there. Added regression test of this behaviour. | ||||
* | Modified version of Ingo Schwarze's patch for hyphen-breaking. | Kristaps Dzonsons | 2010-05-25 | 1 | -0/+1 |
| | | | | | | | Breakable hyphens are cued in the back-ends (with ASCII_HYPH) and acted upon in term.c or ignored in html.c. Also cleaned up XML decl printing (no need for extra vars). | ||||
* | Added stupid pod2man reserved strings. | Kristaps Dzonsons | 2010-03-23 | 1 | -1/+1 |
| | |||||
* | Removed superfluous lookahead block in chars.c. | Kristaps Dzonsons | 2010-01-28 | 1 | -12/+0 |
| | |||||
* | Removed references to `\\' escape (noted by Jason McIntyre, Ingo Schwarze). | Kristaps Dzonsons | 2010-01-05 | 1 | -1/+1 |
| | |||||
* | Big check-in of compatibility layer. This should work on most major ↵ | Kristaps Dzonsons | 2010-01-01 | 1 | -0/+4 |
| | | | | architectures. Thanks to Joerg Sonnenberger. | ||||
* | Added functionality of -Tascii non-breaking `\~' space. | Kristaps Dzonsons | 2009-11-05 | 1 | -2/+3 |
| | |||||
* | Replaced putchar() loop with fwrite() (noted by Joerg Sonnenberger). | Kristaps Dzonsons | 2009-11-01 | 1 | -1/+1 |
| | |||||
* | Using perror() instead of fprintf for failure from library functions. | Kristaps Dzonsons | 2009-10-31 | 1 | -2/+2 |
| | |||||
* | Continued safe handling of allocations. | Kristaps Dzonsons | 2009-10-30 | 1 | -6/+11 |
| | |||||
* | All special characters sync'd with groff, both -Thtml and -Tascii. | Kristaps Dzonsons | 2009-09-23 | 1 | -1/+1 |
| | | | | Re-added text links to index.sgml (just for show). | ||||
* | Sync'd special letters and ligatures with newest groff. | Kristaps Dzonsons | 2009-09-23 | 1 | -1/+1 |
| | |||||
* | Arrows & brackets sync'd with newest groff. | Kristaps Dzonsons | 2009-09-23 | 1 | -1/+1 |
| | |||||
* | Quotes sync'd with newest groff. | Kristaps Dzonsons | 2009-09-23 | 1 | -1/+1 |
| | |||||
* | Accent marks sync'd with current groff. | Kristaps Dzonsons | 2009-09-22 | 1 | -1/+1 |
| | |||||
* | Many more UTF-8 symbols in place. | Kristaps Dzonsons | 2009-09-22 | 1 | -1/+1 |
| | | | | | | Started partitioning chars.in into sections corresponding to mandoc_char.7. Correctly ordered Greek letters. Sync'd all mathematical and logical symbols with current groff. | ||||
* | Many more characters for HMTL (mostly Greek). | Kristaps Dzonsons | 2009-09-22 | 1 | -1/+1 |
| | |||||
* | More html. | Kristaps Dzonsons | 2009-09-17 | 1 | -28/+31 |
| | | | | Initial html encodings in chars.in. | ||||
* | ascii_xxx -> chars_xxx (intended to hold more than just ascii encoding). | Kristaps Dzonsons | 2009-09-17 | 1 | -0/+201 |
More html work. |