Commit Graph

30760 Commits

Author SHA1 Message Date
Asumu Takikawa
757939c118 Fix doc typo 2013-10-31 23:22:52 -04:00
Asumu Takikawa
612a7fcca9 Use the correct fail handler in type lookup
The other handler is meant for type name environments.
In practice, this should never come up in the current
codebase, but extensions that use `lookup-type` could
rely on it.
2013-10-31 23:21:23 -04:00
Asumu Takikawa
acc4e92a71 Add #:when to more places in match docs
Also adjusted some examples a bit
2013-10-31 14:29:14 -04:00
Asumu Takikawa
23a0823dec Fix doc contracts 2013-10-31 14:29:13 -04:00
Matthew Flatt
fac247d340 Mac OS X: support Retina mode
Seems to work for Mac OS X 10.9 (Mavericks), at least.

In Retina mode, a drawing unit corresponds to two pixels on
the screen or in a bitmap created by `make-screen-bitmap'.
In particular, a bitmap created by `make-screen-bitmap' is
actually twice as big in each dimension as requested, and the
bitmap is scaled when transferring to other drawing contexts.
When transferring onto the screen, scalings cancel so that the
result looks right.

Adds `get-display-backing-scale` to `racket/gui/base`, and
also `get-backing-scale` to `bitmap%`.

To do: add a way to set the backing scale of a bitmap. That
option will provide a way to give controls higher-resolution
bitmaps as labels.
2013-10-31 08:50:22 -06:00
Matthew Flatt
d80e6fac7f update GMP for x86 and clang 2013-10-31 08:43:00 -06:00
Robby Findler
6b2ba3f95f added the #:keep-going keyword argument to redex-check 2013-10-30 21:42:33 -05:00
Sam Tobin-Hochstadt
3ae298b145 handle sets in any-wrap/c 2013-10-30 14:29:46 -04:00
Matthew Flatt
36d033bf22 slideshow: fix error exit with interactive
Compensate for lost `on-subwindow-close` notifications.
2013-10-30 04:55:25 -06:00
Eric Dobson
4f5e10d730 Add new known bug. 2013-10-29 21:50:48 -07:00
Eric Dobson
83b43df455 Correct type for processor-count. 2013-10-29 21:04:27 -07:00
Eric Dobson
f09ebdb743 Make unary float complex operations optimize.
This removes an unnecessary allocation.
2013-10-29 20:29:29 -07:00
Eric Dobson
0618b6e695 Make rackunit print less extraneous newlines. 2013-10-29 20:25:00 -07:00
Eric Dobson
30cecabb88 Make rackunit not print a full stack trace in text-ui. 2013-10-29 20:25:00 -07:00
Robby Findler
bcc949bc03 fix bitmap creation in bitmap/url
closes PR 14133
2013-10-29 15:05:44 -05:00
Robby Findler
684ede3157 try a different comment color 2013-10-28 21:21:50 -05:00
Robby Findler
87e29b424b another attempt at color-blindness friendly colors
These are based on Tol's "Scheme for Marking Text" colors,
but with some variations
2013-10-28 19:55:54 -05:00
Jay McCarthy
5c373c5d07 Fix PR14129 2013-10-28 13:22:26 -06:00
Jay McCarthy
386a862241 Fix info ui 2013-10-28 13:22:26 -06:00
Jay McCarthy
b72e60a27a Fixing upload 2013-10-28 13:22:26 -06:00
Jay McCarthy
cd255f6173 updating 2013-10-28 13:22:26 -06:00
Eric Dobson
e392b0880a Add more bugs to known bugs list. 2013-10-27 09:57:29 -07:00
Eric Dobson
74377e717e Reduce testcases for known bugs and document the root causes. 2013-10-27 09:23:46 -07:00
Robby Findler
9dc22b0b99 add two (hopefully) color-blindness friendly color schemes
based on Paul Tol's palettes, found here:
http://www.sron.nl/~pault/
2013-10-26 13:57:39 -05:00
Asumu Takikawa
cf7b5b79e7 Swap conditional order
This has no effect on the truth table, but affects
side effects. It shouldn't actually matter because
`check-all-registered-types` is not called in the
TR top-level anyway, but this seems safer.
2013-10-26 00:12:36 -04:00
Robby Findler
6f70aaa0fc add menu item to control spell checking text 2013-10-25 22:55:07 -05:00
Robby Findler
d2fade0e03 add new menu item string constant 2013-10-25 22:55:07 -05:00
Robby Findler
ae623ed82d separate out state for spell checking string constants
from that for spell checking scribble {} content
2013-10-25 22:55:07 -05:00
Robby Findler
5a2332609c adjust scribble lexer so that it uses the new 'text' category
instead of just using string

