Compare commits

...

1335 Commits

Author SHA1 Message Date
Ryan Culpepper
20916f7137 Merge branch 'stable' into release 2015-07-24 12:42:14 -04:00
Ryan Culpepper
7f66830949 Update version number for the v6.2 release 2015-06-19 14:28:17 -04:00
Matthew Flatt
fcfe988631 keep ".LOCKpkgs.rktd" for source install
Closes PR 15062

(cherry picked from commit 39fda5ec9e)
2015-06-02 12:48:46 -04:00
Matthew Flatt
1b890c39ee raco setup: fix shared-file cleanup on uninstall
The tidying step of `raco setup` looked for the "shares.rktd"
receipt file in the wrong directory.

(cherry picked from commit 235bd4de8f)
2015-05-19 12:30:30 -04:00
Matthew Flatt
f351850a64 raco setup: fix reporting of stderr output
Handle was mangled in commit 17275b946a.

(cherry picked from commit 7067559ac7)
2015-05-19 12:30:26 -04:00
Matthew Flatt
a2102cbd93 fix problem with expand and local-require
When `local-require` is used in a non-phase-0 position and it is
`expand`ed (as opposed to compiled directly), then the generated
`#%require` form had the wrong binding phase.

Merge to v6.2

(cherry picked from commit 298feb1bb6)
2015-05-15 17:35:29 -04:00
Matthew Flatt
76efd23d34 fix expander problem with set!
(cherry picked from commit 6f984d868c)
2015-05-11 09:16:36 -04:00
Matthew Flatt
7159a74741 Makefile: make SRC_CATALOG work for in-place and unix-style
Configure an in-place or unix-style build to use the given
SRC_CATALOG before the default catalogs.

(cherry picked from commit 0304fedf92)
2015-05-06 16:58:43 -04:00
Matthew Flatt
b7dce6cb51 raco pkg config: treat empty-string catalog as default paths
An empty string provided to `raco pkg config --set catalogs` would
trigger an error previously. Instead, turn it into a `#f` in the
configuration file, which is replaced by the default search sequence.

(cherry picked from commit ec0350e6d9)
2015-05-06 16:58:39 -04:00
Matthew Flatt
35acaa26e4 always adjust catalogs configuration elements
Pathnames in the list need to be made absolute
"file://" URLs, even if the list has no #f element
to splice the default catalog.

(cherry picked from commit 78e473f017)
2015-05-06 16:58:35 -04:00
Matthew Flatt
63ad440cc7 Adjust "6.2.0.2" history notes to just "6.2"
Due to our release process, these changes will be included in v6.2
after all.

Merge to v6.2

(cherry picked from commit d6b587288a)
2015-05-06 16:58:32 -04:00
Matthew Flatt
7e74eb91c7 raco exe: fix handling of unwritable source executable
Make the executable writable while it's patched for new content.

Closes PR 15008

Merge to v6.2

(cherry picked from commit 5affb68478)
2015-05-06 16:58:29 -04:00
Matthew Flatt
de5551a9b1 add Gustavo to acks
Merge to v6.2

(cherry picked from commit 423aa06426)
2015-05-06 16:58:25 -04:00
Matthew Flatt
83d32be195 use log-error to report missing ico conversions
Merge to v6.2

(cherry picked from commit f43d38914b)
2015-05-06 16:58:20 -04:00
Ryan Culpepper
10c8ce0f4a Alpha version number for the v6.2 release 2015-04-27 09:36:11 -04:00
Ryan Culpepper
091d996381 Merge branch 'stable' into release 2014-11-04 10:25:26 -05:00
Ryan Culpepper
8bb753b301 v6.1.1 installers info
(cherry picked from commit 00c9a96fcb)
2014-11-04 09:50:47 -05:00
Ryan Culpepper
bd8896ec75 v6.1.1 announcement
(cherry picked from commit fff23e7410)
2014-11-04 09:50:37 -05:00
Ryan Culpepper
b1bf7350de Update version number for the v6.1.1 release 2014-11-02 10:40:56 -05:00
Asumu Takikawa
282df92a70 Revert TR tooltip changes 2014-10-30 15:28:37 -04:00
Robby Findler
9d1662ebe7 another attempt to eliminate references to the original
installation directory from the drracket tool docs

please include in 6.1.1

(cherry picked from commit ed0fa5da5b)
2014-10-30 15:27:22 -04:00
Robby Findler
ae0dc72a82 fix a contract example in the documentation
closes PR 14798 (the previous commit, 86017992ab, that
claimed to fix this PR is unrelated; sorry for that)

Please include in 6.1.1

(cherry picked from commit df8fef86da)
2014-10-27 15:06:42 -04:00
Matthew Flatt
15d08f5d84 make read-line interruptable on a primitive port
Closes PR 14800

Merge to v6.1.1

(cherry picked from commit f31c6563e4)
2014-10-27 15:06:38 -04:00
Matthew Flatt
70d0444613 work around a kqueue bug(?) on Mac OS X
There seems to be a problem in kqueue() on Mac OS X for watching for
FIFO write availability, where adding a read event for the same FIFO
(at a different file descritor) can disable the write event.

Merge to v6.1.1

(cherry picked from commit a352470914)
2014-10-27 15:06:34 -04:00
Robby Findler
4c7ea3a034 fix incorrect contact; closes PR 14798
please include in the 6.1.1 release

(cherry picked from commit 86017992ab)
2014-10-27 15:06:30 -04:00
Matthias Felleisen
25919d396d eliminated bug introduced with latest revision
please add to 6.1.1.

(cherry picked from commit 538bb75d64)
2014-10-24 09:22:24 -04:00
Matthias Felleisen
527d383385 fix check-satisfied to properly deal with errors in predicate check
(cherry picked from commit da98d60f99)
2014-10-24 09:22:00 -04:00
Ryan Culpepper
b86f9e677c Revert "eliminated bug introduced with latest revision"
to cherry-pick an earlier patch first without conflict.

This reverts commit caefe1563c.
2014-10-24 09:20:53 -04:00
John Clements
55cabee2f5 updated HISTORY.txt
merge to 6.1.1 release

(cherry picked from commit 74efd8394a)
2014-10-22 10:40:40 -04:00
Matthias Felleisen
039beaaa90 improved fix, Matthew's suggestion
please merge into 6.1.1

(cherry picked from commit 923a785867)
2014-10-22 10:40:22 -04:00
Matthias Felleisen
e0679456e3 make to-draw (alt-kw) error messages more correct, see test for flaws; closes PR 14781
please merge with 6.1.1

(cherry picked from commit 4624a99420)
2014-10-22 10:40:11 -04:00
Matthew Flatt
db7e463b89 openssl: fix ssl-load-default-verify-sources! for Win64
Closes PR 14784

Merge to v6.1.1

(cherry picked from commit 99832efb45)
2014-10-21 10:47:47 -04:00
Asumu Takikawa
91baed4085 Fix TR docs on #:implements in Class types
Please merge to v6.1.1

(cherry picked from commit 3b006df29d)
2014-10-21 10:47:36 -04:00
Asumu Takikawa
9e487317e1 Fix Guide typo
Please merge to v6.1.1

(cherry picked from commit 2bad36a6a1)
2014-10-21 10:47:32 -04:00
Asumu Takikawa
8fd35a1cdc Fix type for stx->list in typed/syntax/stx
Please merge to v6.1.1

(cherry picked from commit 125d993c64)
2014-10-21 10:47:23 -04:00
Vincent St-Amour
a83f72c0c4 Fix types for foldl and foldr with 3 lists.
Thanks to Jack Firth for the report.

(cherry picked from commit 9030680e31)
2014-10-21 10:47:07 -04:00
Matthias Felleisen
caefe1563c eliminated bug introduced with latest revision
please add to 6.1.1.

(cherry picked from commit 538bb75d64)

Conflicts:
	pkgs/htdp-pkgs/htdp-lib/test-engine/racket-tests.rkt
2014-10-21 10:46:36 -04:00
Robby Findler
e02b6968e6 adjust docs for drracket/check-syntax so the example
doesn't include paths directly into the plt tree

please include on the release branch.

(cherry picked from commit bbd9c432b6)
2014-10-21 10:33:45 -04:00
AlexKnauth
5e49c94102 add types for Stx-Null, Stx-Pairof, and Stx-Listof
(cherry picked from commit 92f5b37ae2)
2014-10-21 10:33:40 -04:00
AlexKnauth
7ecc848176 add comments about (Syntaxof Syntax-E)
(cherry picked from commit 3d88e7c663)
2014-10-21 10:33:37 -04:00
AlexKnauth
233d5cbe0b test types for typed/syntax/stx
(cherry picked from commit 4c22029f06)
2014-10-21 10:33:33 -04:00
AlexKnauth
b87b669bc8 fix types of stx->list, stx-car, etc.
(cherry picked from commit 56faac79c4)
2014-10-21 10:33:28 -04:00
Robby Findler
a75b4de4f3 update Redex HISTORY.txt
please include in the 6.1.1 release

(cherry picked from commit b19f5a34ee)
2014-10-21 10:33:25 -04:00
Robby Findler
0b588cd779 update history for 6.1.1
please include in the release

(cherry picked from commit b3110feabd)
2014-10-21 10:33:21 -04:00
Matthew Flatt
c0ddedb16a note v6.1.1 in Racket "HISTORY.txt"
Merge to v6.1.1

(cherry picked from commit 3a3ffe1efa)
2014-10-21 10:33:15 -04:00
Vincent St-Amour
1ac11089d8 Update TR history.
Please merge to 6.1.1.

(cherry picked from commit 66e5a246c4)
2014-10-21 10:33:11 -04:00
Robby Findler
a96ca29576 unbreak redex pdf docs build
please include in the release

(cherry picked from commit 098d17b524)
2014-10-21 10:33:07 -04:00
Robby Findler
c326c21b73 fix "redex-doc" dependencies
(cherry picked from commit d3950e1f09)
2014-10-15 22:15:23 -04:00
Matthew Flatt
5daba5bf73 fix "redex-doc" dependencies
(cherry picked from commit 0a9cf6dc34)
2014-10-15 22:15:16 -04:00
Asumu Takikawa
e285d00983 Fix printing of * in -> types
(cherry picked from commit 38af459049)
2014-10-15 19:36:10 -04:00
Eli Barzilay
91036cea81 Random improvement.
The thing that caught my eye is the missing `#:cache-keys?' which should
really be there.  But not too important.

(cherry picked from commit eaa6f85054)
2014-10-15 19:36:04 -04:00
Eli Barzilay
dc4f4f8ee9 Add `type-output-sexpr-tweaker'.
Sounds like a bad name, but I don't have anything better.  It's not some
"current-...-print" thing since it works on the sexpr that is intended
to be pretty-printed.  So I went with the above.

(cherry picked from commit 3c98d08690)
2014-10-15 19:35:58 -04:00
Eli Barzilay
3e31a65e88 Get rid of `special-dots-printing?'.
Asumu said that he doesn't know of any other clients of this parameter
besides my class code.

(cherry picked from commit 0eed0f6e0e)
2014-10-15 19:35:52 -04:00
Eli Barzilay
c541afcac8 Get rid of some unused code.
Looks like some aborted attempt at abstraction, which is no longer used.

(cherry picked from commit 2e6b82ab8e)
2014-10-15 19:35:40 -04:00
Matthew Flatt
02f935d759 ffi/unsafe: fix make-sized-byte-string on a #f argument
In particular, a #f argument can make sense if the length is 0.
Technically, a byte string's byte array is supposed to be nul-terminated,
but many uses of byte strings get away without that terminator. I've
adjust the documentation to note that `bytes-copy` will work with a
non-terminated byte string.

Merge to v6.1.1

(cherry picked from commit 1cc86d3cea)
2014-10-15 19:30:54 -04:00
Robby Findler
774a4bf179 add a description of the bugs in the benchmark to the documentation
please include in the release

(cherry picked from commit ef76c273ea)
2014-10-15 19:30:44 -04:00
Matthew Flatt
40f95e9649 macro expander: fix an internal hash-table traversal bug
This bug could result in weird "cannot re-define a constant: lifted.0.2"
errors, or probably even worse collsisions of definitions, but I think
only in a namespace created from `module->namespace`.

So far, I haven't been able to create a reasonably small test,
because so many things have to line up in just the right way.

Merge to v6.1.1

(cherry picked from commit d4ad0a20e4)
2014-10-15 19:30:06 -04:00
Matthew Flatt
ed331313e2 fix allocation bug in equal? on deeply nested values
Based on the core file, this bug seems likely responsible for the
`raco setup` crash on DrDr for push 29346.

Merge to v6.1.1

(cherry picked from commit 7e984c6009)
2014-10-15 19:29:54 -04:00
Matthew Flatt
81b077221b add missing "x86_64-linux-natipkg" dependency
Merge to v6.1.1

(cherry picked from commit 079ea21dab)
2014-10-15 19:29:43 -04:00
Ryan Culpepper
76e51865d4 Alpha version number for the v6.1.1 release 2014-10-08 14:39:35 -04:00
Ryan Culpepper
b7be217839 Merge branch 'stable' into release 2014-08-02 14:09:13 -04:00
Ryan Culpepper
8fc2f55537 v6.1 announcement text
(cherry picked from commit 7ba6c663cd)
2014-08-02 13:48:37 -04:00
Ryan Culpepper
a647247b77 v6.1 installers info
(cherry picked from commit 7608125543)
2014-08-02 13:48:32 -04:00
Ryan Culpepper
07a1c7a28f Update base pkg to 6.1 2014-08-01 19:14:51 -04:00
Ryan Culpepper
a349ab5cbd Update version number for the v6.1 release 2014-08-01 15:12:07 -04:00
Matthew Flatt
9fbeefd115 raco pkg update: don't claim conflict with package being updated
Merge to v6.1

(cherry picked from commit d2a8bfcfe6)
2014-07-30 15:34:57 -04:00
Matthew Flatt
beb0bc36fb pkg tests: fix tests that accidentally install packages in place
(cherry picked from commit 68c43a3db9)
2014-07-30 15:34:52 -04:00
Matthias Felleisen
09c1743a78 documented addition of check-random; please include in 6.1
(cherry picked from commit 68de6454d9)
2014-07-23 12:45:13 -04:00
Neil Toronto
1818bf9a42 Move margin-note* in math docs to work around issue with Firefox
Please merge to v6.1
(cherry picked from commit 3849643e4b)
2014-07-23 12:45:09 -04:00
Neil Toronto
e9580ad006 Fix compiled-bitmap and compiled-bitmap-list on 2x bitmaps, lossy compression
This fixes the docs for `compiled-bitmap-list`. Icons in DrRacket were immune,
because they're stored in modules as PNG bytes.

Please merge to v6.1
(cherry picked from commit 1f7b452920)
2014-07-23 12:45:00 -04:00
Matthew Flatt
6a44b8aaf8 racket/draw: fix get-argb-pixels for unscaled and just-alpha
Closes PR 14653

Merge to v6.1
(cherry picked from commit 295cb46c48)
2014-07-23 12:44:55 -04:00
Robby Findler
26835dbb59 remove call to 'time'
Please add to 6.1 release branch
(cherry picked from commit cdd06f108c)
2014-07-23 12:44:51 -04:00
Vincent St-Amour
aa0e6dd09d Update TR history.
Please merge to 6.1.
(cherry picked from commit 5a12f8e778)
2014-07-23 12:44:47 -04:00
John Clements
9c24b3c001 updated HISTORY.txt
Merge to 6.1 release
(cherry picked from commit c970a0656c)
2014-07-23 12:44:43 -04:00
Robby Findler
d851817d66 fix compatible-closure to deal properly with language extension
Thanks to David Van Horn for spotting the problem and providing
a nice simple test case

Please include in 6.1
(cherry picked from commit 3666842cd4)
2014-07-23 12:44:39 -04:00
Gregory Cooper
3ba5639e04 Reorder some recursive definitions to avoid undefined references.
Please include in v6.1 release if possible.
(cherry picked from commit 45306397cc)
2014-07-23 12:44:35 -04:00
Ryan Culpepper
2178fbf4d4 fixed macro stepper test
(cherry picked from commit f4978d2fdb)
2014-07-23 12:44:11 -04:00
Ryan Culpepper
e391bb1755 fix stxparse test
(cherry picked from commit 4f05e33192)
2014-07-23 12:44:08 -04:00
Robby Findler
757dace1e9 update HISTORY for 6.1
Please include in the 6.1 release
(cherry picked from commit 5168764293)
2014-07-23 12:44:04 -04:00
Robby Findler
e8aa7d3800 update HISTORY.txt for 6.1
Please include in the 6.1 release
(cherry picked from commit fbc3d7ea7c)
2014-07-23 12:44:00 -04:00
Matthew Flatt
aa59fc08ca update racket/HISTORY.txt
Merge to v6.1
(cherry picked from commit e8278176fa)
2014-07-23 12:43:55 -04:00
Matthew Flatt
9bd0e3e58c scribble: another Unicode mapping for Latex output
This mapping is needed by the "redex-unstable" documentation.

Merge to v6.1
(cherry picked from commit a33c64b45f)
2014-07-23 12:43:52 -04:00
Matthew Flatt
1293238061 scribble: fix PDF rendering for image without bounding-box info
Merge to v6.1
(cherry picked from commit 09b4445c7a)
2014-07-23 12:43:48 -04:00
Ryan Culpepper
0e73507855 Update base pkg version to 6.0.900.900 2014-07-17 13:04:59 -04:00
Matthew Flatt
dd0ee96fde future: fix completion of a future that ends with a delayed tail call
The completion needs to be set up as an lightweight contination so
that it can be captured.

Merge to v6.1
(cherry picked from commit 7a5746d9a7)
2014-07-17 12:46:58 -04:00
Matthew Flatt
23ab4a1615 future: fix slow path for inlined struct getter
Merge to v6.1
(cherry picked from commit 4541a75e76)
2014-07-17 12:46:55 -04:00
Matthew Flatt
1ab2f2643e fix sleep timeout in scheduler
In the case that the current time equals exactly the timeout of
a `sync/timeout`, the Racket process could get stuck (using no CPU)
instead of continuing as it should.

How did we not find this before? Why am I suddenly able to replicate
the problem (i.e., hitting exactly the target timeout in the secheduler
at the millisecond granularity)?

Merge to v6.1
(cherry picked from commit 76aefcb508)
2014-07-17 12:46:50 -04:00
Matthew Flatt
f5b73656a0 pkg/lib: make pkg-directory->additional-installs recognize root docs
Merge to v6.1
(cherry picked from commit bc832a680b)
2014-07-17 12:46:40 -04:00
Robby Findler
88bf95297e fix a bug uncovered by 1b3fd890ad
Merge to 6.1, please
(cherry picked from commit 6d2dfbff9e)
2014-07-17 12:46:25 -04:00
Robby Findler
1b6887c461 spell check pict docs
Merge to 6.1, please
(cherry picked from commit 34b4472d97)
2014-07-17 12:46:21 -04:00
Robby Findler
bf81f87141 change 'jump to next misspelled word' shortcut to avoid
conflicting with the close window shortcut (which is only
<menukey>-shift-w when there are multiple tabs open)

Merge to 6.1, please
(cherry picked from commit ec0ccbe35e)
2014-07-17 12:46:16 -04:00
Matthew Flatt
bf5887b26f pkg/lib: fix pkg-directory->additional-installs
Merge to v6.1 (with a70b3173b2)
(cherry picked from commit add04001cd)
2014-07-17 12:46:11 -04:00
Matthew Flatt
a23cce0b07 pkg/lib: make pkg-directory->additional-installs use 'compile-omit-paths
Otherwise, "test/pkgs" claims to provide various documents and executables
that are in test packages.

Merge to v6.1
(cherry picked from commit a70b3173b2)
2014-07-17 12:46:07 -04:00
Matthew Flatt
47aa868b0d xform: fix bad parsing of array sizes
A size expression N+M for a literal integer N was parsed as just N.
Report an error when that case happens (since it's difficult to
handle) instead of mishandling it.

Merge to v6.1
(cherry picked from commit e063b654fa)
2014-07-17 12:46:03 -04:00
Matthew Flatt
e6b1ffa1fb JIT: fix array-size expression that is handled badly by xform
This bug (in xform, really) appears to be responsible for recent "JIT
buffer overflow" crashes. It could also cause other memory-corruption
crashes.

The bug could be triggered by any program that uses operators like
`+`, `<`, and `bitwise-ior` on more than 2 and less than 6 operands
(which is a lot of programs), but only if a certain allocation and
GC pattern happens at just the right time (which is why a crash was
relatively rare).

Merge to v6.1
(cherry picked from commit c72f441d93)
2014-07-17 12:45:58 -04:00
Matthew Flatt
dd6f973d5c ffi/unsafe/com: convert to date*, document limitations
Merge to v6.1 along with 7d65ee6127.
(cherry picked from commit 689f449c8d)
2014-07-17 12:45:49 -04:00
Kalimehtar
1962da8587 Fix _date to allow dates before 1970 year
(cherry picked from commit 7d65ee6127)
2014-07-17 12:45:45 -04:00
Matthew Flatt
6e4234e32b fix GC-cooperation bug in vector->values
The `vector->values` function set up multiple return values
badly in the case that the given vector is chaperoned.
The problem could lead to NULL as results for `vector->values`.

Merge to v6.1
(cherry picked from commit f57c1c8e2a)
2014-07-17 12:43:05 -04:00
Matthew Flatt
be6185acc9 compiler/zo-structs: document undef-ok? in assign
Closes PR 14622

Merge to v6.1
(cherry picked from commit a479f18c28)
2014-07-17 12:43:00 -04:00
Matthew Flatt
6b78f47876 fix doc typo
Closes PR 14626

Merge to v6.1
(cherry picked from commit b3dd3954fb)
2014-07-17 12:42:57 -04:00
Matthew Flatt
c76fc74853 reference: clarify significance of order for submodules
Merge to v6.1
(cherry picked from commit e044e4360b)
2014-07-17 12:42:52 -04:00
Matthew Flatt
adf9f50b73 raco setup: reorganize command-line flags
Group flags and refine the descriptions and documentation.

Merge to v6.1
(cherry picked from commit 95a126b2e1)
2014-07-17 12:42:48 -04:00
Robby Findler
dbc1b565a4 fix esc;n keystroke in REPL
closes PR 14631

please include in release branch
(cherry picked from commit 3831496bf9)
2014-07-17 12:42:44 -04:00
Robby Findler
f8c4319022 fix f1 and switch-tab keybindings when "Treat alt key as meta"
preference is set

closes PR 14629

please include on the release branch
(cherry picked from commit ae1349a906)
2014-07-17 12:42:40 -04:00
Matthew Flatt
c973f0fefe fix order of file close and kqueue de-registration
Thanks to memcheck.

Merge to v6.1.
(cherry picked from commit 8559192944)
2014-07-17 12:42:36 -04:00
Matthew Flatt
0bdbb8db2f fix uses of uninitilized memory
Thanks to memcheck. (I'm unable to get far with Racket and memcheck,
but I get this far.)

Merge to v6.1.
(cherry picked from commit 45eb084d27)
2014-07-17 12:42:32 -04:00
Robby Findler
ed22f8cbcd fix misspelling tracker
please include on the release branch
(cherry picked from commit 83a76027d5)
2014-07-17 12:42:28 -04:00
Matthew Flatt
3d8ba0128d raco pkg catalog-archive: handle interrupted update
While `catalog-archive` cannot handle arbitrary corruption of
a previous archive run, it should be able to handle a state
due to interruption or other transient errors.

Merge to v6.1.
(cherry picked from commit 42aeae24be)
2014-07-17 12:42:23 -04:00
Ryan Culpepper
90edf8f996 Alpha version number for the v6.1 release 2014-07-08 20:53:55 -04:00
Ryan Culpepper
6fcd6f233e Merge branch 'stable' into release 2014-07-08 20:44:38 -04:00
Ryan Culpepper
34c24ef10d v6.0.1 announcement
(cherry picked from commit 98ae3d8b2d)
2014-05-08 16:12:55 -04:00
Ryan Culpepper
53bbf1a795 v6.0.1 installers info
(cherry picked from commit 1618dc7018)
2014-05-08 16:01:17 -04:00
Ryan Culpepper
3fd6960cf3 Update version number for the v6.0.1 release 2014-05-05 16:21:29 -04:00
Sam Tobin-Hochstadt
54ac52f7c3 Typed Racket history for 6.0.1.
Please include in release.
(cherry picked from commit 31ccd1ba7c)
2014-05-05 15:35:46 -04:00
Matthew Flatt
b81a8131a1 places: fix gc of place channels containing place channels
The bug was a kind of typo: using `&` where `%` was intended to
implement a counter wraparound.

This bug is an even more likely candidate to be resopnsible for the
occassional crashes from the DrRacket easter-egg test.
(cherry picked from commit 6d4c25a322)
2014-05-02 10:44:19 -04:00
Matthew Flatt
6cb8f9cd00 fix clean-up handling for the main thread of a terminated place
This bug might be reposnible for the occassional crashes seen in
DrDr for the easter-egg test.

Merge to v6.0.1
(cherry picked from commit 83dcf446a3)
2014-04-28 17:49:10 -04:00
Matthew Flatt
5e5f43c2e2 ARM JIT: fix software floating-point
I broke uses of LDRD and STRD when compacting the set of registers
used by the JIT. The LDRD and STRD instructions are given one
register explicitly, but they implicitly use the next regsister, too,
and the specified register must be even-numbered. Lining up a pair of
registers requires a little shuffling before and after the operation.

Also, the LDRDI and STRD encodings were broken, and the inlined
fl->fx conversion was not right.

Closes PR 14470
(cherry picked from commit ffb0dd52c5)
2014-04-28 17:49:05 -04:00
Matthias Felleisen
bef49b8d0c history update
(cherry picked from commit ed9e47a1a6)
2014-04-28 17:48:39 -04:00
Jens Axel Søgaard
fb55a41be2 Use quotient/remainder in bezout
Use quotient/remainder in bezout. This is much more efficient.
(cherry picked from commit 6b5e4c90e4)
2014-04-24 15:50:43 -04:00
Neil Toronto
3261aacdfa Add check to avoid degenerate planes in BSP tree build
Please merge to release
(cherry picked from commit de0b181913)
2014-04-24 13:47:53 -04:00
Matthew Flatt
9cf6659bf0 avoid write-barrier memory protection for 'atomic-interior allocation
Split 'atomic-interior allocation to separate pages from other 'interior
allocation, and do not page-protect 'atomic-interior memory. Otherwise,
atomic-interior memory passed from one place to another --- especially
via the `#:in-original-place?` option on foreign functions --- can crash
due to triggering a write barrier in the wrong place.

Commit c18f6e8d6d, which changed some cross-place arguments to Pango and
Cairo to be 'atomic-interior, exposed the problem.

Some indentation is left bad intentionally to minimize the diff.

Merge to v6.0.1
2014-04-24 13:39:31 -04:00
Robby Findler
b419be2016 fix use before definition bug from c8f3974a2
(cherry picked from commit fe2c796c41)
2014-04-21 10:23:53 -04:00
Matthew Flatt
423b3f9789 update racket HISTORY for v6.0.1 2014-04-21 10:21:59 -04:00
Stephen Bloch
2c8d72a7d2 Replaced JPG file with PNG, so future renderer changes don't break test
cases.  Please merge to release branch.
(cherry picked from commit c066040f8d)
2014-04-21 10:21:51 -04:00
John Clements
b46669155d Update HISTORY.txt for stepper
Please merge to 6.0.1 release
(cherry picked from commit 870057ab19)
2014-04-21 10:21:47 -04:00
Robby Findler
77b0662e25 add missing release notes
Please include in 6.0.1
(cherry picked from commit ccefa53af3)
2014-04-21 10:21:44 -04:00
Asumu Takikawa
289074aee7 Minor fix for TR docs for struct
Please merge to v6.0.1
(cherry picked from commit 4d7703770f)
2014-04-17 10:45:54 -04:00
Asumu Takikawa
b24640e711 Fix TR reference docs for for
Please merge to v6.0.1
(cherry picked from commit e3f7aa4df2)
2014-04-17 10:45:30 -04:00
Asumu Takikawa
22a475376e Mark class support as experimental in the TR docs
Please merge to v6.0.1
(cherry picked from commit d6a3d27e54)
2014-04-17 10:45:24 -04:00
Burke Fetscher
37f82ca1e0 Remove Redex benchmark from the release branch. 2014-04-15 10:56:32 -04:00
Matthew Flatt
55bb2d2810 upgrade Windows OpenSSL libraries to 1.0.1g 2014-04-15 10:56:31 -04:00
Matthew Flatt
030206f39f avoid overflow in poll() timeout calculation
Closes PR 14410

Merge to v6.0.1
(cherry picked from commit 393456563e)
2014-04-15 10:56:31 -04:00
Matthew Flatt
a130b66588 fix problem with syntax-local-lift-require
Closes PR 13797

Merge to v6.0.1
(cherry picked from commit 414507699b)
2014-04-15 10:56:31 -04:00
Matthew Flatt
7c4fe52b37 openssl: recognize version 1.0.1g
Merge to v6.0.1
(cherry picked from commit 145dc95b87)
2014-04-15 10:16:53 -04:00
Asumu Takikawa
6f03f6214b Fix types in typed/file/gif
Thanks to WarGrey Gyoudmon Ju for reporting the bug

Please merge to v6.0.1
(cherry picked from commit 8c1206c063)
2014-04-15 10:16:46 -04:00
Asumu Takikawa
0d3fe94dc0 Fix internal-external name mapping for TR classes
Please merge to v6.0.1
(cherry picked from commit a11144c8f8)
2014-04-15 10:16:43 -04:00
Asumu Takikawa
3c7fd03266 Fix identifier-binding docs and types
Closes PR 14262

Please merge to v6.0.1
(cherry picked from commit 5eb1110040)
2014-04-15 10:16:38 -04:00
Asumu Takikawa
e70b606142 Show a REPL type printing example in the TR guide
Please merge to v6.0.1
(cherry picked from commit 52cc507aa5)
2014-04-15 10:16:34 -04:00
Matthew Flatt
74f82bbd1d racket/undefined: remove undefined? and check-not-undefined
The intent is to provide a minimal bridge between the current Racket
and one where `(letrec ([x x]) x)` no longer works.

Merge to v6.0.1
(cherry picked from commit 83a573ccd8)
2014-04-15 10:16:29 -04:00
Matthew Flatt
18600b381c raco decompile: fix for #%foreign
Merge to v6.0.1
(cherry picked from commit e9b97c494c)
2014-04-15 10:16:24 -04:00
Ryan Culpepper
ec2da5f7b4 Alpha version number for the v6.0.1 release 2014-04-08 08:47:12 -04:00
Ryan Culpepper
76daef3ef7 Merge branch 'stable' into release 2014-04-08 08:39:09 -04:00
Ryan Culpepper
b9bea2d7f8 description for unix-specific srcs
(cherry picked from commit 25613b3f24)
2014-02-26 17:17:37 -05:00
Ryan Culpepper
2981314107 v6.0 installers info
(cherry picked from commit e36682c96e)
2014-02-26 17:17:28 -05:00
Matthew Flatt
ca95155558 raco setup: fix the way that "stamp" is compiled for avoided files
Instead of claiing "beginning of time" and an empty SHA1, use
`file-stamp-in-paths` to get a proper stamp.

This fixes a problem when installing built packages into user scope
where the built packages refers to an installation-scope library
and SHA1s need to be checked to fix up file timestamps.
(cherry picked from commit 5ada90bfd2)
2014-02-18 10:57:02 -05:00
Matthew Flatt
c81d721b87 setup/dirs: fix get-apps-dir
Affects the location of ".desktop" file installation, especially in
a Unix-style installation.
(cherry picked from commit 7b4ea16bc0)
2014-02-18 10:56:38 -05:00
Matthew Flatt
648cbae499 setup/unixstyle-install: fix up only installed ".desktop" files
Closes PR 14354
(cherry picked from commit 1d0e4bedde)
2014-02-18 10:56:33 -05:00
Matthew Flatt
0e654adfcd scribble/manual: delay expressions that require collection-based files
This changed make `(require scribble/manual)` work in an executable,
although actually rendering documents requires the "scribble"
collection.
(cherry picked from commit 9ca0aa5225)
2014-02-11 17:12:35 -05:00
Ryan Culpepper
b1baf69954 Update version number for the v6.0 release 2014-02-10 16:14:28 -05:00
Matthew Flatt
8fae923b4f restore "getting started" link
This change adjusts the meaning of the 'getting-started document
category, which was formerly omitted from the start page. Now,
it means a document that is listed at the beginning and at the same
level as other documents.

(Didn't just revert to the old approach to the "getting started"
entry, because it doesn't work right when "racket-index" is installed
without "racket-doc".)

Closes PR 14348
(cherry picked from commit b9ed6f465e)
2014-02-10 15:41:52 -05:00
Matthew Flatt
c0048c2f0d unix-style install: preserve build stamp
Instead of preserving specific configuration entries, it's probably
better to preserve all of them that are not specifically replaced.
I'm going with the simpler change for now, though.
(cherry picked from commit 24025fe5ed)
2014-02-10 15:41:49 -05:00
Matthew Flatt
de75c68712 raco setup: fix test for installing doc CSS to user-specific location
For example, if a package is installed in user scope where no
user-scope documentation is already built, CSS files need to be
in place for the main page of user-specific documentation.
(cherry picked from commit a6c28c2c06)
2014-02-10 15:41:45 -05:00
Ryan Culpepper
b090e3fd6e v5.93 installers info
(cherry picked from commit b97e6d6acd)
2014-01-31 18:22:31 -05:00
Ryan Culpepper
afd6030222 Update version number for the v5.93 release 2014-01-28 15:47:10 -05:00
Matthew Flatt
773308cfdb distro-build: record "" build stamp (especially for release mode)
(cherry picked from commit 8177be0b99)
2014-01-28 14:53:05 -05:00
Matthew Flatt
5ed1f7bfcb distro-build: always include version number in directory for source
(cherry picked from commit 387dd2117b)
2014-01-28 14:53:02 -05:00
Matthew Flatt
821da4524b recognize "1.0.1e" for openssl libraries
(cherry picked from commit 791ec4cfb1)
2014-01-28 14:52:58 -05:00
Matthew Flatt
7a497a5bd5 unix: fix gracket-based launcher creation
The launcher was always create assuming a specific relative path
from the "bin" drectory to the "lib" directory, but that relative
path changes in a Unix-style install.
(cherry picked from commit b07fa81950)
2014-01-28 14:52:45 -05:00
Matthew Flatt
d9f723e6ad racket/gui cocoa: fix atomicity of refresh
Atomicity was accidentally turned off in ca0418d47d.

For whatever reason, this bug seems to cause lots of trouble with
32-bit Mac OS X and not as much for 64-bit Mac OS X.
(cherry picked from commit 13b1d0733a)
2014-01-28 14:52:41 -05:00
Matthew Butterick
ac8d39ad0d adjust CSS selector for blue boxes in documentation
(cherry picked from commit 258aa82282)
2014-01-28 14:52:22 -05:00
Matthew Butterick
79f374d894 switch to unitless line-heights
(cherry picked from commit bfa5e72816)
2014-01-28 14:52:19 -05:00
Matthew Flatt
6a208a2fa1 racket-style.css: move margin-note img formatting to Guide/Ref icon
Setting image with to 1.5em seems to be aimed specifically at
the cross-reference icons in the Guide and Reference, and the
width should not apply to just any image in a margin note.
(cherry picked from commit 463b81780a)
2014-01-28 14:52:15 -05:00
Matthew Butterick
a1859e3076 add missing weight of Source Code font
(cherry picked from commit dbad2913ec)
2014-01-28 14:52:11 -05:00
Matthew Butterick
43101bc402 small Scribble CSS fixes
(cherry picked from commit a24c8361b6)
2014-01-28 14:52:07 -05:00
Ryan Culpepper
8754879529 v5.92 installers info
(cherry picked from commit 6b60862c4f)
2014-01-25 11:45:31 -05:00
Jay McCarthy
4ffb70be56 Use Racket navbar on pkgs. and have navbar link to pkgs.
Open question: Where does link to Planet go? Sam's new design has a natural place, but on the old site... it's not clear, community?
(cherry picked from commit 490e21ff07)
2014-01-24 23:19:33 -05:00
Jay McCarthy
25cb3a0d15 moving delete button
(cherry picked from commit 2413278c60)
2014-01-24 23:19:29 -05:00
Ryan Culpepper
ce6ae0df08 Update version number for the v5.92 release 2014-01-24 22:42:55 -05:00
Ryan Culpepper
b83f2a6b11 add symlink to releases dir
(cherry picked from commit ae6fc3f47f)
2014-01-24 22:42:10 -05:00
Ryan Culpepper
b0f5f67848 add link to planet from community page
(cherry picked from commit 4c7a3b91ee)
2014-01-24 22:42:04 -05:00
Ryan Culpepper
1bd06213b0 change all versions download page to accommodate racket-minimal distro
Change from fixed 2 options (Racket, Textual) to flexible
(Racket, alternatives).
(cherry picked from commit caed4a0444)
2014-01-24 22:41:58 -05:00
Ryan Culpepper
f031ea1439 handle new installer info lines
(cherry picked from commit 9aeadbe65e)
2014-01-24 22:41:50 -05:00
Ryan Culpepper
bb47f923f7 create download page for (version, distro) only when installers exist
Previously, created every page in (all-versions X all-distros).
(cherry picked from commit 202dc90d96)
2014-01-24 22:41:44 -05:00
Ryan Culpepper
00ffd1e603 update license link to LGPL 3
(cherry picked from commit 04fee37767)
2014-01-24 22:41:40 -05:00
Ryan Culpepper
3c68e24947 keybinding menu items
Fix shortcuts for Prev/Next Tab when GRacket:defaultMenuPrefix
is 'alt or 'meta. Patch by Robby.
2014-01-07 12:03:58 -05:00
Matthew Flatt
7f68d463c7 make server: fix config setup for pkg build
When the server installs packages from source, it needs configuration
entry that points documentation indirections to the right place.
A relevant "config.rktd" is written, but to the wrong place, so
that it wasn't being used.

