Commit Graph

243 Commits

Author SHA1 Message Date
Jay McCarthy
12580337f2 Fixes PR9965 and a missing doc xref 2011-12-07 06:23:25 -07:00
Jay McCarthy
37a7e0a2e1 Revert "Forgot to include doc change"
This reverts commit ccd5061c87.
2011-11-23 11:13:21 -07:00
Jay McCarthy
41e04b33da Revert "This fixes 10497 and potentially breaks programs that assume the query of a URL is always a list. I have fixed uses in the Web Server, which I expect is the major thing affected, but much more could be. Therefore I am skeptical this is a good idea just for the representation of ?. So, I'd like other people to review the change and let me know if they think I should revert it."
This reverts commit 7f9818bb3e.
2011-11-23 11:13:20 -07:00
Jay McCarthy
ccd5061c87 Forgot to include doc change 2011-11-23 10:59:54 -07:00
Jay McCarthy
7f9818bb3e This fixes 10497 and potentially breaks programs that assume the query of a URL is always a list. I have fixed uses in the Web Server, which I expect is the major thing affected, but much more could be. Therefore I am skeptical this is a good idea just for the representation of ?. So, I'd like other people to review the change and let me know if they think I should revert it. 2011-11-23 10:59:54 -07:00
Rodolfo Carvalho
f43405543a Add missing word 'one', clarify behavior of the 'semi-or-amp mode. 2011-10-17 13:18:17 -04:00
Robby Findler
11a3d9b0ac add support for redirections to get-pure-port and add get-pure-port/headers 2011-10-03 13:21:30 -05:00
Robby Findler
1fa6129afc adjust the "Transfer-Encoding: chunked" code to re-use bytes more
agressively
2011-10-03 13:21:29 -05:00
Jon Zeppieri
d44a7a480a Moved `net/url' code from unit to module. 2011-09-05 15:22:39 -04:00
Jon Zeppieri
3f69d4c8e8 Moved `net/uri-codec' code from unit to module. 2011-09-05 15:22:39 -04:00
Jon Zeppieri
647d3fb365 Moved `net/smtp' code from unit to module. 2011-09-05 15:22:39 -04:00
Jon Zeppieri
9ab674fd0c Moved `net/sendmail' code from unit to module. 2011-09-05 15:22:38 -04:00
Jon Zeppieri
d034297c76 Moved `net/qp' code from unit to module. 2011-09-05 15:22:38 -04:00
Jon Zeppieri
54deaac318 Moved `net/pop3' code from unit to module. 2011-09-05 15:22:38 -04:00
Jon Zeppieri
df5fef0c95 Moved `net/nntp' code from unit to module. 2011-09-05 15:22:38 -04:00
Jon Zeppieri
67ca846fd9 Moved `net/mime' code from unit to module. 2011-09-05 15:22:38 -04:00
Jon Zeppieri
9ae3840211 Moved `net/imap' code from unit to module. 2011-09-05 15:22:38 -04:00
Jon Zeppieri
095ee4e007 Moved `net/head' code from unit to module. 2011-09-05 15:22:38 -04:00
Jon Zeppieri
03237c06f2 Moved `net/ftp' code from unit to module. 2011-09-05 15:22:38 -04:00
Jon Zeppieri
a0eac7ac5c Moved `net/dns' code from unit to module. 2011-09-05 15:22:38 -04:00
Jon Zeppieri
a5222b9481 Moved `net/cgi' code from unit to module. 2011-09-05 14:17:36 -04:00
Jon Zeppieri
0104198875 Moved `net/base64' code from unit to module. 2011-09-05 14:13:04 -04:00
Matthew Flatt
1b0abe85c7 trivial doc fix 2011-08-19 12:52:19 -06:00
Eli Barzilay
18e8b92fa1 `purify-http-port' returns a new port, so make it close the old one. 2011-08-18 18:11:09 -04:00
Eli Barzilay
cc69dfbd71 Typo in error message. 2011-08-17 10:00:55 -04:00
Jay McCarthy
b207f1051a De-unitizing cookies and making the serializable 2011-08-15 10:06:21 -06:00
Eli Barzilay
d61eb53686 Lots of documentation formatting.
Started as fixing misindented definitions, then more indentations, then
a bunch of similar things (square brackets, huge spaces at end-of-lines,
etc).
2011-08-15 07:50:04 -04:00
Matthew Flatt
1c1d1934f4 ftp: fix data download for some servers 2011-08-10 08:28:13 -06:00
Matthew Flatt
be0260792e fix doc typos 2011-08-10 08:28:13 -06:00
Eli Barzilay
5a7ddd6611 Add an optional path argument to `ftp-directory-list'. 2011-08-05 01:14:16 -04:00
Eli Barzilay
6a1336e75e Return a file size string when possible.
This takes the advice from
  http://files.stairways.com/other/ftp-list-specs-info.txt
