Commit Graph

31788 Commits

Author SHA1 Message Date
Asumu Takikawa
401c4dd0a6 Test the error message instead of a predicate
This test was broken prior to commit 370c4bd but
didn't fail because the test harness didn't test for
the right error.
2013-12-18 19:25:17 -05:00
Matthew Flatt
c8085a2988 fix chaperone-procedure wth extra properies
Continues the saga of 5bae9773a, this time fixing chaperone
properties.
2013-12-18 15:19:19 -07:00
Matthew Flatt
266e4ab119 make installers: fixes for parallel mode and timeouts
The `parallel` form in a site configuration was working only
with leaf machines; now, it should be fixed for `sequential`
nested under `parallel`.

Also, fix timeout handling and reporting of failures.
2013-12-18 14:45:52 -07:00
Jay McCarthy
4dd594a291 Fix test cases for close? 2013-12-18 12:03:52 -07:00
Robby Findler
370c4bdce2 fix any-wrap/c for promises 2013-12-18 12:58:56 -06:00
John Clements
ed0a5ae45e oops 6.0 not 5.6, silly rabbit.
Please merge to 6.0 release
2013-12-18 09:36:52 -08:00
John Clements
e3efaf5f05 updated stepper HISTORY.
Please merge to 6.0 release
2013-12-18 09:35:18 -08:00
Matthew Flatt
4070bcd461 fix chaperones and prop:procedure functions with keyword arguments
Commit 5bae9773aa broke `chaperone-procedure` and `impersonate-procedure`
so that it didn't always produce a chaperone or impersonator. Also,
the arity-error changeds intended for that commit were not complete,
because tests were accidentally commented out.

The main repair involves a new internal property that keeps track of an
accessor that is used to extract a procedure from a field in a structure
type that has `prop:procedure`.
2013-12-18 05:42:42 -07:00
Stephen Bloch
97ee349046 Corrected expected error message to match actual error message. Now
passes "raco test".
2013-12-17 14:54:39 -05:00
Stephen Bloch
ca98f85c39 Re-added error checks in the color=? function, so error message comes
from the function you actually called, rather than an internal.
2013-12-17 14:53:05 -05:00
Asumu Takikawa
f4d5b00ea5 Refactor tc-utils
Use an explicit `provide` list and delete unused functions.
2013-12-17 14:40:24 -05:00
Matthew Flatt
4fc71002e8 raco setup: more on docindex database creation
Commit 6ff7359212 didn't create a directory that might be missing
before trying to create a file in the directory.

Merge bug fix to v6.0 (pending review)
2013-12-17 07:11:22 -07:00
Asumu Takikawa
098f398a14 Fix base env types that are too conservative
These accessors and removers required the target value
to have the same type variable as the collection, but
that's more conservative and less useful than Any.
2013-12-17 01:33:47 -05:00
Eric Dobson
7060bdd0f8 Add a bunch of tests for contract creation error messages.
Also minor fixes to said error messages.
2013-12-16 21:04:36 -08:00
Robby Findler
09e28b272c remove use of exported set!'d identifier from contract examples
(replacing it with an accessor function)

Also add some for-label requires and remove a guaranteed-to-fail
test case (the bug is documented in the contract gotchas section)
2013-12-16 22:37:37 -06:00
Matthew Flatt
a9f64f4615 MzCOM: fix versioning and collection path
Merge bug fix to v6.0 (pending review)
2013-12-16 21:08:35 -07:00
Matthew Flatt
6ff7359212 raco setup: create docindex database before trying to read
Commit 0f80c71fab propagates read-only mode so that a documentation
database is not created for read operations, but `raco setup` (with
documentation-index support) attempts to read the database before
writing to it. Change `raco setup` to make sure the database
exists if a later write operation is expected to create it.

Merge bug fix to v6.0 (pending review)
2013-12-16 18:44:39 -07:00
Vincent St-Amour
ac480e7535 Update Typed Racket history.
Please merge to 6.0.
2013-12-16 17:05:39 -05:00
Vincent St-Amour
46260a6e85 Remove dependencies of typed-racket-more. 2013-12-16 17:04:16 -05:00
Vincent St-Amour
e0caf456dd Remove dependency on scheme-lib. 2013-12-16 17:04:16 -05:00
Vincent St-Amour
2195bdd15a Remove some SRFI dependencies. 2013-12-16 17:04:16 -05:00
Vincent St-Amour
c48a0e5b76 Remove dependency from benchmarks to legacy TR languages. 2013-12-16 17:04:16 -05:00
Vincent St-Amour
9a67230ae0 Split legacy Typed Racket languages into their own module. 2013-12-16 17:04:15 -05:00
Matthew Flatt
0f80c71fab setup/doc-db: propagate read-only flag for database connection
Fixes a problem installation Planet packages under Windows,
for example, where attempting to open a read-only file in
write mode triggers an extremely slow result.

