From: des Date: Thu, 17 May 2007 11:48:35 +0000 (+0000) Subject: Add an XML+XSLT-based change log. Unlike the change logs for previous X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6992ff2c6383e4481241ae75f64623129074c829;p=varnish Add an XML+XSLT-based change log. Unlike the change logs for previous releases, this one was written by hand, which makes it user-readable. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1441 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/Makefile.am b/varnish-cache/Makefile.am index 80982b48..791388c1 100644 --- a/varnish-cache/Makefile.am +++ b/varnish-cache/Makefile.am @@ -1,5 +1,5 @@ # $Id$ -SUBDIRS = include lib bin man etc +SUBDIRS = include lib bin man etc doc EXTRA_DIST = LICENSE autogen.sh debian redhat diff --git a/varnish-cache/configure.ac b/varnish-cache/configure.ac index 2abdc9f3..d6620be7 100644 --- a/varnish-cache/configure.ac +++ b/varnish-cache/configure.ac @@ -19,6 +19,7 @@ AC_PROG_CPP AC_PROG_INSTALL AC_PROG_LIBTOOL AC_PROG_MAKE_SET +AC_CHECK_PROGS(XSLTPROC, [xsltproc]) # Checks for libraries. save_LIBS="${LIBS}" @@ -130,6 +131,7 @@ AC_CONFIG_FILES([ bin/varnishncsa/Makefile bin/varnishstat/Makefile bin/varnishtop/Makefile + doc/Makefile etc/Makefile include/Makefile lib/Makefile diff --git a/varnish-cache/doc/Makefile.am b/varnish-cache/doc/Makefile.am new file mode 100644 index 00000000..1712feec --- /dev/null +++ b/varnish-cache/doc/Makefile.am @@ -0,0 +1,12 @@ +# $Id$ + +CHANGELOGS = changes-1.0.4.html + +EXTRA_DIST = ${CHANGELOGS} + +CLEANFILES = ${CHANGELOGS} + +SUFFIXES = .xml .html + +.xml.html: + ${XSLTPROC} --xinclude -o $@ $< diff --git a/varnish-cache/doc/changes-1.0.3-1.0.4.xml b/varnish-cache/doc/changes-1.0.3-1.0.4.xml new file mode 100644 index 00000000..c453c2af --- /dev/null +++ b/varnish-cache/doc/changes-1.0.3-1.0.4.xml @@ -0,0 +1,206 @@ + + +]> + + + + varnishd + + + The request workflow has been redesigned to simplify + request processing and eliminate code duplication. All + codepaths which need to speak HTTP now share a single + implementation of the protocol. Some new VCL hooks have been + added, though they aren't much use yet. The only real + user-visible change should be that Varnish now handles + persistent backend connections correctly (see ). + + + + Support for multiple listen addresses has been + added. + + + + An "include" facility has been added to VCL, allowing + VCL code to pull in code fragments from multiple files. + + + + Multiple definitions of the same VCL function are now + concatenated into one in the order in which they appear in the + source. This simplifies the mechanism for falling back to the + built-in default for cases which aren't handled in custom + code, and facilitates modularization. + + + + The code used to format management command arguments + before passing them on to the child process would + underestimate the amount of space needed to hold each argument + once quotes and special characters were properly escaped, + resulting in a buffer overflow. This has been + corrected. + + + + The VCL compiler has been overhauled. Several memory + leaks have been plugged, and error detection and reporting has + been improved throughout. Parts of the compiler have been + refactored to simplify future extension of the + language. + + + + A bug in the VCL compiler which resulted in incorrect + parsing of the decrement (-=) operator has been + fixed. + + + + A new -C command-line option has been added + which causes varnishd to compile the VCL code + (either from a file specified with -f or the + built-in default), print the resulting C code and exit. + + + + When processing a backend response using chunked + encoding, if a chunk header crosses a read buffer boundary, + read additional bytes from the backend connection until the + chunk header is complete. + + + + A new ping_interval run-time parameter + controls how often the management process checks that the + worker process is alive. + + + + A bug which would cause the worker process to + dereference a NULL pointer and crash if the + backend did not respond has been fixed. + + + + In some cases, such as when they are used by AJAX + applications to circumvent Internet Explorer's over-eager disk + cache, it may be desirable to cache POST + requests. However, the code path responsible for delivering + objects from cache would only transmit the response body when + replying to a GET request. This has been + extended to also apply to POST. + + This should be revisited at a later date to allow VCL + code to control whether the body is delivered. + + + + Varnish now respects Cache-control: + s-maxage, and prefers it to Cache-control: + max-age if both are present. + + This should be revisited at a later date to allow VCL + code to control which headers are used and how they are + interpreted. + + + + When loading a new VCL script, the management process + will now load the compiled object to verify that it links + correctly before instructing the worker process to load + it. + + + + A new -P command-line options has been + added which causes varnishd to create a PID + file. + + + + The sendfile_threshold run-time parameter's + default value has been set to infinity after a variety of + sendfile()-related bugs were discovered on + several platforms. + + + + + varnishlog + + + When grouping log entries by request, + varnishlog attempts to collapse the log entry for + a call to a VCL function with the log entry for the + corresponding return from VCL. When two VCL calls were made + in succession, varnishlog would incorrectly omit + the newline between the two calls (see ). + + + + New -D and -P command-line + options have been added to daemonize and create a pidfile, + respectively. + + + + + varnishncsa + + + The formatting callback has been largely rewritten for + clarity, robustness and efficiency. + + If a request included a Host: header, + construct and output an absolute URL. This makes + varnishncsa output from servers which handle + multiple virtual hosts far more useful. + + + + + Documentation + + + The documentation—especially the VCL + documentation—has been greatly extended and improved. + + + + + Build system + + + The name and location of the curses or + ncurses library is now correctly detected by the + configure script instead of being hardcoded into + affected Makefiles. This allows Varnish to build correctly on + a wider range of platforms. + + + + Compatibility shims for clock_gettime() are + now correctly applied where needed, allowing Varnish to build + on MacOS X. + + + + The autogen.sh script will now correctly + detect and warn about automake versions which are + known not to work correctly. + + + + + diff --git a/varnish-cache/doc/changes-1.0.4.xml b/varnish-cache/doc/changes-1.0.4.xml new file mode 100644 index 00000000..739b1bd6 --- /dev/null +++ b/varnish-cache/doc/changes-1.0.4.xml @@ -0,0 +1,16 @@ + + + +]> + + + Varnish + 1.0.4 + + + + + + + diff --git a/varnish-cache/doc/changes-html.xsl b/varnish-cache/doc/changes-html.xsl new file mode 100644 index 00000000..bfbdd2fa --- /dev/null +++ b/varnish-cache/doc/changes-html.xsl @@ -0,0 +1,74 @@ + + + +]> + + + + + + + + + + <xsl:call-template name="title"/> + + +

+ + + +
+ + + Change log for&space; + + &space; + + + + +

+ Changes between&space; + + &space;and&space; + +

+ +
+ + +

+ +

+
    + +
+
+ + +
  • + +
  • +
    + + +

    + +

    +
    + + + + + http://varnish.projects.linpro.no/ticket/ + + + ticket # + + + +