Eli Barzilay
672910f27b
Lots of bad TAB eliminations.
...
I started from tabs that are not on the beginning of lines, and in
several places I did further cleanings.
If you're worried about knowing who wrote some code, for example, if you
get to this commit in "git blame", then note that you can use the "-w"
flag in many git commands to ignore whitespaces. For example, to see
per-line authors, use "git blame -w <file>". Another example: to see
the (*much* smaller) non-whitespace changes in this (or any other)
commit, use "git log -p -w -1 <sha1>".
2012-11-07 11:22:20 -05:00
Stephen Bloch
71a59cf653
Changed "right" error messages to match new actual error messages.
2012-10-20 13:31:00 -04:00
Eli Barzilay
7d6e79023c
Random pickiness.
...
Spaces at EOFs, indentation, etc.
2012-06-22 12:00:48 -04:00
Stephen Bloch
c7666c5e4f
In addition to providing "provide", I also provide several of its
...
sub-forms, most usefully "all-defined-out".
2012-06-08 19:44:48 -04:00
Matthew Flatt
68e005fb2c
racket/draw: make-immutable-{color,brush,pen} => make-{color,brush,pen}
...
Also, use keywords for `make-pen' and `make-brush'.
Adding `make-pen' and `make-color' creates many conflicts among
teaching libraries, such as `2htdp/image'. These are easy to fix
up in the tree, but adding such obvious names to `racket/draw'
may create other compatibility problems, so we might have to reconsider
the names.
In consultation with Asumu.
2012-05-01 21:04:40 -06:00
Stephen Bloch
c769481d9d
Previous commit mistakenly exposed a debugging function "show-cache".
...
It is no longer exported.
2012-04-29 07:31:17 -04:00
Stephen Bloch
ddde53bed4
Documentation for fold-image and fold-image/extra.
2012-04-28 18:09:57 -04:00
Stephen Bloch
2df9ca8789
Added fold-image and fold-image/extra functions, as well as tests for
...
them.
2012-04-28 18:09:57 -04:00
Stephen Bloch
656713cbcf
Enlarged cache for get-pixel-color from one image to 3, so you can
...
alternate among three images without thrashing and re-rendering.
2012-04-28 18:09:57 -04:00
Stephen Bloch
2d2f013465
Updated some comments; no effect on running code.
2012-04-25 17:05:56 -04:00
Stephen Bloch
924d510746
Changed the transparency of some bundled images.
2012-04-25 17:04:39 -04:00
Stephen Bloch
ba8684cb63
provide provide, so it's possible to use provide and require in
...
student languages. This will be a problem if somebody writes a
function in BSL or BSLLA, provides it, requires it in a non-student
language, and uses it as an argument to a higher-order function
that isn't declared as a "higher order primitive". That is,
not very often. Even if so, just re-open the BSL or BSLLA source
file, switch languages to ISL, save it, and the problem goes away.
2012-04-24 06:37:51 -04:00
Eli Barzilay
f7c67b49a4
Big newline at EOF scan.
2012-02-29 00:28:11 -05:00
Stephen Bloch
39629e8e99
map-image and map-image/extra now give their function argument x and y
...
coordinates, or not, depending on the arity of that function. This
enables one to write a simple function from color -> color and
immediately map it on an image. For the situation in which the
function is location-dependent, one can still write a function from
x,y,color -> color and map this on the image.
2011-12-02 07:09:37 -05:00
Stephen Bloch
753dfa3cb2
Fixed error messages, added tests for type errors.
2011-10-02 22:54:34 -04:00
Stephen Bloch
09b0a46dcd
Corrected a few error messages.
2011-09-24 12:49:05 -04:00
Eli Barzilay
ffbd9e16ea
Some info.rkt cleanups.
2011-08-29 16:33:13 -04:00
Eli Barzilay
d61eb53686
Lots of documentation formatting.
...
Started as fixing misindented definitions, then more indentations, then
a bunch of similar things (square brackets, huge spaces at end-of-lines,
etc).
2011-08-15 07:50:04 -04:00
Stephen Bloch
764f356fdc
Added some tests for map-image/extra and build-image/extra.
2011-07-24 21:50:39 -04:00
Stephen Bloch
9a24e66df0
Fixed an off-by-one bug in "myflip", an example for build-image. Now it passes its tests :-)
2011-07-24 21:50:38 -04:00
Stephen Bloch
ab01d563ca
Changed error messages in test case to match corrected error messages in
...
2htdp.
2011-07-24 21:50:38 -04:00
Stephen Bloch
52527d8a95
Fixed some more error messages.
2011-07-12 07:08:47 -04:00
Stephen Bloch
904ef63ce2
Fixed some more error messages.
2011-07-11 07:25:46 -04:00
Stephen Bloch
d3df33b023
Improved error messages to specify actual argument as well as expected
...
type. Still produces one check-error failure because of bug in
make-color.
2011-07-11 07:25:46 -04:00
Ryan Culpepper
1b702a2ae3
docs reorganization
...
added tutorial, racket categories
relabeled some other categories
normalized manual names: de-bolded, changed some names
2011-07-01 17:16:53 -06:00
Eli Barzilay
40124a0619
A long overdue scan to eliminate files without terminating newlines.
...
(DrRacket should really do that.)
2011-06-28 02:01:41 -04:00
Eli Barzilay
ac26fe7554
A ton of @scheme*' ->
@racket*' and related updates.
...
Also, updates some of the mzlib files to point at `racket/*' libraries
rather than to `scheme/*' ones.
2011-06-25 04:08:47 -04:00
Stephen Bloch
7597d2c2c6
Fixed a typo that crashed the nightly build :-(
2011-05-12 13:10:22 -04:00
Stephen Bloch
79778e0a1e
Added some illegal-argument tests to map-image.rkt.
...
Added test cases for these to map-image-bsl-tests.rkt.
Modified an error message from colorize, and its test cases.
Added map-image/extra and build-image/extra functions.
2011-05-12 00:51:02 -04:00
Robby Findler
507b1cd8fd
moved the docs-complete library into rackunit
...
to avoid having a separate, new manual for the
one library
2011-05-05 16:10:42 -05:00
Stephen Bloch
0417e6b1d3
Took private files out of test-docs-complete.
2011-04-29 07:45:08 -04:00
Stephen Bloch
d3d8659183
Moved most files into private directory.
...
Modified main.rkt, picturing-programs.scrbl, and test-docs-complete
to reflect the new locations.
2011-04-28 22:13:41 -04:00
Stephen Bloch
8ff1a2a8e2
Tweaked documentation and "provide"s to agree with one another.
2011-04-26 16:52:32 -04:00
Robby Findler
2a7ca22a16
adjust picturing-programs to make declarations so that scribble can find the documented things
2011-04-26 14:11:19 -05:00
Robby Findler
e7d0029aea
added lots of new tests that our documentation is complete
2011-04-25 13:24:43 -05:00
Stephen Bloch
67f3a22e44
no longer ignoring tests
2011-01-08 00:00:47 -05:00
Stephen Bloch
fb7d948794
Revised test cases that used big-bang so they don't actually run when
...
loaded (so drdr doesn't complain about timeouts).
2011-01-07 23:52:39 -05:00
Stephen Bloch
c3430f285c
Took out a commented line. No big deal...
2011-01-07 23:52:38 -05:00
Eli Barzilay
3fb871586f
Removed some exe bits that look redundant.
2010-12-31 15:59:39 -05:00
Stephen Bloch
8e655dee8e
Removed installed-teachpack reference from map-image test suite. Added to rotating-triangle test case.
2010-12-30 11:02:04 -05:00
Stephen Bloch
f3352794d8
Minor tweaks to documentation and rotating-triangle test.
2010-12-30 10:29:12 -05:00
Matthew Flatt
7069a267a6
fix path to "picturing-programs" doc source
2010-12-30 07:12:08 -07:00
Matthew Flatt
e6fd028ae1
avoid compiling "picturing-programs/tests"
...
because there are references to "installed-teachpacks"
2010-12-30 07:08:54 -07:00
Stephen Bloch
6fec1bcaf9
Renamed a picturing-programs doc file to follow naming conventions.
2010-12-30 08:25:47 -05:00
Stephen Bloch
9fb54f1ae9
Added rotating-triangle test.
2010-12-30 07:46:43 -05:00
Stephen Bloch
4bce35f0a4
Changes to documentation and require/provide lines to get "raco setup" to
...
work smoothly. Deleted compiled code and backup files, as well as tests
that were just copied from universe.
2010-12-30 07:46:43 -05:00
Stephen Bloch
73ef1d6c14
Added more test cases; started updating documentation.
2010-12-30 07:46:42 -05:00
Stephen Bloch
437ea70080
minor fixes
2010-12-30 07:46:42 -05:00
Stephen Bloch
fb05266ad2
Rewriting map-image to work with 5.1. Also added a bunch of test cases
...
to map-image-bsl-tests.rkt.
2010-12-30 07:46:42 -05:00