Merge to v6.0 (pending review)
(cherry picked from commit 9de2aff3f3)
2014-01-06 00:39:28 -05:00
Matthew Flatt
5087b9932b MzCom: fix command-line parsing
I couldn't get MzCOM to work in a release build, because my
installations always had a "-" in the path.

Merge bug fix to v6.0 (pending review)
(cherry picked from commit b7f4e10fe1)
2014-01-03 19:32:44 -05:00
Mike Sperber
2da854f448 German string constant for install-pkg-not-rentrant.
Please merge to 6.0 release branch.
(cherry picked from commit ddbdebe362)
2014-01-03 19:32:35 -05:00
Robby Findler
14a8299e87 Fix the alt menu conflict in a simple way,
suitable for the release branch
2014-01-03 18:10:38 -05:00
Ryan Culpepper
0cfeae7a30 Revert "Be wary that the default-shortcut-prefix might be"
This reverts commit 47b1195502.
2014-01-03 18:07:49 -05:00
Robby Findler
1018b83f0f adjust the installation package GUI so it doesn't install during
and installation (ditto update)

closes PR 14263

this may be a release branch candidate. I'm not sure myself, but the PR
sounds worrying.

If it should be considered, then this is the relevant diff (since more than
half of the diff is whitespace changes) to the file pkg/gui/main:

@@ -57,6 +57,8 @@

   (define terminal #f)
   (define (in-terminal-panel abort-label thunk)
+    (cond
+      [(or (not terminal) (send terminal can-close?))
     (send dlg begin-container-sequence)
     (when terminal (send terminal close))
     (define t (in-terminal
@@ -71,7 +73,10 @@
     (disallow-close)
     (send dlg end-container-sequence)
     (yield (send t can-close-evt))
-    (allow-close))
+       (allow-close)]
+      [else
+       (message-box (string-constant install-pkg-dialog-title)
+                    (string-constant install-pkg-not-rentrant))]))
(cherry picked from commit 5059db47d3)
2013-12-29 14:23:28 -05:00
Robby Findler
47b1195502 Be wary that the default-shortcut-prefix might be
duplicated in a menu item prefix
(cherry picked from commit c12a6bea0e)
2013-12-29 14:23:13 -05:00
Eric Dobson
219d41fa3a Add rackunit HISTORY.txt for version 6.0.
(cherry picked from commit ec75e9ae08)
2013-12-27 15:56:41 -05:00
Matthew Flatt
a9b8008958 make installers: fix quoting for windows/bash ssh
(cherry picked from commit fd487b86a3)
2013-12-27 15:56:33 -05:00
Ryan Culpepper
00cfe7dd75 remove extraneous CRLF after message-body
RFC2616 section 4.1 (http://www.ietf.org/rfc/rfc2616.txt):
"... an HTTP/1.1 client MUST NOT preface or follow a request
with an extra CRLF."
(cherry picked from commit d0e8e715b4)
2013-12-27 15:56:04 -05:00
Matthew Flatt
f9fec37d4a fix problem with doc database in read-only mode
Now that the documentation-build phase of `raco setup` uses read-only
mode, contention between writing and reading sometimes (though
infrequently) triggers an SQLITE_IOERR_LOCK error. Change the SQLite
binding to expose that specific error, as well as SQLITE_IOERR_BLOCKED,
because a retry of the affected operation is appropriate.
(cherry picked from commit 6858b8df90)
2013-12-23 12:05:15 -05:00
Ryan Culpepper
0e4eed4e29 fix sqlite rollback-transaction in case of auto-rollback error
Merge to release branch.

An invalid (needs-rollback?) transaction may correspond to a closed
underlying transaction. In that case, don't issue ROLLBACK command.
(cherry picked from commit 06aa4770f1)
2013-12-23 12:05:10 -05:00
Robby Findler
51647f1608 update HISTORY based on some of Jay's changes
please include in 6.0
(cherry picked from commit 438942c059)
2013-12-23 12:05:04 -05:00
Jay McCarthy
7171f0d1c3 Correct pkgs urls, please include in v6
(cherry picked from commit 2e5a89e682)

Conflicts:
	pkgs/racket-pkgs/racket-doc/pkg/scribblings/getting-started.scrbl
2013-12-23 12:03:58 -05:00
Asumu Takikawa
c018aaf9ff Add a HISTORY file for unstable
Note: I tried to reconstruct some history back
to 5.3.4, but it's not complete.

Please merge to v6.0
(cherry picked from commit c75e84a372)
2013-12-23 11:54:21 -05:00
Asumu Takikawa
f30215edcd Update HISTORY
Please merge to v6.0
(cherry picked from commit 8c6cf7395d)
2013-12-23 11:54:15 -05:00
Matthew Flatt
1cc386790b fill in some missing history notes
Merge to v6.0
(cherry picked from commit dc526f95f3)
2013-12-23 11:54:08 -05:00
Robby Findler
fe6dc1b869 add missing HISTORY entries based on my changes leading up to 6.0
Please merge to 6.0 (some of the history files already have
post-6.0 notes in them, but hopefully this patch still applies
cleanly)
(cherry picked from commit 4408cdcfe4)
2013-12-23 11:54:01 -05:00
Matthias Felleisen
5853d5a5f3 history for 2htdp teachpacks
(cherry picked from commit 559af9b35c)
2013-12-23 11:50:52 -05:00
Ryan Culpepper
7c2972ddf0 apply signature in productbuild, not pkgbuild
Merge to release branch.
(cherry picked from commit 6f94215f92)
2013-12-19 00:19:33 -05:00
Matthew Flatt
d08ff9c217 make installers: fixes for parallel mode and timeouts
The `parallel` form in a site configuration was working only
with leaf machines; now, it should be fixed for `sequential`
nested under `parallel`.

Also, fix timeout handling and reporting of failures.
(cherry picked from commit 266e4ab119)
2013-12-19 00:19:28 -05:00
Jay McCarthy
9d6e629a2a Fix test cases for close?
(cherry picked from commit 4dd594a291)
2013-12-18 19:55:42 -05:00
John Clements
2a0fd1ae42 oops 6.0 not 5.6, silly rabbit.
Please merge to 6.0 release
(cherry picked from commit ed0a5ae45e)
2013-12-18 19:55:33 -05:00
John Clements
91d75ef326 updated stepper HISTORY.
Please merge to 6.0 release
(cherry picked from commit e3efaf5f05)
2013-12-18 19:55:29 -05:00
Jay McCarthy
db0035e89d Fix PR14247
Add "Connection: close" to requests that we know will end after one
request.

Read upto 1K bytes at a time on requests rather than just 1 at a time.

Note: edited to remove abandon -> close changes
(cherry picked from commit 87135b110b)
2013-12-18 19:54:21 -05:00
Jay McCarthy
429bbd635e Adding user-agent as some services require
(cherry picked from commit 8ca8764bb3)
2013-12-18 19:48:52 -05:00
Stephen Bloch
1a674d2ffe Corrected expected error message to match actual error message. Now
passes "raco test".
(cherry picked from commit 97ee349046)
2013-12-17 23:33:25 -05:00
Stephen Bloch
ae53738402 Re-added error checks in the color=? function, so error message comes
from the function you actually called, rather than an internal.
(cherry picked from commit ca98f85c39)
2013-12-17 23:33:19 -05:00
Ryan Culpepper
edf479072e Revert "fix reducing arity or chaperoning keyword-valued prop:procedure"
This reverts commit 5bae9773aa.
2013-12-17 23:25:15 -05:00
Ryan Culpepper
0854219e80 adjust version number to indicate release candidate 2013-12-17 22:57:06 -05:00
Matthew Flatt
f3f23e4c3f raco setup: more on docindex database creation
Commit 6ff7359212 didn't create a directory that might be missing
before trying to create a file in the directory.

Merge bug fix to v6.0 (pending review)
(cherry picked from commit 4fc71002e8)
2013-12-17 16:45:41 -05:00
Matthew Flatt
9b9d35b290 MzCOM: fix versioning and collection path
Merge bug fix to v6.0 (pending review)
(cherry picked from commit a9f64f4615)
2013-12-16 23:48:46 -05:00
Matthew Flatt
c37c9f7fe7 raco setup: create docindex database before trying to read
Commit 0f80c71fab propagates read-only mode so that a documentation
database is not created for read operations, but `raco setup` (with
documentation-index support) attempts to read the database before
writing to it. Change `raco setup` to make sure the database
exists if a later write operation is expected to create it.

Merge bug fix to v6.0 (pending review)
(cherry picked from commit 6ff7359212)
2013-12-16 23:42:10 -05:00
Vincent St-Amour
ea9630ba4c Update Typed Racket history.
Please merge to 6.0.
(cherry picked from commit ac480e7535)
2013-12-16 23:42:06 -05:00
Matthew Flatt
e99710c7af setup/doc-db: propagate read-only flag for database connection
Fixes a problem installation Planet packages under Windows,
for example, where attempting to open a read-only file in
write mode triggers an extremely slow result.

Merge bug fix to v6.0 (pending review)
(cherry picked from commit 0f80c71fab)
2013-12-16 23:41:59 -05:00
Matthew Flatt
e66160e342 setup/setup: fix #:make-doc-index? default
Making the default match the docs fixes Planet package installation,
which otherwise tries to rebuild the index too frequently.

Merge bug fix to v6.0 (pending review)
(cherry picked from commit ec5157d78f)
2013-12-16 23:41:54 -05:00
Matthew Flatt
cdcdd3cdd9 fixes for keyboard navigation and tab panels
The geometry used for keyboard navigation and tab-panel% instances
was wrong. That problem, in turn, exposed a potential infinite
loop in the function that computes the next tab position (when
geometries overlap). Fix both.

Closes PR 14255

Merge to v6.0
(cherry picked from commit 37dd4fc2b0)
2013-12-16 23:41:49 -05:00
Eric Dobson
2407e0dcf2 Fix broken TR code.
(cherry picked from commit ef6af9c47c)
2013-12-16 23:41:44 -05:00
Eric Dobson
4d9b1732ee Make top interaction commands lazily loaded.
(cherry picked from commit 5d4cb8c08b)
2013-12-16 23:41:36 -05:00
Matthew Flatt
2bfa2f6d2a fix incorrect propagation of name via syntax-local-name
Merge to v6.0
(cherry picked from commit 4abe7d2657)
2013-12-15 12:44:13 -05:00
Matthew Flatt
1d69cedee5 fix for-label import of a submodule
Closes PR 14155

Merge to v6.0
(cherry picked from commit 80d0b2fcc3)
2013-12-15 12:44:09 -05:00
Asumu Takikawa
69f7e78e6d Quote the identifier in the declaration error msg
Please merge to v6.0
(cherry picked from commit 34c5b32746)
2013-12-15 12:43:48 -05:00
Asumu Takikawa
a7d988b897 Better error msg for annotations on unbound ids
Closes PR 14246

Please merge to v6.0
(cherry picked from commit f1d35f6ec9)
2013-12-15 12:43:43 -05:00
Matthew Flatt
5bae9773aa fix reducing arity or chaperoning keyword-valued prop:procedure
Fix various problems, including a bad result from `procedure-arity`
and problems with chaperones and arity error messages when a
structure's `prop:procedure` value is a keyword-accepting procedure.

Merge to v6.0
(cherry picked from commit 0b48e883da)
2013-12-15 12:43:36 -05:00
Eric Dobson
b9c81b6906 Add types to hasheq and hasheqv.
Merge to 6.0.
(cherry picked from commit 48a16b2b8a)
2013-12-15 12:43:32 -05:00
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
Matthew Flatt
d3990e3745 fix an error message
Merge to v6.0
(cherry picked from commit d007ec3e56)
2013-11-26 22:48:07 -05:00
Asumu Takikawa
e14504de3a GUI doc fixes
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)
2013-11-26 22:47:32 -05:00
Asumu Takikawa
2e202f4d28 Minor formatting fix for ae641cdfc5
Please merge to v6.0
(cherry picked from commit f5177177bc)
2013-11-26 22:47:26 -05:00
Asumu Takikawa
5c6a44362f Add an example paper for scribble/lncs docs
Please merge to v6.0
(cherry picked from commit ae641cdfc5)
2013-11-26 22:47:20 -05:00
Ryan Culpepper
9492cd5400 fix ODBC numeric/decimal param precision and scale
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)
2013-11-26 22:47:13 -05:00
Matthew Flatt
d13dd0b351 fix problems with text-mode ports on Windows
Closes PR 14198

Merge to v6.0
(cherry picked from commit 335177f1bc)
2013-11-26 22:47:06 -05:00
Asumu Takikawa
d6cecaaaad Fix format string for GC debug log message
Closes PR 13998

Please merge to v6.0
(cherry picked from commit 289a19e237)
2013-11-26 22:47:01 -05:00
Juan Francisco Cantero Hurtado
a5ba67150f racket-doc/scribblings/raco/config.scrbl: typo
(cherry picked from commit b36d072e1b)
2013-11-26 22:46:52 -05:00
Matthias Felleisen
050e48251c forgot new net-lib dependency, please push into 6.0
(cherry picked from commit f1a0be9431)
2013-11-26 22:46:42 -05:00
Matthias Felleisen
39270f8b06 fixed bug report from Norman on header for XHTML files; please add to 6.0
(cherry picked from commit bebf0424a9)
2013-11-26 22:46:14 -05:00
Matthew Flatt
36d31cdfb6 make pkg tests work more by setting PATH
Merge to v6.0
(cherry picked from commit b354a0dd08)
2013-11-26 22:45:42 -05:00
Matthew Flatt
1776a1e06d repair to package manager GUI
Thanks to Odegov Evgeny for the patch

Closes PR 14196
(cherry picked from commit 6eb94da75f)
2013-11-26 22:45:36 -05:00
Matthew Flatt
fd951ab2ca fix handling of choice evt returned by a guard evt
Closes PR 14195

Merge to v6.0
(cherry picked from commit 90388d1549)
2013-11-26 22:45:29 -05:00
Matthew Flatt
84bed460dc fix #:make-docs? argument of setup
Closes PR 14193

Merge to v6.0
(cherry picked from commit f4ed053620)
2013-11-26 22:45:22 -05:00
Matthew Flatt
b63bdeb75d fix doc omissions for filesystem-change-evt
Closes PR 14191

Merge to v6.0
(cherry picked from commit 846df13567)
2013-11-26 22:45:15 -05:00
Robby Findler
b9fbadc907 the color-blindness color schemes are not yet ready for release
Please merge to the release branch
(cherry picked from commit 330d715ea7)
2013-11-26 22:44:57 -05:00
Robby Findler
ed7db2c435 fix grammar and spelling
please include in the release branch
(cherry picked from commit ba6a8eb5dd)
2013-11-26 22:44:49 -05:00
Robby Findler
1271c8f5a8 improve hash/c contracts
closes PR 14189

please include on the release branch
(cherry picked from commit e78708aae9)
2013-11-26 22:44:26 -05:00
Matthew Flatt
979e962f27 reflow release notes for v6.0
Merge to v6.0
(cherry picked from commit f1d561ac46)
2013-11-26 22:44:17 -05:00
Matthew Flatt
4455c0a431 fix README instructions on raco pkg config --set name
Merge to v6.0
(cherry picked from commit dc27bc5717)
2013-11-26 22:44:12 -05:00
Matthew Flatt
e4e110b022 fix raco config --set
Merge to v6.0
(cherry picked from commit 75263e6664)
2013-11-26 22:44:05 -05:00
Robby Findler
7ed79cf14a fix line breaking for text/font
please include on the 6.0 release branch
(cherry picked from commit 85a2337fe9)
2013-11-26 22:43:57 -05:00
Matthew Flatt
83347f1533 racket/gui cocoa: fix border of combo-field% for recent Mac OS X
Merge to v6.0
(cherry picked from commit e0026f5de4)
2013-11-26 22:43:41 -05:00
Matthew Flatt
c044d0097a racket/gui cocoa: fix crashing bug with combo-field%
Merge to v6.0
(cherry picked from commit 9a120f6acc)
2013-11-26 22:43:26 -05:00
Robby Findler
687ed81d29 fix focus
please include in the 6.0 release
(cherry picked from commit 199b060058)
2013-11-26 22:43:19 -05:00
Matthew Flatt
44c29dfb6c define-runtime-path: add support for version search to 'so form
Merge to v6.0
(cherry picked from commit c7d4b7d388)
2013-11-26 22:42:42 -05:00
Matthew Flatt
4f4e65e194 make installers: install required packages, first
This change should fix a problem with the Mac OS X PPC build,
where the "libsqlite3" shared library needs to be installed
early. The same strategy is already used for Windows.

Merge to v6.0
(cherry picked from commit 7b89225001)
2013-11-26 22:42:33 -05:00
Matthew Flatt
d50c50457b fix/expand/improve docs on "config.rktd"
Merge to v6.0
(cherry picked from commit 8aa5f4a83a)
2013-11-26 22:42:25 -05:00
Asumu Takikawa
4092df1cca Improve type of negate
Now for functions with simple filters, it'll negate the
filters so that, e.g., (negate string?) can be used with
occurrence typing.

Please merge to v6.0
(cherry picked from commit 0f8ee73814)
2013-11-26 22:42:18 -05:00
Asumu Takikawa
698b632cad Caveat section on macros/phase-1+ code in TR
Please merge to v6.0
(cherry picked from commit d29256eeb2)
2013-11-26 22:42:00 -05:00
Asumu Takikawa
cb7cdc5b3f TR: Prevent internal error on begin-for-syntax
Closes PR 13878

Please merge to v6.0
(cherry picked from commit 9da8203c9c)
2013-11-26 22:41:51 -05:00
Matthew Flatt
8f1444f20c configure: add fallback when checking for ar
(cherry picked from commit 9213d1aa79)
2013-11-26 22:41:44 -05:00
Matthew Flatt
addcc8bcf3 raco setup: fix a read-only use on the docindex database
Merge to v6.0
(cherry picked from commit 79f3fd5e64)
2013-11-26 22:41:29 -05:00
Eric Dobson
1e792fbd6d Improve comments and change name for unboxable-funs.
(cherry picked from commit 2fd6a05d46)
2013-11-26 22:35:37 -05:00
Eric Dobson
96accbd554 Move more call-site optimization structure into the syntax class.
(cherry picked from commit 69f690f4b9)
2013-11-26 22:35:24 -05:00
Eric Dobson
80756eb86f Make unboxed let-bindings only log their clause.
(cherry picked from commit af6bc6e8e2)
2013-11-26 22:34:56 -05:00
Eric Dobson
6828b508ee Make new syntax class for all clauses.
(cherry picked from commit 74ce1ea748)
2013-11-26 22:34:48 -05:00
Eric Dobson
d48f6b7b11 Make standard syntax class so that clauses are in order.
(cherry picked from commit 3681fe8105)
2013-11-26 22:34:04 -05:00
Eric Dobson
1d355a4d6c Add more syntax classes for let-clauses.
(cherry picked from commit 6d84fe3cf2)
2013-11-26 22:33:57 -05:00
Eric Dobson
b0c32f1e42 Add benchmarks to TR test dependencies.
(cherry picked from commit 3e37e94000)
2013-11-26 22:33:47 -05:00
Eric Dobson
53d8b74930 Correctly typecheck all subelements of vector literals.
Closes PR 14184.
(cherry picked from commit cbe1b53279)
2013-11-26 22:32:48 -05:00
Matthew Flatt
3a09e8fa0a raco pkg config: show all by default
Also, better help, checking, and error reporting on arguments.

Related to PR 14180

Merge to v6.0
(cherry picked from commit 53ce3b7b96)
2013-11-26 22:32:37 -05:00
Matthew Flatt
86a64e95d7 raco pkg {install,update,...}: propagate setup exit code
Also, when `raco setup` reports an error, print a message to
say that the package install/update/... completed anyway.

Merge to v6.0
(cherry picked from commit ecaa6576a3)
2013-11-26 22:32:26 -05:00
Asumu Takikawa
3e7c9bcadf Fix provide: when it's after the definition
Closes PR 11172

Please merge into 6.0
(cherry picked from commit 7e1b3c306d)
2013-11-26 22:32:19 -05:00
Asumu Takikawa
f2129e105f Simplify fix for PR 14030
Please merge into 6.0
(cherry picked from commit 6a787c963f)
2013-11-26 22:32:11 -05:00
Asumu Takikawa
b3e3acb85b Fix make-predicate at the top-level
This solves the immediate problem, but more generally the
handling of ignored syntax at the top-level seems very fishy.
There is a complicated protocol involving the top-level
type-checker returning #<void> for cases with no obvious
return type, but it's unclear if it actually works. That
code in tc-toplevel.rkt should be revamped in the future.

Closes PR 14030

Please merge into 6.0
(cherry picked from commit f292a9c0f2)
2013-11-26 22:32:01 -05:00
Asumu Takikawa
fff9125165 Add types for remaining in-foo functions
Also fixed `in-directory` type

Please merge into 6.0
(cherry picked from commit 249427afb4)
2013-11-26 22:31:52 -05:00
Ryan Culpepper
cdf8bf81fd fix alpha version string 2013-11-25 11:33:27 -05:00
Ryan Culpepper
d3665c2cdb Alpha version number for the v6.0 release 2013-11-20 14:13:56 -05:00
Eli Barzilay
ded0c4a847 v5.3.6 installers info 2013-08-10 08:46:16 -04:00
Eli Barzilay
686d861176 New Racket version 5.3.6. 2013-08-09 14:00:18 -04:00
Eli Barzilay
1ca881e631 Update version number for the v5.3.6 release 2013-08-09 13:28:18 -04:00
Ryan Culpepper
e7c45902db added checks to run-tests
Related to PR 13936.
(cherry picked from commit a26101c63f)
2013-07-30 13:04:20 -04:00
Ryan Culpepper
35df1e2654 Revert "Add contract for run-tests."
Related to PR 13936.

This reverts commit 032e1ebf55.
2013-07-30 12:01:49 -04:00
John Clements
25aed0721a Oops don't mention file reorg in stepper HISTORY.txt
Please merge to 5.3.6 release
(cherry picked from commit beae23fea2)
2013-07-26 15:29:30 -04:00
John Clements
d83350bc2a updated HISTORY
Merge to 5.3.6 release.
(cherry picked from commit b23d8ed2b4)
2013-07-26 15:29:14 -04:00
Eli Barzilay
d67b658fc2 Explain how to build the pages.
(cherry picked from commit 46db1d2d64)
2013-07-25 15:38:58 -04:00
Eli Barzilay
43c74523b1 Delay running git, to avoid a premature warning about $GIT_DIR.
(cherry picked from commit 41c0156fe3)
2013-07-25 15:38:24 -04:00
Eli Barzilay
a03c549c0e Allow multiple extra files.
(cherry picked from commit 8b7a9c6b9e)
2013-07-25 15:36:33 -04:00
Eli Barzilay
32ca207ea0 Improve some texts.
(cherry picked from commit 90b0f262cd)
2013-07-25 15:36:21 -04:00
Eli Barzilay
2c6b79b8d8 Fix the filename of the Ubuntu build.
The actual file *is* an x86_64 build.

(cherry picked from commit 3440e29d48)
2013-07-25 15:35:40 -04:00
Ryan Culpepper
d79892d3c7 db: temporary workaround for SSL one-record-per-write issue
(cherry picked from commit ef3dff1cec)
2013-07-25 15:13:38 -04:00
Matthew Flatt
055512590f place: fix finalizaiton of place channels stuck in a GC'ed channel
Lack of ordering on finalization requires some care for explicit
clean-up actions in a finalizer.

Back-port of commit a5f26013ab.
2013-07-25 15:10:29 -04:00
Vincent St-Amour
129c5ed210 Fix test for TR's for source locations.
(cherry picked from commit ab5075bc76)
2013-07-24 13:12:10 -04:00
Vincent St-Amour
ac4140884f Fix broken test, again.
(cherry picked from commit 0e7940ab49)
2013-07-24 13:12:06 -04:00
Vincent St-Amour
b23fc34c24 Fix broken test.
(cherry picked from commit 069ff59a4b)
2013-07-24 13:12:01 -04:00
Eli Barzilay
ec2acb8bc0 Further explain silent acceptance of unencoded characters.
Also highlight the two tests that use that.
(cherry picked from commit 8d55b892ec)
2013-07-22 09:53:01 -04:00
Eli Barzilay
cc655dc13b Simplify decoding code into one `cond'.
(It's likely to get written in some better way, for example, avoid the
extra work for simple strings.)
(cherry picked from commit 210c71d91c)
2013-07-22 09:52:52 -04:00
Sam Tobin-Hochstadt
eb9b3e109a Fix wide-character decoding in URLs.
(cherry picked from commit a4e529a816)
2013-07-22 09:51:56 -04:00
Eli Barzilay
11debde2f3 Misc improvements to `net/uri-codec'.
Fix a bug in encoding strings with characters between 128 and 256, avoid
extra bindings for conversion vectors; remove calling `noels-tests' from
`main' since it's already called from `tests', etc.
(cherry picked from commit c2280ed8dc)

Conflicts:
	collects/net/uri-codec.rkt
2013-07-22 09:51:26 -04:00
Eli Barzilay
63e86b8e74 Get rid of the `#:function' keyword.
These problems are always dealt with via an internal function instead of
making the name argument part of the visible API.
(cherry picked from commit f90fe4c598)
2013-07-22 09:47:49 -04:00
Matthew Flatt
9c701c0385 libpng adjustment
Keep error if no "libpng" is found.
(cherry picked from commit f97a7cf177)
2013-07-22 09:22:03 -04:00
Matthew Flatt
c53083da3f support libpng16
(cherry picked from commit 5629a6156a)
2013-07-22 09:21:59 -04:00
Matthew Flatt
0c3cd96d23 racket/draw: support libjpeg v9
Closes PR 13721
(cherry picked from commit 158997cde7)
2013-07-22 09:21:55 -04:00
Matthew Flatt
a3a5a4e2e2 fix GC bug in FFI
Replicate e3eed89 for v5.3.6.
2013-07-17 13:42:31 -04:00
Matthew Flatt
e3e65a9cdf GC bug fix
Replicate 4266e60 for the v5.3.6 release.

This repair omits one part of the original commit,
which is the `gc->dumping_avoid_collection' test
in check_used_against_max(). It's unlikely to matter,
and I'm not sure that check is correct without some
additional changes that seem too complex to try to
include the release.
2013-07-17 13:42:31 -04:00
Eli Barzilay
0ef2c645a5 New Racket version 5.3.5.900. 2013-07-13 21:29:07 -04:00
Vincent St-Amour
5ab2529768 Fix race condition in `delay/thread'.
There's mutual dependence between promises and their threads. This may
cause a thread to start running before its promise is fully initialized,
in which case it will be `#<undefined>', which causes errors down the road.

This was the cause of an intermittent failure in the TR test harness.
(cherry picked from commit 0690ccd90f)
2013-07-08 10:34:14 -04:00
Sam Tobin-Hochstadt
ac2c4401f3 Unbreak json tests.
(cherry picked from commit 9b29dcb9a7)
2013-07-08 10:34:14 -04:00
Sam Tobin-Hochstadt
7ec1625464 Fix function names in JSON error messages.
(cherry picked from commit f25971ada1)
2013-07-08 10:34:14 -04:00
Asumu Takikawa
c4b47ffc2e Make struct: work at the REPL
Closes PR 11669

(cherry picked from commit ebc6a6618e)
2013-07-08 10:34:14 -04:00
Asumu Takikawa
d6acbce609 Fix test for 29bce22d0b
Oddly, this test succeeded locally even with the
wrong exception expression. DrDr caught it though.
(cherry picked from commit ec80b7d01c)
2013-07-08 10:34:14 -04:00
Asumu Takikawa
cf8f806db7 Fix internal error for vector type-checking
If multiple values were expected and not provided
when type-checking a vector expression, TR would throw
an internal error.

Thanks to Pierpaolo for the report!

(cherry picked from commit 29bce22d0b)
2013-07-08 10:34:13 -04:00
Eric Dobson
c4c85ce9c8 Use in-syntax instead of in-list/syntax->list.
(cherry picked from commit 83f38f4d3b)
2013-07-08 10:34:13 -04:00
Eric Dobson
599f46ad32 Minor whitespace fix.
(cherry picked from commit b9b1eb14ba)
2013-07-08 10:34:13 -04:00
Asumu Takikawa
dade2004e3 Remove debugging instrumentation
(cherry picked from commit ec8e126a90)
2013-07-08 10:34:13 -04:00
Eric Dobson
8b1c643bca Consolidate the rest of the syntax properties in TR.
(cherry picked from commit 4310f04eaf)
2013-07-08 10:34:13 -04:00
Eric Dobson
7383a685e3 Centralized typechecker:ignore properties.
(cherry picked from commit a325e38046)
2013-07-08 10:34:13 -04:00
Eric Dobson
a945181907 Centralize the definition of the plambda syntax property.
(cherry picked from commit df07151cb9)
2013-07-08 10:34:13 -04:00
Asumu Takikawa
f0380177ca Refactor to reduce right-ward drift
(cherry picked from commit e0cff038c8)
2013-07-08 10:34:13 -04:00
Asumu Takikawa
27afae3541 Fix types for some plot parameters
Thanks to Neil for providing test cases
(cherry picked from commit 2f59f1027f)
2013-07-08 10:34:13 -04:00
Asumu Takikawa
a18bf85b4f Only generate poly contracts for functions
Closes PR 13815
(cherry picked from commit bafaf52056)
2013-07-08 10:34:12 -04:00
Asumu Takikawa
90b149dc46 Fix union merging
Trying to merge (and thus resolve) applications of struct
types would cause infinite looping on type instantiation
if the struct type used both a union and recursion.

Closes PR 13821
(cherry picked from commit c8e281a80e)
2013-07-08 10:34:12 -04:00
Asumu Takikawa
05224c6cdc Add match*? to unstable/match
(cherry picked from commit 12e5bc645b)
2013-07-08 10:34:12 -04:00
Vincent St-Amour
a45716f16e Fix type of gensym.
(cherry picked from commit c070aaecda)
2013-07-08 10:34:12 -04:00
Vincent St-Amour
fe96ba1516 Fix unsound unary fixnum subtraction optimization.
Closes PR13826.
(cherry picked from commit 93d4a5d426)
2013-07-08 10:34:12 -04:00
Vincent St-Amour
4e360f8bc3 Fix unsound fxquotient optimization.
Closes PR13827.
(cherry picked from commit 5e30416110)
2013-07-08 10:34:12 -04:00
Eric Dobson
d04ee6125a Make for loops in TR use an annotation when applicable.
(cherry picked from commit f6050d5587)
2013-07-08 10:34:12 -04:00
Sam Tobin-Hochstadt
d5c62424f8 Fix types of system etc for new keyword arguments.
This requires extending the ->optkey type constructor to support rest
arguments, and fixing the keyword function type generation code.

Testing is still limited because there's no parsing for such types.
That will be handled in a later commit.
(cherry picked from commit 3fd9df03f7)
2013-07-08 10:34:12 -04:00
Eric Dobson
0503bcd7c6 Move tc-literal to seperate file, as it doesn't belong in tc-expr.
(cherry picked from commit adbc516edf)
2013-07-08 10:34:11 -04:00
Sam Tobin-Hochstadt
d5f288e0c2 Register scoped type variables for internal def. annotations.
Closes PR 13793.
(cherry picked from commit 499bcefa1d)
2013-07-08 10:34:11 -04:00
Vincent St-Amour
c1dd497ba2 Don't splice in vector creation when optimizing vector-length.
Closes PR13788.
(cherry picked from commit d9264525bd)
2013-07-08 10:34:11 -04:00
Asumu Takikawa
11f7d8b452 Fix broken internal error
(cherry picked from commit e6503c5df6)
2013-07-08 10:34:11 -04:00
Eric Dobson
4f0af0de72 Make scoped type vars work only for explict Alls and annotations.
Solves major issue disscussed on PR 13586.
Closes PR 13622.
Solves issue when typechecking lambdas with types like (All (a) Any).
Closes PR 13596.
Closes PR 13539.
Closes PR 13703.
(cherry picked from commit 01a88f8db1)
2013-07-08 10:34:11 -04:00
Eric Dobson
ef66cb0ca7 Massive cleanup of requriements in TR.
(cherry picked from commit f332affa5a)
2013-07-08 10:34:11 -04:00
Eric Dobson
bd6baada71 Clean up lam-result.
Make drest a list instead of a pair, replace an int-err with a match error
which has source location, and remove static name for rest argument in error
case.
(cherry picked from commit 4fcda73adf)
2013-07-08 10:34:11 -04:00
Eric Dobson
4bae399d78 Cleanup tc-lambda-unit.
(cherry picked from commit 2a94ca9030)
2013-07-08 10:34:11 -04:00
Asumu Takikawa
a668c5d78b Add comments, purpose statements, and contracts
(cherry picked from commit bb2ecbf8cb)
2013-07-08 10:34:10 -04:00
Asumu Takikawa
f753e1b63f Document :type better
(cherry picked from commit a40a1341f6)
2013-07-08 10:34:10 -04:00
Asumu Takikawa
c2f5b31e96 Expend printing fuel in all branches
This makes (:type (Number -> Integer)) produce
(Number -> Integer) instead of expanding at the first name.
Combined with expansion cues, this makes it easier for users
to expand the relevant parts of types.
(cherry picked from commit 34aeaee672)
2013-07-08 10:34:10 -04:00
Asumu Takikawa
664a370a1b Cue user about unexpanded type aliases
This tells the user that more type aliases are
available for expansion. For example, (Listof Number)
has the alias Number still unexpanded into the union
that it represents.
(cherry picked from commit 19c5d3eaad)
2013-07-08 10:34:10 -04:00
Asumu Takikawa
6e94295c96 Add a #:verbose option to :type.
This prints the old way, expanding all aliases inside the type.
(cherry picked from commit 1f5b262f6d)
2013-07-08 10:34:10 -04:00
Asumu Takikawa
b35e0fd138 Cut off type printing with :type at one level
Makes types print nicer with :type in most cases.
Previously, the printer expanded type aliases as much
as possible. Now, it defaults to a single level of expansion.
A later commit adds a #:verbose option to show the entire
type.
(cherry picked from commit fd33584b6f)
2013-07-08 10:34:10 -04:00
Asumu Takikawa
b9a33acc66 Refactor and add purpose statements/contracts
(cherry picked from commit 64e1b68c8d)
2013-07-08 10:34:10 -04:00
Asumu Takikawa
691c156777 Fix parsing of (Struct ...) types.
This was a regression that appeared in 5.3.1
(cherry picked from commit 3eb4a75613)
2013-07-08 10:34:10 -04:00
Asumu Takikawa
4ccb8bf185 Fix regression for (begin) and simplify
(cherry picked from commit 23d39a9968)
2013-07-08 10:34:10 -04:00
Asumu Takikawa
d3a949a266 Avoid doing the 2nd pass twice at the top-level
Thanks to Eric for pointing this out.
(cherry picked from commit d7f29d3636)
2013-07-08 10:34:09 -04:00
Asumu Takikawa
ca2dd29aa6 Fix tc-toplevel-form for ignored syntax
(cherry picked from commit 2c042998b9)
2013-07-08 10:34:09 -04:00
Asumu Takikawa
fc8f39f7aa Make require/typed work at top-level
Closes PR 13747
(cherry picked from commit 67beb11cf6)
2013-07-08 10:34:09 -04:00
Vincent St-Amour
f042be8553 Fix source locations for TR for.
(cherry picked from commit 8638a661cc)
2013-07-08 10:34:09 -04:00
Asumu Takikawa
f59f57d444 Make define-type work at top-level
Closes PR 12913
(cherry picked from commit f3e6276f9b)
2013-07-08 10:34:09 -04:00
Vincent St-Amour
9c97902361 Fix type of sinh.
Found using random testing.
(cherry picked from commit 5de08f06b4)
2013-07-08 10:34:09 -04:00
Sam Tobin-Hochstadt
20f546110b Refactor subtype.rkt not to use exceptions.
Matthew suggests that using exceptions for failure
in the implementation of `subtype` is a performance
problem.  This commit removes all use of exceptions
for failure in subtype.rkt, replacing it with the
standard Racket #f/value option.

Extensive use is made of the `subtype-seq` form,
which is basically do-notation for the subtyping
monad.
(cherry picked from commit a6f110893f)
2013-07-08 10:34:09 -04:00
Eric Dobson
8483d0cd6f Minor cleanup in subtype.rkt
(cherry picked from commit b9c4582746)
2013-07-08 10:34:09 -04:00
Vincent St-Amour
bc34a73cd6 Fix type of tanh.
Found using random testing.
(cherry picked from commit 89f9b860cd)
2013-07-08 10:34:08 -04:00
Asumu Takikawa
07fca0974d Fix printing of tc-any-results in type errors.
In the long run, these error messages should get
simplified so that this printing is not necessary.

Closes PR 13577 and PR 13526
(cherry picked from commit e53b0858c3)
2013-07-08 10:34:08 -04:00
Asumu Takikawa
def0ec7c01 Fix docs for Opaque
Closes PR 13531
(cherry picked from commit 7c96321cd4)
2013-07-08 10:34:08 -04:00
Asumu Takikawa
f38129c741 Clean up struct: and disallow unsupported options
Related to PR 13562
(cherry picked from commit c3b80bee41)
2013-07-08 10:34:08 -04:00
Eric Dobson
a9868eece1 Fix require/untyped-contract to generate better names in contracts.
Related to PR 13716.
(cherry picked from commit 9c71dafb63)
2013-07-08 10:34:08 -04:00
Eric Dobson
a901650bab Fix contract generation for mutable structures.
(cherry picked from commit de96643fbe)
2013-07-08 10:34:08 -04:00
Eric Dobson
64d66d3b9a Make structs initialize to constant instead of covariant.
(cherry picked from commit 7735aa5799)
2013-07-08 10:34:08 -04:00
Eric Dobson
aa025b9c56 Cleanup names-of-struct
(cherry picked from commit 154ab046fe)
2013-07-08 10:34:08 -04:00
Vincent St-Amour
d9b680dbf5 Document VectorTop and HashTableTop.
(cherry picked from commit 457ca0982f)
2013-07-08 10:34:08 -04:00
Vincent St-Amour
b89aedb992 Allow read-only hash operations to accept HashTop.
Closes PR13710.
(cherry picked from commit e6ff57f3bd)
2013-07-08 10:34:07 -04:00
Eric Dobson
8d78a2a152 Make type->contract correctly respect variance.
Track whether we are protecting values from the typed side and/or the
untyped side.

Closes PR 13662.
Closes PR 13663.
Closes PR 13665.
(cherry picked from commit b5b13222c8)
2013-07-08 10:34:07 -04:00
Eric Dobson
67590cade8 Allow requiring functions with filters in contravariant positions.
(cherry picked from commit dbcb1414da)
2013-07-08 10:34:07 -04:00
Eric Dobson
9411b01e3f Switch out? to from-typed? as it has the same meaning.
(cherry picked from commit 03e1ffda3e)
2013-07-08 10:34:07 -04:00
Eric Dobson
52f892a5fd Fix subtyping of (ListDots t 'a) <: (Listof t).
Closes PR 13636.
(cherry picked from commit 6898a7c880)
2013-07-08 10:34:07 -04:00
Eric Dobson
d426867956 Fix expected type when typechecking map
(cherry picked from commit 863ac05332)
2013-07-08 10:34:07 -04:00
Eric Dobson
5345c1f7d3 Don't let map introduce type variables.
Closes PR 13581.
(cherry picked from commit 67dd956b6a)
2013-07-08 10:34:07 -04:00
Eric Dobson
e2f724fcd3 Use information of application site, to reduce possible arities.
Closes PR12905.
(cherry picked from commit 55aba088de)
2013-07-08 10:34:07 -04:00
Eric Dobson
15b1fa5486 Small TR fixes.
(cherry picked from commit a94c449ff1)
2013-07-08 10:34:07 -04:00
Eric Dobson
ffe487e324 Add polydots to all things that support it.
Closes PR 13612.
Closes PR 13584.
(cherry picked from commit 2e2ef0b57a)
2013-07-08 10:34:06 -04:00
Eric Dobson
eff170b33e Correctly protect Procedures in TR.
Closes PR 13664.
(cherry picked from commit fc36c12ce4)
2013-07-08 10:34:06 -04:00
Sam Tobin-Hochstadt
3590b9681e Add #:omit-define-syntaxes to define-type.
(cherry picked from commit ecf02a32b4)
2013-07-08 10:34:06 -04:00
Eric Dobson
5f34da6692 Terminate typechecking on cyclic lists.
Closes PR 13687.
(cherry picked from commit b8ab1334d9)
2013-07-08 10:34:06 -04:00
Matthew Flatt
161986fc56 fix GC bug
GC during allocation of a pair, weak box, ephemeron, or
weak array went wrong if the GC-notification callback
allocated any of those kinds of things.

(Bug found by running tests in GC-stress mode.)
(cherry picked from commit 49fbca5b18)
2013-07-08 10:34:06 -04:00
Ryan Culpepper
ce410d7405 fix unstable/socket loading in windows
closes PR 13743
(cherry picked from commit 26545f29b9)
2013-07-08 10:34:06 -04:00
Robby Findler
a98a3ab7a6 release notes 2013-07-08 10:34:06 -04:00
Robby Findler
8b32934d68 redo square-bracket related bug fixes from master 2013-07-08 10:34:06 -04:00
Ryan Culpepper
760affdbe9 Alpha version number for the v5.3.6 release 2013-07-08 10:33:31 -04:00
Eli Barzilay
722dc826b8 v5.3.5 installers info
(cherry picked from commit 61b509d39e)
2013-06-18 07:00:09 -04:00
Matthias Felleisen
444413ad36 typos in source documentation; thanks Laurent, OEV
(cherry picked from commit 2de0c7270c)
2013-06-17 18:43:13 -04:00
Eli Barzilay
a8f00fef22 Drop todo file.
(cherry picked from commit c37ce33baa)
2013-06-16 22:00:54 -04:00
Eli Barzilay
e6912bd39c Fix inclusion of "keep-dirs.rktd".
The file should be considered as source even though it's in the "doc"
directory.

(cherry picked from commit 0397518539)
2013-06-16 06:17:28 -04:00
Eli Barzilay
3c9428e434 Updated sizes of repackaged source distributions.
(cherry picked from commit 1085045973)
2013-06-15 22:53:10 -04:00
Eli Barzilay
0c354d1735 New Racket version 5.3.5. 2013-06-15 17:11:06 -04:00
Eli Barzilay
649ab261ca Ubuntu machines got upgraded.
(cherry picked from commit ff70e036a2)
2013-06-15 17:08:49 -04:00
Eli Barzilay
f958c262cd Distribute realm.
(cherry picked from commit 0b50080cd1)
2013-06-15 16:42:29 -04:00
Eli Barzilay
0318ad125d Switch build to the new machine.
(cherry picked from commit ed1ebce60a)
2013-06-15 16:42:29 -04:00
Eli Barzilay
46ae2ad04b Version number for the v5.3.5 release 2013-06-15 16:37:29 -04:00
Eli Barzilay
351267cd54 Merge branch 'stable' into release 2013-05-08 12:22:47 -04:00
Eli Barzilay
43d5976bd0 v5.3.4 installers info
(cherry picked from commit e85b9d523f)
2013-05-08 12:19:20 -04:00
Eli Barzilay
cb3fe56005 New Racket version 5.3.4. 2013-05-07 17:25:33 -04:00
Ryan Culpepper
d047c01bfa Update version number for the v5.3.4 release 2013-05-07 16:45:48 -04:00
Eli Barzilay
4c8a6acff0 New Racket version 5.3.3.901. 2013-04-29 23:40:28 -04:00
Ryan Culpepper
2b9c7c5357 fix version number and cstartup.inc for compiler change in prev commit 2013-04-28 14:37:55 -04:00
Matthew Flatt
4b9dfabcb3 fix bytecode compiler safefor-space, tigher bytecode validation
The safe-for-space pass could add clearing operations on "typed"
stack positions, which are known to contain a fixnum, flonum, or
extflonum. Non-clearing references, however, were not annotated to
indicate that clearing references were present, since clearing is
not expected on typed positions.

Along the lines of not expecting clearing, the bytecode validator's
encoding of the stack doesn't accomodate both "has a type" and "claims
never to be cleared", so it couldn't detect the bytecode compiler
bug. (Also, this problem didn't show up in the HOSC paper's model of
the validator, because the model pre-dates type tracking.)

Fix the bytecode compiler's space-safety pass so that it never inserts
clearing operations for typed stack positions. Then, the validator can
simply reject any attempt to clear a typed position.

Also, annotate applications generated by lifting as safe-for-space
tail calls.

Merge to v5.3.4
(cherry picked from commit 7ad1ddab64)

Conflicts:
	src/racket/src/cstartup.inc
	src/racket/src/schvers.h
2013-04-28 14:03:37 -04:00
Matthew Flatt
621abb6031 racket/draw: fix in-region?' method of region%'
Merge to v5.3.4
(cherry picked from commit 917ec51eee)
2013-04-28 13:31:50 -04:00
Matthew Flatt
861ef7f721 raco pkg: GitHub API now requires a User-Agent
Merge to v5.3.4
(cherry picked from commit 9d43fcad3e)
2013-04-28 13:31:45 -04:00
Matthew Flatt
2fea9c36fc raco dist: update ELF section when adjusting data size
Merge to v5.3.4
(cherry picked from commit f450e50354)
2013-04-28 13:31:33 -04:00
Robby Findler
bbb2bec62b fix jump-to-defining-file when a stacktrace window is open
(cherry picked from commit 951538ab90)
2013-04-28 13:31:27 -04:00
Matthias Felleisen
6cf0818faf update for 5.3.4
(cherry picked from commit 0d3ae8b2e3)
2013-04-28 13:31:23 -04:00
Matthew Flatt
ebd9ebdd39 fix a JIT bug related to inlined structure constructors
Merge to v5.3.4
(cherry picked from commit fd883dbf32)
2013-04-28 13:31:18 -04:00
John Clements
67831bfb9d updated HISTORY
Merge to 5.3.4 release
(cherry picked from commit 71bc329278)
2013-04-23 18:18:28 -04:00
Matthew Flatt
b5ca3931f5 fix iteration on large hash trees
Bug introduced by 7a8c2ff063: a tree can be deep enough that the
representation of the path to the current item can be too big to
fit into 32 bits. It will always fit in 64 bits, though.

Merge to 5.3.4
(cherry picked from commit f09d1d1ae8)

Conflicts:
	src/racket/src/string.c
2013-04-23 18:18:03 -04:00
Robby Findler
f2166f23da add v.5.3.4 notes to DrRacket's HISTORY.txt
(cherry picked from commit 5a3a5edc9a)
2013-04-23 09:04:37 -04:00
Eli Barzilay
c043232de9 Change checksums for -h changes.
Also add completions for some new flags.
(cherry picked from commit 4dfe89a118)
2013-04-23 09:04:32 -04:00
Matthew Flatt
b6bd86f825 win64: JIT stack-trace repair
Relevant to PR 13702

Merge to 5.3.4
(cherry picked from commit 5887d7808c)
2013-04-19 15:05:42 -04:00
Matthew Flatt
4f738c6094 fix problem with switchable-button tool tip
Closes PR 12562

Merge to v5.3.4
(cherry picked from commit ff580c212c)
2013-04-19 15:05:38 -04:00
Juan Francisco Cantero Hurtado
c5206dd8c2 Add MZ_TRY_EXTFLONUMS to OpenBSD.
Also add an error to unsupported platforms (copied from FreeBSD).

Merge to 5.3.4
(cherry picked from commit ac42864f3b)
2013-04-19 15:05:33 -04:00
Stephen Bloch
0861510d26 Corrected a variety of wrong-arg-type error messages for map-image,
build-image, et al.

Please merge to release branch.
(cherry picked from commit 6740ab5748)
2013-04-18 17:28:43 -04:00
Vincent St-Amour
2d31de9d12 Update TR history for 5.3.4.
(cherry picked from commit 85eab5610f)
2013-04-18 17:28:39 -04:00
Matthew Flatt
54700323d1 merge history for v5.3.4
Merge to v5.3.4
(based on 9b7e3be)
2013-04-18 17:28:09 -04:00
Matthew Flatt
b9f28e106b JIT: fix inlined char->integer' and integer->char'
Put the result in the destination register, instead of always R0.

Merge to v5.3.4
(cherry picked from commit 0c4e155b88)
2013-04-18 17:26:08 -04:00
Juan Francisco Cantero Hurtado
592d762b35 Change the default stack size to safe values on OpenBSD.
With this patch racket will never grow beyond of the defaults limits of
the OS and also it doesn't limit the stack size to a fixed value.

Merge to v5.3.4
(cherry picked from commit 5a566771e0)
2013-04-18 17:25:52 -04:00
Eli Barzilay
167a50ab53 New Racket version 5.3.3.900. 2013-04-17 18:30:26 -04:00
Eli Barzilay
42e442a755 Improve some printouts.
Specifically the one from ,rr.  Also make ,switch syntax error more
friendly.  Also, test for the recent xrepl fix, including its printout.
(cherry picked from commit e311de0522)
2013-04-17 17:54:40 -04:00
Eli Barzilay
e32c855a48 Sync sanity path checks to the modified configure paths.
(cherry picked from commit ff461c0bee)
2013-04-17 17:54:37 -04:00
Matthew Flatt
eea9f15a83 ffi/com: repairs for parameterized-property setting and for date values
Merge to v5.3.4
(cherry picked from commit 25ddfcbfb3)
2013-04-16 15:01:28 -04:00
Matthew Flatt
95b20193c3 racket/gui cocoa: fix `list-box%' visble-cell calculations
There were especially problems with header columns, but
also intercell spacing was not taken into account.

Merge to v5.3.4
(cherry picked from commit 44d59702c0)
2013-04-16 15:01:24 -04:00
Robby Findler
f9cc17670c track dependencies from files with errors separately
from when the file doesn't have an error

More precisely, keep two sets of depndencies for a given
open tab. If the file expanded without error then we consider
that authoratative and keep that set of dependencies around
even if a later expansion fails. So there are two sets of
dependencies for each tab. When expansion succeeds, we reset
both of them, but if expansion fails then we reset only one,
preserving the set we got from the last successful expansion

please include in the release
(cherry picked from commit 11f74fc571)
2013-04-16 10:49:38 -04:00
Robby Findler
a7806102f3 move the call that sets the focus later so it actually happens
merge to the release branch, please
(cherry picked from commit c188be0441)
2013-04-16 10:49:34 -04:00
Mike Sperber
194100310e Synch German string constants with latest.
(cherry picked from commit 3cb555a6c1)
2013-04-16 10:49:21 -04:00
Stephen Chang
bfbba3f0bf fix typed racket named let: error when there are no binding types
closes PR 13691

include in release
(cherry picked from commit b3ba324a92)
2013-04-16 10:49:17 -04:00
Matthew Flatt
045cf69ba4 racket/enter: fix exception handling & propagation for `enter!'
Merge to v5.3.4
(cherry picked from commit 9a52894b8b)
2013-04-16 10:49:12 -04:00
Matthew Flatt
fd4f374195 ffi/unsafe/obj: fix use of ivar in rator position
Merge to v5.3.4
(cherry picked from commit fff88eeb92)
2013-04-16 10:49:09 -04:00
Matthias Felleisen
1850b4bbd4 reformat error message for implode, Closes PR 13690
(cherry picked from commit 6642c114f7)
2013-04-16 10:49:05 -04:00
Asumu Takikawa
fc75ff426a Fix #:methods regression at top-level
Please merge to v5.3.4
(cherry picked from commit fa80c53115)
2013-04-16 10:49:02 -04:00
Claire Alvis
2001098046 Fixes strange error messages for invalid generic method definitions
Closes PR 13681

Please merge to v5.3.4
(cherry picked from commit d84494dd44)
2013-04-16 10:48:57 -04:00
Matthias Felleisen
70ab423b71 die to dice
(cherry picked from commit 2d934e6a4f)
2013-04-16 10:48:51 -04:00
Matthew Flatt
f6aa505e99 racket/gui: make list-box% columns more consistent across platforms
Cocoa: use ellipses instead of line wrapping
Gtk: allow column sizing below title width

Merge to v5.3.4
(cherry picked from commit 33700427f2)
2013-04-12 11:37:26 -04:00
Eli Barzilay
6edaeee9b0 Avoid loading modules in module->path' and known-module'.
This is particularly problematic for `require-reloadable'.

Closes PR 13688.
(cherry picked from commit b5771e6ade)
2013-04-12 11:37:22 -04:00
Burke Fetscher
216b5f47f3 redex: syntax error fix for define-relation
please merge to the release branch
(cherry picked from commit 41d90c6dd5)
2013-04-12 11:37:18 -04:00
Robby Findler
c19fbbce45 fix listof error reporting
closes PR 13685

please merge to the release branch
(cherry picked from commit e6122d5fbd)
2013-04-12 11:37:14 -04:00
Robby Findler
77142df5e8 add Burke to acks
please merge to release branch
(cherry picked from commit 6cc0581dcd)
2013-04-12 11:37:10 -04:00
Matthew Flatt
e9e654487b dist-spec fix for `raco setup' extra file
(cherry picked from commit c1d9b0716e)
2013-04-12 11:37:06 -04:00
Matthew Flatt
e23bcf523f equality for `define-cstruct'-generated wrappers
Closes PR 13650

Merge to v5.3.4
(cherry picked from commit 06c42f0887)
2013-04-11 20:25:57 -04:00
Matthew Flatt
e8c6a5b806 ffi/unsafe: fix doc typo
From Tobias

Closes PR 13684

Merge to v5.3.4
(cherry picked from commit 98c5209c95)
2013-04-11 20:25:53 -04:00
Matthew Flatt
8f6fc2f822 raco pkg: fix `raco setup' sensitivity to package scope
Merge to v5.3.4
(cherry picked from commit d195e3889b)
2013-04-11 20:25:48 -04:00
Matthew Flatt
c5f585d878 raco setup: remove any extra documentation dirs in installation
After uninstalling a package in installation scope, its documentation
should be removed. A new `raco setup' step takes care of that.

Merge to v5.3.4
(cherry picked from commit ff324f9270)
2013-04-11 20:25:41 -04:00
Matthew Flatt
97df4ff673 pkg docs: add a tag for the "how to develop" section
Merge to v5.3.4
(cherry picked from commit ef6639f4c7)
2013-04-11 20:25:37 -04:00
Eli Barzilay
59b18eec39 Make configure install the docs in the standard place.
Closes #315 (on github)
(cherry picked from commit 91aa7f3527)
2013-04-11 20:25:30 -04:00
Matthew Flatt
a8a5ee30d9 fix hole in validator
The validator was not as smart as the compiler in determining
that a `let' expression could be relied on to produce a
constant-shaped function (without side effect or error) in the case
that a right-hand side expression is a call to a known structure
constructor or predicate.

Closes PR 13679

Merge to v5.3.4
(cherry picked from commit e49956e3ea)
2013-04-11 20:25:26 -04:00
Burke Fetscher
cf78ce0c6e redex: elminate another #f/failure confusion
(cherry picked from commit 468d2b192e)
2013-04-11 20:25:22 -04:00
Matthew Flatt
7fa5db7b63 fix a UDP multicast test to make it work on Windows XP
(cherry picked from commit 6e0492dff0)
2013-04-11 20:25:17 -04:00
Matthew Flatt
1a9d7c5419 racket/udp: fixed for udp-bind!' and udp-connect!'
Fix ephemeral-port support in `udp-bind!', and
change `udp-bind!' and `udp-connect!' to try address
resolutions in order to find one that works (which is
typically needed to auto-select an IPv4 or IPv6 variant
of an address).
(cherry picked from commit 842da32e48)
2013-04-11 20:25:12 -04:00
Matthew Flatt
21d51e4980 reference: simplify some contractcs
(cherry picked from commit 7c0f35e138)
2013-04-11 20:25:09 -04:00
Matthew Flatt
fd2acba3d2 plai/{gc2/}mutator: doc fixes
A symptom of mismatched `for-label' imports was that searching for "<="
would show red-underlined links to the `plai/{gc2/}mutator' documentation.

Merge to v5.3.4
(cherry picked from commit de9b77ad6d)
2013-04-11 20:25:05 -04:00
Danny Yoo
b62f496e78 Correct typo.
(cherry picked from commit 075212d07c)
2013-04-11 20:25:01 -04:00
Matthew Flatt
0ee99e83c8 fix `raco setup -j' for a non-places build
When places are not enabled, then `raco setup' uses multiple
Racket processes that commuincate via pipes. Don't try to send
a place channel over a pipe.

Merge to v5.3.4
(cherry picked from commit 2295d16074)
2013-04-11 20:24:57 -04:00
Matthew Flatt
3363279b5f doc clarification
(cherry picked from commit 8d7c231cd8)
2013-04-11 20:24:53 -04:00
Eli Barzilay
c6f45e275c Change doc/.gitignore to make git aware of files with non-generated contents.
(cherry picked from commit 1bf9e124eb)
2013-04-11 20:24:46 -04:00
Matthew Flatt
8818f8af68 fix `for/flvector', etc. unsafety
Closes PR 13675

Merge to v5.3.4
(cherry picked from commit 8b5523bd10)
2013-04-11 20:24:42 -04:00
Tony Garnock-Jones
547bb7a56e Tests for UDP multicast primitives
(cherry picked from commit 94e36c8193)
2013-04-11 20:24:39 -04:00
Robby Findler
d0c4a6480e adjust pick-a-maze based on Neil's comments
please include in the release
(cherry picked from commit f093131607)
2013-04-11 20:24:35 -04:00
Matthew Flatt
435589ff44 fix a non-deterministic test
(cherry picked from commit bc5c89cbf0)
2013-04-11 20:24:28 -04:00
Burke Fetscher
78e542bb59 redex: bug fix for gerating terms including #f
please include in the release
(cherry picked from commit 495e5c94cf)
2013-04-11 20:24:23 -04:00
Vincent St-Amour
8ae7e16a62 Better error message for non-existent generics groups.
Closes PR13671.
(cherry picked from commit aac22e1ce5)
2013-04-11 20:24:18 -04:00
Robby Findler
c1ddadf05d fix test suite to match earlier fix to obligation info
merge to release branch, please
(cherry picked from commit 1ebf66252f)
2013-04-11 20:24:14 -04:00
Robby Findler
c3b92ec255 fix improper fraction display
closes PR 13558

please include in the release
(cherry picked from commit d9adb4e6e9)
2013-04-11 20:24:10 -04:00
Asumu Takikawa
88151fea51 Use any/c for the ip-address-string? domain
Previously, it was `string?` which is needlessly
restrictive and caused premature contract failures.

Please merge into 5.3.4
(cherry picked from commit 5735d37794)
2013-04-11 20:24:07 -04:00
Ryan Culpepper
a23548d7be Alpha version number for the v5.3.4 release 2013-04-08 09:01:29 -04:00
Eli Barzilay
ca400d681e v5.3.3 installers info
(cherry picked from commit 173f2896bd)
2013-02-15 15:36:34 -05:00
Robby Findler
91b6525b29 adjust contour to track edit sequences better
Specifically when there is no delegate and an edit
sequence is started, track that differently in case
a delegate is set before the edit sequence ends
(in which case we don't want to end the edit
sequence in the delegate since we didn't start it
there)

related to PR 13491
(cherry picked from commit 405e51bb05)
2013-02-13 17:13:08 -05:00
Eli Barzilay
488ee01996 New Racket version 5.3.3. 2013-02-06 23:30:19 -05:00
Robby Findler
8f1cce6b68 add v5.3.3 notes
(cherry picked from commit dfed25cfe1)

Conflicts:
	doc/release-notes/racket/HISTORY.txt
2013-02-06 22:52:37 -05:00
Robby Findler
bba1afb5cb a better version of deac3fa2b3
This time with test cases, and also without changing the
semantics of unhighlight-range

related to PR 13488
(cherry picked from commit e7e64f4006)
2013-02-06 22:51:10 -05:00
Robby Findler
09f16e9df6 fix a bug in highlight-range exposed by the contour window
closes PR 13488
related to PR 13491
(cherry picked from commit deac3fa2b3)
2013-02-06 22:50:56 -05:00
Eli Barzilay
130c3f1f80 Version number for the v5.3.3 bugfix release 2013-02-06 22:42:44 -05:00
Eli Barzilay
e12d18d23d Merge branch 'stable' into release 2013-01-31 23:00:41 -05:00
Eli Barzilay
df147de32e v5.3.2 installers info
(cherry picked from commit 86bff2fa13)
2013-01-31 22:56:37 -05:00
Eli Barzilay
c99325507f New Racket version 5.3.2. 2013-01-31 14:15:19 -05:00
Eli Barzilay
bd6bb38259 Update version number for the v5.3.2 release 2013-01-31 13:43:37 -05:00
Sam Tobin-Hochstadt
a643e1e9e5 Switch to pkg.racket-lang.org.
(cherry picked from commit 295bb1e85e)
2013-01-31 12:52:50 -05:00
Robby Findler
1f6581fa44 disable a broken responsiveness optimization
(cherry picked from commit c8bee5acf7)
2013-01-28 13:18:48 -05:00
Robby Findler
0e8ed01cde unbreak check syntax
get-current-tab may not be the right tab to replay the trace,
now that online expansion runs other tabs when the current tab
is up to date.
(cherry picked from commit 3e5a9ca3cd)
2013-01-28 13:16:08 -05:00
Robby Findler
df6eb1bc39 fix a bug in executable creation
The code used eq? to check to see if a given language was in
an list of allowed-to-create-executables languages. But the
language object was passing thru TR and so eq? didn't hold and
thus the check was buggy.
(cherry picked from commit 2d2b3bee2f)
2013-01-28 13:14:41 -05:00
Robby Findler
f640c2cea0 only when when there is something to undo
They hypothesis behind this change is that the undo is
undoing an edit that came before, not the temporary edit
that appears in insert-close-paren. So, when there are
no edits happening (ie when fixup? is #f) then don't
undo. This is only a hypothesis because we were not able
to find a small code sequence, outside of DrRacket to
cause the bad behavior, so possibly there is really more
going on here.

Thanks to Nadeem Abdul Hamid for finding this fix.

Closes PR 13454
(cherry picked from commit f90eb33d67)
2013-01-28 13:14:36 -05:00
Philippe Meunier
a0ac38d0d1 update, plus some typos and punctuation fixed
(cherry picked from commit 6927923580)
2013-01-28 13:14:32 -05:00
Matthias Felleisen
42a1012e66 history updated for 5.3.2; PLEASE MERGE
(cherry picked from commit bcec8bc26e)
2013-01-22 11:29:36 -05:00
Neil Toronto
5f8c473b55 Fixed major performance issue with matrix arithmetic; please merge to 5.3.2
The fix consists of three parts:

1. Rewriting `inline-matrix*'. The material change here is that the
   expansion now contains only direct applications of `+' and `*'.
   TR's optimizer replaces them with `unsafe-fx+' and `unsafe-fx*',
   which keeps intermediate flonum values from being boxed.

2. Making the types of all functions that operate on (Matrix Number)
   values more precise. Now TR can prove that matrix operations preserve
   inexactness. For example, matrix-conjugate : (Matrix Flonum) ->
   (Matrix Flonum) and three other cases for Real, Float-Complex, and
   Number.

3. Changing the return types of some functions that used to return
   things like (Matrix (U A 0)). Now that we worry about preserving
   inexactness, we can't have `matrix-upper-triangle' always return a
   matrix that contains exact zeros. It now accepts an optional `zero'
   argument of type A.
(cherry picked from commit f42cc6f14a)
2013-01-22 11:29:32 -05:00
Robby Findler
a4fe675239 fix a bug in recently added display-changed method
(cherry picked from commit 5301646baf)
2013-01-21 22:03:46 -05:00
John Clements
27e505a5c2 updated release notes for 5.3.2.
Merge to release.
(cherry picked from commit e7528f2bb2)
2013-01-21 22:03:43 -05:00
Mike Sperber
b82a15a5be Synch German string constants with latest.
(cherry picked from commit 57f233cff1)
2013-01-19 23:14:17 -05:00
Vincent St-Amour
7f0cc524bf Updated TR history.
Please merge to 5.3.2.
(cherry picked from commit e763d1e1ae)
2013-01-18 16:19:43 -05:00
Matthew Flatt
05d4ee7854 Summarize Racket history for v5.3.2
Merge to v5.3.2
(cherry picked from commit 769aee076c)

Conflicts:
	doc/release-notes/racket/HISTORY.txt
2013-01-18 16:19:22 -05:00
Asumu Takikawa
8fc71d14a5 Update srfi/19 for latest leap seconds
Closes PR 13390
(cherry picked from commit 7e679597f1)

Conflicts:
	collects/tests/srfi/19/tests.rkt
2013-01-18 15:58:07 -05:00
Neil Toronto
829383e3f0 Fixed erroneous raised exception when plotting outside the bounds of
a 2D contour plot

Please merge to 5.3.2
(cherry picked from commit ecd43f7579)
2013-01-18 15:55:46 -05:00
Neil Toronto
6708c385e6 Finished matrix documentation, attendant fixes; please merge to 5.3.2
* Narrowed type of `submatrix' to only sensible argument types

* `matrix-invertible?' now returns #f when given a non-square matrix
  instead of raising an error

* Allowed `matrix-diagonal' to operate on non-square matrices
(cherry picked from commit 24561e25e4)
2013-01-18 15:55:42 -05:00
Robby Findler
8dd7ed2004 updated HISTORY
please merge to 5.3.2
(cherry picked from commit 8f756d1bcb)
2013-01-18 15:55:38 -05:00
Neil Toronto
a1aa97c1fd `math/matrix' fixes; please merge to 5.3.2.
* Fixed type of `matrix-expt'

* Made matrix functions respect `array-strictness' parameter (mostly
  wrapping functions with `parameterize' and return values with
  `array-default-strictness'; reindentation makes changes look larger)

* Added strictness tests
(cherry picked from commit f40ad2ca9d)
2013-01-18 15:55:34 -05:00
Matthias Felleisen
554713f408 doctored the description of event handler results; MERGE
(cherry picked from commit 7afcda8b02)
2013-01-16 13:36:03 -05:00
Neil Toronto
54f029b75e Made arrays strict by default; please merge to release
* Added parameter `array-strictness', default #t

* Added `array-default-strict!' and `array-default-strict', which act
  like the functions without "default" in the name when
  `array-strictness' is #t; otherwise they do nothing

* Lots of small changes to existing array functions, mostly to ensure
  computations are done using nonstrict arrays, but return values are
  strict when `array-strictness' is #t

* Added strictness tests

* Added tests to ensure untyped code can use `math/array'

* Rewrote `array-map' exported to untyped code using untyped Racket

* Rearranged a lot of `math/array' documentation
(cherry picked from commit 986e695bd5)
2013-01-16 08:08:44 -05:00
Robby Findler
5c19a88f38 fix bug introduced in f315f08dc3
closes PR 13435

Also cleaned up one more threading problem (this one was
probably innocuous, but it is hard to be sure and the
rewrite is easier to see that it isn't problematic)
(cherry picked from commit 131af9955d)
2013-01-16 08:08:41 -05:00
Matthias Felleisen
ceb393f5cd fixed a bug that prevented universe from restarting on some occasions
(cherry picked from commit fbb3145f39)
2013-01-16 08:08:36 -05:00
Matthias Felleisen
17a48546f8 universe restart test, bug from Marco
(cherry picked from commit 7df831feec)
2013-01-16 08:08:31 -05:00
Eric Dobson
37236ea16e Fix register-struct-bindings! to meet correct contract.
Please merge to 5.3.2.
(cherry picked from commit a5daacd747)
2013-01-16 08:08:27 -05:00
Eli Barzilay
b160adf65c Very simple job server.
Kept here in case it's useful for other things.
(cherry picked from commit df850724e1)
2013-01-16 08:08:22 -05:00
Matthew Flatt
d450ff94cb ffi/unsafe/objc docs: clarification on `import-class'
Merge to v5.3.2
(cherry picked from commit 2adf0bdf2e)
2013-01-16 08:08:15 -05:00
Eli Barzilay
48380b48c2 Lots of improvements to DMG creation.
* Remove lots of sudoing, and instead use one to change the contents (of
  non-simple DMGs).  Perhaps that's not needed too.  (I think that there
  used to be some problem when the owner was a specific user in the
  installer script days, perhaps it caused some mess in the pre/post
  flight scripts.  Maybe it's safe to not do this anymore.)

* There was a fundamental weakness in the Finder script -- it tweaks the
  DMG by openning its mount, but the way to specify a disk is via its
  displayed name which is not unique.  This can be problematic if there
  is already a mount that has the same name, and given that the DMG
  machine can be used by PLT people, it's even likely to happen.  It is
  tricky to solve this, since there is no way that I see to refer to the
  disk by its mount point or device in the Finder, and no way to find
  out the name in the shell.

  I spent a ton of time searching the webs for a solution, but it seems
  that practically nobody is concerned (or even aware of this problem).
  Eventually, the hack I did is to mount the image onto a randomly named
  directory, then iterate over all disks and look for one whose `name'
  property is that directory name (apparently the `name' property is the
  name of the last component of the mount point).  For safety, throw an
  error if no such disk is found, or if more than one is found.

  Incidentally, using a known mount point also simplifies things since
  there is no need to know the device name of the mount.

