Commit Graph

28867 Commits

Author SHA1 Message Date
Matthew Flatt
42b8163f8f fix docs on `case'
The Guide was was out-of-date in several ways, and the Reference
didn't describe the dispatch-time guarantee.
2013-02-21 08:34:54 -07:00
Matthew Flatt
71cffcffdf fix Guide spec for when' and unless'
Closes PR 13538
2013-02-21 08:34:54 -07:00
Matthew Flatt
772afd94fd fix docs for `begin0'
It's body currently isn't an internal-definition position.
2013-02-21 08:34:54 -07:00
Robby Findler
c37cd388a2 adjust docs example to use collection-file-path and
to say a little more about checksums
2013-02-21 07:49:24 -06:00
Eli Barzilay
de2aa509ac New Racket version 5.3.3.5. 2013-02-21 03:30:15 -05:00
Eric Dobson
18d90115e7 Make naturals be a sequence type. 2013-02-20 21:25:02 -08:00
Eric Dobson
4f9f00680e Make (Set a) a subtype of (Sequenceof a).
Closes PR13485.
Closes PR12615.
2013-02-20 21:25:02 -08:00
Eric Dobson
a7bc758505 Fix subtyping of invariant data structures.
Closes PR13521.
2013-02-20 21:25:02 -08:00
Eric Dobson
ddb8e7f807 Add subtyping for Parameters.
Closes PR11992.
This required moving more stuff in to base-abbrev so that it could be
used in subtype.
2013-02-20 21:25:02 -08:00
Eric Dobson
0b87c999b3 Make struct types overlap with procedures.
Closes PR11971.
2013-02-20 21:25:02 -08:00
Robby Findler
5eddac7482 fix the use of impersonator-ephemerons in the framework preferences library 2013-02-20 21:13:02 -06:00
Robby Findler
a25a073bc3 new simplified string constants; from Chongkai Zhu 2013-02-20 21:13:01 -06:00
Robby Findler
661c29b8d4 tweak 2013-02-20 21:13:01 -06:00
Danny Yoo
fa4fb3ebaf Add reference to the DrRacket interface essentials from the Quick Start guide.
This adds a tag to DrRacket File menu docs.  It adds two margin notes
to the quick start, one linking to the essentials for using DrRacket,
and the other for saving Definitions.

Addresses PR 9501.
2013-02-20 17:15:32 -07:00
Danny Yoo
0b0ce6574a Note that integer-sqrt produces exact output when given exact input.
Closes PR 9542.
2013-02-20 16:39:36 -07:00
Stephen Chang
9e26cd0b7a one more integer-set test 2013-02-20 18:34:58 -05:00
Stephen Chang
aeff5922b7 add test for integer-set:
- check that taking the rest of an integer-set results in a proper integer-set
2013-02-20 18:32:01 -05:00
Stephen Chang
bd1141c670 fix bug in getting "rest" of an integer-set 2013-02-20 17:54:17 -05:00
Matthew Flatt
5fcc96e41a add space before "View Prior Versions" 2013-02-20 06:51:34 -07:00
Matthew Flatt
33c6635550 version 5.3.3.5
Bumped to force a rebuild of ".zo"s that were generated with the flonum
bug.
2013-02-20 06:46:32 -07:00
Matthew Flatt
c56b73a00a JIT: fix slow-path boxing for non-self-tail calls with unboxed arguments
The bug was introduced when changing the order of unboxed argument
staging along with extflonum unboxing support. The main symptom of
the bug was that icons were sometimes blacked out in DrRacket.
2013-02-20 06:42:01 -07:00
Robby Findler
2f50cde745 signal error when attempting to generate from a
metafunction with no cases

closes PR 13536
2013-02-19 22:08:31 -06:00
Robby Findler
c6f106d285 remove spurious printf 2013-02-19 19:18:17 -06:00
Matthew Flatt
535072086b fix non-extflonum build 2013-02-19 18:15:48 -07:00
Matthew Flatt
97c34905c1 racket/extflonum: fix JIT-inlined `extflvector-ref' in 32-bit mode 2013-02-19 16:47:39 -07:00
Matthew Flatt
0afcda2a5a fix error checking for flreal-part' and flimag-part' 2013-02-19 16:47:39 -07:00
Asumu Takikawa
5e37134d94 Index some info.rkt fields for raco setup 2013-02-19 16:36:16 -05:00
Asumu Takikawa
db4a1632e5 Minor doc fixes 2013-02-19 16:36:16 -05:00
Asumu Takikawa
ea0c14dac2 Rackety 2013-02-19 16:36:16 -05:00
Matthew Flatt
ce960756cb scribble: fix 'aux stripping for hyperlinks and HTML titles 2013-02-19 14:03:01 -07:00
Matthew Flatt
8ef5e88f41 another JIT repair 2013-02-19 14:03:00 -07:00
Matthew Flatt
c9c4d33a2f scribble/sigplan: add `subtitle'
Based on David Van Horn's suggestion.

