Commit Graph

274 Commits

Author SHA1 Message Date
Matthew Flatt
d6fc7da750 add refresh-now' to canvas%'
--- this method doesn't have to be built in, but it
     encapsulates a common and not-too-obvious pattern
2011-01-07 14:19:35 -07:00
Matthew Flatt
a5660f38eb document weak reference by `notify-on-change' 2011-01-07 13:02:11 -07:00
Matthew Flatt
be6ba896e0 repairs for line numbers in DrRacket 2011-01-07 11:57:50 -07:00
Matthew Flatt
4f56618c6d improve canvas-drawing docs 2011-01-06 07:43:26 -07:00
Matthew Flatt
81cbf1ae1f add get-client-handle' to window<%>' 2011-01-05 12:15:37 -07:00
Matthew Flatt
b0d95708bf fix docs on get-handle' from window<%>' 2011-01-05 08:50:21 -07:00
Matthew Flatt
b0095111d4 restore and document scrolling behavior
Closes PR 11583, and
 everts the previous fix for PR 10853 and fixes
  it in a different way
2011-01-05 07:02:00 -07:00
Asumu Takikawa
ed114c0750 Fix documentation to match editor<%>, text%, and pasteboard% changes. 2011-01-04 13:04:28 -05:00
Matthew Flatt
241bb79cb0 allow a button% to have both a string and a bitmap for its label 2011-01-01 13:54:45 -07:00
Matthew Flatt
eddae6749d clean up handling of not-ok?', bitmap-dc%'-selected, and mutated bitmaps 2010-12-30 08:35:56 -07:00
Matthew Flatt
d3fd1ba013 add `set-padding' to text% 2010-12-29 13:42:58 -07:00
Matthew Flatt
8ac21c745f add show-without-yield' to dialog%' 2010-12-28 10:52:17 -07:00
Robby Findler
7ac268e4da Rackety 2010-12-24 06:34:45 -06:00
Robby Findler
2f009ca529 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)
2010-12-24 06:34:42 -06:00
Matthew Flatt
43b96fe47c adjust racket/snip docs 2010-12-20 08:04:11 -07:00
Sam Tobin-Hochstadt
491eeaa759 Move mred/private/wxme/style to racket/snip/private/style.
`racket/snip' now exports the style classes and the add,mult-color interfaces.
2010-12-19 22:56:15 -05:00
Sam Tobin-Hochstadt
f4571cb39a Reorganize editor and snip documentation to break out `racket/snip' 2010-12-17 12:32:27 -05:00
Sam Tobin-Hochstadt
de63b79300 Document new methods of `snip-admin%'. 2010-12-17 12:32:27 -05:00
Matthew Flatt
f700a15d85 specially record transparent-canvas drawing for a small number of drawing ops
which enables background-sensitive smoothing of text
2010-12-17 09:27:10 -07:00
Matthew Flatt
cad500d802 fix problems with image-snip%, masks or alpha channels, and saving
and also generalize image-snip% to accept input port instead
 of filenames, and avoid temporary files for loading and saving images
2010-12-14 21:11:10 -07:00
Robby Findler
4881bc33f4 open-input-text-editor: beef up the protection that the lock-while-reading? argument provides 2010-12-14 19:14:26 -06:00
Robby Findler
8101c03d30 added a note about how label-string? is used. 2010-12-12 15:26:54 -06:00
Matthew Flatt
42dc83bbcd fix docs for `get-panel-background' 2010-12-01 15:57:54 -07:00
Matthew Flatt
dedb207a86 fix draw-bitmap result to match docs 2010-12-01 15:48:55 -07:00
Matthew Flatt
f88735ef20 fix typo 2010-11-28 08:01:06 -07:00
Matthew Flatt
68391fe2ea reorganize racket/gui docs and expand canvas-drawing overview 2010-11-27 20:05:20 -07:00
Matthew Flatt
8b3165d55b move racket/draw overview to the Guide and expand it
--- plus some minor collateral API improvements
2010-11-27 16:34:32 -07:00
Matthew Flatt
430d45b471 doc correction
Closes PR 11465
2010-11-27 08:28:57 -07:00
Matthew Flatt
820e832853 add 'close-button style to dialog%; fix cocoa default frame placement 2010-11-25 08:03:33 -07:00
Matthew Flatt
e402d68efc fix `find-graphical-system-path' 2010-11-07 07:08:33 -07:00
Matthew Flatt
694745e998 first cut at splitting draw and gui docs 2010-11-05 21:57:13 -06:00
Matthew Flatt
39596efef5 cocoa and gtk: fix combo% `on-popup' method 2010-11-05 15:54:56 -06:00
Matthew Flatt
b9f3957a76 gtk and cocoa: add flush method to canvas% and fix periodic flush 2010-11-05 15:54:55 -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
d7f1d12ea1 clean up 2010-11-05 15:54:49 -06:00
Matthew Flatt
a7426c1c27 cocoa: fix startup -psn_ and file handling 2010-11-05 15:54:46 -06:00
Matthew Flatt
881c182956 editor insert-image uses alpha by default 2010-11-05 15:54:44 -06:00
Matthew Flatt
674d2e5248 fix save-file and get-argb-pixels for screen bitmaps 2010-11-05 15:54:43 -06:00
Matthew Flatt
16b34c236a gtk: misc fixes 2010-11-05 15:54:41 -06:00
Matthew Flatt
0a47a81aba `make-gl-bitmap' for cocoa and maybe gtk 2010-11-05 15:54:38 -06:00
Matthew Flatt
1bddb120f9 cocoa: opengl canvases 2010-11-05 15:54:37 -06:00
Matthew Flatt
1dd3c8accb gtk: try fullscreen 2010-11-05 15:54:32 -06:00
Matthew Flatt
6b606cb4e2 canvas scroll and gauge range limit to 1000000 2010-11-05 15:54:30 -06:00
Matthew Flatt
5ebfa781bd screen dc corrections and clarifications 2010-11-05 15:54:27 -06:00
Matthew Flatt
51aacfe949 add make-screen-bitmap and canvas% make-bitmap; specialize for X11 2010-11-05 15:54:26 -06:00
Matthew Flatt
bff39a1832 fix gtk collecting blit to revert immediately when gc ends 2010-11-05 15:54:26 -06:00
Matthew Flatt
4bd84adb3a add dc<%> copy method; speed text drawing a little and implement but disable editor scrolling with dc<%> copy 2010-11-05 15:54:25 -06:00
Matthew Flatt
79728fad59 update docs for `register-collecting-blit' 2010-11-05 15:54:24 -06:00
Matthew Flatt
8da4bbd52d fix key-event problem and implement mouse wheel for Cocoa 2010-11-05 15:54:23 -06:00
Matthew Flatt
ae05eddf14 generalize editor selection mechanism to support Windows style 2010-11-05 15:54:19 -06:00
Matthew Flatt
16f15b0cad postscript-dc% interactive and landscape 2010-11-05 15:54:10 -06:00
Matthew Flatt
c42d95216e auto-scroll canvases and frame status lines 2010-11-05 15:54:10 -06:00
Matthew Flatt
06a47a3c54 get-transformation, etc. methods on dc<%> 2010-11-05 15:54:09 -06:00
Matthew Flatt
2631853a28 notes and docs 2010-11-05 15:54:09 -06:00
Matthew Flatt
e0a2a66dc8 fix region bounding-box and hit-test; catch up docs 2010-11-05 15:54:08 -06:00
Matthew Flatt
af4ccd2de1 fix bitmap-related docs 2010-11-05 15:54:08 -06:00
Matthew Flatt
4134b06b4c bitmap and dc docs up to date 2010-11-05 15:54:05 -06:00
Robby Findler
a021403679 tightened the contract on read-snip 2010-10-28 11:32:14 -05:00
Robby Findler
3e9858b001 added an argument to open-input-text-editor so that it can lock (and unlock) the editor when editing would not be allowed. 2010-10-13 15:55:17 -05:00
John Clements
e94163f37a it's -> its 2010-10-05 21:09:17 -07:00
Matthew Flatt
aac7e0b58a extend invalidate-bitmap-cache' in editor<%>' with 'display-end option
which the framework's background-rectangle implementation can use
 to queue refreshes for changing rectangles, instead of requiring a
 full-canvas refresh
