Matthew Flatt
ddd246232e
fix JIT-generated code in case of arity mismatch
...
The generated code was checking arity after potentially copying
arguments to the start of the runstack (i.e., if the arguments
were not already there). If too few arguments are provided, then
the copy might access past the end of the given array.
The redundant arity check removed in commit f7c506471b
had previously masked this problem. (Or the check wasn't redundant
in that sense, but it's better this way.)
Merge to 5.2.1
2012-01-17 07:33:58 -07:00
Matthew Flatt
6f528c7a17
fix and generalize errortrace detection of always-ok functions
2012-01-15 17:05:11 -07:00
Vincent St-Amour
ca11c2e4fa
Add an alternate name for case->.
2012-01-13 11:28:36 -05:00
Vincent St-Amour
87a53159dd
Union types instead of clobbering them in the type table.
...
This fixes a bug where only the last branch of a case-> type would get stored.
2012-01-13 11:28:36 -05:00
Matthew Flatt
60c418b20e
fix `find-files' to convert an initial string into a path
...
Merge to 5.2.1
2012-01-13 07:15:15 -07:00
Matthew Flatt
8c092f093b
clean up and generalize optimizer support for omittable primitives
...
For example, the optimizer knew to drop `(cons x y)' if the result
is unused, but not `(pair? x)'.
2012-01-11 06:58:39 -07:00
Matthew Flatt
7850a26dfe
fix bytecode optimizer bugs
...
Certain unsafe operations were allowed to propagate across a
`lambda' boundary (where space safety is known not to be an issue),
which could lead to duplicate uses of a "once used" variable if
the relevant `lambda' is inlined.
Furthermore, `lambda' boundary crossing wasn't detected in the case
that the operation to propagate was propagated through an intermediate
variable without a `lambda' crossing.
Merge to 5.2.1
2012-01-11 05:30:11 -07:00
Matthew Flatt
ff41a896bc
add ffi/com',
ffi/unsafe/com'
2012-01-10 18:35:32 -07:00
Matthew Flatt
8b54dc43c8
fix problem printing symbols with unicode chars
...
Specifically, special-casing letters (such as sigma) were not
handled correctly.
Merge to 5.2.1
2012-01-09 16:55:39 -07:00
Matthew Flatt
7b4fd9b275
make draw-mem test more reliable
2012-01-09 16:08:28 -07:00
Matthew Flatt
23010fc495
add #:fail' option to
collection-file-path' and `collection-path'
...
Merge a variant to 5.2.1
2012-01-09 15:59:05 -07:00
Matthew Flatt
3d76aa5c32
fix I/O race in test
2012-01-09 13:29:56 -07:00
Jon Rafkind
c9788909ea
[honu] fix for literal sets generated in a macro. replace . with -> for classes in the linq example
2012-01-09 10:38:11 -07:00
Jon Rafkind
dc16449dd5
[honu] change to honu extension
2012-01-09 10:38:11 -07:00
Ryan Culpepper
dba35c3116
db: added nested transactions
2012-01-08 23:25:53 -07:00
Ryan Culpepper
62e117bfe6
added tests for srfi/13 from SXML codebase
2012-01-08 23:25:53 -07:00
Matthew Flatt
7153fbd4d5
net/mime: allow any subtype, exns as exn:fail subtypes; doc fixes
2012-01-08 12:14:51 -07:00
Robby Findler
95ac3c86f7
fixed bug in the way aug:keymap extracts the names
...
now it should return only the canonical names of the keybindings
(instead of potentially returning both the canonical and
non-canonicalized names)
2012-01-08 07:07:56 -06:00
Matthew Flatt
fd019a3478
add on-subwindow-focus' to
window<%>'
...
relevant to PR 12474
2012-01-07 21:17:12 -07:00
Jay McCarthy
061007f30f
Fixing last dumb mistake?
2012-01-05 14:57:08 -07:00
Jay McCarthy
c2355caef6
Finalizing initial pass on GC2
...
It was not a problem with the particular collector. All allocation
sites need to update the gc-roots-key with their static information.
2012-01-04 19:55:24 -07:00
Jay McCarthy
55e1df1445
See last commit
2012-01-04 19:55:24 -07:00
Jay McCarthy
f80292b4cf
Converting mutators
2012-01-04 19:55:24 -07:00
Jay McCarthy
e4755a5ffc
New GC code
2012-01-04 19:55:24 -07:00
Jay McCarthy
ef1278d6e1
Adding radio and checkbox groups to formlets
2012-01-03 15:05:37 -07:00
Matthew Flatt
2b2c44774f
fix scheme_basic_env() reset behavior
...
Also, fix test to that it DrDr will run it.
2012-01-02 15:03:49 +01:00
Matthew Flatt
3a1df23be6
fix `text-outline' test to include a curve
2011-12-26 06:27:22 -06:00
Matthew Flatt
1c63784517
for record-dc%', record initial configuration after each
erase'
...
Closes PR 12460
2011-12-25 19:26:39 -06:00
Matthew Flatt
6c5c170565
racket/draw: add text-outline' to
dc-path%'
2011-12-25 18:20:39 -06:00
Matthew Flatt
5bfaea25fe
fix draw-polygon' on pairs instead of
point%'s
...
Closes PR 12455
2011-12-23 07:25:59 -06:00
Ryan Culpepper
e086d237cd
moved unstable/mutated-vars back to typed-racket
2011-12-18 13:57:49 -07:00
Ryan Culpepper
6ac708a3da
pruned unstable/syntax
2011-12-18 13:57:49 -07:00
Ryan Culpepper
a4c6c7cfce
pruned unstable/port
2011-12-18 13:57:48 -07:00
Ryan Culpepper
bc7401d4d9
pruned unstable/function
2011-12-18 13:57:48 -07:00
Ryan Culpepper
e4e89b0bc9
removed unstable/exn (moved code to single use in web-server)
2011-12-18 13:57:44 -07:00
Ryan Culpepper
53fc18008c
removed unstable/dict (no uses)
2011-12-18 13:57:14 -07:00
Ryan Culpepper
4f9da1fd1c
pruned unstable/define
2011-12-18 13:56:00 -07:00
Ryan Culpepper
f99d79ef10
pruned unstable/contract
...
Removed unused code. Removed nat/c, pos/c as they correspond to
standard predicates.
2011-12-18 13:56:00 -07:00
Matthew Flatt
4fed17704a
avoid `racket/gui' tests that can't work on X
2011-12-18 07:27:32 -07:00
Vincent St-Amour
664245ae69
Add in-slice sequences.
...
Patch from David Vanderson.
2011-12-16 13:50:25 -05:00
Matthew Flatt
c9d214138e
make `choice-evt' take O(N) time for N arguments
...
Delay flattening nested `choice-evt's to `sync'.
2011-12-15 16:04:08 -07:00
Sam Tobin-Hochstadt
ff74b262cf
Global seed to debug fuzzer timeouts.
2011-12-15 13:53:04 -05:00
Sam Tobin-Hochstadt
7802eda605
Better types for fourth' --
tenth'.
2011-12-14 19:06:05 -05:00
Matthew Flatt
ee775c3cc3
intern strings, etc. only when making syntax objects, not in `read'
...
Rename `read-intern-literal' to `datum-intern-literal'.
Interning is needed only in `read-syntax' or `datum->syntax' to
set up the invariants that the bytecode compiler needs for cross-module
optimization. When `read'ing numbers from a data file, meanwhile,
interning slows things down a lot and doesn't seem worthwhile.
2011-12-14 16:03:44 -07:00
Matthew Flatt
b87a7c0ec9
fix `raco make --no-deps'
2011-12-13 06:13:17 -07:00
Matthew Flatt
b99eb54f16
fix race in subprocess test
2011-12-13 06:13:16 -07:00
Matthew Flatt
25dd8727cb
add datum-case', etc. as
syntax/datum'
...
This library is used by Redex, which wants a `syntax'-like template
language, but for datum values instead of syntax objects. Using
`datum-case' and `datum' generates much less code. Redex uses
only a small part of the general functionality, so adding
`syntax/datum' could be overkill. It's implemented by generalizing
the `syntax-case' and `syntax' pattern matching and template
constructing code, though; it's not a lot of extra code, and it's
easiest to generalize completely. We may find other uses for
datum templates, too.
2011-12-12 08:13:20 -07:00
Sam Tobin-Hochstadt
eb38783750
Fix type of `remove-duplicates'.
...
Also fix type inference for functions with mandatory keyword arguments in other cases.
Related to PR 12434.
2011-12-10 17:28:34 -05:00
Matthew Flatt
bf90cf9028
fix problems printing symbols with unicode chars
2011-12-10 11:43:59 -07:00
Sam Tobin-Hochstadt
f23baef8aa
Opaque types may overlap with anything.
...
Closes PR 12434.
2011-12-09 18:11:51 -05:00