Commit Graph

518 Commits

Author SHA1 Message Date
interp 71650fbb41 catch every condition only for load-config et al.; otherwise catch only errors. 2003-02-19 09:43:29 +00:00
interp a767f7b84b Correct self-links. 2003-02-17 10:10:26 +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 bf937b2e74 WITH-LOGFILE was renamed to WITH-LOG-FILE 2003-02-17 09:52:21 +00:00
interp ade0a8391f + remove standard options from file handlers
+ remove superfluous comment
2003-02-17 09:08:27 +00:00
sperber 001c86f6d2 Fix condition handling in HANDLE-COMMAND. 2003-02-14 15:58:17 +00:00
mainzelm 0b8c33af3f Removed fqdn? and unqualified-hostname 2003-02-10 13:13:26 +00:00
mainzelm 45223c1d81 Created structure ips for ip-string related procedures. 2003-02-10 12:30:43 +00:00
sperber 0e7152b68b Finally fix MAKE-HOST-NAME-HANDLER to the point where it works and has
been tested.
2003-02-10 12:02:11 +00:00
mainzelm 183cf60bb7 Make resolve.conf-parse-error a condition. 2003-02-10 10:48:46 +00:00
mainzelm 1503017988 Removed system-fqdn from sunet-utilities and internet-address->fqdn from dns. 2003-02-10 10:44:59 +00:00
mainzelm e2697605f6 + rr-X -> resource-record-X
+ removed separate cache mapping IPs to FQDNs
2003-02-10 08:04:17 +00:00
sperber 44322977fc Add HTTPD-INPUT-RESPONSE response values. 2003-02-06 15:05:15 +00:00
sperber fe25e5a307 In web server, rename LOGFILE -> LOG-FILE. 2003-01-30 16:09:20 +00:00
sperber 6e5f9ed278 - Make the handlers in HTTPD-FILE-DIRECTORY-HANDLERS do something
sensible without a set of icons.
- Make the options arguments to the handlers in
  HTTPD-FILE-DIRECTORY-HANDLERS optional.
2003-01-29 10:08:25 +00:00
sperber 730053c6bc Remove duplicate OPEN clause for LET-OPT. 2003-01-29 09:56:36 +00:00
sperber f373a87413 Rename ...-ICON-FILE-NAME -> ...-ICON-URL. 2003-01-29 09:16:56 +00:00
sperber 301d6ff4c3 Get rid of HTTPD-OPTIONS-ICON-NAME which I'd forgotten about. 2003-01-29 07:54:44 +00:00
interp 8895e3b32a Adapt to recent interface changes of HTTPD and its file handlers.
Particularly, the SUrflet server can now serve the source of SUrflets
via '/source/add-raw.scm'
2003-01-28 21:58:33 +00:00
interp 6804ad4712 * Redirect output from interactive Scheme Program to OPORT (to browser).
* Add definition for GET-HEADER (does every package need its own definition?)
2003-01-28 21:29:23 +00:00
interp 416d914a3f Add missing argument to call to nroff-n-decode in man 2003-01-28 21:15:50 +00:00
interp 8e07bc1b07 Remove export of disappeared OPTIONS-SURFLET-PREFIX 2003-01-28 20:44:48 +00:00
mainzelm 615886e492 Provide default values if the CGI script fails to provide status or
content-type.
2003-01-28 15:20:36 +00:00
sperber 022ea25ba6 Rework once again how content types, content encodings, icons etc. are
handled in the file/directory request handlers:

