Commit Graph

17712 Commits

Author SHA1 Message Date
Robby Findler
1be502ed79 fixed a bug that Eli noticed in the initial state of the language dialog 2011-01-02 10:03:23 -06:00
Robby Findler
465d5a9f75 adjust check to only insist that, when there is an editor, is it the right kind of editor. 2011-01-02 10:03:21 -06:00
Robby Findler
4f19b0d454 add a coercion so that equality is simpler for things produced by 'bitmap' 2011-01-02 06:51:36 -06:00
Robby Findler
7716851cde 2htdp/image: added support for alpha as a mode? argument 2011-01-01 20:01:50 -06:00
Matthew Flatt
19b1df6586 win32: fix bitmap+string labels for XP 2011-01-01 14:17:31 -07:00
Matthew Flatt
18ca91dc97 win32: make bitmap+string label look right in Win7 2011-01-01 13:54:45 -07:00
Matthew Flatt
a6e04695bb win32: bitmap+string button labels 2011-01-01 13:54:45 -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
Matthew Flatt
a916f1af42 win32: fix problem with bitmap labels
related to PR 11566
2011-01-01 11:33:53 -07:00
John Clements
c7f1211c99 argmin/argmax empty list comment 2011-01-01 08:19:46 -08:00
Matthew Flatt
71223e6175 win32: survive theme-access failure 2011-01-01 08:22:17 -07:00
Matthew Flatt
07c272df4a gtk: fix screen-bitmap depth selection and a spurious tab callback 2010-08-12 23:35:40 -04:00
Jon Rafkind
11494ce8b9 use padding instead of manually moving the origin 2010-12-31 19:29:34 -07:00
Robby Findler
a57666f130 set panel-single.rkt pref 2010-12-31 20:19:15 -06:00
Robby Findler
1d5031c3e6 probable fix for race condition in check syntax (exposed by test suite) 2010-12-31 20:15:55 -06:00
Robby Findler
3237be6b4e renamed the check syntax progress status-line 2010-12-31 20:15:53 -06:00
Matthew Flatt
15fa34b091 gtk: tolerate absence of a minor combo_box function 2010-08-12 19:52:37 -04: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
Matthew Flatt
5809860dd3 fix problem with text% padding 2010-12-31 14:40:27 -07:00
Casey Klein
f480d75810 Enables the randomized delimited control tests in DrDr 2010-12-31 15:34:32 -06:00
Casey Klein
03c48b67a7 Restricts the test generator's use of % within cont 2010-12-31 15:34:31 -06:00
Casey Klein
8b50aeb346 Fixes a bug in the elimination of continuation values 2010-12-31 15:34:31 -06:00
Casey Klein
a6e40bfb03 Further restricts the test generator's use of `wcm' 2010-12-31 15:34:31 -06:00
Casey Klein
579cb022bd Changes the randomized tests to watch for the first exception.
The particular exception raised is important. We don't want a later
one raised by a dynamic-wind post-thunk.
2010-12-31 15:34:31 -06:00
Casey Klein
de8b1bc101 Fixes a bug in the generation of `side-condition' patterns
The bindings supplied to `side-condition' predicates by the matcher
sometimes contain the-not-hole; the ones supplied by the generator
must be the same.
2010-12-31 15:34:31 -06:00
Robby Findler
699058d3a4 do a little bit better job keeping the manipulation of the gui state on the eventspace handler thread (in the syncheck test) 2010-12-31 15:29:23 -06:00
Eli Barzilay
3fb871586f Removed some exe bits that look redundant. 2010-12-31 15:59:39 -05:00
Eli Barzilay
1f49e35b21 2010 -> 2011 2010-12-31 15:59:39 -05:00
Eli Barzilay
e2cc0942cc Attempt to make some ignore files more robust 2010-12-31 15:59:39 -05:00
Eli Barzilay
5b2d55a336 sbloch is responsible for picturing-programs 2010-12-31 15:59:39 -05:00
Robby Findler
01fc959e63 change 2htdp/image docs so that it uses just the regular evaluation mechanism instead of the fancy dance it was doing before 2010-12-31 14:44:10 -06:00
Robby Findler
e75d6b3fae replace one inherently racecondition-prone test with two others that approximate it 2010-12-31 10:50:27 -06:00
Matthew Flatt
00124220bd fix platform-independent file dialog 2010-12-31 09:41:30 -07:00
Matthew Flatt
aa4a0faab4 doc typo 2010-12-31 09:41:30 -07:00
Robby Findler
830c797ee4 use pen's alpha color stuff in 2htdp/image 2010-12-31 10:25:01 -06:00
Robby Findler
6f9bcf0001 Rackety 2010-12-31 09:58:54 -06:00
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
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
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
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
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
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
Matthew Flatt
5ea0c93e0f gtk: combo-field% fixes
Closes PR 11569
2010-12-28 14:58:22 -07:00
Matthew Flatt
36e9e6fa20 fix locks on some racket/draw tables to work right in atomic mode 2010-12-28 12:12:53 -07:00
Matthew Flatt
8ac21c745f add show-without-yield' to dialog%' 2010-12-28 10:52:17 -07:00
Matthew Flatt
5339be7594 make language test work with cgc 2010-12-28 10:52:17 -07:00
Matthew Flatt
2e8f771661 adjust password dots again 2010-12-28 10:52:17 -07:00
Robby Findler
4e40efaf37 framework: sometimes put the text completion menu above the line instead of below it
closes PR 10829
2010-12-28 07:33:26 -06:00
Robby Findler
f849f25272 Rackety 2010-12-28 07:33:24 -06:00
Matthew Flatt
b701d309f1 win32: fix EndPaint to avoid GDI leak 2010-12-28 06:21:58 -07:00
Matthew Flatt
7b5d948d33 win32: fix `focus' return value 2010-12-28 05:30:58 -07:00
Matthew Flatt
68e477fd52 implement get-focus-window' and get-edit-target-window' in back end to avoid relying on `on-focus' callback handling 2010-12-28 05:25:26 -07: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
Matthew Flatt
0b1f1a4f4e add missing test case for premultiply-alpha fix 2010-12-27 19:34:59 -07:00
Matthew Flatt
5440edfd74 `set-argb-pixels' needs to pre-multiply alpha for a alpha-channel bitmap
Closes PR 11571
2010-12-27 19:14:22 -07:00
Matthew Flatt
719df98d83 prevent dc<%> state contamination among transparent canvases 2010-12-27 17:43:36 -07:00
Matthew Flatt
4d008e3021 fix for pre-v2.0 Objective-C 2010-12-27 16:12:36 -07:00
Matthew Flatt
705b11f2b8 a prompt-test fix like the previous one, but for post thunks 2010-12-27 15:24:33 -07:00
Matthew Flatt
958c141508 improve password-mode dots for text-field% 2010-12-27 15:22:53 -07:00
Kevin Tew
aa42f4a582 Fixed Warning output in parallel scribble build 2010-12-27 14:30:10 -07:00
Robby Findler
6fe8643194 adjust teaching languages so that print works properly 2010-12-27 09:16:09 -06:00
Robby Findler
413c0489f2 adjust arity to the global-port-print-handler so that its name is meaningful 2010-12-27 09:16:07 -06:00
Robby Findler
5828906585 tweak contact error message formatting 2010-12-27 09:16:06 -06:00
Matthew Flatt
0d3fbb11fa supress a prompt test that doesn't apply to composable continuations 2010-12-26 16:21:28 -06:00
Matthew Flatt
0ef5a01c9b win32: minor repair to single-instance check 2010-12-26 09:35:22 -07:00
Robby Findler
064492d4b8 improved the docs and the contracts for various planet/util functions
closes PR 11079
2010-12-26 08:42:38 -06:00
Mike Sperber
d5c58d9f82 Extends =~ to complex numbers
This is a (variation of a) fix from David van Horn.

Closes PR 11547.
2010-12-26 09:03:10 +01:00
Robby Findler
7282e19178 tightened up the check on polygon to make sure the posns contain reals
closes PR 10997
2010-12-25 20:33:33 -06:00
Robby Findler
c926656b8a save the 'preserve stacktrace' setting the language preference
closes PR 11037
2010-12-25 20:07:34 -06:00
Matthew Flatt
e77917db8c fix another continuation bug discovered by Casey's random testing 2010-12-25 17:12:33 -06: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
dd531dde9e check syntax does not call eval-compile-time-part-of-top-level when
checking programs in the module language.
closes PR 10908
2010-12-25 15:38:08 -06:00
Matthew Flatt
e7b52bf10f fix ffi handling of non-GCable pointers with offsets
Closes PR 11567
2010-12-25 09:34:07 -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
Matthew Flatt
735c4e660c fix check on snip% `other-equal-to?' 2010-12-24 20:09:17 -06:00
Matthew Flatt
a3adf07fd2 clean up pre-drawing of canvases for a frame to show 2010-12-24 20:09:16 -06:00
Robby Findler
9c12f7aaa5 fix dumb edito I did last week or so 2010-12-24 19:12:55 -06:00
Matthew Flatt
bb96973c4a cocoa: don't disable flushes on a window that isn't shown
because that doesn't seem to work
 Closes PR 11565
