summaryrefslogtreecommitdiffstats
path: root/chars.c
Commit message (Collapse)AuthorAgeFilesLines
* Sync to OpenBSD: add missing Copyright years.Ingo Schwarze2010-07-311-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 atKristaps Dzonsons2010-07-261-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 flagsKristaps Dzonsons2010-07-181-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 lengthKristaps Dzonsons2010-07-171-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 isKristaps Dzonsons2010-07-161-23/+64
| | | | later formatted in html.c.
* Churn as I finish email address migration kth.se -> bsd.lv.Kristaps Dzonsons2010-06-191-1/+1
|
* Fixed condition of `\}' closing a conditional at the start of the line.Kristaps Dzonsons2010-06-011-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 Dzonsons2010-05-251-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 Dzonsons2010-03-231-1/+1
|
* Removed superfluous lookahead block in chars.c.Kristaps Dzonsons2010-01-281-12/+0
|
* Removed references to `\\' escape (noted by Jason McIntyre, Ingo Schwarze).Kristaps Dzonsons2010-01-051-1/+1
|
* Big check-in of compatibility layer. This should work on most major ↵Kristaps Dzonsons2010-01-011-0/+4
| | | | architectures. Thanks to Joerg Sonnenberger.
* Added functionality of -Tascii non-breaking `\~' space.Kristaps Dzonsons2009-11-051-2/+3
|
* Replaced putchar() loop with fwrite() (noted by Joerg Sonnenberger).Kristaps Dzonsons2009-11-011-1/+1
|
* Using perror() instead of fprintf for failure from library functions.Kristaps Dzonsons2009-10-311-2/+2
|
* Continued safe handling of allocations.Kristaps Dzonsons2009-10-301-6/+11
|
* All special characters sync'd with groff, both -Thtml and -Tascii.Kristaps Dzonsons2009-09-231-1/+1
| | | | Re-added text links to index.sgml (just for show).
* Sync'd special letters and ligatures with newest groff.Kristaps Dzonsons2009-09-231-1/+1
|
* Arrows & brackets sync'd with newest groff.Kristaps Dzonsons2009-09-231-1/+1
|
* Quotes sync'd with newest groff.Kristaps Dzonsons2009-09-231-1/+1
|
* Accent marks sync'd with current groff.Kristaps Dzonsons2009-09-221-1/+1
|
* Many more UTF-8 symbols in place.Kristaps Dzonsons2009-09-221-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 Dzonsons2009-09-221-1/+1
|
* More html.Kristaps Dzonsons2009-09-171-28/+31
| | | | Initial html encodings in chars.in.
* ascii_xxx -> chars_xxx (intended to hold more than just ascii encoding).Kristaps Dzonsons2009-09-171-0/+201
More html work.