Commit Graph

245 Commits

Author SHA1 Message Date
Robby Findler
f083e6b50d fixed an off-by-one error (flooring negative numbers should go towards zero whe moving pinholes to be consistent with overlay/xy)
svn: r13730
2009-02-18 22:50:48 +00:00
Matthias Felleisen
d35d05956e removed a left-over printf
svn: r13209
2009-01-19 02:13:47 +00:00
Eli Barzilay
d1a0086471 newlines at EOFs
svn: r13105
2009-01-14 03:10:47 +00:00
Robby Findler
6cc488603f PR 9999: fixed color-list->image and alpha-color-list->image so that they accept zeros for the widths and heights
svn: r12988
2009-01-03 17:36:46 +00:00
Robby Findler
1b093e7963 improved the check that avoids redrawing (added it to key events and changed it to use equal instead of eq)
svn: r12941
2008-12-26 18:34:40 +00:00
Matthias Felleisen
fbd683abb0 small fix to check-proc
svn: r12368
2008-11-09 20:57:34 +00:00
Matthias Felleisen
0dcf6dc0ee svn: r12358 2008-11-08 20:35:23 +00:00
Matthias Felleisen
d2248f6ff6 small bug fix in world, needs more inspection
svn: r12221
2008-11-03 01:43:11 +00:00
Robby Findler
33d52cb379 performance improvement
svn: r11916
2008-09-30 20:18:55 +00:00
Robby Findler
4f24a1c0cd fixed a bug replating to zero sized images
svn: r11569
2008-09-07 13:28:44 +00:00
Eli Barzilay
8ac94b683c use #lang, minor edits
svn: r11469
2008-08-28 20:37:47 +00:00
Eli Barzilay
baa07eb09d use #lang, minor edits
svn: r11468
2008-08-28 20:36:18 +00:00
Matthias Felleisen
fd9ac82bd5 world: big-bang & friends can be re-run
svn: r11466
2008-08-28 19:56:38 +00:00
Matthias Felleisen
a56b3bff61 mouse events in [0,WIDTH] x [0,HEIGHT]
svn: r11413
2008-08-25 13:30:51 +00:00
Jay McCarthy
f4c71424f4 bug related to servlet-env mod
svn: r11261
2008-08-14 22:16:03 +00:00
Matthew Flatt
fcabbbf576 change world animated GIFs to not loop
svn: r11242
2008-08-14 17:17:57 +00:00
Matthias Felleisen
b96fd759f3 ke=? changed to key=?
svn: r11200
2008-08-12 12:56:30 +00:00
Danny Yoo
79fcb48d2f Adjusted filenames used for saving the animation frames so they're consistent width.
svn: r10928
2008-07-26 21:48:34 +00:00
Danny Yoo
323ae22f12 Adding a five-second pause to the end of an animated-gif. Added #:last-frame-delay parameter to mrlib/gif's write-animated-gif function.
svn: r10927
2008-07-26 21:48:29 +00:00
Danny Yoo
44e5ba4ec2 updated servlet2 to 4.0 style
svn: r10876
2008-07-23 14:29:47 +00:00
Danny Yoo
f237af6140 Getting servlet2 back to working shape. Changes include:
Wrapped the major servlet2 functions so they talk to a running server
  thread under an on-web context.

  Bumped timeout to +inf.

  When starting server, checks to see if the port is available.  If not,
  tries to choose 8001, 8002, ... up to 8032 before giving up.

