Commit Graph

44 Commits

Author SHA1 Message Date
interp 2d7a37f060 unify dispatcher: RETURNED-VIA? accepts now input-fields as well as return-addresses. 2003-02-19 18:42:45 +00:00
interp da98c4b78c factor out GET-HEADER 2003-02-19 17:05:16 +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 e32b78badb Add comments about thread safety. 2003-01-25 16:33:50 +00:00
interp 0bee80fadf Remove bug from POST forms: Let GET-HEADER return only the header
value.
2003-01-25 12:19:54 +00:00
interp 1dcee71722 Use ASSQ instead of ASSOC in GET-HEADER 2003-01-24 15:29:30 +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
interp 61fc543af2 Rename SERVLET --> SURFLET 2003-01-19 16:57:27 +00:00
interp 92d760a1cd Tell browser not to cache supples by an HTTTP header. 2003-01-17 17:39:07 +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
sperber 0754b74963 Replace integer HTTP status codes by finite record type instances. 2003-01-09 15:05:30 +00:00
sperber 4e859bc92a - renamed USERHOST:xxx to USERHOST-xxx
- renamed HTTP-URL:xxx to HTTP-URL-xxx
2002-11-29 14:56:58 +00:00
sperber 641b8129ba Renamed REQUEST:xxx to REQUEST-xxx. 2002-11-29 14:49:22 +00:00
interp 2d97ef42bc remove sub-attribute-bug from select and radio input fields 2002-11-09 16:46:26 +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 45a4c810a1 Create HTML page before creating response object.
This enables the possibility to nest calls to the SEND-HTML/SUSPEND and
similar, but disables the access to the HTTPD-OPTIONS (that wasn't granted
anyway, currently). This makes the add.scm servlet working again.
2002-11-05 21:32:58 +00:00
interp 9815824581 remove small typo from MAKE-PASSWORD 2002-11-03 17:42:27 +00:00
interp a49fbee71f Change argument order in EXTRACT-BINDINGS and EXTRACT-SINGLE-BINDING to
fit the one of the equivalent PLT procedure.
2002-10-26 15:40:26 +00:00
interp ddae6cfb3c cache GET-BINDINGS-RESULTS' results of POST requests with weak-pointers 2002-10-26 15:20:56 +00:00
interp fa61699155 MAKE-UPPER-INPUT-FIELD --> MAKE-HIGHER-INPUT-FIELD 2002-10-09 15:25:14 +00:00
interp 9e5d62aa77 In MAKE-NUMBER-INPUT-FIELD set default value field only if default
text is given.
2002-10-05 11:58:52 +00:00
interp 9fb5c80f65 let MAKE-CHECKBOX-INPUT-FIELD accept a further argument: checked or
not
2002-10-04 15:29:50 +00:00
interp 7b81dbdd98 SERVLET-FORM accepts a method specifier:
SERVLET-FORM return-address [method] [attributes] [elements]
2002-10-04 14:31:28 +00:00
interp 85b0d91475 MAKE-SELECT-INPUT-FIELD can now create select input fields with multiple
selections. INPUT-FIELD-VALUE will always return a (possible empty) list in
the multiple case.
2002-10-04 13:56:46 +00:00
interp 08eee1915b If URL in SHOW-OUTDATED is #f, no reload address is shown. 2002-10-03 13:28:31 +00:00
interp 29abe30461 let MAKE-NUMBER-INPUT-FIELD accept a default value 2002-10-03 12:28:36 +00:00
interp 47424d504f Hit me! 2002-10-03 12:02:47 +00:00
interp 7c3ca073dd let EXTRACT-BINDINGS return strings, not bindings 2002-10-03 11:58:27 +00:00
interp 04ba0986d3 let forms do POST requests by default (currently unchangeable) 2002-10-03 00:45:41 +00:00
interp 091f5ab590 prepare for POST requests 2002-10-03 00:18:10 +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 03eeb86a5f factor out transformers 2002-10-02 12:02:56 +00:00
interp e68b320eb0 allow default text for text input fields 2002-10-01 17:40:08 +00:00
interp 85e75950a3 rename PLUGIN --> SERVLET 2002-10-01 12:33:39 +00:00
interp 4fdd1cdbbb OUTDATER added; URL tag accepts more text fields now 2002-10-01 12:10:15 +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 d6c4304f45 callbacks get the REQUEST, not the BINDINGS 2002-09-29 16:42:53 +00:00
interp 06c8b5ea5d add GET-BINDINGS: gets bindings out of REQUEST 2002-09-29 13:43:08 +00:00
interp 0b6e68a2c0 added upper-input-field type 2002-09-27 17:29:31 +00:00
interp 99fb8f3e32 + major change in internal representation of forms and its elements
+ SERVLET-FORM now introduces a special form with our input-fields
+ servlet-forms may be nested
2002-09-27 15:24:44 +00:00
interp c28d6cf153 renaming UTILTIES.SCM to SERVLETS.SCM and structure PLUGIN-UTILITIES to SERVLETS 2002-09-25 13:02:31 +00:00