Commit Graph

19664 Commits

Author SHA1 Message Date
Robby Findler
3dc5bbd0eb moved interactive panel test into its own file 2010-12-31 09:58:53 -06:00
Robby Findler
900d74714e fixed up panel:dragable so that it actually does the right thing now
adjusted the framework test suite so that it runs under windows
closes PR 10880
2010-12-31 09:58:51 -06:00
Robby Findler
b3a1d7860a added default value for alpha in color% 2010-12-31 09:58:50 -06:00
Matthew Flatt
c7977441e4 win32: fix problem with focus directly on a frame 2010-12-31 08:31:36 -07:00
Matthew Flatt
b0e07bde60 doc correction related to embedding in 64-bit Windows 2010-12-31 07:42:41 -07:00
Matthew Flatt
e094cf4e51 win64: fix external reference to thread-locals 2010-12-31 07:42:40 -07:00
Robby Findler
b2a297afaf framework: change status line so they never contribute to the minimum width of the frame
related to PR 10880
2010-12-30 21:27:11 -06:00
Matthew Flatt
cdf38a259b fix dist specs 2010-12-30 20:19:47 -07:00
Matthew Flatt
42794ee337 rollback win32 transaction experiment 2010-12-30 17:31:05 -07:00
Matthew Flatt
4b1ead5bfe win64: stubs for stack-unwind support 2010-12-30 10:48:15 -07:00
Matthew Flatt
678bfa7fca win32: fix transaction creation 2010-12-30 10:43:52 -07:00
Matthew Flatt
05046c07a8 win32: implement 'rename-file-or-directory' with transactions, if available 2010-12-30 09:30:28 -07:00
Matthew Flatt
bfa2a57b01 win32: get roots on demand for file dialog 2010-12-30 09:30:27 -07:00
Stephen Bloch
8e655dee8e Removed installed-teachpack reference from map-image test suite. Added to rotating-triangle test case. 2010-12-30 11:02:04 -05:00
Stephen Bloch
f13883194d Merge branch 'master' of pltgit:plt 2010-12-30 10:56:13 -05:00
Matthew Flatt
eddae6749d clean up handling of not-ok?', bitmap-dc%'-selected, and mutated bitmaps 2010-12-30 08:35:56 -07:00
Stephen Bloch
f3352794d8 Minor tweaks to documentation and rotating-triangle test. 2010-12-30 10:29:12 -05:00
Matthew Flatt
a736dcf6bf fix `{g,s}et-argb-pixels' bytes-length test 2010-12-30 07:40:42 -07:00
Matthew Flatt
7069a267a6 fix path to "picturing-programs" doc source 2010-12-30 07:12:08 -07:00
Matthew Flatt
e6fd028ae1 avoid compiling "picturing-programs/tests"
because there are references to "installed-teachpacks"
2010-12-30 07:08:54 -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
Stephen Bloch
6fec1bcaf9 Renamed a picturing-programs doc file to follow naming conventions. 2010-12-30 08:25:47 -05:00
Stephen Bloch
ebb0def6dd Added teachpack/picturing-programs.rkt. This and previous 5 commits have to
do with installing picturing-programs into the standard bundle.
2010-12-30 08:05:57 -05:00
Stephen Bloch
9fb54f1ae9 Added rotating-triangle test. 2010-12-30 07:46:43 -05:00
Stephen Bloch
4bce35f0a4 Changes to documentation and require/provide lines to get "raco setup" to
work smoothly.  Deleted compiled code and backup files, as well as tests
that were just copied from universe.
2010-12-30 07:46:43 -05:00
Stephen Bloch
73ef1d6c14 Added more test cases; started updating documentation. 2010-12-30 07:46:42 -05:00
Stephen Bloch
437ea70080 minor fixes 2010-12-30 07:46:42 -05:00
Stephen Bloch
fb05266ad2 Rewriting map-image to work with 5.1. Also added a bunch of test cases
to map-image-bsl-tests.rkt.
2010-12-30 07:46:42 -05:00
Robby Findler
fb25dc9a42 adjusted drracket test suites so that it is (more) careful to keep all manipulation of GUI objects (text% objects seem to have been the important one) on the drracket eventspace main thread in an effort to make the test suites more stable. 2010-12-29 20:31:40 -06:00
Matthew Flatt
45f66c3816 tweak GRacket description 2010-12-29 13:42:59 -07:00
Matthew Flatt
d3fd1ba013 add `set-padding' to text% 2010-12-29 13:42:58 -07:00
Sam Tobin-Hochstadt
98aeb91aa2 Use 'earley' benchmark to try to avoid drdr race. 2010-12-29 14:48:25 -05:00
Sam Tobin-Hochstadt
2431f8f706 Fix TR tests for new contract error messages. 2010-12-29 13:46:57 -05:00
Matthew Flatt
f57b431c2e JIT: although `values' is inlined, don't count it as "simple" 2010-12-29 10:39:37 -07:00
Matthew Flatt
fb42102c62 further performance tweaks for `get-argb-pixels' 2010-12-29 09:44:16 -07:00
Robby Findler
03ff6f3abb noticed a few uses of unsafe primitives in some code that was causing trouble yesterday,
so I refactored it a bit to speed it up by adding a  few more unsafes and lifting
computations out of the main loop. It sped up the 'time' in the program below
by slightly less than a factor of 2.

(define w 200)
(define h 200)
(define bm (make-bitmap w h))
(define bdc (make-object bitmap-dc% bm))
(send bdc set-smoothing 'aligned)
(send bdc set-text-foreground (send the-color-database find-color "blue"))
(send bdc draw-text "ab" 0 0)
(define the-bytes (make-bytes (* w h 4)))
(time
 (let loop ([n 400])
    (unless (zero? n)
         (send bm get-argb-pixels 0 0 w h the-bytes)
	      (loop (- n 1)))))
2010-12-29 09:05:49 -06:00
Robby Findler
56b27975a4 added in missing solutions (Racket and the machines it runs on
got a lot faster in the last 12 or so years. who knew!)
2010-12-29 09:05:48 -06:00
Robby Findler
edbdada36c Rackety 2010-12-29 09:05:46 -06:00
Matthew Flatt
dcbf6c5590 clean up library dependencies in "unstable" collection 2010-12-29 07:49:02 -07:00
Matthew Flatt
ffd4193e32 fix frame registration on show' when current-eventspace' is weird
(i.e., not the frame's eventspace)
 Closes PR 11573
2010-12-29 07:45:49 -07:00
Matthew Flatt
c916e99af5 reduce some memory use of `unstable' doc build
by explicitly closing evaluators
2010-12-28 20:55:32 -07:00
Matthew Flatt
80e5c6cec3 clean up 2010-12-28 20:15:30 -07:00
Matthew Flatt
dc926925aa retain eventspaces weakly 2010-12-28 20:06:57 -07:00
Matthew Flatt
0476ab4fc4 guard against bad pre-mult ARGB
Closes PR 11572
2010-12-28 20:03:56 -07:00
Robby Findler
1d89cfc9d7 2htdp/image fix bitmap scaling to respect alpha channels 2010-12-28 19:08:11 -06:00
Matthew Flatt
3b032893c1 don't JIT-inline `values' in a single-value position 2010-12-28 17:47:03 -07:00
Matthew Flatt
84a4f3f006 remove a forced GC (surely a bad idea) in the weak-hash implementation 2010-12-28 16:16:24 -07:00
Robby Findler
5eec85a5a2 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
2010-12-28 16:37:13 -06:00
Robby Findler
ae2d7c47b6 added missing call-as-primary-owner
related to PR 10853
2010-12-28 16:37:11 -06:00