Robby Findler
913883fd28
adjust include-bitmap so that it does not write to the filesystem
...
(also, Rackety)
2011-08-27 07:54:08 -05:00
Robby Findler
6c91288f2f
speed up bitmap rotation (could probably revisit this to
...
speed up flipping (and also to do all three in one pass)
2011-08-23 18:56:51 -05:00
Robby Findler
b425ca90d2
fix bug in the loading of non-alpha bitmaps (also: minor Rackety)
2011-08-23 18:56:50 -05:00
Robby Findler
034e4f2364
add test cases for old file 2htdp/image file formats
...
(and fix corresponding bugs)
2011-08-23 07:12:11 -05:00
Robby Findler
1f02106318
2htdp/image
...
normalize the internal representation of bitmaps so it always uses an alpha
bitmap instead of sometimes using a mask bitmap and sometimes using alpha.
This also fixes a bug where the library would get consfused when it saved
a bitmap to a file, since it didn't record if it was an alpha bitmap or not.
This improves the save files that contain images, cutting the size for bitmaps
in half (bringing the drracket save file down to a mere 25x larger than the
png file format for the example I was using...)
2011-08-22 19:09:52 -05:00
Robby Findler
8ccf50b84b
use the pre-multiplied alphas when comparing images for 2htdp/image
2011-08-22 19:09:50 -05:00
Robby Findler
56b82ba83c
fix the png conversion code for 2htdp/image images
...
closes PR 12061
please merge to the release branch
2011-07-22 08:09:17 -05:00
Eli Barzilay
3157955d40
".ss" -> ".rkt" scan done.
2011-07-02 10:37:53 -04:00
Ryan Culpepper
1b702a2ae3
docs reorganization
...
added tutorial, racket categories
relabeled some other categories
normalized manual names: de-bolded, changed some names
2011-07-01 17:16:53 -06:00
Robby Findler
69b5daa9e6
remove docs tests that no one was interested in
2011-07-01 11:38:09 +08:00
Eli Barzilay
78dacef817
Get rid of "defaultly"s.
2011-06-28 02:11:24 -04:00
Eli Barzilay
ac26fe7554
A ton of @scheme*' ->
@racket*' and related updates.
...
Also, updates some of the mzlib files to point at `racket/*' libraries
rather than to `scheme/*' ones.
2011-06-25 04:08:47 -04:00
Eli Barzilay
debd1f9f1e
Recketizing much in `net/*', mass ".ss" -> ".rkt" conversion in .scrbl files.
...
(Some other minor things here and there.)
2011-06-20 04:27:14 -04:00
Matthew Flatt
f34a31cac9
"under <platform>" -> "on <platform>"; "X" -> "Unix"
...
I originally picked "under" as the preposition to go before
a platform name, but obviously you should build "on" a
platform, and "under" suddenly annoys me. The choice of "on"
is now codified in the documentation style guide. Meanwhile,
"Unix" insted of "X" seems more clear and consistent in the
`racket/gui' docs.
More usefully, this patch also fixes a few out-of-date
platform-specific claims.
2011-06-17 18:54:43 -06:00
Eli Barzilay
3ecdd3bc59
Specify what happens on OS X with ;-separated globs.
...
Also, update the `path-dialog%' intro -- it is no longer similar to the
dialog under X.
2011-06-06 02:01:26 -04:00
Robby Findler
9e36dc8eb3
adding a missing 2htdp/image color => racket/gui color coercion
...
closes PR 11956
2011-06-02 16:27:09 -07:00
Robby Findler
507b1cd8fd
moved the docs-complete library into rackunit
...
to avoid having a separate, new manual for the
one library
2011-05-05 16:10:42 -05:00
Robby Findler
e7d0029aea
added lots of new tests that our documentation is complete
2011-04-25 13:24:43 -05:00
Robby Findler
100b4d31f1
make the close icon clicky thingy not grab the focus
...
closes PR 10380
2011-04-18 10:31:57 -05:00
Robby Findler
7b4e673081
adjust drracket's value printer to specially treat 2htdp/image images.
...
related to PR 11849
2011-04-14 15:26:43 -05:00
Robby Findler
e928bd840c
Two improvements to the mrlib/graph library and the module browser:
...
- improved the drawing speed in mrlib's graph pasteboard
by caching the background arrows (optionally; only turned
on for the module browser. in redex, this probably won't
speed anything up so it isn't used)
- added a search feature to the module graph to help find
dependencies; type in string and some of the graph changes
color
2011-04-06 11:35:31 -05:00
Robby Findler
5522c72ecb
Rackety
2011-04-02 13:36:33 -05:00
Robby Findler
362f7392ed
fixed add-parent bug
2011-04-02 13:36:31 -05:00
Robby Findler
e8eea05afc
rewrote uses of mzlib/contract into racket/contract
...
(and other minor rackety when the occasion arose)
2011-03-31 18:21:11 -05:00
Robby Findler
7378c2e42f
added cdot
2011-03-10 09:18:00 -06:00
David Van Horn
760a58b65d
Fixes more spelling errors.
2011-02-04 19:44:13 -07:00
David Van Horn
c9519fd113
Fixed various spelling errors.
2011-02-03 17:42:33 -05:00
Robby Findler
65579793af
added get-button-label method to switchable-button%
2011-01-13 20:11:52 -06:00
Matthew Flatt
a28ead9464
fix some switchable-button tooltip problems
2011-01-10 12:26:24 -07:00
Robby Findler
66f6f04c1e
improve the drawing of the menu popup when it is yellow and the mouse is over it
2011-01-08 14:29:36 -06:00
Robby Findler
670d58d134
added un/cache-image, a function that enables/disables the drawing cache in 2htdp/image images
2011-01-06 14:24:01 -06:00
Robby Findler
dd9e8c530b
fix the use of draw-caret in 2htdp/image
2011-01-03 20:54:07 -06:00
Matthew Flatt
cf344b9926
fix dimensions of cached image bitmap
2011-01-03 19:13:56 -07:00
Robby Findler
30f9c4338f
make sure make-bitmap gets exacts as args
2011-01-03 19:56:37 -06:00
Robby Findler
ac52a63d4a
cache drawing in 2htdp/image snip's draw method
2011-01-03 15:06:41 -06:00
Robby Findler
d886df2acc
2htdp/image: when selected, draw with some transparency so the selection is visible
2011-01-03 14:42:57 -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
830c797ee4
use pen's alpha color stuff in 2htdp/image
2010-12-31 10:25:01 -06:00
Robby Findler
1d89cfc9d7
2htdp/image fix bitmap scaling to respect alpha channels
2010-12-28 19:08:11 -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
8bb2543b34
bring this code in the modern world
...
(I think the use of bitmaps is the right one here, but this code doesn't actually work, pending PR 11566)
2010-12-25 07:48:25 -06:00
Robby Findler
e896360dcf
take advantage of new equal<%> and snip% setup to make image-snip%s equal to 2htdp/image images (when appropriate)
2010-12-24 06:34:43 -06:00
Matthew Flatt
e5175c5b38
fix bug that affects the DrRacket language dialog
...
when switching to he choose-a-language radio button
when the selected language is under a closed section
2010-12-23 07:15:36 -06:00
Matthew Flatt
b07f57fc73
fix problems with canvas refresh, especially win32
2010-12-17 14:43:14 -07:00
Sam Tobin-Hochstadt
fb76a887d8
Refactor to create `racket/snip' collection.
2010-12-17 12:32:26 -05:00
Sam Tobin-Hochstadt
8a8a8dbe4b
Separate snip% from the gui
2010-12-17 12:32:26 -05:00
Sam Tobin-Hochstadt
13cae20838
Fixes for PNG conversion, and make `image-snip%' convertible.
2010-12-17 12:32:25 -05:00
Sam Tobin-Hochstadt
d92ce41a6f
Make 2htdp/image produce png-convertible results.
2010-12-17 12:32:25 -05:00
Robby Findler
52092eeb80
remove sillyness
2010-12-17 10:02:35 -06:00