* Use UDBZ instead of UDZO for the compressed image.  The savings are
  not as big as I expected them to be for some reason, but the
  compatibility issues should be all gone now (UDBZ works only from 10.4
  and up).

* Unset $LD_LIBRARY_PATH to avoid some 10.8 bug.

* Switch the build to happen on dublin, running 10.8.  At least
  code-signing is broken on the 10.5.8 machine, and possibly also the
  osascript to identify the desired image disk.
(cherry picked from commit 368ee6d8b5)
2013-01-16 08:08:12 -05:00
Ryan Culpepper
35879ebfb2 fix rounding in ~r, docs
Merge to 5.3.2.
(cherry picked from commit 1109e0f86d)
2013-01-16 08:08:08 -05:00
Eli Barzilay
665d627f9e Added an optional hook script to run on the to-be-distributed directory.
(cherry picked from commit ffbdaf0667)
2013-01-16 08:08:03 -05:00
Eli Barzilay
64e388b181 Saner dmg code organization.
"dmg" is now the layout-enabled usual DMGs, since they will soon have
more functionality around them (signed applications).  "sdmg" is for the
simple (or "source") DMGs, which are just plain containers for a
directory.  Also use a flag to avoid the stupid dynamic scope hack.
(cherry picked from commit c8615a37b1)
2013-01-16 08:07:59 -05:00
Robby Findler
bcb7aae7c8 make the planet2 info in the bug report form have multiple lines
in the GUI
(cherry picked from commit f315f08dc3)
2013-01-16 08:07:55 -05:00
Matthew Flatt
7710498e70 bug report GUI: guard against `raco pkg show' errors
Various things can go wrong with `raco pkg show', including
permission errors or lock conflicts.

