63afb5d073
Map SXML->LOW-LEVEL-SXML to Oleg's PRE-POST-ORDER
interp2003-05-04 14:04:54 +00:00
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
R2-0
sperber2003-04-23 07:29:37 +00:00
27b2ae5a4f
"January" -> "April" (referring to the release date)
sperber2003-04-22 12:44:55 +00:00
60a11e664d
removed obsolete block of comments
interp2003-04-17 09:23:09 +00:00
5a8d56672d
Use some of the new input field features
interp2003-04-16 17:11:47 +00:00
ee5e3cd6ec
In make-resume-url: use argument session-id (not instance-session-id) to create resume-url.
interp2003-04-16 16:04:11 +00:00
20821bdfb5
Adapt to recent change of session-interface in surflet-handler
interp2003-04-16 16:03:06 +00:00
5b2e2ddd6a
Ship out only session-id/continuation-id and not the session/continuation itself
interp2003-04-16 16:02:37 +00:00
91c0997dd7
Add some distance between radio button and radio text
interp2003-04-16 16:01:38 +00:00
61c5cf4246
Add CALLBACK-FUNCTOR that allows the call back arbitrary functions (in conjunction with make-annotated-callback)
interp2003-04-16 16:01:01 +00:00
a9f5c6ffa7
test.scm now shows examples for all surflets-input-fields.
interp2003-04-16 12:32:24 +00:00
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.
interp2003-04-16 12:30:57 +00:00
6d64530779
SXML-ATTRIBUTE-ATTRIBUTES returns a list instead of #f
interp2003-04-16 12:20:57 +00:00
e3652a93b2
Add identity function
interp2003-04-16 12:20:12 +00:00
eb5f44b932
Add nbps-rule that inserts a
interp2003-04-16 12:19:44 +00:00
107cb30eb2
factor out generating of 'unique' numbers
interp2003-04-15 13:55:00 +00:00
2ab93f703b
Add SXML-ATTRIBUTE-ATTRIBUTES function that discards the initial '@
interp2003-04-15 09:33:32 +00:00
f8d7dfbeda
remove extraneous right paranthesis
interp2003-04-14 10:04:23 +00:00
ea6e3e6c7d
adapt to new surflets/callbacks structure
interp2003-04-14 09:10:54 +00:00
97c0da8c71
Make url-rul *preorder*. This removes a bug that escaped the HTML string twice (e.g. '<' or '&').
interp2003-04-14 08:40:45 +00:00
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.
interp2003-04-14 08:30:27 +00:00
c3e7abbdeb
ignore some more files (that I use for debugging)
interp2003-04-14 08:11:10 +00:00
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.
interp2003-04-13 21:31:41 +00:00
e9d126847d
replace links to add-html.scm by links to add-raw.scm
interp2003-04-13 20:27:03 +00:00
5581383962
Add surflet-path to options (needed by admin-surflets.scm)
interp2003-04-13 20:24:56 +00:00
4b08eac262
use with-lock instead of obtain-lock/release-lock
interp2003-04-13 18:27:43 +00:00
956fd7bbf1
Add non-thunk version to with-lock. Note: To follow naming conventions of scsh, the old with-lock is renamed to with-lock*. The syntactic sugar version is with-lock now.
interp2003-04-13 17:36:39 +00:00
d0782f63a2
Factor out with-locks from surflet-handler
interp2003-04-13 17:23:11 +00:00
213090a51d
+ use search-trees for timeout-queue + export session-adjust-timeout! for admin-surflet.scm
mainzelm2003-04-01 13:17:45 +00:00
61c3a4c216
Introduced field lifetime to session
mainzelm2003-03-31 10:56:28 +00:00
1c6bfbc4ea
Clear the THE-SESSION-REPLIES after writing a reply.
sperber2003-03-21 10:42:37 +00:00
9194257f8e
Increase *WINDOW-SIZE* from 4096 to 8192. This improves speed on AIX by a factor of about 20.
sperber2003-03-19 13:02:44 +00:00
33f1a2f063
Two small fixes related to options.
mainzelm2003-03-17 19:29:45 +00:00
b74ca11656
+ Make text displayed on session timeout an option to the handler. + Fixed various options related bugs.
mainzelm2003-03-17 12:31:49 +00:00
b93e275415
Replaced implementation of surveillance thread: We have now only one thread which checks every second for sessions to be deleted.
mainzelm2003-03-17 12:09:26 +00:00
3de0a9c480
Added options for surflet-handler.
mainzelm2003-03-17 10:17:55 +00:00
573e980f33
Added a rule to generate comments for *COMMENT* tags.
mainzelm2003-03-14 12:58:12 +00:00
3511a9bffc
Add forgotten structure for surflets/my-sessions
interp2003-03-13 18:32:43 +00:00
dcce51cc3f
Let URL-RULE use SURFLET-SXML->LOW-LEVEL-SXML instead of writing own string list
interp2003-03-13 12:07:29 +00:00
39066ac109
Mention session-data in basic user's structures
interp2003-03-13 11:53:09 +00:00
fe70289bc6
Factor out SESSION-DATA and make it available in SURFLETS
interp2003-03-13 11:52:37 +00:00
88e255d5de
+ Restructuring: Now, we have a three (four) layer concept: Basic User, Advanced User, Administrative User + see file SURFLETS-STRUCTURES.TXT for details + Adapt example surflets to new structures. Only surflets that use extended features should need adaptations.
interp2003-03-13 11:36:49 +00:00
3fc36e865e
+ Splitting file surflets.scm into several packages - Removing surflets.scm + The surflets package remains and collects the most usual used packages It does not export any more the outdaters, the access to IDs (like session-id), callbacks, form-query-list. (and maybe some other stuff I've forgot to mention here, see list below).
interp2003-03-10 16:29:32 +00:00
87a4165f94
check existence of sessions in some locking areas
interp2003-03-10 13:10:29 +00:00
64371c9941
Use the time-to-live argument in really-session-adjust-timeout!
interp2003-03-10 13:01:45 +00:00
909ed39ce2
Add optional arguments to ADJUST-TIMEOUT! and SESSION-ADJUST-TIMEOUT! This argument defaults to OPTIONS-SESSION-LIFETIME and represents the life-time in seconds for the session.
interp2003-03-10 12:57:44 +00:00
3b51f7b82b
+ export conversion rules from surflets: default-rules (default, text, attribute, plain-html and url) surflet-form-rules (input-field and surflet-form) + according to mainzelm: lowercase URL tag to url in surflet-xml
interp2003-03-09 20:15:08 +00:00
31f0044e2c
rename FORM-QUERY of surflets to FORM-QUERY-LIST to avoid name puzzlement with the simple-surflet-api that already exports this name (and we cannot change this, as this is adapted to PLT)
interp2003-03-09 19:57:56 +00:00
4af92bc379
factor out creating of input page
interp2003-03-09 19:57:09 +00:00
b12070e349
Add MY-SESSION-ID, MY-CONTINUATION-ID and MY-IDS to surflets, that return the respective IDs out from an request object. There are restrictions on their use.
interp2003-03-09 19:44:09 +00:00
e64b57f540
Correct some error from last commit: * COMPOUND-INTERFACE needs its arguments to be defined already * add bang to some other ADJUST-TIMEOUTs
interp2003-03-09 19:18:35 +00:00
4748a882c3
Add a bang to SET-OPTIONS-SESSION-LIFETIME, SET-OPTIONS-CACHE-SURFLETS? and ADJUST-TIMEOUT
interp2003-03-09 18:49:09 +00:00
536fe1394c
no changes (internal restructuring using COMPOUND-INTERFACE)
interp2003-03-09 18:37:38 +00:00
3f1542466c
Rename misleading {SET,GET}-SURFLET-DATA to {SET,GET}-SESSION-DATA, as the data is specific to a session and not to a surflet.
interp2003-03-09 18:03:15 +00:00
cacf6aeaa8
downcase! even more identifiers
interp2003-03-07 18:45:12 +00:00
78a1d2e633
+ (foreach downcase! identifiers) + fold FORMATED-REPLY into SURFLET-XML->HTML + rename REAL-FORMATED-REPLY to FORMATED-REPLY + use global value INPUT-FIELD-TRIGGER instead of symbol 'input-field + The SURFLET-FORM tag creates a REFORMATted list instead of HTML Note: There were no changes to the interface.
interp2003-03-07 18:34:04 +00:00
2e5f385410
Fixed two bugs in case-returned-via.
mainzelm2003-03-07 13:08:36 +00:00
ee5aba4cf5
Fix reply generation for data transfer errors and aborts.
sperber2003-02-27 09:01:45 +00:00
7f81f8bed9
+ Use a port buffer of 4096 bytes for the socket's output port. + Comment why we cannot do the same for input.
mainzelm2003-02-26 18:03:40 +00:00
e3d252c370
Use a port buffer of 4096 bytes when reading the CGI script's output and copy 4094 bytes at once from this buffer to output port.
mainzelm2003-02-26 18:02:14 +00:00
4923286d96
Let FORM-QUERY return '() if the query string is #f.
mainzelm2003-02-26 15:55:22 +00:00
d5dcbace37
Log a single dash (`-') if referer or user-agent header is missing/unknown
interp2003-02-25 17:36:36 +00:00