Commit Graph

1736 Commits

Author SHA1 Message Date
Jon Zeppieri
00534ded33 Moved `net/smtp' code from unit to module.
original commit: 647d3fb3657ec8f44dfcff74f0b5aebc3882e286
2011-09-05 15:22:39 -04:00
Jon Zeppieri
72a2be1b88 Moved `net/sendmail' code from unit to module.
original commit: 9ab674fd0cf1d857534e402f7867cd54412c0dc8
2011-09-05 15:22:38 -04:00
Jon Zeppieri
bddc8c4ae5 Moved `net/qp' code from unit to module.
original commit: d034297c768145a90f5d7527e557fcb6f892a62e
2011-09-05 15:22:38 -04:00
Jon Zeppieri
b4764faf3a Moved `net/pop3' code from unit to module.
original commit: 54deaac318f2bb76d9be56193aa4a1e83c1828f9
2011-09-05 15:22:38 -04:00
Jon Zeppieri
f2b3885666 Moved `net/nntp' code from unit to module.
original commit: df5fef0c95631daca92d5dbbe5822765b43e8e5b
2011-09-05 15:22:38 -04:00
Jon Zeppieri
78bce17be3 Moved `net/mime' code from unit to module.
original commit: 67ca846fd9440eec9c154ca5cde7d3019f12f821
2011-09-05 15:22:38 -04:00
Jon Zeppieri
7836a1050b Moved `net/imap' code from unit to module.
original commit: 9ae38402112eb4808abedd6df6350e9d8e97dbad
2011-09-05 15:22:38 -04:00
Jon Zeppieri
b53142f3a9 Moved `net/head' code from unit to module.
original commit: 095ee4e00761f1286ddcd600041e11df3425d931
2011-09-05 15:22:38 -04:00
Jon Zeppieri
875dd118ec Moved `net/ftp' code from unit to module.
original commit: 03237c06f2754ed75450defc61ad5da979adb47a
2011-09-05 15:22:38 -04:00
Jon Zeppieri
a32d226378 Moved `net/dns' code from unit to module.
original commit: a0eac7ac5c663fae4c57d3d6bf851da744d97e46
2011-09-05 15:22:38 -04:00
Jon Zeppieri
311fa622a0 Moved `net/cgi' code from unit to module.
original commit: a5222b948186d80552ff70ee154c86719d1db758
2011-09-05 14:17:36 -04:00
Jon Zeppieri
f5de3bb7a4 Moved `net/base64' code from unit to module.
original commit: 01041988759108dc93201ea8825dabd7bb651d1b
2011-09-05 14:13:04 -04:00
Eli Barzilay
8e2b1955b5 `purify-http-port' returns a new port, so make it close the old one.
original commit: 18e8b92fa1b4a34e3e79384fb528cf248c1952e3
2011-08-18 18:11:09 -04:00
Eli Barzilay
5555e8ccb9 Typo in error message.
original commit: cc69dfbd7192055b776c60ef4ef07d79171bf574
2011-08-17 10:00:55 -04:00
Jay McCarthy
eefd959974 De-unitizing cookies and making the serializable
original commit: b207f1051ac8845c75f2d2296dadbd0e88cbe397
2011-08-15 10:06:21 -06:00
Matthew Flatt
4692fba599 ftp: fix data download for some servers
original commit: 1c1d1934f4f597ee87778c01d356dfdba9eb5721
2011-08-10 08:28:13 -06:00
Matthew Flatt
8e79dbf235 syntax-taint repairs
for problems exposed by more agressive arming of `lambda'
and `#%app'

original commit: 001cb75bac6166541c2fc6803b4e1061743cbce3
2011-08-09 16:33:17 -06:00
Matthew Flatt
4138a2dc50 add `prop:liberal-define-context'
original commit: 39a96dd699a7bb287668cf97d76698fcbb3df1aa
2011-08-09 16:33:16 -06:00
Eli Barzilay
88cec89c03 Make mzlib/etc' reprovide identity' from `racket/function'.
original commit: d952a05ea9cbc974e65dd45b04adbf752bfd3b50
2011-08-06 20:59:16 -04:00
Eli Barzilay
2757ab7d15 Add an optional path argument to `ftp-directory-list'.
original commit: 5a7ddd66114035237e29f76d9632775b9c38810c
2011-08-05 01:14:16 -04:00
Eli Barzilay
8142ffa4d9 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'.)

original commit: 6a1336e75edff75b7fc8a22a31d776acadc536eb
2011-08-05 01:14:16 -04:00
Eli Barzilay
38c93addda 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.

original commit: 4daaa846369f47f9e1c43cbae22673d8fa0693ba
2011-08-05 01:14:16 -04:00
Eli Barzilay
cf2a703ad4 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.

original commit: 234015b34d43a602dfcabe9365de9027531c2f9f
2011-08-05 01:14:16 -04:00
Eli Barzilay
7d51058755 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.

original commit: ba48669ead349f3b9454ec12014f7e73d13c49c3
2011-08-05 01:14:16 -04:00
Matthew Flatt
543bfedad2 another error-message fix
original commit: 2146a020c05bb0cdc0fa9427e321ef7840e959da
2011-07-31 05:09:49 -06:00
Eli Barzilay
61d3c80212 fix error reporting in `reencode-output-port'
Closes PR 12077

original commit: 61f628f2c6cdd5ae355156f6c37b2c458af1e2c3
2011-07-25 23:46:16 -04:00
Matthew Flatt
4757e1cc6a fix error reporting in `reencode-input-port'
Closes PR 12076

