| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added two options to tools/tokens, --sliding and --freq. Using both:
% tools/tokens --sliding 10 --freq
src/compiler/scala/tools/nsc/typechecker | head -5 34 'if' '(' settings
'.' debug '.' value ')' log '(' 17 scala '.' tools '.' nsc ; 'package'
typechecker ;; 'import' 17 'package' scala '.' tools '.' nsc ; 'package'
typechecker ;;
16 '}' 'package' scala '.' tools '.' nsc ; 'package' typechecker
15 ')' '{' 'if' '(' settings '.' debug '.' value ')'
No review.
|
|
|
|
|
|
| |
Fixed a couple bugs in tools/tokens which were mysteriously more visible
once it was checked in. No review.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Two new command line programs in ~/tools: scmp and tokens.
1) scmp: will need a bit more fleshing out to be super useful, but here
is what you can do right now:
// This means run the given command line first with the options
// given to p1 and then without, and show the diff in output.
% tools/scmp --p1 '-no-specialization -nowarn' scalac -Ydebug
src/library/scala/Function1.scala
Upcoming features will involve seeing diffs of such things as the
pickled signatures of generated files and the javap disassembly.
2) tokens: tokenizes all the scala files found under any given paths and
prints one token per line.
Example: the five most frequently used tokens under scala/util.
% tools/tokens src/library/scala/util |sort | uniq -c | sort -r | head
-5 598 ')' 598 '(' 347 ; 294 '=' 278 ,
Good to see those parens are balanced.
Example: number of appearances of an identifier called x:
% tools/tokens src/library/scala/util | grep ^x$ | wc 137
Way to go, x. Review by community.
|
|
|
|
|
|
|
|
|
| |
Since pickled data moved into annotations ShowPickled has been
confusedly scratching its head. Made tools/showPickled work again. In
the process created a simple interface for creating command line tools
for the (majority of) commands which would just like to specify a
handful of options. No review.
|
|
|
|
|
|
| |
[scaladoc] Slight change to design of how CommentFactory and
ModelFactory are mixed together. Okayed by Pedro.
|
|
|
|
|
|
|
| |
the source tree, it is moved from the generic method to its specialized
variant. The owners are changed, and value/type parameter symbols are
updated. This should fix most bugs involving call-by-name parameters.
|
|
|
|
|
| |
Fixed retyping of ThisTypes and less aggressive calls to makeNotPrivate
|
|
|
|
|
|
|
| |
Fixed bug in update method visibility which caused x += y not to find
x's update method when defined generically. Closes #3278. Already
reviewed by odersky.
|
|
|
|
|
|
|
|
|
|
| |
Handled action items (1) and (4) of the phaller/cunei/rytz agenda
for a less regressive partest, to the extent possible without some
accompanying sbaz changes. Unnecessary sanity check which failed on sane
but non-trunk filesystem layouts removed. Files with custom command
sequences explicitly qualify the path to the filenames listed in the
.cmds file. Review by phaller.
|
|
|
|
|
|
| |
Undeprecated @retain as suggested by odersky on scala-internals 3/24/10.
No review.
|
|
|
|
|
|
| |
More fully integrate immutable.Queue into collections. Fixes issue with
return type of methods being Seq. Closes #3297, no review.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Degeneralized some incomplete generalization of the diff machinery.
Improved the summary output on failures. No review.
|
|
|
|
|
|
| |
partest --update-check to create the check file if none exists as well
as updating a pre-existing one. No review.
|
|
|
|
|
|
|
| |
More polishing up features in partest which worked somewhere along the
way but not at the end. This time it is unknown options: now it will
complain. Closes #3289, no review.
|
|
|
|
|
|
|
| |
Improved @tailrec error messages to specify the reason. In the process
fixed old bug involving tail call transformation. Closes #3275, #2018.
Review by dragos.
|
|
|
|
|
|
| |
be slipping by because -Xcheckinit doesn't work since specialization
began.) No review.
|
|
|
|
|
|
|
| |
back in the form of a compiler plugin. Also promoted -Yfatal-warnings to
-Xfatal-warnings: this is key to writing tests which involve warnings
and should be at least semi-supported. Closes #3300, no review.
|
| |
|
|
|
|
|
|
| |
added scalacheck.jar and *.test files to the scala-test sbaz package. no
review.
|
| |
|
|
|
|
|
|
| |
test/files/run/json.scala, and we need at least one good nightly before
the RC.
|
|
|
|
|
|
|
| |
symbol does not cause any crashes, but the method using an unknown
symbol will not be used for inlining. Resurrected tests, removed
spec-matrix for the moment. No review.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Specialization removed a 'private' modifier on Actor.resumeActor. Mixin
did not mix this method in actor implementations, believing it was
private. At runtime, an AbstractMethodError was thrown, but swallowed by
forkjoin (probably), resulting in an apparent deadlock. It would have
been much faster to find and fix if the stacktrace was printed, as it is
in Java 1.5. No review.
|
| |
|
|
|
|
|
|
| |
but in the interest of not breaking backwards compatibility, the
JSON.parse method has been marked deprecated for now.
|
|
|
|
|
|
| |
[scaladoc] Tweak so that left pane has a little bit of left padding.
Review by dubochet.
|
|
|
|
|
|
| |
Removed trace output after having verified that skolems are correctly
identified now. Now review.
|
|
|
|
|
|
| |
way equals was being handled, and hammered it out. New ==/## tests which
covers all types and values. Review by odersky.
|
|
|
|
|
|
| |
A safety improvement for random path generation, and a small change to
Random for a more general interface. Review by community.
|
| |
|
| |
|
|
|
|
|
| |
attempted fix for the TypeSkolem problem under specialize.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
[scaladoc] Fixed CSS so that styles from wiki markup are correctly
displayed in comments. No Review.
|
| |
|
|
|
|
|
|
| |
Improved handling of uncaught exceptions in actors. See #711. Review by
community.
|
|
|
|
|
|
| |
closes #3241 and improves serialization of hash tries. review by
community.
|
|
|
|
|
|
| |
fixed most of stability, reviewed by iuli, so no review.
continuations.jar is still failing stability, i'll look at that.
|