Commit Graph

29105 Commits

Author SHA1 Message Date
Eli Barzilay
ec52a0e51d New Racket version 5.3.4.6. 2013-04-27 03:30:11 -04:00
Matthew Flatt
7ad1ddab64 fix bytecode compiler safefor-space, tigher bytecode validation
The safe-for-space pass could add clearing operations on "typed"
stack positions, which are known to contain a fixnum, flonum, or
extflonum. Non-clearing references, however, were not annotated to
indicate that clearing references were present, since clearing is
not expected on typed positions.

Along the lines of not expecting clearing, the bytecode validator's
encoding of the stack doesn't accomodate both "has a type" and "claims
never to be cleared", so it couldn't detect the bytecode compiler
bug. (Also, this problem didn't show up in the HOSC paper's model of
the validator, because the model pre-dates type tracking.)

Fix the bytecode compiler's space-safety pass so that it never inserts
clearing operations for typed stack positions. Then, the validator can
simply reject any attempt to clear a typed position.

Also, annotate applications generated by lifting as safe-for-space
tail calls.

Merge to v5.3.4
2013-04-26 22:47:42 -06:00
Matthew Flatt
06fe68b834 JIT: fixnum comparison on known-fixnum arguments needs no slow path 2013-04-26 22:47:42 -06:00
Robby Findler
ab7e2afae4 more fixes for recent datastructure change
(I should really use TR here...)
2013-04-26 19:44:13 -05:00
Robby Findler
2e195935cf make opt/c contract follow the blame-add-context protocol 2013-04-26 19:44:13 -05:00
Matthew Flatt
917ec51eee racket/draw: fix in-region?' method of region%'
Merge to v5.3.4
2013-04-26 16:28:29 -06:00
Matthew Flatt
1ef1d256f7 raco pkg: don't consult GitHub if checksum is given
Also, more consistently propagate a given checksum, which can
happen more through the `pkg-install' export from `pkg/lib'
than through `raco pkg'.

Also, report to the user when consulting GitHub or downloading
a checksum.
2013-04-26 16:28:28 -06:00
Robby Findler
6e83f84b1d unbreak check syntax 2013-04-26 15:25:37 -05:00
Robby Findler
0f8d66b29f unbreak drracket 2013-04-26 14:12:45 -05:00
Vincent St-Amour
056a6044e5 Explicitly flush output after printing random testing seed. 2013-04-26 14:16:55 -04:00
Matthew Flatt
27053884d8 pkg catalog sever: get dependencies and implemented modules on update 2013-04-26 10:27:51 -06:00
Vincent St-Amour
385d6dbe83 Fix raco setup bash completion. 2013-04-26 12:27:02 -04:00
Vincent St-Amour
457ca0982f Document VectorTop and HashTableTop. 2013-04-26 12:27:02 -04:00
Robby Findler
6169c5350f fix online check syntax for for-label requires 2013-04-26 10:26:12 -05:00
Robby Findler
e6888828b5 adjust online compilation so that the stack trace attached to an exception
is available by clicking the "Copy" menu item in the bottom bar
2013-04-26 10:26:12 -05:00
Robby Findler
ae5bde175d fix is-a?/c opter 2013-04-26 10:26:12 -05:00
Robby Findler
df4bf43ca3 add missing requires
closes PR 13713
2013-04-26 10:26:03 -05:00
Robby Findler
4bef2987a9 add 'else' support to 2dcond
closes PR 13714
2013-04-26 10:26:03 -05:00
Matthew Flatt
9d43fcad3e raco pkg: GitHub API now requires a User-Agent
Merge to v5.3.4
2013-04-26 07:33:21 -06:00
Matthew Flatt
400e461d75 fix a parameter check 2013-04-26 07:12:21 -06:00
Robby Findler
e8f8217070 Revert "IN PROGRESS: add opt/c to with-contract and provide/contract"
and "IN PROGRESS: working on syntax error messages for 2d"

This reverts commit bbb0d27e85.

This reverts commit 1452563250.
2013-04-25 18:14:21 -05:00
Matthew Flatt
0f47ec4af7 racket/sequence: fix `sequence-ref' for a too-large index 2013-04-25 16:46:23 -06:00
Matthew Flatt
d977a2c65d update kernel parameter checks to new error-message format 2013-04-25 16:46:23 -06:00
Robby Findler
bbb0d27e85 IN PROGRESS: add opt/c to with-contract and provide/contract 2013-04-25 17:32:00 -05:00
Robby Findler
1452563250 IN PROGRESS: working on syntax error messages for 2d 2013-04-25 17:32:00 -05:00
Robby Findler
f07e183617 add missing for-label require 2013-04-25 17:32:00 -05:00
Robby Findler
ec2d57bf80 sequence/c changes
- build the sub projections only once and build them before getting
  the blame objects (instead of after getting the actual values)