this is especially important for doing a good job with indentation
2013-10-25 22:55:07 -05:00
Robby Findler
a940a47aaf allow 'text' as a possible category for colorizer results 2013-10-25 22:55:06 -05:00
Robby Findler
e5ec86dcaf add a string constant to describe a new text color 2013-10-25 22:55:06 -05:00
Asumu Takikawa
e513cdc1c4 Allow re-definition at TR top-level 2013-10-25 22:59:58 -04:00
Matthew Flatt
d07bd11495 Makefile: make PLT_SETUP_ARGS work more sensibly
Make sure it's at the end of the `raco setup` command line, and set
the executable name to "raco" instead of "raco setup" so that the `-l`
flag is effectively implied.
2013-10-25 15:59:53 -06:00
Matthew Flatt
973e650fc7 racket/gui: default application-file handler requeues on active-frame change
When files passed to the default application-file handler cannot be delivered
because no frame is active or the frame does not accept files, then retry
when the active frame changes in the future (in addition to when the
application-file handler itself is changed).

This adjustment should fix a long-standing problem where files are
not delivered to DrRacket on Mac OS X.
2013-10-25 14:29:10 -06:00
Robby Findler
5ff3caf481 add c:s:pageup/down keybindings to move tabs around in a frame 2013-10-25 13:59:56 -05:00
Robby Findler
067498ddf4 adjust tab menu items in drracket
specifically:
- make <menukey>-9 always go to the last tab
  (following chrome, as suggested by Jens Axel)
- make the <menukey>-1 thru <menukey>-9 menu items
  always be present in the menu, even when there aren't
  tabs, so that the shortcuts always appear taken
  (and so that cmd-4 never inserts a 4 into your buffer)
2013-10-25 13:59:56 -05:00
Robby Findler
1bd1ca5192 add a string constant for a menu item that just says "tab <i>"
(ie without a filename attached to it)
2013-10-25 13:59:55 -05:00
Robby Findler
478df11069 bring down below 102 cols 2013-10-25 13:59:55 -05:00
Robby Findler
aa3bef0468 fix unstable/2d reader for ports with specials
(eg drracket files with comment boxes or images)
2013-10-24 21:36:44 -05:00
Robby Findler
27caccdbb1 Use "Keyboard Shortcuts" as the tag to avoid breaking links
to the documentation

also, fix the deps
2013-10-24 12:00:06 -05:00
Robby Findler
bfb8a5fda0 point from the 2d cond description to the keybindings docs 2013-10-24 11:49:34 -05:00
Robby Findler
b6153ec909 add a tag for secref to target 2013-10-24 11:49:33 -05:00
Robby Findler
119e7ac805 fix a bug in the syntax colorer 2013-10-23 21:46:42 -05:00
Ryan Culpepper
016d6849fc tests, doc edits, and minor changes for unix sockets 2013-10-23 19:32:11 -04:00
Jan Dvořák
408a0a35a4 unix sockets: reworked to support abstract namespace
Rewritten to read sligthly easier while adding support for abstract
namespaces on Linux.

Signed-off-by: Jan Dvořák <mordae@anilinux.org>
2013-10-23 19:32:11 -04:00
Jan Dvořák
9f883436e4 unix sockets: Linux is fine on any architecture
No need to limit ourselves to x86.
Regardless of architecture, sun_path is always 108 bytes long on Linux.

Signed-off-by: Jan Dvořák <mordae@anilinux.org>
2013-10-23 19:32:11 -04:00
Robby Findler
2fc1942e26 don't die when pkg-catalog-suggestions-for-module raises an error
related to PR 14115
2013-10-23 15:18:26 -05:00
Sam Tobin-Hochstadt
0a6537a6cb Major revision of subtyping code for performance.
Improves tests/typed-racket/succeed/new-metrics.rkt by about 33% overall runtime.

Major changes include:
 - Handling memoization entirely inside the `subtype*` function.
 - Remembering only previously seen pairs of types when one of them
   might be a recursive type (such as Mu or a structure).
   Thanks to Ryan Newtown for this this idea, which enables the
   previous change as well.
 - Doing as much as possible without touching parameters.
   (Unfortunately, not as much as I hoped was possible here).
 - Replacing uses of => in `match` with #:when (written for this purpose).
 - Significant improvement to the `Type-key` system so that it is
   useful much more often.
 - Use of unsafe operations.
 - Minor optimizations to a few other operations.
2013-10-22 19:14:26 -04:00
Asumu Takikawa
d13afa0f78 Fix sandbox docs
This sentence appears to be the result of a
copy+paste error
2013-10-22 15:49:58 -04:00
Asumu Takikawa
6e55752046 Various doc contract fixes 2013-10-22 15:43:40 -04:00