Matthias Felleisen
d6d8e4351c
removed mistakenly committed file
2011-11-29 14:04:06 -05:00
Matthias Felleisen
00c93a1829
allow strings and symbols for name clause in world; Closes PR12403
2011-11-28 21:31:18 -05:00
Matthias Felleisen
19f8cacfcd
on-receive does not have to exist for a world to be a part of a universe, weird but feasible; Closes PR12401
2011-11-28 17:43:12 -05:00
Matthias Felleisen
5a3c78a998
universe now terminates properly
2011-11-11 18:53:04 -05:00
Matthias Felleisen
8c91d96c50
added prefab structs to messages that universe can exchange
2011-11-11 18:53:03 -05:00
Robby Findler
0dff5ca92b
special case the four cardinal directions during rotation so they rotate
...
exactly (this also makes flip-horizontal and flip-vertical work equally
well)
closes PR 12323
2011-10-26 16:36:07 -05:00
Matthias Felleisen
2a43c68dd7
on-release works without on-key; Closes PR12291 please propagate
2011-10-16 22:46:22 -04:00
Robby Findler
0e2bd262a8
add a missing degrees to radians conversion in triangle/ass
...
closes PR 12199
2011-09-14 12:35:53 -05:00
Matthias Felleisen
fcf4936592
improved error messages when handlers fail check-with tests
2011-09-01 18:27:25 -04:00
Robby Findler
6c91288f2f
speed up bitmap rotation (could probably revisit this to
...
speed up flipping (and also to do all three in one pass)
2011-08-23 18:56:51 -05:00
Robby Findler
b425ca90d2
fix bug in the loading of non-alpha bitmaps (also: minor Rackety)
2011-08-23 18:56:50 -05:00
Robby Findler
034e4f2364
add test cases for old file 2htdp/image file formats
...
(and fix corresponding bugs)
2011-08-23 07:12:11 -05:00
Robby Findler
1f02106318
2htdp/image
...
normalize the internal representation of bitmaps so it always uses an alpha
bitmap instead of sometimes using a mask bitmap and sometimes using alpha.
This also fixes a bug where the library would get consfused when it saved
a bitmap to a file, since it didn't record if it was an alpha bitmap or not.
This improves the save files that contain images, cutting the size for bitmaps
in half (bringing the drracket save file down to a mere 25x larger than the
png file format for the example I was using...)
2011-08-22 19:09:52 -05:00
Matthias Felleisen
accb677f0e
write and read files in 'text' mode; Closes PR12120
2011-08-21 13:35:06 -04:00
Robby Findler
d1e3765af7
added save-svg-image
2011-08-07 19:35:29 -05:00
Matthias Felleisen
e3c3418fae
i hate git mv and rm
2011-08-05 12:50:49 -04:00
Matthias Felleisen
a51e2494b6
bug fix: when the initial world is a final world, big-bang should use only the final draw handler -- if it exists
2011-08-05 12:46:25 -04:00
Matthias Felleisen
50386760dd
added launch-many-worlds/proc; Closes 10559
2011-08-03 11:20:05 -04:00
Matthias Felleisen
ed7f16c872
fixed a totally misleading error message in big-bang; MUST GO INTO RELEASE
2011-07-22 10:34:26 -04:00
Robby Findler
56b82ba83c
fix the png conversion code for 2htdp/image images
...
closes PR 12061
please merge to the release branch
2011-07-22 08:09:17 -05:00
Guillaume Marceau
adf965e92a
Undoes the 'produces -> return' part of commit c31d352f
, keeping the 'changes -> mutates' change and the assorted bug fixes it contained.
2011-07-17 16:48:12 -04:00
Matthias Felleisen
59499b84bd
optional limit for number of ticks
2011-07-16 13:59:55 -04:00
Matthias Felleisen
6c51155fec
adjusted expected error messages to accommodate Stephen's change
2011-07-15 14:50:34 -04:00
Matthias Felleisen
562252f589
fixed bug in exception handling for drawing; Closes PR 12044
2011-07-15 12:24:39 -04:00
Guillaume Marceau
c31d352f2b
Standartize the vocabulary to "the function returns" and "set! mutates"
2011-07-15 03:27:27 -04:00
Eli Barzilay
318c4fedfc
Shift typo.
2011-07-14 12:13:37 -04:00
Eli Barzilay
69464bba91
Switch tcsh(!) and bash scripts to use /bin/sh.
...
(Satisfy some 3rd-party packaging linters.)
2011-07-14 12:06:00 -04:00
Guillaume Marceau
9706920055
Updated the error messages of the world and universe teachpacks.
2011-07-06 05:35:27 -04:00
Jay McCarthy
de9aec3051
Allowing paths in big-bang's record? argument and adjusting a test to make use of that feature. It would also be good to allow bitmap to take paths, but that is non-trivial, because of its assumption that non-literal strings are module paths
2011-07-02 20:13:39 -07:00
Matthias Felleisen
a1c219a068
eliminated superfluous require for-syntax, refactored and cleaned up; fixed bug in test?
2011-07-02 13:34:02 -04:00
Eli Barzilay
3157955d40
".ss" -> ".rkt" scan done.
2011-07-02 10:37:53 -04: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
Robby Findler
9e36dc8eb3
adding a missing 2htdp/image color => racket/gui color coercion
...
closes PR 11956
2011-06-02 16:27:09 -07:00
Matthias Felleisen
df05a41ebd
turn into reasonable performance test
2011-05-13 12:55:44 -04:00
Matthias Felleisen
b74c9f9df3
ensure that dimensions of canvas are below 2000 by 2000; closes PR 11907
2011-05-09 17:59:23 -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
Robby Findler
e7d0029aea
added lots of new tests that our documentation is complete
2011-04-25 13:24:43 -05:00
Robby Findler
6fff26ad12
2htdp/image: relax the constraints on 'crop' so that you can crop outside the bounding box
2011-02-21 05:28:37 -06:00
Robby Findler
c1668d894e
added overlay/align, underlay/align, overlay/align/offset, and underlay/align/offset
2011-02-20 15:37:16 -06:00
Robby Findler
4d9c150b7b
2htdp/image: adjust tests
2011-02-11 19:50:15 -06:00
Matthias Felleisen
2c07f6a8e6
some progress on the failing test
2011-02-08 13:46:25 -05:00
Robby Findler
eb45a6f15b
2htdp/image: place-image/align doesn't really need to check that the second image argument has a pinhole
2011-02-06 07:25:08 -06:00
David Van Horn
760a58b65d
Fixes more spelling errors.
2011-02-04 19:44:13 -07:00
David Van Horn
c9519fd113
Fixed various spelling errors.
2011-02-03 17:42:33 -05:00
Matthias Felleisen
814a847323
made to-draw/on-draw in big-bang mandatory; Closes PR 11663
2011-01-22 12:07:24 -05:00
Robby Findler
7716851cde
2htdp/image: added support for alpha as a mode? argument
2011-01-01 20:01:50 -06:00
Eli Barzilay
e2cc0942cc
Attempt to make some ignore files more robust
2010-12-31 15:59:39 -05:00
Robby Findler
830c797ee4
use pen's alpha color stuff in 2htdp/image
2010-12-31 10:25:01 -06:00
Robby Findler
1d89cfc9d7
2htdp/image fix bitmap scaling to respect alpha channels
2010-12-28 19:08:11 -06:00
Robby Findler
835f7753dc
generalize the color structs to have an alpha field and then use that in the bitmap conversion functions
2010-12-27 21:51:14 -06:00