Commit Graph

26052 Commits

Author SHA1 Message Date
Robby Findler
0d92608367 rename contract-gui.rkt to blueboxes-gui.rkt 2012-08-23 21:42:07 -05:00
Robby Findler
d3b4db2ed1 fix the computation of the minimum width for the blue boxes
(you could see it going wrong with 'this' from racket/class)
2012-08-23 21:27:00 -05:00
Robby Findler
4a0506a24f adjust struct/dc so error say "struct/dc" not "-struct/dc" 2012-08-23 18:59:11 -05:00
Robby Findler
66b78bf488 add a check that struct/c can find all of the selectors in the current scope 2012-08-23 18:59:11 -05:00
Robby Findler
1ad2c75531 add the ability to specify #:parent to struct/dc (and fix struct/c to use it)
closes PR 13049
2012-08-23 18:59:11 -05:00
Sam Tobin-Hochstadt
0233c5a14f Move Ephemeronof documentation.
Closes PR 12952.
2012-08-23 14:04:37 -04:00
Matthew Flatt
edd2035f88 racket/draw: fix set-clipping-rect' in record-dc%' 2012-08-23 09:42:34 -06:00
Matthew Flatt
d9784aa7eb win32 racket/gui: fix decoding of system font name
Closes PR 12997
2012-08-23 08:16:23 -06:00
Robby Findler
8ed42e6162 rename function scale-to-fit to avoid conflict
with newly introduced function with that name
2012-08-22 22:47:50 -05:00
Robby Findler
7647e94eee add scale-to-fit to slideshow/pict 2012-08-22 22:06:07 -05:00
Robby Findler
f40277df89 Rackety 2012-08-22 22:06:07 -05:00
Asumu Takikawa
07119c371d Fix stream bug introduced by generics
Stream generic operations stopped working for lists
since the operations used only the generic dispatcher
instead of the real generic functions.

(Moral of this story: write more tests)
2012-08-22 18:15:25 -04:00
Matthew Flatt
7a0281c571 props fixup 2012-08-22 15:58:00 -06:00
Matthew Flatt
c9a7d310ca remove a useless compiler transformation
The bytecode compiler used to convert an expresison like

  (<flonum-op> <simple-expr> <complex-expr>)

to

 (let ([id <complex-expr>])
   (<flonum-op> <simple-expr> id))

to help an older version of the JIT avoid boxing the result of
<simple-expr>, but that transformation isn't needed, since the JIT can
keep unboxed values on the stack.

The transformation was complex and apparently buggy.

The changes also include a repair to the JIT for code that the
bytecode compiler formerly wouldn't generate, but which is allowed
bytecode.

