mainzelm
3de0a9c480
Added options for surflet-handler.
2003-03-17 10:17:55 +00:00
mainzelm
573e980f33
Added a rule to generate comments for *COMMENT* tags.
2003-03-14 12:58:12 +00:00
interp
3511a9bffc
Add forgotten structure for surflets/my-sessions
2003-03-13 18:32:43 +00:00
interp
dcce51cc3f
Let URL-RULE use SURFLET-SXML->LOW-LEVEL-SXML instead of writing own string list
2003-03-13 12:07:29 +00:00
interp
39066ac109
Mention session-data in basic user's structures
2003-03-13 11:53:09 +00:00
interp
fe70289bc6
Factor out SESSION-DATA and make it available in SURFLETS
2003-03-13 11:52:37 +00:00
interp
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.
2003-03-13 11:36:49 +00:00
interp
df8ea46a27
Add SEND-HTML-STRING, ../SUSPEND, ../FINISH
2003-03-13 11:33:33 +00:00
interp
b1e0c7df54
Add GET-SESSION
2003-03-13 11:32:59 +00:00
interp
1caff62db0
minor change in comment
2003-03-13 11:32:38 +00:00
interp
e151572459
Add sxml->string/internal
2003-03-13 11:32:16 +00:00
interp
d1c7b4e9d3
remove forgotten generate-unique-name
2003-03-10 17:11:41 +00:00
interp
ec341accf9
Add SESSION-ALIVE?
2003-03-10 16:37:22 +00:00
interp
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).
The new packages are (not included in surflets are marked (*)):
+ surflets/addresses: MAKE-ADDRESS, MAKE-ANNOTATED-ADDRESS
+ surflets/bindings: GET-BINDINGS, EXTRACT-BINDINGS and stuff
+ surflets/ids (*): MY-SESSION-ID, .., INSTANCE-SESSION-ID
+ surflets/input-fields: MAKE-INPUT-FIELD, MAKE-NUMBER-INPUT-FIELD...
+ surflets/outdaters(*): MAKE-OUTDATER, OUTDATER?...
+ surflets/returned-via: RETURNED-VIA, CASE-RETURNED-VIA
+ surflets/send-html: SEND-HTML/SUSPEND...
+ surflets/surflet-sxml: URL-RULE,..., SURLFET-SXML-RULES, ...
+ surflets/sxml: SXML->STRING, DEFAULT-RULE,...
+ surflets/typed-optionals(*): TYPED-OPTIONALS, OPTIONALS
+ surflets/utilities(*): MAKE-CALLBACK, FORM-QUERY-LIST,
GENERATE-UNIQUE-NAME...
2003-03-10 16:29:32 +00:00
interp
87a4165f94
check existence of sessions in some locking areas
2003-03-10 13:10:29 +00:00
interp
64371c9941
Use the time-to-live argument in really-session-adjust-timeout!
2003-03-10 13:01:45 +00:00
interp
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.
2003-03-10 12:57:44 +00:00
mainzelm
5c03d2e24e
URL -> url
2003-03-10 09:23:41 +00:00
interp
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
2003-03-09 20:15:08 +00:00
interp
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)
2003-03-09 19:57:56 +00:00
interp
4af92bc379
factor out creating of input page
2003-03-09 19:57:09 +00:00
interp
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.
2003-03-09 19:44:09 +00:00
interp
e64b57f540
Correct some error from last commit:
...
* COMPOUND-INTERFACE needs its arguments to be defined already
* add bang to some other ADJUST-TIMEOUTs
2003-03-09 19:18:35 +00:00
interp
4748a882c3
Add a bang to SET-OPTIONS-SESSION-LIFETIME, SET-OPTIONS-CACHE-SURFLETS? and ADJUST-TIMEOUT
2003-03-09 18:49:09 +00:00
interp
536fe1394c
no changes (internal restructuring using COMPOUND-INTERFACE)
2003-03-09 18:37:38 +00:00
interp
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.
2003-03-09 18:03:15 +00:00
interp
cacf6aeaa8
downcase! even more identifiers
2003-03-07 18:45:12 +00:00
interp
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.
2003-03-07 18:34:04 +00:00
mainzelm
2e5f385410
Fixed two bugs in case-returned-via.
2003-03-07 13:08:36 +00:00
mainzelm
e12ba6a042
=> for case-returned-via
2003-03-03 20:38:17 +00:00
interp
f4baad5ab1
changed let&if to cond&=> in GET-SURFLET-RT-STRUCTURE
2003-03-03 10:29:18 +00:00
interp
bd613946d0
+ CASE-RETURNED-VIA from mainzelm added
...
+ RETURNED-VIA alias for RETURNED-VIA? added
2003-03-03 10:27:49 +00:00
interp
98f0da38c6
Add MAKE-ANNOTATED-ADDRESS that creates string-annotated return-addresses
2003-02-28 08:22:29 +00:00
mainzelm
4923286d96
Let FORM-QUERY return '() if the query string is #f.
2003-02-26 15:55:22 +00:00
interp
862dd31c88
Correct self links & restructure a bit.
2003-02-21 09:50:49 +00:00
interp
9a6b262637
Correct self links.
2003-02-21 09:49:35 +00:00
interp
e6e4ea0f1a
use INPUT-FIELD-VALUE for check-box
2003-02-19 18:48:24 +00:00
interp
ca7e42cfa0
use scheme-with-scsh where appropriate.
2003-02-19 18:47:04 +00:00
interp
945b4a2ade
failsafe if "which" is not executable.
2003-02-19 18:45:57 +00:00
interp
2d7a37f060
unify dispatcher: RETURNED-VIA? accepts now input-fields as well as return-addresses.
2003-02-19 18:42:45 +00:00
interp
bd26da7497
remove debug output
2003-02-19 18:34:48 +00:00
interp
bf070b1036
use 'convert' to create PNG profiling chart.
2003-02-19 18:26:10 +00:00
interp
da98c4b78c
factor out GET-HEADER
2003-02-19 17:05:16 +00:00
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
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
8e07bc1b07
Remove export of disappeared OPTIONS-SURFLET-PREFIX
2003-01-28 20:44:48 +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
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
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
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
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
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
interp
dfe5c56163
Add comment about serving the servlets' source.
...
(We and the browsers cannot handle .SCM files.)
2003-01-18 17:56:18 +00:00
interp
0bd2a7b254
Remove debug output.
2003-01-18 17:22:57 +00:00
interp
c2bb9ae9e8
Remove bug from previous commit: write out to outport.
2003-01-18 17:18:19 +00:00
interp
b7133f4393
Add finalizer to remove temporary session files.
2003-01-18 15:02:22 +00:00
interp
104802b3ae
Reindent.
2003-01-17 17:48:20 +00:00
interp
4183ec85ce
Add bang after set-... commands.
2003-01-17 17:47:31 +00:00
interp
05b7af0986
READ-LINE does the job as well as READ-CRLF-IO, so kick CRLF-IO.
2003-01-17 17:40:30 +00:00
interp
92d760a1cd
Tell browser not to cache supples by an HTTTP header.
2003-01-17 17:39:07 +00:00
interp
c02cb068af
right-justify ids
2003-01-16 12:58:01 +00:00
interp
422a1db09f
Add note about danger of killing / deleting current continuation.
...
Add current session's id and current session's continuation's id in
this message.
2003-01-16 12:53:10 +00:00
interp
d54645f39b
Update list of return links.
2003-01-16 12:50:14 +00:00
interp
c9c7eb0a90
Make add examples look the same.
2003-01-16 12:09:49 +00:00
interp
0656602636
Improve handling of gnuplot executable.
...
(`which` at startup, check for executable)
2003-01-16 11:10:38 +00:00
interp
02f9f60e99
+ Add code to remove forgotten temporary file.
...
+ Add note about time of profiling.
+ Don't show profiling pictures anymore. The server can't show them anyway.
Instead provide a link to the pbm file.
2003-01-15 14:42:32 +00:00
sperber
62c597e7ec
Rename URI-PATH-LIST->PATH to URI-PATH->URI and SPLIT-URI-PATH to
...
SPLIT-URI.
2003-01-14 15:01:21 +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
86b0639a7f
Rename MAKE-HTTP-ERROR-RESPONSE -> MAKE-ERROR-RESPONSE to be
...
consistent with MAKE-RESPONSE.
2003-01-10 09:52:35 +00:00
sperber
0754b74963
Replace integer HTTP status codes by finite record type instances.
2003-01-09 15:05:30 +00:00
interp
4bee3e42f5
Update links to new 'add' scheme servlets.
2002-12-08 18:46:45 +00:00
interp
f4cca95296
Version of add form:
...
Uses SIMPLE-SERVLET-API.
2002-12-08 18:45:58 +00:00
interp
a7357dc1a4
Rename add2.scm to add-servlet.scm
...
Version of add form:
"Full featured" version: uses both HTML generating and support for
input-fields in forms.
2002-12-08 18:13:59 +00:00
interp
98ff465d73
Rename add.scm to add-html.scm
...
Version of add form:
Uses SEND-HTML/SUSPEND and SEND-HTML/FINISH with the HTML-generation tool
from serlvets (that is built with Oleg's SSAX)
2002-12-08 18:12:34 +00:00
interp
5879a83b9a
"Raw" version of add form:
...
Uses only tools of servlet-handler/servlets.
2002-12-08 18:10:15 +00:00
interp
7f7eb610d8
use SCHEME-WITH-SCSH instead of SCSH and SCHEME
2002-12-08 15:49:27 +00:00
interp
d705974612
Remove checkbox-bug
2002-12-07 22:27:02 +00:00
interp
4606552c2b
rename INSTANCE to SESSION and SESSION to INSTANCE
2002-12-07 22:26:40 +00:00
interp
1e93e430ed
+ add navigation links
...
+ typo corrected
2002-12-02 08:58:24 +00:00
interp
77cd3e0d28
REQUEST:URL --> REQUEST-URL
2002-12-02 08:44:02 +00:00
interp
ffa8ad13ae
remove unused SERVLET-PREFIX option.
2002-12-02 08:42:37 +00:00
interp
ba04964918
fix typo in SERVLETS' open-clause
2002-12-02 08:39:10 +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
sperber
2442e88ab7
Renamed HTTPD-REQUEST to HTTPD-REQUESTS, now conforming to Scheme 48
...
convention.
2002-11-26 12:52:39 +00:00
interp
4c3bde22fa
Add several features like
...
+ extras page
+ shield energy
+ construction time calculation
+ hostname resolving
+ comments
+ some others I cannot remember
[Sorry for the bundled commit, my ISP went down again.]
2002-11-17 14:38:38 +00:00
interp
9816e1c1ed
+ let arms be specified
...
+ add extra order page
+ add data about spaceship classes
2002-11-15 15:49:02 +00:00
interp
393ea38bb8
introduce data structure for spaceship class' boundary data
2002-11-15 12:52:58 +00:00
interp
a0e331636c
Remove stupid error generating code. Hit me.
2002-11-15 12:32:50 +00:00
interp
4570e42eeb
bigger application
2002-11-09 18:26:26 +00:00
interp
8e22009ca1
Add another error handler in the reset from to catch errors occuring
...
while running the servlet (perhaps with restored continuations).
2002-11-09 18:25:20 +00:00
interp
fb75cd4efe
Add infrastructure for saving default values in get-results.
2002-11-09 17:17:14 +00:00
interp
5e0e6abcb7
update description of INPUT-FIELD-VALUE and insert one for RAW-INPUT-FIELD-VALUE
2002-11-09 16:46:59 +00:00
interp
2d97ef42bc
remove sub-attribute-bug from select and radio input fields
2002-11-09 16:46:26 +00:00
interp
5770918384
Remove debug output
2002-11-07 20:42:06 +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
555af5225d
removed bug in MAKE-YES-NO
2002-11-05 22:20:59 +00:00
interp
d4ea641e14
comment added
2002-11-05 22:20:47 +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
47a60a26d3
Redesigning error catching machinery.
...
Now no malicious servlet should be able to let the server crash.
2002-11-05 10:21:15 +00:00
interp
2ab106745a
Get rid of a bug. Filtering of instances is disabled to achieve this.
2002-11-03 18:15:53 +00:00
interp
1374c4a8a6
Rename some procedure to get references clear and to remove a small bug
2002-11-03 18:00:12 +00:00
interp
d026036bf3
Simple servlet api adopted from PLT. Example included
2002-11-03 17:43:58 +00:00
interp
9815824581
remove small typo from MAKE-PASSWORD
2002-11-03 17:42:27 +00:00
interp
2800b21fea
Browser caching may be a reason for wrong servlet request. Tell them
...
about it.
2002-11-03 14:37:53 +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
26683bd822
* Move error handling of the servlets to the right point, i.e. after
...
the reset.
* Remove redirect 'feature'. It is not well tought out.
2002-10-26 15:35:20 +00:00
interp
ddae6cfb3c
cache GET-BINDINGS-RESULTS' results of POST requests with weak-pointers
2002-10-26 15:20:56 +00:00
interp
588dc93ddf
+ PMB is an uncompressed format---use smaller size.
...
+ Put the image in the image directory (we know, where we are...).
Unfortunately, the server does not report the image type well, so
the picture is usually not displayed by the browser (or the format is
not understood). Anyway, it may be downloaded.
2002-10-22 16:05:18 +00:00
interp
03da4f6e05
Use image directory for gnuplot output.
2002-10-22 16:01:25 +00:00
interp
fc7a6f3719
Let pictures be created in the PBM format instead of the PNG format, because
...
some installations of gnuplot cannot produce PNG, though it is a web
standard. The PBM files may be converted to other file formats using the
PBMPLUS package from http://www.acme.com/software/pbmplus/ , including PNG.
2002-10-22 15:34:59 +00:00
interp
25976c1f39
export ADJUST-TIMEOUTdon't need defrec-package anymore
2002-10-21 08:42:09 +00:00
interp
163e250b89
Some versions using callback.More will come soon. To be improved.
2002-10-21 08:41:00 +00:00
interp
13c001841b
Various changes and improvements, namely:
...
+ added links to previous menus
+ removed some typos
+ admin-servlets:
+ make unload all work
+ improved machine-user dialog
+ calculate.scm:
+ numbers are restored, if operator is changed
Sorry for this packed commit, but my ISP went down on weekend.
2002-10-21 08:38:46 +00:00
interp
4925801b9e
use DEFINE-RECORD-TYPE instead of DEFINE-RECORD
2002-10-21 08:34:12 +00:00
interp
86df9aac58
minor changes
2002-10-21 08:26:50 +00:00
interp
d02d0e19d2
use DEFINE-RECORD-TYPE instead of DEFINE-RECORD
2002-10-21 08:25:58 +00:00
interp
f0106b48e7
add `source' directory
...
Note: The MIME type reported by CORE is wrong and irritates Netscape.
2002-10-21 08:24:58 +00:00
interp
fa61699155
MAKE-UPPER-INPUT-FIELD --> MAKE-HIGHER-INPUT-FIELD
2002-10-09 15:25:14 +00:00
interp
e29d3d750a
more comfortable
2002-10-09 15:22:50 +00:00