further: search for the date by an explicit occurrence of a known month
name.  This means that we won't see files with bad names (they'd be
filtered out of the result), but the filtered out entries are ones that
would not be usable with `ftp-make-file-seconds'.

When the month is found, and the entry is a file, look for a number
preceding the month, and if found, return it as the file size string.
This is a minor change in the API.  (But it's probably better to either
revise it further, or eventually make it irrelevant by exposing the
interesting functionality via `net/url'.)
2011-08-05 01:14:16 -04:00
Eli Barzilay
4daaa84636 Removed a bunch of bytes->strings conversions since output does that anyway.
Also got rid of `filter-tcp-data', and just use `port->lines' instead.
2011-08-05 01:14:16 -04:00
Eli Barzilay
234015b34d Make `ftp-make-file-seconds' use a correct year instead of 2002.
This function was using 2002 when there's no year...  Updated it to use
the last occurrence of the guessed date, as described at
  http://files.stairways.com/other/ftp-list-specs-info.txt

This function still looks pretty bogus -- the RFC does *not* say
anything about the format of response to `LIST', so it's whatever
semi-random thing the server does.  (The above link looks like an
attempt to fix it, but I didn't see anything more official than that.)
From some looking around, it looks like ftp clients just try a bunch of
patterns against the text.  Add also warnings in the documentation about
this.
2011-08-05 01:14:16 -04:00
Eli Barzilay
99d48abcf3 Remove all mentions of `locale' from the docs.
It's utf-8 now, but that's the default in the docs anyway.
2011-08-05 01:14:16 -04:00
Eli Barzilay
ba48669ead Use UTF-8 and CRLF in the ftp client
RFC 2640 specifies that all transport strings are assumed UTF-8 if they
can be parsed as such.  To make this complete it should really send a
FEAT and check that the result has "UTF8", but it's kind of redundant
since there's not much else to do if it isn't.

Also, switch to a more correct line endings of CRLF when sending
messages to the server.
2011-08-05 01:14:16 -04:00
Ryan Culpepper
1b702a2ae3 docs reorganization
added tutorial, racket categories
  relabeled some other categories
  normalized manual names: de-bolded, changed some names
2011-07-01 17:16:53 -06:00
Robby Findler
69b5daa9e6 remove docs tests that no one was interested in 2011-07-01 11:38:09 +08:00
Eli Barzilay
40124a0619 A long overdue scan to eliminate files without terminating newlines.
(DrRacket should really do that.)
2011-06-28 02:01:41 -04:00
Eli Barzilay
a38f384a00 Finish converting scheme' -> racket'.
Everything compiles fine now even if the compatibility bindings are
gone.
2011-06-28 00:45:38 -04:00
Eli Barzilay
ac26fe7554 A ton of @scheme*' -> @racket*' and related updates.
Also, updates some of the mzlib files to point at `racket/*' libraries
rather than to `scheme/*' ones.
2011-06-25 04:08:47 -04:00
Eli Barzilay
a3c21be7f6 Avoid unintended pun. 2011-06-23 18:19:32 -04:00
Eli Barzilay
8990177c75 Correction to the small correction 2011-06-20 16:45:33 -04:00
Eli Barzilay
f08ce64e07 Small correction 2011-06-20 15:41:57 -04:00
Matthew Flatt
f3da5f7fd8 adjust and document net/url HTTPS support 2011-06-20 08:00:43 -06:00
Eli Barzilay
e74f70393f Hack: make the `net/url' implementation handle both "http" and "https" urls, dispatching to the plain tcp functions or the ssl one.
(See "HACK" comment for a description on how this is done.)
2011-06-20 06:30:09 -04:00
Eli Barzilay
debd1f9f1e Recketizing much in `net/*', mass ".ss" -> ".rkt" conversion in .scrbl files.
(Some other minor things here and there.)
2011-06-20 04:27:14 -04:00
Matthew Flatt
f34a31cac9 "under <platform>" -> "on <platform>"; "X" -> "Unix"
I originally picked "under" as the preposition to go before
 a platform name, but obviously you should build "on" a
 platform, and "under" suddenly annoys me. The choice of "on"
 is now codified in the documentation style guide. Meanwhile,
 "Unix" insted of "X" seems more clear and consistent in the
 `racket/gui' docs.

 More usefully, this patch also fixes a few out-of-date
 platform-specific claims.
2011-06-17 18:54:43 -06:00
Matthew Flatt
479e8cdc27 fix arity errors detected by optimizer 2011-05-15 19:42:22 -06:00
Robby Findler
507b1cd8fd moved the docs-complete library into rackunit
to avoid having a separate, new manual for the
  one library
2011-05-05 16:10:42 -05:00
Eli Barzilay
8b48802440 Improved code for `form-urlencoded->alist', should be faster too. 2011-05-03 18:20:09 -04:00