Commit Graph

309 Commits

Author SHA1 Message Date
Matthias Felleisen
7a4cd2a706 appeasing drdr
svn: r18702
2010-04-01 00:57:36 +00:00
Matthias Felleisen
3f20bc5eb6 fixes 10836
svn: r18700
2010-03-31 21:59:07 +00:00
Matthias Felleisen
0b33e15553 committed rest of fix
svn: r18672
2010-03-30 17:41:31 +00:00
Matthias Felleisen
3c1d0b079c 10834 fixed
svn: r18668
2010-03-30 13:43:47 +00:00
Matthias Felleisen
404e0e30a1 stop clause for release
svn: r18524
2010-03-12 13:24:45 +00:00
Matthias Felleisen
b4da375084 improved release test
svn: r18519
2010-03-12 03:28:26 +00:00
Matthias Felleisen
d4adb4456d added on release
svn: r18518
2010-03-12 03:21:23 +00:00
Matthias Felleisen
9a6e94903e added release handler
svn: r18515
2010-03-12 01:36:02 +00:00
Matthias Felleisen
2655495b56 fixed bug in on-tick syntax pattern
svn: r18514
2010-03-12 01:33:57 +00:00
Matthias Felleisen
b7b9e8dde6 fixed bug in on-tick syntax pattern
svn: r18513
2010-03-12 01:33:33 +00:00
Matthias Felleisen
46d66b4542 bug report 10816
svn: r18490
2010-03-09 02:06:32 +00:00
Matthias Felleisen
982820fba2 fixed double-def of empty-scene
svn: r18177
2010-02-19 01:06:11 +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
2c602a08c4 svn: r18006 2010-02-06 19:05:35 +00:00
Matthias Felleisen
dda81dc80d fixed bug 10733
svn: r17973
2010-02-05 01:11:05 +00:00
Matthias Felleisen
823bbd18c9 opaque iworld structure
svn: r17962
2010-02-03 22:49:12 +00:00
Matthias Felleisen
9664c79320 mouse leave/enter behavior was wrong; failure of SPC?
svn: r17925
2010-02-01 16:05:37 +00:00
Robby Findler
5f69c8ed4e now using redex check to generate random examples (and with more variety than before)
svn: r17816
2010-01-25 16:04:34 +00:00
Robby Findler
cf4294a280 changed the internal representation of normalized images so that crop structs do no have to be duplicated, improved test suites
svn: r17808
2010-01-24 20:22:58 +00:00
Robby Findler
c0cea48170 random testing found bugs (please include in release)
svn: r17792
2010-01-24 02:02:56 +00:00
Robby Findler
5f9a774880 fixed error message reporting bugs (merge to release branch)
svn: r17790
2010-01-23 23:07:34 +00:00
Matthew Flatt
178777234d notes on improving 2htdp/universe
svn: r17766
2010-01-21 18:51:08 +00:00
Robby Findler
5af38568a5 removed my broken attempt to fix the test; this is (I believe) an actual bug in the library
svn: r17703
2010-01-17 13:53:44 +00:00
Robby Findler
a9597eeb8b fixed up the docs for the base shapes to reflect the new pen arguments; added a section about pixels
svn: r17683
2010-01-17 02:50:41 +00:00
Robby Findler
3046afea04 added an code to avoid a race
svn: r17682
2010-01-17 02:29:29 +00:00
Robby Findler
7d34a9ecd5 fixed path problem
svn: r17675
2010-01-16 17:28:31 +00:00
Robby Findler
ddf0b4ec01 added finer control over pens
svn: r17670
2010-01-16 02:03:54 +00:00
Matthias Felleisen
9a50b999e2 hack for 2:image added to make sure it displays completely
svn: r17650
2010-01-14 18:05:11 +00:00
Matthias Felleisen
be76ed2add fixed small bug in draw check; eliminated the 'equal' optimization
svn: r17649
2010-01-14 17:43:44 +00:00
Robby Findler
96c717473a revised the coordinates for place-image and fixed up the docs a bit
svn: r17643
2010-01-14 01:15:31 +00:00
Robby Findler
8c9088a770 changed the overlaying functions so they default to putting the images overlay'd on their centers, not upper lefts
svn: r17632
2010-01-13 16:32:21 +00:00
Robby Findler
708d4c10d6 fixed image equality for zero width & zero height images
svn: r17593
2010-01-10 13:55:11 +00:00
Robby Findler
179f3615e2 added fast path for image equality that covers the case where the images have the same structure (roughly)
svn: r17560
2010-01-08 02:25:11 +00:00
Robby Findler
f9311ff9dc minor changes so that things run in drdr
svn: r17544
2010-01-07 20:10:59 +00:00
Robby Findler
911123bf94 added add-curve
svn: r17523
2010-01-07 01:56:46 +00:00
Robby Findler
b5e54fe2eb applied Ian's patch to the bitmap rotation code
svn: r17513
2010-01-06 21:43:34 +00:00
Robby Findler
07fcfd8eee fixed the bug uncovered by the test in the previous commit (to 2htdp/tests/test-image.ss)
svn: r17499
2010-01-06 18:43:51 +00:00
Robby Findler
01c507c1ff added a test
svn: r17498
2010-01-06 18:42:52 +00:00
Robby Findler
0b3c30f18e added place-image and fixed a bunch of bugs related to equality, rotating and other things
svn: r17491
2010-01-06 05:12:48 +00:00
Robby Findler
63c917fd8f made the image sizing functions always return exact, positive integers
svn: r17476
2010-01-04 12:36:04 +00:00
Robby Findler
f5bb840950 added cropping to 2htdp/image
svn: r17474
2010-01-04 01:39:09 +00:00
Robby Findler
ca96ddd889 switched to a bitmap-based image comparison
svn: r17466
2010-01-02 22:32:44 +00:00
Matthias Felleisen
9a11ad1d67 svn: r17465 2010-01-02 22:04:26 +00:00
Matthias Felleisen
261aa3937a performance bug, more fixes
svn: r17463
2010-01-02 21:47:08 +00:00
Robby Findler
719b72ca7e added missing require
svn: r17462
2010-01-02 20:42:46 +00:00
Matthias Felleisen
7025f6dad4 prelim fix for performance bug #10613
svn: r17446
2009-12-31 01:21:16 +00:00
Robby Findler
e821a0c461 separated 2htdp/universe from htdp/image, allowing either htdp/image or 2htdp/image to be used
svn: r17430
2009-12-29 23:59:39 +00:00
Matthias Felleisen
ed6e20220b svn: r17392 2009-12-24 01:47:26 +00:00
Robby Findler
57f9a7063e PR 10633
svn: r17159
2009-12-02 05:08:04 +00:00
Robby Findler
4c18e8212f PR 10635
svn: r17156
2009-12-02 04:42:35 +00:00
Eli Barzilay
0de55b5f3a set svn:eol-style
svn: r17123
2009-12-01 02:19:38 +00:00
Matthias Felleisen
aee5ba80d7 svn: r17115 2009-11-30 20:35:06 +00:00
Matthias Felleisen
571fec95aa stop the world and let me get off (2)
svn: r17112
2009-11-30 18:22:38 +00:00
Matthias Felleisen
bb4c88338c stop the world and let me get off
svn: r17111
2009-11-30 16:52:01 +00:00
Robby Findler
cd5220116a added underlay
svn: r17072
2009-11-26 17:07:20 +00:00
Robby Findler
cc60cdc02b fixed rotation of bitmaps
svn: r16861
2009-11-18 14:58:15 +00:00
Robby Findler
5cea34ec49 renamed */places to */align
svn: r16859
2009-11-18 12:11:44 +00:00
Robby Findler
645b786b79 added 'bitmap'
svn: r16857
2009-11-18 04:35:04 +00:00
Matthias Felleisen
e068d2ef86 typos
svn: r16828
2009-11-17 15:16:35 +00:00
Robby Findler
4f5479e912 moved 2htdp/image test back into 2htdp collection (yeah!)
svn: r16812
2009-11-16 16:45:25 +00:00
Eli Barzilay
9c2352d0d9 renamed test directory to tests
svn: r16800
2009-11-16 07:57:33 +00:00
Robby Findler
e9ba1bb480 improved the docs a little, added a color? predicate
svn: r16747
2009-11-13 17:15:59 +00:00
Robby Findler
71233bad43 added image-baseline
svn: r16745
2009-11-13 14:42:51 +00:00
Robby Findler
01bb6b8b61 fixed a bug in bitmap handling
svn: r16738
2009-11-13 00:57:31 +00:00
Robby Findler
676df4b338 added polygon
svn: r16735
2009-11-12 20:21:33 +00:00
Robby Findler
cacb4bd515 added above and above/places
svn: r16730
2009-11-12 16:25:02 +00:00
Robby Findler
88217a8aae added 'add-line', changed the way images in examples are saved
svn: r16727
2009-11-12 14:56:47 +00:00
Robby Findler
7411fdfa57 added 'line'
svn: r16699
2009-11-11 21:29:59 +00:00
Robby Findler
1a8d681ed2 added a bunch more polygons
svn: r16681
2009-11-11 02:20:18 +00:00
Robby Findler
a566cd488a added isosceles-triangle
svn: r16677
2009-11-10 23:54:53 +00:00
Robby Findler
4e3b1b4c26 fixed some bad behavior (that I never completely understood) by changing the interpretation of the base images as drawing their centers at (0,0) instead of drawing their upper left corners at (0,0)
svn: r16676
2009-11-10 23:36:32 +00:00
Matthias Felleisen
b2d51ab278 10393 fixed
svn: r16673
2009-11-10 22:06:29 +00:00
Matthias Felleisen
8f0e7fd944 10501 fixed
svn: r16662
2009-11-10 20:09:35 +00:00
Matthias Felleisen
c2de9f32c1 10505 fixed
svn: r16661
2009-11-10 19:56:19 +00:00
Eli Barzilay
44d88cee6b newlines at EOFs
svn: r16630
2009-11-09 03:49:50 +00:00
Robby Findler
3e51bc7199 fixed up text
svn: r16625
2009-11-08 23:29:19 +00:00
Robby Findler
c239a21885 added text and text/font (but with some problems still) and changed the image saving setup so the filenames are not so long
svn: r16623
2009-11-08 22:00:07 +00:00
Robby Findler
faf055c858 added circle and star-polygon
svn: r16617
2009-11-08 00:19:53 +00:00
Robby Findler
ec09914c3b added examples to the 2htdp/image documentation
svn: r16616
2009-11-07 23:48:30 +00:00
Robby Findler
3159a06389 (hopefully) sorted out polygons; added a few other polygon-based primitives
svn: r16570
2009-11-06 14:34:25 +00:00
Robby Findler
bfba962c7d added image-width and image-height
svn: r16371
2009-10-19 19:59:20 +00:00
Robby Findler
11e87632dc rearranged things so that 2htdp/image has its core snip stuff loaded into drscheme so that saving files with 2htdp/image images in them works
svn: r16317
2009-10-13 23:06:24 +00:00
John Clements
a2ccd6147e put initial draw behind a queue-callback
svn: r16316
2009-10-13 23:00:14 +00:00
Robby Findler
3aae13cb60 fixed a bug in rotating non-polygons
svn: r16315
2009-10-13 22:16:17 +00:00
Matthias Felleisen
f218661bde #'record problem
svn: r16309
2009-10-13 18:30:02 +00:00
Matthias Felleisen
c24b05a7b0 fixed the require bug
svn: r16308
2009-10-13 17:55:20 +00:00
Robby Findler
339860d340 a little more progress (got ellipses bounding boxes right!)
svn: r16307
2009-10-13 17:30:40 +00:00
Robby Findler
e87712fdda an attempt to fix up the bounding boxes on ellipses
svn: r16281
2009-10-08 14:20:04 +00:00
Robby Findler
d0b4dc24ec added scaling to 2htdp/image
svn: r16211
2009-10-02 11:20:30 +00:00
Robby Findler
2fbb31c6ad a little more progress on images, plus some documentation
svn: r16202
2009-10-01 19:21:45 +00:00
Robby Findler
522c290678 svn: r16146 2009-09-28 18:05:30 +00:00
Robby Findler
53a796d7af first (broken) attempt at bounding boxes for ellipses
svn: r16145
2009-09-28 16:26:03 +00:00
Robby Findler
982f533d28 split up image into core library (required for copy & paste) and other stuff (implementation of the combinators, mostly)
svn: r16141
2009-09-28 11:36:13 +00:00
Robby Findler
68d461f60a renamed 2htdp/picture to 2htdp/image
svn: r16140
2009-09-28 11:04:23 +00:00
Robby Findler
c91a9847aa more progress on picture.ss; hopefully this is a final version of the internal data definitions
svn: r16132
2009-09-26 15:39:00 +00:00
Matthias Felleisen
725708e7a7 removed superfluous printf; please propagategrep printf *!
svn: r16103
2009-09-21 17:46:57 +00:00
Matthias Felleisen
c15885ca6c fixed weak contract for real numbers; no need to propagate
svn: r16102
2009-09-21 14:11:43 +00:00
Matthias Felleisen
ff3e48c32f run-simulation -> animate
svn: r15996
2009-09-14 00:59:51 +00:00
Matthias Felleisen
96d2064888 re-directed image
svn: r15868
2009-09-03 22:49:51 +00:00
Matthias Felleisen
1a571f09fb some clean up
svn: r15866
2009-09-03 10:47:31 +00:00
Matthias Felleisen
68fb5e42fa added state display to world programs
svn: r15836
2009-08-30 18:11:02 +00:00
Robby Findler
d3ececcee6 cleaned up rotation
svn: r15782
2009-08-19 12:14:09 +00:00
Robby Findler
accd344975 started changing the representation so that the rotation angles are always at the bottom of the pictures
svn: r15774
2009-08-17 21:09:33 +00:00
Robby Findler
be2dc50990 moved tests into the tests collection
svn: r15773
2009-08-17 20:17:45 +00:00
Robby Findler
5b6f0381fa moved test suite to test/ directory, minor change to try to understand normalization bug
svn: r15771
2009-08-17 17:01:51 +00:00
Robby Findler
efbd58d93e identified a problem with normalization (not sure how to fix it yet, tho)
svn: r15770
2009-08-17 15:57:01 +00:00
Robby Findler
eb304cf4c3 first cut checkin (still problems, of course)
svn: r15750
2009-08-17 00:33:19 +00:00
Matthias Felleisen
ae0822ac9f checking keystrokes properly in universe
svn: r15743
2009-08-15 01:25:02 +00:00
Matthias Felleisen
fb206a23d5 added last-picture option to stop-when
svn: r15740
2009-08-14 23:15:29 +00:00
Robby Findler
8bee13c680 Matthias asked me to remove this definition
svn: r15676
2009-08-05 21:30:55 +00:00
Robby Findler
0646de8473 cleaned up a little bit, here and there
svn: r15675
2009-08-05 19:44:06 +00:00
Matthias Felleisen
a3cb24d195 fixed small universe bug
svn: r15657
2009-08-01 16:18:27 +00:00
Matthias Felleisen
6dcc67cb25 svn: r15616 2009-07-29 02:21:32 +00:00
Matthias Felleisen
671c2ef26e typos in tests
svn: r15531
2009-07-22 15:11:18 +00:00
Matthias Felleisen
574b532e80 sync/yield bug, propagate
svn: r15509
2009-07-20 22:33:49 +00:00
Matthias Felleisen
bd4395bbfa small bug in launch many worlds, propagate
svn: r15508
2009-07-20 21:11:19 +00:00
Matthias Felleisen
7b10ba8321 added launch-many worlds, propagate please
svn: r15499
2009-07-20 19:04:37 +00:00
Matthias Felleisen
26a94ad11c aux is bad for MS
svn: r15481
2009-07-17 19:29:04 +00:00
Matthias Felleisen
ca8385045f small fix to editing in chatter
svn: r15479
2009-07-17 18:25:34 +00:00
Matthias Felleisen
4e40450248 improving chat, no need to propagate
svn: r15476
2009-07-17 16:59:40 +00:00
Matthias Felleisen
8bdd94dca5 bug in world, please propagate
svn: r15473
2009-07-17 16:17:43 +00:00
Matthias Felleisen
608dbc9405 svn: r15469 2009-07-17 01:34:38 +00:00
Matthias Felleisen
742660ffe7 fixing more string/symbol bugs; please propagate
svn: r15465
2009-07-16 20:17:34 +00:00
Matthias Felleisen
c62c90fa7b fixed symbol/string bug; please propagate
svn: r15463
2009-07-16 19:04:51 +00:00
Eli Barzilay
30950afff5 set props
svn: r15457
2009-07-16 12:24:23 +00:00
Matthias Felleisen
b1af0d5979 fixed module problem in server
svn: r15443
2009-07-14 15:40:50 +00:00
Matthias Felleisen
ad784971f7 svn: r15439 2009-07-14 01:35:51 +00:00
Eli Barzilay
a70bf64fd9 Newlines at EOFs
svn: r15380
2009-07-04 02:28:31 +00:00
Eli Barzilay
bbc989f795 set svn:eol-style
svn: r15379
2009-07-04 02:01:41 +00:00
Matthias Felleisen
06ea83c600 changed world?/universe? to check-with
svn: r15196
2009-06-17 18:55:14 +00:00
Matthias Felleisen
6450c3148e world? and universe? added, comments to come
svn: r15178
2009-06-15 18:00:04 +00:00
Eli Barzilay
c09a5b61e4 set svn:eol-style
svn: r15141
2009-06-11 06:39:05 +00:00
Matthias Felleisen
f04f42db76 svn: r15093 2009-06-05 15:06:47 +00:00
Matthias Felleisen
bbc24b5e68 svn: r15091 2009-06-05 13:50:24 +00:00
Eli Barzilay
253a625a62 comment out bad expression
svn: r15089
2009-06-05 08:53:24 +00:00
Eli Barzilay
e73ed5c35e require typo, mostly
svn: r15088
2009-06-05 08:16:37 +00:00
Matthias Felleisen
7be84621dc utest contains ball game
svn: r15085
2009-06-05 01:55:32 +00:00
Matthias Felleisen
a82fe6af1e universe keeps track of iworlds now
svn: r15084
2009-06-04 23:00:13 +00:00
Matthias Felleisen
10e0e08143 strings for Universe callbacks
svn: r14644
2009-04-29 03:08:40 +00:00
Matthias Felleisen
450bafcde4 improved error messge for register
svn: r14628
2009-04-27 19:09:37 +00:00
Eli Barzilay
f2ae856533 set svn:eol-style
svn: r14511
2009-04-14 14:40:46 +00:00
Matthias Felleisen
dc6be52955 we need batch io for htdp/2e
svn: r14503
2009-04-14 03:00:17 +00:00
Matthias Felleisen
ef85043b9a bug report 10129
svn: r14127
2009-03-16 14:50:13 +00:00
Matthias Felleisen
533c8dfd8b problem with 0-sized images fixed
svn: r14084
2009-03-13 02:04:41 +00:00
Matthew Flatt
63af81bd85 remove bogus 'combo style from universe logging window
svn: r14052
2009-03-11 17:13:38 +00:00
Matthias Felleisen
757b1e84d2 bug in list of world managements fixed
svn: r13827
2009-02-25 01:05:45 +00:00
Matthias Felleisen
20af4fe7d4 small typo in iworlds
svn: r13826
2009-02-24 23:12:07 +00:00
Matthias Felleisen
2336b9c279 removed 's world
svn: r13795
2009-02-22 23:38:54 +00:00
Matthias Felleisen
5b8c2977f9 added separate naming facilty
svn: r13770
2009-02-21 16:45:13 +00:00
Matthias Felleisen
33df6b2bfa fixed mouse event bug
svn: r13756
2009-02-21 00:14:17 +00:00
Matthias Felleisen
203ba8e2db renamed world to iworld, for internal
svn: r13587
2009-02-15 00:57:41 +00:00
Eli Barzilay
d1a0086471 newlines at EOFs
svn: r13105
2009-01-14 03:10:47 +00:00
Eli Barzilay
0a51fa26e6 set svn:eol-style
svn: r13103
2009-01-14 03:01:36 +00:00
Matthias Felleisen
2b0daee31c svn: r13080 2009-01-12 22:22:08 +00:00
Matthias Felleisen
38ef7d3c41 separated out the list of worlds from universeState
svn: r13055
2009-01-09 23:18:05 +00:00
Matthias Felleisen
72d904d2d9 small bug in new world code
svn: r13049
2009-01-09 19:55:48 +00:00
Eli Barzilay
2a61276917 set misc properties
svn: r12996
2009-01-03 23:55:08 +00:00
Matthias Felleisen
f5714c2086 added universe via a 2htdp teachpack
svn: r12980
2009-01-03 02:38:09 +00:00