Commit Graph

320 Commits

Author SHA1 Message Date
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
Robby Findler
3c4bdf86fe added a close icon to the yellow warning message
svn: r15611
2009-07-28 20:40:54 +00:00
Robby Findler
3c6234efd9 svn: r15454 2009-07-16 01:07:16 +00:00
Robby Findler
ad856384a3 svn: r14818 2009-05-14 19:23:24 +00:00
Eli Barzilay
ff73a5395e removed lots of "the the"s
svn: r14679
2009-05-01 21:02:51 +00:00
Matthew Flatt
52d6fb4e1d aligned-pasteboard and cue-text% repairs
svn: r14463
2009-04-08 12:59:22 +00:00
Eli Barzilay
c0a8a01222 Changed @itemize{...} to @itemize[...] (done after comparing the doc
tree and verifying that there are no changes).
(Also fixed a few bugs that were in the code)

svn: r14427
2009-04-05 17:46:20 +00:00
Eli Barzilay
28d35ebb6a typo
svn: r14397
2009-04-01 06:10:22 +00:00
Eli Barzilay
0adc7a50f2 clarification
svn: r14388
2009-03-31 14:56:55 +00:00
Eli Barzilay
c5d2342999 added set-flip-labels?
svn: r14386
2009-03-31 14:54:40 +00:00
Eli Barzilay
a58ba38c52 added remove-links
svn: r14383
2009-03-31 12:22:29 +00:00
Eli Barzilay
3d04c4ce10 set-links-label! -> set-link-label
svn: r14382
2009-03-31 12:16:39 +00:00
Eli Barzilay
33c30e7dd7 document set-links-label!
svn: r14381
2009-03-31 12:13:47 +00:00
Eli Barzilay
202134e45c added set-links-label! to change a link label
svn: r14374
2009-03-31 05:57:44 +00:00
Eli Barzilay
fb3846cb43 always keep the lables right-side-up
svn: r14373
2009-03-31 04:53:23 +00:00
Matthew Flatt
5c7b122118 fix swiatchble-button to lose its hilite state when its hidden
svn: r13764
2009-02-21 13:30:01 +00:00
Robby Findler
265f75379a fixed a bug in a call to update-arrowhead-polygon
svn: r13250
2009-01-21 17:28:56 +00:00
Robby Findler
af810c8a6f added support for special-case drawing of individual edges to the graph library and support to be able to use that to redex
svn: r13226
2009-01-19 18:02:33 +00:00
Robby Findler
a4799be53c added support for customizing the edge label font to the graph library and propogated that argument to the redex traces and traces/ps functions
svn: r13155
2009-01-15 21:29:26 +00:00
Eli Barzilay
d1a0086471 newlines at EOFs
svn: r13105
2009-01-14 03:10:47 +00:00
Matthew Flatt
b58664d1f8 fix coerce-to-cache-image-snip
svn: r12973
2009-01-02 20:15:58 +00:00
Matthew Flatt
1642a84e69 add equal?/recur; implement equal? for image-snip% via properties
svn: r12950
2008-12-29 22:36:53 +00:00
Robby Findler
2207df048d now using the normalized versions of all of these unicode thingies
svn: r12605
2008-11-27 00:46:25 +00:00
Robby Findler
00abb80504 fixed a bug in copy/paste of images that have a zero dimension
svn: r12448
2008-11-14 14:53:20 +00:00
Robby Findler
788443072b misc improvements after writing a beginner program with contracts
svn: r12371
2008-11-10 05:54:04 +00:00
Eli Barzilay
ad2928e32a typo (PR9789)
svn: r11898
2008-09-28 22:59:34 +00:00
Robby Findler
805d4eb73f refined searching
svn: r11581
2008-09-09 03:43:57 +00:00
Robby Findler
aaccfbb42f added bug logging
svn: r11528
2008-09-02 21:34:56 +00:00
Eli Barzilay
da3b476e80 finish the cm move: change all requires, leave stub files in mzlib
svn: r11314
2008-08-19 00:22:57 +00:00
Matthew Flatt
fcabbbf576 change world animated GIFs to not loop
svn: r11242
2008-08-14 17:17:57 +00:00
Danny Yoo
983dceb84c typo
svn: r11008
2008-07-31 14:43:46 +00:00
Danny Yoo
ec408d0f24 Moved octree-quantize to private, replacing original implementation of file/gif's quantize.
svn: r10996
2008-07-31 02:19:40 +00:00
Danny Yoo
f2a1773422 Updated write-animated-gif to use the octree quantizer.
svn: r10993
2008-07-31 00:27:05 +00:00
Matthew Flatt
27375c0d5a fix equal? on transparent R6RS records
svn: r10949
2008-07-28 20:30:25 +00:00
Danny Yoo
0013f61f65 Added last-frame-delay to the gif writing documentation.
svn: r10929
2008-07-26 21:48:35 +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
Eli Barzilay
8cca45792c fix length use
svn: r10789
2008-07-16 11:28:09 +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
Robby Findler
6b9690da71 forgot to add this in the last commit
svn: r10709
2008-07-10 18:03:39 +00:00
Robby Findler
1858924c50 moved the tex-table.ss file somewhere accessible and documented it
svn: r10708
2008-07-10 17:21:00 +00:00
Eli Barzilay
d443abe50d documented on-click-always
svn: r10692
2008-07-09 09:52:20 +00:00
Eli Barzilay
a71a5bcf45 Make categories in the language dialog expand/collapse on a single
click, requires extending hierlists with `on-click-always'

svn: r10691
2008-07-09 09:47:24 +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
Robby Findler
31407bea69 found some unchecked in changes to the cdb source and ported them
svn: r10594
2008-07-04 11:45:29 +00:00
Danny Yoo
9431017d18 Generalized click-forwarding-editor to work on text%s as well as pasteboards%
svn: r10427
2008-06-23 18:22:03 +00:00
Robby Findler
50cd17833f abstracted out edge drawing so it can be overriden
svn: r10136
2008-06-04 21:36:13 +00:00
Robby Findler
08d04e171f svn: r9941 2008-05-23 11:47:44 +00:00
Matthew Flatt
721a846cef avoiding flashing from unecessary update of disabled buttons
svn: r9891
2008-05-19 14:03:21 +00:00
Eli Barzilay
fb65879c50 disable debugging window
svn: r9846
2008-05-15 14:56:05 +00:00
Robby Findler
faee206b19 improved spacing of drawing slightly
svn: r9842
2008-05-15 02:41:38 +00:00
Matthew Flatt
52ced1f100 fix some updating problems, especially under Mac OS X with transparent canvases
svn: r9825
2008-05-13 18:14:15 +00:00
Robby Findler
211be167b7 made a little more space between the text and the icon
svn: r9823
2008-05-13 11:59:16 +00:00
Matthew Flatt
e0e978b87e make switchable button draw right when alpha blending isn't available
svn: r9722
2008-05-07 17:09:46 +00:00
Robby Findler
c09743e2d2 make the tooltip appear on the left side of the icon if the window is sufficiently large
svn: r9718
2008-05-07 02:52:43 +00:00
Matthew Flatt
94d8c852da account for frame-location and client<->screen for positioning tool tips under Mac OS X
svn: r9717
2008-05-07 02:22:22 +00:00
Matthew Flatt
c383bfdab2 reflow frame as container before getting its size
svn: r9715
2008-05-07 02:02:52 +00:00
Matthew Flatt
f810570330 Windows and placement tweaks to tool tip
svn: r9714
2008-05-07 01:58:28 +00:00
Matthew Flatt
f77bd13540 tool-tip frame size
svn: r9711
2008-05-07 00:51:07 +00:00
Matthew Flatt
860c41d749 drs bug and test-suite fixes
svn: r9709
2008-05-06 23:27:23 +00:00