Robby Findler
65fd0234ad
add a unicode test to scheme-lexer.rkt
...
and change the tests so they all run with port line
counting enabled (or else the unicode test fails)
adjust module-lexer.rkt tests so they can run in either
port-counting mode or not (but currently run them all in
port-counting mode because scheme-lexer doesn't work without it)
also make a first stab at what needs to change in the module
lexer to make it work in non port line-counting mode
2011-11-03 22:41:27 -05:00
Matthew Flatt
4314b2ac28
make OpenGL gears example report a good error on failure
2011-11-03 17:42:36 -06:00
Matthew Flatt
0f6c267798
add #:fail argument to with-gl-context' in
canvas%'
2011-11-03 17:42:36 -06:00
Matthew Flatt
9bd0486ca0
fix non-tail loop in GL lock manager thread
...
The non-tail loop would cause the gears example to grandually
slow down, for example.
2011-11-03 17:42:36 -06:00
Robby Findler
b7541c5d1b
Revert "IN PROGRESS: starting to fix the repl-test for the new error icons"
...
This reverts commit 8ec968fe8f
.
2011-11-03 17:14:06 -05:00
Robby Findler
d00aed6f1b
fix the module reader for the case when there are non-ASCII unicode characters
...
in comments before the #lang line
also add an #:init-position argument to peeking-input-port
2011-11-03 17:13:17 -05:00
Robby Findler
8ec968fe8f
IN PROGRESS: starting to fix the repl-test for the new error icons
2011-11-03 17:13:17 -05:00
Eli Barzilay
cfc465932e
Add a history note on the lazy change, make the TR history specify 5.2.
2011-11-03 17:09:58 -04:00
Matthew Flatt
9896cb6851
streamline get-byte' (especially as used by
read-[bytes-]line')
...
Applies in the case of simple ports without line counting, etc.
Also, `read-line' keeps track of whether all bytes are ASCII
(which is easy) to shortcut general UTF-8 decoding.
2011-11-03 09:12:13 -06:00
Matthew Flatt
4bbb2d41aa
cocoa: fix some GL problems
2011-11-03 09:12:13 -06:00
Matthew Flatt
a495c9f349
fix channel/semaphore sync bug
2011-11-03 09:12:13 -06:00
Eli Barzilay
40f3388051
Shuffle the sandbox parameters so they make a bit more sense.
...
(Specifically, more restrictions come earlier.)
2011-11-02 17:46:40 -04:00
Eli Barzilay
90f7a98dd6
Fix the default `sandbox-make-code-inspector'.
...
It now creates an inspector based on the original code inspector instead
of the (implicit) wrong default used by `make-inspector'. Change
`sandbox-make-inspector' too, to make it explicit.
2011-11-02 17:40:24 -04:00
Eli Barzilay
b9bd1db58a
Move the namespace creation so that it happens under the code-inspector.
...
This fixes a security issue where a toplevel evaluator could still use
things like `ffi/unsafe'.
2011-11-02 17:40:24 -04:00
Eli Barzilay
ad934255c5
Capitalize all subsection headers.
2011-11-02 17:40:24 -04:00
Eli Barzilay
8f1a4de253
Document `numeric'; closes PR 12338.
2011-11-02 17:40:24 -04:00
Eli Barzilay
1eec2b75e3
Improve unix installer tester.
...
* The installer is a command-line argument.
* Make it work in xterm too, by unsetting TERM.
* Works with version-less directories, from release installers.
2011-11-02 17:40:24 -04:00
Matthew Flatt
98cde53fa0
fix rename trans `free-identifier=?' propagation in int-def context
...
Closes PR 12333
2011-11-02 10:02:19 -06:00
Matthew Flatt
c7a0f1bef8
guard a space-safety test with a 3m check
2011-11-02 08:12:58 -06:00
Matthew Flatt
b42daeacf0
remove unused field
2011-11-02 08:12:58 -06:00
Matthew Flatt
3885f4683b
add missing `render%' init argument doc
2011-11-02 08:12:58 -06:00
Matthew Flatt
8d91efcee4
fix `get-bytevector-all' bug
...
Closes PR 12327
2011-11-02 08:12:58 -06:00
Matthew Flatt
e361acae0b
handin server: add support for HTTPS uploads (when enabled)
2011-11-02 08:12:58 -06:00
Jay McCarthy
8b38c8e933
Changed the exn thrown
2011-11-01 13:01:09 -06:00
Jay McCarthy
6466c480b0
DrDr, test this push
2011-11-01 11:16:47 -06:00
Jay McCarthy
c2065b2128
Improving error messages for non-serializable continuation pieces
2011-11-01 11:16:47 -06:00
Robby Findler
cc86b6f06e
disable incremental-keybindings.rkt
2011-11-01 11:33:07 -05:00
Robby Findler
5128f08810
minor docs fix
2011-11-01 09:51:28 -05:00
Ryan Culpepper
98d8acfd4e
avoid including lazy-required names in (all-defined-out)
...
closes PR 12335
2011-10-31 18:19:07 -06:00
Robby Findler
8edfd4e87e
add docs for the #:stronger argument to the contract constructors
...
closes PR 12312
2011-10-31 16:59:19 -05:00
Robby Findler
0ce6c75591
Rackety (mostly letrec-values => define and minimizing dependencies)
2011-10-31 09:14:34 -05:00
Robby Findler
64dfdb3c7f
Change the expansion of reduction-relation so that it generates less code
...
(by expanding into a call to a 30 or so line procedure, instead of putting
that code directly into the result of the macro).
This produces about a 6x speedup on this reduction-relation
(reduction-relation L (--> 0 1) (--> 1 2) ... (--> 99 100))
where L is
(define-language L)
The time it takes to run "racket r6rs.rkt" in the shell from the
directory collects/redex/examples/r6rs speeds up by about 10% (15%
with errortrace enabled), in the case where all .zo files are built,
except the ones in the r6rs directory. (Also worth noting that "racket
-l redex" takes more than 50% of that time.) And the change has no
noticeable effect on the time it takes to run r6rs-test.rkt.
2011-10-31 08:53:09 -05:00
Robby Findler
41f68af64a
delay the construction of the compatible-closure grammar (the 'cross' thing)
...
until it is actually used. (This can make a big difference for large grammars
in models that don't actually use the compatible closure stuff.)
2011-10-30 22:36:53 -05:00
Ryan Culpepper
1dade8ee1d
db: added support for postgresql arrays
2011-10-30 18:51:16 -06:00
Ryan Culpepper
e2e63684de
data/order: added support for transparent structs, added tests
2011-10-30 18:51:16 -06:00
Robby Findler
e362888d6d
add a menu item to put the interactions window beside/below the definitions window
2011-10-29 20:56:42 -05:00
Matthew Flatt
d9b9cbe16a
fix space-safety bug in composable continuations
2011-10-29 09:37:12 -06:00
Mike Sperber
007927892b
Sync German string constants with latest.
2011-10-29 12:06:54 +02:00
Matthew Flatt
506aa79d14
fix editor refresh problem when line numbers are shown
...
More generally, fix horizontal refresh when an editor has left
padding. Otherwise, deleting a character in DrRacket with line
numbers shown seems sluggish, because the update waits for a
refresh event.
2011-10-28 20:01:19 -06:00
Sam Tobin-Hochstadt
3caf08da43
Fix curried function type parsing without ().
2011-10-28 15:43:29 -04:00
Eli Barzilay
d77a89ac42
Avoid spaces and caps in file names.
...
(Also fixes a bug, AFAICT, since "SpeechBubble" wasn't uniformly.)
2011-10-28 15:15:17 -04:00
Robby Findler
e9d32dfdff
adjust the planet cute images so they cooperate with executable creation better
2011-10-28 13:51:31 -05:00
Robby Findler
f48e12240a
clean up the docs for the Planet Cute images
2011-10-28 13:51:31 -05:00
Matthew Flatt
2b7fedb79b
better comment to explain a subtle corner of the expander
...
Also added a minor shortcut for cases where the corner isn't
relevant.
2011-10-28 06:43:20 -06:00
Matthew Flatt
457f4a4f52
another attempt to fix the build script
2011-10-28 06:43:20 -06:00
Matthew Flatt
932ef94cb3
fix contract
2011-10-28 06:43:20 -06:00
Robby Findler
feb3bfc165
adjust the text to match the creative commons license
2011-10-27 19:18:25 -05:00
Robby Findler
dc24fbf62d
added the Planet Cute images to the (new) 2htdp/planetcute library
2011-10-27 18:50:59 -05:00
Robby Findler
91866f58c7
shrink the max size of the filename popup menu in drracket
...
closes PR 12317
2011-10-26 21:10:45 -05:00
Robby Findler
0dff5ca92b
special case the four cardinal directions during rotation so they rotate
...
exactly (this also makes flip-horizontal and flip-vertical work equally
well)
closes PR 12323
2011-10-26 16:36:07 -05:00