Commit Graph

279 Commits (cbdd559a759b5aef9b1c97d8b69a29e159d14ae1)

Author SHA1 Message Date
John Benediktsson 115b7b62df basis: removing unnecessary method stack effects. 2020-09-09 15:00:54 -07:00
John Benediktsson 2e5cec428a help.markup: adding a $slots word to document slots, use it. 2020-02-16 22:36:19 -08:00
Doug Coleman 06e85cc606 http.server: Actually use the port remapping instead of throwing it away.
For a port 8080 remapped to port 80, the ``or`` in this line looks like ``8080 80 or`` which doesn't get the remapped port.

Fixes #692 and #1992.
2018-06-23 11:41:41 -07:00
John Benediktsson 0ab7ed6979 io.encodings: use new latin1 instead of 8-bit encoding from file. 2018-02-28 08:56:01 -08:00
John Benediktsson 85b69b5b49 io.encodings.8-bit: more encodings, and reduce hierarchy. 2018-02-26 10:21:35 -08:00
John Benediktsson ca03896d74 more test IN: cleanup. 2018-02-15 09:20:01 -08:00
John Benediktsson 7d628b833d fix some typos in docs. 2018-02-12 16:22:49 -08:00
Björn Lindqvist 8675cb2c25 basis/,core/,extra/: more tags 2017-07-08 18:31:39 +02:00
John Benediktsson baaa06278c Revert "sequences: swap stack arguments for start/start*/subseq?."
This reverts commit 63b0593824.
2017-01-21 07:20:14 -08:00
John Benediktsson 63b0593824 sequences: swap stack arguments for start/start*/subseq?.
It is more natural to be ( seq subseq -- ? ).
2017-01-20 22:49:53 -08:00
Jon Harper 5af166b8f5 add DOCTYPE html in most places.
4ef4235 started it. This is also good for html emails like in
extra/webapps/mason/backend/watchdog/watchdog.factor .

I just grepped for "<html>".
2017-01-05 09:03:46 -08:00
Björn Lindqvist 2895d5e095 calendar.format: moving parsing words to a new vocab calendar.parser
The vocab was getting big so the idea is to have all the time parsing in
calendar.parsing and only keep formatting words in calendar.format.
2017-01-04 08:50:24 +01:00
John Benediktsson 3974ba8ba3 use with-variable in some places with-scope was used. 2017-01-03 19:12:29 -08:00
Björn Lindqvist 6cb3e313d9 dlists,http,ui.gadgets.*: nicer formatting of tuples 2016-11-30 16:36:25 +01:00
Björn Lindqvist b31c0b8857 Docs: bunch of random doc updates 2016-10-31 11:46:39 +01:00
Björn Lindqvist 20711a0fd3 Adding escaping to CHAR: " -> CHAR: \"
It is not necessary to escape the " character, but it doesn't hurt and
is necessary for syntax-highlighting (FUEL) to work correctly.
2016-09-04 06:40:43 +02:00
Alexander Iljin 1aded9abdd docs: replace $description with $class-description for class words 2016-07-30 09:25:30 -07:00
Alexander Iljin 2fd5654473 Add EOL at EOF for all authors.txt files for consistency
In some instances replaced CR/LF with LF.
2016-07-30 09:25:30 -07:00
John Benediktsson 6b12e2e3bc use ?delete-file instead of [ delete-file ] ignore-errors. 2016-07-10 20:28:46 -07:00
John Benediktsson 77bb2c4146 http.server.responses: less dynamic but equal. 2016-07-10 15:44:54 -07:00
John Benediktsson cab9a3d625 http.server.responses: load trivial responses from a text file. 2016-07-10 15:29:18 -07:00
Jon Harper e4f2770456 http.server.static: add sorts on columns 2016-07-03 23:21:19 +02:00
Jon Harper 679abfa5d7 http.server.static, html table listings 2016-07-03 23:21:18 +02:00
Doug Coleman 0f217b9cf0 http.server.static: sort files for static html directory listing. seems to be sorted on mac already, but not on linux. consider allowing a sort order parameter in the future. 2016-06-01 11:59:57 -07:00
Doug Coleman 0e55a173a0 http.client: disable sni test that hits the velox.ch site as per requested by the site owner. 2016-05-22 22:53:28 -07:00
Jon Harper 617a725ba5 http.client, proxy defaults to http protocol like for the target 2016-03-31 06:25:03 -07:00
Jon Harper ed33bc7862 http.client, request-url don't try to fix unfixable urls
Before, it would prepend http:// to anything and that would create
bad urls like URL" http://http://". It's simpler to fix only what is
fixable
2016-03-31 06:25:03 -07:00
Jon Harper 9cbf548340 http.client: throw if the proxy not empty and not valid 2016-03-31 06:25:03 -07:00
John Benediktsson 498285d7dd unicode: make this the API for all unicode things. 2016-03-30 23:29:48 -07:00
John Benediktsson fc8830b03e http.client: make no-proxy? to do less work with no proxies. 2016-03-30 13:49:11 -07:00
Jon Harper 62603e1f8c http.client, allow to use http proxies 2016-03-30 13:46:55 -07:00
Jon Harper e272a5a670 http.client, automatically add basic auth from urls if present 2016-03-30 13:46:55 -07:00
Jon Harper 2bf3eb3919 http.client, don't write the anchor in the request line 2016-03-30 13:46:55 -07:00
Jon Harper 4ad5071b70 http.client, fix GETs after POSTs redirects
Before this change, after a post is responded to by a 301 redirect,
the next GET had the "content-length: XX" and
"content-type: application/x-www-form-urlencoded" http headers.