Closes PR 13052
2012-08-22 15:52:46 -06:00
Sam Tobin-Hochstadt
b7f9c77069 Remove #:transparent to work around place message limitations. 2012-08-22 16:50:50 -04:00
Sam Tobin-Hochstadt
e207f5c67d Add -v option to TR tests.
Also, print errors from serialization and place message sending.
2012-08-22 16:50:50 -04:00
Eric Dobson
e9f209977b Fix typechecking of polymorphic structs with parent types.
Closes PR12998.
2012-08-22 16:50:49 -04:00
John Clements
a5ddd73000 removed vestigial mz-testing file 2012-08-22 10:14:13 -07:00
John Clements
46899084f1 use for rather than let loop 2012-08-22 10:14:13 -07:00
Matthew Flatt
2d1cf47636 add `flexpt' to compiler's table of flonum functions
Relevant to PR 13052 - works around the problem while improving
the optimizer, but doesn't fix the real problem, I think.
2012-08-22 10:30:12 -06:00
Matthew Flatt
ef525233a2 references: link "A parameter that..." to the definition of "parameter" 2012-08-22 10:28:56 -06:00
Ryan Culpepper
c4edc684eb db: added notes about custodians and connection-pool, virtual-connection 2012-08-22 11:55:11 -04:00
Ryan Culpepper
c7a6272f4b added unstable/error, raise-misc-error 2012-08-22 11:55:11 -04:00
Ryan Culpepper
9bd5a9189b db: use log-based-eval for most examples 2012-08-22 11:55:05 -04:00
Ryan Culpepper
062a8ef5e7 added make-log-based-eval 2012-08-22 11:54:15 -04:00
Ryan Culpepper
f5b86c1ddd added make-variable-like-transformer 2012-08-22 11:31:22 -04:00
Sam Tobin-Hochstadt
26a57f6420 Use module registry trick to slightly speed up TR tests. 2012-08-22 11:13:07 -04:00
Matthew Flatt
30da0f4bf4 fix internal position adjustment for `pane%'
Closes PR 13038
2012-08-22 09:07:05 -06:00
Robby Findler
f95f2fac54 plug a leak in online compilation that could hold onto
definition text% objects (and thus tabs and frames)
2012-08-21 19:37:27 -05:00
Matthew Flatt
5c7ddb1775 fix doc bug 2012-08-21 18:23:50 -06:00
Matthew Flatt
50980e2831 fix use of compiled startup code 2012-08-21 18:21:56 -06:00
Jon Rafkind
6dae03f283 correctly apply map to its argument due to an early ). Fixes PR 13047 2012-08-21 16:23:44 -06:00
Sam Tobin-Hochstadt
e705d4d450 Parallelize running Typed Racket optimizer tests.
No speedup yet, though.
2012-08-21 17:47:30 -04:00
Sam Tobin-Hochstadt
b601f52d4f Add open-place. 2012-08-21 17:13:16 -04:00
Asumu Takikawa
46ece20b09 Fix typo introduced by 965a74453f
(Moral of story: be careful with regexps)
2012-08-21 16:35:37 -04:00
Asumu Takikawa
9a65f9aaf0 Delete trailing whitespace 2012-08-21 16:20:26 -04:00
Asumu Takikawa
965a74453f Add #:forall, #:∀ to contract-out 2012-08-21 16:20:26 -04:00
Asumu Takikawa
a5d1007696 racket/generic: allow impersonator contracts
This enables the use of polymorphic contracts with generic
interfaces and their instances.
2012-08-21 12:43:48 -04:00
Sam Tobin-Hochstadt
71e81f9fff Add some examples for cast. 2012-08-21 10:50:34 -04:00
Eric Dobson
1248b32e73 Adding documentation for cast and make-predicate.
Also converted tabs to spaces.
2012-08-21 10:50:34 -04:00
Matthew Flatt
3c744229e8 ffi/unsafe docs: improve `_cprocedure' docs
Among other improvements, add information about reachability of
callout arguments.
2012-08-21 08:42:33 -06:00
Robby Findler
33b89d6cb4 clarify control-based keybindings
closes PR 13043
2012-08-21 08:28:42 -05:00
Robby Findler
f1a4aeedba control-alt for menu selections probably shouldn't be
used under windows, so just give a menu shortcut under
macosx and under windows rely on the underscore thingy
2012-08-21 08:16:39 -05:00
Robby Findler
e14013670a disable standalone submod.rkt test. it is run by run-all.rkt and
running it in parallel with other planet tests is not safe
2012-08-20 20:30:52 -05:00
Robby Findler
e41aa93e6e fix a bug in the event handling that would cause updates
to the blue box to get missed when it was open via the mouse
(as opposed to be tacked open)
2012-08-20 20:30:52 -05:00
Matthew Flatt
5e5e503859 scribble/manual: add #:normalize?' option to deftech' et al. 2012-08-20 17:37:24 -06:00
Matthew Flatt
1ca5767684 fix docs for `deftech': mention case folding 2012-08-20 17:37:19 -06:00
Jon Rafkind
5bf68d32d5 [honu] remove context argument 2012-08-20 16:25:38 -06:00
Sam Tobin-Hochstadt
5fb4819703 Add type for processor-count. 2012-08-20 14:49:11 -04:00
Sam Tobin-Hochstadt
1c275ffcc7 Don't use places for running single tests. 2012-08-20 14:45:50 -04:00