Commit Graph

107 Commits (21cb42edf3d91a4be40af5c79cfc1d53e3a0abff)

Author SHA1 Message Date
Doug Coleman 15b13870ae peg.ebnf: Clean up EBNF: syntax.
The syntax for an EBNF parser is now ``EBNF: identifier string``. The
inline syntax went from [EBNF ...  EBNF] to EBNF[[ ]], EBNF[=[ ]=], etc.

<EBNF looked for a main word, but this functionality is just EBNF[[ ]]
now.
2017-08-05 22:23:57 -05:00
Doug Coleman c5b563ed09 factor: Rename start -> subseq-start, start* -> subseq-start-from.
I also removed aliases for start/end from interval-maps and interval-sets and added a comment. I don't think it's any less clear what's going on.
2017-06-01 14:45:54 -05:00
John Benediktsson 33f2fbd099 oauth2: move set-query-params to urls. 2017-01-22 14:44:33 -08: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
Björn Lindqvist 2a21052950 Revert "Revert "urls: only create linked-hash if query is f." (#1513)"
This reverts commit 89d4f511f8.
2016-11-20 05:09:13 +01:00
Björn Lindqvist 89d4f511f8 Revert "urls: only create linked-hash if query is f." (#1513)
This reverts commit 6d21a5a073. Just
guessing here.
2016-11-16 04:02:58 +01:00
Björn Lindqvist 97d3c42091 urls: better parsing of the scheme component of urls
normalize to lowercase and a few more characters are allowed in the
protocol part.
2016-07-31 02:46:39 +02:00
John Benediktsson 5a3848515e urls: remove unnecessary >secure-addr indirection. 2016-04-16 17:11:01 -07:00
John Benediktsson 4d83867cb4 strings.parser: remove parse-short-string, everyone should parse-string. 2016-04-04 15:00:04 -07:00
Doug Coleman fe3031bc96 urls.secure: roll this into urls since we ship libressl on windows now. 2016-03-29 11:40:42 -07:00
Doug Coleman 2af988eca2 urls: fix docs 2016-03-03 16:15:11 -08:00
Doug Coleman 9d563dc2fe urls: fix unit test 2016-03-03 14:21:12 -08:00
Benjamin Pollack 62d1425971 Add SNI support to Factor
Fixes #1527
2016-03-03 09:48:20 -08:00
John Benediktsson 6d21a5a073 urls: only create linked-hash if query is f. 2015-11-19 08:50:30 -08:00
Björn Lindqvist 7301da0314 urls: fix for the test failure in the yahoo vocab
?set-at can't be used in set-query-param because it creates a normal
hashtable and we need a linked-assoc
2015-11-16 11:41:21 +01:00
John Benediktsson a97f840daa urls.encoding: make query>assoc docs have checked example. 2015-11-04 15:16:36 -08:00
Doug Coleman bda9092cef urls: Fix unit tests for linked-hash change 2015-11-04 10:45:02 -08:00
John Benediktsson a73340a032 urls.encoding: fix tests for linked-hash changes. 2015-11-04 08:43:08 -08:00
John Benediktsson f7b7b5afbf urls.encoding: preserve order of URL query parameters. 2015-11-04 08:36:56 -08:00
John Benediktsson 986bf1b2f9 Revert "Auto load urls.secure when needed"
This reverts commit bb7740091e.
2015-11-04 07:45:46 -08:00
Sankaranarayanan Viswanathan bb7740091e Auto load urls.secure when needed 2015-10-29 21:28:22 -07:00
John Benediktsson e8cc383388 minor cleanup. 2015-08-17 20:32:28 -07:00
John Benediktsson 399d01f56e strings.parser: finish removing triple-strings.
parse-string => parse-short-string (on the same line)
parse-multiline-string-until => parse-full-string
2015-08-17 19:49:12 -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 d3a749d17a urls: allow + in protocols, e.g. git+https:// 2015-08-04 09:16:47 -07: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
Doug Coleman 59f3b1ea57 Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
Needs a bit more work.

This reverts commit 7e54cc2824.
2015-07-02 13:47:06 -07:00
Doug Coleman 7e54cc2824 factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool! 2015-07-02 11:36:08 -07:00
Doug Coleman 999aa7c897 factor: clean up spaces in -tests files 2015-07-02 10:34:01 -07:00
John Benediktsson 6f1e819e04 urls.encoding: more cleanup. 2014-11-30 21:33:48 -08:00
John Benediktsson b00e5a855b urls.encoding: cleanup. 2014-11-30 21:22:54 -08:00
John Benediktsson 57f9d78892 improve help by linking to types directly. 2014-05-23 20:20:15 -07:00
Björn Lindqvist b72fa3ba0a Docs: fixed doc example errors triggered by help-lint and added with-disposal where applicable 2014-04-14 08:42:10 -07:00
Björn Lindqvist e151972d47 urls.tests: unit tests for url-addr 2014-04-14 08:42:08 -07:00
Björn Lindqvist d3e5312b44 urls: example for secure url-addr 2014-04-14 08:42:08 -07:00
John Benediktsson 317b0c8d20 oauth needs this, and this needed protocol-port fixes.
Revert "Revert "urls: Allow URLs of the form //foo.com, which take on the protocol of the URL they derive from.""

This reverts commit 76fa8b7a29f3738f44230c473b7edf841f1de7c3.
2014-03-12 07:43:40 -07:00
John Benediktsson 65846fb5ba Revert "urls: Allow URLs of the form //foo.com, which take on the protocol of the URL they derive from."
This reverts commit e6598fc22fd91309288fbe9840f7872d8fd84438.
2014-03-11 20:20:23 -07:00
Doug Coleman 288ebd6c88 urls: Allow URLs of the form //foo.com, which take on the protocol of the URL they derive from. 2013-12-07 11:43:32 -08:00
Björn Lindqvist bc56b5099f io.sockets, urls: move documentation for protocol-port 2013-09-16 17:31:37 -07:00
Björn Lindqvist 7c179f876c unix.ffi, windows.winsock: wraps for servent functions 2013-09-16 17:31:37 -07:00
John Benediktsson dd6d1e50cf urls: allow pathnames to convert >url. 2012-10-22 20:16:19 -07:00
John Benediktsson 9f34c9c676 Spelling fixes to documentation. 2011-08-26 16:20:31 -07:00
Slava Pestov 1a6432456d urls: derive-url resets the port if the new URL specifies a protocol. Fixes HTTP redirection on some sites, like www.amazon.com (reported by John Benediktsson) 2011-01-29 22:50:13 -05:00
Keita Haga 051a2a749b urls.encoding: fix missing vocab in docs 2010-12-05 22:17:21 +09:00
Slava Pestov b10897334c io.sockets.secure: add ssl-supported? hook, and make furnace.auth and twitter vocabs use it. This makes furnace work on Windows 2010-10-24 15:54:19 -07:00
Slava Pestov 89ae9d9638 Various cleanups for Doug's recent socket addressing change
- urls: now have a host/port slots again, add a new set-url-addr word
- http.server: fix host header parsing for IPv6 addresses
2010-10-06 23:00:38 -07:00