Commit Graph

49 Commits

Author SHA1 Message Date
interp ca7e42cfa0 use scheme-with-scsh where appropriate. 2003-02-19 18:47:04 +00:00
interp da98c4b78c factor out GET-HEADER 2003-02-19 17:05:16 +00:00
interp 71650fbb41 catch every condition only for load-config et al.; otherwise catch only errors. 2003-02-19 09:43:29 +00:00
interp 21f62d5d8e + REQUEST object extended for SUrflets by INPUT-PORT
+ SURFLET-REQUESTs used in SUrflets
+ Use MAKE-INPUT-RESPONSE to generate SUrflet responses
2003-02-17 10:09:24 +00:00
interp 8e07bc1b07 Remove export of disappeared OPTIONS-SURFLET-PREFIX 2003-01-28 20:44:48 +00:00
interp 3d3655960b + Outhouse some components of surflet-handler.
+ Textual restructuring of surflet-handler.
+ Comments added.
2003-01-25 16:09:03 +00:00
interp 3f3bf045de Add SEND-ERROR, that sends an error. 2003-01-24 16:02:29 +00:00
interp 90df993fe2 remove double entries; minor name change 2003-01-24 15:28:25 +00:00
interp 6358463b5a + Change interface of SEND/SUSPEND, SEND/FINISH, SEND:
They expect SURFLET-RESPONSE objects now (not HTTP-RESPONSE).
+  SEND-HTML/SUSPEND, SEND-HTML/FINISH, SEND-HTML respect this.
2003-01-24 15:23:51 +00:00
interp 27f6c5a832 + complete renaming SERVLET->SURFLET
+ adjust to recent changes in RFC822 (surflets.scm, packages.scm)
2003-01-22 12:53:46 +00:00
sperber c58f265b5b Rename HTTPD-ERROR -> HTTPD-ERRORS. 2003-01-21 16:16:56 +00:00
interp 61fc543af2 Rename SERVLET --> SURFLET 2003-01-19 16:57:27 +00:00
interp 422a1db09f Add note about danger of killing / deleting current continuation.
Add current session's id and current session's continuation's id in
this message.
2003-01-16 12:53:10 +00:00
interp da98e19193 Force the result of the servlet to be printed into a string-port.
The servlet programmer is (nearly) unaware of this.

This removes the problem that arises if send/suspend is called in HTTPD
while transmitting data to the browser.
2003-01-14 11:27:42 +00:00
interp 4606552c2b rename INSTANCE to SESSION and SESSION to INSTANCE 2002-12-07 22:26:40 +00:00
interp ba04964918 fix typo in SERVLETS' open-clause 2002-12-02 08:39:10 +00:00
sperber 2442e88ab7 Renamed HTTPD-REQUEST to HTTPD-REQUESTS, now conforming to Scheme 48
convention.
2002-11-26 12:52:39 +00:00
interp fb75cd4efe Add infrastructure for saving default values in get-results. 2002-11-09 17:17:14 +00:00
interp 223c1da086 Rename TRY-INPUT-FIELD-VALUE --> INPUT-FIELD-VALUE and
INPUT-FIELD-VALUE --> RAW-INPUT-FIELD-VALUE simultanously.
Thus, the WITH-FATAL-ERROR-HANDLER wrappers are not needed anymore.
2002-11-07 20:41:35 +00:00
interp a03e5914da new TRY-INPUT-FIELD-VALUE returns #f, if INPUT-FIELD-VALUE fails 2002-11-07 14:11:05 +00:00
interp d026036bf3 Simple servlet api adopted from PLT. Example included 2002-11-03 17:43:58 +00:00
interp 25976c1f39 export ADJUST-TIMEOUTdon't need defrec-package anymore 2002-10-21 08:42:09 +00:00
interp fa61699155 MAKE-UPPER-INPUT-FIELD --> MAKE-HIGHER-INPUT-FIELD 2002-10-09 15:25:14 +00:00
interp db331ad0e3 Wrap error-handler around calls to LAUNCH-NEW-INSTANCE and RESUME-URL
in SERVLET-HANDLER.  This will catch most errors, but will fail on
some, e.g. procedure called with wrong number of arguments. As far as
I see, the problem is the underlying error reporting system of
Scsh/Scheme48. Maybe I'm wrong.
2002-10-09 15:12:33 +00:00
interp f981b2505a export SEND in servlets 2002-10-03 11:20:05 +00:00
interp 04ba0986d3 let forms do POST requests by default (currently unchangeable) 2002-10-03 00:45:41 +00:00
interp 30aca350b9 feature servlet-data added 2002-10-03 00:15:44 +00:00
interp f9f854ef85 add possibility to serve non-Scheme files 2002-10-02 23:47:07 +00:00
interp 20ff8816a9 + feature: return-addresses; lets servlets give more than one possible
address for the next step
+ plain-html: leaves given text untouched, like quote in scheme
              don't call it quote, because it is too similar to the
	      HTML's tag <q> (that stands for 'quote')
