Commit Graph

1503 Commits

Author SHA1 Message Date
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
Vincent St-Amour
29882d8fa1 Remove redundant precision-loss messages. 2011-07-19 15:19:17 -04:00
Sam Tobin-Hochstadt
42b79dd489 Fix Typed Racket handling of exception handling with multiple return values. 2011-07-18 17:42:28 -04:00
Sam Tobin-Hochstadt
23c47728c5 Strengthen contracts to require syntax lists. 2011-07-18 17:41:17 -04:00
Sam Tobin-Hochstadt
25cdd87405 Fix internal error message. 2011-07-18 17:38:40 -04:00
Vincent St-Amour
4c5bb1ddaf Change a TR doc example to take two arguments.
Otherwise, the docs don't have any examples for the syntax of
multi-argument functions that doesn't involve polydots.
2011-07-18 11:53:39 -04:00
Vincent St-Amour
ce32003de2 Make Performance Report work on unsaved editors. 2011-07-15 15:04:58 -04:00
Vincent St-Amour
e07de3947b Have Performance Report work on multi-file programs. 2011-07-15 15:04:58 -04:00
Vincent St-Amour
47f0a36553 Fix when there are no reports in a file. 2011-07-15 15:04:58 -04:00
Vincent St-Amour
f632aa52dd Document Performance Report. 2011-07-15 15:04:58 -04:00
Vincent St-Amour
db9d51fef7 Change the structure of the "extra precision" missed optimizations.
Avoids reports that are almost duplicates.
2011-07-15 15:04:58 -04:00
Vincent St-Amour
c1e7d07586 Fix merging of report-entries. 2011-07-15 15:04:58 -04:00
Vincent St-Amour
93e1e6d710 Fix display of syntax. 2011-07-15 15:04:57 -04:00
Vincent St-Amour
218fdcceb4 Fix highlight removal. 2011-07-15 15:04:57 -04:00
Vincent St-Amour
76d91b4e3d Don't highlight irritants in the main editor. Leads to hard to understand red blobs. 2011-07-15 15:04:57 -04:00
Vincent St-Amour
be67f304a8 Update messages. Irritants are now highlighted, not circled. 2011-07-15 15:04:57 -04:00
Vincent St-Amour
f788f8c4c7 Popup formatting. 2011-07-15 15:04:57 -04:00
Vincent St-Amour
72975a4e1c Use rectangle highlighting instead of ellipses. Works better across multiple lines. 2011-07-15 15:04:57 -04:00
Vincent St-Amour
d7cb6fcc75 Separate each entry into multiple editors, for finer-grained control. 2011-07-15 15:04:57 -04:00
Vincent St-Amour
ac3b487a9f First stab at highlighting irritants in the popup. 2011-07-15 15:04:57 -04:00
Vincent St-Amour
2b9d035045 Add comments. 2011-07-15 15:04:57 -04:00
Vincent St-Amour
baab138252 Fix highlight range and refactor. 2011-07-15 15:04:57 -04:00
Vincent St-Amour
6dda3c3e03 Display code in monospace. 2011-07-15 15:04:56 -04:00
Vincent St-Amour
869df45881 Rewind the canvas to the beginning after inserting text. 2011-07-15 15:04:56 -04:00
Vincent St-Amour
90ae7bc25f Use editor snips to display multiple report in a single popup. 2011-07-15 15:04:56 -04:00
Vincent St-Amour
8e2645a946 Display each opt/missed-opt separately in the tool.
This should make it easier to highlight irritants in the popup.

This required redesigning the report data structures.
2011-07-15 15:04:56 -04:00
Vincent St-Amour
ec1dedffbb Reformat message. 2011-07-15 15:04:56 -04:00
Vincent St-Amour
e59a84dc96 Abstract out popup management. 2011-07-15 15:04:55 -04:00
Vincent St-Amour
46b984a94b Use editor locking. 2011-07-15 15:04:55 -04:00
Vincent St-Amour
b42952a2f4 Use auto-wrapping. 2011-07-15 15:04:55 -04:00
Vincent St-Amour
4e3650005a First stab at using a text% to display messages. 2011-07-15 15:04:55 -04:00
Vincent St-Amour
c5d46449b7 Fix new optimization to use the new loggin facilities. 2011-07-15 15:04:55 -04:00
Vincent St-Amour
c1fe25200b Keep located syntax around so we can use it in the tool. 2011-07-15 15:04:54 -04:00
Vincent St-Amour
d2a8a620b1 Call locate-stx at the last minute, to avoid overeager duplicate detection. 2011-07-15 15:04:54 -04:00
Vincent St-Amour
34ccf6a3fb Fix new optimization to use new logging. 2011-07-15 15:04:54 -04:00
Vincent St-Amour
4e0b1bfa3c Fix display of code in popup. 2011-07-15 15:04:54 -04:00
Vincent St-Amour
e736653413 Split tool into multiple files. 2011-07-15 15:04:54 -04:00
Vincent St-Amour
d3db388c05 Use locate-stx earlier in the logging process, for nicer display in the tool. 2011-07-15 15:04:54 -04:00
Vincent St-Amour
0ce280da89 Display relevant code in pop-up when there's more than one message. 2011-07-15 15:04:54 -04:00
Vincent St-Amour
604e690982 Fix name. 2011-07-15 15:04:54 -04:00
Vincent St-Amour
f02c65dfcc Deal with overlapping opts/missed opts more nicely. 2011-07-15 15:04:54 -04:00
Vincent St-Amour
d146f8c590 Report missed fixnum optimizations. 2011-07-15 15:04:54 -04:00
Vincent St-Amour
bfc4ad4225 Add nicer optimization reporting messages. 2011-07-15 15:04:53 -04:00
Vincent St-Amour
d33c13e0f6 Use various shades of pink/red for highlights depending on the badness. 2011-07-15 15:04:53 -04:00
Vincent St-Amour
47af9d51bc Make performance-report state local, to support multiple files at once. 2011-07-15 15:04:53 -04:00
Vincent St-Amour
092df83c18 Have an icon for performance-report. 2011-07-15 15:04:53 -04:00
Vincent St-Amour
ff5ca8a234 Handle irritants without source location properly. 2011-07-15 15:04:53 -04:00