Also, make both `author' and `authorinfo' work (even when mixed).
2013-02-19 14:03:00 -07:00
Danny Yoo
87a5280b13 Adding link to prior versions of the docs. 2013-02-19 13:33:49 -07:00
Robby Findler
d3e1c16159 adjust the c:x;n and c:x;p keybindings to use the
same information as the yellow green bubbles

Before, when you typed c:x;n, drracket would look at the identifier
you're on, find its binder, find all bound occurrences of that binder,
sort them by position in the buffer, and then jump to the one that
follows where you are.

This works great for things like the "x" in "(let ([x 1]) x x)"
but not so great for things like the "define" in:

  #lang racket
  (define x '(+ 1 2))
  (define y '(+ 3 4))

since that would jump to the quote, since there are bindign arrows
going from the "racket" to the define and to the quote.

Now, since it is using information ultimately derived directly
from (and only from) free-identifier=? (the arrows also come from
identifier-binding, which is how we get those arrows in the second
example above) you jump from the first define to the second define,
which seems better.
2013-02-19 13:52:42 -06:00
Robby Findler
164a5831b8 use impersonator-ephemeron to allow a
real contract on preferences:add-callback
2013-02-19 13:52:42 -06:00
Danny Yoo
796550bd9f Add example of mixin form to guide documentation.
Closes PR 13445.
2013-02-19 12:44:21 -07:00
Matthew Flatt
e0650c43df JIT: fix for 32-bit mode
Fix a bug in ca951294d4.
2013-02-19 10:41:08 -07:00
Matthew Flatt
e99fcf65c1 add ackn 2013-02-19 08:56:03 -07:00
Matthew Flatt
8f9606007f racket/draw win32: work around a Pango bug
Pango crashes (with an assertion failure) on characters U+1D173
through U+1D17A. Trying to fix (or even just compile) Pango for
Windows is hard, so skip the characters at the `draw-text' and
`text-extent' level.

The bug is unlikely to be specific to just those characters in the
long run, but only those characters appear to be problematic on my
Windows 7 installation. So, the workaround may be enough for many
installations, and hopefully the Pango bug wil be fixed one day.

Relevant to PR 13513
2013-02-19 08:48:04 -07:00
Matthew Flatt
ca951294d4 JIT: inline char->integer' and integer->char' 2013-02-19 08:43:50 -07:00
Eli Barzilay
bbd06930ae New Racket version 5.3.3.4. 2013-02-19 03:30:16 -05:00
Eli Barzilay
46894e0cc6 Improve comment. 2013-02-19 00:22:47 -05:00
Matthew Flatt
2d5884b26a scribble: fix "on this page" rendering
A recent change improved "on this page" handling and also
fixed a short-circuit test to almost certainly do what
was originally intended, but the test was wrong, so just
get rid of it.
2013-02-18 17:34:16 -07:00
Matthew Flatt
d043a08b82 fix `plt-games' launcher 2013-02-18 17:23:01 -07:00
Danny Yoo
7323dde0ea Revert most of the change to word break, but introduce a nbsp for browser metrics.
Related to PR 13305: I tried to use zero-width-space to force appropriate
line breaks, but unfortunately under Opera on Linux, this shows as
unsupported character glyphs.

Since I can't reliably use zero-width-space, I'm backtracking to the
prior solution on introducing spans with the mywbr class.  However,
I've added in a &nbsp element to the content of the span, as suggested
elsewhere on the web.  This appears to fix the _gcpointer issue that
Eric sees.
2013-02-18 17:19:17 -07:00
Matthew Flatt
7235c64355 fix cross-reference 2013-02-18 17:11:38 -07:00
Matthew Flatt
0e251be6cb Revert "avoid a wrapper on callbacks that get stored in a weak table"
This reverts commit d1357f2294.

Commit 38d6afe07c fixes the problem more generally.
2013-02-18 17:01:11 -07:00
Matthew Flatt
dbdfd4236f racket/snip: fix style-list%' notify-on-change' and contracts
The method uses the new `impersonator-ephemeron' function to
retain a callback as long any value that it impersonates
is reachable.
2013-02-18 17:01:11 -07:00
Matthew Flatt
79c4af4e45 racket/base: add `impersonator-ephemeron' 2013-02-18 17:01:11 -07:00
Matthew Flatt
d46411d317 ffi/unsafe: add _size', _ssize', _ptrdiff', _intmax', `_uintmax'
These additions could create backward-compatibility problems, but our
searches suggest that problems will be rare; it's more common for
`_size_t' to be incorrectly aliased to `_int', so having definitions
for these standard types is likely to avoid future problems.
2013-02-18 17:01:11 -07:00