summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fixes #3511 by adding a custom StreamView.Aleksandar Pokopec2010-06-032-0/+44
|
* Fixes #3508. No review is necessary.Aleksandar Pokopec2010-06-023-2/+13
|
* Partially solves the problem for #3502.Aleksandar Pokopec2010-06-022-4/+38
| | | | | | | | This commit reimplements filter for Streams, but does not reimplement map in StreamWithFilter. The problem is that GC can't collect instances of Streams residing on the stack if there are multiple references to the Stream (more than a single one on the stack on which a Stream method is invoked). In the case of a StreamWithFilter, being an inner class, there is always an `$outer` reference to the outer object, so there is little GC can do. Possible solution - change the return type of WithFilter to something else (in TraversableLike) to allow it to return objects that don't have to subclass TraversableLike.WithFilter, and reimplement the withFilter method in Stream to simply call `filter` method - in the case of Streams, `withFilter` has little sense in either case...
* [scaladoc] Updated man page for Scaladoc 2.Gilles Dubochet2010-06-021-61/+66
|
* Added more license notices for things shipped w...Gilles Dubochet2010-06-022-0/+50
| | | | | Added more license notices for things shipped with Scala.
* Added mandatory copyright notices for some libr...Gilles Dubochet2010-06-023-0/+39
| | | | | Added mandatory copyright notices for some libraries shipped with Scala.
* Removed unnecessary files containing code with ...Gilles Dubochet2010-06-022-332/+0
| | | | | | Removed unnecessary files containing code with an uncertain copyright status.
* some tests. no reviewLukas Rytz2010-06-023-16/+167
|
* Make Iterator.toStream be properly lazy.Paul Phillips2010-06-015-7/+32
|
* Fixes #3496. No review.Aleksandar Pokopec2010-06-012-0/+17
|
* made hashset more robust for concurrent access ...Martin Odersky2010-05-311-14/+11
| | | | | | made hashset more robust for concurrent access to reduce eclipse race conditions.
* Re-enabled a number of previously disabled tests;Antonio Cunei2010-05-2818-4/+4
| | | | | according to my tests, they all currently work.
* Reversion of r21940, which caused a big bump in...Paul Phillips2010-05-271-40/+67
| | | | | | | Reversion of r21940, which caused a big bump in quick.comp compilation time. Another glorious day in the land of the pattern matcher. No review.
* Commit r22003 changed the svn:ignoreAntonio Cunei2010-05-261-2/+2
| | | | | | | | | | | property of every directory in the source tree, probably unintentionally. http://lampsvn.epfl.ch/trac/scala/changeset/22003 Reverting those changes, leaving just the change to MutableList.
* also consider non-implicit locals when checking...Adriaan Moors2010-05-263-1/+106
| | | | | | | | | | | | | also consider non-implicit locals when checking shadowing of implicits: closes #3453 nonImplicitSynonymInScope implements the predicate that is used in tryImplicit's checks for shadowing of locally defined implicits benchmarking shows the predicate does not significantly affect quick.comp+quick.lib (goes from 11min to 11min2s on my machine -- no optimisations) review by odersky
* Closes #3452, inconsistency between method desc...Iulian Dragos2010-05-261-3/+6
| | | | | | Closes #3452, inconsistency between method descriptors and java signature for static forwarders. Review by extempore.
* Adds comments for #3471, and a test case which ...Aleksandar Pokopec2010-05-262-11/+33
| | | | | | Adds comments for #3471, and a test case which should have been added earlier. Review by extempore.
* Closes #3434.Iulian Dragos2010-05-263-4/+62
|
* Stupid java 5/6 schism got me.Paul Phillips2010-05-261-0/+0
|
* Added a migration warning for matches and insta...Paul Phillips2010-05-265-3/+63
| | | | | | Added a migration warning for matches and instance tests when it might be an Array/Seq test whose answer has changed. Review by odersky.
* Made interpreter robust against a missing class...Paul Phillips2010-05-262-13/+31
| | | | | | | | | | | | | | | Made interpreter robust against a missing classpath and had it issue informative message in such cases, as per suggestion by Razvan Cojocaru. No review. % java -classpath build/pack/lib/'*' scala.tools.nsc.MainGenericRunner scala> Failed to initialize compiler: class scala.runtime.BooleanRef not found. ** Note that as of 2.8 scala does not assume use of the java classpath. ** For the old behavior pass -usejavacp to scala, or if using a Settings ** object programatically, settings.usejavacp.value = true.
* Test closes #2919 which now works.Paul Phillips2010-05-261-0/+12
| | | | | attention in case the ticket was being left open intentionally.)
* More thorough fix for #3454Martin Odersky2010-05-251-2/+4
|
* Updated check file. No review.Martin Odersky2010-05-251-1/+1
|
* Fixe for botched Parser checking for #3454.Martin Odersky2010-05-251-1/+1
|
* Closes #3469. Review by rytz.Martin Odersky2010-05-251-3/+7
|
* Applied Paul's patch which closes #3306.Martin Odersky2010-05-254-4/+13
|
* Closes #3454, plus one syntax generalization wh...Martin Odersky2010-05-251-1/+2
| | | | | | | Closes #3454, plus one syntax generalization which lets us have mulitple if guards in for expressions without semicolons between them. Review by moors.
* Addresses see #3470 by adding a method Reactor....Philipp Haller2010-05-254-24/+70
| | | | | Addresses see #3470 by adding a method Reactor.restart. Review by rompf.
* updated CompilerCommand invocation in mainmichelou2010-05-251-1/+1
|
* Fixed an xml issue arising from arrays no longe...Paul Phillips2010-05-243-1/+20
| | | | | | Fixed an xml issue arising from arrays no longer being recognized as sequences. Review by dpp.
* Brought the *Proxy classes more up to date.Paul Phillips2010-05-2410-47/+44
|
* Removed a few instances of redundant or dead co...Paul Phillips2010-05-247-59/+7
| | | | | | | Removed a few instances of redundant or dead code, most of which was marked as waiting for a new starr which has long since arrived. No review.
* I figured it'd be a miracle if I got the script...Paul Phillips2010-05-231-0/+0
| | | | | | I figured it'd be a miracle if I got the script test past our fickle robot overseers. Disabled, no review.
* Added tests for bugs which have been fixed sinc...Paul Phillips2010-05-232-0/+19
| | | | | | Added tests for bugs which have been fixed since beta1. Closes #2691, #3020. No review.
* Changed the script runner mechanism to alchemiz...Paul Phillips2010-05-2316-245/+262
| | | | | | | | Changed the script runner mechanism to alchemize from AST atoms rather than generating wrapper source, and fixed script position reporting. This patch does not include a discussed change to mark some positions as synthetic. Closes #3119, #3121. Review by milessabin.
* Adding some info to naked asserts so future cra...Paul Phillips2010-05-231-2/+2
| | | | | | Adding some info to naked asserts so future crashes of the same stripe won't be silent on what happened. No review.
* Pulled a function from the repl into the packag...Paul Phillips2010-05-222-11/+12
| | | | | | Pulled a function from the repl into the package object because I need it outside the repl. No review.
* Added test case for #2409. No review.Paul Phillips2010-05-222-0/+5
|
* Reverted r19926 based on reports it breaks thin...Paul Phillips2010-05-221-7/+3
| | | | | | Reverted r19926 based on reports it breaks things under java7 and on android. Ticket #2725 patiently awaits a real XML person. No review.
* It's clearly not a long term solution to go hun...Paul Phillips2010-05-224-6/+5
| | | | | | | | It's clearly not a long term solution to go hunting them one by one, but for the short term goal of shipping 2.8.0 without accidental java 6 dependencies, removed what should be all uses of String.isEmpty from the source. No review.
* A workaround for the crasher described in the c...Paul Phillips2010-05-221-1/+13
| | | | | | | A workaround for the crasher described in the comments of #3431 (not related to #3431 per se.) Thanks to iulian for pinpointing what I can't do during completion member discovery. No review.
* Discovered via irc one more assertion in the ma...Paul Phillips2010-05-222-5/+4
| | | | | | Discovered via irc one more assertion in the matcher which was asserting something too specific. Fixed, no review.
* Made workaround for #3430 noisier during its wo...Paul Phillips2010-05-221-1/+7
| | | | | | | Made workaround for #3430 noisier during its working around so we don't get complacent about whether there's still a bug in the optimizer. Conceived by dragos, ergo no review.
* Messed up a flags test file, caught by dragos.Paul Phillips2010-05-221-0/+0
|
* Altered a bunch of places which call hashCode t...Paul Phillips2010-05-2131-38/+40
| | | | | | Altered a bunch of places which call hashCode to call ## instead. No review.
* Removed some flotsam which should have been rem...Paul Phillips2010-05-213-16/+0
| | | | | | | | Removed some flotsam which should have been removed when I rolled back partest. (We ended up with two copies of the methvsfield test, one in a subdir and one not.) I would suppose it is responsible for #3464 but I don't know for certain. No review.
* Added +=: prepend to MutableList.Martin Odersky2010-05-212-2/+9
|
* Workaround for #3462.Paul Phillips2010-05-211-2/+5
| | | | | | | | way it was, but this is the obvious fix for now. Review by odersky (perhaps you could point out where my logic fails, in that I expected the concrete return type of withHelpSyntax to contain a setter for value.)
* A more specifically targetted version of r21991...Paul Phillips2010-05-211-2/+2
| | | | | | | A more specifically targetted version of r21991 which ought to eliminate the pathological behavior displayed by files/run/Course-2002-07.scala under -optimise. No review.