Commit Graph

8 Commits

Author SHA1 Message Date
Julien Fischer
4f9a5944c6 Replace calls to obsolete predicates.
extras/cgi/cgi.m:
    As above.
2019-03-16 06:26:16 +00:00
Mark Brown
d465fa53cb Update the COPYING.LIB file and references to it.
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.
2018-06-09 17:43:12 +10:00
Julien Fischer
2a8be7bbf6 Replace '__' as module qualifier in rest of the extras.
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.
2014-12-29 16:48:17 +11:00
Julien Fischer
9fb4f15dfc Fix compilation problems in the extras distribution caused by recent
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.
2006-03-30 01:21:20 +00:00
Michael Day
f44b4114ca Fixed a bug that was causing cgi__parse_form_entries to return no
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.
2001-08-09 00:22:27 +00:00
Tyson Dowd
b588cf818b Fix a few problems in the Mercury cgi library.
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.
1998-10-13 04:32:32 +00:00
Fergus Henderson
297a19577b Add comment "This is intended to conform to versions 1.0 and 1.1
Estimated hours taken: 0.25

extras/cgi/cgi.m:
	Add comment "This is intended to conform to versions 1.0 and 1.1
	of the CGI specification.".
1997-07-15 14:46:52 +00:00
Fergus Henderson
2a4fa34859 New library modules to provide support for writing CGI scripts.
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.
1997-07-10 09:08:06 +00:00