+++ /dev/null
-#!/bin/awk -f
-function translate(str) {
- while (sub(/&/, "#amp;", str) == 1);
- while (sub(/#amp;/, "\\&", str) == 1); # fun isn't it ?
- while (sub(/</, "\\<", str) == 1);
- while (sub(/>/, "\\>", str) == 1);
- sub(/[0-9][0-9][0-9][0-9][0-9]+/, "<bug number='&'/>", str)
- return(str)
-}
-BEGIN {
- nb_entry = 0
- in_entry = 0
- in_item = 0
- print "<?xml version='1.0' encoding='ISO-8859-1'?>"
- print "<log>"
- }
-END {
- if (in_item == 1) printf("%s</item>\n", translate(item))
- if (in_entry == 1) print " </entry>"
- print "</log>"
- }
-/^[ \t]*$/ { next }
-/^[A-Za-z0-9]/ {
- match($0, "\(.*\) \([A-Z]+\) \([0-9][0-9][0-9][0-9]\) \(.*\) <\(.*\)>", loge)
- if (in_item == 1) printf("%s</item>\n", translate(item))
- if (in_entry == 1) print " </entry>"
- nb_entry = nb_entry + 1
- if (nb_entry > 50) {
- in_entry = 0
- in_item = 0
- exit
- }
- in_entry = 1
- in_item = 0
- printf(" <entry date='%s' timezone='%s' year='%s'\n who='%s' email='%s'>\n", loge[1], loge[2], loge[3], loge[4], loge[5])
- }
-/^[ \t]*\*/ {
- if (in_item == 1) printf("%s</item>\n", translate(item))
- in_item = 1
- printf(" <item>")
- match($0, "[ \t]*. *\(.*\)", loge)
- item = loge[1]
- }
-/^[ \t]*[a-zA-Z0-9\#]/ {
- if (in_item == 1) {
- match($0, "[ \t]*\(.*\)[ \t]*", loge)
- item = sprintf("%s %s", item, loge[1])
- }
- }
+++ /dev/null
-<?xml version="1.0"?>
-<!-- this stylesheet builds the ChangeLog.html -->
-<xsl:stylesheet version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
- <!-- Generate XHTML-1.0 transitional -->
- <xsl:output method="xml" encoding="UTF-8" indent="yes"
- doctype-public="-//W3C//DTD XHTML 1.0//EN"
- doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
-
- <xsl:template match="item">
- <li><xsl:apply-templates/></li>
- </xsl:template>
-
- <xsl:template match="entry">
- <p>
- <span class="author"><xsl:value-of select="@who"/> </span>
- <span class="date"><xsl:value-of select="@date"/> </span>
- <span class="timezone"><xsl:value-of select="@timezone"/> </span>
- </p>
- <ul>
- <xsl:apply-templates select="item"/>
- </ul>
- </xsl:template>
-
- <xsl:template match="log">
- <html>
- <body>
- <h1>Log of recent changes to libvirt</h1>
- <div id="changelog">
- <xsl:apply-templates select="entry"/>
- </div>
- </body>
- </html>
- </xsl:template>
-
-</xsl:stylesheet>
EXTRA_DIST= \
apibuild.py \
- site.xsl newapi.xsl news.xsl page.xsl ChangeLog.xsl \
+ site.xsl newapi.xsl news.xsl page.xsl \
$(dot_html) $(dot_html_in) $(gif) $(apihtml) $(apipng) \
$(devhelphtml) $(devhelppng) $(devhelpcss) $(devhelpxsl) \
$(xml) $(fig) $(png) \
$(patches) \
sitemap.html.in \
- ChangeLog.awk \
todo.pl todo.cfg-example
MAINTAINERCLEANFILES = $(dot_html) $(apihtml) $(devhelphtml)
web: $(dot_html) html/index.html devhelp/index.html
-ChangeLog.xml: ../ChangeLog ChangeLog.awk
- $(AWK) -f ChangeLog.awk < $< > $@
-
-ChangeLog.html.in: ChangeLog.xml ChangeLog.xsl
- @if [ -x $(XSLTPROC) ] ; then \
- echo "Generating $@"; \
- name=`echo $@ | sed -e 's/.tmp//'`; \
- $(XSLTPROC) --nonet $(top_srcdir)/docs/ChangeLog.xsl $< > $@ \
- || { rm $@ && exit 1; }; fi
-
todo.html.in: todo.pl
if [ -f todo.cfg ]; then \
echo "Generating $@"; \
<body>
<h1 >Releases</h1>
<p>Here is the list of official releases, it is also possible to just use the <a href="downloads.html">GIT version or snapshot</a>, contact the mailing list
-and check the <a href="ChangeLog.html">ChangeLog</a> to gauge progress.</p>
+and check the <a href="http://libvirt.org/git/?p=libvirt.git;a=log">GIT log</a> to gauge progress.</p>
<h3>0.8.4: Sep 10 2010</h3>
<ul>
<li> Features:
<span>Details of new features and bugs fixed in each release</span>
<ul>
<li>
- <a href="ChangeLog.html">Changelog</a>
+ <a href="http://libvirt.org/git/?p=libvirt.git;a=log">Git log</a>
<span>Latest commit messages from the source repository </span>
</li>
</ul>