Commit Graph

2232 Commits

Author SHA1 Message Date
Matthew Flatt
553723627c gradients: refine checking and docs to fit various conventions 2011-01-04 12:44:36 -07:00
Kevin Tew
b88ff89837 racket/draw gradient support 2011-01-04 11:37:06 -07:00
Asumu Takikawa
ed114c0750 Fix documentation to match editor<%>, text%, and pasteboard% changes. 2011-01-04 13:04:28 -05:00
Matthew Flatt
3bb120545f fix ~300 typos reported by Vladimir Nesterovich (a.k.a. Gwyth)
--- but Gwyth's amazingly helpful review of chapters 1-11
     pointed out a few problems that are more difficult to fix
     and are still pending
2011-01-04 09:53:31 -07:00
Matthew Flatt
6a34dce36d style guide: use v' for "any value" (as opposed to x') 2011-01-04 09:52:14 -07: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
John Clements
c7f1211c99 argmin/argmax empty list comment 2011-01-01 08:19:46 -08:00
Matthew Flatt
856df5e113 doc correction 2010-12-31 14:41:37 -07:00
Matthew Flatt
55693e090f add port-try-file-lock?' and port-file-unlock' 2010-12-31 14:40:27 -07:00
Matthew Flatt
1e3b2ee9ee doc typo
Closes PR 11582
2010-12-31 14:40:27 -07:00
Eli Barzilay
1f49e35b21 2010 -> 2011 2010-12-31 15:59:39 -05:00
Matthew Flatt
aa4a0faab4 doc typo 2010-12-31 09:41:30 -07:00
Robby Findler
b3a1d7860a added default value for alpha in color% 2010-12-31 09:58:50 -06:00
Matthew Flatt
b0e07bde60 doc correction related to embedding in 64-bit Windows 2010-12-31 07:42:41 -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
8c7f829205 add make-font' to racket/draw' 2010-12-30 07:05:25 -07:00
Matthew Flatt
a974dad8bf add alpha value to `color%' 2010-12-30 07:05:25 -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
0a3c70db91 added note committing teaching language metadata to always being three lines 2010-12-25 15:52:46 -06:00
Robby Findler
519eb580b2 typo 2010-12-24 13:36:31 -06: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
93b2046b75 fix doc typo 2010-12-22 21:00:08 -06:00
Matthew Flatt
43b96fe47c adjust racket/snip docs 2010-12-20 08:04:11 -07:00
Robby Findler
bf53fd5c38 adjust the auto-text behavior of DrRacket so that it doesn't require the
queue-callback / execute callback dance; also, change the behavior
  a little bit so that it works a little bit more like the rest of the
  DrRacket languages; in particular, the initialization of the REPL
  now only happens when a window is first opened or a new tab is first
  created, but not at other times (ie not when the language changes;
  when the language changes, we just keep the REPL state the same and
  show a warning like before)

This change also required a change to the way the repl is initialized
and a slight change to the behavior of the first-opened method. Specifically,
it is now called in a slightly better context so that errors that
happen look like errors in the user's program. The only other use of
the first-opened method in the tree was to initialize the teachpacks
in the teaching languages and this new behavior is also an improvement
there.
2010-12-20 08:43:34 -06:00
Robby Findler
dfe6e37ffd removed mention of PLTDRTEST (it was already gone from the implementation) 2010-12-20 08:43:26 -06: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
Sam Tobin-Hochstadt
bb7307883a Fix doc typo. 2010-12-17 12:32:26 -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
8681e73278 set `dc-for-text-size' default to a bitmap DC (instead of #f) 2010-12-17 07:16:54 -07:00
Matthew Flatt
d2fb0b8f7d further `draw-bitmap' doc improvements 2010-12-16 21:20:13 -07:00
Matthew Flatt
6f114b318b correct draw-bitmap docs 2010-12-16 20:41:54 -07:00
Matthew Flatt
37682242e5 docs: clarify effect of mask-bitmap alphas channel in dc<%> draw-bitmap 2010-12-16 19:36:13 -07:00
Robby Findler
ede60de584 Make it so that DrRacket deletes .zo files when the corresponding source file isn't present anymore
(when in the DrRAcket-compiles-my-zo-files mode)
2010-12-16 16:12:54 -06:00
Matthew Flatt
234a57506f document some modules that are referenced in other documentation 2010-12-15 13:41:59 -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
Matthew Flatt
7f5ac2b7f9 restore Win64 fix to FFI
that I had improperly added to "foreign.c" instead of the source
2010-12-14 07:53:19 -07:00
Matthew Flatt
78b54a7324 more Scribble "---" doc fixes 2010-12-14 07:45:15 -07:00
Matthew Flatt
0b1b3772f5 change Scribble HTML renderer to typeset em dashes with &8212;
Closes PR 11049
 Closes PR 11539
2010-12-14 06:48:25 -07:00
Sam Tobin-Hochstadt
dae1543255 Fix local file reference to water.png image. 2010-12-13 14:37:08 -05:00
Noel Welsh
8040100eff Merge branch 'master' of pltgit:plt into in-vector 2010-12-13 13:43:05 +00:00
Noel Welsh
cfa7b727f4 Fix some errors with in-vector and derived forms:
- Range checking was inconsistent between the sequence and macro forms
- The macro form could crash due to unsafe vector refs

Fixes involved refactoring the range checks so they are shared between both versions, and changing the contract slightly so start and stop are checked before the sequence runs. This allows unsafe vector refs and earlier error notifications at the cost making some valid programs (e.g. those using some condition to stop a comprehension hitting an invalid index) now be invalid. Only crazy people would rely on the old behaviour, so it isn't a problem in practice.
2010-12-13 13:38:35 +00:00
Robby Findler
8101c03d30 added a note about how label-string? is used. 2010-12-12 15:26:54 -06:00
Eli Barzilay
c65a2ba9ab Add a noise flag indicator to `enter!'. 2010-12-12 13:10:07 -05:00
Matthew Flatt
2b4f1a6908 extend `sync/timeout' to allow a tail-position fail thunk for polling 2010-12-10 18:06:21 -07:00
Matthew Flatt
948dfe9cf0 `sync/timeout' doc clarification 2010-12-10 13:41:05 -07:00