Commit Graph

91 Commits (40259d9079e8616663f108647a7a0648ca7c2229)

Author SHA1 Message Date
Chris Double f53ee2a522 Fixup contributions for changes from recent cvs updates. 2005-09-02 03:38:27 +00:00
Chris Double c19ec60942 fix eval-responder for recent factor changes 2005-08-27 03:46:46 +00:00
Slava Pestov 45109c1a0a major cleanup 2005-08-25 19:27:38 +00:00
Chris Double 88d75185db Fix eval responder to work with 0.77 changes. 2005-08-24 04:52:52 +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 8a701e6e16 Fix Todo example so it works with removal of lexi>. 2005-08-16 23:10:13 +00:00
Slava Pestov b8d8685de8 clean up class<, class-and, class-or 2005-08-01 03:38:33 +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 69608069e1 new add word, got rid of unused stdio-stream 2005-06-23 19:53:54 +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
Chris Double 089c17f401 Get eval-responder working again and fix up for the rename of 'cat' to
'append'.
2005-05-18 22:37:42 +00:00
Chris Double 4e57df3247 change usage of sbuf>string to >string 2005-05-16 02:33:08 +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
Chris Double 01b0cae9a5 Fix bitrot in cont-responder 2005-04-30 03:16:33 +00:00
Chris Double b1945f04ae get cont-responder examples working with new sequences code. 2005-04-04 22:31:31 +00:00
Slava Pestov 4d82ac0541 removed 3slip, forever, apply combinators 2005-03-21 20:13:40 +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 c1ca6b761e Change default timeout for continuation responder. Update live updater
and todo list code for stream and read word changes.
2005-02-16 01:38:21 +00:00
Chris Double 58a43f3bf2 Remove tutorial from cont-responder directory as it is in doc directory
now.
2005-02-15 02:58:09 +00:00
Chris Double 24b2777a89 Remove uneeded files. 2005-02-15 02:56:46 +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 b141634910 Fix for browser responder for where vocab or word doesn't exist 2005-02-13 01:57:34 +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 2b225a6c7b Changes to cont-responder to work with recent Factor changes
(string-output instead of string-output-stream, new cons format, etc).
2005-02-07 00:08:14 +00:00
Chris Double d9328473d1 fix typecheck error. Error was caused by using "stdio" instead of stdio
symbol.
2004-12-29 03:12:37 +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 7c8e1f62b6 Added more details to tutorial of cont-responder 2004-11-24 00:58:19 +00:00
Chris Double a5782d290e fix 'usages.' usage in eval-responder. fix tutorial typo. update browser
and tutorial for new room word changes. updated browser to use room.
instead of room. remove form around live search field in eval-responder.
prevent enter key on eval-responder in live search field from failing.
removed double prompting of numbers game. removed vars-values usage and
replaced with hash>alist.
2004-11-22 22:07:17 +00:00
Chris Double e3e434e649 Changes to cont-responder:
added start of a tutorial
  added numbers game example
  add cont-responder testing functions
  minor refactoring of cont-responder
  eval-responder now works again!

Changes to parser-combinators:
 modify str-head and str-tail usage for their changed stack effects
2004-11-20 21:32:02 +00:00
Chris Double bfd4b064a9 Remove cont-html.factor. It is replaced by html-tags.factor in the
library.
2004-11-16 03:03:55 +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 bd7fc60d8e refactor todo words as per slava's suggestions 2004-11-02 22:23:35 +00:00
Chris Double 7ec1111139 re-enable loading of todo example. 2004-11-02 01:11:30 +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 9efc607ffd Get continuation responder and parser combinators working with recent
factor changes. Todo example is currently broken.
2004-11-02 00:02:33 +00:00
Chris Double 6a0d3fcedf remove default-responders call which is no longer needed. 2004-09-08 03:51:20 +00:00
Chris Double cb4c439646 Changes to get things working with the combinators and files vocab
changes.
2004-09-02 01:18:42 +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 c22b62215a use character streams instead of binary streams in todo list.
get liveupdater working with native factor.
browser responder now works in native factor.
2004-08-23 20:22:57 +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 e363a194da revert workaround for native factor problem now that it is fixed. 2004-08-20 00:12:23 +00:00
Chris Double 0ad8cb57d7 workaround for native factor bug in processing lists 2004-08-20 00:02:01 +00:00