original commit: e01ee43300a163bddd89240f75d3198cd9d2aa8d
2011-07-25 13:11:05 -04:00
Robby Findler
fd0971909b missed a spot in the addition of chaperone info for opt/c
original commit: 7820db9f8d37f2a65ebda21402bd551886494d64
2011-07-21 09:38:22 -05:00
Carl Eastlund
9ea5db6645 Corrected documentation of quote-module-name to indicate that it does not
produce collection and planet-relative paths on its own.  Deprecated
quote-module-path, and replaced existing uses of it with quote-module-name.

original commit: 2e6a608539f5ef39a9ff821d95163ea4660da952
2011-07-09 14:46:58 -04:00
Jay McCarthy
81f9743590 Another test that is sensitive to the contract error message text
original commit: 8da2f537fbdd47493413c3d4d2b4b8caff947123
2011-07-02 14:50:24 -07:00
Eli Barzilay
89857c786d ".ss" -> ".rkt" scan done.
original commit: 3157955d40f89d83fb3d5fa7a2f20639cda69579
2011-07-02 10:37:53 -04:00
Matthew Flatt
6680a2b30f add ffi/winapi; use it in mzlib/os
Closes PR 12007

original commit: 59731368fc7d90c1177c60ade3ec1f8c4fb0a4ae
2011-07-01 10:42:17 -06:00
Matthew Flatt
51afe5c7ad remove syntax certificates; add syntax taints
original commit: 1160d3df629ce65eb8fe9ebea2c33b8d4000ea50
2011-06-29 19:15:48 -06:00
Eli Barzilay
8317296e8d A long overdue scan to eliminate files without terminating newlines.
(DrRacket should really do that.)

original commit: 40124a0619da5e187d95aeb1dde237f05d6f9c6b
2011-06-28 02:01:41 -04:00
Eli Barzilay
7775f475ee Avoid unintended pun.
original commit: a3c21be7f6f1c83eba998d8ecad32d45c2889ef7
2011-06-23 18:19:32 -04:00
Matthew Flatt
69d0cb447a adjust and document net/url HTTPS support
original commit: f3da5f7fd886c27e38e438f43d305fa1912ac5cb
2011-06-20 08:00:43 -06:00
Eli Barzilay
a14fe66f94 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.)

original commit: e74f70393fcc27775b80a2bf18535082563ae779
2011-06-20 06:30:09 -04:00
Eli Barzilay
760adf6428 Recketizing much in `net/*', mass ".ss" -> ".rkt" conversion in .scrbl files.
(Some other minor things here and there.)

original commit: debd1f9f1e6899e2a7e4ab5de929a49df490b5c7
2011-06-20 04:27:14 -04:00
Matthew Flatt
785cd52135 fix `make-limited-input-port' limit tracking for committed peeks
and make the port thread-safe

original commit: 7089a17ba2931b1be04c9eec68c3bef7967d0ca7
2011-06-17 11:14:50 -06:00
Matthew Flatt
39d1cf4635 support progress evts in result of `make-limited-input-port'
and also adjust initial position in various port constructions
 to use `file-position' instead of `port-next-location'

original commit: a9190621439b8bf8ecace2fd9e81217dcaed808d
2011-06-16 09:18:47 -06:00
Matthew Flatt
670f2ea435 fix interaction of `port-commit-peeked' and port positions
--- includes a small hack to the `make-input-port' protocol
     to specially handle a byte-string result as "true"
     from the `commit' proc

original commit: 83d002a9aa2f000bdb4a6d2ab3664cd5a7c56a82
2011-06-16 08:17:14 -06:00
Matthew Flatt
bc780cbb16 fix arity errors detected by optimizer
original commit: 479e8cdc27e1c1b307fca2bed0866ec36d10bb52
2011-05-15 19:42:22 -06:00
Eli Barzilay
f4c0fcaea0 Improved code for `form-urlencoded->alist', should be faster too.
original commit: 8b48802440ea08e237b28f823fd2de57740d7c62
2011-05-03 18:20:09 -04:00
Robby Findler
2fd831d01e made sure that all of the mzlib/contract exports are documented
(some by using racket/contract exports and some by adding
   more docs)

original commit: 1fdfd8406df526cacf803e037c1f69b29d916828
2011-04-25 11:54:14 -05:00
Robby Findler
0604c1fe24 added the racket/contract/combinator library,
and documented and adjusted these libraries:
     racket/contract/base
     racket/contract/exists
     racket/contract/parametric (renamed from exists)
     racket/contract/region

original commit: 21cbd9ad81eb35dc4d39d6063db25fcb1cc94bbc
2011-04-25 11:51:44 -05:00
Robby Findler
fb93091a62 fix up contract test suites
original commit: 8afeed8c663242159ac08ac043ccf860779ddd91
2011-04-16 07:55:49 -05:00
Robby Findler
e9a9f4e656 start fixing up the exports to match the docs for racket/contract
original commit: 2bceaec03a0547d2949c6346115b36ed2389834f
2011-04-14 15:27:27 -05:00
Ryan Culpepper
65864ac0a3 moved unstable/{location,srcloc} to syntax collection
fixed bugs in unstable/wrapc

original commit: 7828a7bfa78ac6591ea7074cdf85f3cd0ca12baf
2011-04-08 08:25:22 -06:00
Ryan Culpepper
204edd24c6 created racket/syntax from parts of unstable/syntax
original commit: 73ab1675222761363f6633061bc1156189f4ba59
2011-04-07 09:47:20 -06:00
Robby Findler
6ae9dcae4a rewrote uses of mzlib/contract into racket/contract
(and other minor rackety when the occasion arose)

original commit: e8eea05afc79e82b465ce5d95cefc36b59ea42eb
2011-03-31 18:21:11 -05:00