summaryrefslogtreecommitdiffstats
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Step 3: consolidate manuals. The parse functions in mdoc.h, roff.h, andKristaps Dzonsons2011-03-221-17/+17
| | | | | | | | man.h are now part of libmandoc.h, so remove these from their respective manuals (they're no longer public-facing and we don't need a libmandoc.3 (yet?)). Before that, move the juicy data (parse tree syntax) into new-born mandoc.3. Peck around in Makefile and index.sgml to reflect reality.
* Step 2: blow away roff.h, as all of its functions have been moved intoKristaps Dzonsons2011-03-221-3/+3
| | | | libmandoc.h and there's nothing left.
* Split the document parsing sequence out of main.c and into read.c,Kristaps Dzonsons2011-03-201-3/+3
| | | | | | | | putting the interface into mandoc.h. This effectively makes the function of main.c be command-line handling, invoking the parser, and sending its output to the output handler. The sequence of parsing (pfile(), pdesc(), etc.) has changed very little but for clean-up of some state variables (curp->fd, etc.).
* Bumped internal version. There will be no formal release with this: itKristaps Dzonsons2011-03-201-2/+2
| | | | | precedes some major structural changes for easier roll-back in the case of errors or whatnot.
* Kill off mdoc_strings.c, which is now empty. Byeeeeeeeee!Kristaps Dzonsons2011-03-171-5/+3
|
* Allow compilation with pcc, which has interesting/broken handling of -WKristaps Dzonsons2011-02-241-4/+4
| | | | with missing function prototypes. Ok joerg@.
* Add stub for eqn.7 manual and flip it on. Also note COMPATIBILITY issueKristaps Dzonsons2011-02-091-8/+9
| | | | of how we considered .TS (etc.) macros and how the preprocessors do.
* Add initial EQN support to mandoc. This parses, then throws away, dataKristaps Dzonsons2011-02-061-3/+3
| | | | | | | | between EQ and EN roff blocks. EQN is different from TBL in that data after .EQ is unilaterally considered an equation until an .EN. Thus, there's no need to jump through hoops in having table spans and so on. This is ONLY the parse code framework in libroff. EQN is not yet passed into the backends.
* Meh, 2010->2011. Changed the live index.html file so as not to confuseKristaps Dzonsons2011-01-071-1/+1
| | | | people (although the tagged 1.10.9 release will show 2010).
* Version bits. Here we go...Kristaps Dzonsons2011-01-071-2/+2
|
* Moved table stuff from roff.7 into the new tbl.7 (suggested by Jason McIntyre).Kristaps Dzonsons2011-01-041-8/+9
| | | | Added cross-links to tbl.7 from other manuals.
* Add skeleton for -T[x]html tbl stuff. Also start to put in some bits aboutKristaps Dzonsons2011-01-041-3/+3
| | | | the up-coming version, although we're not quite there yet.
* Turn on -Tascii tbl printing. The output still has some issues---I'mKristaps Dzonsons2011-01-021-3/+4
| | | | | | not sure whether it's in the header calculation or term.c squashing spaces or whatever, but let's get this in for general testing as soon as possible.
* Initial check-in of table data-row processing. For the time being, thisKristaps Dzonsons2010-12-291-3/+3
| | | | | | parses table data then throws it away immediately. It does not yet try to cross-check data rows against layout or anything. This copied more or less completely from tbl.bsd.lv.
* Merge, with considerable changes, tbl.bsd.lv's layout-handling code.Kristaps Dzonsons2010-12-291-3/+3
|
* Adding initial options processing (not hooked into parse yet). This isKristaps Dzonsons2010-12-281-3/+3
| | | | | more or less copied from tbl.bsd.lv and still needs integration with the general mandoc framework, e.g., with error messages.
* Initial tbl framework. Parse point is in libroff, which keeps aKristaps Dzonsons2010-12-281-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | reference to a current tbl parse and routes ALL text into the tbl parse after stripping reserved words and making block-level pre-processing (e.g., `ig'). This is consistent with an analysis of embedded `TS/TE' in manuals with sprinkled -mdoc, roff, and -man macros. Fact of a parse is exposed to main.c by a return value (ROFF_TBL), which will trigger main.c to add a foreign parsed body to the -mdoc or -man parse stream. This interface isn't in yet, but will follow the parse-text functions in both libraries. I put this login in main.c because I don't want libroff calling directly into libmdoc or libman. As a consequence, a parsed row can be pushed directly into any -mdoc or -man context (put a `Bd -literal -offset indent' into a `TE/TS' block to see why this is necessary). It will then absorb formatting cues in the front-ends. A note on naming. I decided on libroff.h instead of tbl.h because this is purely within the roff layer. Separate tbl implementations will need, then, to interface with libroff. This is "how it should be" because tbl is tightly linked with roff in terms of `ds' and other formatting macros, as well as, of course, special characters and other roffisms.
* Have Makefile build XHTML files too.VERSION.1.10.8Kristaps Dzonsons2010-12-241-3/+7
|
* Apparently the U tag is deprecated, so use a SPAN instead (blah). BumpKristaps Dzonsons2010-12-241-1/+1
| | | | version date for release.
* Added last version notes and bumped version number and date.Kristaps Dzonsons2010-12-231-2/+2
|
* Build xhtml files for www site exemplaria.Kristaps Dzonsons2010-12-221-0/+4
|
* Tag an internal release, 1.10.7, that marks being in sync with OpenBSD'sVERSION.1.10.7Kristaps Dzonsons2010-12-061-2/+2
| | | | | | | | | | | changes these last months (less tbl). There are still some issues that require thought, but this extends beyond synchronisation. This WILL NOT be pushed to the main site; it's merely a logical tag so that there's a common fall-back in future changes. Note that the TODO file is NOT up to date. This is ok since the tag is purely internal.
* Kill man_action.c.Kristaps Dzonsons2010-11-301-3/+3
|
* mdoc_action.c is no more. Attic it and remove it from the Makefile.Kristaps Dzonsons2010-11-301-5/+3
| | | | | Remove references to MDOC_ACTED (it was only assertions) and the pre- and post-action functions.
* Cleaned up library manuals: removed old escapes, added EXAMPLES, strippedKristaps Dzonsons2010-10-101-7/+12
| | | | out some superfluous stuff.
* Prepping for version.VERSION.1.10.6Kristaps Dzonsons2010-09-271-2/+2
|
* Fixed Makefile auto-generation of manuals not to use -fstrict and [old] -Werror.Kristaps Dzonsons2010-08-201-4/+4
|
* Add PDF files to www. We also show text and ps, just to show off.VERSION.1.10.5Kristaps Dzonsons2010-07-271-13/+15
|
* Get version bits in: 1.10.5.Kristaps Dzonsons2010-07-271-2/+2
|
* Pre-tag checkin of release bits and shortlist.VERSION.1.10.4Kristaps Dzonsons2010-07-111-2/+2
|
* Re-constitution of `ds' symbol processing. First, push theKristaps Dzonsons2010-07-071-1/+1
| | | | | | | | | roff_getstr() family of functions into roff.c with the "first_string" directly in struct roff. Second, pre-process each line for reserved words in libroff, splicing and re-running a line if it has one (this allows defined symbols to be macros). Remove term.c's invocation of the roff_getstrn() function. Removed function documentation in roff.3 and added roff.7 `ds' documentation.
* Revert Makefile to using mandoc.c instead of libmandoc.c. RemoveKristaps Dzonsons2010-07-061-5/+5
| | | | | | newborn libmandoc.c. While here, remove superfluous dep of libman on mandoc.c.
* Renamed mandoc.c to libmandoc.c. This is in the efforts of getting aKristaps Dzonsons2010-07-051-5/+5
| | | | | | | cleaner namespace for functions across the entire system (mandoc.h: getting parsed-string values, or declarations necessary for the AST data), and compiler functions (libmandoc.h: back-end functions and declarations).
* Inter-release tag.VERSION.1.10.3Kristaps Dzonsons2010-06-291-2/+2
|
* Downstream maintainers: this removes UGLY! I don't want divergingKristaps Dzonsons2010-06-271-4/+0
| | | | | | | | | functionality and UGLY works quite well thanks to schwarze@'s careful attention. This also backs out function-prototype changes for struct regset, instead stuffing a pointer to the regset directly into struct mdoc/man/roff.
* First step of adding register support. This is inspired by a significantKristaps Dzonsons2010-06-261-1/+1
| | | | | | patch by schwarze@. This commit adds support to libroff parsing `nr' into register set defined in regs.h. This will propogate into libmdoc and libman in later commits.
* Fix slipped in after tag: install PS files with installwww.VERSION.1.10.2Kristaps Dzonsons2010-06-191-1/+1
|
* Version notes for 1.10.2.Kristaps Dzonsons2010-06-191-2/+2
|
* Broke ascii_*() functions into term_ascii.cKristaps Dzonsons2010-06-081-3/+5
| | | | Made low-level engine functions into function pointers.
* No functionality changes: just restructuring. DeprecatedKristaps Dzonsons2010-06-081-3/+7
| | | | | terminal_free() in favour of ps_free() and ascii_free(). Moved ps_*() functions into term_ps.c so that they don't clutter up term.c.
* First check-in of PostScript output. This does not change any logicKristaps Dzonsons2010-06-071-9/+13
| | | | | | within term.c, but does add a small shim over putchar() that switches on the output engine. Prints, for this initial version, only monospace and without font decorations. It's a start.
* Added version bits for 1.10.1.Kristaps Dzonsons2010-06-071-1/+1
| | | | Spell-checked manuals.
* Remove manuals.7 (see http://manpages.bsd.lv).Kristaps Dzonsons2010-06-031-4/+4
|
* Version bits for 1.10.1.Kristaps Dzonsons2010-06-031-2/+2
|
* Bump 1.10.0 version in Makefile.Kristaps Dzonsons2010-05-291-2/+2
|
* Added roff.3, which documents the roff parser interface.Kristaps Dzonsons2010-05-251-14/+15
| | | | | | | | | | | Small fix in mdoc.3 and man.3 pointing to old mdoc_cb and man_cb. Fix in Makefile adding mandoc.h to HEADS. Collapsed all HTML files into HTMLS variable (too confusing otherwise). Removed "htmls" command from Makefile (only I used it and it's just taking up space).
* Documented ie/el.Kristaps Dzonsons2010-05-171-6/+7
| | | | | Installing roff.7 and added it to index.sgml. Small fix for `D1' and `Bd' in -Thtml.
* Use a default prefix of /usr/local. Honour DESTDIR for install targets.Joerg Sonnenberger2010-05-171-19/+20
|
* Initial roff shim skeleton in place.Kristaps Dzonsons2010-05-151-11/+27
|
* Making room for libroff in Makefile: properly split out libmandoc.a.Kristaps Dzonsons2010-05-151-15/+57
|