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
0951ad5b1b
Add types for #%kernel's memq, memv and member.
2011-07-29 13:43:11 -04:00
Vincent St-Amour
88a3d93e9e
Add a type for #%kernel's reverse.
...
Present in the expansion of for/list.
2011-07-29 12:54:29 -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
5b22dfb6b0
Add for*/sum: and for*/product: to TR.
...
These currently don't play nice with inference, so they only work in
limited cases.
2011-07-29 12:54:29 -04:00
Vincent St-Amour
6a8011854b
Add for/sum: and for/product: to TR.
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
Eli Barzilay
7585edbcb6
xrepl improvments:
...
* a single function to set up all environment parameters.
* improve `getarg's treatment of default thunk
* Add an error display handler that doesn't show the context and instead
add a ,bt command to show it.
2011-07-29 07:29:29 -04:00
John Clements
0bcff68226
minor testing changes
2011-07-28 22:51:00 -04:00
John Clements
b346665c5c
updated history.
...
Merge to 5.1.2
2011-07-28 22:51:00 -04:00
John Clements
e178dbc4f2
unimportant tabbing fixup
2011-07-28 22:51:00 -04:00
Matthew Flatt
e6b4d547c9
fix problem with initialization of tag name array
...
The bug to lead to a crash from `(dump-memory-stats)'
Mrege to 5.1.2
2011-07-27 15:26:48 +01:00
Robby Findler
a26eb340c8
fix the parent of the 'can close this window?' messages for tabs that aren't the frontmost tab
2011-07-27 07:39:48 -05:00
Matthew Flatt
b78a1a8355
remove abbreviations for for/sum' and
for/product'
2011-07-27 07:55:20 +01:00
Matthew Flatt
fae6e273ed
lexer tweak to get named procedure
2011-07-27 07:55:18 +01:00
Matthew Flatt
7123996b30
change `eval-jit-enabled' initialization
...
to reflect whether JIT compilation is supported by the build
(i.e., set it to #f initially when the JIT is not supported)
2011-07-27 07:55:05 +01:00
Matthew Flatt
9ace663021
Racket-implemented reverse',
member', memv',
memq'
...
With the JIT, the `reverse' function is significantly faster,
while the `member' variants do not really change; the main
benefit is that the operations play well with futures.
The C implementation is still used when the JIT is unavailable,
since the Racket implementations can be much slower in
interpreted mode.
2011-07-27 05:47:46 +01:00
Matthew Flatt
f1160da419
add for/sum',
for/product', etc.
2011-07-27 05:47:46 +01:00
Matthew Flatt
c6f1178be3
fix an error message
2011-07-27 05:47:46 +01:00
Robby Findler
344168690e
likely fix for bug on mailing list that Matthias reported
...
("drracket fails to start up properly" Tue, Jul 26, 2011 at 2:12 PM)
et fails to start up properly
2011-07-26 21:05:49 -05:00
Jon Rafkind
1e4c9b4ec3
use new reader for #lang honu
2011-07-26 17:41:07 -06:00
Jon Rafkind
ae6a69b8eb
make syntax objects
2011-07-26 17:41:07 -06:00
Jon Rafkind
a39cd8773a
refactor
2011-07-26 17:41:07 -06:00
Jon Rafkind
df9b8db14a
parse sub-trees
2011-07-26 17:41:06 -06:00
Jon Rafkind
1f9b9b4c51
parse tokens into a tree
2011-07-26 17:41:06 -06:00
James Swaine
783ee2cf88
Add convenience macros for raising exceptions in C functions which may run on future threads
2011-07-26 16:20:35 -05:00
Jon Rafkind
1978002312
handle end of line comments
2011-07-26 12:31:45 -04:00
Jon Rafkind
f941e56f71
lex identifiers and delimiters
2011-07-26 12:31:45 -04:00
Jon Rafkind
4e8e18463b
add lexer for honu
2011-07-26 12:31:44 -04:00
Jay McCarthy
99fd3546be
Adding serialization of theories
2011-07-26 08:22:19 -04:00
Eli Barzilay
61f628f2c6
fix error reporting in `reencode-output-port'
...
Closes PR 12077
2011-07-25 23:46:16 -04:00
Robby Findler
eba9c56d8c
adjust the control-s keybinding so that it behaves like the menu shortcut
...
keep the old keybinding on esc;% (only under linux)
2011-07-25 13:40:15 -04:00
Matthew Flatt
e01ee43300
fix error reporting in `reencode-input-port'
...
Closes PR 12076
2011-07-25 13:11:05 -04:00
Matthew Flatt
73b16c8578
don't constant-fold an fx operation if the result is non-fx
...
In fact, the result must be an fx on all platforms, since
compilation should be platform-independent.
2011-07-25 11:30:23 -04:00
Matthew Flatt
f13a669d05
add 'no-focus style to `editor-canvas%'
2011-07-25 11:30:23 -04:00
Matthew Flatt
cab8e5e0e2
JIT tweaks for `unsafe-{s,u}16vector-set!'
...
by making better use of the code that's in place for other
similar operations
2011-07-25 11:30:22 -04:00
Matthew Flatt
69f7e912d2
cocoa: fix problems with sheets and focus
...
Avoids a problem with the file dialog when a sheet is the
current "main window" (Cocoa terminology); when the file
dialog is closed, both the sheet owner and the sheet
become the main window (in that order), so that when the
sheet goes away, the sheet owner doesn't become the main
window as it should. It seems like a Cocoa problem. The
workaround is to hook into the callback that says a
sheet went away.
Closes PR 12073
2011-07-25 11:30:22 -04:00
Robby Findler
b0ea1efc9e
whoops^2 (both this and the previous commit: a refactoring put the wrong default argument in a function's parameter list)
2011-07-25 06:28:00 -04:00
Robby Findler
43a85acc8f
oops
2011-07-25 00:08:18 -04:00
Robby Findler
01fe366e8c
fix standard-fish when the mouth is to the right
2011-07-24 23:26:14 -04:00
Robby Findler
7d06ae80f4
do a better job putting the right info into the struct id for provide/contract's struct clauses
...
closes PR 12053
2011-07-24 23:25:39 -04:00
Robby Findler
899b339a16
improved the expansion of struct/c
2011-07-24 23:24:20 -04:00
Stephen Bloch
764f356fdc
Added some tests for map-image/extra and build-image/extra.
2011-07-24 21:50:39 -04:00
Stephen Bloch
9a24e66df0
Fixed an off-by-one bug in "myflip", an example for build-image. Now it passes its tests :-)
2011-07-24 21:50:38 -04:00
Stephen Bloch
ab01d563ca
Changed error messages in test case to match corrected error messages in
...
2htdp.
2011-07-24 21:50:38 -04:00
Jay McCarthy
3fca28c68f
Adding documentation for servlet testing system
2011-07-24 16:59:00 -04:00