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
Robby Findler
e7d0029aea
added lots of new tests that our documentation is complete
2011-04-25 13:24:43 -05:00
Eli Barzilay
020946cb2a
Disable xdg-open, since it seems like it suffers from the same problem
...
gnome-open does.
Relevant (but not really a solution) to PR 11869.
2011-04-23 08:51:05 -04:00
Eli Barzilay
52ca08a8a9
* scheme -> racket
...
* Use `delay/sync' to fix possible races (should fix PR11788)
* Move Chrome up after firefox since it's very widely supported now
* Add xdg-open
2011-04-12 07:26:09 -04:00
Robby Findler
e8eea05afc
rewrote uses of mzlib/contract into racket/contract
...
(and other minor rackety when the occasion arose)
2011-03-31 18:21:11 -05:00
Stephen Chang
c52b70244d
add 125 to list of expected return codes when receiving data in net/ftp
2011-02-08 13:17:14 -05:00
David Van Horn
760a58b65d
Fixes more spelling errors.
2011-02-04 19:44:13 -07:00
Robby Findler
cde613218e
adjusted the framework preferences system to work better with failures under windows
2011-01-20 14:07:12 -06:00
Jay McCarthy
823da4321f
Expanding documentation and doing some renaming/providing
2010-12-07 15:08:36 -07:00
Jay McCarthy
c7ed2d0fda
Fixing typo
2010-12-07 15:04:42 -07:00
Jakub Piotr Cłapa
45441054bc
Secure websockets and the wss: protocol scheme.
...
Also changed the code to send the request, headers and Key3 all at once since some servers expect it this way (node.js had problems with this when on SSL).
2010-12-06 19:09:14 +01:00
tv
11f2653b7e
add #:tcp@ to ws-serve for wss: support
2010-11-24 23:33:42 -05:00
Eli Barzilay
76c07dd594
Improved `get-bindings' using regexps etc.
...
(But note that it looks like it reimplements `form-urlencoded->alist'.)
2010-11-23 10:27:46 -05:00
Jay McCarthy
347e946548
Adding WebSocket support
2010-08-19 16:34:15 -06:00
Jay McCarthy
428412036f
Fixing PR 10970
2010-06-23 16:29:23 -06:00
Eli Barzilay
412fd4ff79
Use `exact-integer?'.
2010-06-20 18:34:06 -04:00
Jay McCarthy
f5bddf7705
Fixing ftp-download-file
2010-05-24 09:56:35 -06:00
Jay McCarthy
63df5311c5
Racketizing
2010-05-24 09:56:34 -06:00
Eli Barzilay
a46743211b
A lot of "plt-scheme.org" -> "racket-lang.org"s.
2010-05-17 00:53:12 -04:00
Eli Barzilay
2d9601089d
A lot of "MzScheme" -> "Racket"s.
2010-05-16 18:26:26 -04:00
Eli Barzilay
d9917b27a0
Attempt to properly documents the `external-browser' mess.
...
Hopefully fixing PR10900.
2010-05-08 23:32:54 -04:00
Matthew Flatt
eb15dceb34
rackety misc docs
2010-05-07 09:13:51 -06:00
Matthew Flatt
28b4043077
rename all files .ss -> .rkt
2010-04-27 16:50:15 -06:00
Jay McCarthy
96a3f47ea0
Fixing cookie regex
2010-04-27 08:48:07 -06:00
Jay McCarthy
3e546fee60
Correct the cookie contract function
...
svn: r18630
2010-03-26 16:45:42 +00:00
Jay McCarthy
e69a18eefd
Stricter cookie contracts
...
svn: r18629
2010-03-26 16:07:35 +00:00
Eli Barzilay
84f55d9647
remove redundant find-exe
...
svn: r17595
2010-01-10 15:46:54 +00:00
Eli Barzilay
9660490922
use tail recursion, not because of speed, but because breaking code would always have bad context dumps
...
svn: r17427
2009-12-29 15:56:05 +00:00
Robby Findler
8d3eb3c9b9
svn: r17412
2009-12-28 16:47:24 +00:00
Robby Findler
913dde245c
added google-chrome
...
svn: r17402
2009-12-25 21:24:49 +00:00
Eli Barzilay
e65ab46bfd
use string-join
...
svn: r16700
2009-11-11 23:10:28 +00:00
Eli Barzilay
bac7b6318b
some obvious-ness
...
svn: r16595
2009-11-07 02:39:10 +00:00
Matthew Flatt
a8f50e76a7
fix typos (could merge to 4.2.2)
...
svn: r16120
2009-09-24 14:49:17 +00:00
Eli Barzilay
4288c6c2c7
The Scribble reader was improved to make it pull out the syntax
...
punctuations outside of the form, as it does with quote punctuations.
So things like this
#, @foo{...}
that required the space to make the @foo read as a scribble form are
now better written as
@#,foo{...}
This changes all such occurrences. (In case you see this change in
your files and are worried that there might be changes: I mechanically
verified that the result of `read'ing the modified files is identical
to the previous version.)
svn: r15111
2009-06-07 10:12:32 +00:00
Eli Barzilay
c0a8a01222
Changed @itemize{...} to @itemize[...] (done after comparing the doc
...
tree and verifying that there are no changes).
(Also fixed a few bugs that were in the code)
svn: r14427
2009-04-05 17:46:20 +00:00
Stevie Strickland
99aac7d745
Sam and I did some work to allow automatic inferred linking in
...
(define-values/)invoke-unit/infer.
svn: r14315
2009-03-27 13:47:12 +00:00
Eli Barzilay
e616818d34
fixed use of string-length and error symbol
...
svn: r14142
2009-03-17 10:53:13 +00:00
Jay McCarthy
f9c4e4eb54
pr7974 + include in release
...
svn: r14132
2009-03-16 18:45:16 +00:00
Eli Barzilay
ea51547cae
Fix typo found by offby1
...
svn: r13611
2009-02-15 20:26:21 +00:00
Jay McCarthy
0b816d2942
cookies
...
svn: r13397
2009-02-03 22:32:35 +00:00
Robby Findler
134138916f
allows colons in the userinfo field of a url (ie, does not encode them)
...
svn: r13282
2009-01-25 20:12:08 +00:00
Eli Barzilay
d1a0086471
newlines at EOFs
...
svn: r13105
2009-01-14 03:10:47 +00:00
Eli Barzilay
c11196839b
minor improvement
...
svn: r12931
2008-12-23 09:02:44 +00:00
Eli Barzilay
169c69a0bc
if the path is empty, use /
...
svn: r12750
2008-12-09 02:39:45 +00:00
Sam Tobin-Hochstadt
8dad54e520
Fix doc typo.
...
svn: r12515
2008-11-19 22:49:43 +00:00
Matthew Flatt
7901a9fbdf
remove base64 debugging output
...
svn: r11520
2008-09-02 11:51:21 +00:00
Eli Barzilay
354ac668e8
fix an off-by-1 error
...
svn: r11479
2008-08-29 09:22:44 +00:00
Eli Barzilay
20e9673028
more base64-related changes
...
svn: r11470
2008-08-28 21:00:53 +00:00
Eli Barzilay
0f1ac966f6
* Improved precomputed vector genaration
...
* Removed `base64-filename-safe'
* Much simplified code in ``base64-encode-stream''
svn: r11446
2008-08-27 03:54:57 +00:00
Matthew Flatt
2c813c53c5
fix '(nonnegative|positive)-exact-integer?' contracts (moving 'exact-' to the front where it belongs)
...
svn: r10960
2008-07-29 12:56:05 +00:00
Matthew Flatt
9af00fcfb4
v4.0.2.4: logging
...
svn: r10818
2008-07-17 15:20:17 +00:00
Eli Barzilay
f0e71a0c1c
* Updated browser list, mainly moving gnome-open down because it does
...
not handle file:// URLs with a query part.
* Removed unused argument to `browser-run'
* Made `browser-run' wait just a little in case we get an error
message from the subprocess (to avoid plt-help from exiting
immediately)
svn: r10095
2008-06-02 23:34:25 +00:00
Eli Barzilay
0d41afdb6d
reformatting
...
svn: r9853
2008-05-15 16:55:15 +00:00
Matthew Flatt
02485e1e50
clean up file/gif vs. net/gifwrie confusion
...
svn: r9848
2008-05-15 15:54:44 +00:00
Matthew Flatt
931d93ba2f
Scribble support for redirecting external links and re-rooting corss-reference paths
...
svn: r9448
2008-04-24 02:37:47 +00:00
Matthias Felleisen
852b673d85
fixed contract bug
...
svn: r9428
2008-04-23 16:10:32 +00:00
Matthew Flatt
a26b334c67
proprocessor doc, merge scribblings and doc-categories fields
...
svn: r9414
2008-04-23 00:20:25 +00:00
Matthew Flatt
9ca65af282
xml docs
...
svn: r9321
2008-04-15 16:46:43 +00:00
Matthew Flatt
8284b3ab15
net docs finished
...
svn: r9317
2008-04-15 14:13:10 +00:00
Matthew Flatt
fbfc9bf883
keyword-ized plot, plot and mime docs
...
svn: r9304
2008-04-14 21:26:28 +00:00
Matthew Flatt
2b5d800190
more net library docs
...
svn: r9284
2008-04-13 15:44:10 +00:00
Matthew Flatt
85583d4ebb
more net docs
...
svn: r9279
2008-04-13 03:07:56 +00:00
Matthew Flatt
2dc02d81fe
net/url and tests fixes for windows
...
svn: r9249
2008-04-11 01:12:01 +00:00
Matthew Flatt
0153e122b7
change -q to config option, fix unlikely race condition in wake-on-signal, add path->url and url->path, and adjust URL parsing
...
svn: r9239
2008-04-10 19:05:35 +00:00