Commit Graph

32254 Commits

Author SHA1 Message Date
Eric Dobson
d401a398cd Rename -no-obj and -no-filter to -empty-obj and -top-filter. 2014-02-28 19:34:47 -08:00
Asumu Takikawa
07bde5063b Add #:literal-sets for several TR optimizer cases
The matching was too inclusive in some cases, causing
spurious optimizations (or type-table lookup failures).

Closes PR 14380
2014-02-28 20:57:05 -05:00
Matthew Flatt
4d3baa3b7d [unsafe-]fl{real,image}-part: fix contracts in docs and errors
Closes PR 14368
2014-02-28 15:39:49 -07:00
Matthew Flatt
57fb95e0a8 readline: fix broken registration of "mzscheme" as name
Maybe it should be "racket", instead, but leaving as "mzscheme"
in case anyone has customizations using that name.
2014-02-28 15:39:49 -07:00
Matthew Flatt
e231718075 repairs for srcloc->string
Fix predicate on argument, including allowing chaperoned srclocs.

Closes PR 14376
2014-02-28 15:39:49 -07:00
Asumu Takikawa
32cd4d2973 Add make-input-port, make-output-port to TR 2014-02-28 16:16:01 -05:00
Asumu Takikawa
3effaed55f Add install info to TR optimization guide section 2014-02-28 14:30:16 -05:00
Asumu Takikawa
44b68d209a Adjust section heading for macros in Honu.
Previously, this showed up as the first search hit
for "macros" in the Racket docs. With this change, the
Guide entry shows up first.
2014-02-28 14:17:21 -05:00
Matthew Flatt
efa199184c fix bignum allocation
Space used by GMP needs to be immobile, and the allocation path
on 3m still used a strategy of allocating page-sized blocks;
the GC now provides much better support for small, immobile
blocks.
2014-02-28 11:45:09 -07:00
Robby Findler
43d1d99656 revert part of 58e7d033f7
to remove the uses of object=? since they are wrong
2014-02-28 11:40:33 -06:00
Matthew Flatt
b971f9f4eb support older Cairo and GDK versions 2014-02-28 09:47:28 -07:00
Vincent St-Amour
1fa0bb0e03 More docs about contract costs in TR. 2014-02-28 11:36:51 -05:00
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