rytz
e91e30fa31
fixed obvious bug in JenkinsHash
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19413 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-11-06 08:39:00 +00:00
phaller
1a1f5c65b0
Replaced immutable.Queue.apply, which should fix the build.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19407 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-11-05 21:20:26 +00:00
plocinic
ed29785397
BuildManagerTest no longer throws npe when some of the files do not exist
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19406 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-11-05 16:51:35 +00:00
rytz
8d49036167
simplified re-ordering packages
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19404 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-11-05 07:03:24 +00:00
milessabin
894781a88b
Export more useful packages.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19401 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-11-04 21:13:45 +00:00
extempore
b43d013c52
Proposed fix for #2144 plus test case.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19399 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-11-04 20:12:41 +00:00
rytz
6205cc62a6
fix cyclic reference errors in scaladoc. package objects are now compiled first. two-phase compile for library (Predef) no longer required.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19398 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-11-04 18:25:19 +00:00
cunei
5775920230
bit missing
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19397 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-11-04 17:36:42 +00:00
cunei
6fa09974aa
Clarification to scaladoc comments for "sort".
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19396 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-11-04 17:33:41 +00:00
plocinic
77749c4dda
Fix for #2556
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19395 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-11-04 16:42:33 +00:00
extempore
30ef4c2dc1
Some tabs I unwittingly let creep in are now spaces.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19394 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-11-04 16:12:08 +00:00
extempore
925a525643
Scala implementation of fancier hashCode algorithm.
...
At the moment it isn't used unless you supply
-Yjenkins-hashCodes to scalac. Without the flag,
the supplied test case generates 12559 unique hashCodes
among 90000 case class instances; with the flag it
generates 89999.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19392 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-11-04 06:36:03 +00:00
extempore
393cd9e390
Deleted Zero, or "Nothing ventured, Nothing gained."
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19391 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-11-04 05:18:49 +00:00
phaller
c5063a629f
Fix and test for #2527
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19387 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-11-03 17:00:06 +00:00
phaller
f3fcbfcf48
Applied patch for #2524 .
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19386 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-11-03 16:16:51 +00:00
phaller
0af773389f
Fix and test for #2530 .
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19385 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-11-03 13:05:20 +00:00
moors
5bfb0176d0
fixed #2500 (second part)
...
missed some compile errors because I didn't do a full recompile...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19384 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-11-03 11:04:19 +00:00
moors
8c1701181f
fixed #2500 : refactoring collections so that a `collection.{Map|SortedMap|SortedSet}` can be built from the corresponding collection (thus, do not require the immutable one)
...
pulling up newBuilder method from Immutable*Factory to *Factory,
and inheriting *Factory in scala.collection companion objects, instead of the Immutable*Factory
this way, you can, e.g., build a collection.Map from a collection.Map (instead of requiring an immutable.Map)
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19383 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-11-03 10:37:56 +00:00
odersky
8bfe94c595
Fixed #2545 . Fixed problem with cyclic dependcies when adding package objects. Prepared for module expansion to lazy vals.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19375 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-11-02 16:48:56 +00:00
imaier
44b5142d4d
Fixed remove/clear/update issues in BufferWrapper and layout map.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19374 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-11-02 16:32:01 +00:00
rompf
f4b937c0b8
fixed problem with Vector.dropRight, added additional test case
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19370 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-11-02 06:57:38 +00:00
rompf
0a2b54e817
Vector improvements, now doing a lot less copying for single element appends/updates
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19369 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-11-02 06:57:36 +00:00
imaier
15231a724a
Synchronize trunk with local changes:
...
* Fixes for #2452 , #2036 , #2491
* More comments
* Added paint methods
* Added convenience methods and constructors
* Deprecated UIApplication classes, replaced by SwingApplication classes
* Replaced case class inheritance by unapplies
* Introduced type aliases for AWT classes in package object
* Refactored RichWindow hierarchy
* Some minor code cleanup
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19368 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-11-02 06:05:02 +00:00
extempore
f839c44d56
Some structural improvements to Either and Option which
...
leverage recent awesomeness in constraining type parameters.
In Either I was able to define joinLeft and joinRight on the
instance rather than on the object, and while I didn't manage
that directly with merge, it can at least be accomplished
via implicit as endorsed by martin 25/Jun/09 on scala-internals.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19364 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-11-01 17:29:19 +00:00
milessabin
2d643da871
Corrected comment contents.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19361 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-11-01 15:47:28 +00:00
plocinic
1bbcb7aa19
Proper fix for #2280
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19357 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-10-30 19:59:34 +00:00
phaller
af00679e88
Fix for spurious timeouts in partest (as observed in latest scala-nightly-args).
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19356 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-10-30 13:24:47 +00:00
milessabin
b4f031e71d
Added -Ybuilder-debug:[none,simple,refined] option for testing the interactive build manager; added support for reporting comments during compilation; unbroke the test.positions build target.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19355 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-10-30 13:05:17 +00:00
rompf
7461f1b325
separated Vector impl from IndexedSeq
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19354 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-10-30 07:51:23 +00:00
rompf
14bc60bfd6
fixed 2544, reimplemented SeqLike.indexWhere, segmentLength and lengthCompare in terms of iterators instead of foreach and breaks
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19353 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-10-30 07:51:19 +00:00
milessabin
a2c9588ed9
Reverted [19310] ... it trips #2532 and #2533 building scalac.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19350 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-10-29 22:03:58 +00:00
rytz
02483ce2e4
AnnotationInfo.pos no longer in constructor. Reverts most of r19273.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19348 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-10-29 14:02:06 +00:00
moors
aa1774092d
added -Yhigher-kinded-raw switch as temporary workaround for #2454
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19337 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-10-29 09:13:13 +00:00
odersky
dc0da4e9bd
changed standard library so that it does not rely in scala package object in initial bootstrap of Predef. Disabled reading scala package during that bootstrap. This is an attempt to solve the cyclic reference errors in #2501 .
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19334 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-10-28 23:04:03 +00:00
extempore
88e0d5bf26
Fix for some accidentally enabled logging.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19333 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-10-28 20:23:15 +00:00
extempore
032813b0c1
Whole bunch of code for people interested in equality.
...
This includes four command line options you can use to
alter equality semantics and the various levels of babbling
and panicking which the runtime has to offer when confronted
with a boxed primitive comparison.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19332 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-10-28 20:10:54 +00:00
plocinic
e28ec6cf89
Fix for #1909
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19331 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-10-28 17:06:48 +00:00
odersky
7f662011d4
fixed typo
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19321 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-10-28 17:01:27 +00:00
odersky
f3fa06fdd7
Fixed #1342 . Improved error message when `=' forgotten from method def with return type.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19320 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-10-28 14:41:00 +00:00
extempore
80f751aa72
The final, tear-inducingly simple implementation of
...
shape preserving shuffle.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19319 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-10-28 14:15:32 +00:00
extempore
b6e9c997e8
Made classpath do more advanced *-globbing. Now instead
...
of all or nothing you can give a java regexp and it will
only use matching jars, example: scala -cp 'foo*bar*.jar'
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19316 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-10-28 00:33:21 +00:00
extempore
9bbbe7c838
In a stunning breakthrough, shuffle preserves the shape
...
of the container.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19315 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-10-28 00:33:09 +00:00
phaller
d2876ba6bc
Improves Enumeration to obtain names of values through reflection. This addresses those parts of #2111 that we agreed on in the Scala meeting.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19311 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-10-27 18:10:35 +00:00
plocinic
f9b8ca75b2
Fix for #2280
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19310 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-10-27 15:53:20 +00:00
odersky
f59603f59e
Fixed #2494 , plus some reorganization of swing imports
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19309 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-10-27 13:01:17 +00:00
moors
2eb123a53d
fixed bug in Stream::flatMap (still optimised as it was needed for correctness --> added regression tests for corresponding tickets)
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19307 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-10-27 10:23:01 +00:00
phaller
be50e335f1
Removed old fork-join library. Fixed build.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19306 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-10-27 09:43:44 +00:00
phaller
7510f9ad8c
Fix and test for #2214 .
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19301 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-10-26 22:50:56 +00:00
rytz
2c58ebcca2
fixes separate compilation on .net
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19299 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-10-26 22:17:15 +00:00
phaller
a459cb1dfc
Made scala.util.matching.Regex serializable. Fix for #2309 .
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19296 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-10-26 21:31:39 +00:00