discuss@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mdocml version 1.11.4 available
@ 2011-07-12 10:11 Kristaps Dzonsons
  0 siblings, 0 replies; only message in thread
From: Kristaps Dzonsons @ 2011-07-12 10:11 UTC (permalink / raw)
  To: discuss

[-- Attachment #1: Type: text/plain, Size: 420 bytes --]

Hello,

I'm pleased to announce mdocml 1.11.4, now at http://mdocml.bsd.lv/.
This release has no feature improvements (except in makewhatis), 
consisting instead of formatting improvements across all systems.  The 
most significant area of improvement was in -man documents.

As usual, sources are at http://mdocml.bsd.lv/snapshots/mdocml.tar.gz. 
Enclosed is the ChangeLog since the last version.

Thanks,

Kristaps




[-- Attachment #2: ChangeLog --]
[-- Type: text/plain, Size: 9707 bytes --]

2011-07-12 06:04  kristaps

	* index.sgml: Small HTML compatibility fix.

2011-07-12 06:03  kristaps

	* makewhatis.c: Fixed some uninitialised values found during lint
	  check.

2011-07-12 04:27  kristaps

	* Makefile, index.sgml: Note version 1.11.4 bits.  Here we go!

2011-07-11 17:56  kristaps

	* makewhatis.1, makewhatis.c: Fairly straightforward patch adding
	  basic update (-u) and remove (-r) functionality to makewhatis.
	  This is somewhat expensive (requiring the index file to be
	  trawled multiple times), but it's a good start.

2011-07-11 05:44  kristaps

	* makewhatis.1: Use mandoc.1's error codes (we use them
	  internally).

2011-07-11 05:40  kristaps

	* makewhatis.1: Note we're no longer using temporary files.

2011-07-11 05:36  kristaps

	* makewhatis.c: Don't use a temporary buffer (unless people yell to
	  have it back in), and clean up the parse process a bit.  No big
	  changes.

2011-07-11 04:45  kristaps

	* mdoc.7: Be more specific about `Dv', `Er', and `Ev'.

2011-07-11 04:43  kristaps

	* mandoc.3: Make sure constants in mandoc.3 use the `Dv' macro.

2011-07-10 09:03  kristaps

	* makewhatis.c: Have descriptions for -man documents in makewhatis
	  be properly collected.

2011-07-09 06:26  kristaps

	* TODO: Spaces must be preserved in -T[x]html literal mode.

2011-07-08 05:35  kristaps

	* man.7: Clarify the role of `RS' in man(7) and also fix a bogus
	  cross-reference.

2011-07-08 05:34  kristaps

	* man_validate.c: Make sure that `br' and `sp' don't emit space
	  before the initial `SH' in -man.  This actually seems to be what
	  groff does.  Sort-of.  Anyway, it's required to get perlpod pages
	  rendered nicely, so until perlpod stops producing shit, do it.
	  Ok schwarze@.

2011-07-08 05:28  kristaps

	* roff.c: Fix two issues: the first, where a `.\}' wasn't being
	  interpreted as a proper macro in some conditions, resulting in
	  strange parse errors.  The second, where `\}' was being
	  re-written as `\&'.  Instead, we re-write this as two spaces OR
	  nothing at all, if at the end of line.  This isn't exactly what
	  groff does (who knows...) but is a much safer and better way than
	  how I was doing it before.

2011-07-07 10:34  kristaps

	* html.c: Fix handling of the `\c' escape in -T[x]html.

2011-07-07 09:54  kristaps

	* man_html.c: Considerably fix up -man -T[x]html's handling of
	  verbatim spaces (`nf'), which before were being handled
	  erratically.

2011-07-07 09:26  kristaps

	* man_html.c: Clean up how -man -T[x]html handles TP, IP, and HP
	  (dd lists and indented paragraph macros, respectively).  This
	  cleans up code and also cleans up the output quite a lot.

