Commit Graph

88 Commits (release)

Author SHA1 Message Date
Doug Coleman a12a56f777 io.sockets: Special-case 0.0.0.0 and f for outgoing sockets so we can use
them on windows. Add some tests that shouldn't fail. Fixes #85.
2016-03-08 02:27:01 -08:00
Doug Coleman e4347f5254 io.sockets: Add more utility words for working with udp. 2016-02-19 19:21:13 -08:00
John Benediktsson ceb75057da change ERROR: words from throw-foo back to foo. 2015-08-13 16:13:05 -07:00
Doug Coleman 66147f27b4 extra: use throw-foo for ERROR: change 2015-08-13 01:56:32 -07:00
Doug Coleman 280177279a dns: remove nested-comment, add comment about resolve-host 2015-07-21 12:07:04 -07:00
Doug Coleman 352e5de16a core, basis, extra: Remove DOS line endings from files.
Remove whitespace from end of lines.
Add a newline to the end of each file.
2015-06-29 17:25:40 -07:00
Doug Coleman f6d28bebc8 extra: Update usages of CONSTRUCTOR: for new parameter. 2014-11-04 15:59:13 -08:00
Doug Coleman 8085e4e6ef dns: Add with-dns-servers to allow custom DNS lookups.
tools.dns: Add dns-host word to look up DNS from a specific server.
2013-11-16 17:12:30 -08:00
Doug Coleman 67e63615bd dns: Factor out filtering a and aaaa. 2012-10-22 09:47:35 -07:00
Joe Groff 943596575a use radix literals 2011-11-23 19:03:40 -08:00
Doug Coleman 94db86a6db Make "foo.private" require load foo instead.
Move require from vocabs.loader to vocabs. Update everything.
Fixes #201.
2011-11-02 11:50:03 -07:00
Doug Coleman b9e127eb6c Refactor some duplication in DNS queries and move some parsing into its own word. 2011-04-15 00:18:05 -05:00
Doug Coleman aed64f104d Error if domain name has non-ascii characters. Lower timeout to 10s from 30s to see errors more quickly. 2011-04-10 14:56:37 -05:00
Doug Coleman 1e78347643 Print a newline after each TXT message in DNS. 2011-04-10 14:10:13 -05:00
Doug Coleman 82a88ba57a Decode TXT strings as utf8, use write instead of print. 2011-04-10 12:38:00 -05:00
Doug Coleman 405745ca79 Add support for parsing DNS TXT queries. 2011-04-10 12:35:46 -05:00
Slava Pestov e90fd3b942 Fix usage note in dns vocab, move tools.dns from basis to extra since dns vocab is in extra 2011-02-25 21:08:00 -08:00
Doug Coleman efbbe3591e Rename combinator in dns 2010-10-09 12:49:47 -07:00
Slava Pestov fbbaef70c4 Remove stream-peek and stream-peek1, re-implement dns vocab to not need this abstraction 2010-10-08 18:55:13 -07:00
Doug Coleman 5a6f93bc84 Minor cleanups in dns 2010-10-08 06:34:20 -07:00
Doug Coleman d462355035 Implement and document stream-peek 2010-10-08 06:34:19 -07:00
Doug Coleman 6dcb259b73 Move the host word from dns to tools.dns 2010-10-08 06:34:18 -07:00
Doug Coleman f7af445625 Add stream-peek1 and remove it from images.gif and dns. Add sequence-peek but not stream-peek (yet?) 2010-10-08 06:34:17 -07:00
Doug Coleman 5bc2128d6d Write a real resolv.conf parser 2010-10-05 21:44:22 -05:00
Doug Coleman ad740f3413 Remove blank lines from resolve.conf just in case 2010-10-05 15:33:42 -05:00
Doug Coleman 24abb667fe Special-case "localhost" in dns queries 2010-10-05 09:56:29 -05:00
Doug Coleman 676f6b6e06 Implement resolve-host for dns vocab 2010-10-05 09:56:29 -05:00
Doug Coleman ea9918e099 Set the dns server based on the platform 2010-10-01 01:23:31 -05:00
Doug Coleman 62e85195f7 Remembered append-outputs-as combinator for dns 2010-09-29 06:34:13 -05:00
Doug Coleman c674fa996b Add a DNS vocabulary 2010-09-28 20:59:27 -05:00
Joe Groff 8a7acdf54f move dns.* to unmaintained 2009-10-27 20:58:52 -05:00
Doug Coleman 3f3d57032b Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places, minor refactoring 2009-08-13 19:21:44 -05:00
Joe Groff 7c5ef08aab [ [ ... ] compare ] sort => [ ... ] sort-with 2009-08-02 20:09:23 -05:00
Doug Coleman 407377fc98 rename peek -> last and update all usages 2009-05-25 16:38:33 -05:00
Doug Coleman 47fb13955c move dns from unmaintained to extra for keyholder 2009-04-22 16:18:15 -05:00
Slava Pestov b075f20d80 Move multi-methods, and vocabs that depend on them (dns, shell, newfx). Multi methods won't be in Factor 1.0 and I don't want to keep maintaining this feature 2009-04-22 06:50:09 -05:00
Slava Pestov d929134ad7 dns: Fix compiler warning 2009-04-17 20:49:46 -05:00
Slava Pestov 52d1e4f9b5 Update code not to use combinators.cleave 2009-03-11 08:44:27 -05:00
Slava Pestov 8a66947527 Eliminating usages of combinators/sequences/etc.lib 2008-12-18 00:16:43 -06:00
Slava Pestov c5160d76e9 Merge qualified, alias, symbols, constants into core 2008-12-17 18:10:01 -06:00
Doug Coleman 3ab0d03a19 extra: swap 3append -> glue, remove some >r r> 2008-12-03 19:11:55 -06:00
Eduardo Cavazos 89db7676c4 dns.forwarding: Use new 'ask-servers' 2008-10-23 18:24:11 -05:00
Eduardo Cavazos 92abf28256 dns.resolver: use 'resolv.conf' servers by default 2008-10-22 10:21:36 -05:00
Eduardo Cavazos b2ef848df4 Add 'dns.resolver' 2008-10-22 09:54:59 -05:00
Eduardo Cavazos 7a5ed225bf Remove old recursive resolver (dns.recursive) 2008-10-18 20:10:23 -05:00
Eduardo Cavazos 1e6caf3de3 Remove old resolver 'dns.resolver' 2008-10-18 20:09:00 -05:00
Eduardo Cavazos fd889b3686 dns.forwarding: Fix bug (cache-message crashes for nx names) 2008-10-18 16:18:31 -05:00
Eduardo Cavazos 00adf0c6bf Remove 'dns.cache' (has been split into dns.cache.rr and dns.cache.nx) 2008-10-18 13:09:17 -05:00
Eduardo Cavazos 969171012c dns.util: add 'forever' 2008-10-18 12:55:36 -05:00
Eduardo Cavazos 17fc0bea22 dns.forwarding: move 'forever' to 'dns.util' 2008-10-18 12:55:01 -05:00