Robby Findler
f7f3971d15
add version number to release notes
...
please merge to release branch
2011-07-21 21:48:39 -05:00
Stevie Strickland
01396784c9
Fix set/c to conform to hash/c-like restrictions.
...
Since sets are implemented using the elements as the domain of a hash table,
the following must be true:
* element contracts for (seteq ...) must be flat
* element contracts for (seteqv ...) must be flat
* element contracts for (set ...) must be chaperones, and the resulting
contract is a chaperone contract
Also, change higher-order set/c contracts to be chaperone contracts
due to the new restrictions.
2011-07-21 18:49:06 -04:00
Vincent St-Amour
19ce4d44a5
Don't block DrRacket if expansion exits abnormally.
2011-07-21 17:14:05 -04:00
Vincent St-Amour
58fbd8ba75
Report errors during expansion in the interactions window, not as internal errors.
2011-07-21 17:06:04 -04:00
Vincent St-Amour
b305ea9c62
Use DrRacket's program-expansion mechanisms instead of directly calling expand.
2011-07-21 17:06:03 -04:00
Vincent St-Amour
860feb30ae
Unitize performance report, to get access to some DrRacket internals.
2011-07-21 17:06:03 -04:00
Vincent St-Amour
30146b7b8c
Expose more of the TR opt logging.
2011-07-21 17:06:03 -04:00
Vincent St-Amour
73140544ce
Clean up.
2011-07-21 17:06:03 -04:00
Vincent St-Amour
b068e4a53b
Add a lower-level interface to unstable/logging.
2011-07-21 17:06:03 -04:00
Vincent St-Amour
fe58048844
Remove stale comment.
2011-07-21 17:06:03 -04:00
Vincent St-Amour
fae966146f
Handle desired types being outside of the function's range.
2011-07-21 17:06:03 -04:00
Vincent St-Amour
59027c6b40
Moved handling of empty pruned case-lambdas.
2011-07-21 17:06:03 -04:00
Vincent St-Amour
c0d0211ebb
Add a function to query how to get a given return type from a function.
2011-07-21 17:06:03 -04:00
Vincent St-Amour
51b98138d5
Fix :print-type to use tc-setup.
2011-07-21 17:06:03 -04:00
Vincent St-Amour
a71db7c15c
Document how to start a TR REPL from the command line.
2011-07-21 17:06:03 -04:00
Vincent St-Amour
4735ad3523
Refactoring.
2011-07-21 17:06:03 -04:00
Vincent St-Amour
70e1d63bed
Add a function to print whole types.
...
With this, it's possible to get more information than the simplified
types shown at the REPL. The types are as unwieldy as ever, but you
have to ask for them explicitly.
This is not an adequate long-term solution, and will be replaced by a
"Type Explorer" tool.
2011-07-21 17:06:02 -04:00
Vincent St-Amour
1a66f60eb4
Don't print full function intersection types at the REPL, if possible.
2011-07-21 17:06:02 -04:00
Robby Findler
754b4df5e8
make sure the language-specific toolbar buttons are put into the toolbar in the right order initially
...
closes PR 12068
2011-07-21 14:15:11 -05:00
Robby Findler
1c2f4ab05c
add an exit handler setting for the drracket:eval:* functions
...
(and then adjust the drracket-repl exit handler to take
precedence over that one)
closes PR 12071
2011-07-21 13:34:54 -05:00
Robby Findler
7820db9f8d
missed a spot in the addition of chaperone info for opt/c
2011-07-21 09:38:22 -05:00
Jon Rafkind
1b914ead61
add optional val before functions and arguments
2011-07-20 19:22:30 -06:00
Jon Rafkind
292512221e
function == lambda. add new syntax for defining functions
2011-07-20 19:22:30 -06:00
Matthew Flatt
530bb1b9ba
code-inspector fix for top-level code from bytecode
...
Merge to 5.1.2
2011-07-20 14:25:24 -06:00
Matthew Flatt
8504996862
fix `raco ctool -e' for syntax taints
...
Merge to 5.1.2
2011-07-20 14:09:38 -06:00
Matthew Flatt
0d2b08f053
fix validation of top-level define-{syntaxes,values-for-syntax}
...
(Only appears in bytecode for non-module code.)
Merge to 5.1.2
2011-07-20 14:08:30 -06:00
Matthew Flatt
5b8a892fbb
fix bug in .zo writing
...
The bug showed up in the "racket/embed.rktl" test.
Merge to 5.1.2
2011-07-20 13:57:52 -06:00
Matthew Flatt
30174b3c81
another try at Mac OS X 10.4 x86 libraries
...
Merge to 5.1.2
2011-07-20 13:26:48 -06:00
Sam Tobin-Hochstadt
7a763a2da8
Fix types of kernel struct constructors to include parent fields.
...
Merge to 5.1.2.
2011-07-20 15:19:53 -04:00
Matthias Felleisen
59f0732fa0
fixed docs for >=; Closes PR 12066
2011-07-20 15:20:22 -04:00
Casey Klein
7d103bdfd8
Updates Redex history for v5.1.2
2011-07-20 09:24:17 -05:00
Matthew Flatt
d9ae1d048d
fix optimizer bug related to `case-lambda' at module level
...
The bug triggered a crash on ARM, and probably doesn't
affect other platforms, but I'm not competely sure.
Merge to 5.1.2
2011-07-19 15:27:50 -06:00
Robby Findler
9595145d79
adjust the teaching languages so they print images specially.
...
I picked "#<image>" not because I think it is a good way to print,
but just so that there is something there to be easily changed later,
when someone who has an opinion decides to change it.
2011-07-19 16:17:06 -05:00
Robby Findler
2a78ea9723
change autowrapping preference default
...
please merge to release branch
2011-07-19 16:17:04 -05:00
Robby Findler
230f18a366
add some detail about bullet and o-bullet to slideshow docs
...
closes PR 12055
2011-07-19 16:17:02 -05:00
Robby Findler
3fa2cc0d67
adjust the size-pref frame mixin to track the position of the frame in a multi-monitor sensitive way
...
(also fix various issues with that code and unify the framework and drracket way of doing this)
2011-07-19 16:16:50 -05:00
Sam Tobin-Hochstadt
f67d46cd2f
Pass the correct number of arguments to `display-size'. Closes PR 12062.
2011-07-19 17:04:51 -04:00
Eli Barzilay
1b86ff641a
Typo in comment
2011-07-19 17:04:42 -04:00
Sam Tobin-Hochstadt
8a608ed840
Conditionalize use of contract.
2011-07-19 16:47:13 -04:00
Eric Dobson
e07ce478af
Switched name field in struct type to identifier. Closes PR 11728.
...
Closes PR 11998. Closes PR11859.
2011-07-19 16:47:13 -04:00
Eric Dobson
81b1178a17
Fixed TR contracts to be more/less strict
2011-07-19 16:47:13 -04:00
Eric Dobson
a7f0f7591d
Fixed types for path operations. Closes PR12057.
2011-07-19 16:47:13 -04:00
Eli Barzilay
8109299ec8
Improve macro stepper output, and some more ,stx outputs.
2011-07-19 16:39:15 -04:00
Eli Barzilay
f5e53de4d9
XREPL tests.
...
Not too much, but already tests large parts of sensitive code. Caught a
bug where ,top would use (enter! #f) but enter grabbed the wrong
namespace since it was instantiated in the wrong namespace.
2011-07-19 16:39:15 -04:00
Vincent St-Amour
419398ce1a
Fix test to not be dependent on floating-point printing.
2011-07-19 15:19:17 -04:00
Vincent St-Amour
29882d8fa1
Remove redundant precision-loss messages.
2011-07-19 15:19:17 -04:00
Guillaume Marceau
2ae0376476
Fixes the (cons an image empty) error message
2011-07-19 13:01:07 -04:00
Jon Rafkind
a7768a13a3
use #%module-begin for honu modules so top level expressions get printed
...
macros return whether they terminate parsing
2011-07-19 11:00:32 -06:00
Matthew Flatt
255549c8c8
win32: fix is-maximized' in
frame%'
...
Merge to 5.1.2
2011-07-19 08:55:33 -06:00
Matthew Flatt
6d073e0cf7
fix `get-slides-as-picts' to record margin with picts
...
Closes PR 12059
2011-07-19 08:45:11 -06:00