Robby Findler
3782c2e749
change save-bitmap in 2htdp/image so that is uses the width and height of the image by default, but also so it accepts two optional arguments to change that.
2010-10-28 17:20:43 -05:00
Robby Findler
6a414bd18a
fixed some bugs in the way 2htdp/images were marshalled and unmarshalled
2010-10-28 17:20:43 -05:00
Robby Findler
7ef1e8bd90
fixed a bug in the way old 2htdp/image files were parsed (those that contain bitmaps)
2010-10-28 17:20:43 -05:00
Robby Findler
abca2c91b8
added default case to avoid runtime errors when parsing bogus images
2010-10-28 17:20:42 -05:00
Robby Findler
02d8b5cebf
2htdp/image: adjusted the image you get when parsing fails so that it draws inside its bounding box
2010-10-28 17:20:42 -05:00
Jay McCarthy
69fb56189a
datum doesn't need to be anfd
2010-10-28 16:07:52 -06:00
Eli Barzilay
58febe21a0
Move the #%top' binding that makes
foo:' keywords self evaluating from
...
`scribble/html/lang' to `scribble/html'.
Since `foo:' keywords are very common in any code that uses
`scribble/html', it is much more convenient to have it provide the
custom `#%top'. It simplifies code that uses it, for example, files in
`meta/web/common' now use
#lang at-exp racket/base
(require scribble/html)
instead of the (only-in scribble/html/lang #%top) which it used before,
or instead of explicitly quoting all `foo:'s.
2010-10-28 17:31:22 -04:00
Eli Barzilay
97ed1f3182
typos
2010-10-28 17:31:22 -04:00
Jay McCarthy
ac4fb05f0c
Correct error in mutator quote
2010-10-28 11:18:28 -06:00
Jay McCarthy
05832af083
Correct handling of procedure env roots in mutator
2010-10-28 11:18:27 -06:00
Robby Findler
a744958fd5
added support to the 2htdp/image library for reading files when there is no GUI around.
...
currently the support is limited to images that can only report their sizes and pinholes and where equal?
signals an error unless the arguments are eq?.
2010-10-28 11:32:14 -05:00
Robby Findler
68b06b42d9
add missing for-label require
2010-10-28 11:32:14 -05:00
Robby Findler
a021403679
tightened the contract on read-snip
2010-10-28 11:32:14 -05:00
Matthias Felleisen
41c084c95f
HISTORY pre-release check
2010-10-27 18:32:31 -04:00
Matthias Felleisen
e7f042f09f
Contracts for more than (simple) types
2010-10-27 18:08:44 -04:00
Vincent St-Amour
25749736c9
Fixed a typo in the scribble docs.
...
Merge to 5.0.2.
2010-10-27 16:15:50 -04:00
Vincent St-Amour
c633913b94
Add optional argument to make-hash and co.
2010-10-27 16:15:50 -04:00
Jon Rafkind
f21a15aef1
add some examples for port functions
2010-10-27 12:39:21 -06:00
Jon Rafkind
5633895cf0
add notes about reading entire ports
2010-10-27 12:07:36 -06:00
Jon Rafkind
b8ad3ad1cb
use racket. add list-match utility
2010-10-27 12:07:36 -06:00
Mike Sperber
4bf3ca44d0
Unbreak DMdA REPL.
...
Follow Robby's commit to htdp-langs.rkt.
2010-10-27 19:48:59 +02:00
Matthias Felleisen
f600531e50
improved testing for record?
2010-10-27 10:35:11 -04:00
Matthias Felleisen
42bceaf900
documented record?, which has a slightly wider interface so that I can write automated tests for the raw functionality
2010-10-27 10:21:37 -04:00
Matthias Felleisen
f876a854c6
partial fix for pr11350
2010-10-27 10:21:36 -04:00
Eli Barzilay
95c3772e8a
typo
2010-10-27 09:42:11 -04:00
Matthias Felleisen
07952e1408
impose contract on write-animated-gif, Closes PR11358
2010-10-26 23:22:14 -04:00
Matthias Felleisen
9c4758a456
specified rate-expr
2010-10-26 23:22:14 -04:00
Robby Findler
b121171a98
fixed a bug in the way interval maps were being used in check syntax.
...
please push to the release branch.
2010-10-26 19:47:35 -05:00
Matthias Felleisen
6457f1e4cc
record? is working as it used, plus ability to auto-save images so I can write a test case, Closes PR11348 and PR11349
2010-10-26 19:02:43 -04:00
Sam Tobin-Hochstadt
7802f1deb7
Add source locations in match -> match* conversion
2010-10-26 18:09:45 -04:00
Sam Tobin-Hochstadt
561fdc8db5
Avoid dumb parsing bugs in require/typed.
2010-10-26 18:09:45 -04:00
Eli Barzilay
69a490c10b
More name improvements: scribble/text/textlang' ->
scribble/text/lang'
...
and the same for `scribble/html/lang'.
2010-10-26 16:17:09 -04:00
Eli Barzilay
667c682c2b
Better filename conventions: "main.rkt"s that would just require the
...
necessary modules are now "all.rkt"s; "shard.rkt"s turn to
"resources.rkt".
Also, "navbar.rkt" changes to "all.rkt", since it was doing the same
thing (in addition to setting the navbar).
2010-10-26 16:09:16 -04:00
Eli Barzilay
82221a51db
Make the scribble/html' layout mimic the one for
scribble/text'.
...
Ie, the difference between using it as a language and as a module is now
the same in both. Also, improve `scribble/html' (and
`scribble/html/htmllang') by reproviding most of the corresponding text
modules.
Change `meta/web' accordingly, and improve code by making a new langugae
(`#lang meta/web'). This language is similar to `scribble/html' except
that it uses the plain scribble reader (not the `-inside' one), it
doesn't use the customized module-begin feature (that uses
`output-xml'), and it adds all the relevant bits of `meta/web/common'.
(Also, "meta/web/common.rkt" is gone, since it's used only as a language
now.)
This commit has lots of details and binding games, so it's tricky, and
potentially caused some problems. (Took me a while to track many
breakages, so I won't be surprised if there are more.)
2010-10-26 15:36:29 -04:00
Eli Barzilay
ca040ea42a
Move meta/web/html' to
scribble/html'.
...
(See http://lists.racket-lang.org/dev/archive/2010-October/004691.html
for a discussion on calling it `html' rather than `xhtml'.)
2010-10-26 13:50:17 -04:00
Eli Barzilay
95729c3e95
Fix require in a non-web file.
2010-10-26 09:27:50 -04:00
Eli Barzilay
2cda694ab7
Fix the names used by the sh',
tgz', and `zip' installers to use
...
`racket', `racket-textual' and `racket-full' instead of `plt', `mz', and
`full'.
(Also use uniform argument names in packaging functions.)
2010-10-26 07:21:12 -04:00
Eli Barzilay
5f3718a24e
Add a stub to generate a wiki template.
2010-10-26 07:21:12 -04:00
Eli Barzilay
ed5033159a
Add racket/list' and
racket/string' to the web language, adjust
...
existing requires.
(It's supposed to be a convenient language...)
2010-10-26 07:21:12 -04:00
Eli Barzilay
7ac83e25c9
Provide `process-begin/text' to make it convenient to define more
...
`scribble/text'-like languages. Use it to define a convenient syntax
for html modules.
This is not used by the web content files since they define functions
rather than spit out html when required, but makes it convenient to make
an html markup language similar to scribble/text.
2010-10-26 07:21:11 -04:00
Eli Barzilay
2491ac914c
Fix a couple of "~e"s to "~.s"s.
2010-10-26 07:21:11 -04:00
Jon Rafkind
b55b9adde4
better error messages
2010-10-25 15:00:49 -06:00
Jay McCarthy
c2e81d4aa0
Probably fixing a problem reported by Eli that I don't know how to recreate
2010-10-25 14:50:21 -06:00
Casey Klein
f4c4b79049
Renames delim-cont tests so that they're not stripped by the distribution script.
...
(Merge to release branch.)
2010-10-25 15:18:16 -05:00
Casey Klein
d7b0271691
Updates Redex history for v5.0.2 release (merge to release branch)
2010-10-25 14:40:56 -05:00
Ryan Culpepper
24297a793f
data/gvector: fixed typo in constructor
...
Merge to 5.0.2
2010-10-25 11:31:55 -06:00
Matthew Flatt
5d8e000d6d
swap vector*-ref' and
vector-ref', etc.
...
Merge to 5.0.2
2010-10-25 11:22:35 -06:00
Matthew Flatt
802e27eb85
fix typo in CPP macro
...
Merge to 5.0.2
2010-10-25 06:37:22 -06:00
Eli Barzilay
91f9f0c2d3
Organize dist-specs; remove bogus collection.
...
Merge to 5.0.2.
2010-10-25 02:42:31 -04:00
Ryan Culpepper
677867ba6c
Adjusted props
2010-10-24 20:13:19 -06:00