Merge bug fix to v6.0 (pending review)
2013-12-16 14:38:26 -07:00
Matthew Flatt
ec5157d78f setup/setup: fix #:make-doc-index? default
Making the default match the docs fixes Planet package installation,
which otherwise tries to rebuild the index too frequently.

Merge bug fix to v6.0 (pending review)
2013-12-16 14:38:26 -07:00
Eric Dobson
edb04b8bfe Add test to track tr memory usage. 2013-12-16 09:42:27 -08:00
Matthew Flatt
1ceca069c8 more repairs to function-name inference
The main change is to add an option to `syntax-local-infer-name` to
select whether `syntax-local-name` is used, and to use the new option
to disable `syntax-local-name` for the function expression in a
keyword `#%app`.

Improvements in the expander/compiler generalize a previous repair.

Merge to v6.0
2013-12-16 09:07:36 -07:00
Matthew Flatt
37dd4fc2b0 fixes for keyboard navigation and tab panels
The geometry used for keyboard navigation and tab-panel% instances
was wrong. That problem, in turn, exposed a potential infinite
loop in the function that computes the next tab position (when
geometries overlap). Fix both.

Closes PR 14255

Merge to v6.0
2013-12-16 07:16:42 -07:00
Robby Findler
4a7c36e96e catch networking errors and show a dialog
that doesn't say "internal error"

closes PR 14254
2013-12-15 21:20:35 -06:00
Eric Dobson
ef6af9c47c Fix broken TR code. 2013-12-15 17:00:53 -08:00
Eric Dobson
5d4cb8c08b Make top interaction commands lazily loaded. 2013-12-15 14:13:07 -08:00
Eric Dobson
8e51f2b5ac Remove unused export. 2013-12-15 14:01:03 -08:00
Matthew Flatt
4abe7d2657 fix incorrect propagation of name via syntax-local-name
Merge to v6.0
2013-12-14 21:11:08 -07:00
Matthew Flatt
80d0b2fcc3 fix for-label import of a submodule
Closes PR 14155

Merge to v6.0
2013-12-14 20:27:55 -07:00
Robby Findler
2199d96100 implement a little bit of the random generation for the new ->
(just enough to pass the test suite)
2013-12-14 15:47:31 -06:00
Eric Dobson
1d0164f51b Cleanup duplication in check-subforms-unit. 2013-12-14 09:42:50 -08:00
Eric Dobson
ee47fe5f25 Minor cleanup in prims. 2013-12-14 09:42:50 -08:00
Eric Dobson
fced81a541 Make better interface for properties with only booleans. 2013-12-14 09:42:50 -08:00
Eric Dobson
15fddbafe0 Make syntax class for syntax properties. 2013-12-14 09:40:16 -08:00
Jay McCarthy
87135b110b 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"
2013-12-14 08:00:41 -07:00
Robby Findler
074f21203a another fix to the first-order check I added earlier today
(discovered by the test suites run by drdr)
2013-12-13 19:19:25 -06:00
John Clements
b44c23ba20 tiny doc typo 2013-12-13 16:45:28 -08:00
John Clements
ed3bf9a3c0 rackety 2013-12-13 16:45:28 -08:00
Robby Findler
14645b8cc5 fix class/c first-order check for interface contracts 2013-12-13 16:20:59 -06:00
Robby Findler
52c74701ec improve the first-order checking for the current class/c implementation
(not strictly necessary, but the new, still pending class/c first-order
checking checks the arities of the methods and those additional
tests got put into the test suite, so the easiest thing for now
is just to make the current class/c implementation do that check too)
2013-12-13 12:02:53 -06:00
Robby Findler
45b4bd5667 test case illustrating set! problem
(derived from drdr failure for
 scribblings/guide/contracts-examples/1-test.rkt)
2013-12-13 11:49:55 -06:00
Robby Findler
1f1550ae55 fix some bugs in the traversal function in any-wrap that I introduced
Also, rename the function so that errors like this don't take me as long to find
2013-12-12 22:48:57 -06:00
Robby Findler
ecc1facdaa improve source locations for uses of contracted variables 2013-12-12 22:48:57 -06:00
Robby Findler
4bcb44c442 separate out the error location tests
also, Rackety
2013-12-12 22:48:56 -06:00
Asumu Takikawa
34c5b32746 Quote the identifier in the declaration error msg
Please merge to v6.0
2013-12-12 16:25:21 -05:00