Detected by running "http" test while using
squid 3.3.8 which returns a 411 error in this case.
2016-03-30 13:46:55 -07:00
John Benediktsson 2cf223d863 http: fix tests for string-lines. 2016-03-13 20:01:58 -07:00
Benjamin Pollack 3fda77dbe8 Add an SNI-based http.client test 2016-03-03 09:48:20 -08:00
John Benediktsson 02c4ec3630 http.server.requests: fix LH{ } in tests. 2015-11-04 13:01:59 -08:00
John Benediktsson 29f94f8a65 http.server.static: better fix for cgi-docs issue. 2015-10-02 11:32:20 -07:00
John Benediktsson 36c002f567 http.server.cgi: different fix maybe. 2015-10-02 11:25:36 -07:00
John Benediktsson 761f0d630e Revert "http.server.cgi: fix for the dependency cycle http.server.cgi <=>"
This reverts commit 51c5484e24.
2015-10-02 11:12:56 -07:00
Björn Lindqvist 51c5484e24 http.server.cgi: fix for the dependency cycle http.server.cgi <=>
http.server.static (#1311)
2015-10-02 14:19:47 +02:00
John Benediktsson e477f6996f Fix comments to be ! not #!. 2015-09-08 16:15:10 -07:00
Doug Coleman be82224fe9 peg: 'convention' -> convention-parser for Factor word names. In EBNF DSL, 'convention' is obviously still allowed. 2015-08-15 18:10:52 -07:00
John Benediktsson 2bb93f1b72 furnace.actions: return Method Not Allowed if not GET/HEAD/POST. 2015-08-15 16:57:40 -07:00
John Benediktsson ceb75057da change ERROR: words from throw-foo back to foo. 2015-08-13 16:13:05 -07:00
Doug Coleman b6be8685c3 basis: ERROR: changes. 2015-08-13 03:20:39 -07:00
Doug Coleman 330c7ba156 factor: Removing SLOT: nth/at/global in favor of using change: at for tuple slots named ``at`` and change-at for hashtables.
Redo many FROM: and QUALIFIED: and using lists.
2015-08-12 08:49:02 -05:00
Doug Coleman 1fcf96cada factor: remove """ string syntax for now. there are HEREDOC:, STRING:, escaping \", and something else soon. 2015-07-25 22:59:56 -07:00
Doug Coleman 892c62e1dc factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test 2015-07-03 09:39:59 -07:00
Doug Coleman 43d6f1d3e2 factor: Retrying on the unit tests. Also normalize some syntax with FUNCTION:. 2015-07-02 17:28:17 -07:00