Commit Graph

689 Commits

Author SHA1 Message Date
mainzelm ed74e197ee The annotation of an address is not put into the URL so URI escaping
it is superfluous and wrong.
2004-02-02 17:37:01 +00:00
mainzelm b65323b81b URI escape address annotations 2004-02-02 10:24:05 +00:00
mainzelm ff5bca073d Added a missing port argument. 2004-02-02 10:22:21 +00:00
mainzelm 2066f225bf Fixed parsing of comments in resolv.conf 2004-02-02 10:21:20 +00:00
mainzelm cf8911921d Fixed bug in send-receive-message-tcp where a WITH-HANDLER was called
with erroneous arguments.
2004-01-27 16:29:42 +00:00
interp 5ece0109b1 another todo task (tell about cygwin) 2004-01-22 00:48:11 +00:00
interp 63d708b219 Move SUrflet howto into main documentation.
Merge 2 decls.tex together.
Drawback: can't use url package anymore.
2004-01-17 01:35:16 +00:00
interp 25e03fe5e4 More example files for the surflet howto. 2004-01-15 03:47:39 +00:00
interp 721fee4e07 More howto. Draft like version. 2004-01-15 03:46:27 +00:00
interp 05a17e07d7 Use own decls.tex for HowTo. Might merge with doc/decls.tex in the future. 2003-11-21 19:10:12 +00:00
interp 8baad2666f Initial version of How To Use SUrflets.
Needs still some additions.
2003-11-21 19:09:36 +00:00
interp 52e0a557e2 Some example files mentioned in the howto. 2003-11-21 19:09:12 +00:00
interp 07ef3aa5c2 SSAX (and we) need this patch to work. 2003-11-21 19:05:54 +00:00
interp 25fa9fbca5 Make it a bit more portable.
Change default port from webcache to http-alt.
2003-11-21 19:05:02 +00:00
interp 73dfefd439 Exclude some LaTeX files 2003-11-21 19:03:54 +00:00
interp c2109e2e67 Adjust MAKE-RESUME-URL and
DEFAULT-MAKE-SESSION-TIMEOUT-TEXT to surflets that are
in subdirectories.
2003-11-18 20:25:59 +00:00
mainzelm 217596b510 Return text/css for files with .css extension. 2003-10-24 08:16:07 +00:00
mainzelm a5d9b210f0 Fixed wrong parentheses in FTP-APPEND 2003-10-21 05:44:56 +00:00
cresh 6f52781aa6 * added dns-check-nameservers
* fixed alists in send-receive-message-tcp
* fixed and added documentation
2003-08-19 14:36:08 +00:00
interp c42a467ce5 Sorry for the messed up previous commits. Here are the collected messages:
Insert forgotten point to argument list of MAKE-SELECT, making the last
arguments optional. This was the reason for a "bug" in admin-surflet.scm.

Remove bug from MAKE-SELECT;
  MAKE-SELECT used the wrong argument name in calls to
  make-multiple-select or make-single-select, respectively.
2003-08-01 18:00:51 +00:00
interp 0ffbe611dc Sorry for the messed up previous commits. Here are the collected messages:
* Use "Internal Error" instead of "Bad Gateway" as the surflet handler is not a
gateway.
* Thus, rename BAD-GATEWAY-ERROR-RESPONSE to BAD-SURFLET-ERROR-RESPONSE.
Move SESSION-ADJUST-TIMEOUT from SEND/SUSPEND to RESUME-URL where it belongs to.
Let SET-SESSION-DATA! raise an error, if the instance isn't alive anymore (instead of returning #t or #f).
Add small comment to RESET-SESSION-TABLE!
Remove unused variable in DELETE-CONTINUATION!
Remove superfluous FILE-NAME-NON-DIRECTORY from RESUME-URL, as RESUME-URL-IDS uses this anyway.
Small change in error message in MAKE-HTTP-RESPONSE.
2003-08-01 17:59:27 +00:00
interp 64ef783d8d `cat ~/diff-sunet/$num/log` 2003-08-01 17:41:11 +00:00
interp 92dc531fa2 `cat ~/diff-sunet/$num/log` 2003-08-01 17:41:06 +00:00
interp d134f033d6 `cat ~/diff-sunet/$num/log` 2003-08-01 17:41:02 +00:00
interp c0773d8e55 `cat ~/diff-sunet/$num/log` 2003-08-01 17:40:58 +00:00
interp 5214f767d7 `cat ~/diff-sunet/$num/log` 2003-08-01 17:40:49 +00:00
interp 4673e0012f `cat ~/diff-sunet/$num/log` 2003-08-01 17:40:44 +00:00
interp 6f27658c68 `cat ~/diff-sunet/4/log` 2003-08-01 17:36:18 +00:00
interp f106614a75 `cat ~/diff-sunet/3/log` 2003-08-01 17:33:21 +00:00
interp d26c61799b Rename callback-functor to callback-function. 2003-08-01 15:02:43 +00:00
mainzelm 0656c89fca + Moved WITH-DATA-CONNECTION closer to call to LS to avoid stray connections in case of an error
+ Call surrounding exception handler in WITH-DATA-CONNECTION