Merge to v5.3.2
(cherry picked from commit d2ce3f714b)
2013-01-16 08:07:48 -05:00
Matthew Flatt
c186269d08 raco pkg: allow read operations on read-only package data
In particular, `raco pkg show' should work when the user does not
have write access to the installation directory or installation-wide
package database.

Merge to v5.3.2
(cherry picked from commit b5d874e35d)
2013-01-16 08:07:43 -05:00
Robby Findler
6b6516a621 clarify when drracket creates executables
(cherry picked from commit 708395d51c)
2013-01-16 08:07:39 -05:00
Mike Sperber
e8fd623f67 Synch German string constants with latest.
(cherry picked from commit f332092f58)
2013-01-16 08:07:32 -05:00
Eli Barzilay
72ea99a29a Make only binary distributions use laid-out DMGs.
This is done by adding an "ldmg" type for laid-out DMGs, and "dmg"
produces a plain container image as before.
(cherry picked from commit a2207e6f33)
2013-01-16 08:07:27 -05:00
Eli Barzilay
baa0e1268d Do the conventional DMG layout.
Note that this requires a running Finder.  Note also that the process
involves attaching the created DMG which means that it might be
problematic with a machine that might have a volume by the same name
already attached (since the applescript uses the volume name, which is
not required to be unique).
(cherry picked from commit b5618b7d13)
2013-01-16 08:07:22 -05:00
Eli Barzilay
269549b59a Remove "internet-enabled" dmg creation.
Robby says that they're no longer recommended and rarely used by
browsers, and with a better dmg layout the contents should not be copied
automatically anyway.
(cherry picked from commit a3a47128de)
2013-01-16 08:07:17 -05:00
Asumu Takikawa
94e14e1df8 Use correct parent for date* in makeexn
Please merge to 5.3.2
(cherry picked from commit 2ac6615da9)
2013-01-16 08:07:13 -05:00
Asumu Takikawa
e5ca4a4e4b Fix error typo
Please merge to 5.3.2
(cherry picked from commit d95be2ed4d)
2013-01-16 08:07:08 -05:00
Sam Tobin-Hochstadt
835aa575e5 Add struct constructor table.
(cherry picked from commit 696583582b)
2013-01-16 08:06:27 -05:00
Sam Tobin-Hochstadt
5e0c0f198a Fix parsing of maybe-optimize result.
Merge to 5.3.2.
(cherry picked from commit 1a678bd5de)
2013-01-15 17:51:33 -05:00
Sam Tobin-Hochstadt
28a3376096 Fix XREPL logging printer to handle new logger name field.
Merge to 5.3.2.
(cherry picked from commit 2a1f70264c)
2013-01-15 17:51:27 -05:00
Ryan Culpepper
5224c8b338 fix missing argument
closes PR 13429

Merge to 5.3.2
(cherry picked from commit 9b1b15d110)
2013-01-15 17:51:23 -05:00
Matthew Flatt
478f3d64d9 futures: bug fix
The problem was in the handing of "lightweight continuations" used to
represent suspended computations, and in particular the handling
of continuation marks (such as the ones added by DrRacket's debugging
mode).

Unfortunately, I wasn't able to construct a simpler test case that
triggers the problem. I think the number of installed continuation marks
has to be just right, and there have to be some replacing marks, and
a lightweight continuaiton has to be captured at the right time
as a result of applying a previously captured continuation.

Closes PR 13427

Merge to v5.3.2
(cherry picked from commit f93c620814)
2013-01-15 17:51:19 -05:00
Jay McCarthy
1de0465687 Working with links in collection testing
(cherry picked from commit 3312a8064d)
2013-01-15 17:51:15 -05:00
Juan Francisco Cantero Hurtado
0b02ae84e6 It fixes a crash on OpenBSD
It fixes a crash in the installation on OpenBSD. Racket reaches the
limits of the shell when it is compiled with a non-root user account.

Tested on OpenBSD-current amd64.

Merge to v5.3.2
(cherry picked from commit 99c60d725c)
2013-01-15 17:51:10 -05:00
Matthew Flatt
1a1d2a3394 scribble doc corrections
Merge to v5.3.2
(cherry picked from commit 5134bc0888)
2013-01-11 15:34:47 -05:00
Matthew Flatt
beda1dad3f scribble/decode: fix contract on `decode-compound-paragraph'
Add a test suite that at least tries each export of `scribble/decode'.

Merge to v5.3.2
(cherry picked from commit 5ab048bb5c)
2013-01-11 15:34:42 -05:00
Greg Hendershott
0e87765baa Use Racket lexer for code blocks.
Had been specifying Scheme lexer for code blocks, while waiting for
new Racket lexer to wend its way from Pygments to Pygments.rb to
Linguist to GitHub.

That day is almost here: Linguist will soon update and deploy to
GitHub.  And Racket 5.3.2 is about to release.  As a result, I think
this is the correct time to switch to the Racket lexer: It should be
live on GitHub by the time people are using Racket 5.3.2.

/cc @rmculpepper -- I think this commit should go into the 5.3.2
release.
(cherry picked from commit 4d3a5bad04)
2013-01-11 15:34:39 -05:00
Asumu Takikawa
846364cb07 Change exception predicate for a test
For some reason, the other predicate breaks on some
test setups, even though it usually succeeds.

Please merge to 5.3.2
(cherry picked from commit c5c6280d87)
2013-01-11 15:34:36 -05:00
Asumu Takikawa
d91bc74ec1 Fix polydots
- parsing of polydots values was fixed
 - certain polydots error cases are now reported
 - the custom application rule for values was fixed

Closes PR 13365

Please merge to 5.3.2
(cherry picked from commit f577b49a4d)
2013-01-11 15:34:32 -05:00
Neil Toronto
bf0c697cdb MPFR custodian shutdown procedure tries to clear the constants cache
even when MPFR isn't loaded; this should close PR 13423
(cherry picked from commit 441ad6eff4)
2013-01-11 15:34:28 -05:00
Jay McCarthy
17246096e8 test - Supporting packages in raco test
(cherry picked from commit 9015c15eec)
2013-01-11 15:34:24 -05:00
Jay McCarthy
7ff68fe421 Extending raco test to work on collections
(cherry picked from commit 3e0fff7dff)
2013-01-11 15:34:21 -05:00
Jay McCarthy
6b2f905a2b pkg - Improving error message on bad github urls
(cherry picked from commit 7cddc64e5a)
2013-01-11 15:34:18 -05:00
Jay McCarthy
b24c73ebb7 pkg - Adding explanation of github supporting tags
(cherry picked from commit f3a3c64720)
2013-01-11 15:34:14 -05:00
Jay McCarthy
44b7a12d68 Update URLs again to r-l.o domain
(cherry picked from commit 9d4e47a96e)
2013-01-11 15:34:10 -05:00
Eli Barzilay
e121bef9b9 2012 -> 2013
(cherry picked from commit 79b9acd444)

Conflicts:
	src/worksp/gracket/gracket.rc
	src/worksp/racket/racket.rc
2013-01-11 15:33:47 -05:00
Asumu Takikawa
953a8ffc1d Doc fix
Closes PR 13420

Please merge into 5.3.2
(cherry picked from commit 83766e1b11)
2013-01-11 15:30:25 -05:00
Asumu Takikawa
4d60793386 Use correct contract for Procedure type
The only problem with this contract is that it does
not produce a very good error message
(cherry picked from commit 27d3042ad6)
2013-01-11 15:30:21 -05:00
Matthew Flatt
5319972ffd scribble: add +m' / ++main-xref-in' flag
The `+m' flag is a long-overdue shorthand for `++xref-in setup/xref
load-collections-xref', which links to installed documentation in
the same way as DrRacket's "Scribble HTML" button.

That is, use `+m' to link to installed documentation,

  scribble +m mine.scrbl

instead of the previously recommended

  scribble ++xref-in setup/xref load-collections-xref mine.scrbl

Merge to 5.3.2
(cherry picked from commit 3e8b6b9866)
2013-01-11 15:30:17 -05:00
Asumu Takikawa
aff9f6f0cf Disallow duplicate type variable declarations
Closes PR 13416

Please merge to 5.3.2
(cherry picked from commit 9c0a611b59)
2013-01-11 15:30:13 -05:00
Jay McCarthy
afceaa25c5 Removing exotic ports for PNRs
(cherry picked from commit b0f3f03412)
2013-01-11 15:30:09 -05:00
Robby Findler
91bcf2ad27 adjust drracket so check syntax can add its preferences itself
closes PR 13419
(cherry picked from commit 3e3283aeba)
2013-01-11 15:30:03 -05:00
Eli Barzilay
1a9d203f29 New Racket version 5.3.1.900. 2013-01-08 10:45:20 -05:00
Ryan Culpepper
b335a3d350 Alpha version number for the v5.3.2 release 2013-01-08 00:16:27 -05:00
Eli Barzilay
a2fa0783af Merge branch 'stable' into release 2012-11-07 14:52:30 -05:00
Eli Barzilay
2f4c677441 v5.3.1 stuff
(cherry picked from commit d15059ada7)
2012-11-07 14:50:27 -05:00
Eli Barzilay
4dc07782f6 New Racket version 5.3.1. 2012-11-06 05:45:19 -05:00
Eli Barzilay
2b66086968 Update version number for the v5.3.1 release 2012-11-06 05:29:56 -05:00
Matthew Flatt
5c79d60eb4 fix test to not depend on network connection
(cherry picked from commit 4c61dfc217)
2012-11-04 15:39:09 -05:00
Matthew Flatt
67711f53da fix problem with prompts, call/cc, and tail-buffer allocation
Merge to v5.3.1
(cherry picked from commit 8079ff6c4f)
2012-11-04 15:39:01 -05:00
Sam Tobin-Hochstadt
9fb2a5b5ff Typed Racket HISTORY.
(cherry picked from commit 6f1f04f99c)
2012-11-03 20:30:22 -04:00
Matthew Flatt
8f6397bf07 fix locking for futures on uniprocessors
The scheme_is_multiprocessor() function wasn't the right guard
for whether to use a locking compare-and-swap instruction; any
use of pthread-based futures needs the compare-and-swap.

Merge to v5.3.1
(cherry picked from commit 55170581c4)
2012-11-03 20:30:07 -04:00
Vincent St-Amour
0565935eb2 Replace #lang scheme deprecation notice with a pointer to #lang racket.
(cherry picked from commit ee97c08e0a)
2012-11-02 16:05:43 -04:00
Matthew Flatt
6be0496307 fix problem with places and `struct-type-info'
Merge to v5.3.1
(cherry picked from commit 0e4305fc45)
2012-11-02 16:05:39 -04:00
Tony Garnock-Jones
f8a0be0116 Correct TR types for udp-bind! and udp-connect!.
(cherry picked from commit a57e158c43)
2012-11-02 16:05:36 -04:00
Sam Tobin-Hochstadt
f72e2b6f02 Fix binding of udp?.
(cherry picked from commit f2fd47905f)
2012-11-02 16:05:33 -04:00
Sam Tobin-Hochstadt
74a18c27aa Fix accidental use of the wrong letrec-bound variable.
(cherry picked from commit 0e71f2d5dc)
2012-11-02 16:05:29 -04:00
Matthias Felleisen
8bffa07ad5 basic history, please merge
(cherry picked from commit 45a5cfca12)
2012-11-02 16:05:26 -04:00
Matthew Flatt
fd81d53e7b fix error-message code
Closes PR 13222
(cherry picked from commit 8f73ebbc36)
2012-11-02 16:05:22 -04:00
Ryan Culpepper
7c49cd5138 fix doc typo
closes PR 13216
(cherry picked from commit 832d90bf93)
2012-11-02 16:05:16 -04:00
Matthew Flatt
c0ee979ff4 racket/gui gtk: fix on-subwindow-... handling
Handling was broken by changes to fix enter and
leave events (in commit a5d7812732)

Merge to v5.3.1
(cherry picked from commit ba6e383963)
2012-10-29 13:58:44 -04:00
Sam Tobin-Hochstadt
421e8a469e Add more specific class types instead of Any.
Fixes Insert Large Letters dialog.  Merge to 5.3.1.
(cherry picked from commit 4124c9a41b)
2012-10-29 13:58:38 -04:00
Robby Findler
64826c1db3 adjust drracket gui test suite infrastructure so that
it waits for pending events to finish when looking for
new frames
(cherry picked from commit 24592a0800)
2012-10-29 13:58:25 -04:00
Sam Tobin-Hochstadt
422a24db81 Improve contract generation in Typed Racket.
This fixes several issues:
 - `Parameter` generates impersonator contracts correctly
 - `Any` handling now copies immutable data when possible
 - `Any` now recognizes more atomic base types

Merge to 5.3.1.
(cherry picked from commit c6dc1e6ece)
2012-10-29 13:49:24 -04:00
Vincent St-Amour
7abf69ef85 Generate ->* contracts for functions with both optional and keyword arguments.
(cherry picked from commit 844e898a54)
2012-10-29 13:49:09 -04:00
Stevie Strickland
3c8111f93a Don't copy chaperoned immutable vectors.
(cherry picked from commit 717cf332b6)
2012-10-29 13:40:54 -04:00
Matthew Flatt
1a535768f4 doc repair
Looks like it was an accidental incorrect update

Merge to v5.3.1
(cherry picked from commit b239a29544)
2012-10-29 13:40:51 -04:00
Matthew Flatt
4f504e5f19 fix syntax checking for `case'
Merge to v5.3.1
(cherry picked from commit f43172128b)
2012-10-29 13:40:46 -04:00
Matthew Flatt
f61c3ca3f8 fix GC alignment bug
Merge to v5.3.1
(cherry picked from commit a2c4f6064d)
2012-10-24 11:34:05 -04:00
Ryan Culpepper
67b600c68b macro-stepper: show errors in provide expansion
closes PR 13018
(cherry picked from commit 1137b444ad)
2012-10-24 11:34:01 -04:00
Ryan Culpepper
6b6a0b21d5 macro stepper: fix bug re taking over run button
Closes PR 13019
(cherry picked from commit 5f15401561)
2012-10-24 11:33:57 -04:00
John Clements
03c2846560 updated HISTORY
Include in 5.3.1 release.
(cherry picked from commit 54c5538fd6)
2012-10-24 11:33:50 -04:00
Ryan Culpepper
20a9dcbdbd db: fix finalization bug
(cherry picked from commit 8226899df3)
2012-10-24 11:33:07 -04:00
Matthew Flatt
ee0da81dc0 ffi/unsafe: defend against some finalization bugs
Turn use of a finalized ffi callout into a reported error,
instead of a crash. Clarify the existence of the finalizer
in the docs. Fix error logging of the finalizer thread.

Merge to v5.3.1
(cherry picked from commit 9708a01a0a)
2012-10-22 11:52:40 -04:00
Stephen Bloch
d16bc25821 Changed "right" error messages to match new actual error messages.
(cherry picked from commit 71a59cf653)
2012-10-22 11:52:36 -04:00
Matthew Flatt
76cad3cedd fix mismanagement of temporary print buffer
Closes PR 13199

Merge to v5.3.1
(cherry picked from commit 70fee17ef9)
2012-10-22 11:52:32 -04:00
Eli Barzilay
47ca55e68a One more name.
(cherry picked from commit 6b1f423c98)
2012-10-19 18:29:46 -04:00
Eli Barzilay
6c0f0dfeb2 Change checksums for -h changes.
Also add completion for the new -R option.
(cherry picked from commit bc29e6ed2a)
2012-10-19 18:29:42 -04:00
Eli Barzilay
e6dffa7a38 No more "planet" executable.
(cherry picked from commit a03b636936)
2012-10-19 18:29:38 -04:00
Eli Barzilay
68444d5ce9 Name cleanup in mailmap.
(cherry picked from commit 61fe1ed5ee)
2012-10-19 18:29:35 -04:00
Robby Findler
5f6e5924a5 adjust the teaching languages interactions with
drracket so they put the 'source' field into the
syntax objects that they create (at the very top)

this allows the debugger to connect the syntax objects
to the file that's open in drracket (the way this worked
changed a while back, but I didn't check the teaching
languages to see if the debugger was supposed to work there)

closes PR 13159

please merge to the release branch
(cherry picked from commit 3ba54a2a3e)
2012-10-19 18:29:31 -04:00
Matthew Flatt
dbe955b30e accomodate OpenBSD linking of libssl
Merge to v5.3.1
(cherry picked from commit be538b4f69)
2012-10-19 18:29:25 -04:00
Matthew Flatt
fa6fb56192 fix check for constructor of struct setter of immutable field
Merge to v5.3.1
(cherry picked from commit b912d0f059)
2012-10-19 18:29:21 -04:00
Matthew Flatt
2905090f58 racket/draw: fix problems with monochrome PNGs
Merge to v5.3.1
(cherry picked from commit 274d004546)
2012-10-19 18:29:16 -04:00
Robby Findler
6167b016e4 redex history release notes
merge to release please
(cherry picked from commit 8827f4b6b5)
2012-10-19 18:29:11 -04:00
Robby Findler
a13aedacc6 drracket history updates
please include in release
(cherry picked from commit 0660227d8a)
2012-10-19 18:29:08 -04:00
Robby Findler
622641353c fix group-test
merge to release branch, please
(cherry picked from commit 975426f00c)
2012-10-19 18:29:04 -04:00
Matthias Felleisen
959fb114a0 fix string-ith's error message; Closes PR 13197
(cherry picked from commit f733f149f5)
2012-10-19 18:29:00 -04:00
Matthias Felleisen
2db4378e4e fixed Adam Shaw's typo, eliminated the word match
(cherry picked from commit b48d122dd7)
2012-10-19 18:28:57 -04:00
Matthew Flatt
3f8d12e55d update HISTORY for `{chaperone,impersonate}-prompt-tag' changes
(cherry picked from commit 31d56e10af)
2012-10-19 18:28:53 -04:00
Matthew Flatt
ccf3f9c1c5 update change history for v5.3.1
Merge to v5.3.1
(cherry picked from commit 1d28b6c0f6)
2012-10-19 18:28:49 -04:00
Matthew Flatt
6325cd0945 fix raco exe' for module+' submodules
Closes PR 13116

Merge to v5.3.1
(cherry picked from commit e1a6d2b07d)
2012-10-19 18:28:45 -04:00
Matthew Flatt
d76bdd5919 fix planet `raco exe' tests
Merge ot v5.3.1
(cherry picked from commit bd146e2d8d)
2012-10-19 18:28:42 -04:00
Ryan Culpepper
6c5714c0dd fix define-for-syntax within splicing-syntax-parameterize
(cherry picked from commit 67d901ccc4)
2012-10-19 18:28:37 -04:00
Matthew Flatt
513f85baa2 repair for picture-to-bitmap conversion
(cherry picked from commit 2b902d0eda)
2012-10-15 17:45:13 -04:00
Mike Sperber
f63b0d2622 Synch German string constants with latest.
(cherry picked from commit c8dc421ec3)
2012-10-15 17:45:08 -04:00
Robby Findler
a46e0120a8 change "speculative" to "background" for the online check syntax messages
(cherry picked from commit 42c5b287ff)
2012-10-15 17:45:04 -04:00
Mike Sperber
b31aeb4c6d Synch German string constants with latest.
(cherry picked from commit 25e5fc715c)
2012-10-15 17:45:00 -04:00
Matthew Flatt
f4c1b3aceb make DrRacket's picture values convertible to PNG and PDF
(cherry picked from commit 5d65cada2e)
2012-10-15 17:44:57 -04:00
Matthew Flatt
9323007c97 slideshow/pict repair
Merge to v5.3.1
(cherry picked from commit a755479d59)
2012-10-15 17:44:53 -04:00
Matthew Flatt
7bdfc1924a raco setup: improve description of `--doc-pdf'
Merge to v5.3.1
(cherry picked from commit a150140684)
2012-10-15 17:44:49 -04:00
Vincent St-Amour
c5d2ebcc53 Only recommend dropping exactness in truly inexact contexts.
Please merge to release.
(cherry picked from commit 758e4ff112)
2012-10-15 17:44:44 -04:00
Ryan Culpepper
917cd28782 fixed template tests
(cherry picked from commit 07da9c0c3c)
2012-10-12 11:22:39 -04:00
Robby Findler
5fcc7d2240 preserve the error-print-source parameter when installing planet packages
(cherry picked from commit cb763c81b9)
2012-10-12 11:22:33 -04:00
Robby Findler
868b02c54e rename 'online' to 'speculative' in the drracket GUI.
closes PR 13176
(cherry picked from commit f756f694e7)
2012-10-12 11:22:29 -04:00
Robby Findler
8c0d033fab fix some part of the check syntax blinking arrows infrastructure
to better cope with tooltips when tabs change and when the frame
becomes in-active.

related to PR 13139
(cherry picked from commit 197b8308d0)
2012-10-12 11:22:15 -04:00
Eli Barzilay
5b4f452f16 New Racket version 5.3.0.900. 2012-10-11 19:30:31 -04:00
Matthew Flatt
7c6b0f4aa3 Scribble: add some macron accents for Latex
Merge to v5.3.1
(cherry picked from commit de9ccea7f1)
2012-10-11 18:56:39 -04:00
Matthew Flatt
ffc6dd5e83 racket/gui win32: fix drag-and-drop onto frame
Closes PR 13109

Merge to v5.3.1
(cherry picked from commit ebe0b64d47)
2012-10-11 18:56:35 -04:00
Matthew Flatt
480222a6cf fix `vector-append' error reporting
Closes PR 13151

Merge to v5.3.1
(cherry picked from commit a414b34b14)
2012-10-11 18:56:32 -04:00
Matthew Flatt
3837602fe6 win32: fix combo-field% click handling
Closes PR 13173

Merge to v5.3.1
(cherry picked from commit 75008f14d7)
2012-10-11 18:56:28 -04:00
Vincent St-Amour
7a0793e0e5 Recommend float-specific operations in case of unexpected complex.
Please merge to release.
(cherry picked from commit 7d317f1e96)
2012-10-11 18:56:23 -04:00
Kevin Tew
492174f7a1 [Distributed Places] use racket -lm to launch new racket nodes instead of -tm
(cherry picked from commit 40ca07ee7c)
2012-10-11 18:56:19 -04:00
Sam Tobin-Hochstadt
c591baf04a Add Frame% and message-box types.
(cherry picked from commit 385246f4db)
2012-10-11 18:56:15 -04:00
Sam Tobin-Hochstadt
da477c0c82 Handle contract generation for recursive class types.
(cherry picked from commit 6945c5bfb1)
2012-10-11 18:56:11 -04:00
Sam Tobin-Hochstadt
9086e14b5e Allow #:opaque and #:struct in require/typed.
(cherry picked from commit 9054d0db7d)
2012-10-11 18:56:07 -04:00
Robby Findler
2bd1d9f123 adjust the code that initializes the pre-"first Run" repl
construction so it has the right inspector

closes PR 13056
(cherry picked from commit 9ed7b44222)
2012-10-11 18:56:03 -04:00
Ryan Culpepper
87eca8aef7 Alpha version number for the v5.3.1 release 2012-10-08 02:33:25 -04:00
Eli Barzilay
df5a3bc038 Merge branch 'stable' into release 2012-08-07 00:18:37 -04:00
Eli Barzilay
d8dc087482 v5.3 stuff
(cherry picked from commit 08b271d34c)
2012-08-07 00:10:16 -04:00
Eli Barzilay
21830bfa58 New Racket version 5.3. 2012-08-06 18:50:33 -04:00
Ryan Culpepper
24e6b04cc8 Update version number for the v5.3 release 2012-08-06 17:25:45 -04:00
Neil Toronto
1a35b6d078 Fixed off-by-epsilon error; addresses issue with plateaus in contour-intervals and contour-intervals3d reported by Doug Williams
Please merge into release
(cherry picked from commit a70aca3176)
2012-08-05 15:24:00 -04:00
Matthew Flatt
76d2de4855 ffi/com: fix interaction with `racket/gui'
... and other things that use the Windows message
queue by not providing GCable arguments to
IDispatch::Invoke().

Merge to v5.3
(cherry picked from commit 66eaa191e5)
2012-08-03 02:33:58 -04:00
Matthew Flatt
bfc256270b ffi/com: fix potential interaction of finalization and custodians
Includes new `#:manage?' optional argument to `make-com-object'
and better management of internally created objects.

Merge to v5.3
(cherry picked from commit 38ce4997a9)
2012-08-03 02:33:53 -04:00
Matthew Flatt
6ea2c86b88 ffi/com: thread safety
Protect internal data structures via atomic mode.

Merge to v5.3
(cherry picked from commit 572252daec)
2012-08-03 02:33:50 -04:00
Matthew Flatt
9313bfde31 ffi/com: adjust order in object release
Release type descriptors before type infos, and release type
infos before objects. (This reordering shouldn't matter if
referencing counting does its usual job, but maybe it's better
to use the obvious order.)

Merge to v5.3
(cherry picked from commit 286efface0)
2012-08-03 02:33:45 -04:00
Robby Findler
7cb2bfa0f8 adjust DMdA languages so they do the same error rewriting that the HtDP
languages are doing. This seems to make the error messages in DMdA
behave like they did in 5.2.1 (and so I'm pushing this to see how DrDr
reacts)
(cherry picked from commit 44161d73c8)
2012-08-03 02:33:41 -04:00
Matthew Flatt
bf8072cb1f ffi/com: remove stray quote
Merge to v5.3
(cherry picked from commit 38167dd4fa)
2012-08-03 02:33:37 -04:00
Robby Findler
f64438371f add a test case for check-expect expressions where the first position has an error
test case for commit 87a8f70148

related to PR 12943
(cherry picked from commit 2032aaf341)
2012-08-03 02:33:32 -04:00
Robby Findler
fc9da78f41 adjust check-expect so it rewrites the error messages
like they are rewritten in the repl

closes PR 12943
(cherry picked from commit 87a8f70148)
2012-08-03 02:33:26 -04:00
Matthew Flatt
d68afc364d ffi/com: fix clean-up of type descriptors
Merge to v5.3
(cherry picked from commit 9b1db14328)
2012-07-30 11:11:30 -04:00
Vincent St-Amour
c9b834353a Fix type for add-between.
(cherry picked from commit b1577bd307)
2012-07-30 11:11:24 -04:00
Vincent St-Amour
5590615edb Fix parametric require/typed in typed/racket/base.
Closes PR12951.

Please merge to release.
(cherry picked from commit dd02f5eeda)
2012-07-30 11:11:20 -04:00
Eli Barzilay
e6b3030797 Add "download-libs.rkt" to the core sources.
(cherry picked from commit a0e6892d3e)
2012-07-30 11:11:16 -04:00
Ryan Culpepper
98a4002c64 syntax/parse: fix bug in specialized code for ellipsis patterns
The result of 'stx->list' is not always either a list or #f.

Merge to 5.3.
(cherry picked from commit e10951024f)
2012-07-30 11:11:12 -04:00
Ryan Culpepper
c0b1c96850 fix name of function in docs
Closes PR 12950
(cherry picked from commit d19137c998)
2012-07-30 11:11:09 -04:00
Matthew Flatt
e475d92910 fix interaction of place-channel receive and GC
Avoid holding onto a pointer into a place-message page beyond
receipt of the message.

Merge to v5.3
(cherry picked from commit 8fc008c569)
2012-07-30 11:11:05 -04:00
Eli Barzilay
751e20b3ea Adjust for new error mesage style.
(This is in part a temporary solution since the ",bt" command is now used
to show a backtrace as well as any "foo...:" hidden fields.)
(cherry picked from commit c2bea19d1b)
2012-07-30 11:11:01 -04:00
Eli Barzilay
ac75555ecb Minor fix for the installer tests.
The last "xrepl" might be at the BOL, with no preceding space.
(cherry picked from commit 5b501da131)
2012-07-30 11:10:57 -04:00
Robby Findler
c909785f6d add some simpler exercises to start
and link to existing introductory Racket
tutorials
(cherry picked from commit 63dc751450)
2012-07-30 11:10:54 -04:00
Eli Barzilay
12349ed6e2 Put the main work in a `main' sub-module.
This should avoid re-checking the zo file at the end, leading to an
error when it's not there if it moved.
(cherry picked from commit c408dfb03b)
2012-07-27 14:16:16 -04:00
Eli Barzilay
135aba7dbc Update self-test checksup for revized "racket -h" text.
(cherry picked from commit 7e4e373919)
2012-07-27 14:16:12 -04:00
John Clements
98282ae667 rewording of release notes message.
Merge to 5.3.
(cherry picked from commit a5ebf8181b)
2012-07-27 00:02:59 -04:00
Matthew Flatt
7a49919608 fix for bytecode validator
Fix tchecking for a rest argument to a function that
is lifted by closure conversion so that one of its
arguments is a mutable local variable's location.

Also reject bytecode that would pass too many arguments
to a lifted function, since that would trigger an arity
error that might try to use a location as a value.

Merge to v5.3
(cherry picked from commit 9d6f0e96ba)
2012-07-27 00:02:56 -04:00
John Clements
19acbbf4bc release notes update for stepper.
please merge to 5.3 release.
(cherry picked from commit 8ba976c035)
2012-07-27 00:02:50 -04:00
Matthew Flatt
2827a3e280 another repair to `subprocess' test
Merge to v5.3
(cherry picked from commit 100212cd53)
2012-07-26 13:03:32 -04:00
Ryan Culpepper
808ef6e286 Revert "Use unstable/lazy-require to dynamically-load the compile-time of match."
This reverts commit 8358420fcc.
2012-07-26 12:16:25 -04:00
Ryan Culpepper
eb5f4bb6df Revert "revert use of lazy-require' in racket/match' implementation"
This reverts commit 949d12e2c6.
2012-07-26 12:16:19 -04:00
Matthew Flatt
09a51a9b35 fix a `subprocess' test
Merge to v5.3
(cherry picked from commit 8c10dc1579)
2012-07-26 11:57:02 -04:00
Matthew Flatt
06439ad77f fix bug in `sync'
When `guard-evt' or `nack-guard-evt' is used, `sync' didn't
account for the possibility that a channel or semaphore
action might complete during the call to the guard, in which
case it might fail to select the event that has already
completed.

Merge to v5.3
(cherry picked from commit 880f84b24f)
2012-07-26 11:56:57 -04:00
Matthew Flatt
76306744ba racket/port: possible repair for `read-bytes-evt'
Also restore and add some tests.

Merge to v5.3
(cherry picked from commit 70ef4e6e57)

Conflicts:
	collects/racket/port.rkt
2012-07-26 11:56:44 -04:00
Matthew Flatt
662ffe7b02 racket/port: fix `make-limited-input-port' handling of progress evts
Merge to v5.3
(cherry picked from commit ca3272bd45)

Conflicts:
	collects/racket/port.rkt
2012-07-26 11:52:10 -04:00
Matthew Flatt
d444800018 fix `current-subprocess-custodian-mode'
An 'interrupt setting was treated as a 'kill setting.

Merge to v5.3
(cherry picked from commit d8461837f9)
2012-07-26 11:46:50 -04:00
Matthew Flatt
e209e9c671 windows: fix `subprocess' for an empty argument
An empty argument must be quoted at the CreateProcess() level.

Merge to v5.3
(cherry picked from commit df4fed7011)
2012-07-26 11:46:45 -04:00
Matthew Flatt
b3d6a4f3af Note require' of a main' submodule for -t', -l', and `-p'
In the output of `racket -h' and in the command-line docs.

Merge to v5.3
(cherry picked from commit 7d894bfb63)
2012-07-26 11:46:41 -04:00
Robby Findler
798ee0a3c5 bring drracket history file up to date
merge to the release branch, please
(cherry picked from commit fe9cdc0756)
2012-07-25 11:26:24 -04:00
Robby Findler
20b741538a brought up to date with version number
merge to release branch, please
(cherry picked from commit aa645e9650)
2012-07-25 11:26:20 -04:00
Vincent St-Amour
70b114b45c Update TR history.
(cherry picked from commit c5b49066a8)
2012-07-25 11:26:12 -04:00
John Clements
2e8cc1510d repair hack for beginner-proc names
(cherry picked from commit 4e47c669ca)
2012-07-25 11:26:07 -04:00
Eli Barzilay
6e7afe454b Use string-no-nuls?' and bytes-no-nuls?' in more docs & error messages.
Also use `byte?' instead of (integer-in 0 255).

(This commit will most likely require some proof-reading.)
(cherry picked from commit a6b20f01da)
2012-07-25 11:25:58 -04:00
Matthew Flatt
c9d0319a11 add missing `super-new' from class100 conversion
Also, move relevant tests to a better place.

Merge to v5.3
(cherry picked from commit 289ae98c8e)
2012-07-24 12:28:32 -04:00
Eli Barzilay
9c25910c8b tex2page is gone, update installer tests.
(cherry picked from commit d7f0314c74)
2012-07-24 12:28:28 -04:00
Eli Barzilay
350c8045d7 Update with new "scribble" flag.
(cherry picked from commit bc0e46227f)
2012-07-24 12:28:24 -04:00
Robby Findler
f68f5f6fdb finish removing the check-expect dock/undock menu items
(cherry picked from commit be2c7d7ada)
2012-07-24 12:28:20 -04:00
Matthew Flatt
7b32c83cbd normalize module rename info to vector in ".zo" format
This is related to the receent repairs for submodules and
`variable-reference->namespace'.

Merge to v5.3
(cherry picked from commit 5a1bc5ad40)
2012-07-24 12:28:15 -04:00
Robby Findler
07dd4500f5 fix debugger for the case when it decides not to annotate a file
related to PR 12937

This doesn't seem to fix the PR since the debugger is currently ignoring
the TR programs (not annotating them) but at least it does not crash now

Please merge to 5.3
(cherry picked from commit fadd1d9714)
2012-07-24 11:13:00 -04:00
Matthew Flatt
214aeb4810 fix `subprocess' test
Merge to v5.3
(cherry picked from commit 22960b9c75)
2012-07-24 11:12:52 -04:00
Eli Barzilay
31029f9c77 Make some web server example code use a valid URL.
(cherry picked from commit 8e889cfdb1)
2012-07-24 11:12:47 -04:00
Matthias Felleisen
e8ea686340 addex index entry for add/plus, multiply, and friends
Closes PR12895 -- well, except that index points to htdp-langs for all five occurrences of each (to be fixed)

merge to v5.3
(cherry picked from commit f9724f389d)
2012-07-24 11:12:40 -04:00
Asumu Takikawa
87b5e83c6b Fix guide description of when
Closes PR 12445

Merge to v5.3
(cherry picked from commit 2b173612e6)
2012-07-24 11:12:34 -04:00
Matthew Flatt
1150423fff ffi/com: AddRef on IUnknown arguments to COM methods
Merge to v5.3
(cherry picked from commit cd90510f07)
2012-07-24 11:12:26 -04:00
Asumu Takikawa
915deb2266 Doc fixes reported by Gary Baumgartner
The typo on 'redex.racket-lang.org' still remains.

Relevant to PR 12680

Merge to v5.3
(cherry picked from commit ea1636d4f1)
2012-07-24 11:12:13 -04:00
Asumu Takikawa
87cfa42c6d Fix GUI doc typo reported by Kieron Hardy
Closes PR 12830

Merge to v5.3
(cherry picked from commit e0e5f7dd28)
2012-07-24 11:12:09 -04:00
Matthias Felleisen
e128d03414 add redundancy for scene? to universe docs; Closes PR12924
merge into v5.3
(cherry picked from commit 94d472340d)
2012-07-24 11:12:05 -04:00
Matthias Felleisen
f3f9f61f91 fixed small mistake in defform/none from conversion to syntax/parse
merge into v5.3 but ask Matthew for second opinion
(cherry picked from commit bf8c30727d)
2012-07-24 11:11:53 -04:00
Matthew Flatt
7ada2691b9 errortrace: fix profiling for phase >= 2 code
Closes PR 25050

Merge to v5.3
(cherry picked from commit 05495764ea)
2012-07-24 11:11:49 -04:00
Matthew Flatt
9b066fa1e4 fix `syntax-local-get-shadower' for submodules
Closes PR 12926, 12928

Merge to v5.3
(cherry picked from commit a0ba30d8e7)
2012-07-24 11:11:45 -04:00
James Swaine
b87b33da75 Add test to track performance of code inside a future over time
(cherry picked from commit ca360cdaed)
2012-07-24 11:11:41 -04:00
James Swaine
fc9f3bb2ab Fix block/sync counts in future visualizer and per-future block counts in creation graph mouseover
(cherry picked from commit 087ec3890c)
2012-07-24 11:11:37 -04:00
James Swaine
32fe5e2722 Future visualizer - more performance improvement
(cherry picked from commit 1355c711a8)
2012-07-24 11:11:34 -04:00
James Swaine
f458b167f0 Future visualizer performance improvements
(cherry picked from commit 0b5d574aae)
2012-07-24 11:11:30 -04:00
James Swaine
59324a1b0c Fix future visualizer drawing outside visible area (in y dimension)
(cherry picked from commit 5042b73fc8)
2012-07-24 11:11:26 -04:00
James Swaine
ce41446bd4 Future visualizer - only redraw overlay when moused-over event changes
(cherry picked from commit 0b8bccc8d4)
2012-07-24 11:11:23 -04:00
James Swaine
a8a6875cd6 Fix minor display issue in event details panel (future visualizer)
(cherry picked from commit ee426f7ecb)
2012-07-24 11:11:20 -04:00
James Swaine
53d0aa1fe4 Improvements to mouseover performance in future visualizer
(cherry picked from commit b6c4bece11)
2012-07-24 11:11:16 -04:00
James Swaine
a79b122f5e Fix "dancing flags" issue with timeline ticks in future visualizer
(cherry picked from commit 6eed135d02)
2012-07-24 11:11:12 -04:00
James Swaine
b7ef456965 Performance improvements in future visualizer GUI (dragging, scrolling, sizing)
(cherry picked from commit 06358fa19d)
2012-07-24 11:11:08 -04:00
James Swaine
a34b7ea3d9 Change future visualizer trace collection slightly to be more composable
(cherry picked from commit f0aaca0dde)
2012-07-24 11:11:04 -04:00
James Swaine
57a4f9f2f3 Minor changes to future-visualizer/trace tests
(cherry picked from commit e4f50997ad)
2012-07-24 11:11:00 -04:00
James Swaine
10628ef0b9 Add unit tests for future-visualizer/trace
(cherry picked from commit 5214995967)
2012-07-24 11:10:54 -04:00
James Swaine
31b1f8a899 Fix future visualizer trace collection when running inside DrRacket
(cherry picked from commit df54f8460b)
2012-07-24 11:10:42 -04:00
Robby Findler
385fee5b9b increase timeout for the sharing modules drracket test case
(cherry picked from commit d282843116)

Conflicts:
	collects/meta/props
2012-07-24 11:08:42 -04:00
Robby Findler
02c6dbb3b1 fix bug in inline code
merge to the release branch, please
(cherry picked from commit 519b69362f)
2012-07-24 11:06:01 -04:00
Eli Barzilay
cc998b9fe1 Use a new evaluaor in "for.scrbl", have it require `racket/base' for syntax.
Also explicitly close the evaluator used in "block.scrbl".

