rytz
aa52a1d46f
made my changes actually work :)
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18680 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-10 09:28:15 +00:00
rytz
42b9ebc536
- support optimised build with "build.optimise", "dist.optimise" or "test.optimise".
...
- nightly builds are now optimised (but not the check-in builds)
- new starr containing all the latest optimiser-fixes
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18679 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-10 09:06:29 +00:00
extempore
a18a4ff50c
Unbreaking the plugin.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18678 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-09 23:34:26 +00:00
extempore
17c42e2232
Generalized -Xdisable-assertions into an annotation (presently
...
called @elidable) so it can be used with arbitrary code. It
takes an argument which sets its priority level, and you can
control what code is elided from the command line by setting
-Xelide-level to desired threshold.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18677 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-09 22:18:54 +00:00
milessabin
07abac3065
Applied patch fixing #2306 .
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18665 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-09 10:07:07 +00:00
extempore
d1d11b5c11
Created plausibly sensible equals and hashCode methods in
...
collection.{ Set, Map, Sequence } and made sure that none
of the derived collections is getting too excited about doing
its own thing and in so doing either breaking equals/hashCode
consistency or creating an asymmetric equals (or both.)
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18664 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-09 03:19:07 +00:00
milessabin
499ee4b8d9
If a ControlException propagates to the top of respond, then retry the operation.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18662 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-09 02:45:21 +00:00
michelou
7f5bb9506d
added a few @serializable annotations, added @SerialVersionUID to anonfuns, several cleanups
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18660 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-08 16:24:42 +00:00
phaller
37c1e51e1e
Reenabled two tests.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18659 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-08 10:53:27 +00:00
phaller
96afda24c8
Updated disabled tests before moving them back.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18658 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-08 10:52:24 +00:00
phaller
7f3bba0e9c
Reintegrated DoubleLinkedList, SynchronizedBuffer, ArrayStack, BufferProxy.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18657 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-08 10:37:01 +00:00
milessabin
5bca21e52f
Slight tweak to positions of dealised terms. In particular we now find the right tree for Nil, rather than the tree for it's package prefix.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18656 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-07 22:57:54 +00:00
extempore
5321d7611f
Reverts scala.io.* to its natural state, and the rest of
...
trunk to using java.io.File. Anyone who wants to salvage
any usable bits is of course welcome to do so, so long as
they also assume responsibility for those bits.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18655 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-07 22:16:58 +00:00
dragos
f5bf0e1c97
Fixed crash on specialized inner classes.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18653 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-07 15:56:32 +00:00
extempore
564ecebd9b
Converts some "lazy vals by hand" (probably predating the
...
availability of lazy vals) to lazy vals. Streamlined some
Plugin(s) logic and took minor advantage of scala.io.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18651 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-06 02:32:14 +00:00
extempore
68dedd351a
Created NoStackTrace trait and mixed it into ControlException.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18650 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-05 14:16:41 +00:00
extempore
cbf617572c
Removed custom UTF8 encoding implementation, deprecated all its
...
methods, and ran everything through java's built-in decoder.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18649 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-05 11:32:10 +00:00
extempore
d964e3fa56
Minor refinements to recent patches, and the reversion of times.
...
"It was the best of times... it was the reversion of times..."
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18648 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-05 11:23:43 +00:00
extempore
44ed3a22f8
Fixed test case which still thought volatile vals were ok.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18647 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-05 04:14:03 +00:00
odersky
c25b20cc50
some changes and additions to move to new arrays.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18646 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-04 16:56:11 +00:00
dragos
4b78446848
Fixed #2095 .
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18645 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-04 16:46:58 +00:00
dragos
932b9e92e5
Fixed #1857 .
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18644 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-04 16:21:33 +00:00
dragos
2f22e9c4a2
Fixed #2317 .
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18643 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-04 15:44:48 +00:00
dubochet
344c3a1a63
Sabbus can pack locker as JARs, for use in IDEs. Call 'newlocker' or 'freshlocker' to get the jars into 'build/palo'.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18642 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-04 13:20:58 +00:00
extempore
84adc95afe
Getting docs.comp building again.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18641 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-03 20:55:35 +00:00
dragos
1d89f1ff99
Fixed accesses to Scala inner classes from Java.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18640 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-03 15:14:50 +00:00
extempore
a78920aabd
Rewrite of the actor MessageQueue, adding a tracing facility.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18637 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-02 19:05:18 +00:00
dragos
ae56026d52
Added an alias for '-optimize' and fixed the optimized build.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18636 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-02 14:55:19 +00:00
moors
bafa81d485
fixed #2266 (partially) and #2305
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18635 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-02 14:35:28 +00:00
extempore
5c66e91b7b
Moved test case for now-fixed #2027 into files.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18634 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-01 22:05:38 +00:00
extempore
489fffec74
A few minor bugfixes for recent work.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18633 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-01 21:26:05 +00:00
extempore
924b2eac6f
Since I began using scala I have sought an appealing null
...
coalescing operator. Only now in this dark hour is it upon us!
I should find a better place for it, and the rest of my
utility functions for dealing sensibly with null.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18632 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-01 21:05:11 +00:00
dragos
5352f313e6
Fixed #2117 .
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18631 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-01 18:25:08 +00:00
dragos
ab02061d95
Fixed #2123 .
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18630 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-01 18:07:50 +00:00
dragos
60468c4b93
Fixed #2167 .
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18629 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-01 17:16:23 +00:00
extempore
6bffe6faaf
Further organization of File/Path/Directory. Adds a
...
copyFile method.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18628 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-01 16:59:45 +00:00
dragos
6fb7542f20
Fixed #1894 .
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18627 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-01 16:12:00 +00:00
extempore
13929cade9
Changed createDirectory and createFile to accept a
...
failIfExists argument (defaults to false) and eliminated
the very short-lived ensureDirectory and ensureFile.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18626 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-01 16:05:38 +00:00
extempore
f864a9dfaf
Factored the InputStream-based implementations out of File into
...
scala.io.Streamable, where they will eventually be reused by Source.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18625 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-01 15:52:47 +00:00
extempore
9578380353
More cleanup in nsc.io, and a toByteArray() method for File.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18624 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-01 12:52:59 +00:00
rytz
b0e4770a3f
patch by james matlik: Enable ScalaTool to generate tool classpaths for general purpose scripts
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18623 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-01 12:38:38 +00:00
extempore
2af6a95ed0
A true refactoring adventure as I attempted to corner the
...
large amount of duplicated code in ZipArchive. The results
are definitely overengineered but the refinement will
improve as I expand further into the AbstractFile hierarchy.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18621 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-01 03:27:19 +00:00
extempore
c20590a959
One more try to unbreak fsc all the way.
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18620 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-08-31 20:19:46 +00:00
extempore
05564828c1
Unbreaking fsc with ensureDirectory().
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18619 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-08-31 18:05:34 +00:00
dragos
59723a466a
Fixed #1572 .
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18618 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-08-31 16:27:39 +00:00
extempore
0b2f4cfe94
Modernizing bits of scala.tools.nsc.io and incrementally
...
introducing some of scala.io to further flesh out what the
File interface will require.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18617 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-08-31 15:46:46 +00:00
dragos
86c58ddf33
Fixed #1539 .
...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18616 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-08-31 14:26:33 +00:00
extempore
97fe54eecc
Brushing some of the cobwebs off the denizens of scala.xml.
...
I am removing bits of XML code which are clearly unfinished
and which nothing anywhere in the compiler or library uses.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18615 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-08-31 13:21:58 +00:00
extempore
476c5bc293
Starting some cleanup deeper in scala.xml in the hopes of
...
reducing the number of XML-related dependencies.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18614 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-08-31 10:27:23 +00:00
extempore
4d842529db
Further work creating pure interfaces for the collections
...
so we can validate their contents. Also fixed an overly
loose upper bound in SequenceTemplate.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18613 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-08-31 03:02:27 +00:00