Commit Graph

30669 Commits

Author SHA1 Message Date
Eric Dobson
02b9de16bd Small changes/fixes to rackunit.
* Add optional message for fail-check.
* Correctly shorten column name.
2013-10-17 21:20:38 -07:00
Stephen Chang
f754624e9a describe some additional errors in docs for require 2013-10-18 00:12:07 -04:00
Asumu Takikawa
3264a7fd61 Better error messages for class/object contracts 2013-10-17 17:57:40 -04:00
Max New
63c05d6cf5 Use new match-a-pattern macro where appropriate 2013-10-16 18:48:39 -05:00
Max New
fca30c03e8 Reorganize match-a-pattern and fixup base-case version 2013-10-16 18:48:39 -05:00
Asumu Takikawa
51bca4208c More TR caveats 2013-10-16 17:02:03 -04:00
Asumu Takikawa
18d4eb5135 Abstract out "Expected foo, but got bar" errors
Use the new helper function to report errors more
helpfully when two identically named type variables
from different scopes are encountered.
2013-10-16 14:39:24 -04:00
Asumu Takikawa
b214fa01c1 Use string->uninterned-symbol instead of gensym
The reason these functions used gensym to begin with
was that fresh variables resulted in confusing error
messages of the form "Expected a, but got a".

An upcoming commit fixes these error messages, so
the gensym is replaced.
2013-10-16 14:39:24 -04:00
Asumu Takikawa
e243106294 Linkify 2013-10-16 14:39:24 -04:00
Asumu Takikawa
6f344c6259 Typo (plurality) 2013-10-16 14:39:24 -04:00
Jens Axel Søgaard
97165df3b4 Enable smoothing for svgs 2013-10-16 18:26:38 +02:00
Matthew Flatt
5e29f6fbfa fix name of a directory containing packages 2013-10-16 10:11:35 -06:00
Matthew Flatt
2e79b3953d fix props
Fixup for recent package moves.
2013-10-16 09:51:21 -06:00
Sam Tobin-Hochstadt
8ef9b98d59 Use #:usage-help to describe the behavior of raco pkg install.
In particular, specify the new behavior when no pkg-sources are given.
2013-10-16 10:01:45 -04:00
Sam Tobin-Hochstadt
ac1a6ecda7 Add #:usage-help option to command-line.
This allows specifying additional help text at the
top of the auto-generated help, before the options
specification.
2013-10-16 10:01:45 -04:00
Matthew Flatt
4037bc23d6 fix dependencies of "racket-test" 2013-10-15 21:22:22 -06:00
Sam Tobin-Hochstadt
f379c7ecaa fix net tests on travis 2013-10-15 22:06:59 -04:00
Matthew Flatt
f94749c8a9 add recent lib+doc packages to "main-distribution" 2013-10-15 18:27:38 -06:00
Matthew Flatt
d5f6b72e69 remove some unneeded dependencies 2013-10-15 17:50:32 -06:00
Matthew Flatt
44ee51f22f raco setup: add --unused-pkg-deps flag
This flag may be useful for checking for unnecessary dependencies, but
beware that it reports many false negatives, either because relevant
files are not compiled, because the dependency is dynamic, or because
unused packages are intentially listed as dependencies as a
convenience (as is the case for "main-distribution").
2013-10-15 17:50:32 -06:00
Matthew Flatt
1920ac59ab move some test & doc collections out of "racket-" pkgs to new pkgs 2013-10-15 17:50:32 -06:00
Matthew Flatt
fdae9cb573 pkg-push: use 'default in 'versions for current pkg info 2013-10-15 17:50:32 -06:00
Asumu Takikawa
99427ea6c3 Add a caveats and limitations chapter to TR guide 2013-10-15 19:11:26 -04:00
Matthew Flatt
3df2a53acd fix doc package deps 2013-10-15 13:13:53 -06:00
Matthew Flatt
833a368c66 document pkg/name
Also, tighten contracts and add `package-source-format?`.
2013-10-15 12:40:54 -06:00
Matthew Flatt
bbf446b0f4 raco setup: fix dependency checker to distinguish package name from source
Closes PR 14095
2013-10-15 12:40:41 -06:00
Neil Toronto
efaa5bd181 Made fl2exp' and fl2log' not depend on correctly rounded `flexpt' 2013-10-15 11:31:27 -06:00
Jay McCarthy
0182e3ff33 Fixing broken build and improving error message 2013-10-15 10:53:59 -06:00
Jay McCarthy
7cd12dd0f0 Use https cdn 2013-10-15 10:53:45 -06:00
Jay McCarthy
38b2a08295 Fixing PR14088 by showing entire path 2013-10-15 10:38:27 -06:00
Jay McCarthy
8b08258c34 Another friendly error message for weak sauce users 2013-10-15 10:38:27 -06:00
Jay McCarthy
add6166fad Adding noun re PR13885 2013-10-15 10:38:27 -06:00
Jay McCarthy
9cba5e6e90 Fixing PR14062 2013-10-15 10:38:26 -06:00
Jay McCarthy
c2072f96b2 Adding helpful print out 2013-10-15 10:38:26 -06:00
Jay McCarthy
0a336024a9 Restoring old decoding behavior of net/url and allowing future compatibility by parameterizing what is accepted 2013-10-15 10:38:26 -06:00
Jay McCarthy
f8d3d6c81b Fixing PR14098 2013-10-15 10:38:26 -06:00
Jay McCarthy
6a6b46031b Moved this to the wrong place 2013-10-15 10:38:26 -06:00
Jay McCarthy
fe6b8f46b1 Fixing PR14096 2013-10-15 10:38:26 -06:00
Jay McCarthy
bf02c9bc84 Enabling tests and fixing them 2013-10-15 10:38:26 -06:00
Jay McCarthy
d74c3f2402 Re-enabling DrDr test of base 2013-10-15 10:38:26 -06:00
Jay McCarthy
11b784236e Racket now works, but was broken before 2013-10-15 10:38:26 -06:00
Jay McCarthy
e6e95f1029 Base now works, but was broken before 2013-10-15 10:38:26 -06:00
Robby Findler
a460ab960c adjust image docs to use svg instead of png 2013-10-15 11:30:34 -05:00
Robby Findler
6e062466a0 support svg-bytes for 2htdp/image images 2013-10-15 11:30:33 -05:00
Robby Findler
5508e4fc58 add svg-bytes to the file/convertible docs as a standard request
also, bring convertible.scrbl down below 102 columns
2013-10-15 11:30:33 -05:00
Robby Findler
3ab82a7f8d adjust scribble html renderer to fall back from svg to png
and vice-versa
2013-10-15 11:30:32 -05:00
Matthew Flatt
3a9ad7746b OpenBSD: another approach to finding stack bounds
OpenBSD provides pthread_stackseg_np(), which directly reports
the stack-bounds information that Racket needs, so we can use
that instead of the approach used on other Unix variants. The
approach used for other Unix variants seems not to work for OpenBSD
because the stack location at the point that main() is called
is already significantly far from the stack base (on the order
of 100k on a 32-bit system in my test using OpenBSD 5.2).
2013-10-15 08:59:06 -06:00
Matthew Flatt
91ac5138ca raco pkg: fix access of 'default version info
Includes repair to `raco pkg catalog-show` to use the 'version table
in a package description.
2013-10-15 07:22:31 -06:00
Jay McCarthy
1b49fe6ba3 Move test to mark that it is supposed to fail 2013-10-15 07:19:36 -06:00
Jay McCarthy
0b9098eb1c Fix props 2013-10-15 07:19:36 -06:00