Closes PR 12931.
(cherry picked from commit 476c270a66)
2012-07-24 11:05:53 -04:00
Eli Barzilay
020d056feb New Racket version 5.2.900.1. 2012-07-23 22:15:31 -04:00
Eli Barzilay
28a6a7b922 Re-bump the version to an alpha one. 2012-07-23 20:56:16 -04:00
Matthew Flatt
ba09bf3541 fixes for submodules and `variable-reference->namespace'
Closes PR 12925

Merge to 5.3
(cherry picked from commit d95ec4d454)
2012-07-22 19:20:08 -04:00
Mike Sperber
f9131630ce Synch German string constants with latest.
(cherry picked from commit 0dd571ef53)
2012-07-22 19:20:05 -04:00
Eli Barzilay
4c2d03dde0 Quick typo fix.
(cherry picked from commit c2fe7c4e35)
2012-07-22 19:20:01 -04:00
Robby Findler
a671407b76 add a Copy menu to the error message from the online expansion stuff
closes PR 12923
(cherry picked from commit c4a768af00)
2012-07-22 19:19:57 -04:00
Robby Findler
e1e9148d78 adjust the interface reference in drracket for the new view menu
(cherry picked from commit df4508573a)
2012-07-22 19:19:53 -04:00
Matthias Felleisen
2efef0949b fixed minor typo
(cherry picked from commit 30cb1ce4f3)
2012-07-22 19:19:49 -04:00
Robby Findler
80b2097283 fix a bug introduced by commit 05b88930c0
the symptom of the bug is that the red
error highlighting never worked

Please merge to the release branch
(cherry picked from commit 5b96803273)
2012-07-22 19:19:44 -04:00
Vincent St-Amour
a53ff364ac Replace fields with local-member-name accessors.
(cherry picked from commit 848a28266c)
2012-07-22 19:19:27 -04:00
Vincent St-Amour
4c889bc0bc Typo.
(cherry picked from commit 95e117b7f5)
2012-07-22 19:19:24 -04:00
Vincent St-Amour
4351c01038 Rename undo-thunks to clear-thunks.
They don't have anything to do with editors' undo.
(cherry picked from commit c237cee025)
2012-07-22 19:19:20 -04:00
Vincent St-Amour
8d59ea5580 Use local member names for Optimization Coach public methods.
(cherry picked from commit eda3e70670)
2012-07-22 19:19:16 -04:00
Vincent St-Amour
f0006b6535 Refactoring.
(cherry picked from commit fceb3db69c)
2012-07-22 19:19:13 -04:00
Vincent St-Amour
1975f596b6 Delete trailing whitespace.
(cherry picked from commit 6af2e49db3)
2012-07-22 19:19:09 -04:00
Vincent St-Amour
89e06e802f Optimization Coach should not catch break exceptions.
(cherry picked from commit f6feff3c51)
2012-07-22 19:19:04 -04:00
Vincent St-Amour
29557d55dd Update Optimization Coach documentation.
Please merge to release.
(cherry picked from commit ea6ba36ccb)
2012-07-22 19:19:00 -04:00
Vincent St-Amour
dc7d1eacd0 Typo.
(cherry picked from commit 031a2862d2)
2012-07-22 19:18:56 -04:00
Vincent St-Amour
9d566a00f4 Rename Optimization Coach menu item.
(cherry picked from commit def9649688)
2012-07-22 19:18:52 -04:00
Vincent St-Amour
4bfaae4d0b Consistent capitalization with other menu items.
(cherry picked from commit 7c0ef33bb7)
2012-07-22 19:18:49 -04:00
Vincent St-Amour
82a50d3eee Only enable Optimization Coach button in Typed Racket.
Other languages can access it through the View menu.

Please merge to release.
(cherry picked from commit 24b314a40a)
2012-07-22 19:18:45 -04:00
Vincent St-Amour
497473c1ff Disable loop detection heuristic with too many false positives.
(cherry picked from commit d396b34b2d)
2012-07-22 19:18:41 -04:00
Vincent St-Amour
89565734b9 Change Optimization Coach message.
(cherry picked from commit 2e594d3606)
2012-07-22 19:18:37 -04:00
Sam Tobin-Hochstadt
1832c2b712 Ensure that structs don't overlap with simple values.
Reported by Ray Racine.

Please merge to release.
(cherry picked from commit 4a90c6c1fe)
2012-07-20 15:29:47 -04:00
Eli Barzilay
298dd3e62c Some simplification of process error message contracts.
(manually adapted)

(cherry picked from commit 4bd42606bc)
2012-07-20 15:29:05 -04:00
Eli Barzilay
ec319cb467 More ignore patterns for props verification.
(cherry picked from commit 2a075654d0)
2012-07-20 15:28:03 -04:00
Matthias Felleisen
1d64b3a94f docs for revised system error message completed
(manually adapted)

(cherry picked from commit 6768136144)
2012-07-20 15:27:25 -04:00
Eli Barzilay
d0c76a84a7 Drop attempt to verify when running plainly.
Instead, require a "verify" verb, and adjust the props so drdr will use
it.

Also add some OS X & Windows patterns to be ignored.
(cherry picked from commit a2f94b49d3)
2012-07-20 15:24:02 -04:00
Matthias Felleisen
913f6365f9 fixed a somewhat awkward error message that made 'system' look awkward
(manually adapted)

(cherry picked from commit f2b9cdaadd)
2012-07-20 15:22:05 -04:00
Matthew Flatt
fd7c2ad407 macro expander fix
Relevant to PR 12863

Merge to v5.3
(cherry picked from commit d3677524b8)
2012-07-20 14:33:36 -04:00
Matthew Flatt
5dc7368612 ffi/com: fix another instance of the `cast' bug
Overlooked it during the previous repair; this repair merges
the two formerly broken sites.
(cherry picked from commit 94498465e6)
2012-07-20 14:33:30 -04:00
Matthew Flatt
f04778f4d5 ffi/com: fix an internal cast
Merge to v5.3
(cherry picked from commit c86ee5b6e2)
2012-07-20 14:33:25 -04:00
Robby Findler
61e890ba15 fixes the "not used in definition context" error in define/contract
related to PR 12863, but doesn't solve the infinite loop problem
(cherry picked from commit 774e254f3c)
2012-07-20 14:33:18 -04:00
Matthew Flatt
51712648c3 another `namespace-attach-module' repair for submodules
Merge to v5.3
(cherry picked from commit a45d13b52a)
2012-07-20 14:32:59 -04:00
Matthew Flatt
c9f03f0648 fix *SL errortrace to support higher phases
The new *SL implementations that refer to Scribble
can lead to phase-2 code when running without ".zo"s.
(cherry picked from commit 99dbc321f5)
2012-07-20 14:32:55 -04:00
Matthew Flatt
1394f0eb7d macro-expander fix
The "simpliciation" of a syntax object's lexical context was dropping
module contexts that have no bindings, but those contexts now
contribute to the identifty of some bindings. Fix simplification
to replace the full rename rename with a simplified one, instead
of just dropping it.

Merge to v5.3
(cherry picked from commit 73e07f576b)
2012-07-20 14:32:48 -04:00
Eli Barzilay
c3fb6d7548 New Racket version 5.2.900. 2012-07-19 13:55:31 -04:00
Sam Tobin-Hochstadt
7468ae4e3c Document Struct.
Merge to release.
(cherry picked from commit a589d02751)
2012-07-19 12:53:53 -04:00
Matthew Flatt
5bd2ce24d9 fix related to module name resolver change
(cherry picked from commit 9413b30599)
2012-07-19 12:53:46 -04:00
Matthew Flatt
8c010ee190 collapse Racket history for v5.3 release
Merge to v5.3
(cherry picked from commit 27d729c3ff)
2012-07-19 12:53:42 -04:00
Robby Findler
f5ff23c00c bring back drscheme/private/number-snip.ss since it may
appear in saved wxme format files

also, improve the testing support for testing snip loading
(before this, the testing infrastructure could let one test
"leak" into another one in a way that could mask failures)

please include in release branch
(cherry picked from commit b342009e71)
2012-07-19 12:53:36 -04:00
Robby Findler
4e872ea198 fixed repl-test-misc.rkt for the error message changes
please include on the release branch
(cherry picked from commit ef5c2b825f)
2012-07-19 12:53:28 -04:00
Eli Barzilay
828452045a Fix typo from commit 12a4ee8.
(cherry picked from commit 36ee9f9bbd)
2012-07-19 12:53:24 -04:00
Eli Barzilay
6e878f99fd Disable the #:before-first' and #:after-last' functionality in `add-between'.
Leave it working in splicing mode.  I prefer doing that over always
splicing them, since that would make a less uniform interface, so I
rather keep all options open.  There is no longer a `#:nothing' keyword,
which is the main point of this downgrade.

(See mailing list discussion on "no-argument" for the reason.)
(cherry picked from commit 6565538b09)
2012-07-19 12:53:20 -04:00
Eli Barzilay
601c90541d Make it possible to use "~" or "~user" in the installer.
I've looked for a while, and it seems that there is no easy way to do
this, not even in bash, and worse with /bin/sh.  So this is kind of
resorting to a simple parsing of the input, and using `eval' if it
starts with a tilde.  Note the hack of not doing that when there is a
space, otherwise the `eval' thing will silently ignore it.

This hack means that it's easy to get into a mess if quotes are used
after a tilde, but that was already the case with the use of `eval' to
handle environment variables.  It's not a real security issue, however,
since we're talking about a user who can just run any command anyway.

Also including a test file for the expansion functionality.  If anyone
wants to improve this code, making the tests pass would reveal the
tricky issues.

[FWIW, I've asked on the #bash channel, and the only serious suggestion
was getting the paths as command-line arguments.  This will, however,
defeat the point of being newbie friendly...]

Closes PR 12893.
(cherry picked from commit 0814fd5fb5)
2012-07-19 12:53:15 -04:00
Eli Barzilay
9ba9ffb957 Add missing meta information for the new "future-visualizer" collection.
(cherry picked from commit 1635ac1bc5)
2012-07-19 12:53:10 -04:00
Matthew Flatt
a0f7f72780 racket/gui/init: fix load handler
(cherry picked from commit b111241afe)
2012-07-19 12:53:05 -04:00
Matthew Flatt
66f5696400 typo
(cherry picked from commit a3b316c02f)
2012-07-19 12:53:00 -04:00
Robby Findler
7f96a5c228 module lang test now up to date with error message changes
please include in release branch
(cherry picked from commit 17594ec804)
2012-07-19 12:52:55 -04:00
Robby Findler
d53e53f837 adjusted the repl test suite for the new error messages
and the change to the racket/gui load-handler

(unfortunately, there is still another problem that keeps
the test suite from passing)

please merge to the release branch
(cherry picked from commit d8204b1624)
2012-07-19 12:52:50 -04:00
Robby Findler
4d15bcbaca bring the language test up to date with the latest error messages
include in the release branch, please
(cherry picked from commit 8744cd7811)
2012-07-19 12:52:43 -04:00
Ryan Culpepper
8992b82e04 Revert "Moved some mzlib library implementations to racket"
This reverts commit 403aaac7d4.

Conflicts:
	collects/racket/place.rkt
2012-07-19 12:51:14 -04:00
Ryan Culpepper
88a2382ecd Revert "Fix unit test broken by mzlib movement"
This reverts commit 3158acd61d.
2012-07-19 12:49:21 -04:00
Ryan Culpepper
6f2f7e7b88 Revert "Update props file for racket/private/shared-body.rkt"
This reverts commit 68d550e2c3.
2012-07-19 12:49:13 -04:00
Ryan Culpepper
18b8e8367b Revert "doc fixups for struct' variants in scheme/unit', etc."
This reverts commit 3ded3934ee.
2012-07-19 12:48:48 -04:00
Eli Barzilay
59353fbc0b Fix version string 2012-07-18 20:43:07 -04:00
Ryan Culpepper
d15edaf6cc Alpha version number for the v5.3 release 2012-07-17 19:20:47 -04:00
Eli Barzilay
dc7cb8c0ba v5.2.1 re-built installer sizes
(cherry picked from commit 8203cf3769)
2012-03-26 15:51:24 -04:00
Robby Findler
0a3fcb20ab re-unbreak DrRacket
(cherry picked from commit bef9e11272)
2012-03-26 11:03:27 -04:00
Matthew Flatt
a5656fb3a8 unbreak DrRacket
(cherry picked from commit 704c320131)
2012-03-26 11:02:56 -04:00
Eli Barzilay
e6cf45ef64 Merge branch 'stable' into release 2012-02-02 15:05:30 -05:00
Eli Barzilay
b5e6a1e3e2 v5.2.1 stuff
(cherry picked from commit 3ddf935f20)
2012-02-02 14:59:33 -05:00
Eli Barzilay
3aa43f88b7 New Racket version 5.2.1. 2012-02-01 23:15:36 -05:00
Ryan Culpepper
3a3e04414d Update version number for the v5.2.1 release 2012-02-01 20:43:44 -07:00
Robby Findler
3c0576df66 a second attempt to fix the icns files
(cherry picked from commit e4b1ef1b6e)
2012-02-01 08:48:33 -07:00
Robby Findler
ebeca89145 added in smaller size icons in an attempt to see if that was the problem on
10.5 and 10.4
(cherry picked from commit 5db88e3ea7)
2012-02-01 08:48:29 -07:00
Eli Barzilay
260ef1e43d Move the dmg build to weatherwax (which can now deal with it. )
Also, remove attempt for a smart use of `fmt' -- the problem is that now
"$platform" is not set, so the conditional didn't do anything.  It would
be easy to get a conditional using `uname', but better to drop the whole
thing.
(cherry picked from commit 2a1464b49e)
2012-01-30 20:38:51 -07:00
Matthew Flatt
a4a30200e5 tighten bound for Mac OS X 10.6 localtime() hack
It looks like my bound for last time was too conservative,
in that I looked for the lowest number that didn't seem
to fail in 10.6. The range of failing values is apparently
not continuous.

I've tightened the bound to match the lowest
number that produces a useful result on my 10.7 machine,
assuming that it works for a continuous range there.
(The new bound is higher than the number previously used as
a lower bound.)

Merge to 5.2.1
(cherry picked from commit ef846caaa1)
2012-01-30 14:46:17 -07:00
Ryan Culpepper
545f4187e6 db: fix sqlite3 #:use-place for raco exe
(cherry picked from commit 0b3691691a)
2012-01-27 14:02:51 -07:00
Sam Tobin-Hochstadt
25e59f69b4 Typed Racket HISTORY for 5.2.1.
Please merge to release.
(cherry picked from commit b839b03d4b)
2012-01-27 14:02:47 -07:00
Eli Barzilay
cc50af60c2 Include the platform in the windows installer's "human name".
(Otherwise having both installed can be confusing since the uninstaller
has the same name; also, it's good to make a reminder for people who
want the other one.)

Also, just use the platform string in the registry key uniformly.

Also add a comment about detecting Win64 if it's desirable in the
future.
(cherry picked from commit d21e646327)
2012-01-27 14:02:43 -07:00
Sam Tobin-Hochstadt
9ee130dc49 `sort' now infers properly -- test passes.
Please merge to release.
(cherry picked from commit f70c1b213f)
2012-01-27 14:02:39 -07:00
Neil Toronto
bba824e1c6 Removed test byproducts accidentally committed in d020c75202
Please merge into release
(cherry picked from commit f966ea8876)
2012-01-23 18:06:03 -08:00
Neil Toronto
034d647b1e PLoT documentation for new renderers and plot/utils (code changes are only to move code around so a previously public function could be public again)
Many little doc fixes

Closes PR 12433

Closes PR 12435

Please please please merge into release
(cherry picked from commit 015625e732)
2012-01-23 18:05:55 -08:00
John Clements
cb92bd9d44 Updated HISTORY.
Please merge to 5.2.1 release.
(cherry picked from commit 080b6095c4)
2012-01-23 18:05:36 -08:00
Matthew Flatt
d2de2659b7 try to fix Win64 installer: "Program Files (x86)" => "Program Files"
(cherry picked from commit 9d48858d53)
2012-01-23 18:05:29 -08:00
Matthias Felleisen
7b0e86718f added rcontrol to key events and docs; robby please test
(cherry picked from commit 1d9d0401df)
2012-01-21 17:48:03 -07:00
Neil Toronto
220b3fbee4 Added portable hash-quote-icon, updated and recolored macro stepper toolbar icon
Closes PR 12422

Please merge into release
(cherry picked from commit f1add6929b)
2012-01-21 17:47:59 -07:00
Matthew Flatt
b05bfd0acf gtk: fix problem wth window freeze & thaw
Closes PR 12496

Merge to 5.2.1
(cherry picked from commit 484803a896)
2012-01-20 12:48:54 -07:00
Matthias Felleisen
5686f0e758 re-added rshift to KEYEVTS, no clue how they got lost; Closes PR12500; please merge into 5.2.1
(cherry picked from commit 2a34cbfb85)
2012-01-20 12:48:49 -07:00
Matthew Flatt
719139313a adjust `raco ctool --c-mods' and related to work with places
That is, the generated declare_modules() function registers the
module-declaration code so that it is run in any new place, too.

Merge to 5.2.1
(cherry picked from commit 481e061440)
2012-01-20 12:44:15 -07:00
Matthew Flatt
c59a7bd8b2 fix position counting in `read-byte'
Merge to 5.2.1
(cherry picked from commit c723aeeb6a)
2012-01-20 12:44:11 -07:00
Matthew Flatt
fd8230152d fix raco ctool --c-mods' for racket'
Merge to 5.2.1
(cherry picked from commit 6c4cd0e9c2)
2012-01-20 12:44:07 -07:00
Matthew Flatt
87254941f5 fix `raco make -j'
Closes PR 12491

Merge to 5.2.1
(cherry picked from commit 350d0b1edf)
2012-01-20 12:44:02 -07:00
Robby Findler
15f36f1873 fix a bug in check syntax where it would attempt to (as part of the
coloring for blame assignment in check syntax) try to color
the right-hand side of a binding that actually comes from
a lambda-bound variable (and thus crash for not finding the
right-hand side)
(cherry picked from commit c9e4c88b7c)
2012-01-20 12:43:55 -07:00
Eli Barzilay
c2d59b16e9 Adjust the installer tests to the removal of libfit.
(cherry picked from commit fb46b12836)
2012-01-20 12:43:47 -07:00
Matthias Felleisen
2310d525b4 fixed an old wheel-event bug and added version number to history, please propagate
(cherry picked from commit 0a5a949d1a)
2012-01-19 10:47:38 -07:00
John Clements
9ab43903c8 make sure initial update goes on eventspace thread
(cherry picked from commit 481bc2f00f)
2012-01-19 10:47:34 -07:00
John Clements
4808c7e189 put status bar update on stepper frame eventspace
(cherry picked from commit 758523bdf3)
2012-01-19 10:47:30 -07:00
Robby Findler
55a22c0891 DrRacket & Redex history updates for 5.2.1
Please merge to the release branch
(cherry picked from commit 50dba41043)
2012-01-18 17:36:39 -07:00
Matthew Flatt
e409e91899 win64: fix `raco dist'
Merge to 5.2.1
(cherry picked from commit b51b36869e)
2012-01-18 17:36:36 -07:00
Matthew Flatt
5f17c51537 Mac OS X: work around a localtime() bug in 64-bit 10.6.8
For numbers around -67768122973228093, localtime() doesn't return in
10.6.8, while it returns NULL for 10.7.2. Work around the bug by
setting a lower bound that seems to be high enough to avoid the
problem (and that's lower than the lowest value that succeeds, so no
results are lost, at least for now).

Merge to 5.2.1
(cherry picked from commit 4e4c40ae8c)
2012-01-18 17:36:31 -07:00
Eli Barzilay
0778bfad87 New Racket version 5.2.0.901. 2012-01-17 11:40:33 -05:00
Matthew Flatt
ae525932dd fix stack unsafety for rest-arg functions
If a function with a rest arg is called with argv not at the
start of the runstack, then space is allocated for the rest-arg list
on the runstack without clearing the allocated slot. The value in
the slot could be a pointer that wasn't traversed by the most recent
GC, so it could crash a GC during allocation of the rest-arg list.

Also, tweak setup code for a function of no arguments, and improve
comments in the code.

Merge to 5.2.1
(cherry picked from commit d85f251eb2)
2012-01-17 09:01:28 -07:00
Matthew Flatt
3f51e688e5 fix JIT-generated code in case of arity mismatch
The generated code was checking arity after potentially copying
arguments to the start of the runstack (i.e., if the arguments
were not already there). If too few arguments are provided, then
the copy might access past the end of the given array.

The redundant arity check removed in commit f7c506471b
had previously masked this problem. (Or the check wasn't redundant
in that sense, but it's better this way.)

Merge to 5.2.1
(cherry picked from commit ddd246232e)
2012-01-17 08:58:14 -07:00
Matthew Flatt
8c59a3a792 add some missing acks
Merge to 5.2.1
(cherry picked from commit 2c88b12913)
2012-01-17 08:58:10 -07:00
Eli Barzilay
52e609ff6a Have a default "" platform so kauai can still be used to make the dmgs.
(This is just a hack, $platform should really be used only in the build
functions instead of at the toplevel.)
(cherry picked from commit 52382442f0)
2012-01-17 08:58:06 -07:00
Neil Toronto
060ab396a4 Added clock icon
Fixed faulty bilinear interpolation in shadow intersection, removed blurring hack

Fixed caching bug (for some reason, generate-temporaries didn't create a unique symbol - note, not *identifier*; used gensym instead)

Please merge into release
(cherry picked from commit 695583e90b)
2012-01-17 08:58:01 -07:00
Neil Toronto
8f30c2ebf1 Exposed simple rendering API (can at least render simple icons given a pict now)
Please merge into release
(cherry picked from commit aa0851bc45)
2012-01-17 08:57:55 -07:00
Neil Toronto
6c0afeb19f Added docs for images/compile-time
Added `is-a?' and `list?' tests to `compiled-bitmap' and `compiled-bitmap-list'

Please merge into release
(cherry picked from commit f45843d58e)
2012-01-17 08:57:51 -07:00
Ryan Culpepper
6bb782b8c9 macro-stepper: fix relative require bug (set current-directory)
related to PR 12486
(cherry picked from commit f711f3385c)
2012-01-16 18:22:40 -07:00
Matthias Felleisen
6fa89d8081 fixing silly mistake, plus test; please merge
(cherry picked from commit f173b9977c)
2012-01-16 18:20:17 -07:00
Ryan Culpepper
10c271e27e this creates a repeatable cored dump in drracket
commit restricted to collects/2htdp/universe.rkt
(cherry-picked from commit 54c1f496e8)
2012-01-16 18:15:57 -07:00
Neil Toronto
f7340ead45 Icon fixes:
Split images/icons/misc into images/icons/symbol and images/icons/misc

Updated tests

Fixed Gtk assertion failure in Macro Stepper (came from "about" dialog being created before the stepper window was shown; fixed by creating it on demand)

Changed Stepper similarly (though there was no assertion failure)

Put a quote in the Macro Stepper logo

Portable recycle-icon

Removed recycle unicode from the docs (was causing PDF build to fail)

Internal API fixes

Please merge into release
(cherry picked from commit ea68677d2f)
2012-01-16 15:44:50 -07:00
Matthias Felleisen
17e66e196d added documentation for pad-handler facility
(cherry picked from commit 10f8222bf4)
2012-01-16 15:44:43 -07:00
Matthias Felleisen
58b75e2e73 added pad-handler facility
(cherry picked from commit f9233bce47)
2012-01-16 15:44:37 -07:00
Robby Findler
1c924f02d1 clear the "what was the last language?" state when moving out of the module language
so that things get initialized properly when moving back into the module language.

closes PR 12493
(cherry picked from commit aaeb3db534)
2012-01-16 08:19:43 -07:00
Robby Findler
1fc4085ec6 adjust two 2htdp test files so they don't run in drdr (they are interactive)
please merge to the release branch
(cherry picked from commit 5d946329ca)
2012-01-16 08:19:39 -07:00
Eli Barzilay
53fea59312 XREPL fixes
* Avoid using readline on windows (segfaults, and anyway mostly not
  useful)

* Don't try to read init file if it doesn't exist.

* Improve asking questions in the `install!' command.
(cherry picked from commit 7fa08391a0)
2012-01-16 08:19:36 -07:00
Danny Yoo
3e8fd8f836 correction for performance.scrbl
(cherry picked from commit a1da6af22d)
2012-01-16 08:19:23 -07:00
daniel watson
26e741940c Guide proofread
* fix content of REPL output in quote example

* fix indentation on tail-recursive my-map code
(cherry picked from commit 75d5b42640)
2012-01-16 08:19:18 -07:00
Eli Barzilay
8d5fe1af52 Debian squeeze is back, and a typo.
(The lenny build will not be back.)
(cherry picked from commit 252221246d)
2012-01-16 08:19:13 -07:00
Neil Toronto
417d79ea34 Removed the animated GIF of the running stickman :(
Please merge into release
(cherry picked from commit f66aab8057)
2012-01-16 08:19:09 -07:00
Neil Toronto
a8642d8a4b Lightened icon outlines
Added lambda icon, foot icon, search forward/back icons

Doc fixes

Stepper: icons on buttons, logo and about dialog

Macro stepper: icons on buttons, logo and about dialog

Please merge into release
(cherry picked from commit 4a09c04581)
2012-01-16 08:19:05 -07:00
Eli Barzilay
b96b647e2b Disable some builds.
* The darwin build on kauai (the machine is no longer maintained, and
  has no cairo installed).

* The two debian builds (also no cairo).

* Remove comment from osx64 build (which is now done on Robby's
  machine).
(cherry picked from commit 4b17fe731a)
2012-01-16 08:19:01 -07:00
Eli Barzilay
853e6be738 New build request functionality.
(cherry picked from commit 4d04c04aa2)
2012-01-16 08:18:57 -07:00
Eli Barzilay
0d93dd54db Tiny typo.
(cherry picked from commit e8356b3b91)
2012-01-16 08:18:52 -07:00
Eli Barzilay
324234ff66 Minor improvements, mainly to the header/status suffixes.
(cherry picked from commit 3bdf05d7e1)
2012-01-16 08:18:48 -07:00
Matthew Flatt
df9c2f8d7b fix typo (patch from Gustavo Massaccesi)
Closes PR 12489

Merge to 5.2.1
(cherry picked from commit 96dea8c732)
2012-01-16 08:18:44 -07:00
Neil Toronto
a5f236d18a Finished images/icons contracts and docs
Please merge into release
(cherry picked from commit b78ee4258c)
2012-01-16 08:18:36 -07:00
Neil Toronto
0faf99b631 Removed timing examples (not reliable)
Please merge into release
(cherry picked from commit 599dda4745)
2012-01-16 08:18:24 -07:00
Neil Toronto
f13f4e4a8a Documented logos
Please merge into release
(cherry picked from commit 15f48a7b03)
2012-01-16 08:18:19 -07:00
Neil Toronto
58467ac5b9 Contracts for almost all icon-producing functions
More documentation (Now contains an animated GIF! We have achieved Web 1.0!)

Fixed stop sign double-rendering bug

Compiled logos size 256 (no rendering time for sizes < 256; intended size almost instantaneous)

Please merge into release
(cherry picked from commit 0c5ea11056)
2012-01-16 08:18:15 -07:00
Vincent St-Amour
2f0fbdba21 Union types instead of clobbering them in the type table.
This fixes a bug where only the last branch of a case-> type would get stored.
(cherry picked from commit 87a53159dd)
2012-01-16 08:18:08 -07:00
Matthew Flatt
259913ee83 fix `find-files' to convert an initial string into a path
Merge to 5.2.1
(cherry picked from commit 60c418b20e)
2012-01-16 08:18:03 -07:00
Neil Toronto
ed172a81fa Removed accidental dependence of images/icons/stickman on racket/gui
Began scribble docs

Added `compiled-bitmap' and `compiled-bitmap-list', which embed bitmaps
computed at expansion time into compiled files (safe 3D values)

Please merge into release
(cherry picked from commit 4d1cedc913)
2012-01-16 08:17:58 -07:00
Neil Toronto
2f6193a7f8 Text icon fix - works better when trimmed
Recycle icon (text icon of string "\u267b")

Removed debug output from plt-logo

