Commit Graph

28237 Commits

Author SHA1 Message Date
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
Robby Findler
85f9fbbaee interactivity fix for online check syntax
commit e503850f21 broke drracket's
interactivity (for some files it could take 2 seconds to do
that one line)

This changes the bindings-table so that it maps to sets instead of
lists. Now, instead of mutating all entries in the table right after
collecting everything, just leave them as sets until we need the info
and just sort a single entry, when it is needed
2013-02-18 16:33:50 -06:00
Robby Findler
e720d1df92 add parameterize* to tabing and smart opening square bracket pref defaults 2013-02-18 13:38:34 -06:00
Matthew Flatt
08604b0277 scribble: preserve order of ".js", ".css", and ".tex" additions 2013-02-18 11:14:31 -07:00
Matthew Flatt
fdd8dc9376 JIT: fix bug in checking certain values before unboxing
The check was incomplete in the case that both arguments to a binary
[ext]flonum function need to be checked and the second one was not an
[ext]flonum and also not a fixnum.
2013-02-18 11:07:45 -07:00
Matthew Flatt
4271d987cd ffi/unsafe: fix a bug in conversion to UTF-16
Characters outside of the BMP were translated incorrectly.
2013-02-18 10:28:58 -07:00
Matthew Flatt
f8a0d6d432 configure: add more guidance/reporting on non-recommended options 2013-02-18 10:28:58 -07:00
Eric Dobson
13b205aa0a Fixes *-filter types and filter of zero?.
Closes PR13275.
2013-02-18 11:56:59 -05:00
Eric Dobson
36cc3220ea Improve type of make-immutable-hash.
Closes PR13297.
2013-02-18 11:56:58 -05:00
Eric Dobson
7d6888f229 Improve types for exit and in-naturals. 2013-02-18 11:56:57 -05:00
Eric Dobson
7e88895bd0 Add testcases for many already fixed bugs.
Closes PR11901.
Closes PR11972.
Closes PR12022.
Closes PR12224.
Closes PR12506.
Closes PR12533.
Closes PR12596.
Closes PR13198.
Closes PR13418.

Already fixed bugs, with existing testcases.
Closes PR12529.
Closes PR12631.
Closes PR13127.
Closes PR13128.
Closes PR12970.
2013-02-18 11:56:55 -05:00
Robby Findler
8fb49059cb add a 'jump to previous binding occurrence' keybinding 2013-02-18 10:38:43 -06:00
Robby Findler
e503850f21 fix the c:x;n keybinding when used with online check syntax info
(and perhaps other parts of online check syntax)
2013-02-18 10:38:43 -06:00
Robby Findler
f13829dd5d esc;h history note 2013-02-18 10:38:43 -06:00
Robby Findler
1c2432e654 improve the interactions history window a little 2013-02-17 20:17:41 -06:00
Robby Findler
ddacc3efbb don't save repl interaction history when the new item is
a duplicate of the one before

closes PR 12763
2013-02-17 10:02:15 -06:00
Robby Findler
1a8ed3d74b unbreak scheme-lexer 2013-02-16 19:55:18 -06:00
Robby Findler
dbb1d8f360 adjust scribble lexer so its failures print to stderr, not stdout 2013-02-16 19:55:18 -06:00
Robby Findler
5c109946c2 add support to struct/dc to name the selector directly
and use that in struct/c

closes PR 13054
closes PR 13461
related to PR 13050
2013-02-16 17:24:11 -06:00
Ryan Culpepper
44e26d493d try to make tmp file path shorter (for drdr) 2013-02-16 15:18:55 -05:00
Eli Barzilay
93063be2b7 Remove binary file that was added by mistake. 2013-02-16 13:41:38 -05:00
Eli Barzilay
9e9adeae0c Consistent capitalization for "GRacket". 2013-02-16 13:41:38 -05:00
Matthew Flatt
83900f0d20 fix up some cross references 2013-02-16 09:49:24 -07:00
Matthew Flatt
9b04aef0f8 fix a problem with `syntax-local-lift-require' at top level
The problem was exposed by improved error checking
in the expander to detect references to exports of a module that
is not yet visited, and as triggered by the documentation for
`2htdp/planetcute'.
2013-02-16 09:29:16 -07:00
Matthew Flatt
72c39ca7ff test fixups 2013-02-16 08:56:21 -07:00
Robby Findler
fbeecdc1aa add gc log following info to the drr performance monitor 2013-02-16 07:39:33 -06:00
Mike Sperber
5db56e3186 Synch German string constants with latest. 2013-02-16 10:52:42 +01:00
Eli Barzilay
1ddacff399 New Racket version 5.3.3.3. 2013-02-16 03:40:18 -05:00
Robby Findler
d5ffb1e3c0 add in the rest of the double barred chars (╬ and company)
and adjust the existing ones a little
2013-02-16 00:09:26 -06:00
Robby Findler
1ee765c7e3 fix bad test 2013-02-16 00:09:25 -06:00
Eli Barzilay
f27a48e46f Commentage. 2013-02-16 00:49:17 -05:00