Commit Graph

31162 Commits

Author SHA1 Message Date
Matthew Flatt
10ccabce65 Mac OS X: fix executable creation for LC_DYLIB_CODE_SIGN_DRS
The LC_DYLIB_CODE_SIGN_DRS load command is relatively new, and
it needs to be updated when we shift __LINKEDIT to add
__PLTSCHEME.

Merge to v6.0
(cherry picked from commit 861384d36d)
2013-12-15 12:43:26 -05:00
Asumu Takikawa
6576fe0341 Fix types for remove and friends.
A few of these had unnecessary uses of type variables.
The type for `remove*` was unsound.

Please merge to v6.0
(cherry picked from commit a98e4c5474)
2013-12-15 12:42:12 -05:00
Asumu Takikawa
f35da4cfaa Add tests for some recent base type additions
(cherry picked from commit 78820bda45)
2013-12-15 12:42:00 -05:00
Eric Dobson
cc2a468a06 Remove extraneous compile of non existent file.
Merge to v6.0
(cherry picked from commit 83ce25294c)
2013-12-15 12:37:36 -05:00
Greg Hendershott
e1c52b76c4 Describe how to make packages compatible with 5.3.5 and 5.3.6.
As requested by Sam Tobin-Hochstadt on the mailing list today.

Merge to v6.0
(cherry picked from commit c80f92885d)
2013-12-15 12:37:30 -05:00
Asumu Takikawa
a97ed3f5e7 Add more documentation for Procedure type
Please merge to v6.0
(cherry picked from commit 1243d12248)
2013-12-15 12:37:23 -05:00
Matthew Flatt
3e32c8993f fix a synchronization problem in the GC for places
When a GC is needed for the shared space, a GC is triggered
in all places, and the places wait until each other place
has completed. However, the places also need to wait until
all other places are ready to *start* a GC; otherwise, a
place may be modifying a shared record while some other place
traverses it for a GC.

Closes PR 14229

Merge to v6.0
(cherry picked from commit 280bb31d70)
2013-12-15 12:37:08 -05:00
Mike Sperber
bf4e3cf61b Synch German string constants with latest.
(cherry picked from commit 019c8214ef)
2013-12-15 12:37:03 -05:00
Matthew Flatt
b923f9c1b2 net/http-client: fix http-conn-live? result
Merge to v6.0
(cherry picked from commit 1f6453de89)
2013-12-15 12:36:59 -05:00
James McCoy
f61b212293 Fix typoed character ranges (A-z => A-Z)
Signed-off-by: James McCoy <vega.james@gmail.com>

Merge to v6.0
(cherry picked from commit bdec6c33ff)
2013-12-06 15:03:16 -05:00
Matthew Flatt
608819b9e6 racket/draw: fix problem with text drawing and scale
Track the transformation of a text-drawing context and reset it
when the current transform changes.

There was already an update on an existing layout for a given
character, but not an update for the context used to create layouts.

Merge to v6.0
(cherry picked from commit c27c26fb16)
2013-12-06 15:03:13 -05:00
Matthew Flatt
36349be704 scriblib/figure: fix figures as ref targets
Merge to v6.0
(cherry picked from commit a794ef862e)
2013-12-06 15:03:10 -05:00
Asumu Takikawa
411f1b9d40 Add type for regexp-replaces
Please merge to v6.0
(cherry picked from commit 1f74a67139)
2013-12-06 15:03:05 -05:00
Asumu Takikawa
080813fdd6 Add remaining racket/string types
Please merge to v6.0
(cherry picked from commit 2d8a3cffda)
2013-12-06 15:02:57 -05:00
Matthew Flatt
ded77bc6b1 scriblib/fgure: hyperlink figure references in PDF
Merge to v6.0
(cherry picked from commit 6d73aa4ef7)
2013-12-06 15:02:53 -05:00
Matthew Flatt
e36c061612 minor doc repair (sentence starting with non-capitalized name)
Merge to v6.0
(cherry picked from commit 264800eb0b)
2013-12-06 15:02:50 -05:00
Matthew Flatt
6aa10f08b6 games: fix "About Games" menu item
Merge to v6.0
(cherry picked from commit f4b051a1e2)
2013-12-06 15:02:47 -05:00
Matthew Flatt
2f5b95b389 raco: skip problem "info.rkt" files
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)
2013-12-06 15:02:43 -05:00
Robby Findler
501ae329e5 some white-on-black color improvements for drracket
please include on the release branch
(cherry picked from commit 5d36900c97)
2013-12-06 15:02:40 -05:00
Matthew Flatt
e249acdbed doc search & redirect: user as an extension of main
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)
2013-12-06 14:47:39 -05:00
Matthew Flatt
560d4c55ad use localStorage for user-doc redirect
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)
2013-12-06 14:47:31 -05:00
Matthew Flatt
07d686f13c racket/gui cocoa: fix flipped drawing for combo-field% content
This was another bug in 9cb646bbd2.
(cherry picked from commit 991659a9e3)
2013-12-06 14:47:21 -05:00
Matthew Flatt
9e50c633cc racket/gui cocoa: repair for canvas creation in hidden top-level window
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)
2013-12-06 14:47:03 -05:00
Matthew Flatt
842ce2f436 racket/gui cocoa: use CGLayer for canvas bitmaps
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)
2013-12-06 14:46:59 -05:00
Robby Findler
55c0ad36e4 misc small doc typos
please include on the release branch
(cherry picked from commit e9b0975838)
2013-12-03 21:14:40 -05:00
Asumu Takikawa
3d73776eab Fix Scribble doc typos
Please merge to v6.0
(cherry picked from commit eb19478f1e)
2013-12-03 21:14:33 -05:00
Robby Findler
1b772ea73b Misc redex enumerator tweaks:
- 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)
2013-12-03 21:14:27 -05:00
Max New
622da44345 Initial version of enumeration docs
(Please include on the release branch --robby)
(cherry picked from commit 27119013b3)
2013-12-03 21:14:15 -05:00
Max New
a6c03fb9cf Include empty symbol in variable enumeration
Please merge into 6.0.
(cherry picked from commit 3e1840ac67)
2013-12-03 21:14:08 -05:00
Eric Dobson
4e348ef603 Add #f as a special case for hash-ref, fix hash-ref!.
Closes PR 14158.