Slightly faster bitmap <-> flomap conversion (uses bitmap%'s premultiply-alpha)

Please merge into release
(cherry picked from commit 5dcfd76927)
2012-01-12 16:39:01 -07:00
Neil Toronto
d637be4b71 Use running stickman in lower-right "run" indicator
Please merge into release
(cherry picked from commit 436a1dcb71)
2012-01-12 16:38:58 -07:00
Neil Toronto
4603785afe Added standing and running stickman icons
Optimize rendering by looping only over the smallest rectangle with nonzero alpha

Please merge into release
(cherry picked from commit 2313b528c4)
2012-01-12 16:38:54 -07:00
Matthew Flatt
d4ab93c5ca MysterX repairs
Merge to 5.2.1
(cherry picked from commit 84d66ca8fe)
2012-01-12 16:38:49 -07:00
Matthew Flatt
110283109a skip `libtool --finish' if DESTDIR is set
Merge to 5.2.1
(cherry picked from commit 45d72785de)
2012-01-12 16:38:45 -07:00
Matthew Flatt
132a46f671 add missing OS X thread-data synchronization
Merge to 5.2.1
(cherry picked from commit af9d0e6976)
2012-01-11 16:09:47 -07:00
Robby Findler
09ad681027 fix call to message box to remove incorrect style flag
merge to the release branch, please
(cherry picked from commit e067a4415a)
2012-01-11 16:09:42 -07:00
Robby Findler
42698ef9c5 relax the contract to match what the server actually needs
closes PR 12476

merge to the release branch, please
(cherry picked from commit 5e80753b48)
2012-01-11 16:09:38 -07:00
Robby Findler
ca73b0569d tweak the printing of syntax errors again so the "in:" part is in tt font
merge to the release branch, please
(cherry picked from commit 9aecc08579)
2012-01-11 16:09:32 -07:00
Robby Findler
e6285227f1 Change 'bitmap' to use collection-file-path (with its new #:fail) argument,
so that it picks up linked collections.

closes 12424

merge to the release branch, please
(cherry picked from commit d93818dd61)
2012-01-11 16:09:26 -07:00
Matthew Flatt
b7b273895a fix bytecode optimizer bugs
Certain unsafe operations were allowed to propagate across a
`lambda' boundary (where space safety is known not to be an issue),
which could lead to duplicate uses of a "once used" variable if
the relevant `lambda' is inlined.

Furthermore, `lambda' boundary crossing wasn't detected in the case
that the operation to propagate was propagated through an intermediate
variable without a `lambda' crossing.

Merge to 5.2.1
(cherry picked from commit 7850a26dfe)
2012-01-11 16:09:22 -07:00
Neil Toronto
0cfbbb9bdf Better debugger icon bomb
(cherry picked from commit 5736695bae)
2012-01-11 16:09:18 -07:00
Neil Toronto
789756eb60 Rewrote flomaps and rendering in Typed Racket for speed and safety
(cherry picked from commit daf3ed55ba)
2012-01-11 16:09:13 -07:00
Neil Toronto
c8c8fdf360 Contract fix
(cherry picked from commit be4bfdff4c)
2012-01-11 16:09:08 -07:00
Neil Toronto
9146b151d8 Caching with weak boxes, cleanup, planet download icon
(cherry picked from commit 6ec78137e3)
2012-01-11 16:09:02 -07:00
Robby Findler
9e272a2359 fix bug in lw struct generation
(cherry picked from commit f1a7864c63)
2012-01-10 13:13:34 -07:00
Matthias Felleisen
a1cb9a8c85 replaced gamepad image with higher resolution version
(cherry picked from commit d9176df246)
2012-01-10 13:13:30 -07:00
Matthew Flatt
f1a1670a74 protect `raco setup' from files in linked collection dirs
Patch by Jay McCarthy.

Merge to 5.2.1
(cherry picked from commit d56d28f0b6)
2012-01-09 17:01:09 -07:00
Matthew Flatt
469b21d28d fix problem printing symbols with unicode chars
Specifically, special-casing letters (such as sigma) were not
handled correctly.

Merge to 5.2.1
(cherry picked from commit 8b54dc43c8)
2012-01-09 17:01:04 -07:00
Matthew Flatt
8a17b5bf32 add #:fail' option to collection-file-path' and `collection-path'
This is mostly the same as commit 23010fc495,
but the version-number and "cstartup.inc" changes have been adjusted to
work with the release branch.
2012-01-09 16:40:13 -07:00
Matthew Flatt
883ddb5bec collapse Racket HISTORY.txt for v5.2.1
Merge to 5.2.1
(cherry picked from commit 0d47cea848)
2012-01-09 16:40:03 -07:00
Robby Findler
8df51241ff add check-redundancy, a parameter that causes redex to print some
debugging information about ambiguous matching (when the ambiguity
matters)
(cherry picked from commit 6cacd57ebc)
2012-01-09 16:02:51 -07:00
Robby Findler
a8cf31779f redex: misc cleanups:
- remove cache instrumentation code
 - make hole->not-hole parsimonous
 - change the cache size back to 63
(cherry picked from commit a12df9cea6)
2012-01-09 16:02:44 -07:00
Robby Findler
7949ede5d5 removed ambiguity from the cont-mark-transform's "a" non-terminal
Redex no longer has extra checks to eliminate redundant matches
(as those checks are prohibitively expensive for the lambdajs model)
so redundancy in the grammar can, when combined with context
decomposition or named patterns, lead to significant slowdowns
(cherry picked from commit 0c6e0a11cf)
2012-01-09 16:02:33 -07:00
Robby Findler
8bba1f2455 tweak the compiled representation of lw structs so they take less space
this shrinks the size of redex/examples/r6rs/r6rs.rkt's .zo file by about 25%
(cherry picked from commit 4fab7f76af)
2012-01-09 16:02:26 -07:00
Robby Findler
0b65f9989f redex: adjust the test suites to clean up a few things; also make the
hole and the-not-hole equal? to each other (like they used to be)
(cherry picked from commit 2afda360d0)
2012-01-09 16:02:19 -07:00
Robby Findler
1115549408 added a cycle check to define-language so grammars like this one:
(define-language L
     (e e))

are rejected as syntax errors
(cherry picked from commit 93c21e34de)
2012-01-09 16:02:13 -07:00
Eli Barzilay
e83af6c94b * Fix showing branch in non-master builds.
* Show error in last status, so it's visible later.

* `show' can get a `-s' flag too.

* Remove unused `append_dots'.
(cherry picked from commit d539792895)
2012-01-09 16:02:02 -07:00
Eli Barzilay
becd6bad7b ntoronto is responsible for images.
(cherry picked from commit 536f89926f)
2012-01-09 16:01:51 -07:00
Eli Barzilay
e09fd80080 New Racket version 5.2.0.900. 2012-01-09 02:04:11 -05:00
Ryan Culpepper
5f2e956d7d Alpha version number for the v5.2.1 release 2012-01-08 23:40:56 -07:00
Eli Barzilay
46ece427bf Merge branch 'stable' into release 2011-11-09 22:00:17 -05:00
Eli Barzilay
e42bfe361c v5.2 stuff
(cherry picked from commit 794779b997)
2011-11-09 21:55:44 -05:00
Ryan Culpepper
6797a44447 Revert "Fixed version of b9bd1db5."
This reverts commit 8cbb867811.
2011-11-08 12:39:16 -08:00
Eli Barzilay
8cbb867811 Fixed version of b9bd1db5. 2011-11-04 19:24:38 -04:00
Eli Barzilay
6a996b3eb7 New Racket version 5.2. 2011-11-03 17:25:19 -04:00
Eli Barzilay
df779e69cb Update version number for the v5.2 release 2011-11-03 17:25:17 -04:00
Eli Barzilay
4b79e53d65 Add a history note on the lazy change, make the TR history specify 5.2.
(cherry picked from commit cfc465932e)
2011-11-03 17:19:55 -04:00
Eli Barzilay
e3b8195afa Fix the default `sandbox-make-code-inspector'.
It now creates an inspector based on the original code inspector instead
of the (implicit) wrong default used by `make-inspector'.  Change
`sandbox-make-inspector' too, to make it explicit.
(cherry picked from commit 90f7a98dd6)
2011-11-03 17:19:43 -04:00
Eli Barzilay
f0db9180b4 Improve unix installer tester.
* The installer is a command-line argument.

* Make it work in xterm too, by unsetting TERM.

* Works with version-less directories, from release installers.
(cherry picked from commit 1eec2b75e3)
2011-11-03 17:19:25 -04:00
Jay McCarthy
8400ccc456 Incorporating section from Mike W
(cherry picked from commit ab45f4f1db)
2011-10-24 13:53:55 -04:00
Eric Hanchrow
c1eb2733a6 add an "s"
(cherry picked from commit 723934a608)
2011-10-24 13:46:17 -04:00
Eric Hanchrow
7bdfbe11d6 add missing word
(cherry picked from commit b498d6e9e7)
2011-10-24 13:45:56 -04:00
Mike Sperber
a169f7ffa7 Unbreak "Enable signature checking".
Previously, if you disabled it once, it would stay disabled.
(cherry picked from commit 36d3745d4c)
2011-10-24 13:44:36 -04:00
Eli Barzilay
3c3633cd46 Indicate repl phase level when it's not 0.
(cherry picked from commit 0d642cf976)
2011-10-24 13:44:11 -04:00
Eli Barzilay
e992a7f2b1 Fix the old-style keybinding example.
(cherry picked from commit d8d79d22b2)
2011-10-24 13:43:36 -04:00
Sam Tobin-Hochstadt
90674cf9b2 Fix wrapping of null' when provided as Any'.
Reported by 'dingfeng' on #racket.
Please merge to 5.2.
(cherry picked from commit da5b68fd4d)
2011-10-24 13:41:36 -04:00
Robby Findler
564f9d0062 adjust HtDP teaching languages' first and rest so that they accept circular lists.
This commit fix an unintentional change introduced by this commit:
  c7d67f9bab
(and it also adds in test cases for what that commit appears to have
been doing)

Assuming everyone agrees that the behavior for first rest from back
in 2010 is the behavior we still want (and the lack of release notes
on the subject makes me believe that we do), then:

Please include in 5.2.
(cherry picked from commit 7acc5b7852)
2011-10-24 13:40:42 -04:00
John Clements
c6e1796afa updated history
Merge to 5.2
(cherry picked from commit e830fb1b38)
2011-10-24 13:40:10 -04:00
Matthew Flatt
1c745c59a0 fix JIT early reference to JIT generated address
On x86_64, if the scratch-space address fits into 32
bits and the final place for shared code doesn't
fit into a 32-bit address, then the size of the generated
code could change, leading to a JIT buffer overflow.

Merge to 5.2
(cherry picked from commit 35526a7bd7)
2011-10-24 13:39:45 -04:00
Matthew Flatt
cb6be016c6 CGC fix for OpenBSD x86_64
Merge to 5.2
(cherry picked from commit a4011890e1)
2011-10-24 13:39:23 -04:00
Casey Klein
a38f02160e Updates Redex history for v5.2
Merge to release branch
(cherry picked from commit 210a6f329e)
2011-10-20 07:14:07 -04:00
Matthew Flatt
a82a55074b fix a marshaling bug for syntax objects
Closes PR 12300

Merge to 5.2
(cherry picked from commit a81054fef4)
2011-10-20 07:14:03 -04:00
Carl Eastlund
34f3b16626 Made constructed planet links force the minor version for more reliable self-reference.
(cherry picked from commit cc70834024)
2011-10-20 07:14:01 -04:00
Carl Eastlund
0eb11080c2 Fixed a typo (syntax-quote => quote-syntax).
(cherry picked from commit bb828c312f)
2011-10-20 07:13:58 -04:00
Matthias Felleisen
b2e1bd0645 history for teachpacks updated; please propagate
(cherry picked from commit 38b802dde4)
2011-10-20 07:13:46 -04:00
Matthew Flatt
69077c6f57 update Racket history for v5.2
Merge to 5.2
(cherry picked from commit ff839d1cda)
2011-10-20 07:13:41 -04:00
Matthew Flatt
856664c7e6 fix cocoa `get-clipboard-string' to never return #f; fix docs
Merge to 5.2
(cherry picked from commit 718229387c)
2011-10-20 07:13:38 -04:00
Matthew Flatt
124688fa51 gtk: no freeze/thaw before/after unmap
Merge to 5.2
(cherry picked from commit a09543772a)
2011-10-17 20:25:18 -04:00
Eli Barzilay
4b46e79b55 Fix typo in htdp url.
Fixes PR 12282.  (Which was closed prematurely.)
(cherry picked from commit 3b93da83c4)
2011-10-17 20:25:15 -04:00
Matthew Flatt
17d0749a26 fix a type name
Closes PR 12297

Merge to 5.2
(cherry picked from commit 099e4d7dad)
2011-10-17 15:59:55 -04:00
Eli Barzilay
1d7e5f3cbc Remove the unneeded `require' in that example.
(cherry picked from commit 7bff0e888d)
2011-10-17 14:33:34 -04:00
Eli Barzilay
47460ac451 Remove preference for old-style menu bindings, and instead add a sample
keybindings file that does that.

(This reverts most of commit 26f6c588fcfa45a1a12c275e5824aede8ba23e3e.)
(cherry picked from commit c66c669ee3)
2011-10-17 14:11:45 -04:00
Eli Barzilay
1d6c344fff Add an example for old-style keys.
(cherry picked from commit 016e6d771c)
2011-10-17 14:11:44 -04:00
Eli Barzilay
e1ffc0dd9a Make `create-new-tab' public.
(cherry picked from commit 319a158dec)
2011-10-17 14:11:43 -04:00
Eli Barzilay
6d49072822 Document next-tab' and prev-tab'.
(cherry picked from commit 8f66afe5a6)
2011-10-17 14:11:43 -04:00
Eli Barzilay
29db510d2a Make the example `rebind' more like other rebinds in Emacs and others.
(cherry picked from commit 6a323fe75e)
2011-10-17 14:11:42 -04:00
Eli Barzilay
b42223aa5d Add sqlite libraries to the `db' spec.
(cherry picked from commit df4a227571)
2011-10-17 14:11:41 -04:00
Rodolfo Carvalho
58b4679269 Add missing word 'one', clarify behavior of the 'semi-or-amp mode.
(cherry picked from commit f43405543a)
2011-10-17 14:11:40 -04:00
Matthias Felleisen
6efb5c1847 on-release works without on-key; Closes PR12291 please propagate
(cherry picked from commit 2a43c68dd7)
2011-10-17 14:11:39 -04:00
Eli Barzilay
06bc3bd470 Lots of little changes and fixes, and an extensive testing script.
(cherry picked from commit 08b2d7b595)
2011-10-17 14:11:38 -04:00
Eli Barzilay
b06d1efc4d Rewrote large parts of the unix installer script.
It's now simpler, shorter, and better.  Some of the text is revised,
accepts environment variables when asked for the path, some additional
fixes in misc places.
(cherry picked from commit 3589a70308)
2011-10-17 14:11:36 -04:00
Eli Barzilay
87500a7e8f Misc improvements (no functionality changes, yet).
(cherry picked from commit f882c01e65)
2011-10-17 14:11:35 -04:00
Eli Barzilay
83c56bb5f2 Make the default answer for running an older uninstaller "yes".
This makes it behave more like the Windows installer, where the default
is to remove an older installation, which most people want to do anyway.
(cherry picked from commit 08e70c5e45)
2011-10-17 14:11:35 -04:00
Robby Findler
728153bb07 adjust the code that checks to see if a file is in the module language so that it uses
read-language, in the case that the simpler check (that just looks for "#lang") fails.

please include in 5.2
(cherry picked from commit abf722f19a)
2011-10-17 14:11:34 -04:00
Matthew Flatt
97a1f3cd5c fix an identifier binding bug
Merge to 5.2
(cherry picked from commit c514fd3470)
2011-10-17 14:11:34 -04:00
Ryan Culpepper
26aadb28d7 db: updated note about sqlite3.dll
merge to 5.2
(cherry picked from commit 8f2fe7a5aa)
2011-10-17 14:11:31 -04:00
Ryan Culpepper
067c4b4359 updated documentation for syntax/trusted-xforms
closes PR 12269
  merge to 5.2
(cherry picked from commit 81fa15e27b)
2011-10-17 14:11:31 -04:00
Ryan Culpepper
cafe0d9535 rackunit: fixed test
merge to 5.2
(cherry picked from commit 1695d73f5b)
2011-10-17 14:11:30 -04:00
Ryan Culpepper
b655a34418 rackunit: fix tests
merge to 5.2
(cherry picked from commit 18b3899e6a)
2011-10-17 14:11:29 -04:00
Robby Findler
38c55dc063 fix the error check
closes PR 12290
(cherry picked from commit 9ab6a93127)
2011-10-17 14:11:27 -04:00
Matthew Flatt
394e62a31e add cross-reference between data and read/print descriptions
Closes PR 11096
(cherry picked from commit d4f7020cd2)
2011-10-17 14:11:26 -04:00
Matthew Flatt
7ad41cd9dc fix docs on reading characters
Closes PR 11102
(cherry picked from commit 2a39a098a6)
2011-10-17 14:11:25 -04:00
Matthew Flatt
a997bc72fd add cross-ref from reference to guide on places
(cherry picked from commit eba0ca2d4d)
2011-10-17 14:11:25 -04:00
Matthew Flatt
ab2d140d7d reader doc fixes
Closes PR 11086
(cherry picked from commit e55e0a5e4a)
2011-10-17 14:11:24 -04:00
Mike Sperber
67dd5e8c1b Synch German string constants with latest.
(cherry picked from commit 2db0791e27)
2011-10-17 14:11:23 -04:00
Neil Toronto
9465805f50 Fixed x/y mixup in 'axes'
Removed 'plot-tick-skip' parameter

Merge into 5.2
(cherry picked from commit 7270c27141)
2011-10-17 14:11:22 -04:00
Neil Toronto
8031c88b9c Rename plot3d-animating? -> plot->animating?
Combine plot-ps-interactive? and plot-pdf-interactive? into plot-ps/pdf-interactive?
Rename plot3d-ambient-light-value -> plot3d-ambient-light
Fix off-by-one 2D plot area clipping
Add warning to docs about 'fit' disappearing
Stop providing 'fit', 'derivative', 'gradient' and 'make-vec' from the 'plot' module

Merge into 5.2
(cherry picked from commit 522ba14b9f)
2011-10-17 14:11:20 -04:00
Matthew Flatt
d02d7aae97 add missing test for text% tab fix
Merge to 5.2
(cherry picked from commit 6d608e392c)
2011-10-17 14:11:19 -04:00
Matthew Flatt
ff34ed4f0a fix tab problem in text%
Merge to 5.2
(cherry picked from commit 5fb2f56fdf)
2011-10-17 14:11:18 -04:00
Robby Findler
8ad66c4b8d swapped the backwards triangles
(cherry picked from commit 770c2d14f8)
2011-10-17 14:11:17 -04:00
Robby Findler
61f2ed8ac7 add call to 'test-results'
(cherry picked from commit a43973157b)
2011-10-17 14:11:16 -04:00
Matthias Felleisen
fa0809eb4d document unexpected mouse event reporting; Closes PR 12278
(cherry picked from commit 8cdbd3285b)
2011-10-17 14:11:15 -04:00
Matthew Flatt
a24c809202 fix `place-break' on terminated place
Merge to 5.2
(cherry picked from commit 0993408c19)
2011-10-17 14:11:14 -04:00
Matthew Flatt
c760197bd0 fix framework doc reference to `set-icon' method
Merge to 5.2
(cherry picked from commit f2082e6eeb)
2011-10-17 14:11:12 -04:00
Robby Findler
5e141b087d adjust the autosave gui so that closing the window doesn't cause drracket to
exit (this only happened on non-mac os x platforms)

include in 5.2
(cherry picked from commit 4d00b13ce0)
2011-10-17 14:11:03 -04:00
Robby Findler
804408bdae error message typo
include in 5.2
(cherry picked from commit 95e29376fd)
2011-10-17 14:11:02 -04:00
Robby Findler
6981f40cd6 adjust 2htdp/image library so that it doesn't create arbitrarily large
bitmaps when rendering images

closes PR 12277 (except I didn't fix the make-bitmap contract)

include in 5.2
(cherry picked from commit 10d19bf8d5)
2011-10-17 14:11:01 -04:00
Matthew Flatt
aeac9e4df5 add missing GC registration for places
Merge to 5.2
(cherry picked from commit 32b5390ad2)
2011-10-17 14:10:59 -04:00
Matthew Flatt
baa0191aff third attempt to fix 64-bit Lion hidden-window problem
After all the previous attempts, the problem seems almost trivial:
although Apple documents `NSAnyEventMask' as the constant #xFFFFFFFF,
it's actually NSUIntegerMax (and the difference matters in 64-bit
mode).

Merge to 5.2.
(cherry picked from commit dc912ee6de)
2011-10-17 14:10:57 -04:00
Matthew Flatt
635a879727 Revert "another attempt to fix the 64-bit Lion hidden-window problem"
This reverts commit f6e5468dbb.

Merge to 5.2
(cherry picked from commit 9fd11ac92c)
2011-10-17 14:10:54 -04:00
Matthew Flatt
ff5b2dd31d doc clarifications
Merge to 5.2
(cherry picked from commit 5724aa1d1b)
2011-10-17 14:10:53 -04:00
Matthew Flatt
c2ccac22ac fix argument-error report
Merge to 5.2
(cherry picked from commit 6aaa0d44c0)
2011-10-17 14:10:50 -04:00
Neil Toronto
4f355fbc65 Fixed error: attempt to divide by (void) when axis bounds' length is a multiple of 1000
Please merge into 5.2
(cherry picked from commit a0e2401cbe)
2011-10-10 15:31:56 -04:00
Eli Barzilay
c6c7490bac Clearer question about running an existing uninstaller.
(cherry picked from commit e9db4df6c3)
2011-10-10 15:31:53 -04:00
Eli Barzilay
7a66972313 Rename "$WHERE1" -> "$BASE".
(cherry picked from commit de40798d49)
2011-10-10 15:31:53 -04:00
Kevin Tew
d586e78e7a Fix QNX merge to 5.2
(cherry picked from commit 1a2d425ece)
2011-10-10 15:31:50 -04:00
Kevin Tew
566c36c4f2 pr 12268 fix merge to 5.2
(cherry picked from commit 58b1f86326)
2011-10-10 15:31:48 -04:00
Rodolfo Carvalho
f108ea8861 Fix typo in Slideshow documentation
(cherry picked from commit a3890f7e32)
2011-10-10 15:31:47 -04:00
Vincent St-Amour
1357a22a9e Typoes.
(cherry picked from commit 90aa9c9d75)
2011-10-10 15:31:47 -04:00
Jay McCarthy
f680811cb6 Fixing breakage from push 23693
(cherry picked from commit b20ffdbe95)
2011-10-10 15:31:46 -04:00
Jay McCarthy
2698db08a5 Fixing PR 12271
(cherry picked from commit 354283132d)
2011-10-10 15:31:44 -04:00
Matthew Flatt
0aa9f436af fix compiler confusion: non-mutating vs reorderable unsafe ops
Reordering `unsafe-vector-ref' past an `unsafe-vector-set!' was
particularly bad. Meanwhile, some non-mutating operations like
`unsafe-mcar' were treated too conservatively.

Merge to 5.2
(cherry picked from commit c805728d3e)
2011-10-10 15:31:44 -04:00
Matthias Felleisen
09e236caaf history for release
(cherry picked from commit 051649fc13)
2011-10-10 15:31:43 -04:00
Matthew Flatt
2fec3dd8f6 mark OS jmpbuf as GC-ignored
This change is intended to make the QNX port work, but it
should also future-proof Racket a little for other platforms.
(cherry picked from commit b377cafdac)
2011-10-10 15:31:41 -04:00
Matthew Flatt
187c9a18b7 fix QNX sconfig entry
Merge to 5.2
(cherry picked from commit e2bcbb0dfb)
2011-10-10 15:31:40 -04:00
Matthew Flatt
78c38d42b6 docs and release notes for `set-icon' change
Merge to 5.2
(cherry picked from commit 8f0fa96d69)
2011-10-10 15:31:38 -04:00
Sam Tobin-Hochstadt
74846d0684 Change basic-top-level-window% to support `set-icon', and use to set icon for splash screen.
Closes 12241

Merge to 5.2
(cherry picked from commit 1b69d742bd)
2011-10-10 15:31:38 -04:00
Matthew Flatt
6fe0b33625 fix ffi retain of callbacks
The FFI's weak table of callback procedures (to map Racket procedures
to FFI callback objects) suffered from the classic key-in-value
problem.

Closes PR 12228, probably

Merge to 5.2
(cherry picked from commit 8bd81f4806)
2011-10-10 15:31:37 -04:00
Mike Sperber
fd03fb8575 Synch German string constants with latest.
(cherry picked from commit 334bf53bb9)
2011-10-10 15:31:34 -04:00
Matthew Flatt
bdddffaa9b cocoa: fix `show #f' on already unshown frame shows it briefly
Merge to 5.2
(cherry picked from commit bf3f09a3c1)
2011-10-10 15:31:32 -04:00
Matthew Flatt
e1dfd37f75 fix compiler bug that could cause infinite inlining loop
The bug was that a procedure could be incorrectly marked as
a "leaf" procedure, which could in turn cause the compiler
to keep inlining a very small procedure that calls itself.

Closes PR 12270

Merge to 5.2
(cherry picked from commit 1bc80310e3)
2011-10-10 15:31:31 -04:00
Robby Findler
a4a7b80c97 avoid calling the show method for tooltips unless the frame is shown.
please include in 5.2
(cherry picked from commit 5db48b3e73)
2011-10-10 15:31:30 -04:00
Stephen Chang
d2204bfd17 fix lazy stepper bug: annota of non-identifier fns
- fix lazy stepper bug where delaying of non-identifier fns
  wasnt being properly hidden
- add test case for this bug

include in 5.2
(cherry picked from commit 79dd7df945)
2011-10-10 15:31:27 -04:00
Robby Findler
fcd5fb9d74 adjust uses of after-load-file to use the success? flag
(cherry picked from commit fcc720f43e)
2011-10-10 15:31:25 -04:00
Matthew Flatt
c993d856d5 editor<%> doc fixes
(cherry picked from commit ed38297c97)
2011-10-10 15:31:24 -04:00
Matthew Flatt
52e1e8458d fix text% `get-paragraph-{start,end}-position' bug and doc bugs
Merge to 5.2
(cherry picked from commit 379991c5bb)
2011-10-10 15:31:22 -04:00
Robby Findler
941f18a562 adjust the way languages are chosen when opening a file.
Specifically, in the case that we're inheriting a language setting
from some earlier preference or something and the language we're
inheriting is one that saves prefixes, and the current file being
opened does not match any of the possible prefixes, then revert
to the not-a-language language, instead of using the value from
the preference

Also: finish the removal of the EoPL language level from the
DrRacket langauge dialog, and clean up the 'get guidance' dialog

Please cherrypick this commit to the 5.2 release branch
(cherry picked from commit d362bda6d3)
2011-10-10 15:31:20 -04:00
Matthew Flatt
1d6f193f31 windows: add sqlite3.dll
Merge to 5.2
(cherry picked from commit 41b18e3608)
2011-10-10 15:31:15 -04:00
Matthew Flatt
239ce3eec0 another attempt to fix the 64-bit Lion hidden-window problem
This fix uses the same`run'-vs-`finishLaunch' technique as before,
but patches up the modal-dialog problem by calling `run' again
with a callback to start a modal loop.

Merge to 5.2.
(cherry picked from commit f6e5468dbb)
2011-10-10 15:31:06 -04:00
Eli Barzilay
d91cb71732 New Racket version 5.1.900.1. 2011-10-08 05:17:24 -04:00
Eli Barzilay
c414f057f7 Re-fix version number 2011-10-08 05:16:46 -04:00
Eli Barzilay
a4ad734999 New Racket version 5.1.900. 2011-10-08 04:35:55 -04:00
Eli Barzilay
3fefe33c2c Typo in error message detection
(cherry picked from commit 7d1b00ff69)
2011-10-08 04:35:29 -04:00
Eli Barzilay
82b0237cd1 Fix version number 2011-10-08 04:29:53 -04:00
Eli Barzilay
c056791190 New Racket version 5.1.90. 2011-10-08 00:32:23 -04:00
Ryan Culpepper
1012b8a37b Alpha version number for the v5.2 release 2011-10-07 22:09:53 -06:00
Eli Barzilay
76809b92fb v5.1.3 stuff
(Cherry picked from ae80150)
2011-08-16 03:43:08 -04:00
Eli Barzilay
fd9b724abb Remove this one too (should have been in the previous commit) 2011-08-14 19:32:54 -04:00
Eli Barzilay
413a717bcc Remove badly-licensed file for 5.1.3.
(In the head it gets auto-downloaded.)
2011-08-14 17:18:55 -04:00
Eli Barzilay
c7562516a2 New Racket version 5.1.3. 2011-08-14 09:57:55 -04:00
Eli Barzilay
0816b05425 Make mzlib/etc' reprovide identity' from `racket/function'.
(cherry picked from commit d952a05ea9)
2011-08-14 09:57:04 -04:00
Robby Findler
75ab172281 manage the state for delegates better (used by the drracket contour window)
closes PR 12094
(cherry picked from commit 38596a9b58)
2011-08-14 09:56:57 -04:00
Robby Findler
aa27d4f1ca get rid of a broken attempt to optimize the 20,000-ft overview refreshing
closes PR 12083
(cherry picked from commit 29a843ac37)
2011-08-14 09:56:49 -04:00
Eli Barzilay
71cf6d1c15 Version number for the v5.1.3 bugfix release 2011-08-14 08:42:06 -04:00
Eli Barzilay
9a9365f80e Merge branch 'stable' into release 2011-08-03 15:26:12 -04:00
Eli Barzilay
9bd8e67e86 v5.1.2 stuff
(cherry picked from commit 89dfe3dc50)
2011-08-03 15:23:15 -04:00
Eric Dobson
f49b095c07 Fix kernel-struct tests in TR.
(cherry picked from commit e6030295ff)
2011-08-03 12:33:49 -04:00
Eli Barzilay
e75fc54f64 New Racket version 5.1.2. 2011-08-02 23:26:08 -04:00
Eli Barzilay
7ddf119c4d Update version number for the v5.1.2 release 2011-08-02 23:26:02 -04:00
Eli Barzilay
4806c15bfe Fix `unstable/time' & xrepl use.
(Just the relevant part of 1caa28d)
2011-08-02 23:24:03 -04:00
Eli Barzilay
de605d4fe1 Updated DrRacket images
(cherry picked from commit a748b35f35)
2011-08-02 23:19:18 -04:00
John Clements
f4cab3e47b updated history.
Merge to 5.1.2
(cherry picked from commit b346665c5c)
2011-07-29 01:44:39 -04:00
Matthew Flatt
2c5e9b9e42 fix problem with initialization of tag name array
The bug to lead to a crash from `(dump-memory-stats)'

Mrege to 5.1.2
(cherry picked from commit e6b4d547c9)
2011-07-27 14:14:42 -04:00
Stephen Chang
37eca3412f change recon-val in stepper to use render-to-sexpr for non-lazy lists
Picked from 8956364 and edited for conflicts due to indentation changes.
2011-07-27 12:37:15 -04:00
Stephen Bloch
861301537c Fixed an off-by-one bug in "myflip", an example for build-image. Now it passes its tests :-)
(cherry picked from commit 9a24e66df0)
2011-07-25 00:12:47 -04:00
Stephen Bloch
602ddbf48a Changed error messages in test case to match corrected error messages in
2htdp.
(cherry picked from commit ab01d563ca)
2011-07-25 00:12:43 -04:00
Matthew Flatt
7895045a1c win32: fix `copy-file' handling of file-exists error
The specific error reported by CopyFileW doesn't seem
to be documented. It's unclear whether Racket's old test
for ERROR_EXISTS_ALREADY was the wrong choice (as opposed
to ERROR_FILE_EXISTS) or whether some Windows versions
use it; we test for both for now.

Also, improve error reporting when an errno or
GetLastError() value is available.

Closes PR 12074

Merge to 5.1.2
(cherry picked from commit c9d4e0fb8c)
2011-07-25 00:11:57 -04:00
Matthew Flatt
fd6e9c28d3 fix compiler/zo-parse for sequence splice
Merge to 5.1.2
(cherry picked from commit 42f41d868a)
2011-07-23 02:23:27 -04:00
Matthias Felleisen
7ee468a857 revised history, push to release branch
(cherry picked from commit b4d091438d)
2011-07-23 02:23:17 -04:00
Matthias Felleisen
40637616ad fixed a totally misleading error message in big-bang; MUST GO INTO RELEASE
(cherry picked from commit ed7f16c872)
2011-07-22 11:22:42 -04:00
Robby Findler
cbd7e37cfc fix the png conversion code for 2htdp/image images
closes PR 12061
  please merge to the release branch
(cherry picked from commit 56b82ba83c)
2011-07-22 10:39:53 -04:00
Matthew Flatt
ad4377d44b work around win64 drawing problem
Merge to 5.1.2
(cherry picked from commit 8711aa6c5d)
2011-07-22 10:10:57 -04:00
Robby Findler
8ccff338fd add version number to release notes
please merge to release branch
(cherry picked from commit f7f3971d15)
2011-07-21 23:14:40 -04:00
Stephen Chang
631fed5386 fix lazy stepper test - lazy-cond1
(cherry picked from commit 7eedae8f69)
2011-07-21 16:08:56 -04:00
Stephen Chang
4db334ee2a add make-lazy-proc to lazy stepper skipped fns list
(Edited version of 3f79c37)
2011-07-21 16:07:58 -04:00
Matthew Flatt
4389a4671d code-inspector fix for top-level code from bytecode
Merge to 5.1.2
(cherry picked from commit 530bb1b9ba)
2011-07-20 17:24:32 -04:00
Matthew Flatt
f87c5acdf9 fix `raco ctool -e' for syntax taints
Merge to 5.1.2
(cherry picked from commit 8504996862)
2011-07-20 17:24:29 -04:00
Matthew Flatt
eddf893dc6 fix validation of top-level define-{syntaxes,values-for-syntax}
(Only appears in bytecode for non-module code.)

Merge to 5.1.2
(cherry picked from commit 0d2b08f053)
2011-07-20 17:24:27 -04:00
Matthew Flatt
196ac13bdd fix bug in .zo writing
The bug showed up in the "racket/embed.rktl" test.

Merge to 5.1.2
(cherry picked from commit 5b8a892fbb)
2011-07-20 17:24:24 -04:00
Matthew Flatt
a6e596ba71 another try at Mac OS X 10.4 x86 libraries
Merge to 5.1.2
(cherry picked from commit 30174b3c81)
2011-07-20 17:24:20 -04:00
Sam Tobin-Hochstadt
925a6ae9f2 Fix types of kernel struct constructors to include parent fields.
Merge to 5.1.2.
(cherry picked from commit 7a763a2da8)
2011-07-20 17:24:18 -04:00
Casey Klein
35bbe90dcb Updates Redex history for v5.1.2
(cherry picked from commit 7d103bdfd8)
2011-07-20 17:24:16 -04:00
Matthew Flatt
533b8ed384 fix optimizer bug related to `case-lambda' at module level
The bug triggered a crash on ARM, and probably doesn't
affect other platforms, but I'm not competely sure.

Merge to 5.1.2
(cherry picked from commit d9ae1d048d)
2011-07-19 17:29:41 -04:00
Robby Findler
45d34dda04 change autowrapping preference default
please merge to release branch
(cherry picked from commit 2a78ea9723)
2011-07-19 17:29:39 -04:00
Eli Barzilay
32b53e6549 Remove xrepl from the release branch. 2011-07-19 17:03:17 -04:00
Eli Barzilay
ccd9ab07a7 Revert "Hook XREPL into a few places where readline' and enter!' are mentioned."
This reverts commit 3223a656a6.
2011-07-19 17:01:27 -04:00
Eli Barzilay
c7bf34d387 Improve macro stepper output, and some more ,stx outputs.
(cherry picked from commit 8109299ec8)
2011-07-19 16:57:07 -04:00
Eli Barzilay
36a0fea0cc XREPL tests.
Not too much, but already tests large parts of sensitive code.  Caught a
bug where ,top would use (enter! #f) but enter grabbed the wrong
namespace since it was instantiated in the wrong namespace.
(cherry picked from commit f5e53de4d9)
2011-07-19 16:57:05 -04:00
Guillaume Marceau
d1b79946f9 Fixes the (cons an image empty) error message
(cherry picked from commit 2ae0376476)
2011-07-19 16:57:01 -04:00
Matthew Flatt
18b8751ee2 win32: fix is-maximized' in frame%'
Merge to 5.1.2
(cherry picked from commit 255549c8c8)
2011-07-19 11:39:37 -04:00
Matthew Flatt
0083418b53 cocoa: fix image paste
Closes PR 12028

 Merge to 5.1.2
(cherry picked from commit c8b3763359)
2011-07-19 11:39:05 -04:00
Carl Eastlund
a03b11befc Fixed a macro stepper bug: can't use zero? on syntax span, as it can be #f.
Please include in the upcoming release.
(cherry picked from commit 302cbb5275)
2011-07-19 11:36:32 -04:00
Eli Barzilay
1f7e9658a3 Fix reading a 'line argument: always succeeds and returns the line as-is.
(cherry picked from commit 09c8880ea0)
2011-07-19 11:36:24 -04:00
Eli Barzilay
4c8a6aefe7 Add $F for ,sh commands.
(cherry picked from commit 261288c394)
2011-07-19 11:36:21 -04:00
Eli Barzilay
e8d3223ce5 Add an example for extending xrepl, the very stupid way.
For the record, a way to do this permanently is to add something like
this to your ~/.racketrc:

  (eval '(begin
           (saved-values-char #\~)
           (defcommand eli "stuff" "eli says" ["Make eli say stuff"]
             (printf "Eli says: ~a\n" (getarg 'line)))
           (defcommand er #f "alias for errortrace" ["Runs errortrace"]
             (run-command 'errortrace)))
        (module->namespace 'xrepl/xrepl))

But this is too stupid even for a section that has "Hacking" in its title.

There should definitely be an organized way to do this.  This will
require several things:

* A decent API for doing these things for user code.  (So the above
  `eval' turns to a `require' for your file which uses this API.)  This
  goes beyond just documenting what's in there -- there are issues to
  resolve like some argument reading protocol (separating the
  declaration of argument types from the command implementation code),
  so a new command can call another with arguments that it reads.

