Commit Graph

426 Commits

Author SHA1 Message Date
Jay McCarthy
7d7c7eac78 fix pr14460
original commit: 015cf1b74f
2014-04-21 15:27:39 -06:00
Jay McCarthy
6762c6105a Add FAQ section
original commit: 004957bcd6
2014-04-16 12:30:11 -06:00
Robby Findler
0de368db23 adjust the dns tests so they stop failing
also, remove eli-tester use since I got bit, yet one more time,
by the "syntax error on both sides of the => implies the test case
passes" behavior.

original commit: 3b030e393d
2014-04-03 11:35:59 -05:00
Matthew Flatt
7824b84d6c LGPL by reference
original commit: 981701d237
2014-02-27 15:56:11 -07:00
Eli Barzilay
b0dbcfeb31 2013 -> 2014
original commit: c61a549840
2014-01-21 15:02:21 -05:00
Matthew Flatt
3effe69d78 copy drdr:random command props to test configs
original commit: 48a85125da
2014-01-01 08:21:31 -07:00
Matthew Flatt
049bf5d3b1 copy responsible info to "info.rkt" files
It seems more ideal that `pkg-authors` would be specific enough
responsibility, but our existing allocations of responsibility are
more fine-grained, and we keep them for now.

original commit: 19f8f30f63
2014-01-01 07:27:15 -07:00
Matthew Flatt
29369130ed move "props" test configs to test submodules or "info.rkt" files
The "props" file still has

 * ".rkt" `drdr:timeout` entries, needed until DrDr uses submodules and
   "info.rkt" files; although timeout information has been put in
   submodules for `raco test`, DrDr uses `raco test` in a way that does not
   enable timeouts, so that DrDr can implement timeouts itself (and record
   when a test times out)

 * ".rkt" `drdr:random #t` entries; not sure what to do with these, yet

 * ".rkt" `responsible` entries; not sure what to do with these, yet

 * ".rktl" `drdr:command-line #f` entries, needed until all ".rktl" files
   are disabled in DrDr

The following files were previously disabled for DrDr testing, but were
intentionally left as enabled with these changes:

pkgs/racket-pkgs/racket-test/tests/pkg/shelly.rkt
pkgs/racket-pkgs/racket-test/tests/pkg/util.rkt
pkgs/racket-pkgs/racket-test/tests/pkg/info.rkt
pkgs/racket-pkgs/racket-test/tests/pkg/basic-index.rkt
pkgs/racket-pkgs/racket-test/tests/racket/link.rkt
pkgs/racket-pkgs/racket-test/tests/racket/embed-in-c.rkt
pkgs/racket-pkgs/racket-doc/ffi/examples/use-c-printf.rkt
pkgs/racket-pkgs/racket-doc/ffi/examples/c-printf.rkt
pkgs/parser-tools-pkgs/parser-tools-lib/parser-tools/private-lex/error-tests.rkt
pkgs/mysterx/mysterx.rkt
pkgs/mysterx/main.rkt
pkgs/games/gobblet/test-model.rkt
pkgs/games/gobblet/test-explore.rkt
pkgs/games/gobblet/robot.rkt
pkgs/games/gobblet/check.rkt
pkgs/db-pkgs/db-lib/db/private/odbc/main.rkt
pkgs/db-pkgs/db-lib/db/private/odbc/ffi.rkt
pkgs/db-pkgs/db-lib/db/private/odbc/dbsystem.rkt
pkgs/db-pkgs/db-lib/db/private/odbc/connection.rkt
pkgs/distributed-places-pkgs/distributed-places-lib/racket/place/distributed/examples/hello-world.rkt
pkgs/redex-pkgs/redex-lib/redex/private/compiler/match.rkt
pkgs/redex-pkgs/redex-lib/redex/private/compiler/match.rkt
pkgs/htdp-pkgs/htdp-test/2htdp/utest/balls.rkt
pkgs/gui-pkgs/gui-test/framework/tests/test-suite-utils.rkt
pkgs/games/paint-by-numbers/raw-problems/size-calculation.rkt
pkgs/db-pkgs/db-lib/db/odbc.rkt
pkgs/compatibility-pkgs/compatibility-lib/mzlib/traceld.rkt
pkgs/cext-lib/dynext/private/stdio.rkt
pkgs/db-pkgs/db-lib/db/odbc.rkt
racket/collects/ffi/unsafe/objc.rkt
racket/collects/ffi/objc.rkt
pkgs/racket-pkgs/racket-test/tests/pkg/tests-db.rkt
pkgs/racket-pkgs/racket-test/tests/pkg/test-docs.rkt
pkgs/racket-pkgs/racket-test/tests/pkg/test-catalogs-api.rkt
pkgs/gui-pkg-manager-pkgs/gui-pkg-manager-lib/pkg/gui/main.rkt
pkgs/redex-pkgs/redex-lib/redex/private/compiler/redextomatrix.rkt
pkgs/typed-racket-pkgs/typed-racket-lib/typed-racket/base-env/base-special-env.rkt
pkgs/planet-pkgs/planet-test/tests/planet/version.rkt
pkgs/planet-pkgs/planet-test/tests/planet/test-docs-complete.rkt
pkgs/planet-pkgs/planet-test/tests/planet/lang.rkt
pkgs/planet-pkgs/planet-test/tests/planet/docs-build.rkt
pkgs/drracket-pkgs/drracket-test/tests/drracket/follow-log.rkt
pkgs/drracket-pkgs/drracket/drracket/private/dock-icon.rkt
pkgs/drracket-pkgs/drracket-test/tests/drracket/tool-lib-and-sig.rkt

