Commit Graph

30 Commits (2bc2f23b454b27f631fc8187f6f8957a344c6852)

Author SHA1 Message Date
Chris Double 53d903cd23 get contrib examples working with html attribute changes 2005-09-25 06:23:07 +00:00
Chris Double c6d9341f13 Update contributed code I wrote, plus dlists written by eiz, to use if instead of ifte. 2005-09-25 06:03:36 +00:00
Slava Pestov 45109c1a0a major cleanup 2005-08-25 19:27:38 +00:00
Chris Double 06806ec8cc Get cont-responder examples working with 0.77 word changes. eval-responder is
currently broken though.
2005-08-23 23:49:52 +00:00
Chris Double 95a4fbb25f Various changes to get cont-responder examples working with 0.76 2005-07-25 22:34:59 +00:00
Slava Pestov c918e5d9b1 with-string is now string-out, string-in combinator, documentation updates 2005-06-19 22:53:58 +00:00
Slava Pestov f1b23d66b7 merged streams, stdio and files into io vocabulary 2005-06-19 21:50:35 +00:00
Slava Pestov 7f4da7ecd0 generic words are more flexible, sequences cleaned up 2005-05-14 21:18:45 +00:00
Slava Pestov cc1e664a99 string sub-primitives 2005-05-06 02:30:58 +00:00
Slava Pestov f96779a56c simple HTTP client; with-stream* word; various tweaks and cleanups 2005-05-02 04:18:34 +00:00
Chris Double fb211c0e05 fix yet more bitrot to do with sequence changes in cont-responder
examples.
2005-05-01 03:05:48 +00:00
Chris Double 93f4088747 more sequence code fixes for cont-responder examples 2005-04-30 04:15:12 +00:00
Slava Pestov a74632b243 hashtables were sized wrong; rename str- words to string- 2005-03-05 21:33:40 +00:00
Chris Double a0c7e80835 tidy up browser title.
put vocab and word name in browser titlebar.
update cont-responder documentation. Added information on 'show-final'
and updated examples that had suferred code rot (ie. Change use of
times*, succ, pred, [ | ], etc)..
remove setting of responder name in browser. The setting of the name
caused the browser-edit responder to jump to the browser responder when
a word was clicked..
added show-final to cont-responder.
add responder-items word for debugging in cont-responder.
changed expiry of cont-responder continuations. When the continuations
are expired they are now removed from the hash table. Previously each
request would rebuild the continuation table containing the non-expired
continuations..
convert from hashtables to typles in cont-responder.
move to using symbols for variable names in cont-responder.
convert USE: to USING: in cont-responder.
various minor cont-responder refactorings.
refactor init-cont-responder.
merge cont-get-responder and cont-put-responder into one.
refactor cont-get-responder.
fix cont-responder bug involving redirects. When a cont-responder
request for an expired page was made the  'redirect' flag was not
correctly reset. This resulted in initial  requests of a responder
redirecting when it wasn't supposed to.  Tidied up the area of redirects
and post-refresh-get pattern..
added use of show-final to todo-list.
2005-02-21 00:47:08 +00:00
Chris Double 0b3a34d0c8 add browser style to words to allow browsing source. add browser and
cont-responder to factor httpd. add cont-responder tutorial to main doc
dicretory. mention location of cont-test.factor in tutorial. change
defauly startup location of browser.
2005-02-14 21:44:15 +00:00
Chris Double f88bfcf2a8 Refactorings of the cont-responder and sqlite code. The browser
responder now accepts 'word' and 'vocab' as query parameters. The
cont-responder takes the continuation id as a query parameter instead of
part of the url.
2005-02-13 01:08:32 +00:00
Chris Double f3a37722e6 get things working with recent cvs update. Some responders still don't
work due to typecheck errors.
2004-12-29 02:59:41 +00:00
Chris Double 1ab4b8b905 replace string formatting with new make-string system and use html
instead of cont-html. remove cont-html.factor file as it is
supercontents of the html vocabulary in the standard library. remove
unneeded test function from todo example. removed requirement for
parser combinator library from todo cont-responder example.
2004-11-14 21:57:28 +00:00
Chris Double b98e4af5f0 Rewrite username validation in todo example to workaround current bug in
parser combinator library.
2004-11-02 01:10:35 +00:00
Chris Double a7eee6e189 Fix for change from worddef>list to word-parameter.
Fix for moving arithmetic functions into math vocab.
2004-08-27 02:34:09 +00:00
Chris Double d99fce030f get todo list working with native factor.
rewrote storage routines to not use run-file. Removed regular
expressions and use paser-combinators instead.
2004-08-23 20:21:49 +00:00
Chris Double 549e17a539 Add line endings to files. 2004-08-22 23:39:14 +00:00
Chris Double 846db119f6 Was logging the post alist before converting it to a string. Removed to
get things working with native factor. Various fixes to get things
loading in native factor.
2004-08-22 23:29:39 +00:00
Chris Double 4a562eb0c9 cont-html is essentially rewritten to not use a quotation between the
opening and closing tags. This actually simplifies the code quite a bit.
The current downside is the the code using the tags is not pretty
printed very well (ie. no indenting).
2004-08-02 21:35:22 +00:00
Chris Double 5503ce06ce add ability to change todo password 2004-08-02 21:33:35 +00:00
Chris Double df455b5de8 Added edit functionality and styling to todo application 2004-08-01 22:30:47 +00:00
Chris Double a91cda2e8f move button to cont-utils 2004-08-01 22:25:40 +00:00
Chris Double dafe413349 add th tag and border= attribute to cont-html.
change loader to optionally load in thread.
multiline post requests now work. Removed usage of regular
expresions .
and parse post requests using string functions instead.
add eval-responder example.
added eval-responder to loader.
Added cont-utils.factor. This contains commonly used higher level
words for continuation based responders.
Modified the todo-example to use these words, removing those it had
with similar functionality.
Change load.factor to use different words for running the files.
2004-07-25 22:31:25 +00:00
Chris Double 04880642c7 making todo list more complete
Fixed security issue if user entered certain characters in username
field.
Added 'mark complete'
Added 'delete item'
Refactored into smaller words.
refactoring of registration form in todo list
show now returns a namespace
open html words were acting like closed words and generating a close
tag. This is fixed in this patch.
convert table writes to use table word.
2004-07-22 22:04:53 +00:00
Chris Double a90e22cd52 Added todo list cont-responder example. 2004-07-21 23:22:35 +00:00