Commit Graph

279 Commits (cbdd559a759b5aef9b1c97d8b69a29e159d14ae1)

Author SHA1 Message Date
Slava Pestov c4f4c6749f Fixing some test failures after url.encoding change 2009-07-09 19:02:15 -05:00
Alfredo Beaumont 45ee0a4269 Added support for custom redirect number in http requests 2009-06-18 20:47:08 +02:00
Doug Coleman 50e6fac013 change threaded-server and managed-server to take an encoding 2009-05-30 19:15:53 -05:00
Doug Coleman 407377fc98 rename peek -> last and update all usages 2009-05-25 16:38:33 -05:00
Slava Pestov 66a9416473 Update documentation for stricter vocabulary search path semantics 2009-05-16 00:29:21 -05:00
Slava Pestov b62630b5ac Updating code in basis and extra for stricter vocab search path semantics 2009-05-14 23:23:06 -05:00
Slava Pestov fb6df472a2 Cleaning up USING: lists for new strict semantics 2009-05-14 16:54:16 -05:00
Slava Pestov b2c3183b21 Split up tools.vocabs. Note that load-everything is now named load-all 2009-05-04 06:44:17 -05:00
Slava Pestov a362ea7d6d Tweak http.client docs 2009-04-30 22:10:18 -05:00
Slava Pestov 05f3f9dcb9 Fixing unit tests for stack effect inference changes 2009-04-20 21:15:19 -05:00
Alex Chapman 9e4adede5f Add <delete-request> and http-delete 2009-04-15 10:52:00 +10:00
Alex Chapman f2596259dd Merge branch 'master' into experimental
Conflicts:
	basis/http/client/client.factor
