Commit Graph

279 Commits

Author SHA1 Message Date
Matthew Flatt
234a57506f document some modules that are referenced in other documentation 2010-12-15 13:41:59 -07:00
Robby Findler
8add8cfdf5 Revert "change 2htdp/image to try to improve the way drawing works when there is sharing the in the tree"
This reverts commit 9ce75b8f76.
2010-12-12 15:18:06 -06:00
Robby Findler
91aa9f756a finally, a fix that makes the 2htdp/image test suite pass! 2010-12-12 15:14:04 -06:00
Robby Findler
9ce75b8f76 change 2htdp/image to try to improve the way drawing works when there is sharing the in the tree 2010-12-12 15:14:04 -06:00
Casey Klein
f293ace98d Revert "Adds support for inserting more arrow characters by their LaTex names"
This reverts commit a12491bb89, in which
the documentation won't build as PDF.
2010-12-11 01:40:51 -06:00
Casey Klein
e65598c98c Fixes the semi-automated TeX table test 2010-12-10 13:58:10 -06:00
Casey Klein
a12491bb89 Adds support for inserting more arrow characters by their LaTex names 2010-12-10 13:58:10 -06:00
Robby Findler
f11e53c68c gr2 cleanup 2010-11-29 13:49:48 -06:00
Robby Findler
bf62d4b6d6 get two more 2htdp/image test cases to pass 2010-11-25 09:03:06 -06:00
Robby Findler
a658a7620b a (failed) attempt to fix equality comparison (but at least it is a step in the right direction (I think)) 2010-11-25 06:55:00 -06:00
Matthew Flatt
1db27b474f fix merge mistake 2010-11-05 15:54:56 -06:00
Matthew Flatt
05cfffdf9e v5.4.99.1, executable-yield-handler', and make-bitmap' etc. 2010-11-05 15:54:50 -06:00
Matthew Flatt
83a00c66ec cocoa on-drop-files 2010-11-05 15:54:28 -06:00
Matthew Flatt
955df62409 update hierlist for new selection drawing 2010-11-05 15:54:20 -06:00
Matthew Flatt
6e977d7c20 hidden name message should simply not draw 2010-11-05 15:54:05 -06:00
Matthew Flatt
4bfed6d797 misc repairs 2010-11-05 15:54:01 -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
4941aec617 removed unused argument to normalize-image 2010-11-04 13:55:40 -05:00
Robby Findler
6a414bd18a fixed some bugs in the way 2htdp/images were marshalled and unmarshalled 2010-10-28 17:20:43 -05:00
Robby Findler
7ef1e8bd90 fixed a bug in the way old 2htdp/image files were parsed (those that contain bitmaps) 2010-10-28 17:20:43 -05:00
Robby Findler
abca2c91b8 added default case to avoid runtime errors when parsing bogus images 2010-10-28 17:20:42 -05:00
Robby Findler
02d8b5cebf 2htdp/image: adjusted the image you get when parsing fails so that it draws inside its bounding box 2010-10-28 17:20:42 -05:00
Robby Findler
a744958fd5 added support to the 2htdp/image library for reading files when there is no GUI around.
currently the support is limited to images that can only report their sizes and pinholes and where equal?
signals an error unless the arguments are eq?.
2010-10-28 11:32:14 -05:00
Matthias Felleisen
07952e1408 impose contract on write-animated-gif, Closes PR11358 2010-10-26 23:22:14 -04:00
Robby Findler
35f64145ca adjusted the way caching works for bitmaps to be more effective 2010-10-22 06:45:57 -05:00
Robby Findler
1d0ebeae62 added a check to avoid creating a new bitmap struct (so caching works better when you flip images that are not scaled) 2010-10-14 14:05:12 -05:00
Robby Findler
05d16d9311 closes PR 11293 2010-10-07 19:36:18 -05:00
Robby Findler
08b9396e2f closes PR 11236 2010-09-21 16:47:55 -05:00
Robby Findler
d419e8c12a changed the ->d contracts to ->i contracts 2010-09-09 14:21:35 -05:00
Robby Findler
d2e443ac97 made equality check on images sensitive to 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
Robby Findler
748fc32bd1 added pinhole drawing 2010-09-06 20:39:10 -05:00
Robby Findler
5e01ac5537 added a pinhole property to images 2010-09-06 20:39:10 -05:00
Robby Findler
7fead2875a forgot the flip check (caught by the test suites) 2010-09-02 12:20:19 -05:00
Robby Findler
09bd56081b fixed a performance bug (avoids computing the rotation of a bitmap when it isnt actually rotated...) 2010-09-02 11:01:23 -05:00
Eli Barzilay
8e0f8dd39c More "~n" -> "\n" changes 2010-08-26 12:11:00 -04:00
Robby Findler
f793360586 fixed a bug reported by Todd on the mailing list (probably this is his bug anyways) 2010-08-02 13:01:27 -05:00
Matthew Flatt
5d7f044488 change mrlib/image-core to use pen-list% cap and join support 2010-07-21 16:19:12 -06: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
476dd36eec modified the draw-button-label contract so that it would work with a let*-style scoping for ->d 2010-07-10 10:01:25 -05:00
Robby Findler
070a39d902 fixed a bug in text's color argument, as noted in PR 10998 2010-07-07 13:42:40 -05:00
Robby Findler
a5d969607b fixed PR 10998 2010-07-06 15:26:26 -05:00
Robby Findler
9f5593c222 rackety mrlib/name-message 2010-06-22 14:22:35 -05:00
Robby Findler
c5b0c73111 added docs and minor cleanups in mrlib/name-message 2010-06-22 14:22:34 -05:00
Robby Findler
2e67f8bb9f Refactored the rotation code to support an arbitrary linear transformation 2010-06-20 14:13:16 -05:00
Robby Findler
0c0009465e removed a bogus case in the definition of np-atomic-shape predicate 2010-06-18 16:21:14 -05:00
Robby Findler
132867518c added support for flipping bitmaps 2010-06-18 16:21:14 -05:00
Robby Findler
22bc8f6d87 a bunch of little fixes to the 2htdp/image library (and related) for sfp submission:
- added in the htdp/image version of the performance test case
- made gui-eval work with things other than slideshow
- extended render-image so that it works on bitmaps and image-snips
2010-06-16 11:58:58 -05:00
Robby Findler
31b507aa51 Rackety 2htdp/image 2010-05-25 21:35:04 -05:00
Robby Findler
8c98f9d979 made a start on the image-core library's documentation 2010-05-25 16:10:23 -05:00
Robby Findler
0c1afebb5a made a start on the image-core library's documentation 2010-05-25 16:10:23 -05:00
Robby Findler
b7a20594ef added \newpage to the latex-style keybindings 2010-05-17 11:39:38 -05:00
Eli Barzilay
de0cc7771b A lot of "DrScheme" -> "DrRacket"s. 2010-05-17 01:27:03 -04:00
Eli Barzilay
d8fec78585 Some renames for this dusty code. 2010-05-16 18:26:25 -04:00
Matthew Flatt
28b4043077 rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
Robby Findler
700a530f4e PR 10783 addendum
svn: r18346
2010-02-26 03:38:00 +00:00
Robby Findler
39dd21c240 PR 10783
svn: r18340
2010-02-25 20:57:45 +00:00
Robby Findler
50a6a585b1 fixed some repl-printing related bugs that would make 'write' sensitive to pretty-print's parameters in drscheme's repl
svn: r18321
2010-02-24 17:35:09 +00:00
Eli Barzilay
c88a5a6856 A bunch of additional typos
svn: r17976
2010-02-05 03:21:52 +00:00
Robby Findler
e74e46d9ca drdr-ized the rest of the drscheme test suite
svn: r17945
2010-02-02 21:06:07 +00:00
Robby Findler
540f43327d added a little more error checking
svn: r17912
2010-01-31 13:32:19 +00:00
Matthew Flatt
73a1675286 fix select #f for hierlist
svn: r17888
2010-01-29 20:30:46 +00:00
Robby Findler
be5b6cd32e some improvements to the new language dialog
svn: r17886
2010-01-29 18:29:03 +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
3c1d7e9aca simple fix to deal with performance problem noticed by jpr (this is not a complete fix, but should work in the common case of lots of repeated place-image calls)
svn: r17783
2010-01-23 20:36:54 +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
ddf0b4ec01 added finer control over pens
svn: r17670
2010-01-16 02:03:54 +00:00
Robby Findler
fc8f84d616 fixed a bug I introduced
svn: r17638
2010-01-13 20:18:48 +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
8838d90cd5 removed extra depenencies
svn: r17630
2010-01-13 15:12:46 +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
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
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
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
Robby Findler
0d16beda3c made the define popup and the file popup appear when the toolbar is on the left/right
svn: r17452
2009-12-31 13:27:49 +00:00
Robby Findler
2ec790424b added section symbol
svn: r17407
2009-12-27 22:09:43 +00:00
Robby Findler
57f9a7063e PR 10633
svn: r17159
2009-12-02 05:08:04 +00:00
Robby Findler
b310c35a38 PR 10634
svn: r17158
2009-12-02 05:01:08 +00:00
Robby Findler
4c18e8212f PR 10635
svn: r17156
2009-12-02 04:42:35 +00:00
Robby Findler
b80c782046 fixed a bug in bitmap scaling (ie I no longer forgot to write the code ...)
svn: r16883
2009-11-18 22:23:39 +00:00
Robby Findler
cc60cdc02b fixed rotation of bitmaps
svn: r16861
2009-11-18 14:58:15 +00:00
Robby Findler
cef2d065df removed printf
svn: r16767
2009-11-14 13:21:30 +00:00
Robby Findler
d783011981 fixed scrolling for image snips
svn: r16740
2009-11-13 02:00:16 +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
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
Robby Findler
53f8290928 fixed an imprecision error
svn: r16633
2009-11-09 16:59:53 +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
3159a06389 (hopefully) sorted out polygons; added a few other polygon-based primitives
svn: r16570
2009-11-06 14:34:25 +00:00
Matthew Flatt
c483470deb fix some bad aligned-pasteboard tests
svn: r16348
2009-10-17 14:28:46 +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
Robby Findler
dfaf397cac added iota
svn: r16147
2009-09-28 19:36:38 +00:00
Robby Findler
6de735bf59 added sqrt
svn: r15749
2009-08-16 22:00:15 +00:00
Robby Findler
3f0b94e58a svn: r15712 2009-08-12 19:42:53 +00:00
Matthew Flatt
2850d101f3 clear bitmap created for a snip->cached-image-snip conversion
svn: r15656
2009-08-01 16:17:35 +00:00