2010-09-19 19:22:22 -06:00
Matthew Flatt
fd285baeac fix documented canvas-scroll limits 2010-09-18 19:52:40 -06:00
Matthew Flatt
c8762ae877 add methods to text-field% to control the background color 2010-08-03 12:34:16 -06:00
Matthew Flatt
78751b982a fix doc typo 2010-07-29 06:56:30 -05:00
Matthew Flatt
fa68e23c37 add pen and cap support to pen-list% 2010-07-21 15:50:22 -06:00
Matthew Flatt
7a7f545046 doc corrections and clarifications 2010-06-30 10:40:02 -06:00
Matthew Flatt
dc98077ca4 add 'handles-all-mouse-events snip% flag 2010-06-26 13:53:31 -06:00
Matthew Flatt
1712dfb7f5 fix make-gui-namespace from scheme/gui/base and racket/gui/base
so that the namespace starts with scheme/base or racket/base
 respectively
2010-06-07 20:06:51 -04:00
Sam Tobin-Hochstadt
dfb4916f10 Fix more references to Scheme. 2010-06-04 16:40:00 -04:00
Sam Tobin-Hochstadt
43b9917484 Fix references to Scheme. 2010-06-04 15:40:08 -04:00
David Van Horn
22e2f3061f Various typo, spelling, and punctuation fixes in scribblings.
Signed-off-by: David Van Horn <dvanhorn@ccs.neu.edu>
2010-05-28 14:47:54 -06:00
Eli Barzilay
c4f67b3e74 Small typos, some reformatting.
Fixes PR10920
2010-05-21 16:30:16 -04:00
Eli Barzilay
7f6efdc8be A lot of "MrEd" -> "GRacket"s. 2010-05-16 23:46:05 -04:00
Eli Barzilay
2d9601089d A lot of "MzScheme" -> "Racket"s. 2010-05-16 18:26:26 -04:00
Matthew Flatt
c023c460bc misc racket renamings 2010-05-07 11:03:02 -06:00
Matthew Flatt
f643c7aa4b add section to Scheme compatibility manual on old executables 2010-05-05 10:06:56 -06:00
Matthew Flatt
26a92b1cfe rackety racket/gui doc 2010-05-02 11:29:45 -06:00
Matthew Flatt
28b4043077 rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
Matthew Flatt
c7e723eef7 somewhat rackety core docs 2010-04-22 15:10:25 -06:00
Stevie Strickland
664cfa2e31 Given the other uses of #:mode public-final in this file, I assume that the
quote was a mistake.

