remove bogus link, set svn:eol-style

svn: r6108
This commit is contained in:
Eli Barzilay 2007-05-01 03:25:37 +00:00
parent 0ef215c58c
commit f7da18826d
35 changed files with 32 additions and 35 deletions

View File

@ -7,4 +7,4 @@
(define (start initial-request) (define (start initial-request)
(send/back (send/back
`(html (a ([href url]) `(html (a ([href url])
"Title"))))) "Title")))))

View File

@ -11,4 +11,4 @@
(define (start request) (define (start request)
(send/suspend/callback (send/suspend/callback
`(html (body (p (a ([href ,start]) "Forward")) `(html (body (p (a ([href ,start]) "Forward"))
(p (a ([href ,end]) "End"))))))) (p (a ([href ,end]) "End")))))))

View File

@ -6,4 +6,4 @@
(define timeout +inf.0) (define timeout +inf.0)
(define (start initial-request) (define (start initial-request)
(let ([b (new button% (label "Button"))]) (let ([b (new button% (label "Button"))])
(list #"text/plain" "Button")))) (list #"text/plain" "Button"))))

View File

@ -1 +0,0 @@
/Users/jay/Development/Projects/papers/web-cells/cell-example.ss

View File

@ -43,4 +43,4 @@
(lambda _ (lambda _
(counter) (counter)
(main-page)))]) (main-page)))])
"View Counter")))))) "View Counter"))))))

View File

@ -33,4 +33,4 @@
(counter (counter
(lambda (v) (lambda (v)
(main-page)))))]) (main-page)))))])
"View Counter")))))) "View Counter"))))))

View File

@ -32,4 +32,4 @@
(lambda _ (lambda _
(counter) (counter)
(main-page)))]) (main-page)))])
"View Counter")))))) "View Counter"))))))

View File

@ -13,4 +13,3 @@
(p ,(if (eq? (current-custodian) servlet-cust) (p ,(if (eq? (current-custodian) servlet-cust)
"It didn't work." "It didn't work."
"It did work.")))))) "It did work."))))))

View File

@ -33,4 +33,3 @@
`(html (head (title "Expiration demo")) `(html (head (title "Expiration demo"))
(body (p (a ([href ,k-url]) "Forget the past.")))))))))]) (body (p (a ([href ,k-url]) "Forget the past.")))))))))])
"Prepare to forget the past.")))))))))) "Prepare to forget the past."))))))))))

View File

@ -9,4 +9,4 @@
(lambda (k-url) (lambda (k-url)
`(a ([href ,k-url]) "Click"))) `(a ([href ,k-url]) "Click")))
(set! X (add1 X)) (set! X (add1 X))
(format "~a" "fault"))) (format "~a" "fault")))

View File

@ -25,4 +25,4 @@
`(html `(html
(body (body
(pre (pre
,(get-output-string sport)))))) ,(get-output-string sport))))))

View File

@ -21,4 +21,4 @@
[enctype "multipart/form-data"]) [enctype "multipart/form-data"])
(h3 "Submit for an Assignment") (h3 "Submit for an Assignment")
(input ([name "file"] [type "file"] [size "30"])) (input ([name "file"] [type "file"] [size "30"]))
(input ([type "submit"] [value "Submit"])))))))) (input ([type "submit"] [value "Submit"]))))))))

View File

@ -12,4 +12,4 @@
(send/suspend (send/suspend
(lambda (k-url) (lambda (k-url)
`(html (a ([href ,k-url]) "Error")))) `(html (a ([href ,k-url]) "Error"))))
(/ 1 0))) (/ 1 0)))

View File

@ -16,4 +16,4 @@
(form ([method "POST"] (form ([method "POST"]
[action ,k-url]) [action ,k-url])
(input ([type "text"] [name "test:case"])) (input ([type "text"] [name "test:case"]))
(input ([type "submit"]))))))))))))) (input ([type "submit"])))))))))))))

View File

@ -10,4 +10,4 @@
(* 1000 1))) (* 1000 1)))
(lambda _ (lambda _
(printf "One second has passed.~n")))) (printf "One second has passed.~n"))))
(loop))) (loop)))

View File

@ -9,4 +9,4 @@
(define (start initial-request) (define (start initial-request)
`(html (head (title "A Test Page")) `(html (head (title "A Test Page"))
(body ([bgcolor "white"]) (body ([bgcolor "white"])
(p "This is a simple module servlet."))))) (p "This is a simple module servlet.")))))

View File

@ -21,4 +21,4 @@
`(html (head (title "Instance expiration demo")) `(html (head (title "Instance expiration demo"))
(body (p "Reload in a few minutes.") (body (p "Reload in a few minutes.")
(p "(or change the instance id to something made up.")))))]) (p "(or change the instance id to something made up.")))))])
"Click this link.")))))))) "Click this link."))))))))

View File

