Commit Graph

19886 Commits

Author SHA1 Message Date
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
Matthew Flatt
76b475aa27 avoid compiler warnings 2010-12-26 06:47:53 -06:00
Matthew Flatt
4094bd33f0 fix allocation bug in logging-message construction 2010-12-26 06:47:52 -06:00
Matthew Flatt
f11e66fd71 fix sgcdebug configuration 2010-12-26 06:47:51 -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
Matthew Flatt
391e7f486f fix signedness bug in GC
which fixes memory accounting in particular
2010-12-21 12:39:18 -06:00
Matthew Flatt
ad890077d0 JIT-inline `values' and make it synced (not "unsafe") for futures 2010-12-21 11:06:35 -06:00
Matthew Flatt
17c802c2e1 compiler: (let ([x (begin M ... N)]) P) => (begin M ... (let ([x N]) P)) 2010-12-21 11:06:35 -06: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