| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
| |
Renamed overloaded toString variations throughout scala.xml to
buildString. Fixes bug #547, includes test case.
|
| |
|
|
|
|
|
|
|
|
| |
Pulled inappropriately output-producing method overloads out of
FactoryAdapter and placed in a trait, which could be mixed in if anyone
really wanted them. Did some cleanup while in the neighborhood. Closes
#1202.
|
|
|
|
|
|
| |
Implemented convenience methods for Xhtml as described in #895. Cleaned
it up and added documentation while in the neighborhood.
|
| |
|
|
|
|
|
|
|
| |
Factored common interface of UnprefixedAttribute and PrefixedAttribute
out into an Attribute trait; added Attribute object with various
convenience methods for creations; created extractors for all three.
|
| |
|
| |
|
|
|
|
|
|
| |
Some minor cleanups made in the course of looking into bugs #1488 and
#1489.
|
| |
|
| |
|
|
|
|
|
|
| |
Two minor findbugs-discovered logic errors I've had in storage until I
had xml write access.
|
|
|
|
|
| |
Reimplementation of XML encoding heuristics from spec.
|
|
|
|
|
|
| |
Removed various now-unnecessary java 1.4 workarounds and conditional
behavior.
|
|
|
|
|
|
| |
Further fix to r17585: less hacky implementation of "extended" subtyping
for manifests.
|
|
|
|
|
| |
Minor refinements to pull parser, plus fix for #1079.
|
| |
|
|
|
|
|
| |
Rewrote XML pull parser using exciting modern techniques.
|
| |
|
|
|
|
|
|
| |
Fixed evidently wrong condition in subtyping test for class manifests.
Still, the test makes no sense to me whatseoever.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Restructured Enumeration to have many fewer public members so people
can import TheirEnum._ with less trepidation. The HOFs formerly in
Enumeration were removed, but as they all merely forwarded to elements
anyway, do this:
object Foo extends Enumeration { val FOO, BAR = Value }
import Foo._
Foo.elements filter (_ == FOO)
|
|
|
|
|
|
|
| |
Changed Flags object not to inherit from Enumeration; removed unused
enumeration classes; fixed three other bugs which were being masked by
all the bonus symbols in Flags.
|
| |
|
|
|
|
|
| |
add serialization test, disabled patmat debug traces
|
| |
|
|
|
|
|
|
|
| |
Modified all boxing methods to use java.lang.{Primitive}.valueOf
instead of instantiating a new object. Removed scala's boxing
cache since all boxing now goes through the JVM's cache.
|
|
|
|
|
| |
Fixed Stack.push by applying Rich Dougherty's patch
|
| |
|
|
|
|
|
|
|
| |
changed overloaing resolution to make Builders work. generalized
companion object generation in Namers. Fixed a problem in Types that
made the collection build crash.
|
|
|
|
|
| |
Library part does not build unless on java 7 with invokedynamic.
|
| |
|
|
|
|
|
|
| |
Code to support invoke-dynamic for structural types. Not yet complete,
built around the JSR 292 spec of December 2008.
|
|
|
|
|
| |
Correcting equality behaviour on IntMap.empty and LongMap.empty
|
| |
|
| |
|
|
|
|
|
| |
reimplemented list union/intersect/diff as multiset ops
|
|
|
|
|
|
|
|
|
|
|
|
| |
They are located in package scala.annotation. Also in this patch:
* numerous test cases for both annotations
* addition of @tailrec and @switch in a few strategic locations
* fixes for critical section NewScanners methods which were not being
compiled into switches, immediately proving the value of @switch
* tail recursive implementations for Iterator.{ dropWhile, drop}
and List.dropWhile tagged with @tailrec, closing bug #1376
|
|
|
|
|
| |
Various cleanups and redundancy-removal related to properties.
|
|
|
|
|
| |
More consolidation and duplication elimination in Properties.
|
|
|
|
|
|
| |
Bytecode generated for structural calls is improved slightly. A test
shows an improvement of roughly 5% for structural methods' call times.
|
|
|
|
|
|
| |
Refactored a pile of duplicated Properties code into a trait which is
used by the library, compiler, and partest Properties objects.
|
|
|
|
|
| |
removed deprecated warning, updated svn props, cleaned up code
|
| |
|
|
|
|
|
| |
Iterable no-arg mkString changed to call mkString() to avoid NPEs.
|
|
|
|
|
| |
Fix for #1365, '_' should be a standard identifier char.
|
| |
|
|
|
|
|
|
| |
Altered 2-argument versions of Predef's assert, assume, and require to
be call-by-name.
|