2011-07-07 02:41  kristaps

	* chars.c: Simplify chars.c---there's really no need for extra code
	  to reorder the hash chain or an extra function for checking
	  matches.

2011-07-07 02:34  kristaps

	* TODO: Note the strange `if'+newline issue raised by schwarze@.

2011-07-07 01:42  kristaps

	* man_macro.c: Fix a bug in the -man parser where deleting nodes
	  (such as `PP' or `LP' in certain situations) caused the next
	  macros to be assigned as siblings instead of child nodes to the
	  original parent.  Noticed and ok by schwarze@.

2011-07-04 08:02  kristaps

	* Makefile: Install sources with mode 0644.  Noted by Jack Nagel.
	  Ok schwarze@.

2011-07-04 05:42  kristaps

	* html.c, mdoc_html.c: The bufcat() function in -T[x]html was
	  eating one byte off the end of its concatenated string.  This for
	  some reason hasn't been found before now... ? Anyway, fixed, and
	  make the IDs created again be correctly prefixed by a letter as
	  per the HTML spec.

2011-07-03 18:57  kristaps

	* TODO, man.7, man_html.c, man_term.c: Fix a TODO noted by
	  schwarze@, originally by Christian Weisgerber: literal mode
	  (`nf') is ended by SH (and, it turns out, SS as well).  Noted the
	  updated behaviour in man.7 as well.

2011-07-03 18:40  schwarze

	* TODO: two new bugs reported by naddy@:  - .\} breaks	- .SH
	  implies .fi

2011-07-03 16:54  kristaps

	* Makefile: We obviously need man.h and mdoc.h installed as
	  mentioned in mandoc.3.

2011-07-01 09:46  kristaps

	* makewhatis.1, makewhatis.c: Added `Er' in ERRORS scan to
	  makewhatis.

2011-07-01 08:02  kristaps

	* makewhatis.1, makewhatis.c: Added search for `Ev' environment
	  variables in ENVIRONMENT section.

2011-07-01 06:46  kristaps

	* makewhatis.c: Allow `Nd' scarfed data to allow for non-text nodes
	  as the first node, as well.

2011-07-01 06:20  kristaps

	* index.sgml: Add some notes to index.sgml.  This does not signal a
	  release.

2011-07-01 06:17  kristaps

	* makewhatis.c: Make scan for text tokens in a line recursive.
	  This is really only for the benefit of `Nd', which is the only
	  [to date] node that can consist of sub-nodes.

2011-07-01 05:11  kristaps

	* makewhatis.1, makewhatis.c: Add path reference (`Pa' in FILES
	  section).

2011-06-30 04:05  kristaps

	* TODO, roff.c: Ouch: predefined strings moved into roff.c weren't
	  being reinitalised after the first parse.  Do this, but note
	  there are more efficient ways just waiting for a table of macros.

