summaryrefslogtreecommitdiffstats
path: root/main.c
Commit message (Expand)AuthorAgeFilesLines
* Reduce the verbosity of error messages caused by open(2) failures.Ingo Schwarze2014-06-211-2/+5
* Prefix messages about bad command line options and argumentsIngo Schwarze2014-06-211-6/+10
* As suggested by jmc@, only include line and column numbers into messagesIngo Schwarze2014-06-201-3/+7
* Prefix error messages from mandoc(1) with "mandoc: "Ingo Schwarze2014-06-201-1/+2
* KNF: case (FOO): -> case FOO:, remove /* LINTED */ and /* ARGSUSED */,Ingo Schwarze2014-04-201-44/+43
* The files mandoc.c and mandoc.h contained both specialised low-levelIngo Schwarze2014-03-231-0/+1
* Without the MPARSE_SO option, if the file contains nothing but aIngo Schwarze2014-03-191-1/+1
* Generalize the mparse_alloc() and roff_alloc() functions by givingIngo Schwarze2014-03-191-10/+10
* Joerg Sonnenberger contributed copyrightable amounts of text toIngo Schwarze2014-01-061-0/+1
* Add an option -Q (quick) to mandocdb(8)Ingo Schwarze2014-01-051-1/+1
* sync usage(), and tidy up the output a little; from jmc@Ingo Schwarze2012-11-191-3/+3
* Support -Ios='OpenBSD 5.1' to override uname(3) as the source of theIngo Schwarze2012-05-271-3/+19
* If -Tman is specified and input is -man, echo the preprocessed (`so'Kristaps Dzonsons2011-10-061-0/+7
* Initial, incomplete support for -TmanIngo Schwarze2011-09-171-0/+6
* Turn on -Tutf8 in the frontend. Here we go!Kristaps Dzonsons2011-05-201-0/+9
* Add mode for -Tlocale. This mode, with this commit, behaves exactlyKristaps Dzonsons2011-05-171-1/+11
* Make -Werr be -Wlevel, keeping it in sync with mandoc.1. Noted byKristaps Dzonsons2011-03-311-1/+1
* Put mandocerrs and mandoclevels arrays into libmandoc with accessorsKristaps Dzonsons2011-03-281-119/+2
* Make (e.g.) `SM' before `B' be only a warning. In reality, this refersKristaps Dzonsons2011-03-231-1/+1
* Add a FATAL error for when no manual type was assigned (you can repeatKristaps Dzonsons2011-03-221-0/+1
* main.c doesn't need roff.h anymore.Kristaps Dzonsons2011-03-211-1/+0
* Let read.c worry about the currently-open file instead of having thisKristaps Dzonsons2011-03-201-21/+1
* Consolidate messages. Have all parse-time messages (in libmdoc,Kristaps Dzonsons2011-03-201-29/+8
* Split the document parsing sequence out of main.c and into read.c,Kristaps Dzonsons2011-03-201-605/+70
* mandocmsg finally has no return value.Kristaps Dzonsons2011-03-171-5/+3
* Move mandoc_{realloc,malloc,calloc} out of libmandoc.h and into mandoc.hKristaps Dzonsons2011-03-171-5/+1
* Push exit_status into struct curparse alongside file_status.Kristaps Dzonsons2011-03-161-6/+7
* Make lint shut up a little bit.Kristaps Dzonsons2011-03-151-1/+1
* Remove duplicate UNCONST definition.Kristaps Dzonsons2011-03-151-1/+0
* Clean-up: make file_status global be local to curparse. "I agree withKristaps Dzonsons2011-03-151-28/+27
* Clean up date handling,Ingo Schwarze2011-03-071-1/+2
* Consolidate "rc" value in main.c around addspan, addeqn, and parseln.Kristaps Dzonsons2011-02-091-13/+13
* Allow -man to process EQN as well. Also fix a segfault in missing caseKristaps Dzonsons2011-02-091-2/+5
* Allow EQN data to be pushed down into libmdoc via mdoc_addeqn(). OnlyKristaps Dzonsons2011-02-091-0/+3
* Add initial EQN support to mandoc. This parses, then throws away, dataKristaps Dzonsons2011-02-061-0/+2
* If `Ns' is specified on its own line, it should be ignored. This isKristaps Dzonsons2011-02-021-0/+1
* Since tbl_data() can now produce multiple spans, let parsebuf()Ingo Schwarze2011-01-251-5/+7
* Skip carriage return before newline, if any.Ingo Schwarze2011-01-241-3/+20
* When finding the roff .it request (line trap),Ingo Schwarze2011-01-221-1/+1
* Make out-of-context `fi' invocations not cause an error, but just aKristaps Dzonsons2011-01-121-0/+1
* Refactoring in preparation for .rm support:Ingo Schwarze2011-01-111-0/+1
* First, make extra data cells be thrown away. This makes "dp->layout"Kristaps Dzonsons2011-01-101-3/+1
* Support `T{' and `T}' data blocks. When a standalone `T{' isKristaps Dzonsons2011-01-041-0/+1
* Fix to make horizontal spanners in the layout be properly printed.Kristaps Dzonsons2011-01-041-0/+2
* Partial cleanup of argument count validation in mdoc(7):Ingo Schwarze2011-01-031-1/+2
* Make sure we don't continue recursively parsing once we've exited withKristaps Dzonsons2011-01-031-0/+8
* Add a warning if a data cell has no layout. Also make -Ttree show thisKristaps Dzonsons2011-01-011-0/+4
* More checks for proper table exit.Kristaps Dzonsons2011-01-011-4/+1
* Add documentation bits for libroff's new roff_span().Kristaps Dzonsons2011-01-011-0/+1
* Switch on tbl rows being added to the parse stream. Here we go!Kristaps Dzonsons2011-01-011-2/+13