Commit Graph

31423 Commits

Author SHA1 Message Date
Eric Dobson
c97ce693f3 Make parse type and type annotation tests run at the right phase. 2014-01-06 08:47:04 -08:00
Eric Dobson
4518ad855f Make expanded syntax visible in test failures to aid debugging. 2014-01-06 08:47:04 -08:00
Eric Dobson
6bf7c4efd4 Make test files have mains that run the test case defined in them. 2014-01-06 08:47:04 -08:00
Eric Dobson
14c340a77b Making test suite files all meet a standard interface.
All test suite files now export one identifier with the name 'tests'.
This allows for them to be treated the same across the test
infrastructure.
2014-01-06 08:47:03 -08:00
Eric Dobson
4e42a328e3 Make special env typecheck tests not run the code at module initialization. 2014-01-06 08:47:03 -08:00
Eric Dobson
3aa5c18d11 Make typechecking do the standard inits. 2014-01-06 08:47:03 -08:00
Eric Dobson
df892c9439 Remove unecessary lambda wrapper around test suites. 2014-01-06 08:47:03 -08:00
Eric Dobson
2b44814e95 Removal of define-go. 2014-01-06 08:47:02 -08:00
Eric Dobson
20821f9ae8 Small style changes and removal of dead code.
Also adds a test to contract tests.
2014-01-06 08:46:32 -08:00
Eric Dobson
b98eb0bc78 Clean up infer-tests. 2014-01-06 08:42:59 -08:00
Eric Dobson
7da97dca3c Add new functions to evaluator. 2014-01-06 08:42:59 -08:00
Eric Dobson
97dba9b99a Make evaluator a separate file. 2014-01-06 08:42:59 -08:00
Neil Toronto
79c51ef001 Draw plots to bitmaps using #:backing-scale for Retina displays 2014-01-05 21:13:24 -07:00
Matthew Flatt
9de2aff3f3 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)
2014-01-05 18:39:21 -07:00
Matthew Flatt
20cec1d43f image-snip%: preserve bitmap backing scale on save & load 2014-01-05 17:13:29 -07:00
Matthew Flatt
b1acdfba86 mrlib/close-icon: revise, especially for @2x
Modernize by using alpha instead of constructing masks, etc.
2014-01-05 17:13:29 -07:00
Matthew Flatt
2fa6ea76f6 images/icons: add close-icon
Also add a `#:thickness` option to `x-icon`.
2014-01-05 17:13:29 -07:00
Matthew Flatt
05d984d7db add history notes to images docs
Add notes that should have been included with 4ee266fd97.
2014-01-05 17:13:28 -07:00
Matthew Flatt
54be6886c6 add history notes to racket/draw docs
Add notes that should have been included with
90a534f304 and 5e903441a4.
2014-01-05 17:13:28 -07:00
Matthew Flatt
582e992501 dc<%>: add alignment scale
Partly reverts d8a438231f by making the alignment scale always default
to 1, but allows the "fix" (for programs that was drawing to a bitmap
with backing scale 2 to be like drawing with scale 2 into a bitmap
with backing scale 1) by setting the alignment scale to 2 for a
drawing destination that has a backing scale of 2.
2014-01-05 17:13:28 -07:00
Matthew Flatt
7dc6316272 correct backing scale on Retina canvas & derived contexts
One consequence is that drawing with a pen of width 0 into
a canvas% object on a Retina display draws a line that is
half as wide as a pen of width 1.
2014-01-05 17:13:28 -07:00
Robby Findler
dc499feed9 fix error message for unsupported patterns 2014-01-05 16:35:29 -06:00
Matthew Flatt
d8a438231f fix alignment for a drawing context with a backing scale 2014-01-05 08:54:52 -07:00
Matthew Flatt
ff478f3173 allow optimizer to move mcons and box-immutable
Suggested by Gustavo Massaccesi.
2014-01-05 08:54:52 -07:00
Sam Tobin-Hochstadt
aeaf018d01 Provide and document match-expander? and legacy-match-expander?. 2014-01-04 17:56:38 -05:00
Sam Tobin-Hochstadt
ade6ebff99 Minor doc fixes. 2014-01-04 17:56:28 -05:00
Sam Tobin-Hochstadt
1bdeade900 Export unsave-bug-report. Fix doc typo. 2014-01-04 17:56:28 -05:00
Asumu Takikawa
79ffd87a67 Document alternative type annotation form 2014-01-04 17:30:48 -05:00
Eric Dobson
8dc10e6c3d Remove info file from test directory. 2014-01-03 21:08:51 -08:00
Eric Dobson
feeb6c9163 Add tc-toplevel/full and tc-module/full and use them. 2014-01-03 20:48:46 -08:00
Eric Dobson
a9e8324a38 Replace init argument with direct calls to do-standard-inits. 2014-01-03 20:46:50 -08:00
Eric Dobson
eeacfc57ff Split out do-standard-inits. 2014-01-03 20:42:20 -08:00
Eric Dobson
f6ef86d7db Make tc-setup just take a function instead of 3 identifiers. 2014-01-03 20:42:15 -08:00
Matthew Flatt
bd4d0b7528 if a bitmap has a non-1 backing scale, always draw smoothly to other contexts 2014-01-03 18:12:12 -07:00
Matthew Flatt
aef5edca9d Dienprogramm logo @2x 2014-01-03 17:57:56 -07:00
Matthew Flatt
aaea2e4fa1 Racket splash/about logo @2x 2014-01-03 17:57:56 -07:00
Neil Toronto
1a465502b0 Removed recently broken "doc-tests.rkt"
The breakage was from `declare-exporting' now requiring at least one
module path. Plot's docs build makes the test superfluous, anyway.
2014-01-03 12:52:55 -07:00
Matthew Flatt
463b81780a 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.
2014-01-03 10:22:53 -07:00
Matthew Flatt
e47a90cc10 some @2x tool icons 2014-01-03 09:01:00 -07:00
Matthew Flatt
037a211f9a DrRacket: enable @2x bitmaps for tool icons 2014-01-03 09:00:41 -07:00
Matthew Flatt
90a534f304 racket/draw: add #:try-@2x? argument to read-bitmap 2014-01-03 08:38:15 -07:00
Matthew Flatt
4ee266fd97 images/icons: add backing-scale arguments
By default, icons render with a backing scale of 2.
2014-01-02 19:04:22 -07:00
Matthew Flatt
5e903441a4 racket/draw: add a backing-scale argument to bitmap constructors
Generalizes backing-scale support created for `make-platform-bitmap`
and Mac OS X in Retina mode so that any bitmap can be created with
a backing scale (except monochrome bitmaps or bitmaps with masks).
2014-01-02 19:04:22 -07:00
Matthew Flatt
4f86f1de62 racket/gui cocoa: preserve resolution of bitmaps as control labels
This change is mainly for Retina display mode.
2014-01-02 19:04:22 -07:00
Robby Findler
533a2f21f8 allow looking at a pkg lockfile in the sandbox
(this comes up when building <pkgs>/ paths, something the
contract system does)
2014-01-01 11:03:57 -06:00
Robby Findler
a205963d95 the planet tests should not count as random 2014-01-01 10:58:09 -06:00
Matthew Flatt
48a85125da copy drdr:random command props to test configs 2014-01-01 08:21:31 -07:00
Matthew Flatt
31f80b4ae2 copy gracket command props to lock-name as "gui" test config 2014-01-01 07:27:15 -07:00
Matthew Flatt
19f8f30f63 copy responsible info to "info.rkt" files
It seems more ideal that `pkg-authors` would be specific enough
responsibility, but our existing allocations of responsibility are
more fine-grained, and we keep them for now.
2014-01-01 07:27:15 -07:00
Matthew Flatt
59cbefe47a raco test: responsible-party and varying-party logging, lock names
The responsible party for a test defaults to the enclosing package's
author.

Also, add support for a `test-timeouts` fallback in "info.rkt".
2014-01-01 07:27:15 -07:00