Commit Graph

296 Commits

Author SHA1 Message Date
Vincent St-Amour
aba046a92d Swap unsafe and chaperone-unsafe vector ops in the TR optimizer.
Closes PR12969.
2012-08-04 10:32:21 -04:00
Vincent St-Amour
ebd2e35600 Remove accidentally added file. 2012-08-03 14:41:21 -04:00
Vincent St-Amour
1215fb6cec Remove invalid singleton return types.
NaN doesn't inhabit these types, but can be produced there.
2012-08-03 14:21:44 -04:00
Vincent St-Amour
a6d5a98b61 Include NaN in all floating-point types.
Makes more closure properties hold, but weakens occurrence typing for
some comparisons involving flonums.
2012-08-03 14:21:44 -04:00
Vincent St-Amour
b1fbbafd91 Fix type of rational?. 2012-08-03 14:21:44 -04:00
Vincent St-Amour
800a328fe6 Fix documentation for packages and mutable lists.
As suggested by Matthew.
2012-07-31 17:12:30 -04:00
Vincent St-Amour
cc8a9b5ed7 Fix type for dynamic-place. 2012-07-31 17:12:30 -04:00
Vincent St-Amour
dd02f5eeda Fix parametric require/typed in typed/racket/base.
Closes PR12951.

Please merge to release.
2012-07-29 09:02:58 -04:00
Vincent St-Amour
52439d528b Move mutable list functions to the compatibility collect.
Mutable pair functions from racket/base are not moved.
2012-07-27 16:49:05 -04:00
Vincent St-Amour
8bceeadaab Refactoring. 2012-07-25 16:32:52 -04:00
Vincent St-Amour
f50d64b3b2 Fix tab leak. 2012-07-25 16:32:52 -04:00
Vincent St-Amour
144fd5bf05 Refactoring. 2012-07-25 16:32:52 -04:00
Vincent St-Amour
406529c391 Close OC properly from the menu. 2012-07-25 16:32:52 -04:00
Vincent St-Amour
dc6a81ad02 Refactoring. 2012-07-25 16:32:52 -04:00
Vincent St-Amour
57568ae44c Cleanup. 2012-07-25 16:32:51 -04:00
Vincent St-Amour
0bb133ea51 Move panel to the frame mixin instead of the tab mixin. 2012-07-25 16:32:51 -04:00
Vincent St-Amour
b2ce93ca94 Fix Optimization Coach menu entry point. 2012-07-25 16:32:51 -04:00
Vincent St-Amour
d9f97d079f Refactoring. 2012-07-25 16:32:51 -04:00
Vincent St-Amour
74a6518920 Refactoring. 2012-07-24 17:02:46 -04:00
Vincent St-Amour
b3e619e5ee Have OC work on a copy of the definitions window. 2012-07-24 16:56:23 -04:00
Vincent St-Amour
b1577bd307 Fix type for add-between. 2012-07-24 16:41:52 -04:00
Vincent St-Amour
7ba7be1873 Show running man animation when OC is working. 2012-07-24 16:05:59 -04:00
Vincent St-Amour
f2ff88be4a Add Optimization Coach right-click menu entry to existing menu. 2012-07-24 13:48:05 -04:00
Vincent St-Amour
73942fcfa8 Wrap highlighting in an edit sequence.
Speeds up display.
2012-07-24 13:48:05 -04:00
Vincent St-Amour
70f8f4d743 Avoid recreating panel and check-boxes when optimization coach is shown. 2012-07-24 13:48:05 -04:00
Vincent St-Amour
cfc8fe5766 Fix spacing issue. 2012-07-24 13:48:05 -04:00
Robby Findler
df4508573a adjust the interface reference in drracket for the new view menu 2012-07-21 11:34:13 -05:00
Vincent St-Amour
848a28266c Replace fields with local-member-name accessors. 2012-07-20 18:05:34 -04:00
Vincent St-Amour
95e117b7f5 Typo. 2012-07-20 18:05:34 -04:00
Vincent St-Amour
c237cee025 Rename undo-thunks to clear-thunks.
They don't have anything to do with editors' undo.
2012-07-20 18:05:34 -04:00
Vincent St-Amour
eda3e70670 Use local member names for Optimization Coach public methods. 2012-07-20 18:05:34 -04:00
Vincent St-Amour
fceb3db69c Refactoring. 2012-07-20 18:05:33 -04:00
Vincent St-Amour
6af2e49db3 Delete trailing whitespace. 2012-07-20 18:05:33 -04:00
Vincent St-Amour
f6feff3c51 Optimization Coach should not catch break exceptions. 2012-07-20 18:05:33 -04:00
Vincent St-Amour
ea6ba36ccb Update Optimization Coach documentation.
Please merge to release.
2012-07-20 18:05:33 -04:00
Vincent St-Amour
7c0ef33bb7 Consistent capitalization with other menu items. 2012-07-20 18:05:33 -04:00
Vincent St-Amour
24b314a40a Only enable Optimization Coach button in Typed Racket.
Other languages can access it through the View menu.

Please merge to release.
2012-07-20 18:05:32 -04:00
Vincent St-Amour
d396b34b2d Disable loop detection heuristic with too many false positives. 2012-07-20 18:05:32 -04:00
Vincent St-Amour
2e594d3606 Change Optimization Coach message. 2012-07-20 18:05:32 -04:00
Sam Tobin-Hochstadt
4a90c6c1fe Ensure that structs don't overlap with simple values.
Reported by Ray Racine.

Please merge to release.
2012-07-20 13:01:32 -04:00
Asumu Takikawa
e14c5d61e9 Allow guards for impersonatable struct type properties 2012-07-19 22:46:14 -04:00
Sam Tobin-Hochstadt
a589d02751 Document Struct.
Merge to release.
2012-07-19 10:55:31 -04:00
Robby Findler
3b5eb1da41 add a View menu item for the optimization coach 2012-07-17 13:45:33 -05:00
Matthew Flatt
c8f4ac6ae4 submodules: make .zo path stick for consistent independent loading
When a module is loaded from bytecode and then the value of
`use-compiled-file-paths' changes, an attempt to load a submodule
would fail, because source isn't used if the main module is
already declared, and the bytecode code is not used according to
`use-compiled-file-paths'. Make the bytecode path stick when it
is used once, so that submodule loads succeed, and make it work
even with `namespace-module-attach'.

The module-attach part of this protocol requires a change to the
API of a module name resolver: the notification mode gets two
arguments, instead of one, where the second argument is an
environment.
2012-07-17 09:47:05 -06:00
Sam Tobin-Hochstadt
22904ef43e Use lazy instead of delay, as recommended by Eli. 2012-07-17 07:11:23 -04:00
Eric Dobson
9dac995e36 Fix things broken by bad rebasing. 2012-07-15 19:21:26 -04:00
Eric Dobson
1df6165e9f Clean up of typechecking for heterogeneous vectors and structs. 2012-07-15 19:21:26 -04:00
Eric Dobson
dd078dcb95 Clean up of tc-app.rkt. 2012-07-15 19:21:26 -04:00
Eric Dobson
779291c795 Remove special cases for - and fx- in tc-app.rkt. 2012-07-15 19:21:26 -04:00
Eric Dobson
8f98bb6d92 Added cond-check-below 2012-07-15 19:21:26 -04:00