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
Matthias Felleisen
b00b2e318a
last world draw shouldn't restore old draw; Closes PR 11994
2011-06-22 10:53:14 -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
Matthias Felleisen
f2a475eb43
critical bug fix in registration process; please propagate
2011-04-25 11:05:42 -04:00
Matthias Felleisen
8dbc1994bc
small change to registration format
2011-03-28 20:14:46 -04:00
Matthias Felleisen
5e7ac9a038
fix naming of name of universe state window
2011-03-28 20:14:45 -04:00
Matthias Felleisen
5fee2676dc
leftover debugging aide
2011-03-28 20:14:44 -04:00
Eli Barzilay
a3d00a910a
More LGPL permissions from Chongkai, Neil, and Olin.
...
Also, removed the LGPL blurbs from srfi/1, and redirect to the Racket
license. (To avoid possible future issues with license changes, such as
LGPL version.)
2011-03-03 11:09:09 -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
5822f1e95f
started on overlay/offset
2011-02-20 15:37:15 -06: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
Robby Findler
e05e6efc7a
added a missing syntax error check
2011-01-29 11:20:12 -06:00
Robby Findler
0dc71e9405
improve the bitmap function in 2htdp/image
...
related to PR 11362
2011-01-24 16:26:15 -06: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
a20809c347
added bitmap/url to 2htdp/image
2011-01-18 10:54:55 -06:00
Mike Sperber
85e02db1ad
Tweak world to enable interoperability with DMdA gui teachpack.
2011-01-16 12:26:50 +01:00
Robby Findler
9964e28969
added a check in bitmap to make the file argument exists
2011-01-11 08:06:26 -06:00
Robby Findler
61664690b5
make the proper test to be able to call un/cache-image
...
closes PR 11598
2011-01-07 11:22:28 -06:00
Robby Findler
1d2b837603
adjusted 2htdp/universe (and world) so that it uses the cache disabling support from 2htdp/image
...
(the caching is not helping when drawing animations; it just allocates extra bitmaps)
2011-01-06 14:24:03 -06:00
Robby Findler
4f19b0d454
add a coercion so that equality is simpler for things produced by 'bitmap'
2011-01-02 06:51:36 -06:00
Robby Findler
7716851cde
2htdp/image: added support for alpha as a mode? argument
2011-01-01 20:01:50 -06:00
Robby Findler
54c337e5d3
2htdp/image: use erase instead of clear to zero out a bitmap
2010-12-27 21:51:16 -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
Robby Findler
7282e19178
tightened up the check on polygon to make sure the posns contain reals
...
closes PR 10997
2010-12-25 20:33:33 -06:00
Robby Findler
2dc15061a8
adjust Sam's edit so the file is now properly indented
2010-12-17 13:53:03 -06:00
Robby Findler
4917d2af4a
added freeze to 2htdp/image
2010-12-17 13:51:10 -06:00
Sam Tobin-Hochstadt
24ea7d34fc
Fix use of 'fn-name in 2htdp/image error messages.
2010-12-17 12:37:32 -05:00
Sam Tobin-Hochstadt
8a8a8dbe4b
Separate snip% from the gui
2010-12-17 12:32:26 -05:00
Robby Findler
4d04aa2b97
generalize define/chk to work with case-lambda-style functions
2010-12-17 10:02:40 -06:00
Robby Findler
e0b425e5d8
change more cross-collection requires
2010-12-17 10:02:38 -06:00
Matthias Felleisen
bd0b8d9c9f
the Utah refactoring accidentally nested queue-callback; closes PR11500
2010-12-06 23:04:08 -05:00
Robby Findler
b884623da2
use for/list intead of a (one off) map/i function.
2010-12-06 14:22:10 -06:00
Robby Findler
45a97cb561
off by one error in 2htdp/image error messages
...
closes PR 11476
2010-12-06 14:22:10 -06:00
Matthias Felleisen
6df50ffe83
final world display, Closes PR11471
2010-11-29 10:59:08 -05:00
Robby Findler
57fe568a5e
fixed a bug
2010-11-25 06:55:00 -06:00
Robby Findler
6e7530ff86
added empty-image
2010-11-25 06:55:00 -06:00
Matthew Flatt
c1ce863a70
experiment with explicit flush in 2htdp/world
2010-11-12 20:18:03 -07:00
Matthew Flatt
7ff8ce61db
explicitly discard patseboard mouse events when not handled in universe
2010-11-09 16:48:23 -07:00
Matthias Felleisen
0f856dede5
sync bug eliminated
2010-11-06 10:19:24 -04:00
Matthew Flatt
05cfffdf9e
v5.4.99.1, executable-yield-handler', and
make-bitmap' etc.
2010-11-05 15:54:50 -06:00
Robby Findler
ae5cd21a1b
2htdp/image: changed the way drawing works, specifically avoid normalization before drawing to preserve sharing
2010-11-04 13:55:41 -05:00
Robby Findler
d082e805b2
fix bug in error checking for save-image
2010-10-31 10:12:04 -05:00
Matthias Felleisen
18a81f8552
record images during world program, not events; Closes PR11351
2010-10-28 18:43:19 -04:00
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
Matthias Felleisen
f876a854c6
partial fix for pr11350
2010-10-27 10:21:36 -04: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
Robby Findler
35f64145ca
adjusted the way caching works for bitmaps to be more effective
2010-10-22 06:45:57 -05:00
Matthias Felleisen
ae04ddc7d9
the mouse and key handler shouldn't be set to defaults; when there are no on-* clauses, they should be ignored
2010-10-13 14:50:55 -04:00
Matthias Felleisen
8fb58bb74e
making the stepper (mostly) happy
2010-10-12 18:10:35 -04:00
Matthias Felleisen
0eed02bd0d
typo in world.rkt
2010-10-08 16:31:52 -04:00
Matthias Felleisen
58684bbf4e
merged keywords back into universe
2010-10-08 16:17:41 -04:00
Matthias Felleisen
96bf9d2518
deleted
2010-10-08 16:16:04 -04:00
Matthias Felleisen
8ef896431a
adjusting big-bang and universe so that they call functions and don't expand into object construction
2010-10-07 18:49:43 -04:00
Matthias Felleisen
8bed0b6a30
function protocol for world creation
2010-10-04 18:22:04 -04:00
Eli Barzilay
ee138cf2cb
Some repeated "and and"s and "the the"s, and two more typos.
...
Closes PR 11229.
2010-09-20 15:38:18 -04:00
Robby Findler
31685bc496
Adjusted 2htdp/image's frame primitive so that it does not draw
...
outside of the bounding box.
2010-09-09 06:58:55 -05:00
Robby Findler
9105b92240
added overlay/pinhole and underlay/pinhole
2010-09-07 09:35:21 -05:00
Robby Findler
6f0b6eebbe
Added pinholes as x-place and y-place arguments
2010-09-06 20:39:13 -05:00
Robby Findler
d10cd2e6fa
preserve pinholes in overlaying and related functions
...
(also started to add "pinhole" as a place, but not done with that yet)
2010-09-06 20:39:12 -05:00
Robby Findler
cc96864868
added pinhole support to cropping primitives and to frame
2010-09-06 20:39:12 -05:00
Robby Findler
9b720b9c0d
added pinhole support to add-line, add-curve, scene+line, and scene+curve
2010-09-06 20:39:12 -05:00
Robby Findler
9087348b7e
added pinhole support to the flipping prims
2010-09-06 20:39:11 -05:00
Robby Findler
157e9c2512
made rotation work with pinholes
2010-09-06 20:39:11 -05:00
Robby Findler
e3b51e8cf4
made scaling work with pinholes
2010-09-06 20:39:11 -05:00
Robby Findler
4fa7fa2994
Added docs and exported basic pinhole manipulation primitives
2010-09-06 20:39:10 -05:00
Matthew Flatt
081fc3bad5
fix 2htdp/image bitmap rotation direction
2010-09-04 16:43:38 -06:00
Robby Findler
1fa6be75b5
added image->color-list and color-list->bitmap
2010-09-04 13:52:49 -05:00
Matthew Flatt
e0d9d2565c
fix problem with rotation on images such as bitmaps
...
and replace internal `bring-between' with an efficient version
Closes PR 11124
2010-08-30 20:15:20 -06:00
Robby Findler
3704e2d69f
added a better explanation of pixels and fixed a bug in save-image
2010-08-28 20:41:58 -05:00
Robby Findler
3d5843aa81
fixed pen and color so they signal errors properly
2010-08-28 08:52:59 -05:00
Robby Findler
405fded9c3
change empty scene so that it draws the border for the scene inside the scene,
...
instead of using the usual rectangle "right/bottom outside" drawing
(hopefully) closes PR 11139
2010-08-28 07:57:52 -05:00
Robby Findler
8d2db5f4bf
fixed a bug found by random testing
2010-08-22 20:33:30 -05:00
Robby Findler
720a86052f
improved crop so that it doesn't fail when the coordinates are out of range
2010-08-22 15:12:10 -05:00
Robby Findler
f1e38247e0
improved the error message for save-image
...
closes PR 11076
2010-08-20 17:39:45 -05:00
Matthias Felleisen
b3525b4a2f
remove the printf, closes 11094
2010-08-14 12:01:51 -04:00
Jens Axel Søgaard
64c3a98e45
Added triangle/sss, triangle/ass, triangle/sas, triangle/ssa, triangle/aas, triangle/asa, and, triangle/saa.
2010-08-05 18:18:06 +02:00
Robby Findler
6cd277a36f
fixed a bug in the saving of bitmaps (and along the way added some randomized tests that found a few other things)
...
Please merge to release branch.
2010-07-20 22:59:52 -05:00
Robby Findler
a612830b8e
added the radial-star primitive
2010-06-25 20:24:18 -05:00
Robby Findler
132867518c
added support for flipping bitmaps
2010-06-18 16:21:14 -05:00
Robby Findler
27bd7934d7
fixed flipping for curves
2010-06-18 16:21:13 -05:00
Robby Findler
ca7bf92054
added basic flipping (bitmaps not done yet)
2010-06-18 16:21:13 -05:00
Robby Findler
893beb582e
adjusted the universe window so that the canvas is shown in the middle of the window when the window resizes
2010-06-10 20:15:17 -05:00
Robby Findler
31b507aa51
Rackety 2htdp/image
2010-05-25 21:35:04 -05:00
Robby Findler
77841f0834
fixes PR 19025
2010-05-24 12:17:40 -05:00
Matthias Felleisen
fe67f369fa
prep for debugging
2010-05-24 10:09:01 -04:00
Robby Findler
b319039468
fixed a bug in text so that inexact integers are converted to exact ones
2010-05-22 08:58:54 -05:00
Matthew Flatt
28b4043077
rename all files .ss -> .rkt
2010-04-27 16:50:15 -06:00
Robby Findler
256e3fedd2
fixed a bug with zero-sized htdp/image images interactive with 2htdp/image primitives
2010-04-23 12:34:17 -05:00
Matthias Felleisen
ae5c682e10
fixed 10866 for _first-order_ abuse of clauses
2010-04-20 18:57:17 -04:00
Matthias Felleisen
2e77afe5da
.
2010-04-15 18:38:09 -04:00
Matthias Felleisen
f04addd104
support several keywords per clause
2010-04-15 12:35:01 -04:00
Matthias Felleisen
ed21a85d9d
added csv reading to batch-io
2010-04-14 18:58:29 -04:00
Matthias Felleisen
8d1871b4c9
improved error message in response to 10854
...
svn: r18807
2010-04-13 14:17:29 +00:00
Matthias Felleisen
3f20bc5eb6
fixes 10836
...
svn: r18700
2010-03-31 21:59:07 +00:00
Matthias Felleisen
9a6e94903e
added release handler
...
svn: r18515
2010-03-12 01:36:02 +00:00
Matthias Felleisen
46d66b4542
bug report 10816
...
svn: r18490
2010-03-09 02:06:32 +00:00
Robby Findler
124dbe9b93
added empty-scene
...
svn: r18138
2010-02-17 23:21:57 +00:00
Robby Findler
12dc4f3421
PR 10728
...
svn: r18136
2010-02-17 23:07:44 +00:00
Matthias Felleisen
dda81dc80d
fixed bug 10733
...
svn: r17973
2010-02-05 01:11:05 +00:00