svn: r18717
2010-04-02 00:15:24 +00:00
Matthew Flatt
fb37601b55 bug fixes from random testing
svn: r18602
2010-03-23 01:49:08 +00:00
Casey Klein
854a902cbd Fixed bugs found with random testing
svn: r18581
2010-03-19 11:39:02 +00:00
Robby Findler
c1640d005f svn: r18506 2010-03-10 12:51:20 +00:00
Robby Findler
9c88dc49b2 minor cleanup to make parsing the docs easier
svn: r18483
2010-03-06 14:08:25 +00:00
Robby Findler
3bcea5bbe0 made another method final
svn: r18482
2010-03-06 12:54:30 +00:00
Robby Findler
7c3025ecde fixed some more bugs found by random testing
svn: r18478
2010-03-06 01:35:19 +00:00
Robby Findler
0d8fbe6d06 made the docs match the implementation
svn: r18468
2010-03-04 19:31:03 +00:00
Robby Findler
2cfd1f423c removed unimplemented stuff
svn: r18467
2010-03-04 17:19:34 +00:00
Robby Findler
6d4a546ca8 tightened up the contract in the docs for key-event%s methods so they limit the symbols to just the legal ones
svn: r18466
2010-03-04 17:14:59 +00:00
Casey Klein
ff0eb1757a Fixed bugs found with random testing.
svn: r18465
2010-03-04 16:37:12 +00:00
Robby Findler
6fc4add369 corrected a bug in the docs
svn: r18453
2010-03-03 21:15:13 +00:00
Robby Findler
16b60586a5 used exact-integer? instead of (and/c exact? integer?)
svn: r18449
2010-03-03 17:41:44 +00:00
Robby Findler
a02520d692 tightened up inserts contract
svn: r18446
2010-03-03 16:42:45 +00:00
Robby Findler
f39e8ebe0c exported and documented label-string?
svn: r18335
2010-02-25 13:03:38 +00:00
Robby Findler
71b4df4a29 removed some more one-of/c's in favor of or/c
svn: r18247
2010-02-21 02:29:12 +00:00
Robby Findler
5ad04e3b2c changed some defconstructor/make's into defconstructor's
svn: r18244
2010-02-21 02:06:28 +00:00
Robby Findler
94880b4733 changed some one-of/c's to or/c's
svn: r18185
2010-02-19 15:03:12 +00:00
Matthew Flatt
09ef762e3f add accept-tab-focus to editor-canvas%
svn: r17929
2010-02-01 19:30:59 +00:00
Matthew Flatt
a09e671f34 allow radio-box% to have no selected buttons
svn: r17865
2010-01-28 17:51:30 +00:00
Eli Barzilay
f8c78cb752 typo (PR10722)
svn: r17859
2010-01-28 01:30:55 +00:00