Asumu Takikawa
698b632cad
Caveat section on macros/phase-1+ code in TR
...
Please merge to v6.0
(cherry picked from commit d29256eeb2
)
2013-11-26 22:42:00 -05:00
Asumu Takikawa
cb7cdc5b3f
TR: Prevent internal error on begin-for-syntax
...
Closes PR 13878
Please merge to v6.0
(cherry picked from commit 9da8203c9c
)
2013-11-26 22:41:51 -05:00
Matthew Flatt
8f1444f20c
configure: add fallback when checking for ar
...
(cherry picked from commit 9213d1aa79
)
2013-11-26 22:41:44 -05:00
Matthew Flatt
addcc8bcf3
raco setup: fix a read-only use on the docindex database
...
Merge to v6.0
(cherry picked from commit 79f3fd5e64
)
2013-11-26 22:41:29 -05:00
Eric Dobson
1e792fbd6d
Improve comments and change name for unboxable-funs.
...
(cherry picked from commit 2fd6a05d46
)
2013-11-26 22:35:37 -05:00
Eric Dobson
96accbd554
Move more call-site optimization structure into the syntax class.
...
(cherry picked from commit 69f690f4b9
)
2013-11-26 22:35:24 -05:00
Eric Dobson
80756eb86f
Make unboxed let-bindings only log their clause.
...
(cherry picked from commit af6bc6e8e2
)
2013-11-26 22:34:56 -05:00
Eric Dobson
6828b508ee
Make new syntax class for all clauses.
...
(cherry picked from commit 74ce1ea748
)
2013-11-26 22:34:48 -05:00
Eric Dobson
d48f6b7b11
Make standard syntax class so that clauses are in order.
...
(cherry picked from commit 3681fe8105
)
2013-11-26 22:34:04 -05:00
Eric Dobson
1d355a4d6c
Add more syntax classes for let-clauses.
...
(cherry picked from commit 6d84fe3cf2
)
2013-11-26 22:33:57 -05:00
Eric Dobson
b0c32f1e42
Add benchmarks to TR test dependencies.
...
(cherry picked from commit 3e37e94000
)
2013-11-26 22:33:47 -05:00
Eric Dobson
53d8b74930
Correctly typecheck all subelements of vector literals.
...
Closes PR 14184.
(cherry picked from commit cbe1b53279
)
2013-11-26 22:32:48 -05:00
Matthew Flatt
3a09e8fa0a
raco pkg config: show all by default
...
Also, better help, checking, and error reporting on arguments.
Related to PR 14180
Merge to v6.0
(cherry picked from commit 53ce3b7b96
)
2013-11-26 22:32:37 -05:00
Matthew Flatt
86a64e95d7
raco pkg {install,update,...}: propagate setup exit code
...
Also, when `raco setup` reports an error, print a message to
say that the package install/update/... completed anyway.
Merge to v6.0
(cherry picked from commit ecaa6576a3
)
2013-11-26 22:32:26 -05:00
Asumu Takikawa
3e7c9bcadf
Fix provide:
when it's after the definition
...
Closes PR 11172
Please merge into 6.0
(cherry picked from commit 7e1b3c306d
)
2013-11-26 22:32:19 -05:00
Asumu Takikawa
f2129e105f
Simplify fix for PR 14030
...
Please merge into 6.0
(cherry picked from commit 6a787c963f
)
2013-11-26 22:32:11 -05:00
Asumu Takikawa
b3e3acb85b
Fix make-predicate
at the top-level
...
This solves the immediate problem, but more generally the
handling of ignored syntax at the top-level seems very fishy.
There is a complicated protocol involving the top-level
type-checker returning #<void> for cases with no obvious
return type, but it's unclear if it actually works. That
code in tc-toplevel.rkt should be revamped in the future.
Closes PR 14030
Please merge into 6.0
(cherry picked from commit f292a9c0f2
)
2013-11-26 22:32:01 -05:00
Asumu Takikawa
fff9125165
Add types for remaining in-foo
functions
...
Also fixed `in-directory` type
Please merge into 6.0
(cherry picked from commit 249427afb4
)
2013-11-26 22:31:52 -05:00
Ryan Culpepper
cdf8bf81fd
fix alpha version string
2013-11-25 11:33:27 -05:00
Ryan Culpepper
d3665c2cdb
Alpha version number for the v6.0 release
2013-11-20 14:13:56 -05:00
Matthew Flatt
0a2e3ad78b
raco setup: quieter output on a build step for user-scope docs
2013-11-20 07:59:35 -07:00
Matthew Flatt
1d8a2516b2
fix problem resizing mutable hash tables
...
A hash-table size grew based on the number of key slots occupied,
instead of the number of value slots, where the two differ when
keys are added and removed in the table.
Thanks to Ryan for the example.
2013-11-20 07:28:34 -07:00
Ryan Culpepper
975762c25a
work around lack of sqlite3_next_stmt on Mac OS X 10.5.*
2013-11-19 22:52:26 -05:00
Matthew Flatt
2f464916a9
fix installation path of "Racket Documentation"
...
Put it in the user-specific directory when its package is installed
in a user scope.
2013-11-19 18:07:07 -07:00
Matthew Flatt
30af4dfb33
raco pkg remove: fix dependency check in --auto
mode
2013-11-19 18:07:07 -07:00
Matthew Flatt
17275e3f37
unix installer: repair .desktop exec path conversion
2013-11-19 18:07:07 -07:00
Matthew Flatt
408031a01d
launcher: fix "extreg.rktd" in user's space
...
Closes PR 14176
2013-11-19 18:07:07 -07:00
Vincent St-Amour
632ce4e30a
Fix source syntax recovery.
2013-11-19 18:43:26 -05:00
Vincent St-Amour
fab0d0f955
Fix type printing test.
2013-11-19 18:43:26 -05:00
Robby Findler
8fae6ffecd
bring drracket's history file up to date with 6.0 changes
2013-11-19 16:59:51 -06:00
Jay McCarthy
2ae4d3aef4
Fixing GC test
2013-11-19 14:31:34 -07:00
Jay McCarthy
6d3b774be1
Fix props re: samth
2013-11-19 14:27:53 -07:00
Jay McCarthy
d6b68a6633
Turn off test where it is not caught properly
2013-11-19 14:25:13 -07:00
Jay McCarthy
a7c6d5a9a4
Fix test case re: xexpr change
2013-11-19 14:24:22 -07:00
Jay McCarthy
8e2622857f
Continue fixing PR14175 by looking at all links files
2013-11-19 14:20:59 -07:00
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