get things working with recent cvs update. Some responders still don't
work due to typecheck errors.cvs
parent
b97f362201
commit
f3a37722e6
|
@ -28,9 +28,8 @@ IN: browser
|
||||||
USE: html
|
USE: html
|
||||||
USE: cont-responder
|
USE: cont-responder
|
||||||
USE: cont-utils
|
USE: cont-utils
|
||||||
USE: stack
|
USE: kernel
|
||||||
USE: stdio
|
USE: stdio
|
||||||
USE: combinators
|
|
||||||
USE: namespaces
|
USE: namespaces
|
||||||
USE: words
|
USE: words
|
||||||
USE: lists
|
USE: lists
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
IN: cont-examples
|
IN: cont-examples
|
||||||
USE: cont-responder
|
USE: cont-responder
|
||||||
USE: html
|
USE: html
|
||||||
USE: stack
|
USE: kernel
|
||||||
USE: stdio
|
USE: stdio
|
||||||
USE: html
|
USE: html
|
||||||
USE: lists
|
USE: lists
|
||||||
|
|
|
@ -40,7 +40,6 @@ USE: parser
|
||||||
USE: html
|
USE: html
|
||||||
USE: cont-responder
|
USE: cont-responder
|
||||||
USE: cont-utils
|
USE: cont-utils
|
||||||
USE: stack
|
|
||||||
USE: stdio
|
USE: stdio
|
||||||
USE: namespaces
|
USE: namespaces
|
||||||
|
|
||||||
|
|
|
@ -28,16 +28,12 @@ USE: httpd
|
||||||
USE: httpd-responder
|
USE: httpd-responder
|
||||||
USE: math
|
USE: math
|
||||||
USE: random
|
USE: random
|
||||||
USE: continuations
|
|
||||||
USE: namespaces
|
USE: namespaces
|
||||||
USE: stack
|
|
||||||
USE: combinators
|
|
||||||
USE: streams
|
USE: streams
|
||||||
USE: lists
|
USE: lists
|
||||||
USE: strings
|
USE: strings
|
||||||
USE: html
|
USE: html
|
||||||
USE: kernel
|
USE: kernel
|
||||||
USE: logic
|
|
||||||
USE: html
|
USE: html
|
||||||
USE: logging
|
USE: logging
|
||||||
USE: url-encoding
|
USE: url-encoding
|
||||||
|
|
|
@ -86,7 +86,7 @@
|
||||||
! etc.
|
! etc.
|
||||||
IN: cont-responder
|
IN: cont-responder
|
||||||
USE: namespaces
|
USE: namespaces
|
||||||
USE: stack
|
USE: kernel
|
||||||
USE: combinators
|
USE: combinators
|
||||||
USE: stdio
|
USE: stdio
|
||||||
|
|
||||||
|
|
|
@ -28,10 +28,9 @@ USE: html
|
||||||
USE: cont-responder
|
USE: cont-responder
|
||||||
USE: lists
|
USE: lists
|
||||||
USE: stdio
|
USE: stdio
|
||||||
USE: stack
|
USE: kernel
|
||||||
USE: namespaces
|
USE: namespaces
|
||||||
USE: html
|
USE: html
|
||||||
USE: combinators
|
|
||||||
|
|
||||||
: simple-page ( title quot -- )
|
: simple-page ( title quot -- )
|
||||||
#! Call the quotation, with all output going to the
|
#! Call the quotation, with all output going to the
|
||||||
|
|
|
@ -27,7 +27,7 @@ IN: eval-responder
|
||||||
USE: html
|
USE: html
|
||||||
USE: cont-responder
|
USE: cont-responder
|
||||||
USE: cont-utils
|
USE: cont-utils
|
||||||
USE: stack
|
USE: kernel
|
||||||
USE: stdio
|
USE: stdio
|
||||||
USE: namespaces
|
USE: namespaces
|
||||||
USE: streams
|
USE: streams
|
||||||
|
@ -36,7 +36,6 @@ USE: lists
|
||||||
USE: errors
|
USE: errors
|
||||||
USE: strings
|
USE: strings
|
||||||
USE: logic
|
USE: logic
|
||||||
USE: combinators
|
|
||||||
USE: live-updater
|
USE: live-updater
|
||||||
USE: prettyprint
|
USE: prettyprint
|
||||||
USE: unparser
|
USE: unparser
|
||||||
|
|
|
@ -30,7 +30,6 @@ USE: namespaces
|
||||||
USE: html
|
USE: html
|
||||||
USE: words
|
USE: words
|
||||||
USE: stdio
|
USE: stdio
|
||||||
USE: stack
|
|
||||||
USE: kernel
|
USE: kernel
|
||||||
USE: cont-utils
|
USE: cont-utils
|
||||||
USE: cont-responder
|
USE: cont-responder
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
! cont-responder code for display forms and anchors that use XMLHttpRequest
|
! cont-responder code for display forms and anchors that use XMLHttpRequest
|
||||||
! and the 'liveUpdater.js' code.
|
! and the 'liveUpdater.js' code.
|
||||||
IN: live-updater
|
IN: live-updater
|
||||||
USE: stack
|
USE: kernel
|
||||||
USE: streams
|
USE: streams
|
||||||
USE: strings
|
USE: strings
|
||||||
USE: html
|
USE: html
|
||||||
|
@ -32,7 +32,6 @@ USE: cont-responder
|
||||||
USE: stdio
|
USE: stdio
|
||||||
USE: namespaces
|
USE: namespaces
|
||||||
USE: lists
|
USE: lists
|
||||||
USE: combinators
|
|
||||||
|
|
||||||
: get-live-updater-js* ( stream -- string )
|
: get-live-updater-js* ( stream -- string )
|
||||||
#! Read all lines from the stream, creating a string of the result.
|
#! Read all lines from the stream, creating a string of the result.
|
||||||
|
|
|
@ -23,12 +23,11 @@
|
||||||
!
|
!
|
||||||
! Start an httpd server and some words to re-load the continuation
|
! Start an httpd server and some words to re-load the continuation
|
||||||
! server files.
|
! server files.
|
||||||
|
USE: kernel
|
||||||
USE: httpd-responder
|
USE: httpd-responder
|
||||||
USE: httpd
|
USE: httpd
|
||||||
USE: threads
|
USE: threads
|
||||||
USE: stack
|
|
||||||
USE: prettyprint
|
USE: prettyprint
|
||||||
USE: combinators
|
|
||||||
USE: errors
|
USE: errors
|
||||||
USE: stdio
|
USE: stdio
|
||||||
|
|
||||||
|
|
|
@ -32,18 +32,15 @@ USE: html
|
||||||
USE: cont-utils
|
USE: cont-utils
|
||||||
USE: html
|
USE: html
|
||||||
USE: stdio
|
USE: stdio
|
||||||
USE: stack
|
|
||||||
USE: strings
|
USE: strings
|
||||||
USE: namespaces
|
USE: namespaces
|
||||||
USE: inspector
|
USE: inspector
|
||||||
USE: lists
|
USE: lists
|
||||||
USE: combinators
|
|
||||||
USE: cont-examples
|
USE: cont-examples
|
||||||
USE: regexp
|
USE: regexp
|
||||||
USE: prettyprint
|
USE: prettyprint
|
||||||
USE: todo
|
USE: todo
|
||||||
USE: math
|
USE: math
|
||||||
USE: logic
|
|
||||||
USE: kernel
|
USE: kernel
|
||||||
|
|
||||||
: todo-stylesheet ( -- string )
|
: todo-stylesheet ( -- string )
|
||||||
|
@ -191,12 +188,19 @@ USE: kernel
|
||||||
|
|
||||||
: valid-username-char ( ch -- b )
|
: valid-username-char ( ch -- b )
|
||||||
#! Return true if the character is valid to appear in a username.
|
#! Return true if the character is valid to appear in a username.
|
||||||
[
|
dup letter? [
|
||||||
[ letter? ] [ drop t ]
|
drop t
|
||||||
[ LETTER? ] [ drop t ]
|
] [
|
||||||
[ digit? ] [ drop t ]
|
dup LETTER? [
|
||||||
[ ] [ drop f ]
|
drop t
|
||||||
] cond ;
|
] [
|
||||||
|
digit? [
|
||||||
|
t
|
||||||
|
] [
|
||||||
|
f
|
||||||
|
] ifte
|
||||||
|
] ifte
|
||||||
|
] ifte ;
|
||||||
|
|
||||||
: replace-invalid-username-chars ( str -- str )
|
: replace-invalid-username-chars ( str -- str )
|
||||||
#! Return a string with invalid username characters mapped to underscores.
|
#! Return a string with invalid username characters mapped to underscores.
|
||||||
|
|
|
@ -26,7 +26,6 @@
|
||||||
! complete.
|
! complete.
|
||||||
IN: todo
|
IN: todo
|
||||||
USE: parser
|
USE: parser
|
||||||
USE: stack
|
|
||||||
USE: strings
|
USE: strings
|
||||||
USE: streams
|
USE: streams
|
||||||
USE: namespaces
|
USE: namespaces
|
||||||
|
@ -37,9 +36,7 @@ USE: kernel
|
||||||
USE: prettyprint
|
USE: prettyprint
|
||||||
USE: unparser
|
USE: unparser
|
||||||
USE: url-encoding
|
USE: url-encoding
|
||||||
USE: combinators
|
|
||||||
USE: files
|
USE: files
|
||||||
USE: logic
|
|
||||||
USE: hashtables
|
USE: hashtables
|
||||||
|
|
||||||
: <todo> ( user password -- <todo> )
|
: <todo> ( user password -- <todo> )
|
||||||
|
|
Loading…
Reference in New Issue