Matthew Flatt
1e09a544a6
adjust _float' and
_double' FFI types to accept any inexact real
...
whether single-precision or double-precision
2011-01-31 18:04:05 -07:00
Matthew Flatt
f9bcdc9baf
move float config to "mzconfig.h"; enable by default for Windows
2011-01-31 17:51:09 -07:00
Robby Findler
ce4bf97bde
monitor the font size preference in order to redo the one-line size computation for the search bar
...
closes PR 11687
2011-01-31 17:46:31 -06:00
Vincent St-Amour
1b3052748e
Add a case-> type-constructor as a synonym for case-lambda.
2011-01-31 16:39:20 -05:00
Vincent St-Amour
d65438c9ea
Remove some legacy bindings.
2011-01-31 16:39:19 -05:00
Vincent St-Amour
22391be437
Cleanup of exposed base types.
2011-01-31 16:39:19 -05:00
Vincent St-Amour
0f0a2625c6
Fix typechecking of single flonum literals, now that they are enabled by default.
2011-01-31 16:39:18 -05:00
Vincent St-Amour
f1c6c74284
Small-Float -> Single-Flonum
2011-01-31 16:39:18 -05:00
Vincent St-Amour
4ac36fd59b
Added the new single-precision float function to TR.
2011-01-31 16:39:18 -05:00
Vincent St-Amour
e65b206e6e
Add functions to convert back and forth between floating-point representations.
2011-01-31 16:39:17 -05:00
Vincent St-Amour
03ec1ec501
Add a single-flonum? predicate to test for single-precision floats.
2011-01-31 16:39:17 -05:00
Vincent St-Amour
ac76d963b0
Enable single-precision floats by default.
2011-01-31 16:39:17 -05:00
Vincent St-Amour
c997ae139b
Single-precision floats now print differently from their double-precision
...
counterparts.
2011-01-31 16:39:16 -05:00
Vincent St-Amour
d220e0a10b
Add read syntax for single-precision float specials.
2011-01-31 16:39:16 -05:00
Vincent St-Amour
b26531774b
Update base-env-indexing to use the new types.
2011-01-31 16:39:15 -05:00
Vincent St-Amour
46f086282d
Bytes are a sequence of the new Byte type.
2011-01-31 16:39:15 -05:00
Vincent St-Amour
5dbc752542
Edit TR's optimizer's docs to reflect that Float-Complex is the only
...
complex type that can be optimized.
2011-01-31 16:39:15 -05:00
Vincent St-Amour
768bb63361
Fix optimizer to work with new types.
2011-01-31 16:39:14 -05:00
Vincent St-Amour
a0a54b231d
Fix TR tests.
2011-01-31 16:39:14 -05:00
Vincent St-Amour
e56663c943
Add a predicate field to base types, which makes checking for
...
subtyping of value types easier.
However, this means that base types can't be marshaled as before,
since these predicates can't be marshaled. Instead, we now marshal
base types as identifiers that refer to their base type object.
2011-01-31 16:39:13 -05:00
Vincent St-Amour
3e27ed607c
Avoid generating large contracts for common numeric types.
2011-01-31 16:39:13 -05:00
Vincent St-Amour
d4c93cc12e
TR's numeric tower is now built from unions of non-overlapping base types.
...
A lot of the work that was done by special-casing number types can now be
done by TR's handling of unions. This makes it easier to add more numeric
types to the tower and should make writing down types for numeric
primitives much less error-prone.
In addition, this commit adds several numeric types that will help get
tighter bounds on integer arithmetic, such as Index types. They will have
to be integrated to the base environment before they can be useful.
2011-01-31 16:39:13 -05:00
Vincent St-Amour
78c4809177
Make bare union constructor smarter.
2011-01-31 16:39:12 -05:00
Vincent St-Amour
4b3e621d0f
Documented opt-lambda: and popt-lambda:.
2011-01-31 16:39:12 -05:00
Matthew Flatt
152c636e1c
cocoa: fix problem with dispatching key-up events
...
Closes PR 11635
Merge to 5.1
2011-01-31 12:40:37 -07:00
Casey Klein
f7fd6ee689
Changes the term generator to produce shorter sequences
...
It now uses the (local) size bound instead of the (global) attempt count.
2011-01-31 12:36:42 -06:00
Matthew Flatt
dd5f0dfc80
fix `read-language' exn construction in an EOF case
...
Closes PR 11683
Merge to 5.1
2011-01-31 06:49:13 -07:00
Robby Findler
3add4bce4d
attempt to clarify the overlay/xy and underlay/xy documentation
...
Merge to 5.1
2011-01-31 06:45:02 -06:00
Robby Findler
fad47541b2
after viewing the mars splash screen, go back to the original splash screen (usually)
2011-01-30 21:50:36 -06:00
Matthew Flatt
bbb12848d1
cocoa: create window to show composition via an input method
...
Merge to 5.1
2011-01-30 17:33:12 -06:00
Matthew Flatt
e2c43bf3ec
avoid `on-size' problems
...
Merge to 5.1
2011-01-30 17:33:11 -06:00
Eli Barzilay
6b5e09073a
Reorganize, improve, and extend lazy tests.
2011-01-30 13:52:04 -05:00
Stephen Chang
08d99f4858
add test for lazy take bug fix -- invariant being incorrectly tested on unforced arg
2011-01-30 12:12:55 -05:00
Stephen Chang
808361b789
fix lazy take bug -- invariant being tested on unforced argument
2011-01-30 12:10:57 -05:00
Matthew Flatt
bc5ab1e031
fix problems with `read-language' error reporting
2011-01-30 07:47:46 -06:00
Eli Barzilay
c945f5d27d
New Racket version 5.1.0.1.
2011-01-30 03:50:12 -05:00
Robby Findler
a7fb695c88
fix a docs typo
...
closes PR 11677
2011-01-29 18:58:21 -06:00
Casey Klein
3250ff846c
Adds a Redex version of Jay's continuation mark transformation
2011-01-29 15:26:30 -06:00
Matthew Flatt
0e169cfbb7
fix version number
2011-01-29 13:39:34 -06:00
Matthew Flatt
e43fa461a4
doc typo
2011-01-29 13:32:24 -06:00
Robby Findler
4090eabacb
added a color:text method get-token-range and then used that to improve how f1 in drracket works
...
Please include this commit on the release branch
2011-01-29 12:28:26 -06:00
Eli Barzilay
f190e3efec
Post-release version for the v5.1 release
2011-01-29 13:04:18 -05:00
Robby Findler
e05e6efc7a
added a missing syntax error check
2011-01-29 11:20:12 -06:00
Matthew Flatt
46dc2d6683
Scribble: improve interaction',
examples', etc. for non-text
...
by setting the default output port in the sandbox to support
content as "specials" when `current-print' is changed
2011-01-29 09:55:40 -06:00
Matthew Flatt
b485d375b0
cocoa: event-dispatch repairs, especially when no frame is shown
...
Relevant to PR 11672
2011-01-28 12:43:51 -06:00
Matthew Flatt
dc2bdfcea3
`frame%' style doc corrections
...
to sync with gr2 changes
2011-01-28 11:14:01 -07:00
Matthew Flatt
96fd11eede
DrRacket line numbers: fix condition for whether to draw a number
2011-01-28 06:22:28 -07:00
Matthew Flatt
5467f89a23
remove non-working get-font' method of
control<%>'
...
Closes PR 9938
2011-01-28 05:55:41 -07:00
Matthew Flatt
2ab0d36738
cocoa: fix first-responder tracking when a frame is hidden
2011-01-27 19:20:13 -07:00
Matthew Flatt
2c0a034792
doc typo fixes from Eric Hanchrow
2011-01-27 19:20:13 -07:00