+ Add arguments to two calls of escape proecures
2003-07-28 07:50:16 +00:00
interp d7fb759988 Assure at least one digit for each ID in regexp for cont-URL. 2003-07-24 09:18:53 +00:00
interp 32a2473d2d Remove wrong multiple value return from RESUME-URL-SURFLET-NAME 2003-07-24 09:17:05 +00:00
interp afe38a4147 Add task callback-functor. 2003-07-23 14:07:22 +00:00
interp 0f91f5f1c4 Remove done tasks. 2003-07-23 14:06:33 +00:00
interp d34380c1fa what we have to do 2003-07-23 14:05:29 +00:00
interp 2cc9c209f0 Drop WITH-REAL-INPUT-FIELD. Use INPUT-FIELD-REAL-INPUT-FIELD instead (and instead of CADR). 2003-07-23 13:45:34 +00:00
interp 4ec94f293e Remove superfluous reset in RESUME-URL. 2003-07-21 07:13:50 +00:00
interp 2e3b217145 Remove accidently commited code. 2003-07-18 16:10:57 +00:00
interp 2067f77670 Remove surflet-path bug in SURFLET-HANDLER.
The surflet-path could be given either explicitly or by options-structure.
This introduced an unexpected behavior: the explicitly given surflet-path
argument was completely ignored when options were given.
Now we accept only one argument to SURFLET-HANDLER that must be an option,
like HTTPD does it.
2003-07-18 15:06:53 +00:00
interp 0a510b7c76 Rename SELECT-MULTIPLE-TRANSFORMER to MULTIPLE-SELECT-TRANSFORMER to make things clearer. 2003-07-15 14:39:55 +00:00
interp 3d5a92eb44 Renamen MAKE-ADDRESS-CONSTRUCTOR to MAKE-ADDRESS-RECORD to make things clearer. 2003-07-15 14:06:17 +00:00
interp 0cfc9491d9 Use 'hidden' as internal type of hidden-fields. 2003-07-15 14:05:22 +00:00
interp 2ff183fa28 Move definition of deprecated MAKE-ANNOTATED-SELECT behind the definition of MAKE-SELECT. 2003-07-14 17:33:37 +00:00
interp b532f8a991 Minor change in FIND-IMAGE-BUTTON-COORDINATE. 2003-07-14 09:10:36 +00:00
interp 44268c5c4a Remove double definition of MAKE-IMAGE-BUTTON 2003-07-14 08:57:10 +00:00
interp e634526856 Some minor changes:
+ Detach TEXTAREA input field from simple input fields
  (concerning its setter) and remove WRAP? parameter from
  make-simple-default-setter
+ Rename TOLERATE-OLD-SELECT-OPTIONS to SIMPLE-OPTIONS
+ Deprecate MAKE-ANNOTATED-SELECT; it's not useful anymore
+ Merge MAKE-SELECT and REALLY-MAKE-SELECT to one function MAKE-SELECT
2003-07-13 20:08:28 +00:00
interp 4ff633e5db Add test.scm SUrflet to list of selectable SUrflets. 2003-07-13 16:21:53 +00:00
interp 347094a62f Minor change in RAW-INPUT-FIELD-VALUE 2003-07-13 14:36:41 +00:00
interp cad4fe21cf Minor change in args of MAKE-INPUT-FIELD-SETTER! 2003-07-13 14:35:33 +00:00
interp 4caaa001c7 Don't unwrap and rewrap real-input-field in input-field-rule. 2003-07-13 10:22:21 +00:00
interp 7e76eac6c8 * New packages SURFLETS/INTERNAL-INPUT-FIELDS provides bindings used to
define INPUT-FIELD-RULE in surflet-input-fields.scm.
* Change imports of SURFLETS/SURFLET-SXML (don't need pre-post-order
anymore).
2003-07-11 11:38:28 +00:00
interp 7a7fd39f0c Use SXML->LOW-LEVEL-SXML provided by SURFLETS/SXML instead of using PRE-POST-ORDER directly. 2003-07-11 11:34:38 +00:00
cresh e71a3581af fixed bugs related to invalid nameservers:
* added new error signal no-nameserver-given
* modified send-receive-message-* functions:
	- better error handling
	- timeout/maxtries functionality
	- try to contact all nameservers,
	  before error is signaled
