Commit Graph

302 Commits

Author SHA1 Message Date
Jon Zeppieri
96dfe15d91 Moved `net/mime' code from unit to module.
original commit: 67ca846fd9
2011-09-05 15:22:38 -04:00
Jon Zeppieri
120ab7af22 Moved `net/imap' code from unit to module.
original commit: 9ae3840211
2011-09-05 15:22:38 -04:00
Jon Zeppieri
944338b0f6 Moved `net/head' code from unit to module.
original commit: 095ee4e007
2011-09-05 15:22:38 -04:00
Jon Zeppieri
1a0336d99b Moved `net/ftp' code from unit to module.
original commit: 03237c06f2
2011-09-05 15:22:38 -04:00
Jon Zeppieri
e16b530ded Moved `net/dns' code from unit to module.
original commit: a0eac7ac5c
2011-09-05 15:22:38 -04:00
Jon Zeppieri
2add6a09dc Moved `net/cgi' code from unit to module.
original commit: a5222b9481
2011-09-05 14:17:36 -04:00
Jon Zeppieri
932ab5feab Moved `net/base64' code from unit to module.
original commit: 0104198875
2011-09-05 14:13:04 -04:00
Matthew Flatt
55e9e0ddd7 trivial doc fix
original commit: 1b0abe85c7
2011-08-19 12:52:19 -06:00
Jay McCarthy
9dfe50c8cf De-unitizing cookies and making the serializable
original commit: b207f1051a
2011-08-15 10:06:21 -06:00
Eli Barzilay
c75da5fd97 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).

original commit: d61eb53686
2011-08-15 07:50:04 -04:00
Eli Barzilay
62e93cf2a4 Heavily revise this test.
- Simplify code
- Remove bogus leftover (tests) in the end
- Resolve deadlock that resulted from using `tcp-abandon-port' in
  `net/ftp'
- Actually there's no need for threads, probably because of small size
  of data, so keep it.
- Use scribble syntax instead of here-strings, and move the text out of
  the way.

original commit: f297c98c1a
2011-08-15 02:37:39 -04:00
Matthew Flatt
b342b9b044 fix doc typos
original commit: be0260792e
2011-08-10 08:28:13 -06:00
Eli Barzilay
c2e489dc78 Add an optional path argument to `ftp-directory-list'.
original commit: 5a7ddd6611
2011-08-05 01:14:16 -04:00
Eli Barzilay
6a6f849c5c 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: 6a1336e75e
2011-08-05 01:14:16 -04:00
Eli Barzilay
55405d017b 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: 234015b34d
2011-08-05 01:14:16 -04:00
Eli Barzilay
844402b102 Remove all mentions of `locale' from the docs.
It's utf-8 now, but that's the default in the docs anyway.

original commit: 99d48abcf3
2011-08-05 01:14:16 -04:00
Eli Barzilay
d6dad89d3a ".ss" -> ".rkt" scan done.
original commit: 3157955d40
2011-07-02 10:37:53 -04:00
Ryan Culpepper
205c99022d docs reorganization
added tutorial, racket categories
  relabeled some other categories
  normalized manual names: de-bolded, changed some names

original commit: 1b702a2ae3
2011-07-01 17:16:53 -06:00
Eli Barzilay
d3a49471f7 A long overdue scan to eliminate files without terminating newlines.
(DrRacket should really do that.)

original commit: 40124a0619
2011-06-28 02:01:41 -04:00
Eli Barzilay
15cd89c4af Finish converting scheme' -> racket'.
Everything compiles fine now even if the compatibility bindings are
gone.

original commit: a38f384a00
2011-06-28 00:45:38 -04:00
Eli Barzilay
333c1506a9 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.

original commit: ac26fe7554
2011-06-25 04:08:47 -04:00
Eli Barzilay
a8092eea36 Correction to the small correction
original commit: 8990177c75
2011-06-20 16:45:33 -04:00
Eli Barzilay
54f8c69298 Small correction
original commit: f08ce64e07
2011-06-20 15:41:57 -04:00
Matthew Flatt
f9c5f5dbe3 adjust and document net/url HTTPS support
original commit: f3da5f7fd8
2011-06-20 08:00:43 -06:00
Eli Barzilay
dfc0ca2908 Recketizing much in `net/*', mass ".ss" -> ".rkt" conversion in .scrbl files.
(Some other minor things here and there.)

original commit: debd1f9f1e
2011-06-20 04:27:14 -04:00
Matthew Flatt
7c644a8eac "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.

original commit: f34a31cac9
2011-06-17 18:54:43 -06:00
Eli Barzilay
a8ef109b6e 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.

original commit: 020946cb2a
2011-04-23 08:51:05 -04:00
Eli Barzilay
67404ee615 * 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

original commit: 52ca08a8a9
2011-04-12 07:26:09 -04:00
Eli Barzilay
ad323a2665 Use "127.0.0.1" instead of "localhost" which can be more fragile.
(It's possible to have issues with "localhost", for example when there's
something in a $LOCALDOMAIN environment variable, which made this test
fail on certain machines.)

original commit: 22afec432c
2011-03-03 11:10:12 -05:00
Robby Findler
5b5c803b8c adjusted the framework preferences system to work better with failures under windows
original commit: cde613218e
2011-01-20 14:07:12 -06:00
Jay McCarthy
24c47fb793 Expanding documentation and doing some renaming/providing
original commit: 823da4321f
2010-12-07 15:08:36 -07:00
Jay McCarthy
0ccf9ccd71 Fixing example
original commit: f5e9e0dad1
2010-12-07 14:14:52 -07:00
tv
e0be19cac1 add #:tcp@ to ws-serve for wss: support
original commit: 11f2653b7e
2010-11-24 23:33:42 -05:00
Jay McCarthy
7fbbc1b527 Moving stress tests
original commit: f899e03b59
2010-08-30 06:39:12 -06:00
Jay McCarthy
21c34d29d4 Increasing FTP test stability
original commit: bc15f398f2
2010-08-28 18:52:39 -06:00
Jay McCarthy
58ec991bd1 Adding WebSocket stress test and improving fit output
original commit: 5eb8f181f6
2010-08-19 16:34:16 -06:00
Jay McCarthy
646061cf40 Adding WebSocket example
original commit: 1f61e7eb7f
2010-08-19 16:34:15 -06:00
Jay McCarthy
1adbeaa73f Adding WebSocket support
original commit: 347e946548
2010-08-19 16:34:15 -06:00
Jay McCarthy
98c8c339e6 FTP tests without a network connection
original commit: 928dfd6fa2
2010-08-11 13:49:10 -06:00
Jay McCarthy
a616f14181 Close connection sooner
original commit: fc91321f21
2010-06-29 13:49:01 -06:00
Jay McCarthy
a5c309a12b Nail down port and dont conflict
original commit: 2e5c04f083
2010-06-29 13:23:23 -06:00
Jay McCarthy
6a9fe98a22 Fixing PR 10970
original commit: 428412036f
2010-06-23 16:29:23 -06:00
Jay McCarthy
3b0c151ba1 Removing test auto run
original commit: 85a7509034
2010-05-24 09:56:35 -06:00
Jay McCarthy
76b1f30a2f Initial ftp test cases
original commit: 15d9a7dd8a
2010-05-24 09:56:35 -06:00
Jay McCarthy
732ec40e10 rkt suffixes
original commit: 52281d7089
2010-05-24 09:56:35 -06:00
Jay McCarthy
d5d36523f5 Racketizing
original commit: 63df5311c5
2010-05-24 09:56:34 -06:00
Eli Barzilay
12ab929e59 A lot of "plt-scheme.org" -> "racket-lang.org"s.
original commit: a46743211b
2010-05-17 00:53:12 -04:00
Eli Barzilay
367c055644 Attempt to properly documents the `external-browser' mess.
Hopefully fixing PR10900.

original commit: d9917b27a0
2010-05-08 23:32:54 -04:00
Matthew Flatt
dc8bf19a52 rackety misc docs
original commit: eb15dceb34
2010-05-07 09:13:51 -06:00
Matthew Flatt
4305d5eaa0 more test repairs
original commit: 5a93e8c5e0
2010-05-02 08:31:12 -06:00
Matthew Flatt
a714e5c02a use .rktl suffix for files meant to be 'load'ed
original commit: e504acb726
2010-05-01 09:58:16 -06:00
Sam Tobin-Hochstadt
97a22c0320 loadtest.ss -> loadtest.rkt
original commit: 85fad33c4c
2010-04-30 16:35:48 -04:00
Matthew Flatt
8c6fbadb8c fix some DrDr tests
original commit: f20d3db75f
2010-04-29 19:55:39 -06:00
Matthew Flatt
a0686e07c1 move tests/mzscheme to tests/racket
original commit: 882b7dce0e
2010-04-27 18:28:39 -06:00
Matthew Flatt
9ed60bcafa rename all files .ss -> .rkt
original commit: 28b4043077
2010-04-27 16:50:15 -06:00
Jay McCarthy
f0906d3131 Fixing cookie regex
original commit: 96a3f47ea0
2010-04-27 08:48:07 -06:00
Jay McCarthy
7516285c61 Stricter cookie contracts
svn: r18629

original commit: e69a18eefd
2010-03-26 16:07:35 +00:00
Eli Barzilay
699d7e2583 remove redundant find-exe
svn: r17595

original commit: 84f55d9647
2010-01-10 15:46:54 +00:00
Robby Findler
38e685e68f svn: r17412
original commit: 8d3eb3c9b9
2009-12-28 16:47:24 +00:00
Robby Findler
2439114095 added google-chrome
svn: r17402

original commit: 913dde245c
2009-12-25 21:24:49 +00:00
Eli Barzilay
11341711ff some obvious-ness
svn: r16595

original commit: bac7b6318b
2009-11-07 02:39:10 +00:00
Matthew Flatt
1d0a044921 fix typos (could merge to 4.2.2)
svn: r16120

original commit: a8f50e76a7
2009-09-24 14:49:17 +00:00
Eli Barzilay
7d589dfcff 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

original commit: 4288c6c2c7
2009-06-07 10:12:32 +00:00
Eli Barzilay
918f16c1aa 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

original commit: c0a8a01222
2009-04-05 17:46:20 +00:00
Stevie Strickland
0500950bc1 Sam and I did some work to allow automatic inferred linking in
(define-values/)invoke-unit/infer.

svn: r14315

original commit: 99aac7d745
2009-03-27 13:47:12 +00:00
Eli Barzilay
303b647cc3 Added a `file' "test suite", with only tests for inflate/deflate.
svn: r14147

original commit: c69045008d
2009-03-17 14:57:01 +00:00
Eli Barzilay
926459b339 remove old net tests
svn: r14144

original commit: 5d6b74d3b6
2009-03-17 11:42:31 +00:00
Eli Barzilay
57d491ad1e new copy of net tests, split into modules, and using my test macro
svn: r14143

original commit: b647ea2ae9
2009-03-17 11:41:06 +00:00
Eli Barzilay
00a530a3d8 Converted the cgi tests to use my test macro, and included them in the
nightly testing.

svn: r14139

original commit: 2008456d64
2009-03-17 07:04:16 +00:00
Jay McCarthy
7bb5dd7c67 pr7974 + include in release
svn: r14132

original commit: f9c4e4eb54
2009-03-16 18:45:16 +00:00
Eli Barzilay
4fea8ef742 Fix typo found by offby1
svn: r13611

original commit: ea51547cae
2009-02-15 20:26:21 +00:00
Jay McCarthy
e3adf55ef1 cookies
svn: r13397

original commit: 0b816d2942
2009-02-03 22:32:35 +00:00
Robby Findler
bf3aa92f31 allows colons in the userinfo field of a url (ie, does not encode them)
svn: r13282

original commit: 134138916f
2009-01-25 20:12:08 +00:00
Eli Barzilay
47596db0d2 newlines at EOFs
svn: r13105

original commit: d1a0086471
2009-01-14 03:10:47 +00:00
Sam Tobin-Hochstadt
a309f0efe4 Fix doc typo.
svn: r12515

original commit: 8dad54e520
2008-11-19 22:49:43 +00:00
Eli Barzilay
8b65f4ac26 more base64-related changes
svn: r11470

original commit: 20e9673028
2008-08-28 21:00:53 +00:00
Matthew Flatt
9b6503df48 fix '(nonnegative|positive)-exact-integer?' contracts (moving 'exact-' to the front where it belongs)
svn: r10960

original commit: 2c813c53c5
2008-07-29 12:56:05 +00:00
Eli Barzilay
806cd0426f * 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

original commit: f0e71a0c1c
2008-06-02 23:34:25 +00:00
Eli Barzilay
a9acd2b5a3 reformatting
svn: r9853

original commit: 0d41afdb6d
2008-05-15 16:55:15 +00:00
Matthew Flatt
8083829c5e clean up file/gif vs. net/gifwrie confusion
svn: r9848

original commit: 02485e1e50
2008-05-15 15:54:44 +00:00
Matthew Flatt
e82eaf4ccd proprocessor doc, merge scribblings and doc-categories fields
svn: r9414

original commit: a26b334c67
2008-04-23 00:20:25 +00:00
Matthew Flatt
25639e8fa5 xml docs
svn: r9321

original commit: 9ca65af282
2008-04-15 16:46:43 +00:00
Matthew Flatt
5117b92673 net docs finished
svn: r9317

original commit: 8284b3ab15
2008-04-15 14:13:10 +00:00
Matthew Flatt
a789e2bc7b keyword-ized plot, plot and mime docs
svn: r9304

original commit: fbfc9bf883
2008-04-14 21:26:28 +00:00
Matthew Flatt
716a4f783e more net library docs
svn: r9284

original commit: 2b5d800190
2008-04-13 15:44:10 +00:00
Matthew Flatt
3a067e9495 more net docs
svn: r9279

original commit: 85583d4ebb
2008-04-13 03:07:56 +00:00
Matthew Flatt
a37ecf0b23 net/url and tests fixes for windows
svn: r9249

original commit: 2dc02d81fe
2008-04-11 01:12:01 +00:00
Matthew Flatt
8e59e04b24 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

original commit: 0153e122b7
2008-04-10 19:05:35 +00:00
Matthew Flatt
4f844dce58 scribble/srcdoc experiment in net/gifwrite
svn: r9019

original commit: dba1ddc480
2008-03-18 18:19:25 +00:00
Eli Barzilay
500974878b use new require specs in many places
svn: r8774

original commit: b1a08edd5a
2008-02-23 09:42:03 +00:00
Eli Barzilay
afca02b65f add #:indent to verbatim
svn: r8707

original commit: 6f0ce91461
2008-02-18 20:01:23 +00:00
Eli Barzilay
0972f7505c use @verbatim{...}
svn: r8699

original commit: 9c77909710
2008-02-18 10:49:20 +00:00
Eli Barzilay
eb0532306e * Changed setup-plt to compile collections if they have an "info.ss"
file.  (That is, it does not require the file to have a `name'
  entry.)

* The name shown when setup works is the directory name, followed by
  the `name' field from the info file when specified.

* This means that many `name's are no longer needed, so I'm removing
  them.  To see if you need a `name' entry, consider that the name
  will be shown like this:
    ... foo (<your name here>)
  This means that if the name is the same as the directory name, then
  there is no point in having it.  I also removed cases where the name
  differed only in its capitalization for collections where the case
  is obvious.

* Also, for subcollections, the name should clarify the name of the
  subcollection in context.  For example "Acknowledgments" explains
  what scribbling/acks is, but there's no need to add the context name
  as in "Scribblings: Acknowledgments".

* There may also be a point in keeping names for other uses.  One such
  example was in games, where the name field was used in the PLT Games
  application.  (This was changed to default on the directory name, so
  it is no longer needed in most games.)  Another example is in planet
  packages.

svn: r8629

original commit: 699c40643d
2008-02-12 10:33:01 +00:00
Eli Barzilay
708357dafc typos
svn: r8589

original commit: c693c49767
2008-02-08 19:53:30 +00:00
Eli Barzilay
c44e2cea9e much improved search, extended and fixed sendurl, string-based rendering for xrefs
svn: r8577

original commit: 7539945a3d
2008-02-08 04:32:49 +00:00
Eli Barzilay
a2320e7bd8 switched info.ss files to #lang
svn: r8532

original commit: 3c72e71e24
2008-02-04 23:00:35 +00:00
Eli Barzilay
98e7107573 "fix" the windows problem, yet again
svn: r8472

original commit: bc32b85ae4
2008-01-30 02:51:46 +00:00
Eli Barzilay
cc5ca119f8 * Added send-url/file that consumes a path and adds the file://, use
that in places that show docs.

* Made send-url quote characters that are possibly dangerous for
  subprocesses (good uses should call it wil already quoted urls).
  Also a keyword argument that can disable this, if someone really
  wants to.

* IE7 bug workaround finally working (but will need to switch from
  regedit to mred, to avoid vista warning).

svn: r8467

original commit: dbd27dafc6
2008-01-29 21:38:27 +00:00
Eli Barzilay
fdd76454d9 better url quoting
svn: r8457

original commit: 9b4b838b5f
2008-01-29 02:55:55 +00:00
Eli Barzilay
abdb9918fe Re-hack Windows send-url around the IE7 bug
svn: r8456

original commit: 09ec3eddbd
2008-01-29 02:22:07 +00:00