* There should also be some ,set command for customization
  options (reading and changing) and code to use the preference file for
  doing that.  I almost started to do this, but currently there are only
  three values that this could apply to (`saved-values-char', `-number',
  and `wrap-column' (which might be better to dump and use
  `pretty-print-columns' instead)).

* Also, it might be nice to have some command to do the same for simple
  aliases.  (But this might get into shady parsing issues if it's more
  than just "I want `foo' to be an alias for an existing `bar' command".)
(cherry picked from commit 3c1e624916)
2011-07-19 11:36:17 -04:00
Eli Barzilay
3223a656a6 Hook XREPL into a few places where readline' and enter!' are mentioned.
(cherry picked from commit 5fb8390609)
2011-07-19 11:36:14 -04:00
Eli Barzilay
f8974781fe XREPL documentation.
(cherry picked from commit d7c14cbd3f)
2011-07-19 11:36:10 -04:00
Eli Barzilay
8d0db4cd35 Lots of improvements:
* Rename `make-command-{reader,evaluator}' ->  `make-xrepl-{reader,evaluator}'

* Move the commented-out ,meta block to a better place

* Protect the prompt computation against errors, to avoid infinite
  exception output if an exception is raised.

* Add ",switch ?" to query namespaces, and ",switch - <name>" to remove
  one.  Forbid resetting the default initial `*' namespace.

* Clarify that multiple arguments can be sent to ,stx and fix it to
  display the current syntax when there are no arguments.

* Various minor typos and improvements.

* Restore the use-last-arguments-by-default functionality of ,rr

* Re-do argument reading to make it easier to have a default
  argument (as in ,enter and ,edit).
(cherry picked from commit c57ab7b4fc)
2011-07-19 11:36:07 -04:00
Eli Barzilay
e0a96d3e7e Typo in the `errortrace' language description.
(cherry picked from commit 50b74c453f)
2011-07-19 11:36:02 -04:00
Eli Barzilay
c1a82bf23e Use (banner) instead of a fixed "Welcome to Racket" in the More tutorial
and in the guide.

Also, add a tag to the readline "License Issues" to be able to link to
it from the xrepl docs.
(cherry picked from commit 45394bb7b6)
2011-07-19 11:35:59 -04:00
Eli Barzilay
71ea3183ba Rename prompt-shown' -> zero-column!', and use it only in the
non-readline reader.  Use line reading for ,install!.

(Cherry-picked from 3f8bb7a, and edited conflucts because
`port-set-next-location!' is not added to the release.)
2011-07-19 11:34:29 -04:00
Robby Findler
d5045184c9 fix missing argument to format
please merge to release branch
(cherry picked from commit 2b99c86321)
2011-07-19 11:28:53 -04:00
Matthew Flatt
4b13d54396 fix "block cache" layer to handle allocation failure
(cherry picked from commit 5efe7001d6)
2011-07-19 11:28:51 -04:00
Guillaume Marceau
d8c7bd138f Undoes the 'produces -> return' part of commit c31d352f, keeping the 'changes -> mutates' change and the assorted bug fixes it contained.
(cherry picked from commit adf965e92a)
2011-07-19 11:28:47 -04:00
Matthew Flatt
df42ae7cb7 fix `get-module-path' and associated exception
Closes PR 12029
(cherry picked from commit d8d762517f)
2011-07-19 11:28:45 -04:00
Matthew Flatt
34530173f9 fix `enter!' to set module source name
Merge to 5.1.2
(cherry picked from commit 67936b7a66)
2011-07-19 11:28:41 -04:00
Eli Barzilay
f8c4f23b5c Manually constructed patch from Robby: fixes the executable problem. 2011-07-19 11:27:51 -04:00
Matthew Flatt
70fdc4ef90 fix source name of built-in modules
Closes PR 12051

 Merge to 5.1.2
(cherry picked from commit 92671ab3ea)
2011-07-19 11:23:34 -04:00
Matthew Flatt
253ba1376b belated test case for cm ".dep"-read fix
Merge to 5.1.2
(cherry picked from commit 67272f114b)
2011-07-19 11:23:25 -04:00
Matthew Flatt
4af675677d fix printing of namespace with places enabled
This commit goes with 62acb298bd.
(cherry picked from commit 701c9666d6)
2011-07-19 11:23:22 -04:00
Matthew Flatt
5a5430f91e revert unnecessary refactoring
--- intended to avoid creating a dependency that already exists

 Merge 5.1.2
(cherry picked from commit ab0e78122c)
2011-07-19 11:23:19 -04:00
Matthew Flatt
bc46623eca restore deinprogramm reader module suffix
(cherry picked from commit fc914dfac8)
2011-07-19 11:23:16 -04:00
Matthew Flatt
ed4185cae9 don't compile test file with image constant
(cherry picked from commit bd10ccc1b7)
2011-07-19 11:23:05 -04:00
Matthew Flatt
9e3ee9e2f8 fix cm to configure reader when reading .dep files
Merge to 5.1.2
(cherry picked from commit 7af5d490ad)
2011-07-19 11:22:53 -04:00
Matthew Flatt
34b3045b9b fix SGC
Merge to 5.1.2
(cherry picked from commit 3f0914080b)
2011-07-19 11:22:47 -04:00
Matthew Flatt
af3db4d9fe change GDK_POINTER_MOTION_HINT_MASK back to GDK_POINTER_MOTION_MASK
because HINT doesn't works as expected, and the problem it
 seemed to solve at one time (slow resize in DrRacket) seems
 to have been fixed some other way. GDK_MOUSE_MOTION_MASK
 isn't needed, since GDK_POINTER_MOTION_MASK covers it.

 Merge to 5.1.2
(cherry picked from commit 5edc0c70af)
2011-07-19 11:22:42 -04:00
Matthew Flatt
b560fc83aa fix taint behavior of some syntax operations
`syntax-local-get-shadower' and
 `syntax-make-delta-introducer' both taint their
 results when a given syntax object is tainted
(cherry picked from commit 4307bcace5)
2011-07-19 11:13:20 -04:00
Matthew Flatt
f4bb576511 limit build parallelism to 4 on a 32-bit machine
Merge to 5.1.2
(cherry picked from commit e57b7b9e54)
2011-07-19 11:13:00 -04:00
Robby Findler
4e5ac3c261 typo
(cherry picked from commit 9e0a866969)
2011-07-19 11:12:54 -04:00
Matthew Flatt
9f5ad021f1 fix errortrace
The `eq?'ness of syntax objects used to reconstruct the result
 was broken by disarming. The solution is to reconstruct based
 on the disarmed syntax object instead of the original.

 Merge to 5.1.2.
(cherry picked from commit 0f61d62ea1)
2011-07-19 11:12:48 -04:00
Ryan Culpepper
a0ccf20b30 macro-stepper: disable taint display until correct
Merge to release branch
(cherry picked from commit 91a2e283a6)
2011-07-19 11:12:42 -04:00
Matthias Felleisen
fecc46f97d adjusted expected error messages to accommodate Stephen's change
(cherry picked from commit 6c51155fec)
2011-07-19 11:12:24 -04:00
Matthias Felleisen
0372e02294 documented error reporting functions
(Cherry picked from 9193203, and slightly edited for conflicts due to
code shuffling.)
2011-07-19 11:11:01 -04:00
Matthias Felleisen
14cd4ae26c fixed bug in exception handling for drawing; Closes PR 12044
(cherry picked from commit 562252f589)
2011-07-18 12:43:19 -04:00
Guillaume Marceau
29e8c44ba9 Roll back the "expr -> expression" change in the grammar documentation of the
teaching languages. The extra width was breaking some browsers.
(cherry picked from commit 7134d67921)
2011-07-18 12:43:16 -04:00
Guillaume Marceau
8c54e212da Standartize the vocabulary to "the function returns" and "set! mutates"
(cherry picked from commit c31d352f2b)
2011-07-18 12:43:12 -04:00
Matthew Flatt
f790a77e40 places: fix printing of symbol resolved module paths
(cherry picked from commit 62acb298bd)
2011-07-18 12:43:09 -04:00
Matthew Flatt
e1dbfe67e3 remove obsolete reference to '#%mred-kernel
(cherry picked from commit 1c4722eaee)
2011-07-18 12:43:06 -04:00
Matthew Flatt
c4ca803955 fix typo; eliminate "this" as a noun; otherminor improvements
(cherry picked from commit 5e5172baab)
2011-07-18 12:43:03 -04:00
Vincent St-Amour
be3aa544ad Fix unbalanced curly brackets.
(cherry picked from commit 937d0ad722)
2011-07-18 12:42:49 -04:00
Asumu Takikawa
2c70c98228 Fix a few framework contracts to match code
(cherry picked from commit 6c3284a828)
2011-07-18 12:42:46 -04:00
Eli Barzilay
225f563bda Add a new #:dont-re-require-enter' flag for enter!', to avoid
requiring itself into the entered namespace.

This makes it useful in some cases where this require leads to a
dependency cycle, eg (enter! racket/list).  It's obviously not useful
for use as-is, since you will not have a bound `enter!' to get out of
the namespace (and possibly no `require' to get it) -- but it is useful
for meta-tools like xrepl.  This is why the flag is verbose.  `xrepl'
now uses this flag.

Also, the check for valid keywords for the form is now done at runtime
rather than in the macro.  This doesn't matter in this case, since the
form is intended for interactive use anyway.

Also, separate the two parts of `enter-load/use-compiled' (it was
defined curried, but didn't use it).
(cherry picked from commit db7f2b4542)
2011-07-18 12:42:42 -04:00
Eli Barzilay
0b0de351fd New `xrepl' collection.
(cherry picked from commit c544ebfe6c)
2011-07-14 17:29:53 -04:00
Stephen Bloch
14ed19da09 Corrected signature of scene+line to match examples and actual behavior
(sixth argument can be a pen or color, not just a color).
(cherry picked from commit d510f6aecc)
2011-07-14 17:29:43 -04:00
Stephen Bloch
3a2e4969e9 Corrected an error message that said it wanted a real, but actually
expected an integer.
(cherry picked from commit 83fd1e968d)
2011-07-14 17:29:31 -04:00
Eli Barzilay
a606c3a988 Shift typo.
(cherry picked from commit 318c4fedfc)
2011-07-14 17:29:27 -04:00
Eli Barzilay
533293c666 Added Guillaume's gmail address to mailmap
(cherry picked from commit 6e72bf2dad)
2011-07-14 17:29:24 -04:00
Eli Barzilay
4b3c7d0aec Switch tcsh(!) and bash scripts to use /bin/sh.
(Satisfy some 3rd-party packaging linters.)
(cherry picked from commit 69464bba91)
2011-07-14 17:29:20 -04:00
Matthias Felleisen
f5923dd748 sk requested empty scenes with optional background color
(cherry picked from commit 40948ee653)
2011-07-14 17:29:16 -04:00
Guillaume Marceau
ef167bb249 Fixed some missing links in the documentation.
(cherry picked from commit da6e819b6f)
2011-07-14 17:29:12 -04:00
Guillaume Marceau
fd6d7de506 Better fix for the previous bug.
(cherry picked from commit 793d7894f1)
2011-07-14 17:29:08 -04:00
Guillaume Marceau
72a81a7c12 Fixed that 'all contracts for primitives print as lists' bug in scribblings/htdp-langs.
(cherry picked from commit 452f3a14fb)
2011-07-14 17:29:02 -04:00
Matthias Felleisen
7f7618dd07 small edit to doc of atan; Closes PR 12039
(cherry picked from commit 03dc212d61)
2011-07-14 17:23:57 -04:00
Asumu Takikawa
60f3e79bb8 Use real contract in bitmap% docs
(cherry picked from commit 2fdc56db3a)
2011-07-14 17:23:55 -04:00
Matthew Flatt
8d0d481d63 rebuild Mac x86 libraries to work with 10.4
Merge to 5.1.2
(cherry picked from commit 0860e62bfa)
2011-07-14 17:23:49 -04:00
Robby Findler
95ed19b91f fix bad contract
(cherry picked from commit 2fb03852b3)
2011-07-14 17:23:44 -04:00
Stephen Bloch
4f794fe496 Fixed some more error messages.
(cherry picked from commit 52527d8a95)
2011-07-14 17:23:38 -04:00
Ryan Culpepper
289e82b0b7 updated docs for struct-type-contract/c
(cherry picked from commit 5a10ef7550)
2011-07-11 23:13:49 -04:00
Vincent St-Amour
6ca28bc60c Fix test for new contract error message format.
(cherry picked from commit 79ef8e889e)
2011-07-11 23:13:45 -04:00
Vincent St-Amour
0751111011 Fix jitting of real->double-flonum.
Merge to 5.1.2.
(cherry picked from commit 09b6616bfa)
2011-07-11 23:13:42 -04:00
Vincent St-Amour
73fb46b42b Add tests for jitted real->*-flonum.
(cherry picked from commit 427eaca513)
2011-07-11 23:13:39 -04:00
Vincent St-Amour
cef91e1527 Revert "Add real->double-flonum to the JIT."
This reverts commit 2afff3d210.

This commit caused real->double-flonum to have a different behavior
when jitted as opposed to interpreted, and caused real->single-flonum
to break in some cases.

Merge to 5.1.2.
(cherry picked from commit 7dfe1f636f)
2011-07-11 23:13:35 -04:00
Matthew Flatt
036f7bec06 fix JIT problem that can break futures
A recent (weeks-old) JIT change set one of a function's code
 pointers to NULL to indicate that JIT-compilation of the
 function is in progress, but that breaks futures. Set the
 code pointer to a different not-yet-ready function, instead.

 Merge to 5.1.2

 Closes PR 12037
(cherry picked from commit 09eab9c3eb)
2011-07-11 23:13:31 -04:00
Stephen Bloch
097df98b3d Fixed some more error messages.
(cherry picked from commit 904ef63ce2)
2011-07-11 23:13:26 -04:00
Stephen Bloch
ede736ff84 Improved error messages to specify actual argument as well as expected
type.  Still produces one check-error failure because of bug in
make-color.
(cherry picked from commit d3df33b023)
2011-07-11 23:13:22 -04:00
Eli Barzilay
2490b0711c Fix the path relative functions to return a string for a path input,
clarify the documentation, add a few tests.

Fixes pr 12032
Fixes pr 12034
(cherry picked from commit ebe9453e73)
2011-07-11 21:30:18 -04:00
Sam Tobin-Hochstadt
177fff49e6 Fix capitalization of HtDP.
Merge to 5.1.2.
(cherry picked from commit 64d42fa0d3)
2011-07-11 21:30:16 -04:00
Matthew Flatt
64cac3e13c fix cross reference
Merge to 5.1.2
(cherry picked from commit b5bb703b48)
2011-07-11 21:30:13 -04:00
Matthew Flatt
94770d3a08 fix hash-ref' bugs on immutable eq?'-based tables
There were two:
   * new: after finding a hash code, the key wasn't
          always checked to be `eq?' to the desired key
   * old: the hash code wan't downshifted by 2, so
          changes in the low two bits (like when a pair
          is determined to start a list) could break
          lookup

 Merge to 5.1.2
(cherry picked from commit e765231dad)
2011-07-11 21:30:11 -04:00
Carl Eastlund
d7fcd2f149 Updated unit contract tests to not rely on a specific format for names of
blamed modules in contract error messages.
(cherry picked from commit d5b852c386)
2011-07-11 21:30:00 -04:00
Carl Eastlund
6d79e54a4d Changed source-location->string and ->prefix to use
path->relative-string/library to produce collection and planet-relative source
names.
(cherry picked from commit 00a6442712)
2011-07-11 21:29:58 -04:00
Carl Eastlund
18e9e79aa0 Changed default blame formatter to report blame parties relative to collection
and planet directories where appropriate.  Added a test for this behavior.
(cherry picked from commit b3136095ea)
2011-07-11 21:29:56 -04:00
Carl Eastlund
0911365403 Corrected documentation of quote-module-name to indicate that it does not
produce collection and planet-relative paths on its own.  Deprecated
quote-module-path, and replaced existing uses of it with quote-module-name.
(cherry picked from commit 2e6a608539)
2011-07-11 21:29:54 -04:00
Eli Barzilay
bc607e96e9 New Racket version 5.1.1.900. 2011-07-11 15:03:05 -04:00
Matthew Flatt
6bbfbad6a7 export `step-count?'
Merge to 5.1.2
(cherry picked from commit 8271f7b182)
2011-07-11 14:56:24 -04:00
Matthew Flatt
2b05b96b50 fix dependency
(cherry picked from commit 50bd06af9a)
2011-07-11 14:56:12 -04:00
Guillaume Marceau
020469a716 Remove spurious printf left in 9053f8f9
(cherry picked from commit 3815862a81)
2011-07-11 14:55:55 -04:00
Guillaume Marceau
ec279b706e Fixed documentations bugs in scribblings/htdp-langs
(cherry picked from commit 9053f8f99b)
2011-07-11 14:55:51 -04:00
Guillaume Marceau
ec185e6072 Adding files missing in the previous commit.
(cherry picked from commit 9d465ed298)
2011-07-11 14:55:46 -04:00
Guillaume Marceau
cd153042db Merged htdp-lib.scblr and teachpacks/error-composition.scrbl into htdp/htdp.scrbl,
to form a single manual titled "Implementing HtDP Teachpacks, Libraries, and
Customized Teaching Languages"
(cherry picked from commit 2c075978fd)
2011-07-11 14:55:27 -04:00
Guillaume Marceau
ae6cf4da07 Little tweaks to the *SL documentation
(cherry picked from commit 91d5c92415)
2011-07-11 14:55:23 -04:00
Guillaume Marceau
f468769a75 Catches another way images prints.
(cherry picked from commit ff1ab35a12)
2011-07-11 14:55:20 -04:00
Ryan Culpepper
4fbf087e17 syntax/parse: add expr/c to main module
Merge to release branch
(cherry picked from commit 0aecbf97ff)
2011-07-11 14:55:13 -04:00
Ryan Culpepper
fe3ee8cbc5 removed merge conflict artifact
Merge to release branch
(cherry picked from commit 73230537ba)
2011-07-11 14:55:10 -04:00
Matthew Flatt
7d32a27700 update Racket release notes for v5.1.2
Merge to v5.1.2
(cherry picked from commit fb5c62d9d7)
2011-07-11 14:55:01 -04:00
Matthew Flatt
7fc99aa0b3 make weak taint table actually weak
(cherry picked from commit 4392ab7636)
2011-07-11 14:54:57 -04:00
Matthew Flatt
06f42651f5 optimizer repair; `unsafe-c{a,d}r' can be dropped
(cherry picked from commit 848bba80a3)
2011-07-11 14:54:49 -04:00
Ryan Culpepper
5ed722e144 Alpha version number for the v5.1.2 release 2011-07-07 23:37:24 -06:00
Eli Barzilay
3416362410 Merge branch 'stable' into release 2011-04-30 03:06:25 -04:00
Eli Barzilay
6f8817d063 v5.1.1 stuff
(cherry picked from commit 1f7ac35d8e)
2011-04-30 02:57:52 -04:00
Eli Barzilay
e5bfc20771 New Racket version 5.1.1. 2011-04-29 23:47:00 -04:00
Eli Barzilay
da5e39bb39 Update version number for the v5.1.1 release 2011-04-29 23:46:57 -04:00
Matthew Flatt
d61b573eb3 remove `define-wish' from BSL for now
Merge to 5.1.1
(cherry picked from commit 4cd0ba277e)
2011-04-27 14:37:31 -06:00
Matthias Felleisen
197eef5b91 protocol damage noted
(cherry picked from commit 1993771652)
2011-04-27 14:37:23 -06:00
Matthew Flatt
7b604f37c2 fix CGC ephemeron bug
Merge to 5.1.1
(cherry picked from commit 5ae4b00168)
2011-04-25 19:36:00 -04:00
Vincent St-Amour
659cb91c2d Remove file that was accidentally committed.
(cherry picked from commit 7e491392e1)
2011-04-25 14:00:08 -04:00
Matthias Felleisen
947b39d09b history updated
(cherry picked from commit 6b7e844254)
2011-04-25 10:53:07 -06:00
Matthias Felleisen
bd94b49c0d critical bug fix in registration process; please propagate
(cherry picked from commit f2a475eb43)
2011-04-25 10:53:03 -06:00
Matthias Felleisen
8e723f1721 open output files in text mode
(cherry picked from commit 88e0631c71)
2011-04-25 10:52:58 -06:00
Matthew Flatt
8061414c1a fix configure error that can cause CFLAGS to be ignored
Merge to 5.1.1
(cherry picked from commit 4aabaeb7af)
2011-04-25 02:29:17 -04:00
Matthew Flatt
07269cd0b6 x86 JIT: keep call & ret paired
even for a non-tail call from native code to native code;
 this change provides huge performance improvements for
 some microbenchmarks
 Merge to 5.1.1
(cherry picked from commit ac5d4cd401)
2011-04-25 02:29:12 -04:00
Casey Klein
4f1faf5617 Updates Redex history for v5.1.1 release
(cherry picked from commit 0414b5e6de)
2011-04-23 09:35:23 -04:00
Eli Barzilay
498b5d5bf5 Disable xdg-open, since it seems like it suffers from the same problem
gnome-open does.

Relevant (but not really a solution) to PR 11869.
(cherry picked from commit 020946cb2a)
2011-04-23 09:27:34 -04:00
Eli Barzilay
aba5580b80 Add -j 1' to builds, and --disable-libffi' to configure.
(cherry picked from commit 22603f3f15)
2011-04-23 09:27:26 -04:00
Eli Barzilay
baca1d620b Fix the bgcolor on the mailman pages.
IE misparses a three-digit specification, so use 6 digits there.
(cherry picked from commit 7f57fcec7e)
2011-04-23 09:27:23 -04:00
John Clements
72aae5241a updates to history
merge to 5.1.1 release
(cherry picked from commit b228316a8a)
2011-04-23 09:27:15 -04:00
Eli Barzilay
fef878523e Fix typo
(cherry picked from commit 3f94c3dcfc)
2011-04-23 09:27:06 -04:00
Robby Findler
61f3f31b0a fixed a bug in the way PR 11775 was fixed
related to PR 11775
  pls. merge to release branch
(cherry picked from commit 7f9bd52857)
2011-04-23 09:26:42 -04:00
Robby Findler
548866996f removed drscheme man page
merge to release branch
(cherry picked from commit 22e08dde07)
2011-04-23 09:26:33 -04:00
Robby Findler
4895b6fe26 added in recent changes
(cherry picked from commit 8655c4a55e)
2011-04-23 09:26:25 -04:00
Sam Tobin-Hochstadt
45d06c58a6 Fix undocumented binding.
(cherry picked from commit 295cb191cf)
2011-04-23 09:26:15 -04:00
Matthew Flatt
1601f8b73e fix gc of ps/pdf/svg cairo-surface stream
(cherry picked from commit aed7bdf0c9)
2011-04-20 19:28:46 -04:00
Matthew Flatt
5957da6bd9 fix typos
(cherry picked from commit 499800d96e)
2011-04-20 19:28:42 -04:00
Sam Tobin-Hochstadt
f858496f14 Avoid resolving types when checking subtyping on structs.
This fixes problems with caching, because sometimes we were giving the wrong answer for nested calls to `subtype'.
(cherry picked from commit 82e6e9d19e)
2011-04-20 19:28:36 -04:00
Sam Tobin-Hochstadt
cf55168496 Use `in-hash' explicitly.
(cherry picked from commit d459ad47b8)
2011-04-20 19:28:33 -04:00
Sam Tobin-Hochstadt
de002b69e3 Add type keys for Struct and StructTop.
(cherry picked from commit fe60793b4d)
2011-04-20 19:28:29 -04:00
Sam Tobin-Hochstadt
a191a15bca Add clever comments.
(cherry picked from commit 6c17b01f99)
2011-04-20 19:28:25 -04:00
Sam Tobin-Hochstadt
6a906b01b0 Add debugging parameter, and wrappers for unstable/debug.
(cherry picked from commit eaa63f2d1e)
2011-04-20 19:28:21 -04:00
Sam Tobin-Hochstadt
5255446653 Add cache for `resolve-once'.
Substantial speedups on "new-metrics.rkt" test.
(cherry picked from commit 79061150ef)
2011-04-20 19:28:00 -04:00
Sam Tobin-Hochstadt
4380e6d01c Use eq? on sequence numbers.
(cherry picked from commit 0f30f5d8de)
2011-04-20 19:27:57 -04:00
Sam Tobin-Hochstadt
2da100ba8f Remove useless requires.
(cherry picked from commit 51083dbce6)
2011-04-20 19:27:54 -04:00
Sam Tobin-Hochstadt
0a8ad31a47 Fix typo.
(cherry picked from commit 7ba2b6e100)
2011-04-20 19:27:51 -04:00
Sam Tobin-Hochstadt
0d898db859 Remove unused macro.
Convert function to macro for inlining.
(cherry picked from commit e7beef3f4f)
2011-04-20 19:27:45 -04:00
Sam Tobin-Hochstadt
d938e0c9b0 Refactor to avoid duplicated code.
(cherry picked from commit 05d9e1a871)
2011-04-20 19:27:40 -04:00
Stephen Chang
8c26521524 fix typo in guide sec 17.3.3
(cherry picked from commit 3e08a61190)
2011-04-20 19:27:30 -04:00
Robby Findler
5030041385 fix check syntax's stdout so that it can handle specials
related to PR 11854
  merge to release, please
(cherry picked from commit 57b9bcfe38)
2011-04-20 19:27:26 -04:00
Stephen Chang
8ba24327c1 fix struct constructor application in lazy racket
(cherry picked from commit 718b9709bc)
2011-04-20 19:27:02 -04:00
Jon Rafkind
86b781e5bf show an example of define-fun-syntax and using the keywords
(cherry picked from commit cdb63b9c77)
2011-04-20 19:26:59 -04:00
Jon Rafkind
35491070d0 better error message when pre: or post: is used incorrectly
(cherry picked from commit 3f572809c9)
2011-04-20 19:26:56 -04:00
Sam Tobin-Hochstadt
05260c16c2 Remove useless propositional clauses. Thanks to dyoo for test case.
(cherry picked from commit 0f5dfd6871)
2011-04-20 19:26:52 -04:00
Matthew Flatt
4321a1e13c fix `namespace-attach-module' at phases above 0
Closes PR 11863
 Merge to 5.1.1
(cherry picked from commit 586478a241)
2011-04-20 19:26:43 -04:00
Matthew Flatt
2d375a7d29 doc corrections
Closes PR 11865
 Merge to 5.1.1
(cherry picked from commit 18e3f54fa5)
2011-04-19 09:31:25 -04:00
Matthew Flatt
8f368d8df6 fix typo
Closes PR 11864
 Merge to 5.1.1
(cherry picked from commit 6664e20815)
2011-04-19 09:31:23 -04:00
Matthew Flatt
6586ab1201 fix typo
Closes PR 11862
 Merge to 5.1.1
(cherry picked from commit 963a8214b8)
2011-04-19 09:31:20 -04:00
Matthew Flatt
67b490adb1 adjust Racket release notes for 5.1.1
Merge to v5.1.1
(cherry picked from commit 4e576a8ac9)
2011-04-19 09:31:16 -04:00
Eli Barzilay
d827278dd8 Indentation in example
(cherry picked from commit 49e1b47bb2)
2011-04-19 09:31:13 -04:00
Sam Tobin-Hochstadt
cb4ab1869e Copy properties when optimizing bodies of lambda/define-values.
Closes PR 11860.
(cherry picked from commit 981616d504)
2011-04-19 09:31:10 -04:00
Sam Tobin-Hochstadt
d61e0e4c5c Remove unused code.
(cherry picked from commit 187dc63493)
2011-04-19 09:31:06 -04:00
Hari Prashanth
14ba5fb38a Added some examples to to the TR reference docs.
Signed-off-by: Sam Tobin-Hochstadt <samth@racket-lang.org>
(cherry picked from commit 7934ac3461)
2011-04-19 09:31:03 -04:00
Matthew Flatt
d863ee466b fix bug in thread'-based implementation of place'
which is used when parallel places are unavailable
(cherry picked from commit 2fa35a2a5c)
2011-04-19 09:31:01 -04:00
Vincent St-Amour
2db9698835 Optimize filter operations.
(cherry picked from commit bce90e2a71)
2011-04-19 09:30:58 -04:00
Robby Findler
34ae8d15bf make the close icon clicky thingy not grab the focus
closes PR 10380
(cherry picked from commit 100b4d31f1)
2011-04-19 09:30:54 -04:00
Eli Barzilay
a3ce6c184e New Racket version 5.1.0.900. 2011-04-17 22:00:19 -04:00
Robby Findler
0923d07acb adjust the close callback so that it knows what state the bug report window is in
closes PR 11773

merge to the release, please
(cherry picked from commit 95b6f149fa)
2011-04-16 20:30:10 -06:00
Matthew Flatt
34678b6f72 fix gl canvas created after parent is shown
Merge to 5.1.1
(cherry picked from commit 546faf8b34)
2011-04-16 16:41:44 -06:00
Ryan Culpepper
d82bc3f455 Alpha version number for the v5.1.1 release 2011-04-16 08:19:19 -06:00
Eli Barzilay
cf2c3c004b Merge branch 'stable' into release 2011-02-14 22:19:50 -05:00
Eli Barzilay
bee619f060 v5.1 stuff
(cherry picked from commit 2880edcb8c)
2011-02-14 22:04:46 -05:00
Robby Findler
0d0f67260b This is a change to paper over a bug elsewhere in the system that threatens the release.
Specifically, when there is an error in the namespace require (say if one of the teachpack
files gets corrupted (because you use a script that monkeys around in the installation, say,
and things go wrong)) then the first-opened method does not return normally, but raises
an exception. This, so far, is not a problem, but it appears that there is a bug in the
implementation of the drracket repl io ports that causes them to deadlock when flushing
the error port under certain conditions (I'm not sure what is really going on with this bug,
but I am observing a call to flush that fails to return) and the error-display-handler
for the teaching languages flushes the output port.

This change just avoids printing the error and so the error display handler is not called
in the fragile state. This change goes back to exactly what was happening in 5.0.2,
at least as far as the teaching language's first-opened method is concerned.

So, if this seems okay, I'd like to suggest it be included in the release.
(cherry picked from commit 25adab8cbb)
2011-02-14 16:07:39 -05:00
Matthew Flatt
982ee1e512 doc repair
for PR 11734 follow-up
(cherry picked from commit da3fd90256)
2011-02-14 16:07:39 -05:00
Matthew Flatt
e20f66ef12 fix A4 paper description
Closes PR 11734
(cherry picked from commit 6320d3207a)
2011-02-14 16:07:39 -05:00
Eli Barzilay
30209c9691 New Racket version 5.1. 2011-02-11 10:17:29 -05:00
Eli Barzilay
f3e51f3d80 Update version number for the v5.1 release 2011-02-11 10:09:15 -05:00
Matthew Flatt
c88cde6092 fix typos
Merge to 5.1
(cherry picked from commit 379feaeac2)
2011-02-11 09:58:26 -05:00
Eli Barzilay
e61034cc0b Don't assume that the user sexpr is a list.
Fixes PR 11718
(cherry picked from commit 4b1960e1f0)
2011-02-11 09:58:14 -05:00
Eli Barzilay
672ac1970a Improve the apache rewrite instructions.
Specifically, mention the `NE' flag and point at the apache "current"
version of the page.
(cherry picked from commit 42eb0a9e88)
2011-02-11 09:56:14 -05:00
Matthew Flatt
aeedcef3a3 fix s:home keybinding
Merge to 5.1
(cherry picked from commit 33db7b1229)
2011-02-10 12:56:31 -07:00
Matthew Flatt
0707a3f954 win32: fix parent HWND of canvas%
Merge to 5.1
(cherry picked from commit 6b1112a9ad)
2011-02-10 12:56:25 -07:00
Matthew Flatt
98dd05c6d3 fix `set-icon' in frame% to make mask argument optional
Merge to 5.1
(cherry picked from commit f4a881f0e3)
2011-02-09 09:42:38 -07:00
Matthew Flatt
79760264e7 gtk: fix X selection for older Gtk versions
Merge to 5.1
(cherry picked from commit f21f0bdba2)
2011-02-09 09:42:31 -07:00
Matthias Felleisen
f7f0faf83f update history
(cherry picked from commit e71ccdac38)
2011-02-08 13:08:38 -07:00
Robby Findler
9831311492 2htdp/image: place-image/align doesn't really need to check that the second image argument has a pinhole
(cherry picked from commit eb45a6f15b)
2011-02-06 21:54:44 -05:00
Matthew Flatt
74b9465b4e document limitations of on-subwindow-event' and on-subwindow-char'
Merge to 5.1
(cherry picked from commit e2a0fd02ef)
2011-02-06 09:43:16 -05:00
Matthew Flatt
abb10d86c0 Adjust FrTime mailbox implementation to use `thread-{receive,send}'
instead of async channels. This change allows Fred to work. The
  change is needed due to implementation weaknesses at multiple
  levels, but mostly because `on-subwindow-event' has to complete
  atomically --- or else events are pessimistically discarded, and
  async-channel communication never completes atomically. In contrast,
  messages can be posted to the built-in message queue for a thread
  (because it's built in). Probably the async-channel library should
  switch to using the built-in thread queue support.
 Merge to 5.1
(cherry picked from commit 3c6652b83c)
2011-02-06 09:42:52 -05:00
Matthew Flatt
17157945bb fix scheduler's support for `ffi/unsafe/try-atomic'
where problems with abort-without-dynamic-wind mode caused
  a spurious trigger of nack evts
 Merge to 5.1
(cherry picked from commit 3e38071dae)
2011-02-06 09:42:46 -05:00
Matthew Flatt
4c20048bff minor correction to release notes
Merge to 5.1
(cherry picked from commit ead1c366d1)
2011-02-06 09:42:39 -05:00
Matthew Flatt
ca1e603f7f adjust racket/gui/base' to re-export file/resource'
Merge to 5.1 along with b4ce4bb, 3375005, 18eb7c8, 3c4807f
(cherry picked from commit 5eeec97878)
2011-02-05 16:45:43 -05:00
Matthew Flatt
745e5018fd fix coverage of `file/resource' tests
(cherry picked from commit 3c4807f032)
2011-02-05 16:02:51 -05:00
Matthew Flatt
a25b553b8e get-resource' and write-resource': support .ini files
(cherry picked from commit 18eb7c86b5)
2011-02-05 16:02:51 -05:00
Matthew Flatt
e4db039f20 `file/resource': improve compatibility
by generating "failure" results instead of exn:fail:unsupported
(cherry picked from commit 337500552c)
2011-02-05 16:02:50 -05:00
Matthew Flatt
a917f465f7 add `file/resource'
(cherry picked from commit b4ce4bbd2c)
2011-02-05 16:02:50 -05:00
Jay McCarthy
88c18e08f6 Fixes PR11713
(cherry picked from commit b4c3d82c94)
2011-02-05 16:02:50 -05:00
Matthew Flatt
cc3e6e1812 futures: fix `future' when given a non-JITted procedure
Merge to 5.1
(cherry picked from commit da6d4f3fba)
2011-02-05 16:02:50 -05:00
Matthew Flatt
b32d2eeaac futures: fix lightweight-continuation GC bug
Merge to 5.1
(cherry picked from commit 7579b48791)
2011-02-05 16:02:50 -05:00
Matthew Flatt
e8a0c3c187 cocoa: yet another hack around weird cocoa behavior
Closes PR 11712
 Merge to 5.1
(cherry picked from commit 845ca2d586)
2011-02-04 20:05:27 -07:00
Ryan Culpepper
ae73336ede fixed macro stepper bug
Merge to release branch
(cherry picked from commit 2c1d49de6f)
2011-02-04 15:58:16 -07:00
Robby Findler
1fba9e40fb add a little more about quasiquote to the guide
Please merge to the 5.1 release branch
(cherry picked from commit 74f8b0e2f1)
2011-02-04 15:52:35 -07:00
Matthew Flatt
08ff71d1a1 win32: fix horizontal `radio-box%'
Merge to 5.1
(cherry picked from commit 8f404a4618)
2011-02-04 15:52:26 -07:00
Matthew Flatt
9721ad1ce7 cocoa: fix problems with `radio-box%' in no-selection mode
Closes PR 11708
 Merge to 5.1
(cherry picked from commit 5d1b78384d)
2011-02-04 10:31:55 -05:00
Matthew Flatt
4e33afc100 fix dc<%>
Closes PR 11706
 Merge to 5.1
(cherry picked from commit 913f6b5486)
2011-02-04 10:31:52 -05:00
Matthew Flatt
c10d0a6f88 fix doc bug
Closes PR 11690
 Merge to 5.1
(cherry picked from commit ab588eb69a)
2011-02-04 10:31:49 -05:00
Eli Barzilay
bfae2d4573 Proxy the irc logs from pre.racket-lang.org.
That's where the bot needs to run; use a proxy instead of NFS.
(cherry picked from commit d2a6da7561)
2011-02-04 04:32:55 -05:00
Eli Barzilay
cc4c928274 Try to kill the test thread after a minute, and exit after another minute.
(cherry picked from commit 2fe690b29e)
2011-02-04 04:32:49 -05:00
Ryan Culpepper
968eb41475 auto-open top-level test suites in rackunit gui
Merge to release branch
(cherry picked from commit e3c02f7072)
2011-02-03 17:17:20 -07:00
Ryan Culpepper
6eedd57f8b fixed race in rackunit gui
Merge to release branch
(cherry picked from commit 9d42ef9235)
2011-02-03 17:17:13 -07:00
Ryan Culpepper
4bb3fd937a fix macro stepper bug (missing hash)
Merge to release branch
(cherry picked from commit 1054c504ea)
2011-02-03 17:17:05 -07:00
Ryan Culpepper
fb36f21477 fixed doc typo
Fixes PR 11703
  Merge to release branch
(cherry picked from commit 4ef3dfe6a8)
2011-02-03 17:16:58 -07:00
Robby Findler
cebe089e1b don't show themodule langauge opt-in buttons when we're not in the module language anymore
(this extra check is necessary because we might have moved languages between
    the time the timer is started and when it fires)

   closes PR 11705

   Please merge to the release 5.1 branch
(cherry picked from commit c119cef915)
2011-02-03 17:16:52 -07:00
John Clements
d1f4b2fdfc stepper HISTORY.txt updated
(cherry picked from commit b60aca2f8f)
2011-02-03 15:46:28 -05:00
Eli Barzilay
99866b29fd Check for libracket instead of any .so file
(cherry picked from commit 83d2e5c151)
2011-02-03 10:28:24 -05:00
Matthew Flatt
bef9f8f0cb fix guide typos
Closes PR 11700
 Merge to 5.1
(cherry picked from commit 08cc4dffb2)
2011-02-03 10:28:20 -05:00
Matthew Flatt
cc249dcdc2 fix jpeg writing
Closes PR 11701
 Merge to 5.1
(cherry picked from commit 16eb172e5a)
2011-02-03 10:28:17 -05:00
Robby Findler
4e9b5bcaef adjust the wxme reader so that it now creates image-snip%s when it finds image-snips in file
it used to create image% objects that were simple containers for the
  data in the file; the change _should_ be backwards compatibile;
  the only know incompatibility is that the get-filename method
  now returns a path instead of bytes (this is to match the
  image-snip% class)

   closes PR 1168

   please merge to the 5.1 release branch
(cherry picked from commit 0fce29f552)
2011-02-03 10:28:14 -05:00
Matthew Flatt
9215e3c401 fix `image-snip%' unmarshaling with filename
Merge to 5.1
(cherry picked from commit c2c6c79a15)
2011-02-03 10:28:10 -05:00
Robby Findler
9b9dc8c2f8 missed a multiple-vlaues change in a short-cut case.
Please merge to the 5.1 release branch
(cherry picked from commit 63aa388d49)
2011-02-03 10:28:06 -05:00
Matthew Flatt
68e13d8587 re-generate `configure' script
Merge to 5.1, along with e91f243b64
(cherry picked from commit 309e1aec4f)
2011-02-03 10:27:59 -05:00
Matthew Flatt
6934115fec fix typo
(cherry picked from commit d704f9565b)
2011-02-03 10:27:56 -05:00
Matthew Flatt
0c03da2596 fix problem with allocation while holding a future lock
Merge to 5.1
(cherry picked from commit 9d204c01cf)
2011-02-03 10:27:52 -05:00
Eli Barzilay
728cf780b1 Avoid compiling plot if the source directory is missing
(cherry picked from commit e91f243b64)
2011-02-03 10:27:48 -05:00
Vincent St-Amour
e0029e50a8 Fix more doc typoes.
Closes PR 11694.

Merge to 5.1.
(cherry picked from commit 2935170eff)
2011-02-03 10:27:43 -05:00
Vincent St-Amour
63af7b4af0 Fix make-->vector doc typo.
Closes PR 11698.

Merge to 5.1.
(cherry picked from commit 62327c5f50)
2011-02-03 10:27:38 -05:00
Casey Klein
709947bbb1 Updates the Redex history for v5.1
Please merge to release branch.
(cherry picked from commit 309bb47c7e)
2011-02-03 10:27:31 -05:00
Matthew Flatt
9e101a2941 gtk: map left-tab key to #\tab
Closes PR 11697
 Merge to 5.1
(cherry picked from commit 0eed4e9462)
2011-02-02 09:49:28 -05:00
Matthew Flatt
3b47d8eb35 gtk: fix drag-and-drop URI decoding
Closes PR 11695
 Merge to 5.1
(cherry picked from commit 2d01241f7a)
2011-02-02 09:49:25 -05:00
Matthew Flatt
2e67a39ae8 gtk: force display of images in button labels
Merge to 5.1
(cherry picked from commit 7291d944c3)
2011-02-02 09:49:22 -05:00
Matthew Flatt
0b4f5a093d add missing mutex unlock in error path
Merge to 5.1
(cherry picked from commit 9134aa4ee8)
2011-02-02 09:49:18 -05:00
Eli Barzilay
d01e6a8dcc Comment out what looks like debugging output 2011-02-01 20:50:11 -05:00
Ryan Culpepper
6b121cdce6 warning to stderr, not stdout
See PR 11691
  Merge to release branch
(cherry picked from commit fd3595e7d3)
2011-02-01 19:37:10 -05:00
Vincent St-Amour
8c312b3181 Document the Path-String type.
(cherry picked from commit 3c081d8fa7)
2011-02-01 19:37:06 -05:00
Robby Findler
b11a9de62b fix the get-token-range method in the case that the colorer's current region doesn't start at the begining of the buffer
Please merge to the release branch
(cherry picked from commit 8c6c1a0e9b)
2011-02-01 19:35:07 -05:00
Robby Findler
bb5407a24a add an extra check to make sure drracket is more likely to startup when things go wrong in strange ways
Please merge to the 5.1 release branch
(cherry picked from commit 823b6629aa)
2011-02-01 14:36:16 -05:00
Robby Findler
51e37ac382 updated release notes
please merge to 5.1 branch
(cherry picked from commit d5749aebba)
2011-02-01 14:36:10 -05:00
Jay McCarthy
0b9f8bcabe External versions
Merge to release branch
(cherry picked from commit 0aa19be48e)
2011-02-01 14:36:06 -05:00
Matthew Flatt
2de895ce46 minor man-page corrections
Merge to 5.1
(cherry picked from commit 0011b386ba)
2011-02-01 14:36:00 -05:00
Matthew Flatt
62e35844fb fix problem with `raco exe'
Merge to 5.1
(cherry picked from commit b70e1eca60)
2011-02-01 14:35:55 -05:00
Eli Barzilay
f3085a8168 New Racket version 5.0.99.900. 2011-01-31 22:35:33 -05:00
Matthew Flatt
7a6d3c91e7 update Racket history for v5.1
Merge to 5.1
(cherry picked from commit 44987d3ce2)
2011-01-31 22:08:50 -05:00
Vincent St-Amour
ff18afc1a9 Documented opt-lambda: and popt-lambda:.
(cherry picked from commit 4b3e621d0f)
2011-01-31 22:08:39 -05:00
Matthew Flatt
40055e2ba1 cocoa: fix problem with dispatching key-up events
Closes PR 11635
 Merge to 5.1
(cherry picked from commit 152c636e1c)
2011-01-31 22:08:35 -05:00
Matthew Flatt
c417d1f39d fix `read-language' exn construction in an EOF case
Closes PR 11683
 Merge to 5.1
(cherry picked from commit dd5f0dfc80)
2011-01-31 22:08:31 -05:00
Robby Findler
7b34013eda attempt to clarify the overlay/xy and underlay/xy documentation
Merge to 5.1
(cherry picked from commit 3add4bce4d)
2011-01-31 22:08:28 -05:00
Matthew Flatt
3112877e2b cocoa: create window to show composition via an input method
Merge to 5.1
(cherry picked from commit bbb12848d1)
2011-01-31 22:08:23 -05:00
Matthew Flatt
60cc50a54b avoid `on-size' problems
Merge to 5.1
(cherry picked from commit e2c43bf3ec)
2011-01-31 22:08:15 -05:00
Eli Barzilay
7c51edfe76 Reorganize, improve, and extend lazy tests.
(cherry picked from commit 6b5e09073a)
2011-01-31 22:08:06 -05:00
Stephen Chang
58f98ed1dc add test for lazy take bug fix -- invariant being incorrectly tested on unforced arg
(cherry picked from commit 08d99f4858)
2011-01-31 22:08:03 -05:00
Stephen Chang
01c641d14f fix lazy take bug -- invariant being tested on unforced argument
(cherry picked from commit 808361b789)
2011-01-31 22:08:00 -05:00
Matthew Flatt
e5b2badea3 fix problems with `read-language' error reporting
(cherry picked from commit bc5ab1e031)
2011-01-31 22:07:55 -05:00
Robby Findler
aeb104af1e fix a docs typo
closes PR 11677
(cherry picked from commit a7fb695c88)
2011-01-31 22:07:52 -05:00
Matthew Flatt
dbad6461b1 doc typo
(cherry picked from commit e43fa461a4)
2011-01-31 22:07:47 -05:00
Robby Findler
304e6dc873 added a color:text method get-token-range and then used that to improve how f1 in drracket works
Please include this commit on the release branch
(cherry picked from commit 4090eabacb)
2011-01-31 22:07:40 -05:00
Eli Barzilay
41eb7b86f6 Alpha version number for the v5.1 release 2011-01-29 13:03:41 -05:00
Eli Barzilay
6976914fd3 Merge branch 'stable' into release 2010-11-07 01:17:00 -04:00
Eli Barzilay
371b00afd8 v5.0.2 stuff
(cherry picked from commit c195e2b201)
2010-11-07 00:46:37 -04:00
Eli Barzilay
76680b839c New Racket version 5.0.2. 2010-11-06 21:25:52 -04:00
Eli Barzilay
0f9db7f9aa Update version number for the v5.0.2 release 2010-11-06 21:25:44 -04:00
Eli Barzilay
49c1a0d946 Clarify comment re `fixnum?' non-use at the syntax level, and add a note
to the `fixnum?' documentation.
(cherry picked from commit 9a485064ed)
2010-11-05 01:53:32 -04:00
Eli Barzilay
1652a908c7 Make the disabled places comment more prominent.
(cherry picked from commit 84ec108c32)
2010-11-05 01:53:27 -04:00
Vincent St-Amour
b28bdb5bc5 Fixed a fixnum typechecking issue.
(cherry picked from commit 4c081c127a)
2010-11-05 01:52:54 -04:00
Vincent St-Amour
e36787bdeb Fixed potential danger with fixnum optimizations.
(cherry picked from commit c0a6137c67)
2010-11-05 01:52:38 -04:00
Matthew Flatt
8340ad7111 fix JIT bug related to ignored `let' bindings
Closes PR 11380
(cherry picked from commit aaafe86dd0)
2010-11-05 01:52:29 -04:00
Matthias Felleisen
5104ced03a HISTORY pre-release check
(cherry picked from commit 41c084c95f)
2010-10-27 16:51:06 -06:00
Vincent St-Amour
ea0f518a9b Fixed a typo in the scribble docs.
Merge to 5.0.2.
(cherry picked from commit 25749736c9)
2010-10-27 16:50:52 -06:00
Matthias Felleisen
0e2e35708d improved testing for record?
(cherry picked from commit f600531e50)
2010-10-27 14:08:08 -04:00
Matthias Felleisen
0ac7d8f29a documented record?, which has a slightly wider interface so that I can write automated tests for the raw functionality
(cherry picked from commit 42bceaf900)
2010-10-27 14:08:07 -04:00
Matthias Felleisen
7318fc10ce partial fix for pr11350
(cherry picked from commit f876a854c6)
2010-10-27 14:08:06 -04:00
Matthias Felleisen
7dc309037e record? is working as it used, plus ability to auto-save images so I can write a test case, Closes PR11348 and PR11349
(cherry picked from commit 6457f1e4cc)
2010-10-26 17:09:53 -06:00
Casey Klein
7708164561 Renames delim-cont tests so that they're not stripped by the distribution script.
(Merge to release branch.)
(cherry picked from commit f4c4b79049)
2010-10-25 14:22:01 -06:00
Casey Klein
1b24ca0063 Updates Redex history for v5.0.2 release (merge to release branch)
(cherry picked from commit d7b0271691)
2010-10-25 14:21:49 -06:00
Ryan Culpepper
da7e1bae0c data/gvector: fixed typo in constructor
Merge to 5.0.2
(cherry picked from commit 24297a793f)
2010-10-25 11:35:34 -06:00
Matthew Flatt
6f2f04b979 swap vector*-ref' and vector-ref', etc.
Merge to 5.0.2
(cherry picked from commit 5d8e000d6d)
2010-10-25 11:35:26 -06:00
Matthew Flatt
e7a2a3b062 fix typo in CPP macro
Merge to 5.0.2
(cherry picked from commit 802e27eb85)
2010-10-25 11:35:19 -06:00
Eli Barzilay
48752d84f7 Organize dist-specs; remove bogus collection.
Merge to 5.0.2.
(cherry picked from commit 91f9f0c2d3)
2010-10-25 11:35:00 -06:00
John Clements
dbddb4a5ae Updated HISTORY.txt
Merge to 5.0.2
(cherry picked from commit f1be08bf1c)
2010-10-24 13:07:40 -06:00
Kevin Tew
2da74632fe cpuid assembly fix Merge to 5.0.2
(cherry picked from commit c1f2dea1ed)
2010-10-22 22:00:57 -06:00
Matthew Flatt
617daddbd7 fix bogus reordering of floating-point args in unboxing mode
Merge to 5.0.2
 Closes PR 11272
(cherry picked from commit c512dbd6d3)
2010-10-22 22:00:52 -06:00
Matthew Flatt
199895e52f fix PPC JIT `vector-length'
Merge to 5.0.2
(cherry picked from commit 93ba544c60)
2010-10-22 19:59:51 -06:00
Matthew Flatt
c0f1013b51 adjust release notes for 5.0.2
Merge to 5.0.2
(cherry picked from commit 0b73790ac0)
2010-10-22 14:22:41 -06:00
Robby Findler
14222dc0e4 rleease notes.
please merge to release branch.
(cherry picked from commit aa056efb74)
2010-10-22 14:22:38 -06:00
Robby Findler
b7ccf8d91e fixed an (apparently VERY old) problem with lights out and the built-in boards
please merge to release branch
(cherry picked from commit 4f236386a9)
2010-10-22 14:22:33 -06:00
Eli Barzilay
b845c05e7d Another "/proj/scheme/" -> "/proj/racket" change.
(cherry picked from commit f51fd94412)
2010-10-21 20:51:42 -04:00
Eli Barzilay
750676a78c Fix require in test suite
(cherry picked from commit aebf9e77ef)
2010-10-21 20:27:07 -04:00
Eli Barzilay
ddf8fadf18 Rename sequence' library to stream', move from racket/base' to racket'.
(cherry picked from commit 9e302a7106)
2010-10-21 19:52:00 -04:00
Eli Barzilay
8be4a76a61 Rename seqn-*' to stream-*'.
Later this will grow, to include a few kinds of streams in a unified
way, and possibly change the sequence protocol to a point where these
functions are not causing such big runtime penalties.
(cherry picked from commit 2f5265854a)
2010-10-21 19:51:56 -04:00
Eli Barzilay
49754fa3dd Reformat, minor tweaks, reorganize part on sequence operations into a
new section.
(cherry picked from commit 655b066a93)
2010-10-21 19:51:51 -04:00
Eli Barzilay
3504ba170e "/proj/scheme/" renamed to "/proj/racket/" at CCS.
(cherry picked from commit 6d6492e9e3)
2010-10-21 19:51:48 -04:00
Eli Barzilay
fad24a782f v5.0.1 stuff
(cherry picked from commit 5f5810cfea)
2010-10-21 14:58:17 -04:00
Casey Klein
6dcdcc283f Deletes ill-formed, commented-out Redex test.
Signed-off-by: Casey Klein <clklein@racket-lang.org>
2010-10-21 11:07:32 -06:00
Casey Klein
2c3c077d45 Revert "adjusted define-metafunction/extension so that it recompiles the old cases in the new language"
This reverts commit 99d85159b6.

Signed-off-by: Casey Klein <clklein@racket-lang.org>
2010-10-21 11:07:20 -06:00
John Clements
a3ed757fa9 cosmetic changes only
(cherry picked from commit d18f43a488)
2010-10-20 23:39:19 -06:00
John Clements
eb76f9fbc2 frightening bug, #%if was capturing everything
(cherry picked from commit 34fbc9a06f)
2010-10-20 23:39:11 -06:00
John Clements
724313c766 back to old style, not sure why
(cherry picked from commit dfe6f78d80)
2010-10-20 23:39:03 -06:00
Vincent St-Amour
3b23f24715 Fix opt-lambda:. Merge to 5.0.2.
(cherry picked from commit a15236ea4f)
2010-10-20 23:38:50 -06:00
John Clements
c8b04e77b2 copied 'mzlib/convert-prop attachment from outer layer to inner layer.
(cherry picked from commit 70898379c5)
2010-10-20 23:38:38 -06:00
Eli Barzilay
0ed9334cc1 Fix rendering in local build mode -- make it create file:// urls when
insisting on an absolute url (currently happens only in the tr pages).
(cherry picked from commit 1e2d4b8169)
2010-10-20 23:38:20 -06:00
John Clements
c05b501f1b may have fixed cond in stepper tests
(cherry picked from commit 60dabc8ad7)
2010-10-20 23:38:11 -06:00
John Clements
5f7993c6db looks like a fix for cond
(cherry picked from commit 0536d52efd)
2010-10-20 23:38:04 -06:00
John Clements
754dde0611 got testing harness working again.
(cherry picked from commit 2083181d2e)
2010-10-20 23:37:54 -06:00
Mike Sperber
8007ba6256 Unbreak the stepper on `check-expect'.
All kinds of things expand into (let () ...), so all kinds of things
break.
(cherry picked from commit fd5e9d4d63)
2010-10-20 23:37:42 -06:00
Matthew Flatt
d06ef8bc05 fix non-inlined `in-vector' sequence on proxied vectors
Merge to 5.0.2
 Closes PR 11225
(cherry picked from commit ddca8cd29b)
2010-10-18 21:55:38 -06:00
Ryan Culpepper
4965622a63 Disabled redex test per Robby's request
(no corresponding master commit)
2010-10-18 08:40:50 -06:00
Mike Sperber
c1746d7649 Two more (hopefully last) renamings "Vertrag" -> "Signatur"
(i.e. "contract" -> "signature" in German)
(cherry picked from commit 17c4cb9254)
2010-10-18 08:37:58 -06:00
Mike Sperber
9146b803ee Don't annoy the user with test-engine summaries.
Make sure the test-engine summary is only printed when there's
something new to say.
(cherry picked from commit 43d097cc05)
2010-10-18 08:37:49 -06:00
Mike Sperber
c4766f1faf Made sperber responsible for `test-engine-tests.rkt'.
(cherry picked from commit 0821f694af)
2010-10-18 08:37:40 -06:00
Mike Sperber
33d4a451b3 Unbreak the test-engine-test.rkt test suite.
- signatures are only in ASL now
- the error messages for the DMdA languages are different
(cherry picked from commit 32455894bc)
2010-10-18 08:37:32 -06:00
Mike Sperber
ef2e970539 For DMdA, follow Robby's fix for htpd-langs.ss.
Namely, don't set an uncaught-exception-handler.
(cherry picked from commit 2a418b9cf0)
2010-10-18 08:37:17 -06:00
John Clements
6772e78474 r/exact-integer?/fixnum/
(cherry picked from commit bb160fbc04)
2010-10-18 08:37:08 -06:00
John Clements
ee41160d08 exr -> expr
(cherry picked from commit 9f7eeee570)
2010-10-18 08:36:58 -06:00
Matthew Flatt
478425520f fix quotability annotation on HtDP-language structs
Merge to 5.0.2
(cherry picked from commit 9f959f247e)
2010-10-17 21:12:58 -06:00
Matthew Flatt
81a6c4ff43 fix problem with recursive prints in custom printers
Merge to 5.0.2
(cherry picked from commit bb799ee9ee)
2010-10-17 21:12:48 -06:00
Matthew Flatt
9610515529 fix 3m problem with --disable-jit and --disable-futures
Merge to 5.0.2
(cherry picked from commit 68079d738d)
2010-10-17 10:10:40 -06:00
Matthew Flatt
83dfd88505 fix --disable-jit plus --disable-futures
Merge to 5.0.2
(cherry picked from commit aaeb21e0cc)
2010-10-17 10:10:40 -06:00
Matthew Flatt
fef3bc2b77 initialize `make-flvector' result with default 0.0s
Merge to 5.0.2
(cherry picked from commit 51f20afd0b)
2010-10-17 10:10:39 -06:00
Robby Findler
0b8537e246 fixed mangled test case
(cherry picked from commit 93260c7dd0)
2010-10-16 23:37:04 -04:00
Matthew Flatt
4ae79dd014 fix an interaction of `dynamic-wind' pre thunks and composable continuations
Merge to 5.0.2
(cherry picked from commit caa747e5c6)
2010-10-16 23:37:02 -04:00
Eli Barzilay
f29e7130f7 New Racket version 5.0.1.900. 2010-10-16 21:08:26 -04:00
Ryan Culpepper
617a6af686 Alpha version number for the v5.0.2 release 2010-10-16 18:47:32 -06:00
22 changed files with 196 additions and 82 deletions

View File

@ -193,12 +193,18 @@ After you've built and installed minimal Racket, you could install
packages via the package-catalog server, completely ignoring the
content of "pkgs".
If you want to install packages manually out of the "pkgs", the
`local-catalog' target creates a catalog as "racket/local/catalog" that
merges the currently configured catalog's content with pointers to the
packages in "pkgs". A Unix-style build works that way: it builds and
installs minimal Racket, and then it installs packags out of a catalog
that is created by `make local-catalog'.
If you want to install packages manually out of the "pkgs" directory,
the `local-catalog' target creates a catalog as "racket/local/catalog"
that merges the currently configured catalog's content with pointers
to the packages in "pkgs". A Unix-style build works that way: it
builds and installs minimal Racket, and then it installs packags out
of a catalog that is created by `make local-catalog'.
To add a package catalog that is used after the content of "pkgs" but
before the default package catalogs, specify the catalog's URL as the
`SRC_CATALOG' makefile variable:
make .... SRC_CATALOG=<url>
Linking Packages for In-place Development Mode
----------------------------------------------
@ -217,7 +223,7 @@ packages. The configuration adjustment is made only if no
configuration file "racket/etc/config.rktd" exists already.
All other packages (as specified by `PKGS') are installed via the
default package catalog. They are installed in installation scope, but
configured package catalog. They are installed in installation scope, but
the content of "racket/share/pkgs" is not meant to be edited. To
reinstall a package in a mode suitable for editing and manipulation
with Git tools, use

View File

@ -32,6 +32,7 @@ WIN32_PLAIN_RACKET = racket\racket
PLAIN_RACO = racket/bin/racket -N raco -l- raco
WIN32_PLAIN_RACO = racket\racket -N raco -l- raco
DEFAULT_SRC_CATALOG = http://pkgs.racket-lang.org
MACOSX_CHECK_ARGS = -I racket/base -e '(case (system-type) [(macosx) (exit 0)] [else (exit 1)])'
MACOSX_CHECK = $(PLAIN_RACKET) -G build/config $(MACOSX_CHECK_ARGS)
@ -112,6 +113,7 @@ cpus-unix-style:
plain-unix-style:
if [ "$(PREFIX)" = "" ] ; then $(MAKE) error-need-prefix ; fi
$(MAKE) base CONFIGURE_ARGS_qq='$(CONFIGURE_ARGS_qq) $(CONFIG_PREFIX_ARGS)' $(UNIX_BASE_ARGS)
$(MAKE) set-src-catalog
$(MAKE) local-catalog
"$(DESTDIR)$(PREFIX)/bin/raco" pkg install $(UNIX_RACO_ARGS) $(REQUIRED_PKGS) $(PKGS)
cd racket/src/build; $(MAKE) fix-paths
@ -128,6 +130,10 @@ local-catalog:
"$(DESTDIR)$(PREFIX)/bin/racket" -l- pkg/dirs-catalog --check-metadata $(LOC_CATALOG) pkgs
"$(DESTDIR)$(PREFIX)/bin/raco" pkg catalog-copy --force --from-config $(LOC_CATALOG) $(UNIX_CATALOG)
set-src-catalog:
if [ ! "$(SRC_CATALOG)" = "$(DEFAULT_SRC_CATALOG)" ] ; \
then "$(DESTDIR)$(PREFIX)/bin/raco" pkg config -i --set catalogs "$(SRC_CATALOG)" ""; fi
# ------------------------------------------------------------
# Base build
@ -177,7 +183,7 @@ racket/src/build/Makefile: racket/src/configure racket/src/Makefile.in
# side of its definition.
# Catalog for package sources:
SRC_CATALOG = http://pkgs.racket-lang.org/
SRC_CATALOG = $(DEFAULT_SRC_CATALOG)
# A URL embedded in documentation for remote searches, where a Racket
# version and search key are added as query fields to the URL, and ""
@ -318,7 +324,7 @@ PKGS_CONFIG = -U -G build/config racket/src/pkgs-config.rkt
pkgs-catalog:
$(PLAIN_RACKET) $(PKGS_CATALOG) racket/share/pkgs-catalog pkgs
$(PLAIN_RACKET) $(PKGS_CONFIG)
$(PLAIN_RACKET) $(PKGS_CONFIG) "$(DEFAULT_SRC_CATALOG)" "$(SRC_CATALOG)"
$(PLAIN_RACKET) racket/src/pkgs-check.rkt racket/share/pkgs-catalog
win32-pkgs-catalog:

View File

@ -12,7 +12,7 @@
(define collection 'multi)
(define version "6.2.0.2")
(define version "6.2")
(define deps `("racket-lib"
["racket" #:version ,version]))

View File

@ -897,11 +897,15 @@ for @nonterm{key}.
@item{@DFlag{scope-dir} @nonterm{dir} --- Same as for @command-ref{install}.}
]
The valid @nonterm{key}s are:
The valid @nonterm{key}s and corresponding @nonterm{val}s are:
@itemlist[
@item{@exec{name} --- A string for the installation's name, which is used by @exec{user}
@tech{package scope} and defaults to the Racket version.}
@item{@exec{catalogs} --- A list of URLs for @tech{package catalogs}.}
@item{@exec{catalogs} --- A list of URLs for @tech{package catalogs}. An empty-string
@nonterm{val} is replaced by the sequence of catalogs for the default configuration.
A @nonterm{val} that does not start with alphabetic characters followed by @litchar{://}
is treated as a path relative to the configuration directory (as
reported by @racket[find-config-dir]).}
@item{@exec{default-scope} --- Either @exec{installation} or @exec{user}.
The value of this key at @exec{user} scope (possibly defaulting from
@exec{installation} scope) is

View File

@ -364,7 +364,7 @@ driver of a for-each loop in Visual Basic or PowerShell.
A call @racket[(com-enumerate-to-list obj)] is equivalent to
@racket[(com-enumeration-to-list (com-get-property obj "_NewEnum"))].
@history[#:added "6.2.0.2"]}
@history[#:added "6.2"]}
@defproc[(com-enumeration-to-list [obj com-object?]) list?]{
@ -372,7 +372,7 @@ A call @racket[(com-enumerate-to-list obj)] is equivalent to
Given a COM object that implements @cpp{IEnumVARIANT}, extracts the
enumerated values into a list.
@history[#:added "6.2.0.2"]}
@history[#:added "6.2"]}
@; ----------------------------------------

View File

@ -166,7 +166,7 @@ foreign call as follows:
]
@history[#:changed "6.2.0.2" @elem{Added @racket[#:allow] and automatic retries.}]}
@history[#:changed "6.2" @elem{Added @racket[#:allow] and automatic retries.}]}
@defform[(_hmfun fun-option ... type-spec ... -> id output-expr)]{
@ -181,7 +181,7 @@ is added for the first argument.}
Parameters that determine the behavior of automatic retries for @racket[_hfun].
@history[#:added "6.2.0.2"]}
@history[#:added "6.2"]}
@defproc[(HRESULT-retry? [r exact-nonnegative-integer?]) boolean?]{
@ -189,7 +189,7 @@ Parameters that determine the behavior of automatic retries for @racket[_hfun].
Returns @racket[#t] if @racket[r] is @cpp{RPC_E_CALL_REJECTED}
or @cpp{RPC_E_SERVERCALL_RETRYLATER}, @racket[#f] otherwise.
@history[#:added "6.2.0.2"]}
@history[#:added "6.2"]}
@deftogether[(

View File

@ -821,7 +821,7 @@ specifications:
]
@history[#:changed "6.2.0.2" @elem{Added the @racket[#:retry] option.}]}
@history[#:changed "6.2" @elem{Added the @racket[#:retry] option.}]}
@defproc[(function-ptr [ptr-or-proc (or cpointer? procedure?)]
[fun-type ctype?])

View File

@ -75,9 +75,9 @@ value before the outermost @racket[read] returns.
See @secref["readtables"] for an extended example that uses
@racket[read/recursive].
@history[#:changed "6.2.0.2" @elem{Adjusted use of @racket[readtable] to
more consistently apply to the delimiters of
a built-in form.}]}
@history[#:changed "6.2" @elem{Adjusted use of @racket[readtable] to
more consistently apply to the delimiters of
a built-in form.}]}
@defproc[(read-syntax/recursive [source-name any/c (object-name in)]
@ -111,9 +111,9 @@ when the input stream starts with a comment (after whitespace).
See @secref["readtables"] for an extended example that uses
@racket[read-syntax/recursive].
@history[#:changed "6.2.0.2" @elem{Adjusted use of @racket[readtable]
in the same way as for
@racket[read/recursive].}]}
@history[#:changed "6.2" @elem{Adjusted use of @racket[readtable]
in the same way as for
@racket[read/recursive].}]}
@defproc[(read-language [in input-port? (current-input-port)]

View File

@ -189,5 +189,5 @@ A @tech{structure type property} that allows structure types to customize
field must be designated as immutable. The value of the field is used as the
@racket[object-name] of the structure.}
]
@history[#:added "6.2.0.2"]
}
@history[#:added "6.2"]}

View File

@ -2963,7 +2963,7 @@ The @racket[begin-encourage-inline] form is also provided by the
@racketmodname[(submod racket/performance-hint begin-encourage-inline)] module,
which has fewer dependencies than @racketmodname[racket/performance-hint].
@history[#:changed "6.2.0.2" @elem{Added @racketmodname[(submod racket/performance-hint begin-encourage-inline)] submodule.}]
@history[#:changed "6.2" @elem{Added the @racketmodname[(submod racket/performance-hint begin-encourage-inline)] submodule.}]
}
@defform*/subs[[(define-inline id expr)

View File

@ -1405,4 +1405,22 @@
;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(module force-local-expand-of-body racket/base
(require (for-syntax racket/base))
(provide (rename-out [mb #%module-begin])
(except-out (all-from-out racket/base) #%module-begin))
(define-syntax (mb stx)
(syntax-case stx ()
[(_ . b)
(local-expand #`(#%module-begin . b) (syntax-local-context) null)])))
(module use-local-require-at-phase-1 'force-local-expand-of-body
(require (for-syntax racket/base))
(begin-for-syntax
(local-require (only-in racket [+ ++]))))
;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(report-errs)

View File

@ -2100,6 +2100,19 @@
m))))
m))
;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Make sure that `set!` works right in forced subform expansion:
(let ()
(define (time-print-mixin t%)
(define start-time #f)
(class t%
(super-new)
(define/override (m)
(set! start-time 1)
(super m))))
(void time-print-mixin))
;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(report-errs)

View File

@ -51,6 +51,7 @@
"Shriram Krishnamurthi, "
"Mario Latendresse, "
"Guillaume Marceau, "
"Gustavo Massaccesi, "
"Jacob Matthews, "
"Jay McCarthy, "
"Mike T. McHenry, "

View File

@ -1358,6 +1358,7 @@
(when (file-exists? dest)
(delete-file dest)))
(raise x))])
(define old-perms (ensure-writable dest-exe))
(when (and (eq? 'macosx (system-type))
(not unix-starter?))
(let ([m (or (assq 'framework-root aux)
@ -1654,7 +1655,8 @@
(let ([m (and (eq? 'windows (system-type))
(assq 'subsystem aux))])
(when m
(set-subsystem dest-exe (cdr m)))))])))))))))
(set-subsystem dest-exe (cdr m)))))]))))
(done-writable dest-exe old-perms))))))
;; For Mac OS X GRacket, the actual executable is deep inside the
;; nominal executable bundle
@ -1664,3 +1666,20 @@
[(list? p) (map mac-mred-collects-path-adjust p)]
[(relative-path? p) (build-path 'up 'up 'up p)]
[else p]))
;; Returns #f (no change needed) or old permissions
(define (ensure-writable dest-exe)
(cond
[(member 'write (file-or-directory-permissions dest-exe))
;; No change needed
#f]
[else
(define old-perms
(file-or-directory-permissions dest-exe 'bits))
(file-or-directory-permissions dest-exe (bitwise-ior old-perms #o200))
old-perms]))
;; Restores old permissions (if not #f)
(define (done-writable dest-exe old-perms)
(when old-perms
(file-or-directory-permissions dest-exe old-perms)))

View File

@ -247,7 +247,7 @@
(mask->alpha (cvt image) mask))
mask
#t)))))))))])
(unless ico-ico (printf "no! ~a\n" (ico-desc exe-ico)))
(unless ico-ico (log-error "no icon conversion available to ~a" (ico-desc exe-ico)))
(when ico-ico
(file-position p (car (ico-data exe-ico)))
(display (cdr (ico-data ico-ico)) p)))))

View File

@ -67,23 +67,21 @@
[else
(match k
['catalogs
(if (member #f v)
;; Replace #f with default URLs, relative path
;; with absolute path:
(apply append (for/list ([i (in-list v)])
(cond
[(not i) (get-default)]
[(regexp-match? #rx"^[a-z]+://" i)
(list i)]
[else
;; If it doesn't look like a URL, then treat it as
;; a path (potentially relative to the configuration file):
(list
(url->string
(path->url
(simple-form-path
(path->complete-path i (path->complete-path (pkg-dir #t)))))))])))
v)]
;; Replace #f with default URLs, relative path
;; with absolute path:
(apply append (for/list ([i (in-list v)])
(cond
[(not i) (get-default)]
[(regexp-match? #rx"^[a-z]+://" i)
(list i)]
[else
;; If it doesn't look like a URL, then treat it as
;; a path (potentially relative to the configuration file):
(list
(url->string
(path->url
(simple-form-path
(path->complete-path i (path->complete-path (pkg-dir #t)))))))])))]
[_ v])]))
(define (update-pkg-cfg! key val)
@ -146,7 +144,11 @@
key
(format-list (cons val more-vals)))]
[(list* (and key "catalogs") val)
(update-pkg-cfg! 'catalogs val)]
(update-pkg-cfg! 'catalogs
(for/list ([s (in-list val)])
(cond
[(equal? s "") #f]
[else s])))]
[(list (and key "default-scope") val)
(unless (member val '("installation" "user"))
(pkg-error (~a "invalid value for config key\n"

View File

@ -176,12 +176,18 @@
[(path? cc)
(path->relative-string/setup cc #:cache pkg-path-cache)]
[else cc]))
(let ([msg (if (exn? x)
(format-error x #:long? #f #:to-string? #t #:cache pkg-path-cache)
;; `x` is a pair of long and short strings:
(cdr x))])
(unless (null? x) (for ([str (in-list (regexp-split #rx"\n" msg))])
(setup-fprintf port #f " ~a" str))))
(let ([msg (cond
[(exn? x)
(format-error x #:long? #f #:to-string? #t #:cache pkg-path-cache)]
[(not x)
;; No error; just output
#f]
[else
;; `x` is a pair of strings, long and short forms of the error:
(cdr x)])])
(when x
(for ([str (in-list (regexp-split #rx"\n" msg))])
(setup-fprintf port #f " ~a" str))))
(unless (zero? (string-length out)) (eprintf "STDOUT:\n~a=====\n" out))
(unless (zero? (string-length err)) (eprintf "STDERR:\n~a=====\n" err)))))
@ -1652,13 +1658,17 @@
(unless (avoid-main-installation)
(tidy-libs #f
(find-target-dir)
(find-lib-dir)
(if receipt-at-dest?
(find-target-dir)
(find-lib-dir))
installed-libs
ccs-to-compile))
(when (make-user)
(tidy-libs #t
(find-user-target-dir)
(find-user-lib-dir)
(if receipt-at-dest?
(find-user-target-dir)
(find-user-lib-dir))
installed-libs
ccs-to-compile)))
(for-each fixup-lib (hash-keys dests)))
@ -1707,9 +1717,9 @@
(write-receipt-hash receipt-path ht)))
lib-key))
(define (tidy-libs user? target-dir lib-dir installed-libs ccs-to-compile)
(clean-previous-delete-failures lib-dir path->relative-string/*)
(define receipt-path (build-path lib-dir receipt-file))
(define (tidy-libs user? target-dir receipt-dir installed-libs ccs-to-compile)
(clean-previous-delete-failures receipt-dir path->relative-string/*)
(define receipt-path (build-path receipt-dir receipt-file))
(define ht (read-receipt-hash receipt-path))
(define ht2 (for/fold ([ht (hash)]) ([(k v) (in-hash ht)])
(define coll-path (and (pair? v)

View File

@ -506,8 +506,9 @@
(delete-directory rktdir)))
(define (skip-dot-files!)
(current-skip-filter ; skip all dot-names
(lambda (p) (regexp-match? #rx"^[.]" (basename p)))))
(current-skip-filter
;; skip all dot-names, except ".LOCK..."
(lambda (p) (regexp-match? #rx"^[.](?!LOCK)" (basename p)))))
(define (make-install-copytree)
(define copytree (move/copy-tree #f))

View File

@ -14,10 +14,14 @@
(define catalog-relative-path (build-path 'up "share" "pkgs-catalog"))
(define catalog-relative-path-str (path->string catalog-relative-path))
(command-line
#:args
()
(void))
(define-values (default-src-catalog src-catalog)
(command-line
#:args
(default-src-catalog src-catalog)
(values default-src-catalog src-catalog)))
(define src-catalog-is-default?
(equal? src-catalog default-src-catalog))
(when (file-exists? config-file-path)
(call-with-input-file*
@ -25,16 +29,31 @@
(lambda (i)
(define r (read i))
(define l (hash-ref r 'catalogs #f))
(unless (and (list? l)
((length l) . >= . 1)
(equal? (car l) catalog-relative-path-str))
(define starts-as-expected?
(and (list? l)
((length l) . >= . 1)
(equal? (car l) catalog-relative-path-str)))
(define has-src-catalog?
(member (if src-catalog-is-default? #f src-catalog)
l))
(unless (and starts-as-expected?
has-src-catalog?)
(error 'pkgs-catalog
(~a "config file exists, but does not have a definition of `catalogs' that starts as expected\n"
(~a "config file exists, but with a mismatched `catalogs';\n"
" the existing configuration does not ~a\n"
" config file: ~a\n"
" expected initial element: ~s\n"
" expected ~acatalog: ~s\n"
" possible solution: delete the config file")
config-file-path
catalog-relative-path-str)))))
(if (not starts-as-expected?)
"start as expected"
"include the specified catalog")
config-file-path
(if (not starts-as-expected?)
"initial "
"")
(if (not starts-as-expected?)
catalog-relative-path-str
src-catalog))))))
(unless (file-exists? config-file-path)
(printf "Writing ~a\n" config-file-path)
@ -42,7 +61,12 @@
config-file-path
(lambda (o)
(write (hash 'catalogs
(list catalog-relative-path-str #f)
(cons catalog-relative-path-str
(append
(if src-catalog-is-default?
'()
(list src-catalog))
(list #f)))
'installation-name
"development"
'default-scope

View File

@ -1799,7 +1799,7 @@ scheme_lookup_binding(Scheme_Object *find_id, Scheme_Comp_Env *env, int flags,
if (SCHEME_FALSEP(val)) {
/* Corresponds to a run-time binding (but will be replaced later
through a renaming to a different binding) */
if (flags & SCHEME_OUT_OF_CONTEXT_LOCAL)
if (flags & (SCHEME_OUT_OF_CONTEXT_LOCAL | SCHEME_SETTING))
return scheme_make_local(scheme_local_type, 0, 0);
return NULL;
}

View File

@ -8088,14 +8088,24 @@ static Scheme_Object *shift_require_phase(Scheme_Object *e, Scheme_Object *phase
scheme_make_pair(phase, l));
}
static Scheme_Object *make_require_form(Scheme_Object *module_path, intptr_t phase, Scheme_Object *mark)
static Scheme_Object *make_require_form(Scheme_Object *module_path,
intptr_t abs_phase, intptr_t rel_phase,
Scheme_Object *mark)
{
Scheme_Object *e = module_path;
Scheme_Object *e = module_path, *r;
if (phase != 0) {
e = shift_require_phase(e, scheme_make_integer(phase), 1);
if (rel_phase != 0) {
e = shift_require_phase(e, scheme_make_integer(rel_phase), 1);
}
e = scheme_make_pair(require_stx, scheme_make_pair(e, scheme_null));
if (abs_phase == 0)
r = require_stx;
else {
r = scheme_datum_to_syntax(scheme_intern_symbol("#%require"),
scheme_false,
scheme_sys_wraps_phase_worker(abs_phase),
0, 0);
}
e = scheme_make_pair(r, scheme_make_pair(e, scheme_null));
e = scheme_datum_to_syntax(e, scheme_false, scheme_false, 0, 0);
e = scheme_add_remove_mark(e, mark);
@ -8125,7 +8135,7 @@ Scheme_Object *scheme_parse_lifted_require(Scheme_Object *module_path,
*_ref_expr = e;
}
e = make_require_form(module_path, phase - env->phase, mark);
e = make_require_form(module_path, env->phase, phase - env->phase, mark);
parse_requires(e, env->phase, base_modidx, env, for_m,
rns, post_ex_rns,
@ -12808,7 +12818,7 @@ Scheme_Object *scheme_toplevel_require_for_expand(Scheme_Object *module_path,
{
Scheme_Object *form;
form = make_require_form(module_path, phase, mark);
form = make_require_form(module_path, phase, phase, mark);
do_require_execute(cenv->genv, form);

View File

@ -13,12 +13,12 @@
consistently.)
*/
#define MZSCHEME_VERSION "6.2.0.2"
#define MZSCHEME_VERSION "6.2"
#define MZSCHEME_VERSION_X 6
#define MZSCHEME_VERSION_Y 2
#define MZSCHEME_VERSION_Z 0
#define MZSCHEME_VERSION_W 2
#define MZSCHEME_VERSION_W 0
#define MZSCHEME_VERSION_MAJOR ((MZSCHEME_VERSION_X * 100) + MZSCHEME_VERSION_Y)
#define MZSCHEME_VERSION_MINOR ((MZSCHEME_VERSION_Z * 1000) + MZSCHEME_VERSION_W)