Commit Graph

30195 Commits

Author SHA1 Message Date
Asumu Takikawa
b299f9c18a Refine define-runtime-path type 2013-08-13 13:51:28 -04:00
Asumu Takikawa
4a0f3f36ad Add Typed Racket support for racket/runtime-path 2013-08-13 12:05:05 -04:00
Asumu Takikawa
b6fb7a2f90 Fix doc typo 2013-08-13 12:05:05 -04:00
Robby Findler
1ce516b401 add forgotten file 2013-08-13 07:21:23 -05:00
Robby Findler
cf7a4320a4 adjust info.rkt files for recent commit 2013-08-13 07:14:29 -05:00
Robby Findler
c62ae3bc97 move more htdp tests to htdp-test package
(also, update the props file this time)
2013-08-13 07:00:28 -05:00
Robby Findler
76cca15df0 fix bad require after 2htdp tests move 2013-08-13 07:00:28 -05:00
Matthew Flatt
b1e33773c6 increase stack safety margin for 64-bit platforms
Make the stack-safety margin twice as big for 64-bit platforms
as 32-bit platforms. That was already done for Windows, but it's
also needed for Mac OS X. Also, double-check that there's a
good amount of space on the stack before calling a foreign
function.
2013-08-12 19:42:36 -06:00
Matthew Flatt
d52ba1b5e7 fix interaction of continuations and stack overflow
There was an off-by-one error in trimming overflow
records in a captured continuation.

I provoked the crash by running the program below on Mac OS X;
resizing the frame caused a crash. It has something to do with the
`try-atomic' implementation, I think. I wasn't able to make a test
case in a half-hour of trying, however, and I'm giving up for now.

(define f (new frame% [label "deep"]))
(define b (new button%
               [parent f]
               [label "0"]))
(send f show #t)
(let loop ([n 0] [m 0])
  (if (= n 10000)
      (begin
        (send b set-label (format "~a" m))
        (for ([i 10]) (yield))
        (loop 0 (add1 m)))
      (cons 1 (loop (add1 n) m))))
2013-08-12 19:42:36 -06:00
Robby Findler
4b8bd22605 move 2htdp tests into the htdp-test pkg 2013-08-12 18:34:10 -05:00
Robby Findler
8851f8f727 adjust 2htdp/image's add-curve and scene+curve so they accurately
compute the bounding box

using the new get-path-bounding-box method
2013-08-12 18:34:09 -05:00
Robby Findler
68b088d925 add support for the --deps command-line argument to the GUI package manager 2013-08-12 18:34:09 -05:00
Matthew Flatt
74e49d8499 enable JIT stack trace on arity errors
On x86_64 Linux and Win64.
2013-08-12 16:27:06 -06:00
Matthew Flatt
04454678eb remove unnecessary stack-unwind test
The test was meant to detect a bad traversal step, but it could unnecessarily
truncate the stack traversal when encountering recursive calls.
2013-08-12 16:22:18 -06:00
Matthew Flatt
8f9e6529da fix (extracted part of) libunwind for x86_64
I had mixed up EBP vs. REG_EBP, etc., in extracting the x86_64 code.
2013-08-12 15:02:24 -06:00
Matthew Flatt
2d8edeffe8 make install: drop -S' flag to strip'
It turns out that no flags are standard, so don't try to use
any. That seems to be fine on the platforms that I tried.
2013-08-12 15:02:24 -06:00
Matthew Flatt
89e99657dd raco pkg {install,update}: add a `--auto' shorthand 2013-08-12 15:02:24 -06:00
Asumu Takikawa
f39910aff6 Fix doc identifier links 2013-08-12 15:00:52 -04:00
Asumu Takikawa
8c7a6709b0 Adjust bitmap-label docs
The `future-parent` argument is actually ignored now and
can be any value, so document it as such.
2013-08-12 15:00:52 -04:00
Robby Findler
d9e583d533 increase planet test suite timeout 2013-08-12 12:27:16 -05:00
Robby Findler
680d29d9cc adjust some calls to sort: use symbol<? and use strict
predicates (to get stability)
2013-08-12 12:27:16 -05:00
Matthew Flatt
02b7e88588 distro-build/config: fix `parallel' constructor 2013-08-12 10:03:08 -06:00
Matthew Flatt
502deb3bae setup/getinfo: add `#:bootstrap?' mode
Bootstrap mode disables the use of a compiled form of "info.rkt",
in case the compiled form is broken. It also attaches `info'-language
modules from the `setup/getinfo' namespace to the "info.rkt"-loading
namespace.