2009-04-14 10:42:41 +10:00
Alex Chapman ace909795d couchdb in progress 2009-04-14 10:00:09 +10:00
Slava Pestov cedbad0772 Fix tests to not clutter Factor directory 2009-04-13 15:21:16 -05:00
Slava Pestov 694652590f download word throneeds to ws an error if the request did not return a success code (reported by Chris Double) 2009-04-09 08:18:26 -05:00
Slava Pestov 63cf5b04e1 http.client: fix 307 redirect behavior (reported by Chris Double) 2009-04-07 04:19:21 -05:00
Slava Pestov 2c1f7b9293 Static responder now works when the root is a file rather than a directory 2009-04-07 03:37:29 -05:00
Slava Pestov 723bfab030 Fixing unit tests for syntax change 2009-03-23 00:34:02 -05:00
Slava Pestov fd0fd8fb71 Remove useless slot 2009-03-20 01:53:49 -05:00
Slava Pestov 4b26ff6a95 Add variables to set request-limit and upload-limit 2009-03-20 01:47:09 -05:00
Daniel Ehrenberg d5af5027d0 Making http use ASCII rather than Unicode; fixing encodings bug 2009-03-18 18:49:59 -05:00
Slava Pestov be4fb1e7d9 Move call( and execute( to core 2009-03-16 20:11:36 -05:00
Slava Pestov 0d38d2f7e8 Fix more stack effects 2009-03-15 18:28:46 -05:00
Slava Pestov 8e55533bfa Tweak some furnace code to infer and load with almost no warnings 2009-03-15 18:19:29 -05:00
Alex Chapman 47faa0eefe Merge branch 'master' into experimental 2009-03-13 10:26:23 +11:00
Slava Pestov 81d23c3ac0 Fix parse-content-type for quoted tokens 2009-03-08 17:33:17 -05:00
Slava Pestov 6330272760 Fix CGI 2009-03-07 22:09:57 -06:00
Slava Pestov c28370d356 Allow headers containing " to fix problem reported by doublec 2009-03-07 21:24:32 -06:00
Slava Pestov 4f81b6750f Make cookie header parser more lenient 2009-03-07 20:32:07 -06:00
Slava Pestov cd53c2bd37 produce and produce-as: don't need third quotation either 2009-02-28 15:31:34 -06:00
Alex Chapman 969fff0f5b Merge branch 'master' into experimental 2009-02-25 11:16:11 +11:00
Alex Chapman 7b1ed9889f Merge branch 'master' into experimental
Conflicts:
	basis/http/client/client.factor
2009-02-16 12:48:58 +11:00
Daniel Ehrenberg e90ad88876 Merge branch 'master' of git://factorcode.org/git/factor 2009-02-13 15:10:41 -06:00
Joe Groff 2bb9448ebc add set-basic-auth to http, and make http-request stuff the response body in the error message on failure 2009-02-12 22:39:26 -06:00
Daniel Ehrenberg 1682a5512a Minor docs fix and cleanup in http.server.static 2009-02-12 22:26:44 -06:00
Slava Pestov 07caee3405 Update some existing code to use initialize 2009-02-10 16:16:12 -06:00
Daniel Ehrenberg 86c3481f12 Moving XML vocabularies around 2009-02-05 21:17:03 -06:00
Slava Pestov cb174f0db1 Regression: HTTP server would fail to serve files with binary encoding after Dan's io.encodings.iana changes from earlier today 2009-02-04 04:17:24 -06:00
Daniel Ehrenberg 594f21e5bd Fixing HTTP and IANA tests 2009-02-03 19:44:28 -06:00
Alex Chapman ec811be0a0 Merge branch 'master' into experimental 2009-02-03 11:57:36 +11:00
Slava Pestov e089ce6df0 Fix http test 2009-02-01 02:02:09 -06:00
Slava Pestov 7a8dc80426 Fix some issues in http.server 2009-01-31 20:54:49 -06:00
Daniel Ehrenberg d4f865d5f0 Fixing some things I broke 2009-01-30 19:28:16 -06:00
Alex Chapman a04d8aaf17 Merge branch 'master' into experimental 2009-01-30 21:22:54 +11:00
Alex Chapman da7a6da6a5 Merge branch 'master' into experimental
Conflicts:
	basis/http/client/client.factor
2009-01-30 21:20:28 +11:00
Doug Coleman 3c408342ef renaming: contain? -> any?, deep-contains? -> deep-any?, pad-left -> pad-head, pad-right -> pad-tail, trim-left -> trim-head, trim-right -> trim-tail 2009-01-29 22:19:07 -06:00
Daniel Ehrenberg cadbcdc9a4 Fixing everything now(?) 2009-01-29 15:15:50 -06:00
Daniel Ehrenberg 6372395b8a Fixing everything I broke? 2009-01-29 13:33:04 -06:00
Daniel Ehrenberg d5160ce791 Fixing USING: lines 2009-01-28 15:46:34 -06:00
Alex Chapman 4e41211399 Merge branch 'master' into experimental (untested!)
Conflicts:
	basis/http/client/client.factor
2009-01-28 20:58:35 +11:00
Slava Pestov 6b25e99470 Add summary for heaps more vocabs 2009-02-16 21:05:13 -06:00
Slava Pestov 6b99b04531 Add vocab: for vocab-relative paths 2009-02-15 19:53:21 -06:00
Daniel Ehrenberg fcb56cf6db Factored out io.crlf 2009-01-27 18:42:17 -06:00
Slava Pestov 56260087ae Merge branch 'master' of git://factorcode.org/git/factor 2009-01-26 23:20:45 -06:00
Slava Pestov 92f9338978 Smart quotes 2009-01-26 23:20:27 -06:00
Doug Coleman 43830f5fcc make mime parsing return a single hashtable instead of several different ones 2009-01-26 15:23:49 -06:00
Slava Pestov 29b561a7ee Fix load error 2009-01-23 21:10:23 -06:00
Slava Pestov 7b344408ff Working on better POST and PUT requests 2009-01-23 20:02:14 -06:00
Slava Pestov f34c14a0f5 Remove some usages of tuck 2009-01-23 18:20:47 -06:00
Slava Pestov 6e9f0dbfdd Update http.client docs for PUT request and stream post-data 2009-01-22 23:01:29 -06:00
Slava Pestov dad22d0ee5 Fix http help lint 2009-01-22 20:08:23 -06:00
Slava Pestov f160771123 Fix POST with streams to use chunked encoding, add http-put word 2009-01-22 19:08:38 -06:00
Doug Coleman 376f332eef allow streams in the post-data tuple 2009-01-21 22:21:40 -06:00
Doug Coleman 3150722c7f better http.server that handles multipart data in the same way as regular form data. fix http client for changes 2009-01-21 19:55:25 -06:00
Doug Coleman 050dbf8a60 http server can upload files. WOW! 2009-01-20 16:35:52 -06:00
Slava Pestov e6aa33ac12 Add new intersects? word and use it in a few places instead of intersect empty? 2009-01-12 01:51:38 -06:00
Slava Pestov 39391fe852 CGI responder would fail if the CGI script would emit non-ASCII characters; set encoding to binary 2009-01-07 13:46:52 -06:00
Slava Pestov 44b6a490a1 Add protocol slot to make it work with funny load order 2008-12-19 00:52:41 -06:00
Slava Pestov c5160d76e9 Merge qualified, alias, symbols, constants into core 2008-12-17 18:10:01 -06:00
Slava Pestov 63fda570bf Fixing assorted compile errors and help lint warnings 2008-12-16 01:12:36 -06:00
Slava Pestov daf2857d7b define-inline now takes an effect parameter
C: now sets the stack effect of the new word to slot names
add new basis/constants vocab; CONSTANT: foo bar is equivalent to : foo bar ; inline
(going to fold CONSTANT:, ALIAS: and qualified into core soon perhaps)
tighten the screws: inline words now need a stack declaration too
update some usages of inline words
2008-12-15 19:44:56 -06:00
Slava Pestov 5cb18d51b3 Fixing test-all and help-lint-all failures 2008-12-15 03:33:04 -06:00
Slava Pestov e0f86889c7 Fixing load-everything for io.files split 2008-12-15 01:13:35 -06:00
Slava Pestov 59a5e554d4 Split up io.directories further, move file types to io.files.types. Bunny demo no longer pulls in file-info and file-system-info code, reducing image size by 35kb 2008-12-15 00:01:06 -06:00
Philipp Winkler 0cc4dc4e0a Allow post data to be send on PUT as well as POST actions. Allow any message between 200 and 299 to mean success. 2008-12-10 21:30:33 -08:00
Slava Pestov 5bfa17d962 Split off error. methods into sub-vocabs in a few places 2008-12-08 20:04:13 -06:00
Doug Coleman 7d2ca36fad swap 3append -> glue 2008-12-03 19:13:18 -06:00
Alex Chapman 2250ecc42b Merge branch 'master' into experimental 2008-11-26 15:04:38 +11:00
Slava Pestov 6297c4d2e4 Make cookie parsing more permissive 2008-11-24 20:26:29 -06:00
Doug Coleman de7b002baf use mime.types not mime-types 2008-11-21 22:13:14 -06:00
Slava Pestov 9bf63b1613 New $quotation markup element 2008-11-16 09:03:30 -06:00
Slava Pestov 93e9e34175 Add $maybe markup element 2008-11-16 06:02:13 -06:00
Alex Chapman 030619114f Un-privatising a word in http.client 2008-11-01 20:39:18 +11:00
Alex Chapman 59e76f4d13 Changes to http.client for couchdb
I made the download-failed error contain the data returned by the
server.
2008-11-01 15:35:23 +11:00
Alex Chapman 7186c67354 Merge branch 'master' of git://factorcode.org/git/factor into couchdb 2008-10-28 22:55:18 +11:00
Slava Pestov 1df08ba8c8 Unit tests no longer use hard-coded ports 2008-10-20 22:05:22 -05:00
Doug Coleman e9c79ee85e fix directory. 2008-10-19 20:42:27 -05:00
Doug Coleman 0e9ecc1ba9 directory changes 2008-10-19 13:09:48 -05:00
Alex Chapman 629289b46f Work on couchdb in progress. Added http-delete, http-trace, refactored some of http.client. 2008-10-13 17:01:29 +11:00
Alex Chapman b2ba2ebbbc Merge branch 'experimental' into couchdb 2008-10-13 15:44:42 +11:00
Alex Chapman a643c0f0f1 Merge branch 'experimental' into couchdb 2008-10-02 15:01:49 +10:00
Slava Pestov 1cf1d967ea New combinators for incremental HTTP requests 2008-10-01 05:43:20 -05:00
Slava Pestov b546ad3c6d Fix problem odd headers sent by Windows CE 2008-10-01 03:13:56 -05:00
Slava Pestov 6a97831ba5 Add example to docs 2008-09-30 22:42:57 -05:00
Slava Pestov 57c9012d49 Debug CGI 2008-09-29 21:18:37 -05:00
Slava Pestov 97c5324142 Fix laod error 2008-09-29 20:09:31 -05:00
Slava Pestov 845c30496d Update usings 2008-09-29 19:49:17 -05:00
Slava Pestov dc1d7c76b7 Clean up some web framework code 2008-09-29 04:10:00 -05:00
Slava Pestov d3423bec4f Better logging 2008-09-28 17:56:44 -05:00
Slava Pestov 7240c9f717 Fix help lint 2008-09-27 15:22:35 -05:00
Slava Pestov c8b86fcbc2 Fix circularity 2008-09-27 12:16:15 -05:00
Slava Pestov 0ba1a1335e http.server documentation 2008-09-27 11:37:46 -05:00
Slava Pestov 9cbe0b73ee http.client docs 2008-09-25 04:47:42 -05:00
Slava Pestov cbd40b71d4 Fixing URL docs, http docs 2008-09-25 02:46:37 -05:00
Slava Pestov 018991f343 More tags 2008-09-24 00:45:28 -05:00
Slava Pestov f16348fe75 Fix tests 2008-09-23 19:29:09 -05:00
Slava Pestov 7a83d2798c Messing with port remapping 2008-09-22 16:54:34 -05:00
Slava Pestov 6d60b5a74f Implement port remapping 2008-09-22 16:49:50 -05:00
Doug Coleman 39eacca297 fix test, something is still broken 2008-10-02 16:37:04 -05:00
Doug Coleman 695d3dd2d2 Merge branch 'master' of git://factorcode.org/git/factor 2008-10-02 12:52:42 -05:00
Doug Coleman a7027700d1 update with-db usages 2008-10-02 12:51:21 -05:00
Slava Pestov c19f2257f4 Fix permission bits 2008-10-02 08:34:49 -05:00
Slava Pestov 403d5207f0 stop-server/stop-this-server split 2008-10-02 08:30:38 -05:00
Slava Pestov 7a2eb1d7b2 Split off urls.secure for SSL support; reduces deployed image size 2008-10-02 05:13:22 -05:00
Slava Pestov 15eaf33ee8 Remove http.client => logging dependency 2008-10-02 03:38:09 -05:00
Slava Pestov 87c71ee376 Rice 2008-10-02 01:17:54 -05:00
Alex Chapman ec9004ab8a Merge branch 'experimental' into couchdb 2008-09-17 20:02:34 +10:00
Alex Chapman b65feec3bd Add http-put, and make any return code between 200 and 299 success. 2008-09-17 19:35:30 +10:00
Slava Pestov cf80dd122a Updating code for make and fry changes 2008-09-10 22:11:40 -05:00
Slava Pestov 44f53de164 Move make to its own vocabulary, remove fry _ feature 2008-09-10 20:07:00 -05:00
Slava Pestov 59623414b6 Fix bug spotted by Ed 2008-09-08 01:10:12 -05:00
Slava Pestov 32c2543571 Documentation fixes 2008-09-06 05:12:28 -05:00
Slava Pestov 99cf4354bc Fix test failures 2008-09-06 02:16:44 -05:00
Slava Pestov 57ca685e26 New tuple syntax 2008-09-05 20:39:45 -05:00
Slava Pestov bcc8483b5b Move match to basis since compiler.tree.debugger uses it, fix conflict 2008-09-05 19:48:44 -05:00
Slava Pestov aea0fed14c Fixing basis -> extra dependencies 2008-09-05 19:29:14 -05:00
Doug Coleman 9af12d96cf left-trim -> trim-left 2008-09-05 18:56:35 -05:00
Slava Pestov 26b89084b7 Fix path names 2008-09-04 20:11:28 -05:00
Slava Pestov 724fae53e9 Move web framework to basis 2008-09-04 18:15:13 -05:00