Vincent St-Amour
191f7a5f17
Add an early failure case for portname matching.
2011-07-29 18:23:16 -04:00
Vincent St-Amour
30ea1afc58
Fix Performance Report on unsaved files.
2011-07-29 18:23:15 -04:00
Vincent St-Amour
aa235ac959
Use `call-with-sandbox-context'.
...
This should make it possible to avoid serialization.
2011-07-29 18:23:15 -04:00
Vincent St-Amour
7775779e6a
Do expansion inside a sandbox.
2011-07-29 18:23:14 -04:00
Vincent St-Amour
ea1ae29e0f
Have log entries carry pseudo-syntax instead of syntax.
...
Unlike syntax, pseudo-syntax is serializable, and it only carries the
information that Performance Report needs. Serializability is
necessary to be able to expand the program inside a sandbox and get
log entries out.
2011-07-29 18:23:14 -04:00
Vincent St-Amour
968f3b0905
Restore proper error handling.
2011-07-29 12:54:29 -04:00
Vincent St-Amour
d794d33b5e
Go back to previous expansion strategy.
...
The DrRacket expansion functions don't offer anything more than plain
expand + a sandbox, and using them made the code less readable.
This reverts commit 96eee2b317
.
This reverts commit 19ce4d44a5
.
This reverts commit 58fbd8ba75
.
This reverts commit b305ea9c62
.
This reverts commit 860feb30ae
.
2011-07-29 12:54:29 -04:00
Vincent St-Amour
5521e3ad5e
Lock the top-level editor of the popup.
2011-07-29 12:54:28 -04:00
Vincent St-Amour
96eee2b317
Refactor.
2011-07-22 11:41:27 -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
29882d8fa1
Remove redundant precision-loss messages.
2011-07-19 15:19:17 -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
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