Allows some `raco` tools to work (such as `raco pkg`) when loading
information about other installed tools fails, so that problems can
be more easily corrected using working tools (other than `raco setup`,
which is a special case, anyway, for bootstrapping).
Closes PR 14221
Merge to v6.0
(cherry picked from commit b625e62ca8)
When rendering the user documentation-search page or
local-redirect page, only user-specific documentation is
included, which makes rendering faster and automatically
picks up any installation-scope additions.
The documentation start page is still static, so the
user version doesn't pick up installation-scope
additions in the same way.
Related to PR 14180
(cherry picked from commit 7bba67d107)
Chrome doesn't allow cookies for local files, so try
localStorage (and fall back to cookies where localStorage
is unavailable)
(cherry picked from commit 2312e3b9e6)
Fixes 9cb646bbd2 for the case that a frame or dialog is shown,
then hidden, then a new canvas is created or a new compatible
bitmap is requested via the `make-bitmap` method.
The test for this change is just the "windowing.rktl" test, which I
forgot to run before (as opposed to the drawing test suite).
(cherry picked from commit d234c0c2e3)
The backing bitmap for a canvas is created as a CGLayer, which can
make screen refresh much faster. Also, calling the `make-bitmap` method
of `canvas%` produces a CGLayer-based bitmap, so drawing those bitmaps
to a fast context can be fast.
The improvement particularly helps with Retina displays, making
DrRacket more responsive and increasing the potential frame rate
of Slideshow.
(cherry picked from commit 9cb646bbd2)
- edits to the docs
- adjust the #:i-th argument interpretation to allow
any natural number (using modulo for finite enumerations)
- remove unnecessary gui dependency of a few test files
Please include on the release branch
(cherry picked from commit f4635a0649)
The `setup/xref` library conceptually belongs in "racket-index",
and moving the library avoids a cross-package use of a private
module.
Merge to v6.0
(cherry picked from commit d37e910169)
Avoids a gray box at the bottom of the GRacket REPL window on
startup, or in DrRacket when a horizontal scroll is automatically
removed due to, say, hiding a interactions window positioned to
the right of the definitions window (where the definitions content
is narrower than the whole window but wider than half).
Merge to v6.0
(cherry picked from commit 836f4cab20)
Make executables created by `raco exe` not refer to the original
configuration directory by default, but add an option for setting
the directory.
For Unix ELF executables, fix `raco exe` to set/preserve the
configuration directory.
Merge to v6.0
(cherry picked from commit 33b7d49b2e)
When the "racket-index" package is in user scope, then the
the documentation-build process should not try to write to
"doc" in the installation.
Merge to v6.0
(cherry picked from commit 20af636cfb)
A direct reference makes the "gui" package depend on the
"drracket" package, and making the reference indirect avoids
that dependency.
Merge to v6.0
(cherry picked from commit 37fe471a37)
Two of the contracts were inaccurate and, if true, would
have violated subtyping between editor<%> and text%.
Please merge to v6.0
(cherry picked from commit 287a59ce12)
closes PR 14171
But wasn't able to get numeric/decimal working on "SQL Server" driver,
only "SQL Server Native Client" driver.
(cherry picked from commit 7e8ed02704)