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
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
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
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
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
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
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
Doug Coleman
32f447d796
Since ip4/ip6 services can run on different ports, we must include which version of ip we're using instead of just a port. Make URL objects store an inet4/i nt6/inet object with host/port slots instead of storing host/port slots separately. Stricter error checking on inet4/inet6 tuple creation. Update lots of code related to the URL change.
2010-10-05 09:56:29 -05:00
Daniel Ehrenberg
aa6158b366
Changing require-when usages to the new syntax for require-when
2010-04-18 14:29:24 -05:00
Daniel Ehrenberg
eb060443db
Updating code to use require-when rather than vocab [ require ] when
2010-03-18 01:13:37 -04:00
Doug Coleman
7ce4b746e5
parsed -> suffix!, add append!
2009-10-28 13:38:27 -05:00
Slava Pestov
c32927bfea
Fix unit test failures caused by change to 'contents' word
2009-05-10 18:54:56 -05:00
Slava Pestov
318da06a71
ensure-port outputs a new URL instead of mutating its input
2009-04-01 22:05:12 -05:00
Slava Pestov
ea60f8ae93
Changing : foo ; parsing to SYNTAX: foo ;
2009-03-21 01:27:50 -05:00
Slava Pestov
5bfa17d962
Split off error. methods into sub-vocabs in a few places
2008-12-08 20:04:13 -06:00
Slava Pestov
4f0a9f311e
Untangling some dependencies
2008-12-08 14:58:00 -06:00
Doug Coleman
fb8bdfe7e5
rename last-slice1 to slice1-last
2008-11-22 20:00:37 -06:00
Doug Coleman
12afcd2c2c
add relative-url to urls
2008-10-04 13:26:17 -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
81bd2eb175
Remove raw-query stuff, its a pain
2008-09-29 22:54:10 -05:00
Slava Pestov
fd7b7511f5
Support ; separator for query params, record raw-query
2008-09-29 21:19:02 -05:00
Slava Pestov
85b6e32681
Split off urls.encoding, fix query encoding
2008-09-29 19:43:04 -05:00
Slava Pestov
35b5bd9898
New, more correct URL parser
2008-09-26 18:24:58 -05:00
Slava Pestov
cbd40b71d4
Fixing URL docs, http docs
2008-09-25 02:46:37 -05:00
Slava Pestov
d64808b5d0
Documentation updates
2008-09-24 21:19:27 -05:00
Slava Pestov
9bd6618707
Fix load error
2008-09-23 16:11:11 -05:00
Slava Pestov
d9d5dcc7a6
Fix Safari weirdness
2008-09-23 14:17:02 -05:00
Slava Pestov
18a44674f2
More referrer fixes
2008-09-22 17:15:59 -05:00
Doug Coleman
c5a3f89b04
add feed:// since firefox and safari support it, throw a better error than "fall-through in case"
2008-09-21 11:58:09 -05:00
Slava Pestov
ad1c520d13
Fix stack effects
2008-09-19 15:46:12 -05:00