- HTTPD-FILE-DIRECTORY-HANDLERS now has its own options argument
- the ICON-NAME HTTPD option is gone (effectively moved to the above)
- determination of content type/encoding is now configurable
2003-01-28 15:16:20 +00:00
sperber eb20aec688 Clean up logging in ftpd:
- hold relevant data in new SERVER-STATE fluid
- specify log destination as a port, not a file
2003-01-28 10:49:45 +00:00
interp e32b78badb Add comments about thread safety. 2003-01-25 16:33:50 +00:00
interp f2872877ad Minor change in comments. 2003-01-25 16:30:09 +00:00
interp e3f216aee7 {S,s}urflet-->SUrflet in strings 2003-01-25 16:28:16 +00:00
interp afada4efb2 Look for RESUME-URL-IDS only in the file-name, not in the path. 2003-01-25 16:22:37 +00:00
interp e934340fb5 uncurry LOAD-SURFLET in GET-SURFLET-RT-STRUCTURE 2003-01-25 16:17:33 +00:00
interp 26fa1ca033 correct bogus call to MAKE-DEFAULT-options 2003-01-25 16:13:42 +00:00
interp 9aea76ee83 remove RETURN-CONTINUATION from INSTANCE; it's not used anyway 2003-01-25 16:11:30 +00:00
interp 100ffcc010 remove SURFLET-PREFIX; it's not used anyway 2003-01-25 16:10:19 +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 7747dd4ac6 Use SEND-ERROR instead of MAKE-ERROR-RESPONSE. 2003-01-25 13:42:50 +00:00
interp fe10f7b609 Use SEND-ERROR instead of MAKE-ERROR-RESPONSE 2003-01-25 13:40:34 +00:00
interp 220ac99930 Add SURFLET-RESPONSE->STRING for debug purpose. 2003-01-25 13:30:45 +00:00
interp e99acd10ee Use SEND-ERROR instead of MAKE-ERROR-RESPONSE 2003-01-25 13:24:22 +00:00
interp ac28d0c6a2 Remove a bug: wrong parameter to SHOW-SESSIONS after e.g. killing a
session
2003-01-25 13:21:36 +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 1f10457d52 Adapt to recent changes in surflet-handler 2003-01-24 16:05:39 +00:00
interp 3f3bf045de Add SEND-ERROR, that sends an error. 2003-01-24 16:02:29 +00:00
interp 7055289412 Add comment to MAKE-REDIRECT-RESPONSE. 2003-01-24 15:34:37 +00:00
interp 1dcee71722 Use ASSQ instead of ASSOC in GET-HEADER 2003-01-24 15:29:30 +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
sperber 9893716650 Actually use READ-LINE parameter in MAKE-READ-RFC822-HEADERS.
(Noticed by bernauer.)
2003-01-24 09:51:17 +00:00
sperber 5f4c1b510b Rename TIME->HTTP-DATE-STRING to RFC822-TIME->STRING.
(Missed by sperber, noticed by bernauer.)
2003-01-24 09:48:37 +00:00
sperber b239184a38 - removed some leftover debugging output
- simplified exception handling (and probably fixed some bugs)
- banners are now lists of lines
- rewrote bogus reply output code
2003-01-23 09:38:20 +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
mainzelm 73629e6baa + octet generation for messages only just before the message is sent
+ two additional constructors for query messages
+ rename "question" to "query" when variable hold a dns-message
2003-01-22 12:27:50 +00:00
sperber 4898196703 Long obsolete. 2003-01-22 10:51:50 +00:00
sperber 45a1746bc9 Remove comments which are either superfluous or have moved to the
documentation.
2003-01-22 10:48:19 +00:00
sperber 3fb74214f8 Rename CGI-SCRIPT -> CGI-SCRIPTS. 2003-01-22 10:44:56 +00:00
sperber ee490999df Re-indent. 2003-01-22 10:42:47 +00:00
sperber 9ca0a42a40 Remove comments that have moved to the documentation. 2003-01-22 10:42:25 +00:00
sperber 565376310b In SMTP-SEND-MAIL, signal a condition instead of returning funny reply
codes upon failure.
2003-01-22 09:29:55 +00:00
sperber e51180ffdf Add space before field body in RFC822-TIME->STRING. 2003-01-22 08:54:22 +00:00
interp 1fa3096a34 Rename some files, SF forgot to rename (*SERVLET* --> *SURFLET*) 2003-01-21 19:20:01 +00:00
sperber c58f265b5b Rename HTTPD-ERROR -> HTTPD-ERRORS. 2003-01-21 16:16:56 +00:00
mainzelm 1ac2cc0819 Fix forgotten renamings. 2003-01-21 16:09:41 +00:00
sperber b60335d2cd Remove some out-of-date comments. 2003-01-21 15:53:47 +00:00
sperber 65279a42e9 Revamp SMTP once more:
- introduce SMTP-CONNECTION records
- regularize naming (no funny slashes)
- in SMTP-SEND-MAIL, add date header if not present
- gratuitous capitalizion of word components for field names in outgoing headers
2003-01-21 15:31:38 +00:00
sperber 9b59e5bbe6 Fix insignificant typo. 2003-01-21 14:57:12 +00:00
mainzelm 0c0c27dcb5 + removed conditions for invalid type and class
+ querytype -> query-type
2003-01-21 14:33:54 +00:00
sperber c04d46910c Rewrite the NETRC library to something more general and much shorter,
along with up-to-date information.  Get FTP and POP3 to use the new
code.
2003-01-21 14:20:13 +00:00
sperber 2994678584 Fix two arity errors. 2003-01-21 13:05:11 +00:00
sperber 30062d25df Add RFC822-TIME->STRING to RFC 822 and use that instead of the old and
broken code that was part of the Web server.
2003-01-21 12:45:54 +00:00
sperber e5d3139845 In RFC867/RFC868: work correctly if the remote server isn't there. 2003-01-21 12:02:51 +00:00
interp 3c73d6a37f Force SEND/... calls in SEND/FINISH and SEND, too.
Rename STRING-OUT-PORT to BUFFER.
2003-01-21 10:36:49 +00:00
sperber 94f127d3b1 Rework NETTIME:
- ditch NETTIME structure; create two structures RFC867 and RFC868
  instead