@ -20,4 +20,4 @@
`(html (head (title "Instance expiration demo")) `(html (head (title "Instance expiration demo"))
(body (p "Reload in a few minutes.") (body (p "Reload in a few minutes.")
(p "(or change the instance id to something made up.")))))]) (p "(or change the instance id to something made up.")))))])
"Click this link.")))))))) "Click this link."))))))))

View File

@ -8,4 +8,4 @@
(define (get-time) (define (get-time)
(web-cell:local-ref load-time)) (web-cell:local-ref load-time))
(web-cell:local-set! load-time (current-seconds))) (web-cell:local-set! load-time (current-seconds)))

View File

@ -11,4 +11,4 @@
(report-errors-to-browser send/finish) (report-errors-to-browser send/finish)
`(html (head (title "Servlet Parameter Test")) `(html (head (title "Servlet Parameter Test"))
(body (h1 "Servlet Parameter Test") (body (h1 "Servlet Parameter Test")
,(number->string (get-time)))))) ,(number->string (get-time))))))

View File

@ -6,4 +6,4 @@
(define (get-time) (define (get-time)
(load-time)) (load-time))
(load-time (current-seconds))) (load-time (current-seconds)))

View File

@ -7,4 +7,4 @@
(thread-wait (thread-wait
(thread (thread
(lambda () (lambda ()
(printf "~S~n" (start 'foo)))))) (printf "~S~n" (start 'foo))))))

View File

@ -11,4 +11,4 @@
(report-errors-to-browser send/finish) (report-errors-to-browser send/finish)
`(html (head (title "Servlet Parameter Test")) `(html (head (title "Servlet Parameter Test"))
(body (h1 "Servlet Parameter Test") (body (h1 "Servlet Parameter Test")
,(number->string (get-time)))))) ,(number->string (get-time))))))

View File

@ -21,4 +21,4 @@
"Fast"))))))) "Fast")))))))
(define (second label) (define (second label)
`(html (body ,label `(html (body ,label
,(number->string (current-seconds)))))) ,(number->string (current-seconds))))))

View File

@ -7,4 +7,4 @@
(lambda (failed-request) (lambda (failed-request)
`(html (body (h2 "Error")))))) `(html (body (h2 "Error"))))))
(define (start initial-request) (define (start initial-request)
`(html (body (h2 "Look Ma, No Instance!"))))) `(html (body (h2 "Look Ma, No Instance!")))))

View File

@ -25,4 +25,4 @@
`(html `(html
(body (body
(pre (pre
,(get-output-string sport)))))) ,(get-output-string sport))))))

View File

@ -5,4 +5,4 @@
(define interface-version 'v1) (define interface-version 'v1)
(define timeout 120) (define timeout 120)
(define (start ireq) (define (start ireq)
(send/finish '(("paul") "...")))) (send/finish '(("paul") "..."))))

View File

@ -16,4 +16,4 @@
(define r (extract-binding/single `x (request-bindings q))) (define r (extract-binding/single `x (request-bindings q)))
(send/suspend (send/suspend
(build-suspender `("Result of test") (build-suspender `("Result of test")
(list r))))) (list r)))))

View File

@ -9,4 +9,4 @@
(define-serializable-struct foo ()) (define-serializable-struct foo ())
(define (start req) (define (start req)
(deserialize (serialize (make-foo))) (deserialize (serialize (make-foo)))
`(html (body "Made it")))) `(html (body "Made it"))))

View File

@ -16,4 +16,4 @@
(- time start-time) (- time start-time)
(- time last-time))) (- time last-time)))
(input ((type "submit"))))))) (input ((type "submit")))))))
(loop time))))) (loop time)))))

View File

@ -7,4 +7,4 @@
(define (start initial-request) (define (start initial-request)
;(report-errors-to-browser send/back) ;(report-errors-to-browser send/back)
(/ 1 0))) (/ 1 0)))

View File

@ -15,4 +15,4 @@
(lambda (r) (lambda (r)
`(html (head) (body ,i))))]) `(html (head) (body ,i))))])
,(number->string i)))) ,(number->string i))))
`(1 2 3 4 5 6 7 8 9 0))))))))) `(1 2 3 4 5 6 7 8 9 0)))))))))

View File

@ -6,4 +6,4 @@
(define (start initial-request) (define (start initial-request)
(list (list
#"text/html" #"text/html"
"<html><head></head><body>Foo</body><html>"))) "<html><head></head><body>Foo</body><html>")))

View File

@ -8,4 +8,4 @@
(send/back (send/back
`(html (head) `(html (head)
(body (body
(h1 "Hey")))))) (h1 "Hey"))))))

View File

@ -14,4 +14,4 @@
(body (body
(form ([action ,k-url]) (form ([action ,k-url])
(input ([type "text"] [name "name"])) (input ([type "text"] [name "name"]))
(input ([type "submit"]))))))))))) (input ([type "submit"])))))))))))