Path to this page:
Subject: CVS commit: pkgsrc/devel/guile-www
From: Greg Troxel
Date: 2014-10-09 02:57:11
Message id: 20141009005711.8A1F998@cvs.netbsd.org
Log Message:
Update to 2.38.
- 2.38 | 2014-10-08
- bug-report address changed
Please send bug reports to the address shown by running command:
./configure --help
Mail sent to the previous address is likely to be misplaced.
- bugfixes
- âparse-formâ uses âlistâ instead of âvaluesâ
NB: Backward-incompatible change.
Previously, this â(www server-utils form-2-form)â proc would use
âvaluesâ for form elements that have type info, consing the
result into the returned alist. Unfortunately, use of âvaluesâ
outside a âcall-with-valuesâ context (e.g., as a container, as
in this case) is not supported by Guile 2.x.
Now, the four pieces of type info are packaged w/ âlistâ.
- support for VPATH "make check"
Previously VPATH "make check" failed to initialize each test's
infrastructure (i.e., v/common). Now it takes into account the
configure-substituted and Makefile var âsrcdirâ as well.
- new optional arg âu8â
- â(www url-coding) url-coding:decodeâ
This proc now takes an optional arg U8, which if non-â#fâ, means
to return a u8vector instead of a string.
- â(www server-utils parse-request) alist<-queryâ
This proc now takes an optionl arg U8, which if non-â#fâ, means
to return u8vectors instead of strings for names and values.
- changes to â(www server-utils form-2-form) parse-formâ
- non-string args ok
The first arg can now be a form:
((multipart . MINOR) PARAMETER...)
i.e., the parsed form of the Content-Type header's value.
Relatedly, the arg's documented name is now simply TYPE.
The second arg can now be an integer specifying the number of
bytes to read from the current input port.
For backward compatibility, TYPE and RAW-DATA can also be
strings.
- sub âmultipart/mixedâ better recognized
Previously, a (sub) part w/ "Content-Type: multiPART / miXed"
(for instance) would be handled opaquely. Now, such a header is
properly recognized and recursed into. Sigh, one has to wonder:
Will there ever be a more tightly specified MIME 2.0?
- CGI file-uploads can now be done in "move u8" style
Proc â(www cgi) cgi:initâ now accepts options âmoveâ, which
controls how file-uploads are handled. When specified, the
uploaded files are returned as procedures that can be called to
write the actual contents of the file (a u8vector) to a port or
to return those contents directly. This option takes precedence
over âuploads-lazyâ.
Another new option is âmove-simple-text/plainâ, which only is
meaningful if âmoveâ is also specified. This simplifies the
value of form parameters with MIME type âtext/plainâ to a
string, discarding other MIME information.
See examples/id.cgi.in for how to use these options.
- "make check" locale support
You can customize (somewhat) the locale that tests use by
manipulating file v/testing-locale. See README.
- bootstrap tools upgraded
- GNU Automake 1.14.1
- Guile-BAUX 20140110.0849.39e9660
Files: