Commit Graph

25360 Commits

Author SHA1 Message Date
Matthew Flatt
e1b180ee17 honu: add `error' to compile time 2012-04-26 17:59:19 -06:00
Matthew Flatt
563909c328 scribble/bnf: add `BNF-seq-lines' 2012-04-26 17:59:19 -06:00
Asumu Takikawa
0ea558a463 class/c: fix interaction w/ absent and #:opaque 2012-04-26 14:45:50 -04:00
Asumu Takikawa
841b190ef7 Fix local member info leak due to opaque class/c
Prior to this change, the use of opaque class contracts
could reveal the printed names of local members names
in a class.
2012-04-26 14:45:50 -04:00
Matthew Flatt
5e4b9e3aca racket/draw: pens and brushes from lists should be immutable
Closes PR 12732
2012-04-26 08:45:17 -06:00
Matthew Flatt
a8ca75b773 fix documentation example for `protect-out'
The example relied on the current code inspector affecting
syntax object created during `eval', but since the switch
from certificates to taints, the relevant code inspector is
determined by the namespace, and a namespace gets its code
inspector at creation time.

Closes PR 12717
2012-04-25 19:54:00 -06:00
Matthew Flatt
fc7f6bbe0f racket/gui: add a 'no-icon style for `message-box' 2012-04-25 19:32:58 -06:00
Matthew Flatt
d6a57e073c racket/draw win32: change default font for 'script 2012-04-25 19:17:16 -06:00
Matthew Flatt
9c025210aa racket/gui win32: font fallback for labels
When the requested font isn't available, fall back to
the default font at the requested size and style
2012-04-25 19:17:16 -06:00
Matthew Flatt
418a3cd83b racket/draw cocoa: adjust default 'script font
Also, adjust the way a font is converted for control labels to
strp away Pango descriptions.
2012-04-25 19:17:16 -06:00
Stephen Bloch
2d2f013465 Updated some comments; no effect on running code. 2012-04-25 17:05:56 -04:00
Stephen Bloch
924d510746 Changed the transparency of some bundled images. 2012-04-25 17:04:39 -04:00
Jay McCarthy
5c64e251e1 Fix PR 12694 2012-04-25 06:57:24 -06:00
Eli Barzilay
ef00f4dd39 New Racket version 5.3.0.3. 2012-04-25 03:30:09 -04:00
Matthew Flatt
ffea2b2c02 ffi/unsafe/com: infer 'any type for `com-omit' 2012-04-25 00:11:57 -06:00
Matthew Flatt
9ba663aa77 preserve submoduleness in module path index for expanded submodules
The preserved path is exposed by a new `module-path-index-submodule'
function, and `module-path-index-join' now accepts an optional
submodule path.

Also, fixed a problem with `collapse-module-path-index' when
a module path indx is built on a resolved module path that
is a submodule path.

In addition to the main repair, `collapse-module-path[-index]' is
correctly documented to allow '(quote <sym>) rel-to paths.

Finally, `collapse-module-path-index' changed to use a symbolic
resolved module path that appears as the base of a module path
index, rather than falling back to the given rel-to path. It's
possble that the old beavior was intentional, but it wasn't tested,
and it seems more likely to have been a bug.

Closes PR 12724
2012-04-24 21:10:28 -06:00
Matthew Flatt
3c615e434b fix resolution of relative module path in a submodule
Closes PR 12729
2012-04-24 16:15:29 -06:00
Robby Findler
57cae5c85b added a skeleton 2htdp/image guide section 2012-04-24 16:11:17 -05:00
Jay McCarthy
ae38ecc564 Adding new options re Galler 2012-04-24 14:49:33 -06:00
Asumu Takikawa
555f85ac3a Add missing method contracts for color% 2012-04-24 10:08:46 -04:00
Asumu Takikawa
1207ca77c4 Hide internal fields in color% and point%. 2012-04-24 10:08:46 -04:00
Stephen Bloch
ba8684cb63 provide provide, so it's possible to use provide and require in
student languages.  This will be a problem if somebody writes a
function in BSL or BSLLA, provides it, requires it in a non-student
language, and uses it as an argument to a higher-order function
that isn't declared as a "higher order primitive".  That is,
not very often.  Even if so, just re-open the BSL or BSLLA source
file, switch languages to ISL, save it, and the problem goes away.
2012-04-24 06:37:51 -04:00
Matthias Felleisen
3e1e9c8763 removed code:comment hack that clearly never should have been there 2012-04-23 20:01:58 -04:00
Jon Rafkind
40a3161570 [honu] always keep parsing a unary operator 2012-04-23 17:18:12 -06:00
Jon Rafkind
4799d08022 [honu] dont splice the output of a macro directly into the output 2012-04-23 17:18:12 -06:00
Robby Findler
80d57148d1 fix bug in docs; closes PR 12716 2012-04-22 21:54:19 -05:00
Robby Findler
723ad6207c add opening a file (and (hopefully) waiting for the coloring to finish)
and run the test three times, instead of just once
2012-04-22 08:57:50 -05:00
Robby Findler
fa7d78949e improve recursive-contract so that it doesn't expand into as much code
and it has a more accurate stronger?  predicate (as the new blame info
tracking stuff broke its earlier stronger? predicate)
2012-04-21 22:03:41 -05:00
Robby Findler
0621c150ec added opters for real?, listof, and non-empty-listof 2012-04-21 16:56:24 -05:00
Robby Findler
17a723a63e Improve the contract error messages:
- add context information, so we can see which part of the contract failed
 - re-arrange some of the information in the contracts
2012-04-21 16:55:03 -05:00
Jon Rafkind
32a2339d04 [honu] dont create unique ids for struct fields 2012-04-20 14:08:36 -06:00
Jon Rafkind
9858ec72d2 [honu] allow syntax() form to accept a single term. provide some hash stuff 2012-04-20 14:08:36 -06:00
Jon Rafkind
b51ab5802a [honu] replace $ with honu-$ just to be safe 2012-04-20 14:08:36 -06:00
Jon Rafkind
79b6e5611e [honu] dont confuse identifiers with $. use = in with-syntax 2012-04-20 14:08:36 -06:00
Jon Rafkind
bb57412242 [honu] check for definitions before continuing to parse. completely parse the left hand side of an operator 2012-04-20 14:08:36 -06:00
Matthew Flatt
6dc3fbb72c fix doc picto 2012-04-20 12:27:29 -06:00
Eli Barzilay
25d7d49648 New Racket version 5.3.0.2. 2012-04-20 03:40:48 -04:00
Eli Barzilay
457908061f Typo in the name for x86_64-osx-mac. 2012-04-19 21:53:42 -04:00
Matthew Flatt
8c976978ed sync xform with `racket' collection changes 2012-04-19 19:25:42 -06:00
John Clements
69a3239c59 updated release notes, please add to 5.3 release 2012-04-19 16:26:43 -07:00
Asumu Takikawa
0b90dc49cf Fix docs for render-term. 2012-04-19 17:37:12 -04:00
Eli Barzilay
2b76d9e5b0 A bunch of scheme' -> racket' conversions.
I think that there are no user-visible changes from these changes.
2012-04-19 16:02:03 -04:00
Eli Barzilay
6f215759ae Add string-trim' and string-normalize-spaces'. 2012-04-19 16:02:03 -04:00
Eli Barzilay
e2e2a1e3e1 Some cleanups to "script.html".
Closes PR 12464.
2012-04-19 16:02:03 -04:00
Matthew Flatt
659ff05143 refine some contracts related to submodule paths
Merge to 5.3
2012-04-19 12:45:28 -06:00
Matthew Flatt
1a981d1cc2 Add missing compatibility items to the Racket change log
Merge to 5.3
2012-04-19 12:45:28 -06:00
Matthew Flatt
8600e7fe31 fix misplaced phase shift in submodule expansion
Merge to 5.3
2012-04-19 12:45:28 -06:00
Sam Tobin-Hochstadt
fdb4ab7025 Handle `check-expect' in non-application form.
Closes PR 12710.
2012-04-19 12:50:25 -04:00
Matthew Flatt
f27c023247 bump version
mainly due to Planet resolver change
2012-04-19 08:15:12 -06:00
Matthew Flatt
862e1628a6 fix Planet resolver for submodule tests
For example, `(module-declared? '(submod (planet dyoo/bf) reader) #t)'
shouldn't fail if there's no "main.rkt" to hold a `reader' submodule;
it should return #f.

Merge to 5.3, but updating cstartup.inc will require a manual merge.
2012-04-19 08:15:11 -06:00