Commit Graph

91 Commits

Author SHA1 Message Date
christos
14303f280d don't assume that what we are going to import lives in dist 2013-04-03 14:51:31 +00:00
christos
43ed5f5eba merge diffs 2013-04-03 14:50:26 +00:00
christos
0d88b60388 import latest 2013-04-03 14:46:49 +00:00
christos
18c0fd3025 Allow both x==y and x=y in conditionals. With this change the ksh93 manpage
works.
2013-04-03 01:05:16 +00:00
christos
738a635d29 remove debugging printf. 2013-04-03 01:00:03 +00:00
christos
08c89a8c21 - remove the expand inline function, we don't need it.
- make allow = 1, deny = 0 to avoid confusion
- use memset properly
- merge ctl duplicated code
- add numeric conditional evaluator for unary and binary
- fix parsing of numeric registers to stop on non alnum

With those fixes, the man page for top(1) works.
2013-04-03 00:58:48 +00:00
christos
897a7bb8a0 do roff nr expansion before trailing backslash 2013-04-03 00:55:32 +00:00
christos
f3119165d7 avoid arraycount for toolz 2013-03-22 12:31:25 +00:00
christos
81aec73d48 move the code to expand variables in one place and use it to expand
variables inside conditionals. still conditionals with variables don't
work.
2013-03-22 01:24:46 +00:00
christos
66541c2d35 support expanding numbered registers 2013-03-21 21:42:16 +00:00
wiz
500d85431e casing. 2013-03-08 08:29:36 +00:00
pooka
e23a1341b4 Add librumpclient. requested by wiz 2013-03-08 08:13:34 +00:00
wiz
ba9019db8d Add libnpf. From rmind.
While here, add consistency in casing.
2013-03-07 21:54:04 +00:00
agc
63d2555829 Following a prompt from wiz, ensure that explanations for the
minimalist JSON library libmj, and the netpgp verification library,
libnetpgpverify, are in the correct places.
2013-03-07 05:33:13 +00:00
wiz
72cafb0e98 Add libmandoc. 2013-03-06 21:42:47 +00:00
christos
f60f86a673 XXX: rename data() to getdata(). This is to avoid an assembler botch on the
ppc64 toolchain where function names are prefixed with a period, so "data"
becomes ".data" and ".data" is confused by the assembler with the segment
directive with the same name. Clearly this is a toolchain issue; we should
be able to call functions "text" and "data" but it is simpler to fix the
code rather than the toolchain.
2012-11-24 22:29:09 +00:00
agc
d055d5654e add definition for libnetpgpverify 2012-11-20 16:24:30 +00:00
christos
e848a9e55e add libexecinfo 2012-06-10 00:25:51 +00:00
joerg
d04049e559 Use mmap when dealing with plain files. 2012-02-16 22:56:12 +00:00
joerg
1fff0d9a0c Merge mandoc.h r1.99 and read.c 1.28 from upstream:
Add mparse_readmem, which allows application to run the parser directly
from memory, e.g. after de-compressing a document.
2012-02-16 20:58:23 +00:00
joerg
7bf72726f9 Pull read.c r1.27 from upstream repository:
Don't silently skip non-ASCII characters, but replace them with ``?''.
This is less likely to break the syntax of macros.
2012-02-06 10:42:44 +00:00
dholland
3190ca5bed Fix broken build by laundering const. hi joerg 2012-01-30 18:50:45 +00:00
joerg
1350fe098d Merge for mdocml 1.20.1pre import 2012-01-30 17:03:01 +00:00
joerg
cf816816a1 Merge mdocml state from 2012-01-30 for various relaxed checks in the
parser to allow it to pass almost all man pages in pkgsrc.
2012-01-30 16:44:10 +00:00
joerg
0f0fda1c10 Merge mdocml state from 2012-01-30 for various relaxed checks in the
parser to allow it to pass almost all man pages in pkgsrc.
2012-01-30 16:44:08 +00:00
joerg
94561435e1 Merge mdocml state from 2012-01-30 for various relaxed checks in the
parser to allow it to pass almost all man pages in pkgsrc.
2012-01-30 16:44:03 +00:00
dholland
de37c897b5 Add libquota, as requested by wiz 2012-01-25 22:22:20 +00:00
njoly
e933eb3317 Lowercase arch strings, and add missing ones. 2011-12-18 13:40:08 +00:00
christos
bfc91a38aa rename data() -> parse_data() to appease the powerpc64 toolchain:
{standard input}: Assembler messages:
{standard input}:105: Error: symbol `.data' is already defined
2011-10-28 14:00:20 +00:00
njoly
3a1b9a69ca define HAVE_STRPTIME needed for date parsing. 2011-10-12 15:33:38 +00:00
joerg
937673ea7b Revert incorrect last change and redo it in a way that doesn't violate
strict aliasing rules.
2011-10-12 14:11:25 +00:00
christos
90136e10d7 fix wrong cast. 2011-10-12 13:44:33 +00:00
joerg
01476cad21 Update build system for mdocml 1.12.0. 2011-10-11 19:20:13 +00:00
joerg
b1e8115bf5 Merge changes for mdocml-1.12.0. 2011-10-11 19:12:13 +00:00
joerg
c5f73b3488 Import mdocml 1.12.0:
- Support to output HTML fragments
- Initial support for mdoc->man translation
- Initial eqn support
- preconv / apropos / demandoc (not hooked up)
- Various bugfixes
2011-10-11 19:09:36 +00:00
wiz
7c47a19704 Add libppath. 2011-08-29 08:58:18 +00:00
christos
e307dc8de5 fix cast warnings 2011-08-17 09:30:13 +00:00
mrg
c111245a78 apply some -Wno-error and/or -fno-strict-aliasing.
all of this should be looked at closer, but some of them are not
very trivial.
2011-06-22 02:49:41 +00:00
hans
f559331e26 include config.h 2011-06-01 15:52:48 +00:00
joerg
032ce801a7 Really apply roff.c 1.134 for the conditional stack fix 2011-04-15 22:05:51 +00:00
joerg
a5447c9e30 Deal with two cases of name shadowing 2011-04-15 15:50:28 +00:00
joerg
78bc4f7461 Update build glue for mdocml 1.11.1. 2011-04-15 14:36:28 +00:00
joerg
9c655dd9de Merge for mdocml-1.11.1 2011-04-15 13:47:17 +00:00
joerg
48741257dd Import mdocml-1.11.1 with a few additional fixes from CVS:
Merge the libraries into a single frontend, libmandoc.
Iinitial support for eqn(1) functionality.

Additional changes:
Portability fixes (tbl_opts.c 1.11, tbl_layout.c 1.18, tbl.c 1.25)
HTML space fixe (mdocml_html.c 1.163)
ROFF conditional nesting bug (roff.c 1.131)
2011-04-15 13:45:25 +00:00
nakayama
c09c2a7b34 Fix build on Solaris 10. 2011-03-03 14:53:01 +00:00
christos
13b2862bfd Tell the groff and friends about libsaslc(3).
Sort and fix whitespace on mdoc.local.
Add libisns to doc2html.
2011-02-11 23:47:49 +00:00
wiz
c1f176e16d Move isns description from dist/groff to usr.bin/groff, where it belongs.
Add isns to mdocml libraries as well.
2011-01-18 09:28:42 +00:00
joerg
20d71a1344 Update build system for mdocml-1.10.9. 2011-01-12 23:02:21 +00:00
joerg
6e4753617c Use example.style.css in place of style.css.
Replace $Mdocdate$ with the content in correct order, so that groff
gives proper output.
2011-01-12 23:00:51 +00:00
joerg
f494eb95a3 Merge for mdocml-1.10.9 2011-01-12 22:58:42 +00:00