Matthew Flatt
da66d4d559
adjust `case' expansion to work with Typed Racket
...
Relies on the new ad hoc optimization of `hash-ref' to preserve
performance.
2012-07-23 21:41:49 -05:00
Matthew Flatt
f7382b17c7
ad hoc optimization of `hash-ref'
...
Convert
(hash-ref <hash> <key-expr> (lambda () <literal>))
to
(hash-ref <hash> <key-expr> <literal>)
which is useful for making the `case' expansion fit
Typed Racket.
2012-07-23 21:41:49 -05:00
Matthew Flatt
22960b9c75
fix `subprocess' test
...
Merge to v5.3
2012-07-23 21:41:49 -05:00
Eli Barzilay
8e889cfdb1
Make some web server example code use a valid URL.
2012-07-23 20:54:41 -04:00
Matthew Flatt
5b6c65b6c9
tweaks to `case' implementation
...
Leave `eqv?' specialization to the compiler, generate
constants instead of vector and hash-table allocations,
and use a hash table for many values other than symbols,
keywords, and fixnums.
2012-07-23 18:56:33 -05:00
Matthew Flatt
eb6a6e7136
new test cases for `case'
...
Trigger binary-search and hash-table modes.
2012-07-23 18:56:33 -05:00
Jon Zeppieri
7ccf0efce9
new 'case' implementation
...
Based on Clinger's "Rapid Case Dispatch in Scheme"
2012-07-23 18:56:33 -05:00
Matthias Felleisen
f9724f389d
addex index entry for add/plus, multiply, and friends
...
Closes PR12895 -- well, except that index points to htdp-langs for all five occurrences of each (to be fixed)
merge to v5.3
2012-07-23 16:57:38 -04:00
Asumu Takikawa
2b173612e6
Fix guide description of when
...
Closes PR 12445
Merge to v5.3
2012-07-23 16:00:29 -04:00
Matthew Flatt
cd90510f07
ffi/com: AddRef on IUnknown arguments to COM methods
...
Merge to v5.3
2012-07-23 14:35:27 -05:00
Asumu Takikawa
ea1636d4f1
Doc fixes reported by Gary Baumgartner
...
The typo on 'redex.racket-lang.org' still remains.
Relevant to PR 12680
Merge to v5.3
2012-07-23 13:10:05 -04:00
Asumu Takikawa
e0e5f7dd28
Fix GUI doc typo reported by Kieron Hardy
...
Closes PR 12830
Merge to v5.3
2012-07-23 12:53:33 -04:00
Matthias Felleisen
94d472340d
add redundancy for scene? to universe docs; Closes PR12924
...
merge into v5.3
2012-07-23 11:36:00 -04:00
Matthias Felleisen
bf8c30727d
fixed small mistake in defform/none from conversion to syntax/parse
...
merge into v5.3 but ask Matthew for second opinion
2012-07-23 11:35:59 -04:00
Matthew Flatt
05495764ea
errortrace: fix profiling for phase >= 2 code
...
Closes PR 25050
Merge to v5.3
2012-07-23 07:05:40 -05:00
Matthew Flatt
a0ba30d8e7
fix `syntax-local-get-shadower' for submodules
...
Closes PR 12926, 12928
Merge to v5.3
2012-07-22 21:43:20 -05:00
James Swaine
ca360cdaed
Add test to track performance of code inside a future over time
2012-07-22 20:08:51 -05:00
James Swaine
087ec3890c
Fix block/sync counts in future visualizer and per-future block counts in creation graph mouseover
2012-07-22 20:04:34 -05:00
James Swaine
1355c711a8
Future visualizer - more performance improvement
2012-07-22 20:04:24 -05:00
James Swaine
0b5d574aae
Future visualizer performance improvements
2012-07-22 20:04:04 -05:00
James Swaine
5042b73fc8
Fix future visualizer drawing outside visible area (in y dimension)
2012-07-22 20:03:54 -05:00
James Swaine
0b8bccc8d4
Future visualizer - only redraw overlay when moused-over event changes
2012-07-22 20:03:42 -05:00
James Swaine
ee426f7ecb
Fix minor display issue in event details panel (future visualizer)
2012-07-22 20:03:41 -05:00
James Swaine
b6c4bece11
Improvements to mouseover performance in future visualizer
2012-07-22 20:03:41 -05:00
James Swaine
6eed135d02
Fix "dancing flags" issue with timeline ticks in future visualizer
2012-07-22 20:03:36 -05:00
James Swaine
06358fa19d
Performance improvements in future visualizer GUI (dragging, scrolling, sizing)
2012-07-22 20:03:35 -05:00
James Swaine
f0aaca0dde
Change future visualizer trace collection slightly to be more composable
2012-07-22 20:03:22 -05:00
James Swaine
e4f50997ad
Minor changes to future-visualizer/trace tests
2012-07-22 20:03:22 -05:00
James Swaine
5214995967
Add unit tests for future-visualizer/trace
2012-07-22 20:03:22 -05:00
James Swaine
df54f8460b
Fix future visualizer trace collection when running inside DrRacket
2012-07-22 20:03:21 -05:00
Robby Findler
d282843116
increase timeout for the sharing modules drracket test case
2012-07-22 19:51:19 -05:00
Robby Findler
519b69362f
fix bug in inline code
...
merge to the release branch, please
2012-07-22 19:51:19 -05:00
Eli Barzilay
476c270a66
Use a new evaluaor in "for.scrbl", have it require `racket/base' for syntax.
...
Also explicitly close the evaluator used in "block.scrbl".
Closes PR 12931.
2012-07-22 13:38:38 -04:00
Eli Barzilay
18883681a2
Convert all uses of (integer-in 0 255) to `byte?'.
2012-07-22 13:00:05 -04:00
Eli Barzilay
a6b20f01da
Use string-no-nuls?' and
bytes-no-nuls?' in more docs & error messages.
...
Also use `byte?' instead of (integer-in 0 255).
(This commit will most likely require some proof-reading.)
2012-07-22 13:00:05 -04:00
Matthew Flatt
d95ec4d454
fixes for submodules and `variable-reference->namespace'
...
Closes PR 12925
Merge to 5.3
2012-07-22 11:54:46 -05:00
Mike Sperber
0dd571ef53
Synch German string constants with latest.
2012-07-22 16:37:44 +02:00
Eli Barzilay
c2fe7c4e35
Quick typo fix.
2012-07-22 10:11:37 -04:00
Asumu Takikawa
40ea2befce
Missed one Rackety in commit 3582b57
2012-07-21 13:38:18 -04:00
Robby Findler
c4a768af00
add a Copy menu to the error message from the online expansion stuff
...
closes PR 12923
2012-07-21 12:23:08 -05:00
Robby Findler
df4508573a
adjust the interface reference in drracket for the new view menu
2012-07-21 11:34:13 -05:00
Matthias Felleisen
30cb1ce4f3
fixed minor typo
2012-07-21 11:07:32 -04:00
Robby Findler
5b96803273
fix a bug introduced by commit 05b88930c0
...
the symptom of the bug is that the red
error highlighting never worked
Please merge to the release branch
2012-07-21 07:23:47 -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