original commit: e226ad66c5
2013-12-30 12:15:18 -07:00
Jay McCarthy
d7bf6b1971 Fix test cases for close?
original commit: 4dd594a291
2013-12-18 12:03:52 -07:00
Jay McCarthy
15802ad775 Fix PR14247
Add "Connection: close" to requests that we know will end after one
request.

Read upto 1K bytes at a time on requests rather than just 1 at a time.

Change closing semantics to be "close" and not "abandon"

original commit: 87135b110b
2013-12-14 08:00:41 -07:00
Matthew Flatt
f9487b6168 net/http-client: fix http-conn-live? result
Merge to v6.0

original commit: 1f6453de89
2013-12-06 21:19:38 -07:00
Asumu Takikawa
784ab3a94d Remove/replace some dependencies on scheme-lib
original commit: dfe51373dd
2013-11-27 00:38:52 -05:00
Jay McCarthy
6ac10d087a Adding user-agent as some services require
original commit: 8ca8764bb3
2013-11-26 08:57:56 -07:00
Robby Findler
58eddf2373 adjust test for moved file
original commit: 052dbb32d1
2013-11-09 18:25:28 -06:00
Matthew Flatt
7d24faace5 "racket-test" clean-up
Move a few tests, and clear out a lot of junk.

original commit: 29a0c44c98
2013-11-09 08:30:37 -07:00
Jay McCarthy
444cabd8c8 Fix PR14142 by allowing 'tolerant' line endings acording to Appendix B of the HTTP spec
original commit: 3d15fb3c1d
2013-11-05 11:03:06 -07:00
Jay McCarthy
d90a7c4e47 Fix PR 14140
original commit: b61198ec3f
2013-11-04 15:50:03 -07:00
Robby Findler
331b6a99cd fix a use of collection-path
original commit: 86d9a2fff2
2013-11-02 21:32:17 -05:00
Matthew Flatt
e1bb8f5d6c move some test & doc collections out of "racket-" pkgs to new pkgs
original commit: 1920ac59ab
2013-10-15 17:50:32 -06:00
Jay McCarthy
103cb2bfa6 Restoring old decoding behavior of net/url and allowing future compatibility by parameterizing what is accepted
original commit: 0a336024a9
2013-10-15 10:38:26 -06:00
Jay McCarthy
6f1faa8e8f Fixing PR14098
original commit: f8d3d6c81b
2013-10-15 10:38:26 -06:00
Jay McCarthy
8eae769bd1 Including test from PR14064
original commit: 4ff41fdea2
2013-10-11 16:37:23 -06:00
Robby Findler
635d79c7c3 bring dns tests up to date with what appears to be reality
original commit: f8860b5e05
2013-09-15 07:39:10 -05:00
Matthew Flatt
1c9e007ae1 repair for uri-decode
Certain inputs could cause `uri-decode` to go into a loop.

