Commit Graph

21859 Commits

Author SHA1 Message Date
Vincent St-Amour
02b76d7741 Omit a redundant pass. 2011-07-22 16:40:11 -04:00
Vincent St-Amour
84931448b5 Flip order of type simplification passes. 2011-07-22 16:38:15 -04:00
Vincent St-Amour
5b6d0ae167 Refactoring. 2011-07-22 16:22:36 -04:00
Vincent St-Amour
f7be12d313 Typecheck pregexp literals correctly. 2011-07-22 16:22:36 -04:00
Vincent St-Amour
27cd6aca6f Use set coverage for union printing. 2011-07-22 16:22:36 -04:00
Matthias Felleisen
b4d091438d revised history, push to release branch 2011-07-22 15:30:39 -04:00
Jon Rafkind
23e907aa5c add printf. recognize strings as atoms 2011-07-22 14:43:45 -04:00
Jon Rafkind
d4ea3b5d79 parse multiple call arguments 2011-07-22 14:43:45 -04:00
Vincent St-Amour
10e79ba2ec Clean up printing of unions that involve numeric types. 2011-07-22 11:41:27 -04:00
Vincent St-Amour
96eee2b317 Refactor. 2011-07-22 11:41:27 -04:00
Matthias Felleisen
ed7f16c872 fixed a totally misleading error message in big-bang; MUST GO INTO RELEASE 2011-07-22 10:34:26 -04:00
Matthew Flatt
8711aa6c5d work around win64 drawing problem
Merge to 5.1.2
2011-07-22 07:51:01 -06:00
Robby Findler
56b82ba83c fix the png conversion code for 2htdp/image images
closes PR 12061
  please merge to the release branch
2011-07-22 08:09:17 -05:00
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