Files modified by kristaps: 2010-07-27 (16:16)
Note: Add PDF files to www. We also show text and ps, just to show off.
Files modified by kristaps: 2010-07-27 (16:02)
Note: Get version bits in: 1.10.5.
Files modified by kristaps: 2010-07-27 (15:56)
Note: No-op to shut up lint.
Files modified by kristaps: 2010-07-27 (09:16)
Note: Fix `ds' handling. This was stripping characters from "val", when the syntax of `ds' is such that ALL text following the first non-space/non-double-quote is part of the value. This also fixes the warning of *(string++) = NULL report by kristaps@ and joerg@.
Files modified by kristaps: 2010-07-27 (04:50)
Note: Nit-picking style of www page.
Files modified by kristaps: 2010-07-27 (04:48)
Note: Fill in more version notes.
Files modified by kristaps: 2010-07-27 (04:46)
Note: Update TODO to note that %A needs "and" before final author and that joerg@ has some tbl(1) patches lying around that need merging.
Files modified by kristaps: 2010-07-27 (04:39)
Note: Removed boot_config.8 breakage, which was fixed by the last commit of `Bd -literal' and `Bd -unfilled' unbreakage.
Files modified by kristaps: 2010-07-27 (04:38)
Note: Fix how `Bd -unfilled' and `Bd -literal' break lines. This unbreaks displays to work as old groff shows them; however, new groff still does some fancy shit.
Files modified by kristaps: 2010-07-26 (18:35)
Note: `Ad' is supposed to underline. Found whilst trolling through manuals.
Files modified by kristaps: 2010-07-26 (18:26)
Note: Make `Sm' start no-spacing after the first output word. Fix in both -T[x]html and -T{pdf,ps,ascii}. Reported by Jason McIntyre.
Files modified by kristaps: 2010-07-26 (17:58)
Note: Clean up some tight spots in mandoc's default mode: pessimistically pre-allocate the output buffer for words and in-line the buffera() function, which was only called in one place anyway.
Files modified by kristaps: 2010-07-26 (09:59)
Note: Remove asciisz from chars.in. It frees up a nice chunk of memory and at the overhead of running strlen() for ASCII strings (yes, I benchmarked this running mandoc_char(7) as input again and again with hundredth-second penalties... on my slow-ass alpha).
Files modified by kristaps: 2010-07-26 (09:45)
Note: Note that `Dd' can be empty. This found following a thread on discuss@ started by Sascha Wildner, 07/25/2010 06:30 AM.
Files modified by kristaps: 2010-07-26 (08:51)
Note: Merge schwarze@'s pass over mdoc.7. Fixed small new-sentence-new-line nit noted by Jason McIntyre. "your diff looks ok" (Jason McIntyre)
Files modified by kristaps: 2010-07-26 (06:20)
Note: Fix chars.in fall-through to ASCII mode. This bug only affected -T[x]html.
Files modified by kristaps: 2010-07-26 (06:00)
Note: Note -Tpdf in www.
Files modified by kristaps: 2010-07-26 (06:00)
Note: Merge Jason McIntyre's corrections to man.7. "urgle": Jason McIntyre. "This is all ok" schwarze@.
Files modified by kristaps: 2010-07-25 (18:56)
Note: Avoid running the "width" termp callback for each whitespace.
Files modified by kristaps: 2010-07-25 (18:15)
Note: Fully-working -Tpdf: xref table is now generated. This works for both single and multiple-manual mode (e.g., mandoc -Tpdf foo.1 bar.1).
Files modified by kristaps: 2010-07-25 (15:37)
Note: Make PDF sections contiguous.
Files modified by joerg: 2010-07-25 (15:05)
Note: Ensure that isalnum is called with unsigned char argument.
Files modified by schwarze: 2010-07-25 (14:22)
Note: list two additional issues
Files modified by kristaps: 2010-07-25 (07:44)
Note: Initial PDF shim over PS. This produces working PDF output with -Tpdf. It's currently missing the xref table, so you'll get a warning in most PDF viewers). It also produces lots of redundant output, which will go away once I get a better handle on the PDF spec. The code doesn't really touch any existing functionality; it's a bunch of conditionals atop the -Tps (term_ps.c) implementation. I'm checking it in now to have it exist and be auditable. It needs clean-up, polish, and general care (and xref!).
Files modified by kristaps: 2010-07-23 (09:22)
Note: Collapse `nf', `fi', `Vb', and `Ve' into one function as in man_html.c.
Files modified by kristaps: 2010-07-23 (08:27)
Note: Enable literal contexts (Vb/nf) in -T[x]html -man. This requires that a new struct pass down in the call-tree (as also in man_term.c). Also add a line-break for `in', which isn't otherwise supported (yet). Now -Thtml -man cvs.1 for GNU's cvs.1 isn't as ugly.
Files modified by kristaps: 2010-07-22 (20:08)
Note: Add support for `Sm' in -T[x]html -mdoc.
Files modified by kristaps: 2010-07-22 (19:53)
Note: Fix broken compilation, hopefully before anybody notices.
Files modified by kristaps: 2010-07-22 (19:03)
Note: Added `in' macro support for -man -Tascii. This is not yet supported in -Thtml (I'm surprised to note that neither is LITERAL mode).
Files modified by kristaps: 2010-07-22 (10:30)
Note: Start putting in release notes. A record is good because this release will have lots of small, incremental improvements.
Files modified by kristaps: 2010-07-22 (10:03)
Note: Accept "\s0" (i.e., properly ignore it). Found in the wild (e.g., gfdl.7).
Files modified by kristaps: 2010-07-22 (09:47)
Note: Bring `sp', `Sp', and `br' behaviour for -man in line with how -mdoc's is handled: correctly. This removes superfluous line breaks in many -man manuals.
Files modified by kristaps: 2010-07-22 (09:36)
Note: Have `nf' and `fi' flush lines. This is necessary or the LITERAL will be meaningless when invoked within a non-flushing context. This based on a formatting bug report submitted by Jonathon Gray (jsg@) via Christian Weisgerber (naddy@).
Files modified by schwarze: 2010-07-21 (17:55)
Note: In the SYNOPSIS, .Nm at the beginning of an input line starts an .Nm block, and gets special handling (new line, indentation). But .Nm in the middle of a line is just a normal in-line element, so make sure it does NOT get the special handling. Partly fixes the test(1) SYNOPSIS; indentation after "[" is still excessive, which is an unrelated and more difficult issue. Reminded of the problem by jmc@; OK kristaps@.
Files modified by kristaps: 2010-07-21 (16:35)
Note: Accomodate for groff's crappy behaviour wherein an unrecognised single-character escape (and ONLY this type of escape) will map back into itself: "If a backslash is followed by a character that does not constitute a defined escape sequence the backslash is silently ignored and the character maps to itself." (From groff.7.) Found by Jason McIntyre.
Files modified by kristaps: 2010-07-21 (06:10)
Note: Clarified mailing list purposes.
Files modified by kristaps: 2010-07-21 (05:59)
Note: Tidy up the www page.
Files modified by kristaps: 2010-07-21 (05:36)
Note: Nit-picking assign in decl.
Files modified by kristaps: 2010-07-21 (05:15)
Note: Lint-fixes (NetBSD).
Files modified by kristaps: 2010-07-21 (05:08)
Note: Finally make mdoc argv CPP-defines into a proper enum.
Files modified by kristaps: 2010-07-21 (04:24)
Note: The "wx" value is quite small, so use a u_short instead of a size_t.
Files modified by kristaps: 2010-07-20 (10:56)
Note: Strip non-graphable input characters from input. The manuals specifically say that this is not allowed, and were it allowed, output would be inconsistent across output media (-Tps will puke, non-your-charset terminals will puke, etc.). With this done, simplify check_text() to only check escapes and for tabs. Add in a new tab warning, too.
Files modified by kristaps: 2010-07-20 (06:56)
Note: Use floating-point -Tps "moveto" arguments to smooth out column and row misalignments.
Files modified by schwarze: 2010-07-19 (19:21)
Note: sync to OpenBSD: * briefly mention the HISTORY of the man(7) language * update the copyright notice * improve the wording in a few places * fix a couple of typos including two suggestions from J.C. Roberts feedback and ok jmc@, ok sobrado@ and kristaps@
Files modified by kristaps: 2010-07-19 (17:59)
Note: All macros in mdoc.7 are now documented.
Files modified by kristaps: 2010-07-19 (11:43)
Note: Finished document -mdoc macros. Note `br' and `sp' remain. Noted in arch.in and st.in that mdoc.7 must be updated if entries are added.
Files modified by kristaps: 2010-07-19 (11:28)
Note: Added documentation for several more macros. Only a few remaining! Applied "new-sentence, new-line" here and there. Refer to "whitespace", not "white-space". Remove long-commented-out CAVEATS, all of which have been addressed or at least discussed to some extent or another.
Files modified by kristaps: 2010-07-19 (07:11)
Note: Remove some FIXMEs: `Ms' accepts arbitrary text, so it can't/shouldn't be converted into a symbol. The `Pp' issue has also been fixed.
Files modified by kristaps: 2010-07-19 (07:06)
Note: Fix spurrious newline emitted by `Pp' when specified before or after `Sh'/`Ss'. Reported by Jason McIntyre.
Files modified by kristaps: 2010-07-19 (06:49)
Note: Changed Unicode codepoint of left-arrow right-arrow to be the regular ASCII symbols.
Files modified by kristaps: 2010-07-19 (06:48)
Note: Note discarding of \m, \M, and \s in COMPATIBILITY sections.
Files modified by kristaps: 2010-07-19 (05:21)
Note: Remove \s TODO: these are intelligently ignored along with \m and \M.
Files modified by kristaps: 2010-07-19 (05:19)
Note: Removed \s documentation, as we (1) never supported it, and (2) never will. Also whack the dot-separator from the embedded man.7 manual.
Files modified by kristaps: 2010-07-19 (03:53)
Note: Double-up DECO_RESERVED switch branch for colours.
Files modified by kristaps: 2010-07-18 (19:06)
Note: Properly discard \m colour escapes. Noted by J.C. Roberts.
Files modified by kristaps: 2010-07-18 (18:55)
Note: Throw out a2roffdeco() in out.c for a readable version. The prior one was completely unmaintainable. The new one is both readable and quite similar to mandoc_special(), which in future versions will easily allow throwing-away of unsupported escapes (such as \m). It's also a fair bit smaller. DECO_SIZE has been removed: this crap, like colours, will not be supported. mandoc_special() also has #if 0'd switch branches for ALL groff.7 escapes and some lint fixes.
Files modified by kristaps: 2010-07-18 (14:04)
Note: Make "\ " produce non-breaking space. Noted by Theo de Raadt. Ok schwarze@.
Files modified by schwarze: 2010-07-18 (13:00)
Note: Text ending in a full stop, exclamation mark or question mark should not flag the end of a sentence if: 1) The punctuation is followed by closing delimiters and not preceded by alphanumeric characters, like in "There is no full stop (.) in this sentence" or 2) The punctuation is a child of a macro and not preceded by alphanumeric characters, like in "There is no full stop .Pq \&. in this sentence" "looks fine" to kristaps@; tested by jmc@ and sobrado@
Files modified by schwarze: 2010-07-18 (12:42)
Note: fixed .Sm spacing, but there are four new issues
Files modified by kristaps: 2010-07-18 (08:10)
Note: Clean up mandoc_special() (in order later to catch \m). It also flags several syntactic errors that weren't caught before. Also un-puke chars.c on zero-length \[].
Files modified by kristaps: 2010-07-17 (08:01)
Note: Avoid letter-by-letter encoding by using strcspn() in term_word().
Files modified by kristaps: 2010-07-17 (05:21)
Note: By letting strncmp() do its job and not helping it with a prior length check, we can remove the hard-coded length of all escape patterns. This frees up a nice chunk of memory.
Files modified by kristaps: 2010-07-16 (18:33)
Note: Change chars.in HTML encoding to be a Unicode codepoint (int), which is later formatted in html.c.
Files modified by kristaps: 2010-07-16 (18:10)
Note: Removed completed TODO.
Files modified by kristaps: 2010-07-16 (17:09)
Note: Fixed dquote to be \*q.
Files modified by kristaps: 2010-07-16 (06:25)
Note: Fix which escapes are used to format \".
Files modified by schwarze: 2010-07-15 (20:03)
Note: After .Sm on, spacing ought to restart right away, before the next token, and not with a delay, after the next token. But be careful not to cause leading white space at the beginning of a line or column. In OpenBSD, improves chmod(1), ksh(1), tar(1), ps(1) and probably many more. ok kristaps@ and tested by jmc@ and sobrado@
Files modified by schwarze: 2010-07-15 (19:50)
Note: document .Sm; prodded by kristaps@
Files modified by schwarze: 2010-07-13 (19:53)
Note: correct lots of copyright notices; ok kristaps@
Files modified by kristaps: 2010-07-11 (19:07)
Note: Pre-tag checkin of release bits and shortlist.
Files modified by schwarze: 2010-07-11 (18:39)
Note: remove three issues fixed near the end of the c2k10 hackathon
Files modified by kristaps: 2010-07-07 (11:04)
Note: Re-constitution of `ds' symbol processing. First, push the 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.
Files modified by kristaps: 2010-07-06 (18:08)
Note: Revert Makefile to using mandoc.c instead of libmandoc.c. Remove newborn libmandoc.c. While here, remove superfluous dep of libman on mandoc.c.
Files modified by kristaps: 2010-07-06 (18:04)
Note: Resurrect mandoc.c after bogus removal (was: libmandoc.c).
Files modified by kristaps: 2010-07-06 (08:37)
Note: Give -T[x]html `Bk -words' capability.
Files modified by kristaps: 2010-07-06 (07:10)
Note: Brought function arguments and style in ine with term_word() in term.c to make sharing of TERMP_KEEP easier.
Files modified by kristaps: 2010-07-06 (07:07)
Note: Clarified `Bk' operation in mdoc.7.
Files modified by kristaps: 2010-07-06 (06:55)
Note: Documented `En', `Es', `Hf', `Ic', `Lp', `Nd', `No', `Oc', `Oo', `Op', `Pa', `Pc', `Po', `Pq', `Pp', and `Va'.
Files modified by kristaps: 2010-07-06 (06:54)
Note: Proper `Bk -words' support: only suppress breaks within a line, but allow end-of-line to break. This fixes the bad behaviour found when macros within `Bk' never break. "Excellent" schwarze@
Files modified by kristaps: 2010-07-05 (16:10)
Note: Move register information into mandoc.h, which is where it should have been in the first place (mandoc.h contains system-wide declarations).
Files modified by kristaps: 2010-07-05 (16:00)
Note: Renamed mandoc.c to libmandoc.c. This is in the efforts of getting a 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).
Files modified by kristaps: 2010-07-05 (09:12)
Note: Manual clean-ups. Add syntax message for `Bd', `Bk', and `Bl'. Document `Eo' and `Ec'. Add context-end notes `Ec' and `Fc'.
Files modified by kristaps: 2010-07-05 (06:45)
Note: Remove caching TODO: this has been committed.
Files modified by kristaps: 2010-07-05 (04:46)
Note: Suppress duplicate "Page: 1 1" -Tps printing and instead relay on PS_NEWPAGE to do the job for us. Noted by Dillo.
Files modified by schwarze: 2010-07-04 (18:04)
Note: Assert my copyright, making it explicit that i'm granting the same license on those parts of the code and text that i have written as Kristaps is. "fine with me" kristaps@
Files modified by kristaps: 2010-07-04 (17:59)
Note: Cache column sizes and char pointer into mdoc_bl. Finally get rid of the loops here and there to track down the MDOC_Column arguments.
Files modified by kristaps: 2010-07-04 (16:17)
Note: gv(1) doesn't remember the last set font when displaying new pages, so print it out for each new page. This also prevents superfluous printings of the font before the %%Page: comment has been displayed.
Files modified by kristaps: 2010-07-04 (16:06)
Note: Set line-height to be 1.4em. Removed check for minimum margins that are no longer important.
Files modified by kristaps: 2010-07-04 (15:57)
Note: Suppress printing blank eof pages in -Tps. Delay printing of Page: until actual text is ready to be displayed.
Files modified by kristaps: 2010-07-04 (15:42)
Note: Suppress printing of newlines/space at start of new -Tps page. Also renamed "psstate" -> "flags" (was wrongly implying some sort of state machine).
Files modified by kristaps: 2010-07-04 (15:24)
Note: Backed out margin calculations in favour of much simpler rule of thumb: margins are 1/9 the length/width.
Files modified by kristaps: 2010-07-04 (06:53)
Note: Auto-margins. Documented in mandoc.1. Also bumped line-height and made sure header and footer accomodate for said line-height.
Files modified by kristaps: 2010-07-03 (13:17)
Note: Allow empty `Fo' to get by without an assertion.
Files modified by kristaps: 2010-07-03 (12:09)
Note: Note to myself on what I need to do regarding inter-library functions.
Files modified by schwarze: 2010-07-03 (12:02)
Note: Rudimentary implementation of user-defined strings; no time for more refinement right now. In particular, fixes terminfo(3) and mdoc.samples(7). ok kristaps@, who will add the HTML frontend bits
Files modified by schwarze: 2010-07-02 (20:48)
Note: The roff escape function "\s" is definitely not urgent, but it is used in the tree and we should not forget.
Files modified by schwarze: 2010-07-02 (13:42)
Note: Not only for -tag lists, but for -hang, -ohang, -inset, -diag, and -item list as well, empty bodies are OK, they do not even warrant a warning, much less the error they were throwing. According to kristaps, joerg@ also brought this up some time ago. ok kristaps@ jmc@
Files modified by kristaps: 2010-07-02 (11:03)
Note: Cached `An' arguments in struct mdoc_an. Note that this isn't a pointer like the other data members, as there's no need to copy it around.
Files modified by kristaps: 2010-07-02 (09:12)
Note: Fix: was checking HEAD for arguments.
Files modified by kristaps: 2010-07-02 (09:07)
Note: Add documentation for Bf/Ef.
Files modified by kristaps: 2010-07-02 (08:54)
Note: Stash `Bf' parameters into struct mdoc_bf.
Files modified by kristaps: 2010-07-02 (06:53)
Note: Lint fixes.
Files modified by kristaps: 2010-07-02 (06:50)
Note: Lint tweak.
Files modified by kristaps: 2010-07-02 (06:43)
Note: Added TODO to sanitise `Nm' blocks such that HEAD optionally contains only a TEXT element consisting of the name.
Files modified by kristaps: 2010-07-02 (06:42)
Note: Implemented -Thtml bits for handling `Nm' blocks.
Files modified by kristaps: 2010-07-01 (19:01)
Note: Remove my own dumb FIXME and mark a static function defn as static.
Files modified by kristaps: 2010-07-01 (18:56)
Note: Make struct_bl and struct_bd into pointers. This removes the need to do copying on internals after modification. Even more importantly, if an ENDBODY token is provided, it would have been impossible for post-change copying of the data to take place in the BLOCK. This allows it to happen by dint of pointers. Also did some bikeshedding in mdoc_term.c: checking against enum type and explicitly casting to the "post" function to void. This is for my own readability.
Files modified by schwarze: 2010-07-01 (18:35)
Note: In the mdoc(7) parser, inspect roff registers early such that all parts of the parser can use the resulting cues. In particular, this allows to use .nr nS to force SYNOPSIS-style .Nm indentation outside the SYNOPSIS as needed by ifconfig(8). To actually make this useable, .Pp must rewind .Nm, or the rest of the section would end up indented. Implement a quick hack for now, a generic solution can be designed later. ok kristaps@ and tested by sobrado@
Files modified by kristaps: 2010-07-01 (17:44)
Note: Prevent validator from puking on ENDBODY `Bl' nodes.
Files modified by schwarze: 2010-07-01 (17:12)
Note: Correct handling of trailing punctuation in MDOC_DELIM blk_full HEADs. The bug was uncovered by SYNOPSIS .Nm as this happened to be the first block with this particular combination of properties. Found the hard way by kristaps@ in NetBSD gcc-contrib(1), fix by me.
Files modified by schwarze: 2010-07-01 (11:38)
Note: Improve .Nm indentation in the SYNOPSIS; kristaps@ will do the missing HTML part soon. "looks nicer" jmc@ "seems perfect to me" sobrado@ "slap it in" kristaps@
Files modified by kristaps: 2010-07-01 (10:34)
Note: More reality-checks for the p->end type.
Files modified by kristaps: 2010-07-01 (10:28)
Note: p->end is an enum: treat it as such.
Files modified by kristaps: 2010-07-01 (10:23)
Note: First, I'm defaulting to 11-point font, which renders much nicer (the "Internet" vaguely suggests using 11- or 9-Point for serifed fonts). This verified on GNU/Linux, Mac OSX, Windows, and OpenBSD. Noted in mandoc.1. Then added a3, a4, a5, letter, legal, and custom page dimensions. These seem to be the main players. Noted in mandoc.1. Lintified the casting.
Files modified by kristaps: 2010-07-01 (05:33)
Note: "Tweak previous": "badly nested" becomes badly-nested, some typos corrected, and a bit of clarity for my own sake.
Files modified by schwarze: 2010-06-30 (19:57)
Note: remove a couple of issues that have been fixed
Files modified by kristaps: 2010-06-30 (16:57)
Note: Now using Times AFM provided by Dillo. Verified on OpenBSD by me and Mac OSX by M. Deksters.
Files modified by schwarze: 2010-06-30 (16:32)
Note: improve error reporting: * avoid error exit code after mere warnings * add ERROR: and FATAL: to messages when appropriate * sort the code in mmsg() to make it easier on the eye * make the mandocerrs[] list easier to maintain * update a few comments in mandoc.h ok kristaps@
Files modified by kristaps: 2010-06-30 (11:05)
Note: Correct dimensions for DocumentMedia. Noted by schwarze@, as gv(1) was puking on input.
Files modified by kristaps: 2010-06-30 (09:16)
Note: Embedding Charter proportional-width glyphs. Nice-looking output.
Files modified by kristaps: 2010-06-30 (09:00)
Note: PostScript can now handle scaled glyph sizes (see "scale" in struct termp_ps) to arbitrarily scale font. Tested with 10 (default), 12, 14.
Files modified by kristaps: 2010-06-30 (08:30)
Note: Pushed normalisation of scaling units into term_hspan().
Files modified by kristaps: 2010-06-30 (08:27)
Note: Move term_hspan() calculation into the output devices, where it belongs.
Files modified by kristaps: 2010-06-30 (07:45)
Note: Push paper calculation out of getsubopt() loop. Make all points be AFM glyph units to make positioning more precise.
Files modified by schwarze: 2010-06-30 (00:05)
Note: Closing of full blocks (Bd Bf Bk Bl It Fo Nd Rs Sh Ss) may never be delayed: It must either succeed right away or fail outright. As noticed by Kristaps, neglecting to fail properly when required could make invalid input screw up the syntax tree and ultimately trigger assertions in other, unrelated parts of the program. This fix tested by and OK by kristaps@. While here, comment the rather tricky function rew_dohalt(). This function will probably need more tweaks later on.
Files modified by schwarze: 2010-06-29 (18:35)
Note: let's not forget the remaining badly nested block issue, even though there are no more urgent problems
Files modified by schwarze: 2010-06-29 (15:45)
Note: fix a typo in the function declaration; seems like gcc3 didn't catch it :-( thanks to thib@ and kristaps@ for reporting
Files modified by schwarze: 2010-06-29 (15:24)
Note: Considerably simplify block rewind rules; no functional change intended. * Let rew_alt() always succeed, obsoleting tons of case statements. * Merge rew_dobreak() into rew_dohalt(). * Encode all rewinding cases uniformly in terms of "enum rew". Required because i'm too dumb to get SYNOPSIS .Nm rewinding right without cleaning this up first. "get it in" kristaps@
Files modified by schwarze: 2010-06-29 (15:20)
Note: Support for badly nested blocks, written around the time of the Rostock mandoc hackathon and tested and polished since, supporting constructs like: .Ao Bo Ac Bc (exp breaking exp) .Aq Bo eol Bc (imp breaking exp) .Ao Bq Ac eol (exp breaking imp) .Ao Bo So Bc Ac Sc (double break, inner before outer) .Ao Bo So Ac Bc Sc (double break, outer before inner) .Ao Bo Ac So Bc Sc (broken breaker) .Ao Bo So Bc Do Ac Sc Dc (broken double breaker) There are still two known issues which are tricky: 1) Breaking two identical explicit blocks (Ao Bo Bo Ac or Aq Bo Bo eol) fails outright, triggering a bogus syntax error. 2) Breaking a block by two identical explicit blocks (Ao Ao Bo Ac Ac Bc or Ao Ao Bq Ac Ac eol) still has a minor rendering error left: "<ao1 <ao2 [bo ac2> ac1> bc]>" should not have the final ">". We can fix these later in the tree, let's not grow this diff too large. "get it in" kristaps@
Files modified by kristaps: 2010-06-29 (11:00)
Note: Inter-release tag.
Files modified by kristaps: 2010-06-29 (10:55)
Note: Remove some incorrect data from mandoc.1 (that of non-macro lines and spacing, which is for mdoc.7/man.7 anyway). Also document -Opage=xxx and push the per-output options into the output subsections. Makes the manual shorter and more readable.
Files modified by kristaps: 2010-06-29 (10:53)
Note: Add in -Opaper=xxx support for -Tps postscript. This doesn't have any functional changes beyond the getsubopt() parse in term_ps.c. If you want to test this (it only does -Opaper=a4 and -Opaper=letter; adding more is trivial), make sure you specify (e.g.) -sPAPERSIZE=a4 to gs(1).
Files modified by kristaps: 2010-06-29 (10:18)
Note: Give -Tps better PostScript hinting. Note that we're using Adobe-3.0 constructs. Push the stupid CPP defines for page boundaries and margins into proper variables. Give enum termfont a proper TERMFONT__MAX.
Files modified by kristaps: 2010-06-28 (19:26)
Note: Clean-up of variable-width glyph support. Adds no new code; only restructured to make a bit more readable. Also removed an unused entry in the PS engine structure.
Files modified by kristaps: 2010-06-28 (18:46)
Note: This enables variable glyph-width output. The checkin will be followed by a [functionless] clean-up in term_ps.c, but this makes the appropriate changes to "enable" initial proportional-width functionality in term.c and fixes some areas of term_ps.c that were causing errors.
Files modified by kristaps: 2010-06-28 (10:39)
Note: Notes: this must be done later. \b in the input will cause havoc.
Files modified by kristaps: 2010-06-28 (09:45)
Note: Initial encoding of glyph widths. From /usr/X11R6/lib/X11/fonts/Type1. These continues proportional-width glyph encoding.
Files modified by kristaps: 2010-06-28 (05:48)
Note: Tiny commit clarifying flushln() documentation as to what refers to visual screen output and what's an array index (getting closer to variable-width fonting).
Files modified by schwarze: 2010-06-27 (13:53)
Note: minor .Bk fixes: * do not print invalid arguments verbatim (no groffs prints them, either) * do not trigger TERMP_PREKEEP twice * do not die from invlid arguments (groff won't die, either) * continue to ignore even valid arguments (just like groff) ok kristaps@ on the previous version, before removing my last bug ;)
Files modified by schwarze: 2010-06-27 (13:31)
Note: remove .Bk which is done while here, add .ds as a desideratum
Files modified by kristaps: 2010-06-27 (12:36)
Note: Allow registers to be unset. Implement and document the `.nr nS val'.
Files modified by kristaps: 2010-06-27 (12:18)
Note: Following clue-stick applied by schwarze@, back out const-ness of regset passed in to libmdoc and libman. Fix mdoc.3 and man.3 EXAMPLE sections to include regset. Add MDOC_SYNPRETTY flag cueing front-end to nicely format certain values as if SEC_SYNOPSIS were the current section.
Files modified by kristaps: 2010-06-27 (11:52)
Note: Downstream maintainers: this removes UGLY! I don't want diverging 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.
Files modified by schwarze: 2010-06-27 (09:30)
Note: Document .Bk and .Ek; reminded by kristaps@.
Files modified by schwarze: 2010-06-26 (21:26)
Note: Basic implementation of .Bk/.Ek; from OpenBSD. OK and one stylistic tweak by kristaps@.
Files modified by kristaps: 2010-06-26 (12:07)
Note: Mechanical diff allowing the const struct regset to propogate through libman and libmdoc.
Files modified by kristaps: 2010-06-26 (11:36)
Note: Churn-ish check-in getting mdoc_parseln() and man_parseln() to accept a const struct regset pointer. No functionality.
Files modified by kristaps: 2010-06-26 (11:22)
Note: First step of adding register support. This is inspired by a significant 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.
Files modified by kristaps: 2010-06-25 (15:50)
Note: Remove "pt" from struct roffsu, as CSS (the only reason it was there) is unclear about which units accept floats/integers, which leads me to assume that it handles either and rounds as appropriate.
Files modified by kristaps: 2010-06-25 (15:02)
Note: Allow OpenBSD's nroff to process mandoc.1 without puking on long `It' lines.
Files modified by kristaps: 2010-06-25 (14:53)
Note: Initial chunks for variable-width fonts. Pushes all width calculations in mdoc_term.c and man_term.c down into term.c. This is still not implemented in term.c, although stubs for width calculations are in place. From now on, offset, rmargin, and other layout variables are abstract screen widths. They will resolve to the the familiar values for -Tascii but -Tps will eventually use points instead of chars.
Files modified by kristaps: 2010-06-19 (16:51)
Note: Fix slipped in after tag: install PS files with installwww.
Files modified by kristaps: 2010-06-19 (16:46)
Note: Churn as I finish email address migration kth.se -> bsd.lv.
Files modified by kristaps: 2010-06-19 (16:43)
Note: Version notes for 1.10.2.
Files modified by kristaps: 2010-06-13 (18:44)
Note: Removed finished TODOs
Files modified by kristaps: 2010-06-13 (18:05)
Note: Remove arg_getattrs(), as we only have arg_getattr()-like calls now that -width is cached.
Files modified by kristaps: 2010-06-13 (17:41)
Note: Switch on cached -width usage in front-ends.
Files modified by kristaps: 2010-06-13 (17:02)
Note: Allow -width for lists to be cached in mdoc_bl. This requires some trickery because widths may be on-the-fly recalculated. I don't like how these are split between mdoc_action.c and mdoc_validate.c, but for the time being, it'll do.
Files modified by kristaps: 2010-06-13 (16:05)
Note: Small optimisations in mdoc_action list processing. Cleanups making way for "width" cached argument.
Files modified by kristaps: 2010-06-12 (08:38)
Note: Cached `Bl -offset' into mdoc_bl. Removed erroneous "-offset defaults to 6n if no value is specified" and added regression tests for `Bl' testing against the empty -offset argument.
Files modified by kristaps: 2010-06-12 (08:21)
Note: Reverted to mdoc_term.c 1.149 (`It' does not inherit `Bl's cache, obviously, which was causing fallout) and again remove the loop code. Tested more thoroughly.
Files modified by kristaps: 2010-06-12 (08:10)
Note: Moved `Bl -compact' into cached data. This allowed the removal of scanning the argv list in print_bvspace(), and thus the parent pointer.
Files modified by kristaps: 2010-06-12 (07:58)
Note: `Bl' is now using a struct instead of a single enum mdoc_list for its cached values. You can probably guess where this is going.
Files modified by kristaps: 2010-06-12 (07:41)
Note: Removed stipulation that an empty `Bd -offset' will default to 6n. Not sure where this came about. Added regression tests to convince myself that this is so. Also consolidated COMPATIBILITY notes regarding `Bd'. Added COMPATIBILITY note to the effect that old groff pukes on `Bd -compact -ragged' (regression test will fail on old groff).
Files modified by kristaps: 2010-06-12 (07:21)
Note: Cache all of `Bd's resolved arguments into mdoc_bd, which is stashed in the "data" union in mdoc_node. Allows me to remove some ugly loops in the front-end and duplicate tests in mdoc_action.c. Add a regression test to make sure we're not doing anything bad (more to come).
Files modified by kristaps: 2010-06-12 (06:09)
Note: Added enum mdoc_disp (similar to enum mdoc_list). Display types are now only calculated once in mdoc_validate.c. Noted that `Bd -file xxx' is not supported: it now raises a fatal warning. This is noted in mdoc.7. Empty `Bd' now defaults to LIST_ragged, which is not quite what groff does, but close enough (gross just throws away the `Bd' and gets upset when it encounters an `Ed').
Files modified by kristaps: 2010-06-11 (19:40)
Note: Add FreeBSD libraries (provided by Ulrich Spoerlein).
Files modified by kristaps: 2010-06-11 (12:58)
Note: Implement font-switching for PostScript. -Tps now supports TERMFONT_BOLD (Courier-Bold) and TERMFONT_UNDER (Courier-Oblique). It doesn't look half bad. This accomplished through tricksy juggling of the one-char back-buffer.
Files modified by kristaps: 2010-06-11 (11:26)
Note: Delay opening a word state until a character is ready to be output. This paves the way for closing/reopening scope in the event that a font changes.
Files modified by kristaps: 2010-06-11 (03:23)
Note: Teach -Tps to ignore backspace-encoding by using a one-char buffer and a simple state machine. This paves the way for decorated text.
Files modified by kristaps: 2010-06-11 (03:15)
Note: Note that we use PostScript level 2, not 1 (the /Courier invocation).
Files modified by kristaps: 2010-06-10 (19:56)
Note: Allow open word contexts in -Tps to preserve whitespace, as whitespace apparently doesn't collapse in PostScript (surprise!). Makes output files much more compact.
Files modified by schwarze: 2010-06-10 (19:24)
Note: Fix a regression that crept in in man_term.c 1.73 and mdoc_term.c 1.144. When the title line uses special characters, mandoc will segfault. Thus, first set up the character tables, then print the header, as we always did. Found in OpenBSD /usr/src/usr.sbin/bind/bin/check/named-checkconf.8. While here, set p->tabwidth in terminal_man() for symmetry with terminal_mdoc(), as suggested by millert@ (and already committed to OpenBSD earlier). Since 5 is the default, this is not strictly required, but it is certainly clearer and more robust. "looks fine" kristaps@
Files modified by kristaps: 2010-06-10 (17:42)
Note: Fix adding some minimal intelligence to conditional parser. See roff.7 for what's supported. This simplified the roff_cond() function quite nicely. From a bug report by uqs@. Added regression test based on bug-report example by uqs@. Also added ROFF_DEBUG to see what the hell the parser is actually doing. Obviously turned off by default.
Files modified by kristaps: 2010-06-09 (16:00)
Note: Make "sub" for conditionals run roffnode_cleanscope() before calling down to sub-arguments. From a bug report by Ulrich Spoerlein.
Files modified by kristaps: 2010-06-09 (15:22)
Note: Squash bug noted by Ulrich Spoerlein where "-" were being converted to ASCII_HYPH, as per normal, but were screwing up mandoc_special(). Fixed by making mandoc_special() first check isspace() instead of ! isgraph(), then normalise its string as it passes out. This require de-constifying some validation routines not already de-constified (those in libman), but that's ok, because I'd like to be pushing actions into validation routines to save on space and redundant calculations.
Files modified by kristaps: 2010-06-09 (04:31)
Note: Forgot to increment into the nil terminator. And call va_end() while we're at it.
Files modified by kristaps: 2010-06-09 (04:07)
Note: Have the standard manpage header and footer print on every page of -Tps output. This is more tricky than you may think: we can't just call the header function out-of-state (i.e., before a flushln has occured) because we'd clobber our current state. Thus, we call at the beginning and dump the output into an auxiliary buffer. For the record, I don't think there's any other clean way to do this. The only other Way That Works is to copy-aside *all* termp state, zero it, and do the necessary headf/footf. This is just as complex, as memory needs to be alloc'd and free'd per margin. Unfortunately, this prohibits page numbering (the margin is only printed once), so I'll probably end up re-writing this down the line.
Files modified by kristaps: 2010-06-08 (11:06)
Note: Lint noops. Also fixed getsubopt() to be in unistd.h (noted by joerg@).
Files modified by kristaps: 2010-06-08 (11:00)
Note: Broke ascii_*() functions into term_ascii.c Made low-level engine functions into function pointers.
Files modified by kristaps: 2010-06-08 (09:22)
Note: No functionality changes: just restructuring. Deprecated 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.
Files modified by kristaps: 2010-06-08 (05:20)
Note: Missing prototype for getsubopt() on NetBSD fixed.
Files modified by kristaps: 2010-06-08 (05:15)
Note: Fixed missing tag in www index.
Files modified by kristaps: 2010-06-07 (17:05)
Note: Updated version bits with PostScript goodies.
Files modified by kristaps: 2010-06-07 (17:03)
Note: Lint fix. Added J.C. Roberts' TODO note.
Files modified by kristaps: 2010-06-07 (16:57)
Note: First check-in of PostScript output. This does not change any logic 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.
Files modified by kristaps: 2010-06-07 (08:20)
Note: Added version bits for 1.10.1. Spell-checked manuals.
Files modified by kristaps: 2010-06-07 (07:14)
Note: I really should run -Tlint on my own manuals before committing them. EOLN whitespace fixed.
Files modified by kristaps: 2010-06-07 (07:01)
Note: Normalise SYNOPSIS behaviour after I gave up on following groff's inconsistent behaviour. In short: Some macros are displayed differently in the SYNOPSIS section, particularly Nm, Cd, Fd, Fn, Fo, In, Vt, and Ft. All of these macros are output on their own line. If two such dissimilar macros are pair-wise invoked (except for Ft before Fo or Fn), they are separated by a vertical space, unless in the case of Fo, Fn, and Ft, which are always separated by vertical space. Behaviour ok Jason McIntyre, ingo@. Fallout will be treated case-by-case. I had to clear out some regressions that were testing against groff's stranger behaviours: these will now break, as we don't care about such invocations. Also removed the newline for `Cd' invocation in a non-SYNOPSIS context.
Files modified by kristaps: 2010-06-07 (06:55)
Note: Forgot to check in manual along with -Owidth=width patch.
Files modified by kristaps: 2010-06-07 (06:52)
Note: Add -Owidth=width option to mandoc -Tascii. Asked for by joerg@ about a thousand years ago. Note that this is normalised to >=60.
Files modified by kristaps: 2010-06-06 (18:25)
Note: Small fix to preserve trailing semicolons in examples.
Files modified by schwarze: 2010-06-06 (18:08)
Note: Merge a fix to avoid a regression in OpenBSD: Restore the blank line before .In in SYNOPSIS except right after .Sh or right after another .In. Even though Kristaps says SYNOPSIS blank-line handling is still very much work in progress and more is probably needed, this one is useful to keep in sync with OpenBSD. "fine" kristaps@
Files modified by joerg: 2010-06-06 (16:44)
Note: Add MAP_SHARED for mmap, at least NetBSD with DIAGNOSTIC is quite noisy otherwise.
Files modified by kristaps: 2010-06-06 (06:57)
Note: Have regress.sh bail out if $MANDOC isn't found.
Files modified by kristaps: 2010-06-06 (06:50)
Note: Fixed -Tascii and -Thtml rendering of `Ft' and `Fo'.
Files modified by kristaps: 2010-06-06 (06:49)
Note: Shortened "its calling syntax" -> "its syntax". Better documentation for `Fa' and some others. Added `Ft', `Fo', and some COMPATIBILITY notes.
Files modified by kristaps: 2010-06-04 (18:26)
Note: Fix following the first: `Ft' is given special treatment if specified before `Fn'.
Files modified by kristaps: 2010-06-04 (18:16)
Note: Fixed `Fn' newline behaviour and added some regression tests to this extent. Documented `Fn'. Please note the COMPATIBILITY note regarding historic groff.
Files modified by kristaps: 2010-06-04 (17:49)
Note: Documented `In' in full. Fixed `In' to behave properly: it wasn't properly breaking lines, formatting, or really anything else. Noted COMPATIBILITY with OpenBSD's groff, which pukes all over `In'.
Files modified by kristaps: 2010-06-04 (17:05)
Note: Fixed `Fd' to format in the right way. Found when confused by what the hell `Fd' is supposed to do anyway (answer: it's a historical macro and we shouldn't be doing anything with it anyway).
Files modified by kristaps: 2010-06-04 (16:57)
Note: Documented `Db', `El', `Fa', and `Fd'.
Files modified by kristaps: 2010-06-03 (11:54)
Note: Document the `Mt' macro.
Files modified by kristaps: 2010-06-03 (11:39)
Note: Remove manuals.7 (see http://manpages.bsd.lv).
Files modified by kristaps: 2010-06-03 (10:52)
Note: Version bits for 1.10.1.
Files modified by kristaps: 2010-06-03 (10:52)
Note: Compatibility note about `Ta' being a line macro.
Files modified by kristaps: 2010-06-03 (10:29)
Note: Complete, rigorous documentation of the `Bl' and `It' macros, including the peculiarities with `It'-less `Bl -column' invocations, column phrases, per-type syntax of `It', etc.
Files modified by kristaps: 2010-06-03 (09:44)
Note: Consolidated list processing to a single loop in mdoc_validate.c. This relieves having to repeat running over the argument list in mdoc_action.c and mdoc_validate.c. Default to LIST_item for type-less lists (groff technically doesn't do this: it just ignores the `It' lines altogether). Make MANDOC_LISTTYPE be a recoverable error.
Files modified by kristaps: 2010-06-02 (08:01)
Note: Strip empty-line markers from mdoc.template and its mdoc.7 embedded form (as per Jason McIntyre's suggestion for manuals in general).
Files modified by kristaps: 2010-06-01 (18:05)
Note: Note missing man/roff(?) feature not documented anywhere.
Files modified by kristaps: 2010-06-01 (10:54)
Note: Spelling patches provided by Ulrich Spoerlein.
Files modified by kristaps: 2010-06-01 (10:51)
Note: De Morgan's law not being applied properly. Noted by Ulrich Spoerlein.
Files modified by kristaps: 2010-06-01 (07:54)
Note: Noted that \} collapses into a zero-width space on the front-end.
Files modified by kristaps: 2010-06-01 (07:53)
Note: Regression made old-groff-friendly.
Files modified by kristaps: 2010-06-01 (07:47)
Note: Fixed condition of `\}' closing a conditional at the start of the line. Fixed flushed-out condition of \} causing subsequent arguments to be truncated, when in fact the whole line should be passed through (if the conditional succeeds) to the front-end and the \} ignored there. Added regression test of this behaviour.
Files modified by kristaps: 2010-05-31 (19:49)
Note: Lint fixes (noops).
Files modified by kristaps: 2010-05-31 (19:40)
Note: Cleanup post_bl_head() to use enum mdoc_list (avoid traversing that list). Reverted MANDOC_COLUMNS to be a bad-bad syntax error: we don't, and apparently never have, allowed mixing of -column syntaxes. This would have segfaulted if encountered.
Files modified by kristaps: 2010-05-31 (19:10)
Note: Clean up the validation code for `It' macros: use enum mdoc_list instead of iterating over arguments and only scan with `-column', which needs the count of arguments.
Files modified by kristaps: 2010-05-31 (18:39)
Note: Remove now-superfluous check on `Ta' context.
Files modified by kristaps: 2010-05-31 (17:32)
Note: Fixed my breaking of Ingo's eoln-whitespace detection code, where a hyphen wasn't resetting the fact of being whitespace. Noted by Jason McIntyre.
Files modified by kristaps: 2010-05-31 (16:14)
Note: Macro lines now infer an `It' if they immediately follow a `Bl -column' or a closed-out `It' block within a `Bl -column' (which only happens when a macro or free-form text is encountered prior to an `It'). Added some regression tests for this behaviour.
Files modified by kristaps: 2010-05-31 (11:50)
Note: Strengthened constraint for passing into `It'. Added regression test for constrained condition.
Files modified by kristaps: 2010-05-31 (11:42)
Note: Add ability to interpret initial free-form lines as part of a `Bl -column' up until the first `It'. This is UGLY and should have all sorts of warnings, and will. On the one hand, it fits with groff's notion of tabs and tab-spaces. On the other hand, it's not really "free-form" text any more. Note that this does not yet accomodate for macros coming on these lines.
Files modified by kristaps: 2010-05-31 (09:39)
Note: Getting args() function ready to handle no-context (*pos can == 0) processing.
Files modified by kristaps: 2010-05-31 (07:52)
Note: `Ta' scope-checks need to be more specific (until implicit `It' handling comes into play).
Files modified by kristaps: 2010-05-31 (06:29)
Note: Add some regression tests.
Files modified by kristaps: 2010-05-31 (06:28)
Note: Remove enum mdocargerr from phrase() (unused). Add `Ta' macro, which is basically a NULL case everywhere but in mdoc_macro.c, where it closes out an existing `It' body scope and opens a new one, then continues parsing as in phrase() (TODO: merge these two?). Fix where scope-breaking was silently just dying instead of printing an error. Fix where trailing `Ta' or tab weren't creating a new MDOC_BODY context. We now support arbitrarily complex `It' contents for `Bl -column'.
Files modified by kristaps: 2010-05-31 (06:19)
Note: Fix unescaped `Ta' invocations in mdoc.7.
Files modified by kristaps: 2010-05-30 (19:59)
Note: Have mdoc_args() use enum mdoc_list instead of scanning.
Files modified by kristaps: 2010-05-30 (19:07)
Note: Tweak regression so it doesn't puke on the groff behaviour (allowing open scopes to migrate across tabs) that we probably won't support and is well-known.
Files modified by kristaps: 2010-05-30 (18:56)
Note: Migrate `Bl -column' phrases to be MDOC_BODY instead of MDOC_HEAD. This will make it easy for re-entrant parsing of `Ta' macros to fit in with standard closure rules. Added some more regressions for `Bl -column'. Note that one should fail, as documented in the TODO file. Recorded change of AST BNF in mdoc.3.
Files modified by kristaps: 2010-05-30 (17:50)
Note: Final word on lac/ac. Document flow as it relates to phrasing, as I'll be changing this around and want a record in CVS of what was happening beforehand.
Files modified by kristaps: 2010-05-30 (17:41)
Note: Obvious fix to last patch: have ARGS_PEND also be flagged for phrase() handling.
Files modified by kristaps: 2010-05-30 (17:28)
Note: First in several iterative patches in getting complex -column lists supported (which works but is tricky enough that it should be broken down into digestable parts). This simply moves around the propogation of ARGS_PEND into one recognised by phrase(). Added a few regressions for simple -column lists.
Files modified by kristaps: 2010-05-30 (07:47)
Note: Make check for case a little more intuitive (suggested by joerg@).
Files modified by kristaps: 2010-05-30 (07:00)
Note: Made `Dt' default to LOCAL and UNKNOWN instead of local and unknown (note case). Have `Dt' default to UNKNOWN if it's an empty string. Raise a warning if `Dt' title isn't capitalised. Sync'd `Dt' documentation with reality.
Files modified by kristaps: 2010-05-30 (06:36)
Note: Fixed tech@ mailing list pointer (noted by Ulrich Spoerlein). Fixed case of some anchor tag closings (no-op).
Files modified by kristaps: 2010-05-29 (15:48)
Note: Added a final regression for `Ar' (won't work on old groff).
Files modified by kristaps: 2010-05-29 (15:45)
Note: Bump 1.10.0 version in Makefile.
Files modified by kristaps: 2010-05-29 (15:45)
Note: Added version bits to www pages. Cleaned up www to be more compact and add a header for sections.
Files modified by kristaps: 2010-05-29 (15:41)
Note: Give libroff an extremely simple table-lookup instead of iterating over each and every macro. The table keys on the first character then walks a chain. Good enough for now.
Files modified by kristaps: 2010-05-29 (14:58)
Note: Moved printing of empty word [back] into mdoc_action.c so that it's not mirrored across front-ends.
Files modified by kristaps: 2010-05-29 (14:50)
Note: Adding `Ar' regression for empty-prior-closing-punctuation checkin. NOTE: this will not work on old groff, which forgets to print `file ...' when encountering an empty Ar node.
Files modified by kristaps: 2010-05-29 (14:47)
Note: Commit of patch floated on discuss@ a few days ago: if an in_line scope has not been opened and closing punctuation is encountered AND the macro is marked as accepting no-content (or `Li'), then open an empty scope. Added regression tests for `Fl' and `Li' testing this behaviour. Also, squeeze hyph0.in tests into the last characters of each line so that groff doesn't hyphenate and break the test.
Files modified by kristaps: 2010-05-26 (10:03)
Note: Allow bad -man dates to flow verbatim into the front-ends. Noted by Ulrich Spoerlein.
Files modified by kristaps: 2010-05-26 (06:39)
Note: Documented `Ud'. Proper EOS handling for `Rv', `Ex', `Ud', and `Bt'. Both `Bt' and `Ud' now warn about and discard line arguments (reported by Ulrich Spoerlein). Collapsed posts_xr into posts_wtext (harmless: they're the same thing). Added regressions for `Ud' and `Bt'.
Files modified by kristaps: 2010-05-26 (05:35)
Note: Fixed `Lb' to be in_line (reported by Ulrich Spoerlein). Added `Lb' documentation to mdoc.7. Removed harmless but superfluous pre_lb check (was just NULL entries). Added regressions for `Lb' (NOTE that these will only run on new groff, as old groff doesn't support `Lb' at all).
Files modified by kristaps: 2010-05-25 (19:02)
Note: Made index.sgml release notes, mostly cribbed from Ingo's m2k10 report. Added libroff references to index.sgml.
Files modified by kristaps: 2010-05-25 (18:48)
Note: Fix man.7 to include AT and UC in its syntax table.
Files modified by kristaps: 2010-05-25 (18:16)
Note: Added roff.3, which documents the roff parser interface. 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).
Files modified by kristaps: 2010-05-25 (17:46)
Note: Clean-up: added `Nm mdoc' to mdoc.3. Clean-up: new-sentence, new-line for man.3. Clean-up: alpha-ordered man.3 `Nm' sections and prototypes.
Files modified by kristaps: 2010-05-25 (17:38)
Note: Clean-up: new-sentence, new-line for mdoc.3. Clean-up: removed CAVEATS section (this should be either in the TODO file or in mdoc.7 documenting mandoc incompatibilities). Clean-up: alpha-ordered `Nm' and section headers.
Files modified by kristaps: 2010-05-25 (09:42)
Note: Noted areas where performance can be increased.
Files modified by kristaps: 2010-05-25 (08:44)
Note: Smarten BADCHAR check to allow ASCII_HYPH. Fix index.sgml not to puke (the relevant section will be re-written for the release anyway, but I hate seeing errors).
Files modified by kristaps: 2010-05-25 (08:37)
Note: Forgot to add regression tests.
Files modified by kristaps: 2010-05-25 (08:37)
Note: Modified version of Ingo Schwarze's patch for hyphen-breaking. Breakable hyphens are cued in the back-ends (with ASCII_HYPH) and acted upon in term.c or ignored in html.c. Also cleaned up XML decl printing (no need for extra vars).
Files modified by schwarze: 2010-05-24 (19:54)
Note: recognize ".if n" as true; nothing fancy yet, no negation, no grammer, just that one letter; from OpenBSD; "looks fine" kristaps@
Files modified by schwarze: 2010-05-24 (18:25)
Note: provide stubs to ignore .ds, .rm and .tr, which occur in the standard pod2man preamble; from OpenBSD; "sounds good" joerg@, "can be checked in" kristaps@
Files modified by schwarze: 2010-05-24 (17:51)
Note: sync to OpenBSD: save the visual cursor position in term_flushln() and use that to avoid multiple blank lines in nested lists while still putting subsequent empty list tags each on their own line; "go ahead" kristaps@
Files modified by schwarze: 2010-05-24 (17:34)
Note: Handle literal tab characters both in literal context (.Bd -literal) and outside. In literal context, tab stops are at each eigth column; outside, they are at each fifth column. from OpenBSD mdoc_term.c rev. 1.75; "commit" kristaps@
Files modified by schwarze: 2010-05-24 (15:33)
Note: .Bl -tag -compact .Sm off .It ... fixed by joerg@ in mdoc_action.c bsd.lv 1.61, OpenBSD 1.38
Files modified by schwarze: 2010-05-24 (10:35)
Note: fix an obvious typo in print_bvspace(): rev. 1.125 broke vertical spacing in .Bl -column
Files modified by schwarze: 2010-05-24 (09:39)
Note: rewrite the main mdoc text parser, mdoc_ptext(), making it easier to understand and fixing various bugs: * correctly strip whitespace from the end of text lines * issue consistent warnings regarding trailing spaces and tabs * escaped backslashes no longer escape the following character ok kristaps@
Files modified by kristaps: 2010-05-24 (09:36)
Note: Plug second meta.source leak in `UT' handling.
Files modified by kristaps: 2010-05-24 (08:31)
Note: Lifted 64-byte max width for Sh (now BUFSIZ).
Files modified by kristaps: 2010-05-24 (08:22)
Note: Fixed memory leak for `AT' (-man input).
Files modified by kristaps: 2010-05-24 (08:17)
Note: Fix segfault in mixing old enum types for -Thtml -mdoc.
Files modified by schwarze: 2010-05-24 (08:05)
Note: remove unused enum merr; ok joerg@
Files modified by joerg: 2010-05-24 (07:59)
Note: If a .Bl -tag lacks a -width, skip all non-It macros for the implicit calculation. E.g. .Sm can occur as direct child of .Bl. OK schwarze@
Files modified by schwarze: 2010-05-23 (21:41)
Note: fix an obvious oversight introduced in rev. 1.5: MANDOCERR_BODYLOST is not intended to be fatal; required to unbreak the OpenBSD build
Files modified by joerg: 2010-05-22 (16:41)
Note: Fix 1.125: Add missing return in termp_nm_pre.
Files modified by joerg: 2010-05-22 (16:02)
Note: Test .SH with only empty paragraph. Don't test .IP without body.
Files modified by schwarze: 2010-05-18 (16:06)
Note: lines containing blank characters FIXED in OpenBSD, and add one new .Bl -tag issue reported by Joerg
Files modified by kristaps: 2010-05-17 (19:57)
Note: Increase performance by stashing the list type in struct mdoc_node. This will eventually be used so that mdoc_macro can known whether to dump list line arguments into the body (`Bl -column' overflowing). Remove a2list() and arg_listtype() because of this.
Files modified by kristaps: 2010-05-17 (19:50)
Note: Added tech@ mailing list.
Files modified by kristaps: 2010-05-17 (18:11)
Note: Enable the unified error/warning enumeration in mandoc.h that's stringified in main.c. Allow `An' to handle an argument and child (with a warning). Allow `Rv' and `Ex' to work without a prior `Nm' as groff does (with a warning). Allow inconsistent column syntax to only raise a warning.
Files modified by joerg: 2010-05-17 (07:15)
Note: Multiple empty .PPs don't add a vspace either
Files modified by joerg: 2010-05-17 (07:00)
Note: Entry for .AT and .UC
Files modified by joerg: 2010-05-17 (06:50)
Note: Add support for .AT. Properly implement .UC. Add regress tests.
Files modified by joerg: 2010-05-17 (06:43)
Note: Tests for sane and insane handling of lines before and after .SH/.SS
Files modified by joerg: 2010-05-17 (06:26)
Note: groff uses three vspaces before the footer too.
Files modified by kristaps: 2010-05-16 (22:38)
Note: Documented ie/el. Installing roff.7 and added it to index.sgml. Small fix for `D1' and `Bd' in -Thtml.
Files modified by joerg: 2010-05-16 (22:19)
Note: Use a default prefix of /usr/local. Honour DESTDIR for install targets.
Files modified by schwarze: 2010-05-16 (22:03)
Note: The function term_flushln() had effectively forked in OpenBSD. This is the bsd.lv part of the main step to bring it back in sync. At the same time, this prevents trailing whitespace in the output: We delay writing blanks until we are sure printable characters follow. This is achieved by * remembering the end of the word instead of its length * and not using vbl any longer for the control of line breaking * such that vbl can sum up all kinds of white space * before writing a word, printing all the blanks collected in vbl * within the word, adding NBSP chars to vbl, then continuing with the word * after the word, adding blanks to vbl, then starting the next word "looks good" kristaps@
Files modified by kristaps: 2010-05-16 (22:01)
Note: Full support for ie/el. This completes the initial roff support. Added test files for ie/el. Using `if 0' as a baseline for "false" roff instructions instead of `if t'.
Files modified by kristaps: 2010-05-16 (20:46)
Note: Oops: forgot to make roff_cblock() understand the new macros.
Files modified by kristaps: 2010-05-16 (20:37)
Note: libroff now intelligently throws away `am', `ami', `am1', `de', `dei', and `de1'. This is also documented in roff.7.
Files modified by kristaps: 2010-05-16 (20:06)
Note: libroff now is aware of which sub-nodes should be interpreted even in a conditional-negative context so as to preserve structural integrity. Initial "rules" (deny/allow) are now inherited for future work in evaluating conditionals. Lint-fix noted by Joerg. Added regression tests for zany constructs.
Files modified by joerg: 2010-05-16 (18:36)
Note: Add a test case for nesting of .RS/.RE
Files modified by kristaps: 2010-05-16 (18:28)
Note: `ig' support in all its glory. Try .ig ig asdf .ig fdsa .. or .ig if asdf .if n \ foo for a laugh. It all works. Lots of regression tests supporting this and documentation for the same.
Files modified by joerg: 2010-05-16 (16:39)
Note: Add a basic regression test for .Bl -bullet and the various interactions with .Bd.
Files modified by kristaps: 2010-05-16 (15:08)
Note: Regression tests in place for `.if' in libroff. Check against some strange `.if' constructs I missed. Added initial roff.7 manual.
Files modified by joerg: 2010-05-16 (14:10)
Note: Fully skip first and last line for the purpose of cmp.
Files modified by joerg: 2010-05-16 (14:02)
Note: Skip first line when comparing output.
Files modified by kristaps: 2010-05-16 (13:54)
Note: mandoc should be a variable. Consensus is on using a *.in for regression tests (symmetry-broken by Ingo).
Files modified by joerg: 2010-05-16 (13:41)
Note: Remove temp files on success.
Files modified by joerg: 2010-05-16 (13:40)
Note: Add a basic regression testing script.
Files modified by kristaps: 2010-05-16 (10:47)
Note: Re-admit the simple case of `.ig' that works with groff's stranger invocations.
Files modified by kristaps: 2010-05-16 (09:49)
Note: Support for the general case of `if', which will boil out into other constructs: single-level and multi-level blocks; nested, varied-level blocks; recalculating buffer (begin) boundaries pushed correctly into the back-ends, and so on. This will allow, once conditions are turned on, for things like `.ie n .TH FOO 1' then `.el .Dt $Mdocdate$'. Read it and weep.
Files modified by kristaps: 2010-05-16 (06:59)
Note: Allow roff_parseln() to be re-run. Allow roff_parseln() to manipulate the line buffer offset. This is used in situations like `.ie n .TH FOO 1' or `.ie n .ie n', where the line buffer offset is recalculated then the roff parser re-run. Fix mdoc_parseln() and man_parseln() to accept the initial line offset. WARNING: backed-out ALL roff macros whilst accomodating for how roff handles multi-line conditionals (in short, re-running the parser).
Files modified by schwarze: 2010-05-15 (21:35)
Note: sync to OpenBSD: introduce a #define to get rid of the magic number describing the ASCII character used to represent non-breaking space; ok kristaps
Files modified by kristaps: 2010-05-15 (20:04)
Note: Fix allowing silly '\'' control character.
Files modified by kristaps: 2010-05-15 (18:49)
Note: Removed `.' entry from -man hashtable.
Files modified by kristaps: 2010-05-15 (18:44)
Note: Remove `am', `ami', `de', `dei', and `.' from -man, as they're now in the roff preprocessor.
Files modified by kristaps: 2010-05-15 (18:28)
Note: Backed-out warning messages (lots).
Files modified by kristaps: 2010-05-15 (18:22)
Note: The `am', `ami', `de', and holy `dei' are all being properly ignored.
Files modified by kristaps: 2010-05-15 (17:53)
Note: The `ig' now supports `ig end-macro'. Initial warning/error messages in place (still experimental).
Files modified by kristaps: 2010-05-15 (16:51)
Note: Pull `ig' out of -man and leave it the roff preparser.
Files modified by kristaps: 2010-05-15 (14:48)
Note: Magic fix for bogus manuals making -man puke: I don't care if it's magic because roff instructions will be nixed from the underlying systems anyway.
Files modified by kristaps: 2010-05-15 (14:43)
Note: Segfault fix and letting warnings slip through for now.
Files modified by kristaps: 2010-05-15 (14:35)
Note: Add mandoc.h, which will eventually replace compilers' inner enum errors with unified ones. Add initial roff pre-processor shim, a compiler sitting outside of the other compilers that processes pure roff instructions.
Files modified by schwarze: 2010-05-15 (14:10)
Note: non-numeric section headers in -man merged to OpenBSD
Files modified by joerg: 2010-05-15 (13:50)
Note: Mishandling of : in expr(1)
Files modified by kristaps: 2010-05-15 (13:26)
Note: Lint-fix for enum return (ok schwarze@).
Files modified by joerg: 2010-05-15 (13:25)
Note: For .IP groff requires a single space only after the head, adopt.
Files modified by kristaps: 2010-05-15 (12:27)
Note: Fixed memory leak introduced in last checkin of man_action TH parsing (only if TH is called again, which never happens anyway). Fixed my email address in man_action.c and msec.c. Removed superfluous <time.h> inclusion in msec.c.
Files modified by kristaps: 2010-05-15 (12:24)
Note: LIBRARY can also occur in section 9. All manual sections (unknown, 3p, 3f, etc.) correctly handled by -mdoc. Useful warning printed if unknown manual section. Checking for manual sections (e.g., LIBRARY) checks only first character, so 3p, 3f, etc. are free.
Files modified by joerg: 2010-05-15 (12:20)
Note: Reorganise the comment stripping and line merging to be easier to follow and slightly faster.
Files modified by joerg: 2010-05-15 (12:18)
Note: Make the output width an option for ascii_alloc and use that to compute the default margin. Hard-code 80 chars/line for now.
Files modified by kristaps: 2010-05-15 (11:54)
Note: Removed restriction on integer manual sections in -man.
Files modified by joerg: 2010-05-15 (05:46)
Note: Push buffer resizing into its own function. Keep initial allocations the same size as before.
Files modified by schwarze: 2010-05-15 (05:41)
Note: fixed tabs in quoted .Bl -column; and removed right margin from displays
Files modified by schwarze: 2010-05-15 (05:28)
Note: no more info on bugs FIXED in bsd.lv; this info is in old revisions of this file
Files modified by schwarze: 2010-05-15 (04:54)
Note: Distinguish OPEN, MIDDLE and CLOSE delimiters (using an enum). Only OPEN are drawn before the beginning of a macro; this is new, before this, MIDDLE ('|') were drawn in front, too. Only CLOSE are pushed after the end of a macro (as before). ok kristaps@
Files modified by kristaps: 2010-05-15 (03:52)
Note: Initial roff shim skeleton in place.
Files modified by kristaps: 2010-05-15 (03:01)
Note: Documented EOS buffered spaces and added `]'.
Files modified by kristaps: 2010-05-15 (02:48)
Note: More EOS: append_delims() fitted with EOS detection, so ANY macro with appended delimiters will properly EOS. Fixed mandoc_eos() to accept sentence punctuation followed by close-delim buffers.
Files modified by joerg: 2010-05-15 (01:50)
Note: Cleanup indentation after moving the read buffering out of the loop.
Files modified by kristaps: 2010-05-15 (01:11)
Note: "Push down the buffer to where they are used. Handle the stdin/file argument in one function. On top, use either mmap or if that failed reading the whole file into a single buffer." (patches by Joerg Sonnenberger, ed. Kristaps)
Files modified by kristaps: 2010-05-15 (00:47)
Note: More `Bl -column' dancing: It children also inherit in-phrase flags (noted by Ingo Schwarze).
Files modified by kristaps: 2010-05-15 (00:46)
Note: Whacked lastman and lastmdoc (not being used).
Files modified by kristaps: 2010-05-15 (00:30)
Note: Making room for libroff in Makefile: properly split out libmandoc.a.
Files modified by kristaps: 2010-05-14 (14:20)
Note: Added Ingo's TODO file.
Files modified by kristaps: 2010-05-14 (13:59)
Note: "Accumulate errors and warnings in global variables and exit with error if either is not null on exit." (patch by Joerg Sonnenberger)
Files modified by kristaps: 2010-05-14 (13:54)
Note: Remove in-manual-section warnings for Fd and Lb (ok joerg@, schwarze@).
Files modified by kristaps: 2010-05-14 (13:31)
Note: Backed out check for `Ex' manual sec (ok schwarze@, joerg@), in turn backing out check_msec() and deps.
Files modified by kristaps: 2010-05-14 (13:10)
Note: "Add libelf and libterminfo." (patch by Joerg Sonnenberger)
Files modified by kristaps: 2010-05-14 (12:19)
Note: Pulled back in mysterious lost le1 <-> eq0 for Sp macro.
Files modified by kristaps: 2010-05-14 (12:02)
Note: "Warn on unknown argument for .At and print it like [new] groff." (patch by Joerg Sonnenberger, ed. Kristaps) Keep short-log of commits in index.sgml. Document compatibility with new/old groff in mdoc.7.
Files modified by kristaps: 2010-05-14 (11:26)
Note: "Invalid standard argument should be a warning. Just leak it into the output." (patch by Joerg Sonnenberger)
Files modified by kristaps: 2010-05-14 (11:17)
Note: Finish initial documentation of the Bl lists.
Files modified by kristaps: 2010-05-14 (11:02)
Note: Re-addition of cleaned-up list documentation in mdoc.7.
Files modified by kristaps: 2010-05-14 (10:34)
Note: "If the last column wasn't specified, it is auto-sized." (patch by Joerg Sonnenberger)
Files modified by kristaps: 2010-05-14 (10:21)
Note: Added documentation bits.
Files modified by kristaps: 2010-05-14 (10:09)
Note: Block-implicit macros now up-propogate end-of-sentence spacing. NOTE: GROFF IS NOT SMART ENOUGH TO DO THIS.
Files modified by kristaps: 2010-05-14 (09:54)
Note: Fix for Joerg's patch stripping of pre-comment whitespace (by Joerg).
Files modified by kristaps: 2010-05-14 (09:31)
Note: Removed remaining "1 == ppos" invocations.
Files modified by kristaps: 2010-05-14 (08:55)
Note: Proper handling of quoted tab-separated column lists.
Files modified by kristaps: 2010-05-14 (08:31)
Note: Superfluous checkin testing cvs commit mailout (again)...
Files modified by kristaps: 2010-05-14 (08:02)
Note: Superfluous commit just to test commit messages.
Files modified by kristaps: 2010-05-14 (07:54)
Note: Added source mailing list entry.
Files modified by kristaps: 2010-05-13 (07:57)
Note: Documented version bits.
Files modified by kristaps: 2010-05-13 (07:34)
Note: Lint fix.
Files modified by kristaps: 2010-05-13 (02:22)
Note: Fixed bug in -Thtml -mdoc where `Lb' would line-break in LIBRARY section. Fixed assumption that parse-point == 1 equates to beginning of line (false if whitespace separates macro and control character). Fixed line-break for non-first-macro in several SYNOPSIS macros.
Files modified by kristaps: 2010-05-12 (23:51)
Note: Use "=" instead of "?=" for compatibility.
Files modified by kristaps: 2010-05-12 (13:08)
Note: Put the eos-checker into libmandoc.h. Added bits in mdoc.7 and man.7 about EOS spacing.
Files modified by kristaps: 2010-05-12 (12:52)
Note: End-of-sentence, end-of-line.
Files modified by kristaps: 2010-05-12 (12:46)
Note: End-of-sentence spacing for -man -Tascii.
Files modified by kristaps: 2010-05-12 (12:45)
Note: End of sentence, end of line for mdoc.7.
Files modified by kristaps: 2010-05-12 (12:01)
Note: Tiny EOS patch. Back-end cues front-end through flag. Front-end cues output engine with flag.
Files modified by kristaps: 2010-05-12 (04:41)
Note: mdoc_atosec -> mdoc_str2sec (consistent with str2 being different from a2). Changed ordering of sections (EXIT STATUS moved around), argued for by Ulrich Sporlein. Fixed mdoc_str2sec not to use weird structure.
Files modified by kristaps: 2010-05-12 (04:29)
Note: Fix quoting of bar: \*(Ba mapping "|" is dumb, dumb, dumb (thanks groff).
Files modified by kristaps: 2010-05-10 (04:31)
Note: Back out OpenBSD special case (ok Ingo Schwarze).
Files modified by kristaps: 2010-05-10 (04:27)
Note: Proper leading spaces for new- and old-groff in -man -Tascii mode.
Files modified by kristaps: 2010-05-10 (04:05)
Note: -man also now has unbound margins for literal context.
Files modified by kristaps: 2010-05-09 (17:27)
Note: Keeping track of changes...
Files modified by kristaps: 2010-05-09 (17:19)
Note: Remove -fno-ign-chars as well-argued by Ingo Schwarze. Patch by Ingo Schwarze, too.
Files modified by kristaps: 2010-05-09 (17:11)
Note: Noted \*(Ba side effects.
Files modified by kristaps: 2010-05-09 (17:06)
Note: Explicitly account for \*(Ba when checking for delims. Noted by Jason McIntyre via Ingo Schwarze.
Files modified by kristaps: 2010-05-09 (12:38)
Note: Setting maxmargin, too (for completion).
Files modified by kristaps: 2010-05-09 (12:05)
Note: Allow literal contexts to have unbound line lengths (from Ingo Schwarze's mandoc TODO by way of Jason McIntyre).
Files modified by kristaps: 2010-05-09 (11:08)
Note: Fixed ugly formatting of mandoc_char.7 in groff (-column widths were using an escape, which groff understands but mandoc doesn't).
Files modified by kristaps: 2010-05-09 (06:17)
Note: Introduce ARGS_PEND for `It -column' end-of-line special casing. Initial rules for insane `It -column' tabsep handling.
Files modified by kristaps: 2010-05-09 (02:50)
Note: Backing out activitymail (broken).
Files modified by kristaps: 2010-05-09 (02:44)
Note: This is just a test of the source changes mailer.
Files modified by kristaps: 2010-05-09 (02:39)
Note: Noting that list subscription is moderated.
Files modified by kristaps: 2010-05-09 (02:27)
Note: Getting version ready.
Files modified by kristaps: 2010-05-09 (02:18)
Note: Cleaned up index, added GSoC projects.
Files modified by kristaps: 2010-05-08 (18:29)
Note: Another mailing list...
Files modified by kristaps: 2010-05-08 (18:26)
Note: Adding initial mailing list section to homepage.
Files modified by kristaps: 2010-05-08 (06:28)
Note: Note that whitespace is really only the space character.
Files modified by kristaps: 2010-05-08 (06:25)
Note: Fix asserts on stripping end-of-line whitespace.
Files modified by kristaps: 2010-05-08 (05:23)
Note: Second test of log_accum.
Files modified by kristaps: 2010-05-08 (05:22)
Note: Test of log_accum.
Files modified by kristaps: 2010-05-08 (04:36)
Note: Strip trailing, unescaped whitespace from free-form, non-literal lines (like groff).
Files modified by kristaps: 2010-05-08 (03:30)
Note: Lint fixes (type-safety for enums via -cefuh).
Files modified by kristaps: 2010-05-07 (11:49)
Note: De-chunking of text removed from parsers. This is a significant change (and I don't really like it), but it's what groff does. Distinction of ARGS_PHRASE and ARGS_PPHRASE in backend (not yet used).
Files modified by kristaps: 2010-05-07 (02:05)
Note: Initial ARGS_PPHRASE (partial phrase) framework. Running tally of changes in index.sgml.
Files modified by kristaps: 2010-05-07 (01:54)
Note: enum-ised mdoc_argv() return (better return-value safety).
Files modified by kristaps: 2010-05-07 (01:48)
Note: margerr -> margserr (getting ready for margverr).
Files modified by kristaps: 2010-05-07 (01:39)
Note: Protection against running lookup() against quoted words.
Files modified by kristaps: 2010-05-07 (01:34)
Note: Wrangle mdoc_args() and mdoc_zargs() to use enum return type. Fixed lookup() and lookup_raw() to correctly use enum type. Quashed in_line_argn() bug (not reported, but there) where mixing return values.
Files modified by kristaps: 2010-05-07 (00:50)
Note: Backed out break-at-hyphen changes.
Files modified by kristaps: 2010-04-13 (01:26)
Note: As per Jason McIntyre's heartful urgings, do away with '.' separators between logical sections. Change email address to BSD.lv one (this is not an academic project...)
Files modified by kristaps: 2010-04-12 (15:45)
Note: Fix to auto-closing of LINK tag in -Txhtml (thanks to Daniel Friesel).
Files modified by kristaps: 2010-04-12 (15:27)
Note: Merge patch by Jason McIntyre cleaning on mandoc.1: `Ar' -> `Cm' and other readability fixes. Merge modified patch by Joerg Sonnenberger that rewinds to whitespace when encountering trailing line-comments.
Files modified by kristaps: 2010-04-08 (04:17)
Note: Fixed %T: it now correctly underlines, instead of quoting (noted by Jason McIntyre and posted on Ingo Schwarze' mandoc-todo list).
Files modified by kristaps: 2010-04-08 (03:53)
Note: Sync'd mdoc.c's function names with man.c. Prompted by Ingo and Claus Assman, added warn/ignore for text lines beginning with `\."'.
Files modified by kristaps: 2010-04-08 (03:40)
Note: Merged Jason McIntyre's "new-sentence, new-line" patch along with Ingo Schwarze' "gt" patch.
Files modified by kristaps: 2010-04-08 (03:18)
Note: Added some standards found in NetBSD's manuals.
Files modified by kristaps: 2010-04-08 (03:06)
Note: Properly checked in Ingo Schwarze' prologue/body-breaking patch, which I'd munged.
Files modified by kristaps: 2010-04-08 (03:05)
Note: Removed pipe from front-end ("typographic") recognition as punctuation (noted by Ingo Schwarze).
Files modified by kristaps: 2010-04-07 (15:37)
Note: Added some clarifying bits to mdoc.7 regarding GNU troff, mandoc, and Heirloom troff. Bits on Heirloom troff suggested from private communication with Gunnar Ritter (maintainer of Heirloom troff) (Heirloom uses BSD-4.4 mdoc files, from which historic groff -mdoc descends).
Files modified by kristaps: 2010-04-07 (15:35)
Note: Removed manual-section-calling restrictions for `Cd' and and `Ex' (requested by Joerg Sonnenberger).
Files modified by kristaps: 2010-04-07 (14:50)
Note: Allowing `Cd' to be in section 9 (noted by Joerg Sonnenberger).
Files modified by kristaps: 2010-04-07 (07:40)
Note: Slipping in adjusted version note in on-line report.
Files modified by kristaps: 2010-04-07 (07:29)
Note: Lint fix.
Files modified by kristaps: 2010-04-07 (07:25)
Note: Noting version.
Files modified by kristaps: 2010-04-07 (07:25)
Note: Add support/ignoring of \f(xy, \f[X...], \F(xy, \FX, \F[X...] roff-style font escapes (noted by Frantisek Holop).
Files modified by kristaps: 2010-04-07 (04:17)
Note: Breaking mdoc.7's multiline examples into sets of D1. A few errors found here and there.
Files modified by kristaps: 2010-04-07 (03:49)
Note: Bug in printing of reserved words with form \*[xxx] fixed (found by Joerg Sonnenberger).
Files modified by kristaps: 2010-04-06 (13:01)
Note: Removed warning for `Er' when not used in certain sections (pointed out by Joerg Sonnenberger).
Files modified by kristaps: 2010-04-06 (12:27)
Note: Allow `Bd' to accept (warn about then ignore) in-line arguments.
Files modified by kristaps: 2010-04-06 (07:52)
Note: Cleaned up post_bl_head() and fixed erroneous reporting of child nodes.
Files modified by kristaps: 2010-04-06 (07:52)
Note: Shortlist of changes checked in for this version.
Files modified by kristaps: 2010-04-06 (07:51)
Note: Prettyfied the stylesheet for mdocml.bsd.lv's online manuals.
Files modified by kristaps: 2010-04-06 (07:33)
Note: Migrating mdoc_node_free() and mdoc_node_freelist() to use mdoc_node_delete(), which has a more intuitive interface and mirrors libman.
Files modified by kristaps: 2010-04-06 (07:28)
Note: Let `Bl' accept arguments on the head line with a warning (these are ignored in the front-end device) (noted by Theo de Raadt).
Files modified by kristaps: 2010-04-06 (07:19)
Note: Note on `Fl' documented in mdoc.7.
Files modified by kristaps: 2010-04-06 (03:27)
Note: `Fl' now correctly suppresses the trailing space if followed by macros on the same line.
Files modified by kristaps: 2010-04-06 (03:17)
Note: Fix mdoc bug found by Claus Assmann: `Pf' should be callable.
Files modified by kristaps: 2010-04-05 (06:33)
Note: Make mathematical symbols have a longer first-column width (pointed out by Joerg Sonnenberger).
Files modified by kristaps: 2010-04-05 (05:19)
Note: Added mandoc_char.7 to installed manuals (noted by Joerg Sonnenberger).
Files modified by kristaps: 2010-04-05 (05:03)
Note: Fix issue of non-NAME sections triggering "no sections" error, reported by Christian Weisgerber, patched by Ingo Schwarze.
Files modified by kristaps: 2010-04-05 (04:59)
Note: Commited relaxation of title-less document error-out noted by Christian Weisgerber and patched by Ingo Schwarze.
Files modified by kristaps: 2010-04-05 (04:51)
Note: Fix in `Mt' mailto from a patch by Tim van der Molen. Fixed PAIR_xxx_INIT macros -- this are to be unified. Have `Vt', `Fn', `Ft', and `Fo' print whitespace afterward, instead of before.
Files modified by kristaps: 2010-04-05 (04:45)
Note: Enum-ised REWIND return values.
Files modified by kristaps: 2010-04-05 (04:38)
Note: Tentative fix of quoted punctuation issue noted by Jason McIntyre, e.g., `Li "!"' rendering the "!" outside of scope.
Files modified by kristaps: 2010-04-05 (03:25)
Note: Removed lingering `Sp' reference (not -man).
Files modified by kristaps: 2010-04-05 (03:24)
Note: Added generation of mdoc.h.html and man.h.html as linked from generated mdoc.3.html and man.3.html, respectively.
Files modified by kristaps: 2010-04-03 (10:25)
Note: Merged patch by Ingo Schwarze allowing `Xr' to pass through with no arguments (emits warning of course).
Files modified by kristaps: 2010-04-03 (10:12)
Note: Modified version of Ingo Schwarze's patch so that -man doesn't puke when a TH isn't specified.
Files modified by kristaps: 2010-04-03 (10:02)
Note: Merged Ingo Schwarze's patch (plus documentation) for removing extraneous list types, which happens fairly often.
Files modified by kristaps: 2010-04-03 (09:02)
Note: Merging patch by Ingo Schwarze.
Files modified by kristaps: 2010-04-03 (08:46)
Note: Removed erroneous `{' and `}' as punctuation (see mdoc.samples "General Syntax" for why this mistake was made). Noted by Ingo Schwarze. Lines of text now break at a hyphen, unless the hyphen is the first or second subsequent in a word. Inspired by a Ingo Schwarze's patch.
Files modified by kristaps: 2010-03-31 (04:42)
Note: Added new version information. Fixing up Makefile a bit.
Files modified by kristaps: 2010-03-31 (04:04)
Note: Fixed fatal bug in Xo/Xc patch that caused segfaults with last-child explicit-scope macros.
Files modified by kristaps: 2010-03-31 (03:42)
Note: Re-adjusting UGLY tags. Fixed removed assignment of type. Removed superfluous checks of mdoc_argflags (from days when comments were a macro tag).
Files modified by kristaps: 2010-03-31 (03:13)
Note: Macro types enum-ated (enum mdoct) (for easier debugging in gdb of "tok" values). Initial check-in of Ingo Schwarze's patch for Xo/Xc handling (in blocks ifdef'd "UGLY"). Put Oc-close-Op parts into UGLY ifdef blocks.
Files modified by kristaps: 2010-03-31 (02:37)
Note: Whitespace fix.
Files modified by kristaps: 2010-03-31 (02:29)
Note: Version (bug-fix).
Files modified by kristaps: 2010-03-30 (15:20)
Note: Escape TH -> Th (noticed by Joerg Sonnenberger). Moved pod2man escapes into man.3 (they're not part of -man or -mdoc, technically).
Files modified by kristaps: 2010-03-30 (04:24)
Note: Modified in_line_eoln() to handle leading punctuation.
Files modified by kristaps: 2010-03-30 (02:52)
Note: Last remaining bits for leading-punctuation in blk_exp().
Files modified by kristaps: 2010-03-29 (15:45)
Note: Fixed segfault with accidentally-munged tree.
Files modified by kristaps: 2010-03-29 (15:28)
Note: Integrate Ingo Schwarze's patch for mdoc_iscdelim() (tri-state for opening and closing macro punctuation). Modify blk_part_exp() to correctly handle leading punctuation before HEAD. Significantly clean up and document blk_part_exp(). Modify blk_part_imp() for to correctly handle leading punctuation before HEAD. Significantly clean up and document blk_part_imp(). Integrate Ingo Schwarze's patch for args() (using new mdoc_iscdelim() format). Documented bad `Ec' handling for later work in mdoc_term.c/mdoc_html.c.
Files modified by kristaps: 2010-03-29 (06:10)
Note: Final (?) fix to issue pointed out by Sascha Wildner: roff instructions clobbering prior scope rules and line modes.
Files modified by kristaps: 2010-03-29 (00:52)
Note: Initial step in fixing badness reported by Sascha Wildner (wip).
Files modified by kristaps: 2010-03-27 (10:44)
Note: Fix mandoc.1 ending (noted by Sascha Wildner).
Files modified by kristaps: 2010-03-27 (06:26)
Note: Last fix for tabs/spaces between control character and macro. egcs gcc.1 is now handled.
Files modified by kristaps: 2010-03-27 (06:22)
Note: ...finishing last commit message: accept both tabs and spaces between control character and macro text.
Files modified by kristaps: 2010-03-27 (06:21)
Note: [no log message]
Files modified by kristaps: 2010-03-27 (06:13)
Note: Lint fixes.
Files modified by kristaps: 2010-03-27 (06:10)
Note: Documentation of apostrophe control character.
Files modified by kristaps: 2010-03-27 (06:04)
Note: Fixed re-adjustment of scope in exiting roff instructions (libman). Added title-case check for (libman). Fixed premature closure of roff instruction scope (libman). Added documentation of ignored roff macros to man(3).
Files modified by kristaps: 2010-03-26 (03:07)
Note: Fixed misspelt "Loongson" (noted by Ingo Schwarze).
Files modified by kristaps: 2010-03-25 (03:39)
Note: Lint fixes.
Files modified by kristaps: 2010-03-25 (03:38)
Note: Cleaned up version info.
Files modified by kristaps: 2010-03-25 (03:28)
Note: Fixed up some documentation in man.7: only documenting man.7 macros, not related ones (de, Vb, etc.), which aren't technically man. It's an open question as to where these /should/ be documented, however.
Files modified by kristaps: 2010-03-24 (16:10)
Note: Using man_node_delete() instead of man_node_free()/man_node_freelist() and friends (much simpler). Split blk_imp() into blk_exp() (explicit macros), blk_dotted() (roff macros), and the original. Added de, dei, am, ami, and ig roff macros (for now, these are discarded within the parse).
Files modified by kristaps: 2010-03-23 (23:46)
Note: enum-ised rew_* return values (type-safety). Removed ignoring of MAN_Vb argument (symmetry). Removed superfluous utsname inclusion.
Files modified by kristaps: 2010-03-23 (17:50)
Note: libman using enum mant instead of #defines for macros. Clean-ups, better documentation in man_hash.c. Added extra space for "." in man_hash.c (unused for the time being).
Files modified by kristaps: 2010-03-23 (09:53)
Note: Noted recent updates.
Files modified by kristaps: 2010-03-23 (09:25)
Note: Added stupid pod2man reserved strings.
Files modified by kristaps: 2010-03-23 (08:42)
Note: Fixed two very subtle bugs in retaining overstep and maxrmargin widths between parse sequences.
Files modified by kristaps: 2010-03-23 (07:30)
Note: Support for pod2man standard header macros (Vb, Ve, Sp). Based largely on a set of patches by Ingo Schwarze.
Files modified by kristaps: 2010-03-22 (17:05)
Note: Removed STANDARDS in mandoc_char(7), as they're no longer relevant (the manual deals with input characters, not output formats).
Files modified by kristaps: 2010-03-22 (16:43)
Note: Have -Tlint imply -Wall and -fstrict. Based on a patch submitted by Ingo Schwarze.
Files modified by kristaps: 2010-03-22 (14:30)
Note: Updated web-site with new version. Allowed double-rule entries in Makefile (clean-up).
Files modified by kristaps: 2010-03-22 (10:03)
Note: Clarify -man -T[x]html handling of `br' within `B'. Consolidated node unlinking in -man. Conclude nested next-line scope issues noted by Ingo Schwarze.
Files modified by kristaps: 2010-03-22 (01:59)
Note: Accomodate (libman) for next-line macros followed by non-text macros `na', `sp', and `br'. Based on a patch by Ingo Schwarze.
Files modified by kristaps: 2010-03-21 (14:16)
Note: Added Longsoon architecture (thanks Jason McIntyre, Ingo Schwarze).
Files modified by kristaps: 2010-02-17 (14:56)
Note: Added news item for new version. Version: 1.9.15.
Files modified by kristaps: 2010-02-17 (14:48)
Note: Fixed printing of XHTML DOCTYPE "html" vs. "HTML".
Files modified by kristaps: 2010-02-17 (14:31)
Note: Updated index with new address bits and such.
Files modified by kristaps: 2010-02-17 (14:28)
Note: Made `Xr' compatible with groff calling conventions where arguments following the trailing section are implicitly `Ns'd. Based on a patch submitted by Ingo Schwarze.
Files modified by kristaps: 2010-02-17 (14:22)
Note: Macro documentation for `Xr'. Re-added macros following `Vt' (lost somehow?). Removed `Xr' <3 stipulations.
Files modified by kristaps: 2010-02-17 (14:22)
Note: Removed offsets from most parts (no reason for indentation). Using POSIX2008 idioms for examples (thanks Joerg Sonnenberger). Removed references to fgetln().
Files modified by kristaps: 2010-01-30 (03:55)
Note: Added `Vt' double-type documentation.
Files modified by kristaps: 2010-01-30 (03:42)
Note: Fix in handling Vt in SYNOPSIS with trailing punctuation. Spotted by Joerg Sonnenberger.
Files modified by kristaps: 2010-01-30 (01:55)
Note: Mandate html attributes for xhtml.
Files modified by kristaps: 2010-01-29 (09:39)
Note: Fixed Makefile for `make lint' dep. on config.h Added -Txhtml for XHTML output (minimal increase to programme logic). Because groff has it and it bothers me that we don't.
Files modified by kristaps: 2010-01-28 (01:04)
Note: Removed superfluous lookahead block in chars.c.
Files modified by kristaps: 2010-01-07 (14:10)
Note: Fix white-space issues found by mandoc's better white-space finder. Fixed bogus `\\' escapes in some manuals.
Files modified by kristaps: 2010-01-07 (05:24)
Note: Check for white-space at the end of free-form text. Lack of check spotted by Jason McIntyre.
Files modified by kristaps: 2010-01-07 (05:05)
Note: Check for white-space at end of stand-alone macro line.
Files modified by kristaps: 2010-01-07 (04:16)
Note: mandoc_char(7) sync with OpenBSD version.
Files modified by kristaps: 2010-01-05 (14:51)
Note: Removed references to `\\' escape (noted by Jason McIntyre, Ingo Schwarze).
Files modified by kristaps: 2010-01-05 (14:47)
Note: Fixed -column widths to be string literals (as per mdoc.samples: surprise!). (Jason McIntyre, Ingo Schwarze) Remove trailing whitespace. (Jason McIntyre, Ingo Schwarze). Remove reference to `\\', which is a groff strangeism. (Jason McIntyre, Ingo Schwarze).
Files modified by kristaps: 2010-01-01 (14:22)
Note: Version (pre): 1.9.15-pre2
Files modified by kristaps: 2010-01-01 (13:33)
Note: Fix of subtle, but significant, resetting of tags when in list mode. Pointed out by Ingo Schwarze.
Files modified by kristaps: 2010-01-01 (13:01)
Note: More in-code documentation and clarity re-arrangements.
Files modified by kristaps: 2010-01-01 (12:25)
Note: CFLAGS need -Werror to make the strlcpy/strlcat check work.
Files modified by kristaps: 2010-01-01 (12:14)
Note: Big check-in of compatibility layer. This should work on most major architectures. Thanks to Joerg Sonnenberger.
Files modified by kristaps: 2010-01-01 (11:52)
Note: Noted non-accepted comment syntax (thanks Joerg Sonnenberger).
Files modified by kristaps: 2010-01-01 (11:27)
Note: Issue of `Pa' put to rest by Jason McIntyre. Noted in COMPATIBILITY.
Files modified by kristaps: 2010-01-01 (10:14)
Note: `Bl' lets `Sm' slip by as a child. Noted by Ingo Schwarze.
Files modified by kristaps: 2010-01-01 (09:32)
Note: Correct handling of arbitrary column lengths, which groff handles differently depending on number of visible columns.
Files modified by kristaps: 2010-01-01 (09:27)
Note: Cleaned-up column handling to be char-compatible with groff (thanks Ingo Schwarze). Fixed assertion in exceeded rmargin by ridiculous columns.
Files modified by kristaps: 2010-01-01 (08:35)
Note: Documented `Fl' in mdoc.7. Backed out stipulation that `Fl ""' is ignored: this is not the case in !OpenBSD groffs.
Files modified by kristaps: 2010-01-01 (08:17)
Note: `Fl' has each argument be in a separate scope (thanks Ingo Schwarze). Situation of `Fl [arg]* "" [arg]*' is fixed: empty arguments are ignored. Note that OpenBSD crashes when this happens. Situation of `Fl' is fixed wrt trailing whitespace.
Files modified by kristaps: 2009-12-02 (05:16)
Note: Fixed handling of exampledir (pointed out by Ulrich Sporlein, forgotten, discovered again).
Files modified by kristaps: 2009-11-16 (05:05)
Note: Version: 1.9.14.
Files modified by kristaps: 2009-11-16 (04:52)
Note: More clarification in manuals. Added per-OUTPUT section in mandoc.1.
Files modified by kristaps: 2009-11-16 (03:46)
Note: Enabled -Thtml -mdoc to work with \f (see compat notes in mandoc.1).
Files modified by kristaps: 2009-11-16 (01:07)
Note: Abstraction of -Thtml -man font setting (still experimental).
Files modified by kristaps: 2009-11-15 (01:53)
Note: Fixed -Thtml -man PP left- and top-margin.
Files modified by kristaps: 2009-11-15 (01:45)
Note: \f escapes appear to work properly for -Thtml -man. Needs more testing.
Files modified by kristaps: 2009-11-14 (14:23)
Note: Initial check-in of -man -Thtml \f support (needs testing).
Files modified by kristaps: 2009-11-14 (07:04)
Note: Removed superfluous HTML_NEWLINE.
Files modified by kristaps: 2009-11-14 (07:00)
Note: Fix of fix of -Thtml nospace.
Files modified by kristaps: 2009-11-14 (06:58)
Note: Fixed \c handling in -Thtml.
Files modified by kristaps: 2009-11-12 (03:21)
Note: Fixed \c support for all input and output modes (documented in mandoc_char.7).
Files modified by kristaps: 2009-11-12 (03:00)
Note: Deprecated ".i <notext>" support (nobody uses it -- it can be re-added, but adds a bit of complexity that I'd rather avoid).
Files modified by kristaps: 2009-11-12 (00:58)
Note: FreeBSD sys/types inclusion fixed.
Files modified by kristaps: 2009-11-12 (00:50)
Note: Basically re-wrote -Tascii font handling: instead of incrementers for bold and underline, we use a stack (no cascading, no double-font-mode). Font modes with \f only affect the current stack point, as documented in mdoc.7 and man.7. While -mdoc stacks fonts with embedded macros, -man replaces them (the stack is always size 1). This works for all invocations in supported systems' manual corpora to date. It doesn't support groff's insanity with line-scoped \f as documented in mdoc.7.
Files modified by kristaps: 2009-11-12 (00:02)
Note: Removed superfluous monospace note in example.style.css (they're all monospace).
Files modified by kristaps: 2009-11-11 (15:16)
Note: Protected example.style.css from cascading styles.
Files modified by kristaps: 2009-11-10 (11:32)
Note: Lint fixes in function call.
Files modified by kristaps: 2009-11-10 (11:20)
Note: (Forgot to update html.h with metafonts. Build will puke on check-out.)
Files modified by kristaps: 2009-11-10 (07:03)
Note: Noted that -man text decoration is re-set when exiting a macro invocation.
Files modified by kristaps: 2009-11-10 (06:45)
Note: Disable metafonts when printing document footer.
Files modified by kristaps: 2009-11-09 (00:11)
Note: Documented \s and cleaned up \f documentation in mdoc.7, man.7. -Thtml now using a2roffdeco().
Files modified by kristaps: 2009-11-08 (04:23)
Note: a2roffdeco() now supports \s escapes.
Files modified by kristaps: 2009-11-07 (09:14)
Note: Hooked up -Tascii to a2roffdeco backend.
Files modified by kristaps: 2009-11-07 (03:26)
Note: Initial abstraction of front-end decoration events (special characters, text decorations, etc.).
Files modified by kristaps: 2009-11-06 (05:31)
Note: -Tascii now correctly ignores \s clauses.
Files modified by kristaps: 2009-11-05 (05:16)
Note: Documented that `\s' and `\f' don't work in HTML mode (and why). Added support for recognising the many forms of `\s' (doesn't yet render).
Files modified by kristaps: 2009-11-05 (03:40)
Note: Correct support for `\fX' font modes in -Tascii.
Files modified by kristaps: 2009-11-05 (03:39)
Note: Consolidated `RI' and `IR' handlers (-man -Tascii).
Files modified by kristaps: 2009-11-05 (03:37)
Note: Fixed `RI' (was reversed).
Files modified by kristaps: 2009-11-05 (02:21)
Note: Added functionality of -Tascii non-breaking `\~' space.
Files modified by kristaps: 2009-11-04 (03:07)
Note: (Fix again for default `Bf Li' font.)
Files modified by kristaps: 2009-11-04 (03:07)
Note: Fixed `Bf Li' default style (monospace).
Files modified by kristaps: 2009-11-02 (12:37)
Note: Version: 1.9.13.
Files modified by kristaps: 2009-11-02 (12:07)
Note: Examples not being link-referenced (consistency).
Files modified by kristaps: 2009-11-02 (06:39)
Note: Copied over and modified manual structure from man.7.
Files modified by kristaps: 2009-11-02 (04:56)
Note: Fixed `Sx' links in man.7 (todo: add a check for these).
Files modified by kristaps: 2009-11-02 (04:53)
Note: Significant improvements to man(7). More or less finished.
Files modified by kristaps: 2009-11-02 (03:40)
Note: Fix in junking dot lines in -man (from PR by Alex Kozlov).
Files modified by kristaps: 2009-11-02 (03:29)
Note: Added forgotten newline terminators in main.c.
Files modified by kristaps: 2009-11-02 (03:13)
Note: Added lint to __attribute__ defines.
Files modified by kristaps: 2009-11-02 (03:08)
Note: Using straight-up __attribute__ (inspired by portable openssh).
Files modified by kristaps: 2009-11-02 (01:22)
Note: Added mandoc_a2time() for proper date conversion. Fitted TH and Dd handlers to use mandoc_a2time(). Documented date syntax for -man, fixed documentation for -mdoc.
Files modified by kristaps: 2009-11-01 (10:34)
Note: Lint fix.
Files modified by kristaps: 2009-11-01 (10:34)
Note: Using putchar for single-character prints (noted by Joerg Sonnenberger).
Files modified by kristaps: 2009-11-01 (03:15)
Note: print_encode() using strcspn instead of looping/putchar() (noted by Joerg Sonnenberger).
Files modified by kristaps: 2009-11-01 (02:44)
Note: Replaced putchar() loop with fwrite() (noted by Joerg Sonnenberger).
Files modified by kristaps: 2009-11-01 (02:34)
Note: More libraries entered into lib.in (thanks Joerg Sonnenberger).
Files modified by kristaps: 2009-10-31 (04:37)
Note: Finished section-by-section definitions in man.7 (will be used as baseline for mdoc.7).
Files modified by kristaps: 2009-10-31 (04:34)
Note: Fixed -Thtml printing of -ohang lists (-mdoc). Fixed validation of -ohang lists as having no widths.
Files modified by kristaps: 2009-10-31 (02:50)
Note: Patch on DragonFly BSD syntax (thanks Sascha Wildner). Noted inclusion into DragonFly BSD (thanks Sascha Wildner).
Files modified by kristaps: 2009-10-31 (02:38)
Note: Fixed in make dist (in version 1.9.12).
Files modified by kristaps: 2009-10-31 (02:23)
Note: Version: 1.9.12.
Files modified by kristaps: 2009-10-31 (02:17)
Note: Removed non-portable __progname (thanks Joerg Sonnenberger).
Files modified by kristaps: 2009-10-31 (02:10)
Note: Using perror() instead of fprintf for failure from library functions.
Files modified by kristaps: 2009-10-30 (14:53)
Note: More lint fixes. Removed err.h from inclusions (less main.c--still in progress).
Files modified by kristaps: 2009-10-30 (14:50)
Note: Lint fixes. Made realloc puke with fprintf.
Files modified by kristaps: 2009-10-30 (14:43)
Note: Continued safe handling of allocations.
Files modified by kristaps: 2009-10-30 (01:58)
Note: libmdoc and libman now using non-recoverable allocations (simpler code).
Files modified by kristaps: 2009-10-30 (00:57)
Note: Added newline after block-level closing tags (suggested by Joerg Sonnenberger).
Files modified by kristaps: 2009-10-29 (00:34)
Note: Clean-ups in mdoc_action (using libmandoc.h functions).
Files modified by kristaps: 2009-10-28 (15:21)
Note: Slow movement of internal allocations to fail completely.
Files modified by kristaps: 2009-10-28 (04:08)
Note: Using "--warn" for validate, plus some accessibility fixes.
Files modified by kristaps: 2009-10-28 (04:00)
Note: Fixed `sp', `br', `Pp', etc. so as not to have an empty div (-Thtml, -man, -mdoc). Made html_idcat be completely correct (messy standard) (-Thtml). Fixed warnings about -ohang and -item lists (-Thtml, -mdoc). Fixed typo in index.sgml.
Files modified by kristaps: 2009-10-28 (02:54)
Note: Removed superfluous memset (thanks Joerg Sonnenberger).
Files modified by kristaps: 2009-10-28 (01:08)
Note: Fixed un-reset buffer in `.In', -Thtml, -mdoc. Added html_id[cat,cpy] for transforming id's into well-formed attribute strings (no %s, etc.).
Files modified by kristaps: 2009-10-27 (04:49)
Note: Removed dynamic allocations of header/footer data.
Files modified by kristaps: 2009-10-27 (04:26)
Note: bzero() -> memset() (noted by Joerg Sonnenberger).
Files modified by kristaps: 2009-10-27 (04:05)
Note: Merged Ingo's comments on term_flushln() variable names. Fixed assertion (this needs more consideration) when an overstep line is exactly as long as the rmargin.
Files modified by kristaps: 2009-10-27 (00:50)
Note: Added "summary" tag to tables in order to silence HTML-tidy's complaints.
Files modified by kristaps: 2009-10-26 (13:05)
Note: Added time.h to various files for FreeBSD compilation (thanks Ulrich Sporlein).
Files modified by kristaps: 2009-10-26 (11:44)
Note: Merged patch to allow -fign-escape (thanks Joerg Sonnenberger).
Files modified by kristaps: 2009-10-26 (06:36)
Note: Fix to segfault in ordering Rs blocks (d'oh!). Version: 1.9.11.
Files modified by kristaps: 2009-10-26 (05:06)
Note: Lint fix.
Files modified by kristaps: 2009-10-26 (05:00)
Note: Version: 1.9.10.
Files modified by kristaps: 2009-10-26 (04:42)
Note: Allowed -O to be invoked multiple times.
Files modified by kristaps: 2009-10-26 (04:18)
Note: Portability: replaced queue macros in html.c (Joerg Sonnenberger). Fixed "-o" residue. Added "-O" to usage() (-o didn't appear there either).
Files modified by kristaps: 2009-10-26 (03:18)
Note: Fixed overstep patch.
Files modified by kristaps: 2009-10-26 (03:11)
Note: -man also prints unknown macro (noted by Joerg Sonnenberger).
Files modified by kristaps: 2009-10-26 (00:15)
Note: Changed `-o' to `-O' for clarity. THIS BREAKS UTILITIES DEPENDING ON -o!
Files modified by kristaps: 2009-10-26 (00:09)
Note: Full `%U' support. `Lk' display fixed. Renamed arg2xxxx as a2xxxx for consistency. Renamed print_foot to print_man_foot for consistency. Removed default printing of `~' when `Lk' not provided (not sure where I got that from).
Files modified by kristaps: 2009-10-24 (02:19)
Note: Removed need for superfluous `os' value in overstep calculation (thanks Ingo Schwarze).
Files modified by kristaps: 2009-10-24 (01:52)
Note: Added `%U' to -mdoc (doesn't render in a nice way yet).
Files modified by kristaps: 2009-10-24 (01:45)
Note: Added `PD' to -man (doesn't do anything, yet).
Files modified by kristaps: 2009-10-22 (14:59)
Note: Linuxisms.
Files modified by kristaps: 2009-10-22 (14:55)
Note: Fixed maddening mismatch between groff and strftime mismatch of day ("%e"). Noted by Ulrich Sporlein.
Files modified by kristaps: 2009-10-22 (14:19)
Note: Fixed order of printing backspace-encoding for terms that are both bold and underlined (noted by Joerg Sonnenberger).
Files modified by kristaps: 2009-10-22 (13:54)
Note: Added ability to set OS name at compile-time with -DOSNAME="\"foo\"".
Files modified by kristaps: 2009-10-22 (06:36)
Note: Typo in mdoc.7 fixed (thanks to Joerg Sonnenberger).
Files modified by kristaps: 2009-10-22 (06:35)
Note: Fix adding -centred to `Bd' types (thanks to Joerg Sonnenberger).
Files modified by kristaps: 2009-10-22 (06:33)
Note: Groff-compatibility fix (Ds) (noted by Joerg Sonnenberger).
Files modified by kristaps: 2009-10-21 (23:35)
Note: Noted downstream in NetBSD base. Many thanks to Joerg et al. for their efforts in getting it checked in!
Files modified by kristaps: 2009-10-20 (23:31)
Note: Fixed strftime stray %d -> %e (pointed out by Ulrich Sporlein).
Files modified by kristaps: 2009-10-20 (14:31)
Note: Temporarily turned off validation (mandoc -Thtml needs URI encoding!). Aesthetic fixes in index.sgml.
Files modified by kristaps: 2009-10-20 (14:20)
Note: Version: 1.9.9.
Files modified by kristaps: 2009-10-20 (14:14)
Note: Added cvsweb. Whee!
Files modified by kristaps: 2009-10-20 (01:45)
Note: More updates to mdoc.7.
Files modified by kristaps: 2009-10-19 (11:18)
Note: More fixes to scaling-width multipliers (which, just to make my life difficult, differ not only between -mdoc and -man, but between various invocation, e.g., -offset and -width).
Files modified by kristaps: 2009-10-19 (07:02)
Note: Continued work on mdoc.7. Noted buffer overwrite bug in -Thtml -mdoc (will fix later).
Files modified by kristaps: 2009-10-19 (06:18)
Note: Fixed -mdoc -Thtml with -item lists not to default-indent when width isn't specified. Many more cleanups to mdoc.7 (ongoing completion and documentation of all macros).
Files modified by kristaps: 2009-10-19 (05:40)
Note: Fixed `-file' argument to `Bd', which is NOT a type, but instead just an argument.
Files modified by kristaps: 2009-10-19 (03:44)
Note: Made man.7 use lots of Sx/Ss to link between macro definitions and references.
Files modified by kristaps: 2009-10-19 (03:34)
Note: Beginning of mdoc.7 full-reference in place.
Files modified by kristaps: 2009-10-18 (15:17)
Note: Lint fixes.
Files modified by kristaps: 2009-10-18 (15:03)
Note: Made sure devices and formats recognise that -man and -mdoc have different syntax for scaling widths: -mdoc assumes no unit means that the value is a string literal while -man instead uses the default vertical/horizontal scale.
Files modified by kristaps: 2009-10-18 (15:02)
Note: Had out.h roff-scale converters accept default unit scale (because -mdoc and -man differ).
Files modified by kristaps: 2009-10-18 (15:01)
Note: Fix in syntax of scaling widths in mdoc.7.
Files modified by kristaps: 2009-10-18 (15:00)
Note: Properly documented scaling widths in man.7.
Files modified by kristaps: 2009-10-18 (09:58)
Note: Fixed typo in Makefile. Added initial scaling-units section in mdoc.7.
Files modified by kristaps: 2009-10-18 (09:34)
Note: Arbitrary horizontal and vertical scaling widths now handled by -mdoc -Tascii. Terminal scaling backend pushed into term.c.
Files modified by kristaps: 2009-10-18 (09:26)
Note: Removed restrictions on `sp' (maybe a warning, someday, but for now be simple).
Files modified by kristaps: 2009-10-18 (07:52)
Note: Fitted -man -Tascii with scaling units (.5i, etc.).
Files modified by kristaps: 2009-10-18 (07:36)
Note: Removed number-check for `sp' in -Tman, as nroff accepts non-numerics as a single vspace.
Files modified by kristaps: 2009-10-18 (07:14)
Note: Added horizontal scaling units to -Tman -Tascii.
Files modified by kristaps: 2009-10-18 (07:13)
Note: Re-added HTML changelog.
Files modified by kristaps: 2009-10-17 (00:44)
Note: Makefile uses multiple deps for some rules (shorter file).
Files modified by kristaps: 2009-10-17 (00:37)
Note: Fixed mandoc_char lists to have -column before other arguments.
Files modified by kristaps: 2009-10-14 (22:56)
Note: Added warning about specifying list arguments before type (suggested by Joerg Sonnenberg).
Files modified by kristaps: 2009-10-14 (22:42)
Note: Fix in mandoc.1 and mandoc_char.7 syntax (submitted Joerg Sonnenberger). Added note on character format per output type.
Files modified by kristaps: 2009-10-14 (21:33)
Note: Added support for `Bd -centered', which appears in newer groffs (not yet implemented in centre-capable front-ends, i.e., -Thtml).
Files modified by kristaps: 2009-10-13 (06:57)
Note: Moved output definitions into main.h. Pushed terminal_{mdoc,man} into {mdoc,man}_term.c.
Files modified by kristaps: 2009-10-13 (06:21)
Note: Clean up consts (noted by Joerg Sonnenberger and Ulrich Sporlein).
Files modified by kristaps: 2009-10-10 (14:43)
Note: Version: 1.9.8.
Files modified by kristaps: 2009-10-10 (07:05)
Note: Fix hang lists in -Tascii -Tmdoc, which seem to have been broken since ~1.8.x. Noted similarity of HP/TP and -hang/-tag in mandoc.1.
Files modified by kristaps: 2009-10-10 (06:05)
Note: `Cd' in -Thtml -mdoc correctly breaks lines.
Files modified by kristaps: 2009-10-09 (11:10)
Note: Version up.
Files modified by kristaps: 2009-10-09 (03:10)
Note: RS tags implemented for -Tman -Thtml.
Files modified by kristaps: 2009-10-09 (02:54)
Note: Scaling factor made floating point (as per groff.7) and, e.g., gnu/usr.bin/cvs/man/cvs.1.
Files modified by kristaps: 2009-10-08 (19:00)
Note: Consolidated some -man -Tascii functions. Added many -man -Thtml functions (almost complete).
Files modified by kristaps: 2009-10-07 (11:27)
Note: Fixed side-effect of linting (oops).
Files modified by kristaps: 2009-10-07 (11:06)
Note: Lint-ified.
Files modified by kristaps: 2009-10-07 (11:03)
Note: Fixed superfluous function declaration (spotted by Ulrich Sporlein).
Files modified by kristaps: 2009-10-07 (10:52)
Note: Fix operator overloading (submitted by Ulrich Sporlein, uqs@spoerlein.net).
Files modified by kristaps: 2009-10-07 (10:50)
Note: Lint-ified.
Files modified by kristaps: 2009-10-07 (10:39)
Note: Made default string units (-Thtml -mdoc) to use `m' and not `n' scaling (better more than less). Fixed -column widths for -Thtml -mdoc. Fixed left-hand margin padding for -Thtml -mdoc.
Files modified by kristaps: 2009-10-07 (10:37)
Note: Set field widths n -> m.
Files modified by kristaps: 2009-10-07 (08:35)
Note: Additions to -Tman -Thtml: all structural components tested & in place. Fitted both -Thtml with handling of arbitrary vertical and horizontal scaling units (see groff(7)). Undocumented until fitted into -Tascii (next release).
Files modified by kristaps: 2009-10-07 (08:20)
Note: `Bd' literals in -Tascii -mdoc were losing the first line's newline. Fixed.
Files modified by kristaps: 2009-10-07 (08:19)
Note: Header buffers in -man -Tascii are static.
Files modified by kristaps: 2009-10-04 (11:24)
Note: Structural components of -man -Thtml in place (note that HP is the same as IP, as HTML doesn't "do" this construction without fixed page widths).
Files modified by kristaps: 2009-10-04 (06:24)
Note: Initial IP implementation in -Thtml -man.
Files modified by kristaps: 2009-10-04 (05:35)
Note: SS, SH, PP, P, LP, br, sp tags in -man -Thtml.
Files modified by kristaps: 2009-10-04 (05:02)
Note: Example style-sheet reflecting modified section/subsection style tags. Added ATTR_ID and so forth to attrs.
Files modified by kristaps: 2009-10-04 (05:00)
Note: Section/subsection anchor names (<a name=xxx>) replaced with (div id=xxx) (noted by joerg@netbsd.org) Removed superfluous span tags within section/subsection divs (noted by joerg@netbsd.org).
Files modified by kristaps: 2009-10-03 (15:57)
Note: Added initial -man framework for -Thtml.
Files modified by kristaps: 2009-10-03 (15:02)
Note: `Fn' does not print empty ftype span. -Tascii `node' and `meta' args in DECL_ARGS renamed to `n' and `m' to be more coherent with -Thtml.
Files modified by kristaps: 2009-10-03 (12:37)
Note: Lintified (noops).
Files modified by kristaps: 2009-10-03 (12:36)
Note: Fixed mandoc.1 examples (new -Thtml options). Fixed manuals to use `In', not `Fd'. Moved buf* functions into html.c.
Files modified by kristaps: 2009-10-03 (11:26)
Note: Added the -oincludes=FMT option. The `In' handler now decorates with a hyperlink. If no -oman= or -oincludes= is stipulated, no link is printed (but the text is still style-decorated).
Files modified by kristaps: 2009-10-03 (11:08)
Note: Element tag buffer is now part of struct html. buffmt() can be called in sequence. Noted BUFSIZ-sized buffer in CAVEATS (attribute length for link formats). Added -oman=FMT -Thtml option for `Xr' manual links. Removed -obase=URI -Thtml option (obsolete).
Files modified by kristaps: 2009-09-28 (18:09)
Note: Compat fix in mdoc.7 (joerg@netbsd.org).
Files modified by kristaps: 2009-09-27 (13:11)
Note: Fix typo in st.in (Alan Bueno, alan.bsd@gmail.com)
Files modified by kristaps: 2009-09-26 (14:31)
Note: SYNOPSIS functions in -Thtml text-indent and group paramters (as nroff does).
Files modified by kristaps: 2009-09-26 (14:02)
Note: Fixed -Thtml handling of -compact lists. Fixed -Thtml handling of `Bd' prior vspace and embedded macros.
Files modified by kristaps: 2009-09-26 (13:35)
Note: Fixed `Bd' prior vertical space (was ignoring -compact). Fixed effect of embedding macros in `Bd' (was printing all on each line instead of grouping).
Files modified by kristaps: 2009-09-25 (10:13)
Note: Changed stylesheet used for local documents.
Files modified by kristaps: 2009-09-25 (10:07)
Note: Temporarily disabled ChangeLog.html (server's hosed and doesn't have xsltproc).
Files modified by kristaps: 2009-09-25 (09:33)
Note: Version: 1.9.6.
Files modified by kristaps: 2009-09-25 (09:03)
Note: Lint check (noop).
Files modified by kristaps: 2009-09-25 (09:00)
Note: Lint check (noop).
Files modified by kristaps: 2009-09-25 (08:43)
Note: Changed -Thtml document header to be 10/80/10 with no wrapping of the middle.
Files modified by kristaps: 2009-09-24 (19:54)
Note: -Tascii correctly prints `%T' in `Rs' with quotes. -Thtml behaves like -Tascii for printing. Printing of `Rs' elements cross-checked with new groff.
Files modified by kristaps: 2009-09-24 (11:08)
Note: Fixed segfault in `Rs' empty block.
Files modified by kristaps: 2009-09-24 (11:05)
Note: Lint-fixes (noop).
Files modified by kristaps: 2009-09-24 (11:01)
Note: Added EBADCHILD error (bad child of parent context). `Rs' post-checks that all children are proper bibliographic elements. `Rs' correctly re-orders its children as per groff's output (including %C).
Files modified by kristaps: 2009-09-24 (09:18)
Note: Proper handling of `Rs' blocks in -Thtml.
Files modified by kristaps: 2009-09-24 (09:03)
Note: -offset string can now be blank (supplied with 6n as stipulated by mdoc.samples).
Files modified by kristaps: 2009-09-24 (07:55)
Note: Fix in -Tascii where `Lb' causes line-break in any section (should only happen in LIBRARY). `Fn' first parameter is broken apart into ftype and fname in -Thtml (for correct style application). Fixed \0 special character.
Files modified by kristaps: 2009-09-24 (07:05)
Note: Sync'd example style-sheet to be more like OpenBSD's default (KISS). -Thtml and -Tascii now have equivalent functionality.
Files modified by kristaps: 2009-09-24 (05:50)
Note: Added Bf, Pf, etc. to -Thtml. Fixed Rs in -Tascii to behave properly when not in "SEE ALSO" section.
Files modified by kristaps: 2009-09-24 (05:20)
Note: Many more macros added to -Thtml. Minor space issues fixed in -Tascii.
Files modified by kristaps: 2009-09-23 (07:53)
Note: FreeBSD compile fixes (uqs@spoerlein.net).
Files modified by kristaps: 2009-09-23 (07:02)
Note: All special characters sync'd with groff, both -Thtml and -Tascii. Re-added text links to index.sgml (just for show).
Files modified by kristaps: 2009-09-23 (05:10)
Note: Sync'd currency symbols with newest groff.
Files modified by kristaps: 2009-09-23 (05:06)
Note: Sync'd special letters and ligatures with newest groff.
Files modified by kristaps: 2009-09-22 (21:04)
Note: Arrows & brackets sync'd with newest groff.
Files modified by kristaps: 2009-09-22 (20:03)
Note: Quotes sync'd with newest groff.
Files modified by kristaps: 2009-09-22 (19:34)
Note: Accent marks sync'd with current groff.
Files modified by kristaps: 2009-09-22 (19:15)
Note: Many more UTF-8 symbols in place. Started partitioning chars.in into sections corresponding to mandoc_char.7. Correctly ordered Greek letters. Sync'd all mathematical and logical symbols with current groff.
Files modified by kristaps: 2009-09-22 (12:10)
Note: Fix segfault in -Thtml column lists. Added some more UTF-8 chars. mandoc_char.7 now has all special characters rendered. Fixed column layout in -Thtml.
Files modified by kristaps: 2009-09-22 (06:11)
Note: Fixed some characters. Initial push of mandoc_char showing the current character rendering (useful for testing, too).
Files modified by kristaps: 2009-09-22 (06:07)
Note: Many more characters for HMTL (mostly Greek).
Files modified by kristaps: 2009-09-21 (19:12)
Note: A few more macros in -Thtml.
Files modified by kristaps: 2009-09-21 (12:05)
Note: Added chars.h to HEADS.
Files modified by kristaps: 2009-09-21 (12:03)
Note: Added html.h to headers that should be distributed.
Files modified by kristaps: 2009-09-21 (11:12)
Note: Wrong stylesheet in xsl.
Files modified by kristaps: 2009-09-21 (11:01)
Note: Version: 1.9.5.
Files modified by kristaps: 2009-09-21 (10:56)
Note: Split html.c into html.h, mdoc_html.c, man_html.c.
Files modified by kristaps: 2009-09-21 (10:40)
Note: Removed man handling in -Thtml (for now). Added some UTF chars to chars.in.
Files modified by kristaps: 2009-09-21 (10:08)
Note: Fix height of hard-breaks in -Thtml.
Files modified by kristaps: 2009-09-21 (10:07)
Note: Consolidation of Pp/sp/br/Lp stuff.
Files modified by kristaps: 2009-09-21 (09:47)
Note: Fix in outopts processing.
Files modified by kristaps: 2009-09-21 (09:44)
Note: Fixed body/divbody structure of html pages. Added example style.css (example.style.css). Enabled using -Thtml to generate manuals in Makefile. Stopped making text manuals for webpage.
Files modified by kristaps: 2009-09-21 (09:43)
Note: getsubopt() is in unistd.h, not stdlib.h (error in xBSD manuals).
Files modified by kristaps: 2009-09-21 (09:42)
Note: Lint pass (OpenBSD-alpha). Noops.
Files modified by kristaps: 2009-09-21 (09:06)
Note: Removed new-born out.{h,c} (not a good idea). Removed if 0 for HTML-mode output (why not). Added option -oxxxx for passing options to output devices.
Files modified by kristaps: 2009-09-21 (05:32)
Note: Added example stylesheet.
Files modified by kristaps: 2009-09-20 (20:39)
Note: Tentative addition of front-end utility functions (out.h) (not sure if it's necessary). More -Thtml installments.
Files modified by kristaps: 2009-09-20 (15:44)
Note: Using inline-blocks for header and footer (works much better).
Files modified by kristaps: 2009-09-20 (15:25)
Note: Headers and footers in -Thtml. Various minor additions.
Files modified by kristaps: 2009-09-20 (13:48)
Note: Bl -column in place for -Thtml.
Files modified by kristaps: 2009-09-20 (13:24)
Note: Some extra html tags and near-complete Bl: -tag is hopeless (synonym for -hang, now) and -column is still pending.
Files modified by kristaps: 2009-09-20 (09:43)
Note: Fixed memory leak on close.
Files modified by kristaps: 2009-09-20 (07:05)
Note: Considerable, wide-ranging improvements to the -Thtml output mode (most especially proper tagging and using `em' instead of `px').
Files modified by kristaps: 2009-09-17 (19:35)
Note: Consider html fixes, most importantly -tag and -hang (breaks in IE6, apparently).
Files modified by kristaps: 2009-09-17 (09:17)
Note: Hang lists in html (the hard one first).
Files modified by kristaps: 2009-09-17 (04:21)
Note: More html. Initial html encodings in chars.in.
Files modified by kristaps: 2009-09-17 (03:41)
Note: ascii_xxx -> chars_xxx (intended to hold more than just ascii encoding). More html work.
Files modified by kristaps: 2009-09-16 (18:17)
Note: More updates to html.c. Secretly enabled -Thtml in main.c (obviously not yet documented).
Files modified by kristaps: 2009-09-16 (16:49)
Note: Lintifications.
Files modified by kristaps: 2009-09-16 (11:08)
Note: Put closedelim and opendelim right in term_word() (unnecessary extra function).
Files modified by kristaps: 2009-09-16 (10:40)
Note: Lookup hashes are now static tables, ordered first-level by second character, then randomly along a chain. Improves performance by a small fraction and considerably cleans up hash sources.
Files modified by kristaps: 2009-09-16 (05:41)
Note: Made tree/term/out() functions return void. Put err() functions back into front-ends (no use making it needlessly complex).
Files modified by kristaps: 2009-09-15 (04:16)
Note: Removed TERMP_BOLD, TERMP_UNDER, TERMP_STYLE in favour of recursive-friendly increments. Cleaned up confusing behaviour of p->flags.
Files modified by kristaps: 2009-09-05 (06:37)
Note: Version: 1.9.2. Fixed man.7 syntax error (oops).
Files modified by kristaps: 2009-09-05 (06:30)
Note: Typo fix (jmc@openbsd.org).
Files modified by kristaps: 2009-08-22 (05:10)
Note: Added `UC' libman macro (has no effect). Corrected `UC' and `DT' not to print their arguments. Noted that `UC' and `DT' shouldn't be used.
Files modified by kristaps: 2009-08-22 (04:56)
Note: Added check for graphable characters in initial-line parse for libman and libmdoc (joerg@netbsd.org).
Files modified by kristaps: 2009-08-21 (09:45)
Note: Fix of MAN_NEXT when removing next-line dupes.
Files modified by kristaps: 2009-08-21 (09:18)
Note: Removed superfluous XXX. Version: 1.9.1.
Files modified by kristaps: 2009-08-21 (09:16)
Note: `RS' warns if empty body.
Files modified by kristaps: 2009-08-21 (09:14)
Note: Fixed next-line scoping of `.HP nnn' (has both next-line and on-line in head).
Files modified by kristaps: 2009-08-21 (08:32)
Note: Fixed `nf' behaviour (had broken with de-chunking). Added warnings if literal context already open/closed.
Files modified by kristaps: 2009-08-21 (08:12)
Note: Open explicit scope on libman exit now only generates warning. Consecutive ELINE scopes are now pruned (with a warning).
Files modified by kristaps: 2009-08-21 (04:41)
Note: FreeBSD fix (uqs@spoerlein.net).
Files modified by kristaps: 2009-08-20 (09:55)
Note: Fixed next-line scope error in libman block macros.
Files modified by kristaps: 2009-08-20 (09:51)
Note: Fixed (not documented anywhere of course) that `SH' and `SS' in libman have next-line head scope.
Files modified by kristaps: 2009-08-20 (09:32)
Note: Synchronised man.7, mdoc.7, mdoc.template manual structure.
Files modified by kristaps: 2009-08-20 (09:22)
Note: Updated manual structure in mdoc.7. Synchronised mdoc.template and mdoc.7 manual structure. `Rv' and `Ex' now accept multiple arguments (-std made standalone, terms as children). `Rv' and `Ex' format correctly in -Tascii (plurals, commas, etc.).
Files modified by kristaps: 2009-08-20 (08:26)
Note: Small cleanup in mandoc.1.
Files modified by kristaps: 2009-08-20 (08:08)
Note: Documented omission of `na' and `Dt'. Clarified COMPATIBILITY section (which modes/inputs).
Files modified by kristaps: 2009-08-20 (07:51)
Note: Added `DT' macro (pointed out by joerg@netbsd.org).
Files modified by kristaps: 2009-08-20 (07:44)
Note: Fix to libmdoc passing over delimiters. `RS' and `RE' documented in man.7.
Files modified by kristaps: 2009-08-20 (05:07)
Note: Documented ARGS_ handling in args().
Files modified by kristaps: 2009-08-20 (04:59)
Note: Delimiter whitespace is correctly flagged (required some special handling).
Files modified by kristaps: 2009-08-19 (10:45)
Note: More already-fixed FIXMEs.
Files modified by kristaps: 2009-08-19 (10:44)
Note: Removed already-fixed FIXME.
Files modified by kristaps: 2009-08-19 (10:09)
Note: In-line documentation of mdoc_macro file. Moved _NEXT_ macros into _alloc_ routines (where they belong).
Files modified by kristaps: 2009-08-19 (08:15)
Note: libman checks for open explicit scopes on exit.
Files modified by kristaps: 2009-08-19 (08:00)
Note: Linux compat fix.
Files modified by kristaps: 2009-08-19 (07:58)
Note: Moved MDOC_NEXT_SIBLING into mdoc_word (libmdoc). De-chunking of word terms in libman.
Files modified by kristaps: 2009-08-19 (07:30)
Note: `RS' blocks correctly formatting in output device.
Files modified by kristaps: 2009-08-19 (05:14)
Note: Added RS/RE macro pair (had to adjust closing rules, sec/ssec/rs/par).
Files modified by kristaps: 2009-08-18 (10:27)
Note: libmdoc accepts whitespace following control character.
Files modified by kristaps: 2009-08-18 (07:46)
Note: Fixed missing check for open ELINE scope in BLINE macro.
Files modified by kristaps: 2009-08-18 (04:48)
Note: Small updates to man.7 (next-line break-exclusions, numerical width example). Fully tested and correct scope-rewinding of block macros.
Files modified by kristaps: 2009-08-17 (07:10)
Note: Updated libman AST documentation. Version (not yet finalised, but tagging in Makefile): 1.9.0.
Files modified by kristaps: 2009-08-17 (07:03)
Note: `IP' and `TP' correctly handle width arguments. Documented numeric widths.
Files modified by kristaps: 2009-08-13 (08:54)
Note: Finished correct `IP' handling.
Files modified by kristaps: 2009-08-13 (08:31)
Note: Added proper `TP' support.
Files modified by kristaps: 2009-08-13 (08:15)
Note: Added full `HP' libman macro support.
Files modified by kristaps: 2009-08-13 (07:45)
Note: Significant overhaul in libman. Macros are now block- and line-scoped (with next-line scope extensions possible). man.7 reflects block and line scoping, and also includes a REFERENCE section that will be used as a template for the big mdoc reference. Many fixes in next-line behaviour for both inline and block macros. Added some macros for compatibility (from me.7). Corrected quoted-literal handling for libman.
Files modified by kristaps: 2009-08-13 (07:43)
Note: Noted areas that need work in libmdoc.
Files modified by kristaps: 2009-08-10 (06:09)
Note: Moved indentation size into *term.c files. Improved handling of libman `IP' macro (still needs work).
Files modified by kristaps: 2009-07-29 (05:02)
Note: Fixed groff-compat where two `Sh' calls, with the first not having a body, don't assert vspace between calls.
Files modified by kristaps: 2009-07-29 (04:58)
Note: Documented behaviour of interpreting parsable/callable macros.
Files modified by kristaps: 2009-07-29 (04:52)
Note: Columns with `Bl -column' correctly check for CALLABLE status.
Files modified by kristaps: 2009-07-29 (04:46)
Note: Moved CALLABLE check to lookup_raw(). Made PARSABLE check occur prior to lookup(). Non-PARSEABLE macros no longer warn against having macro-like parameters. Non-CALLABLE macros no longer produce an error, just display their symbols (as in groff) (pointed out by joerg@netbsd.org).
Files modified by kristaps: 2009-07-28 (08:15)
Note: Documented trademark and restricted mark (oops).
Files modified by kristaps: 2009-07-28 (08:07)
Note: Quick-fix in mandoc_char.7 trailing whitespace.
Files modified by kristaps: 2009-07-28 (07:59)
Note: Version: 1.8.5. Added \*R, \*(Tm (obscure -man predefined strings).
Files modified by kristaps: 2009-07-28 (07:53)
Note: Added Greek characters to ascii.in (from groff_char.7). Added Euro symbols (from groff_char.7).
Files modified by kristaps: 2009-07-28 (06:15)
Note: Fix in newline. Correct printing of N-char predefined/special strings.
Files modified by kristaps: 2009-07-28 (06:09)
Note: Fixed \(bq.
Files modified by kristaps: 2009-07-27 (15:43)
Note: main.c using fprintf instead of warnx for parse errors (like cc). Error string is now file:line:col: message. Removed sed from vim -q example in manuals.7. Fixed column reporting (off by one).
Files modified by kristaps: 2009-07-27 (09:10)
Note: Re-ordered ascii.in looking for dupes. Added `vim -q' tip to manuals.7 (thanks uqs@sporlein.net). ifdef'd production of missing specials/predefines.
Files modified by kristaps: 2009-07-27 (08:35)
Note: Clarified special chars/predefined chars in mandoc_char.7. Cleaned up escape section in man.7, mdoc.7. Cleaned up function names in term.c.
Files modified by kristaps: 2009-07-27 (08:02)
Note: Correct handling of \*(xx, \*[xxx], \*x versus \x, \(xx, \([xxx]: predefined strings and escape characters, respectively.
Files modified by kristaps: 2009-07-26 (15:53)
Note: Fixed \% special char (via groff.7). Added some typographic special chars to mandoc_char.7.
Files modified by kristaps: 2009-07-26 (15:30)
Note: Removed POSIX.1 COMPATIBILITY note in mdoc.7. Noted that \~ doesn't work in mandoc.1 (thanks uqs@sporlein.net).
Files modified by kristaps: 2009-07-26 (14:59)
Note: POSIX -> POSIX.1 change (submitted by uqs@sporlein.net, ok jmc@openbsd.org, ingo@openbsd.org).
Files modified by kristaps: 2009-07-26 (06:35)
Note: Version.
Files modified by kristaps: 2009-07-26 (06:29)
Note: Made out-of-order prologue macros not cause an error.
Files modified by kristaps: 2009-07-26 (06:14)
Note: Noted POSIX/POSIX.1 disparity (found by uqs@sporlein.net, discussed with jmc@openbsd.org et al.).
Files modified by kristaps: 2009-07-25 (12:03)
Note: Patches and results of LLVM static analysis (thanks uqs@sporlein.net).
Files modified by kristaps: 2009-07-24 (16:22)
Note: Added `sp' support to libman. Added `\c' to known escapes (only used in man, but still).
Files modified by kristaps: 2009-07-24 (10:00)
Note: Added -fign-errors for VERY fast checking of many manuals without stopping at errors.
Files modified by kristaps: 2009-07-24 (09:18)
Note: Added `St -ieee1275-94'. Documented a future `Bd' fixme.
Files modified by kristaps: 2009-07-24 (09:09)
Note: Added `St -isoC'.
Files modified by kristaps: 2009-07-24 (09:06)
Note: Added `St -xns5.2'.
Files modified by kristaps: 2009-07-24 (08:52)
Note: Fixed DIAGNOSTIC display (leading double-space only before BODY).
Files modified by kristaps: 2009-07-24 (08:48)
Note: Removed superfluous FIXMEs.
Files modified by kristaps: 2009-07-24 (08:47)
Note: Full support for `An -split/-nosplit'. Compat documented.
Files modified by kristaps: 2009-07-24 (08:17)
Note: Allow `An' to accept NULL arguments (-split/-nosplit).
Files modified by kristaps: 2009-07-24 (08:09)
Note: `An' gives correct error message in encountering arguments/parameters.
Files modified by kristaps: 2009-07-24 (07:54)
Note: `Bd' printing simplified (now that literal text is preserved).
Files modified by kristaps: 2009-07-24 (07:54)
Note: Text tokens with leading whitespace (like indented blocks in `Bd -literal') are printed correctly.
Files modified by kristaps: 2009-07-23 (05:49)
Note: Version.
Files modified by kristaps: 2009-07-23 (05:40)
Note: Ugly fix for `Bl' or `Bd' causing badness when nested in `Bl -hang' lists.
Files modified by kristaps: 2009-07-23 (04:36)
Note: Bl -column now accepts columns = (1 + stated columns), which covers all remaining column usage/abuse I can see.
Files modified by kristaps: 2009-07-23 (04:35)
Note: Lintified term_flushln() (type mismatches).
Files modified by kristaps: 2009-07-21 (11:54)
Note: Re-added `Pa' handling -- had removed it, but it's a bug in groff that it doesn't always render.
Files modified by kristaps: 2009-07-21 (11:53)
Note: Noted that `Pa' can accept 0 arguments.
Files modified by kristaps: 2009-07-21 (11:53)
Note: Added default print of `~' with empty `Pa' (not documented with OpenBSD, but still applicable).
Files modified by kristaps: 2009-07-21 (11:52)
Note: Noted COMPATIBILITY where, in groff, `Pa' under `It' doesn't render its style.
Files modified by kristaps: 2009-07-21 (11:39)
Note: Made `%T' underline instead of quote.
Files modified by kristaps: 2009-07-21 (11:35)
Note: Fixed undocumented `-diag' where NULL list item bodies aren't followed by a vspace.
Files modified by kristaps: 2009-07-21 (11:33)
Note: Fixed transcription error of define values (bah).
Files modified by kristaps: 2009-07-21 (11:03)
Note: Fixed `Bl -column' undocumented no-vspace rule to only work within the list.
Files modified by kristaps: 2009-07-21 (10:28)
Note: Re-fixed `-diag' (accidentally broke in last checkin).
Files modified by kristaps: 2009-07-21 (09:45)
Note: Removed `Pa' underline formatting (no groff does this).
Files modified by kristaps: 2009-07-21 (09:34)
Note: Bringing spacing more in line with groff, patches from schwarze@openbsd.org. Pre-testing.
Files modified by kristaps: 2009-07-21 (08:47)
Note: Right-most column now fills to the right margin (undocumented groff behaviour).
Files modified by kristaps: 2009-07-20 (16:49)
Note: FreeBSD includes fix (uqs@sporlein.net).
Files modified by kristaps: 2009-07-20 (16:09)
Note: Removed historical ports (they're just cluttering the page).
Files modified by kristaps: 2009-07-20 (15:34)
Note: Version.
Files modified by kristaps: 2009-07-20 (15:30)
Note: Fixed zero-length width string causing assertion (defaulting to 10 -- this needs work).
Files modified by kristaps: 2009-07-20 (11:05)
Note: Undocumented behaviour in groff: `Bl -column' implies `-compact'. mandoc now allows fewer columns than the -width specifies.
Files modified by kristaps: 2009-07-20 (10:12)
Note: More cleanups for TABSEP handling.
Files modified by kristaps: 2009-07-20 (10:09)
Note: Replaced ugly TABSEP handling with simpler routine.
Files modified by kristaps: 2009-07-20 (09:45)
Note: Removed trailing whitespace in manuals.
Files modified by kristaps: 2009-07-19 (17:26)
Note: Fixed and cleaned up "phrase" handling (`Bl -column' columns). Found strange newline bug in -diag handling (and others?).
Files modified by kristaps: 2009-07-19 (05:46)
Note: Fixed broken `make www' dep.
Files modified by kristaps: 2009-07-19 (05:22)
Note: Version.
Files modified by kristaps: 2009-07-19 (05:17)
Note: Made `Cd' parseable (too many SYNOPSIS sections do this).
Files modified by kristaps: 2009-07-19 (05:10)
Note: Removed unused TERMP_LITERAL.
Files modified by kristaps: 2009-07-19 (04:49)
Note: ChangeLog xsl reflects symbolic tag.
Files modified by kristaps: 2009-07-19 (04:34)
Note: Removed some finished FIXMEs in mdoc.3.
Files modified by kristaps: 2009-07-19 (04:28)
Note: Explicit-close macros now only warn when encountering trailing terms, not error out (try `.Ed foo').
Files modified by kristaps: 2009-07-19 (04:24)
Note: Removed superfluous NOSPACE in bd post.
Files modified by kristaps: 2009-07-19 (04:18)
Note: termpair flags unset before post, after body (suggested by schwarze@openbsd).
Files modified by kristaps: 2009-07-18 (19:31)
Note: More clarity fixes in mdoc.7. Sm/Sy argument to `Bf' fixed (schwarze@openbsd).
Files modified by kristaps: 2009-07-18 (14:59)
Note: Made unterminated quoted literals be a warning, like groff.
Files modified by kristaps: 2009-07-18 (14:49)
Note: Considerably revamped argument-parsing for correct quoted-literal handling. Deprecated ARGS_QUOTED (all arguments are quotable). Documented quotation and whitespace rules in mdoc.7.
Files modified by kristaps: 2009-07-17 (10:51)
Note: Better doc of whitespace handling in mdoc.7. Doc of macro quotation in mdoc.7.
Files modified by kristaps: 2009-07-17 (09:23)
Note: Removed automatic port generation, as the downstream versions should be used instead.
Files modified by kristaps: 2009-07-17 (08:40)
Note: `sp' documented: validates & produces correct output.
Files modified by kristaps: 2009-07-17 (08:28)
Note: Lint-check (removed unused variable).
Files modified by kristaps: 2009-07-17 (08:27)
Note: Removed EARGVPARM (superfluous, overly error-generating). Added `sp' handler.
Files modified by kristaps: 2009-07-17 (08:08)
Note: Documented `br' macro in mdoc.7. Made `Pp' and `Lp' be inline_eoln() (not sure why they weren't before).
Files modified by kristaps: 2009-07-17 (07:00)
Note: Fixed hash assertion.
Files modified by kristaps: 2009-07-17 (06:56)
Note: Added `br' and `sp' macros (requested by joerg@netbsd.org, jmc@openbsd.org).
Files modified by kristaps: 2009-07-17 (06:56)
Note: Hash now accepts `br'. This needs work (way to sparse).
Files modified by kristaps: 2009-07-16 (18:16)
Note: Small clarity updates (section names, contents).
Files modified by kristaps: 2009-07-16 (10:07)
Note: Proper html showing of ChangeLog.
Files modified by kristaps: 2009-07-16 (09:42)
Note: Added Linux compat (strlcpy).
Files modified by kristaps: 2009-07-16 (09:41)
Note: Added changelog xsl.
Files modified by kristaps: 2009-07-16 (09:40)
Note: Using xsl for html changelog.
Files modified by kristaps: 2009-07-16 (09:27)
Note: Off-by-one space fixed for `Bl -diag'.
Files modified by kristaps: 2009-07-16 (09:17)
Note: Subtle fixes correcting vis count with erroneously-decorated whitespace.
Files modified by kristaps: 2009-07-16 (08:34)
Note: Fix in nospace following close-delimiter.
Files modified by kristaps: 2009-07-15 (11:53)
Note: Removed assertion (disregarded blank literal lines).
Files modified by kristaps: 2009-07-15 (11:37)
Note: Removed term.c break-up of tokens (happens in libmdoc). Removed costly, redundant calculations of string length (in-line printing).
Files modified by kristaps: 2009-07-15 (11:36)
Note: libmdoc now breaks up free-form lines into tokens prior to be passed to the backend (simplifies LITERAL mode in front-end).
Files modified by kristaps: 2009-07-15 (11:26)
Note: args() should return ARGS_ERROR, not 0.
Files modified by kristaps: 2009-07-15 (04:20)
Note: Fix to presentation date (Ulrich Sporlein)
Files modified by kristaps: 2009-07-14 (12:03)
Note: Using \(en for OpenBSD `Nd' (compromise with jmc@openbsd.org).
Files modified by kristaps: 2009-07-14 (11:59)
Note: Minor version bumped: -hang lists were the last major missing formatting "feature".
Files modified by kristaps: 2009-07-14 (11:57)
Note: Ceremonial removal of "-hang lists not supported". Candlelight, romantic music, etc.
Files modified by kristaps: 2009-07-14 (11:57)
Note: Consolidated some sections. Much more readable.
Files modified by kristaps: 2009-07-14 (11:56)
Note: Small changes, reducing verbosity.
Files modified by kristaps: 2009-07-14 (11:49)
Note: Cleaned up arg_width and arg_column functions. Added XXn and XXm support to -offset (not documented in mdoc.samples, but used in mdoc.samples!). Lint warnings fixed.
Files modified by kristaps: 2009-07-14 (11:17)
Note: Removed unnecessary save/restore of style around list prefix. Added -hang list support.
Files modified by kristaps: 2009-07-14 (11:16)
Note: Support for TERMP_HANG in flushln(): -hang lists.
Files modified by kristaps: 2009-07-14 (11:16)
Note: Renamed TERMP_NONOSPACE -> TERMP_DANGLE. Added TERMP_HANG. Reordered TERMP flags to be a little easier on my old eyes.
Files modified by kristaps: 2009-07-13 (03:23)
Note: Err/warn fix (schwarze@openbsd.org). Lots of whitespace churn in getting functions aligned nicely.
Files modified by kristaps: 2009-07-12 (16:50)
Note: Replacement of `Lb' in mdoc_action.c. Added warning against bogus `Lb' (like groff does). Added proper quotes around `Lb' in mdoc_term.c. Moved mdoc_a2lib -> libmdoc (where it belongs).
Files modified by kristaps: 2009-07-12 (16:30)
Note: Moved mdoc_a2st() out of mdoc.h -> libmdoc.h (replacement in mdoc_action.c). Made bad standards into an error (were a warning).
Files modified by kristaps: 2009-07-12 (16:24)
Note: Moved mdoc_a2att() into libmdoc (replacement happens in mdoc_action.c).
Files modified by kristaps: 2009-07-12 (16:07)
Note: Removed superfluous FIXMEs in mdoc_term.c.
Files modified by kristaps: 2009-07-12 (15:34)
Note: Fixed `Fo' superfluous space before `('. Noted groff compatibility in mdoc.7.
Files modified by kristaps: 2009-07-12 (15:28)
Note: `Vt' macro behaves [more] properly when in the SYNOPSIS section.
Files modified by kristaps: 2009-07-12 (15:13)
Note: Replaced ugly macro function declarations in mdoc_term with real [sorted] ones.
Files modified by kristaps: 2009-07-12 (13:49)
Note: Removed rmargin from termpair (right in print_node()).
Files modified by kristaps: 2009-07-12 (13:45)
Note: Removed offset from termpair (much simpler & cleaner). Put new offset market in print_node(). Some fixes of forgotten ttypes[TTYPE_XXXX] (just TTYPE).
Files modified by kristaps: 2009-07-12 (13:25)
Note: Removed ambiguous TERMPAIR_SETFLAG from mdoc_term.c (pairs/flags must be manually set now, and are).
Files modified by kristaps: 2009-07-12 (12:55)
Note: GNU/Linux also uses \- for Nd (ew).
Files modified by kristaps: 2009-07-12 (12:52)
Note: Consolidated Bx/Ox/Nx/etc. into one function.
Files modified by kristaps: 2009-07-12 (12:41)
Note: Check for NAME sanity fixed (last named section -> last section).
Files modified by kristaps: 2009-07-12 (12:38)
Note: Added back in MDOC_TEXT stipulation in NAME check (post-Nm punctuation, duh).
Files modified by kristaps: 2009-07-12 (12:34)
Note: `Nd' is now a BFI (was an ELEM). Noted by joerg@netbsd.org, behaviour ok jmc@openbsd.org, etc.
Files modified by kristaps: 2009-07-12 (11:32)
Note: mdoc.7 using -offset indent instead of -offset XXXX or whatever it was.
Files modified by kristaps: 2009-07-12 (05:48)
Note: Fix for u_char, FreeBSD 7.2 (uqs@spoerlein.net).
Files modified by kristaps: 2009-07-12 (05:16)
Note: Version.
Files modified by kristaps: 2009-07-12 (05:13)
Note: Fixed mdoc_nwarn/mdoc_nerr considering themselves err/warn instead of warn/err (BIG mistake). From suggestion by <joerg@netbsd.org>.
Files modified by kristaps: 2009-07-12 (04:49)
Note: Noted dissent with \- for OpenBSD.
Files modified by kristaps: 2009-07-12 (04:45)
Note: Added \(hy symbol. Properly categorised \- as an arithmetic minus sign. Nd produces \(em instead of old \-. OpenBSD ifdef'd to use old \- after Nd (ok: jmc@openbsd.org).
Files modified by kristaps: 2009-07-11 (16:47)
Note: Removed long-fixed FIXME note.
Files modified by kristaps: 2009-07-11 (14:55)
Note: Added `.St -p1003.1i-95' (joerg@netbsd.org).
Files modified by kristaps: 2009-07-07 (07:47)
Note: Made `In' handling work in new-groff style (see mdoc.samples).
Files modified by kristaps: 2009-07-07 (05:52)
Note: Small clean-ups in error message usage. Version.
Files modified by kristaps: 2009-07-07 (05:35)
Note: Tabularised error strings in libman.
Files modified by kristaps: 2009-07-07 (05:29)
Note: Tabularised error-code lookup in mdoc.c.
Files modified by kristaps: 2009-07-06 (09:08)
Note: Cleaned out duplicate {mdoc,man}warn in main.c.
Files modified by kristaps: 2009-07-06 (09:04)
Note: Consolidated all err/warnings into mdoc.c via libmdoc.h.
Files modified by kristaps: 2009-07-06 (07:21)
Note: Consolidated pwarn->perr in mdoc_argv.
Files modified by kristaps: 2009-07-06 (07:14)
Note: Consolidated mdoc_action pwarn->perr.
Files modified by kristaps: 2009-07-06 (07:05)
Note: Fix in MDOC_IGN_CHARS ref.
Files modified by kristaps: 2009-07-06 (07:00)
Note: Consolidated mdoc_validate.c pwarn into perr (slowly phasing out per-file pre-formatted error strings).
Files modified by kristaps: 2009-07-06 (05:34)
Note: Backed -Wcompat,syntax out of front-end.
Files modified by kristaps: 2009-07-06 (05:21)
Note: Initial removal of enum mdoc_warn from mdoc warnings (unnecessary complication).
Files modified by kristaps: 2009-07-05 (15:30)
Note: Fixed man.3 mdoc.3 const-nesses.
Files modified by kristaps: 2009-07-05 (15:25)
Note: Version.
Files modified by kristaps: 2009-07-05 (15:25)
Note: Backed out "-width indent" and "-width indent-two", which aren't supported by any groff mdoc tmac (and erroneously used in many manuals, hence the confusion).
Files modified by kristaps: 2009-07-04 (07:19)
Note: Version up.
Files modified by kristaps: 2009-07-04 (07:10)
Note: suboptarg is not portable to Linux (fixed).
Files modified by kristaps: 2009-07-04 (07:07)
Note: Fixed -offset indent-two (schwarze@openbsd.org).
Files modified by kristaps: 2009-07-04 (07:04)
Note: Fixed -offset left (schwarze@openbsd.org). Fixed bogus setting (instead of increment) of offsets.
Files modified by kristaps: 2009-07-04 (07:04)
Note: Noted secret -width indent/indent-two arguments to `Bl'.
Files modified by kristaps: 2009-07-04 (06:41)
Note: Removed WDEPCOL (schwarze@openbsd.org).
Files modified by kristaps: 2009-07-04 (05:01)
Note: Moved escape validation into libmandoc.h/mandoc.c (common between libman/libmdoc1). libman supports MAN_IGN_ESCAPE (like MDOC_IGN_ESCAPE). All popular escapes now handled consistently.
Files modified by kristaps: 2009-07-04 (05:00)
Note: man.7/mdoc.7 properly reflect escape-character handling. man.7 points to mdoc.7 for COMPATIBILITY. Whitespace stripping noted in mdoc.7.
Files modified by kristaps: 2009-07-04 (04:06)
Note: Minor www fixes.
Files modified by kristaps: 2009-06-27 (05:03)
Note: Removed escape-deprecation note (better solution in progress, schwarze@openbsd.org). Using EXIT_FAILURE for parse errors (nicm@openbsd.org). Fixed use of warn/warnx (nicm@openbsd.org). Fixed use of getsubopt (nicm@openbsd.org).
Files modified by kristaps: 2009-06-25 (07:35)
Note: Added note about whitespace being stripped from mdoc/man input and re-added in mandoc(1).
Files modified by kristaps: 2009-06-25 (06:55)
Note: Spell-checks in manuals.
Files modified by kristaps: 2009-06-25 (06:52)
Note: Makefile properly generates MD5 sums. More clean-ups of new, simplified webpage.
Files modified by kristaps: 2009-06-25 (06:51)
Note: Language clarification in mandoc.1 (schwarze@openbsd.org).
Files modified by kristaps: 2009-06-25 (06:51)
Note: Fixed STRUCTURE repeat (schwarze@openbsd.org). Simplified some explanations (nobody cares about ontologies these days).
Files modified by kristaps: 2009-06-25 (06:48)
Note: Fixed STRUCTURE/SYNTAX section data.
Files modified by kristaps: 2009-06-25 (04:42)
Note: Updating web-page to be a bit more compact.
Files modified by kristaps: 2009-06-22 (09:13)
Note: Lint fixes. Version up.
Files modified by kristaps: 2009-06-22 (09:09)
Note: libman documents require `TH' and at least one node. libman requirements documented in man.7 STRUCTURE section. Added STRUCTURE section to mdoc.7, too.
Files modified by kristaps: 2009-06-22 (08:38)
Note: Noted .Cd tabs-ok issue (will fix later). Added single space to -diag lists.
Files modified by kristaps: 2009-06-22 (08:22)
Note: Added -split and -nosplit "I-Don't-Like" note to mdoc.7 (there really must be another way to do this). Fixed .Er -width conversion.
Files modified by kristaps: 2009-06-22 (08:04)
Note: Added "Spacing" part of "Punctuation and Spacing" in mandoc.1 manual. Fixed `Ds' meta-macro default width. Fixed -width and -offset "indent", "indent-two", and "left" widths. Fixed -width and -offset literal-word and numeric widths. Fixed off-by-one errors in whitespace output (schwarze@openbsd.org).
Files modified by kristaps: 2009-06-22 (06:40)
Note: Reverted max column width 80 -> 78 (schwarze@openbsd.org).
Files modified by kristaps: 2009-06-18 (16:46)
Note: Added nchild decrement in libman (not used, but better in than forgotten). Added nchild to libmdoc, deprecated count() functions in validator.
Files modified by kristaps: 2009-06-18 (15:54)
Note: Fixed libman .br to be a newline, not a .PP alias.
Files modified by kristaps: 2009-06-18 (06:53)
Note: Moved all formatted libman warn/error into man.c/libman.h. Converted all formatted warn/errors into regular syntax.
Files modified by kristaps: 2009-06-18 (06:32)
Note: Added -fno-ign-chars support to libman. man_validate.c checks for non-tab/isprint words. libman hashtable fixed (was ignoring .br). Added ncount field to man_node, deprecating count() functions. Documented use of tabs in man.7.
Files modified by kristaps: 2009-06-18 (04:13)
Note: mandoc.1 reflects actual use of -f option (schwarze@openbsd.org)
Files modified by kristaps: 2009-06-17 (15:12)
Note: Bumped version. Removed CVS note from index (they'll contact me if they need it). Properly ordered mandoc.1 CAVEATS/COMPATIBILITY.
Files modified by kristaps: 2009-06-17 (15:02)
Note: Removed superfluous FIXMEs (fixed already).
Files modified by kristaps: 2009-06-17 (14:42)
Note: Special characters, e.g. \(ae, are now correctly rendered in the current font decoration.
Files modified by kristaps: 2009-06-17 (10:17)
Note: Put $VFLAGS back into $LINTFLAGS (broke on NetBSD).
Files modified by kristaps: 2009-06-17 (10:14)
Note: Clean-up.
Files modified by kristaps: 2009-06-17 (10:10)
Note: Lint fixes.
Files modified by kristaps: 2009-06-17 (10:08)
Note: `Bl -column' now correctly handles tail entries (Bl -column -more... arg0...).
Files modified by kristaps: 2009-06-17 (07:02)
Note: Cleaned up .Bf validator.
Files modified by kristaps: 2009-06-17 (06:53)
Note: Section orders are more elegantly handled (MDOC_PBODY is a flag). Cleaned up string->enum conversion for section lookup.
Files modified by kristaps: 2009-06-17 (05:41)
Note: Noted deprecation of \*( and \* special-character escapes. Minor clean-ups.
Files modified by kristaps: 2009-06-17 (03:59)
Note: Fixed lint invocation in Makefile. Minor cleanups in mdoc.c.
Files modified by kristaps: 2009-06-16 (16:22)
Note: Clean-up: in-source documentation.
Files modified by kristaps: 2009-06-16 (15:55)
Note: Removed MAN___: moved MAN_br to its index (comments not passed into parser). Fix: hashtable not fully formed after removal of MDOC___.
Files modified by kristaps: 2009-06-16 (15:45)
Note: Removed MDOC___: moved MDOC_Ap to its index (comments not passed into mdoc parser).
Files modified by kristaps: 2009-06-16 (15:13)
Note: Modernised comment handling: text following \" is thrown away before either parser is invoked. Single-dot lines correctly handled. This confirms with both new- and old-groff. "Comment" subsection added to mdoc.7 and man.7.
Files modified by kristaps: 2009-06-15 (16:26)
Note: Removed superfluous ifdef around strftime (schwarze@openbsd.org). Bumped version (this was supposed to be in 1.7.17).
Files modified by kristaps: 2009-06-15 (07:26)
Note: Tagging version 1.7.17.
Files modified by kristaps: 2009-06-15 (07:24)
Note: Updated www to note existence of pkgsrc/port/in-tree mdocml/mandoc.
Files modified by kristaps: 2009-06-15 (06:36)
Note: Deprecated mdoc_msg (not being used anywhere).
Files modified by kristaps: 2009-06-15 (06:02)
Note: Removed mdoc_nwarn (not being used anywhere).
Files modified by kristaps: 2009-06-15 (05:55)
Note: mdoc error/warn macros replaced with real functions for GCC2 support (miod@openbsd.org).
Files modified by kristaps: 2009-06-15 (05:38)
Note: Mdocdate fix (literals being replaced) ({cnst,schwarze}@openbsd.org).
Files modified by kristaps: 2009-06-15 (05:35)
Note: Manual-aesthetics fix (schwarze@openbsd.org).
Files modified by kristaps: 2009-06-13 (14:48)
Note: Fixed grammar error. Back-versioning to .16.
Files modified by kristaps: 2009-06-13 (14:05)
Note: Version.
Files modified by kristaps: 2009-06-13 (09:02)
Note: Updated index with "administrative" stuff (contacts, etc.).
Files modified by kristaps: 2009-06-12 (08:54)
Note: Don't run with -Werror when generating texts.
Files modified by kristaps: 2009-06-12 (08:52)
Note: Lint fixes (no effect). Versioning up.
Files modified by kristaps: 2009-06-12 (08:40)
Note: Made per-macro "now callable" COMPATIBILITY claims into a single "most macros callable". Added COMPATIBILITY note on escaped special-character sequences. Vertical bar now correctly delimits (like in new groff).
Files modified by kristaps: 2009-06-12 (05:18)
Note: `Lk' is correctly handled as CALLABLE (note groff munges nested output). `Mt' is now CALLABLE. Fixed missing validate/action of zero-element, non-called inline elements. Fixed missing validate/action of nested inline element re-calls. Fixed bogus column argv index in validator.
Files modified by kristaps: 2009-06-11 (16:02)
Note: `Ft' and `Ms' are now callable and compat-noted in mdoc.7 (joerg@netbsd.org).
Files modified by kristaps: 2009-06-11 (15:56)
Note: `An' now callable, historic use noted in mdoc.7 (joerg@netbsd.org).
Files modified by kristaps: 2009-06-11 (09:34)
Note: Added automatic ChangeLog generation with each snapshot. Added ChangeLog to main page.
Files modified by kristaps: 2009-06-11 (09:18)
Note: Backed-out .IP changes for libman (needs work).
Files modified by kristaps: 2009-06-11 (09:15)
Note: Version up. Testing.
Files modified by kristaps: 2009-06-11 (09:13)
Note: Added mdoc.template (from NetBSD -- unlicensed??). Moved MDOC_TEXT type checks into assertions (should be caught by parser). Added some FIXME notes in mdoc output (largely that things should be asserted, not caught).
Files modified by kristaps: 2009-06-11 (08:55)
Note: Added "left" -offset tag.
Files modified by kristaps: 2009-06-11 (08:07)
Note: Documented some un-clear parts of main.c. Fixed footer to be new-groff style (OS DATE OS). Removed sanity check from mdoc_term (unnecessary).
Files modified by kristaps: 2009-06-11 (06:34)
Note: Clean up validation of field widths. Pushed field-width warn/error into warn/error routine. Removed superfluous space at output eoln. Fixed overzealous line break in lists.
Files modified by kristaps: 2009-06-11 (06:16)
Note: Added compat to Makefile.
Files modified by kristaps: 2009-06-11 (03:46)
Note: Fix space-before-newline (inspired by schwarze@openbsd.org).
Files modified by kristaps: 2009-06-11 (03:26)
Note: Fixed email address in manual AUTHOR reference. Set max right margin to 80 columns (schwarze@openbsd.org). Fixed centre-field heading position (schwarze@openbsd.org). Also fixed -Tman centre-field.
Files modified by kristaps: 2009-06-10 (16:18)
Note: Fixed license email address.
Files modified by kristaps: 2009-04-12 (15:49)
Note: Version bumped. `.Er' has more section restrictions (Joerg).
Files modified by kristaps: 2009-04-12 (15:45)
Note: Using proper license template (const).
Files modified by kristaps: 2009-04-12 (15:30)
Note: Spelling "preceed" -> "precede" (naddy).
Files modified by kristaps: 2009-04-12 (15:29)
Note: Made \(ss render as "ss", documented under COMPATIBILITY in mandoc_char.7.
Files modified by kristaps: 2009-04-12 (15:24)
Note: Added \^ and \~ escapes (Joerg).
Files modified by kristaps: 2009-04-12 (15:19)
Note: Manual .Dt fields CAPITALISED. Indent set to 5 chars (nroff compat). Half-indent set to 3 chars (nroff compat). Default behaviour is loose-y (ignore macro/char/escape). Added -fstrict. Added unknown-character ignoring.
Files modified by kristaps: 2009-04-06 (06:12)
Note: [no log message]
Files modified by kristaps: 2009-04-06 (05:48)
Note: Removed forgotten printfs.
Files modified by kristaps: 2009-04-06 (04:53)
Note: Version (BIG fix).
Files modified by kristaps: 2009-04-06 (04:53)
Note: Fix bogus use of mdoc->last in action pre-handler (!!!!!).
Files modified by kristaps: 2009-04-05 (12:38)
Note: Added TEXTS to installwww.
Files modified by kristaps: 2009-04-05 (12:34)
Note: man(3) doesn't use err.h anymore. Added .i to man(3). Fixed up manuals. Fixed up webpage. Assertion fixes in man(3) (hashtable). Fixed assertion for .IP in mandoc -man.
Files modified by kristaps: 2009-04-03 (09:18)
Note: Version.
Files modified by kristaps: 2009-04-03 (09:17)
Note: Updated manuals.7. Fixed .Dl display.
Files modified by kristaps: 2009-04-03 (08:27)
Note: [no log message]
Files modified by kristaps: 2009-04-03 (07:08)
Note: Proper resetting of memory. Array boundary fixed (-W).
Files modified by kristaps: 2009-04-02 (12:42)
Note: Documented -mandoc behaviour.
Files modified by kristaps: 2009-04-02 (12:37)
Note: Added -p1003.1-2008 specification. Fixed invalid memory accesses (concat()). Made -fign-macro be the default for libman.
Files modified by kristaps: 2009-04-02 (12:26)
Note: Initial -mandoc auto-switch in place.
Files modified by kristaps: 2009-04-02 (02:51)
Note: mdoc_tokhash -> hash Initial man hashtab (BROKEN).
Files modified by kristaps: 2009-03-31 (09:50)
Note: General clean-ups.
Files modified by kristaps: 2009-03-27 (11:22)
Note: Added br documentation.
Files modified by kristaps: 2009-03-27 (11:00)
Note: Version. Added forgotten file.
Files modified by kristaps: 2009-03-27 (10:56)
Note: Added some new manuals (mdoc.3 mandoc_char.7). Support for .br in libman.
Files modified by kristaps: 2009-03-27 (09:44)
Note: Fixes in going over all OpenBSD manuals.
Files modified by kristaps: 2009-03-26 (19:01)
Note: Clean-ups to documentation.
Files modified by kristaps: 2009-03-26 (12:47)
Note: [no log message]
Files modified by kristaps: 2009-03-26 (12:44)
Note: Added simple font-escapes.
Files modified by kristaps: 2009-03-26 (12:23)
Note: All macro-invocations, for consistency, begin with `.' in documentation. Fixed \\ -> \e in manual documentation. All preliminary -man macros in place.
Files modified by kristaps: 2009-03-26 (11:19)
Note: Added several macros to man_term.c.
Files modified by kristaps: 2009-03-26 (10:44)
Note: Fixed after-NLINE-error assertion. Scanned over all manuals with valgrind. Version up.
Files modified by kristaps: 2009-03-26 (10:38)
Note: Initial front-end formatting for -man pages.
Files modified by kristaps: 2009-03-26 (07:19)
Note: Version (getting ready for abstracting term.c).
Files modified by kristaps: 2009-03-26 (07:16)
Note: Fixed inheritence of initial macro into man_macro. Removed warnxs from man_macro (man_vwarn).
Files modified by kristaps: 2009-03-26 (05:55)
Note: Fixed reading whitespace for man.7 `. TH'. Documented this.
Files modified by kristaps: 2009-03-25 (17:46)
Note: [no log message]
Files modified by kristaps: 2009-03-25 (17:03)
Note: Added pflags to man_alloc. Abstract fflags -> pflags in main.c.
Files modified by kristaps: 2009-03-25 (12:08)
Note: Linux fix (prototype).
Files modified by kristaps: 2009-03-25 (12:07)
Note: Actions in place for prologue parsing.
Files modified by kristaps: 2009-03-25 (11:36)
Note: Added man_action.c, renamed mdoc_action.c.
Files modified by kristaps: 2009-03-25 (11:17)
Note: Added man validator, renamed mdoc validator.
Files modified by kristaps: 2009-03-25 (07:39)
Note: FreeBSD uses sha256 now.
Files modified by kristaps: 2009-03-24 (16:05)
Note: More fixes from Ulrich Sporlein. (freebsd)
Files modified by kristaps: 2009-03-24 (06:59)
Note: Updating web-site.
Files modified by kristaps: 2009-03-24 (06:28)
Note: Fixing web-site (had old references).
Files modified by kristaps: 2009-03-23 (17:47)
Note: Added FreeBSD port Makefile.
Files modified by kristaps: 2009-03-23 (17:46)
Note: Added FreeBSD port.
Files modified by kristaps: 2009-03-23 (17:20)
Note: Bumped version (testing).
Files modified by kristaps: 2009-03-23 (17:20)
Note: Fixed inclusion of MANSRCS (sorry, Ulrich). Added DragonFlyBSD __dead2.
Files modified by kristaps: 2009-03-23 (12:02)
Note: Initial documentation in place for man.7.
Files modified by kristaps: 2009-03-23 (11:41)
Note: -man linked to mandoc in documentation.
Files modified by kristaps: 2009-03-23 (11:20)
Note: -man printing linked to -Ttree.
Files modified by kristaps: 2009-03-23 (10:31)
Note: Linux fixes.
Files modified by kristaps: 2009-03-23 (10:22)
Note: First addition of -man macro support. Abstraction of mdoc.
Files modified by kristaps: 2009-03-23 (05:42)
Note: More manual documentation fixed/improved.
Files modified by kristaps: 2009-03-22 (17:19)
Note: Fixed Bd -compact. Fixed vspace before Bd and Bl.
Files modified by kristaps: 2009-03-22 (16:55)
Note: More manuals.7.
Files modified by kristaps: 2009-03-22 (15:14)
Note: Backed-out STRIP_XO by default.
Files modified by kristaps: 2009-03-22 (15:10)
Note: Lint fixes.
Files modified by kristaps: 2009-03-22 (15:08)
Note: Removed Xo/Xc no-support notices.
Files modified by kristaps: 2009-03-22 (15:01)
Note: Stripping of Xo/Xc macros in main.c (ifdef STRIP_XO).
Files modified by kristaps: 2009-03-22 (10:35)
Note: More updates.
Files modified by kristaps: 2009-03-22 (10:28)
Note: More manuals.7 updates.
Files modified by kristaps: 2009-03-22 (10:09)
Note: Draft of manuals.7 for inspection.
Files modified by kristaps: 2009-03-22 (04:52)
Note: More documentation clarification.
Files modified by kristaps: 2009-03-21 (17:09)
Note: Fixes to dynamic addition of Bl width.
Files modified by kristaps: 2009-03-21 (13:14)
Note: Updated NetBSD pkgsrc to be like Joerg's.
Files modified by kristaps: 2009-03-21 (09:47)
Note: Freed more macros from zero-length restrictions. Fixed `Fn' spacing.
Files modified by kristaps: 2009-03-21 (09:37)
Note: Versioning.
Files modified by kristaps: 2009-03-21 (09:37)
Note: More macros freed from unnecessary limitations on numargs.
Files modified by kristaps: 2009-03-21 (09:26)
Note: Handling -width="" in lists.
Files modified by kristaps: 2009-03-21 (09:21)
Note: Versioning up.
Files modified by kristaps: 2009-03-21 (09:09)
Note: `Em' accepts empty tokens. Punctuation fully fixed (per-reserved-word). Sm enabled.
Files modified by kristaps: 2009-03-21 (05:50)
Note: Category devel -> textproc.
Files modified by kristaps: 2009-03-21 (05:48)
Note: Lint fixes.
Files modified by kristaps: 2009-03-21 (05:45)
Note: Versioning up.
Files modified by kristaps: 2009-03-21 (05:42)
Note: Added %Q macro.
Files modified by kristaps: 2009-03-21 (05:30)
Note: Fixed new partial-imp closure (wasn't action-ing closed scopes).
Files modified by kristaps: 2009-03-21 (05:20)
Note: Explicit-scope can break some implicit partial-block (Oc -> Op).
Files modified by kristaps: 2009-03-20 (18:01)
Note: Removed margin-break comment.
Files modified by kristaps: 2009-03-20 (17:58)
Note: Lintification.
Files modified by kristaps: 2009-03-20 (17:29)
Note: Casting fix.
Files modified by kristaps: 2009-03-20 (15:56)
Note: Proper .Dl literalism.
Files modified by kristaps: 2009-03-20 (12:43)
Note: Fixed literal-formatting error with `Dl'.
Files modified by kristaps: 2009-03-20 (11:14)
Note: Support for `Bd' of all types (see mdoc.7 for newline/tab rules). Renamed term.c and terminal.c functions to be term_. Some bugfixes to lists.
Files modified by kristaps: 2009-03-19 (16:43)
Note: Finished all symbols.
Files modified by kristaps: 2009-03-19 (14:30)
Note: Fixed mandoc read from stdin. Added some more groff_chars.
Files modified by kristaps: 2009-03-19 (12:40)
Note: Some Linux-isms.
Files modified by kristaps: 2009-03-19 (12:23)
Note: Pruned mmain.
Files modified by kristaps: 2009-03-19 (12:20)
Note: NetBSD lintified.
Files modified by kristaps: 2009-03-19 (12:18)
Note: Lintified & versioned.
Files modified by kristaps: 2009-03-19 (12:17)
Note: Split mdocterm.c -> main.c terminal.c. Abstracted output with -T selector (default ascii). Name change: mdocterm -> mandoc. Re-imported tree with -Ttree.
Files modified by kristaps: 2009-03-19 (07:49)
Note: Many more ASCII escapes added. Stripped nroff punt from mdocterm.c. Fixed multiple-file handling for mdocterm.c. Cleared up mdoc.h API.
Files modified by kristaps: 2009-03-17 (09:35)
Note: Clean up ASCII table's memory.
Files modified by kristaps: 2009-03-17 (05:33)
Note: [no log message]
Files modified by kristaps: 2009-03-17 (04:57)
Note: Added previous GEN files to SRCS.
Files modified by kristaps: 2009-03-16 (20:40)
Note: Mandoc fix.
Files modified by kristaps: 2009-03-16 (19:37)
Note: Changed e-mail address to @openbsd. Cleaned up manual-page documentation.
Files modified by kristaps: 2009-03-16 (18:19)
Note: Fixed mdoc_phrase escape handling. Added MDOC_IGNDELIM (Pf, soon Li, etc.). macro_constant_delimited ignargs -> argv.c parsing. Renamed macro functions to correspond to ontologies. `Fo' and `St' made callable (compat documented). strings.sh deprecated (directly using CPP). Abstracted ASCII translation into ascii.{c,in}. ASCII table uses a self-reordering chained hashtable. Removed old regressions.
Files modified by kristaps: 2009-03-16 (18:04)
Note: Deprecated old regression tests.
Files modified by kristaps: 2009-03-15 (06:34)
Note: Backed out all ANSI code.
Files modified by kristaps: 2009-03-15 (03:30)
Note: Fixed version string (no leading zero).
Files modified by kristaps: 2009-03-15 (03:18)
Note: getsubopt index fix.
Files modified by kristaps: 2009-03-15 (03:08)
Note: mdoclint accepts multiple files mdocterm punts to nroff if it fails parsing
Files modified by kristaps: 2009-03-14 (08:35)
Note: Added colour styles (not being used) to struct termp. Added nroff style-escape encoding. Removed ANSI schema string tables (there's only ANSI and nroff/backspace). Pushed styling directly into pword (simpler).
Files modified by kristaps: 2009-03-14 (01:36)
Note: Bumped version. Added \| (non-breaking space, like \&). Fixed termsym (TERMSYM_ALL).
Files modified by kristaps: 2009-03-14 (01:21)
Note: mdoc.3 refers to local mdoc.7. mdoc.7 includes its compatibility with system-dependent roff installations.
Files modified by kristaps: 2009-03-13 (10:17)
Note: Removed "regression" for OpenBSD (broken). Added mdoc.7 to include-in-dist hook.
Files modified by kristaps: 2009-03-13 (09:56)
Note: Finished initial mdoc.7.
Files modified by kristaps: 2009-03-13 (05:08)
Note: Updating mdoc.7.
Files modified by kristaps: 2009-03-13 (03:46)
Note: Added canonical mdoc.7. Added \q macro.
Files modified by kristaps: 2009-03-12 (19:05)
Note: Made syste-name macros callable (At, Bsx, etc.).
Files modified by kristaps: 2009-03-12 (12:30)
Note: Added -nested (doesn't do anything). Added .%C. .Cd is now callable. Added .Rv -std.
Files modified by kristaps: 2009-03-12 (11:55)
Note: NetBSD '.[[:whitespace:]]*' properly handled. mdoc.3 indicates compatibilities and bugs.
Files modified by kristaps: 2009-03-12 (02:38)
Note: Delimiters added to columns.
Files modified by kristaps: 2009-03-12 (02:33)
Note: Version up.
Files modified by kristaps: 2009-03-12 (02:32)
Note: Removed segfault with empty word. Initial "full" -column support.