2011-06-29 11:38  kristaps

	* TODO, man_html.c, man_term.c, mdoc_html.c, mdoc_term.c: First fix
	  how `sp 1' doesn't imply `1v' (it now does) and that 1 followed
	  by non-digits, e.g. `1g', really means `1'.  Next, fix some
	  spacing issues where `sp' was invoked in -man after sections or
	  subsections.	Make sure this behaviour is mirrored in -Thtml.

2011-06-25 09:19  kristaps

	* makewhatis.1, makewhatis.c: Add cross-reference records to
	  makewhatis.

2011-06-22 18:10  kristaps

	* mandoc.3: Add more documentation for libmandoc.

2011-06-22 06:36  kristaps

	* makewhatis.1, makewhatis.c: Clean up makewhatis.c a little bit
	  and add verbosity (-v).

2011-06-22 05:10  kristaps

	* makewhatis.c: Make sure hash is initialised to NULL and remove an
	  unused variable.

2011-06-22 05:00  kristaps

	* makewhatis.c: Try again to get the transfer from hash to btree
	  working.  This time just closing and re-opening the database, as
	  deleting records with (*hash->del) either in the scan loop or
	  after it causes uncertain behaviour (left-over keys, mystery
	  keys, etc.).	This finally does the Right Thing (tm).

2011-06-21 19:37  kristaps

	* makewhatis.c: Fix broken transfer from hashtable to btree for
	  makewhatis.c.

2011-06-21 10:51  kristaps

	* index.sgml: Note mandoc-cgi -> mandoc-tools.

2011-06-21 10:16  kristaps

	* Makefile, makewhatis.1, makewhatis.c: Let descriptions (bit-mask
	  0x100) also be mined for text.  This doubles the database size
	  (one record for each file), but it's critical information.

2011-06-21 09:54  kristaps

	* makewhatis.c: Have descriptions also use struct buf.	 This
	  completes the internal migration to in-memory hashing and passing
	  buffers instead of DBTs.

2011-06-21 09:13  kristaps

	* Makefile, makewhatis.c: Don't let empty strings into the
	  makewhatis keyword database.

2011-06-21 09:09  kristaps

	* makewhatis.1: Make sure makewhatis.1 is documenting the correct
	  bit-fields.

2011-06-21 09:05  kristaps

	* makewhatis.c: Big change to makewhatis: use an in-memory
	  hashtable to collapse multiple types of the same name (e.g.,
	  "foo" being a manual name, utility name, etc.) into a single
	  bitmask'd region.  This considerably reduces the size of the
	  keyword database.

2011-06-18 16:34  kristaps

	* man_html.c: Make -T[x]html in -man also be aware of the
	  vertical-space issues in the last few commits.

2011-06-18 13:58  kristaps

	* TODO, man_html.c, man_term.c: Fix two TODOs with one check-in.
	  Both of these relate to vertical space before paragraphs and/or
	  within `RS' blocks.

2011-06-18 13:36  kristaps

	* TODO, man_macro.c, man_term.c: Allow RS/RE blocks to nest.  This
	  requires first the syntax tree to accomodate for the fix, then
	  for the front-ends.  -T[x]html accepted the syntax tree natively,
	  but -Tascii had to use relative offsets.  It's quite a simple
	  fix.

	  From a TODO by {dcoppa,dsoares}@openbsd.

2011-06-18 12:53  kristaps

	* mdoc_argv.c: Add back in a check that the leading `-' exists for
	  arguments.  This mysteriously disappeared in 1.14.  No idea why.
	  While here, remove an unnecessary header and order the function
	  prototypes.

2011-06-18 12:29  kristaps

	* mdoc_argv.c: Clean-up: remove a function only called once.

2011-06-18 12:18  kristaps

	* TODO, mdoc_argv.c: Fix an assertion failure raised by the
	  following interesting scenario: a auto-opened `It' (i.e., a
	  column list with a free-text first line) with leading spaces in
	  the line triggering assertion when searching for arguments.

	  This led to a fix giving a nice performance speed-ups (a few
	  percent, with some quick trials): the search for flags
	  immediately exits if the macro has no flags, instead of having to
	  first parse the leading word then look it up.  I also cleaned up
	  the argv parsing stuff a little bit and added more documentation.

	  This comes from a TODO by joerg@.

2011-06-16 18:21  kristaps

	* mdoc_html.c: Have -T[x]html print out the link target for `Lk' if
	  no link title is provided.  From a patch by Tim van der Molen.

2011-06-12 08:13  joerg

	* TODO: Add note about crash on invalid found in the NetBSD tree

2011-06-11 11:41  schwarze

	* TODO: .Nm in-line/block issues reported by uqs@

2011-05-30 03:24  kristaps

	* mandoc.1: Fix some bad bits in the mandoc manual: `Xr' instead of
	  `Sx', unescaped stuff that should be escaped, and a style matter
	  or two.  Pointed out by Jason McIntyre, thanks!

2011-05-26 19:01  kristaps

	* makewhatis.1: Remove untrue CAVEAT in makewhatis.1.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-07-12 10:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-12 10:11 mdocml version 1.11.4 available Kristaps Dzonsons

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).