- make the UDP versions work
- comment fixes
- add copyright notice
2003-01-21 10:03:27 +00:00
sperber 0cb68b88c9 In POP3:
- export POP3-ERROR?
- rename POP3-GET -> POP3-RETRIEVE-MESSAGE,
         POP3-HEADERS -> POP3-RETRIEVE-HEADERS
2003-01-21 08:21:20 +00:00
sperber 4abd90075b Remove "POP3-" prefix from various internal procedure names. 2003-01-21 08:18:05 +00:00
sperber 35b837a3b0 Comment fixes. 2003-01-21 08:14:56 +00:00
sperber 81395d1e48 - remove comments about procedure types.
- don't return status from those procedures that used to
2003-01-21 08:13:48 +00:00
sperber 1ee07495ba For POP3-GET return two values (headers and list of body lines)
instead of dumping the message to (current-output-port).
2003-01-20 16:52:25 +00:00
sperber bdb1cc6b27 Parse headers in POP3-HEADERS. 2003-01-20 16:44:47 +00:00
sperber d2c43bb132 Add myself to copyright section. 2003-01-20 16:33:37 +00:00
sperber 3611d6486d Fix two bugs
- return 2 values instead of pair from READ-RFC822-FIELD
- return alist in correct order from READ-RFC822-HEADERS and
  READ-RFC822-HEADERS-WITH-LINE-BREAKS
2003-01-20 16:32:13 +00:00
sperber 8b2217907e Overhaul RFC822:
- reduce RFC822 to four procedures, 2 for reading header bodies into
  lists of lines, 2 for reading them into concatenated strings
- remove lots of Olinism and bugs from rfc822.scm
- massage dependent code accordingly, clarifying semantics
2003-01-20 16:26:26 +00:00
sperber ef7a21b729 - make MAKE-PATH-PREFIX-HANDLER work right for null paths.
- add our own version of GET-HEADER in preparation for the RFC822 overhaul
2003-01-20 16:24:29 +00:00
sperber 7d91324b9a Signal correct error (not a CALL-ERROR) from
POP3-CHECK-TRANSACTION-STATE!; also pass correct caller to it.
2003-01-20 15:12:03 +00:00
sperber d27381ba4c Actually signal 'POP3-ERROR instead of '-ERR. 2003-01-20 15:08:44 +00:00
sperber 4ef92c949a In POP3:
replace uses of FORMAT
2003-01-20 15:07:51 +00:00
sperber 99819b7a47 (write-string "\n" port) -> (newline port) 2003-01-20 15:02:59 +00:00
sperber 3ef18b6abf In POP3:
rewrite POP3-DUMP to something legible
2003-01-20 15:02:22 +00:00
sperber 321bb04603 - lower-case "LOG"
- slightly beautify POP3-LOG
- rename LOGFD -> LOG-PORT
2003-01-20 14:55:57 +00:00
sperber b8d8ef0ff6 Remove old definition of MD5-DIGEST. 2003-01-20 14:54:33 +00:00
sperber 490565781a - READ-LINE -> READ-CRLF-LINE
- lower-case "IN" and "OUT"
2003-01-20 14:53:50 +00:00
sperber 74f9e4f704 In POP3:
- consolidate login procedure into POP3-CONNECT
- logging goes to a port, not a file
- fix error-handling bug in pop3-login
- rename POP3-LOGIN/APOP -> POP3-APOP-LOGIN
- replace POSIX regexp for challenge by SRE
2003-01-20 14:52:03 +00:00
mainzelm 87deeee77b Propagate renamings within the DNS package. 2003-01-20 14:21:33 +00:00
mainzelm 54eb862b4a + don't output anything in DNS-LOOKUP
+ typo fix in pretty-print-dns-message
2003-01-20 14:20:53 +00:00
sperber 7bfa52c689 Remove comments that have migrated to the documentation. 2003-01-20 14:13:26 +00:00
interp 751ee1d6ca Add javascript code 2003-01-19 17:27:15 +00:00
interp 400e4b916f Correct javascript code. 2003-01-19 17:26:56 +00:00
interp e8d592520f + Remove nonsense string
+ Add forgotten arg to FORMAT.
2003-01-19 17:01:44 +00:00
interp 61fc543af2 Rename SERVLET --> SURFLET 2003-01-19 16:57:27 +00:00
interp 071b59a99f Hopefully last restructuring. 2003-01-19 11:03:14 +00:00
interp bee74b3867 More restructuring. 2003-01-19 10:31:16 +00:00
interp 7c33c9ba08 minor restructuring 2003-01-19 09:47:15 +00:00