Commit Graph

32492 Commits

Author SHA1 Message Date
Vincent St-Amour
3a2c2514a6 Document contract-profile-thunk. 2014-02-28 11:26:25 -05:00
Tony Garnock-Jones
0d689ed389 Add contract-profile-thunk 2014-02-28 11:08:59 -05:00
Robby Findler
5b038fccaf fix ada splash screen 2014-02-28 09:27:40 -06:00
Robby Findler
5848851ac5 docs typos 2014-02-28 09:27:39 -06:00
Robby Findler
58e7d033f7 Adjust DrRacket to better support #lang-line specific
keybindings and then use that to add in an esc;q keybinding
for scribble
2014-02-28 09:27:39 -06:00
Lei Wang
e7434e1997 Indentation implementation for Scribble 2014-02-28 09:26:44 -06:00
Robby Findler
4a71adf8b9 improve error message of object=? 2014-02-28 06:33:02 -06:00
Asumu Takikawa
32f09c3570 Fix a TR bug for row polymorphic application
The domains in a row polymorphic function weren't checked
properly when row inference was used.
2014-02-27 18:41:05 -05:00
Matthew Flatt
4491b6a687 Windows installer: fix recording of document-icon paths 2014-02-27 15:56:11 -07:00
Matthew Flatt
981701d237 LGPL by reference 2014-02-27 15:56:11 -07:00
Asumu Takikawa
1747b70097 Adjust handling of types for non-expressions
Some forms like `define` do not produce a value
and thus do not have a type. Instead of returning
the #<void> value for these cases, return the symbol
'no-type.

Also fix printing in several places to reflect this.

Fixes a regression due to commit 00470e3 and also
fixes an unreported bug with (:print-type ...) on
non-expressions.

Closes PR 13758
2014-02-27 17:17:54 -05:00
Matthew Flatt
3e9b82bdd0 JIT: enable unboxing of flonum arguments in mutual recursion 2014-02-27 12:04:02 -07:00
Robby Findler
03d8ead644 docs improvements 2014-02-27 11:00:28 -06:00
Eric Dobson
0a81627eca Fix type of - to not be wrong on negative fixnums
Rolling this forward because the math library is no longer dependent on
the broken behavior. Also nothing in the main repo seems to depend on
this.
2014-02-26 22:06:53 -08:00
Asumu Takikawa
00470e3e1a Catch syntax lifting at the top-level in TR
This is helpful for typechecking forms that lift
expressions such as object instantiation or contracted
values when they are used at the top-level.

It's not normally an issue for typechecking modules
because lifting is delimited by the module extent so that
normal local-expansion will cover it.
2014-02-26 23:10:26 -05:00
Robby Findler
4b15bcedbf fix tutorial exercise 2014-02-26 17:56:29 -06:00
Robby Findler
60948fabf4 get-root-set docs clarification 2014-02-26 17:56:29 -06:00
Asumu Takikawa
30c49028cb Make row inference slightly smarter
Now it works as long as one of the arguments is, in
all cases, a row polymorphic class type
2014-02-26 17:39:13 -05:00
Ryan Culpepper
25613b3f24 description for unix-specific srcs 2014-02-26 17:14:15 -05:00
Ryan Culpepper
e36682c96e v6.0 installers info 2014-02-26 17:07:08 -05:00
Matthias Felleisen
634aa73305 remove random-seed test from things that run 2014-02-26 11:02:41 -05:00
Neil Toronto
26feec0caf Prep array-broadcast.rkt for TR negation fix 2014-02-26 07:41:43 -07:00
Robby Findler
73967fcfec fix call to raise-argument-error and fix docs for with-roots 2014-02-26 06:11:17 -06:00
Eric Dobson
62a09958d2 Revert "Fix type of - to not be wrong on negative fixnums."
The math library is relying on the current broken behavior. Revert until
we can fix it.
2014-02-26 00:34:40 -08:00
Burke Fetscher
2df436d29c redex: adjust benchmark time calculations
also dont' add timeouts to totals
2014-02-25 22:22:02 -06:00
Burke Fetscher
3e83a816e2 redex: parallelize benchmark generation modes
also, add a timeout (currently 5 mins)
2014-02-25 17:12:41 -06:00
Matthew Flatt
e4ce0d0331 add PLTUSERHOME
The new `PLTUSERHOME` environment variable redirects all of the
user-specific paths reported by `find-system-path`.