- added context information to the blame objects
- added an optional #:min-count argument to insist on a minimum length
  for the stream

related to PR 13709
2013-04-25 17:32:00 -05:00
Vincent St-Amour
e6ff57f3bd Allow read-only hash operations to accept HashTop.
Closes PR13710.
2013-04-25 17:29:10 -04:00
Stephen Chang
1a149eefbd typo in docs: reference: internal definitions 2013-04-25 15:34:37 -04:00
Asumu Takikawa
a15fa5badd Start on a notation section for the Reference 2013-04-25 14:54:29 -04:00
Eric Dobson
b5b13222c8 Make type->contract correctly respect variance.
Track whether we are protecting values from the typed side and/or the
untyped side.

Closes PR 13662.
Closes PR 13663.
Closes PR 13665.
2013-04-25 08:29:37 -07:00
Eric Dobson
dbcb1414da Allow requiring functions with filters in contravariant positions. 2013-04-25 08:29:37 -07:00
Eric Dobson
03e1ffda3e Switch out? to from-typed? as it has the same meaning. 2013-04-25 08:29:25 -07:00
Matthew Flatt
44cfd7cab6 pkg/gui: find an available checkmark glyph 2013-04-25 08:49:15 -06:00
Matthew Flatt
fa297566f1 libffi fix
Closes PR 13707
2013-04-25 08:27:03 -06:00
Matthew Flatt
ab9caeb05c pkg/gui: fixes for label widths 2013-04-25 06:14:20 -06:00
Matthew Flatt
306194e9fa racket/gui gtk: preserve button font on label change 2013-04-25 06:05:22 -06:00
Eric Dobson
62f74cda0e Cleanup tc-app-helper.rkt. 2013-04-24 23:31:12 -07:00
Eric Dobson
11bd5314e2 Cleanup requires in tc-apply. 2013-04-24 23:13:04 -07:00
Eric Dobson
b9c4582746 Minor cleanup in subtype.rkt 2013-04-24 23:13:03 -07:00
Eric Dobson
6898a7c880 Fix subtyping of (ListDots t 'a) <: (Listof t).
Closes PR 13636.
2013-04-24 21:08:18 -07:00
Eric Dobson
863ac05332 Fix expected type when typechecking map 2013-04-24 20:13:39 -07:00
Eric Dobson
67dd956b6a Don't let map introduce type variables.
Closes PR 13581.
2013-04-24 20:13:39 -07:00
Eric Dobson
611b22ff04 Fix up lazy-requires and dynamic-requires in TR. 2013-04-24 18:46:44 -07:00
Eric Dobson
a94c449ff1 Small TR fixes. 2013-04-24 18:46:44 -07:00
Eric Dobson
55aba088de Use information of application site, to reduce possible arities.
Closes PR12905.
2013-04-24 18:46:44 -07:00
Matthew Flatt
f450e50354 raco dist: update ELF section when adjusting data size
Merge to v5.3.4
2013-04-24 19:00:24 -06:00
Robby Findler
951538ab90 fix jump-to-defining-file when a stacktrace window is open 2013-04-24 19:56:32 -05:00
Matthias Felleisen
0d3ae8b2e3 update for 5.3.4 2013-04-24 16:24:41 -04:00
Matthew Flatt
749c0842a8 fixes for Windows related to missing-module exceptions 2013-04-24 12:53:38 -06:00