2002-10-02 20:28:39 +00:00
interp 74acc71447 add INPUT-FIELD-BINDING 2002-10-02 18:22:01 +00:00
interp cc681e0a69 MAKE-SELECT-INPUT-FIELDS --> MAKE-SELECT-INPUT-FIELD 2002-10-02 13:37:41 +00:00
interp d3827d8e72 some renames, some more exports in SERVLET-HANDLER/ADMIN 2002-10-01 17:42:06 +00:00
interp 85e75950a3 rename PLUGIN --> SERVLET 2002-10-01 12:33:39 +00:00
interp 62ed566572 adjust to recent code writing: more export in SERVLET-HANDLER/ADMIN, some import to SERVLET-HANDLER 2002-10-01 12:10:58 +00:00
interp 2579598783 + servlet-handler/admin structure gives runtime
access to servlet-handler options
+ several constructors for form input fields
2002-09-30 14:43:15 +00:00
interp aa7bcc6186 + add option instance-lifetime along with some functions
+ add instance surveillance thread that kills instance after
  a period of time
2002-09-29 15:20:36 +00:00
interp bfbeb49125 add CACHE-PLUGINS? option 2002-09-29 13:43:39 +00:00
interp 0b6e68a2c0 added upper-input-field type 2002-09-27 17:29:31 +00:00
interp 376a8b1a70 remove superfluous line 2002-09-27 15:25:15 +00:00
interp 9c6db22736 export input-field primitives from servlets 2002-09-27 15:19:42 +00:00
interp c28d6cf153 renaming UTILTIES.SCM to SERVLETS.SCM and structure PLUGIN-UTILITIES to SERVLETS 2002-09-25 13:02:31 +00:00
interp 9f2754cff5 first shot on servlet's new form interface 2002-09-24 16:56:00 +00:00
interp 8e4a0c2872 remove incongruousnesses of previous accident commit 2002-09-24 09:12:58 +00:00
interp 0d9b85d156 extend plugin-utilities structure (send-html/suspend, etc.) 2002-09-24 08:19:41 +00:00
interp 74e26ddeb5 add conditions to servlet-handler's open clause 2002-09-21 20:20:29 +00:00
interp abd747a49b * use Oleg's SSAX (SSAX->HTML et al.)
* add continuation counter in servlet-handler, thus the generated continuation
  urls are a bit more human readable.
2002-09-19 11:16:29 +00:00
interp 911c56e668 change to srfi-27 for random bits 2002-09-18 15:32:41 +00:00
interp f6d1babc7b added structures:
* shift-reset
* profiling

changed:
open profiling and shift-reset in servlet-handler
2002-09-14 16:48:59 +00:00
interp d5b2b448d9 first shot on adding servlets to HTTPD 2002-09-13 07:21:19 +00:00