Matthew Flatt
fbb6a294f3
local-expand' allows a stop list to have only
module*'
...
That is, when the sto plist contains only `module*', core
forms are not implicitly added to the stop list.
2012-06-08 16:08:55 +08:00
Matthew Flatt
941f215aa0
improve cycle-in-loading error message
2012-06-08 16:08:55 +08:00
Jay McCarthy
6db5672ac5
Fixes PR12767
2012-06-07 13:44:08 -06:00
Robby Findler
41a890df03
fix bug in the ->i parser (picked up the wrong identifier; wrote #'id when
...
id wasn't really around anywhere)
closes PR 12829
2012-06-07 10:45:18 -05:00
Vincent St-Amour
0f346601f4
Fix type of n-ary * to handle NaN properly.
2012-06-06 18:26:51 -04:00
Vincent St-Amour
c0b978f71f
Fix handling of NaN in flmin and flmax.
2012-06-06 18:26:51 -04:00
Vincent St-Amour
48f47f3384
Fix flonum and single-flonum operation types.
...
Most issues were found with random testing.
2012-06-06 18:26:51 -04:00
Vincent St-Amour
0b7eaf56ca
Fix generation of random floats in TR random testing.
2012-06-06 18:26:51 -04:00
Vincent St-Amour
3e9b527bd0
Fix comment.
2012-06-06 18:26:51 -04:00
Neil Toronto
b7fea6be5a
Fixed contracts on exact-round, etc.
2012-06-06 16:16:52 -06:00
Asumu Takikawa
f9ec37bbdd
Minor fix in mrlib/hierlist docs
2012-06-06 17:20:15 -04:00
Neil Toronto
e644e6afb1
Documented new additions to racket/math
2012-06-06 11:31:49 -06:00
Neil Toronto
b7ff3eb1fb
Made sinh return zero inputs unchanged (fixes failing test case)
2012-06-06 10:52:29 -06:00
Matthew Flatt
fdb722dcb1
shortcut for numbers in `write', etc.
2012-06-06 15:17:35 +08:00
Matthew Flatt
d80a49f853
turn on DrDr testing for racket/math
2012-06-06 15:16:52 +08:00
Matthew Flatt
4b07fc42f0
racket/future: fix heuristic for creating future-running threads
...
James noticed that the previous implementation was too slow to make
threads.
2012-06-06 13:25:14 +08:00
Matthew Flatt
255e3cbe2e
another *SL error-rewriting fix
...
Arity errors no include supplied arguments, but strip them
away for *SL messages.
2012-06-06 13:25:14 +08:00
Matthew Flatt
269a3392dc
racket/future: fix debug logging for sync vs. block
...
When a "synchronized" operation is handled for a future thread
during a `touch' on the future, then still report the handling
as "synchronized" insteda of "blocked".
2012-06-06 13:25:14 +08:00
Matthew Flatt
7a9c8e5d40
racket/gui win32: fix East Asian font problem
...
When the theme-specified default font has a localized name,
using it as a Pango faily name doesn't work, with the result that
text on controls could be truncated. Get a Pango-friendly
name by converting a LOGFONT to a Pango font description and
getting the name from the font description.
2012-06-06 13:25:14 +08:00
Neil Toronto
a713ca8a8b
Added nan?, infinite?, degrees->radians, radians->degrees, exact-round, exact-floor, exact-ceiling, exact-truncate to racket/math
...
Altered TR's random arithmetic testing to generate single-flonums and very small flonums; fails now because of erroneous types
Fixes to sgn, sinh, cosh, and tanh:
* preserve single-flonum-ness
* correct zero sign (-0.0) for negative return values that are smaller than epsilon
* correct behavior with NaN and infinite inputs
2012-06-05 22:40:44 -06:00
Neil Toronto
c089b2fa50
Use `collection-file-path' to load example image
2012-06-05 11:15:25 -06:00
Matthew Flatt
e44c0809e8
rewrite contract error messages for *SL
...
The rewrite involves parsing contract expressions and constructing
replacement prose.
2012-06-05 17:53:27 +08:00
Matthew Flatt
53f7a77e8f
racket/place: avoid place-termination cycle
2012-06-05 17:53:27 +08:00
Matthew Flatt
3742a9da8f
adjust font-substitution hack for Mac OS X
2012-06-05 17:53:26 +08:00
Matthew Flatt
42db3a7516
raco setup: print "nothing to do" to stdout instead of sdterr
...
Printing to stderr shows through in various ways, such as
when installing a Planet package (where stdout is redirected
and stderr isn't).
2012-06-05 17:53:26 +08:00
Neil Toronto
18fa552723
Finalized and documented flomap transforms and effects
2012-06-04 15:32:17 -06:00
Sam Tobin-Hochstadt
2b9912ea9f
Repair failing test case (wrong expected value).
2012-06-04 17:02:19 -04:00
Sam Tobin-Hochstadt
42a2ac6026
Document new TR aliased definitions.
2012-06-04 17:02:18 -04:00
Robby Findler
b5258e0e2b
In the multi-file search window, only re-load the file
...
in the bottom window when it really is a different file
(ie, using a same-file predicate that involves opening
the files and comparing the ports)
closes PR 12635 (hopefully -- if not, then we can reopen)
2012-06-03 17:07:12 -05:00
Sam Tobin-Hochstadt
1801efe66a
Whitespace fixes.
2012-06-03 10:50:18 -04:00
Sam Tobin-Hochstadt
cbbd889621
=
can equate values with different types.
...
Closes PR 12804.
2012-06-03 10:50:18 -04:00
Matthew Flatt
cc0b887106
adjust *SL error-message rewriting
2012-06-03 11:09:32 +08:00
Matthew Flatt
d1c2430bf1
remove extra space in some error messages
2012-06-03 11:09:32 +08:00
Sam Tobin-Hochstadt
8459c22c01
Improve type of identity
.
...
Closes PR 12813.
2012-06-02 18:52:18 -04:00
Sam Tobin-Hochstadt
865a2cdcbd
Support definitions of keyword functions in Typed Racket.
...
Caveats:
- keyword function definitions do not define static
bindings, thus limiting optimization opportunities
- can't use `define:`, `lambda:`, etc with keywords
- error messages sometimes expose the implementation
- the optimizer skips most of the generated code for
keyword functions definitions (user-level code is
optimized)
2012-06-02 18:22:07 -04:00
Jon Rafkind
244f1cccb7
[honu] fix the pattern form and use quote-syntax to prevent syntaxes from being interpolated too early
2012-06-02 15:33:55 -06:00
Jon Rafkind
2b5e5c5b57
[honu] combine string-append and the evaluator
2012-06-02 15:33:54 -06:00
Jon Rafkind
7dde37bee1
[honu] cleanup - move code to submodules
2012-06-02 15:33:54 -06:00
Jon Rafkind
52047a0474
[honu] pass the original name being defined to get the proper lexical context
2012-06-02 15:33:54 -06:00
Jon Rafkind
241f8e67b4
[honu] analyze macro parameters at phase 2. temporarily break patterns
2012-06-02 15:33:54 -06:00
Jon Rafkind
d688621a18
[honu] use sandbox evaluator to test honu code
2012-06-02 15:33:54 -06:00
Tim Brown
ff185cf743
Solaris 5.10 has poll(), so set try_poll_syscall="yes" in configure
...
in order to enable it. Otherwise Solaris 5.10 has issues building.
2012-06-03 04:50:06 +08:00
Matthew Flatt
c5f821b641
clarifications and additions to style guide
2012-06-03 04:50:06 +08:00
Matthew Flatt
900b66332c
adjust `racket/generic' documentation style
2012-06-03 04:50:06 +08:00
Robby Findler
232188e736
adjust the check for multiple-file debugging so that it happens
...
earlier and thus actually catches multiple files.
Also, Rackety and change a let/cc into a let/ec.
2012-06-02 13:44:27 -05:00
Robby Findler
752f240c6a
Revert "Test results from DrDr"
...
This reverts commit fc8cb6e37d
.
Jay changed the set of installed font packages on DrDr to match the
ones on my linux VM which brought the test results back in sync again,
so we don't need these revised bitmaps anymore.
Thanks, Jay!
2012-06-02 10:12:11 -05:00
Robby Findler
058504afbd
adjust datalog so that syntax objects are not used as source location
...
information representation.
This should make datalog work better with compiled files and it
should also avoid an O(n^2) problem in the way it expands
2012-06-02 08:04:45 -05:00
Matthew Flatt
d8a26e6c3c
more corrections to the error message conversion
...
Foudn these by writing a simple source checker.
2012-06-01 19:03:43 -07:00
Matthew Flatt
85a2267e6c
ffi/unsafe: new error message convention at primitives
...
Also, fix FFI procedures to preserve names: change `ptr-ref' with
`_fpointer' on an `ffi-obj' value to return the `ffi-obj'
value, so that the name in the `ffi-obj' value can be used
by `_cprocedure'.
Closes PR 12645
2012-06-01 19:03:43 -07:00
Sam Tobin-Hochstadt
c8380b94e5
Remove testing code, and failed experiment.
2012-06-01 20:08:37 -04:00