Commit Graph

31448 Commits

Author SHA1 Message Date
Jay McCarthy
80ba30eaab Fix PR14175 2013-11-19 13:22:48 -07:00
Vincent St-Amour
49cd879bf8 Only recommend expanding union types.
Closes PR14166.
2013-11-19 14:28:27 -05:00
Vincent St-Amour
8683a2188b Update profile docs to be consistent with output of errortrace mode. 2013-11-19 12:15:35 -05:00
Vincent St-Amour
22def35d68 Show expressions in errortrace profiles, instead of just symbols.
Since profile nodes report the time spent in, e.g., an entire call
expression (including argument evaluation), and not just in the body of
the operator, showing only the operator in the profile is misleading.
2013-11-19 12:15:33 -05:00
Sam Tobin-Hochstadt
d1abf632b1 Allow clients of recover-source-syntax to ask for early traversal. 2013-11-19 12:15:19 -05:00
Sam Tobin-Hochstadt
1e7eb34ba1 Implement statistical errortrace-based profiling.
Add a mode to the profiler to use continuation marks inserted
by the errortrace annotator instead of the runtime.

Split `syntax/source-syntax` out from Typed Racket as a separate package,
and use it to give better names for errortrace stack frames.
Use caching to speed it up substantially when called repeatedly (as
errortrace does).

Also, document (internally) the format used by errortrace marks.
2013-11-19 12:15:17 -05:00
Sam Tobin-Hochstadt
83827577d3 Required identifiers cannot error on use. 2013-11-19 12:06:26 -05:00
Sam Tobin-Hochstadt
dc79012a5c Remove one-armed if handling.
This is no longer possible since #%kernel `if` requires two arms.
2013-11-19 12:06:26 -05:00
Sam Tobin-Hochstadt
05dcb2847c Remove dead code.
Not only is `st-mark-bindings` documented to always return `null`,
but DrRacket does not use `make-st-mark` to insert bindings in the
first place.
2013-11-19 12:06:26 -05:00
Sam Tobin-Hochstadt
4eba6b9d4b Clarify the data definitions used by drracket for stacktraces.
In particular, it is not the same format as errortrace uses internally.
2013-11-19 12:06:26 -05:00
Sam Tobin-Hochstadt
e6ca7e78d0 Make profile-lib a single-collection package. 2013-11-19 12:06:26 -05:00
Sam Tobin-Hochstadt
10a3140ff1 Fix benchmarks to not use collection-path. 2013-11-19 12:06:26 -05:00
Asumu Takikawa
f2ddc66333 Generate channel contracts in TR 2013-11-19 12:02:10 -05:00
Jay McCarthy
b563f0c876 Fixing PR14169 2013-11-19 08:53:59 -07:00
Jay McCarthy
6d06e8c66d Fixing PR14168 2013-11-19 08:53:59 -07:00
Jay McCarthy
dca5888465 Fix PR14167 2013-11-19 08:53:59 -07:00
Matthew Flatt
b64f74bbed racket/gui cocoa: fix for Mac OS X before 10.7
I forgot to guard a NSScreen method called for Retina support
with a version check.
2013-11-19 07:19:25 -07:00
Asumu Takikawa
8323e679eb Add channel contracts 2013-11-19 01:41:05 -05:00
Robby Findler
1b47cf5898 clean up mistakes in 21807d3
- remove bogus test case
- fix bug in collector
- fix bug in test
2013-11-18 21:49:30 -06:00
Robby Findler
d2fd37c251 attempt to add a little more information
to help diagnose this (and related) failures:

http://drdr.racket-lang.org/27793/pkgs/drracket-pkgs/drracket-test/tests/drracket/easter-egg.rkt
2013-11-18 21:49:30 -06:00
Robby Findler
62615f492d quote a name in an error message 2013-11-18 21:49:30 -06:00
Max New
a2021fa634 Fix in-hole enum bug and add test case 2013-11-18 21:12:19 -06:00
Max New
0b663736fb Add redex enum support for cross patterns 2013-11-18 20:14:07 -06:00
Max New
1e6786eedf Clean up preprocess-lang 2013-11-18 20:14:07 -06:00
Robby Findler
21807d3790 add a collector that moves things around (in a dumb kind of a way)
catches the bug fixed in acbc80edd
2013-11-18 19:28:33 -06:00
Robby Findler
f6a200b6c2 remove incorrect comment 2013-11-18 19:28:33 -06:00
Matthew Flatt
a88aa3c428 fix JIT slow path for bitwise-bit-set?
I'm having trouble producing a small test that triggers the bug, but
I'll keep trying.
2013-11-18 17:41:04 -07:00
Vincent St-Amour
eb67abb2ef Add quoting to error message.
Closes PR14160.
2013-11-18 15:32:12 -05:00
Vincent St-Amour
63572cc0f7 Fix line breaks in the docs. 2013-11-18 15:09:33 -05:00
Vincent St-Amour
eb7c7b0d0b Document type generalization. 2013-11-18 15:09:33 -05:00
Vincent St-Amour
def31658f1 Improve message when simplifying type display at the REPL.
Closes PR14159.
2013-11-18 15:09:33 -05:00
Jay McCarthy
e9e9ab651e Update hourly 2013-11-18 12:19:14 -07:00
Jay McCarthy
acbc80edd9 Fix crippling error in gc2 2013-11-18 12:19:14 -07:00
Matthias Felleisen
e3fab53ef7 integer in random explanation becomes natural 2013-11-18 11:45:47 -05:00
Eric Dobson
9f68c959ee Add newline in query-type/result. 2013-11-17 20:11:09 -08:00
Eric Dobson
e4c07f14ab Add approprite init calls.
Closes PR 13102.
2013-11-17 20:11:09 -08:00
Eric Dobson
02a5616ccd Use actual original syntax.
Don't know how to test that this is better since I don't even know if it
is used.
2013-11-17 20:11:09 -08:00
Eric Dobson
f8eae8c00d Make top interaction handle module correctly.
Closes PR 14163.
2013-11-17 20:11:09 -08:00
Eric Dobson
7e0553e037 Move code for top-interaction commands to their own file.
Also adds some more test cases.
2013-11-17 20:11:09 -08:00
Eric Dobson
5d7710733d First hacky solution to fixing toplevel interactions, and tests.
Closes PR 14161.
2013-11-17 20:11:08 -08:00
Robby Findler
a67a2a2ae2 on more attempt to fix this contract 2013-11-17 22:10:41 -06:00
Robby Findler
654a1c89bb add a special splash screen for Ada Lovelace's bday (Dec 10) 2013-11-17 22:08:02 -06:00
Robby Findler
52da06ee85 reflow the splash screen before showing it so as to try to
not call the paint callback with a strange size
2013-11-17 22:08:02 -06:00
Ryan Culpepper
9b88a732eb add check for check-exn predicate
closes PR 14165
2013-11-17 18:17:54 -05:00
Ryan Culpepper
ff19b9a74d fix custom deserialize-info
The deserialize fallback fails on modules that contain both custom
deserialize-info definitions and uses of serializable-struct.
2013-11-17 17:58:03 -05:00
Robby Findler
4db57816fc Guard drag-ok? so it handles the empty list properly
change suggested by Stefan Schmiedl; closes PR 14164

It seems a bit strange that a region callback can
be invoked when there are no cards, but looking at
the card library it isn't obvious that the list
is supposed to be non-empty, so probably better
to just be "defensive" in this case, rather than
attempting to tighten the contracts
2013-11-17 16:34:02 -06:00
Robby Findler
fac70aa121 use the same colors as in the docs for the text & label in the blue boxes 2013-11-17 15:59:55 -06:00
Robby Findler
4c65ee6d58 fix contract (#f can always happen-- it means the dialog was cancelled by the user) 2013-11-17 15:59:55 -06:00
Eric Dobson
c0230fb6f4 Simplify type of hash-has-key?. 2013-11-17 10:53:29 -08:00
Matthias Felleisen
b11c485523 integer is now natural, Closes PR14156 2013-11-17 13:52:25 -05:00