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