svn: r10806
2008-07-17 02:13:46 +00:00
Matthias Felleisen
263feeb124 for future use
svn: r10794
2008-07-16 16:28:36 +00:00
Matthias Felleisen
469c1a0c89 small refactoring of hangman checks
svn: r10793
2008-07-16 16:14:21 +00:00
Matthias Felleisen
43e815713c two bugs in hangman
svn: r10792
2008-07-16 15:07:12 +00:00
Matthew Flatt
447698bce1 improve macros and docs for mpairs inside; change mrlib/gif to use scheme/base keywords
svn: r10781
2008-07-15 19:29:08 +00:00
Matthias Felleisen
7d2dac6fd3 world comments
svn: r10702
2008-07-09 19:41:31 +00:00
Matthias Felleisen
e5a28ba411 svn: r10701 2008-07-09 17:51:05 +00:00
Eli Barzilay
7d50e61c7f * Newlines at EOFs
* Another big chunk of v4-require-isms
* Allow `#lang framework/keybinding-lang' for keybinding files
* Move hierlist sources into "mrlib/hierlist", leave stub behind

svn: r10689
2008-07-09 07:18:06 +00:00
Robby Findler
7be05fcf8b added zero size rectangles, ellipses, circles, and strings
svn: r10610
2008-07-05 01:58:36 +00:00
Matthias Felleisen
55f6eddfea added key-event, ke
svn: r10597
2008-07-04 14:26:19 +00:00
Matthias Felleisen
e60a2cddee svn: r10393 2008-06-20 15:15:14 +00:00
Matthias Felleisen
32f514f78e commented out tests
svn: r10392
2008-06-20 14:41:19 +00:00
Matthias Felleisen
55604117e4 world with lang scheme
svn: r10331
2008-06-18 02:13:42 +00:00
Matthias Felleisen
9276a46dc4 is-end-of-world added to world
svn: r10300
2008-06-16 19:52:40 +00:00
Matthias Felleisen
3afa09f177 export as primitives
svn: r10157
2008-06-05 21:16:02 +00:00
Robby Findler
e9bb51a363 text now reuqires non-empty strings again
svn: r10142
2008-06-05 12:20:30 +00:00
Robby Findler
3ce56114f8 changed the convert teachpack so that it does not print anything out when it runs
svn: r10109
2008-06-03 16:49:50 +00:00
Matthias Felleisen
890ff70938 allow empty strings for text
svn: r9989
2008-05-27 22:17:54 +00:00
Matthias Felleisen
a5d04fdfe4 testing done
svn: r9742
2008-05-08 15:01:56 +00:00
Matthias Felleisen
fb644c1caf relevant teachpacks converted
svn: r9470
2008-04-25 00:50:03 +00:00
Matthias Felleisen
c8db94bce7 fixed reverse bug
svn: r9427
2008-04-23 15:43:20 +00:00
Kathy Gray
ed478254e2 Combinator parser change to add new signature form
htdp/testing change so that generate-report does something 

svn: r9382
2008-04-21 13:31:50 +00:00
Matthew Flatt
e26136ad6e re-export test-engine/scheme-tests
svn: r9161
2008-04-04 11:44:59 +00:00
Kathy Gray
7a6dff6d19 Merging testing branch (kathyg/test-harnessv4-2) onto trunk: -r8903:9138
svn: r9160
2008-04-04 11:30:36 +00:00
Matthias Felleisen
8360fbfba0 fixed bug in place-image0
svn: r9032
2008-03-20 21:20:38 +00:00
Eli Barzilay
357ee7713f HtDPv0 is no longer here
svn: r8882
2008-03-04 20:39:47 +00:00
Eli Barzilay
80208a30e5 move incomplete code to the graveyard.
svn: r8881
2008-03-04 20:39:30 +00:00
Eli Barzilay
b76390a452 revise the way setup-plt crawls over the collection trees
svn: r8860
2008-03-03 22:04:28 +00:00
Robby Findler
634b8c35fd regular-polygon now makes triangle
svn: r8827
2008-02-29 07:27:49 +00:00
Robby Findler
6266fe8b11 added regular-polygon and changed language to scheme/base
svn: r8823
2008-02-28 17:47:19 +00:00
Eli Barzilay
bb34f747b6 make all files terminate with a newline
svn: r8786
2008-02-24 21:27:36 +00:00
Eli Barzilay
b1a08edd5a use new require specs in many places
svn: r8774
2008-02-23 09:42:03 +00:00
Eli Barzilay
3c72e71e24 switched info.ss files to #lang
svn: r8532
2008-02-04 23:00:35 +00:00
Matthias Felleisen
4e6af69364 made file structures transparent for now to work with testing.ss
svn: r8258
2008-01-08 17:40:21 +00:00
Matthias Felleisen
98c57e31df matrix
svn: r8068
2007-12-19 17:48:55 +00:00
Matthias Felleisen
6ef244c217 matrix printfs removed
svn: r8003
2007-12-13 23:26:02 +00:00
Matthias Felleisen
cb6bb515aa matrix printfs removed
svn: r8001
2007-12-13 23:11:23 +00:00
Matthias Felleisen
b8e31012db svn: r7995 2007-12-13 18:57:37 +00:00
Eli Barzilay
b1fefcdd7c temporarily disable broken files
svn: r7987
2007-12-13 07:36:27 +00:00
Matthias Felleisen
6bb1223ba4 svn: r7983 2007-12-13 04:17:58 +00:00
Matthias Felleisen
cc4d5cfdc1 svn: r7982 2007-12-12 23:41:46 +00:00
Robby Findler
4aa8ab35e4 improved message a little
svn: r7949
2007-12-11 04:38:32 +00:00
Robby Findler
0e6e742ec7 changed testing.ss teachpack so that it only opens a window on failure and got rid of broken that opens new windows when clicking on links in the failed test case window
svn: r7930
2007-12-09 22:34:04 +00:00
Matthias Felleisen
da15995f92 world in 4.0
svn: r7866
2007-11-30 15:34:49 +00:00
Matthias Felleisen
5ac7cf7913 svn: r7835 2007-11-26 02:22:16 +00:00
Matthias Felleisen
0f3a841e58 svn: r7834 2007-11-26 02:20:40 +00:00
Robby Findler
aa266525dc added error check to string
svn: r7830
2007-11-25 14:42:04 +00:00
Matthew Flatt
e517dcdc2c fix expansion of check-expect to quote the syntax source
svn: r7797
2007-11-21 03:21:38 +00:00
Matthew Flatt
39cedb62ed v3.99.0.2
svn: r7706
2007-11-13 12:40:00 +00:00
Matthias Felleisen
6755a9aae6 added optional argument to runn-simulation
svn: r7361
2007-09-17 13:44:52 +00:00
John Clements
372725996b added stepper-hint
svn: r7279
2007-09-05 00:35:50 +00:00
Kathy Gray
acb4019fed Modified so that the macro implementaiton isn't mentioned in errors to students
svn: r7149
2007-08-23 15:31:07 +00:00
Matthias Felleisen
140b1eb1fd world exports line+scene and add-line now
svn: r7039
2007-08-06 23:59:54 +00:00
Matthias Felleisen
e9a4d3aeb2 8773: I should have run the tests
svn: r6741
2007-06-26 13:10:42 +00:00
Jay McCarthy
229cf60278 Moving servlet-env
svn: r6422
2007-05-30 22:35:34 +00:00
Jay McCarthy
4cdddaec1a Removing obsolete functions and fixing report-errors-to-browser, which did not work
svn: r6402
2007-05-30 15:10:24 +00:00
Matthew Flatt
e85a15df98 add support for 'lib paths in define-runtime-path, and change world.ss to use it
svn: r6150
2007-05-05 00:17:06 +00:00
Matthias Felleisen
4744c559b0 htdp, testing
svn: r6147
2007-05-04 22:16:26 +00:00
Matthias Felleisen
91d0c5e114 testing mv'ed for exec bug
svn: r6144
2007-05-04 19:22:45 +00:00
Matthias Felleisen
4f40c72d65 world finalized for now
svn: r6134
2007-05-04 02:23:02 +00:00
Matthias Felleisen
7ca2762e7e world scene, pasteboard bug
svn: r6132
2007-05-03 23:00:52 +00:00
Matthias Felleisen
7c43d47312 world with arb numbers
svn: r6131
2007-05-03 21:50:46 +00:00
Robby Findler
fa2b488b75 fixed a bug in the star image constructing function
svn: r6130
2007-05-03 19:13:19 +00:00
Robby Findler
d44fea1dd1 keeps the pinhole in the center of the world
svn: r6129
2007-05-03 16:12:24 +00:00
Matthew Flatt
94480ee157 fix shrink clipping
svn: r6125
2007-05-03 07:08:35 +00:00
Robby Findler
bce27f35f0 the image library now accepts inexacts and non-integral numbers in many places
svn: r6112
2007-05-01 15:30:35 +00:00
Matthias Felleisen
06edc1b652 animated gifs from Matthew's lib, plus optional
svn: r6076
2007-04-28 23:06:54 +00:00
Eli Barzilay
a6ad897a70 set svn:eol-style
svn: r6068
2007-04-28 13:57:18 +00:00
Matthias Felleisen
b81a871349 world draw bitmaps instead of getting them
svn: r6060
2007-04-27 22:07:07 +00:00
Matthias Felleisen
53febf1984 applied Carl's patches
svn: r5539
2007-02-02 02:08:45 +00:00
Eli Barzilay
19c33a8e2a no need for string->immutable-string when creating exceptions
svn: r5372
2007-01-17 01:18:50 +00:00
Matthias Felleisen
6537365672 small fixes to English in testing.scm
svn: r5304
2007-01-10 19:14:12 +00:00
Eli Barzilay
4bd2d14b7c prefix -> require only image?
svn: r5267
2007-01-08 22:12:33 +00:00
Matthias Felleisen
ef8befa249 small fixes to testing
svn: r5231
2007-01-05 17:02:50 +00:00
Kathy Gray
5db137cf05 Committing a change to display lists in a pretty-printed box
svn: r5225
2007-01-05 02:25:38 +00:00
Matthias Felleisen
0a89612920 removed printf line
svn: r5223
2007-01-04 23:27:22 +00:00
Matthias Felleisen
271897e467 testing added
svn: r5222
2007-01-04 22:31:35 +00:00
Matthias Felleisen
ceae98a985 macro for callbacks! macros ueber alles!
svn: r5166
2006-12-22 16:52:54 +00:00
Matthias Felleisen
9fd71be16c world finalized
svn: r5155
2006-12-21 19:03:28 +00:00
Matthias Felleisen
69c1149492 modified the playback to use system
svn: r5152
2006-12-21 03:03:33 +00:00
Matthias Felleisen
280d2aa95e added recording/imaging functionality to world.ss
svn: r5150
2006-12-20 23:18:32 +00:00
Matthias Felleisen
8037d9b184 added buttons for recording images for playback
svn: r5147
2006-12-20 04:09:50 +00:00
Matthias Felleisen
586b47c0dd world modified
svn: r5140
2006-12-19 19:47:05 +00:00
Matthias Felleisen
5edb1ce300 add-line in world.ss properly cuts off lines now
svn: r5079
2006-12-11 01:18:35 +00:00
Eli Barzilay
3459c3a58f merged units branch
svn: r5033
2006-12-05 20:31:14 +00:00
Matthias Felleisen
cedb2d088f put-pinhole instead of move-pinhole for nw:rectangle
svn: r4739
2006-11-01 21:49:20 +00:00
Matthias Felleisen
322789559c stupid mouse test
svn: r4728
2006-11-01 04:10:36 +00:00
Matthias Felleisen
fd5aeff0a5 fixed place-image's contracts
svn: r4727
2006-11-01 04:10:01 +00:00
Robby Findler
80ca729b04 removed halfway done fix for sexp movement keys
svn: r4723
2006-10-31 23:05:23 +00:00
Matthias Felleisen
c7a8c49ac8 fixed immediate world and graphing bugs
svn: r4637
2006-10-19 01:58:06 +00:00
Robby Findler
f2afc5347f added star
svn: r4604
2006-10-14 19:43:02 +00:00
Jay McCarthy
10ab002a3e privacy
svn: r4384
2006-09-19 15:34:35 +00:00
Robby Findler
bc388368a7 fixed bug in image library
svn: r4230
2006-09-03 04:03:06 +00:00
Matthias Felleisen
04e4477b20 fixed bug and specs of draw/idraw Canvases in htdch
svn: r3865
2006-07-28 14:43:22 +00:00
Matthias Felleisen
ebb6302e84 master no void
svn: r3752
2006-07-18 18:03:40 +00:00
Robby Findler
61f541091f fixed a bug where color-list->image accepts only color structs, rather than all kinds of colors
svn: r3743
2006-07-17 17:31:25 +00:00
Robby Findler
ba9c0bed53 improved color error message
svn: r3142
2006-05-30 22:47:24 +00:00
Matthias Felleisen
2f92e307d2 fixed info file
svn: r2968
2006-05-18 18:16:22 +00:00
Matthias Felleisen
812f9b0257 polished comments for Kathy
svn: r2764
2006-04-24 16:09:10 +00:00
Matthias Felleisen
e83b3679d0 full support for Canvas, multiple Worlds (changes to draw)
svn: r2713
2006-04-19 03:25:12 +00:00
Robby Findler
0ad4118f6f fixed image.ss to handle the case when positive and negative infinity are supplied to overlay/xy and also limited one-of/c's inputs
svn: r2659
2006-04-11 13:53:53 +00:00
Robby Findler
1c97b4c21f fixed PR 7999 and added one-of/c to the contract library
svn: r2650
2006-04-10 03:54:55 +00:00
Matthias Felleisen
5f814a0501 test for mouse event
svn: r2519
2006-03-27 15:35:00 +00:00
Matthias Felleisen
c3803982eb world with mouse events
svn: r2517
2006-03-27 15:31:07 +00:00
Matthias Felleisen
5d41b105e0 fixed dir, path->string
svn: r2502
2006-03-25 03:18:08 +00:00
Robby Findler
c7b023f76d added the ability for the line function to draw in both positive and negative x and y directions
svn: r2285
2006-02-19 16:04:45 +00:00
Matthew Flatt
077e2e4ffa move world frame non-resizeable, make window inset precise
svn: r2224
2006-02-14 14:26:44 +00:00
Matthias Felleisen
1096009ed8 world.ss nw:rectangle mode and color consume strings now
svn: r2192
2006-02-10 22:16:06 +00:00
Matthias Felleisen
b97062cb99 fixed image.ss
svn: r2084
2006-02-02 14:10:01 +00:00
Robby Findler
fddb1fa862 updated many unions to or/c's
svn: r2061
2006-01-31 19:17:33 +00:00
Matthias Felleisen
211b053f74 on-redraw: proc is now called on installation
svn: r1966
2006-01-25 18:39:09 +00:00
Matthias Felleisen
b9147c1b5d changed add-line from image
svn: r1754
2006-01-03 16:17:09 +00:00
Robby Findler
26c844adc6 misc changes: flush io in make.ss, remove unused require in world.ss, improved test suite, made drscheme use new built-in srcloc debugging info provided by mzscheme
svn: r1708
2005-12-29 14:10:47 +00:00
Matthias Felleisen
02d1710ddd world.ss +on-redraw -update
svn: r1583
2005-12-11 23:37:47 +00:00
Matthew Flatt
837f499caf fix module name
svn: r1580
2005-12-10 20:30:51 +00:00
Matthias Felleisen
6b33960bb4 changed world.ss interface to accommodate stepper
svn: r1578
2005-12-10 15:15:18 +00:00
Matthew Flatt
1117ce0d06 avoid 'begin' for the stepper's sake
svn: r1574
2005-12-09 22:00:13 +00:00
Matthias Felleisen
9a5d36e27a place-image(world.ss) accepts all coordinates now
svn: r1472
2005-12-01 22:01:51 +00:00
Robby Findler
3d570f8d32 added error check
svn: r1454
2005-12-01 04:09:33 +00:00
Matthew Flatt
d13f3c1850 prevent inexact height and widths for images
svn: r1393
2005-11-24 16:40:51 +00:00
Robby Findler
739c7bce07 saves on bitmap allocations
svn: r1180
2005-10-30 20:33:51 +00:00
Robby Findler
ff430e189d allow outline and solid arguments to image contructors to be strings
svn: r1036
2005-10-10 17:04:35 +00:00
Jay McCarthy
a1cf68700e Adding back servlet teachpacks
svn: r648
2005-08-24 16:03:24 +00:00
Eli Barzilay
0f835f2003 some more "cvs" removals
svn: r37
2005-06-01 06:05:38 +00:00
Eli Barzilay
017d151d59 Adding collects, with all the right properties (except eoln-style).
svn: r3
2005-05-27 18:56:37 +00:00