2010-12-24 18:22:59 -06:00
Matthew Flatt
21ca120c8c cocoa: fix problems with no-frame root menu
on-demand callback and original installation
2010-12-24 17:48:13 -06:00
Robby Findler
173172ddeb the specification of the runtime paths for windows libraries
wasn't collaborating properly with executable creation;
the fix I did was to simplify it a little bit (and duplicate
a little bit of code between the win32 and win64 versions)
closes PR 11483
2010-12-24 15:59:05 -06:00
Robby Findler
8903de5a12 inserted a coercion string->path
(there is one on the line above so this is probably the right thing)
closes PR 11563
2010-12-24 15:58:21 -06:00
Robby Findler
da68fc209a fix contract 2010-12-24 15:58:18 -06:00
Robby Findler
a68850ca78 added menu shortcut 2010-12-24 15:38:05 -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
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
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
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
93b2046b75 fix doc typo 2010-12-22 21:00:08 -06:00
Matthew Flatt
94e6d8f399 gtk: clipboard fix
Closes PR 11552
2010-12-22 19:40:37 -07:00
Matthew Flatt
4a6af2a81e another try-atomic repair 2010-12-22 19:09:21 -07:00
Robby Findler
bb9bd1b07a new attempt at contract violation error messages 2010-12-22 10:39:59 -06:00
Matthias Felleisen
e2e27522fb inconsistent doc for stop-with 2010-12-22 08:47:13 -05:00
Matthias Felleisen
da7567b7a8 wish list for 2htdp/*sl 2010-12-22 08:47:13 -05:00
Matthias Felleisen
d4dd5f13e1 idea collection for 2htdp/*sl 2010-12-22 08:47:13 -05:00
Matthew Flatt
3d10915736 fix font size for lang-in-source explanation 2010-12-21 19:28:40 -07:00
Matthew Flatt
78b2e47541 fix more try-atomic problems 2010-12-21 18:45:36 -07:00
Robby Findler
eb29b17112 adds a #:pred argument to test-->> (in rough analogy to the #:pred argument on traces) 2010-12-20 22:09:10 -06:00
Robby Findler
4c796a6445 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!)
2010-12-20 12:22:46 -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
ba11a02c1d adjust drracket to use setup/dir's find-collects-path instead of the broken, halfway thing is was doing 2010-12-20 08:43:31 -06:00
Robby Findler
53509bef5f made module lang tests Windows friendly & Rackety 2010-12-20 08:43:28 -06:00
Robby Findler
dfe6e37ffd removed mention of PLTDRTEST (it was already gone from the implementation) 2010-12-20 08:43:26 -06:00
Robby Findler
7a945785f3 fix (my own) docs stupidity 2010-12-20 08:43:22 -06:00
Matthew Flatt
b6167c23d5 fix R5RS `caar', etc., when used in a non-application position
Closes PR 11558
2010-12-20 07:25:19 -07:00
Sam Tobin-Hochstadt
abf2215de7 Fix send to the wrong administrator.
Bug found by tests/gracket/wxme-random.
2010-12-19 22:56:15 -05: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
Matthew Flatt
975c2400a1 cocoa: fix interaction of combo-field% popup and canvas refresh
and also reduce work on redundant show/hide of canvas
 Closes PR 11557
2010-12-19 18:58:27 -07:00
Matthew Flatt
dd8215d0dd fix `read-bitmap' to accept an input port
Closes PR 11555
2010-12-19 06:25:45 -07:00
Mike Sperber
3518e027fb Synch German string constants with latest. 2010-12-19 11:56:28 +01:00
Mike Sperber
bb09ae8a02 Unbreak detection of missing string constants.
The call to sort requires keywords, so convert everything to
2010-12-19 11:55:55 +01:00
Mike Sperber
79600e15a6 Merge remote branch 'origin' 2010-12-19 11:21:41 +01:00
Mike Sperber
fa854f62fc Add vector signatures, and `vector-of' to the HtDP signature syntax. 2010-12-19 11:20:51 +01:00
Matthew Flatt
c259d0839a make editor caret adapt to background color 2010-12-18 07:22:40 -07:00
Sam Tobin-Hochstadt
70955d5540 Split mred/private/wxme/private into two files. 2010-12-18 00:10:26 -05:00
Sam Tobin-Hochstadt
cf3aec6b95 Move load-one to racket/snip.
Create private directory for racket/snip.
Remove snip dependence on events.
2010-12-18 00:10:26 -05:00
Sam Tobin-Hochstadt
e9e45fdc2c Fix test require. 2010-12-18 00:10:25 -05:00
Matthew Flatt
b07f57fc73 fix problems with canvas refresh, especially win32 2010-12-17 14:43:14 -07:00
Robby Findler
2dc15061a8 adjust Sam's edit so the file is now properly indented 2010-12-17 13:53:03 -06:00
Robby Findler
4917d2af4a added freeze to 2htdp/image 2010-12-17 13:51:10 -06:00
Ryan Culpepper
5a10ca8fb1 macro-stepper: fix props panel size memory, better width calculation
see PR 11551
2010-12-17 12:03:54 -07:00
Matthew Flatt
0c4d2e332c fix transparent-canvas detection 2010-12-17 10:46:06 -07:00
Sam Tobin-Hochstadt
24ea7d34fc Fix use of 'fn-name in 2htdp/image error messages. 2010-12-17 12:37:32 -05:00
Sam Tobin-Hochstadt
4e85687d96 Ignore test-generated files 2010-12-17 12:32:28 -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
f7559b8269 Move readable-snip<%>' to racket/snip'
Reprovide `racket/snip' rather than propagating it in `mred/mred'
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
fb76a887d8 Refactor to create `racket/snip' collection. 2010-12-17 12:32:26 -05:00
Sam Tobin-Hochstadt
bb7307883a Fix doc typo. 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
398add4e29 Move symbol predicates to their own file. 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
Matthew Flatt
fc4165ec40 win32: fix transparent-canvas support 2010-12-17 09:33:11 -07: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
Robby Findler
d1fe276655 adjust the bug report form so that hitting return does not submit the bug report
as mentioned in PR 11551
2010-12-17 10:02:48 -06:00
Robby Findler
6ee34f1e88 generalize gui-utils:ok/cancel-buttons so that the ok button doesn't have to have the '(border) style 2010-12-17 10:02:46 -06:00
Robby Findler
2a3c7598ab put a special title in the menu when a saved bug report has no title 2010-12-17 10:02:43 -06:00
Robby Findler
4d04aa2b97 generalize define/chk to work with case-lambda-style functions 2010-12-17 10:02:40 -06:00
Robby Findler
e0b425e5d8 change more cross-collection requires 2010-12-17 10:02:38 -06:00
Robby Findler
52092eeb80 remove sillyness 2010-12-17 10:02:35 -06: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
4e0069d6d8 turn off font-metric hinting in all drawing contexts
which makes font-metric results consistent across DC types
2010-12-17 07:04:21 -07:00
Matthew Flatt
4195cf3297 more fixes for weird draw-bitmap mask and mode combinations 2010-12-17 05:51:23 -07:00
Matthew Flatt
98f6415c59 another fix to drawing a color bitmap to a monochrome target 2010-12-17 05:29:50 -07:00
Matthew Flatt
d2fb0b8f7d further `draw-bitmap' doc improvements 2010-12-16 21:20:13 -07:00
Matthew Flatt
8a10c3d3db fix use of color bitmap as mask when drawing after previous use 2010-12-16 21:02:11 -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
Matthew Flatt
f8ec47cdeb test for draw-bitmap repairs 2010-12-16 19:36:13 -07:00
Matthew Flatt
2ce5c63ea8 fix alpha-channel result of draw-bitmap to monochrome bitmap 2010-12-16 19:36:13 -07:00
Matthew Flatt
2cb52ed8ef fix draw-bitmap-section with mask bitmap
when the section is smaller than the mask
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
Robby Findler
5e51b7f335 add a menu item to the check syntax context-sensitive help that offers to search in help desk (just like the menu item that is there when check syntax is not running)
closes PR 11357
2010-12-16 16:12:51 -06:00
Matthew Flatt
54d36dc22a don't popup disable combo-field% 2010-12-16 13:43:22 -07:00
Matthew Flatt
01b9c1600e avoid allocating a new font map, since freeing it seems to create problems 2010-12-16 12:21:25 -07:00
Matthew Flatt
7fa0ae3ea6 fix typo 2010-12-16 12:20:39 -07:00
Matthew Flatt
7571579ce5 win32: combo-field% on-popup 2010-12-16 10:48:29 -07:00
Matthew Flatt
c9e778c541 cocoa and gtk: make combo-field% `on-popup' work better 2010-12-16 10:48:28 -07:00
Matthew Flatt
d518084f88 cocoa: fix message% 'app icon 2010-12-16 10:48:26 -07:00
Ryan Culpepper
9f3ac86488 macro-stepper: avoid too-long labels in hiding policy display 2010-12-15 19:16:52 -07:00
Ryan Culpepper
af7f60f3b5 macro-stepper: smooth rounded rectangles
Closes PR 11489
2010-12-15 19:15:38 -07:00
Ryan Culpepper
c640814917 fixed typo (wrong arg blamed in error) 2010-12-15 19:15:38 -07:00
Matthew Flatt
234a57506f document some modules that are referenced in other documentation 2010-12-15 13:41:59 -07:00
Matthew Flatt
489c5de9e8 another module-body duplication 2010-12-15 12:28:09 -07:00
Matthew Flatt
31906d6261 route glib logging to Racket logging 2010-12-15 12:25:45 -07:00
Mike Sperber
3f74e662ed Add tool.rkt needed for "Disable Signature Check".
I'd screwed up previously.
2010-12-15 08:17:57 +01: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
0542d3ca70 added support for saving bug reports (for ease of offline submission)
also cleaned up a bunch of little things in the bug report implementation:
 - the abort had race conditions
 - formatted the collections a little bit better (hopefully)
 - broke the implementation up into multiple files
 - fixed broken interaction with drracket (the drracket frame mixin is now being used properly)
2010-12-14 19:14:33 -06:00
Robby Findler
80f573cc0e multi-file search bugfix
(it now correctly restores the regexp vs string match preference)
2010-12-14 19:14:29 -06: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
5adaedae8e added oprintf 2010-12-14 19:14:22 -06:00
Matthew Flatt
3622a68449 fix dc<%> `clear' method to draw white on non-alpha context 2010-12-14 16:31:48 -07:00
Matthew Flatt
de271aa698 temporary workaround for missing(?) tool module 2010-12-14 14:53:47 -07:00
Matthew Flatt
fc9d1694f6 drop recorded dc drawing actions on `erase' 2010-12-14 14:53:30 -07:00
Matthew Flatt
1a190c08f6 remove debugging log message 2010-12-14 14:53:00 -07:00
Matthew Flatt
ea789fc481 further avoid nested try-atomics
to avoid the possibility of deadlock when, for example,
  `yield' is called during a try-atomic callback
2010-12-14 11:49:23 -07:00
Matthew Flatt
1d0adfd8f2 fix problem with nested try-atomic regions 2010-12-14 11:49:23 -07:00
Casey Klein
8368dcaca1 Fixes apparent copy-paste error 2010-12-14 12:26:11 -06:00
Mike Sperber
6bee489091 Add menu item to disable signature checking. 2010-12-14 17:29:30 +01: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
Matthew Flatt
f557707764 fix tab-panel% callback
Closes PR 11537
2010-12-13 20:38:44 -07:00
Matthew Flatt
790a91e520 fix minor potential GC bugs and add some debugging support 2010-12-13 16:31:13 -07:00
Robby Findler
9066868c7c fixed an integer? to say exact-integer? 2010-12-13 16:05:40 -06:00
Matthew Flatt
39c6fe02d7 use `assert' around a debugging check 2010-12-13 14:54:07 -07:00
Sam Tobin-Hochstadt
dae1543255 Fix local file reference to water.png image. 2010-12-13 14:37:08 -05:00
Matthew Flatt
3456ee185a gtk: fix clipboard text request to return "" instead of #f
to match weird old interface
2010-12-13 10:34:59 -07:00
Matthew Flatt
08eff21117 gtk: change clipboard access to keep racket in charge
instead of letting the ... _wait_...() function drive an
 event loop;
 hopefully Closes PR 11534
2010-12-13 10:26:23 -07: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
Sam Tobin-Hochstadt
25d2827d0d Document ordering in `case-lambda' types.
Closes PR 11394.
2010-12-13 07:26:31 -05:00
Eli Barzilay
3199fd166f Change the download order.
Done in two steps: first, make the list of installers have a good order
(determined by package, then OS type, then cpu, etc); make the JS code
that re-sorts the entries move only the desired options to the top but
otherwise use the original order (which is the previous thing).
2010-12-13 03:27:40 -05:00
Robby Findler
db116cd14b don't go up past the collection with relative requires 2010-12-12 16:24:18 -06:00
Robby Findler
8101c03d30 added a note about how label-string? is used. 2010-12-12 15:26:54 -06:00
Robby Findler
29797e67bd multi-file search tweaks:
- added the search string to the title of the window
 - made the default preference includes scrbl files
 - adjusted the title of the window to put drracket last
2010-12-12 15:26:51 -06:00
Robby Findler
3424e1b1df only show the compiling messages when PLTDRCM is trace 2010-12-12 15:26:48 -06:00
Robby Findler
4391de9ba6 added a pointer to the serialization functions from the preferences marshalling and unmarshalling 2010-12-12 15:26:46 -06:00
Robby Findler
7512986086 fix docs typo 2010-12-12 15:26:43 -06:00
Robby Findler
8add8cfdf5 Revert "change 2htdp/image to try to improve the way drawing works when there is sharing the in the tree"
This reverts commit 9ce75b8f76.
2010-12-12 15:18:06 -06:00
Robby Findler
91aa9f756a finally, a fix that makes the 2htdp/image test suite pass! 2010-12-12 15:14:04 -06:00
Robby Findler
9ce75b8f76 change 2htdp/image to try to improve the way drawing works when there is sharing the in the tree 2010-12-12 15:14:04 -06:00
Eli Barzilay
1d9d490374 _timeout_run doesn't want to work nicely on windows, so dump it and stay
with only the timeout in the racket script.

This makes `_timeout_run' redundant, but leave it around in case there
is some future need for it.
2010-12-12 13:10:07 -05:00
Eli Barzilay
c65a2ba9ab Add a noise flag indicator to `enter!'. 2010-12-12 13:10:07 -05:00
Eli Barzilay
8fb4e55d72 Some reformatting and reorganization, no functionality changes. 2010-12-12 13:10:07 -05:00
Matthew Flatt
aa43ba40c7 win64: HIWORD and LOWORD signs 2010-12-12 08:47:38 -07:00
Matthew Flatt
953dd78d76 cocoa: add app badge to caution & stop icons 2010-12-12 08:24:19 -07:00
Matthew Flatt
acdd76b17e win32: show #t brings shown frame to front
Closes PR 11533
2010-12-11 21:23:58 -07:00
Mike Sperber
d8b2df6259 Synch German string constants with latest. 2010-12-11 20:02:15 +01:00
Matthew Flatt
c7b4e5f134 win32: fix alternate-key lookup
Closes PR 11527
2010-12-11 07:50:49 -07:00
Matthew Flatt
a5c4863848 win32: avoid continued failure when painting fails 2010-12-11 06:16:40 -07:00
Casey Klein
f293ace98d Revert "Adds support for inserting more arrow characters by their LaTex names"
This reverts commit a12491bb89, in which
the documentation won't build as PDF.
2010-12-11 01:40:51 -06:00
Matthew Flatt
965e8f96d1 fix get-char-height' and get-char-width' in dc<%>
Closes PR 11526
2010-12-10 20:37:51 -07:00
Matthew Flatt
b2444e2105 win32: sync display on event 2010-12-10 18:52:12 -07:00
Matthew Flatt
2ae9f14f9e fix exn raised in refab-struct read errors
Closes PR 11530
2010-12-10 18:33:44 -07:00
Matthew Flatt
2b4f1a6908 extend `sync/timeout' to allow a tail-position fail thunk for polling 2010-12-10 18:06:21 -07:00
Jon Rafkind
7d8e4f81f2 add start of gui component to show the module interface (contracts/types/etc..) 2010-12-10 17:08:21 -07:00
Carl Eastlund
5b18305e11 New test case for formatting bug in TR error messages. 2010-12-10 17:26:17 -05:00
Vincent St-Amour
740b8308d7 Scheme -> Racket 2010-12-10 17:17:02 -05:00
Vincent St-Amour
09ffb70492 Update TR tests to reflect new contract error messages. 2010-12-10 16:59:13 -05:00
Vincent St-Amour
b9d67eea2f Allow running individual TR tests. 2010-12-10 16:59:12 -05:00
Vincent St-Amour
f8c01299f9 Fix double application of format.
Closes PR 11524.
2010-12-10 16:59:12 -05:00
Matthew Flatt
948dfe9cf0 `sync/timeout' doc clarification 2010-12-10 13:41:05 -07:00
Matthew Flatt
f6f6facd9e clarify effective-constant nature of `list?'
Closes PR 11525
2010-12-10 13:41:05 -07:00
Casey Klein
335e679ec7 Makes the Redex tests less dependent on the wording of blame messages 2010-12-10 13:58:11 -06:00
Casey Klein
7243029786 Fixes a bug in the Redex term generator 2010-12-10 13:58:11 -06:00
Casey Klein
d55cdb7785 Fixes a bug in `make-temporary-file'
When (current-milliseconds) was negative, the string substituted into
the template would contain non-digits, violating the promise in the
documentation.
2010-12-10 13:58:11 -06:00
Casey Klein
e65598c98c Fixes the semi-automated TeX table test 2010-12-10 13:58:10 -06:00
Casey Klein
a12491bb89 Adds support for inserting more arrow characters by their LaTex names 2010-12-10 13:58:10 -06:00
Vincent St-Amour
407d9b5f07 Error when running TR's test harness with no tests. 2010-12-10 13:44:47 -05:00
Stevie Strickland
7ab53d8ddb Fix unit contract tests due to new contract error format. 2010-12-10 13:06:56 -05:00
Robby Findler
0b54d7f010 avoid taking over control-[ under windows so that overriding the smart opening paren thing is still possible 2010-12-10 11:47:10 -06:00
Robby Findler
32851bddf9 set the font for the flashing 'P' to be the small-control-font 2010-12-10 11:47:08 -06:00
Robby Findler
ac8fd51bc4 adjust meta-backspace and meta-delete so that they both delete whole words, with backspace getting rid of the one before the insertion point and delete getting rid of the one after the insertion point 2010-12-10 11:47:05 -06:00
Eli Barzilay
3d75992400 Re-fix the drr test on windows. 2010-12-10 11:32:12 -05:00
Eli Barzilay
ce890ef40e No need for xvnc on windows 2010-12-10 08:36:06 -05:00
Robby Findler
94ebb1f317 update the mzlib contract test suite to the new error messages 2010-12-10 06:57:27 -06:00
Robby Findler
b902cb5455 closes PR 11522 2010-12-10 06:57:24 -06:00
Eli Barzilay
de4daa8d81 Add a hack to get the environment variables from the visual studio batch
file.

Also change the version number in the foreign tests to make them work.

Also fix getting the `test_gui' configuration.
2010-12-10 05:15:14 -05:00
Eli Barzilay
adb1b56676 Small fixes 2010-12-10 01:26:47 -05:00
Matthew Flatt
cadc128994 win32: mouse-wheel events
Closes PR 11520
2010-12-09 21:06:15 -07:00
Matthew Flatt
e3c4a0ae98 fix gif decoding of interlaced images 2010-12-09 20:08:36 -07:00
Matthew Flatt
e929f62d11 win32: fix alt vs. meta; fix alt-<char> menu dropdown 2010-12-09 18:05:51 -07:00
Matthew Flatt
3aad886019 win32: fix key-release events 2010-12-09 17:43:37 -07:00
Matthew Flatt
b16f8fb16a win32: fix delete key
Closes PR 11519
2010-12-09 17:38:41 -07:00
Matthew Flatt
518cff7b63 win32: fix alt-combination handling 2010-12-09 15:18:57 -07:00
Robby Findler
08d7a43c08 Rackety 2010-12-09 15:50:18 -06:00
Robby Findler
18dacad6c8 a first attempt at a rewording of the blame error messages to admit the possibility that the contract was wrong and also to claim that fixing the blamed module or the contract is all that is required
note that two test cases are failing, but only because they depend on the wording of the error messages; once that is set, I'll fix them.
2010-12-09 15:50:15 -06:00
Robby Findler
092b966b83 use the new feature of panel:dragable (from previous commit) to make the
'put definitions beside interactions' preference changes take effect immediately
2010-12-09 15:50:12 -06:00
Robby Findler
9a485dd492 added set-orientation method to panel:dragable (lets the panels
change from being vertically aligned to horizontally aligned, even
after they have been created)
2010-12-09 15:50:08 -06:00
Ryan Culpepper
b8fc41283e syntax/parse: exported and documented ~do action pattern 2010-12-09 12:19:34 -07:00
Ryan Culpepper
c51f769672 syntax/parse: vars w/ splicing-stxclasses bind stxobjs, not lists 2010-12-09 12:19:26 -07:00
Ryan Culpepper
6acf9b6e00 macro-stepper: untack arrows on navigation
Closes PR 11485
2010-12-09 12:19:13 -07:00
Eli Barzilay
a90338eddd Accommodate Windows x64 builds and installers. 2010-12-09 11:53:26 -05:00
Eli Barzilay
8f17b95d82 Configurable setting for testing drr, use it on windows too. 2010-12-09 11:15:44 -05:00
Eli Barzilay
9d4d514d58 Use the worksp10 files 2010-12-09 11:09:56 -05:00
Robby Findler
81de0c1337 changed the 'cancel' button to say something more accurate
closes PR 11473
2010-12-08 21:31:47 -06:00
Matthew Flatt
355cf25b5f cocoa: allow default handling of Cmd-` for cycling windows
Closes PR 11499
 but it's not clear that this is the right fix for all users
2010-12-08 19:56:02 -07:00
Matthew Flatt
aee9f41d53 slideshow: tame use of fullscreen mode
Closes PR 11490, hopefully
2010-12-08 18:40:09 -07:00
Matthew Flatt
5f73c361ef fix text-drawing context for "combined" text when scale changes
Closes PR 11495
2010-12-08 18:40:09 -07:00
Vincent St-Amour
365d272666 Test for errors in rhs. 2010-12-08 20:32:20 -05:00
Vincent St-Amour
81ef5f9418 Typecheck body of letrec using original types instead of potentially undefined type. 2010-12-08 20:32:20 -05:00
Vincent St-Amour
53719600d8 Error if we get a type that may be undefined and we don't expect it. 2010-12-08 20:32:20 -05:00
Vincent St-Amour
b045153177 letrec: consider outside bindings safe. 2010-12-08 20:32:19 -05:00
John Clements
368f345901 more stepper cleanup 2010-12-08 16:37:15 -08:00
John Clements
ff973b628b stepper refactoring and cleanup 2010-12-08 16:37:15 -08:00
Sam Tobin-Hochstadt
463ab0d309 Fix type of `-' 2010-12-08 19:31:57 -05:00
Vincent St-Amour
36f6149a41 Another alphabetical order fix. 2010-12-08 19:13:00 -05:00
Sam Tobin-Hochstadt
e70ccafd7b Add `defined?' assertions to fix DrRacket. 2010-12-08 18:53:56 -05:00
Sam Tobin-Hochstadt
87eab889d6 Allow arbitrary filter specification in function types.
Allow (A -> B -> C) for curried function types.
2010-12-08 18:22:29 -05:00
Sam Tobin-Hochstadt
cb6d78698b Count pairs as having size 1, not 0, in minimizing edit distance. 2010-12-08 18:22:29 -05:00
Sam Tobin-Hochstadt
73dbf42e0e Better handling of `hash-*' functions, and hashes as sequences. 2010-12-08 18:22:29 -05:00
Sam Tobin-Hochstadt
7f1da76d54 Compare author strings, not author structures, in `citet'. 2010-12-08 18:22:29 -05:00
Vincent St-Amour
0365755b3d Fix cond doc typo.
Closes PR 11517.
2010-12-08 18:17:07 -05:00
Vincent St-Amour
dc2df4882b Take into account potentially undefined values in letrec.
Closes PR11511.
2010-12-08 18:17:06 -05:00
Vincent St-Amour
33581fd67e map + syntax->list -> syntax-map 2010-12-08 18:17:05 -05:00
Vincent St-Amour
b7588b0081 Add my name to acknowledgements and fix alphabetical order. 2010-12-08 18:17:05 -05:00
Jay McCarthy
5657d72aa4 Quiz 2010-12-08 14:08:54 -07:00
Jay McCarthy
7ac2b8e316 Fixing tests 2010-12-08 14:08:54 -07:00
Jay McCarthy
5285dc6a16 Fixing tests 2010-12-08 14:08:54 -07:00
Stevie Strickland
0c4658f718 Conversion of -> to impersonators. 2010-12-08 13:04:29 -05:00
Stevie Strickland
b342033b7f Remove now-unused ->d-tail-key. 2010-12-08 11:23:08 -05:00
John Clements
b0c6154ae0 cleanup of stepper's shared.rkt 2010-12-07 20:44:35 -08:00
John Clements
5456e83ce4 massively faster due to reuse of namespace 2010-12-07 20:44:35 -08:00
John Clements
fec54283fb applicable structs now working, closure table is gone 2010-12-07 20:44:35 -08:00
John Clements
9eaee0e6f1 about to give up for now... 2010-12-07 20:44:34 -08:00
John Clements
0d2a4b98db moving to another machine 2010-12-07 20:44:34 -08:00
John Clements
6f84a1c143 checkpointing progress toward applicable structs instead of hash table 2010-12-07 20:44:34 -08:00
John Clements
b51626933c hide big-bang startup code 2010-12-07 20:44:31 -08:00
Stevie Strickland
37349ca053 Allow uses of recursive-contract to specify the type of contract to create. 2010-12-07 18:30:20 -05:00
Robby Findler
dd081d9b4e added a tabs menu for windows (and linux) 2010-12-07 16:33:51 -06:00
Jay McCarthy
823da4321f Expanding documentation and doing some renaming/providing 2010-12-07 15:08:36 -07:00
Jay McCarthy
c7ed2d0fda Fixing typo 2010-12-07 15:04:42 -07:00
Jay McCarthy
721c884965 Merge git://github.com/jpc/racket into jpc 2010-12-07 14:53:59 -07:00
Jay McCarthy
43d87e1971 Adding a porting note where people will find it 2010-12-07 14:51:44 -07:00
Jay McCarthy
8570b48cec Fixing a few errors post testing 2010-12-07 14:14:55 -07:00
Jay McCarthy
d28dc2ae41 Revert "Adding dynamic/c and coerce/c"
This reverts commit cec308cc363a69d561097e978352488c996385ed.
2010-12-07 14:14:55 -07:00
Jay McCarthy
58494c125b Big bang coercion 2010-12-07 14:14:55 -07:00
Jay McCarthy
c011d611ca Removing old confusion contracts 2010-12-07 14:14:55 -07:00
Jay McCarthy
31f8679e34 Updating handin to use new compat interface 2010-12-07 14:14:54 -07:00
Jay McCarthy
5d7c91a7fb typos 2010-12-07 14:14:54 -07:00
Jay McCarthy
d7bd9ddc5f Adding compat0 test cases 2010-12-07 14:14:54 -07:00
Jay McCarthy
78a65f0662 More exhaustive test 2010-12-07 14:14:54 -07:00
Jay McCarthy
b5a39d03e4 Discussing compatibility 2010-12-07 14:14:54 -07:00
Jay McCarthy
e7c71921bb Adjusting documentation 2010-12-07 14:14:53 -07:00
Jay McCarthy
a246ddebde New response/c 2010-12-07 14:14:53 -07:00
Jay McCarthy
d6d9f3ef8c Adding dynamic/c and coerce/c 2010-12-07 14:14:53 -07:00
Jay McCarthy
7ebdd3c7f1 Remove write-xexpr altogether, since compatibility is not promised in unstable 2010-12-07 14:14:53 -07:00
Jay McCarthy
2abbb664dd Fixing docs 2010-12-07 14:14:53 -07:00
Jay McCarthy
28bf36b753 Use compat lib 2010-12-07 14:14:52 -07:00
Jay McCarthy
5832758c5e Ensuring compat libraries provide all old functions too 2010-12-07 14:14:52 -07:00
Jay McCarthy
f5e9e0dad1 Fixing example 2010-12-07 14:14:52 -07:00
Jay McCarthy
83fcd6a8a2 Better implementation provided by XML now 2010-12-07 14:14:52 -07:00
Jay McCarthy
a609c360d7 Fixing require path 2010-12-07 14:14:52 -07:00
Jay McCarthy
2e90c11bd3 More compat 2010-12-07 14:14:51 -07:00
Jay McCarthy
4025776776 Elaboration 2010-12-07 14:14:51 -07:00
Jay McCarthy
102d09a4e5 Renaming 2010-12-07 14:14:51 -07:00
Jay McCarthy
eaf5d02013 Compatibility 2010-12-07 14:14:51 -07:00
Jay McCarthy
998e5bc1ec Implementation note 2010-12-07 14:14:51 -07:00
Jay McCarthy
4ca1dac51c write-xexpr test cases 2010-12-07 14:14:51 -07:00
Jay McCarthy
9ad953c501 Adding efficient Xexpr writing 2010-12-07 14:14:51 -07:00
Jay McCarthy
ca6c37bccf Adding header 2010-12-07 14:14:50 -07:00
Jay McCarthy
73749166ba Updating tutorial for response/xexpr 2010-12-07 14:14:50 -07:00
Jay McCarthy
16f8b3a2a6 Adding test case and fixing un-terminated requests 2010-12-07 14:14:50 -07:00
Jay McCarthy
a28cf7df10 Updating docs 2010-12-07 14:14:50 -07:00
Jay McCarthy
9b066d0f04 Correcting tests and examples 2010-12-07 14:14:49 -07:00
Jay McCarthy
419c184c94 Using response/xexpr 2010-12-07 14:14:49 -07:00
Jay McCarthy
05c9fcd412 First pass at Xexpr removal 2010-12-07 14:14:49 -07:00
Jay McCarthy
dc01f00afc New benchmarks 2010-12-07 14:14:49 -07:00
Stevie Strickland
5b8e5d6380 Extend struct/c to allow impersonator contracts for mutable fields.
Also, flat contracts for immutable fields are only evaluated at contract
wrapping time.
2010-12-07 14:29:07 -05:00
Robby Findler
ab517bf432 enable font substitution for windows (it works on windows 7 and xp at least...) 2010-12-07 13:02:58 -06:00
Jon Rafkind
a02d73e530 add examples for in-hash and friends 2010-12-07 11:54:12 -07:00
Robby Findler
2d55dd1bb7 sort the font names in the popup 2010-12-07 07:27:54 -06:00
Robby Findler
36e8d5ef99 remove bogus comment 2010-12-07 07:05:56 -06:00
Robby Findler
0a313888c4 added missing require (as suggested by Matthew) so now pasting works. 2010-12-07 07:05:54 -06:00
Stevie Strickland
10eb818f95 Conversion of struct/c to chaperones when appropriate. 2010-12-07 04:11:26 -05:00
Matthias Felleisen
bd0b8d9c9f the Utah refactoring accidentally nested queue-callback; closes PR11500 2010-12-06 23:04:08 -05:00
Matthias Felleisen
4af96aaa1c use 'any for read-line, closes PR11445 2010-12-06 23:04:08 -05:00
Robby Findler
39008f2130 on second thought, maybe this is the right last argument 2010-12-06 19:33:46 -06:00
Robby Findler
f818aa56bf patch so that the alt key does not crash drracket (windows) 2010-12-06 19:31:36 -06:00
Stevie Strickland
ebf01cc664 Converting case-> to chaperones and impersonators. 2010-12-06 16:12:49 -05:00
Casey Klein
9ea976625d Steven's progress on the compiler 2010-12-06 14:44:38 -06:00
Robby Findler
b884623da2 use for/list intead of a (one off) map/i function. 2010-12-06 14:22:10 -06:00
Robby Findler
45a97cb561 off by one error in 2htdp/image error messages
closes PR 11476
2010-12-06 14:22:10 -06:00
Matthew Flatt
fd79abcc1f win32: fix setwindowlongptr binding for 32-bit mode 2010-12-06 12:40:10 -07:00
Jakub Piotr Cłapa
45441054bc Secure websockets and the wss: protocol scheme.
Also changed the code to send the request, headers and Key3 all at once since some servers expect it this way (node.js had problems with this when on SSL).
2010-12-06 19:09:14 +01:00
Eli Barzilay
71e912719d PLT Scheme -> Racket 2010-12-06 10:22:56 -05:00
Matthew Flatt
8cfb7d96e3 avoid stdin for git repo version 2010-12-06 07:01:36 -07:00
Matthew Flatt
43d69fa80e fix duplicate definitions 2010-12-05 13:15:43 -07:00
Matthew Flatt
b328655a01 doc typo 2010-12-05 13:15:42 -07:00
Casey Klein
54e46f78bb Closes PR 11493 2010-12-05 08:55:43 -06:00
Casey Klein
f8c181c66d Closes PR 11475 2010-12-05 08:55:43 -06:00
Robby Findler
71cf40c4b7 drr: avoid making the window jump wider when a new tab is created.
(this one has been bugging me for _far_ too long)
2010-12-04 18:40:47 -06:00
Robby Findler
3a506e5acb check syntax: sort the identifiers (but this time without a bug...)
closes PR 11494
2010-12-04 18:40:47 -06:00
Matthew Flatt
dba0472873 win64: fix JPEG structs 2010-12-04 17:38:48 -07:00
Matthew Flatt
6d1db909c4 win64: fix GetWindowLong to use Ptr variant 2010-12-04 17:38:47 -07:00
Matthew Flatt
fda0228631 fix broken inexact-reader configuration
Closes PR 11496
2010-12-04 16:22:17 -07:00
Matthew Flatt
a56e547db6 win64: racket/draw and racket/gui 2010-12-04 08:29:34 -07:00
Matthew Flatt
d4158cfc9c win64: remove unneeded command-line parsing hack 2010-12-04 05:20:40 -07:00
Matthew Flatt
5065f39dec win64: racket3m 2010-12-03 22:35:38 -07:00
Casey Klein
8affb5b13f Fixes CS renaming of pattern occurrences of metafunction names 2010-12-03 15:47:54 -06:00
Matthew Flatt
116d88577e restore old behavior of _fixint' and _ufixint'
Closes PR 11492
2010-12-03 14:20:38 -07:00
Matthew Flatt
7ec0731cda don't use unsafe-string-ref' in for'
because `unsafe-string-ref' is for ASCII results, only
2010-12-03 11:10:11 -07:00
Matthew Flatt
8b8dd77ad6 change nearly all long's to intptr_t'
and also changed vector, string, and byte string counts to
   `intptr_t' instead of `int'.

   Except for the vector count, etc. change, this is not really a
   change for any currently supported platform, where `intptr_t'
   is the same as `long'. It's a step to suporting Win64, though,
   where `long' is the same as `int' instead of `intptr_t'.
2010-12-03 08:48:33 -07:00
Matthew Flatt
da2e0e9556 don't draw 0-sized rectangles
Closes PR 11466
2010-12-03 08:14:16 -07:00
Noel Welsh
3b234010a0 Merge branch 'master' of pltgit:plt into in-vector 2010-12-03 14:36:48 +00:00
Noel Welsh
f7d5dc1941 Fix typo is documentation 2010-12-03 14:35:40 +00:00
Noel Welsh
899e31e2ce Add tests for extended in-flvector and in-fxvector forms, refactoring common code to for-util.rkt 2010-12-03 14:33:38 +00:00
Robby Findler
65cd861c6f adjust docs building so that it doesn't assume that the getinfo procs are there
closes PR 11484
2010-12-03 06:30:58 -06:00
Robby Findler
f867c024b5 added docs for find-relevant-directory-records 2010-12-03 06:30:58 -06:00
Robby Findler
f8b2a9e0e2 improved the way the contract is written 2010-12-03 06:30:58 -06:00
Robby Findler
bc3bd77e19 move the #lang line to the beginning of the file 2010-12-03 06:30:57 -06:00
Noel Welsh
6e2d67e58a Fix typo 2010-12-03 12:18:04 +00:00
Noel Welsh
319ea7ea00 Change in-fXvector (for flvector and fxvector) to allow start, stop, and end args. Tests segfault in repeatable but apparently unrelated places 2010-12-03 12:15:59 +00:00
Noel Welsh
6761ae8618 Merge branch 'master' of pltgit:plt into in-vector 2010-12-03 10:27:34 +00:00
Noel Welsh
fba4d50289 Merge refactored code back into for.rkt, on Eli's advice 2010-12-03 10:25:01 +00:00
Casey Klein
5f0430a5ab Fixes doc typos 2010-12-02 19:26:24 -06:00
Casey Klein
fbd7bdff54 Adds an indicator that shows when framework prefs are being written.
Performance grinds to a halt when the preference file is too large or
written too often. Hopefully the indicator will help us identify this
phenonmenon.
2010-12-02 15:56:08 -06:00
Casey Klein
5bb45d787f Caps REPL history using string length rather than entry count 2010-12-02 15:54:49 -06:00
Casey Klein
ab82bc04eb Cleans up REPL history preference for (some?) old versions 2010-12-02 15:54:49 -06:00
Casey Klein
fad4771167 Fixes a bug in the cap on REPL history 2010-12-02 15:54:48 -06:00
Casey Klein
6fd3eea815 Disables randomized tests (of the randomized tests).
The runtime is too long and variable to work well in DrDr.
2010-12-02 15:54:47 -06:00
Casey Klein
c3f0052eac Deletes incorrect comment. 2010-12-02 15:54:47 -06:00
Casey Klein
45ba14cafa Updates OS X bitmaps for minor changes in gr2 rendering 2010-12-02 15:54:46 -06:00
Casey Klein
2a8fdd9646 Adjusts typesetting to account for gr2 rendering of filled rectangles 2010-12-02 15:54:46 -06:00
Casey Klein
341bee96e4 Further increases timeout for redex/examples/delim-cont/randomized-tests-test 2010-12-02 15:54:46 -06:00
Matthew Flatt
3479f5fb92 cocoa: hack around NSApplication's handling of command-line arguments 2010-12-02 11:53:18 -07:00
Stevie Strickland
778f0c9fc4 Actually turn on old object-info hack mentioned in 4e451a1. 2010-12-02 13:02:59 -05:00
Robby Findler
60d986b6df added a not-quite-right test case (drracket's test suites don't run well in gr2 yet) 2010-12-02 10:40:43 -06:00
Robby Findler
9501a9d7f8 adjustments to match gr2 2010-12-02 10:40:43 -06:00
Robby Findler
d4857c4420 adjusted check syntax so that it does renaming better.
Specifically, it finds all variables that match the one being
renamed in the fully expanded program, as well as all variables
that have the same source locations of any of those (etc).
2010-12-02 10:40:43 -06:00
Matthew Flatt
b0a746c701 win32: fix font used to size controls 2010-12-02 07:04:38 -07:00
Matthew Flatt
1032eb4a59 restore fix of 470ed7c996 that got lost 2010-12-02 06:31:36 -07:00
Matthew Flatt
74d858ceed gtk: fix GdkAtom type 2010-12-02 06:20:07 -07:00
Matthew Flatt
7a37b07e26 gtk: fix clipboard problems on 64-bit mode; provide more text formats 2010-12-02 06:17:40 -07:00
Matthew Flatt
eca4f5b6b1 fix `screen-glyph-exists?' in font% 2010-12-02 06:17:40 -07:00
Eli Barzilay
39806412ce Indent manifest files. 2010-12-02 07:31:00 -05:00
Matthew Flatt
82ab45b11d gtk: fix clipboard; implement ye olde X selection 2010-12-01 20:48:23 -07:00
Matthew Flatt
42dc83bbcd fix docs for `get-panel-background' 2010-12-01 15:57:54 -07:00
Matthew Flatt
ec122a785a use dots for 'password style text-field% 2010-12-01 15:48:55 -07:00
Matthew Flatt
93126d1546 dc, pen, and brush doc corrections related to v5.1 changes 2010-12-01 15:48:55 -07:00
Matthew Flatt
dedb207a86 fix draw-bitmap result to match docs 2010-12-01 15:48:55 -07:00
Matthew Flatt
ed8aa132de improve editor highlighting of selected image-snip% 2010-12-01 15:48:54 -07:00
Matthew Flatt
e9710d08f5 fix autowrap bitmap drawing so it isn't covered up by a selection 2010-12-01 15:48:54 -07:00
Stevie Strickland
4e451a1b79 Add back in old object-info hack. 2010-12-01 15:11:26 -05:00
Stevie Strickland
30afcd3bf5 Fix object=?.
Also commented out some tests of reflective operations on contracted objects.
I've added a note that describes how we might be able to fix this, if
we decide it's worth doing.
2010-12-01 15:11:25 -05:00
Stevie Strickland
500c2f6084 Fix comments and make field-info-* functions only deal with field-infos. 2010-12-01 15:11:25 -05:00
Stevie Strickland
96db670d8c Clean up first-order checking in object/c and object-contract.
Use let/ec only when needed (i.e. when raise-blame-error is not used).
Also remove some of the old checking functions from mzlib's object-contract
code that are no longer needed now that we have unified the first-order
checking.
2010-12-01 15:11:25 -05:00
Stevie Strickland
5f7099c9bd Fix mutation of shared vectors by copying on write. 2010-12-01 15:11:25 -05:00
Stevie Strickland
db66e3e95d Now trying it with struct-field-accessors/mutators. 2010-12-01 15:11:24 -05:00
Stevie Strickland
f54f04edee Try the old way, but with unsafe-struct-ref/set! 2010-12-01 15:11:23 -05:00
Stevie Strickland
c2539c0bb4 Switch from using arbitrary compose to inlined unary composition. 2010-12-01 15:11:23 -05:00
Stevie Strickland
2d655b6fe1 Combine all field information back into one hash table.
Each entry in the field info hashtable contains the following:
 - The absolute position of the field in object structs
 - The internal and external ref and set! projections

Appropriate operations for extending the internal and external
projections and extracting appropriate ref and set! functions are
provided.
2010-12-01 15:11:23 -05:00
Stevie Strickland
1b1d4d9336 Use a unary identity function instead of values for better performance. 2010-12-01 15:11:21 -05:00
Stevie Strickland
68273cc31d Change field reference/mutation to use unsafe ops instead. 2010-12-01 15:11:21 -05:00
Stevie Strickland
2bd7760412 Conversion of object/c and object-contract to use impersonators. 2010-12-01 15:11:20 -05:00
Stevie Strickland
a1095d2fc1 Remove unnecessary argument from make-field-map. 2010-12-01 15:11:20 -05:00
Robby Findler
de0103129b avoid saving the preferences on each keystroke in the find/replace dialog 2010-12-01 14:09:33 -06:00
Noel Welsh
bd9368d889 Refactor code for defining sequences on vector like data types. Expose useful building blocks for constructing user defined sequences on vector like types (e.g. flvector, f64vector, etc.) 2010-12-01 15:33:43 +00:00
Matthew Flatt
082515d6db fix namespace-anchor on non-module namespaces 2010-12-01 06:52:11 -07:00
Matthew Flatt
e627ccb5ed cocoa: avoid infinite loop on re-dispatch of command keys 2010-11-30 20:17:47 -07:00
Matthew Flatt
72d57d8db8 cocoa: explicitly re-dispatch Cmd- key combinations 2010-11-30 15:39:02 -07:00
Matthew Flatt
ca8b32725e fix bloking operations during a try-atomic
and remove old delim-cont support used by gr1
2010-11-30 15:08:16 -07:00
Matthew Flatt
7efcf80856 typo 2010-11-30 15:08:16 -07:00
Robby Findler
6c25210a6b refactored check syntax in preparation to fix the problem with binding identifiers being duplicated by macros 2010-11-30 15:47:40 -06:00
Kevin Tew
b212fc9485 Parallel build match fix 2010-11-30 09:49:34 -07:00
Matthew Flatt
8f9a8daa27 fix {get,set}-event-type on mouse-event%
Closes PR 11474
2010-11-30 09:32:59 -07:00
Matthew Flatt
9f9e23f551 don't GC an eventspace with a visible frame, etc. 2010-11-30 09:32:59 -07:00
Matthew Flatt
c81ad90161 fix eventspace as event 2010-11-30 09:32:59 -07:00
Matthew Flatt
64979a5480 further refinments to the ephemeron description 2010-11-30 09:32:58 -07:00
Matthew Flatt
37d16cf8f8 cocoa: fix race condition on window enabling 2010-11-30 09:32:58 -07:00
Robby Findler
2125535e06 change the behavior for closing the preferences window.
closes PR 11473
2010-11-30 09:57:19 -06:00
Eli Barzilay
8903d1b5c9 Patch Racket manifest file too. 2010-11-30 05:15:12 -05:00
Robby Findler
f11e53c68c gr2 cleanup 2010-11-29 13:49:48 -06:00
Robby Findler
2a7ccc552a clean up test suite ala gr2 2010-11-29 13:49:47 -06:00
Kevin Tew
e1eb3cbfba Handle SEGFAULT return 2010-11-29 09:41:33 -07:00
Matthias Felleisen
6df50ffe83 final world display, Closes PR11471 2010-11-29 10:59:08 -05:00
Jon Rafkind
cf3b9680ba remove 0 arg set-union. add workaround to docs 2010-11-29 00:34:57 -07:00
Jon Rafkind
46244f81fc make set-union with 0 args return an empty set 2010-11-28 23:08:28 -07:00
Robby Findler
eabbb7dff2 improve the leak test a little by looking to see tabs get gc'd and so do the user's namespaces. 2010-11-28 19:26:38 -06:00
Robby Findler
62f3d7e254 tried to clarify the ephemeron docs by setting the stage for the precise definition that was already there a little bit. 2010-11-28 16:06:09 -06:00
Robby Findler
c123a8cc5d fixed a bug that caused a leak that held onto drracket frames.
The bug was that the planet log message registration was happening
on drracket's thread instead of on the user's thread, so it was
using the wrong keys in the ephemerons.
2010-11-28 16:06:09 -06:00
Robby Findler
d879f75152 adjusted the registration mechanism for planet-terse-register to be clearer and simpler 2010-11-28 16:06:08 -06:00
Matthew Flatt
2282cae59a cocoa: fix removal of menu shortcut
Closes PR 11463
2010-11-28 10:44:01 -07:00
Matthew Flatt
d37cc7b3ec cocoa: fix problem with tab panel 2010-11-28 10:41:59 -07:00
Matthew Flatt
36669b821a re-fix Scribble Latex image support 2010-11-28 08:01:07 -07:00
Matthew Flatt
f090e732fd cocoa: fix relabel of image checkbox 2010-11-28 08:01:07 -07:00
Matthew Flatt
262531e231 cocoa: fix enable & disable of windows 2010-11-28 08:01:06 -07:00
Matthew Flatt
cc82d37285 Scribble Latex image support (missed an earlier commit) 2010-11-28 08:01:06 -07:00
Matthew Flatt
f88735ef20 fix typo 2010-11-28 08:01:06 -07:00
Casey Klein
805a4a66c9 Increases timeout for redex/examples/delim-cont/randomized-tests-test.rkt 2010-11-28 06:43:10 -06:00
Casey Klein
de775e6dc1 Fixes bug in typesetting tests 2010-11-28 06:43:10 -06:00
Matthew Flatt
68391fe2ea reorganize racket/gui docs and expand canvas-drawing overview 2010-11-27 20:05:20 -07:00
Matthew Flatt
94e2d46a8e move Typed Racket manuals to the Languages section 2010-11-27 19:01:17 -07:00
Matthew Flatt
e20b411712 explain gracket a bit better in the Guide 2010-11-27 18:54:32 -07:00
Matthew Flatt
57f0fe8414 fix reference description of GRacket 2010-11-27 18:47:49 -07:00
Matthew Flatt
5c89df2f7f Revise places docs to fit the reference-manual style 2010-11-27 18:34:33 -07:00
Matthew Flatt
af318c4501 move racket/draw overview back to the racket/draw manual
but keep expanded roadmap of drawing and GUI libraries
2010-11-27 17:48:09 -07:00
Matthew Flatt
c92a6b0e3d fix long line 2010-11-27 16:39:25 -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
0b19c6e798 fix bug in composable continuations
--- as deiscovered by Casey's random tester
2010-11-27 09:52:11 -07:00
Matthew Flatt
430d45b471 doc correction
Closes PR 11465
2010-11-27 08:28:57 -07:00
Matthew Flatt
e97414b7bf bitmap% convertible to 'png-bytes; more Scribble Latex; pict in Slideshow docs 2010-11-27 07:36:12 -07:00
Matthew Flatt
cb3a48ab2b convert "quick" document to mostly use picts directly in examples 2010-11-26 20:40:43 -07:00
Matthew Flatt
5d386a99ec fixes to make pict eval results work in Scribble 2010-11-26 20:40:43 -07:00
Matthew Flatt
0f86dc15af scribble: render `pict' content directly
--- actually, any value that is convertible to PNG/PDF
2010-11-26 20:40:43 -07:00
Matthew Flatt
abcaa1775c add width' and height' arguments to post-script-dc% and pdf-dc%
and document the change that the PS bounding box is no longer
 inferred from drawing operations
2010-11-26 20:40:43 -07:00
Ryan Culpepper
a45792ca1c macro-stepper: dummy editor-admin for image creation 2010-11-26 19:28:55 -07:00
Ryan Culpepper
e6cf77b61c macro-debugger: fixed image creator 2010-11-26 19:28:55 -07:00
Ryan Culpepper
8605fecaf3 syntax/parse: fixed bug in #:do (with expression) 2010-11-26 19:28:55 -07:00
Ryan Culpepper
eb1c164aca macro-stepper: extra guard in on-demand id-only popup submenu 2010-11-26 19:28:55 -07:00
Ryan Culpepper
c50ab191d6 fixed gvector typo 2010-11-26 19:28:55 -07:00
Ryan Culpepper
de9538d1eb macro-debugger: refine position of mouse events 2010-11-26 19:28:54 -07:00
Robby Findler
bc9a5e4b48 plugged a leak in drracket (thanks to Matthew for finding it!) 2010-11-26 19:32:19 -06:00
Jay McCarthy
ee2b11630f Adding containers 2010-11-26 19:59:32 -05:00
Jay McCarthy
eee5c6b14a Adding response/port 2010-11-26 19:59:32 -05:00
Jay McCarthy
4a4b3ae64c Adding doc clarification from Eli 2010-11-26 19:59:32 -05:00
Jay McCarthy
8320517192 Adding page 2010-11-26 19:59:32 -05:00
Jay McCarthy
e999daa871 Adding page and get-binding 2010-11-26 19:59:32 -05:00
Casey Klein
1ccd6e7a2c Randomized tests for the delimited control model.
Tests in randomized-tests.rkt are deliberately not run by DrDr at the
moment because they fail too consistently.
2010-11-26 13:24:21 -06:00
Casey Klein
8ff358b559 Abstracts randomized testing forms over the underlying PRG 2010-11-26 13:02:14 -06:00
Casey Klein
b616ac3cd4 Fixes substitution bugs 2010-11-26 13:02:14 -06:00
Casey Klein
d927bc117e Fixes the bug with named contexts in a better way 2010-11-26 13:02:14 -06:00
Casey Klein
abf2574189 Fixes a bug introduces while updating to newer version of Redex 2010-11-26 13:02:14 -06:00
Casey Klein
6bfbdfd582 Fixes another bug in continuation mark collection 2010-11-26 13:02:14 -06:00
Casey Klein
8e69aa6ac2 Fixes minor bugs in two core reduction rules 2010-11-26 13:02:14 -06:00
Casey Klein
48a5c19a4e Fixes another bug in continuation mark collection 2010-11-26 13:02:14 -06:00
Casey Klein
d0e03bf53a Updates context matching with missing % contexts 2010-11-26 13:02:14 -06:00
Casey Klein
1147318426 Fixes bug with `in-hole' generation 2010-11-26 13:02:14 -06:00
Casey Klein
e7e504741e Fixes definition of evaluation contexts 2010-11-26 13:02:13 -06:00
Matthew Flatt
04a4ad269f cocoa & gtk: fix set-label with bitmap on message%
Closes PR 11462
2010-11-26 11:59:31 -07:00
Matthew Flatt
1b56d84155 have the pict datatype support conversion to PNG, EPS, or PDF bytes 2010-11-26 11:50:07 -07:00
Matthew Flatt
7cb15899ae add `output' argument to post-script-dc% and pdf-dc% for a byte string
insteda of writing to a file
2010-11-26 11:47:24 -07:00
Matthew Flatt
f73e8c31e8 doc contract fix 2010-11-26 11:31:38 -07:00
Matthew Flatt
8ecd179cb5 fix interactive cancel in post-script-dc% 2010-11-26 11:21:48 -07:00
Matthew Flatt
5aff70029a centralize glib loading as used by racket/draw and Gtk racket/gui 2010-11-26 11:20:15 -07:00
Matthew Flatt
bd0ca0bcec add file/convertible 2010-11-26 10:53:45 -07:00
Matthew Flatt
2edadd6113 add pdf-dc%; make slideshow/pict depend on racket/draw, not racket/gui 2010-11-26 10:35:05 -07:00
Matthew Flatt
7da127227a gtk & cocoa: frame iconize repairs
In the "windowing.rktl" tests, for Gtk there are still race conditions
 between the program and the window manager. But for the first
 time ever, all platforms can pass the "windowing.rktl" test.
2010-11-26 08:33:59 -07:00
Robby Findler
43e25a83f2 props 2010-11-26 09:11:48 -06:00
Matthew Flatt
1f61bbdc51 win32: frame size and iconize fixes 2010-11-26 08:10:58 -07:00
Robby Findler
4c9794acc6 drracket frames leak; add a test case 2010-11-26 08:51:37 -06:00
Mike Sperber
1d154e4bc3 Synch German string constants with latest. 2010-11-26 13:27:35 +01:00
Mike Sperber
dbd1cfaf10 Don't use teach-equal?' for one-of' signature.
I did this under the mistaken assumption `equal?' would not work for
cycles, I think.
2010-11-26 11:10:29 +01:00
Eli Barzilay
22f1c96a4a Remove unused `how-to-use-scheme' string. 2010-11-25 22:10:33 -05:00
Eli Barzilay
be2ea96cc8 "TeachScheme!" -> "Program by Design" in DrRacket 2010-11-25 22:10:33 -05:00
Eli Barzilay
4842c70885 "TeachScheme!" -> "Program by Design". 2010-11-25 22:10:33 -05:00
Eli Barzilay
9caf9f6203 Drop brown build, due to the machine being too problematic. 2010-11-25 22:10:33 -05:00
Matthew Flatt
8e8844641c fix `draw-bitmap-section-smooth' method of bitmap-dc<%> 2010-11-25 11:00:32 -07:00
Matthew Flatt
e9562a8ddc Revert "Fixing use and documentation of draw-bitmap-section-smooth"
because the implementation is wrong, not the documented contract

This reverts commit 68051f845a.
2010-11-25 10:40:06 -07:00
Matthew Flatt
e0bcec0825 cocoa: handle multi-key character input 2010-11-25 10:38:44 -07:00
Jay McCarthy
bd7ffb282f This code appears to have been copied from the other 2010-11-25 12:03:10 -05:00
Jay McCarthy
6474b519bb Fixes usage of argb-pixels 2010-11-25 12:01:44 -05:00
Jay McCarthy
68051f845a Fixing use and documentation of draw-bitmap-section-smooth 2010-11-25 11:47:02 -05:00
Jay McCarthy
e081af2aef This test relied on the old source location losing behavior of Rackunit 2010-11-25 11:38:43 -05:00
Jay McCarthy
81cb890323 Fixing problem introduce in 686ec83. Definitely fixes check-dists, may break bundle, but I don't think so 2010-11-25 11:27:22 -05:00
Jay McCarthy
267d2293c0 Fixing error introduce by Robby in fd53321 2010-11-25 11:11:46 -05:00
Eli Barzilay
4a0c276d4c More content hooks for the wiki template.
(And remove a bogus leftover definition.)
2010-11-25 11:00:15 -05:00
Matthew Flatt
df9c4c8c69 cocoa: don't treat dead-key events as normal character events
but more work is still needed for multi-key input
2010-11-25 08:41:50 -07:00
Matthew Flatt
347869fc9e fix some racket/gui tests and fix cocoa frame centering 2010-11-25 08:03:33 -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
ab070b205e cocoa: finally found the documented API to enable GUI mode 2010-11-25 08:03:32 -07:00
Robby Findler
bf62d4b6d6 get two more 2htdp/image test cases to pass 2010-11-25 09:03:06 -06:00
Robby Findler
a658a7620b a (failed) attempt to fix equality comparison (but at least it is a step in the right direction (I think)) 2010-11-25 06:55:00 -06:00
Robby Findler
57fe568a5e fixed a bug 2010-11-25 06:55:00 -06:00
Robby Findler
6e7530ff86 added empty-image 2010-11-25 06:55:00 -06:00
Jay McCarthy
eecbc539c1 Fixing problem with previous "fix" to mutator-begin 2010-11-24 23:33:42 -05:00
Jay McCarthy
c9dcbb9edb Failing test 2010-11-24 23:33:42 -05:00
Jay McCarthy
32377647f8 Applying GMT RFC1123 patch from YC 2010-11-24 23:33:42 -05:00
tv
11f2653b7e add #:tcp@ to ws-serve for wss: support 2010-11-24 23:33:42 -05:00
Jay McCarthy
b686cc84a9 Removing test because we reintroduced gensym 2010-11-24 23:33:42 -05:00
Matthew Flatt
1034c9be4e fix hashing on C pointers and missing tests 2010-11-24 15:44:18 -07:00
Matthew Flatt
470ed7c996 fix get-face-list bug (caused Windows 7 crash on my test) 2010-11-24 14:25:07 -07:00
Matthew Flatt
bd28f2ab54 make `equal?' equate C pointers that refer to the same address 2010-11-24 13:41:11 -07:00
Matthew Flatt
370c97165a cocoa: fix problem with frame focus 2010-11-24 12:03:17 -07:00
Matthew Flatt
2f4c782434 doc typos 2010-11-24 12:02:46 -07:00
Matthew Flatt
e2072d5afb cocoa: repair location fixup on screen change 2010-11-24 10:38:41 -07:00
Matthew Flatt
14a72b5a08 cocoa: fix problems with frame-list management 2010-11-24 07:12:02 -07:00
Matthew Flatt
0d6d285423 clear objc ivar on `dealloc'
so that a field is not incorrectly used if the super `dealloc' triggers
 callbacks
2010-11-24 07:08:54 -07:00
Matthew Flatt
f245b6ca29 fix bitmap% load-file' method and remove {get,set}-gl-config'
Closes PR 11460
2010-11-24 06:08:44 -07:00
Matthew Flatt
c6ae7377a5 slideshow: use printer-dc on all platforms for --print 2010-11-24 05:44:59 -07:00
Jay McCarthy
9c6b9b8fcd Adding whitespace so you can copy and paste to planet remove on the OS X terminal 2010-11-23 15:42:40 -07:00
Jay McCarthy
88fb21fa26 cleanup 2010-11-23 15:42:40 -07:00
Jay McCarthy
e3153e6d21 Adding normalization display 2010-11-23 15:42:39 -07:00
Vincent St-Amour
e64f8be932 Fix open-input-output-file doc. Closes PR 11371. 2010-11-23 14:15:04 -05:00
Vincent St-Amour
e7c252739d Fix type for abs. Closes PR 11430. 2010-11-23 14:15:04 -05:00
Vincent St-Amour
54991835d6 Add type for fl->exact-integer. Closes PR 11429. 2010-11-23 14:15:04 -05:00
Vincent St-Amour
58d1f75dc1 Fix type for arithmetic-shift. Closes PR 11428. 2010-11-23 14:15:03 -05:00
Vincent St-Amour
7a7fe577cd Add type for integer-sqrt. Closes PR 11427. 2010-11-23 14:15:03 -05:00
Vincent St-Amour
e10f139ad8 Fix type for raise-type-error. Closes PR 11426. 2010-11-23 14:15:03 -05:00
Vincent St-Amour
2c74984fcd More precise type for sgn. Closes PR 11424. 2010-11-23 14:15:02 -05:00
Eli Barzilay
698b3a6c90 Throw an error if the number input for `take' is too big.
Note that this is usually delayed so it's not too useful.  Note that it
*doesn't* force the list -- see the explanation in the comment.

(Related to PR 11458.)
2010-11-23 14:13:26 -05:00
Robby Findler
fd53321823 rackunit: bring back source locations for check-equal? used in 'ho' position 2010-11-23 12:35:10 -06:00
Matthew Flatt
510c3f8a33 cocoa: try to fix problem with drifting gc-blit window 2010-11-23 10:02:45 -07:00
Eli Barzilay
f3c62a0efd Require a non-negative exact integer argument for `take'.
Closes PR 11458.
2010-11-23 10:28:14 -05:00
Eli Barzilay
76c07dd594 Improved `get-bindings' using regexps etc.
(But note that it looks like it reimplements `form-urlencoded->alist'.)
2010-11-23 10:27:46 -05:00
Mike Sperber
a671fddc18 Better signature for `string->number'. 2010-11-22 15:33:49 +01:00
Mike Sperber
39b3a289c5 Update signatutures and explanations on DMdA primitives. 2010-11-22 09:29:54 +01:00
Robby Findler
860de6358c brought the preferences dialog description up to date with reality.
closes PR 11453
2010-11-21 07:39:12 -06:00
Robby Findler
3b56f81b10 adjusted case of 'show line numbers' to match menu / prefs distinction 2010-11-21 07:39:12 -06:00
Robby Findler
84fc640752 refactoring 2010-11-21 07:39:11 -06:00
Matthew Flatt
c94df207a4 cocoa: one more 10.6-only method 2010-11-20 15:45:28 -07:00
Matthew Flatt
bf9b913f33 cocoa: avoid another 10.6-only method
Closes PR 11442
2010-11-20 15:38:17 -07:00
Matthias Felleisen
2a3c66b731 start animate from 0 not 1 2010-11-20 10:37:59 -05:00
Robby Findler
747c735eb3 adjusted scribble's sigplan setup so that the times.sty and qcourier.sty packages can be disabled. 2010-11-19 17:57:13 -06:00
Vincent St-Amour
102419f009 Fixed command-line options for gambit in benchmarks. 2010-11-19 12:10:42 -05:00
Vincent St-Amour
a888325d78 Fixed autobib doc. 2010-11-19 12:10:42 -05:00
Robby Findler
18b94ca853 added scrbl as an extension 2010-11-18 13:21:39 -06:00
Kevin Tew
cc69ceed6b [Parallel-Build] Better error logging for failed match 2010-11-18 11:33:29 -07:00
Matthias Felleisen
14bdcda9a9 rewrote docs for (name ...), Closes PR 11439 2010-11-18 10:26:53 -05:00
Matthias Felleisen
dbe896a969 wrong font size for 1column 2010-11-17 18:56:08 -05:00
Matthew Flatt
421519994d make SSL listeners events 2010-11-17 13:16:53 -07:00
Mike Sperber
99e66e0dea Fix cycle detection in `tequal?'.
... and thus in `check-within', by using an eq? hash table.  Also,
while we're at it, add cycle detection to `tech-equal?'.

Fixes PR #11423.
2010-11-17 17:15:31 +01:00
Mike Sperber
9c607d39e7 Further refine DMdA signatures for lcm' and gcd'. 2010-11-17 17:15:31 +01:00
Jay McCarthy
24dbffaf3b Fixing problem found at Brown 2010-11-17 04:58:09 -07:00
Eli Barzilay
f78e2af4e1 More instructions for pull-request-based workflow 2010-11-17 02:41:05 -05:00
Jon Rafkind
5f2d18c1f9 add in-queue 2010-11-16 23:09:19 -07:00
Jon Rafkind
27b32464c5 add test for sequence used as an expression 2010-11-16 23:09:19 -07:00
Jon Rafkind
c5d56b4a4a typo, gvector instead of vector 2010-11-16 23:09:18 -07:00
Matthew Flatt
1762a9a872 fix set!' of define-for-syntax'ed varable in `let-syntax' RHS 2010-11-16 20:18:11 -07:00
John Clements
b2edac3179 edited async-apply description 2010-11-16 17:56:13 -08:00
Matthew Flatt
584287483b cocoa: avoid another 10.6-only method
Closes PR 11440
2010-11-16 17:08:41 -07:00
Jon Rafkind
7b24eaf58e rename queue-count to queue-length 2010-11-16 14:36:49 -07:00
Jon Rafkind
73be67942d add queue->list 2010-11-16 14:36:49 -07:00
Eli Barzilay
b8bbed6eb4 Throw an error when translating an unknown enum integer to a symbol.
Also, add a keyword argument that can be used to get the old behavior
back.

Also, improve the way the `_enum' and `_bitmask' functions are wrapped.
2010-11-16 15:19:38 -05:00
Eli Barzilay
d2b1bf73e0 A little better prose style 2010-11-16 14:58:52 -05:00
Eli Barzilay
7cf81b5668 Clarify that `current-memory-use' gets a result calculated by the last
GC, and will return 0 if no GCs happened.
2010-11-16 14:47:01 -05:00
Eli Barzilay
afa8e6c86b Add `get-user-custodian' to the sandbox. 2010-11-16 14:47:01 -05:00
Sam Tobin-Hochstadt
82437faa18 Fix docs. 2010-11-16 14:02:47 -05:00
Sam Tobin-Hochstadt
d50eac2eff Sort bib entries by year when authors are equal.
Works only when just the year is specified.
2010-11-16 13:27:50 -05:00
Sam Tobin-Hochstadt
2dbbd1b58e Add @onecolumn option to scribble/sigplan 2010-11-16 12:38:48 -05:00
Sam Tobin-Hochstadt
01c8c281f3 Supress duplicate author lists. 2010-11-16 12:38:48 -05:00
Sam Tobin-Hochstadt
7b61209069 Updated version of sigplanconf.cls 2010-11-16 12:38:48 -05:00
Jon Rafkind
58188ad0c6 add queue-count 2010-11-15 22:32:08 -07:00
Matthew Flatt
f050f28d2b cocoa: fix put-file extension handling when no extensions are supplied 2010-11-15 19:46:41 -07:00
Matthew Flatt
6c844ec415 cocoa: adjust button shape for large fonts 2010-11-15 12:16:42 -07:00
Eli Barzilay
6ae159e8be typo 2010-11-15 00:04:11 -05:00
Eli Barzilay
8946d71d66 Use the expected installed name instead of the downloaded name when applicable. 2010-11-14 22:48:56 -05:00
Jon Rafkind
ee62bae74b save/restore dc state while drawing line numbers 2010-11-14 19:48:21 -07:00
Jon Rafkind
cd4e5e7410 move line numbers option from general to editing->general 2010-11-14 19:48:20 -07:00
Jon Rafkind
c8eb07221d use uppercase 2010-11-14 19:48:20 -07:00
Matthew Flatt
16b75b1f00 cocoa: avoid explicit NSTabViewDelegate
--- not in pre-10.6, seems to crash in 64-bit mode, and not
     necessary to declare
 Closes PR 11418
2010-11-14 15:54:18 -07:00
Matthew Flatt
a8b318da7a fix ffi issue with pointer vs. gcpointer
- don't put a non-gcpointer into a pointer array during ffi call setup
 - fix GCness of pointers to structs inside of structs
2010-11-14 15:54:17 -07:00
Matthew Flatt
279315b582 cocoa: fix ffi-use bug 2010-11-14 15:54:17 -07:00
Robby Findler
616647cb17 drr: remove bad keybindings for next-tab and prev-tag 2010-11-14 06:48:57 -06:00
Eli Barzilay
85c2a333a5 fix path to get-libs.rkt 2010-11-13 13:18:23 -05:00
Matthew Flatt
d2fe39da33 win32: canvas refresh repair 2010-11-13 09:54:47 -07:00
Eli Barzilay
885fa11bfe Change the library download procedure.
Instead of downloading to the build directory and then copy files from
there to the target, download directly to the target.  This way no
downloading is necessary when people use a fresh build directory.
2010-11-13 01:27:15 -05:00
Matthew Flatt
c3e0a7af13 manual tests for refresh behavior 2010-11-12 20:47:07 -07:00
Matthew Flatt
1c6f745ac1 adjust canvas refresh strategy yet again
- there seems to be no need to auto-resume flushes on a canvas,
   which can create flicker if the auto-resume timeout turns out
   to be too short
2010-11-12 20:39:58 -07:00
Matthew Flatt
75bc9bd718 use low-priority callback for gears increment so events are handled 2010-11-12 20:36:54 -07:00
Matthew Flatt
a07f2266c0 fix gl-config% depth default 2010-11-12 20:18:22 -07:00
Matthew Flatt
c1ce863a70 experiment with explicit flush in 2htdp/world 2010-11-12 20:18:03 -07:00
Matthew Flatt
42a4465fb0 fix bytecode compiler bugs in tracking known-flonum arguments 2010-11-12 15:28:57 -07:00
Matthew Flatt
0ac5ff9be0 fix doc typo 2010-11-12 15:28:57 -07:00
Eli Barzilay
5c1bd77b9e Add shuffle' to racket/list'. 2010-11-12 17:21:11 -05:00
Eli Barzilay
c1e1c70dcf Allow optional arguments with default in `cmdline', updated docs. 2010-11-12 17:21:11 -05:00
Eli Barzilay
4f36ce9635 Redo `define-cstruct' with proper errors and more concisely. 2010-11-12 17:21:11 -05:00
Jay McCarthy
578fadb3a9 Horrible Xvnc trick 2010-11-12 15:03:39 -07:00
Noel Welsh
2b799e2714 Merge branch 'master' of pltgit:plt 2010-11-12 10:30:08 +00:00
Ryan Culpepper
7dcd0d408c macro-stepper: map "s" and "h" keys to show and hide selected identifier 2010-11-11 19:10:26 -07:00
Ryan Culpepper
a2c4574688 syntax-parse: improved error for non-syntax attribute in syntax template 2010-11-11 16:14:37 -07:00
Ryan Culpepper
eeb7facdd6 macro-stepper: added module versions of trace, expand/step 2010-11-11 16:14:37 -07:00
Jay McCarthy
dc11fe216d Use grackt always for focus 2010-11-11 15:59:50 -07:00
Jay McCarthy
da60adaec0 Cleanup, putting tests first, Xvnc auth 2010-11-11 15:59:50 -07:00
Jay McCarthy
aabd1652c1 Maybe fixing graph order 2010-11-11 15:59:50 -07:00
Jay McCarthy
a289a9e2f9 Updating info 2010-11-11 15:59:50 -07:00
Jay McCarthy
ff65a2ec17 Fixing a few stupid problems 2010-11-11 15:59:50 -07:00
Jay McCarthy
78ccf5393c Using gracket 2010-11-11 15:59:50 -07:00
Jay McCarthy
765d30f121 Switching to Racket 2010-11-11 15:59:50 -07:00
Jay McCarthy
7a2005811e Renaming files 2010-11-11 15:59:49 -07:00
Jay McCarthy
4a4d929ca8 Racket rename 2010-11-11 15:59:49 -07:00
Jay McCarthy
3a977ada60 Trying Xvnc 2010-11-11 15:59:48 -07:00
Jay McCarthy
16e4d17975 Switching to Xorg 2010-11-11 15:59:48 -07:00
Jon Rafkind
86d7fd5d0c microseconds not nano 2010-11-11 15:46:45 -07:00
Matthew Flatt
0a8e5e604e restore gen-id gensym so that decompiler works 2010-11-11 14:39:45 -07:00
Jon Rafkind
c17cf8db71 note about milliseconds and nanoseconds 2010-11-11 15:28:04 -07:00
Robby Findler
5a9c469b0f added forall to go along with exists contracts 2010-11-11 14:39:43 -06:00
Jon Rafkind
bcef0dbfe2 increase delay value before refresh to 100 2010-11-11 13:29:01 -07:00
Jon Rafkind
de16fb118e improve define-cstruct error messages. closes pr11422 2010-11-11 13:27:49 -07:00
Eli Barzilay
735c4deac7 Throw a proper syntax error on uses of the ffi `->'.
Closes PR 11421
2010-11-11 13:39:49 -05:00
Eli Barzilay
32de59e0c1 Shuffle the texts around, so the front page looks decent in text
browsers.
2010-11-11 13:39:21 -05:00
Eli Barzilay
8e1b773df7 Crop the unused space on the download button image, which makes placing
it much easier.  Use this to move the button before the "Start Quickly"
header, making it show better in non-CSS text browsers.

Also, set a fixed height for the `slideshowframe' class, so the text
below it doesn't jump; rename `alts-panel' to `slideshow-panel';
and use `struct'; and more improvements.
2010-11-11 11:18:35 -05:00
Eli Barzilay
686ec837e9 Avoid useless output 2010-11-11 00:19:17 -05:00
Eli Barzilay
e3592e10a8 Remove all mentions of UnicoWS.
Also, get rid of "uniplt.c", and fix "src/racket/src/string.c" and
"src/gracket/grmain.c" to use CharLowerBuffW().
2010-11-10 23:48:35 -05:00
Eli Barzilay
d58395cd0b Provide library lists out of "get-libs.rkt" and make it possible to require it
without doing anything, use this in the distribution specs to include them.
2010-11-10 23:44:36 -05:00
Eli Barzilay
6a997be578 Make get-libs retreive core racket libraries too.
Also move it up a level, since it's a more generic tool now.
2010-11-10 20:40:49 -05:00
Eli Barzilay
614f100e8f Move "src/worksp/extradlls" to libs. 2010-11-10 20:40:48 -05:00
Eli Barzilay
689f2ac5c8 Switch from "subcommand" to the more convenient bash "$(subcommand)". 2010-11-10 20:40:48 -05:00
Eli Barzilay
82bec21251 Allow another command-line argument after `ask' to have answers for the
questions.
2010-11-10 20:40:47 -05:00
Eli Barzilay
b5e82efe27 Make the front page a little friendlier to browsers that have no CSS
support and no JS.
2010-11-10 20:40:47 -05:00
Eli Barzilay
f2af8fa380 Fix error messages.
1. Before:

     (define-syntax-rule (foo x) = (+ x 1))
     define-syntax-rule: too many templates at: ((+ x 1)) in: (define-syntax-rule (foo x) = (+ x 1))

   after:

     define-syntax-rule: too many forms at: (+ x 1) in: (define-syntax-rule (foo x) = (+ x 1))

2. Before:

     (define-syntax-rule (foo x) (+ x 1))
     (foo "bar" "baz")
     foo: `(bar baz)' did not match pattern `(x)' in: (foo "bar" "baz")

   after:

     foo: (foo "bar" "baz") did not match pattern (foo x) in: (foo "bar" "baz")
2010-11-10 20:40:47 -05:00
Matthew Flatt
d7369f819c cocoa: set button control size when font is small
Closes PR 11404
2010-11-10 17:54:07 -07:00
Matthew Flatt
b6b3298567 cocoa: avoid 10.6-specific method for menu popup 2010-11-10 17:54:07 -07:00
Kevin Tew
6efc3c5550 [parallel-build] print errors immediately as well as at the end of the build 2010-11-10 13:12:23 -07:00
Kevin Tew
14b14ebabc Get info from drdr about build crash 2010-11-10 13:12:23 -07:00
Kevin Tew
3ec54a61c2 shorten some lines 2010-11-10 13:12:23 -07:00
Mike Sperber
c7700dbe06 Fix signatures for gcd' and lcd' in DMdA. 2010-11-10 18:59:40 +01:00
Mike Sperber
c6334b549f "list" -> "list-of" in DMdA docs. 2010-11-10 18:58:37 +01:00
Matthew Flatt
27752c4695 plot bug fixes, including new images and a more forgiving image-equality test 2010-11-10 09:18:50 -07:00
Matthew Flatt
8d1827222c improve docs in 'interior allocation mode and improve 'interior-atomic 2010-11-10 09:18:31 -07:00
Mike Sperber
69b858a7f5 Unbreak printing in DMdA.
Fix the the name by which the HtDP and DMdA languages refer to the
signatures module, making sure everybody sees the same properties.
2010-11-10 07:32:52 +01:00
Vincent St-Amour
c7d67f9bab *SL: first and rest should not report errors in terms of car and cdr. 2010-11-09 21:16:17 -05:00
Eli Barzilay
6675287f68 Use `fakeroot' to avoid chown mess. 2010-11-09 20:13:08 -05:00
Eli Barzilay
b712354f35 Better solution than previous hack test-drracket.rkt 2010-11-09 20:13:08 -05:00
Eli Barzilay
6b8b0b16b9 Fix for matrix snips 2010-11-09 20:13:07 -05:00
Eli Barzilay
8e0c7477f6 drop "www." from "racket-lang.org" urls. 2010-11-09 20:11:14 -05:00
Jon Rafkind
19da99f7e8 use #f to propagate correct identifier 2010-11-09 18:05:59 -07:00
Jon Rafkind
81eac261dc better error message for define-syntax-rule 2010-11-09 17:24:05 -07:00
Ryan Culpepper
3936a40717 macro-stepper: track phase of binders, definites 2010-11-09 17:02:35 -07:00
Ryan Culpepper
261d67a6e7 macro-stepper: pretty-print define-for-syntax etc 2010-11-09 17:02:35 -07:00
Ryan Culpepper
2620e750f3 macro-stepper: specialized data structure for definites 2010-11-09 17:02:35 -07:00
Matthew Flatt
168a2c1591 use #x3FFFFFF instead of #x3FFFFFFF for max size of an unbounded frame
because sawfish is unhappy with #x3FFFFFFF
2010-11-09 16:59:01 -07:00
Matthew Flatt
a0a414465d fix problem with multiple captures of the same continuation
--- a bug introduced when enabling full continuations
     to escape past continuation barriers in v5.0.1
 Closes PR 11409
2010-11-09 16:48:23 -07:00
Matthew Flatt
7ff8ce61db explicitly discard patseboard mouse events when not handled in universe 2010-11-09 16:48:23 -07:00
Casey Klein
dd9ab8f2a4 Revert "Displays the panes in descending order (to match graph's time axis)"
This reverts commit 0d1578cbb1.
2010-11-09 14:57:36 -06:00
Casey Klein
0d1578cbb1 Displays the panes in descending order (to match graph's time axis) 2010-11-09 14:49:04 -06:00
Ryan Culpepper
02f301b3b7 macro-stepper: reorganize code to make draw-arrows?=#f more useful 2010-11-09 11:40:32 -07:00
Ryan Culpepper
199450dd0c macro-stepper: faster step rendering
- lazily build on-click mapping
  - more precise un-styling on refresh
2010-11-09 10:03:45 -07:00
Ryan Culpepper
75079ec421 macro-stepper: gui improvements
- give "?" of ?-arrows a white background
  - improved clickback replacement
  - fixed tack/untack
2010-11-09 10:03:45 -07:00
Ryan Culpepper
a506d75b54 macro-stepper: replace clickbacks for syntax selection
fixed interval-map bug
2010-11-09 10:03:45 -07:00
Ryan Culpepper
82d6deebad macro-stepper: fixed deadlock (recursive yield) 2010-11-09 10:03:44 -07:00
Ryan Culpepper
1fe73ffaef macro-stepper: fix race condition in frame init / events 2010-11-09 10:03:44 -07:00
Casey Klein
ae164d281b Adds optional `::=' keyword to language definition forms 2010-11-09 10:14:50 -06:00
Robby Findler
e9c90dc580 add .scrbl to liked extensions in drracket 2010-11-09 09:04:14 -06:00
Matthew Flatt
c9b7c98525 cocoa: use alternate key if ctl-combination has no mapping
--- fixes ctl-space, and maybe other combinations
 Closes PR 11403
2010-11-09 06:55:37 -07:00
Matthew Flatt
58b7922033 use Racket file I/O for post-script-dc% 2010-11-09 06:55:37 -07:00
Jay McCarthy
05f43324a9 Attempting to fix DrDr re gr2 2010-11-08 20:22:03 -07:00
Jon Rafkind
d920cdc945 set pen to black so the line separator is drawn in the right color 2010-11-08 18:10:08 -07:00
Matthew Flatt
0a179481a5 fix continuation capture in continuation transferred to a thread
where the prompt is the implicit one at the thread's creation
 Closes PR 11382
2010-11-08 18:06:07 -07:00
Matthew Flatt
7940f14896 fix `draw-arc'
Closes PR 11399
 (Thanks Stephen!)
2010-11-08 14:32:30 -07:00
Matthew Flatt
90ac279096 add 'can-impersonate option to `make-struct-type-property' 2010-11-08 14:00:59 -07:00
Stevie Strickland
0237050ae0 Improve ->* expansion in certain cases.
In some expansions, the function used to check the results could appear
multiple times in the expansion.  Factor out the results checker so that
we expand into multiple references to the same name, instead of inlining
the same lambda multiple times.
2010-11-08 15:36:53 -05:00
Jay McCarthy
aaf7e32a11 Easier graph maker 2010-11-08 09:18:54 -07:00
Eli Barzilay
da31296bf9 Add plot sources and resulting libraries to distribution specs. 2010-11-08 09:48:00 -05:00
Eli Barzilay
f5f1243b33 Move "fuzz.rkt" test to "tests/racket/stress". 2010-11-08 09:48:00 -05:00
Eli Barzilay
f29e4c860b Remove erroneous files 2010-11-08 09:48:00 -05:00
Matthew Flatt
83bcdbbd81 cocoa: fix save-file dialog when other extensions should be allowed 2010-11-08 07:12:03 -07:00
Matthew Flatt
3747978c1e cocoa: fix ctl-\ key event 2010-11-08 07:03:51 -07:00
Matthew Flatt
7f67b6569c v5.0.99.2: proxy' -> impersonator' 2010-11-08 06:23:16 -07:00
Matthew Flatt
bc2c95f564 fix cm test that used gl-info_rkt.zo (which is now gone) 2010-11-07 19:21:03 -07:00
Matthew Flatt
3b470fe47b small doc improvements on internal definitions 2010-11-07 19:21:03 -07:00
Eli Barzilay
bc4f4e7a45 Fix the simple drracket test 2010-11-07 19:35:53 -05:00
Eli Barzilay
d8945c0bd1 go to PLTHOME before getting the libraries 2010-11-07 18:39:03 -05:00
Eli Barzilay
9a1f19dba7 typo 2010-11-07 18:23:16 -05:00
Eli Barzilay
bb31599718 Download libraries in w32 build code 2010-11-07 17:54:20 -05:00
Robby Findler
38b9b25ae0 redex: added indication of caching for metafunction tracing 2010-11-07 15:31:18 -06:00
Robby Findler
c192a1e1f8 fixed bugs in the racket/trace docs (added docs for two exported parameters and fixed a contract) 2010-11-07 15:31:18 -06:00
Robby Findler
a63bbf82ab added current-trace-results 2010-11-07 15:31:18 -06:00
Jon Rafkind
96018f258c check last-line + 1 2010-11-07 12:19:49 -07:00
Jon Rafkind
74fce96d92 add dx offset when drawing 2010-11-07 12:06:34 -07:00
Matthew Flatt
23908c2372 gtk: initialize canvas backing to white 2010-11-07 07:16:12 -07:00
Matthew Flatt
fe208c63bd add some missing bitmap% and dc<%> docs 2010-11-07 07:14:59 -07:00
Matthew Flatt
e402d68efc fix `find-graphical-system-path' 2010-11-07 07:08:33 -07:00
Matthew Flatt
ba2ea79f12 fix and document failure handling of image reading in bitmap% 2010-11-07 06:50:52 -07:00
Eli Barzilay
c195e2b201 v5.0.2 stuff 2010-11-07 00:46:22 -04:00
Matthew Flatt
cccfdbe2c4 misc clean-up related to build changes 2010-11-06 22:08:15 -06:00
Matthew Flatt
53febbeb6c cocoa: fix a double vs. float mismatch in getting scroll positions 2010-11-06 21:22:52 -06:00
Matthew Flatt
9b7e09f4b4 fix bitmap-dc% constructor 2010-11-06 21:16:50 -06:00
Eli Barzilay
d0e7f2c471 Change the linux platform names.
For example, instead of "Linux - Fedora 7 (x86_64)", use "Linux x86_64
(Fedora 7)".  Hopefully, this will make it clearer that it's often fine
to use some linux installer on a different platform than the one it was
made on.  (For example, some people wanted an AMD64 build for Ubuntu,
and eventually it turned out that the x86_64 build on Fedora worked
fine.)

This is even more relevant now since the C part is much less platform
dependent in the linux distro sense.
2010-11-06 21:51:45 -04:00
Matthew Flatt
514706446e overhaul plot organization
by moving needed C source to src/plot and building during `make',
 but stripping out the copies of gd, png, and zlib; instead, hook
 a dc<%>-based back end into plot
2010-11-06 16:54:29 -06:00
Matthew Flatt
557b799939 abandon gl-info inference of GL types via C compilation
because it depends on locating GL headers at configure
 time, and it creates platform-specific code in the collects
 tree; the platforms that we support all have the obvious
 mappings for the GL types
2010-11-06 16:54:28 -06:00
Matthias Felleisen
0f856dede5 sync bug eliminated 2010-11-06 10:19:24 -04:00
Matthias Felleisen
28fc8a3eef fixed the documentation of contracts-first-extended, added code examples 2010-11-06 10:19:24 -04:00
Matthias Felleisen
c83cf15695 fixed some typos, and in the process rewrote some prose 2010-11-06 10:19:24 -04:00
Matthew Flatt
20b8b8c5ab dist-spec repairs 2010-11-05 22:21:26 -06:00
Matthew Flatt
58d0b14822 remove obsolete afm collection 2010-11-05 22:04:52 -06:00
Matthew Flatt
694745e998 first cut at splitting draw and gui docs 2010-11-05 21:57:13 -06:00
Matthew Flatt
59bf78b6c8 avoid xor for pasteboard rubberband hiliting 2010-11-05 20:26:24 -06:00
Matthew Flatt
601b411671 fix release-note link and version 2010-11-05 15:54:57 -06:00
Matthew Flatt
1db27b474f fix merge mistake 2010-11-05 15:54:56 -06:00
Matthew Flatt
263000a7b8 v5.0.99.1 2010-11-05 15:54:56 -06:00
Matthew Flatt
f935266257 win32: fix combo% on-popup 2010-11-05 15:54:56 -06:00
Matthew Flatt
39596efef5 cocoa and gtk: fix combo% `on-popup' method 2010-11-05 15:54:56 -06:00
Matthew Flatt
c6710b8938 text drawing not aligned in any smoothing mode 2010-11-05 15:54:55 -06:00
Matthew Flatt
9a408302c1 dc fixes: default brush is white; combined text uses baseline drawing mode 2010-11-05 15:54:55 -06:00
Matthew Flatt
9f42fa0e6f win32: fix flush duplocate def 2010-11-05 15:54:55 -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
64d9a391cf win32: fix flush and periodic canvas flush 2010-11-05 15:54:55 -06:00
Matthew Flatt
4d316f7851 win32: periodic canvas flushing 2010-11-05 15:54:55 -06:00
Matthew Flatt
72a19d2ab3 gtk: periodic canvas flushing 2010-11-05 15:54:54 -06:00
Matthew Flatt
9fbb7d3a99 win32: fix some test failures 2010-11-05 15:54:54 -06:00
Matthew Flatt
e033d9edf1 cocoa & gtk: fix some test failures 2010-11-05 15:54:54 -06:00
Matthew Flatt
f829424783 win32: further deallocation fixes, plus some test fixes 2010-11-05 15:54:54 -06:00
Matthew Flatt
ad9315ba6b win32: further deallocation fixes, plus some test fixes 2010-11-05 15:54:54 -06:00
Matthew Flatt
daf7f6dd17 win32: change HWND allocation and deallocation 2010-11-05 15:54:54 -06:00
Matthew Flatt
3bcfd5cf7f fix pango lib access 2010-11-05 15:54:54 -06:00
Matthew Flatt
da6397e006 cocoa: hack around a problem with application hiding 2010-11-05 15:54:54 -06:00
Matthew Flatt
fcf7198e7c fix get-argb-pixels on monochrome bitmap's non-alpha 2010-11-05 15:54:53 -06:00
Matthew Flatt
a0ad1ebec0 revent region alignment until Gtk problem sorted out 2010-11-05 15:54:53 -06:00
Matthew Flatt
aa958f8986 slideshow: consistent rounding for clickbacks 2010-11-05 15:54:53 -06:00
Matthew Flatt
f74c0de6ad use alignment when installing regions 2010-11-05 15:54:53 -06:00
Matthew Flatt
50caefcb38 cocoa: convince dock to not resurrect a closed frame 2010-11-05 15:54:53 -06:00
Matthew Flatt
4e8f51741e use readonly version of Pango function 2010-11-05 15:54:53 -06:00
Matthew Flatt
03aee62647 fix drunken text
by always using Pango and Cairo commands that depend on the baseline
 of text, instead of sometimes using top and sometimes using baseline
2010-11-05 15:54:52 -06:00
Matthew Flatt
af6cad4913 destroy windows via finalization outside of the event loop 2010-11-05 15:54:52 -06:00
Matthew Flatt
9eabda614c no need for libgio reference 2010-11-05 15:54:52 -06:00
Matthew Flatt
6065f8cf12 avoid functions not available in Debian Stable 2010-11-05 15:54:52 -06:00
Matthew Flatt
6fa9ee22a7 remove debugging printf 2010-11-05 15:54:51 -06:00
Matthew Flatt
58e1e37734 fix bug in ffi struct alignment 2010-11-05 15:54:51 -06:00
Matthew Flatt
0b96d7b326 link porting notes from release-notes doc page 2010-11-05 15:54:51 -06:00
Matthew Flatt
4891b87ea1 cocoa: another screen-change workaround 2010-11-05 15:54:50 -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
4f55d22705 fix mistake cocoa screen notification 2010-11-05 15:54:49 -06:00
Matthew Flatt
ffebbfdbe0 ask png library for its version 2010-11-05 15:54:49 -06:00
Matthew Flatt
3abecbc95d gtk: enable "really overwrite?" dialog for `put-file' 2010-11-05 15:54:49 -06:00
Matthew Flatt
47c032ff34 work around cocoa display-change issue 2010-11-05 15:54:48 -06:00
Matthew Flatt
bffff78aad misc fixes, especially cocoa 2010-11-05 15:54:48 -06:00
Matthew Flatt
99266dcdcf cocoa: fix menu set-label 2010-11-05 15:54:48 -06:00
Matthew Flatt
a0e5a62873 fix gif extension-block and transparency reading 2010-11-05 15:54:48 -06:00
Matthew Flatt
2c77565721 gtk: swap alt and meta reporting 2010-11-05 15:54:48 -06:00
Matthew Flatt
4f2e59e7a6 some fixes prompted by the test suite 2010-11-05 15:54:48 -06:00
Matthew Flatt
20ab31743d fix yet another mistake in atomic-mode implementation 2010-11-05 15:54:47 -06:00
Matthew Flatt
d2275f4179 level-2 finalization from ffi/unsafe and late-weak references 2010-11-05 15:54:47 -06:00
Matthew Flatt
40a65a46d2 overhaul GC finalization 2010-11-05 15:54:47 -06:00
Matthew Flatt
73dd8cc697 fix gc handling of ephemeron chains 2010-11-05 15:54:47 -06:00
Matthew Flatt
dee93e6259 define-runtime-module-path-index and racket/gui/dynamic fixes 2010-11-05 15:54:46 -06:00
Matthew Flatt
a7426c1c27 cocoa: fix startup -psn_ and file handling 2010-11-05 15:54:46 -06:00
Matthew Flatt
3294d3427a fix nested atomic escape 2010-11-05 15:54:46 -06:00
Matthew Flatt
f57961fba4 cocoa ppc repairs 2010-11-05 15:54:46 -06:00
Matthew Flatt
fcb0583724 fix racket/gui/dynamic 2010-11-05 15:54:46 -06:00
Matthew Flatt
6a897ba36c cocoa & win32: Courier New as 'modern font 2010-11-05 15:54:45 -06:00
Matthew Flatt
2cebc60eca ppc cocoa 2010-11-05 15:54:45 -06:00
Matthew Flatt
391cbe1315 more pre-2.0 objc fixes 2010-11-05 15:54:45 -06:00
Matthew Flatt
8c5db384d4 more obj-c pre-2.0 fixes 2010-11-05 15:54:45 -06:00
Matthew Flatt
789563f82b support pre-2.0 Objective-C 2010-11-05 15:54:45 -06:00
Matthew Flatt
60897722c4 win32: fixes for create executable 2010-11-05 15:54:45 -06:00
Matthew Flatt
75a6bfe119 improve runtime-path support for building stand-alone gui exes 2010-11-05 15:54:44 -06:00
Matthew Flatt
bcbe42f4ff improve protection against multiple instantiation 2010-11-05 15:54:44 -06:00
Matthew Flatt
881c182956 editor insert-image uses alpha by default 2010-11-05 15:54:44 -06:00
Matthew Flatt
df2626ad44 adjust libpng and linjpeg references for FreeBSD 2010-11-05 15:54:44 -06:00
Matthew Flatt
003ba8439a win32: paste bitmap 2010-11-05 15:54:44 -06:00
Matthew Flatt
df94c04823 win32: control font 2010-11-05 15:54:44 -06:00
Matthew Flatt
ad9209f1e9 gtk: image paste 2010-11-05 15:54:44 -06:00
Matthew Flatt
56f311d204 cocoa: bitmap from clipboard 2010-11-05 15:54:43 -06:00
Matthew Flatt
be5920618d cocoa: avoid 10.6-only clipboard method 2010-11-05 15:54:43 -06:00
Matthew Flatt
ca64c25cf9 cocoa: control fonts 2010-11-05 15:54:43 -06:00
Matthew Flatt
42dc870c10 gtk: use system preference for font 2010-11-05 15:54:43 -06:00
Matthew Flatt
93d59f4cf5 gtk: configurable control font 2010-11-05 15:54:43 -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
177c972a52 fix some region% reporting 2010-11-05 15:54:43 -06:00
Matthew Flatt
c4ab7733c1 gtk: on-activate and single-instance fixes 2010-11-05 15:54:42 -06:00
Matthew Flatt
3ae3d15d93 win32: iconize and refresh problems 2010-11-05 15:54:42 -06:00
Matthew Flatt
970f40c796 fix region handling by printer-dc% 2010-11-05 15:54:42 -06:00
Matthew Flatt
0521f20f26 avoid 10.6-only print-scaling methods 2010-11-05 15:54:42 -06:00
Matthew Flatt
4360a45fa6 win32: single-instance support 2010-11-05 15:54:42 -06:00
Matthew Flatt
045da06ace gtk: command line and single-instance support 2010-11-05 15:54:42 -06:00
Matthew Flatt
cd1fb5bea9 change DrRacket to aviod rebuilding some menus unnecessarily 2010-11-05 15:54:42 -06:00