Merge to 6.0.
(cherry picked from commit 258d9b8e2f)
2013-12-03 21:13:21 -05:00
Matthew Flatt
2cf4a03d4e move setup/xref from "scribble-lib" to "racket-index"
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)
2013-12-03 21:13:05 -05:00
Matthew Flatt
562abdbc6f racket/gui win32: reset canvas backing size when scroll bars change
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)
2013-12-03 21:12:57 -05:00
Matthew Flatt
b8a183a798 raco exe: suppress expected stderr output
Merge to v6.0
(cherry picked from commit fd2da02029)
2013-12-03 21:12:50 -05:00
Matthew Flatt
9cc4ffd652 raco exe: add --config-path option, default to "etc"
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)
2013-12-03 21:12:38 -05:00
Matthew Flatt
8c651d5ed2 raco dist: fix for Unix GUI executables
Merge to v6.0
(cherry picked from commit 790ae0705c)
2013-12-03 21:11:44 -05:00
Robby Findler
0fb1d9ae87 remove dependency on db-test from db
Please include on the release branch
(cherry picked from commit 29476c5885)
2013-12-03 21:11:35 -05:00
Robby Findler
49056d250d remove dependency on rackunit-test from rackunit
Please include on the release branch
(cherry picked from commit ae6bdd0168)
2013-12-03 21:11:27 -05:00
Robby Findler
1c709f69c3 remove dependency on data-test from data
Please include on the release branch
(cherry picked from commit ff54059513)
2013-12-03 21:11:21 -05:00
Robby Findler
5128581197 clean up racket-doc dependencies
Please include on the release branch
(cherry picked from commit c473f20323)
2013-12-03 21:11:15 -05:00
Matthew Flatt
760469f69c doc search: fix manual-title table
Merge to v6.0
(cherry picked from commit 56518f0615)
2013-12-03 21:11:08 -05:00
Matthew Flatt
e03ccf4081 fix "racket-index" package installed in user scope
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)
2013-12-03 21:11:02 -05:00
Matthew Flatt
6d6d879fc7 remove "unstable-test" as dependency of the "unstable" package
Merge to v6.0
(cherry picked from commit 40812031a8)
2013-12-03 21:10:54 -05:00
Matthew Flatt
67b7aafd88 unstable-doc: make dependency on DrRacket docs indirect
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)
2013-12-03 21:10:49 -05:00
Matthew Flatt
061845d19b racket/draw/gif: recognize #xFF extension block
Merge to v6.0
(cherry picked from commit 72ba0c9879)
2013-12-03 21:10:43 -05:00
Matthew Flatt
527fd14eb2 reference: add information on the cost of hashing
Merge to v6.0
(cherry picked from commit bb5429a039)
2013-12-03 21:10:31 -05:00
Matthew Flatt
f436a3aca1 scribble/lncs: doc repair
Merge to v6.0
(cherry picked from commit 8514662b83)
2013-12-03 21:10:20 -05:00
Asumu Takikawa
9695f860db Add more examples for struct in Reference
Please merge to v6.0
(cherry picked from commit c7d688df22)
2013-12-03 21:10:14 -05:00
Matthew Butterick
3d502f2a99 Restore indentation to blockquotes
Merge to v6.0
(cherry picked from commit 2a0bd4d6e9)
2013-11-26 22:48:25 -05:00
Matthew Butterick
be47ef0a29 Make font size consistent within .defmodule
Merge to v6.0
(cherry picked from commit c5f5d0e0ac)
2013-11-26 22:48:19 -05:00
Matthew Flatt
39d5ec05c8 clarify in docs that -i uses newline when the REPL ends
Merge to v6.0
(cherry picked from commit 996a2b2c49)
2013-11-26 22:48:13 -05:00