about summary refs log tree commit diff
path: root/src/log2xml
AgeCommit message (Collapse)AuthorFilesLines
2005-08-01 * Escape ASCII characters < 32 to Unicode FFFD (REPLACEMENT CHARACTER)Eelco Dolstra1-1/+2
so that we don't produce un-wellformed XML.
2005-08-01 * Oops. XSL stylesheet to mark errors.Eelco Dolstra1-0/+24
2005-08-01 * Mark error lines in red, and expand subtrees containing errorsEelco Dolstra2-2/+14
automatically.
2004-03-27 * Do not close a nesting level twice after close() has beenEelco Dolstra1-1/+10
called explicitly on a Nest object.
2004-03-18 * Escape codes to force line breaks to be ignored.Eelco Dolstra1-1/+9
2004-03-18 * Added an extra escape code to signal "unimportant" messages. If a tree ↵Eelco Dolstra3-9/+46
only has unimportant messages, it is collapsed by the default. * Also added an optional integer argument to the escape code for opening a nesting level to indicate lack of importance. If set, the tree is collapsed by default.
2004-03-18 * Collapsable trees.Eelco Dolstra3-5/+65
2004-03-18 * Use unordered lists, which is more sensible semantically forEelco Dolstra2-50/+43
representing tree structures.
2004-03-18 * Don't use tables. Konqueror likes this much better.Eelco Dolstra2-71/+33
2004-03-17 * Display the popup directly over the abbreviation.Eelco Dolstra1-2/+2
2004-03-17 * A simpler way of implementing the store reference popups, thanks toEelco Dolstra2-17/+14
Martin and CSS guru Martijn Vermaat.
2004-03-16 * Store paths are now abbreviated in the generated HTML file.Eelco Dolstra3-13/+89
Hovering over the abbreviated path will reveal the full path. This probably only works in Mozilla.
2004-03-15 * Added a utility that can be used to produce nice HTML pages from NixEelco Dolstra4-0/+238
build logs. The program `log2xml' converts a Nix build log (read from standard input) into XML file that can then be converted to XHTML by the `log2html.xsl' stylesheet. The CSS stylesheet `logfile.css' is necessary to make it look good. This is primarily useful if the log file has a *tree structure*, i.e., that sub-tasks such as the various phases of a build (unpack, configure, make, etc.) or recursive invocations of Make are represented as such. While a log file is in principle an unstructured plain text file, builders can communicate this tree structure to `log2xml' by using escape sequences: - "\e[p" starts a new nesting level; the first line following the escape code is the header; - "\e[q" ends the current nesting level. The generic builder in nixpkgs (not yet committed) uses this. It shouldn't be to hard to patch GNU Make to speak this protocol. Further improvements to the generated HTML pages are to allow collapsing/expanding of subtrees, and to abbreviate store paths (but to show the full path by hovering the mouse over it).