Commit Graph

940 Commits

Author SHA1 Message Date
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 b95d65509e - include Scheme-eval handler in start-web-server
- don't ship start-extended-web-server
- tailor demo web page for start-web-server rather than
  start-extended-web-server
2003-04-23 07:29:37 +00:00
mainzelm 3733c09a42 Fixed a typo and made http://www.scsh.net/resources/sunet.html the SUnet URL 2003-04-22 14:06:50 +00:00
sperber c2ec249d20 Mention scsh mailing list. 2003-04-22 14:01:50 +00:00
sperber fe30fb1fe5 Put web-server/ into distro. 2003-04-22 13:57:19 +00:00
sperber 003f803357 This was really obsolete long ago by start-{extended-}web-server. 2003-04-22 13:52:37 +00:00
sperber 61e6e303f7 Say "start-extended-web-server" instead of "start-web-server" in
usage.
2003-04-22 13:51:04 +00:00
sperber baa9486488 Make MAKE-ERROR-RESPONSE work for "method not allowed" responses. 2003-04-22 13:49:49 +00:00
mainzelm f385c76f6a After allocation the socket, become user nobody if current user is root 2003-04-22 13:14:50 +00:00
sperber 998182b5cb Output to ../html. 2003-04-22 12:56:48 +00:00
sperber 2004aaa05a Add RELEASE to the distro. 2003-04-22 12:56:09 +00:00
sperber 90293f6582 *** empty log message *** 2003-04-22 12:55:56 +00:00
sperber bd22ae282b Working dist target. 2003-04-22 12:47:27 +00:00
sperber 0bbb13664e Long obsolete. 2003-04-22 12:45:30 +00:00
sperber 27b2ae5a4f "January" -> "April" (referring to the release date) 2003-04-22 12:44:55 +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   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
interp 97c0da8c71 Make url-rul *preorder*.
This removes a bug that escaped the HTML string twice (e.g. '<' or '&').
2003-04-14 08:40:45 +00:00
interp c48f952cc5 + Add annotated callbacks.
Callbacks may now be annotated with arbitrary arguments with which the
function will be called. See surflets/test.scm for a (non-didactic) example.

* The extended callbacks justify an extra structure for callbacks:
surflets/callbacks

- make-callback was moved from surflets/utilities to surflets/callbacks
2003-04-14 08:30:27 +00:00
interp c3e7abbdeb ignore some more files (that I use for debugging) 2003-04-14 08:11:10 +00:00
interp cdbed4fa49 Addresses may now be annotated with arbitrary values (including, but not
limited to strings).
For this purpose, the ADDRESS object uses an internal storage that is freed
as soon the ADDRESS object is freed.
admin-surflets.scm shows an example.
2003-04-13 21:31:41 +00:00
interp e9d126847d replace links to add-html.scm by links to add-raw.scm 2003-04-13 20:27:03 +00:00
interp 5581383962 Add surflet-path to options (needed by admin-surflets.scm) 2003-04-13 20:24:56 +00:00
interp 6f46e17b11 ignore TODO file 2003-04-13 18:28:37 +00:00
interp 4b08eac262 use with-lock instead of obtain-lock/release-lock 2003-04-13 18:27:43 +00:00