2003-07-09 20:45:20 +00:00
interp f972598f59 Remove module typed-optionals. We don't need it anymore.
Rename function TYPED-OPTONALS to OPTIONALS-FIRST and move its definition
  to the only module that uses it: sxml.scm
Use LET-OPTIONALS instead of OPTIONALS, as it does the job, too, and
  it ensures that the meaning of an argument depends only on its
  position and not on the amount of arguments in front of it.
  This commit removes a pitfall in calls to MAKE-TEXTAREA.
Nearly every example SUrflet continues to work unchanged, except of one
  line in admin-surflets.scm, thus updating it.
2003-07-09 17:18:57 +00:00
interp e43b8bb2fc Rewritten OPTIONALS macro with SYNTAX-RULES. 2003-07-08 23:07:37 +00:00
interp 3384fdd920 Always add COLS and ROWS attributes to TEXTAREA to suffice HTML 4.01 2003-07-08 22:50:21 +00:00
interp c78145dee2 small row line up 2003-07-08 21:23:27 +00:00
interp c1d14a06a0 Change names in surflet-input-fields.scm, so that they are both short and
descriptive and not misleading.

If you have written SUrflets that use the input field feature, you must
rename your input field commands to get them work with this change.
Contact me, if you want to have a small script that does this for you.
2003-07-08 21:22:06 +00:00
interp e66223b666 remove superfluous bracket pair introduced by previous commit 2003-07-06 09:00:36 +00:00
interp 477544caaa Merge a LET in upper LET* 2003-07-06 08:58:39 +00:00
interp 39f7addaf9 Factor out SURFLET-RESPONSE object 2003-07-05 18:13:32 +00:00
interp 592baf7c6a minor change in comment layout. 2003-07-04 16:18:19 +00:00
interp d5b14d4ffc Let it be a bit more valid as HTML 4.01 Transitional.
Among other things, add HEAD tag, give charset information, add TITLE
tag and let it start with the "<!DOCTYPE ...>" declaration.
2003-07-04 14:46:31 +00:00
cresh dbd13f24ab Minor changes in parse-resolv.conf. 2003-06-30 10:57:26 +00:00
mainzelm 886b8f7dd1 Made uri-escaped-chars the complement of alphanum | mark. 2003-06-25 07:49:54 +00:00
interp 7d188b8269 slight modifications 2003-06-22 16:23:16 +00:00
interp dca13aabde slight adaptation, mainly renaming 2003-06-21 15:27:20 +00:00
tjaden 64a8793a37 Added tentative support for ftp RESTART command. 2003-06-14 12:59:02 +00:00
tjaden d236b8990f Fixed a bug preventing httpd from serving files with a recognised
content-encoding.
2003-06-14 12:55:47 +00:00
interp 575dd18f03 Check for correct content-type in GET-BINDINGS. Raise an error if it is not correct. 2003-06-03 07:36:48 +00:00
interp d36409fddc remove debug output 2003-05-23 09:14:58 +00:00
interp f3b7c3a396 Signal an error if image button coordinates cannot be translated into
numbers.
2003-05-23 08:05:03 +00:00
interp a81dfb6ab1 remove debug output 2003-05-22 13:56:57 +00:00
interp 08012edab4 mention code source 2003-05-22 13:55:03 +00:00
interp 6c99e3a707 Remove image button bug (thanks to Eric Knauel for reporting this): Image
buttons return the coordinates where the user clicked à la
imgbtn321.x=13&imgbtn321.y=12. Thus, we cannot search for the
input-field-name of the image button. To remove this bug, we introduce
following changes:

surflet-input-fields.scm:

