summaryrefslogtreecommitdiffstats
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Get ready for version. I'm bumping the minor release to 1.12 becauseKristaps Dzonsons2011-10-081-2/+2
| | | | | this involves both a major functionality addition (-Tman), a new utility (apropos), and both apropos and mandocdb being built by default.
* Make apropos and mandocdb build by default.Kristaps Dzonsons2011-10-061-2/+2
|
* Import apropos from mandoc-tools after inlining all source filesKristaps Dzonsons2011-10-061-1/+21
| | | | | | | (originally including extern.h, state.c, and sort.c). The apropos utility interfaces with the databases of mandocdb to provide semantic searching capabilities. It Works For Me, but will need lots of cleanup in the coming months.
* Initial, incomplete support for -TmanIngo Schwarze2011-09-171-0/+6
| | | | | | | | to convert mdoc(7) documents to the man(7) language. This is work in progress and will be developed in tree. It does already handle the cat(1) manual, but will hardly handle all your fancy manuals yet. go ahead kristaps@ jmc@ millert@ deraadt@
* Adding version notes.Kristaps Dzonsons2011-09-021-2/+2
|
* Add demandoc utility, a replacement for deroff.Kristaps Dzonsons2011-09-011-5/+25
|
* Added generation of Universal binary. Fixed up index.sgml to be shorterKristaps Dzonsons2011-08-161-6/+16
| | | | and more expressive.
* Version: 1.11.6.Kristaps Dzonsons2011-08-161-2/+2
|
* Updating mingw32 install hooks for new mingw version.Kristaps Dzonsons2011-08-161-2/+13
|
* Initial version bits in place. Also added forgotten tests to installed files.Kristaps Dzonsons2011-08-161-0/+2
|
* Implement the first steps of equation parsing from within libmdoc.Kristaps Dzonsons2011-07-251-0/+5
| | | | | | This consists of a shim around the text parser that calls out to libroff if equation components exist on the line. Right now this will do nothing, as the equation delimiter always returns nil.
* We're officially no longer UNIX-specific; make this clear.Kristaps Dzonsons2011-07-241-2/+3
|
* Scary-looking but otherwise harmless changes allow me to build for Windows.Kristaps Dzonsons2011-07-241-10/+38
| | | | | | | | | | | | That is to say, with mingw32. This amounts to the following: (1) break compat.c into compat_strlcpy.c and compat_strlcat.c (2) add compat_getsubopt.c (from OpenBSD) and test-getsubopt.c (3) add test-strptime.c for HAVE_STRPTIME (4) add ifdef bits here and there, where necessary (5) remove some harmless unportable stuff (u_char, localtime_r) I've added the appropriate mdocml.zip target to the Makefile, too.
* Tuned the initial eqn output, making it completely simple. ThisKristaps Dzonsons2011-07-241-2/+2
| | | | completes a full initial eqn system, so I'm tagging a release on it.
* Flip on equation printing for -T[x]html.Kristaps Dzonsons2011-07-231-2/+5
|
* Add character output (-Tpdf, -Tps, -Tascii) for equations. This is theKristaps Dzonsons2011-07-221-2/+5
| | | | minimum: unseparated terms.
* Make `struct roff' be passed into libmdoc and libman upon creation.Kristaps Dzonsons2011-07-181-2/+4
| | | | | This is required for supporting in-line equations. While here, push registers properly into roff and add an set/get/mod interface.
* Remember to NULL-ify new keys/vals.Kristaps Dzonsons2011-07-171-1/+1
|
* move mandocdb(1) to mandocdb(8)Ingo Schwarze2011-07-141-19/+20
| | | | "please make this change" kristaps@
* Rename makewhatis [back] into mandocdb. This is to maintain consistencyKristaps Dzonsons2011-07-141-16/+16
| | | | | | with OpenBSD, which is sandboxing the code for merge. It makes sense because it doesn't really make a `makewhatis' file in the traditional sense, so it may be confusing.
* Note version 1.11.4 bits. Here we go!Kristaps Dzonsons2011-07-121-2/+2
|
* Install sources with mode 0644. Noted by Jack Nagel. Ok schwarze@.Kristaps Dzonsons2011-07-041-1/+2
|
* We obviously need man.h and mdoc.h installed as mentioned in mandoc.3.Kristaps Dzonsons2011-07-031-1/+1
|
* Let descriptions (bit-mask 0x100) also be mined for text. This doublesKristaps Dzonsons2011-06-211-1/+1
| | | | | the database size (one record for each file), but it's critical information.
* Don't let empty strings into the makewhatis keyword database.Kristaps Dzonsons2011-06-211-1/+1
|
* Version 1.11.3. Here we go!VERSION.1.11.3Kristaps Dzonsons2011-05-261-2/+2
|
* Some small lint checks in preconv. Also add it to the default lint rule.Kristaps Dzonsons2011-05-261-1/+1
|
* At least in theory, this patch lets us compile on Windows (which doesKristaps Dzonsons2011-05-261-0/+5
| | | | not have mmap(), from what I can tell).
* Have preconv install with mandoc.Kristaps Dzonsons2011-05-261-2/+2
|
* preconv is now on encoding-recognition parity with groff. This lastKristaps Dzonsons2011-05-261-1/+1
| | | | | | | | | commit adds parsing of "File Variables" in the first two lines in order to grok the encoding. This completes groff's recognition sequence (-e, BOM, File variables, -D, default). I've also cleaned up the manual to indicate this and for some general readability. preconv is now compiled by default in the Makefile.
* Significantly improve preconv. Allow it to recode UTF-8 characters intoKristaps Dzonsons2011-05-261-0/+7
| | | | | | | | | | | | | the \[uNNNN] strings (taking into account big-endian archs). Also allow it to determine from the BOM whether it's a UTF-8 file. Also add the initial manual. This has been tested over a random selection of UTF-8 documents, as % preconv -e utf-8 foo.1 | ./mandoc -Tlocale where -Tlocale is allowed (-DUSE_WCHAR). Note that we're still missing the "type" indicator that preconv accepts.
* It's annoying that we don't have preconv, so throw together a quickKristaps Dzonsons2011-05-261-3/+16
| | | | | | | | version and let it grow in-tree. Right now, this only supports the Latin-1 and US-ASCII encoding. I'll do UTF-8 next. It's call-compatible with GNU's preconv although I don't do fancy stuff like BOM or header check. This will come. I used read.c's file-grokking code.
* Most important move in getting predefined strings entirely containedKristaps Dzonsons2011-05-241-0/+2
| | | | | | | | | | | within roff.c. These are now grokked from a table in the roff allocation routine and rest in the newly-created predefs.in (for consistency with chars.in). This is a first implementation and will likely be optimised along with the ds/de lookup table itself. This allows mandoc-defined predefined strings to be correctly removed or whatnot; earlier they couldn't. What will follow is the stripping-away of all predefined-string crud in the other parts of the system.
* It seems that __STDC_ISO_10646__ isn't defined even where it can beKristaps Dzonsons2011-05-191-3/+5
| | | | | | | | defined, so remove the check for it and leave it up to people compiling the software (DOWNSTREAM) to take care of this. This will eventually need to be fixed up with a proper non-10646 converter and so on, but this is a simple start. While here, strengthen then language in the Makefile to this effect.
* Add TODO entry for standalone `.' in tbl pages (pointed out by YuriKristaps Dzonsons2011-05-181-1/+1
| | | | Pankov). Also fix typo in Makefile, same reporter. Thanks!
* Locale support. I'm checking this in to clean up fall-out in-tree, butKristaps Dzonsons2011-05-171-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | it looks pretty good. Basically, the -Tlocale option propogates into term_ascii.c, where we set locale-specific console call-backs IFF (1) setlocale() works; (2) locale support is compiled in (see Makefile for -DUSE_WCHAR); (3) the internal structure of wchar_t maps directly to Unicode codepoints as defined by __STDC_ISO_10646__; and (4) the console supports multi-byte characters. To date, this configuration only supports GNU/Linux. OpenBSD doesn't export __STDC_ISO_10646__ although I'm told by stsp@openbsd.org that it should (it has the correct map). Apparently FreeBSD is the same way. NetBSD? Don't know. Apple also supports this, but doesn't define the macro. Special-casing! Benchmark: -Tlocale incurs less than 0.2 factor overhead when run through several thousand manuals when UTF8 output is enabled. Native mode (whether directly -Tascii or through no locale or whatever) is UNCHANGED: the function callbacks are the same as before. Note. If the underlying system does NOT support STDC_ISO_10646, there is a "slow" version possible with iconv or other means of flipping from a Unicode codepoint to a wchar_t.
* Ooops, forgot to install makewhatis manual.Kristaps Dzonsons2011-05-131-1/+6
|
* Version up! 1.11.2. Let's go...Kristaps Dzonsons2011-05-131-2/+2
|
* Rename mandoc-db to makewhatis. On the suggestion of schwarze@; I agree.Kristaps Dzonsons2011-05-131-11/+11
| | | | Add initial version notes.
* Don't let Linux-isms creep into Makefile.Kristaps Dzonsons2011-05-121-1/+1
|
* Was installing libmandoc.a without mandoc.h...Kristaps Dzonsons2011-04-301-0/+2
|
* Move "chars" interface out of out.h and into mandoc.h. This doesn'tKristaps Dzonsons2011-04-291-5/+4
| | | | | | | | | | change any code but for renaming functions and types to be consistent with other mandoc.h stuff. The reason for moving into libmandoc is that the rendering of special characters is part of mandoc itself---not an external part. From mandoc(1)'s perspective, this changes nothing, but for other utilities, it's important to have these part of libmandoc. Note this isn't documented [yet] in mandoc.3 because there are some parts I'd like to change around beforehand.
* Make sure to create LIBDIR. From a patch by Thomas Klausner, thanks!Kristaps Dzonsons2011-04-051-0/+1
|
* Snafu: forgetting to tar up critical files. Pointed out by Yuri Pankov.VERSION.1.11.1Kristaps Dzonsons2011-04-041-0/+4
|
* Version up to 1.11.1: here we go!Kristaps Dzonsons2011-04-041-2/+2
|
* Roll back Linux-ism that crept into Makefile.Kristaps Dzonsons2011-04-041-1/+1
|
* Fix possible segfaults in `Lk' -T[x]html handler, which made someKristaps Dzonsons2011-04-041-1/+1
| | | | | assumptions about its children. Also remove superfluous reassignment to local variable.
* Have mandoc-db use config.h for strlcat(). Then create the btreeKristaps Dzonsons2011-04-031-3/+3
| | | | | | database from a directory, instead of a path. This is because it'll also output an index of files to that same directory. Add documentation to the local variable names, too.
* Add an initial keyword-indexer as an alternative front-end to libmandoc.a.Kristaps Dzonsons2011-04-021-0/+14
| | | | | | | | | | | | | | This will be used during BSDCan-2011, paired with a web front-end, as a demonstrandum of semantic annotations (mdoc) versus those of man. This isn't linked to the build in any way but for cleaning created files. This code has been heavily tested under valgrind and is known to work on GNU/Linux (needs -ldb library), all BSDs, and Mac OSX. Please don't repost this, for the time being, as I don't want to spoil the fun for the conference. This utility is still constantly under development (e.g., it will also generate a recno database of filenames and `Nd' output so that paths needn't be hard-coded) but is mature enough to warrant being checked in.
* Add lint target to Makefile.Kristaps Dzonsons2011-03-291-16/+73
|