Formerly, `raco setup' relied on capturing the bytecode-compilation
bootstrap context used for `raco setup' itself when loading info
files. But when `raco pkg install' used `raco setup', it didn't have
the same bootstrapping context in place, so it could get confused
(e.g., if you unlink a package from one Racket version and install it
as a link in a different Racket version). Now, both `raco setup' and
`raco pkg' use `#:bootstrap?' mode for `get-info/full'.
2013-08-12 07:09:04 -06:00
Matthew Flatt
7c638a03a0 remove some obsolete files 2013-08-12 07:07:27 -06:00
Matthias Felleisen
bc94030282 declare depedency on html-lib 2013-08-11 17:14:27 -04:00
Matthew Flatt
35bff5b683 first cut at script to push PLT packages to pkg.racket-lang.org 2013-08-11 14:30:04 -06:00
Matthew Flatt
ad45434c21 package catalog server: fix "pkgs-all" query 2013-08-11 14:30:04 -06:00
Matthew Flatt
49f15cc0a9 official catalog server: allow package addition via update API 2013-08-11 14:30:04 -06:00
Matthew Flatt
a8250641e0 GUI package manager: catch and report errors 2013-08-11 14:30:04 -06:00
Matthew Flatt
7c95c5ad38 add path<?' and symbol<?'
These comparisons are useful for sorting while avoiding the overhead
of conversions to bytes or strings.

Having `path<' reduces the cost of sorting in `directory-list'.
2013-08-11 14:30:04 -06:00
Matthew Flatt
2ba615a20e directory-list: always sort results
Consistently sorting shouldn't cost much relative to the
cost of `directory-list' (except for the path->bytes conversion?),
and it makes directory traversals (including archive packaging)
more deterministic across runs and platforms.

(Eli suggested this a long time ago.)
2013-08-11 14:30:04 -06:00
Matthias Felleisen
0c2e33cbfe documentation for Xexpr readers and auxiliaries 2013-08-11 16:15:22 -04:00
Matthias Felleisen
e38852960d bug fix in test 2013-08-11 16:15:22 -04:00
Matthias Felleisen
2996b5ffc4 batch io revised with X-expression reader, plus tests 2013-08-11 16:15:22 -04:00
Matthias Felleisen
f3444c7e51 tests for Xexpr readers 2013-08-11 16:15:22 -04:00
Robby Findler
d5b14eb225 adjust dependencies to depend only on drracket-plugin-lib
where it seems reasonable to do so
2013-08-11 14:48:40 -05:00
Robby Findler
ed5b2e6a4b move rackunit's drracket plugin into its own pkg,
that you can now get via the (new) 'rackunit' pkg
2013-08-11 12:42:46 -05:00
Robby Findler
c5a6d00ace move slideshow plugin to its own pkg 2013-08-11 12:42:46 -05:00
Robby Findler
940ce93fe9 make a drracket-plugin-lib pkg for other pkgs that provide plugins
to depend on (so they don't have to depend on all of drracket)
2013-08-11 12:42:45 -05:00
Jens Axel Søgaard
4c8b32fbcf with-color and with-thickness now preserve pen cap and join 2013-08-11 16:49:06 +02:00
Jens Axel Søgaard
ac37ccb79c Added get-path-bounding-box take 2 2013-08-11 15:24:27 +02:00
Jens Axel Søgaard
61a4c85d0d Added get-path-bounding-box. 2013-08-11 15:24:13 +02:00
Robby Findler
13e7f2f03d try to be more accomodating to low-permission contexts
when reading the development links file
2013-08-11 06:56:16 -05:00
Matthew Flatt
58c0074a71 Add ".desktop" file support
A launcher can have a ".desktop" file (found like other files: as the
same name as the main launcher file, but with a ".desktop" suffix),
where the "Exec" and "Icon" fields are added automatically. A ".png"
or ".ico" file can be supplied for the icon (where the ".ico" file
is already used for Windows launchers).

Closes PR 13953

Fix various problems with Unix-style install from an installer.

Also, add an ugly icon for the Racket Package Manager, with the hope
that it will provoke someone to create a nicer one.
2013-08-10 12:52:17 -06:00
Matthew Flatt
082f21c5f8 racket/gui: fix `get-key-release-code' result for a key-press event
Return 'press (matching docs and pre-v5.1) insteda of 'down.
2013-08-10 10:02:37 -06:00
Robby Findler
59ed6a832f adjust framework tests to properly find the racket executable 2013-08-10 09:33:42 -05:00
Robby Findler
847016b86c adjust contract-out.rkt to work when it is compiled 2013-08-10 09:33:42 -05:00
Eli Barzilay
33db12f146 v5.3.6 installers info 2013-08-10 08:41:55 -04:00
Robby Findler
6a94ebd2ed adjust props: make me responsible for all racket/contract files
(so mflatt doesn't accidentally inherit some of those) and disable
all.rkt from the contract tests (since running the files individually
is better)
2013-08-10 05:34:23 -05:00
Robby Findler
577bae6769 add some debugging to try to figure out why the
drdr run of these files are going wrong
2013-08-10 05:34:22 -05:00