Robby Findler
4fe47c78de
2htdp/image fix bitmap scaling to respect alpha channels
...
original commit: 1d89cfc9d7a236bb5c2f2516d71bc8eb204d7203
2010-12-28 19:08:11 -06:00
Robby Findler
6d348a2114
change the way scrolling works so that canvases that are 'primary-owner's are respected when calling scroll-to on an admin
...
This change may also affect other attempts to scroll, however, so watch for strange scrollings when multiple editor-canvaess are displaying the same text% object.
closes PR 10853
original commit: 5eec85a5a259ce2c461f3fce2eed1f5a017cb8c5
2010-12-28 16:37:13 -06:00
Matthew Flatt
243761a92e
gtk: combo-field% fixes
...
Closes PR 11569
original commit: 5ea0c93e0f8b26c9febcb49b274d39fd926306e0
2010-12-28 14:58:22 -07:00
Matthew Flatt
7d68b521f1
add show-without-yield' to
dialog%'
...
original commit: 8ac21c745fb183ec35077b5870c1e11464f81bef
2010-12-28 10:52:17 -07:00
Matthew Flatt
10283eb477
adjust password dots again
...
original commit: 2e8f7716616a632d221ac1e19e352fc9594be0f6
2010-12-28 10:52:17 -07:00
Robby Findler
e53c285799
framework: sometimes put the text completion menu above the line instead of below it
...
closes PR 10829
original commit: 4e40efaf37fc3ce255e2f8e5760df54c75535ae6
2010-12-28 07:33:26 -06:00
Robby Findler
6f3d72755e
Rackety
...
original commit: f849f25272debb3372b1ceea676f455f5ea3310e
2010-12-28 07:33:24 -06:00
Matthew Flatt
c71371250e
win32: fix EndPaint to avoid GDI leak
...
original commit: b701d309f193f65913b759ec033ad1e9d522c84f
2010-12-28 06:21:58 -07:00
Matthew Flatt
7e6d945a73
win32: fix `focus' return value
...
original commit: 7b5d948d33dfda714a6fb45d2111a5e906f6dc7d
2010-12-28 05:30:58 -07:00
Matthew Flatt
1a4cac221e
implement get-focus-window' and
get-edit-target-window' in back end to avoid relying on `on-focus' callback handling
...
original commit: 68e477fd526b7d74413b63c84d6eddfb7bec5ff9
2010-12-28 05:25:26 -07:00
Robby Findler
c36dd1fdfd
2htdp/image: use erase instead of clear to zero out a bitmap
...
original commit: 54c337e5d3860fa7333fae79a8d3fa39366c1873
2010-12-27 21:51:16 -06:00
Robby Findler
f9c8cb6676
generalize the color structs to have an alpha field and then use that in the bitmap conversion functions
...
original commit: 835f7753dcb98d508d86c653dd6fc2d7c3f21b1e
2010-12-27 21:51:14 -06:00
Matthew Flatt
441b6f6dfd
add missing test case for premultiply-alpha fix
...
original commit: 0b1f1a4f4ef3a7be224343f4cbac55e3aa728fc2
2010-12-27 19:34:59 -07:00
Matthew Flatt
3165708bd0
prevent dc<%> state contamination among transparent canvases
...
original commit: 719df98d8368b17cb4a2a2e2a3ac03622e806e7c
2010-12-27 17:43:36 -07:00
Matthew Flatt
53407477a4
improve password-mode dots for text-field%
...
original commit: 958c1415080e640826b6a16d7b6d3c2d4ebb4b8a
2010-12-27 15:22:53 -07:00
Matthew Flatt
1e42ef1963
win32: minor repair to single-instance check
...
original commit: 0ef5a01c9b2fa6bfccd20bdd58eca5e31cfe1ecc
2010-12-26 09:35:22 -07:00
Robby Findler
56a304d3a5
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)
original commit: 8bb2543b3403e98644aad2da032f8855055333f2
2010-12-25 07:48:25 -06:00
Matthew Flatt
399739686d
clean up pre-drawing of canvases for a frame to show
...
original commit: a3adf07fd256f765153836a22081f6d1d98a5f8f
2010-12-24 20:09:16 -06:00
Matthew Flatt
c09104777e
cocoa: don't disable flushes on a window that isn't shown
...
because that doesn't seem to work
Closes PR 11565
original commit: bb96973c4a4053a47a395c1f4fb61e722ce4f20b
2010-12-24 18:22:59 -06:00
Matthew Flatt
57cb03ba6e
cocoa: fix problems with no-frame root menu
...
on-demand callback and original installation
original commit: 21ca120c8c496f222a71160c499df214efe46001
2010-12-24 17:48:13 -06:00
Robby Findler
03e92ae833
inserted a coercion string->path
...
(there is one on the line above so this is probably the right thing)
closes PR 11563
original commit: 8903de5a123dff1b2d461389dc6c9d0a2de8c316
2010-12-24 15:58:21 -06:00
Robby Findler
eb1177d953
Rackety
...
original commit: 7ac268e4dab746bdc7c153c5e8b124ac8ee416e1
2010-12-24 06:34:45 -06:00
Robby Findler
5a6f74a959
take advantage of new equal<%> and snip% setup to make image-snip%s equal to 2htdp/image images (when appropriate)
...
original commit: e896360dcfdedbab5d231c41cb9c697622edd153
2010-12-24 06:34:43 -06:00
Robby Findler
069cfb2d19
changed the way equal<%> and snip% interact. Specifically:
...
- snip% now implements equal<%>
its equal-to? delegates to other-equal-to?.
- snip%'s other-equal-to and equal-hash-code and
equal-secondary-hash-code all just amount to using eq?. The
setup is here just to make snip% be the one that declares
that it implements equal<%> so that various snips can adjust
other-equal-to? (and the hash code methods)
- image-snip% no longer implements equal<%>
(but it extends snip% and it overrides other-equal-to?
and the hash-code methods to do what they always did)
original commit: 2f009ca529fcbe4ebe496379a5403cbcf1a0cd14
2010-12-24 06:34:42 -06:00
Matthew Flatt
5198977f05
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
original commit: e5175c5b38c1c1e45c57bbc9f1080fc9e3ac2af7
2010-12-23 07:15:36 -06:00
Matthew Flatt
563e8b3051
gtk: clipboard fix
...
Closes PR 11552
original commit: 94e6d8f3994e650e00992ca480cff8a0750ec41b
2010-12-22 19:40:37 -07:00
Matthew Flatt
46b8678ec5
fix more try-atomic problems
...
original commit: 78b2e47541bcbb591c7a18df9b9292e47e58923c
2010-12-21 18:45:36 -07:00
Robby Findler
4dc7f21694
added a 'fast path' check that speeds up the coloring phrase of check syntax by 3x on drracket/private/rep.rkt under windows
...
(thank you Eli's profiler!)
original commit: 4c796a6445ccb8504ef51f3144745bc21cde19ea
2010-12-20 12:22:46 -06:00
Matthew Flatt
46dd49b4cc
adjust racket/snip docs
...
original commit: 43b96fe47ca386757a28e491e02cac7601b6813a
2010-12-20 08:04:11 -07:00
Sam Tobin-Hochstadt
0b863947e6
Fix send to the wrong administrator.
...
Bug found by tests/gracket/wxme-random.
original commit: abf2215de7e5d897534cc117573ed164a0dd2ee0
2010-12-19 22:56:15 -05:00
Sam Tobin-Hochstadt
70c7476a38
Move mred/private/wxme/style to racket/snip/private/style.
...
`racket/snip' now exports the style classes and the add,mult-color interfaces.
original commit: 491eeaa75940ececb9f1820a940a3d9547c80f1e
2010-12-19 22:56:15 -05:00
Matthew Flatt
ec70e25288
cocoa: fix interaction of combo-field% popup and canvas refresh
...
and also reduce work on redundant show/hide of canvas
Closes PR 11557
original commit: 975c2400a1e994f48938b61dd26aa61738dcda37
2010-12-19 18:58:27 -07:00
Matthew Flatt
20bda40fff
make editor caret adapt to background color
...
original commit: c259d0839aa72beda91f7435eac5e500686b4237
2010-12-18 07:22:40 -07:00
Sam Tobin-Hochstadt
59635d59f6
Split mred/private/wxme/private into two files.
...
original commit: 70955d55403f6231c22fcfca3767979e25627423
2010-12-18 00:10:26 -05:00
Sam Tobin-Hochstadt
031ee2a05a
Move load-one to racket/snip.
...
Create private directory for racket/snip.
Remove snip dependence on events.
original commit: cf3aec6b950fdea1eb970ff329de54d488c15bac
2010-12-18 00:10:26 -05:00
Sam Tobin-Hochstadt
3908571fbb
Fix test require.
...
original commit: e9e45fdc2ccb8e50ee819a61083c4bc0aec4ed19
2010-12-18 00:10:25 -05:00
Matthew Flatt
bbc7568e39
fix problems with canvas refresh, especially win32
...
original commit: b07f57fc730666042d895e44d56f7e1b2a80c62f
2010-12-17 14:43:14 -07:00
Matthew Flatt
9207f225d4
fix transparent-canvas detection
...
original commit: 0c4d2e332c185da7832ddb394b4bdccd67d57ae2
2010-12-17 10:46:06 -07:00
Sam Tobin-Hochstadt
14e29910a6
Reorganize editor and snip documentation to break out `racket/snip'
...
original commit: f4571cb39ac16a9bab33ea8a4a063e95dee1abc8
2010-12-17 12:32:27 -05:00
Sam Tobin-Hochstadt
859b114198
Move readable-snip<%>' to
racket/snip'
...
Reprovide `racket/snip' rather than propagating it in `mred/mred'
original commit: f7559b8269d3d48decf26179151f40f1331244ef
2010-12-17 12:32:27 -05:00
Sam Tobin-Hochstadt
9c6b835229
Document new methods of `snip-admin%'.
...
original commit: de63b793005200bb66a4283c0b6d5a43ccb563e3
2010-12-17 12:32:27 -05:00
Sam Tobin-Hochstadt
7828941338
Refactor to create `racket/snip' collection.
...
original commit: fb76a887d82ac613af2f02049e2edf9cdd8fd83f
2010-12-17 12:32:26 -05:00
Sam Tobin-Hochstadt
6085753209
Separate snip% from the gui
...
original commit: 8a8a8dbe4ba0eb9ece3ca7dabe0e278de64e467e
2010-12-17 12:32:26 -05:00
Sam Tobin-Hochstadt
c14577558e
Move symbol predicates to their own file.
...
original commit: 398add4e29e047f5e9570223b0fa047293f7554b
2010-12-17 12:32:26 -05:00
Sam Tobin-Hochstadt
95fd314cad
Fixes for PNG conversion, and make `image-snip%' convertible.
...
original commit: 13cae20838e8d7a6de1fff3c242fb8d85fca22cb
2010-12-17 12:32:25 -05:00
Sam Tobin-Hochstadt
942143113a
Make 2htdp/image produce png-convertible results.
...
original commit: d92ce41a6f00c9219cd8213ca2df39907d6c8236
2010-12-17 12:32:25 -05:00
Matthew Flatt
f636975684
win32: fix transparent-canvas support
...
original commit: fc4165ec4018ae89f6304d9648977384ee8988a2
2010-12-17 09:33:11 -07:00
Matthew Flatt
c04212f538
specially record transparent-canvas drawing for a small number of drawing ops
...
which enables background-sensitive smoothing of text
original commit: f700a15d854b9154bba5518a5c3e1c2367508b52
2010-12-17 09:27:10 -07:00
Robby Findler
fd46124286
generalize gui-utils:ok/cancel-buttons so that the ok button doesn't have to have the '(border) style
...
original commit: 6ee34f1e8816af62b53ef8eebfc9a85aead50b2b
2010-12-17 10:02:46 -06:00
Robby Findler
fc3cb61653
remove sillyness
...
original commit: 52092eeb803ad9a542bc383a0143d6c31c59d658
2010-12-17 10:02:35 -06:00