Also, improve the tests for `raco exe` (particularly the bug
fixed in 6cb6f3fbf1) using `PLTUSERHOME`.
2014-02-25 16:01:44 -07:00
Matthew Flatt
6cb6f3fbf1 raco exe: fix GUI executables for runnnig without a preference file
A check for a default preferences file in the configuration
directory failed, because there is no configuration directory
to check.

Closes PR 14370
2014-02-25 13:48:37 -07:00
Matthew Flatt
eb2a74aaba racket/gui: avoid editor refresh for no-op scroll wheel 2014-02-25 13:48:36 -07:00
Eric Dobson
faab297ab9 Fix type of - to not be wrong on negative fixnums. 2014-02-25 09:54:28 -08:00
Matthias Felleisen
9753aa4cf9 including test for PR 14369 in xtest 2014-02-25 12:23:47 -05:00
Matthias Felleisen
5475dcaaf9 a test for PR 14369 2014-02-25 12:23:47 -05:00
Robby Findler
381bdfb32a use private pseudo-random-generator
closes PR 14369
2014-02-25 10:56:08 -06:00
Robby Findler
96e6d8338e docs bug 2014-02-25 10:55:57 -06:00
Robby Findler
823e24e51a add some extra links in tools manual to make it easier to find definitions-text-surrogate 2014-02-25 10:55:57 -06:00
Matthew Flatt
78321aa4e6 racket/gui: small speed-ups in editor drawing path
Mostly, replace some method calls with field selectors (where the
path is important enough that it seems worthwhile).
2014-02-25 06:31:10 -07:00
Matthew Flatt
eff53cde87 treat FFI primitives like other primitives internally
This change paves the way for JIT-inlining FFI operations
such as `ptr-ref`. Even without JIT treatment, the change
slightly reduces the overhead for calling FFI primitives.
2014-02-25 06:18:02 -07:00
Matthew Flatt
46523d307b fix PLT_VALIDATE_COMPILE interaction with 3-D code
Makes the "optimize.rktl" test suite pass when PLT_VALIDATE_COMPILE
is defined.
2014-02-25 06:18:02 -07:00
Robby Findler
84b4294345 adjust probability of zero for the enumerator in the various
benchmarks to try to get a better balance between generation
time and size of terms
2014-02-25 06:23:40 -06:00
Eric Dobson
40e3c50db7 Add missed optimization tests for add1/sub1. 2014-02-25 00:30:52 -08:00
Eric Dobson
5f636af86a Revert split of float-ops because the remaining ones never trigger.
flreal-part only is valid on float-complex numbers and the code in
float-complex.rkt already covers it.
2014-02-24 22:40:36 -08:00
Asumu Takikawa
ac6ec3b43b Add TR rep-tests to the main unit tests file
Forgot to make this change in commit
7907320733
2014-02-25 01:34:43 -05:00
Asumu Takikawa
2d46d430b7 Remove some debugging code in subtype checker 2014-02-25 01:22:42 -05:00
Asumu Takikawa
7907320733 Use the correct index for unsafe-Type-key
The unsafe operation didn't return the same result as
the safe operation, meaning any checks related to type keys
were giving the wrong result. As a result, some subtyping
clauses were not triggered.
2014-02-25 01:22:42 -05:00
Robby Findler
2b3aa98330 fix package dependencies
broken by commit e77b5f43a7
2014-02-24 22:12:11 -06:00
Robby Findler
e77b5f43a7 drop (indirect) dependency on racket/gui/base 2014-02-24 20:51:08 -06:00
Asumu Takikawa
7585581f00 Fix infinite loop in List: expander in subtyping
The match expander calls `resolve` during subtyping, which
is a problem for types that recur through the environment like
Struct types because it doesn't coordinate with the cache
for subtyping.

Closes PR 14364
2014-02-24 18:07:02 -05:00
Robby Findler
5283312044 adjust enumeration-based generator to make terms that are less
likely to consume all available memory
2014-02-24 12:24:47 -06:00
Vincent St-Amour
193e102b25 Better layout for module view. 2014-02-24 12:30:25 -05:00
Vincent St-Amour
6561bf706f Make path manipulation in contract-profile more robust. 2014-02-24 12:30:25 -05:00