extempore
51136ada46
Working on making the bootstrap process transparent and consistent.
...
And removed a bunch of what is now cruft in partest. No review.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20990 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-25 18:24:58 +00:00
phaller
1a6adc2409
Made doc comment consistent. No review.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20989 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-25 16:26:05 +00:00
phaller
e5f5859cce
Physically moved ActorGC to scheduler directory.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20988 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-25 16:20:25 +00:00
dragos
3bdec652b6
Made the squeezer worthy of its name: a block with an empty list of stats and another block as the result expression is rewritten to the inner block (recursively). This makes the output from the pattern matcher nicer, eliminating loads of empty nested blocks. Review by extempore.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20987 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-25 15:53:13 +00:00
prokopec
f3a231257f
Fixes #3088 . No review.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20986 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-25 15:16:24 +00:00
extempore
773dc3e9ee
It turns out some of the weirdness lately is because changes
...
to classpath handling have a way of not taking effect until
they're installed via starr, and presently we have a starr with
different logic than trunk. No choice but to roll up one more
starr based on r20984. No review.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20985 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-25 06:08:27 +00:00
extempore
3261fc81a8
Trying to fix svn props on scalacheck jar. No review.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20984 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-25 03:15:34 +00:00
extempore
23c1ee93f8
Tweaking the sealed logic in light of #3097 . Closes #3097 .
...
Reorganizes children a little so they always come back sorted
the same way the pickler does. Taking advantage of
-Yfatal-warnings in the test case. Review by community.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20983 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-25 02:54:04 +00:00
extempore
03756a9815
Some debugging code for partest. If --debug is given it collects
...
timings on all the individual tests and prints it sorted by glacialness.
Review by community.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20982 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-25 02:53:35 +00:00
extempore
f851f4486c
Fix for a king-sized last-minute thinko. No review.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20981 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-25 02:36:06 +00:00
extempore
4cacc0274d
Created -Yfatal-warnings, as otherwise I can't see how to make
...
partest fail on the presence of an unchecked warning. It'll come
in handy anyway. Now we have a real tough guy's command line
for those who want it:
% scalac -unchecked -deprecation -Yfatal-warnings `find . -name '*.scala'`
Not for the timid. Review by community.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20980 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-25 01:35:46 +00:00
extempore
2848f7e543
The build file wasn't quite all the way on the bash completion
...
commit. Now it should work, and also be copied into the
distribution. Review by anyone who may be cruel enough to
oppose including completion in the distribution.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20979 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-25 00:14:04 +00:00
extempore
34402a8e36
Bash completion! The file is automatically created as
...
part of the build process and placed in $pack/etc.
% scala -Xprint
-Xprint-icode -Xprint-pos -Xprint-types -Xprint:
% scala -Xprint:
all flatten mixin tailcalls
cleanup icode namer terminal
closelim inliner packageobjects typer
constructors jvm parser uncurry
dce lambdalift pickler
erasure lazyvals refchecks
explicitouter liftcode superaccessors
% scala -g:
line none notailcalls source vars
% scala -Ystruct-dispatch:
invoke-dynamic mono-cache no-cache poly-cache
Review by community.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20978 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-24 23:17:30 +00:00
prokopec
ac2e960d1b
Fixes #3088 . No review.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20977 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-24 16:55:31 +00:00
dubochet
59f26d7718
[scaladoc] Preliminary support for links and lists in wiki syntax, as well as printing of lists. Fix to display of "inherits" classes. Contributed by Pedro Furlanetto, no review. Member names in signature are more contrasted and are aligned.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20976 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-24 15:51:10 +00:00
phaller
bfccba4c32
Fixed problem with daemon actor termination. No review.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20974 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-24 12:18:45 +00:00
extempore
81b5655dbc
Updated scalacheck jar to current trunk. Tracked down why it's
...
not being used. Updated partest with a --scalacheck option.
Added scalacheck tests to the ant build target. Still struggling
with ant/partest/classpaths so it's not on by default yet, but
at least ./partest --scalacheck works. We... will... use...
scalacheck. And we will like it! No review.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20973 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-24 02:27:03 +00:00
extempore
22e89de629
Another update for ShowPickled. No review.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20972 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-24 01:59:44 +00:00
milessabin
c312e8b928
Removed stray debugging code.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20970 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-23 22:34:17 +00:00
extempore
8f1815822c
Fixed a little command line partest bug I introduced. No review.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20969 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-23 22:15:38 +00:00
milessabin
c9041b6526
Improved fix for #2767 . Review by community.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20968 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-23 21:59:14 +00:00
extempore
e68b403c59
The initial results of running a basic cut and paste detector
...
over trunk and trying to undo some of it. I can live with history
but if I see Cutty McPastington in new commits I will get all
finger waggly. Don't make me cross that ocean. No review.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20967 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-23 21:16:51 +00:00
phaller
ce598f1b88
Fixed tests to unbreak build. No review.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20966 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-23 19:36:38 +00:00
prokopec
e68b254be3
Fixes #3018 . Review by extempore.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20965 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-23 18:57:52 +00:00
extempore
59396fdfd0
Removed now redundant function splitParams. No review.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20964 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-23 18:15:59 +00:00
extempore
d9e812aee0
After the compiler refactor, we ended up with identical copies of
...
PickleBuffer and PickleFormat in the library and compiler. Deleted
the compiler versions and updated references. No review.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20963 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-23 18:15:37 +00:00
phaller
0133235ab2
Control-flow combinators do not require thread-local variable in Reactor. Review by plocinic.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20962 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-23 17:34:50 +00:00
dubochet
75f25cf9fa
[scaladoc] Updated jQuery to version 1.4.2. No review.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20961 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-23 14:19:20 +00:00
imaier
46d11ba9ec
Fix for #3084
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20960 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-23 11:33:50 +00:00
imaier
ad856e6397
Added TextComponent.paste, made some accidentially public publisher methods protected.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20959 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-23 11:18:34 +00:00
extempore
1b93a3411b
Added productElementName to Product. Now you can access all the
...
case class field names your heart desires. Review by odersky.
scala> case class Foo[T](kilroy: String, burma: List[T], shave: Seq[Int])
defined class Foo
scala> Foo("was here", List('myanmar), Seq(25, 25))
res0: Foo[Symbol] = Foo(was here,List('myanmar),List(25, 25))
scala> 0 to 2 map (res0 productElementName _)
res1: IndexedSeq[String] = IndexedSeq(kilroy, burma, shave)
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20958 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-23 08:32:53 +00:00
extempore
d4cf2b7120
Introducing partest to the idea of code reuse. No review.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20957 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-23 08:21:00 +00:00
extempore
b4ac99e941
Abstracting out a few more platform specific elements now
...
that we have a facility for doing so. Review by rytz.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20956 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-23 06:57:53 +00:00
extempore
53aaf3b1cc
Oops, I broke jline in r20953. Fixed. No review.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20955 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-23 04:42:53 +00:00
extempore
e0db3d50af
More fun with ClassPaths. Could that be the home stretch I see?
...
Review by community.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20954 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-23 03:49:01 +00:00
extempore
81047b047f
Some much needed housecleaning regarding system properties.
...
If you can possibly resist the temptation, it'd be great if people
could try to go through the properties classes to get and set
them, and also to set property values somewhere fixed rather than
using strings directly. Review by community.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20953 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-23 00:27:39 +00:00
milessabin
a5646897d2
Yet another attempt at retaining ill-typed trees for the IDE ... this time docs.comp should be unbroken.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20952 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-22 23:39:10 +00:00
extempore
2d3d06cdb0
A simple command line parser to consolidate a bunch of different
...
implementations floating around trunk. And rolled it out in
partest's ConsoleRunner. Review by community.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20951 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-22 21:47:41 +00:00
phaller
cd56412b4f
- Added fair mode to ForkJoinScheduler, which submits tasks to global queue with a 2% chance
...
- Reactor uses ForkJoinScheduler by default
- Moved ActorGC to scheduler package
- Various clean-ups
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20950 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-22 17:43:40 +00:00
dragos
baf30a1f86
Specialized types are not substituted inside type arguments. Closes #3085 , no review.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20949 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-22 13:11:49 +00:00
extempore
576b0eeee5
Some deprecation patrol and minor cleanups. No review.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20945 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-22 00:16:03 +00:00
extempore
640c7e5c8b
More laboring on Settings, ClassPaths, Ant Tasks, Partest,
...
and similar epicenters of thrilldom. No review.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20944 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-22 00:15:32 +00:00
extempore
c28843b623
Some more code for seeing what's going on in in scalac's mind
...
with respect to who to load when and from where. No review.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20942 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-21 21:56:56 +00:00
extempore
5139dc6099
Some repl cleanups and debugging conveniences. No review.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20941 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-21 05:01:55 +00:00
extempore
e7c4daa2a2
Lowering the noise level in the classpath debugging output.
...
Try ant -Dscalac.args="-Ylog-classpath" if you would like the
rare joy of having a fair idea what is being used to compile
what. No review.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20938 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-20 22:50:20 +00:00
extempore
2d550f70fe
Having some challenges confirming the validity of the bootstrap
...
process given starr's slightly dated classpath code, so this is
a new starr based on r20934. No review.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20937 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-20 21:16:49 +00:00
milessabin
e6c21d9101
Another attempt at retaining ill-typed trees for the IDE, this time without breaking scaladoc. Review by extempore.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20936 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-20 20:32:40 +00:00
extempore
06b4c0b100
Band-aid for #3081 , issue should receive more comprehensive
...
treatment. Review by imaier.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20935 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-20 20:00:46 +00:00
extempore
61b09b9b92
Altered the ant task to generate a -Dscala.home= property,
...
which now acts as signal to scalac to ignore the java classpath
and use only the scala classpath. No review.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20934 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-20 06:48:29 +00:00
extempore
789f55d1e0
Some cleanups on the scalacfork ant task since I'm clearly
...
going to have to go through everything which touches classpaths
in any way shape or form. No review.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20933 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-20 05:38:34 +00:00