Matthew Flatt
4d9c7e5332
fix interactive errortrace on modules
2011-09-14 20:51:56 -06:00
Matthew Flatt
051d677f0f
place-channel fixes
...
Finalization for a place channel used a recursive, non-atomic
function, which meant that a thread switch could happen during
place-channel finalization, leaving the new thread with the
master GC and generally confused. (The random-message test
found the bug right away on my machine.)
We already have a non-recursive, non-atomic function to traverse
place messages, so collapse all modes into that one implementation.
Along the way, problems with empty structs (found by random tester)
and checking of file descriptors (test added) also fixed.
2011-09-14 20:43:36 -06:00
Matthew Flatt
3b077078de
adjust module name resolve to use cc-marks less
...
Use `continuation-mark-set-first', instead.
Also, re-enable bytecode for Racket code that is built into
the binary, which had been left disabled accidentally.
2011-09-14 15:01:18 -06:00
Matthew Flatt
7315bfa554
drop an unnecesary lock
...
The recent addition of a shared table of names for shared code
caused bad performance on some machines (such as Robby's)
due to the lock on the table. The lock dosn't seem to be necessary
for platforms where places are supported, though.
2011-09-14 15:00:45 -06:00
Mike Sperber
bbb38c0ff9
Report signature violations in the REPL.
...
In the course of this, revamp the logic that controls when the
test-results window pops up and when it doesn't.
Closes PR 12185
2011-09-14 22:00:42 +02:00
Matthew Flatt
45331d1ae8
fix errortrace-conversion problem in HtDP languages
2011-09-14 12:24:41 -06:00
Robby Findler
0e2bd262a8
add a missing degrees to radians conversion in triangle/ass
...
closes PR 12199
2011-09-14 12:35:53 -05:00
Matthew Flatt
347d4d32ba
fix broken attempt to update DrRacket for errortrace change
2011-09-14 06:54:57 -06:00
Eli Barzilay
50ead29fb9
New Racket version 5.1.3.9.
2011-09-14 03:50:15 -04:00
Matthew Flatt
a233697f08
fix errortrace (required API changes), add `syntax-shift-phase-level'
...
Also fix a bug in the `module' expander and streamline lazy
visits.
2011-09-13 21:04:10 -06:00
Robby Findler
437d654cc1
add some more snips to the test suite
2011-09-13 20:46:05 -05:00
Robby Findler
a4336c3997
docs for new read-snip-from-port function in the wxme library
2011-09-13 20:46:04 -05:00
Vincent St-Amour
e61d472ed3
Fix xrepl tests.
2011-09-13 17:29:47 -04:00
Robby Findler
89ef65a746
fix the collapsed snipclass so that it cooperates with the wxme library and
...
thus saved files with collapsed snips can be required in non-GUI contexts
2011-09-13 14:58:39 -05:00
Robby Findler
cbaa25c2b0
add a test so that the current version of files with collapsed snips in them
...
continue to work going forward
2011-09-13 14:56:33 -05:00
Robby Findler
621109a40a
adjust check syntax to use the new capability in free-identifier=?
2011-09-13 14:56:32 -05:00
Vincent St-Amour
297cecebcc
Fix type of random to accept any Integer.
2011-09-13 15:42:04 -04:00
Vincent St-Amour
7e9e500818
Fix case-lambda type printing.
...
Closes PR 12188.
2011-09-13 15:42:04 -04:00
Vincent St-Amour
3c3e5902e5
Switch to square brackets for REPL type display.
2011-09-13 15:42:04 -04:00
Vincent St-Amour
68d58f7d2a
Generalize types shown at the REPL, to keep types simple.
2011-09-13 15:42:04 -04:00
Jon Rafkind
386d3f4e1f
[honu] add example of for form for iterating over lists
2011-09-13 12:15:47 -06:00
Jon Rafkind
501efef8a1
[honu] dont produce an extra void expression in a block. add a for form to iterate over a list. add an example of linq with xml
2011-09-13 12:15:47 -06:00
Jon Rafkind
1650294a83
[honu] add simple class form. share the function parsing syntax class
2011-09-13 12:15:47 -06:00
Jon Rafkind
062a20f7e1
[honu] function application respects precedence so that dot can bind higher
2011-09-13 12:15:47 -06:00
Vincent St-Amour
8ae1a903fa
Compare numeric unions using a linear scan.
2011-09-13 11:22:24 -04:00
Vincent St-Amour
c63b5873e3
Optimize subtyping of numeric types.
2011-09-13 11:22:24 -04:00
Vincent St-Amour
40456b4fd8
Add a field to base types to indicate if they are numeric types or not.
2011-09-13 11:22:24 -04:00
Vincent St-Amour
32b56eb2fa
Fix whitespace.
2011-09-13 11:22:24 -04:00
Jay McCarthy
78151e073b
Fixing the handling of request bodies on non-POST methods
2011-09-13 08:57:58 -06:00
Eli Barzilay
9a034c44ad
New Racket version 5.1.3.8.
2011-09-13 03:50:16 -04:00
Matthew Flatt
51721e9bb5
fix contract in docs
2011-09-12 19:39:45 -06:00
Matthew Flatt
a8c0c1f8b7
simpify an example
2011-09-12 19:39:37 -06:00
Matthew Flatt
7a2e1aa900
scribble: more nowraps in HTML output
...
Avoids line-wraps for `examples' output and in function contracts
2011-09-12 19:17:08 -06:00
Matthew Flatt
c5131d428c
doc clarifications on `eq?'
2011-09-12 19:16:57 -06:00
Matthew Flatt
b7bef3b3aa
add syntax-transforming-module-expression?',
variable-reference->module-base-phase'
2011-09-12 17:08:50 -06:00
Matthew Flatt
c352ef8fce
allow different phases for `free-identifier=?' arguments
2011-09-12 17:08:50 -06:00
Matthias Felleisen
481a92f272
fixed and/or documentation, Closes PR 12197
2011-09-12 17:12:39 -04:00
Sam Tobin-Hochstadt
b91880b05a
random' always produces
Float'.
2011-09-12 16:31:00 -04:00
Sam Tobin-Hochstadt
ce7271b3f8
Sort chart data.
2011-09-12 12:30:01 -04:00
Sam Tobin-Hochstadt
d0bf047121
Add test of behavior like the "module" language in DrRacket.
2011-09-12 12:14:50 -04:00
Sam Tobin-Hochstadt
f9b0f0ce73
Move environment initialization after local expansion in Typed Racket.
...
This means that syntax errors caught by `local-expand' are reported sooner, but shouldn't change other timing results.
2011-09-12 11:52:26 -04:00
Sam Tobin-Hochstadt
ce45c12b67
Make the type of `syntax-local-module-defined-identifiers' more precise.
2011-09-12 11:52:25 -04:00
Robby Findler
566db80842
add more info into the log for the expanding place
...
specifically, when drracket kills the thread that is expanding/transforming
the program, first print out its stack trace. that way, if it is stuck
somewhere, maybe we'll get a clue as to where
2011-09-12 10:49:17 -05:00
Robby Findler
b43250a448
remove unnecessary thread creation & remove commented out code
2011-09-12 10:49:16 -05:00
Robby Findler
14441264ef
Rackety
2011-09-12 10:49:15 -05:00
Robby Findler
1ec5aee4a4
add a better link from the snip class docs to the relevant section of the
...
wxme library
2011-09-12 10:49:13 -05:00
Matthew Flatt
3565c7e820
share table of shared code pointers
...
Allows stack traces to report information in places other than
the main place
2011-09-12 09:35:47 -06:00
Robby Findler
273afb266d
adjust online expansion to hold onto previously successful
...
namespace-module-registry in order to encourage the bytecode cache to
hold onto likely-to-be-useful entries a while longer
2011-09-11 08:15:46 -05:00
Robby Findler
05cd55fb04
make the right-hand side blobs (for online check syntax) look a little bit
...
better in white-on-black mode
2011-09-10 22:11:03 -05:00
Robby Findler
cd1c96d596
adjust check syntax to work with the new begin-for-syntax
2011-09-10 22:10:59 -05:00