Commit Graph

31008 Commits

Author SHA1 Message Date
Eric Dobson
28321ca4ed Replace kerncase with syntax-parse. 2013-11-13 08:20:53 -08:00
Matthew Flatt
e18f87918e racket/gui cocoa: fix 'resize-border style for dialog%
Also, fix documentation to reflect windo styles of different Mac OS X
versions.
2013-11-12 20:17:03 -07:00
Matthew Flatt
8039f8177d make random slightly faster on 64-bit machines in integer mode
Exploit the fact that a 32-bit range fits in a fixnum.
2013-11-12 20:17:03 -07:00
Matthew Flatt
c81a468bc4 annotate some primitives as "immediate"
This annotation is useful mainly for functions that might be called
frequently from JIT-generated code.
2013-11-12 20:17:03 -07:00
Matthew Flatt
24a132b8d1 scribble/base: fix verbatim
Typewriter font got lost in generalization to support non-string
arguments.
2013-11-12 20:17:03 -07:00
Burke Fetscher
37a56202dd Add disequation tests.
Forgot these from the previous commit.
2013-11-12 15:38:17 -06:00
Burke Fetscher
8b17d99d44 Disunification bug fix.
After parameter elimination, check the results to
make sure some pre-existing equality hasn't been
reproduced.
2013-11-12 14:57:57 -06:00
Burke Fetscher
1b08b03262 Bug fix for disequations
Correctly eliminate dqs where the lhs is a parameter.
(Eliminate them if there is only one for a given parameter,
otherwise keep them.)

Also, add path compression for lvar lookup.
2013-11-12 14:57:57 -06:00
Robby Findler
b982c4dd6c make return take the first item in the list all the time
(not just when there is exactly one thing in the list)
2013-11-12 12:07:08 -06:00
Robby Findler
fe809a2f95 some improvements to <menukey>-shift-o for opening files in drracket 2013-11-12 12:01:34 -06:00
Robby Findler
ca1c97f00e guard a file-exists? call properly 2013-11-12 10:36:23 -06:00
Matthew Flatt
d2ec491794 make snapshot-site: don't treat removed builds as failing 2013-11-12 09:12:57 -07:00
Matthew Flatt
13a3c6c5c8 raco pkg: adjust error messages that include command-line flags
A new `#:from-command-line?` argument to various functions indicates
whether error messages should try to suggest command line flags (since
the suggested flags do not make sense for other contexts, such as the
GUI package manager).
2013-11-12 09:12:56 -07:00
Matthew Flatt
cb943909e4 raco pkg update: implies package dependencies are always updated
.. where "always" means "unless `--ignore-implies` is specified".
2013-11-12 09:12:56 -07:00
Matthew Flatt
298385a4a6 fix a test property 2013-11-12 09:12:56 -07:00
Matthew Flatt
d465772c31 raco pkg update: extra tests 2013-11-12 09:12:56 -07:00
Sam Tobin-Hochstadt
ff577496be Improve type of random on fixnums. 2013-11-12 10:38:41 -05:00
Robby Findler
4e826cdde2 Rackety 2013-11-12 09:12:52 -06:00
Robby Findler
706f860bac fix r5rs language tests 2013-11-12 09:12:51 -06:00
Robby Findler
ba334135bb fix print in drracket in the case when the depth is passed
in and isn't 0

Thanks to Matthew for pointing out the fix
2013-11-11 22:43:57 -06:00
Asumu Takikawa
3e2911d30f Disable occurrence typing for top-level variables
Closes PR 14121
2013-11-11 23:23:08 -05:00
Asumu Takikawa
0e3471b952 Add test for PR 14144
Forgot to include this in commit
7c4eb845a0
2013-11-11 23:22:42 -05:00
Asumu Takikawa
7c4eb845a0 Always treat top-level redefinitions as annotated
Closes PR 14144
2013-11-11 19:05:42 -05:00
Asumu Takikawa
ee72e0ea97 Fix documented arity of <foo>-id-table-remove 2013-11-11 19:05:42 -05:00
Matthew Flatt
4072ef8632 distro-build: add --pkgs to a call to raco pkg install 2013-11-11 13:55:38 -07:00
Matthew Flatt
5c17488d4c make site: fix for pop-up help 2013-11-11 13:55:38 -07:00
Vincent St-Amour
631a174874 Tweak complex unboxing missed optimization message. 2013-11-11 15:03:35 -05:00
Vincent St-Amour
8d43c7f01f Address intermittent failure from DrDr. 2013-11-11 15:03:35 -05:00
Robby Findler
b17fb32544 improve the wording for the command-line menu item 2013-11-11 13:07:57 -06:00
Eric Dobson
f8a2c2d28e Remove unused code. 2013-11-11 09:44:24 -08:00
Eric Dobson
d6935f5365 Fix tc/pass2.
Closes PR14148.
2013-11-11 09:37:00 -08:00
Eric Dobson
ad19bc5e62 Fix line numbers on logs. 2013-11-11 08:24:08 -08:00
Eric Dobson
d629614620 Add missing logs. 2013-11-11 08:19:58 -08:00
Eric Dobson
520c33906e Make wrong arity messages work again.
Closes PR14138.
2013-11-11 08:15:06 -08:00
Eric Dobson
dd01d9932d Make dead code elimination work for non case lambdas.
Related to PR14138.
2013-11-11 08:15:06 -08:00
Eric Dobson
210aa98d6c Make unboxing call site messages work again. 2013-11-11 08:14:00 -08:00
Eric Dobson
78b9a8a360 Add missed optimizations for non complexs in complex arithmetic. 2013-11-11 08:14:00 -08:00
Eric Dobson
676be5de06 Fix bug in optimizer with unboxed let constants. 2013-11-11 08:14:00 -08:00
Eric Dobson
7812a202f0 Make missing box opt. 2013-11-11 08:14:00 -08:00
Eric Dobson
747542b244 Remove support for multiple rhs which can never happen. 2013-11-11 08:13:59 -08:00
Eric Dobson
a41e70375e Make parsing unboxed calls more declarative. 2013-11-11 08:13:59 -08:00
Eric Dobson
957e856a14 Refactoring. 2013-11-11 08:13:59 -08:00
Eric Dobson
0b5f947ea3 Clean up complex-call-site a bit. 2013-11-11 08:13:59 -08:00
Eric Dobson
263e09884e Make unboxed optimizations not reorder expressions. 2013-11-11 08:13:59 -08:00
Eric Dobson
ced8879881 Change api of add unboxed-fun.. 2013-11-11 08:13:59 -08:00
Eric Dobson
98c573557e Fix error message construction. 2013-11-11 08:13:59 -08:00
Eric Dobson
c162a83c69 More refactoring. 2013-11-11 08:13:59 -08:00
Eric Dobson
d882abe47b Clean up unboxed function parsing loop. 2013-11-11 08:13:58 -08:00
Eric Dobson
a56f2af671 Add syntax class for unboxed functions. 2013-11-11 08:13:58 -08:00
Eric Dobson
c76ec838cf Make function for adding an unboxed function. 2013-11-11 08:13:58 -08:00