Patch and supplied by Doug Williams.

Closes PR 14010

original commit: 24fc16674b
2013-09-10 07:51:31 -06:00
Jay McCarthy
8fed20859a Support gzip encoded HTTP responses
original commit: 5a7ce6d60a
2013-09-04 09:05:09 -06:00
Matthew Flatt
f81a9a5cac include license with each package
original commit: ff9da94cfb
2013-08-31 06:25:31 -06:00
Matthew Flatt
b4613332a3 net/url: fix problems with new implementation on net/http-client
Various `net/url` operations need to request a close of the
connection after the operation completes, and `het/http-client`
needs to actually close the input-port half of a connection.

Also, add `http-conn-abandon!`.

Also also, add limits on internal pipes, so that data doesn't pile
up in a connection-processing thread, and fix POST/PUT by adding
a needed CRLF after posted data.

original commit: 0dcaa5e19f
2013-08-30 10:37:09 -06:00
Matthew Flatt
8dfb089fc2 auto-fix dependencies for "scheme-lib" and "srfi-lite-lib"
original commit: c709af5bf4
2013-08-27 15:20:58 -06:00
Jay McCarthy
15ff40050c Clarify http request support
original commit: 740a92164c
2013-08-27 09:16:16 -06:00
Jay McCarthy
efb0be60c8 Allow different HTTP versions
original commit: 41901397a7
2013-08-27 09:16:16 -06:00
Jay McCarthy
eb09070c98 Parse HTTP responses more generously
original commit: fbccbd8ad3
2013-08-27 09:16:15 -06:00
Matthew Flatt
4acbf22ae9 fix `{put,head}-[im]pure-port'
Connection wasn't converted to a port, and included a repeated
layer of chunk decoding.

original commit: 100cc0f84e
2013-08-24 15:21:06 -06:00
Jay McCarthy
6b5cd82d29 Adding net/http-client and using it underneath net/url
original commit: e8bafbd9b9
2013-08-23 12:41:37 -06:00
Jay McCarthy
c447b25384 Speed up test
original commit: 7d0471cd8d
2013-08-23 12:41:37 -06:00
Matthew Flatt
2214acbb94 net/win32-ssl: a native Windows SSL layer
This implementation of SSL ports is less complete than `openssl', but
it's complete enough to drive HTTPS, and so it can be used to download
a package that provides the DLLs needed for the `openssl' library.

The `net/url' library uses `net/win32-ssl' on Windows when `openssl'
is not available (due to the absence of the OpenSSL DLLs).

original commit: d9e226824f
2013-08-18 10:57:04 -06:00
Matthew Flatt
b67856a397 add pkg-desc' and pkg-authors' to each package
This information will be used to construct a catalog from the
package directories.

original commit: 057bfc2ea1
2013-07-31 07:06:24 -06:00
Matthew Flatt
7864208102 reduce doc dependencies of "racket-doc"
original commit: 72ae9a1249
2013-07-12 14:52:43 -06:00
Eli Barzilay
883be71ec5 Add missing test.
(...which was tested accidentally in the url tests.)

original commit: 28fc893c70
2013-07-06 23:39:23 -04:00
Eli Barzilay
0c73551845 Avoid duplicating code in test files.
original commit: 62fc516c24
2013-07-06 23:38:33 -04:00
Sam Tobin-Hochstadt
fbb5723ba3 Run the net tests under raco test.
original commit: 5e8a9780e8
2013-07-06 10:26:56 -04:00
Eli Barzilay
f92a8c4e45 Further explain silent acceptance of unencoded characters.
Also highlight the two tests that use that.

original commit: 8d55b892ec
2013-07-05 20:20:49 -04:00
Sam Tobin-Hochstadt
ff56800079 Use #lang info instead of #lang setup/infotab.
original commit: 5a7ca7ebb5
2013-07-04 16:46:32 -04:00
Sam Tobin-Hochstadt
e6275c3b69 Move most of the net collection out of the core.
- Most units and signatures from the `net` collection
  are now in `compatibility-lib`.
- Most of the actual libraries are in the `net-lib`
  package.

original commit: 2b1fb036c6
2013-07-01 11:27:14 -04:00
Matthew Flatt
a8b472d4c4 auto-fix dependencies in "pkgs"
Left one dependency broken: "drracket" currently depends on "htdp" for
a test. That needs to be fixed by removing the dependency (moving the
test to "htdp?), instead of changing the declared dependencies.

original commit: 51290fd2a9
2013-06-29 06:51:19 -06:00
Matthew Flatt
a62b3559de a step toward single-collection packages as default
A package's "info.rkt" file should define `collection' as a
string to name a single-collection package's collection, or as
the symbol 'multi to declare the package as multi-collection.
If `collection' is 'same-as-pkg, then the package name is used
as the collection name.

The default for `collection' is 'multi for now, but the intent
is to change the default to 'same-as-pkg after a conversion
period. Also, support for a `single-collection' definition remains
in place, but it wil be removed.

original commit: c738a6aa3e
2013-06-25 22:46:23 +02:00
Matthew Flatt
81f9d66ca1 reorganize into core plus packages
The "racket" directory contains a pared-back version of the
repository, roughly.

The "pkgs" directory everything else in the repository, but
organized into packages.

original commit: b2ebb0a28b
2013-06-19 09:01:37 -06:00
Eli Barzilay
ea5ef3ff51 Misc improvements to `net/uri-codec'.
Fix a bug in encoding strings with characters between 128 and 256, avoid
extra bindings for conversion vectors; remove calling `noels-tests' from
`main' since it's already called from `tests', etc.

original commit: c2280ed8dc
2013-05-22 13:19:12 -04:00
Matthew Flatt
71a343ca03 raco pkg create: support "source" and "binary" bundling
Adds `--from-dir' and `--from-install' flags to select the interpretation
of the argument as a directory or as the name of an installed package.
Relevant to PR 13669

Adds `--as-is' (the default), `--source', and `--binary' flags to
select a pruning mode.

The `raco setup' tool recognizes a `rendered-scribblings' specification
in "info.rkt" to trigger moving rendered documentation into place,
registering its tags in the cross-reference database, and fixing up
references to "local-redirect.js"; the presence of a "synced.rktd"
indicates when those fixups have been performed (since, if the package
is installed in a user-specific scope, the documentation doesn't actually
move anywhere). Finally, "out<n>.sxref" needs to report paths relative to
the documentation's directory, and then the relative-directory references
need to be suitably resolved at derserialization; some support for such
relative paths was in place, but it wasn't quite general enough before.

original commit: 198a65a5fc
2013-05-16 11:50:04 -06:00
Jay McCarthy
04d012960f Fixing PR13729
original commit: 7afde31fa6
2013-05-06 07:23:08 -06:00
Greg Hendershott
7b40eb66b7 Add optional message flags argument to imap-append.
Previously this was hard-coded to use the \Seen flag. Now that's the
default value when the argument is not supplied.

original commit: c6e2843557
2013-04-23 15:49:22 -06:00