Discussion of these changes can be found on the Mercury developers
mailing list archives from June 2018.
COPYING.LIB:
Add a special linking exception to the LGPL.
*:
Update references to COPYING.LIB.
Clean up some minor errors that have accumulated in copyright
messages.
extras/*/*.m:
Replace the use of '__' as a module qualifier in the rest of
the extras.
s/io\.state/io/ in the extras.
Use '=' instead of is/2 in a spot.
Estimated hours taken: 0.5
Branches: main
Fix compilation problems in the extras distribution caused by recent
changes.
extras/stream/stream.m:
Provide a definition for the type stream/1.
extras/*/*.m:
Conform to the recent changes to the standard library.
Estimated hours taken: 0.5
Branches: main
Fixed a bug that was causing cgi__parse_form_entries to return no
parameters when processing a posted form containing a single parameter.
Estimated hours taken: 1
Fix a few problems in the Mercury cgi library.
extras/cgi/cgi.m:
Add cgi__maybe_get_form which processes forms
if they are called using POST, otherwise it will return "no".
This allows the form to handle the error itself, perhaps
by giving the input form.
Also fix a bug in printing the error message -- the
content type must be set even for error messages.
Estimated hours taken: 8
extras/cgi/cgi.m:
extras/cgi/html.m:
New library modules to provide support for writing CGI scripts.
extras/cgi/forms_test.m:
An example program to test the above two modules.