+ make-image-button returns a multi-input-field that searches for its
  coordinates in the bindings, returning a pair (x y) of it (numbers).
+ Adapt select-input-fields to interface changes of multi-input-fields:
  transformers get also their input-fields.

returned-via.scm:
Don't simply check for the input field name in the binding. Use
input-field-value to check for existance of the input field in the
bindings

input-fields.scm:
multi-input-fields get also their input-field as argument

web-server/root/surflets/byte-input.scm:
Adapt to interface change of multi-input-fields: transformers get also
their input-field

web-server/root/surflets/test.scm:
Check the image-button feature  correctly.
2003-05-22 13:32:49 +00:00
interp 69ea6ae13f Use do-html-string-sending in do-html-sending 2003-05-13 14:02:24 +00:00
interp bd6a537197 + ADD-SEL-IF-OPTION!
+ DELETE-SEL-IF-OPTION!
2003-05-10 12:10:32 +00:00
interp 6bea1e6a0c Adapt to change in sunet/doc/latex/decls.tex and mention out of date status. 2003-05-10 11:59:13 +00:00
interp 27fbf65f2b minor change: changing attribute order in textarea input field 2003-05-04 14:07:11 +00:00
interp 219bcaa4fe Add optional args to MAKE-TEXTAREA-INPUT-FIELD: ROWS COLS READONLY 2003-05-04 14:05:40 +00:00
interp 63afb5d073 Map SXML->LOW-LEVEL-SXML to Oleg's PRE-POST-ORDER 2003-05-04 14:04:54 +00:00
sperber 003f803357 This was really obsolete long ago by start-{extended-}web-server. 2003-04-22 13:52:37 +00:00
sperber baa9486488 Make MAKE-ERROR-RESPONSE work for "method not allowed" responses. 2003-04-22 13:49:49 +00:00
interp 60a11e664d removed obsolete block of comments 2003-04-17 09:23:09 +00:00
interp 5a8d56672d Use some of the new input field features 2003-04-16 17:11:47 +00:00
interp ee5e3cd6ec In make-resume-url: use argument session-id
(not instance-session-id) to create resume-url.
2003-04-16 16:04:11 +00:00
interp 20821bdfb5 Adapt to recent change of session-interface in surflet-handler 2003-04-16 16:03:06 +00:00
interp 5b2e2ddd6a Ship out only session-id/continuation-id
and not the session/continuation itself
2003-04-16 16:02:37 +00:00
interp 91c0997dd7 Add some distance between radio button and radio text 2003-04-16 16:01:38 +00:00
interp 61c5cf4246 Add CALLBACK-FUNCTOR that allows the call back arbitrary functions
(in conjunction with make-annotated-callback)
2003-04-16 16:01:01 +00:00
interp a9f5c6ffa7 test.scm now shows examples for all surflets-input-fields. 2003-04-16 12:32:24 +00:00
interp aa6e6aabfc ! Redesign of input-fields.
+ Split input-fields into two structures:
  + surflets/my-input-fields allows you to create your own input-fields.
    (complete with structure surflets/input-field-value)
  + surflets/surflet-input-fields are the proposals for input-fields
    from SUrflets. They support annotated input-fields where
    appropriate (select, radio, checkbox, hidden) and changing of attributes,
    e.g. default values. See test.scm for examples.
  The interface of the structure SURFLETS has only changed slightly
  concerning the input fields
  (make-higher-input-field --> make-multi-input-field should be the
  main change)
+ Adapt examples to new input-field interface
+ Note new structures in documentation.
2003-04-16 12:30:57 +00:00
interp 6d64530779 SXML-ATTRIBUTE-ATTRIBUTES returns a list instead of #f 2003-04-16 12:20:57 +00:00
interp e3652a93b2 Add identity function 2003-04-16 12:20:12 +00:00
interp eb5f44b932 Add nbps-rule that inserts a &nbsp; 2003-04-16 12:19:44 +00:00
interp 107cb30eb2 factor out generating of 'unique' numbers 2003-04-15 13:55:00 +00:00
interp 2ab93f703b Add SXML-ATTRIBUTE-ATTRIBUTES function that discards the initial '@ 2003-04-15 09:33:32 +00:00
interp f8d7dfbeda remove extraneous right paranthesis 2003-04-14 10:04:23 +00:00
interp ea6e3e6c7d adapt to new surflets/callbacks structure 2003-04-14 09:10:54 +00:00