2003-06-05  Per Bothner  <per@bothner.com>

	* ServletCallContext.java (getBaseUri):  Use entire request url,
	not just scheme+directory prefix.

2003-05-08  Per Bothner  <per@bothner.com>

	* KawaServlet.java (doGet):  Unwrap WrappedException.

	* KawaPageServlet.java (getProcedure):  Set file name of InPort.

	* KawaPageServlet.java (getProcedure):  Catch SyntaxException.

2003-03-02  Per Bothner  <per@bothner.com>

	* KawaPageServlet.java (getProcedure):  Use getOutputStream instead
	of getWriter.to avoid a possible IllegalStateException.

	* ServletCallContext.java (getBaseUri):  New method.

2003-02-20  Per Bothner  <per@bothner.com>

	* KawaPageServlet.java:  New class.  Contributed by Ivelin Ivanov
	<ivelin@apache.org> and Tom Reilly <treilly@macromedia.com>.
	* KawaServlet.java (doGet):  Catch exceptions.
	(apply(CallContext)):  Add throws specification.
	* Makefile.am (java_sources):  Added KawaPageServlet.java.

2002-07-29  Per Bothner  <per@bothner.com>

	* ServletCallContext.java:  Make class public.
	(getServletCallContext, getRequest, getResponse, getServlet,
	getServletConfig, getServletContext):  New static methods.
	* GetResponse.java:  Implement Inlineable.
	(compile, getReturnType):  New methods.
	(getReponse):  New static method.

	* ServletPrinter.java (addHeader):  Handle "Status", calling sendError.
	* CGIServletWrapper.java (statusCode, statusString):  New fields.
	(sendError, setStatus):  Provide implementations.
	(printHeaders):  Handle non-null statusCode.

2002-03-02  Per Bothner  <per@bothner.com>

	* HTTP.scm:  Moved to gnu/kawa/slib.
	* Makefile.am:  Simplify accordingly.

2002-02-14  Per Bothner  <per@bothner.com>

	* CGIServletWrapper.java:  Implement ServletContext.
	Add necessary methods.
	(getServletContext):  Return this.
	(getRequestURL):  Emit '/' between server-name and request-uri.
	* KawaServlet.java (doGet):  Call CallContext.setInstance if need be.
	* Makefile.am (SCM_COMPILE_FLAGS):  Specify --full-tailcalls.
	* ServletPrinter.java (addHeader):  Maybe set super.sawContentType,
	but don't call super's addHeader.
	(PrintHeaders):  New, empty method.
	(printHeader):  Removed - no longer needed.

2002-02-13  Per Bothner  <per@bothner.com>

	* KawaServlet.java )doGet):  Don't call CallContext.setInstance.

2002-02-05  Per Bothner  <per@bothner.com>

	* CGIServletWrapper.java:  Also implement ServletConfig.
	(getInitParameter, getInitParameterNames, getServletContext,
	getServletName):  New methods, needed to implement ServletConfig.
	(main):  Call init on servlet, passing in the CGIServletWrapper.

2002-01-31  Per Bothner  <per@bothner.com>

	* HTTP.scm (response-header, response-content-type, request-path-info,
	request-path-translated, request-query-string):  New procedures.

	* Makefile.am (EXTRA_DIST):  Add scm files.

2002-01-29  Per Bothner  <per@bothner.com>

	* CGIServletWrapper.java:  New class, to wrap servlets as CGI scripts.
	* HTTP.scm:  New helper functions, to access http parameters.
	* Makefile.am:  Update accordingly.  Thsi incldues adding rules
	for compiling the new HTTP.scm module.

2002-01-19  Per Bothner  <per@bothner.com>

	* KawaServlet.java (doGet):  Use CallContext.setInstance.

2002-01-13  Per Bothner  <per@bothner.com>

	* ServletPrinter.java:  New class, extends HttpPrinter.
	* Makefile.am (java_sources):  Added ServletPrinter.java.
	* KawaServlet.java (doGet):  Use new ServletPrinter.
	Let latter do setContentType, so odn't do it here.
	Likewise. don't emit <html> and </html>.
	On the other hand, do emit beginDocument and endDocument.

2001-11-24  Per Bothner  <per@bothner.com>

	* GetRequest.java:  Now implements Inlineable.

	* KawaServlet.java (apply):  No longer final.  Needs to be overridden
	if servlet contains a function definition.  Make body empty - not used.

2001-11-18  Per Bothner  <per@bothner.com>

	* ServletCallContext.java:  New file, old class moved
	from KawaServlet.java into its own file.

	* GetRequest.java:  New class, extends CpsProcedure.
	* GetResponse.java:  New class, extends CpsProcedure.
	* Makefile.am (java_sources):  Update accordingly.

2001-10-11  Per Bothner  <per@bothner.com>

	New package.
	* KawaServlet.java:  New class.
	* Makefile.am:  New.
